:root {
  --impacto-primary: #4f9fd6;
  --impacto-primary-strong: #2f86c4;
  --impacto-table-header: #3b8ec8;
  --impacto-zebra: #f3f7fb;
  --impacto-page-bg: #f8f9fa;
  --sidebar-width: 240px;
  --sidebar-width-collapsed: 4.5rem;
}

html {
  background-color: var(--impacto-page-bg);
}

body {
  min-height: 100vh;
  background-color: var(--impacto-page-bg);
}

/* Confirmação do sistema acima de outros modals (ex.: editar atividade) */
#appConfirmModal.app-dialog--stacked,
#appPromptModal.app-dialog--stacked,
#appPerdaModal.app-dialog--stacked {
  z-index: 1105;
}
.modal-backdrop.app-dialog-backdrop--stacked {
  z-index: 1100;
}

/* Turbo Drive — barra de progresso nativa + nosso fallback */
.turbo-progress-bar {
  height: 3px;
  background: linear-gradient(90deg, var(--impacto-primary), var(--impacto-primary-strong));
}

body.is-navigating::before {
  content: "";
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  z-index: 1080;
  background: linear-gradient(90deg, var(--impacto-primary), var(--impacto-primary-strong));
  transform-origin: left center;
  animation: nav-progress 0.55s ease-out forwards;
  pointer-events: none;
}

@keyframes nav-progress {
  from {
    transform: scaleX(0.08);
    opacity: 1;
  }
  to {
    transform: scaleX(1);
    opacity: 0.85;
  }
}

/* Evita “piscar” o layout durante a visita Turbo */
.app-shell,
.app-main,
.app-sidebar {
  background-color: inherit;
}

.app-shell {
  min-height: 100vh;
  position: relative;
}

.app-sidebar {
  width: var(--sidebar-width);
  flex-direction: column;
  flex-shrink: 0;
  position: relative;
  transition: width 0.2s ease;
}

.app-sidebar__brand {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 2.5rem;
}

.app-sidebar__brand-link {
  display: block;
  min-width: 0;
  flex: 1 1 auto;
}

.app-brand-mark {
  display: none;
  width: 2rem;
  height: 2rem;
  max-width: 100%;
  object-fit: contain;
}

.app-brand-mark--sidebar {
  margin-inline: auto;
}

/* Toggle na borda menu/conteúdo — fora do fluxo do brand (não quebra linha) */
.app-sidebar__toggle {
  position: absolute;
  top: 1.35rem;
  left: calc(var(--sidebar-width) - 0.925rem);
  z-index: 40;
  width: 1.85rem;
  height: 1.85rem;
  padding: 0;
  align-items: center;
  justify-content: center;
  line-height: 1;
  border-radius: 0.375rem;
  background-color: #212529;
  box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.25), 0 2px 6px rgba(0, 0, 0, 0.25);
  transition: left 0.2s ease;
}

.app-sidebar__toggle:hover,
.app-sidebar__toggle:focus-visible {
  background-color: #343a40;
  border-color: #fff;
}

.app-sidebar .nav-link,
.offcanvas .nav-link {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  padding: 0.5rem 0.75rem;
}

.app-sidebar .nav-link__icon,
.offcanvas .nav-link__icon {
  flex-shrink: 0;
  width: 1.25rem;
  font-size: 1.15rem;
  line-height: 1;
  text-align: center;
  opacity: 0.95;
}

.app-sidebar .nav-link__label,
.offcanvas .nav-link__label {
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.app-sidebar__logout {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
}

/* Sidebar recolhida (só desktop) */
html.app-sidebar-collapsed .app-sidebar {
  width: var(--sidebar-width-collapsed);
  padding-left: 0.65rem;
  padding-right: 0.65rem;
}

html.app-sidebar-collapsed .app-sidebar__brand-link {
  display: flex;
  justify-content: center;
  align-items: center;
}

html.app-sidebar-collapsed .app-brand-logo--sidebar-full {
  display: none;
}

html.app-sidebar-collapsed .app-brand-mark--sidebar {
  display: block;
}

html.app-sidebar-collapsed .app-sidebar__toggle {
  left: calc(var(--sidebar-width-collapsed) - 0.925rem);
}

html.app-sidebar-collapsed .app-sidebar .nav-link {
  justify-content: center;
  padding-inline: 0.4rem;
}

html.app-sidebar-collapsed .app-sidebar .nav-link__label,
html.app-sidebar-collapsed .app-sidebar__user,
html.app-sidebar-collapsed .app-sidebar__logout-label {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

html.app-sidebar-collapsed .app-sidebar__footer {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
}

/* Quebra o wrapper nome+sino: sino e Sair ficam irmãos alinhados no centro */
html.app-sidebar-collapsed .app-sidebar__footer > .d-flex {
  display: contents;
}

html.app-sidebar-collapsed .atividades-bell {
  width: 2.25rem;
  max-width: 2.25rem;
  flex-shrink: 0;
  display: flex;
  justify-content: center;
  align-items: center;
}

/* Mesmo tamanho e eixo: Sino e Sair (!important vence .w-100 do logout) */
html.app-sidebar-collapsed .app-sidebar__logout,
html.app-sidebar-collapsed .atividades-bell__btn {
  width: 2.25rem !important;
  height: 2.25rem !important;
  min-width: 2.25rem !important;
  max-width: 2.25rem !important;
  padding: 0 !important;
  margin: 0 !important;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  align-self: center;
  flex-shrink: 0;
  box-sizing: border-box;
  line-height: 1;
}

html.app-sidebar-collapsed .app-sidebar__logout i,
html.app-sidebar-collapsed .atividades-bell__btn > i {
  font-size: 1rem;
  line-height: 1;
  width: 1em;
  height: 1em;
  display: block;
}

.app-brand-logo {
  display: block;
  width: auto;
  max-width: 100%;
  height: auto;
  max-height: 2.5rem;
  object-fit: contain;
}

.app-brand-logo--login {
  max-height: 4.5rem;
  max-width: min(100%, 280px);
  margin-inline: auto;
}

.app-brand-logo--topbar {
  max-height: 1.75rem;
  max-width: 140px;
}

.app-brand-logo--offcanvas {
  max-height: 2rem;
  max-width: 160px;
}

.app-sidebar__nav {
  flex: 1 1 auto;
  min-height: 0;
}

.app-sidebar__footer {
  flex-shrink: 0;
}

.app-main {
  background-color: var(--impacto-page-bg);
  min-width: 0;
  flex: 1 1 0;
  display: flex;
  flex-direction: column;
  min-height: 0;
}

.app-content-scroll {
  flex: 1 1 0;
  min-height: 0;
  background-color: var(--impacto-page-bg);
}

#app-content {
  display: block;
  background-color: var(--impacto-page-bg);
}

/* Nunca esconder o miolo enquanto carrega — evita flash branco */
#app-content[busy],
#app-content.is-loading {
  opacity: 1;
}

