body.rehaul .r6-export{font-size:14px;line-height:1.6}.r6-formats{display:flex;gap:12px;margin-bottom:28px}.r6-formats .btn{flex:1;min-height:48px}.r6-formats [aria-pressed=true]{border-color:var(--blue);background:var(--surface-2);box-shadow:inset 0 0 0 1px var(--blue)}.r6-export dl{display:grid;grid-template-columns:100px minmax(0,1fr);gap:14px 20px}.r6-export dt{color:var(--t2)}.r6-export dd{margin:0;overflow-wrap:anywhere}.r6-export-panel .m-title{font-size:23px}body.rehaul.r3-modal-open #toast{bottom:auto;top:20px;left:50%;right:auto;transform:translateX(-50%);max-width:calc(100vw - 40px)}
@media(max-width:600px){.r6-export dl{grid-template-columns:1fr;gap:4px}.r6-export dd{margin-bottom:14px}}

/* Ajustes de usabilidade: Fluxo, controles discretos e tabelas em linha única. */
.fluxo-filter-chips{display:flex;gap:8px;flex-wrap:wrap;padding:10px 20px;border-bottom:1px solid var(--bdr)}
#r2-totals{min-width:0;width:min(100%,760px);justify-self:center;overflow:auto;color:var(--t2);font-size:13px}
.fluxo-total-label{font-size:12px;color:var(--t2);margin-bottom:8px}
.fluxo-total-grid{display:grid;grid-template-columns:40px repeat(3,minmax(150px,1fr));align-items:center;gap:4px 24px;min-width:560px;font-variant-numeric:tabular-nums}
.fluxo-total-grid>*{text-align:right;white-space:nowrap}.fluxo-total-grid>:nth-child(4n+1){text-align:left}.fluxo-total-grid strong{font-weight:600}.fluxo-total-grid>:nth-child(-n+4){font-size:12px;color:var(--t2)}
body.rehaul[data-view=fluxo] .card-hd{gap:12px}body.rehaul[data-view=fluxo] .card-title{margin-right:auto}body.rehaul[data-view=fluxo] .card-hd>div:not(.r2-tools){margin-left:0}
body.rehaul .viz-columns h2,body.rehaul .viz-density h2{margin:0;font-size:15px;font-weight:600}body.rehaul .viz-density{margin-top:26px;padding-top:20px;border-top:1px solid var(--bdr)}
body.rehaul .viz-columns .vcol-tools{display:flex;gap:12px;margin:12px 0 16px;flex-wrap:wrap}body.rehaul .viz-columns .vcol-grid{gap:4px 20px}body.rehaul .viz-columns .vcol-chip{border:0;border-radius:3px;padding:9px 4px;min-height:40px;background:transparent;color:var(--t1);font-size:14px;transition:none}body.rehaul .viz-columns input{width:17px;height:17px;accent-color:var(--green-i);flex-shrink:0}body.rehaul .viz-density .vsec{padding:0;margin-bottom:12px}body.rehaul .vcol-tool{color:var(--t2);text-decoration:underline;text-underline-offset:3px}
/* Campo em foco conserva borda e indicador de teclado, sem halo. */
body.rehaul :is(input,select,textarea,.pick-btn,.cf-search,.search-inp,.val-wrap,.ent-lookup-search):is(:hover,:focus,:focus-within){box-shadow:none;transform:none;filter:none}
body.rehaul :is(.fi,.fsel,.search-inp,.login-fld input):focus{border-color:var(--blue)}
body.rehaul :focus-visible{outline:2px solid var(--blue);outline-offset:2px}
body.rehaul .cf-search:focus-within{border-color:var(--blue)}
body.rehaul :is(.pick-btn,.combo-caret,.chip,.vcol-chip,.cad-item,.reg-card,.perm-perfil,.perm-row,.r2-chip):hover{box-shadow:none;transform:none;filter:none}
body.rehaul :is(.chip,.cad-item,.reg-card,.perm-row):hover{background:var(--surface-2);border-color:var(--bdr)}
body.rehaul .perm-perfil:hover{background:var(--surface-2);border-color:var(--bdr);color:var(--t1)}
body.rehaul .btn:hover{transform:none;box-shadow:none;filter:none}
/* Colunas com largura limitada: conteúdo completo continua nos detalhes/exportações. */
body.rehaul table{table-layout:fixed;width:100%;min-width:640px}
body.rehaul table:has(tr>:nth-child(6)){min-width:1000px}body.rehaul table:has(tr>:nth-child(9)){min-width:1320px}
body.rehaul table :is(th,td){white-space:nowrap;overflow:hidden;text-overflow:ellipsis;overflow-wrap:normal;word-break:normal}
body.rehaul table :is(th,td) :is(span,div,a,strong,b){white-space:nowrap;overflow-wrap:normal;word-break:normal;max-width:100%;text-overflow:ellipsis}
body.rehaul table td>span,body.rehaul table td>a{display:inline-block;overflow:hidden;vertical-align:middle}body.rehaul table td>span+span{margin-left:8px}
body.rehaul table :is(th,td) br{display:none}
body.rehaul table .tda,body.rehaul table .r5-actions{display:flex;flex-wrap:nowrap;overflow:visible;gap:6px}
body.rehaul table .r5-block,body.rehaul table .r4-money{display:inline-block;margin:0 0 0 6px;overflow:hidden;vertical-align:middle}
body.rehaul table .r5-block:first-child,body.rehaul table .r4-money:first-child{margin-left:0}
body.rehaul .tw{overflow:auto}
body.rehaul table.resizable{width:100%;min-width:100%}
body.rehaul .resizable td>span,body.rehaul .conc-resizable td>span{white-space:nowrap!important;overflow:hidden;text-overflow:ellipsis}
body.rehaul table.resizable :is(th,td):last-child{overflow:hidden}
body.rehaul .r5-catalog :is(th,td):last-child{width:260px}
body.rehaul .dfc-table{width:max-content;min-width:100%}body.rehaul .dfc-table :is(th,td){width:145px;max-width:145px;min-width:145px}
body.rehaul .dfc-table tbody tr>:first-child,body.rehaul .dfc-table thead th[rowspan]{width:var(--dfc-plan-width);max-width:var(--dfc-plan-width);min-width:var(--dfc-plan-width)}
body.rehaul .dfc-table .dfc-valor{white-space:nowrap}
body.rehaul .r4-cell table{min-width:1400px}body.rehaul .r4-origin table{min-width:520px}
body.rehaul .mig-lanc-tbl{table-layout:fixed;min-width:840px}
body.rehaul .mig-lanc-tbl :is(th,td):first-child{width:42px;min-width:42px}
@media(max-width:600px){.fluxo-filter-chips{padding:10px 12px}.fluxo-total-grid{gap:4px 14px;min-width:540px}body.rehaul .viz-columns .vcol-grid{grid-template-columns:1fr}}

