/* [project]/src/app/globals.css [app-client] (css) */
@layer properties {
  @supports (((-webkit-hyphens: none)) and (not (margin-trim: inline))) or ((-moz-orient: inline) and (not (color: rgb(from red r g b)))) {
    *, :before, :after, ::backdrop {
      --tw-rotate-x: initial;
      --tw-rotate-y: initial;
      --tw-rotate-z: initial;
      --tw-skew-x: initial;
      --tw-skew-y: initial;
      --tw-border-style: solid;
      --tw-ordinal: initial;
      --tw-slashed-zero: initial;
      --tw-numeric-figure: initial;
      --tw-numeric-spacing: initial;
      --tw-numeric-fraction: initial;
      --tw-shadow: 0 0 #0000;
      --tw-shadow-color: initial;
      --tw-shadow-alpha: 100%;
      --tw-inset-shadow: 0 0 #0000;
      --tw-inset-shadow-color: initial;
      --tw-inset-shadow-alpha: 100%;
      --tw-ring-color: initial;
      --tw-ring-shadow: 0 0 #0000;
      --tw-inset-ring-color: initial;
      --tw-inset-ring-shadow: 0 0 #0000;
      --tw-ring-inset: initial;
      --tw-ring-offset-width: 0px;
      --tw-ring-offset-color: #fff;
      --tw-ring-offset-shadow: 0 0 #0000;
      --tw-outline-style: solid;
      --tw-blur: initial;
      --tw-brightness: initial;
      --tw-contrast: initial;
      --tw-grayscale: initial;
      --tw-hue-rotate: initial;
      --tw-invert: initial;
      --tw-opacity: initial;
      --tw-saturate: initial;
      --tw-sepia: initial;
      --tw-drop-shadow: initial;
      --tw-drop-shadow-color: initial;
      --tw-drop-shadow-alpha: 100%;
      --tw-drop-shadow-size: initial;
      --tw-ease: initial;
    }
  }
}

@layer theme {
  :root, :host {
    --font-sans: ui-sans-serif, system-ui, sans-serif, "Apple Color Emoji",
      "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji";
    --font-mono: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono",
      "Courier New", monospace;
    --spacing: .25rem;
    --ease-out: cubic-bezier(0, 0, .2, 1);
    --ease-in-out: cubic-bezier(.4, 0, .2, 1);
    --animate-spin: spin 1s linear infinite;
    --default-transition-duration: .15s;
    --default-transition-timing-function: cubic-bezier(.4, 0, .2, 1);
    --default-font-family: var(--font-sans);
    --default-mono-font-family: var(--font-mono);
  }
}

@layer base {
  *, :after, :before, ::backdrop {
    box-sizing: border-box;
    border: 0 solid;
    margin: 0;
    padding: 0;
  }

  ::file-selector-button {
    box-sizing: border-box;
    border: 0 solid;
    margin: 0;
    padding: 0;
  }

  html, :host {
    -webkit-text-size-adjust: 100%;
    tab-size: 4;
    line-height: 1.5;
    font-family: var(--default-font-family, ui-sans-serif, system-ui, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji");
    font-feature-settings: var(--default-font-feature-settings, normal);
    font-variation-settings: var(--default-font-variation-settings, normal);
    -webkit-tap-highlight-color: transparent;
  }

  hr {
    height: 0;
    color: inherit;
    border-top-width: 1px;
  }

  abbr:where([title]) {
    -webkit-text-decoration: underline dotted;
    text-decoration: underline dotted;
  }

  h1, h2, h3, h4, h5, h6 {
    font-size: inherit;
    font-weight: inherit;
  }

  a {
    color: inherit;
    -webkit-text-decoration: inherit;
    -webkit-text-decoration: inherit;
    text-decoration: inherit;
  }

  b, strong {
    font-weight: bolder;
  }

  code, kbd, samp, pre {
    font-family: var(--default-mono-font-family, ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace);
    font-feature-settings: var(--default-mono-font-feature-settings, normal);
    font-variation-settings: var(--default-mono-font-variation-settings, normal);
    font-size: 1em;
  }

  small {
    font-size: 80%;
  }

  sub, sup {
    vertical-align: baseline;
    font-size: 75%;
    line-height: 0;
    position: relative;
  }

  sub {
    bottom: -.25em;
  }

  sup {
    top: -.5em;
  }

  table {
    text-indent: 0;
    border-color: inherit;
    border-collapse: collapse;
  }

  :-moz-focusring {
    outline: auto;
  }

  progress {
    vertical-align: baseline;
  }

  summary {
    display: list-item;
  }

  ol, ul, menu {
    list-style: none;
  }

  img, svg, video, canvas, audio, iframe, embed, object {
    vertical-align: middle;
    display: block;
  }

  img, video {
    max-width: 100%;
    height: auto;
  }

  button, input, select, optgroup, textarea {
    font: inherit;
    font-feature-settings: inherit;
    font-variation-settings: inherit;
    letter-spacing: inherit;
    color: inherit;
    opacity: 1;
    background-color: #0000;
    border-radius: 0;
  }

  ::file-selector-button {
    font: inherit;
    font-feature-settings: inherit;
    font-variation-settings: inherit;
    letter-spacing: inherit;
    color: inherit;
    opacity: 1;
    background-color: #0000;
    border-radius: 0;
  }

  :where(select:is([multiple], [size])) optgroup {
    font-weight: bolder;
  }

  :where(select:is([multiple], [size])) optgroup option {
    padding-inline-start: 20px;
  }

  ::file-selector-button {
    margin-inline-end: 4px;
  }

  ::placeholder {
    opacity: 1;
  }

  @supports (not ((-webkit-appearance: -apple-pay-button))) or (contain-intrinsic-size: 1px) {
    ::placeholder {
      color: currentColor;
    }

    @supports (color: color-mix(in lab, red, red)) {
      ::placeholder {
        color: color-mix(in oklab, currentcolor 50%, transparent);
      }
    }
  }

  textarea {
    resize: vertical;
  }

  ::-webkit-search-decoration {
    -webkit-appearance: none;
  }

  ::-webkit-date-and-time-value {
    min-height: 1lh;
    text-align: inherit;
  }

  ::-webkit-datetime-edit {
    display: inline-flex;
  }

  ::-webkit-datetime-edit-fields-wrapper {
    padding: 0;
  }

  ::-webkit-datetime-edit {
    padding-block: 0;
  }

  ::-webkit-datetime-edit-year-field {
    padding-block: 0;
  }

  ::-webkit-datetime-edit-month-field {
    padding-block: 0;
  }

  ::-webkit-datetime-edit-day-field {
    padding-block: 0;
  }

  ::-webkit-datetime-edit-hour-field {
    padding-block: 0;
  }

  ::-webkit-datetime-edit-minute-field {
    padding-block: 0;
  }

  ::-webkit-datetime-edit-second-field {
    padding-block: 0;
  }

  ::-webkit-datetime-edit-millisecond-field {
    padding-block: 0;
  }

  ::-webkit-datetime-edit-meridiem-field {
    padding-block: 0;
  }

  ::-webkit-calendar-picker-indicator {
    line-height: 1;
  }

  :-moz-ui-invalid {
    box-shadow: none;
  }

  button, input:where([type="button"], [type="reset"], [type="submit"]) {
    appearance: button;
  }

  ::file-selector-button {
    appearance: button;
  }

  ::-webkit-inner-spin-button {
    height: auto;
  }

  ::-webkit-outer-spin-button {
    height: auto;
  }

  [hidden]:where(:not([hidden="until-found"])) {
    display: none !important;
  }
}

@layer components;

@layer utilities {
  .collapse {
    visibility: collapse;
  }

  .invisible {
    visibility: hidden;
  }

  .visible {
    visibility: visible;
  }

  .absolute {
    position: absolute;
  }

  .fixed {
    position: fixed;
  }

  .relative {
    position: relative;
  }

  .static {
    position: static;
  }

  .sticky {
    position: sticky;
  }

  .start {
    inset-inline-start: var(--spacing);
  }

  .end {
    inset-inline-end: var(--spacing);
  }

  .container {
    width: 100%;
  }

  @media (min-width: 40rem) {
    .container {
      max-width: 40rem;
    }
  }

  @media (min-width: 48rem) {
    .container {
      max-width: 48rem;
    }
  }

  @media (min-width: 64rem) {
    .container {
      max-width: 64rem;
    }
  }

  @media (min-width: 80rem) {
    .container {
      max-width: 80rem;
    }
  }

  @media (min-width: 96rem) {
    .container {
      max-width: 96rem;
    }
  }

  .me-2 {
    margin-inline-end: calc(var(--spacing) * 2);
  }

  .mb-3 {
    margin-bottom: calc(var(--spacing) * 3);
  }

  .block {
    display: block;
  }

  .contents {
    display: contents;
  }

  .flex {
    display: flex;
  }

  .grid {
    display: grid;
  }

  .hidden {
    display: none;
  }

  .inline {
    display: inline;
  }

  .inline-block {
    display: inline-block;
  }

  .inline-flex {
    display: inline-flex;
  }

  .table {
    display: table;
  }

  .w-100 {
    width: calc(var(--spacing) * 100);
  }

  .border-collapse {
    border-collapse: collapse;
  }

  .transform {
    transform: var(--tw-rotate-x, ) var(--tw-rotate-y, ) var(--tw-rotate-z, ) var(--tw-skew-x, ) var(--tw-skew-y, );
  }

  .animate-spin {
    animation: var(--animate-spin);
  }

  .resize {
    resize: both;
  }

  .flex-wrap {
    flex-wrap: wrap;
  }

  .truncate {
    text-overflow: ellipsis;
    white-space: nowrap;
    overflow: hidden;
  }

  .border {
    border-style: var(--tw-border-style);
    border-width: 1px;
  }

  .text-center {
    text-align: center;
  }

  .break-all {
    word-break: break-all;
  }

  .capitalize {
    text-transform: capitalize;
  }

  .lowercase {
    text-transform: lowercase;
  }

  .uppercase {
    text-transform: uppercase;
  }

  .italic {
    font-style: italic;
  }

  .tabular-nums {
    --tw-numeric-spacing: tabular-nums;
    font-variant-numeric: var(--tw-ordinal, ) var(--tw-slashed-zero, ) var(--tw-numeric-figure, ) var(--tw-numeric-spacing, ) var(--tw-numeric-fraction, );
  }

  .line-through {
    text-decoration-line: line-through;
  }

  .overline {
    text-decoration-line: overline;
  }

  .underline {
    text-decoration-line: underline;
  }

  .ring {
    --tw-ring-shadow: var(--tw-ring-inset, ) 0 0 0 calc(1px + var(--tw-ring-offset-width)) var(--tw-ring-color, currentcolor);
    box-shadow: var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow);
  }

  .outline {
    outline-style: var(--tw-outline-style);
    outline-width: 1px;
  }

  .filter {
    filter: var(--tw-blur, ) var(--tw-brightness, ) var(--tw-contrast, ) var(--tw-grayscale, ) var(--tw-hue-rotate, ) var(--tw-invert, ) var(--tw-saturate, ) var(--tw-sepia, ) var(--tw-drop-shadow, );
  }

  .transition {
    transition-property: color, background-color, border-color, outline-color, text-decoration-color, fill, stroke, --tw-gradient-from, --tw-gradient-via, --tw-gradient-to, opacity, box-shadow, transform, translate, scale, rotate, filter, -webkit-backdrop-filter, backdrop-filter, display, content-visibility, overlay, pointer-events;
    transition-timing-function: var(--tw-ease, var(--default-transition-timing-function));
    transition-duration: var(--tw-duration, var(--default-transition-duration));
  }

  .ease-in-out {
    --tw-ease: var(--ease-in-out);
    transition-timing-function: var(--ease-in-out);
  }

  .ease-out {
    --tw-ease: var(--ease-out);
    transition-timing-function: var(--ease-out);
  }
}

:root {
  --cor-primaria: #41b9e1;
  --cor-primaria-escura: #2a9bbf;
  --cor-primaria-clara: #6ecce9;
  --cor-fundo: #f5f6fb;
  --cor-texto: #27324a;
  --cor-sucesso: #28a745;
  --cor-erro: #dc3545;
}

html, body {
  height: 100%;
  min-height: 100vh;
  color: var(--cor-texto);
  margin: 0;
  padding: 0;
  font-family: Segoe UI, Tahoma, Geneva, Verdana, sans-serif;
}

