/* src/styles.css */
html,
body {
  margin: 0;
  padding: 0;
  min-height: 100%;
  font-family:
    "Montserrat",
    "SF Pro Display",
    -apple-system,
    BlinkMacSystemFont,
    "Segoe UI",
    sans-serif;
  color: #f4f4f4;
  background: #131313;
  -webkit-font-smoothing: antialiased;
}
body {
  display: block;
}
app-root {
  --app-bg:
    linear-gradient(
      120deg,
      rgba(179, 179, 179, 0.16),
      transparent 34%),
    #131313;
  --app-page-bg:
    linear-gradient(
      120deg,
      rgba(179, 179, 179, 0.16),
      transparent 34%),
    #131313;
  --app-panel: rgba(30, 30, 30, 0.88);
  --app-panel-solid: #1e1e1e;
  --app-panel-soft: rgba(42, 42, 42, 0.72);
  --app-card: rgba(30, 30, 30, 0.88);
  --app-card-soft:
    linear-gradient(
      150deg,
      rgba(42, 42, 42, 0.92),
      rgba(30, 30, 30, 0.8));
  --app-line: rgba(178, 178, 178, 0.22);
  --app-line-strong: rgba(178, 178, 178, 0.36);
  --app-text: #f6f6f6;
  --app-title: #fcfcfc;
  --app-muted: #bdbdbd;
  --app-accent-color: #b3b3b3;
  --app-accent:
    linear-gradient(
      135deg,
      #b3b3b3,
      #c5c5c5);
  --app-accent-soft: rgba(179, 179, 179, 0.16);
  --app-accent-shadow: rgba(179, 179, 179, 0.26);
  --app-on-accent: #131313;
  --app-green: #28a56d;
  --app-amber: #d99a20;
  --app-hover: rgba(179, 179, 179, 0.14);
  --app-shadow: 0 26px 60px rgba(0, 0, 0, 0.25);
  --app-danger-bg: rgba(255, 110, 110, 0.12);
  --app-danger-bg-strong: rgba(255, 110, 110, 0.2);
  --app-danger-line: rgba(255, 150, 150, 0.32);
  --app-danger-text: #ffdcdc;
  color-scheme: dark;
  transition: background 0.25s ease, color 0.25s ease;
}
app-root.app-theme-light {
  --app-bg: #f3f3f3;
  --app-page-bg:
    linear-gradient(
      120deg,
      rgba(179, 179, 179, 0.13),
      transparent 34%),
    #f3f3f3;
  --app-panel: rgba(255, 255, 255, 0.94);
  --app-panel-solid: #ffffff;
  --app-panel-soft: #fbfbfb;
  --app-card: #ffffff;
  --app-card-soft:
    linear-gradient(
      150deg,
      #ffffff,
      #f9f9f9);
  --app-line: rgba(95, 95, 95, 0.18);
  --app-line-strong: rgba(95, 95, 95, 0.3);
  --app-text: #1f1f1f;
  --app-title: #131313;
  --app-muted: #737373;
  --app-accent-color: #888888;
  --app-accent:
    linear-gradient(
      135deg,
      #888888,
      #adadad);
  --app-accent-soft: rgba(136, 136, 136, 0.1);
  --app-accent-shadow: rgba(136, 136, 136, 0.22);
  --app-on-accent: #ffffff;
  --app-green: #178756;
  --app-amber: #b7791f;
  --app-hover: rgba(136, 136, 136, 0.08);
  --app-shadow: 0 24px 50px rgba(28, 28, 28, 0.12);
  --app-danger-bg: rgba(200, 42, 42, 0.08);
  --app-danger-bg-strong: rgba(200, 42, 42, 0.14);
  --app-danger-line: rgba(200, 42, 42, 0.24);
  --app-danger-text: #9b1c1c;
  color-scheme: light;
}
app-root.app-theme-dark,
app-root.app-theme-light {
  display: block;
  min-height: 100vh;
}
app-root.app-theme-dark .sub-nav,
app-root.app-theme-dark .bi-topbar,
app-root.app-theme-light .sub-nav,
app-root.app-theme-light .bi-topbar {
  background: var(--app-panel) !important;
  border-color: var(--app-line) !important;
  border-radius: 8px !important;
  box-shadow: var(--app-shadow) !important;
  color: var(--app-text) !important;
}
app-root.app-theme-dark .sidebar,
app-root.app-theme-dark .users-sidebar,
app-root.app-theme-light .sidebar,
app-root.app-theme-light .users-sidebar {
  border-radius: 0 !important;
}
app-root.app-theme-dark .main,
app-root.app-theme-dark .users-details,
app-root.app-theme-light .main,
app-root.app-theme-light .users-details {
  padding: clamp(22px, 4vw, 44px) !important;
}
app-root.app-theme-dark .panel,
app-root.app-theme-dark .details-card,
app-root.app-theme-dark .filters-card,
app-root.app-theme-dark .table-wrap,
app-root.app-theme-dark .report-card,
app-root.app-theme-dark .frame-wrapper,
app-root.app-theme-dark .callout,
app-root.app-theme-light .panel,
app-root.app-theme-light .details-card,
app-root.app-theme-light .filters-card,
app-root.app-theme-light .table-wrap,
app-root.app-theme-light .report-card,
app-root.app-theme-light .frame-wrapper,
app-root.app-theme-light .callout {
  background: var(--app-card) !important;
  border-color: var(--app-line) !important;
  border-radius: 8px !important;
  box-shadow: var(--app-shadow) !important;
  color: var(--app-text) !important;
}
app-root.app-theme-dark .panel::after,
app-root.app-theme-dark .details-card::after,
app-root.app-theme-dark .filters-card::after,
app-root.app-theme-dark .table-wrap::after,
app-root.app-theme-light .panel::after,
app-root.app-theme-light .details-card::after,
app-root.app-theme-light .filters-card::after,
app-root.app-theme-light .table-wrap::after {
  border-radius: 8px !important;
  border-color: transparent !important;
}
app-root.app-theme-dark .panel::before,
app-root.app-theme-dark .details-card::before,
app-root.app-theme-dark .filters-card::before,
app-root.app-theme-dark .report-card::after,
app-root.app-theme-light .panel::before,
app-root.app-theme-light .details-card::before,
app-root.app-theme-light .filters-card::before,
app-root.app-theme-light .report-card::after {
  opacity: 0 !important;
}
app-root.app-theme-dark .pill,
app-root.app-theme-dark .module-btn,
app-root.app-theme-dark .create-entry,
app-root.app-theme-dark .user-list button,
app-root.app-theme-dark .ghost,
app-root.app-theme-dark .tab-button,
app-root.app-theme-dark .open-tab,
app-root.app-theme-light .pill,
app-root.app-theme-light .module-btn,
app-root.app-theme-light .create-entry,
app-root.app-theme-light .user-list button,
app-root.app-theme-light .ghost,
app-root.app-theme-light .tab-button,
app-root.app-theme-light .open-tab {
  background: var(--app-panel-soft) !important;
  border-color: var(--app-line) !important;
  border-radius: 8px !important;
  color: var(--app-text) !important;
  box-shadow: none !important;
}
app-root.app-theme-dark .pill:hover,
app-root.app-theme-dark .module-btn:hover,
app-root.app-theme-dark .create-entry:hover:not(:disabled),
app-root.app-theme-dark .user-list button:hover,
app-root.app-theme-dark .ghost:hover,
app-root.app-theme-dark .tab-button:hover,
app-root.app-theme-light .pill:hover,
app-root.app-theme-light .module-btn:hover,
app-root.app-theme-light .create-entry:hover:not(:disabled),
app-root.app-theme-light .user-list button:hover,
app-root.app-theme-light .ghost:hover,
app-root.app-theme-light .tab-button:hover {
  background: var(--app-hover) !important;
  border-color: var(--app-line-strong) !important;
}
app-root.app-theme-dark .pill.strong,
app-root.app-theme-dark .subtab.active,
app-root.app-theme-dark .module-btn.active,
app-root.app-theme-dark .filter-toggle.active,
app-root.app-theme-dark .create-entry.active,
app-root.app-theme-dark .user-list button.active,
app-root.app-theme-dark .tab-button.active,
app-root.app-theme-dark .open-tab,
app-root.app-theme-light .pill.strong,
app-root.app-theme-light .subtab.active,
app-root.app-theme-light .module-btn.active,
app-root.app-theme-light .filter-toggle.active,
app-root.app-theme-light .create-entry.active,
app-root.app-theme-light .user-list button.active,
app-root.app-theme-light .tab-button.active,
app-root.app-theme-light .open-tab {
  background: var(--app-accent) !important;
  border-color: transparent !important;
  color: var(--app-on-accent) !important;
  box-shadow: 0 16px 28px var(--app-accent-shadow) !important;
}
app-root.app-theme-dark .logo,
app-root.app-theme-dark h1,
app-root.app-theme-dark h2,
app-root.app-theme-dark h3,
app-root.app-theme-dark h4,
app-root.app-theme-dark .details-title,
app-root.app-theme-dark .page-header h1,
app-root.app-theme-light .logo,
app-root.app-theme-light h1,
app-root.app-theme-light h2,
app-root.app-theme-light h3,
app-root.app-theme-light h4,
app-root.app-theme-light .details-title,
app-root.app-theme-light .page-header h1 {
  color: var(--app-title) !important;
  letter-spacing: 0 !important;
}
app-root.app-theme-dark p,
app-root.app-theme-dark small,
app-root.app-theme-dark .editor-label,
app-root.app-theme-dark .details-subtitle,
app-root.app-theme-dark .empty,
app-root.app-theme-dark .loading,
app-root.app-theme-dark .table,
app-root.app-theme-dark .filters-field,
app-root.app-theme-dark .page-header p,
app-root.app-theme-light p,
app-root.app-theme-light small,
app-root.app-theme-light .editor-label,
app-root.app-theme-light .details-subtitle,
app-root.app-theme-light .empty,
app-root.app-theme-light .loading,
app-root.app-theme-light .table,
app-root.app-theme-light .filters-field,
app-root.app-theme-light .page-header p {
  color: var(--app-muted) !important;
}
app-root.app-theme-dark input,
app-root.app-theme-dark select,
app-root.app-theme-dark textarea,
app-root.app-theme-light input,
app-root.app-theme-light select,
app-root.app-theme-light textarea {
  background: var(--app-panel-soft) !important;
  border-color: var(--app-line) !important;
  border-radius: 8px !important;
  color: var(--app-text) !important;
}
app-root.app-theme-dark input:focus,
app-root.app-theme-dark select:focus,
app-root.app-theme-dark textarea:focus,
app-root.app-theme-light input:focus,
app-root.app-theme-light select:focus,
app-root.app-theme-light textarea:focus {
  border-color: var(--app-accent-color) !important;
  box-shadow: 0 0 0 3px var(--app-accent-soft) !important;
  outline: none !important;
}
app-root.app-theme-dark .row,
app-root.app-theme-dark .data-row,
app-root.app-theme-dark .table.body,
app-root.app-theme-dark .table-body,
app-root.app-theme-dark tr,
app-root.app-theme-light .row,
app-root.app-theme-light .data-row,
app-root.app-theme-light .table.body,
app-root.app-theme-light .table-body,
app-root.app-theme-light tr {
  background: transparent !important;
  border-color: var(--app-line) !important;
  color: var(--app-text) !important;
}
app-root.app-theme-dark th,
app-root.app-theme-light th {
  background: var(--app-panel-soft) !important;
  color: var(--app-accent-color) !important;
}
app-root.app-theme-dark td,
app-root.app-theme-light td {
  border-color: var(--app-line) !important;
  color: var(--app-text) !important;
}
app-root.app-theme-dark .badge,
app-root.app-theme-dark .tag,
app-root.app-theme-dark .status,
app-root.app-theme-light .badge,
app-root.app-theme-light .tag,
app-root.app-theme-light .status {
  border-radius: 8px !important;
}
app-obras .table-wrap.table-cadastro {
  gap: 24px;
  overflow-x: hidden;
  width: 100%;
  box-sizing: border-box;
}
app-obras .cadastro-producao-form,
app-obras .cadastro-medicao-form,
app-obras .cadastro-obra-form {
  display: flex;
  flex-direction: column;
  gap: 24px;
}
app-obras .cadastro-producao-form .form-grid,
app-obras .cadastro-medicao-form .form-grid,
app-obras .cadastro-obra-form .form-grid {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  column-gap: 28px;
  row-gap: 24px;
}
app-obras .cadastro-producao-form .field,
app-obras .cadastro-producao-form .field-info,
app-obras .cadastro-medicao-form .field,
app-obras .cadastro-medicao-form .field-info,
app-obras .cadastro-obra-form .field,
app-obras .cadastro-obra-form .field-info {
  display: flex;
  flex-direction: column;
  gap: 14px;
  font-size: 0.82rem;
  color: rgba(255, 255, 255, 0.72);
  grid-column: span 6;
  min-width: 0;
}
app-obras .cadastro-producao-form .field.valor-personalizado {
  grid-column: span 6;
}
app-obras .cadastro-medicao-form .field.obra {
  grid-column: span 6;
}
app-obras .cadastro-medicao-form .field.competencia-mes,
app-obras .cadastro-medicao-form .field.competencia-ano,
app-obras .cadastro-medicao-form .field.percentual {
  grid-column: span 3;
}
app-obras .cadastro-obra-form .field.nome-obra {
  grid-column: span 12;
}
app-obras .cadastro-producao-form .field.quantidade,
app-obras .cadastro-producao-form .field.tempo-demandado {
  grid-column: span 12;
}
app-obras .cadastro-producao-form .field.observacao {
  grid-column: span 12;
}
app-obras .cadastro-producao-form .field-info,
app-obras .cadastro-medicao-form .field-info,
app-obras .cadastro-obra-form .field-info {
  grid-column: span 6;
}
app-obras .cadastro-producao-form .field span,
app-obras .cadastro-medicao-form .field span,
app-obras .cadastro-obra-form .field span,
app-obras .cadastro-servico-form .field span {
  font-size: 0.7rem;
  text-transform: uppercase;
}
app-obras .detail-header.compact {
  margin: 0;
}
app-obras .detail-header.compact h4 {
  font-size: 1rem;
}
app-obras .form-grid.equipe,
app-obras .form-grid.equipe-renovar-grid,
app-obras .form-grid.equipe-filtros {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  align-items: end;
}
app-obras .form-grid.equipe .field.obra,
app-obras .form-grid.equipe-renovar-grid .field:first-child,
app-obras .form-grid.equipe-renovar-grid .field:nth-child(2) {
  grid-column: span 2;
}
app-obras .checkbox-field {
  justify-content: flex-end;
}
app-obras .checkbox-field input[type=checkbox] {
  width: 20px;
  height: 20px;
  accent-color: #b3b3b3;
}
app-obras .equipe-membros,
app-obras .equipe-lista,
app-obras .equipe-card-membros {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
app-obras .equipe-membro {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 14px 16px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.06);
}
app-obras .equipe-membro small,
app-obras .equipe-card small {
  display: block;
  margin-top: 4px;
  color: rgba(245, 245, 245, 0.62);
}
app-obras .equipe-card {
  display: flex;
  flex-direction: column;
  gap: 14px;
  padding: 18px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.06);
}
app-obras .equipe-card header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 18px;
}
app-obras .equipe-card header > span {
  border-radius: 999px;
  padding: 6px 10px;
  background: rgba(70, 220, 150, 0.16);
  color: rgba(204, 255, 226, 0.95);
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.08rem;
}
app-obras .equipe-card header > span.revisao {
  background: rgba(255, 200, 90, 0.16);
  color: rgba(255, 232, 182, 0.95);
}
app-obras .equipe-card-membros {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
}
app-obras .equipe-card-membros span {
  min-width: 0;
  padding: 10px 12px;
  border-radius: 8px;
  background: rgba(15, 15, 15, 0.34);
  overflow-wrap: anywhere;
}
app-obras .status.warning {
  border-color: rgba(255, 211, 120, 0.25);
  background: rgba(255, 195, 80, 0.1);
}
app-obras .lancamento-busca-field {
  grid-column: span 6;
}
app-obras .lancamento-busca-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 12px;
  align-items: start;
}
app-obras .lancamento-autocomplete {
  position: relative;
  min-width: 0;
}
app-obras .lancamento-toggle {
  min-width: 96px;
  height: 45px;
  padding-inline: 16px;
  white-space: nowrap;
}
app-obras .lancamento-toggle.active {
  border-color: rgba(190, 190, 190, 0.46);
  background: rgba(190, 190, 190, 0.16);
}
app-obras .lancamento-sugestoes {
  position: absolute;
  left: 0;
  right: 0;
  top: calc(100% + 6px);
  z-index: 35;
  max-height: 260px;
  overflow-y: auto;
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  background: rgba(15, 15, 15, 0.98);
  box-shadow: 0 18px 32px rgba(0, 0, 0, 0.5);
}
app-obras .lancamento-sugestao {
  width: 100%;
  border: 0;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  background: transparent;
  color: #f7f7f7;
  text-align: left;
  padding: 11px 12px;
  cursor: pointer;
  display: flex;
  flex-direction: column;
  gap: 4px;
}
app-obras .lancamento-sugestao:first-child {
  border-top: 0;
}
app-obras .lancamento-sugestao:hover {
  background: rgba(190, 190, 190, 0.15);
}
app-obras .lancamento-sugestao strong {
  font-size: 0.86rem;
  font-weight: 600;
  overflow-wrap: anywhere;
}
app-obras .lancamento-sugestao small,
app-obras .lancamento-sugestao-hint {
  font-size: 0.74rem;
  color: rgba(247, 247, 247, 0.72);
}
app-obras .lancamento-sugestao-hint {
  padding: 11px 12px;
}
app-obras .cadastro-producao-form .select-wrapper,
app-obras .cadastro-medicao-form .select-wrapper,
app-obras .cadastro-obra-form .select-wrapper,
app-obras .cadastro-servico-form .select-wrapper {
  position: relative;
}
app-obras .cadastro-producao-form select,
app-obras .cadastro-producao-form input,
app-obras .cadastro-producao-form textarea,
app-obras .cadastro-medicao-form select,
app-obras .cadastro-medicao-form input,
app-obras .cadastro-medicao-form textarea,
app-obras .cadastro-obra-form select,
app-obras .cadastro-obra-form input,
app-obras .cadastro-obra-form textarea,
app-obras .cadastro-servico-form select,
app-obras .cadastro-servico-form input,
app-obras .cadastro-servico-form textarea {
  width: 100%;
  box-sizing: border-box;
  border-radius: 18px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  background: rgba(15, 15, 15, 0.52);
  color: #f7f7f7;
  padding: 12px 16px;
  font-size: 0.88rem;
  transition:
    border-color 0.2s ease,
    background 0.2s ease,
    box-shadow 0.2s ease;
}
app-obras .cadastro-producao-form select:focus,
app-obras .cadastro-producao-form input:focus,
app-obras .cadastro-producao-form textarea:focus,
app-obras .cadastro-medicao-form select:focus,
app-obras .cadastro-medicao-form input:focus,
app-obras .cadastro-medicao-form textarea:focus,
app-obras .cadastro-servico-form input:focus,
app-obras .cadastro-servico-form textarea:focus,
app-obras .cadastro-servico-form select:focus,
app-obras .cadastro-obra-form select:focus,
app-obras .cadastro-obra-form input:focus,
app-obras .cadastro-obra-form textarea:focus {
  border-color: rgba(190, 190, 190, 0.7);
  outline: none;
  background: rgba(15, 15, 15, 0.7);
  box-shadow: 0 0 0 2px rgba(190, 190, 190, 0.2);
}
app-obras .cadastro-producao-form input.invalid,
app-obras .cadastro-medicao-form input.invalid,
app-obras .cadastro-producao-form select.invalid,
app-obras .cadastro-medicao-form select.invalid,
app-obras .cadastro-obra-form input.invalid,
app-obras .cadastro-obra-form select.invalid,
app-obras .cadastro-servico-form input.invalid,
app-obras .cadastro-servico-form select.invalid,
app-obras .emprestimo-form input.invalid,
app-obras .emprestimo-form select.invalid,
app-obras .emprestimo-form textarea.invalid {
  border-color: rgba(255, 145, 145, 0.6);
  box-shadow: 0 0 0 2px rgba(255, 98, 98, 0.25);
}
app-obras .cadastro-producao-form textarea,
app-obras .cadastro-medicao-form textarea,
app-obras .cadastro-obra-form textarea,
app-obras .cadastro-servico-form textarea {
  resize: vertical;
  min-height: 72px;
}
app-obras .cadastro-producao-form .field-info {
  align-self: stretch;
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: 16px 18px;
  border-radius: 20px;
  border: 1px solid rgba(190, 190, 190, 0.18);
  background: rgba(41, 41, 41, 0.35);
  color: rgba(245, 245, 245, 0.82);
  font-size: 0.82rem;
}
app-obras .cadastro-producao-form .form-actions,
app-obras .cadastro-medicao-form .form-actions,
app-obras .cadastro-obra-form .form-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: flex-end;
}
app-obras .cadastro-producao-form .form-actions {
  margin-top: 14px;
}
app-obras .cadastro-producao-form .form-actions .pill,
app-obras .cadastro-medicao-form .form-actions .pill,
app-obras .cadastro-obra-form .form-actions .pill {
  flex: 0 0 auto;
}
app-obras .status {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 18px 20px;
  border-radius: 18px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  background: rgba(44, 44, 44, 0.48);
  color: rgba(255, 255, 255, 0.8);
  font-size: 0.82rem;
}
app-obras .status.loading {
  border-style: dashed;
  background: rgba(44, 44, 44, 0.34);
}
app-obras .status.info {
  justify-content: flex-start;
  gap: 10px;
  background: rgba(44, 44, 44, 0.34);
  border-style: dashed;
}
app-obras .status.success {
  border-color: rgba(135, 247, 173, 0.45);
  background: rgba(34, 102, 70, 0.45);
  color: rgba(209, 255, 225, 0.9);
}
app-obras .status.error {
  border-color: rgba(255, 138, 138, 0.42);
  background: rgba(124, 32, 32, 0.35);
  color: rgba(255, 219, 219, 0.85);
}
app-obras .status.error p {
  margin: 0;
}
app-obras .status button {
  align-self: flex-start;
}
app-obras .table-cadastro .empty-hint {
  align-self: flex-start;
  font-size: 0.75rem;
  letter-spacing: 0.16rem;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.45);
}
app-obras .table-cadastro .table.header,
app-obras .table-cadastro .row {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  align-items: flex-start;
  gap: 16px;
  padding: 18px 20px;
  height: auto;
  opacity: 1;
  width: 100%;
  box-sizing: border-box;
}
app-obras .table-cadastro .table.header {
  text-transform: uppercase;
}
app-obras .table-cadastro .table.body {
  display: flex;
  flex-direction: column;
  gap: 12px;
  width: 100%;
}
app-obras .table-cadastro .row .total-cell {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 8px;
}
app-obras .table-cadastro .row .total-cell strong {
  font-size: 0.92rem;
  color: rgba(190, 190, 190, 0.9);
}
app-obras .table-cadastro .table-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 20px;
  border-radius: 18px;
  border: 1px solid rgba(190, 190, 190, 0.18);
  background: rgba(41, 41, 41, 0.28);
  font-size: 0.84rem;
  text-transform: uppercase;
  color: rgba(245, 245, 245, 0.84);
  width: 100%;
  min-width: 0;
  box-sizing: border-box;
}
app-obras .table-cadastro .table-footer strong {
  font-size: 0.92rem;
  color: rgba(190, 190, 190, 0.9);
}
app-obras .link-danger {
  border: none;
  background: transparent;
  color: rgba(255, 160, 160, 0.9);
  font-size: 0.72rem;
  text-transform: uppercase;
  cursor: pointer;
  transition: color 0.2s ease;
}
app-obras .link-danger:hover,
app-obras .link-danger:focus-visible {
  color: rgba(255, 198, 198, 1);
  outline: none;
}
@media (max-width: 1024px) {
  app-obras .cadastro-producao-form .field,
  app-obras .cadastro-producao-form .field-info,
  app-obras .cadastro-producao-form .field.valor-personalizado,
  app-obras .cadastro-medicao-form .field,
  app-obras .cadastro-medicao-form .field-info,
  app-obras .cadastro-obra-form .field,
  app-obras .cadastro-obra-form .field-info {
    grid-column: span 12;
  }
  app-obras .cadastro-producao-form .field.quantidade,
  app-obras .cadastro-producao-form .field.tempo-demandado,
  app-obras .cadastro-medicao-form .field.competencia-mes,
  app-obras .cadastro-medicao-form .field.competencia-ano,
  app-obras .cadastro-medicao-form .field.percentual,
  app-obras .cadastro-obra-form .field.nome-obra {
    grid-column: span 6;
  }
  app-obras .cadastro-producao-form .field.quantidade,
  app-obras .cadastro-producao-form .field.tempo-demandado {
    grid-column: span 12;
  }
}
@media (max-width: 900px) {
  app-obras .cadastro-producao-form .form-grid,
  app-obras .cadastro-medicao-form .form-grid,
  app-obras .cadastro-obra-form .form-grid {
    grid-template-columns: repeat(6, minmax(0, 1fr));
  }
  app-obras .cadastro-producao-form .field,
  app-obras .cadastro-producao-form .field-info,
  app-obras .cadastro-producao-form .field.valor-personalizado,
  app-obras .cadastro-medicao-form .field,
  app-obras .cadastro-medicao-form .field-info,
  app-obras .cadastro-obra-form .field,
  app-obras .cadastro-obra-form .field-info {
    grid-column: span 6;
  }
  app-obras .cadastro-producao-form .field.quantidade,
  app-obras .cadastro-producao-form .field.tempo-demandado,
  app-obras .cadastro-medicao-form .field.competencia-mes,
  app-obras .cadastro-medicao-form .field.competencia-ano,
  app-obras .cadastro-medicao-form .field.percentual,
  app-obras .cadastro-obra-form .field.nome-obra {
    grid-column: span 3;
  }
  app-obras .cadastro-producao-form .field.quantidade,
  app-obras .cadastro-producao-form .field.tempo-demandado {
    grid-column: span 6;
  }
  app-obras .cadastro-producao-form .field.observacao {
    grid-column: span 6;
  }
  app-obras .cadastro-producao-form .form-actions,
  app-obras .cadastro-medicao-form .form-actions,
  app-obras .cadastro-obra-form .form-actions {
    justify-content: flex-start;
  }
  app-obras .cadastro-producao-form .form-actions .pill,
  app-obras .cadastro-medicao-form .form-actions .pill,
  app-obras .cadastro-obra-form .form-actions .pill {
    flex: 1 1 100%;
  }
  app-obras .table-cadastro .table.header,
  app-obras .table-cadastro .row {
    min-width: 0;
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
@media (max-width: 640px) {
  app-obras .table-cadastro .table.header {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  app-obras .table-cadastro .row {
    grid-template-columns: minmax(0, 1fr);
  }
  app-obras .table-cadastro .table-footer {
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
  }
  app-obras .table-cadastro .table-footer strong {
    align-self: flex-end;
  }
}
html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
}
body {
  overflow-wrap: break-word;
}
img,
video,
canvas {
  max-width: 100%;
}
button,
a,
select,
[role=button] {
  -webkit-tap-highlight-color: transparent;
  touch-action: manipulation;
}
@media (max-width: 720px) {
  app-root *,
  app-root *::before,
  app-root *::after {
    box-sizing: border-box;
  }
  app-root input,
  app-root select,
  app-root textarea {
    font-size: 16px !important;
  }
  app-root input:not([type=checkbox]):not([type=radio]):not([type=range]):not([type=file]),
  app-root select {
    min-height: 44px;
  }
  app-root button {
    min-height: 40px;
  }
  app-root .pill,
  app-root .tab-button,
  app-root .module-btn,
  app-root .create-entry {
    min-height: 44px;
  }
  app-root.app-theme-dark .main,
  app-root.app-theme-dark .users-details,
  app-root.app-theme-light .main,
  app-root.app-theme-light .users-details {
    padding: 16px 14px 28px !important;
  }
  app-root .panel,
  app-root .details-card {
    padding: 18px 16px !important;
  }
  app-root .page {
    gap: 20px !important;
    padding: 20px 14px 28px !important;
  }
  app-root h1 {
    font-size: clamp(1.45rem, 7vw, 2rem) !important;
    line-height: 1.15;
  }
  app-root .table-wrap,
  app-root .table-scroll,
  app-root .table-container {
    -webkit-overflow-scrolling: touch;
    max-width: 100%;
    overflow-x: auto;
  }
  app-root .modal-backdrop {
    align-items: flex-start;
    overflow-y: auto;
    padding: calc(12px + env(safe-area-inset-top)) 12px calc(12px + env(safe-area-inset-bottom));
    place-items: start center !important;
  }
  app-root .modal {
    box-sizing: border-box;
    max-height: none;
    max-width: 100% !important;
    padding: 20px 16px !important;
    width: 100% !important;
  }
  app-root .modal-actions {
    flex-direction: column-reverse;
  }
  app-root .modal-actions > * {
    width: 100%;
  }
}
@media (hover: none) {
  .side-nav a:hover,
  .theme-switch:hover,
  .logout:hover {
    transform: none !important;
  }
}
@media (max-width: 720px) {
  app-obras .layout,
  app-rh .layout,
  app-contabilidade .layout,
  app-comercial .layout,
  app-configuracoes .layout,
  app-qualidade .layout {
    grid-template-columns: minmax(0, 1fr) !important;
    min-height: 0 !important;
  }
  app-obras .sidebar,
  app-rh .sidebar,
  app-contabilidade .sidebar,
  app-comercial .sidebar,
  app-configuracoes .sidebar,
  app-qualidade .sidebar {
    backdrop-filter: none !important;
    border-bottom: 1px solid var(--app-line) !important;
    border-right: none !important;
    box-shadow: none !important;
    flex-direction: column !important;
    gap: 10px !important;
    max-height: none !important;
    overflow: visible !important;
    padding: 12px 14px !important;
    position: relative !important;
  }
  app-obras .side-grid,
  app-rh .side-grid,
  app-contabilidade .side-grid,
  app-comercial .side-grid,
  app-configuracoes .side-grid,
  app-qualidade .side-grid {
    display: flex !important;
    flex-direction: column !important;
    gap: 10px !important;
  }
  app-obras .menu-col,
  app-rh .menu-col,
  app-contabilidade .menu-col,
  app-comercial .menu-col,
  app-configuracoes .menu-col,
  app-qualidade .menu-col {
    gap: 10px !important;
    min-width: 0;
  }
  app-obras .menu-col > .pill.strong,
  app-rh .menu-col > .pill.strong,
  app-contabilidade .menu-col > .pill.strong,
  app-comercial .menu-col > .pill.strong,
  app-configuracoes .menu-col > .pill.strong,
  app-qualidade .menu-col > .pill.strong {
    box-shadow: none !important;
    letter-spacing: 0.1rem !important;
    padding: 10px 16px !important;
    text-align: left;
  }
  app-obras .submenu,
  app-rh .submenu,
  app-contabilidade .submenu,
  app-comercial .submenu,
  app-configuracoes .submenu,
  app-qualidade .submenu {
    -webkit-overflow-scrolling: touch;
    display: flex !important;
    flex-direction: row !important;
    gap: 8px !important;
    margin: 0 -14px;
    overflow-x: auto;
    padding: 2px 14px 6px;
    position: static !important;
    scroll-padding-inline: 14px;
    scrollbar-width: none;
    scroll-snap-type: x proximity;
  }
  app-obras .submenu::-webkit-scrollbar,
  app-rh .submenu::-webkit-scrollbar,
  app-contabilidade .submenu::-webkit-scrollbar,
  app-comercial .submenu::-webkit-scrollbar,
  app-configuracoes .submenu::-webkit-scrollbar,
  app-qualidade .submenu::-webkit-scrollbar {
    display: none;
  }
  app-obras .submenu > .pill,
  app-rh .submenu > .pill,
  app-contabilidade .submenu > .pill,
  app-comercial .submenu > .pill,
  app-configuracoes .submenu > .pill,
  app-qualidade .submenu > .pill {
    flex: 0 0 auto;
    letter-spacing: 0.08rem !important;
    padding: 10px 16px !important;
    scroll-snap-align: start;
    white-space: nowrap;
  }
  app-obras .main,
  app-rh .main,
  app-contabilidade .main,
  app-comercial .main,
  app-configuracoes .main,
  app-qualidade .main {
    height: auto !important;
    overflow: visible !important;
  }
  app-obras .panel,
  app-rh .panel,
  app-contabilidade .panel,
  app-comercial .panel,
  app-configuracoes .panel,
  app-qualidade .panel {
    gap: 18px !important;
    min-height: 0 !important;
    min-width: 0;
  }
}
@media (max-width: 720px) {
  app-obras .table,
  app-rh .table,
  app-contabilidade .table,
  app-configuracoes .table,
  app-comercial .table {
    font-size: 0.68rem !important;
    gap: 8px !important;
    hyphens: auto;
    letter-spacing: 0.04rem !important;
    overflow-wrap: break-word;
  }
}

/* node_modules/drawflow/dist/drawflow.min.css */
.drawflow,
.drawflow .parent-node {
  position: relative;
}
.parent-drawflow {
  display: flex;
  overflow: hidden;
  touch-action: none;
  outline: 0;
}
.drawflow {
  width: 100%;
  height: 100%;
  -webkit-user-select: none;
  user-select: none;
  perspective: 0;
}
.drawflow .drawflow-node {
  display: flex;
  align-items: center;
  position: absolute;
  background: #0ff;
  width: 160px;
  min-height: 40px;
  border-radius: 4px;
  border: 2px solid #000;
  color: #000;
  z-index: 2;
  padding: 15px;
}
.drawflow .drawflow-node.selected {
  background: red;
}
.drawflow .drawflow-node:hover {
  cursor: move;
}
.drawflow .drawflow-node .inputs,
.drawflow .drawflow-node .outputs {
  width: 0;
}
.drawflow .drawflow-node .drawflow_content_node {
  width: 100%;
  display: block;
}
.drawflow .drawflow-node .input,
.drawflow .drawflow-node .output {
  position: relative;
  width: 20px;
  height: 20px;
  background: #fff;
  border-radius: 50%;
  border: 2px solid #000;
  cursor: crosshair;
  z-index: 1;
  margin-bottom: 5px;
}
.drawflow .drawflow-node .input {
  left: -27px;
  top: 2px;
  background: #ff0;
}
.drawflow .drawflow-node .output {
  right: -3px;
  top: 2px;
}
.drawflow svg {
  z-index: 0;
  position: absolute;
  overflow: visible !important;
}
.drawflow .connection {
  position: absolute;
  pointer-events: none;
  aspect-ratio: 1/1;
}
.drawflow .connection .main-path {
  fill: none;
  stroke-width: 5px;
  stroke: #4682b4;
  pointer-events: all;
}
.drawflow .connection .main-path:hover {
  stroke: #1266ab;
  cursor: pointer;
}
.drawflow .connection .main-path.selected {
  stroke: #43b993;
}
.drawflow .connection .point {
  cursor: move;
  stroke: #000;
  stroke-width: 2;
  fill: #fff;
  pointer-events: all;
}
.drawflow .connection .point.selected,
.drawflow .connection .point:hover {
  fill: #1266ab;
}
.drawflow .main-path {
  fill: none;
  stroke-width: 5px;
  stroke: #4682b4;
}
.drawflow-delete {
  position: absolute;
  display: block;
  width: 30px;
  height: 30px;
  background: #000;
  color: #fff;
  z-index: 4;
  border: 2px solid #fff;
  line-height: 30px;
  font-weight: 700;
  text-align: center;
  border-radius: 50%;
  font-family: monospace;
  cursor: pointer;
}
.drawflow > .drawflow-delete {
  margin-left: -15px;
  margin-top: 15px;
}
.parent-node .drawflow-delete {
  right: -15px;
  top: -15px;
}

/* angular:styles/global:styles */
/*# sourceMappingURL=styles-YPZINR7H.css.map */