body.rehaul table :is(th,td).cc-chk-cell{width:42px;min-width:42px;padding:8px;text-align:center;text-overflow:clip}
body.rehaul .viz-columns h2,body.rehaul .viz-density h2{text-transform:none;letter-spacing:0}

/* Totais no cabeçalho; a grade ocupa a altura restante da área de trabalho. */
body.rehaul[data-view=fluxo] #content{display:flex;flex-direction:column;min-height:0;overflow:hidden}
body.rehaul .fluxo-page{display:grid;grid-template-columns:auto minmax(0,1fr) auto;align-items:center;gap:24px;flex-shrink:0;margin-bottom:18px;min-height:60px}
body.rehaul .fluxo-page h1{margin:0;white-space:nowrap}
body.rehaul[data-view=fluxo] #content>.card{display:flex;flex-direction:column;flex:1;min-height:0;margin-bottom:0;overflow:hidden}
body.rehaul[data-view=fluxo] .card-hd,body.rehaul[data-view=fluxo] .fluxo-filter-chips{flex-shrink:0}
body.rehaul[data-view=fluxo] #table-area{display:flex;flex-direction:column;flex:1;min-height:0}
body.rehaul[data-view=fluxo] #table-area>.tw{flex:1;min-height:0;max-height:none}
body.rehaul[data-view=fluxo] .pagination-bar{flex-shrink:0}
@media(max-width:1200px){body.rehaul .fluxo-page{grid-template-columns:minmax(0,1fr) auto;gap:12px 20px}body.rehaul .fluxo-page #r2-totals{grid-column:1/-1;grid-row:2;width:100%;justify-self:stretch}body.rehaul .fluxo-page .r2-actions{grid-column:2;grid-row:1}}
@media(max-width:600px){body.rehaul .fluxo-page h1{font-size:22px}body.rehaul .fluxo-page{gap:10px}body.rehaul .fluxo-page .r2-actions{margin-left:0}body.rehaul .fluxo-page .btn{font-size:12px;padding:7px 8px}}

/* Ações: hover discreto compartilhado e zoom com a mesma altura da barra. */
body.rehaul .btn-s:not(:disabled):not([aria-disabled=true]):hover,body.rehaul .btn-g:not(:disabled):not([aria-disabled=true]):hover{background:var(--bg);border-color:var(--bdr2);color:var(--t1)}
body.rehaul .zoom-ctl{height:38px;border-color:var(--bdr);border-radius:5px;gap:0;flex-shrink:0}
body.rehaul .zoom-btn{width:36px;height:100%;color:var(--t1)}
body.rehaul .zoom-lbl{min-width:52px;height:100%;font-size:13px;color:var(--t1)}
body.rehaul .zoom-btn svg{width:16px;height:16px}
body.rehaul .zoom-btn:not(:disabled):hover,body.rehaul .zoom-lbl:not(:disabled):hover{background:var(--bg);color:var(--t1)}
body.rehaul .zoom-ctl :focus-visible{outline-offset:-3px}

body.rehaul[data-view=fluxo] .r2-tools {
  display:grid;
  grid-template-columns:repeat(auto-fit,minmax(min(100%,142px),1fr));
  width:min(100%,952px);
}
body.rehaul[data-view=fluxo] .r2-tools > .btn {height:38px;justify-content:center;padding-inline:8px}
body.rehaul[data-view=fluxo] .r2-tools > .zoom-ctl {display:flex;width:100%}
body.rehaul[data-view=fluxo] .r2-tools .zoom-lbl {flex:1}
body.rehaul[data-view=fluxo] .fluxo-paginacao {justify-content:space-between}
.fluxo-paginacao #fx-selbar-host {flex:1 1 250px;min-width:0}
body.rehaul .fluxo-paginacao .fx-sel-bar {
  margin:0;
  padding:4px 8px;
  justify-content:center;
  color:var(--t1);
  background:var(--surface-2);
  font-size:12px;
}
.fluxo-paginacao .fx-sel-bar :is(.fx-sel-info,.fx-sel-ico,.fx-sel-sep,.fx-sel-div,.fx-sel-empty,.fx-sel-clear) {color:var(--t1)}
.fluxo-paginacao .fx-sel-bar .val-pos {color:var(--green-i)}
.fluxo-paginacao .fx-sel-clear {margin-left:0}
@media(max-width:1050px) {
  .fluxo-paginacao #fx-selbar-host {order:1;flex-basis:100%}
}
@media(max-width:600px) {
  body.rehaul[data-view=fluxo] .r2-tools {grid-template-columns:repeat(2,minmax(0,1fr))}
  body.rehaul[data-view=fluxo] .r2-tools > .btn {font-size:12px;gap:5px;padding-inline:5px}
  body.rehaul[data-view=fluxo] .r2-tools .zoom-btn {width:30px}
  .fluxo-paginacao .pag-nav {flex-wrap:wrap;gap:4px}
  body.rehaul[data-view=fluxo] .fluxo-paginacao .pag-nav .pag-btn {width:30px;min-width:30px}
}

/* Identidade do produto: textos completos também na navegação compacta. */
body.rehaul .sb-brand-txt{min-width:0}body.rehaul .sb-name{font-size:20px;line-height:1.15;white-space:normal;overflow-wrap:normal}body.rehaul .sb-sub{font-size:11px;line-height:1.35}body.rehaul .r5-login-brand>p{font-size:14px;color:var(--t2);margin:7px 0 0}

/* Ícones vetoriais também nos avisos e estados vazios. */
.empty-ico svg,.tbl-empty-ico svg{width:28px;height:28px;vertical-align:middle}
.f-conc-ico svg{width:18px;height:18px;vertical-align:middle}

/* Entidades: identificação em duas linhas, sem quebra dentro de cada nome. */
body.rehaul #cad-main .r5-catalog-ent td:first-child>strong{display:block;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;color:var(--t1);font-weight:600;line-height:1.35}
body.rehaul #cad-main .r5-catalog-ent td:first-child>.r5-block{display:block;margin:3px 0 0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;color:var(--t2);font-size:12px;font-weight:400;line-height:1.35}

/* Migração: painel dedicado à seleção dos lançamentos de um beneficiário. */
body.rehaul #modal-box.r4-migration-drawer{width:min(1280px,calc(100vw - 48px))}
body.rehaul #modal-box.r4-migration-drawer>.m-hd{padding:18px 24px;min-height:72px}
body.rehaul #modal-box.r4-migration-drawer>.m-body{display:flex;flex:1;min-height:0;overflow:hidden;padding:0}
body.rehaul .mig-lanc-panel{display:flex;flex-direction:column;width:100%;min-width:0;min-height:0}
body.rehaul .mig-lanc-toolbar{padding:11px 24px;border-bottom:1px solid var(--bdr);background:var(--surface-2);font-size:13px;color:var(--t2)}
body.rehaul .mig-lanc-toolbar strong{font-weight:600;color:var(--t1);font-variant-numeric:tabular-nums}
body.rehaul .mig-lanc-panel .mig-lanc-tw{flex:1;min-height:0;max-height:none;overflow:auto;margin:0;border:0;border-radius:0}
body.rehaul #modal-box.r4-migration-drawer .mig-lanc-tbl{table-layout:fixed;width:100%}
body.rehaul #modal-box.r4-migration-drawer .mig-lanc-tbl th{position:sticky;top:0;z-index:2;background:var(--surface-2);text-align:center;font-size:12px;padding:11px 12px}
body.rehaul #modal-box.r4-migration-drawer .mig-lanc-tbl td{min-width:0;padding:10px 12px;font-size:14px;height:44px}
body.rehaul #modal-box.r4-migration-drawer .mig-lanc-tbl :is(th,td):first-child{padding:8px;text-align:center}
body.rehaul #modal-box.r4-migration-drawer .mig-l-data{text-align:center}
body.rehaul #modal-box.r4-migration-drawer .mig-l-desc,body.rehaul #modal-box.r4-migration-drawer .mig-l-cls{text-align:left}
body.rehaul #modal-box.r4-migration-drawer .mig-l-val{text-align:center;font-variant-numeric:tabular-nums}
body.rehaul #modal-box.r4-migration-drawer>.m-ft{padding:14px 24px;border-top:1px solid var(--bdr);gap:10px}
body.rehaul #modal-box.r4-migration-drawer #mig-lanc-count{margin-right:auto;color:var(--t2);font-size:13px}
body.rehaul .mig-lanc-panel .mig-empty{padding:24px}
@media(max-width:760px){body.rehaul #modal-box.r4-migration-drawer{width:100vw}body.rehaul #modal-box.r4-migration-drawer>.m-hd{padding:16px}body.rehaul .mig-lanc-toolbar{padding:10px 16px}body.rehaul #modal-box.r4-migration-drawer>.m-ft{padding:12px 16px;flex-wrap:wrap}body.rehaul #modal-box.r4-migration-drawer #mig-lanc-count{flex-basis:100%}}

body.rehaul #modal-box.r4-migration-drawer .mig-lanc-tbl th{text-transform:none;letter-spacing:0}
body.rehaul #modal-box.r4-migration-drawer .mig-l-val.val-neg{color:var(--red)}
body.rehaul #modal-box.r4-migration-drawer .mig-l-val.val-pos{color:var(--green-i)}

/* DFC: detalhes de uma célula com tabela e navegação sempre acessíveis. */
body.rehaul #modal-box.r4-dfc-drawer{width:min(1280px,calc(100vw - 48px))}
body.rehaul #modal-box.r4-dfc-drawer>.m-hd{padding:18px 24px;min-height:72px}
body.rehaul #modal-box.r4-dfc-drawer>.m-body{display:flex;flex:1;min-height:0;overflow:hidden;padding:0}
body.rehaul #modal-box.r4-dfc-drawer .r4-cell{display:flex;flex-direction:column;width:100%;min-width:0;min-height:0}
body.rehaul #modal-box.r4-dfc-drawer .r4-cell-summary{display:flex;align-items:center;gap:12px 20px;flex-wrap:wrap;margin:0;padding:14px 24px;border-bottom:1px solid var(--bdr);background:var(--surface-2)}
body.rehaul .r4-cell-scope{display:flex;gap:10px;align-items:center;font-size:14px;color:var(--t1)}
body.rehaul .r4-detail-count{font-size:13px;color:var(--t2)}
body.rehaul .r4-cell-amount{margin-left:auto;text-align:right;min-width:0}
body.rehaul .r4-cell-amount>span{display:block;font-size:12px;color:var(--t2);margin-bottom:2px}
body.rehaul #modal-box.r4-dfc-drawer .r4-cell-amount>strong{display:block;margin:0;font-size:22px;line-height:1.2;font-weight:600;font-variant-numeric:tabular-nums;white-space:nowrap}
body.rehaul #modal-box.r4-dfc-drawer .r4-cell-amount>strong.val-neg{color:var(--red)}
body.rehaul #modal-box.r4-dfc-drawer .r4-cell-table{flex:1;min-height:0;max-height:none;overflow:auto;margin:0;border:0;border-radius:0}
body.rehaul #modal-box.r4-dfc-drawer .r4-dfc-detail-table{table-layout:fixed;width:100%}
body.rehaul #modal-box.r4-dfc-drawer .r4-dfc-detail-table th{position:sticky;top:0;z-index:2;background:var(--surface-2);padding:11px 12px;font-size:12px;text-align:center;text-transform:none;letter-spacing:0}
body.rehaul #modal-box.r4-dfc-drawer .r4-dfc-detail-table td{padding:10px 12px;min-width:0;max-width:none;height:44px;font-size:14px}
body.rehaul #modal-box.r4-dfc-drawer .r4-detail-date,body.rehaul #modal-box.r4-dfc-drawer .r4-detail-account{text-align:center}
body.rehaul #modal-box.r4-dfc-drawer .r4-detail-value{text-align:right;font-variant-numeric:tabular-nums}
body.rehaul #modal-box.r4-dfc-drawer .r4-detail-value>.val-neg{color:var(--red)}
body.rehaul #modal-box.r4-dfc-drawer .r4-detail-value>.val-pos{color:var(--green-i)}
body.rehaul #modal-box.r4-dfc-drawer .r4-detail-action{text-align:center}
body.rehaul #modal-box.r4-dfc-drawer>.m-ft{padding:14px 24px;border-top:1px solid var(--bdr);gap:10px;flex-wrap:wrap}
body.rehaul #modal-box.r4-dfc-drawer .r4-page-count{display:flex;gap:6px 16px;flex-wrap:wrap;margin-right:auto}
body.rehaul .r4-cell-loading,body.rehaul .r4-cell-error,body.rehaul .r4-detail-empty{padding:24px}
@media(max-width:760px){body.rehaul #modal-box.r4-dfc-drawer{width:100vw}body.rehaul #modal-box.r4-dfc-drawer>.m-hd{padding:16px}body.rehaul #modal-box.r4-dfc-drawer .r4-cell-summary{padding:12px 16px;gap:8px 16px}body.rehaul #modal-box.r4-dfc-drawer .r4-cell-amount>strong{font-size:20px}body.rehaul #modal-box.r4-dfc-drawer>.m-ft{padding:12px 16px}body.rehaul #modal-box.r4-dfc-drawer .r4-page-count{flex-basis:100%;font-size:12px}}

/* Migração: busca e confirmação estáveis no seletor de entidades. */
body.rehaul #modal-box.r4-link-drawer{width:min(800px,calc(100vw - 48px))}
body.rehaul #modal-box.r4-link-drawer>.m-hd{padding:18px 24px;min-height:72px}
body.rehaul #modal-box.r4-link-drawer>.m-body{display:flex;flex:1;min-height:0;overflow:hidden;padding:0}
body.rehaul .mig-link-panel{display:flex;flex-direction:column;width:100%;min-width:0;min-height:0}
body.rehaul .mig-link-panel .mig-mnames{padding:14px 24px;margin:0;border-radius:0;background:var(--surface-2);border-bottom:1px solid var(--bdr)}
body.rehaul .mig-link-panel .mig-mnames-lbl{text-transform:none;letter-spacing:0;font-size:12px;font-weight:400;margin-bottom:7px}
body.rehaul .mig-link-panel .mig-mnames-list{max-height:72px;overflow:auto}
body.rehaul .mig-link-panel .mig-name-chip{max-width:100%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;background:var(--white);font-size:14px}
body.rehaul .mig-ent-search{padding:16px 24px 10px}
body.rehaul .mig-ent-search>label{display:block;font-size:12px;color:var(--t2);margin-bottom:6px}
body.rehaul .mig-ent-search .kit-search{width:100%;max-width:none}
body.rehaul .mig-ent-search input{width:100%;height:40px;font-size:14px}
body.rehaul .mig-ent-results{padding:0 24px 10px;font-size:12px;color:var(--t2);border-bottom:1px solid var(--bdr)}
body.rehaul .mig-link-panel .mig-ent-list{flex:1;min-height:0;max-height:none;overflow:auto;border:0;border-radius:0}
body.rehaul #modal-box.r4-link-drawer .mig-ent-item{gap:12px;padding:14px 24px;min-height:72px;text-align:left;background:var(--white)}
body.rehaul #modal-box.r4-link-drawer .mig-ent-item:hover{background:var(--surface-2)}
body.rehaul #modal-box.r4-link-drawer .mig-ent-item.on{background:var(--surface-2);box-shadow:inset 3px 0 var(--blue)}
body.rehaul .mig-link-panel .mig-ent-radio{width:20px;height:20px;color:var(--blue)}
body.rehaul .mig-link-panel .mig-ent-item.on .mig-ent-radio{border-color:var(--blue)}
body.rehaul .mig-link-panel .mig-ent-info{flex:1;min-width:0}
body.rehaul .mig-link-panel .mig-ent-nome{font-size:15px;font-weight:600;color:var(--t1)}
body.rehaul .mig-link-panel .mig-ent-fantasia{font-size:13px;color:var(--t2);margin-top:2px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
body.rehaul .mig-link-panel .mig-ent-doc{font-size:12px;color:var(--t2);margin-top:4px}
body.rehaul #modal-box.r4-link-drawer>.m-ft{padding:14px 24px;border-top:1px solid var(--bdr);gap:10px;flex-wrap:wrap}
body.rehaul .mig-selected-summary{flex-basis:100%;min-width:0;padding-bottom:12px;margin-bottom:2px;border-bottom:1px solid var(--bdr)}
body.rehaul .mig-selected-summary>span{display:block;font-size:12px;color:var(--t2);margin-bottom:3px}
body.rehaul .mig-selected-summary>strong{display:block;font-size:14px;font-weight:600;color:var(--t1);white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
body.rehaul #modal-box.r4-link-drawer .mig-new-entity{margin-right:auto}
@media(max-width:760px){body.rehaul #modal-box.r4-link-drawer{width:100vw}body.rehaul #modal-box.r4-link-drawer>.m-hd{padding:16px}body.rehaul .mig-link-panel .mig-mnames{padding:12px 16px}body.rehaul .mig-ent-search{padding:12px 16px 10px}body.rehaul .mig-ent-results{padding:0 16px 10px}body.rehaul #modal-box.r4-link-drawer .mig-ent-item{padding:12px 16px}body.rehaul #modal-box.r4-link-drawer>.m-ft{padding:12px 16px}}
/* Foco único no contêiner da busca do vínculo. */
body.rehaul #modal-box.r4-link-drawer .mig-ent-search .kit-search input{min-width:0;border:0;background:transparent;box-shadow:none;outline:none}
body.rehaul #modal-box.r4-link-drawer .mig-ent-search .kit-search:focus-within{border-color:var(--blue);outline:2px solid var(--blue);outline-offset:1px}

/* Pendências: consulta da origem com leitura integral e ações acessíveis. */
body.rehaul #modal-box.r4-origin-drawer{width:min(800px,calc(100vw - 48px))}
body.rehaul #modal-box.r4-origin-drawer>.m-hd{padding:18px 24px;min-height:72px}
body.rehaul #modal-box.r4-origin-drawer>.m-body{min-height:0;overflow:auto;padding:0}
body.rehaul #modal-box.r4-origin-drawer>.m-ft{flex-shrink:0;padding:14px 24px;border-top:1px solid var(--bdr)}
body.rehaul .r4-origin{min-width:0}
body.rehaul .r4-origin-summary{display:flex;justify-content:space-between;gap:24px;padding:20px 24px;background:var(--surface-2);border-bottom:1px solid var(--bdr)}
body.rehaul .r4-origin-summary>div{display:flex;flex-direction:column;gap:6px;min-width:0}
body.rehaul .r4-origin-summary span{font-size:12px;color:var(--t2)}
body.rehaul .r4-origin-summary strong{font-size:15px;font-weight:600;overflow-wrap:anywhere}
body.rehaul .r4-origin-amount{text-align:right}
body.rehaul .r4-origin-summary .r4-origin-amount strong{font-size:20px;font-variant-numeric:tabular-nums}
body.rehaul .r4-origin .r5-origin-review{margin:20px 24px;padding:16px;border-radius:var(--r-sm);border:1px solid var(--bdr);background:var(--surface-2)}
body.rehaul .r4-origin h3{margin:0 0 12px;font-size:14px;font-weight:600;color:var(--t1)}
body.rehaul .r4-origin .r5-origin-review ul{margin:0;padding-left:20px;display:grid;gap:8px;font-size:14px;line-height:1.5;overflow-wrap:anywhere}
body.rehaul .r4-origin-section{margin:0 24px;padding:4px 0 20px}
body.rehaul .r4-origin-section+.r4-origin-section{border-top:1px solid var(--bdr);padding-top:20px}
body.rehaul .r4-origin dl{margin:0;display:grid;gap:18px}
body.rehaul .r4-origin .r4-origin-dates{grid-template-columns:repeat(2,minmax(0,1fr));gap:20px 32px}
body.rehaul .r4-origin-field{min-width:0}
body.rehaul .r4-origin dt{font-size:12px;color:var(--t2);margin-bottom:5px}
body.rehaul .r4-origin dd{margin:0;font-size:14px;line-height:1.6;white-space:pre-wrap;overflow-wrap:anywhere;color:var(--t1)}
body.rehaul .r4-origin-missing{color:var(--t2)}
@media(max-width:760px){body.rehaul #modal-box.r4-origin-drawer{width:100vw}body.rehaul #modal-box.r4-origin-drawer>.m-hd,body.rehaul #modal-box.r4-origin-drawer>.m-ft{padding:16px}body.rehaul .r4-origin-summary{padding:16px;gap:12px;flex-wrap:wrap}body.rehaul .r4-origin .r5-origin-review{margin:16px}body.rehaul .r4-origin-section{margin:0 16px}body.rehaul .r4-origin-summary .r4-origin-amount strong{font-size:18px}}

/* Cores semânticas adaptáveis: texto nunca usa o fundo claro do tema como tinta. */
html[data-theme=dark] #toast.success{background:var(--green-bg);color:var(--green-i);border:1px solid var(--green-bdr)}
html[data-theme=dark] #toast.error{background:var(--red-bg);color:var(--red);border:1px solid var(--red-bdr)}
html[data-theme=dark] #toast.info{background:var(--blue-bg);color:var(--blue);border:1px solid var(--blue-bdr)}
html[data-theme=dark] .combo-new-ico{color:var(--navy)}

/* Usuários: identidade e permissões têm espaços e rolagens independentes. */
body.rehaul #modal-box.r5-permission-form{width:min(1120px,calc(100vw - 48px))}
body.rehaul #modal-box.r5-permission-form>.m-body{display:grid;grid-template-columns:320px minmax(0,1fr);padding:0;overflow:hidden;min-height:0;flex:1}
body.rehaul .r5-user-identity{padding:24px;border-right:1px solid var(--bdr);overflow:auto;min-width:0}
body.rehaul .r5-user-identity h2,body.rehaul .r5-perm-heading h2{font-size:18px;font-weight:600;margin:0 0 20px;color:var(--t1)}
body.rehaul .r5-user-identity .fgrow{display:block}
body.rehaul .r5-user-identity .fg{margin-bottom:16px}
body.rehaul .r5-user-identity .fi{width:100%;min-width:0}
body.rehaul .r5-permission-form #u-perms{display:flex;flex-direction:column;gap:0;min-height:0;min-width:0;overflow:hidden}
body.rehaul .r5-perm-toolbar{padding:20px 24px 16px;border-bottom:1px solid var(--bdr);flex-shrink:0;background:var(--white)}
body.rehaul .r5-perm-heading{display:flex;align-items:baseline;justify-content:space-between;gap:12px;flex-wrap:wrap;margin-bottom:16px}
body.rehaul .r5-perm-heading h2{margin:0}
body.rehaul #r5-perm-total{font-size:12px;color:var(--t2)}
body.rehaul .r5-permission-form .perm-perfis{padding:0;margin-bottom:16px}
body.rehaul .r5-perm-search-label{display:block;font-size:13px;color:var(--t2);margin-bottom:6px}
body.rehaul #r5-perm-search{width:100%}
body.rehaul .r5-perm-list{min-height:0;overflow:auto;padding:20px 24px;flex:1}
body.rehaul .r5-permission-form .perm-group{margin:0 0 16px}
body.rehaul .r5-permission-form .perm-group-title{display:flex;align-items:center;justify-content:space-between;gap:12px}
body.rehaul .r5-perm-count{font-size:12px;font-weight:400;white-space:nowrap;color:var(--t2)}
body.rehaul .r5-permission-form button.perm-row{margin:0;border-radius:0;min-height:48px}
body.rehaul .r5-permission-form button.perm-row:hover{background:var(--surface-2)}
body.rehaul .r5-permission-form [hidden]{display:none!important}
body.rehaul #r5-perm-empty{color:var(--t2);font-size:14px;padding:16px 0}
body.rehaul .r5-permission-form #r5-form-error{grid-column:1/-1;margin:16px 24px 0}
body.rehaul #modal-box.r5-permission-form>.m-ft{flex-shrink:0;border-top:1px solid var(--bdr)}
@media(max-width:900px){body.rehaul #modal-box.r5-permission-form{width:100vw}body.rehaul #modal-box.r5-permission-form>.m-body{display:block;overflow:auto}body.rehaul .r5-user-identity{border-right:0;border-bottom:1px solid var(--bdr);padding:20px}body.rehaul .r5-user-identity .fgrow{display:grid}body.rehaul .r5-permission-form #u-perms{overflow:visible}body.rehaul .r5-perm-toolbar{padding:20px}body.rehaul .r5-perm-list{overflow:visible;padding:20px}body.rehaul .r5-permission-form #r5-form-error{margin:16px 20px}}
@media(max-width:500px){body.rehaul .r5-user-identity .fgrow{display:block}}

body.rehaul .r5-catalog-ent :is(th,td):last-child{width:520px;min-width:520px;max-width:520px}

/* Plano: edição por seções e consulta dos lançamentos. */
.cls-section+.cls-section{border-top:1px solid var(--bdr);margin-top:24px;padding-top:20px}
.cls-section h2{font-size:15px;color:var(--t1);margin:0 0 18px}
.cls-usage,.cls-option{display:flex;align-items:center;justify-content:space-between;gap:16px;border:1px solid var(--bdr);border-radius:var(--r-sm);padding:14px;background:var(--surface-2);color:var(--t1);font-size:14px}
.cls-usage{color:var(--t2)}.cls-usage strong{color:var(--t1)}.cls-option{cursor:pointer}.cls-option input{width:17px;height:17px;accent-color:var(--green);flex-shrink:0}
body.rehaul .cad-plans-table :is(th,td):last-child{width:340px;min-width:340px}
body.rehaul #modal-box.cls-launch-drawer{width:min(1280px,calc(100vw - 48px))}
body.rehaul #modal-box.cls-launch-drawer>.m-body{display:flex;overflow:hidden;padding:0;min-height:0}
.cls-launches{display:flex;flex-direction:column;min-height:0;min-width:0;width:100%}.cls-launch-scope{padding:14px 24px;border-bottom:1px solid var(--bdr);color:var(--t1);font-weight:600;overflow-wrap:anywhere}
.cls-launch-content{display:flex;flex-direction:column;min-height:0;flex:1}.cls-launch-content>.cls-launch-tw{flex:1;max-height:none;overflow:auto;margin:0;border:0}
.cls-launch-table{width:100%;table-layout:fixed;min-width:1150px}.cls-launch-table th{position:sticky;top:0;background:var(--surface-2);text-align:center;z-index:1}.cls-launch-table td{height:46px}.cls-launch-value{text-align:center;font-variant-numeric:tabular-nums}
.cls-launch-count{margin-right:auto;color:var(--t2);font-size:13px}
@media(max-width:760px){body.rehaul #modal-box.cls-launch-drawer{width:100vw}body.rehaul #modal-box.cls-launch-drawer>.m-ft{flex-wrap:wrap}.cls-launch-count{flex-basis:100%}}

body.rehaul .cls-launch-table td{font-size:14px;padding:11px 12px}body.rehaul .cls-launch-table th{font-size:12px;padding:11px 12px;text-transform:none;letter-spacing:0}

body.rehaul .cls-launch-table th,body.rehaul .cls-launch-table td{text-align:center}
body.rehaul .cls-launch-table td:nth-child(2),body.rehaul .cls-launch-table td:nth-child(3){text-align:left}

/* Conciliação e DFC: espaço restante dedicado às tabelas. */
body.rehaul:is([data-view=conciliacao],[data-view=dfc]) #content{display:flex;flex-direction:column;min-height:0;overflow:hidden}
body.rehaul:is([data-view=conciliacao],[data-view=dfc]) #content>.r2-page{flex-shrink:0;margin-bottom:18px}
body.rehaul[data-view=conciliacao] .r3-account-overview{flex-shrink:0}
body.rehaul[data-view=conciliacao] .r3-conc-card{display:flex;flex-direction:column;flex:1;min-height:180px;margin-bottom:0;overflow:hidden}
body.rehaul[data-view=conciliacao] .r3-conc-card>.card-hd,body.rehaul[data-view=conciliacao] #conc-sel-sum,body.rehaul[data-view=conciliacao] .pagination-bar{flex-shrink:0}
body.rehaul[data-view=conciliacao] #conc-table-area{display:flex;flex-direction:column;flex:1;min-height:0}
body.rehaul[data-view=conciliacao] #conc-table-area>.tw{flex:1;min-height:0;max-height:none}
body.rehaul[data-view=conciliacao] #r3-accounts .tw{max-height:min(28vh,300px)}
body.rehaul[data-view=dfc] #dfc-controles,body.rehaul[data-view=dfc] #dfc-aviso{flex-shrink:0}
body.rehaul[data-view=dfc] #dfc-corpo{display:flex;flex-direction:column;flex:1;min-height:180px}
body.rehaul[data-view=dfc] .dfc-scroll{flex:1;min-height:0;max-height:none;border-radius:6px}
body.rehaul .r4-dfc-filters{display:grid;grid-template-columns:170px 170px 86px 180px minmax(180px,1fr) auto;gap:10px 14px;align-items:end;padding:14px 18px;margin-bottom:12px}
body.rehaul .r4-dfc-filters .r2-field{min-width:0;flex:initial}
body.rehaul .r4-dfc-filters .fi,body.rehaul .r4-dfc-filters .fsel{width:100%;min-width:0}
body.rehaul .r4-dfc-filters #r4-bank-picker{min-width:0;width:100%;align-self:auto}
body.rehaul .r4-dfc-filters #r4-bank-picker summary{display:flex;align-items:center;justify-content:space-between;min-height:39px;padding:8px 11px}
body.rehaul .r4-dfc-filters #r4-bank-picker summary::after{content:'⌄';font-size:14px;color:var(--t2)}
body.rehaul .r4-dfc-filters #r4-bank-picker summary span{margin:0;font-size:14px;color:var(--t1)}

body.rehaul .dfc-table-context{display:flex;align-items:center;justify-content:space-between;gap:10px 24px;flex-shrink:0;flex-wrap:wrap;padding:11px 16px;background:var(--white);border:1px solid var(--bdr);border-bottom:0;border-radius:6px 6px 0 0;font-size:13px;color:var(--t2)}




@media(max-width:1450px){body.rehaul .r4-dfc-filters{grid-template-columns:160px 160px 80px minmax(150px,1fr) minmax(180px,1.3fr) auto;gap:10px}}
@media(max-width:1150px){body.rehaul .r4-dfc-filters{grid-template-columns:repeat(3,minmax(0,1fr))}}
@media(max-width:760px),(max-height:650px){body.rehaul:is([data-view=conciliacao],[data-view=dfc]) #content{overflow:auto}body.rehaul[data-view=conciliacao] .r3-conc-card,body.rehaul[data-view=dfc] #dfc-corpo{flex:1 0 360px}body.rehaul[data-view=conciliacao] #r3-accounts .tw{max-height:260px}}
@media(max-width:600px){body.rehaul .r4-dfc-filters{grid-template-columns:repeat(2,minmax(0,1fr));padding:12px}body.rehaul .r4-dfc-filters .r2-field:has(input[type=search]){grid-column:1/-1}body.rehaul .dfc-table-context{padding:10px 12px;gap:8px}}

/* Atualização junto às ações; filtros da DFC aplicados automaticamente. */
body.rehaul .r4-dfc-filters{grid-template-columns:170px 170px 86px 180px minmax(180px,1fr)}
@media(max-width:1450px){body.rehaul .r4-dfc-filters{grid-template-columns:160px 160px 80px minmax(150px,1fr) minmax(180px,1.3fr)}}
@media(max-width:1150px){body.rehaul .r4-dfc-filters{grid-template-columns:repeat(3,minmax(0,1fr))}}
@media(max-width:600px){body.rehaul .r4-dfc-filters{grid-template-columns:repeat(2,minmax(0,1fr))}}

/* Opção de exibição junto ao contexto da grade, sem linha extra nos filtros. */
body.rehaul .dfc-display-options{display:flex;align-items:center;flex-wrap:wrap;gap:8px 24px}
body.rehaul .dfc-display-options .dfc-zero-toggle{min-height:20px;font-size:13px;color:var(--t1);white-space:nowrap}
body.rehaul .dfc-display-options .dfc-zero-toggle input{flex-shrink:0}
@media(max-width:760px){body.rehaul .dfc-display-options{gap:8px 16px}}

/* Seletor múltiplo de planos: busca local e seleção estável. */
body.rehaul #dfc-plan-picker{min-width:0}
body.rehaul :is(#dfc-plan-picker,#dfc-bu-picker)>summary{display:flex;align-items:center;justify-content:space-between;gap:10px;min-height:39px;padding:8px 11px;border:1px solid var(--bdr);border-radius:4px;background:var(--white);cursor:pointer;list-style:none}
body.rehaul :is(#dfc-plan-picker,#dfc-bu-picker)>summary::-webkit-details-marker{display:none}
body.rehaul :is(#dfc-plan-picker,#dfc-bu-picker)>summary::after{content:'⌄';color:var(--t2);flex-shrink:0}
body.rehaul :is(#dfc-plan-picker,#dfc-bu-picker)>summary:hover{border-color:var(--bdr2);background:var(--surface-2)}
body.rehaul :is(#dfc-plan-caption,#dfc-bu-caption){overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
body.rehaul .dfc-plan-pop{z-index:220;background:var(--white);border:1px solid var(--bdr2);border-radius:5px;box-shadow:var(--sh-2);display:flex;flex-direction:column;overflow:hidden;color:var(--t1)}
body.rehaul .r4-dfc-filters:has(.dfc-bu-field){grid-template-columns:repeat(2,minmax(115px,1fr)) 76px repeat(2,minmax(130px,1.3fr)) minmax(105px,.8fr)}
@media(max-width:1150px){body.rehaul .r4-dfc-filters:has(.dfc-bu-field){grid-template-columns:repeat(3,minmax(0,1fr))}}
@media(max-width:600px){body.rehaul .r4-dfc-filters:has(.dfc-bu-field){grid-template-columns:repeat(2,minmax(0,1fr))}}
body.rehaul .r4-cell-scope{flex-wrap:wrap}
body.rehaul .r4-cell-scope span[title]{max-width:280px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
body.rehaul .dfc-bu-actions{padding-top:8px}
body.rehaul .dfc-plan-search{padding:10px;flex-shrink:0}
body.rehaul .dfc-plan-actions{display:flex;align-items:center;gap:6px;padding:0 8px 8px;border-bottom:1px solid var(--bdr);flex-shrink:0;flex-wrap:wrap}
body.rehaul #dfc-plan-count{margin-left:auto;color:var(--t2);font-size:12px}
body.rehaul .dfc-plan-list{overflow:auto;min-height:0;flex:1;padding:5px}
body.rehaul .dfc-plan-option{display:flex;align-items:center;gap:10px;padding:9px 8px;min-height:36px;font-size:13px;cursor:pointer}
body.rehaul .dfc-plan-option[hidden]{display:none}
body.rehaul .dfc-plan-option:hover{background:var(--surface-2)}
body.rehaul .dfc-plan-option input{width:16px;height:16px;flex-shrink:0;accent-color:var(--green-i)}
body.rehaul .dfc-plan-option span{white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
body.rehaul .dfc-plan-empty{padding:14px;color:var(--t2);font-size:13px}

/* Contexto sem repetição dos filtros: contagem junto à grade e data no saldo inicial. */
body.rehaul .dfc-table-context{padding:9px 14px;min-height:40px;gap:8px 20px}
body.rehaul .dfc-line-count{font-size:13px;color:var(--t2);font-variant-numeric:tabular-nums}
body.rehaul .dfc-table .dfc-total th[title]{cursor:help}
@media(max-width:600px){body.rehaul .dfc-table-context{padding:9px 12px}}


/* Contas da DFC: checkbox fixo, nome alinhado e ações fora da rolagem. */
body.rehaul .r4-dfc-filters .dfc-bancos{display:flex;flex-direction:column;overflow:hidden;padding:0}
body.rehaul .r4-dfc-filters .dfc-bancos .r4-bank-actions{flex-shrink:0;padding:8px;margin:0;gap:6px}
body.rehaul .dfc-bank-list{min-height:0;overflow:auto;padding:5px;flex:1}
body.rehaul .r4-dfc-filters .dfc-bank-list label{display:flex;flex-direction:row;align-items:center;justify-content:flex-start;gap:10px;padding:9px 8px;min-height:36px;min-width:0;white-space:nowrap;cursor:pointer;color:var(--t1);font-size:13px}
body.rehaul .r4-dfc-filters .dfc-bank-list .dfc-conta{width:16px;height:16px;min-width:16px;flex:0 0 16px;margin:0;accent-color:var(--green-i)}
body.rehaul .dfc-bank-list label>span{min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
body.rehaul .dfc-bank-list small{font-size:inherit;color:var(--t2)}
body.rehaul .dfc-bank-list label:hover{background:var(--surface-2)}

/* Títulos de todas as colunas da grade DFC centralizados. */
body.rehaul .dfc-table thead th{ text-align:center; vertical-align:middle; }


body.rehaul .dfc-zero-option{grid-column:1/-1;display:flex;align-items:center;gap:9px;width:fit-content;cursor:pointer;color:var(--t2);font-size:13px;line-height:20px;padding-top:4px}
body.rehaul .dfc-zero-option input{appearance:none;width:30px;height:18px;flex-shrink:0;border:1px solid var(--bdr2);border-radius:10px;background:var(--surface-2);position:relative;cursor:pointer;margin:0}
body.rehaul .dfc-zero-option input::after{content:'';position:absolute;width:12px;height:12px;left:2px;top:2px;border-radius:50%;background:var(--t2)}
body.rehaul .dfc-zero-option input:checked{background:var(--green-i);border-color:var(--green-i)}
body.rehaul .dfc-zero-option input:checked::after{left:14px;background:var(--white)}
body.rehaul .dfc-zero-option input:focus-visible{outline:2px solid var(--t1);outline-offset:3px}
body.rehaul #app .dfc-zero-option input[type=checkbox]{width:30px;height:18px;min-width:30px;flex:0 0 30px}

body.rehaul[data-view=conciliacao] .r3-account-overview{margin-bottom:12px}
body.rehaul[data-view=conciliacao] #r3-accounts.r3-account-breakdown{flex-shrink:0;margin:0 0 20px;background:var(--white);border:1px solid var(--bdr);border-radius:var(--r);overflow:hidden}
body.rehaul .mig-lanc-pages{display:flex;align-items:center;gap:10px;flex-wrap:wrap}
body.rehaul #modal-box.r4-migration-drawer .m-ft:has(.mig-lanc-pages){flex-wrap:wrap}
body.rehaul #modal-box.r4-migration-drawer #mig-lanc-count{margin-right:0}

/* Piloto em Contas/Regionais: recuperar a área da navegação lateral. */
@media(min-width:761px) and (max-width:1450px){
 body.rehaul .cad-shell:has(.r4-cad-main){flex-direction:column}
 body.rehaul .cad-shell:has(.r4-cad-main) .cad-side{display:flex;flex-direction:row;gap:4px;width:100%;padding:8px;overflow-x:auto;flex-shrink:0;border:0;border-bottom:1px solid var(--bdr)}
 body.rehaul .cad-shell:has(.r4-cad-main) .cad-side-title{display:none}
 body.rehaul .cad-shell:has(.r4-cad-main) .cad-tab{white-space:nowrap;flex-shrink:0;margin:0}
 body.rehaul .r5-catalog-con,body.rehaul .r5-catalog-reg{min-width:0!important;width:100%}
 body.rehaul .r5-catalog-con col:first-child,body.rehaul .r5-catalog-reg col:first-child{width:auto!important}
}

@media(min-width:761px) and (max-width:1450px){
 body.rehaul .r5-catalog-usr,body.rehaul .cad-plans-table{min-width:0!important;width:100%}
 body.rehaul .r5-catalog-usr col:first-child,body.rehaul .cad-plans-table col:first-child{width:auto!important}
 body.rehaul .r4-cad-main{padding:18px}
 body.rehaul .r4-workspace .r2-page{margin-bottom:16px}
}

@media(min-width:761px) and (max-width:1450px){
 body.rehaul:is([data-view=fluxo],[data-view=conciliacao],[data-view=dfc]) #content{padding-left:20px;padding-right:20px}
 body.rehaul:is([data-view=conciliacao],[data-view=dfc]) #content>.r2-page{margin-bottom:12px}
 body.rehaul[data-view=conciliacao] .r3-account-toolbar{padding:12px 16px;gap:12px 20px}
 body.rehaul[data-view=conciliacao] #r3-accounts.r3-account-breakdown{margin-bottom:12px}
 body.rehaul[data-view=dfc] .r4-dfc-filters{padding:12px 14px}
}

#exp-progresso{margin:18px 0 0;color:var(--t2)}
#exp-progresso:empty{margin:0}
/* Seleção do Fluxo: caixas permanentes e resumo no topo, como na Conciliação. */
body.rehaul[data-view=fluxo] #fx-selbar-host:empty{display:none}
body.rehaul[data-view=fluxo] #fx-sel-bar{margin:0;border:0;border-top:1px solid var(--bdr);border-radius:0;background:var(--surface-2);color:var(--t1);padding:12px 20px;box-shadow:none}
body.rehaul[data-view=fluxo] #fx-sel-bar .fx-sel-clear{color:var(--t1);margin-left:auto}
body.rehaul[data-view=fluxo] .resizable input.fx-box{appearance:auto;display:inline-block;width:17px;height:17px;min-width:17px;margin:0;vertical-align:middle;accent-color:#7ee000;cursor:pointer;background:initial;border:initial;border-radius:initial;box-shadow:none}


@media(max-width:600px){body.rehaul[data-view=fluxo] .r2-tools{grid-template-columns:repeat(2,minmax(0,1fr))}body.rehaul[data-view=fluxo] #fx-sel-bar{padding:12px;gap:10px}body.rehaul[data-view=fluxo] #fx-sel-bar .fx-sel-clear{margin-left:0}}

body.rehaul[data-view=fluxo] #fx-sel-bar :is(.fx-sel-info,.fx-sel-ico,.fx-sel-sep,.fx-sel-div){color:var(--t1)}


body.rehaul[data-view=fluxo] .r2-tools > .fx-liquidar{font-size:13px;padding-inline:4px}
body.rehaul[data-view=fluxo] #fx-sel-bar .fx-sel-sums{min-width:0;flex:1}
@media(max-width:600px){body.rehaul[data-view=fluxo] #fx-sel-bar .fx-sel-sums{flex-basis:100%;display:block}body.rehaul[data-view=fluxo] #fx-sel-bar .fx-sel-cur{white-space:normal;display:block;margin-bottom:6px}body.rehaul[data-view=fluxo] #fx-sel-bar .fx-sel-div{display:none}body.rehaul[data-view=fluxo] .r2-tools > .fx-liquidar{white-space:normal;line-height:1.15;font-size:12px;padding:3px 5px}}
body.rehaul[data-view=fluxo] .fx-liquidar[hidden]{display:none!important}

/* Barra compacta: controles visíveis determinam a largura, sem célula reservada. */
body.rehaul[data-view=fluxo] .r2-tools{display:flex;flex:0 1 auto;flex-wrap:wrap;width:auto;max-width:100%;min-width:0;justify-content:flex-end;gap:8px;margin-left:auto}
body.rehaul[data-view=fluxo] .r2-tools > :is(.btn,.zoom-ctl){width:142px;flex:0 0 142px}
body.rehaul[data-view=fluxo] .r2-tools > .fx-liquidar{white-space:normal;line-height:1.15;padding:3px 5px}
@media(max-width:600px){body.rehaul[data-view=fluxo] .r2-tools{width:100%;flex-basis:100%;justify-content:flex-start}body.rehaul[data-view=fluxo] .r2-tools > :is(.btn,.zoom-ctl){width:calc(50% - 4px);flex-basis:calc(50% - 4px)}}

/* A ação de liquidação acomoda título e contagem sem alargar os demais controles. */
body.rehaul[data-view=fluxo] .r2-tools > .fx-liquidar{width:max-content;min-width:210px;max-width:100%;flex:0 0 auto;white-space:nowrap;padding-inline:14px}
@media(max-width:600px){body.rehaul[data-view=fluxo] .r2-tools > .fx-liquidar{width:100%;min-width:0;flex-basis:100%}}

body.rehaul[data-view=fluxo] .r2-tools{width:max-content}
body.rehaul[data-view=fluxo] .r2-tools > :is(.btn,.zoom-ctl){box-sizing:border-box}
@media(max-width:600px){body.rehaul[data-view=fluxo] .r2-tools{width:100%}}

@media(max-width:600px){body.rehaul[data-view=fluxo] .r2-tools{display:grid;grid-template-columns:repeat(2,minmax(0,1fr))}body.rehaul[data-view=fluxo] .r2-tools > :is(.btn,.zoom-ctl){width:100%}body.rehaul[data-view=fluxo] .r2-tools > .fx-liquidar{grid-column:1/-1}}

@media(max-width:600px){body.rehaul[data-view=fluxo] .r2-tools > :is(.btn,.zoom-ctl){width:auto;min-width:0;justify-self:stretch}}