#app-content[busy] {
  cursor: progress;
}

#app-content > main {
  background-color: var(--impacto-page-bg);
}

.app-sidebar .nav-link {
  color: rgba(255, 255, 255, 0.85);
}

.app-sidebar .nav-link:hover {
  color: #fff;
}

.app-sidebar .nav-link--soon {
  opacity: 0.7;
}

.app-sidebar .nav-link.active,
.offcanvas .nav-link.active {
  background: var(--impacto-primary);
  color: #fff !important;
}

/* Grupos de domínio no menu (Técnico / Pessoal) — colapsáveis */
.nav-group {
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
  margin-top: 0.75rem;
  padding-top: 0.55rem;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
}

.nav-group:first-of-type {
  margin-top: 0.35rem;
}

.nav-group__toggle {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.35rem;
  width: 100%;
  margin: 0;
  padding: 0.35rem 0.75rem 0.25rem;
  border: 0;
  background: transparent;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.45);
  cursor: pointer;
  border-radius: 0.35rem;
  user-select: none;
}

.nav-group__toggle:hover,
.nav-group__toggle:focus-visible {
  color: rgba(255, 255, 255, 0.85);
  outline: none;
}

.nav-group__title {
  min-width: 0;
  text-align: left;
}

.nav-group__chevron {
  flex-shrink: 0;
  font-size: 0.85rem;
  line-height: 1;
  transition: transform 0.15s ease;
}

.nav-group.is-collapsed .nav-group__chevron {
  transform: rotate(-90deg);
}

.nav-group__body {
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
}

.nav-group.is-collapsed .nav-group__body {
  display: none;
}

.offcanvas .nav-group {
  border-top-color: rgba(0, 0, 0, 0.08);
}

.offcanvas .nav-group__toggle {
  color: var(--bs-secondary-color);
}

.offcanvas .nav-group__toggle:hover,
.offcanvas .nav-group__toggle:focus-visible {
  color: var(--bs-body-color);
}

/* Sidebar ícone-only: mostra todos os itens, esconde o toggle do grupo */
html.app-sidebar-collapsed .nav-group {
  margin-top: 0.4rem;
  padding-top: 0.4rem;
}

html.app-sidebar-collapsed .app-sidebar .nav-group__toggle {
  display: none;
}

html.app-sidebar-collapsed .app-sidebar .nav-group.is-collapsed .nav-group__body {
  display: flex;
}

.offcanvas .nav-link {
  color: var(--bs-body-color);
}

.offcanvas .nav-link--soon {
  color: var(--bs-secondary-color);
}

/* Tabelas — cabeçalho azul + zebra */
.table-app {
  --bs-table-bg: transparent;
  margin-bottom: 0;
}

.table-app thead th {
  background: var(--impacto-table-header);
  color: #fff;
  font-weight: 600;
  border-bottom: 0;
  white-space: nowrap;
  padding: 0.7rem 0.85rem;
  vertical-align: middle;
}

.table-app tbody td {
  padding: 0.65rem 0.85rem;
  vertical-align: middle;
  border-color: #e6edf4;
}

.table-app tbody tr:nth-child(even) {
  background-color: var(--impacto-zebra);
}

.table-app tfoot td {
  padding: 0.65rem 0.85rem;
  border-top: 2px solid var(--impacto-primary-strong);
  font-variant-numeric: tabular-nums;
  vertical-align: middle;
}
.table-app tbody tr:hover {
  background-color: #e8f3fb;
}

.table-app .col-num,
.table-app td.col-num {
  text-align: right;
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
}

/* Decimais / valores monetários no padrão pt-BR (vírgula) */
.input-br-decimal {
  text-align: right;
  font-variant-numeric: tabular-nums;
}

.table-app__actions {
  width: 1%;
  white-space: nowrap;
  text-align: right;
}

.table-wrap {
  border: 1px solid #d9e3ec;
  border-radius: 0.5rem;
  overflow: hidden;
  background: var(--bs-body-bg);
}

/* Botões de filtro (Pesquisar / Limpar) */
.btn-search {
  background: var(--impacto-primary-strong);
  border-color: var(--impacto-primary-strong);
  color: #fff;
}

.btn-search:hover,
.btn-search:focus {
  background: #2675b0;
  border-color: #2675b0;
  color: #fff;
}

.btn-clear {
  background: #e74c3c;
  border-color: #e74c3c;
  color: #fff;
}

.btn-clear:hover,
.btn-clear:focus {
  background: #c9392b;
  border-color: #c9392b;
  color: #fff;
}

/* Botões ícone (ver / editar / ações) — fundo suave, não branco chapado */
.btn-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.1rem;
  height: 2.1rem;
  padding: 0;
  border: 1px solid #c5d0dc;
  border-radius: 0.35rem;
  background: #eef2f6;
  color: #334155;
  line-height: 1;
  text-decoration: none;
}

.btn-icon:hover,
.btn-icon:focus {
  background: #e2eaf2;
  border-color: var(--impacto-primary-strong);
  color: var(--impacto-primary-strong);
}

.btn-icon i {
  font-size: 1rem;
}

