/* Pluze Financiamentos: operational workspace, September 2026. */
body[data-pluze-theme="sereno"]{
  --ink:#202735;--muted:#657080;--line:#e3e6ed;--bg:#f6f7fa;--card:#fff;
  --blue:#5145cd;--blue2:#4035b4;--purple:#5145cd;--nav:#fff;--nav2:#f1effc;
  --shadow:none;--radius-sm:6px;--radius-md:9px;--radius-lg:10px;
  --pluze-action-primary:#5145cd;--pluze-action-primary-hover:#4035b4;
  --pluze-action-on-primary:#fff;--pluze-color-text:#202735;--pluze-color-text-muted:#657080;
  --pluze-color-border:#e3e6ed;--pluze-color-canvas:#f6f7fa;--pluze-color-surface:#fff;
  --pluze-color-sidebar-on-blue:#525b6b;--pluze-color-sidebar-muted-on-blue:#7b8291;
  --pluze-color-sidebar-active-text:#473bc0;--pluze-color-sidebar-active:#efedfc;
  font-family:"Segoe UI Variable","Segoe UI",system-ui,sans-serif;font-size:14px;line-height:1.5;
}
html{scrollbar-gutter:stable;scroll-behavior:auto}
button,input,select,textarea{font-family:inherit}
body .app{grid-template-columns:228px minmax(0,1fr)}
body .main{min-width:0;overflow:clip}
body .content{max-width:1600px;margin:0 auto;padding:22px 30px 40px}
body[data-pluze-theme="sereno"] .sidebar{
  position:sticky;top:0;width:228px;height:100dvh;padding:18px 12px;background:#fff;
  color:#596172;border-right:1px solid var(--line);box-shadow:none;scrollbar-width:thin;
}
body[data-pluze-theme="sereno"] .sidebar .brand{min-height:64px;padding:0 8px 16px;border-color:var(--line)}
body[data-pluze-theme="sereno"] .sidebar .brand strong{font-size:23px;color:#262143;letter-spacing:-1px}
body[data-pluze-theme="sereno"] .sidebar .brand small{font-size:10px;color:#747b8b;letter-spacing:.06em}
body .brand-logo{width:36px;height:36px;flex-basis:36px;border:0;background:none;border-radius:8px}
body .brand-home{gap:10px;transform:none!important}
body[data-pluze-theme="sereno"] .sidebar .nav-group{margin:18px 10px 6px;color:#7b8291;font-size:10px;font-weight:600;letter-spacing:.05em}
body[data-pluze-theme="sereno"] .sidebar .nav-item{min-height:38px;padding:8px 10px;gap:10px;color:#525b6b;border:0;border-radius:7px;font-size:13px;font-weight:500;box-shadow:none}
body[data-pluze-theme="sereno"] .sidebar .nav-icon{width:18px;height:18px;flex-basis:18px;border:0;background:transparent;color:currentColor;border-radius:0}
.nav-icon svg{display:block;width:18px;height:18px}
body[data-pluze-theme="sereno"] .sidebar .nav-item>span{color:inherit}
body .main:has(#cliente-detalhe.active) #journeyShortcuts,
body .main:has(#parcelas.active) #journeyShortcuts,
body .main:has(#parcelas.active) #financeServiceContext{display:none}
body[data-pluze-theme="sereno"] .sidebar .nav-item:hover{background:#f6f5fb;color:#4035b4;transform:none}
body[data-pluze-theme="sereno"] .sidebar .nav-item.active{color:#473bc0;background:#efedfc;border:0;box-shadow:none;font-weight:650}
body[data-pluze-theme="sereno"] .sidebar .nav-item.active .nav-icon{background:none;border:0;color:inherit}
body .nav-more{border-top:1px solid var(--line);background:none;margin-top:16px;padding-top:8px}
body .nav-more>summary{color:#626c7c;font-size:12px;font-weight:500;line-height:1.4;padding:10px}
body .nav-more>summary:hover,body .nav-more[open]>summary{color:var(--ink);background:#f5f6f9}
body .nav-more .nav-item{font-size:12px}
body[data-pluze-theme="sereno"] .sidebar .pluze-product-switcher{border:1px solid var(--line);border-radius:8px;background:#fafafe;color:var(--ink);box-shadow:none;padding:10px;margin-top:16px}
body[data-pluze-theme="sereno"] .sidebar .pluze-product-switcher strong{color:var(--ink)}
body[data-pluze-theme="sereno"] .sidebar .pluze-product-switcher small{color:var(--muted)}
body[data-pluze-theme="sereno"] .sidebar .pluze-product-switcher__mark{background:#eeeafd;color:#5145cd;border:0;border-radius:6px}
body[data-pluze-theme="sereno"] .sidebar .pluze-product-switcher select{color:var(--ink);background:#fff;border:1px solid var(--line);border-radius:6px}
body[data-pluze-theme="sereno"] .sidebar-environment{color:#707988;border-color:var(--line);font-size:10px;line-height:1.6;margin:14px 8px 0}
body .pluze-system-help-trigger{border:1px solid var(--line);border-radius:7px;box-shadow:none;background:#fff;color:#657080;min-height:34px}
body .pluze-system-help-trigger.is-floating{position:fixed;right:18px;bottom:18px;z-index:900;margin:0;padding:7px 11px;border-radius:22px;box-shadow:0 8px 24px #19223724;color:#4d5366;opacity:1}
body .pluze-system-help-trigger.is-floating:hover{background:#f7f6fd;border-color:#bdb7e7}
@media(max-width:780px){body .pluze-system-help-trigger.is-floating{right:14px;bottom:14px;width:42px;height:42px;min-height:42px;padding:0;justify-content:center}body .pluze-system-help-trigger.is-floating strong{display:none}body .pluze-system-help-trigger.is-floating .pluze-system-help-trigger-icon{flex:0 0 27px;width:27px;height:27px}}

body .topbar{height:64px;min-height:64px;padding:12px 30px;border-bottom:1px solid var(--line);box-shadow:none;background:#fff;gap:16px}
body .top-title{font-size:15px;font-weight:650;line-height:1.3}
body .top-sub{font-size:11px;color:var(--muted);max-width:540px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
body .top-actions{margin-left:auto;gap:12px;flex-wrap:nowrap}
body .top-actions .workspace-search{display:flex;align-items:center;gap:10px;border:1px solid var(--line);background:#fafbfc;border-radius:7px;min-height:34px;padding:6px 10px;color:#687283;font-size:12px;cursor:pointer}
.workspace-search svg{width:15px;height:15px}.workspace-search kbd{margin-left:22px;border:1px solid var(--line);padding:0 4px;border-radius:3px;background:white;font-size:10px}
.workspace-context{font-size:11px;color:#687283;white-space:nowrap;display:flex;align-items:center;gap:6px}
.workspace-context::before{content:'';width:6px;height:6px;border-radius:50%;background:#877eae}
body .avatar{height:32px;width:32px;box-shadow:none;background:#eeecf8;color:#5145cd;border:0;border-radius:50%;font-size:11px}
body .product-breadcrumb{margin:0 0 14px;padding:0;font-size:12px;min-height:20px;gap:7px;background:none;border:0;box-shadow:none}
body .product-breadcrumb button{font-size:12px;font-weight:400;color:#747b88}
body .journey-context{border:0;border-radius:0;box-shadow:none;background:none;padding:0 0 15px;margin-bottom:20px;border-bottom:1px solid var(--line)}
body .journey-context-copy{display:none}
body .journey-context-actions{justify-content:flex-start;gap:6px;padding:0;flex-wrap:wrap;overflow:visible}
body .journey-shortcut{background:transparent;border:0;border-radius:6px;padding:7px 11px;font-size:12px;font-weight:500;color:#687182;box-shadow:none}
body .journey-shortcut.active,body .journey-shortcut[aria-current="page"]{background:#ebe8fa;color:#4b40bb;box-shadow:none;border:0}
body .journey-shortcut:hover{background:#eeecf7;color:#5145cd}
body .page-head{margin-bottom:20px;align-items:flex-start;gap:16px}
body .page-head h1{font-size:25px;line-height:1.25;letter-spacing:-.65px;font-weight:650;margin:0 0 6px}
body .page-head p{font-size:13px;color:var(--muted);max-width:760px;line-height:1.5;margin:0}
body .platform-eyebrow{font-size:10px;letter-spacing:.06em;color:#7a8291;margin-bottom:6px}
body .btn{min-height:35px;padding:7px 12px;border:1px solid #dce0e8;border-radius:6px;font-size:12px;font-weight:600;box-shadow:none;background:#fff;color:#3f4757;line-height:1.35;transition:background .14s,border-color .14s,color .14s}
body .btn:hover{background:#f7f7fb;border-color:#bcb8db;transform:none;box-shadow:none}
body[data-pluze-theme="sereno"] .btn.primary{background:#5145cd;color:white;border-color:#5145cd;box-shadow:none}
body .btn.small{font-size:11px;min-height:29px;padding:5px 9px}
body .btn.danger{color:#b74444;border-color:#e9c9c9;background:#fff}
body .btn:disabled{opacity:.45;box-shadow:none;cursor:not-allowed}
body .actions{gap:8px;flex-wrap:wrap}
body .field label,body .field>span:first-child{font-size:12px;font-weight:500;color:#596273;margin-bottom:5px;text-transform:none;letter-spacing:0}
body input:not([type="checkbox"]):not([type="radio"]),body select,body textarea{border:1px solid #d9dfe8;border-radius:6px;background:#fff;color:#283142;font-size:13px;padding:8px 10px;min-height:36px;max-width:100%}
body input[type="date"],body input[type="month"]{font-family:inherit;font-variant-numeric:tabular-nums}
body input[type="checkbox"],body input[type="radio"]{accent-color:#5145cd;width:16px;height:16px;flex-shrink:0}
body .form-grid{gap:15px}.field{min-width:0}
body .card{border:1px solid var(--line);border-radius:9px;background:#fff;box-shadow:none}
body .card.pad{padding:20px}
body .card-head{padding:16px 18px;border-bottom:1px solid var(--line);gap:12px;background:#fff}
body .card-head h3{font-size:15px;font-weight:600;letter-spacing:-.15px}
body .card-head .mini{font-size:12px;color:var(--muted)}
body .toolbar{padding:14px 16px;border-bottom:1px solid var(--line);gap:12px;flex-wrap:wrap;background:#fff}
body .filters{gap:10px;min-width:0;flex-wrap:wrap}
body .filters input{min-width:180px}.filters select{min-width:130px}
body .table-wrap{max-width:100%;overflow-x:auto;overscroll-behavior-inline:contain;scrollbar-width:thin;scrollbar-color:#c4c7d4 #f8f9fc;border-radius:0}
body table{border-collapse:collapse;font-variant-numeric:tabular-nums;line-height:1.5}
body th{font-size:11px;font-weight:600;letter-spacing:.015em;text-transform:none;background:#fafbfc;color:#707988;padding:11px 16px;white-space:nowrap;border-bottom:1px solid var(--line)}
body td{font-size:13px;font-weight:400;padding:12px 16px;border-bottom:1px solid #edf0f4;color:#394354;vertical-align:middle}
body tbody tr:nth-child(even){background:#fff}
body tbody tr:hover{background:#f9f9fe}
body tbody tr:last-child td{border-bottom:0}
body th.num,body td.num{text-align:right;white-space:nowrap}
body td strong,body td b{font-weight:600}
body .customer-detail-table th{font-size:11px}body .customer-detail-table td{font-size:12px}
body .badge{font-size:10px;font-weight:600;border-radius:4px;padding:3px 7px;letter-spacing:0;white-space:nowrap}
body .badge.gray{background:#f0f2f5;color:#647083}
body[data-pluze-theme="sereno"] .badge.blue{background:#eeeafa;color:#5145bd;border:0}
body .callout{border:1px solid #e0e3ef;border-left:3px solid #8c84c9;background:#f8f8fc;color:#5d6480;border-radius:6px;padding:11px 14px;font-size:12px;line-height:1.6}
body .callout b{font-weight:600}
body .callout.success{background:#f5faf7;border-color:#dcece2;border-left-color:#5ba882;color:#416c55}
body .callout.warning{background:#fffbf2;border-color:#eee3c8;border-left-color:#c6a354;color:#8a6b31}
body .callout.danger{background:#fff6f6;border-color:#f0dcdc;border-left-color:#cd7373;color:#a15151}
body .empty{font-size:13px;padding:32px 20px;color:#7c8492}
body .operations-summary,body .customer-profile-summary,body .split-stat{gap:0;background:#fff;border:1px solid var(--line);border-radius:9px;overflow:hidden;box-shadow:none}
body .operations-summary>div,body .customer-profile-summary>div,body .split-stat>div{background:transparent;border:0;border-right:1px solid var(--line);border-radius:0;padding:16px 20px;box-shadow:none}
body .operations-summary>div:last-child,body .customer-profile-summary>div:last-child,body .split-stat>div:last-child{border-right:0}
body .operations-summary small,body .customer-profile-summary small,body .split-stat small{font-size:11px;text-transform:none;font-weight:500;letter-spacing:0;color:#758091}
body .operations-summary strong,body .customer-profile-summary strong,body .split-stat strong{font-size:21px;font-weight:600;letter-spacing:-.35px;margin-top:3px;color:#293244;font-variant-numeric:tabular-nums}
body .kpi-card{box-shadow:none;padding:17px 18px;border-radius:9px}
body .kpi-label{font-size:11px;text-transform:none;font-weight:500;color:var(--muted);letter-spacing:0}
body .kpi-value{font-size:24px;letter-spacing:-.5px;font-weight:650;margin:4px 0}
body .kpi-icon{background:#f0eef9;color:#6d63ad;border:0;box-shadow:none}
body .kpi-card::before,body .kpi-card::after{display:none}
body #legacyPortfolioSummary{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:0;border:1px solid var(--line);border-radius:8px;background:white;overflow:hidden;margin-bottom:16px}
body #legacyPortfolioSummary>.card{border:0;border-right:1px solid var(--line);border-radius:0;padding:15px 18px;background:none}
body #legacyPortfolioSummary>.card:last-child{border-right:0}
body #legacyPortfolioSummary .kpi-value{font-size:22px;margin-bottom:0}
body .receivables-tabs{display:flex;gap:4px;padding:0;border:0;border-bottom:1px solid var(--line);border-radius:0;background:none;box-shadow:none;overflow:auto}
body .receivables-tabs button{background:none;border:0;border-bottom:2px solid transparent;border-radius:0;color:#747c8b;padding:10px 13px;box-shadow:none;font-size:12px;font-weight:500}
body[data-pluze-theme="sereno"] .receivables-tabs button.active{color:#5145cd;background:none;border:0;border-bottom:2px solid #5145cd;border-radius:0;box-shadow:none}
body .customer-detail-hero,body .unit-finance-hero{display:flex;align-items:center;justify-content:space-between;gap:20px;padding:0 0 20px;border:0!important;border-bottom:1px solid var(--line)!important;border-radius:0!important;background:transparent!important;box-shadow:none;color:var(--ink);overflow:visible}
body .customer-detail-hero::after,body .unit-finance-hero::after{display:none}
body .customer-detail-hero>.finance-360-icon,body .unit-finance-hero>.finance-360-icon{display:none}
body .customer-detail-hero h1,body .unit-finance-hero h1{font-size:27px;font-weight:650;letter-spacing:-.65px;color:#262d3b;margin:4px 0}
body .customer-detail-hero p,body .unit-finance-hero p{color:#70798a;font-size:12px}
body .customer-detail-hero .customer-detail-kicker,body .unit-finance-kicker{color:#7e8694;font-weight:500;letter-spacing:.07em;font-size:10px}
body .customer-detail-hero .btn.light,body .unit-finance-hero .btn.light{background:#fff;color:#50596b;border:1px solid #dce0e8}
body .customer-detail-hero .btn.accent,body .unit-finance-hero .btn.accent{background:#5145cd;color:#fff;border-color:#5145cd}
body .finance-360-tags{margin-top:8px;gap:6px}
body .finance-360-tags>span{background:transparent;color:#7b8291;border-radius:4px;font-size:10px;font-weight:400;padding:1px 0;text-transform:none}
body .finance-360-tags>.badge.green{background:#eaf5ed;color:#3f8053;padding:2px 7px}
body .customer-detail-tabs{display:flex;gap:2px;margin:0;padding:0;background:transparent;border:0;border-bottom:1px solid #dedee8;border-radius:0;overflow:auto;scrollbar-width:thin}
body .customer-detail-tabs button{min-height:44px;padding:10px 13px;border:0;border-bottom:2px solid transparent;border-radius:0;font-size:12px;font-weight:500;background:transparent;color:#717889;white-space:nowrap}
body .customer-detail-tabs button:hover{color:#5145cd;background:#f2f0fa}
body .customer-detail-tabs button.active{background:transparent;color:#5145cd;border-bottom-color:#5145cd;font-weight:650}
body .customer-detail-summary{margin:18px 0}
body .customer-profile-summary.customer-detail-summary>div{background:transparent;border:0;border-right:1px solid var(--line);border-radius:0!important;box-shadow:none}
body .customer-profile-summary.customer-detail-summary>div:last-child{border-right:0}
body .customer-accordion-stack{display:block}
body .customer-detail-accordion{border:1px solid var(--line)!important;border-radius:9px!important;box-shadow:none;background:white;overflow:hidden}
body .customer-detail-accordion[hidden]{display:none!important}
body .customer-detail-accordion>summary{display:flex;min-height:58px;padding:16px 20px;gap:12px;cursor:default;background:#fff!important;border-bottom:1px solid var(--line)}
body .customer-detail-accordion>summary .finance-accordion-icon,body .customer-detail-accordion>summary .finance-accordion-title small,body .customer-detail-accordion>summary .finance-accordion-title>span,body .customer-detail-accordion>summary>b{display:none}
body .customer-detail-accordion>summary .finance-accordion-title strong{font-size:15px;font-weight:600;color:#2a3343}
body .customer-detail-accordion>summary>em{margin-left:auto;background:#f3f4f8!important;color:#7b8292!important;font-size:11px;padding:3px 8px;font-weight:400;border-radius:4px;white-space:nowrap}
body .customer-accordion-content{padding:20px}
body .customer-profile-grid{gap:0 26px;grid-template-columns:repeat(3,minmax(0,1fr))}
body .customer-profile-grid>div{padding:13px 0;border:0;border-bottom:1px solid #eef0f4;border-radius:0;min-height:70px;background:none}
body .customer-profile-grid small{font-size:11px;font-weight:400;color:#858c98;letter-spacing:0;text-transform:none;margin:0 0 5px}
body .customer-profile-grid strong{font-size:13px;font-weight:500;color:#343e50;line-height:1.6;overflow-wrap:anywhere}
body .customer-profile-history>div{padding-bottom:16px}
body .customer-profile-history b{font-size:12px;font-weight:500}
body .customer-profile-history small{font-size:11px}
body .customer-proposal-card,body .customer-contract-card{border:1px solid var(--line);border-radius:7px;box-shadow:none;background:white}
body .customer-contract-card>header{background:#fafbfe;border-color:var(--line)}
body .customer-open-link{font-size:12px;font-weight:500;margin-top:3px}
body .customer-name-link{font-size:14px;font-weight:600;letter-spacing:0}
body .customer-detail-accordion .table-wrap{margin:0;max-width:100%}
.cancelled-boletos-table{min-width:550px;width:100%}
body .cancelled-boletos-table td,body .cancelled-boletos-table th{padding:10px;font-size:12px}
.cancelled-boletos-table td:nth-child(2),.cancelled-boletos-table td:nth-child(3),.cancelled-boletos-table td:nth-child(4){white-space:nowrap}
.cancel-reason{margin-top:4px;max-width:200px}
.customer-detail-accordion .cancel-reason>summary{display:list-item;list-style:disclosure-closed inside;padding:2px 0;min-height:0;font-size:11px;line-height:1.6;color:#6558be;cursor:pointer;background:transparent;border:0}
.customer-detail-accordion .cancel-reason[open]>summary{list-style-type:disclosure-open}
.customer-detail-accordion .cancel-reason>summary:after{display:none;content:none}
.cancel-reason p{font-size:12px;line-height:1.5;white-space:normal;color:#6b7382;margin:8px 0}
body .loan-two-phase-map{gap:16px;margin-bottom:20px}
body .loan-two-phase-map>button{background:#fff;border:1px solid var(--line);border-radius:8px;padding:17px 18px;box-shadow:none;min-height:100px}
body .loan-two-phase-map>button>span{background:#eeebfa;color:#6155c5;border:0;border-radius:6px;width:32px;height:32px;font-size:14px}
body .loan-two-phase-map b{font-size:15px;color:#353c4f}
body .loan-two-phase-map small{font-size:12px;font-weight:400;color:#77808f}
body .loan-two-phase-map i{color:#5145cd;font-size:11px;font-style:normal}
body .loan-closing-stepper{background:transparent;border:0;box-shadow:none;padding:0;gap:6px;margin-bottom:20px}
body .loan-closing-stepper button{border:1px solid var(--line);border-radius:6px;background:white;padding:12px;font-size:12px;box-shadow:none}
body .loan-closing-stepper button.current{border-color:#9b93d4;background:#f1effb;color:#5145cd}
body .loan-closing-proposal-table td:first-child{min-width:210px;max-width:340px}
body .loan-closing-proposal-table td:last-child{min-width:185px}
body .loan-closing-proposal-table .actions{justify-content:flex-start}
.workspace-secondary{margin-top:18px;border:1px solid var(--line);border-radius:8px;background:#fff;overflow:hidden}
.workspace-secondary>summary{padding:15px 18px;font-size:13px;font-weight:600;color:#505b6d;cursor:pointer;list-style-position:inside}
.workspace-secondary>summary small{font-size:11px;font-weight:400;color:#87909c;margin-left:8px}
.workspace-secondary[open]>summary{border-bottom:1px solid var(--line)}
.workspace-secondary>.card{border:0!important;border-radius:0!important;margin-top:0!important;box-shadow:none}
.workspace-secondary>.card+.card{border-top:1px solid var(--line)!important}
#portfolioTitlesCard .filters{flex:1;align-items:flex-end}
#portfolioTitlesCard .filters>.field:first-child{flex:1;min-width:220px}
#portfolioTitlesCard .filters>.field select{width:100%}
body .modal-backdrop{padding:24px;background:rgba(27,29,47,.4);backdrop-filter:blur(2px)}
body .modal{border:1px solid #e1e4ed;border-radius:12px;box-shadow:0 20px 80px #19223724;max-height:90dvh;overflow:auto}
body .modal-head,body .modal-foot{padding:16px 20px;background:#fff;border-color:var(--line)}
body .modal-body{padding:20px}
body #financingBoletoModal .modal{max-width:1080px;padding:24px!important;border-radius:12px!important}
#financingBoletoModal .section-head{display:flex;justify-content:space-between;align-items:flex-start;gap:20px}
#financingBoletoModal h2{font-size:22px;letter-spacing:-.4px;margin:0 0 5px;font-weight:650}
#financingBoletoCustomer{font-size:12px;color:#7b8392;margin:0 0 20px}
#financingBoletoModal .form-grid{grid-template-columns:1.5fr 1fr;margin:18px 0}
#financingBoletoModal .form-grid label{display:grid;gap:6px;font-size:12px;color:#737c8c}
#financingBoletoModal .form-grid input,#financingBoletoModal .form-grid select{width:100%}
#financingBoletoRows td{padding:10px 14px}
#financingBoletoModal th{padding:10px 14px}
#financingBoletoModal input[type="checkbox"]{margin:0}
#financingBoletoSummary{font-size:13px;font-weight:600}
.boleto-progress{margin:18px 0 20px}
.boleto-progress[hidden]{display:none!important}
.boleto-progress-heading{display:flex;justify-content:space-between;gap:16px;align-items:baseline;font-size:13px;margin-bottom:9px}
.boleto-progress-heading>span{font-weight:600}
.boleto-progress-heading>strong{color:#5145cd;font-variant-numeric:tabular-nums}
.boleto-progress-track{height:8px;overflow:hidden;border-radius:8px;background:#e8ecf4}
.boleto-progress-fill{width:0;height:100%;background:#5145cd;border-radius:inherit;transition:width .3s ease}
.boleto-progress-caption{display:flex;flex-wrap:wrap;justify-content:space-between;gap:5px 16px;font-size:12px;color:#69758b;margin-top:9px;line-height:1.5}
.boleto-progress-caption strong{font-weight:500;color:#34415a}
.boleto-progress[data-state="done"] .boleto-progress-fill{background:#128077}
.boleto-progress[data-state="done"] .boleto-progress-heading>strong{color:#128077}
.boleto-progress[data-state="attention"] .boleto-progress-fill{background:#b58327}
.boleto-progress[data-state="attention"] .boleto-progress-heading>strong{color:#936a20}
@media(prefers-reduced-motion:reduce){.boleto-progress-fill{transition:none}}
body :focus-visible{outline:3px solid #b3aaf0!important;outline-offset:2px}
body .ui-action-feedback{animation:none}
@keyframes workspace-panel-in{from{opacity:.65;transform:translateY(3px)}to{opacity:1;transform:none}}
.customer-detail-accordion:not([hidden]) .customer-accordion-content{animation:workspace-panel-in .14s ease-out}
.modal-backdrop.open .modal{animation:workspace-panel-in .16s ease-out}
@media(min-width:781px) and (max-width:1120px){
  body .content{padding:20px}body .topbar{padding:12px 20px}
  body .customer-detail-hero{align-items:flex-start;flex-wrap:wrap}
  body .customer-detail-hero .actions{justify-content:flex-start}
  body .customer-detail-tabs{flex-wrap:wrap;overflow:visible}
  body .customer-detail-tabs button{padding:8px 12px;min-height:38px}
  body .customer-profile-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
  body .customer-profile-grid .span-3{grid-column:span 2}
  body .customer-detail-summary strong{font-size:18px}
  body .customer-detail-summary>div{padding:14px 12px}
  .workspace-search kbd,.workspace-search span{display:none}.workspace-context{display:none}
  body .page-head{flex-wrap:wrap}
}
@media(max-width:780px){
  html{scrollbar-gutter:auto}body .app{display:block}
  body[data-pluze-theme="sereno"] .sidebar{display:none}
  body.mobile-nav-open .sidebar{display:block;position:fixed;inset:0 auto 0 0;width:min(300px,86vw);height:100dvh;z-index:130;box-shadow:0 0 0 100vmax #18203566}
  body .mobile-only{display:flex}body .mobile-nav-close{margin-left:auto;border:0;background:#f1f0f8;color:#50478c;border-radius:6px;width:30px;height:30px;align-items:center;justify-content:center}
  body .content{padding:18px 14px 30px}body .topbar{height:60px;min-height:60px;padding:10px 14px;gap:10px}
  body .top-title{font-size:14px;max-width:180px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
  body .top-sub,.workspace-context,.workspace-search span,.workspace-search kbd{display:none}
  body .top-actions{gap:8px}body .top-actions .workspace-search{padding:8px}
  body .top-actions>.btn.icon{display:none}
  body .product-breadcrumb{flex-wrap:wrap;gap:5px;font-size:11px}
  body .journey-context{margin-bottom:18px;padding-bottom:12px}
  body .journey-shortcut{font-size:11px;padding:6px 8px}
  body .page-head h1{font-size:23px}body .page-head{flex-direction:column;gap:12px}
  body .page-head .actions{width:auto}body .page-head .actions .btn{flex:initial}
  body .card.pad{padding:16px}body .card-head{padding:14px}
  body .toolbar{padding:12px}.filters input{min-width:0!important}
  body .filters{width:100%;flex:1}.filters>*{flex:1;min-width:120px}
  body .form-grid,body .form-grid.three,body .form-grid.two{grid-template-columns:1fr}
  body .form-grid [class*="span-"]{grid-column:auto}
  body .operations-summary,body .customer-profile-summary,body .split-stat{grid-template-columns:repeat(2,minmax(0,1fr))}
  body #legacyPortfolioSummary{grid-template-columns:repeat(2,minmax(0,1fr))}
  body #legacyPortfolioSummary>.card{border-bottom:1px solid var(--line);padding:12px 14px}
  body .operations-summary>div,body .customer-profile-summary>div,body .split-stat>div{padding:12px 14px;border-bottom:1px solid var(--line)}
  body .operations-summary strong,body .customer-profile-summary strong{font-size:20px}
  body .customer-detail-hero,body .unit-finance-hero{flex-direction:column;align-items:flex-start;gap:14px}
  body .customer-detail-hero h1{font-size:25px}
  body .customer-detail-hero .actions{justify-content:flex-start;width:100%}
  body .customer-detail-hero .actions .btn{padding:6px 9px;font-size:11px}
  body .customer-detail-tabs{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:0;overflow:visible}
  body .customer-detail-tabs button{padding:8px 5px;font-size:11px;min-height:36px}
  body .customer-detail-accordion>summary{padding:14px;min-height:50px}
  body .customer-detail-accordion>summary .finance-accordion-title strong{font-size:14px}
  body .customer-detail-accordion>summary>em{font-size:10px}
  body .customer-accordion-content{padding:14px}
  body .customer-profile-grid{grid-template-columns:1fr;gap:0}
  body .customer-profile-grid [class*="span-"]{grid-column:auto}
  body .customer-profile-grid>div{min-height:0;padding:10px 0}
  body .loan-two-phase-map{grid-template-columns:1fr;gap:10px}
  body .loan-closing-stepper{display:flex;overflow-x:auto;scrollbar-width:thin;padding-bottom:6px}
  body .loan-closing-stepper button{min-width:145px;flex:0 0 145px}
  body .modal-backdrop{padding:10px}body .modal{max-height:94dvh;border-radius:10px}
  body #financingBoletoModal .modal{padding:16px!important;width:100%!important;max-height:94dvh!important}
  #financingBoletoModal .form-grid{grid-template-columns:1fr}
  #financingBoletoModal .actions .btn{flex:1;min-width:140px}
  #financingBoletoModal label{font-size:12px}
  body td,body th{padding:10px 12px}
  #portfolioTitlesCard .filters>.field:first-child{min-width:100%}
  #portfolioTitlesCard .toolbar{align-items:stretch;flex-direction:column}
  #portfolioTitlesCard .filters{display:grid;grid-template-columns:1fr;width:100%}
  body .customer-profile-summary.customer-detail-summary>div{border-bottom:1px solid var(--line)}
  body .customer-profile-summary.customer-detail-summary>div:nth-child(even){border-right:0}
  body .customer-profile-summary.customer-detail-summary>div:nth-last-child(-n+2){border-bottom:0}
  .workspace-secondary>summary small{display:block;margin:4px 0 0 18px}
}
@media(prefers-reduced-motion:reduce){body *,body *::before,body *::after{animation:none!important;scroll-behavior:auto!important;transition:none!important}}
@media print{body .sidebar,body .topbar,body .customer-detail-tabs{display:none!important}body .app{display:block}body .content{padding:0}body .customer-detail-accordion[hidden]{display:block!important}}

/* Customer dossier: requirements first, immutable archive below. */
.customer-intake-actions{border-bottom:1px solid #e2e5ef;padding-bottom:24px;margin-bottom:26px;display:grid;gap:14px}
.customer-intake-actions h3{margin:0 0 6px;font-size:17px}
.customer-intake-actions p{margin:0 0 5px;color:#647087;font-size:13px}
.customer-intake-actions small{color:#737f93;font-size:12px}
.customer-intake-file{display:inline-flex;align-items:center;gap:10px;flex-wrap:wrap}
.customer-intake-file input{max-width:260px;font-size:12px}
#customerIntakeReviewBody td{overflow-wrap:anywhere;min-width:150px}
body #customerIntakeReviewModal .modal{width:min(950px,calc(100vw - 32px))}
body #customerIntakeReviewBody table{min-width:0;width:100%;table-layout:fixed}
body #customerIntakeReviewBody td,body #customerIntakeReviewBody th{min-width:0;white-space:normal;overflow-wrap:anywhere}
#customerIntakeFormHistory>div{margin-top:5px}
.customer-dossier{margin-bottom:28px}
.customer-dossier-heading{display:flex;justify-content:space-between;align-items:start;gap:20px}
.customer-dossier-heading h3{margin:0 0 5px}
.customer-dossier-heading p{margin:0;color:#647087;font-size:13px}
.customer-dossier-heading>strong{font-size:12px;color:#5145cd}
.customer-dossier-progress{display:flex;gap:20px;flex-wrap:wrap;padding:16px 0 12px;font-size:12px;color:#647087;border-bottom:1px solid #e2e5ef}
.customer-dossier-list,.customer-dossier-files{list-style:none;margin:0;padding:0}
.customer-dossier-list>li{display:flex;align-items:start;justify-content:space-between;gap:20px;padding:17px 0;border-bottom:1px solid #e2e5ef}
.customer-dossier-item{min-width:0;flex:1;display:grid;gap:6px}
.customer-dossier-item>strong{font-size:14px}
.customer-dossier-item small{font-size:12px}
.customer-dossier-status{font-size:12px;font-weight:600}
.customer-dossier-status.missing{color:#aa4c20}
.customer-dossier-status.received{color:#696279}
.customer-dossier-status.validated{color:#15725a}
.customer-dossier-files li{display:flex;align-items:center;gap:12px;justify-content:space-between;margin:8px 0;font-size:12px}
.customer-dossier-files span{overflow-wrap:anywhere;min-width:0}
.customer-dossier-list button{flex-shrink:0}
.customer-document-archive-title{margin:0 0 16px;font-size:15px}
@media(max-width:600px){.customer-dossier-heading{display:block}.customer-dossier-heading>strong{display:block;margin-top:12px}.customer-dossier-list>li{gap:10px}.customer-dossier-files li{align-items:start;flex-direction:column}.customer-dossier-item>strong{font-size:13px}.customer-dossier-list button{padding:8px 10px}}

/* A direct client loan never presents unit inputs or individual elections. */
body [data-simulation-unit-field][hidden],
body #loanPaymentChoiceWorkspace[hidden],body #loanClientFinancingWorkspace[hidden]{display:none!important}
body #commercialOptions.direct-client-financing th:nth-child(n+7),
body #commercialOptions.direct-client-financing td:nth-child(n+7){display:none}
body #commercialOptions.direct-client-financing table{min-width:600px}
body #loanClientFinancingWorkspace{margin-top:16px}
body .loan-closing-summary [hidden] { display: none !important; }

body .loan-closing-back-action[hidden]{display:none!important}
body #contratacao .loan-closing-navigation{flex-wrap:wrap;gap:8px}

body #loanClosingScopeWorkspace{display:flex;flex-wrap:wrap;align-items:center;gap:12px;padding:16px 0;margin-bottom:16px;border-bottom:1px solid var(--line,#e1e5ee)}
body #loanClosingScopeWorkspace .field{flex:1 1 380px;max-width:680px}
body #loanClosingScopeStatus{flex-basis:100%}
body #loanClosingScopeSaveAction[hidden]{display:none!important}

body .contract-qualification-group{padding-top:20px;margin-top:4px;border-top:1px solid var(--line,#e1e5ee);min-width:0}
body .contract-qualification-group h4{font-size:15px;margin:0 0 12px}
body .contract-qualification-group p{font-size:12px;margin:0 0 14px;line-height:1.5}
body .contract-qualification-heading{display:flex;align-items:center;justify-content:space-between;gap:12px;flex-wrap:wrap;margin-bottom:12px}
body .contract-qualification-heading h4{margin:0}
body #contractQualificationPerson[hidden],body #contractValidationSummary[hidden]{display:none!important}
body #loanContractDocumentWorkspace .contract-field-invalid{border:1px solid #bb283a!important;background:#fff7f8!important;box-shadow:0 0 0 1px #bb283a!important}
body #loanContractDocumentWorkspace .contract-field-has-error>label{color:#a61e31}
body .contract-field-error{display:block;color:#a61e31;font-size:12px;line-height:1.45;margin-top:6px}
body .contract-required{color:#a61e31}
body .contract-validation-summary{border-left:3px solid #bb283a;background:#fff1f3;color:#8b1c2e;padding:12px 16px;margin:18px 0}
body .contract-validation-summary>div{display:flex;flex-wrap:wrap;gap:6px 16px;margin-top:8px}
body .contract-validation-summary button{background:none;border:0;padding:3px 0;color:inherit;text-decoration:underline;text-align:left;font:inherit;font-size:12px;cursor:pointer}
@media(max-width:600px){body .contract-qualification-group .form-grid{grid-template-columns:1fr}body .contract-qualification-group .span-2{grid-column:auto}body .contract-qualification-heading .btn{width:100%}}

/* Document assistance belongs to the draft, with an explicit review step. */
body .contract-assistant{padding:20px 0 24px;margin-bottom:24px;border-bottom:1px solid var(--line,#e1e5ee)}
body .contract-assistant-heading{display:flex;align-items:flex-start;justify-content:space-between;gap:16px}
body .contract-assistant h3{font-size:17px;margin:0 0 6px}
body .contract-assistant h4{font-size:16px;margin:20px 0 8px}
body .contract-assistant p{margin:6px 0 14px;line-height:1.55}
body .contract-assistant-heading p{color:var(--muted,#64748b);max-width:65ch}
body .contract-ai-settings{border-block:1px solid var(--line,#e1e5ee);margin:16px 0;padding:12px 0}
body .contract-ai-settings summary{cursor:pointer;font-weight:600;color:var(--primary,#4f46e5)}
body .contract-ai-settings summary small{font-weight:400;color:var(--muted,#64748b);margin-left:8px}
body .contract-ai-settings[open] summary{margin-bottom:16px}
body .contract-assistant .check{display:flex;align-items:center;gap:8px}
body .contract-assistant input[type=checkbox]{width:16px;height:16px;flex:0 0 auto}
body .contract-assistant-actions{display:flex;flex-wrap:wrap;gap:8px;margin-top:12px}
body .contract-assistant-inputs{align-items:start;gap:20px}
body .contract-assistant input[type=file]{max-width:100%;width:100%;padding:12px 0;white-space:normal;border:0;background:transparent;font-size:12px}
body .contract-assistant input[type=file]::file-selector-button{padding:9px 12px;margin-right:10px;border:1px solid var(--line,#d8deea);border-radius:6px;background:white;color:inherit;cursor:pointer}
body .contract-assistant small,body .contract-assistant .muted{font-size:12px;line-height:1.6;overflow-wrap:anywhere}
body .contract-assistant textarea{width:100%;resize:vertical}
body .contract-assistant-notice{max-width:95ch}
body .contract-assistant [hidden]{display:none!important}
body .contract-assistant-row{display:grid;grid-template-columns:minmax(160px,1fr) 2fr;gap:16px;padding:16px 0;border-top:1px solid var(--line,#e1e5ee)}
body .contract-assistant-row>.check{align-self:start;padding-top:10px;font-weight:600}
body .contract-assistant-row details{margin-top:6px;font-size:12px;overflow-wrap:anywhere}
body .contract-assistant-row details summary{cursor:pointer;color:var(--muted,#64748b)}
body .contract-assistant-row details p{white-space:pre-wrap}
body .contract-assistant-replace{color:#936322}
body .contract-assistant-warnings{padding-left:20px;font-size:12px;line-height:1.6;color:#795527}
body .contract-assistant .sr-only{position:absolute;width:1px;height:1px;padding:0;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap}
@media(max-width:760px){body .contract-assistant-inputs,body .contract-assistant-row{grid-template-columns:1fr}body .contract-assistant-row{gap:8px}body .contract-assistant-heading{flex-wrap:wrap}body .contract-ai-settings summary small{display:block;margin:5px 0 0 15px}}

/* Documents alongside the draft, with no nested card. */
.closing-customer-upload{margin-top:24px;padding-top:22px;border-top:1px solid var(--border,#dce2ee)}
.closing-customer-upload h3{margin:0 0 6px}
.closing-customer-upload>p{margin:0 0 16px}
.closing-customer-upload .contract-upload{display:grid;grid-template-columns:minmax(0,1.5fr) minmax(180px,1fr) auto;align-items:start;gap:16px;padding:0;background:transparent;border:0;border-radius:0}
.closing-customer-upload .contract-upload>.btn{margin-top:26px}
.closing-customer-upload .field{min-width:0}
.closing-customer-upload input[type=file]{width:100%;max-width:100%;min-width:0}
.closing-customer-upload .actions{margin:16px 0;gap:10px}
.closing-document-list{list-style:none;padding:0;margin:12px 0 0}
.closing-document-list li{display:flex;align-items:center;justify-content:space-between;gap:16px;padding:12px 0;border-top:1px solid #e5e9f1}
.closing-document-list li>div{min-width:0;overflow-wrap:anywhere}
.closing-document-list small{display:block;color:#62728c;margin-top:4px}
#closingUploadFeedback{min-height:1.5em}
@media(max-width:680px){
 .closing-customer-upload .contract-upload{grid-template-columns:minmax(0,1fr)}
 .closing-customer-upload .contract-upload>.btn{margin-top:0}
 .closing-customer-upload .actions{display:grid;grid-template-columns:minmax(0,1fr)}
 .closing-customer-upload .btn{white-space:normal}
 .closing-document-list li{align-items:flex-start}
}

.customer-intake-links{list-style:none;padding:0;margin:0}.customer-intake-links li{display:flex;align-items:center;justify-content:space-between;gap:18px;padding:16px 0;border-top:1px solid #e2e5ef}.customer-intake-links strong,.customer-intake-links small{display:block}.customer-intake-links strong{font-size:13px}.customer-intake-offline{margin:0 0 26px}.customer-intake-offline summary{cursor:pointer;color:#657189;font-size:13px;padding:8px 0}.customer-intake-offline .customer-intake-actions{margin:12px 0 0;border:0;padding:0}#customerIntakeShare{padding:15px 0;border-top:1px solid #e2e5ef}#customerIntakeShare label{display:block;font-size:13px;margin-bottom:8px}#customerIntakeShare input{min-width:0;flex:1}#customerIntakePortalModal .form-grid{display:grid;gap:18px;margin-top:20px}#customerIntakePortalModal .field{display:grid;gap:6px}.customer-intake-actions .btn{transition:background-color .15s ease,border-color .15s ease}@media(max-width:640px){.customer-intake-links li{align-items:flex-start;flex-direction:column}.customer-intake-actions>.actions{align-items:stretch;flex-direction:column}.customer-intake-actions>.actions .btn{width:100%}#customerIntakeShare .actions{display:grid;grid-template-columns:1fr auto}}@media(prefers-reduced-motion:reduce){.customer-intake-actions .btn{transition:none}}

.funding-entry-document,.funding-entry-source{background:#fff;border:1px solid #e0e5ef;border-radius:10px;padding:20px;margin:18px 0}.funding-entry-document,#fundingSourceSummary{display:flex;align-items:center;justify-content:space-between;gap:18px}.funding-entry-document h3,.funding-entry-source h3{font-size:16px;margin:0 0 5px}.funding-entry-document p,.funding-entry-source p{font-size:13px;color:#657189;margin:0}#fundingSourceEditor{margin-top:18px;border-top:1px solid #e5e8f0;padding-top:18px}#fundingSourceEditor .actions{margin-top:16px}#fundingCompositionWorkspace[hidden],#fundingSourceEditor[hidden],#fundingSourceShareField[hidden]{display:none!important}#fundingSignedFile{margin-top:10px;width:100%}@media(max-width:640px){.funding-entry-document,#fundingSourceSummary{align-items:stretch;flex-direction:column}.funding-entry-document>.btn,#fundingSourceSummary>.btn{width:100%}}

#fundingSourceCancel[hidden],#fundingSourceSummary button[hidden]{display:none!important}
/* Intake entry points use one quiet action strip and preserve the surrounding workspace. */
.intake-context-entry{display:flex;align-items:center;justify-content:space-between;gap:24px;padding:16px 0;margin:0 0 20px;border-top:1px solid var(--line,#dfe4ef);border-bottom:1px solid var(--line,#dfe4ef)}
.intake-context-entry[hidden]{display:none}.intake-context-entry h3{font-size:14px;margin:0 0 5px}.intake-context-entry p{font-size:13px;color:#647087;margin:0}.intake-context-entry small{display:block;margin-top:6px;color:#647087}.intake-context-entry>.btn{flex-shrink:0}.intake-context-entry.compact{margin:20px 0 0}
#customerIntakeContextModal{z-index:102}#customerIntakeReviewModal,#customerIntakePortalModal{z-index:103}.intake-context-modal{width:min(820px,calc(100vw - 32px))}.intake-context-modal .modal-head small{display:block;color:#647087;margin-top:5px}.intake-context-modal .customer-intake-offline{margin-bottom:0}.intake-context-modal .customer-intake-actions{padding-bottom:18px;margin-bottom:18px}
#contextIntakeShare{padding:15px 0;border-top:1px solid #e2e5ef}#contextIntakeShare label{display:block;font-size:13px;margin-bottom:8px}#contextIntakeShare input{min-width:0;flex:1}.intake-context-entry .btn{transition:background-color .15s ease,border-color .15s ease}
@media(max-width:640px){.intake-context-entry{align-items:stretch;flex-direction:column;gap:12px}.intake-context-entry>.btn{width:100%}.intake-context-modal{width:calc(100vw - 20px)}#contextIntakeShare .actions{display:grid;grid-template-columns:1fr auto}.intake-context-modal .customer-intake-links .actions{flex-wrap:wrap}}
@media(prefers-reduced-motion:reduce){.intake-context-entry .btn{transition:none}}
