:root{
  --br-green:#08bf5b;
  --br-green-dark:#087541;
  --br-green-soft:#e8fff1;
  --br-blue:#001f3f;
  --br-blue-2:#071a30;
  --br-orange:#f6841f;
  --br-bg:#f5fbf7;
  --br-card:#ffffff;
  --br-text:#0b2239;
  --sidebar-w:276px;
  --sidebar-collapsed-w:78px;
}
*{box-sizing:border-box}
body{background:linear-gradient(180deg,#f8fff9 0%,#eef8f2 100%);font-family:system-ui,-apple-system,"Segoe UI",sans-serif;color:var(--br-text);min-height:100vh;overflow-x:hidden}.app-shell{min-height:100vh}.sidebar{position:fixed;inset:0 auto 0 0;width:var(--sidebar-w);background:linear-gradient(180deg,var(--br-blue),var(--br-blue-2));color:#fff;z-index:1020;display:flex;flex-direction:column;overflow-y:auto;transition:width .2s ease}.sidebar-brand{display:flex;gap:.75rem;align-items:center;padding:1rem;border-bottom:1px solid rgba(255,255,255,.08);min-height:78px}.brand-logo{height:52px;max-width:195px;object-fit:contain;filter:drop-shadow(0 4px 10px rgba(0,0,0,.14))}.brand-mark{display:none;height:42px;max-width:48px;object-fit:contain}.sidebar-user{padding:1rem;border-bottom:1px solid rgba(255,255,255,.08)}.sidebar-section{font-size:.72rem;text-transform:uppercase;letter-spacing:.08em;color:#91aac4;padding:1rem 1rem .35rem}.sidebar-link{display:flex;gap:.75rem;align-items:center;color:#dbe7ef;text-decoration:none;padding:.72rem 1rem;border-left:4px solid transparent;font-weight:600;white-space:nowrap}.sidebar-link i{min-width:24px;text-align:center;font-size:1.1rem;color:#35d77b}.sidebar-link:hover,.sidebar-link.active{background:rgba(255,255,255,.08);color:#fff;border-left-color:var(--br-orange)}.sidebar-sublink{font-size:.92rem;padding:.52rem 1rem .52rem 2rem;font-weight:500;color:#c9d8e2}.sidebar-toggle{position:fixed;left:calc(var(--sidebar-w) - 18px);top:18px;width:36px;height:36px;z-index:1040;border-radius:50%;border:0;background:#fff;box-shadow:0 8px 20px rgba(0,0,0,.18);color:var(--br-blue);transition:left .2s ease}.main-content{margin-left:var(--sidebar-w);padding:1.5rem;transition:margin-left .2s ease;min-width:0}.sidebar-collapsed .sidebar{width:var(--sidebar-collapsed-w)}.sidebar-collapsed .main-content{margin-left:var(--sidebar-collapsed-w)}.sidebar-collapsed .sidebar-toggle{left:calc(var(--sidebar-collapsed-w) - 18px)}.sidebar-collapsed [data-sidebar-text],.sidebar-collapsed .sidebar-user,.sidebar-collapsed .sidebar-section,.sidebar-collapsed .sidebar form span,.sidebar-collapsed .brand-logo{display:none!important}.sidebar-collapsed .brand-mark{display:block}.sidebar-collapsed .sidebar-brand{justify-content:center}.sidebar-collapsed .sidebar-sublink{padding-left:1rem}.card-kpi,.content-card{border:0;border-radius:18px;background:var(--br-card);box-shadow:0 10px 28px rgba(0,31,63,.08)}.card-kpi .icon{font-size:1.8rem;color:var(--br-green)}.btn-bufunfa{background:linear-gradient(135deg,var(--br-green),var(--br-green-dark));border-color:var(--br-green);color:#fff;font-weight:800}.btn-bufunfa:hover{filter:brightness(.95);color:#fff}.btn-bufunfa-green{background:var(--br-green);border-color:var(--br-green);color:#fff;font-weight:700}.btn-bufunfa-green:hover{filter:brightness(.95);color:#fff}.btn-outline-success{--bs-btn-color:var(--br-green-dark);--bs-btn-border-color:var(--br-green);--bs-btn-hover-bg:var(--br-green);--bs-btn-hover-border-color:var(--br-green)}.table thead th{background:#e8fff1;color:var(--br-blue);white-space:nowrap}.table td{vertical-align:middle}.badge-soft{background:#e8fff1;color:var(--br-green-dark)}.form-label{font-weight:600;color:#24463a}.section-title{color:var(--br-blue);font-weight:850}.money{font-variant-numeric:tabular-nums}.small-muted{font-size:.88rem;color:#64766f}.form-section{border-left:4px solid var(--br-green);padding-left:1rem;margin:1.5rem 0 1rem;font-weight:800;color:var(--br-blue)}.chart-box{position:relative;height:260px;max-height:260px}.chart-box-sm{height:230px;max-height:230px}.chart-box canvas{max-height:100%!important}.actions-inline{display:flex;gap:.35rem;align-items:center;justify-content:flex-end;flex-wrap:wrap}.login-page{min-height:100vh;background:radial-gradient(circle at 20% 20%,rgba(8,191,91,.24),transparent 30%),linear-gradient(135deg,#001f3f,#087541);display:flex;align-items:center;justify-content:center;padding:1rem}.login-card{max-width:440px;width:100%;border:0;border-radius:24px;box-shadow:0 24px 60px rgba(0,0,0,.22)}.login-logo{max-width:290px;width:80%;height:auto}.topbar{display:flex;align-items:center;justify-content:space-between;margin-bottom:1.25rem}.finance-mini-nav .btn{border-radius:999px}.money-input{text-align:right}.table-sm td,.table-sm th{font-size:.92rem}.search-card{border:0;border-radius:16px;background:#fff;box-shadow:0 8px 20px rgba(0,31,63,.06)}
@media(max-width:991px){.sidebar{transform:translateX(-100%);width:var(--sidebar-w)}.sidebar-open .sidebar{transform:translateX(0)}.main-content{margin-left:0;padding:1rem}.sidebar-toggle{left:16px;top:16px}.sidebar-open .sidebar-toggle{left:calc(var(--sidebar-w) - 18px)}.topbar{padding-left:48px}.sidebar-collapsed .main-content{margin-left:0}.sidebar-collapsed .sidebar{width:var(--sidebar-w)}}

/* Ajuste V3.2.9: botão de atualização da quitação total em formato compacto, sem sobrepor a data. */
.btn-icon-only{width:42px;min-width:42px;display:inline-flex;align-items:center;justify-content:center;padding:.375rem .5rem}
.btn-icon-only i{margin:0}
.quitacao-date-group{flex-wrap:nowrap}
.quitacao-date-group .form-control{min-width:0}

/* Ajuste V3.3: submenu Financeiro recolhível no menu lateral. */
.sidebar-collapse-trigger{width:100%;border:0;background:transparent;text-align:left}
.sidebar-collapse-trigger:focus{outline:0;box-shadow:inset 4px 0 0 var(--br-orange);background:rgba(255,255,255,.08)}
.sidebar-chevron{transition:transform .2s ease;color:#91aac4!important;font-size:.9rem!important;min-width:auto!important}
.sidebar-collapse-trigger[aria-expanded="true"] .sidebar-chevron{transform:rotate(180deg)}
.sidebar-submenu{background:rgba(0,0,0,.12)}
.sidebar-collapsed .sidebar-submenu{display:none!important}

/* Ajustes V3.4: navegação mais organizada, usuário no topo e botão de menu mais discreto. */
.app-userbar{position:fixed;top:12px;right:18px;z-index:1035;background:rgba(255,255,255,.94);backdrop-filter:blur(8px);border:1px solid rgba(0,31,63,.08);border-radius:999px;padding:.4rem .55rem .4rem .75rem;display:flex;align-items:center;gap:.75rem;min-height:42px}.app-userbar-info{line-height:1.05;display:flex;flex-direction:column;max-width:300px}.app-userbar-info strong{font-size:.88rem;max-width:260px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.sidebar-toggle{width:30px;height:30px;left:calc(var(--sidebar-w) - 15px);top:24px;font-size:.92rem;display:flex;align-items:center;justify-content:center}.sidebar-collapsed .sidebar-toggle{left:calc(var(--sidebar-collapsed-w) - 15px)}.main-content{padding-top:4.25rem}.sidebar-link.sidebar-collapse-trigger{cursor:pointer}.sidebar-link.sidebar-collapse-trigger:hover .sidebar-chevron{color:#fff!important}.sidebar-collapsed .app-userbar{right:18px}
@media(max-width:991px){.app-userbar{top:10px;right:10px;left:58px;border-radius:18px}.app-userbar-info{max-width:calc(100vw - 150px)}.main-content{padding-top:4.8rem}.sidebar-toggle{left:16px;top:14px}.sidebar-open .sidebar-toggle{left:calc(var(--sidebar-w) - 15px)}}

/* Ajustes V3.6.1: extrato financeiro simplificado e filtros por conta. */
.account-filter{display:flex;flex-wrap:wrap;gap:.75rem}.account-check{display:flex;align-items:center;gap:.55rem;border:1px solid rgba(0,31,63,.12);border-radius:14px;background:#fff;padding:.7rem .9rem;min-width:190px;cursor:pointer;box-shadow:0 4px 14px rgba(0,31,63,.05)}.account-check:hover{border-color:var(--br-green);background:var(--br-green-soft)}.account-check span{display:flex;flex-direction:column;line-height:1.1}.account-check small{font-size:.75rem;color:#6c7f78}.table-finance-list th,.table-finance-list td{padding:.85rem .9rem}.table-finance-list .finance-description{min-width:280px}.table-finance-list .money{font-weight:800;font-variant-numeric:tabular-nums;white-space:nowrap}.modal-bufunfa .modal-dialog{max-width:1120px}.modal-bufunfa .modal-body{background:#f7fbf8}.modal-bufunfa .main-content{margin-left:0!important;padding:0!important}.modal-bufunfa .topbar{padding-left:0!important}.modal-bufunfa .app-userbar,.modal-bufunfa .sidebar,.modal-bufunfa .sidebar-toggle{display:none!important}@media(max-width:767px){.account-check{min-width:100%;}.table-finance-list .finance-description{min-width:220px}.modal-bufunfa .modal-dialog{max-width:100%;margin:.5rem}.modal-bufunfa .modal-content{min-height:calc(100vh - 1rem)}}

/* Ajustes V3.6.4: filtro lateral de lançamentos e relatórios avançados. */
.finance-ledger-layout{align-items:flex-start}.finance-filter-panel{position:sticky;top:5.4rem}.account-filter-vertical{display:flex;flex-direction:column;gap:.6rem}.account-filter-vertical .account-check{min-width:100%;width:100%;box-shadow:none}.report-filter-box{border:1px solid rgba(0,31,63,.10);border-radius:16px;background:#fff;padding:1rem;margin-top:1rem}.report-filter-box h6{font-weight:850;color:var(--br-blue);margin-bottom:.75rem}.filter-chip-list{max-height:210px;overflow:auto;border:1px solid rgba(0,31,63,.10);border-radius:12px;padding:.65rem;background:#fbfffc}.filter-chip-list .form-check{margin-bottom:.35rem}.filter-chip-list .form-check:last-child{margin-bottom:0}@media(max-width:991px){.finance-filter-panel{position:static}.finance-ledger-layout{gap:1rem}}

/* Ajustes V3.6.5: menu lateral flutuante, sobreposto e retrátil automático. */
@media(min-width:992px){
  body.app-shell{padding-left:0}
  .main-content{
    margin-left:0!important;
    width:100%;
    max-width:100%;
    padding-left:5.8rem;
    padding-right:1.6rem;
    transition:padding-left .22s ease, filter .22s ease;
  }
  .sidebar{
    top:14px;
    bottom:14px;
    left:14px;
    height:auto;
    width:var(--sidebar-w);
    border-radius:22px;
    box-shadow:0 18px 45px rgba(0,31,63,.28);
    transform:translateX(0);
    transition:width .22s ease, box-shadow .22s ease, transform .22s ease;
    border:1px solid rgba(255,255,255,.10);
    overflow-x:hidden;
  }
  .sidebar::after{
    content:'';
    pointer-events:none;
    position:absolute;
    inset:0;
    border-radius:22px;
    box-shadow:inset 0 1px 0 rgba(255,255,255,.08);
  }
  .sidebar-collapsed .sidebar{
    width:var(--sidebar-collapsed-w);
    box-shadow:0 14px 34px rgba(0,31,63,.22);
  }
  .sidebar-collapsed .main-content{
    margin-left:0!important;
    padding-left:5.8rem;
  }
  .sidebar-pinned .main-content{
    margin-left:0!important;
    padding-left:5.8rem;
  }
  .sidebar-toggle{
    left:74px!important;
    top:26px;
    z-index:1045;
    transition:left .22s ease, transform .22s ease, background .22s ease;
  }
  .sidebar:not(:hover) + .app-userbar + .sidebar-toggle,
  .sidebar-collapsed .sidebar-toggle{
    left:74px!important;
  }
  body:not(.sidebar-collapsed) .sidebar-toggle{
    left:276px!important;
  }
  .sidebar-pinned .sidebar-toggle{
    left:276px!important;
    background:var(--br-green);
    color:#fff;
  }
  .sidebar-brand{
    padding:.9rem .9rem;
    min-height:72px;
  }
  .sidebar-link{
    border-radius:14px;
    margin:.12rem .55rem;
    border-left:0;
    padding:.68rem .75rem;
  }
  .sidebar-link:hover,.sidebar-link.active{
    border-left:0;
    box-shadow:inset 4px 0 0 var(--br-orange);
  }
  .sidebar-sublink{
    margin-left:.65rem;
    margin-right:.65rem;
    padding-left:1rem;
  }
  .sidebar-submenu{
    margin:.15rem .55rem .35rem;
    border-radius:16px;
    overflow:hidden;
  }
  .sidebar-collapsed .sidebar-link{
    justify-content:center;
    margin:.14rem .6rem;
    padding:.72rem .55rem;
  }
  .sidebar-collapsed .sidebar-link i{
    min-width:auto;
  }
  .sidebar-section{
    padding:.9rem .95rem .28rem;
  }
  .app-userbar{
    right:18px;
    left:auto;
  }
}
@media(min-width:1400px){
  .main-content{padding-left:6.2rem;padding-right:2rem;}
}
@media(max-width:991px){
  .sidebar{
    border-radius:0 22px 22px 0;
    box-shadow:0 18px 45px rgba(0,31,63,.30);
  }
  .sidebar-open::before{
    content:'';
    position:fixed;
    inset:0;
    z-index:1010;
    background:rgba(0,31,63,.34);
    backdrop-filter:blur(2px);
  }
  .sidebar-open .sidebar{z-index:1020;}
}

/* Ajustes V3.6.6: correção fina do menu lateral flutuante.
   Objetivos: não esconder opções ao expandir, não sobrepor conteúdo quando fixado,
   manter o botão estável e alinhar ícones no estado recolhido. */
@media(min-width:992px){
  body.app-shell{
    padding-left:0!important;
  }

  .main-content{
    margin-left:0!important;
    width:100%;
    max-width:100%;
    padding-left:calc(16px + var(--sidebar-collapsed-w) + 1.6rem)!important;
    padding-right:1.8rem!important;
    transition:padding-left .22s ease!important;
  }

  body.sidebar-pinned .main-content{
    padding-left:calc(16px + var(--sidebar-w) + 1.45rem)!important;
  }

  .sidebar{
    top:16px!important;
    bottom:16px!important;
    left:16px!important;
    height:auto!important;
    width:var(--sidebar-w);
    border-radius:22px;
    overflow-y:auto!important;
    overflow-x:hidden!important;
    scrollbar-gutter:stable;
    padding-bottom:.85rem;
    box-shadow:0 18px 45px rgba(0,31,63,.26);
    will-change:width;
  }

  body.sidebar-collapsed:not(.sidebar-pinned) .sidebar{
    width:var(--sidebar-collapsed-w)!important;
    overflow-y:hidden!important;
  }

  body.sidebar-pinned .sidebar{
    width:var(--sidebar-w)!important;
    box-shadow:0 18px 45px rgba(0,31,63,.22);
  }

  body.sidebar-collapsed:not(.sidebar-pinned) .sidebar-brand{
    justify-content:center!important;
    padding:.95rem .45rem!important;
  }

  body.sidebar-collapsed:not(.sidebar-pinned) .brand-mark{
    display:block!important;
    height:40px;
    max-width:46px;
    margin:0 auto;
  }

  body.sidebar-collapsed:not(.sidebar-pinned) .brand-logo,
  body.sidebar-collapsed:not(.sidebar-pinned) [data-sidebar-text],
  body.sidebar-collapsed:not(.sidebar-pinned) .sidebar-user,
  body.sidebar-collapsed:not(.sidebar-pinned) .sidebar-section,
  body.sidebar-collapsed:not(.sidebar-pinned) .sidebar form span{
    display:none!important;
  }

  body.sidebar-collapsed:not(.sidebar-pinned) .sidebar-link{
    width:48px!important;
    height:48px!important;
    min-height:48px!important;
    padding:0!important;
    margin:.16rem auto!important;
    justify-content:center!important;
    align-items:center!important;
    border-radius:15px!important;
    gap:0!important;
  }

  body.sidebar-collapsed:not(.sidebar-pinned) .sidebar-link > i:first-child{
    width:48px!important;
    min-width:48px!important;
    max-width:48px!important;
    height:48px!important;
    margin:0!important;
    display:inline-flex!important;
    align-items:center!important;
    justify-content:center!important;
    text-align:center!important;
    font-size:1.18rem!important;
    line-height:1!important;
  }

  body.sidebar-collapsed:not(.sidebar-pinned) .sidebar-sublink,
  body.sidebar-collapsed:not(.sidebar-pinned) .sidebar-submenu{
    display:none!important;
  }

  body:not(.sidebar-collapsed) .sidebar-link,
  body.sidebar-pinned .sidebar-link{
    justify-content:flex-start;
  }

  body:not(.sidebar-collapsed) .sidebar-link > i:first-child,
  body.sidebar-pinned .sidebar-link > i:first-child{
    width:24px;
    min-width:24px;
    height:auto;
  }

  .sidebar-toggle{
    top:28px!important;
    left:calc(16px + var(--sidebar-collapsed-w) + 10px)!important;
    width:34px!important;
    height:34px!important;
    transform:none!important;
    transition:background .18s ease,color .18s ease,box-shadow .18s ease!important;
    z-index:1045!important;
  }

  body:not(.sidebar-pinned) .sidebar-toggle,
  body:not(.sidebar-pinned):not(.sidebar-collapsed) .sidebar-toggle,
  body.sidebar-collapsed:not(.sidebar-pinned) .sidebar-toggle{
    left:calc(16px + var(--sidebar-collapsed-w) + 10px)!important;
  }

  body.sidebar-pinned .sidebar-toggle{
    left:calc(16px + var(--sidebar-w) - 48px)!important;
    background:var(--br-green)!important;
    color:#fff!important;
    box-shadow:0 8px 20px rgba(8,117,65,.24)!important;
  }

  .sidebar-toggle:active{
    transform:none!important;
  }

  .sidebar-toggle:focus-visible{
    outline:3px solid rgba(246,132,31,.35);
    outline-offset:3px;
  }

  .sidebar-submenu{
    max-width:calc(var(--sidebar-w) - 1.1rem);
  }

  .app-userbar{
    right:18px!important;
    left:auto!important;
  }
}

@media(min-width:1400px){
  body.sidebar-pinned .main-content{
    padding-left:calc(16px + var(--sidebar-w) + 1.8rem)!important;
  }
  .main-content{
    padding-left:calc(16px + var(--sidebar-collapsed-w) + 1.9rem)!important;
    padding-right:2.2rem!important;
  }
}

@media(max-width:991px){
  .main-content{
    padding-left:1rem!important;
    padding-right:1rem!important;
  }
  .sidebar-toggle{
    transform:none!important;
  }
}

/* Ajustes V3.6.7: correção definitiva do menu lateral.
   Estados controlados por classe: recolhido, expandido e fixado.
   A área principal nunca fica por baixo do menu no desktop. */
@media (min-width: 992px){
  :root{
    --sidebar-w:276px;
    --sidebar-collapsed-w:76px;
    --sidebar-gap:12px;
    --sidebar-page-gap:18px;
  }

  body.app-shell{
    padding-left:0!important;
  }

  .sidebar{
    position:fixed!important;
    left:var(--sidebar-gap)!important;
    top:var(--sidebar-gap)!important;
    bottom:auto!important;
    height:calc(100dvh - (var(--sidebar-gap) * 2))!important;
    width:var(--sidebar-w)!important;
    display:block!important;
    overflow-y:auto!important;
    overflow-x:hidden!important;
    overscroll-behavior:contain;
    scrollbar-width:thin;
    scrollbar-gutter:stable both-edges;
    border-radius:18px!important;
    z-index:1020!important;
    padding:.35rem 0 .7rem!important;
    transition:width .18s ease, box-shadow .18s ease!important;
  }

  .sidebar::-webkit-scrollbar{width:8px}
  .sidebar::-webkit-scrollbar-thumb{background:rgba(255,255,255,.24);border-radius:999px}

  .main-content{
    margin-left:0!important;
    width:100%!important;
    max-width:100%!important;
    padding-left:calc(var(--sidebar-gap) + var(--sidebar-collapsed-w) + var(--sidebar-page-gap))!important;
    padding-right:1.6rem!important;
    padding-top:4.25rem!important;
    transition:padding-left .18s ease!important;
  }

  body.sidebar-expanded .main-content,
  body.sidebar-pinned .main-content{
    padding-left:calc(var(--sidebar-gap) + var(--sidebar-w) + var(--sidebar-page-gap))!important;
  }

  body.sidebar-collapsed:not(.sidebar-expanded):not(.sidebar-pinned) .sidebar{
    width:var(--sidebar-collapsed-w)!important;
  }

  body.sidebar-expanded .sidebar,
  body.sidebar-pinned .sidebar{
    width:var(--sidebar-w)!important;
    box-shadow:0 18px 42px rgba(0,31,63,.24)!important;
  }

  .sidebar-brand{
    min-height:60px!important;
    padding:.65rem .7rem!important;
    display:flex!important;
    align-items:center!important;
    justify-content:flex-start!important;
  }

  .brand-logo{
    height:44px!important;
    max-width:180px!important;
  }

  .brand-mark{
    height:38px!important;
    max-width:44px!important;
  }

  body.sidebar-collapsed:not(.sidebar-expanded):not(.sidebar-pinned) .sidebar-brand{
    justify-content:center!important;
    padding:.65rem 0!important;
  }

  body.sidebar-collapsed:not(.sidebar-expanded):not(.sidebar-pinned) .brand-logo{
    display:none!important;
  }

  body.sidebar-collapsed:not(.sidebar-expanded):not(.sidebar-pinned) .brand-mark{
    display:block!important;
    margin:0 auto!important;
  }

  body.sidebar-expanded .brand-logo,
  body.sidebar-pinned .brand-logo{
    display:block!important;
  }

  body.sidebar-expanded .brand-mark,
  body.sidebar-pinned .brand-mark{
    display:none!important;
  }

  .sidebar-section{
    padding:.62rem .85rem .2rem!important;
    font-size:.68rem!important;
  }

  .sidebar-link{
    min-height:40px!important;
    padding:.52rem .68rem!important;
    margin:.08rem .45rem!important;
    border-radius:12px!important;
    display:flex!important;
    align-items:center!important;
    gap:.62rem!important;
    line-height:1.15!important;
  }

  .sidebar-link > i:first-child{
    width:24px!important;
    min-width:24px!important;
    height:24px!important;
    display:inline-flex!important;
    align-items:center!important;
    justify-content:center!important;
    margin:0!important;
    line-height:1!important;
    font-size:1.08rem!important;
  }

  .sidebar-sublink{
    min-height:36px!important;
    padding:.45rem .55rem .45rem .9rem!important;
    margin:.05rem .25rem!important;
    font-size:.88rem!important;
  }

  .sidebar-submenu{
    margin:.08rem .48rem .22rem!important;
    border-radius:13px!important;
    max-width:none!important;
    overflow:visible!important;
  }

  .sidebar-chevron{
    margin-left:auto!important;
  }

  body.sidebar-collapsed:not(.sidebar-expanded):not(.sidebar-pinned) [data-sidebar-text],
  body.sidebar-collapsed:not(.sidebar-expanded):not(.sidebar-pinned) .sidebar-section,
  body.sidebar-collapsed:not(.sidebar-expanded):not(.sidebar-pinned) .sidebar-submenu,
  body.sidebar-collapsed:not(.sidebar-expanded):not(.sidebar-pinned) .sidebar form span{
    display:none!important;
  }

  body.sidebar-collapsed:not(.sidebar-expanded):not(.sidebar-pinned) .sidebar-link{
    width:48px!important;
    min-width:48px!important;
    height:44px!important;
    min-height:44px!important;
    padding:0!important;
    margin:.12rem auto!important;
    justify-content:center!important;
    align-items:center!important;
    gap:0!important;
  }

  body.sidebar-collapsed:not(.sidebar-expanded):not(.sidebar-pinned) .sidebar-link > i:first-child{
    width:48px!important;
    min-width:48px!important;
    height:44px!important;
    display:flex!important;
    align-items:center!important;
    justify-content:center!important;
    text-align:center!important;
    font-size:1.15rem!important;
  }

  .sidebar-toggle{
    position:fixed!important;
    top:22px!important;
    left:calc(var(--sidebar-gap) + var(--sidebar-collapsed-w) + 8px)!important;
    width:34px!important;
    height:34px!important;
    z-index:1045!important;
    display:flex!important;
    align-items:center!important;
    justify-content:center!important;
    border-radius:999px!important;
    transform:none!important;
    transition:background .16s ease,color .16s ease,box-shadow .16s ease!important;
    will-change:auto!important;
  }

  body.sidebar-expanded:not(.sidebar-pinned) .sidebar-toggle,
  body.sidebar-collapsed:not(.sidebar-pinned) .sidebar-toggle{
    left:calc(var(--sidebar-gap) + var(--sidebar-collapsed-w) + 8px)!important;
  }

  body.sidebar-pinned .sidebar-toggle{
    left:calc(var(--sidebar-gap) + var(--sidebar-w) - 44px)!important;
    background:var(--br-green)!important;
    color:#fff!important;
    box-shadow:0 8px 20px rgba(8,117,65,.28)!important;
  }

  .sidebar-toggle:hover,
  .sidebar-toggle:focus,
  .sidebar-toggle:active{
    transform:none!important;
  }

  .app-userbar{
    right:18px!important;
    left:auto!important;
  }
}

@media (max-width: 991px){
  .sidebar{
    top:0!important;
    bottom:0!important;
    left:0!important;
    height:100dvh!important;
    width:var(--sidebar-w)!important;
    display:block!important;
    overflow-y:auto!important;
    overflow-x:hidden!important;
    border-radius:0 18px 18px 0!important;
  }

  .sidebar-toggle{
    top:14px!important;
    left:14px!important;
    transform:none!important;
    transition:background .16s ease,color .16s ease,box-shadow .16s ease!important;
  }

  .sidebar-open .sidebar-toggle{
    left:calc(var(--sidebar-w) - 44px)!important;
    background:var(--br-green)!important;
    color:#fff!important;
  }

  .main-content{
    margin-left:0!important;
    padding-left:1rem!important;
    padding-right:1rem!important;
  }
}
/* V3.6.8 - Menu vertical de ações em Lançamentos Financeiros */
.finance-ledger-table-wrap{overflow:visible;}
.finance-actions-cell{width:64px;white-space:nowrap;}
.finance-actions-menu{display:inline-flex;justify-content:flex-end;position:relative;}
.finance-actions-toggle{width:34px;height:34px;display:inline-flex;align-items:center;justify-content:center;border-radius:999px;background:#fff;}
.finance-actions-toggle::after{display:none!important;}
.finance-actions-toggle:hover,.finance-actions-toggle:focus{background:var(--br-green-soft);border-color:var(--br-green)!important;color:var(--br-green-dark);}
.finance-actions-menu .dropdown-menu{min-width:210px;border:0;border-radius:14px;padding:.45rem;box-shadow:0 18px 36px rgba(0,31,63,.18)!important;}
.finance-actions-menu .dropdown-item{border-radius:10px;font-weight:600;padding:.55rem .7rem;display:flex;align-items:center;}
.finance-actions-menu form{margin:0;}
.finance-actions-menu .dropdown-divider{margin:.35rem 0;}
@media(max-width:991px){.finance-ledger-table-wrap{overflow-x:auto;overflow-y:visible;}.finance-actions-menu .dropdown-menu{min-width:190px;}}

/* V3.6.9 - Correção definitiva do botão de fixar e restauração visual dos ícones do menu.
   O botão não acompanha mais a largura do menu; por isso não treme no hover/recolhimento. */
@media (min-width: 992px){
  :root{
    --sidebar-w:276px;
    --sidebar-collapsed-w:76px;
    --sidebar-gap:12px;
    --sidebar-page-gap:22px;
    --sidebar-toggle-left:calc(var(--sidebar-gap) + var(--sidebar-collapsed-w) - 18px);
  }

  .sidebar{
    width:var(--sidebar-w)!important;
    max-width:var(--sidebar-w)!important;
    height:calc(100dvh - (var(--sidebar-gap) * 2))!important;
    overflow-y:auto!important;
    overflow-x:hidden!important;
    scrollbar-gutter:stable!important;
  }

  body.sidebar-collapsed:not(.sidebar-expanded):not(.sidebar-pinned) .sidebar{
    width:var(--sidebar-collapsed-w)!important;
    max-width:var(--sidebar-collapsed-w)!important;
  }

  .main-content{
    padding-left:calc(var(--sidebar-gap) + var(--sidebar-collapsed-w) + var(--sidebar-page-gap))!important;
    padding-right:1.8rem!important;
  }

  body.sidebar-expanded .main-content,
  body.sidebar-pinned .main-content{
    padding-left:calc(var(--sidebar-gap) + var(--sidebar-w) + var(--sidebar-page-gap))!important;
  }

  .sidebar-pin-toggle,
  .sidebar-toggle{
    position:fixed!important;
    top:22px!important;
    left:var(--sidebar-toggle-left)!important;
    width:38px!important;
    height:38px!important;
    min-width:38px!important;
    min-height:38px!important;
    border-radius:14px!important;
    border:1px solid rgba(0,31,63,.10)!important;
    background:#fff!important;
    color:var(--br-blue)!important;
    box-shadow:0 10px 24px rgba(0,31,63,.18)!important;
    transform:none!important;
    translate:0 0!important;
    transition:background-color .16s ease,color .16s ease,box-shadow .16s ease,border-color .16s ease!important;
    will-change:auto!important;
    z-index:1055!important;
    cursor:pointer!important;
  }

  body.sidebar-expanded:not(.sidebar-pinned) .sidebar-toggle,
  body.sidebar-collapsed:not(.sidebar-pinned) .sidebar-toggle,
  body.sidebar-pinned .sidebar-toggle{
    left:var(--sidebar-toggle-left)!important;
  }

  body.sidebar-pinned .sidebar-toggle{
    background:var(--br-green)!important;
    color:#fff!important;
    border-color:rgba(8,191,91,.32)!important;
    box-shadow:0 10px 24px rgba(8,117,65,.26)!important;
  }

  .sidebar-toggle:hover,
  .sidebar-toggle:focus,
  .sidebar-toggle:focus-visible,
  .sidebar-toggle:active{
    transform:none!important;
    translate:0 0!important;
    left:var(--sidebar-toggle-left)!important;
  }

  .sidebar-toggle:hover{
    background:var(--br-green-soft)!important;
    color:var(--br-green-dark)!important;
  }

  body.sidebar-pinned .sidebar-toggle:hover{
    background:var(--br-green-dark)!important;
    color:#fff!important;
  }

  .sidebar-toggle i{
    display:inline-flex!important;
    align-items:center!important;
    justify-content:center!important;
    font-size:1.12rem!important;
    line-height:1!important;
    width:1.12rem!important;
    height:1.12rem!important;
  }

  .sidebar-link > i:first-child{
    background:rgba(8,191,91,.13)!important;
    border:1px solid rgba(53,215,123,.20)!important;
    border-radius:12px!important;
    color:#45e889!important;
    box-shadow:inset 0 1px 0 rgba(255,255,255,.10)!important;
  }

  .sidebar-link:hover > i:first-child,
  .sidebar-link.active > i:first-child{
    background:linear-gradient(135deg,var(--br-green),var(--br-orange))!important;
    color:#fff!important;
    border-color:rgba(255,255,255,.18)!important;
  }

  body.sidebar-collapsed:not(.sidebar-expanded):not(.sidebar-pinned) .sidebar-link > i:first-child{
    width:44px!important;
    min-width:44px!important;
    height:40px!important;
    border-radius:14px!important;
    font-size:1.15rem!important;
  }

  body.sidebar-expanded .sidebar-link > i:first-child,
  body.sidebar-pinned .sidebar-link > i:first-child{
    width:28px!important;
    min-width:28px!important;
    height:28px!important;
    font-size:1.02rem!important;
  }

  body.sidebar-collapsed:not(.sidebar-expanded):not(.sidebar-pinned) .sidebar-link{
    width:50px!important;
    min-width:50px!important;
    height:44px!important;
    margin:.13rem auto!important;
  }

  body.sidebar-expanded .sidebar-section,
  body.sidebar-pinned .sidebar-section,
  body.sidebar-expanded [data-sidebar-text],
  body.sidebar-pinned [data-sidebar-text]{
    opacity:1!important;
    visibility:visible!important;
  }
}

@media (max-width: 991px){
  .sidebar-toggle{
    border-radius:14px!important;
    width:38px!important;
    height:38px!important;
    transform:none!important;
    translate:0 0!important;
  }
  .sidebar-toggle:hover,
  .sidebar-toggle:focus,
  .sidebar-toggle:active{
    transform:none!important;
    translate:0 0!important;
  }
}

/* V3.6.10 - Botão de fixação simples dentro do menu, sem sobrepor logomarca.
   Desktop: botão externo escondido; fixação feita pelo botão discreto no cabeçalho do menu.
   Mobile: botão externo permanece apenas como abrir/fechar menu. */
@media (min-width: 992px){
  .sidebar-mobile-toggle,
  .sidebar-toggle{
    display:none!important;
    pointer-events:none!important;
  }

  .sidebar-brand{
    display:flex!important;
    align-items:center!important;
    justify-content:space-between!important;
    gap:.6rem!important;
    padding:.65rem .78rem!important;
  }

  .sidebar-brand-logo{
    display:flex!important;
    align-items:center!important;
    min-width:0!important;
    flex:1 1 auto!important;
  }

  .sidebar-brand-logo .brand-logo,
  .brand-logo{
    max-width:158px!important;
    height:44px!important;
  }

  .sidebar-pin-inline{
    position:static!important;
    flex:0 0 auto!important;
    min-width:58px!important;
    height:30px!important;
    padding:0 .7rem!important;
    border:1px solid rgba(255,255,255,.18)!important;
    border-radius:999px!important;
    background:rgba(255,255,255,.07)!important;
    color:#dceaf3!important;
    box-shadow:none!important;
    font-size:.76rem!important;
    font-weight:800!important;
    line-height:1!important;
    display:inline-flex!important;
    align-items:center!important;
    justify-content:center!important;
    cursor:pointer!important;
    transition:background-color .16s ease,color .16s ease,border-color .16s ease!important;
  }

  .sidebar-pin-inline:hover,
  .sidebar-pin-inline:focus-visible{
    background:rgba(8,191,91,.22)!important;
    border-color:rgba(53,215,123,.45)!important;
    color:#fff!important;
    outline:none!important;
  }

  body.sidebar-pinned .sidebar-pin-inline{
    background:var(--br-green)!important;
    border-color:var(--br-green)!important;
    color:#fff!important;
  }

  body.sidebar-collapsed:not(.sidebar-expanded):not(.sidebar-pinned) .sidebar-brand{
    justify-content:center!important;
    padding:.65rem 0!important;
  }

  body.sidebar-collapsed:not(.sidebar-expanded):not(.sidebar-pinned) .sidebar-brand-logo{
    flex:0 0 auto!important;
  }

  body.sidebar-collapsed:not(.sidebar-expanded):not(.sidebar-pinned) .sidebar-pin-inline{
    display:none!important;
  }

  body.sidebar-expanded .sidebar-pin-inline,
  body.sidebar-pinned .sidebar-pin-inline{
    display:inline-flex!important;
  }
}

@media (max-width: 991px){
  .sidebar-pin-inline{
    display:none!important;
  }

  .sidebar-mobile-toggle,
  .sidebar-toggle{
    display:flex!important;
    pointer-events:auto!important;
    position:fixed!important;
    top:14px!important;
    left:14px!important;
    width:38px!important;
    height:38px!important;
    min-width:38px!important;
    min-height:38px!important;
    border-radius:14px!important;
    border:1px solid rgba(0,31,63,.10)!important;
    background:#fff!important;
    color:var(--br-blue)!important;
    box-shadow:0 10px 24px rgba(0,31,63,.18)!important;
    z-index:1055!important;
    align-items:center!important;
    justify-content:center!important;
    transform:none!important;
    translate:0 0!important;
  }

  .sidebar-open .sidebar-mobile-toggle,
  .sidebar-open .sidebar-toggle{
    left:calc(var(--sidebar-w) - 46px)!important;
    background:var(--br-green)!important;
    color:#fff!important;
  }
}

/* V3.6.13 - Campo de período financeiro compacto por visualização. */
.finance-period-selector .form-control{
  min-width:0;
  letter-spacing:.01em;
}
.finance-period-selector .btn{
  min-width:40px;
  display:inline-flex;
  align-items:center;
  justify-content:center;
}
.finance-filter-panel [data-periodo-display]{
  background:#fff;
}
.finance-filter-panel [data-periodo-display][type="number"]::-webkit-outer-spin-button,
.finance-filter-panel [data-periodo-display][type="number"]::-webkit-inner-spin-button{
  margin:0;
}

/* V3.6.17 - Filtro mensal discreto com seletor próprio MM/AAAA na visão geral financeira. */
.finance-overview-month-filter{
  position:relative;
  display:inline-flex;
  align-items:center;
  gap:.25rem;
  padding:.2rem;
  border:1px solid rgba(15,23,42,.10);
  border-radius:999px;
  background:#fff;
  box-shadow:0 6px 16px rgba(15,23,42,.06);
  z-index:20;
}
.finance-overview-month-filter .btn{
  border-radius:999px;
  white-space:nowrap;
}
.finance-overview-month-arrow{
  width:32px;
  height:32px;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  padding:0;
}
.finance-overview-month-picker{
  position:relative;
  display:inline-flex;
  align-items:center;
}
.finance-overview-month-button{
  min-width:112px;
  height:32px;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap:.35rem;
  font-weight:600;
}
.finance-overview-month-panel{
  position:absolute;
  top:calc(100% + .5rem);
  left:50%;
  transform:translateX(-50%);
  width:260px;
  padding:.85rem;
  border:1px solid rgba(15,23,42,.12);
  border-radius:16px;
  background:#fff;
  box-shadow:0 18px 45px rgba(15,23,42,.18);
  z-index:1070;
}
.finance-overview-month-panel[hidden]{
  display:none !important;
}
.finance-overview-month-panel .form-select,
.finance-overview-month-panel .form-control{
  border-radius:12px;
}
@media (max-width: 767.98px){
  .finance-overview-month-filter{
    width:100%;
    justify-content:center;
  }
  .finance-overview-month-button{
    min-width:124px;
  }
  .finance-overview-month-panel{
    left:0;
    right:0;
    transform:none;
    width:min(100%, 290px);
    margin:auto;
  }
}

/* V3.6.18 - Relatórios: filtros financeiros em listas suspensas */
.report-filter-dropdown .dropdown-menu{min-width:280px;max-width:min(92vw,360px);box-shadow:0 18px 45px rgba(0,31,63,.14);border:1px solid rgba(0,31,63,.12);border-radius:14px}
.report-filter-dropdown .dropdown-header{font-weight:800;color:var(--br-blue);font-size:.78rem;text-transform:uppercase;letter-spacing:.03em}
.report-filter-dropdown .compact-list{max-height:240px;min-width:240px;overflow:auto;margin:0;border-radius:12px;background:#fbfffc}
.report-filter-dropdown .dropdown-toggle{white-space:nowrap;border-radius:999px;padding:.42rem .72rem;font-weight:700}
.report-filter-dropdown .form-check{padding-top:.12rem;padding-bottom:.12rem}
@media(max-width:575px){.report-filter-dropdown{width:100%}.report-filter-dropdown .dropdown-toggle{width:100%;justify-content:space-between}.report-filter-dropdown .dropdown-menu{width:100%}}

/* V3.6.19 - Relatório financeiro: período, filtros e prévia tipo lançamentos de caixa */
.report-finance-filter{
  background:linear-gradient(180deg,#ffffff 0%,#fbfffc 100%);
}
.report-period-button{
  border-radius:14px;
  font-weight:800;
  min-height:42px;
}
.report-period-control .btn,
.report-period-control .form-control{
  min-height:42px;
}
.report-period-summary{
  border:1px solid rgba(0,31,63,.10);
  border-radius:16px;
  padding:.7rem .85rem;
  background:#fff;
  min-height:58px;
}
.metric-card.compact{
  border:1px solid rgba(0,31,63,.10);
  border-radius:16px;
  padding:.85rem 1rem;
  background:#fff;
  box-shadow:0 10px 24px rgba(15,23,42,.06);
  height:100%;
}
.metric-card.compact span{
  display:block;
  font-size:.78rem;
  color:#64748b;
  font-weight:700;
  text-transform:uppercase;
  letter-spacing:.03em;
  margin-bottom:.25rem;
}
.metric-card.compact strong{
  display:block;
  color:var(--br-blue);
  font-size:1.05rem;
}
@media(max-width:575px){
  .report-period-control{width:100%;}
}

/* V3.6.23 - Ajustes da Visão Geral Financeira */
.finance-overview-open-table th:last-child,
.finance-overview-open-table td:last-child {
    width: 64px;
    white-space: nowrap;
}
.finance-overview-chart-row canvas {
    min-height: 260px;
}

/* V3.6.24 - Gráficos de pizza/rosca na Visão Geral Financeira */
.finance-category-pie-card {
  overflow: hidden;
  padding: 1.15rem 1.15rem 0;
}
.finance-category-pie-header h5 {
  color: #64748b;
  font-weight: 700;
  font-size: 1.05rem;
}
.finance-category-pie-body {
  display: grid;
  grid-template-columns: minmax(220px, 1fr) minmax(220px, 1fr);
  gap: 1rem;
  align-items: center;
  padding: .5rem 0 1rem;
}
.finance-category-pie-canvas {
  position: relative;
  height: 245px;
  min-height: 245px;
}
.finance-category-pie-canvas canvas {
  width: 100% !important;
  height: 100% !important;
}
.finance-category-pie-legend {
  display: flex;
  flex-direction: column;
  gap: .48rem;
  min-width: 0;
}
.finance-category-legend-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: .75rem;
  align-items: center;
  font-size: .9rem;
}
.finance-category-legend-info {
  display: flex;
  align-items: center;
  gap: .45rem;
  min-width: 0;
}
.finance-category-legend-dot {
  width: 12px;
  height: 12px;
  border-radius: 999px;
  flex: 0 0 auto;
}
.finance-category-legend-name {
  color: #334155;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.finance-category-legend-percent {
  background: #f1f5f9;
  border-radius: 999px;
  color: #0f172a;
  font-size: .74rem;
  font-weight: 800;
  padding: .08rem .42rem;
  flex: 0 0 auto;
}
.finance-category-legend-value {
  font-size: .9rem;
  font-weight: 800;
  white-space: nowrap;
}
.finance-category-pie-total {
  margin: 0 -1.15rem;
  padding: 1rem 1.15rem;
  background: #f1f5f9;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  font-weight: 800;
}
.finance-category-pie-total span {
  color: #334155;
}
.finance-category-pie-total strong {
  font-size: 1rem;
  white-space: nowrap;
}
@media (max-width: 1199px) {
  .finance-category-pie-body {
    grid-template-columns: 1fr;
  }
}
@media (max-width: 575px) {
  .finance-category-legend-row {
    grid-template-columns: 1fr;
  }
  .finance-category-legend-value {
    padding-left: 1.55rem;
  }
}

/* V3.6.25 - Categorias financeiras em visual hierárquico */
.finance-category-topbar {
  align-items: flex-start;
  gap: 1rem;
}

.finance-categories-layout {
  display: grid;
  grid-template-columns: 220px minmax(0, 1fr);
  gap: 1.25rem;
  align-items: flex-start;
}

.finance-categories-aside {
  position: sticky;
  top: 1rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.finance-category-filter-card,
.finance-category-panel {
  background: #fff;
  border: 1px solid rgba(15, 23, 42, .08);
  border-radius: 18px;
  box-shadow: 0 16px 38px rgba(15, 23, 42, .06);
  overflow: hidden;
}

.finance-category-filter-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: .95rem 1rem;
  border-bottom: 1px solid rgba(15, 23, 42, .06);
  color: #334155;
  font-weight: 600;
}

.finance-category-filter-row:last-child { border-bottom: 0; }

.finance-category-filter-row span {
  display: inline-flex;
  align-items: center;
  gap: .45rem;
}

.finance-category-filter-row strong,
.finance-category-count {
  min-width: 2rem;
  border-radius: 999px;
  background: #f1f5f9;
  color: #334155;
  padding: .15rem .55rem;
  text-align: center;
  font-size: .8rem;
  font-weight: 700;
}

.finance-category-filter-receita i,
.finance-category-panel-receita .finance-category-panel-header i { color: #10b981; }
.finance-category-filter-despesa i,
.finance-category-panel-despesa .finance-category-panel-header i { color: #ef4444; }

.finance-category-toggle-active {
  display: flex;
  align-items: center;
  gap: .55rem;
  color: #475569;
  text-decoration: none;
  font-size: .9rem;
  padding: .25rem .1rem;
}

.finance-category-toggle-active:hover { color: #111827; }

.toggle-pill {
  width: 36px;
  height: 20px;
  border-radius: 999px;
  background: #cbd5e1;
  position: relative;
  flex: 0 0 auto;
  transition: background .2s ease;
}

.toggle-pill::after {
  content: '';
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: #fff;
  position: absolute;
  left: 2px;
  top: 2px;
  box-shadow: 0 2px 6px rgba(15, 23, 42, .18);
  transition: transform .2s ease;
}

.toggle-pill.is-on { background: #3b82f6; }
.toggle-pill.is-on::after { transform: translateX(16px); }

.finance-categories-content { min-width: 0; }

.finance-category-panel-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1rem;
  padding: 1rem 1.15rem;
  border-bottom: 1px solid rgba(15, 23, 42, .07);
}

.finance-category-panel-header h2 {
  margin: 0;
  display: flex;
  align-items: center;
  gap: .45rem;
  font-size: 1rem;
  font-weight: 700;
  color: #0f172a;
}

.finance-category-panel-header p {
  margin: .15rem 0 0;
  color: #64748b;
  font-size: .82rem;
}

.finance-category-group + .finance-category-group { border-top: 1px solid rgba(15, 23, 42, .07); }

.finance-category-mother-row,
.finance-category-child-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: .75rem;
}

.finance-category-mother-row {
  padding: .95rem 1.15rem;
  background: linear-gradient(90deg, rgba(248, 250, 252, .98), rgba(255, 255, 255, .98));
}

.finance-category-mother-name {
  font-weight: 700;
  color: #111827;
}

.finance-category-mother-row small,
.finance-category-child-row small {
  color: #64748b;
  font-size: .78rem;
}

.finance-category-child-list { background: #fff; }

.finance-category-child-row {
  min-height: 56px;
  padding: .72rem 1.15rem .72rem 1.45rem;
  border-top: 1px solid rgba(15, 23, 42, .055);
}

.finance-category-child-main {
  display: flex;
  align-items: flex-start;
  gap: .65rem;
  min-width: 0;
}

.finance-category-child-main > i {
  color: #94a3b8;
  margin-top: .1rem;
}

.finance-category-child-main > div { min-width: 0; }
.finance-category-child-main div div {
  color: #334155;
  font-weight: 500;
  overflow-wrap: anywhere;
}

.finance-category-empty {
  padding: 2rem 1rem;
  text-align: center;
  color: #94a3b8;
  font-size: .92rem;
}

@media (max-width: 1199.98px) {
  .finance-categories-layout {
    grid-template-columns: 1fr;
  }
  .finance-categories-aside {
    position: static;
  }
  .finance-category-filter-card {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .finance-category-filter-card .finance-category-filter-row {
    border-bottom: 0;
    border-right: 1px solid rgba(15, 23, 42, .06);
  }
  .finance-category-filter-card .finance-category-filter-row:last-child { border-right: 0; }
}

@media (max-width: 575.98px) {
  .finance-category-topbar {
    align-items: stretch;
  }
  .finance-category-filter-card {
    grid-template-columns: 1fr;
  }
  .finance-category-filter-card .finance-category-filter-row {
    border-right: 0;
    border-bottom: 1px solid rgba(15, 23, 42, .06);
  }
  .finance-category-mother-row,
  .finance-category-child-row {
    align-items: flex-start;
  }
}

/* V3.6.27 - Visualização de cliente e histórico de empréstimos */
.cliente-readonly-form .form-control:disabled,
.cliente-readonly-form .form-select:disabled,
.cliente-readonly-form textarea:disabled {
  background: #f8fafc;
  color: #334155;
  opacity: 1;
  cursor: default;
}

.cliente-historico-summary .mini-stat {
  border: 1px solid rgba(15, 23, 42, .08);
  border-radius: 1rem;
  background: linear-gradient(180deg, #ffffff, #f8fafc);
  padding: .95rem 1rem;
  min-height: 90px;
  box-shadow: 0 10px 26px rgba(15, 23, 42, .04);
}

.cliente-historico-summary .mini-stat span {
  display: block;
  color: #64748b;
  font-size: .78rem;
  text-transform: uppercase;
  letter-spacing: .035em;
  margin-bottom: .35rem;
}

.cliente-historico-summary .mini-stat strong {
  display: block;
  color: #0f172a;
  font-size: 1.05rem;
  line-height: 1.25;
  overflow-wrap: anywhere;
}

.cliente-loan-history-table table {
  min-width: 1060px;
}

.cliente-loan-history-table thead th {
  font-size: .76rem;
  color: #64748b;
  text-transform: uppercase;
  letter-spacing: .035em;
  white-space: nowrap;
}

.cliente-loan-history-table tbody td {
  vertical-align: middle;
  font-size: .9rem;
}

/* V3.6.28 - Modal ampliado para Visualização de cliente. */
@media (min-width: 992px) {
  .modal-bufunfa.modal-bufunfa-cliente-view .modal-dialog {
    width: calc(100vw - .25rem);
    max-width: 1680px;
    margin: .125rem auto;
  }

  .modal-bufunfa.modal-bufunfa-cliente-view .modal-content {
    min-height: calc(100dvh - .25rem);
    max-height: calc(100dvh - .25rem);
  }

  .modal-bufunfa.modal-bufunfa-cliente-view .modal-body {
    padding: .55rem .65rem;
  }

  .modal-bufunfa.modal-bufunfa-cliente-view .modal-header {
    padding: .5rem .8rem;
  }

  .modal-bufunfa.modal-bufunfa-cliente-view .main-content > .d-flex.mb-3 {
    margin-bottom: .55rem !important;
  }

  .modal-bufunfa.modal-bufunfa-cliente-view .cliente-readonly-form.card-kpi {
    padding: 1rem !important;
    border-radius: 14px;
  }

  .modal-bufunfa.modal-bufunfa-cliente-view .cliente-readonly-form .nav.nav-pills {
    margin-bottom: .85rem !important;
  }

  .modal-bufunfa.modal-bufunfa-cliente-view .cliente-readonly-form .row.g-3 {
    --bs-gutter-y: .72rem;
  }

  .modal-bufunfa.modal-bufunfa-cliente-view .cliente-historico-summary {
    --bs-gutter-y: .72rem;
    margin-bottom: .75rem !important;
  }

  .modal-bufunfa.modal-bufunfa-cliente-view .cliente-historico-summary .mini-stat {
    min-height: 72px;
    padding: .68rem .8rem;
  }

  .modal-bufunfa.modal-bufunfa-cliente-view .cliente-loan-history-table table {
    width: 100%;
    min-width: 0;
  }

  .modal-bufunfa.modal-bufunfa-cliente-view .cliente-loan-history-table th,
  .modal-bufunfa.modal-bufunfa-cliente-view .cliente-loan-history-table td {
    font-size: .82rem;
    padding: .5rem .45rem;
  }
}


/* V3.6.28 - Ajuste fino da visualização de cliente e filtro automático dos lançamentos. */
@media (min-width: 992px) {
  .modal-bufunfa.modal-bufunfa-cliente-view .modal-dialog {
    height: calc(100dvh - .25rem);
  }

  .modal-bufunfa.modal-bufunfa-cliente-view .modal-body {
    overflow-y: auto;
  }

  .modal-bufunfa.modal-bufunfa-cliente-view .cliente-readonly-form .form-label {
    margin-bottom: .25rem;
    font-size: .82rem;
  }

  .modal-bufunfa.modal-bufunfa-cliente-view .cliente-readonly-form .form-control,
  .modal-bufunfa.modal-bufunfa-cliente-view .cliente-readonly-form .form-select {
    min-height: 34px;
    padding-top: .34rem;
    padding-bottom: .34rem;
    font-size: .9rem;
  }

  .modal-bufunfa.modal-bufunfa-cliente-view .cliente-loan-history-table {
    overflow-x: visible;
  }

  .modal-bufunfa.modal-bufunfa-cliente-view .cliente-loan-history-table table {
    table-layout: fixed;
  }

  .modal-bufunfa.modal-bufunfa-cliente-view .cliente-loan-history-table th,
  .modal-bufunfa.modal-bufunfa-cliente-view .cliente-loan-history-table td {
    white-space: normal;
    word-break: break-word;
  }
}

.finance-filter-panel .account-filter-vertical {
  margin-bottom: .25rem;
}

/* V3.6.29 - Dropdowns da Visão Geral e filtro por período nas faturas de cartão */
.finance-overview-table-wrap{
  overflow:visible!important;
  position:relative;
}
.finance-overview-table-wrap .dropdown-menu{
  z-index:1080;
}
.finance-overview-open-table td,
.finance-overview-open-table th{
  overflow:visible;
}
.finance-card-statement-layout .content-card{
  overflow:visible;
}
.finance-card-period-panel{
  position:sticky;
  top:1rem;
}
.finance-card-summary-row{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:1rem;
  padding:.55rem 0;
  border-bottom:1px solid rgba(0,31,63,.07);
  font-size:.95rem;
}
.finance-card-summary-row:last-child{border-bottom:0;}
.finance-card-summary-row.total{
  margin-top:.25rem;
  padding-top:.8rem;
  border-top:1px solid rgba(0,31,63,.12);
  font-weight:800;
}
.finance-card-statement-table-wrap{
  overflow:visible!important;
}
.finance-card-statement-table td,
.finance-card-statement-table th{
  overflow:visible;
}
.finance-card-statement-table .dropdown-menu{
  z-index:1080;
}
@media(max-width:991px){
  .finance-card-period-panel{position:static;}
  .finance-overview-table-wrap,
  .finance-card-statement-table-wrap{overflow-x:auto!important;overflow-y:visible!important;}
}

/* V3.6.30 - Ações rápidas no topo e fatura do cartão. */
.app-userbar-actions{display:flex;align-items:center;gap:.35rem}.app-userbar-icon{width:32px;height:32px;border-radius:999px;display:inline-flex;align-items:center;justify-content:center;padding:0}.quick-calc-result{border:1px solid rgba(0,31,63,.10);border-radius:12px;background:#f8fff9;padding:.65rem .75rem;font-weight:800;color:var(--br-blue);min-height:42px}.finance-card-summary .btn{border-radius:14px}.finance-card-summary-row.total strong{font-size:1.05rem}@media(max-width:575px){.app-userbar-actions{gap:.2rem}.app-userbar-icon{width:30px;height:30px}.app-userbar .badge{display:none!important}}


/* V3.6.33 - Modais rápidos centralizados e versão movida para o rodapé do menu lateral. */
.sidebar-footer-version{
  margin-top:auto;
  margin-left:.75rem;
  margin-right:.75rem;
  margin-bottom:.45rem;
  padding:.72rem .8rem;
  border:1px solid rgba(255,255,255,.10);
  border-radius:14px;
  background:rgba(255,255,255,.06);
  color:#dbe7ef;
  line-height:1.15;
}
.sidebar-footer-version .sidebar-footer-label{
  display:block;
  font-size:.68rem;
  color:#91aac4;
  text-transform:uppercase;
  letter-spacing:.07em;
  margin-bottom:.2rem;
}
.sidebar-footer-version strong{
  display:block;
  font-size:.86rem;
  color:#fff;
}
body.sidebar-collapsed:not(.sidebar-expanded):not(.sidebar-pinned) .sidebar-footer-version{
  display:none!important;
}
.quick-action-modal .modal-dialog{
  margin-left:auto;
  margin-right:auto;
}
.quick-action-modal .modal-content{
  border:0;
  border-radius:18px;
  box-shadow:0 24px 60px rgba(15,23,42,.24);
}
@media(max-width:575px){
  .app-userbar-actions{gap:.18rem;}
  .app-userbar-info{display:none;}
}

/* V3.6.33 - Modais rápidos sobrepostos ao Dashboard e versão no final do menu. */
.quick-action-modal{
  z-index:2055!important;
}
.quick-action-modal .modal-dialog{
  max-width:560px;
  width:calc(100% - 2rem);
  margin:1.75rem auto;
}
.quick-action-modal .modal-sm{
  max-width:390px;
}
.quick-action-modal .modal-content{
  position:relative;
  z-index:2056;
}
.sidebar-footer-version{
  margin-top:auto!important;
  flex-shrink:0!important;
  position:sticky;
  bottom:.55rem;
  z-index:2;
  backdrop-filter:blur(8px);
}
@media (max-width:991px){
  .quick-action-modal .modal-dialog{
    width:calc(100% - 1.25rem);
    margin:.75rem auto;
  }
}

/* V3.6.33 - Calculadora estilo Windows e central de ajuda estilo documentação. */
.quick-calculator-modal .modal-dialog{
  max-width:360px;
}
.windows-calculator{
  background:#f3f6f8;
  border:1px solid rgba(15,23,42,.08);
  border-radius:18px;
  padding:1rem;
  box-shadow:inset 0 1px 0 rgba(255,255,255,.75);
}
.windows-calc-topline{
  font-size:.78rem;
  font-weight:700;
  color:#64748b;
  margin-bottom:.45rem;
}
.windows-calc-display{
  background:#fff;
  border:1px solid rgba(15,23,42,.09);
  border-radius:14px;
  padding:.55rem .75rem;
  margin-bottom:.7rem;
  min-height:86px;
  display:flex;
  flex-direction:column;
  justify-content:center;
}
.windows-calc-history{
  min-height:18px;
  font-size:.78rem;
  color:#94a3b8;
  text-align:right;
  overflow:hidden;
  white-space:nowrap;
  text-overflow:ellipsis;
}
.windows-calc-screen{
  border:0!important;
  background:transparent!important;
  box-shadow:none!important;
  padding:0!important;
  text-align:right;
  font-size:2.1rem;
  font-weight:800;
  color:#0f172a;
  width:100%;
}
.windows-calc-grid{
  display:grid;
  grid-template-columns:repeat(4,1fr);
  gap:.45rem;
}
.calc-btn{
  min-height:46px;
  border:1px solid rgba(15,23,42,.08);
  border-radius:12px;
  background:#fff;
  color:#0f172a;
  font-size:1.05rem;
  font-weight:800;
  box-shadow:0 1px 2px rgba(15,23,42,.06);
  transition:transform .08s ease, background .12s ease, border-color .12s ease;
}
.calc-btn:hover{
  background:#f8fafc;
  border-color:rgba(15,23,42,.16);
}
.calc-btn:active{
  transform:translateY(1px);
}
.calc-btn-muted{
  background:#e9eef3;
  font-weight:700;
}
.calc-btn-operator{
  background:#e8f7ee;
  color:#0f5132;
}
.calc-btn-equals{
  background:var(--br-green,#16a34a);
  color:#fff;
  border-color:transparent;
}
.calc-btn-equals:hover{
  background:#12813c;
  color:#fff;
}
.quick-help-modal .modal-dialog{
  max-width:980px;
}
.quick-help-modal .modal-content{
  overflow:hidden;
}
.quick-help-header{
  background:#ffffff;
  border-bottom:1px solid rgba(15,23,42,.08);
}
.help-center-shell{
  min-height:560px;
  max-height:78vh;
  display:grid;
  grid-template-columns:260px 1fr;
  background:#fff;
}
.help-center-sidebar{
  background:#f8fafc;
  border-right:1px solid rgba(15,23,42,.08);
  padding:1rem;
  overflow:auto;
}
.help-search-box{
  position:relative;
  margin-bottom:1rem;
}
.help-search-box i{
  position:absolute;
  left:.85rem;
  top:50%;
  transform:translateY(-50%);
  color:#94a3b8;
  z-index:2;
}
.help-search-box .form-control{
  border-radius:999px;
  padding-left:2.35rem;
  background:#fff;
}
.help-nav{
  display:flex;
  flex-direction:column;
  gap:.25rem;
}
.help-nav-item{
  border:0;
  background:transparent;
  color:#475569;
  border-radius:12px;
  padding:.72rem .8rem;
  display:flex;
  align-items:center;
  gap:.6rem;
  font-weight:700;
  text-align:left;
}
.help-nav-item:hover{
  background:#eef2f7;
  color:#0f172a;
}
.help-nav-item.active{
  background:#e8f7ee;
  color:#0f5132;
}
.help-center-content{
  padding:1.2rem;
  overflow:auto;
}
.help-hero{
  background:linear-gradient(135deg,#f0fdf4,#eff6ff);
  border:1px solid rgba(15,23,42,.08);
  border-radius:18px;
  padding:1rem 1.1rem;
  margin-bottom:1rem;
}
.help-hero h6{
  margin:.5rem 0 .25rem;
  font-size:1.15rem;
  font-weight:900;
  color:#0f172a;
}
.help-hero p{
  margin:0;
  color:#64748b;
}
.help-section{
  display:none;
}
.help-section.active{
  display:block;
}
.help-section h6{
  font-size:1rem;
  font-weight:900;
  color:#0f172a;
  margin-bottom:.85rem;
}
.help-card-grid{
  display:grid;
  grid-template-columns:repeat(2,minmax(0,1fr));
  gap:.75rem;
}
.help-card{
  display:flex;
  gap:.75rem;
  padding:.9rem;
  border:1px solid rgba(15,23,42,.08);
  border-radius:16px;
  background:#fff;
  box-shadow:0 2px 8px rgba(15,23,42,.04);
}
.help-card>i{
  width:36px;
  height:36px;
  border-radius:12px;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  background:#e8f7ee;
  color:#0f5132;
  flex-shrink:0;
}
.help-card strong{
  display:block;
  color:#0f172a;
  margin-bottom:.2rem;
}
.help-card p{
  margin:0;
  color:#64748b;
  font-size:.88rem;
}
.help-empty{
  border:1px dashed rgba(15,23,42,.2);
  border-radius:16px;
  padding:1.5rem;
  text-align:center;
  color:#64748b;
  margin-top:1rem;
}
.help-empty i{
  display:block;
  font-size:1.8rem;
  color:#94a3b8;
  margin-bottom:.5rem;
}
@media(max-width:767px){
  .help-center-shell{
    grid-template-columns:1fr;
    max-height:82vh;
  }
  .help-center-sidebar{
    border-right:0;
    border-bottom:1px solid rgba(15,23,42,.08);
  }
  .help-nav{
    flex-direction:row;
    overflow:auto;
    padding-bottom:.15rem;
  }
  .help-nav-item{
    white-space:nowrap;
  }
  .help-card-grid{
    grid-template-columns:1fr;
  }
}

/* V3.6.34 - Central de ajuda com passo a passo e ilustrações internas. */
.help-step-list{
  display:flex;
  flex-direction:column;
  gap:.85rem;
}
.help-step-card{
  display:grid;
  grid-template-columns:190px minmax(0,1fr);
  gap:1rem;
  padding:1rem;
  border:1px solid rgba(15,23,42,.08);
  border-radius:18px;
  background:#fff;
  box-shadow:0 4px 14px rgba(15,23,42,.05);
}
.help-step-card strong{
  display:block;
  color:#0f172a;
  font-size:.98rem;
  margin-bottom:.45rem;
}
.help-step-card ol{
  margin:0;
  padding-left:1.1rem;
  color:#475569;
  font-size:.88rem;
}
.help-step-card li+li{
  margin-top:.18rem;
}
.help-step-visual{
  min-width:0;
}
.help-shot{
  min-height:124px;
  border-radius:18px;
  border:1px solid rgba(15,23,42,.1);
  background:linear-gradient(135deg,#f8fafc,#e8f7ee);
  padding:.85rem;
  position:relative;
  overflow:hidden;
  display:flex;
  flex-direction:column;
  justify-content:space-between;
}
.help-shot:before{
  content:"";
  position:absolute;
  inset:auto -26px -36px auto;
  width:110px;
  height:110px;
  border-radius:999px;
  background:rgba(22,163,74,.13);
}
.help-shot span{
  width:max-content;
  max-width:100%;
  border-radius:999px;
  background:#fff;
  color:#0f5132;
  font-size:.72rem;
  font-weight:900;
  padding:.22rem .55rem;
  box-shadow:0 2px 8px rgba(15,23,42,.08);
  z-index:1;
}
.help-shot b{
  color:#0f172a;
  font-size:1.06rem;
  line-height:1.15;
  z-index:1;
}
.help-shot small{
  color:#64748b;
  font-weight:700;
  z-index:1;
}
.help-shot-financeiro{background:linear-gradient(135deg,#ecfeff,#e8f7ee);}
.help-shot-lancamentos{background:linear-gradient(135deg,#fff7ed,#f0fdf4);}
.help-shot-cartao{background:linear-gradient(135deg,#eff6ff,#f5f3ff);}
.help-shot-categorias{background:linear-gradient(135deg,#fefce8,#ecfdf5);}
.help-shot-contrato{background:linear-gradient(135deg,#f0fdf4,#f8fafc);}
.help-shot-relatorio{background:linear-gradient(135deg,#eef2ff,#f8fafc);}
.help-shot-seguranca{background:linear-gradient(135deg,#f0f9ff,#f0fdf4);}
.help-shot-cpf{background:linear-gradient(135deg,#f8fafc,#dcfce7);}
@media(max-width:767px){
  .help-step-card{
    grid-template-columns:1fr;
  }
  .help-shot{
    min-height:96px;
  }
}

/* V3.7 - Jornada de Trabalho */
.jornada-page { max-width: 1180px; }
.jornada-page-header, .jornada-form-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1.5rem;
  margin-bottom: 2rem;
}
.jornada-subtitle {
  max-width: 760px;
  font-size: 1.05rem;
  color: #334155;
}
.jornada-toolbar {
  display: grid;
  grid-template-columns: minmax(260px, 1fr) auto;
  gap: .75rem;
  align-items: center;
  margin-bottom: 2rem;
}
.jornada-search { position: relative; }
.jornada-search i {
  position: absolute;
  left: .95rem;
  top: 50%;
  transform: translateY(-50%);
  color: #94a3b8;
}
.jornada-search .form-control { padding-left: 2.4rem; min-height: 44px; }
.jornada-list-card, .jornada-form-card {
  background: #fff;
  border: 1px solid rgba(15, 23, 42, .08);
  border-radius: 12px;
  box-shadow: 0 10px 30px rgba(15, 23, 42, .06);
}
.jornada-list-card { overflow: hidden; }
.jornada-table thead th {
  background: #f1f5f9;
  color: #64748b;
  font-weight: 700;
  border-bottom: 0;
}
.jornada-table tbody td { padding: 1rem 1.25rem; }
.jornada-edit-link {
  color: #16a34a;
  font-weight: 600;
  text-decoration: none;
}
.jornada-edit-link:hover { color: #15803d; }
.jornada-form-card { padding: 1.5rem; }
.jornada-form-actions { display: flex; align-items: center; gap: .5rem; }
.jornada-active-switch { margin: 1rem 0 1.75rem; }
.jornada-active-switch .form-check-input {
  width: 2.4rem;
  height: 1.25rem;
  cursor: pointer;
}
.jornada-active-switch .form-check-input:checked { background-color: #22c55e; border-color: #22c55e; }
.jornada-add-row { margin-top: 1.25rem; }
.jornada-add-title { font-size: 1.15rem; font-weight: 700; margin-bottom: .45rem; }
.btn-teal {
  background: #0d9488;
  color: #fff;
  border: 0;
  min-height: 42px;
}
.btn-teal:hover { background: #0f766e; color: #fff; }
.jornada-hours-table {
  border: 1px solid rgba(15, 23, 42, .12);
  border-radius: 10px;
  overflow: hidden;
}
.jornada-hours-table td { padding: .85rem 1rem; }
.jornada-empty-hint { padding: 1rem; color: #64748b; text-align: center; background: #f8fafc; }
@media (max-width: 768px) {
  .jornada-page-header, .jornada-form-header, .jornada-toolbar { grid-template-columns: 1fr; display: grid; }
  .jornada-form-actions { flex-wrap: wrap; }
}

/* V3.9 - administração de usuários */
.dropdown-menu form{margin:0}.dropdown-menu form .dropdown-item{width:100%;text-align:left}.badge i{margin-right:.2rem}.usuario-detail-label{font-size:.88rem;color:#64766f}


/* V3.9.1 - Menu global de ações em três pontos e sobreposição segura. */
.action-dropdown-cell,.finance-actions-cell{width:64px;white-space:nowrap;overflow:visible!important;}
.action-dropdown,.finance-actions-menu{display:inline-flex;justify-content:flex-end;position:relative;}
.action-dropdown-toggle,.finance-actions-toggle{width:34px;height:34px;display:inline-flex;align-items:center;justify-content:center;border-radius:999px;background:#fff;}
.action-dropdown-toggle::after,.finance-actions-toggle::after{display:none!important;}
.action-dropdown-toggle:hover,.action-dropdown-toggle:focus,.finance-actions-toggle:hover,.finance-actions-toggle:focus{background:var(--br-green-soft);border-color:var(--br-green)!important;color:var(--br-green-dark);}
.action-dropdown .dropdown-menu,.finance-actions-menu .dropdown-menu,.action-dropdown-portal{min-width:210px;border:0;border-radius:14px;padding:.45rem;box-shadow:0 18px 36px rgba(0,31,63,.18)!important;}
.action-dropdown .dropdown-item,.finance-actions-menu .dropdown-item,.action-dropdown-portal .dropdown-item{border-radius:10px;font-weight:600;padding:.55rem .7rem;display:flex;align-items:center;gap:.15rem;}
.action-dropdown form,.finance-actions-menu form,.action-dropdown-portal form{margin:0;}
.action-dropdown .dropdown-divider,.finance-actions-menu .dropdown-divider,.action-dropdown-portal .dropdown-divider{margin:.35rem 0;}
.action-dropdown-portal{position:fixed!important;z-index:2000!important;max-width:calc(100vw - 20px);overflow-x:hidden;}
.table-responsive:has(.action-dropdown),.table-responsive:has(.finance-actions-menu){overflow-y:visible;}
@media(max-width:991px){.action-dropdown .dropdown-menu,.finance-actions-menu .dropdown-menu,.action-dropdown-portal{min-width:190px;}}

/* V4.6 - Proteção extra para menus de ações longos no limite inferior da tela. */
.action-dropdown-portal{overscroll-behavior:contain;}
.action-dropdown-portal .dropdown-item{white-space:normal;line-height:1.2;}
.action-dropdown-portal::-webkit-scrollbar{width:8px;}
.action-dropdown-portal::-webkit-scrollbar-thumb{background:rgba(0,31,63,.22);border-radius:999px;}
.modal .action-dropdown-portal{z-index:2100!important;}


/* V3.9.1 - Central de ajuda somente texto e rolagem interna. */
.quick-help-modal .modal-dialog{
  height:calc(100vh - 1.5rem);
}
.quick-help-modal .modal-content{
  max-height:100%;
  height:100%;
  overflow:hidden;
}
.quick-help-modal .modal-body{
  min-height:0;
  overflow:hidden;
}
.help-center-shell{
  min-height:0!important;
  height:100%;
  max-height:100%!important;
}
.help-center-sidebar,
.help-center-content{
  min-height:0;
  overflow-y:auto!important;
}
.help-center-content{
  scrollbar-gutter:stable;
}
.help-step-card{
  display:block!important;
  grid-template-columns:1fr!important;
}
.help-step-visual,
.help-shot{
  display:none!important;
}
.help-step-card ol{
  padding-left:1.25rem;
}
.help-step-card li+li{
  margin-top:.28rem;
}
@media(max-width:767px){
  .quick-help-modal .modal-dialog{
    height:calc(100vh - 1rem);
  }
  .help-center-shell{
    grid-template-columns:1fr;
  }
  .help-center-sidebar{
    max-height:205px;
  }
  .help-center-content{
    max-height:none;
  }
}

/* V3.9_2 - Jornada profissional: aviso de tolerância e exceções por data. */
.jornada-session-warning{
  position:fixed;
  top:66px;
  right:18px;
  z-index:1040;
  max-width:430px;
  display:flex;
  gap:.8rem;
  align-items:flex-start;
  padding:.85rem 1rem;
  border-radius:16px;
  background:#fff7ed;
  color:#7c2d12;
  border:1px solid rgba(234,88,12,.22);
}
.jornada-session-warning i{font-size:1.25rem;color:#ea580c;margin-top:.1rem;}
.jornada-session-warning strong,.jornada-session-warning span,.jornada-session-warning small{display:block;line-height:1.22;}
.jornada-session-warning span{font-size:.9rem;margin:.12rem 0;}
.jornada-session-warning small{color:#9a3412;}
.jornada-excecao-section{
  border:1px dashed rgba(13,148,136,.35);
  border-radius:12px;
  padding:1rem;
  background:#f8fffd;
}
@media(max-width:767px){
  .jornada-session-warning{left:10px;right:10px;top:76px;max-width:none;}
}

/* V3.9_6 - ajuste visual da listagem de usuários para caber melhor na tela. */
.usuarios-page-header > div:first-child{min-width:260px;flex:1 1 360px;}
.usuarios-header-actions{flex:0 1 auto;}
.usuarios-header-actions .btn{padding:.45rem .7rem;font-size:.88rem;white-space:nowrap;}
.usuarios-card{overflow:visible;}
.usuarios-table-wrap{overflow-x:auto;overflow-y:visible;}
.usuarios-table-compact{font-size:.82rem;table-layout:fixed;min-width:980px;}
.usuarios-table-compact th,.usuarios-table-compact td{padding:.55rem .6rem;line-height:1.25;}
.usuarios-table-compact thead th{font-size:.76rem;text-transform:uppercase;letter-spacing:.025em;}
.usuarios-table-compact .badge{font-size:.72rem;white-space:normal;text-align:left;line-height:1.15;}
.usuarios-col-usuario{width:22%;}
.usuarios-col-identificacao{width:13%;}
.usuarios-col-acesso{width:16%;}
.usuarios-col-jornada{width:20%;}
.usuarios-col-seguranca{width:16%;}
.usuarios-col-ultimo{width:9%;}
.usuarios-col-acoes{width:4%;}
.usuario-cell-title{font-weight:800;color:var(--br-blue);max-width:100%;}
.usuario-cell-label{font-size:.68rem;font-weight:800;text-transform:uppercase;letter-spacing:.045em;color:#789086;}
.usuario-cell-text{font-size:.8rem;color:#24463a;}
.usuario-cell-muted{font-size:.75rem;color:#64766f;}
.usuarios-two-lines{display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden;}
.usuarios-table-compact .action-dropdown-cell{width:auto;}
.usuarios-table-compact .action-dropdown-toggle{width:30px;height:30px;}
@media(max-width:1199px){
  .usuarios-table-compact{min-width:920px;font-size:.78rem;}
  .usuarios-table-compact th,.usuarios-table-compact td{padding:.48rem .5rem;}
  .usuarios-header-actions{width:100%;justify-content:flex-start!important;}
}
@media(max-width:575px){
  .usuarios-header-actions .btn{width:100%;justify-content:center;}
  .usuarios-table-compact{min-width:860px;}
}

/* V3.9_8 - padrão compacto para listagens largas do sistema. */
.compact-list-card{overflow:visible;}
.compact-table-wrap{overflow-x:auto;overflow-y:visible;}
.table-system-compact{font-size:.82rem;table-layout:fixed;min-width:920px;}
.table-system-compact th,.table-system-compact td{padding:.55rem .6rem;line-height:1.25;vertical-align:middle;}
.table-system-compact thead th{font-size:.74rem;text-transform:uppercase;letter-spacing:.025em;color:#5f716b;}
.table-system-compact .badge{font-size:.72rem;white-space:normal;text-align:left;line-height:1.15;}
.compact-col-actions{width:54px;}
.compact-cell-title{font-weight:800;color:var(--br-blue);max-width:100%;}
.compact-cell-label{font-size:.68rem;font-weight:800;text-transform:uppercase;letter-spacing:.045em;color:#789086;}
.compact-cell-text{font-size:.8rem;color:#24463a;}
.compact-cell-muted{font-size:.75rem;color:#64766f;}
.compact-cell-money{font-weight:800;color:#183b2f;white-space:nowrap;}
.compact-two-lines{display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden;}
.compact-three-lines{display:-webkit-box;-webkit-line-clamp:3;-webkit-box-orient:vertical;overflow:hidden;}
.table-system-compact .action-dropdown-toggle,.table-system-compact .finance-actions-toggle{width:30px;height:30px;}
.table-system-compact .action-dropdown-cell,.table-system-compact .finance-actions-cell{width:54px;}
.compact-status-stack{display:flex;flex-wrap:wrap;gap:.25rem;align-items:center;}
.compact-search-actions .btn{white-space:nowrap;}
.clientes-table-compact{min-width:860px;}
.clientes-col-cliente{width:27%;}.clientes-col-local{width:24%;}.clientes-col-regiao{width:20%;}.clientes-col-perfil{width:22%;}
.cobranca-table-compact{min-width:940px;}.cobranca-col-cliente{width:24%;}.cobranca-col-parcela{width:18%;}.cobranca-col-vencimento{width:15%;}.cobranca-col-valores{width:30%;}.cobranca-col-status{width:8%;}
.contratos-table-compact{min-width:900px;}.contratos-col-contrato{width:28%;}.contratos-col-produto{width:18%;}.contratos-col-valores{width:28%;}.contratos-col-condicoes{width:18%;}
.pagamentos-table-compact{min-width:930px;}.pagamentos-col-pagamento{width:16%;}.pagamentos-col-cliente{width:22%;}.pagamentos-col-tipo{width:18%;}.pagamentos-col-valores{width:20%;}.pagamentos-col-recebimento{width:17%;}
.simulacoes-table-compact{min-width:930px;}.simulacoes-col-simulacao{width:25%;}.simulacoes-col-produto{width:16%;}.simulacoes-col-condicoes{width:22%;}.simulacoes-col-encargos{width:18%;}.simulacoes-col-total{width:13%;}
.financeiro-table-compact{min-width:900px;}.financeiro-col-data{width:15%;}.financeiro-col-tipo{width:16%;}.financeiro-col-descricao{width:40%;}.financeiro-col-valor{width:15%;}.financeiro-col-acoes{width:54px;}
.cartoes-table-compact{min-width:860px;}.cartoes-col-cartao{width:24%;}.cartoes-col-limites{width:22%;}.cartoes-col-fatura{width:18%;}.cartoes-col-datas{width:18%;}.cartoes-col-status{width:10%;}
.contas-table-compact{min-width:760px;}.contas-col-conta{width:30%;}.contas-col-dados{width:32%;}.contas-col-saldo{width:28%;}
.contatos-table-compact{min-width:760px;}.contatos-col-contato{width:30%;}.contatos-col-doc{width:18%;}.contatos-col-canais{width:34%;}.contatos-col-status{width:10%;}
.auditoria-table-compact{min-width:900px;}.auditoria-col-data{width:18%;}.auditoria-col-acao{width:18%;}.auditoria-col-entidade{width:18%;}.auditoria-col-detalhes{width:40%;}
.config-table-compact{min-width:850px;}.config-col-premissa{width:25%;}.config-col-valor{width:18%;}.config-col-descricao{width:39%;}.config-col-data{width:12%;}
.config-history-table-compact{min-width:760px;}.config-history-col-data{width:17%;}.config-history-col-premissa{width:26%;}.config-history-col-valores{width:25%;}.config-history-col-usuario{width:32%;}
@media(max-width:1199px){
  .table-system-compact{font-size:.78rem;min-width:860px;}
  .table-system-compact th,.table-system-compact td{padding:.48rem .5rem;}
}
@media(max-width:575px){
  .table-system-compact{font-size:.76rem;min-width:820px;}
}
.table-sm.table-system-compact{min-width:680px;}
.finance-card-statement-table.table-system-compact,.finance-overview-open-table.table-system-compact{min-width:720px;}

/* V3.9_11 - Financeiro > Visão Geral: cartões contidos e legendas dos gráficos abaixo da rosca. */
.finance-overview-chart-row,
.finance-overview-chart-row > [class*="col-"] {
  min-width: 0;
}
.finance-overview-chart-row .content-card,
.finance-overview-card {
  min-width: 0;
  max-width: 100%;
}
.finance-category-pie-card {
  overflow: hidden;
  padding: 1rem 1rem 0;
}
.finance-category-pie-body {
  display: flex;
  flex-direction: column;
  gap: .85rem;
  align-items: stretch;
  padding: .35rem 0 .85rem;
}
.finance-category-pie-canvas {
  width: 100%;
  height: 220px;
  min-height: 220px;
  max-width: 100%;
}
.finance-category-pie-legend {
  width: 100%;
  max-width: 100%;
  display: flex;
  flex-direction: column;
  gap: .45rem;
}
.finance-category-legend-row {
  min-width: 0;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: .45rem;
  align-items: center;
  padding: .4rem .55rem;
  border: 1px solid rgba(0,31,63,.07);
  border-radius: 12px;
  background: #fbfffc;
  font-size: .82rem;
}
.finance-category-legend-info {
  min-width: 0;
  display: flex;
  align-items: center;
  gap: .45rem;
}
.finance-category-legend-name {
  min-width: 0;
  white-space: normal;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  flex: 1 1 auto;
}
.finance-category-legend-percent {
  font-size: .68rem;
  padding: .05rem .36rem;
}
.finance-category-legend-value {
  font-size: .82rem;
  white-space: nowrap;
  text-align: right;
}
.finance-category-pie-total {
  margin: 0 -1rem;
  padding: .78rem 1rem;
}
.finance-overview-table-wrap {
  width: 100%;
  max-width: 100%;
  overflow-x: auto!important;
  overflow-y: visible!important;
}
.finance-overview-open-table.table-system-compact {
  min-width: 600px;
}
.finance-overview-card-table {
  width: 100%;
  min-width: 0 !important;
  table-layout: auto;
}
.finance-overview-card-table th,
.finance-overview-card-table td {
  white-space: nowrap;
}
.finance-overview-card-table th:first-child,
.finance-overview-card-table td:first-child {
  width: 48%;
}
.finance-overview-card-table th:nth-child(2),
.finance-overview-card-table td:nth-child(2) {
  width: 26%;
}
.finance-overview-card-table th:nth-child(3),
.finance-overview-card-table td:nth-child(3) {
  width: 26%;
}
@media (max-width: 575px) {
  .finance-overview-card-table th,
  .finance-overview-card-table td {
    white-space: normal;
  }
}
.finance-overview-open-table th,
.finance-overview-open-table td {
  white-space: normal;
}
.finance-overview-open-table th:first-child,
.finance-overview-open-table td:first-child,
.finance-overview-open-table th:nth-child(4),
.finance-overview-open-table td:nth-child(4),
.finance-overview-open-table th:last-child,
.finance-overview-open-table td:last-child {
  white-space: nowrap;
}
@media (max-width: 991px) {
  .finance-category-pie-canvas {
    height: 205px;
    min-height: 205px;
  }
  .finance-overview-open-table.table-system-compact {
    min-width: 560px;
  }
}
@media (max-width: 575px) {
  .finance-category-legend-row {
    grid-template-columns: minmax(0, 1fr) auto;
  }
  .finance-category-legend-value {
    padding-left: 0;
  }
}



/* V3.9_11 - Correção definitiva: cartão sem scroll e gráficos com legenda vertical abaixo. */
.finance-overview-card,
.finance-overview-card .card-body,
.finance-category-pie-card {
  min-width: 0;
  max-width: 100%;
}
.finance-credit-card-summary {
  width: 100%;
  max-width: 100%;
  overflow: hidden;
  border-radius: 12px;
  border: 1px solid rgba(0, 31, 63, .08);
}
.finance-credit-card-header,
.finance-credit-card-row {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(92px, .85fr) minmax(84px, .7fr);
  align-items: center;
  column-gap: .45rem;
  width: 100%;
  min-width: 0;
}
.finance-credit-card-header {
  background: #dcfce7;
  color: #5f716b;
  font-size: .72rem;
  font-weight: 800;
  letter-spacing: .025em;
  text-transform: uppercase;
  padding: .55rem .65rem;
}
.finance-credit-card-row {
  padding: .62rem .65rem;
  border-top: 1px solid rgba(0, 31, 63, .07);
  font-size: .84rem;
}
.finance-credit-card-name,
.finance-credit-card-value,
.finance-credit-card-date {
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.finance-credit-card-name { font-weight: 700; color: #0f172a; }
.finance-credit-card-value,
.finance-credit-card-date { text-align: right; color: #0f172a; }
.finance-category-pie-card {
  display: flex;
  flex-direction: column;
  overflow: hidden;
  padding: 1rem 1rem 0;
}
.finance-category-pie-body {
  display: flex !important;
  flex-direction: column !important;
  align-items: stretch !important;
  gap: 0 !important;
  padding: .2rem 0 0 !important;
  min-width: 0;
}
.finance-category-pie-canvas {
  position: relative !important;
  width: 100% !important;
  height: 300px !important;
  min-height: 300px !important;
  max-height: 300px !important;
  max-width: 100% !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  margin: .35rem 0 1.25rem !important;
  padding: .75rem 0 !important;
  overflow: visible !important;
}
.finance-category-pie-canvas canvas {
  display: block !important;
  width: 270px !important;
  height: 270px !important;
  max-width: 270px !important;
  max-height: 270px !important;
  position: static !important;
  flex: 0 0 auto !important;
}
.finance-category-pie-legend {
  width: 100% !important;
  max-width: 100% !important;
  display: flex !important;
  flex-direction: column !important;
  gap: .42rem !important;
  margin-top: .35rem !important;
  padding: 0 0 .9rem !important;
  min-width: 0 !important;
}
.finance-category-legend-row {
  display: grid !important;
  grid-template-columns: minmax(0, 1fr) auto !important;
  align-items: center !important;
  gap: .65rem !important;
  width: 100% !important;
  min-width: 0 !important;
  padding: .18rem 0 !important;
  border: 0 !important;
  border-radius: 0 !important;
  background: transparent !important;
  font-size: .84rem !important;
}
.finance-category-legend-info {
  display: flex !important;
  align-items: center !important;
  gap: .42rem !important;
  min-width: 0 !important;
}
.finance-category-legend-dot {
  width: 11px !important;
  height: 11px !important;
  flex: 0 0 11px !important;
}
.finance-category-legend-name {
  min-width: 0 !important;
  flex: 0 1 auto !important;
  overflow: hidden !important;
  text-overflow: ellipsis !important;
  white-space: nowrap !important;
  display: block !important;
  color: #334155 !important;
}
.finance-category-legend-percent {
  flex: 0 0 auto !important;
  margin-left: .18rem !important;
  font-size: .68rem !important;
  font-weight: 800 !important;
  line-height: 1.2 !important;
  padding: .08rem .38rem !important;
  border-radius: 999px !important;
  background: #f1f5f9 !important;
  color: #0f172a !important;
}
.finance-category-legend-value {
  justify-self: end !important;
  text-align: right !important;
  white-space: nowrap !important;
  font-size: .84rem !important;
  font-weight: 800 !important;
  padding-left: .75rem !important;
}
.finance-category-pie-total {
  margin-top: auto !important;
}
@media (max-width: 1399px) {
  .finance-category-pie-canvas {
    height: 285px !important;
    min-height: 285px !important;
    max-height: 285px !important;
  }
  .finance-category-pie-canvas canvas {
    width: 255px !important;
    height: 255px !important;
    max-width: 255px !important;
    max-height: 255px !important;
  }
}
@media (max-width: 575px) {
  .finance-credit-card-header,
  .finance-credit-card-row {
    grid-template-columns: minmax(0, 1fr);
    row-gap: .28rem;
  }
  .finance-credit-card-value,
  .finance-credit-card-date { text-align: left; }
  .finance-credit-card-header span:nth-child(2),
  .finance-credit-card-header span:nth-child(3) { display: none; }
  .finance-category-pie-canvas {
    height: 245px !important;
    min-height: 245px !important;
    max-height: 245px !important;
    margin-bottom: .9rem !important;
    padding: .5rem 0 !important;
  }
  .finance-category-pie-canvas canvas {
    width: 220px !important;
    height: 220px !important;
    max-width: 220px !important;
    max-height: 220px !important;
  }
  .finance-category-legend-row {
    grid-template-columns: minmax(0, 1fr) auto !important;
  }
}

/* V4 - mantém a área vertical útil dos gráficos de rosca para evitar corte superior e inferior. */


/* V4 - Configuração de taxas e tarifas de empréstimos. */
.taxas-emprestimos-table-compact{min-width:980px;}
.taxas-col-alcance{width:23%;}.taxas-col-juros{width:13%;}.taxas-col-tarifas{width:17%;}.taxas-col-atraso{width:18%;}.taxas-col-cobranca{width:16%;}.taxas-col-status{width:8%;}
.taxas-form-section{border:1px solid rgba(0,31,63,.08);border-radius:18px;padding:1rem;margin-bottom:1rem;background:#fff;}
.taxas-form-section h5{font-size:1rem;font-weight:800;color:var(--br-blue);margin-bottom:.9rem;}
.taxas-form-section .form-text{font-size:.75rem;color:#64766f;}
@media(max-width:575px){.taxas-emprestimos-table-compact{min-width:900px;}.taxas-form-section{padding:.85rem;}}

/* V4.19 - espaçamento padronizado entre botões de ação em formulários e rodapés. */
.form-actions,
.action-buttons-row {
  display: flex;
  flex-wrap: wrap;
  gap: .5rem;
  align-items: center;
}
.mt-4 > .btn + .btn,
.mt-4 > .btn + a.btn,
.mt-4 > a.btn + .btn,
.mt-4 > a.btn + a.btn {
  margin-left: .5rem;
}
.mt-4.d-flex > .btn + .btn,
.mt-4.d-flex > .btn + a.btn,
.mt-4.d-flex > a.btn + .btn,
.mt-4.d-flex > a.btn + a.btn {
  margin-left: 0;
}
.modal-footer .btn + .btn {
  margin-left: .5rem;
}

/* V4.22 - Links públicos de pré-cadastro responsivos, sem rolagem horizontal. */
.public-links-list{display:flex;flex-direction:column;gap:.75rem;min-width:0;}
.public-link-item{display:flex;align-items:stretch;justify-content:space-between;gap:.85rem;border:1px solid rgba(0,31,63,.10);border-radius:16px;background:#fff;padding:.85rem;box-shadow:0 6px 18px rgba(0,31,63,.05);min-width:0;}
.public-link-body{flex:1 1 auto;min-width:0;}
.public-link-copy{display:flex;align-items:center;gap:.45rem;min-width:0;}
.public-link-input{min-width:0;font-size:.78rem;text-overflow:ellipsis;}
.public-link-copy-btn{white-space:nowrap;font-weight:700;}
.public-link-actions{flex:0 0 178px;display:flex;flex-direction:column;align-items:flex-end;justify-content:space-between;gap:.65rem;}
.public-link-counter{display:flex;align-items:center;gap:.35rem;color:#64766f;font-size:.76rem;text-transform:uppercase;letter-spacing:.045em;}
.public-link-counter strong{font-size:1rem;color:var(--br-blue);}
.public-form-brand{display:flex;flex-direction:column;align-items:center;justify-content:center;}
.public-form-logo{max-width:min(360px,85vw);max-height:105px;width:auto;height:auto;object-fit:contain;filter:drop-shadow(0 8px 20px rgba(0,31,63,.10));}
.min-w-0{min-width:0;}
@media(max-width:767px){
  .public-link-item{flex-direction:column;}
  .public-link-actions{flex:1 1 auto;width:100%;align-items:flex-start;}
  .public-link-actions .d-flex{justify-content:flex-start!important;}
}
@media(max-width:480px){
  .public-link-copy{flex-direction:column;align-items:stretch;}
  .public-link-copy-btn{width:100%;}
  .public-link-actions form,.public-link-actions button{width:100%;}
}

/* V4.32.1 - menu gerencial/contábil e dashboard personalizável */
.sidebar-subtitle {
    padding: .7rem 1.1rem .25rem 3rem;
    font-size: .68rem;
    text-transform: uppercase;
    letter-spacing: .06em;
    color: rgba(255,255,255,.56);
    font-weight: 700;
}
body.sidebar-collapsed .sidebar-subtitle:not(:hover) {
    display: none;
}
.dashboard-customizer {
    border-style: dashed;
}
.dashboard-widget-toggles {
    display: flex;
    flex-wrap: wrap;
    gap: .45rem;
}
.dashboard-toggle-chip {
    display: inline-flex;
    align-items: center;
    gap: .35rem;
    border: 1px solid rgba(9, 78, 60, .18);
    border-radius: 999px;
    padding: .25rem .6rem;
    background: #fff;
    font-size: .82rem;
    cursor: pointer;
}
.dashboard-widget-actions {
    position: absolute;
    top: .45rem;
    right: .45rem;
    display: flex;
    gap: .2rem;
    opacity: .62;
}
.card-kpi { position: relative; }
.dashboard-widget-actions button {
    border: 1px solid rgba(0,0,0,.08);
    background: rgba(255,255,255,.88);
    color: #35534c;
    border-radius: .45rem;
    width: 1.45rem;
    height: 1.45rem;
    line-height: 1;
    font-size: .75rem;
}
.dashboard-widget-actions button:hover { opacity: 1; background: #eef8f2; }

/* V4.32.1 - Administração com submenus retráteis e protótipo gerencial aprimorado */
.sidebar-admin-menu{
    padding:.35rem .15rem .55rem;
}
.sidebar-nested-trigger{
    width:calc(100% - .7rem);
    border:0;
    background:rgba(255,255,255,.045);
    margin:.18rem .35rem;
    border-radius:13px;
    color:#dbe7ef;
    text-align:left;
}
.sidebar-nested-trigger:hover{
    background:rgba(255,255,255,.09);
    color:#fff;
}
.sidebar-nested-submenu{
    margin:.05rem .45rem .25rem .75rem;
    padding:.2rem 0 .25rem .45rem;
    border-left:1px solid rgba(255,255,255,.14);
    background:rgba(0,0,0,.08);
    border-radius:0 12px 12px 0;
}
.sidebar-nested-link{
    padding-left:1.25rem!important;
    font-size:.84rem!important;
    min-height:34px!important;
}
body.sidebar-collapsed:not(.sidebar-expanded):not(.sidebar-pinned) .sidebar-nested-submenu,
body.sidebar-collapsed:not(.sidebar-expanded):not(.sidebar-pinned) .sidebar-nested-trigger .sidebar-chevron{
    display:none!important;
}
.business-insight-grid{
    display:grid;
    grid-template-columns:repeat(auto-fit,minmax(220px,1fr));
    gap:.85rem;
}
.business-insight-card{
    border:1px solid rgba(9,78,60,.10);
    border-radius:18px;
    background:#fff;
    padding:1rem;
    box-shadow:0 8px 18px rgba(0,31,63,.05);
}
.business-insight-card .badge{
    white-space:normal;
    text-align:left;
}

/* V4.32.1 - menu por seções, dashboard com modal e arrastar/soltar */
.sidebar-section-label{
    padding:.78rem 1.05rem .28rem 1.05rem;
    margin-top:.25rem;
    font-size:.68rem;
    text-transform:uppercase;
    letter-spacing:.08em;
    color:rgba(255,255,255,.62);
    font-weight:800;
}
body.sidebar-collapsed:not(.sidebar-expanded):not(.sidebar-pinned) .sidebar-section-label{
    display:none!important;
}
.dashboard-toolbar .dashboard-config-btn{
    width:34px;
    height:34px;
    display:inline-flex;
    align-items:center;
    justify-content:center;
    border-radius:12px;
}
.dashboard-month-filter input[type="month"]{
    min-width:148px;
}
.dashboard-grid [data-dashboard-widget]{
    transition:transform .14s ease, opacity .14s ease;
}
.dashboard-grid [data-dashboard-widget] > .card{
    cursor:grab;
    user-select:none;
}
.dashboard-grid [data-dashboard-widget].dashboard-dragging{
    opacity:.45;
    transform:scale(.985);
}
.dashboard-grid.dashboard-drag-active [data-dashboard-widget] > .card{
    outline:1px dashed rgba(9,78,60,.22);
    outline-offset:3px;
}
.dashboard-widget-actions{
    display:none!important;
}
.dashboard-toggle-chip{
    margin-bottom:.35rem;
}
.dashboard-toggle-chip input{
    accent-color:#0f8c68;
}
@media(max-width:767px){
    .dashboard-toolbar{width:100%;justify-content:flex-start;}
}