.btn-icon--atividade {
  background: color-mix(in srgb, var(--impacto-primary) 22%, #fff);
  border-color: color-mix(in srgb, var(--impacto-primary-strong) 40%, #c5d0dc);
  color: var(--impacto-primary-strong);
}

.btn-icon--atividade:hover,
.btn-icon--atividade:focus {
  background: color-mix(in srgb, var(--impacto-primary) 34%, #fff);
  border-color: var(--impacto-primary-strong);
  color: #1a5f8a;
}

.btn-icon--obra {
  background: #e7f6ee;
  border-color: #9ecfb3;
  color: #18794a;
}

.btn-icon--obra:hover,
.btn-icon--obra:focus {
  background: #d5efdf;
  border-color: #18794a;
  color: #0f5c36;
}

.btn-icon--perda {
  background: #fceeed;
  border-color: #e5b3ad;
  color: #b42318;
}

.btn-icon--perda:hover,
.btn-icon--perda:focus {
  background: #f8ddda;
  border-color: #b42318;
  color: #912018;
}

.btn-icon-group {
  display: inline-flex;
  gap: 0.35rem;
  align-items: center;
}

.list-mobile .list-mobile__item {
  background: var(--bs-body-bg);
  border: 1px solid var(--bs-border-color);
  border-radius: 0.5rem;
  padding: 0.875rem 1rem;
}

.list-mobile .list-mobile__title {
  font-weight: 600;
  margin-bottom: 0.25rem;
}

.list-mobile .list-mobile__meta {
  color: var(--bs-secondary-color);
  font-size: 0.875rem;
}

.list-mobile .list-mobile__actions {
  margin-top: 0.75rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  align-items: center;
}

.workspace-tabs {
  border-bottom-color: var(--bs-border-color);
  overflow: visible;
  flex-wrap: wrap;
  row-gap: 0.15rem;
  /* Nunca barra de rolagem nas abas — quebra linha se faltar espaço */
  scrollbar-width: none;
}

.workspace-tabs::-webkit-scrollbar {
  display: none;
  width: 0;
  height: 0;
}

.workspace-tabs .nav-link {
  white-space: nowrap;
  color: var(--bs-secondary-color);
}

.workspace-tabs .nav-link.active {
  font-weight: 600;
  color: var(--impacto-primary, var(--bs-primary));
}

.select-filterable .form-select {
  margin-bottom: 0;
}

/* Combobox: consulta no próprio campo (sem input + select separados) */
.select-combobox {
  position: relative;
}
.select-combobox__native {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  padding: 0 !important;
  margin: -1px !important;
  overflow: hidden !important;
  clip: rect(0, 0, 0, 0) !important;
  white-space: nowrap !important;
  border: 0 !important;
}
.select-combobox__input {
  width: 100%;
  cursor: text;
}
.select-combobox__input::-webkit-search-decoration,
.select-combobox__input::-webkit-search-cancel-button {
  -webkit-appearance: none;
}
.select-combobox__list {
  position: absolute;
  z-index: 1080;
  left: 0;
  right: 0;
  top: calc(100% + 2px);
  max-height: 16rem;
  overflow-y: auto;
  margin: 0;
  padding: 0.25rem 0;
  list-style: none;
  background: var(--bs-body-bg, #fff);
  border: 1px solid var(--bs-border-color, #ced4da);
  border-radius: 0.375rem;
  box-shadow: 0 0.35rem 0.85rem rgba(16, 44, 68, 0.12);
}
.select-combobox__option,
.select-combobox__empty {
  padding: 0.5rem 0.75rem;
  font-size: 0.95rem;
  line-height: 1.3;
  cursor: pointer;
}
.select-combobox__option:hover,
.select-combobox__option.is-active {
  background: color-mix(in srgb, var(--impacto-primary, #1a5f8a) 12%, transparent);
}
.select-combobox__option.is-selected {
  font-weight: 600;
}
.select-combobox__option.is-disabled,
.select-combobox__empty {
  color: var(--bs-secondary-color);
  cursor: default;
}
.select-combobox.is-open .select-combobox__input {
  border-color: var(--impacto-primary, #1a5f8a);
}

.app-topbar .btn {
  min-height: 44px;
}

.filter-bar {
  border: 1px solid #d9e3ec;
  border-radius: 0.5rem;
  background: #fff;
  padding: 0.75rem;
  margin-bottom: 1rem;
}

.form-label__required {
  font-weight: 700;
  margin-left: 0.15rem;
}

/* Detalhe: voltar claro + ações no rodapé */
.detail-back {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  color: var(--impacto-primary-strong);
  text-decoration: none;
  font-weight: 500;
  font-size: 0.95rem;
}

.detail-back:hover {
  color: #2675b0;
  text-decoration: underline;
}

.detail-actions .btn {
  min-height: 44px;
}

@media (min-width: 768px) {
  /* Shell fixo: menu sempre visível; só o miolo rola */
  html,
  body {
    height: 100%;
    overflow: hidden;
  }

  .app-shell {
    display: flex;
    height: 100vh;
    height: 100dvh;
    max-height: 100dvh;
    min-height: 0;
    overflow: hidden;
  }

  .app-sidebar {
    height: 100%;
    max-height: 100%;
    overflow: visible;
  }

  .app-sidebar__nav {
    overflow-y: auto;
    overscroll-behavior: contain;
  }

  .app-main {
    min-height: 0;
    height: 100%;
    overflow: hidden;
  }

  .app-content-scroll {
    overflow-y: auto;
    overflow-x: hidden;
    overscroll-behavior: contain;
    -webkit-overflow-scrolling: touch;
  }

  #app-content {
    display: block;
    min-height: 0;
  }
}

/* Calendário de programação */
.prog-cal__grid {
  border: 1px solid var(--bs-border-color);
  border-radius: 0.5rem;
  overflow: hidden;
  background: var(--bs-body-bg);
}
.prog-cal__head,
.prog-cal__week {
  display: grid;
  grid-template-columns: repeat(7, minmax(0, 1fr));
}
.prog-cal__dow {
  padding: 0.4rem 0.25rem;
  text-align: center;
  font-size: 0.75rem;
  font-weight: 600;
  color: #fff;
  background: var(--impacto-primary, #1a5f8a);
}
.prog-cal__day {
  min-height: 4.5rem;
  padding: 0.35rem;
  border-top: 1px solid var(--bs-border-color);
  border-right: 1px solid var(--bs-border-color);
  font-size: 0.75rem;
  position: relative;
}
.prog-cal__week .prog-cal__day:nth-child(7n) {
  border-right: none;
}
.prog-cal__day--muted {
  background: var(--bs-tertiary-bg, #f8f9fa);
  color: var(--bs-secondary-color);
}
.prog-cal__day--has {
  background: color-mix(in srgb, var(--impacto-primary, #1a5f8a) 8%, transparent);
}
.prog-cal__day-add {
  position: absolute;
  inset: 0;
  z-index: 0;
  border-radius: 0;
  text-decoration: none;
  cursor: pointer;
  border: 0;
  padding: 0;
  margin: 0;
  background: transparent;
  display: block;
  width: 100%;
  height: 100%;
}
.prog-cal__day:hover .prog-cal__day-add {
  background: color-mix(in srgb, var(--impacto-primary, #1a5f8a) 10%, transparent);
}
.prog-cal__num {
  font-weight: 600;
  margin-bottom: 0.2rem;
  position: relative;
  z-index: 1;
  pointer-events: none;
}
.prog-cal__items {
  list-style: none;
  margin: 0;
  padding: 0;
  position: relative;
  z-index: 1;
  /* Deixa o clique no espaço vazio passar para “nova atividade” */
  pointer-events: none;
}
.prog-cal__items a,
.prog-cal__items .prog-cal__item {
  display: block;
  width: 100%;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  color: inherit;
  text-decoration: none;
  text-align: left;
  border: 0;
  padding: 0;
  margin: 0;
  background: transparent;
  cursor: pointer;
  font: inherit;
  pointer-events: auto;
}
.prog-cal__items a:hover,
.prog-cal__items .prog-cal__item:hover {
  text-decoration: underline;
  color: var(--impacto-primary, #1a5f8a);
}
.prog-cal__more {
  color: var(--bs-secondary-color);
  font-size: 0.7rem;
}
.prog-cal__day--hoje {
  outline: 2px solid var(--impacto-primary, #1a5f8a);
  outline-offset: -2px;
}
.prog-cal__item--atrasada {
  color: var(--bs-danger) !important;
  font-weight: 600;
}
.prog-cal__item--concluida {
  color: var(--bs-secondary-color);
  text-decoration: line-through;
}

/* Calendário de atividades — ocupa a altura útil da viewport */
.prog-cal--fill .prog-cal__grid {
  min-height: min(72vh, calc(100dvh - 15rem));
  display: flex;
  flex-direction: column;
}
.prog-cal--fill .prog-cal__head {
  flex: 0 0 auto;
}
.prog-cal--fill .prog-cal__week {
  flex: 1 1 0;
  min-height: 5.75rem;
}
.prog-cal--fill .prog-cal__day {
  min-height: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  padding: 0.4rem 0.35rem;
}
.prog-cal--fill .prog-cal__items {
  flex: 1 1 auto;
  min-height: 0;
}
.prog-cal--fill .prog-cal__items a,
.prog-cal--fill .prog-cal__items .prog-cal__item {
  white-space: normal;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  line-height: 1.25;
  margin-bottom: 0.2rem;
}

@media (max-width: 767.98px) {
  .prog-cal__day {
    min-height: 3.25rem;
    padding: 0.2rem;
  }
  .prog-cal__items {
    display: none;
  }
  .prog-cal__day--has .prog-cal__num::after {
    content: "";
    display: inline-block;
    width: 0.4rem;
    height: 0.4rem;
    margin-left: 0.25rem;
    border-radius: 50%;
    background: var(--impacto-primary, #1a5f8a);
    vertical-align: middle;
  }
  .prog-cal--fill .prog-cal__grid {
    min-height: auto;
    display: block;
  }
  .prog-cal--fill .prog-cal__week {
    min-height: 0;
    display: grid;
  }
  .prog-cal--fill .prog-cal__day {
    min-height: 3.25rem;
    height: auto;
    display: block;
  }
}

/* Badges de status (obra / alongamento) — cores semânticas */
.badge-status {
  font-weight: 600;
  letter-spacing: 0.01em;
  border: 1px solid transparent;
}

.badge-status--proposta {
  color: #7a4e00;
  background-color: #ffe8a3;
  border-color: #f0c94d;
}

.badge-status--andamento {
  color: #0a4d68;
  background-color: #c8eef8;
  border-color: #5bbfd9;
}

.badge-status--finalizada {
  color: #0f5132;
  background-color: #d1e7dd;
  border-color: #75b798;
}

.badge-status--vazio {
  color: #495057;
  background-color: #e9ecef;
  border-color: #adb5bd;
}

.badge-status--pendente {
  color: #842029;
  background-color: #f8d7da;
  border-color: #ea868f;
}

.badge-status--parcial {
  color: #084298;
  background-color: #cfe2ff;
  border-color: #6ea8fe;
}

.badge-status--concluido {
  color: #0f5132;
  background-color: #d1e7dd;
  border-color: #75b798;
}

.badge-status--outro {
  color: #41464b;
  background-color: #dee2e6;
  border-color: #adb5bd;
}

/* CRM — oportunidades */
.badge-status--aberta {
  color: #41464b;
  background-color: #e9ecef;
  border-color: #adb5bd;
}

.badge-status--prospeccao {
  color: #664d03;
  background-color: #fff3cd;
  border-color: #ffda6a;
}

.badge-status--negociacao {
  color: #084298;
  background-color: #cfe2ff;
  border-color: #6ea8fe;
}

.badge-status--fechada {
  color: #0f5132;
  background-color: #d1e7dd;
  border-color: #75b798;
}

.badge-status--perdida {
  color: #842029;
  background-color: #f8d7da;
  border-color: #ea868f;
}

.badge-status--cancelada {
  color: #41464b;
  background-color: #dee2e6;
  border-color: #adb5bd;
}

.kanban-board {
  display: flex;
  gap: 0.75rem;
  align-items: stretch;
  width: 100%;
  overflow-x: auto;
  padding-bottom: 0.5rem;
  -webkit-overflow-scrolling: touch;
}

.kanban-column {
  flex: 1 1 0;
  min-width: 14rem;
  max-width: none;
  background: #eef2f6;
  border-radius: 0.5rem;
  border: 1px solid #dbe3ec;
  min-height: 12rem;
  display: flex;
  flex-direction: column;
}

.kanban-column__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
  padding: 0.65rem 0.75rem;
  border-bottom: 1px solid transparent;
  border-radius: 0.5rem 0.5rem 0 0;
}

.kanban-column__title {
  font-size: 0.85rem;
  font-weight: 600;
  line-height: 1.2;
}

.kanban-column__body {
  padding: 0.5rem;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  min-height: 8rem;
  flex: 1;
}

.kanban-column__body.is-drag-over {
  background: rgba(79, 159, 214, 0.12);
  outline: 2px dashed var(--impacto-primary);
  outline-offset: -4px;
  border-radius: 0.35rem;
}

.kanban-column__empty {
  padding: 0.5rem;
  text-align: center;
}

.kanban-column__count {
  font-variant-numeric: tabular-nums;
  border: 1px solid transparent;
}

/* Colunas coloridas por estágio */
.kanban-column--aberta {
  background: #f1f3f5;
  border-color: #ced4da;
}

.kanban-column--aberta .kanban-column__header {
  background: #dee2e6;
  border-bottom-color: #adb5bd;
  color: #343a40;
}

.kanban-column--aberta .kanban-column__count {
  color: #41464b;
  background-color: #e9ecef;
  border-color: #adb5bd;
}

.kanban-column--prospeccao {
  background: #fff8e6;
  border-color: #ffe08a;
}

.kanban-column--prospeccao .kanban-column__header {
  background: #ffe69c;
  border-bottom-color: #ffda6a;
  color: #664d03;
}

.kanban-column--prospeccao .kanban-column__count {
  color: #664d03;
  background-color: #fff3cd;
  border-color: #ffda6a;
}

.kanban-column--negociacao {
  background: #eaf3fb;
  border-color: #9ec5fe;
}

.kanban-column--negociacao .kanban-column__header {
  background: #9ec5fe;
  border-bottom-color: #6ea8fe;
  color: #052c65;
}

.kanban-column--negociacao .kanban-column__count {
  color: #084298;
  background-color: #cfe2ff;
  border-color: #6ea8fe;
}

.kanban-column--proposta {
  background: #f3eefc;
  border-color: #c5b3e6;
}

.kanban-column--proposta .kanban-column__header {
  background: #d4c4f0;
  border-bottom-color: #b39ddb;
  color: #3d246b;
}

.kanban-column--proposta .kanban-column__count {
  color: #5a32a3;
  background-color: #ebe0ff;
  border-color: #b39ddb;
}

.kanban-column--fechada {
  background: #e8f6ee;
  border-color: #9fd5b5;
}

.kanban-column--fechada .kanban-column__header {
  background: #a3cfbb;
  border-bottom-color: #75b798;
  color: #0a3622;
}

.kanban-column--fechada .kanban-column__count {
  color: #0f5132;
  background-color: #d1e7dd;
  border-color: #75b798;
}

.kanban-column--perdida {
  background: #fceeef;
  border-color: #f1aeb5;
}

.kanban-column--perdida .kanban-column__header {
  background: #f1aeb5;
  border-bottom-color: #ea868f;
  color: #58151c;
}

.kanban-column--perdida .kanban-column__count {
  color: #842029;
  background-color: #f8d7da;
  border-color: #ea868f;
}

.kanban-column--cancelada {
  background: #f1f3f5;
  border-color: #ced4da;
}

.kanban-column--cancelada .kanban-column__header {
  background: #ced4da;
  border-bottom-color: #adb5bd;
  color: #343a40;
}

.kanban-column--cancelada .kanban-column__count {
  color: #41464b;
  background-color: #dee2e6;
  border-color: #adb5bd;
}

.kanban-card {
  background: #fff;
  border: 1px solid #d6dee8;
  border-left-width: 4px;
  border-radius: 0.4rem;
  padding: 0.65rem 0.7rem;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.04);
  cursor: grab;
  touch-action: manipulation;
}

.kanban-card--aberta {
  border-left-color: #6c757d;
  background: #fff;
  border-color: #ced4da;
}

.kanban-card--prospeccao {
  border-left-color: #d4a017;
  background: #fffdf5;
  border-color: #ffe08a;
}

.kanban-card--negociacao {
  border-left-color: #2f86c4;
  background: #f7fbfe;
  border-color: #9ec5fe;
}

.kanban-card--proposta {
  border-left-color: #6f42c1;
  background: #fbf8ff;
  border-color: #c5b3e6;
}

.kanban-card--fechada {
  border-left-color: #198754;
  background: #f6fbf8;
  border-color: #9fd5b5;
}

.kanban-card--perdida {
  border-left-color: #dc3545;
  background: #fff8f8;
  border-color: #f1aeb5;
}

.kanban-card--cancelada {
  border-left-color: #868e96;
  background: #f8f9fa;
  border-color: #ced4da;
}

.kanban-card:active {
  cursor: grabbing;
}

.kanban-card.is-dragging {
  opacity: 0.45;
}

.kanban-card__title {
  font-weight: 600;
  font-size: 0.92rem;
  margin-bottom: 0.2rem;
  word-break: break-word;
}

.kanban-card__numero {
  font-weight: 500;
  font-variant-numeric: tabular-nums;
  margin-right: 0.25rem;
}

.kanban-card__meta {
  font-size: 0.78rem;
  color: #6c757d;
}

.kanban-card__valor {
  margin-top: 0.35rem;
  font-size: 0.85rem;
  font-weight: 600;
  text-align: right;
  font-variant-numeric: tabular-nums;
}

.kanban-card__actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.35rem;
  margin-top: 0.45rem;
}

.kanban-card__status-select {
  flex: 1;
  min-width: 0;
}

/* Sino de atividades */
.atividades-bell {
  position: relative;
}

.atividades-bell__btn {
  position: relative;
  padding-inline: 0.45rem;
}

.atividades-bell__badge {
  position: absolute;
  top: -0.35rem;
  right: -0.35rem;
  min-width: 1.15rem;
  height: 1.15rem;
  padding: 0 0.3rem;
  border-radius: 999px;
  background: #dc3545;
  color: #fff;
  font-size: 0.65rem;
  font-weight: 700;
  line-height: 1.15rem;
  text-align: center;
}

.atividades-bell__menu {
  width: min(22rem, 92vw);
  max-height: 70vh;
  overflow-y: auto;
}

.atividades-bell__item {
  display: block;
  padding: 0.55rem 1rem;
  text-decoration: none;
  color: inherit;
  border-bottom: 1px solid #eef1f4;
}

.atividades-bell__item:hover {
  background: #f3f7fb;
}

.atividades-bell__item-title {
  font-weight: 600;
  font-size: 0.9rem;
}

.atividades-bell__item-meta {
  font-size: 0.75rem;
  color: #6c757d;
}

.atividades-bell__item.is-atrasada .atividades-bell__item-meta {
  color: #dc3545;
}

.atividades-bell__item-actions {
  display: flex;
  gap: 0.35rem;
  margin-top: 0.35rem;
}

/* Evita “pisca” do select nativo antes do combobox (tela de atividades/oportunidades) */
select[data-filterable]:not(.select-combobox__native) {
  min-height: calc(1.5em + 0.75rem + 2px);
}


/* Dashboard home — status */
.dash-status {
  border: 1px solid #d6dee8;
  border-left-width: 4px;
  border-radius: 0.5rem;
  padding: 0.75rem 0.85rem;
  background: #fff;
  height: 100%;
  transition: box-shadow 0.15s ease, transform 0.15s ease;
}

.dash-status:hover {
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
  transform: translateY(-1px);
}

.dash-status__label {
  font-size: 0.8rem;
  font-weight: 600;
  color: #495057;
  line-height: 1.2;
  min-height: 2.1em;
}

.dash-status__count {
  font-size: 1.6rem;
  font-weight: 700;
  font-variant-numeric: tabular-nums;
  line-height: 1.2;
  margin-top: 0.25rem;
}

.dash-status__bar {
  height: 0.35rem;
  background: rgba(0, 0, 0, 0.08);
  border-radius: 999px;
  overflow: hidden;
  margin-top: 0.55rem;
}

.dash-status__bar > span {
  display: block;
  height: 100%;
  background: currentColor;
  border-radius: inherit;
  min-width: 0;
}

.dash-status__pct {
  margin-top: 0.25rem;
  font-size: 0.72rem;
  color: #6c757d;
}

.dash-status--aberta { border-left-color: #6c757d; color: #6c757d; background: #f8f9fa; }
.dash-status--prospeccao { border-left-color: #d4a017; color: #a07800; background: #fffbeb; }
.dash-status--negociacao { border-left-color: #2f86c4; color: #2f86c4; background: #eef6fc; }
.dash-status--proposta { border-left-color: #6f42c1; color: #6f42c1; background: #f5f0ff; }
.dash-status--fechada { border-left-color: #198754; color: #198754; background: #edf7f1; }
.dash-status--perdida { border-left-color: #dc3545; color: #dc3545; background: #fdf0f1; }
.dash-status--cancelada { border-left-color: #868e96; color: #868e96; background: #f1f3f5; }

.dash-status--obra-proposta { border-left-color: #6f42c1; color: #6f42c1; background: #f5f0ff; }
.dash-status--obra-andamento { border-left-color: #2f86c4; color: #2f86c4; background: #eef6fc; }
.dash-status--obra-finalizada { border-left-color: #198754; color: #198754; background: #edf7f1; }

.dash-hero {
  border-radius: 0.6rem;
  padding: 1rem 1.1rem;
  border: 1px solid transparent;
  min-height: 6.5rem;
}

.dash-hero__label {
  font-size: 0.8rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.03em;
  opacity: 0.85;
}

.dash-hero__value {
  font-size: 1.55rem;
  font-weight: 700;
  font-variant-numeric: tabular-nums;
  margin-top: 0.2rem;
  line-height: 1.2;
}

.dash-hero__hint {
  font-size: 0.75rem;
  margin-top: 0.35rem;
  opacity: 0.8;
}

.dash-hero--pipeline {
  background: linear-gradient(135deg, #1e3a5f 0%, #2f86c4 100%);
  color: #fff;
}

.dash-hero--ops {
  background: linear-gradient(135deg, #f5f0ff 0%, #e8ddff 100%);
  border-color: #d2c2f5;
  color: #4a2d8a;
}

.dash-hero--obras {
  background: linear-gradient(135deg, #eef6fc 0%, #d9ecfa 100%);
  border-color: #b7d7ef;
  color: #1d5f8a;
}

.dash-chart-card {
  border: 1px solid #d6dee8;
  border-radius: 0.6rem;
  padding: 1rem 1.1rem;
  background: #fff;
  height: 100%;
}

.dash-chart-wrap {
  position: relative;
  height: 240px;
}

.dash-chart-wrap--bar {
  height: 260px;
}

.dash-chart-wrap--line {
  height: 220px;
}

/* Seções de formulário — agrupa campos sem “card” extra */
.form-section-title {
  margin-top: 1.25rem;
  margin-bottom: 0.75rem;
  padding-bottom: 0.35rem;
  border-bottom: 1px solid rgba(47, 134, 196, 0.2);
  color: #344054;
  font-weight: 600;
}

.form-section-title:first-child {
  margin-top: 0;
}

.form-check-field {
  min-height: 2.25rem;
  display: flex;
  align-items: center;
  padding-left: 1.75em;
}

.form-check-field .form-check-input {
  margin-top: 0;
}

/* Barra de fórmulas (Cortes) — estilo Excel */
.pecas-formula-bar {
  display: flex;
  align-items: stretch;
  gap: 0;
  margin-bottom: 0.5rem;
  border: 1px solid rgba(47, 134, 196, 0.35);
  border-radius: 0.5rem;
  background: #fff;
  overflow: hidden;
  min-height: 2.5rem;
}

.pecas-formula-bar.is-editing {
  border-color: var(--impacto-primary, #2f86c4);
  box-shadow: 0 0 0 0.15rem rgba(47, 134, 196, 0.2);
}

.pecas-formula-bar.is-formula {
  border-color: #0d6efd;
}

.pecas-formula-bar__cell {
  flex: 0 0 4.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-variant-numeric: tabular-nums;
  font-size: 0.875rem;
  color: #1a3a52;
  background: #eef5fb;
  border-right: 1px solid rgba(47, 134, 196, 0.25);
  user-select: none;
}

.pecas-formula-bar__fx {
  flex: 0 0 2.25rem;
  display: flex;
  align-items: center;
  justify-content: center;
  font-style: italic;
  font-weight: 600;
  color: #6c757d;
  background: #f8fafc;
  border-right: 1px solid rgba(47, 134, 196, 0.2);
  user-select: none;
}

.pecas-formula-bar__input {
  flex: 1 1 auto;
  border: 0 !important;
  border-radius: 0 !important;
  box-shadow: none !important;
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 0.9rem;
  padding: 0.4rem 0.75rem;
}

.pecas-formula-bar__input:focus {
  box-shadow: none !important;
}

.pecas-formula-bar.is-readonly {
  opacity: 0.92;
  background: #f3f6f9;
}

.pecas-formula-bar__input.is-readonly,
.pecas-formula-bar__input[readonly] {
  background: #f3f6f9;
  cursor: default;
  color: #495057;
}

/* Grade Jspreadsheet — rolagem X/Y no miolo; colunas cabem ou scroll horizontal */
.pecas-spreadsheet {
  width: 100%;
  max-width: 100%;
  height: min(70vh, calc(100vh - 280px));
  min-height: 240px;
  overflow: hidden;
  border: 1px solid rgba(47, 134, 196, 0.25);
  border-radius: 0.5rem;
  background: #fff;
}

.pecas-spreadsheet .jexcel_container {
  width: 100% !important;
  height: 100% !important;
  overflow: hidden !important;
  box-sizing: border-box;
}

.pecas-spreadsheet .jexcel_content,
.pecas-spreadsheet .jexcel_overflow {
  overflow-x: hidden;
  overflow-y: auto !important;
  scrollbar-gutter: stable;
  width: 100% !important;
  max-width: 100% !important;
  box-sizing: border-box;
}

.pecas-spreadsheet .jexcel_content.is-scroll-x,
.pecas-spreadsheet .jexcel_overflow.is-scroll-x {
  overflow-x: auto !important;
}

.pecas-spreadsheet .jexcel {
  box-sizing: border-box;
  max-width: 100%;
}

.pecas-spreadsheet .jexcel > thead > tr > td {
  background: var(--impacto-primary, #2f86c4) !important;
  color: #fff !important;
  font-weight: 600;
  height: 28px !important;
  padding: 2px 6px !important;
  vertical-align: middle !important;
  white-space: nowrap;
  font-size: 0.8rem;
}

.pecas-spreadsheet .jexcel > tbody > tr > td {
  height: 26px !important;
  min-height: 26px !important;
  padding: 1px 6px !important;
  line-height: 1.2 !important;
  font-size: 0.825rem;
  vertical-align: middle !important;
}

/* Input do editor preenche a célula (evita “1 caractere” + microbarra no input) */
.pecas-spreadsheet .jexcel > tbody > tr > td > input,
.pecas-spreadsheet .jexcel > tbody > tr > td > select,
.pecas-spreadsheet .jexcel input.jexcel_input,
.pecas-spreadsheet .jexcel input:not([type="checkbox"]) {
  height: 22px !important;
  min-height: 22px !important;
  width: 100% !important;
  max-width: 100% !important;
  box-sizing: border-box !important;
  font-size: 0.825rem !important;
  line-height: 1.2 !important;
  padding: 0 4px !important;
  overflow-x: hidden !important;
}

/* Checkbox: alvo = célula inteira (input não captura o clique) */
.pecas-spreadsheet .jexcel > tbody > tr > td input[type="checkbox"] {
  width: 1.2rem;
  height: 1.2rem;
  margin: 0;
  vertical-align: middle;
  pointer-events: none;
  accent-color: var(--impacto-primary-strong, #2f86c4);
}

.pecas-spreadsheet .jexcel > tbody > tr > td.jexcel_checkbox,
.pecas-spreadsheet .jexcel > tbody > tr > td:has(> input[type="checkbox"]) {
  cursor: pointer;
  text-align: center !important;
  user-select: none;
}

/* Somente leitura (Comp. Total / Peso / Conferência / AT-AT): mais contraste, paleta azul */
.pecas-spreadsheet .jexcel > tbody > tr > td.readonly {
  color: #2a4f6e !important;
  background-color: #eef5fb !important;
  font-weight: 500;
}

.pecas-spreadsheet .jexcel > tbody > tr > td.readonly.pecas-cell-alerta {
  background: #fff3cd !important;
  color: #2a4f6e !important;
}

.pecas-spreadsheet .jexcel > tbody > tr > td.readonly input[type="checkbox"],
.pecas-spreadsheet .jexcel > tbody > tr > td input[type="checkbox"]:disabled,
.pecas-spreadsheet .jexcel > tbody > tr > td input[type="checkbox"][disabled] {
  opacity: 1 !important;
  filter: none !important;
  accent-color: var(--impacto-primary-strong, #2f86c4);
  color-scheme: light;
  cursor: default;
}

/* AT-AT readonly: não parecer clicável */
.pecas-spreadsheet .jexcel > tbody > tr > td.readonly.jexcel_checkbox,
.pecas-spreadsheet .jexcel > tbody > tr > td.readonly:has(> input[type="checkbox"]) {
  cursor: default;
}

/* Dropdown: indica que a célula inteira abre a lista */
.pecas-spreadsheet .jexcel > tbody > tr > td.jexcel_dropdown {
  cursor: pointer;
}

/* Alongamentos — coluna Tipo: evita cortar "FV — FAIXAS VERTICAIS" */
#alongamentos-spreadsheet.pecas-spreadsheet .jexcel > tbody > tr > td[data-x="4"],
#alongamentos-spreadsheet.pecas-spreadsheet .jexcel > thead > tr > td[data-x="4"] {
  min-width: 200px;
}

.pecas-spreadsheet .jexcel > tbody > tr > td.pecas-section-tipo,
.pecas-spreadsheet .jexcel > tbody > tr > td[data-merged="true"] {
  background: #d6eaf8 !important;
  font-weight: 700 !important;
  text-align: center !important;
  color: #1a3a52 !important;
  cursor: default !important;
  user-select: none;
}

/* Cortes sem seção de tipo — bloqueio de salvamento */
.pecas-spreadsheet .jexcel > tbody > tr > td.pecas-cell-alerta {
  background: #fff3cd !important;
}

.pecas-spreadsheet .jexcel > tbody > tr.pecas-row-sem-tipo > td {
  background: #f8d7da !important;
  box-shadow: inset 0 0 0 1px #dc3545;
}

/* Toolbar pesos (aba Cortes): mesma tipografia no valor real e no input projeto */
.peso-pavimento-toolbar__valor,
.peso-pavimento-toolbar__input,
.peso-pavimento-toolbar__unidade {
  font-family: inherit;
  font-size: 0.875rem;
  font-weight: 400;
  font-variant-numeric: tabular-nums;
  line-height: 1.25;
  letter-spacing: normal;
}

.peso-pavimento-toolbar__input {
  color: inherit;
}

.peso-pavimento-toolbar__unidade {
  font-weight: 400;
}

.peso-pavimento-toolbar__calc {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 2rem;
  padding-left: 0.4rem;
  padding-right: 0.4rem;
}

/* Modal peso projeto — formulário alinhado */
.peso-projeto-form {
  display: grid;
  grid-template-columns: minmax(10rem, 1.6fr) 5.5rem 5.5rem 7.5rem auto;
  gap: 0.5rem 0.75rem;
  align-items: end;
}

.peso-projeto-form .form-label {
  margin-bottom: 0.25rem;
  font-size: 0.8125rem;
}

.peso-projeto-form__actions {
  display: flex;
  flex-wrap: nowrap;
  align-items: center;
  gap: 0.5rem;
  padding-bottom: 1px; /* alinha com borda do input */
}

.peso-projeto-form__actions .btn {
  white-space: nowrap;
}

#tabelaPesoProjeto .peso-projeto-col-feixes,
#tabelaPesoProjeto .peso-projeto-col-cabos {
  width: 5.5rem;
  white-space: nowrap;
}

#tabelaPesoProjeto .peso-projeto-col-peso {
  width: 7.5rem;
  white-space: nowrap;
}

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

  .peso-projeto-form__projeto {
    grid-column: 1 / -1;
  }

  .peso-projeto-form__actions {
    grid-column: 1 / -1;
    justify-content: stretch;
  }

  .peso-projeto-form__actions .btn {
    flex: 1 1 auto;
  }
}

/* Agrupamento AT-AT na toolbar dos quantitativos (mesmo espírito do quadro Pesos) */
.pecas-atat-toolbar {
  min-height: calc(1.5em + 0.5rem + 2px); /* altura de .btn-sm */
  padding-top: 0.15rem;
  padding-bottom: 0.15rem;
}

.pecas-atat-toolbar__btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 1.85rem;
  padding: 0.15rem 0.4rem;
  font-size: 0.95rem;
  line-height: 1;
}

.pecas-toolbar-actions .btn-sm {
  white-space: nowrap;
}

@media (min-width: 1400px) {
  .kanban-column {
    min-width: 16rem;
  }
}

/* Aba Materiais — grupos, peso em uso e processar */
.table-app tbody tr.materiais-grupo th {
  background: #e8f3fb;
  color: var(--impacto-primary-strong);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  padding: 0.4rem 0.85rem;
  border-bottom-color: #d9e3ec;
}

.table-app tbody tr.materiais-grupo,
.table-app tbody tr.materiais-grupo:hover,
.table-app tbody tr.materiais-grupo:nth-child(even) {
  background: #e8f3fb;
}

.materiais-peso-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.65rem;
}

@media (min-width: 576px) {
  .materiais-peso-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (min-width: 992px) {
  .materiais-peso-grid {
    grid-template-columns: 1fr;
  }
}

.materiais-peso-card {
  border: 1px solid #d9e3ec;
  border-radius: 0.5rem;
  padding: 0.75rem 0.9rem;
  background: var(--bs-body-bg);
}

.materiais-peso-card.is-active {
  border-color: #e0a800;
  background: var(--bs-warning-bg-subtle, #fff8e6);
}

.materiais-peso-card__valor {
  font-size: 1.25rem;
  font-weight: 700;
  font-variant-numeric: tabular-nums;
  line-height: 1.25;
  margin-top: 0.2rem;
}

.materiais-peso-card__valor span {
  font-size: 0.8rem;
  font-weight: 500;
  color: var(--bs-secondary-color);
}

.materiais-processar .btn {
  min-height: 44px;
  font-weight: 600;
}

.list-mobile .col-num {
  font-variant-numeric: tabular-nums;
}

@media (max-width: 767.98px) {
  .kanban-board {
    flex-direction: column;
    overflow-x: visible;
  }

  .kanban-column {
    flex: 1 1 auto;
    min-width: 0;
    max-width: none;
    width: 100%;
  }

  .dash-chart-wrap,
  .dash-chart-wrap--bar,
  .dash-chart-wrap--line {
    height: 220px;
  }
}