.login-container {
  --lightningcss-light: initial;
  --lightningcss-dark: ;
  color-scheme: light;
  justify-content: center;
  align-items: center;
  min-height: 100vh;
  padding: 20px;
  display: flex;
  background: var(--cor-login-fundo, linear-gradient(135deg, #41b9e1 0%, #2a9bbf 100%)) !important;
}

.login-card {
  border-radius: 15px;
  width: 100%;
  max-width: 420px;
  padding: 40px;
  box-shadow: 0 10px 30px #0003;
  color: #212529 !important;
  background: #fff !important;
}

.login-card .form-control, .login-card input {
  color: #212529 !important;
  background-color: #fff !important;
  border: 1px solid #ced4da !important;
}

.login-card .form-label, .login-card label {
  color: #212529 !important;
}

.login-logo {
  text-align: center;
  margin-bottom: 30px;
}

.login-titulo {
  text-align: center;
  overflow-wrap: break-word;
  margin-bottom: 30px;
  font-size: clamp(1.05rem, 5vw, 1.5rem);
  font-weight: 600;
  line-height: 1.25;
  color: var(--cor-login-texto, #41b9e1) !important;
}

.btn-primario {
  background-color: var(--cor-primaria);
  border-color: var(--cor-primaria);
  color: #fff;
  cursor: pointer;
  border: 1px solid #0000;
  border-radius: 8px;
  width: 100%;
  padding: 12px 30px;
  font-size: 1rem;
  font-weight: 500;
  line-height: 1.5;
  transition: all .3s;
}

.btn-primario:hover {
  background-color: var(--cor-primaria-escura);
  border-color: var(--cor-primaria-escura);
  color: #fff;
  transform: translateY(-2px);
  box-shadow: 0 5px 15px #4e76c14d;
}

.btn-primario:disabled {
  cursor: not-allowed;
  background-color: #6c757d;
  border-color: #6c757d;
  transform: none;
}

.form-control {
  color: #212529;
  box-sizing: border-box;
  background-color: #fff;
  border: 1px solid #ced4da;
  border-radius: .375rem;
  width: 100%;
  padding: .375rem .75rem;
  font-size: 1rem;
  font-weight: 400;
  line-height: 1.5;
  transition: border-color .15s ease-in-out, box-shadow .15s ease-in-out;
  display: block;
}

.form-control:focus {
  border-color: var(--cor-primaria);
  outline: none;
  box-shadow: 0 0 0 .2rem #4e76c140;
}

.form-label {
  color: var(--cor-texto);
  margin-bottom: 8px;
  font-weight: 500;
  display: block;
}

.mb-3 {
  margin-bottom: 1rem;
}

.d-grid {
  display: grid;
}

.text-center {
  text-align: center;
}

.text-decoration-none {
  text-decoration: none;
}

.text-decoration-none:hover {
  text-decoration: underline;
}

.senha-toggle {
  cursor: pointer;
  color: #6c757d;
  z-index: 2;
  background: none;
  border: none;
  justify-content: center;
  align-items: center;
  padding: 2px;
  display: flex;
  position: absolute;
  bottom: 6px;
  right: 10px;
}

.senha-toggle:after {
  content: "";
  opacity: 0;
  background: currentColor;
  width: 18px;
  height: 2px;
  transition: opacity .2s;
  position: absolute;
  transform: rotate(-45deg);
}

.senha-toggle--ativo {
  color: var(--cor-primaria);
}

.senha-toggle--ativo:after {
  opacity: 1;
}

.senha-toggle:hover {
  color: var(--cor-primaria);
}

.position-relative {
  position: relative;
}

.form-check {
  align-items: center;
  gap: 8px;
  display: flex;
}

.form-check-input {
  cursor: pointer;
  width: 1em;
  height: 1em;
  accent-color: var(--cor-primaria);
}

.form-check-label {
  cursor: pointer;
  color: var(--cor-texto);
  font-size: .9rem;
}

.alert {
  border: none;
  border-radius: 8px;
  margin-bottom: 1rem;
  padding: 15px 20px;
  font-size: .9rem;
}

.alert-danger {
  color: #721c24;
  background-color: #f8d7da;
}

.alert-success {
  color: #155724;
  background-color: #d4edda;
}

.spinner-border {
  vertical-align: -.125em;
  border: .2em solid;
  border-right-color: #0000;
  border-radius: 50%;
  width: 1rem;
  height: 1rem;
  animation: .75s linear infinite spinner-border;
  display: inline-block;
}

.spinner-border-sm {
  border-width: .15em;
  width: .85rem;
  height: .85rem;
}

.me-2 {
  margin-right: .5rem;
}

@keyframes spinner-border {
  to {
    transform: rotate(360deg);
  }
}

.requisitos-senha {
  background: #f8f9fa;
  border: 1px solid #e9ecef;
  border-radius: 8px;
  flex-direction: column;
  gap: 6px;
  margin-bottom: 4px;
  padding: 12px 14px;
  display: flex;
}

.requisito {
  align-items: center;
  gap: 8px;
  font-size: .82rem;
  transition: color .2s;
  display: flex;
}

.requisito--ok {
  color: #28a745;
}

.requisito--erro {
  color: #dc3545;
}

@media (max-width: 576px) {
  .login-card {
    padding: 28px 20px;
  }

  .login-logo svg {
    width: 52px;
    height: 52px;
  }
}

:root {
  --altura-header: 68px;
  --largura-sidebar: 240px;
  --largura-sidebar-colapsada: 78px;
  --sidebar-label-offset: 14px;
  --sidebar-collapsed-icon-offset: -8px;
  --cor-sidebar: #fff;
  --cor-sidebar-texto: #2b3552;
  --cor-sidebar-hover: #41b9e11f;
  --cor-header: #41b9e1;
  --cor-borda: #d3d6e899;
  --cor-fundo-popup: #fff;
  --cor-fundo-card: #f8fafc;
  --cor-borda-subtil: #e8eaf0;
  --cor-texto-principal: #27324a;
  --cor-texto-muted: #6b7280;
  --cor-superficie: #fff;
  --cor-fundo-alt: #f4f6fb;
  --cor-fundo-thead: #ebf6fd;
  --cor-alerta-info-bg: #eff6ff;
  --cor-alerta-info-txt: #1e40af;
  --cor-alerta-aviso-bg: #fef3c7;
  --cor-alerta-aviso-txt: #92400e;
  --cor-alerta-erro-bg: #fef2f2;
  --cor-alerta-erro-txt: #b91c1c;
  --cor-alerta-sucesso-bg: #ecfdf5;
  --cor-alerta-sucesso-txt: #15803d;
  --cor-linha-provisorio-bg: #fef9c3;
  --cor-linha-pres-bg: #fff4e6;
  --cor-linha-conferido-bg: #ecfdf5;
  --cor-linha-aviso-bg: #fefce8;
  --cor-linha-vencido-bg: #fff5f5;
  --cor-linha-pago-bg: #f0fdf4;
  --tam-icone-card: 56px;
  --raio-icone-card: 16px;
  --tam-icone-svg: 26px;
}

body.tema-escuro {
  --cor-fundo: #121420;
  --cor-texto: #e6e9f5;
  --cor-sidebar: #1c1f2d;
  --cor-sidebar-texto: #d7dbf2;
  --cor-sidebar-hover: #41b9e133;
  --cor-header: #1a3a4a;
  --cor-borda: #d3d6e82e;
  --cor-fundo-popup: #1e2639;
  --cor-fundo-card: #1a2235;
  --cor-borda-subtil: #2e3a52;
  --cor-texto-principal: #d0d5e3;
  --cor-texto-muted: #8892aa;
  --cor-superficie: #1e2639;
  --cor-fundo-alt: #252f45;
  --cor-fundo-thead: #162535;
  --cor-alerta-info-bg: #0d2a38;
  --cor-alerta-info-txt: #41b9e1;
  --cor-alerta-aviso-bg: #2e2200;
  --cor-alerta-aviso-txt: #f5c842;
  --cor-alerta-erro-bg: #3a1a1a;
  --cor-alerta-erro-txt: #f87171;
  --cor-alerta-sucesso-bg: #0a2a18;
  --cor-alerta-sucesso-txt: #4ade80;
  --cor-linha-provisorio-bg: #3a3106;
  --cor-linha-pres-bg: #3a2408;
  --cor-linha-conferido-bg: #0e2b1c;
  --cor-linha-aviso-bg: #2f2705;
  --cor-linha-vencido-bg: #3a1d1d;
  --cor-linha-pago-bg: #12291c;
}

.bi {
  fill: currentColor;
  width: 1em;
  height: 1em;
  display: inline-block;
}

.header-dashboard {
  top: 0;
  left: var(--largura-sidebar);
  width: calc(100% - var(--largura-sidebar));
  height: var(--altura-header);
  background: var(--cor-header);
  color: #fff;
  z-index: 1040;
  justify-content: space-between;
  align-items: center;
  padding: 0 24px;
  transition: left .3s, width .3s, background .3s;
  display: flex;
  position: fixed;
  box-shadow: 0 14px 32px #324a7847;
}

body.sidebar-collapsed .header-dashboard {
  left: var(--largura-sidebar-colapsada);
  width: calc(100% - var(--largura-sidebar-colapsada));
}

.header-left, .header-right {
  align-items: center;
  gap: 16px;
  display: flex;
}

.btn-toggle-sidebar {
  color: #fff;
  cursor: pointer;
  background: none;
  border: 1px solid #ffffff73;
  border-radius: 10px;
  justify-content: center;
  align-items: center;
  width: 40px;
  height: 40px;
  padding: 0;
  transition: background .2s, border .2s;
  display: flex;
}

.btn-toggle-sidebar:hover {
  background: #fff3;
  border-color: #ffffffa6;
}

.header-system-name {
  letter-spacing: .02em;
  white-space: nowrap;
  font-size: .95rem;
  font-weight: 300;
}

.header-icon {
  color: #fff;
  cursor: pointer;
  background: none;
  border: 1px solid #0000;
  border-radius: 10px;
  justify-content: center;
  align-items: center;
  width: 38px;
  height: 38px;
  padding: 0;
  transition: background .2s, border .2s;
  display: flex;
}

.header-icon:hover {
  background: #fff3;
  border-color: #fff6;
}

.header-finance {
  align-items: center;
  gap: 18px;
  display: flex;
}

.finance-item {
  color: #fff;
  cursor: pointer;
  background: none;
  border: none;
  justify-content: center;
  align-items: center;
  padding: 0;
  display: inline-flex;
  position: relative;
}

.finance-icon {
  background: #ffffff26;
  border-radius: 8px;
  justify-content: center;
  align-items: center;
  width: 28px;
  height: 28px;
  display: flex;
}

.finance-symbol {
  font-size: .95rem;
  font-weight: 700;
  line-height: 1;
}

.finance-badge {
  color: #fff;
  border-radius: 9px;
  min-width: 18px;
  height: 18px;
  padding: 0 5px;
  font-size: .68rem;
  font-weight: 700;
  line-height: 18px;
  position: absolute;
  top: -6px;
  right: -10px;
}

.badge-expense {
  background: #d9534f;
}

.badge-income {
  background: #28a745;
}

.header-icones {
  align-items: center;
  gap: 8px;
  display: flex;
}

.badge-notificacao {
  color: #fff;
  background: #d9534f;
  border-radius: 8px;
  min-width: 16px;
  height: 16px;
  padding: 0 3px;
  font-size: .62rem;
  font-weight: 700;
  line-height: 16px;
  position: absolute;
  top: 4px;
  right: 4px;
}

.header-user-info {
  cursor: pointer;
  color: #fff;
  background: #ffffff24;
  border: 1px solid #ffffff59;
  border-radius: 26px;
  align-items: center;
  gap: 10px;
  min-width: 0;
  max-width: 220px;
  padding: 6px 12px;
  transition: background .2s, border .2s;
  display: flex;
}

.header-user-info:hover {
  background: #ffffff38;
  border-color: #ffffff73;
}

.header-user-foto {
  background: #fff;
  border-radius: 50%;
  flex-shrink: 0;
  justify-content: center;
  align-items: center;
  width: 36px;
  height: 36px;
  display: flex;
  overflow: hidden;
}

.header-user-dados {
  flex-direction: column;
  flex: 1;
  min-width: 0;
  line-height: 1.2;
  display: flex;
}

.header-user-nome {
  white-space: nowrap;
  text-overflow: ellipsis;
  font-size: .88rem;
  font-weight: 600;
  overflow: hidden;
}

.header-user-perfil {
  letter-spacing: .1em;
  text-transform: uppercase;
  color: #ffffffbf;
  white-space: nowrap;
  text-overflow: ellipsis;
  font-size: .68rem;
  overflow: hidden;
}

.header-user-seta {
  color: #fffc;
  align-items: center;
  display: flex;
}

.header-dropdown {
  position: relative;
}

.dropdown-menu {
  z-index: 1100;
  border: 1px solid var(--cor-borda);
  background: #fff;
  border-radius: 18px;
  min-width: 280px;
  max-width: 320px;
  padding: 18px 0;
  position: absolute;
  top: calc(100% + 12px);
  right: 0;
  box-shadow: 0 24px 48px #2029442e;
}

.dropdown-header {
  border-bottom: 1px solid var(--cor-borda);
  align-items: center;
  gap: 12px;
  min-width: 0;
  padding: 0 16px 16px;
  display: flex;
}

.dropdown-user-foto {
  background: linear-gradient(135deg, var(--cor-primaria) 0%, var(--cor-primaria-clara) 100%);
  color: #fff;
  border-radius: 50%;
  flex-shrink: 0;
  justify-content: center;
  align-items: center;
  width: 44px;
  height: 44px;
  font-weight: 700;
  display: flex;
}

.dropdown-header-info {
  flex: 1;
  min-width: 0;
}

.dropdown-header h4 {
  color: var(--cor-texto);
  white-space: nowrap;
  text-overflow: ellipsis;
  margin: 0 0 2px;
  font-size: .95rem;
  font-weight: 600;
  overflow: hidden;
}

.dropdown-header span {
  color: #6b7186;
  white-space: nowrap;
  text-overflow: ellipsis;
  font-size: .78rem;
  display: block;
  overflow: hidden;
}

.dropdown-menu a {
  color: var(--cor-texto);
  align-items: center;
  gap: 10px;
  padding: 10px 20px;
  font-size: .9rem;
  text-decoration: none;
  transition: background .2s, color .2s;
  display: flex;
}

.dropdown-menu a:hover {
  color: var(--cor-primaria);
  background: #41b9e11f;
}

.sidebar {
  width: var(--largura-sidebar);
  background: var(--cor-sidebar);
  border-right: 1px solid var(--cor-borda);
  z-index: 999;
  flex-direction: column;
  transition: width .3s, background .3s;
  display: flex;
  position: fixed;
  top: 0;
  bottom: 0;
  left: 0;
  overflow-y: auto;
  box-shadow: 6px 0 18px #1e263e0f;
}

.sidebar::-webkit-scrollbar {
  width: 4px;
}

.sidebar::-webkit-scrollbar-thumb {
  background-color: #41b9e14d;
  border-radius: 2px;
}

.sidebar-topo {
  border-bottom: 1px solid var(--cor-borda);
  min-height: var(--altura-header);
  justify-content: center;
  align-items: center;
  gap: 10px;
  padding: 12px 16px;
  display: flex;
}

.sidebar-logo {
  flex: 1;
  justify-content: center;
  align-items: center;
  display: flex;
}

.sidebar-compact-icon {
  background: var(--cor-primaria);
  color: #fff;
  border-radius: 12px;
  justify-content: center;
  align-items: center;
  width: 46px;
  height: 46px;
  margin: 0 auto;
  display: none;
}

.sidebar-label {
  padding: 12px var(--sidebar-label-offset) 4px;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: #434a5e8c;
  white-space: nowrap;
  font-size: .7rem;
  overflow: hidden;
}

.sidebar-menu {
  flex: 1;
  padding: 6px 0 18px;
}

.sidebar-item {
  margin-top: 2px;
}

.sidebar-link {
  color: var(--cor-sidebar-texto);
  border-radius: 10px;
  align-items: center;
  gap: 8px;
  padding: 9px 12px;
  font-size: .875rem;
  font-weight: 500;
  text-decoration: none;
  transition: background .2s, color .2s;
  display: flex;
}

.sidebar-link:hover, .sidebar-link.active {
  background: var(--cor-sidebar-hover);
  color: var(--cor-primaria);
}

.sidebar-icon {
  flex-shrink: 0;
  justify-content: center;
  align-items: center;
  width: 20px;
  height: 20px;
  display: flex;
}

.sidebar-texto {
  white-space: nowrap;
  flex: 1;
}

.sidebar-arrow {
  align-items: center;
  transition: transform .3s;
  display: flex;
}

.sidebar-arrow.rotated {
  transform: rotate(90deg);
}

.sidebar-submenu {
  max-height: 0;
  padding-left: 28px;
  padding-right: 8px;
  transition: max-height .3s;
  overflow: hidden;
}

.sidebar-submenu.show {
  max-height: 600px;
}

.sidebar-submenu-link {
  color: var(--cor-sidebar-texto);
  border-radius: 8px;
  align-items: center;
  gap: 8px;
  padding: 7px 10px;
  font-size: .875rem;
  text-decoration: none;
  transition: background .2s, color .2s;
  display: flex;
}

.sidebar-submenu-link:hover, .sidebar-submenu-link.active {
  background: var(--cor-sidebar-hover);
  color: var(--cor-primaria);
}

.sidebar-submenu-texto {
  white-space: nowrap;
  text-overflow: ellipsis;
  flex: 1;
  min-width: 0;
  overflow: hidden;
}

body.sidebar-collapsed .sidebar {
  width: var(--largura-sidebar-colapsada);
}

body.sidebar-collapsed .sidebar-logo {
  display: none;
}

body.sidebar-collapsed .sidebar-compact-icon {
  display: flex;
}

body.sidebar-collapsed .sidebar-topo {
  padding: 12px 6px;
}

body.sidebar-collapsed .sidebar-label, body.sidebar-collapsed .sidebar-texto, body.sidebar-collapsed .sidebar-arrow {
  opacity: 0;
  pointer-events: none;
  width: 0;
  position: absolute;
  overflow: hidden;
}

body.sidebar-collapsed .sidebar-submenu {
  display: none;
}

body.sidebar-collapsed .sidebar-link {
  justify-content: center;
  padding: 10px;
}

.banner-aviso-sistema {
  border-bottom-style: solid;
  border-bottom-width: 3px;
  align-items: center;
  gap: 14px;
  margin: -24px -32px 20px;
  padding: 12px 24px;
  font-size: .88rem;
  font-weight: 500;
  display: flex;
  position: relative;
  box-shadow: 0 2px 10px #0000001a;
}

.banner-aviso-sistema + .banner-aviso-sistema {
  margin-top: -16px;
}

.banner-aviso-sistema .banner-aviso-icone {
  border-radius: 50%;
  flex-shrink: 0;
  place-items: center;
  width: 36px;
  height: 36px;
  display: grid;
}

.banner-aviso-sistema .banner-aviso-conteudo {
  flex: 1;
  min-width: 0;
}

.banner-aviso-sistema .banner-aviso-conteudo strong {
  font-size: .94rem;
  font-weight: 700;
}

.banner-aviso-sistema .banner-aviso-msg {
  opacity: .95;
}

.banner-aviso-sistema .banner-aviso-cta {
  letter-spacing: .3px;
  white-space: nowrap;
  border-radius: 8px;
  flex-shrink: 0;
  align-items: center;
  gap: 6px;
  padding: 9px 16px;
  font-size: .86rem;
  font-weight: 700;
  text-decoration: none;
  transition: transform .15s, box-shadow .15s, filter .15s;
  display: inline-flex;
}

.banner-aviso-sistema .banner-aviso-cta:hover {
  filter: brightness(1.08);
  transform: translateY(-1px);
  box-shadow: 0 4px 12px #0000002e;
}

.banner-aviso-sistema .banner-aviso-cta:active {
  transform: translateY(0);
}

.banner-aviso-warning {
  color: #78350f;
  background: linear-gradient(90deg, #fef3c7 0%, #fde68a 60%, #fcd34d 100%);
  border-bottom-color: #d97706;
}

.banner-aviso-warning .banner-aviso-icone {
  color: #b45309;
  background: #d9770638;
}

.banner-aviso-warning .banner-aviso-cta {
  color: #fff;
  background: #b45309;
  box-shadow: 0 2px 8px #b4530966;
}

.banner-aviso-bloqueante {
  color: #7c2d12;
  background: linear-gradient(135deg, #fed7aa 0%, #fdba74 50%, #fb923c 100%);
  border-bottom-color: #c2410c;
}

.banner-aviso-bloqueante .banner-aviso-icone {
  color: #9a3412;
  background: #c2410c38;
}

.banner-aviso-bloqueante .banner-aviso-cta {
  color: #fff;
  background: linear-gradient(135deg, #dc2626 0%, #b91c1c 100%);
  box-shadow: 0 3px 10px #dc262673;
}

.banner-aviso-bloqueante .banner-aviso-msg u {
  text-underline-offset: 3px;
  -webkit-text-decoration: underline wavy #b91c1c;
  text-decoration: underline wavy #b91c1c;
}

.banner-aviso-icone-pulse {
  animation: 1.6s ease-in-out infinite bannerIconePulse;
}

@keyframes bannerIconePulse {
  0%, 100% {
    transform: scale(1);
    box-shadow: 0 0 #dc26268c;
  }

  50% {
    transform: scale(1.1);
    box-shadow: 0 0 0 10px #dc262600;
  }
}

body.tema-escuro .banner-aviso-warning {
  color: #fde68a;
  background: linear-gradient(90deg, #422006 0%, #5a3009 100%);
  border-bottom-color: #d97706;
}

body.tema-escuro .banner-aviso-bloqueante {
  color: #fed7aa;
  background: linear-gradient(135deg, #431407 0%, #5c1d09 50%, #7c2d12 100%);
  border-bottom-color: #ea580c;
}

@media (max-width: 1023px) {
  .banner-aviso-sistema {
    flex-wrap: wrap;
    gap: 10px;
    margin: -16px -14px 16px;
    padding: 10px 16px;
  }

  .banner-aviso-sistema .banner-aviso-conteudo {
    font-size: .82rem;
  }

  .banner-aviso-sistema .banner-aviso-conteudo strong {
    margin-bottom: 2px;
    font-size: .86rem;
    display: block;
  }

  .banner-aviso-sistema .banner-aviso-cta {
    justify-content: center;
    width: 100%;
    padding: 8px 12px;
    font-size: .82rem;
  }
}

.main-content {
  margin-top: var(--altura-header);
  margin-left: var(--largura-sidebar);
  width: calc(100% - var(--largura-sidebar));
  min-height: calc(100vh - var(--altura-header));
  box-sizing: border-box;
  background: #eef1f6;
  padding: 24px 32px 80px;
  transition: margin-left .3s, width .3s;
  position: relative;
  overflow-x: clip;
}

body.tema-escuro .main-content {
  background: var(--cor-fundo);
}

body.sidebar-collapsed .main-content {
  margin-left: var(--largura-sidebar-colapsada);
  width: calc(100% - var(--largura-sidebar-colapsada));
}

.footer-dashboard {
  border-top: 1px solid var(--cor-borda);
  margin-left: var(--largura-sidebar);
  text-align: center;
  color: var(--cor-texto);
  background: #fff;
  padding: 14px 28px;
  transition: margin-left .3s, background .3s;
}

body.sidebar-collapsed .footer-dashboard {
  margin-left: var(--largura-sidebar-colapsada);
}

.sidebar-overlay {
  z-index: 1299;
  opacity: 0;
  pointer-events: none;
  background: #00000073;
  transition: opacity .3s;
  position: fixed;
  inset: 0;
}

body.sidebar-mobile-aberta .sidebar-overlay {
  opacity: 1;
  pointer-events: auto;
}

@media (max-width: 1023px) {
  .sidebar {
    z-index: 1300;
    transition: transform .3s, box-shadow .3s;
    transform: translateX(-100%);
    width: var(--largura-sidebar) !important;
  }

  body.sidebar-mobile-aberta .sidebar {
    transform: translateX(0);
    box-shadow: 8px 0 32px #00000040;
  }

  .header-dashboard {
    width: 100% !important;
    left: 0 !important;
  }

  .main-content {
    width: 100% !important;
    margin-left: 0 !important;
  }

  .footer-dashboard {
    margin-left: 0 !important;
  }

  .header-finance, .header-icon-opcional {
    display: none;
  }
}

@media (max-width: 639px) {
  .header-dashboard {
    gap: 8px;
    padding: 0 12px;
  }

  .header-user-dados, .header-user-seta, .header-icon-mensagens {
    display: none;
  }
}

body.tema-escuro .footer-dashboard, body.tema-escuro .sidebar, body.tema-escuro .dropdown-menu {
  background: var(--cor-sidebar);
}

body.tema-escuro .sidebar-logo img {
  filter: invert();
  mix-blend-mode: screen;
}

.dashboard-cards {
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 20px;
  margin-bottom: 32px;
  display: grid;
}

.dashboard-cards.cards-compacto {
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 12px;
  margin-bottom: 24px;
}

.dashboard-cards.cards-compacto .dashboard-card {
  border-radius: 12px;
  gap: 9px;
  padding: 8px 10px;
}

.dashboard-cards.cards-compacto .dashboard-card-icon {
  border-radius: 10px;
  flex: 0 0 36px;
  width: 36px;
  height: 36px;
}

.dashboard-cards.cards-compacto .dashboard-card-valor {
  font-size: 1.18rem;
}

.dashboard-cards.cards-compacto .dashboard-card-titulo {
  letter-spacing: .02em;
  font-size: .8rem;
}

@media (max-width: 1100px) {
  .dashboard-cards.cards-compacto {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 900px) {
  .dashboard-cards.cards-compacto {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 600px) {
  .dashboard-cards.cards-compacto {
    grid-template-columns: minmax(0, 1fr);
    gap: 10px;
  }
}

.dashboard-card {
  background: #fff;
  border: 1px solid #1f35561a;
  border-radius: 16px;
  align-items: center;
  gap: 14px;
  padding: 12px;
  transition: transform .25s, box-shadow .25s;
  display: flex;
  box-shadow: 0 10px 24px #0f172a0f;
}

body.tema-escuro .dashboard-card {
  background: var(--cor-sidebar);
  border-color: var(--cor-borda);
}

.dashboard-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 26px 48px #0f172a1f;
}

.dashboard-card-icon {
  width: var(--tam-icone-card);
  height: var(--tam-icone-card);
  flex: 0 0 var(--tam-icone-card);
  border-radius: var(--raio-icone-card);
  color: #fff;
  background: linear-gradient(135deg, var(--cor-primaria) 0%, var(--cor-primaria-escura) 100%);
  justify-content: center;
  align-items: center;
  display: flex;
  box-shadow: 0 8px 16px #41b9e140;
}

.dashboard-card-icon .bi {
  width: var(--tam-icone-svg);
  height: var(--tam-icone-svg);
}

.dashboard-card-content {
  flex-direction: column;
  gap: 4px;
  min-width: 0;
  display: flex;
}

.dashboard-card-titulo {
  letter-spacing: .06em;
  text-transform: uppercase;
  color: #27324a9e;
  font-size: .72rem;
  font-weight: 600;
}

.dashboard-card-valor {
  color: var(--cor-primaria-escura);
  font-size: 1.1rem;
  font-weight: 700;
  line-height: 1.1;
}

.dashboard-card-info {
  color: #27324aa6;
  font-size: .8rem;
}

body.tema-escuro .dashboard-card-titulo, body.tema-escuro .dashboard-card-info {
  color: #e6e9f599;
}

body.tema-escuro .dashboard-card-valor {
  color: var(--cor-primaria-clara);
}

.dashboard-welcome-card {
  background: #fff;
  border: 1px solid #1f35561a;
  border-radius: 16px;
  margin-bottom: 24px;
  padding: 24px;
  box-shadow: 0 10px 24px #0f172a0f;
}

body.tema-escuro .dashboard-welcome-card {
  background: var(--cor-sidebar);
  border-color: var(--cor-borda);
}

.dashboard-welcome-card h2 {
  color: var(--cor-primaria);
  margin: 0 0 6px;
  font-size: 1.15rem;
  font-weight: 600;
}

.dashboard-welcome-card p {
  color: #27324abf;
  margin: 0;
  font-size: .92rem;
}

@media (min-width: 1101px) {
  .sidebar {
    transform: none !important;
  }

  .header-dashboard {
    left: var(--largura-sidebar) !important;
    width: calc(100% - var(--largura-sidebar)) !important;
  }

  .main-content {
    margin-left: var(--largura-sidebar) !important;
  }

  body.sidebar-collapsed .header-dashboard {
    left: var(--largura-sidebar-colapsada) !important;
    width: calc(100% - var(--largura-sidebar-colapsada)) !important;
  }

  body.sidebar-collapsed .main-content, body.sidebar-collapsed .footer-dashboard {
    margin-left: var(--largura-sidebar-colapsada) !important;
  }
}

@media (max-width: 1200px) {
  :root {
    --tam-icone-card: 44px;
    --raio-icone-card: 14px;
    --tam-icone-svg: 20px;
  }
}

@media (max-width: 900px) {
  :root {
    --tam-icone-card: 36px;
    --raio-icone-card: 13px;
    --tam-icone-svg: 16px;
  }

  .dashboard-cards {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 600px) {
  :root {
    --tam-icone-card: 32px;
    --raio-icone-card: 12px;
    --tam-icone-svg: 12px;
  }

  .dashboard-cards {
    grid-template-columns: 1fr;
    gap: 10px;
  }

  .main-content {
    padding: 16px 14px 60px;
  }
}

.pagina-modulo {
  box-sizing: border-box;
  width: 100%;
  max-width: 100%;
  padding: 0;
}

.modulo-filtros-wrap {
  box-sizing: border-box;
  width: 100%;
  margin-bottom: 16px;
}

.modulo-filtros-linha {
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
  margin-bottom: 6px;
  display: flex;
}

.modulo-filtros-linha .filtro-busca {
  flex: 0 300px;
  min-width: 160px;
  overflow: hidden;
}

.modulo-filtros-linha .filtro-busca .filtro-input {
  box-sizing: border-box;
  width: 100%;
}

.modulo-filtros-linha .filtro-select {
  box-sizing: border-box;
  flex: none;
  min-width: 144px;
}

.filtro-total {
  color: #6b7280;
  white-space: nowrap;
  text-align: right;
  margin-top: 2px;
  font-size: .82rem;
  display: block;
}

.modulo-header {
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  margin-bottom: 20px;
  display: flex;
}

.modulo-titulo {
  color: var(--cor-texto);
  align-items: center;
  gap: 8px;
  margin: 0;
  font-size: 1.35rem;
  font-weight: 700;
  display: flex;
}

.btn-primario-mod {
  background: var(--cor-primaria);
  color: #fff;
  cursor: pointer;
  white-space: nowrap;
  border: none;
  border-radius: 8px;
  align-items: center;
  gap: 6px;
  padding: 9px 18px;
  font-size: .9rem;
  font-weight: 600;
  transition: background .2s;
  display: inline-flex;
}

.btn-primario-mod:hover {
  background: var(--cor-primaria-escura);
}

.btn-secundario-mod {
  background: var(--cor-superficie);
  color: var(--cor-primaria);
  border: 1px solid var(--cor-primaria);
  cursor: pointer;
  white-space: nowrap;
  border-radius: 8px;
  align-items: center;
  gap: 6px;
  padding: 8px 17px;
  font-size: .9rem;
  font-weight: 600;
  transition: background .2s, color .2s;
  display: inline-flex;
}

.btn-secundario-mod:hover {
  background: var(--cor-primaria);
  color: #fff;
}

.modulo-filtros {
  align-items: center;
  gap: 10px;
  margin-bottom: 16px;
  display: flex;
}

.filtro-busca {
  position: relative;
}

.filtro-busca-icone {
  color: #6b7280;
  pointer-events: none;
  z-index: 1;
  position: absolute;
  top: 50%;
  left: 10px;
  transform: translateY(-50%);
}

.filtro-input {
  box-sizing: border-box;
  width: 100%;
  color: var(--cor-texto);
  background: #fff;
  border: 1px solid #dde1ea;
  border-radius: 8px;
  outline: none;
  min-height: 40px;
  padding: 8px 12px 8px 34px;
  font-size: .88rem;
  transition: border-color .2s;
}

.filtro-input:focus {
  border-color: var(--cor-primaria);
}

.filtro-select {
  color: var(--cor-texto);
  cursor: pointer;
  background: #fff;
  border: 1px solid #dde1ea;
  border-radius: 8px;
  outline: none;
  min-height: 40px;
  padding: 8px 12px;
  font-size: .88rem;
}

.filtro-select:focus {
  border-color: var(--cor-primaria);
}

.abas-mod {
  border-bottom: 1px solid var(--cor-borda);
  -webkit-overflow-scrolling: touch;
  scrollbar-width: thin;
  scrollbar-color: #cbd5e1 transparent;
  gap: 4px;
  margin-bottom: 20px;
  display: flex;
  overflow-x: auto;
}

.abas-mod::-webkit-scrollbar {
  height: 4px;
}

.abas-mod::-webkit-scrollbar-track {
  background: none;
}

.abas-mod::-webkit-scrollbar-thumb {
  background: #cbd5e1;
  border-radius: 2px;
}

.abas-mod > * {
  white-space: nowrap;
  flex-shrink: 0;
}

@media (max-width: 640px) {
  .abas-mod > * {
    padding-left: 12px !important;
    padding-right: 12px !important;
    font-size: .84rem !important;
  }
}

.card-item-resp {
  flex-wrap: wrap;
  align-items: center;
  gap: 14px;
  display: flex;
}

.card-item-resp > .card-item-info {
  flex: 220px;
  min-width: 0;
}

.card-item-resp > .card-item-acoes {
  flex-wrap: wrap;
  flex-shrink: 0;
  align-items: center;
  gap: 6px;
  display: flex;
}

@media (max-width: 640px) {
  .card-item-resp {
    gap: 10px;
  }

  .card-item-resp > .card-item-acoes {
    border-top: 1px solid var(--cor-borda);
    justify-content: flex-end;
    width: 100%;
    margin-top: 4px;
    padding-top: 10px;
  }
}

.editor-sidebar-layout {
  grid-template-columns: 1fr 240px;
  gap: 16px;
  display: grid;
}

.editor-sidebar-layout > .editor-sidebar-painel {
  border-left: 1px solid var(--cor-borda);
  padding-left: 16px;
}

@media (max-width: 900px) {
  .editor-sidebar-layout {
    grid-template-columns: 1fr;
  }

  .editor-sidebar-layout > .editor-sidebar-painel {
    border-left: none;
    border-top: 1px solid var(--cor-borda);
    margin-top: 4px;
    padding-top: 14px;
    padding-left: 0;
  }
}

.recebimentos-totais-grid {
  flex: 100%;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 96px), 1fr));
  align-items: stretch;
  gap: 8px;
  max-width: 100%;
  display: grid;
}

@media (min-width: 900px) {
  .recebimentos-totais-grid {
    flex-wrap: wrap;
    flex: 0 auto;
    display: flex;
  }

  .recebimentos-totais-grid > div {
    min-width: 96px;
  }
}

.config-card-grid {
  grid-template-columns: 1.2fr 1.4fr 1.4fr auto;
  align-items: center;
  gap: 18px;
  display: grid;
}

@media (max-width: 768px) {
  .config-card-grid {
    grid-template-columns: 1fr;
    gap: 12px;
  }
}

@media (max-width: 1023px) {
  .col-md, .col-lg {
    display: none;
  }

  .btn-expandir {
    display: inline-flex !important;
  }
}

@media (max-width: 639px) {
  .col-acoes {
    display: none;
  }

  .detalhe-acoes {
    display: flex !important;
  }
}

@media (max-width: 480px) {
  .col-xs, .linha-split-extra {
    display: none;
  }
}

@media (min-width: 1024px) {
  .row-detalhe {
    display: none !important;
  }
}

.btn-expandir {
  cursor: pointer;
  color: #6b7280;
  background: none;
  border: none;
  border-radius: 6px;
  flex-shrink: 0;
  justify-content: center;
  align-items: center;
  padding: 5px;
  transition: background .15s, color .15s;
  display: none;
}

.btn-expandir:hover {
  background: var(--cor-fundo-alt);
  color: var(--cor-texto);
}

.btn-expandir svg {
  transition: transform .2s;
}

.btn-expandir.aberto svg {
  transform: rotate(180deg);
}

.celula-nome-wrap {
  justify-content: space-between;
  align-items: center;
  gap: 8px;
  display: flex;
}

.col-nome-completo {
  min-width: 230px;
}

.col-nome-completo .nome-texto {
  white-space: nowrap;
}

@media (max-width: 639px) {
  .col-nome-completo {
    min-width: 140px;
  }

  .col-nome-completo .nome-texto {
    white-space: normal;
  }
}

.row-detalhe {
  display: none;
}

.row-detalhe.aberta {
  display: table-row;
}

.row-detalhe > td {
  background: var(--cor-fundo-alt);
  border-bottom: 1px solid var(--cor-borda-subtil);
  padding: 0 16px 14px;
}

.detalhe-card {
  flex-direction: column;
  gap: 10px;
  padding: 10px 0 2px;
  display: flex;
}

.detalhe-acoes {
  border-top: 1px solid var(--cor-borda-subtil);
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 10px;
  padding: 10px 0 2px;
  display: none;
}

.detalhe-campo > label {
  color: var(--cor-texto-muted);
  text-transform: uppercase;
  letter-spacing: .05em;
  margin-bottom: 2px;
  font-size: .7rem;
  display: block;
}

.detalhe-campo > span {
  color: var(--cor-texto);
  word-break: break-word;
  font-size: .85rem;
  font-weight: 500;
}

.modulo-card {
  background: #fff;
  border-radius: 12px;
  padding: 20px 24px;
  overflow: clip;
  box-shadow: 0 2px 12px #00000012;
}

.modulo-card:has(.tabela-wrapper) {
  padding: 0;
}

.tabela-wrapper {
  overflow-x: auto;
}

.tabela {
  border-collapse: collapse;
  width: 100%;
  font-size: .875rem;
}

.tabela thead tr {
  background: #ebf6fd;
  border-bottom: 2px solid #c5e8f7;
}

.tabela th {
  text-align: left;
  color: #1a6e8e;
  text-transform: uppercase;
  letter-spacing: .06em;
  white-space: nowrap;
  padding: 11px 14px;
  font-size: .72rem;
  font-weight: 700;
}

.tabela td {
  color: var(--cor-texto);
  vertical-align: middle;
  border-bottom: 1px solid #f0f1f5;
  padding: 12px 14px;
}

.tabela tbody tr:last-child td {
  border-bottom: none;
}

.tabela tbody tr:hover {
  background: #f9fafb;
}

.tabela-compacta th {
  padding: 5px 6px;
}

.tabela-compacta td {
  padding: 4px 6px;
}

.col-sm {
  white-space: nowrap;
  width: 100px;
}

.col-md {
  white-space: nowrap;
  width: 160px;
}

.col-lg {
  width: 240px;
}

.col-xs {
  white-space: nowrap;
  width: 72px;
}

.col-badge {
  white-space: nowrap;
  width: 104px;
}

.col-data {
  white-space: nowrap;
  width: 108px;
}

.col-valor {
  white-space: nowrap;
  width: 104px;
}

.col-acoes {
  white-space: nowrap;
  text-align: right;
  width: 110px;
}

.col-acoes .acoes {
  justify-content: flex-end;
}

@media (min-width: 1024px) {
  .tabela-repasse {
    min-width: 1040px;
  }
}

.tabela-repasse th {
  white-space: normal;
}

.tabela-repasse .celula-conta {
  white-space: normal;
  overflow-wrap: anywhere;
  line-height: 1.35;
}

.tabela-repasse .valor-calculo {
  color: var(--cor-texto-muted);
  white-space: normal;
  font-size: .7rem;
  font-weight: 400;
}

.col-expandir {
  text-align: center;
  white-space: nowrap;
  width: 36px;
  padding: 0 6px !important;
}

@media (min-width: 1024px) {
  .col-expandir {
    display: none;
  }
}

@media (max-width: 640px) {
  .col-oculto-mobile {
    display: none;
  }
}

.col-oculto-mobile-inv {
  display: none;
}

@media (max-width: 1023px) {
  .col-oculto-mobile-inv {
    display: block;
  }
}

.col-so-mobile {
  display: none;
}

@media (max-width: 1023px) {
  .col-so-mobile {
    display: table-cell;
  }
}

.col-escondida {
  display: none !important;
}

.tabela-vazio {
  text-align: center;
  color: #6b7280;
  padding: 48px 20px;
  font-size: .9rem;
}

.linha-inativa td {
  opacity: .7;
  filter: grayscale();
}

.linha-inativa td .acoes, .linha-inativa td .detalhe-acoes {
  filter: none;
  opacity: 1;
}

.celula-nome {
  align-items: center;
  gap: 10px;
  display: flex;
}

.avatar-iniciais {
  background: var(--cor-primaria);
  color: #fff;
  letter-spacing: .02em;
  border-radius: 50%;
  flex-shrink: 0;
  justify-content: center;
  align-items: center;
  width: 36px;
  height: 36px;
  font-size: .75rem;
  font-weight: 700;
  display: flex;
}

.nome-principal {
  color: var(--cor-texto);
  font-weight: 600;
  display: block;
}

.badge-primeiro-acesso {
  color: #856404;
  background: #fff3cd;
  border: 1px solid #ffc107;
  border-radius: 4px;
  margin-top: 2px;
  padding: 1px 6px;
  font-size: .7rem;
  display: inline-block;
}

.celula-email {
  color: #6b7a99;
  font-size: .82rem;
}

.badge-nivel, .badge-estado {
  white-space: nowrap;
  border-radius: 20px;
  align-items: center;
  padding: 3px 10px;
  font-size: .75rem;
  font-weight: 600;
  display: inline-flex;
}

.badge-nivel {
  color: var(--cor-primaria-escura);
  background: #e8f4fd;
}

.badge-ativo {
  color: #15803d;
  background: #d1f5e0;
}

.badge-inativo {
  color: #6b7280;
  background: #e9eaec;
}

.acoes {
  flex-wrap: nowrap;
  align-items: center;
  gap: 4px;
  display: flex;
}

.btn-acao {
  cursor: pointer;
  color: #6b7a99;
  background: none;
  border: none;
  border-radius: 8px;
  justify-content: center;
  align-items: center;
  width: 32px;
  height: 32px;
  transition: background .15s, color .15s;
  display: inline-flex;
}

.btn-acao:disabled {
  opacity: .4;
  cursor: not-allowed;
}

.btn-acao-ver {
  color: #1a8fba;
  background: #ebf6fd;
}

.btn-acao-ver:hover {
  background: #d0ecf8;
}

.btn-acao-editar {
  color: #c68a00;
  background: #fff8e1;
}

.btn-acao-editar:hover {
  background: #ffedb0;
}

.btn-acao-toggle-on {
  color: #1a8a45;
  background: #e6f9ee;
}

.btn-acao-toggle-on:hover {
  background: #c8f0d8;
}

.btn-acao-toggle-off {
  color: #6b7280;
  background: #f0f0f0;
}

.btn-acao-toggle-off:hover {
  background: #e0e0e0;
}

.btn-acao-apagar {
  color: #c0392b;
  background: #feecec;
}

.btn-acao-apagar:hover {
  background: #fdd5d5;
}

.modal-overlay-mod {
  top: var(--altura-header);
  bottom: 0;
  right: 0;
  left: var(--largura-sidebar);
  z-index: 2000;
  background: #00000073;
  justify-content: center;
  align-items: center;
  padding: 16px;
  animation: .15s fadeIn;
  display: flex;
  position: fixed;
}

body.sidebar-collapsed .modal-overlay-mod, body.sidebar-collapsed .modal-popup-overlay {
  left: var(--largura-sidebar-colapsada);
}

.modal-popup-overlay {
  top: var(--altura-header);
  bottom: 0;
  right: 0;
  left: var(--largura-sidebar);
  z-index: 3000;
  background: #00000073;
  justify-content: center;
  align-items: center;
  padding: 16px;
  display: flex;
  position: fixed;
}

@keyframes fadeIn {
  from {
    opacity: 0;
  }

  to {
    opacity: 1;
  }
}

.modal-caixa {
  background: #fff;
  border-radius: 14px;
  flex-direction: column;
  width: 100%;
  max-width: 520px;
  max-height: 90vh;
  animation: .18s slideUp;
  display: flex;
  overflow: hidden;
  box-shadow: 0 8px 32px #0000002e;
}

.modal-caixa-sm {
  max-width: 420px;
  padding: 36px 32px 32px;
}

@keyframes slideUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes skeleton-shimmer {
  0% {
    background-position: -200% 0;
  }

  100% {
    background-position: 200% 0;
  }
}

.modal-cabecalho {
  border-bottom: 1px solid #f0f1f5;
  flex-shrink: 0;
  justify-content: space-between;
  align-items: center;
  padding: 18px 22px 14px;
  display: flex;
}

.modal-cabecalho h2, .modal-cabecalho h3 {
  color: var(--cor-texto);
  margin: 0;
  font-size: 1.05rem;
  font-weight: 700;
}

.modal-cabecalho button {
  cursor: pointer;
  color: #6b7280;
  background: none;
  border: none;
  border-radius: 6px;
  align-items: center;
  padding: 4px;
  transition: background .15s;
  display: flex;
}

.modal-cabecalho button:hover {
  color: var(--cor-texto);
  background: #f0f1f5;
}

.modal-corpo {
  flex: auto;
  min-height: 0;
  padding: 20px 22px;
  overflow-y: auto;
}

.modal-rodape {
  border-top: 1px solid #f0f1f5;
  flex-shrink: 0;
  justify-content: flex-end;
  align-items: center;
  gap: 10px;
  padding: 14px 22px 18px;
  display: flex;
}

.form-grid {
  grid-template-columns: 1fr 1fr;
  gap: 14px 16px;
  display: grid;
}

.form-coluna {
  flex-direction: column;
  gap: 14px;
  display: flex;
}

.form-grupo {
  flex-direction: column;
  gap: 4px;
  display: flex;
}

.form-grupo-full {
  flex-direction: column;
  grid-column: 1 / -1;
  gap: 4px;
  display: flex;
}

.toggle-estado {
  cursor: pointer;
  -webkit-user-select: none;
  user-select: none;
  border: none;
  border-radius: 20px;
  align-items: center;
  gap: 10px;
  width: fit-content;
  padding: 6px 14px 6px 8px;
  font-size: .88rem;
  font-weight: 600;
  transition: background .25s, box-shadow .2s;
  display: inline-flex;
}

.toggle-estado:focus-visible {
  outline: 2px solid var(--cor-primaria);
  outline-offset: 2px;
}

.toggle-ativo {
  color: #15803d;
  background: #d1f5e0;
  box-shadow: 0 0 0 1px #bbf7d0;
}

.toggle-inativo {
  color: #b91c1c;
  background: #fce8e8;
  box-shadow: 0 0 0 1px #fca5a5;
}

.toggle-bolinha {
  border-radius: 50%;
  flex-shrink: 0;
  width: 20px;
  height: 20px;
  transition: background .25s;
}

.toggle-ativo .toggle-bolinha {
  background: #16a34a;
}

.toggle-inativo .toggle-bolinha {
  background: #dc2626;
}

.input-senha-wrap {
  flex-direction: column;
  gap: 4px;
  display: flex;
}

.input-senha-dica {
  color: #b0b8cc;
  letter-spacing: .01em;
  font-size: .73rem;
  font-style: italic;
}

.form-input-mod::placeholder {
  color: #c4cad8;
  font-style: italic;
}

.form-label-mod {
  color: #6b7a99;
  font-size: .82rem;
  font-weight: 600;
}

.obrigatorio {
  color: var(--cor-erro);
  margin-left: 2px;
}

.form-input-mod {
  min-height: 40px;
  color: var(--cor-texto);
  box-sizing: border-box;
  background: #fff;
  border: 1px solid #dde1ea;
  border-radius: 8px;
  outline: none;
  width: 100%;
  padding: 9px 12px;
  font-size: .88rem;
  transition: border-color .2s;
}

.form-input-mod:focus {
  border-color: var(--cor-primaria);
}

.form-input-mod.input-erro {
  border-color: var(--cor-erro);
}

.form-hint {
  color: #6b7280;
  margin-top: 2px;
  font-size: .75rem;
}

.erro-campo {
  color: var(--cor-erro);
  margin-top: 2px;
  font-size: .75rem;
}

.alerta-erro {
  color: #b91c1c;
  background: #fce8e8;
  border: 1px solid #fca5a5;
  border-radius: 8px;
  margin-bottom: 14px;
  padding: 10px 14px;
  font-size: .85rem;
}

.aviso-info {
  color: #92400e;
  background: #fffbeb;
  border: 1px solid #fcd34d;
  border-radius: 7px;
  padding: 8px 12px;
  font-size: .8rem;
}

.modal-caixa-lg {
  width: 100%;
  max-width: 645px;
}

.modal-caixa-xl {
  width: 100%;
  max-width: 820px;
}

.socios-abas {
  border-bottom: 1px solid #f0f1f5;
  flex-shrink: 0;
  align-items: center;
  gap: 0;
  padding: 0 22px;
  display: flex;
  overflow-x: auto;
}

.socios-aba {
  color: #6b7280;
  cursor: pointer;
  white-space: nowrap;
  background: none;
  border: none;
  border-bottom: 2px solid #0000;
  align-items: center;
  gap: 6px;
  padding: 10px 16px;
  font-size: .87rem;
  transition: color .15s;
  display: flex;
  position: relative;
}

.socios-aba:hover {
  color: var(--cor-primaria);
}

.socios-aba-activa {
  color: var(--cor-primaria);
  border-bottom-color: var(--cor-primaria);
  font-weight: 600;
}

.socios-aba-badge {
  color: #fff;
  text-align: center;
  background: #ef4444;
  border-radius: 10px;
  min-width: 18px;
  padding: 1px 6px;
  font-size: .7rem;
  font-weight: 700;
}

.socios-stat-card {
  background: #fafbfc;
  border: 1px solid #f0f1f5;
  border-radius: 10px;
  flex-direction: column;
  flex: 140px;
  gap: 2px;
  min-width: 120px;
  padding: 12px 16px;
  display: flex;
}

.socios-stat-label {
  color: #6b7280;
  font-size: .78rem;
}

.socios-stat-valor {
  font-size: 1.1rem;
  font-weight: 700;
}

.socios-stat-qtd {
  color: #6b7280;
  font-size: .75rem;
}

.mens-item {
  background: #fafbfc;
  border: 1px solid #f0f1f5;
  border-radius: 10px;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 8px;
  padding: 12px 14px;
  display: flex;
}

.mens-item-info {
  flex: 1 1 0;
  min-width: 0;
}

.mens-item-nome {
  color: #27324a;
  font-size: .9rem;
  font-weight: 600;
}

.mens-item-sub {
  color: #6b7280;
  margin-top: 2px;
  font-size: .78rem;
}

.mens-item-valor {
  margin: 0 16px;
  font-size: 1rem;
  font-weight: 700;
}

.mens-item-acoes {
  gap: 6px;
  display: flex;
}

.badge-mens {
  letter-spacing: .02em;
  border-radius: 12px;
  align-items: center;
  padding: 2px 10px;
  font-size: .72rem;
  font-weight: 600;
  display: inline-flex;
}

.obs-item {
  background: #fafbfc;
  border-left: 3px solid #dde1ea;
  border-radius: 8px;
  align-items: flex-start;
  gap: 10px;
  margin-bottom: 8px;
  padding: 10px 12px;
  display: flex;
}

.obs-item-titulo {
  font-size: .88rem;
  font-weight: 600;
}

.obs-item-texto {
  color: #6b7280;
  margin-top: 2px;
  font-size: .82rem;
}

.obs-item-acoes {
  flex-shrink: 0;
  gap: 4px;
  margin-left: auto;
  display: flex;
}

.alerta-item {
  background: #fff;
  border: 1px solid #f0f1f5;
  border-radius: 10px;
  align-items: flex-start;
  gap: 10px;
  margin-bottom: 8px;
  padding: 12px 14px;
  display: flex;
}

.alerta-item.resolvido {
  opacity: .5;
}

.alerta-item-info {
  flex: 1 1 0;
  min-width: 0;
}

.alerta-item-titulo {
  font-size: .88rem;
  font-weight: 600;
}

.alerta-item-msg {
  color: #6b7280;
  margin-top: 2px;
  font-size: .8rem;
}

.alerta-item-meta {
  color: #6b7280;
  margin-top: 4px;
  font-size: .75rem;
}

.alerta-item-acoes {
  flex-shrink: 0;
  gap: 4px;
  display: flex;
}

.form-inline-novo {
  background: #f5f6fb;
  border: 1px dashed #dde1ea;
  border-radius: 10px;
  margin-top: 12px;
  padding: 14px;
}

.badge-prioridade {
  border-radius: 10px;
  padding: 1px 8px;
  font-size: .7rem;
  font-weight: 700;
  display: inline-block;
}

.prioridade-URGENTE {
  color: #991b1b;
  background: #fee2e2;
}

.prioridade-ALTA {
  color: #9a3412;
  background: #fed7aa;
}

.prioridade-MEDIA {
  color: #92400e;
  background: #fef3c7;
}

.prioridade-BAIXA {
  color: #065f46;
  background: #d1fae5;
}

.recibo-item {
  background: #fafbfc;
  border: 1px solid #f0f1f5;
  border-radius: 8px;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 6px;
  padding: 10px 14px;
  font-size: .85rem;
  display: flex;
}

.recibo-item.cancelado {
  opacity: .5;
  text-decoration: line-through;
}

.recibo-num {
  color: #27324a;
  font-weight: 700;
}

.recibo-val {
  color: #15803d;
  font-weight: 700;
}

.comp-row-vencido {
  background: #fff5f5 !important;
}

.comp-row-pago {
  background: #f0fdf4 !important;
}

body.tema-escuro .comp-row-vencido {
  background: var(--cor-linha-vencido-bg) !important;
}

body.tema-escuro .comp-row-pago {
  background: var(--cor-linha-pago-bg) !important;
}

.txt-compra-pdv {
  color: #1d4ed8;
}

body.tema-escuro .txt-compra-pdv {
  color: var(--cor-alerta-info-txt);
}

.chip-alerta {
  background: none;
  background: var(--chip-alerta-cor, #dc2626);
  border-radius: 10px;
  align-items: center;
  gap: 4px;
  font-weight: 700;
  display: inline-flex;
}

@supports (color: color-mix(in lab, red, red)) {
  .chip-alerta {
    background: color-mix(in srgb, var(--chip-alerta-cor, #dc2626) 10%, transparent);
  }
}

.chip-alerta {
  color: var(--chip-alerta-cor, #dc2626);
}

body.tema-escuro .chip-alerta {
  background: var(--chip-alerta-cor, #dc2626);
}

@supports (color: color-mix(in lab, red, red)) {
  body.tema-escuro .chip-alerta {
    background: color-mix(in srgb, var(--chip-alerta-cor, #dc2626) 26%, transparent);
  }
}

body.tema-escuro .chip-alerta {
  color: var(--chip-alerta-cor, #dc2626);
}

@supports (color: color-mix(in lab, red, red)) {
  body.tema-escuro .chip-alerta {
    color: color-mix(in srgb, var(--chip-alerta-cor, #dc2626) 45%, #fff);
  }
}

.form-linha {
  flex-wrap: nowrap;
  gap: 14px;
  display: flex;
}

.form-linha .form-grupo {
  flex: 1 1 0;
  min-width: 0;
}

.radio-grupo {
  gap: 10px;
  display: flex;
}

.radio-opcao {
  color: #6b7a99;
  cursor: pointer;
  -webkit-user-select: none;
  user-select: none;
  border: 1.5px solid #dde1ea;
  border-radius: 8px;
  align-items: center;
  gap: 7px;
  padding: 8px 16px;
  font-size: .85rem;
  font-weight: 500;
  transition: border-color .2s, background .2s, color .2s;
  display: flex;
}

.radio-opcao input[type="radio"] {
  accent-color: var(--cor-primaria);
  cursor: pointer;
}

.radio-opcao-ativo {
  border-color: var(--cor-primaria);
  color: var(--cor-primaria);
  background: #41b9e114;
}

.toggle-switch-wrap {
  align-items: center;
  gap: 10px;
  margin-top: 4px;
  display: flex;
}

.toggle-switch {
  cursor: pointer;
  border: none;
  border-radius: 13px;
  flex-shrink: 0;
  width: 46px;
  height: 26px;
  padding: 0;
  transition: background .25s;
  position: relative;
}

.toggle-switch-on {
  background: #16a34a;
}

.toggle-switch-off {
  background: #d1d5db;
}

.toggle-switch-thumb {
  background: #fff;
  border-radius: 50%;
  width: 20px;
  height: 20px;
  transition: left .25s;
  position: absolute;
  top: 3px;
  left: 3px;
  box-shadow: 0 1px 4px #0000002e;
}

.toggle-switch-on .toggle-switch-thumb {
  left: 23px;
}

.toggle-switch-label {
  font-size: .85rem;
  font-weight: 600;
}

.toggle-label-on {
  color: #16a34a;
}

.toggle-label-off {
  color: #9ca3af;
}

.typeahead-lista {
  z-index: 200;
  background: #fff;
  border: 1px solid #dde1ea;
  border-radius: 8px;
  margin-top: 2px;
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  overflow: hidden;
  box-shadow: 0 4px 16px #0000001f;
}

.typeahead-item {
  text-align: left;
  cursor: pointer;
  background: none;
  border: none;
  align-items: center;
  gap: 10px;
  width: 100%;
  padding: 10px 14px;
  transition: background .15s;
  display: flex;
}

.typeahead-item:hover {
  background: #f0f7ff;
}

.typeahead-avatar {
  background: var(--cor-primaria);
  color: #fff;
  border-radius: 50%;
  flex-shrink: 0;
  justify-content: center;
  align-items: center;
  width: 34px;
  height: 34px;
  font-size: .75rem;
  font-weight: 700;
  display: flex;
}

.typeahead-info {
  flex-direction: column;
  min-width: 0;
  display: flex;
}

.typeahead-nome {
  color: var(--cor-texto);
  font-size: .85rem;
  font-weight: 600;
}

.typeahead-email {
  color: #6b7280;
  white-space: nowrap;
  text-overflow: ellipsis;
  font-size: .75rem;
  overflow: hidden;
}

.typeahead-foto {
  object-fit: cover;
  border-radius: 50%;
  flex-shrink: 0;
  width: 34px;
  height: 34px;
}

.avatar-foto {
  object-fit: cover;
  border-radius: 50%;
  flex-shrink: 0;
  width: 32px;
  height: 32px;
}

.ver-foto {
  object-fit: cover;
  border-radius: 50%;
  width: 80px;
  height: 80px;
  margin: 0 auto 16px;
  display: block;
}

.foto-upload-area {
  cursor: pointer;
  border: 2px dashed #dde1ea;
  border-radius: 50%;
  flex-shrink: 0;
  justify-content: center;
  align-items: center;
  width: 90px;
  height: 90px;
  transition: border-color .2s;
  display: flex;
  overflow: hidden;
}

.foto-upload-area:hover {
  border-color: var(--cor-primaria);
}

.foto-preview-img {
  object-fit: cover;
  width: 100%;
  height: 100%;
}

.foto-placeholder {
  flex-direction: column;
  align-items: center;
  gap: 4px;
  display: flex;
}

.foto-placeholder span {
  color: #6b7280;
  text-align: center;
  font-size: .65rem;
  line-height: 1.2;
}

.tel-wrap {
  align-items: stretch;
  gap: 6px;
  display: flex;
}

.tel-input {
  flex: 1;
  min-width: 0;
}

.ddi-picker {
  flex-shrink: 0;
  position: relative;
}

.ddi-btn {
  cursor: pointer;
  white-space: nowrap;
  background: #f8f9fc;
  border: 1px solid #dde1ea;
  border-radius: 8px;
  align-items: center;
  gap: 4px;
  height: 100%;
  padding: 0 10px;
  font-size: .8rem;
  transition: border-color .2s;
  display: flex;
}

.ddi-btn:hover {
  border-color: var(--cor-primaria);
}

.ddi-flag {
  color: #4b5563;
  letter-spacing: .03em;
  font-size: .78rem;
  font-weight: 700;
}

.ddi-code {
  color: #6b7a99;
  font-size: .78rem;
}

.ddi-dropdown {
  z-index: 300;
  background: #fff;
  border: 1px solid #dde1ea;
  border-radius: 8px;
  width: 260px;
  position: absolute;
  top: calc(100% + 4px);
  left: 0;
  overflow: hidden;
  box-shadow: 0 4px 20px #0000001f;
}

.ddi-search {
  box-sizing: border-box;
  border: none;
  border-bottom: 1px solid #f0f0f0;
  outline: none;
  width: 100%;
  padding: 9px 12px;
  font-size: .83rem;
}

.ddi-list {
  max-height: 220px;
  overflow-y: auto;
}

.ddi-item {
  text-align: left;
  cursor: pointer;
  background: none;
  border: none;
  align-items: center;
  gap: 8px;
  width: 100%;
  padding: 8px 12px;
  font-size: .82rem;
  transition: background .12s;
  display: flex;
}

.ddi-item:hover {
  background: #f0f7ff;
}

.ddi-item-ativo {
  background: #41b9e114;
  font-weight: 600;
}

.ddi-item-nome {
  color: var(--cor-texto);
  text-overflow: ellipsis;
  white-space: nowrap;
  flex: 1;
  overflow: hidden;
}

.ddi-item-code {
  color: #6b7280;
  flex-shrink: 0;
  font-size: .75rem;
}

.btn-cancelar-mod {
  color: var(--cor-texto);
  cursor: pointer;
  background: #fff;
  border: 1px solid #dde1ea;
  border-radius: 8px;
  min-width: 110px;
  padding: 10px 28px;
  font-size: .88rem;
  font-weight: 600;
  transition: background .15s;
}

.btn-cancelar-mod:hover {
  background: #f5f6fb;
}

.btn-guardar-mod {
  color: #fff;
  cursor: pointer;
  background: #16a34a;
  border: none;
  border-radius: 8px;
  padding: 9px 22px;
  font-size: .88rem;
  font-weight: 600;
  transition: background .2s;
}

.btn-guardar-mod:hover {
  background: #15803d;
}

.btn-guardar-mod:disabled {
  opacity: .6;
  cursor: not-allowed;
}

.btn-apagar-mod {
  background: var(--cor-erro);
  color: #fff;
  cursor: pointer;
  border: none;
  border-radius: 8px;
  min-width: 110px;
  padding: 10px 28px;
  font-size: .88rem;
  font-weight: 600;
  transition: background .2s;
}

.btn-apagar-mod:hover {
  background: #b91c1c;
}

.btn-apagar-mod:disabled {
  opacity: .6;
  cursor: not-allowed;
}

.ver-header {
  border-bottom: 1px solid #f0f1f5;
  align-items: flex-start;
  gap: 16px;
  margin-bottom: 4px;
  padding-bottom: 16px;
  display: flex;
}

.ver-header-info {
  flex-direction: column;
  justify-content: center;
  min-width: 0;
  display: flex;
}

.ver-nome-principal {
  color: var(--cor-texto);
  font-size: 1.05rem;
  font-weight: 700;
}

.ver-cargo {
  color: #6b7280;
  margin-top: 2px;
  font-size: .82rem;
}

.ver-avatar-lg {
  background: var(--cor-primaria);
  color: #fff;
  border-radius: 50%;
  flex-shrink: 0;
  justify-content: center;
  align-items: center;
  width: 64px;
  height: 64px;
  font-size: 1.3rem;
  font-weight: 700;
  display: flex;
}

.ver-foto-lg {
  object-fit: cover;
  border-radius: 50%;
  flex-shrink: 0;
  width: 64px;
  height: 64px;
}

.ver-avatar {
  background: var(--cor-primaria);
  color: #fff;
  border-radius: 50%;
  justify-content: center;
  align-items: center;
  width: 64px;
  height: 64px;
  margin: 0 auto 16px;
  font-size: 1.4rem;
  font-weight: 700;
  display: flex;
}

.ver-linhas {
  flex-direction: column;
  gap: 0;
  display: flex;
}

.ver-linha {
  border-bottom: 1px solid #f0f1f5;
  align-items: baseline;
  gap: 8px;
  padding: 8px 0;
  display: flex;
}

.ver-linha:last-child {
  border-bottom: none;
}

.ver-linha-coluna {
  flex-direction: column;
  align-items: flex-start;
  gap: 4px;
}

.ver-label {
  color: #6b7280;
  text-transform: uppercase;
  letter-spacing: .04em;
  flex-shrink: 0;
  min-width: 90px;
  font-size: .75rem;
  font-weight: 600;
}

.ver-linha-coluna .ver-label {
  min-width: unset;
}

.ver-observacao {
  color: var(--cor-texto);
  font-size: .85rem;
  line-height: 1.5;
}

.modal-apagar-icone {
  width: 64px;
  height: 64px;
  color: var(--cor-erro);
  background: #fce8e8;
  border-radius: 50%;
  justify-content: center;
  align-items: center;
  margin: 0 auto 20px;
  display: flex;
}

.modal-apagar-titulo {
  text-align: center;
  color: var(--cor-texto);
  margin: 0 0 10px;
  font-size: 1.1rem;
  font-weight: 700;
}

.modal-apagar-texto {
  text-align: center;
  color: #6b7a99;
  margin: 0 0 28px;
  font-size: .88rem;
  line-height: 1.6;
}

.modal-apagar-acoes {
  justify-content: center;
  gap: 12px;
  display: flex;
}

body.tema-escuro .modulo-card {
  background: #1e2639;
}

body.tema-escuro .tabela thead tr {
  background: #162535;
  border-bottom-color: #1e3d55;
}

body.tema-escuro .tabela th {
  color: #5aaccc;
  border-color: #1e3d55;
}

body.tema-escuro .tabela td {
  color: #d0d5e3;
  border-color: #252f45;
}

body.tema-escuro .tabela tbody tr:hover {
  background: #252f45;
}

body.tema-escuro .filtro-input, body.tema-escuro .filtro-select {
  color: #d0d5e3;
  background: #1e2639;
  border-color: #2e3a52;
}

body.tema-escuro .modal-caixa {
  background: #1e2639;
}

body.tema-escuro .modal-cabecalho {
  border-color: #2e3a52;
}

body.tema-escuro .modal-cabecalho h2, body.tema-escuro .modal-cabecalho h3 {
  color: #d0d5e3;
}

body.tema-escuro .modal-rodape {
  border-color: #2e3a52;
}

body.tema-escuro .form-input-mod, body.tema-escuro .btn-cancelar-mod {
  color: #d0d5e3;
  background: #252f45;
  border-color: #2e3a52;
}

body.tema-escuro .ver-linha {
  border-color: #2e3a52;
}

body.tema-escuro .ver-label {
  color: #8892aa;
}

body.tema-escuro .nome-principal {
  color: #d0d5e3;
}

body.tema-escuro .badge-nivel {
  color: #41b9e1;
  background: #1a3a52;
}

body.tema-escuro .badge-ativo {
  color: #4ade80;
  background: #14302a;
}

body.tema-escuro .badge-inativo {
  color: #9ca3af;
  background: #2a2d35;
}

body.tema-escuro .alerta-erro {
  color: #f87171;
  background: #3a1a1a;
  border-color: #7f1d1d;
}

body.tema-escuro .btn-acao-ver {
  color: #41b9e1;
  background: #0d2a38;
}

body.tema-escuro .btn-acao-ver:hover {
  background: #133a50;
}

body.tema-escuro .btn-acao-editar {
  color: #f5c842;
  background: #2e2200;
}

body.tema-escuro .btn-acao-editar:hover {
  background: #3d2e00;
}

body.tema-escuro .btn-acao-toggle-on {
  color: #4ade80;
  background: #0a2a18;
}

body.tema-escuro .btn-acao-toggle-on:hover {
  background: #0f3a22;
}

body.tema-escuro .btn-acao-toggle-off {
  color: #9ca3af;
  background: #2a2d35;
}

body.tema-escuro .btn-acao-toggle-off:hover {
  background: #353840;
}

body.tema-escuro .btn-acao-apagar {
  color: #f87171;
  background: #2d0f0f;
}

body.tema-escuro .btn-acao-apagar:hover {
  background: #3d1414;
}

body.tema-escuro .modulo-titulo {
  color: #d0d5e3;
}

.pagina-conteudo {
  box-sizing: border-box;
  width: 100%;
  max-width: 100%;
  padding: 0;
}

.pagina-titulo {
  color: var(--cor-texto);
  margin: 0;
  font-size: 1.35rem;
  font-weight: 700;
}

.card-tabela {
  border: 1px solid var(--cor-borda);
  -webkit-overflow-scrolling: touch;
  background: #fff;
  border-radius: 10px;
  overflow-x: auto;
}

.tabela-dados {
  border-collapse: collapse;
  width: 100%;
  font-size: .87rem;
}

.tabela-dados th {
  text-align: left;
  color: #6b7280;
  border-bottom: 1px solid var(--cor-borda);
  white-space: nowrap;
  background: #f8fafc;
  padding: 10px 14px;
  font-size: .75rem;
  font-weight: 700;
}

.tabela-dados td {
  color: var(--cor-texto);
  border-bottom: 1px solid var(--cor-borda);
  vertical-align: middle;
  padding: 10px 14px;
}

.tabela-dados tbody tr:last-child td {
  border-bottom: none;
}

.tabela-dados tbody tr:hover {
  background: var(--cor-fundo-card);
}

.tabela-dados .col-num {
  text-align: right;
}

.estado-vazio {
  text-align: center;
  color: #9ca3af;
  padding: 40px;
  font-size: .9rem;
}

body.tema-escuro .card-tabela {
  background: #1e2639;
  border-color: #2e3a52;
}

body.tema-escuro .tabela-dados th {
  color: #5aaccc;
  background: #162535;
  border-color: #2e3a52;
}

body.tema-escuro .tabela-dados td {
  color: #d0d5e3;
  border-color: #252f45;
}

body.tema-escuro .tabela-dados tbody tr:hover {
  background: #252f45;
}

body.tema-escuro .pagina-titulo {
  color: #d0d5e3;
}

@media (max-width: 640px) {
  .form-grid {
    grid-template-columns: 1fr;
  }

  .modulo-header {
    flex-direction: column;
    align-items: flex-start;
  }

  .tabela th, .tabela td {
    padding: 10px;
  }
}

.util-topo-modal {
  flex-wrap: wrap;
  align-items: flex-start;
  gap: 16px;
  margin-bottom: 16px;
  display: flex;
}

.util-foto-col {
  flex: 0 0 90px;
}

.util-estado-col {
  flex: 0 0 110px;
}

.util-tipo-col {
  flex: 180px;
  min-width: 0;
}

.modal-utilizador {
  max-width: 760px !important;
}

.modal-utilizador .modal-corpo {
  container-type: inline-size;
}

.util-form-grid {
  grid-template-columns: 1fr 1fr;
  gap: 12px 18px;
  display: grid;
}

.util-col-full {
  grid-column: 1 / -1;
}

.util-form-grid .form-input-mod {
  padding: 8px 12px;
  font-size: .875rem;
}

.util-form-grid .form-label-mod {
  margin-bottom: 3px;
  font-size: .78rem;
}

@container (max-width: 440px) {
  .util-form-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 640px) {
  .util-topo-modal {
    flex-flow: wrap;
    align-items: flex-start;
    gap: 14px;
  }

  .util-foto-col {
    flex-direction: column;
    flex: 100%;
    align-items: center;
    display: flex;
  }

  .util-foto-col .form-label-mod {
    align-self: flex-start;
  }

  .util-estado-col {
    flex: 0 0 130px;
  }

  .util-tipo-col {
    flex: calc(100% - 144px);
    min-width: 0;
  }
}

@media (max-width: 400px) {
  .util-estado-col, .util-tipo-col {
    flex: 100%;
  }
}

@media (max-width: 480px) {
  .modal-overlay-mod, .modal-popup-overlay {
    align-items: flex-end;
    padding: 0;
    top: 0;
    left: 0;
  }

  .modal-caixa {
    border-radius: 16px 16px 0 0;
    width: 100%;
    max-width: 100%;
    max-height: 95vh;
    margin: 0;
  }

  .modal-caixa-lg, .modal-caixa-xl {
    width: 100%;
    max-width: 100% !important;
  }

  .modal-cabecalho {
    padding: 14px 16px 12px;
  }

  .modal-corpo {
    -webkit-overflow-scrolling: touch;
    padding: 14px;
    overflow-y: auto;
  }

  .modal-rodape {
    padding: 12px 16px 16px;
  }

  .form-linha {
    flex-flow: column wrap;
    gap: 10px;
  }

  .form-linha .form-grupo {
    flex: 100%;
    width: 100%;
    min-width: 0;
  }

  .form-input-mod, .ddi-search {
    padding: 10px 12px;
    font-size: 16px;
  }

  .form-label-mod {
    font-size: .85rem;
  }

  .modal-corpo > div[style] {
    flex-wrap: wrap;
  }

  .foto-upload-area {
    flex-shrink: 0;
  }

  .tel-wrap {
    flex-wrap: nowrap;
    width: 100%;
  }

  .tel-input {
    flex: 1 1 0;
    min-width: 0;
  }

  .ddi-btn {
    white-space: nowrap;
    padding: 0 8px;
    font-size: .82rem;
  }

  .ddi-dropdown {
    width: min(260px, 100vw - 32px);
    left: 0;
    right: auto;
  }

  .radio-grupo {
    flex-wrap: wrap;
    gap: 8px;
  }

  .radio-opcao {
    flex: auto;
    justify-content: center;
    padding: 8px 12px;
    font-size: .87rem;
  }

  .toggle-switch {
    border-radius: 14px;
    width: 48px;
    height: 28px;
  }

  .toggle-switch-thumb {
    width: 22px;
    height: 22px;
  }

  .toggle-switch-on .toggle-switch-thumb {
    left: 22px;
  }

  .toggle-switch-wrap {
    gap: 12px;
  }

  .typeahead-lista {
    -webkit-overflow-scrolling: touch;
    max-height: 220px;
    overflow-y: auto;
  }

  .btn-cancelar-mod, .btn-guardar-mod {
    padding: 11px 20px;
    font-size: .92rem;
  }

  .btn-acao {
    width: auto;
    min-width: 44px;
    height: auto;
    min-height: 44px;
    padding: 0 6px;
  }

  .filtro-input, .filtro-select, .form-input-mod {
    min-height: 44px;
    font-size: 16px;
  }

  .tabela-wrapper, .socios-abas, .typeahead-lista {
    -webkit-overflow-scrolling: touch;
  }
}

.form-grid-2col {
  grid-template-columns: 1fr 1fr;
  gap: 12px 20px;
  display: grid;
}

@media (max-width: 480px) {
  .form-grid-2col {
    grid-template-columns: 1fr;
    gap: 10px;
  }
}

@media (min-width: 481px) and (max-width: 768px) {
  .modal-caixa {
    max-width: calc(100vw - 32px);
    margin: auto 16px;
  }

  .modal-caixa-lg, .modal-caixa-xl {
    max-width: calc(100vw - 32px) !important;
  }

  .btn-acao {
    width: auto;
    min-width: 40px;
    height: auto;
    min-height: 40px;
    padding: 0 4px;
  }

  .filtro-input, .filtro-select, .form-input-mod {
    min-height: 42px;
  }

  .main-content {
    padding-bottom: max(60px, env(safe-area-inset-bottom));
  }
}

@supports (padding: env(safe-area-inset-bottom)) {
  .footer-dashboard {
    padding-bottom: max(14px, env(safe-area-inset-bottom));
  }

  @media (max-width: 480px) {
    .modal-caixa {
      padding-bottom: env(safe-area-inset-bottom);
    }
  }
}

.drawer-overlay {
  top: var(--altura-header);
  bottom: 0;
  right: 0;
  left: var(--largura-sidebar);
  z-index: 2000;
  background: #00000073;
  justify-content: flex-end;
  align-items: stretch;
  animation: .18s ease-out drawer-fadein;
  display: flex;
  position: fixed;
}

body.sidebar-collapsed .drawer-overlay {
  left: var(--largura-sidebar-colapsada);
}

.drawer-caixa {
  background: #fff;
  flex-direction: column;
  width: 50%;
  min-width: 480px;
  max-width: 880px;
  height: 100%;
  animation: .22s ease-out drawer-slidein;
  display: flex;
  overflow-y: auto;
  box-shadow: -8px 0 32px #0000002e;
}

.drawer-caixa-xl {
  width: 62%;
  min-width: 560px;
  max-width: 1100px;
}

body.tema-escuro .drawer-caixa {
  background: #1e2639;
}

@keyframes drawer-fadein {
  from {
    opacity: 0;
  }

  to {
    opacity: 1;
  }
}

@keyframes drawer-slidein {
  from {
    transform: translateX(100%);
  }

  to {
    transform: translateX(0);
  }
}

@media (max-width: 768px) {
  .drawer-overlay {
    justify-content: center;
    align-items: flex-end;
    top: 0;
    left: 0;
  }

  body.sidebar-collapsed .drawer-overlay {
    left: 0;
  }

  .drawer-caixa, .drawer-caixa-xl {
    border-radius: 18px 18px 0 0;
    width: 100%;
    min-width: 0;
    max-width: 100%;
    height: 92vh;
    animation: .22s ease-out drawer-slideup;
  }

  @keyframes drawer-slideup {
    from {
      transform: translateY(100%);
    }

    to {
      transform: translateY(0);
    }
  }
}

@media (max-width: 640px) {
  body > div[style*="position: fixed"][style*="inset: 0"], body > div[style*="position:fixed"][style*="inset:0"] {
    padding: 8px !important;
  }

  body > div[style*="position: fixed"][style*="inset: 0"] > div, body > div[style*="position:fixed"][style*="inset:0"] > div {
    box-sizing: border-box !important;
    width: 100% !important;
    max-width: calc(100vw - 16px) !important;
  }
}

@media (max-width: 480px) {
  body > div[style*="position: fixed"][style*="inset: 0"] > div[style*="padding: '24px 28px'"], body > div[style*="position: fixed"][style*="inset: 0"] > div[style*="padding:'24px 28px'"], body > div[style*="position: fixed"][style*="inset: 0"] > div[style*="padding: '28px"], body > div[style*="position: fixed"][style*="inset: 0"] > div[style*="padding:'28px"] {
    padding: 16px 14px !important;
  }

  body > div[style*="position: fixed"][style*="inset: 0"] > div[style*="maxWidth: 820"], body > div[style*="position: fixed"][style*="inset: 0"] > div[style*="maxWidth:820"], body > div[style*="position: fixed"][style*="inset: 0"] > div[style*="maxWidth: 1100"], body > div[style*="position: fixed"][style*="inset: 0"] > div[style*="maxWidth:1100"] {
    max-width: calc(100vw - 16px) !important;
    max-height: 95vh !important;
  }
}

@media print {
  .sidebar, #sidebar, .header-dashboard, .botao-menu-mobile, .modulo-header > div:not(.modulo-titulo), .modulo-header button, [class*="msg-banner"], .nao-imprimir, [aria-label="navegador-mes"], .modal-overlay-mod {
    display: none !important;
  }

  body {
    background: #fff !important;
    margin: 0 !important;
    padding: 0 !important;
  }

  .dashboard-container, .pagina-modulo {
    width: 100% !important;
    max-width: none !important;
    margin: 0 !important;
    padding: 0 !important;
  }

  .modulo-card {
    box-shadow: none !important;
    border: none !important;
    margin: 0 !important;
    padding: 12px !important;
  }

  table, .bal-cab, .bal-rod, h1, h2, h3 {
    page-break-inside: avoid;
  }
}

.email-text-editor:empty:before {
  content: attr(data-placeholder);
  color: #94a3b8;
  pointer-events: none;
  display: block;
}

:root {
  --cor-fundo-suave: #f8fafc;
  --ben-zebra: #fafbfd;
  --ben-receita: #0b6b2f;
  --ben-despesa: #c0392b;
  --ben-saldo: #1d4ed8;
  --ben-receita-bg: #16a34a1a;
  --ben-despesa-bg: #dc262617;
  --ben-saldo-bg: #2563eb17;
  --ben-receita-guia: #16a34a52;
  --ben-despesa-guia: #dc26264d;
  --ben-foco: #41b9e12e;
}

body.tema-escuro {
  --cor-fundo-suave: #232c40;
  --ben-zebra: #212a3d;
  --ben-receita: #34d399;
  --ben-despesa: #f87171;
  --ben-saldo: #7cb0ff;
  --ben-receita-bg: #4ade8021;
  --ben-despesa-bg: #f8717121;
  --ben-saldo-bg: #7cb0ff24;
  --ben-receita-guia: #4ade8066;
  --ben-despesa-guia: #f8717161;
  --ben-foco: #41b9e142;
}

.ben-card {
  border: 1px solid var(--cor-borda-subtil);
  box-shadow: none;
  border-radius: 10px;
  padding: 14px 16px;
}

.ben-card.ben-metrica {
  padding: 12px 14px;
}

.ben-card.ben-flush {
  padding: 0;
}

.ben-cards {
  grid-template-columns: repeat(auto-fit, minmax(146px, 1fr));
  align-items: stretch;
  gap: 10px;
  margin-bottom: 14px;
  display: grid;
}

.ben-metrica-corpo {
  align-items: center;
  gap: 11px;
  height: 100%;
  display: flex;
}

.ben-metrica-icone {
  border-radius: 9px;
  flex-shrink: 0;
  justify-content: center;
  align-items: center;
  width: 34px;
  height: 34px;
  display: flex;
}

.ben-metrica-txt {
  flex-direction: column;
  min-width: 0;
  display: flex;
}

.ben-metrica-rot {
  letter-spacing: .5px;
  text-transform: uppercase;
  color: var(--cor-texto-muted);
  font-size: .68rem;
  font-weight: 600;
  line-height: 1.35;
}

.ben-metrica-val {
  font-variant-numeric: tabular-nums;
  font-feature-settings: "tnum" 1;
  white-space: nowrap;
  text-overflow: ellipsis;
  font-size: 1.05rem;
  font-weight: 700;
  line-height: 1.3;
  overflow: hidden;
}

.ben-metrica-nota {
  min-height: .87rem;
  color: var(--cor-texto-muted);
  white-space: nowrap;
  text-overflow: ellipsis;
  font-size: .69rem;
  line-height: 1.25;
  overflow: hidden;
}

.ben-filtros {
  flex-wrap: wrap;
  align-items: flex-end;
  gap: 12px;
  display: flex;
}

.ben-campo {
  letter-spacing: .5px;
  text-transform: uppercase;
  color: var(--cor-texto-muted);
  flex-direction: column;
  gap: 4px;
  font-size: .68rem;
  font-weight: 600;
  display: flex;
}

.ben-lbl {
  color: var(--cor-texto);
  flex-direction: column;
  gap: 5px;
  font-size: .76rem;
  font-weight: 600;
  display: flex;
}

.ben-input, .ben-select {
  border: 1px solid var(--cor-borda);
  background: var(--cor-superficie);
  color: var(--cor-texto);
  border-radius: 8px;
  padding: 8px 10px;
  font-family: inherit;
  font-size: .84rem;
  font-weight: 500;
}

.ben-input:focus, .ben-select:focus {
  border-color: var(--cor-primaria);
  box-shadow: 0 0 0 3px var(--ben-foco);
  outline: none;
}

.ben-busca {
  max-width: 520px;
  position: relative;
}

.ben-busca .ben-input {
  width: 100%;
  padding-left: 34px;
}

.ben-busca-icone {
  color: var(--cor-texto-muted);
  pointer-events: none;
  position: absolute;
  top: 50%;
  left: 11px;
  transform: translateY(-50%);
}

.ben-btn-sm {
  border-radius: 7px;
  padding: 5px 12px;
  font-size: .78rem;
}

.ben-fchip {
  cursor: pointer;
  border: 1px solid var(--cor-borda);
  background: var(--cor-superficie);
  color: var(--cor-texto-muted);
  font-variant-numeric: tabular-nums;
  border-radius: 999px;
  padding: 3px 10px;
  font-size: .73rem;
  font-weight: 600;
  transition: background-color .15s, border-color .15s, color .15s;
}

.ben-fchip-r {
  color: var(--ben-receita);
}

.ben-fchip-d {
  color: var(--ben-despesa);
}

.ben-fchip:hover {
  border-color: var(--cor-texto-muted);
}

.ben-fchip.ben-fchip-r.on {
  background: var(--ben-receita-bg);
  border-color: var(--ben-receita);
  color: var(--ben-receita);
}

.ben-fchip.ben-fchip-d.on {
  background: var(--ben-despesa-bg);
  border-color: var(--ben-despesa);
  color: var(--ben-despesa);
}

.ben-abas {
  background: var(--cor-fundo-alt);
  border: 1px solid var(--cor-borda-subtil);
  border-radius: 10px;
  flex-wrap: wrap;
  gap: 4px;
  max-width: 100%;
  margin-bottom: 14px;
  padding: 4px;
  display: inline-flex;
}

.ben-aba {
  cursor: pointer;
  color: var(--cor-texto-muted);
  background: none;
  border: none;
  border-radius: 8px;
  flex-direction: column;
  align-items: center;
  gap: 1px;
  padding: 7px 18px 12px;
  font-family: inherit;
  font-size: .83rem;
  font-weight: 600;
  transition: background-color .15s, color .15s;
  display: flex;
  position: relative;
}

.ben-aba:hover {
  color: var(--cor-texto);
}

.ben-aba-sub {
  opacity: .85;
  font-size: .66rem;
  font-weight: 500;
}

.ben-aba.on {
  background: var(--cor-superficie);
  color: var(--cor-texto);
  box-shadow: 0 1px 2px #00000017;
}

.ben-aba.on:after {
  content: "";
  background: var(--cor-primaria);
  border-radius: 2px;
  width: 20px;
  height: 2px;
  position: absolute;
  bottom: 5px;
  left: 50%;
  transform: translateX(-50%);
}

.ben-aviso {
  border: 1px solid var(--cor-borda-subtil);
  border-left: 3px solid;
  border-radius: 10px;
  align-items: flex-start;
  gap: 9px;
  margin-bottom: 14px;
  padding: 10px 14px;
  font-size: .8rem;
  line-height: 1.5;
  display: flex;
}

.ben-aviso ul {
  margin: 4px 0 0 16px;
  padding: 0;
}

.ben-aviso-info {
  background: var(--cor-alerta-info-bg);
  color: var(--cor-alerta-info-txt);
}

.ben-aviso-warn {
  background: var(--cor-alerta-aviso-bg);
  color: var(--cor-alerta-aviso-txt);
}

.ben-aviso-erro {
  background: var(--cor-alerta-erro-bg);
  color: var(--cor-alerta-erro-txt);
}

.ben-aviso-ok {
  background: var(--cor-alerta-sucesso-bg);
  color: var(--cor-alerta-sucesso-txt);
}

.ben-badge {
  white-space: nowrap;
  border-radius: 999px;
  align-items: center;
  gap: 5px;
  padding: 2px 10px;
  font-size: .72rem;
  font-weight: 600;
  display: inline-flex;
}

.ben-badge-ok {
  background: var(--cor-alerta-sucesso-bg);
  color: var(--cor-alerta-sucesso-txt);
}

.ben-badge-off {
  background: var(--cor-fundo-alt);
  color: var(--cor-texto-muted);
}

.ben-badge-info {
  background: var(--cor-alerta-info-bg);
  color: var(--cor-alerta-info-txt);
}

.ben-badge-warn {
  background: var(--cor-alerta-aviso-bg);
  color: var(--cor-alerta-aviso-txt);
}

.ben-chip {
  white-space: nowrap;
  border-radius: 999px;
  align-items: center;
  gap: 5px;
  padding: 2px 9px;
  font-size: .72rem;
  font-weight: 600;
  display: inline-flex;
}

.ben-chip-r {
  background: var(--ben-receita-bg);
  color: var(--ben-receita);
}

.ben-chip-d {
  background: var(--ben-despesa-bg);
  color: var(--ben-despesa);
}

.ben-chip-x {
  cursor: pointer;
  color: inherit;
  background: none;
  border: none;
  margin: 0;
  padding: 0;
  line-height: 1;
  display: flex;
}

.ben-tab {
  border-collapse: collapse;
  width: 100%;
  color: var(--cor-texto);
  font-size: .8rem;
}

.ben-tab thead th {
  letter-spacing: .55px;
  text-transform: uppercase;
  color: var(--cor-texto-muted);
  background-color: var(--cor-fundo-suave);
  white-space: nowrap;
  border-bottom: 1px solid var(--cor-borda-subtil);
  padding: 9px 12px;
  font-size: .68rem;
  font-weight: 600;
}

.ben-tab td {
  white-space: nowrap;
  color: var(--cor-texto);
  padding: 8px 12px;
}

.ben-esq {
  text-align: left;
}

.ben-centro {
  text-align: center;
}

.ben-num {
  text-align: right;
  font-variant-numeric: tabular-nums;
  font-feature-settings: "tnum" 1;
}

.ben-col-mes {
  min-width: 86px;
}

.ben-col-total {
  min-width: 98px;
}

.ben-zero {
  color: var(--cor-texto-muted);
  opacity: .5;
}

.ben-tab tbody tr.ben-l.ben-zebra > td {
  background-color: var(--ben-zebra);
}

.ben-tab tbody tr.ben-l:hover > td {
  background-color: var(--cor-fundo-alt);
}

.ben-fixa {
  z-index: 1;
  background-color: var(--cor-superficie);
  box-shadow: 1px 0 0 var(--cor-borda-subtil);
  position: sticky;
  left: 0;
}

.ben-tab thead .ben-fixa {
  z-index: 2;
  background-color: var(--cor-fundo-suave);
}

.ben-tab tbody tr.ben-l.ben-zebra > .ben-fixa {
  background-color: var(--ben-zebra);
}

.ben-tab tbody tr.ben-l:hover > .ben-fixa {
  background-color: var(--cor-fundo-alt);
}

.ben-c-conta {
  min-width: 250px;
}

.ben-conta-txt {
  text-overflow: ellipsis;
  max-width: 320px;
  display: block;
  overflow: hidden;
}

.ben-conta-nome {
  color: var(--cor-texto-muted);
  font-weight: 400;
}

.ben-tab-lista tbody tr > td {
  border-top: 1px solid var(--cor-borda-subtil);
}

.ben-tab-lista tbody tr:first-child > td {
  border-top: none;
}

.ben-tab-lista td {
  white-space: normal;
  padding: 11px 14px;
}

.ben-tab-lista th {
  padding: 10px 14px;
}

.ben-tab-lista td.ben-nowrap {
  white-space: nowrap;
}

.ben-linha-inativa {
  opacity: .55;
}

.ben-td-nome {
  color: var(--cor-texto);
  font-weight: 600;
}

.ben-td-sub {
  color: var(--cor-texto-muted);
  margin-top: 2px;
  font-size: .74rem;
  line-height: 1.4;
}

.ben-tab tr.ben-grupo > td {
  border-top: 2px solid var(--cor-borda);
  background-color: #0000;
  padding: 20px 12px 5px;
}

.ben-tab tbody tr.ben-grupo:first-child > td {
  border-top: none;
  padding-top: 12px;
}

.ben-grupo-nome {
  letter-spacing: -.1px;
  color: var(--cor-texto);
  font-size: .92rem;
  font-weight: 700;
  display: inline-block;
  position: sticky;
  left: 12px;
}

.ben-grupo-tag {
  color: var(--cor-texto-muted);
  font-size: .76rem;
  font-weight: 500;
}

.ben-tab tr.ben-sec > td {
  padding: 11px 12px 3px;
}

.ben-sec-rot {
  letter-spacing: .9px;
  text-transform: uppercase;
  font-size: .66rem;
  font-weight: 700;
  display: inline-block;
  position: sticky;
  left: 12px;
}

.ben-tab tr.ben-l > .ben-c-conta, .ben-tab tr.ben-sub > .ben-c-conta {
  padding-left: 26px;
}

.ben-tab tr.ben-r > .ben-c-conta {
  background-image: linear-gradient(var(--ben-receita-guia), var(--ben-receita-guia));
  background-position: 13px 0;
  background-repeat: no-repeat;
  background-size: 2px 100%;
}

.ben-tab tr.ben-d > .ben-c-conta {
  background-image: linear-gradient(var(--ben-despesa-guia), var(--ben-despesa-guia));
  background-position: 13px 0;
  background-repeat: no-repeat;
  background-size: 2px 100%;
}

.ben-tab-mat tr.ben-l > td {
  padding-top: 7px;
  padding-bottom: 7px;
}

.ben-tab tr.ben-sub > td {
  border-top: 1px solid var(--cor-borda-subtil);
  padding-top: 8px;
  padding-bottom: 10px;
  font-weight: 600;
}

.ben-tab tr.ben-sub > .ben-c-conta {
  font-weight: 700;
}

.ben-tab tr.ben-saldo > td {
  border-top: 1px solid var(--cor-borda);
  padding-top: 10px;
  padding-bottom: 13px;
  font-weight: 700;
}

.ben-tab tr.ben-geral > td {
  border-top: 2px solid var(--cor-borda);
  padding-top: 14px;
  padding-bottom: 16px;
  font-size: .83rem;
  font-weight: 700;
}

.ben-tab tr.ben-geral > .ben-c-conta {
  text-transform: uppercase;
  letter-spacing: .9px;
  color: var(--cor-texto-muted);
  font-size: .72rem;
}

.ben-tab tr.ben-total > td {
  border-top: 2px solid var(--cor-borda);
  padding-top: 12px;
  padding-bottom: 13px;
  font-weight: 700;
}

.ben-vazio {
  text-align: center;
  color: var(--cor-texto-muted);
  padding: 30px 20px;
  font-size: .85rem;
  line-height: 1.5;
}

.ben-modal {
  background: var(--cor-fundo-popup);
  border-radius: 12px;
  flex-direction: column;
  width: 100%;
  max-height: 88vh;
  display: flex;
  overflow: hidden;
  box-shadow: 0 12px 40px #00000038;
}

.ben-modal-cab {
  border-bottom: 1px solid var(--cor-borda-subtil);
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  padding: 14px 20px;
  display: flex;
}

.ben-modal-tit {
  color: var(--cor-texto);
  font-size: .95rem;
  font-weight: 700;
}

.ben-modal-x {
  cursor: pointer;
  color: var(--cor-texto-muted);
  background: none;
  border: none;
  border-radius: 7px;
  padding: 5px;
  line-height: 1;
  display: flex;
}

.ben-modal-x:hover {
  background: var(--cor-fundo-alt);
  color: var(--cor-texto);
}

.ben-modal-corpo {
  flex-direction: column;
  flex: 1;
  gap: 14px;
  padding: 16px 20px;
  display: flex;
  overflow-y: auto;
}

.ben-modal-rod {
  border-top: 1px solid var(--cor-borda-subtil);
  justify-content: flex-end;
  align-items: center;
  gap: 10px;
  padding: 12px 20px;
  display: flex;
}

.ben-modal-nota {
  color: var(--cor-texto-muted);
  font-size: .74rem;
}

.ben-modal-sec {
  letter-spacing: .7px;
  text-transform: uppercase;
  align-items: center;
  gap: 6px;
  margin-bottom: 7px;
  font-size: .72rem;
  font-weight: 700;
  display: flex;
}

.ben-bloco {
  border-top: 1px solid var(--cor-borda-subtil);
  padding-top: 13px;
}

.ben-grelha-2 {
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  display: grid;
}

.ben-grelha-4 {
  grid-template-columns: 1fr 1fr 130px 120px;
  align-items: end;
  gap: 12px;
  display: grid;
}

@media (max-width: 640px) {
  .ben-grelha-2, .ben-grelha-4 {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 760px) {
  .ben-c-conta {
    min-width: 168px;
  }

  .ben-conta-txt {
    max-width: 190px;
  }

  .ben-col-mes {
    min-width: 78px;
  }

  .ben-tab-lista td {
    padding: 10px;
  }

  .ben-tab-lista th {
    padding: 9px 10px;
  }
}

:root {
  --ben-sombra-fixa: #0f172a2b;
}

body.tema-escuro {
  --ben-sombra-fixa: #0000008c;
}

.ben-quadro {
  position: relative;
}

.ben-scroll {
  overscroll-behavior-x: contain;
  -webkit-overflow-scrolling: touch;
  overflow-x: auto;
}

.ben-tab-meses, .ben-tab-anal {
  min-width: 900px;
}

.ben-tab-resumo {
  min-width: 620px;
}

.ben-tab-regras {
  min-width: 860px;
}

.ben-tab-fechos {
  min-width: 820px;
}

.ben-c-mens {
  width: 340px;
}

.ben-modal-scroll {
  overflow-x: auto;
}

.ben-quadro:after {
  color: var(--cor-texto-muted);
  background: var(--cor-fundo-alt);
  border-top: 1px solid var(--cor-borda-subtil);
  padding: 7px 14px 8px;
  font-size: .69rem;
  line-height: 1.4;
  display: none;
}

@media (max-width: 1365px) {
  .ben-quadro-meses:has(.ben-scroll):after {
    content: "↔ Desliza a tabela para o lado para ver os restantes meses — o nome da linha e o Total ficam fixos.";
    display: block;
  }
}

@media (min-width: 641px) and (max-width: 1023px) {
  .ben-quadro:has(.ben-tab-regras):after {
    content: "↔ Desliza a tabela para o lado para ver as restantes colunas.";
    display: block;
  }

  .ben-quadro:has(.ben-tab-fechos):after {
    content: "↔ Desliza a tabela para o lado para ver as restantes colunas.";
    display: block;
  }

  .ben-quadro:has(.ben-tab-anal):after {
    content: "↔ Desliza a tabela para o lado para ver as restantes colunas.";
    display: block;
  }
}

@media (max-width: 1365px) {
  .ben-tab-meses thead tr, .ben-tab-anal thead tr {
    --ben-bg-linha: var(--cor-fundo-suave);
  }

  .ben-tab-meses tbody tr, .ben-tab-anal tbody tr {
    --ben-bg-linha: var(--cor-superficie);
  }

  .ben-tab-meses tbody tr.ben-zebra, .ben-tab-anal tbody tr.ben-zebra {
    --ben-bg-linha: var(--ben-zebra);
  }

  .ben-tab-meses tbody tr.ben-l:hover, .ben-tab-anal tbody tr.ben-l:hover {
    --ben-bg-linha: var(--cor-fundo-alt);
  }

  .ben-tab-meses .ben-col-total, .ben-tab-anal .ben-col-total, .ben-tab-meses .ben-fixa {
    z-index: 1;
    background-color: var(--ben-bg-linha);
    position: sticky;
  }

  .ben-tab-meses .ben-col-total, .ben-tab-anal .ben-col-total {
    box-shadow: -1px 0 0 var(--cor-borda-subtil);
    right: 0;
  }

  .ben-tab-meses .ben-fixa {
    box-shadow: 1px 0 0 var(--cor-borda-subtil);
    left: 0;
  }

  .ben-tab-meses thead .ben-col-total, .ben-tab-anal thead .ben-col-total, .ben-tab-meses thead .ben-fixa {
    z-index: 2;
  }

  .ben-tab-meses .ben-col-total:before, .ben-tab-anal .ben-col-total:before, .ben-tab-meses .ben-fixa:after {
    content: "";
    pointer-events: none;
    width: 18px;
    position: absolute;
    top: 0;
    bottom: 0;
  }

  .ben-tab-meses .ben-col-total:before, .ben-tab-anal .ben-col-total:before {
    background: linear-gradient(to right, #0000, var(--ben-bg-linha));
    left: -18px;
  }

  .ben-tab-meses .ben-fixa:after {
    background: linear-gradient(to left, #0000, var(--ben-bg-linha));
    right: -18px;
  }
}

@media (max-width: 1023px) {
  .ben-select, .ben-input {
    min-height: 42px;
  }

  .ben-btn-sm {
    border-radius: 8px;
    padding: 10px 14px;
    font-size: .8rem;
  }

  .ben-fchip {
    padding: 10px 13px;
    font-size: .78rem;
  }

  .ben-chip {
    padding: 7px 11px;
    font-size: .75rem;
  }

  .ben-chip-x {
    margin: -7px -4px -7px 0;
    padding: 7px;
  }

  .ben-aba {
    padding: 10px 16px 15px;
  }

  .ben-tab-lista .btn-acao {
    width: 40px;
    height: 40px;
  }

  .ben-modal-x {
    padding: 9px;
  }

  .modal-popup-overlay:has( > .ben-modal) {
    left: 0;
  }
}

@media (max-width: 1365px) {
  .ben-cards {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 560px) {
  .ben-cards {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
  }

  .ben-card.ben-metrica {
    padding: 11px 12px;
  }

  .ben-metrica-corpo {
    gap: 9px;
  }

  .ben-metrica-icone {
    border-radius: 8px;
    width: 30px;
    height: 30px;
  }

  .ben-metrica-rot {
    letter-spacing: .35px;
    font-size: .63rem;
  }

  .ben-metrica-val {
    font-size: .98rem;
  }

  .ben-metrica-nota {
    font-size: .65rem;
  }
}

@media (max-width: 640px) {
  .ben-filtros {
    gap: 10px 8px;
  }

  .ben-filtros .ben-select, .ben-filtros .ben-input {
    width: 100%;
    font-size: 16px;
  }

  .ben-filtros-valores > .ben-campo:nth-child(-n+3) {
    flex: 1 1 0;
    min-width: 84px;
  }

  .ben-filtros-valores > .ben-campo:nth-child(4) {
    flex: 100%;
  }

  .ben-filtros-valores > button {
    flex: auto;
    justify-content: center;
  }

  .ben-filtros-fechos > .ben-campo {
    flex: 100%;
  }

  .ben-filtros-fechos > button {
    flex: 100%;
    justify-content: center;
  }

  .ben-busca .ben-input {
    font-size: 16px;
  }

  .ben-abas {
    box-sizing: border-box;
    width: 100%;
    display: flex;
  }

  .ben-aba {
    flex: 1 1 0;
    min-width: 0;
    padding: 9px 6px 15px;
  }

  .ben-aba-sub {
    text-align: center;
    font-size: .61rem;
    line-height: 1.25;
  }

  .ben-tab-meses {
    min-width: 0;
    font-size: .74rem;
  }

  .ben-tab-meses td {
    padding: 7px;
  }

  .ben-tab-meses thead th {
    letter-spacing: .3px;
    padding: 8px 7px;
    font-size: .61rem;
  }

  .ben-tab-meses .ben-col-mes {
    min-width: 62px;
  }

  .ben-tab-meses .ben-col-total {
    min-width: 70px;
  }

  .ben-tab-meses .ben-c-conta {
    width: 126px;
    min-width: 126px;
    padding-left: 9px;
  }

  .ben-tab-meses .ben-c-mens {
    width: 134px;
    min-width: 134px;
  }

  .ben-tab-meses .ben-c-conta {
    white-space: normal;
  }

  .ben-tab-meses .ben-conta-txt {
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    max-width: none;
    line-height: 1.3;
    display: -webkit-box;
    overflow: hidden;
  }

  .ben-tab-meses tr.ben-l > .ben-c-conta, .ben-tab-meses tr.ben-sub > .ben-c-conta {
    padding-left: 19px;
  }

  .ben-tab-meses tr.ben-r > .ben-c-conta, .ben-tab-meses tr.ben-d > .ben-c-conta {
    background-position: 9px 0;
  }

  .ben-tab-meses tr.ben-grupo > td {
    padding: 15px 9px 4px;
  }

  .ben-tab-meses tr.ben-sec > td {
    padding: 9px 9px 2px;
  }

  .ben-tab-meses .ben-grupo-nome {
    font-size: .85rem;
    left: 9px;
  }

  .ben-tab-meses .ben-sec-rot {
    left: 9px;
  }

  .ben-tab-meses tr.ben-geral > td {
    padding-top: 11px;
    padding-bottom: 12px;
    font-size: .75rem;
  }

  .ben-tab-meses tr.ben-geral > .ben-c-conta {
    letter-spacing: .5px;
    font-size: .63rem;
  }

  .ben-tab-resumo {
    min-width: 0;
    font-size: .75rem;
  }

  .ben-tab-resumo td {
    white-space: nowrap;
    padding: 9px 5px;
  }

  .ben-tab-resumo thead th {
    letter-spacing: .2px;
    padding: 9px 5px;
    font-size: .58rem;
  }

  .ben-tab-resumo .ben-c-conta {
    white-space: normal;
    width: auto;
    min-width: 0;
    padding-left: 10px;
  }

  .ben-tab-resumo .ben-col-total {
    min-width: 0;
  }

  .ben-tab-resumo .ben-conta-txt {
    white-space: normal;
    text-overflow: clip;
    line-height: 1.3;
    overflow: visible;
    max-width: none !important;
  }

  .ben-tab-resumo .ben-fixa {
    box-shadow: none;
  }

  .ben-tab-anal {
    width: 100%;
    min-width: 0;
    font-size: .8rem;
    display: block;
  }

  .ben-tab-anal thead {
    display: none;
  }

  .ben-tab-anal tbody {
    display: block;
  }

  .ben-tab-anal tbody tr.ben-l {
    border-top: 1px solid var(--cor-borda-subtil);
    grid-template-columns: minmax(0, 1fr) minmax(0, auto);
    gap: 2px 10px;
    padding: 11px 13px;
    display: grid;
  }

  .ben-tab-anal tbody tr.ben-l:first-child {
    border-top: none;
  }

  .ben-tab-anal tbody tr.ben-l.ben-zebra {
    background-color: var(--ben-zebra);
  }

  .ben-tab-anal tbody tr.ben-l > td {
    white-space: normal;
    background-color: #0000;
    min-width: 0;
    padding: 0;
    display: block;
  }

  .ben-tab-anal tbody tr.ben-l > td:first-child {
    color: var(--cor-texto-muted);
    grid-area: 1 / 1;
    font-size: .72rem;
    font-weight: 600;
  }

  .ben-tab-anal tbody tr.ben-l > td:nth-child(7) {
    text-align: right;
    white-space: nowrap;
    grid-area: 1 / 2;
    font-size: .95rem;
  }

  .ben-tab-anal .ben-col-total {
    box-shadow: none;
    background-color: #0000;
    position: static;
  }

  .ben-tab-anal .ben-col-total:before {
    content: none;
  }

  .ben-tab-anal tbody tr.ben-l > td:nth-child(4) {
    grid-area: 2 / 1 / 3 / 3;
    padding-top: 1px;
    font-weight: 600;
    line-height: 1.35;
  }

  .ben-tab-anal tbody tr.ben-l > td:nth-child(2) {
    grid-area: 3 / 1;
  }

  .ben-tab-anal tbody tr.ben-l > td:nth-child(3) {
    text-align: right;
    grid-area: 3 / 2;
  }

  .ben-tab-anal tbody tr.ben-l > td:nth-child(5) {
    grid-area: 4 / 1;
  }

  .ben-tab-anal tbody tr.ben-l > td:nth-child(6) {
    text-align: right;
    grid-area: 4 / 2;
  }

  .ben-tab-anal tbody tr.ben-l > td:nth-child(2), .ben-tab-anal tbody tr.ben-l > td:nth-child(3), .ben-tab-anal tbody tr.ben-l > td:nth-child(5), .ben-tab-anal tbody tr.ben-l > td:nth-child(6) {
    color: var(--cor-texto-muted);
    padding-top: 2px;
    font-size: .72rem;
    line-height: 1.4;
  }

  .ben-tab-anal tbody tr.ben-l > td:nth-child(5):before, .ben-tab-anal tbody tr.ben-l > td:nth-child(6):before {
    content: attr(data-rot) ": ";
    opacity: .75;
    font-weight: 600;
  }

  .ben-tab-anal tbody tr.ben-l .ben-conta-txt {
    white-space: normal;
    text-overflow: clip;
    overflow: visible;
    max-width: none !important;
  }

  .ben-tab-anal tbody tr.ben-total {
    border-top: 2px solid var(--cor-borda);
    padding: 13px;
    display: block;
  }

  .ben-tab-anal tbody tr.ben-total > td {
    white-space: normal;
    text-align: left;
    border-top: none;
    padding: 0;
    display: block;
  }

  .ben-tab-anal tbody tr.ben-total > td:first-child {
    color: var(--cor-texto-muted);
    font-size: .74rem;
  }

  .ben-tab-anal tbody tr.ben-total > td:last-child {
    margin-top: 3px;
    font-size: .95rem;
  }

  .ben-tab-lista {
    width: 100%;
    min-width: 0;
    display: block;
  }

  .ben-tab-lista thead {
    display: none;
  }

  .ben-tab-lista tbody {
    display: block;
  }

  .ben-tab-lista tbody tr {
    border-top: 1px solid var(--cor-borda-subtil);
    padding: 13px 14px;
    display: block;
    position: relative;
  }

  .ben-tab-lista tbody tr:first-child {
    border-top: none;
  }

  .ben-tab-lista tbody tr > td {
    white-space: normal;
    text-align: left;
    border-top: none;
    padding: 7px 0 0;
    display: block;
  }

  .ben-tab-lista tbody tr > td:first-child {
    padding-top: 0;
  }

  .ben-tab-lista tbody tr > td[data-rot]:before {
    content: attr(data-rot);
    letter-spacing: .7px;
    text-transform: uppercase;
    color: var(--cor-texto-muted);
    margin-bottom: 3px;
    font-size: .6rem;
    font-weight: 700;
    display: block;
  }

  .ben-tab-lista tbody tr > td.ben-td-accoes {
    border-top: 1px dashed var(--cor-borda-subtil);
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 9px;
    padding-top: 11px;
    display: flex;
  }

  .ben-tab-regras tbody tr {
    padding-right: 46px;
  }

  .ben-tab-regras tbody tr > td.ben-td-pos {
    padding: 0;
    font-size: .8rem;
    position: absolute;
    top: 13px;
    right: 14px;
  }

  .modal-popup-overlay:has( > .ben-modal) {
    align-items: flex-end;
    padding: 0;
    top: 0;
    left: 0;
  }

  .ben-modal {
    border-radius: 14px 14px 0 0;
    width: 100%;
    max-width: 100% !important;
    max-height: calc(100vh - var(--altura-header)) !important;
  }

  @supports (height: 100dvh) {
    .ben-modal {
      max-height: calc(100dvh - var(--altura-header)) !important;
    }
  }

  .ben-modal-cab {
    padding: 13px 14px;
  }

  .ben-modal-corpo {
    gap: 13px;
    padding: 14px;
  }

  .ben-modal-rod {
    padding: 10px 14px calc(10px + env(safe-area-inset-bottom, 0px));
    flex-wrap: wrap;
    gap: 8px;
  }

  .ben-modal-rod button {
    flex: 1 1 0;
    justify-content: center;
    min-height: 44px;
  }

  .ben-modal-rod .btn-cancelar-mod {
    min-width: 0;
  }

  .ben-modal-rod .ben-modal-nota {
    flex: 100%;
  }

  .ben-tab-congelados {
    width: 100%;
    font-size: .72rem;
  }

  .ben-tab-congelados td {
    padding: 8px 5px;
  }

  .ben-tab-congelados thead th {
    letter-spacing: .1px;
    padding: 8px 5px;
    font-size: .56rem;
  }

  .ben-tab-congelados .ben-col-total {
    min-width: 0;
  }

  .ben-tab-congelados td:nth-child(2) {
    white-space: normal;
    line-height: 1.3;
  }

  .ben-tab-congelados td:first-child, .ben-tab-congelados thead th:first-child {
    padding-left: 12px;
  }

  .ben-tab-congelados td:last-child, .ben-tab-congelados thead th:last-child {
    padding-right: 12px;
  }

  .ben-aviso {
    padding: 10px 12px;
    font-size: .78rem;
  }

  .ben-vazio {
    padding: 24px 16px;
    font-size: .82rem;
  }
}

:where(div, section, main, article, aside, header, footer, form, nav, ul, ol, li, dl, dd, table, thead, tbody, tr, td, th, p, fieldset) {
  min-width: 0;
}

:where(svg, img, video, canvas) {
  flex-shrink: 0;
}

:where(img, video, canvas) {
  max-width: 100%;
}

:where(.main-content) :is(p, span, div, td, th, li, dd, dt, h1, h2, h3, h4, h5, label, a, button) {
  overflow-wrap: break-word;
}

.header-left {
  flex: auto;
  min-width: 0;
}

.header-left > * {
  flex-shrink: 0;
}

.header-right {
  flex: none;
}

.header-right > * {
  flex-shrink: 0;
}

.header-system-name {
  text-overflow: ellipsis;
  flex-shrink: 1;
  min-width: 0;
  overflow: hidden;
}

@media (max-width: 1023px) {
  .modulo-header > div, .modulo-filtros, .modulo-filtros-wrap > div {
    flex-wrap: wrap;
  }

  .main-content [style*="display: flex"]:not([style*="flex-wrap"]):not([style*="flex-direction: column"]):not([style*="flex-direction:column"]):not(.abas-mod):not(.socios-abas):not(.tabela-wrapper):has( > :nth-child(3)) {
    flex-wrap: wrap;
  }

  .modulo-header > div:has( > svg:first-child):not(:has( > :nth-child(3))) {
    flex-wrap: nowrap;
  }
}

.modulo-card:has(table):not(:has(.tabela-wrapper)):not(:has(.ben-scroll)) {
  overflow-x: auto;
}

.card-tabela {
  overflow-x: auto;
}

@media (max-width: 1023px) {
  .main-content table:not(.tabela-wrapper table):not(.ben-scroll table):not(.modulo-card table):not(.card-tabela table):not(:has(thead[style*="sticky"])):not(:has(tr[style*="sticky"])) {
    width: 100%;
    display: block;
    overflow-x: auto;
  }

  .main-content table {
    table-layout: auto !important;
  }

  .drawer-overlay, body.sidebar-collapsed .drawer-overlay {
    left: 0;
  }

  .drawer-caixa, .drawer-caixa-xl {
    min-width: 0;
    max-width: 100%;
  }
}

.so-mobile {
  display: none;
}

@media (max-width: 1023px) {
  .so-mobile {
    display: block;
  }

  .txt-mobile-menor {
    font-size: .74rem;
    line-height: 1.3;
  }
}

@media (max-width: 480px) {
  .form-linha > * {
    flex: none !important;
  }

  .form-linha {
    align-content: flex-start;
  }
}

@media (pointer: coarse) {
  .btn-ajuda {
    width: 34px !important;
    height: 34px !important;
  }
}

.abas-mod {
  overflow-x: visible;
}

@media (max-width: 1023px) {
  .abas-mod {
    overflow-x: auto;
  }
}

@media (pointer: coarse) {
  .detalhe-acoes .btn-acao, .detalhe-acoes button, .detalhe-acoes a, .card-item-acoes .btn-acao, .card-item-acoes > button, .card-item-acoes > a {
    min-width: 44px;
    min-height: 44px;
  }
}

@media (max-width: 1023px) {
  .col-socio-cf {
    min-width: 0 !important;
  }
}

@property --tw-rotate-x {
  syntax: "*";
  inherits: false
}

@property --tw-rotate-y {
  syntax: "*";
  inherits: false
}

@property --tw-rotate-z {
  syntax: "*";
  inherits: false
}

@property --tw-skew-x {
  syntax: "*";
  inherits: false
}

@property --tw-skew-y {
  syntax: "*";
  inherits: false
}

@property --tw-border-style {
  syntax: "*";
  inherits: false;
  initial-value: solid;
}

@property --tw-ordinal {
  syntax: "*";
  inherits: false
}

@property --tw-slashed-zero {
  syntax: "*";
  inherits: false
}

@property --tw-numeric-figure {
  syntax: "*";
  inherits: false
}

@property --tw-numeric-spacing {
  syntax: "*";
  inherits: false
}

@property --tw-numeric-fraction {
  syntax: "*";
  inherits: false
}

@property --tw-shadow {
  syntax: "*";
  inherits: false;
  initial-value: 0 0 #0000;
}

@property --tw-shadow-color {
  syntax: "*";
  inherits: false
}

@property --tw-shadow-alpha {
  syntax: "<percentage>";
  inherits: false;
  initial-value: 100%;
}

@property --tw-inset-shadow {
  syntax: "*";
  inherits: false;
  initial-value: 0 0 #0000;
}

@property --tw-inset-shadow-color {
  syntax: "*";
  inherits: false
}

@property --tw-inset-shadow-alpha {
  syntax: "<percentage>";
  inherits: false;
  initial-value: 100%;
}

@property --tw-ring-color {
  syntax: "*";
  inherits: false
}

@property --tw-ring-shadow {
  syntax: "*";
  inherits: false;
  initial-value: 0 0 #0000;
}

@property --tw-inset-ring-color {
  syntax: "*";
  inherits: false
}

@property --tw-inset-ring-shadow {
  syntax: "*";
  inherits: false;
  initial-value: 0 0 #0000;
}

@property --tw-ring-inset {
  syntax: "*";
  inherits: false
}

@property --tw-ring-offset-width {
  syntax: "<length>";
  inherits: false;
  initial-value: 0;
}

@property --tw-ring-offset-color {
  syntax: "*";
  inherits: false;
  initial-value: #fff;
}

@property --tw-ring-offset-shadow {
  syntax: "*";
  inherits: false;
  initial-value: 0 0 #0000;
}

@property --tw-outline-style {
  syntax: "*";
  inherits: false;
  initial-value: solid;
}

@property --tw-blur {
  syntax: "*";
  inherits: false
}

@property --tw-brightness {
  syntax: "*";
  inherits: false
}

@property --tw-contrast {
  syntax: "*";
  inherits: false
}

@property --tw-grayscale {
  syntax: "*";
  inherits: false
}

@property --tw-hue-rotate {
  syntax: "*";
  inherits: false
}

@property --tw-invert {
  syntax: "*";
  inherits: false
}

@property --tw-opacity {
  syntax: "*";
  inherits: false
}

@property --tw-saturate {
  syntax: "*";
  inherits: false
}

@property --tw-sepia {
  syntax: "*";
  inherits: false
}

@property --tw-drop-shadow {
  syntax: "*";
  inherits: false
}

@property --tw-drop-shadow-color {
  syntax: "*";
  inherits: false
}

@property --tw-drop-shadow-alpha {
  syntax: "<percentage>";
  inherits: false;
  initial-value: 100%;
}

@property --tw-drop-shadow-size {
  syntax: "*";
  inherits: false
}

@property --tw-ease {
  syntax: "*";
  inherits: false
}

@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}

/*# sourceMappingURL=src_app_globals_162hn9o.css.map*/