
.goals-page[data-v-df741758] {
  padding: 28px 32px;
  background: #f8fafc;
  min-height: calc(100vh - 48px);
  box-sizing: border-box;
}

/* Header */
.goals-header[data-v-df741758] {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  margin-bottom: 24px;
  gap: 16px;
}
.goals-header__title[data-v-df741758] {
  font-size: 1.375rem;
  font-weight: 700;
  color: #0f172a;
  letter-spacing: -0.02em;
  margin: 0 0 2px;
}
.goals-header__subtitle[data-v-df741758] {
  font-size: 0.8125rem;
  color: #64748b;
  margin: 0;
}
.goals-header__right[data-v-df741758] {
  flex-shrink: 0;
}

/* Filtros */
.goals-filters[data-v-df741758] {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 16px;
  flex-wrap: wrap;
}
.goals-filters__left[data-v-df741758] {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  align-items: flex-end;
}
.goals-filters__group[data-v-df741758] {
  display: flex;
  flex-direction: column;
  gap: 5px;
  min-width: 180px;
}
.goals-filters__label[data-v-df741758] {
  font-size: 0.75rem;
  font-weight: 500;
  color: #64748b;
}
.goals-filters__clear[data-v-df741758] {
  height: 40px;
  padding: 0 14px;
  border: 1px solid #e2e8f0;
  border-radius: 10px;
  background: #fff;
  font-size: 0.8125rem;
  color: #64748b;
  cursor: pointer;
  transition: all 0.15s;
  white-space: nowrap;
}
.goals-filters__clear[data-v-df741758]:hover {
  background: #f1f5f9;
  color: #334155;
}

/* ── Células ricas dentro da ListViewDefault ── */

/* Meta: nome + tags de escopo */
.goals-cell-meta[data-v-df741758] {
  display: flex;
  flex-direction: column;
  gap: 3px;
  min-width: 0;
  width: 100%;
  max-width: 100%;
}
.goals-cell-meta__name[data-v-df741758] {
  font-weight: 600;
  color: #0f172a;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.goals-cell-meta__scope[data-v-df741758] { display: flex; gap: 5px;
}
.goals-scope-tag[data-v-df741758] {
  font-size: 0.68rem;
  font-weight: 500;
  padding: 1px 7px;
  border-radius: 999px;
  text-transform: uppercase;
  letter-spacing: 0.03em;
  white-space: nowrap;
}
.goals-scope-tag--global[data-v-df741758] { background: #f1f5f9; color: #475569;
}
.goals-scope-tag--dept[data-v-df741758] { background: #eff6ff; color: #2563eb;
}
.goals-scope-tag--operator[data-v-df741758] { background: #fdf4ff; color: #7c3aed;
}

/* Datas (inicial/final) */
.goals-cell-date[data-v-df741758] {
  color: #64748b;
  font-size: 0.8rem;
  white-space: nowrap;
  font-variant-numeric: tabular-nums;
}

/* Ações da linha */
.goals-row-actions[data-v-df741758] { display: flex; gap: 6px; justify-content: flex-end;
}
.goals-row-actions__btn[data-v-df741758] {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 30px;
  height: 30px;
  border-radius: 7px;
  border: none;
  background: transparent;
  color: #64748b;
  cursor: pointer;
  transition: all 0.15s;
  flex-shrink: 0;
}
.goals-row-actions__btn[data-v-df741758]:hover { background: #f1f5f9; color: #334155;
}
.goals-row-actions__btn--danger[data-v-df741758]:hover { background: #fee2e2; color: #dc2626;
}

/* Badges fonte */
.goals-badge[data-v-df741758] {
  display: inline-flex;
  align-items: center;
  padding: 3px 10px;
  border-radius: 999px;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  text-transform: uppercase;
}
.goals-badge--kanban[data-v-df741758] { background: #fef3c7; color: #92400e;
}
.goals-badge--ticket[data-v-df741758] { background: #ccfbf1; color: #065f46;
}

/* Progresso */
.goals-progress[data-v-df741758] { display: flex; flex-direction: column; gap: 5px; min-width: 0; width: 100%;
}
.goals-progress__bar-bg[data-v-df741758] {
  height: 6px;
  background: #e2e8f0;
  border-radius: 999px;
  overflow: hidden;
}
.goals-progress__bar-fill[data-v-df741758] {
  height: 100%;
  border-radius: 999px;
  transition: width 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}
.goals-progress__bar-fill--achieved[data-v-df741758] { background: #16a34a;
}
.goals-progress__bar-fill--pending[data-v-df741758] { background: #3b82f6;
}
.goals-progress__bar-fill--expired[data-v-df741758] { background: #dc2626;
}
.goals-progress__bar-fill--warning[data-v-df741758] { background: #f59e0b;
}
.goals-progress__labels[data-v-df741758] {
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.goals-progress__current[data-v-df741758] { font-size: 0.75rem; color: #64748b;
}
.goals-progress__percent[data-v-df741758] { font-size: 0.75rem; font-weight: 600; color: #334155;
}

/* Status badges */
.goals-status[data-v-df741758] {
  display: inline-flex;
  align-items: center;
  padding: 3px 10px;
  border-radius: 999px;
  font-size: 0.72rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.02em;
  white-space: nowrap;
}
.goals-status--achieved[data-v-df741758] { background: #dcfce7; color: #15803d;
}
.goals-status--pending[data-v-df741758] { background: #dbeafe; color: #1d4ed8;
}
.goals-status--expired[data-v-df741758] { background: #fee2e2; color: #b91c1c;
}
.goals-status--warning[data-v-df741758] { background: #fef3c7; color: #b45309;
}

/* Empty state */
.goals-empty[data-v-df741758] {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 64px 24px;
  gap: 10px;
}
.goals-empty__icon[data-v-df741758] {
  width: 72px;
  height: 72px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #f1f5f9;
  border-radius: 50%;
  margin-bottom: 4px;
}
.goals-empty__flag[data-v-df741758] { color: #94a3b8;
}
.goals-empty__title[data-v-df741758] { font-size: 0.9375rem; font-weight: 600; color: #334155; margin: 0;
}
.goals-empty__desc[data-v-df741758] { font-size: 0.8125rem; color: #64748b; margin: 0; text-align: center;
}

/* Erro global */
.goals-error[data-v-df741758] {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-top: 16px;
  padding: 12px 16px;
  background: #fee2e2;
  border: 1px solid #fca5a5;
  border-radius: 8px;
  font-size: 0.8125rem;
  color: #b91c1c;
}
.goals-error button[data-v-df741758] {
  background: none;
  border: none;
  cursor: pointer;
  color: #b91c1c;
  font-size: 1rem;
  padding: 0 4px;
}

/* Formulário */
.goals-form[data-v-df741758] {
  display: flex;
  flex-direction: column;
  gap: 20px;
  padding: 24px;
}
.goals-form__field[data-v-df741758] {
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.goals-form__field--half[data-v-df741758] { flex: 1;
}
.goals-form__row[data-v-df741758] {
  display: flex;
  gap: 16px;
}
.goals-form__label[data-v-df741758] {
  font-size: 0.8125rem;
  font-weight: 500;
  color: #374151;
}
.goals-form__label--required[data-v-df741758]::after {
  content: ' *';
  color: #dc2626;
}
.goals-form__pills[data-v-df741758] {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}
.goals-form__pill[data-v-df741758] {
  padding: 6px 16px;
  border-radius: 8px;
  border: 1px solid #e2e8f0;
  background: #f8fafc;
  font-size: 0.8125rem;
  font-weight: 500;
  color: #64748b;
  cursor: pointer;
  transition: all 0.15s;
}
.goals-form__pill[data-v-df741758]:hover { border-color: #93c5fd; background: #eff6ff; color: #2563eb;
}
.goals-form__pill--active[data-v-df741758] {
  border-color: #3b82f6;
  background: #eff6ff;
  color: #2563eb;
}
.goals-form__pill--disabled[data-v-df741758] {
  opacity: 0.4;
  cursor: not-allowed;
  pointer-events: none;
}
.goals-form__error[data-v-df741758] { font-size: 0.76rem; color: #dc2626;
}
.goals-form__hint[data-v-df741758] { font-size: 0.74rem; color: #94a3b8;
}

/* Input monetário (alvo em R$) */
.goals-form__money[data-v-df741758] {
  display: flex;
  align-items: center;
  gap: 8px;
  height: 40px;
  padding: 0 14px;
  border: 1.5px solid #e2e8f0;
  border-radius: 10px;
  background: #fff;
  box-shadow: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
  transition: border-color 0.15s, box-shadow 0.15s;
}
.goals-form__money[data-v-df741758]:focus-within {
  border-color: #3b82f6;
  box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.1);
}
.goals-form__money--error[data-v-df741758] {
  border-color: #dc2626;
}
.goals-form__money-prefix[data-v-df741758] {
  font-size: 0.875rem;
  font-weight: 600;
  color: #64748b;
  flex-shrink: 0;
}
.goals-form__money-input[data-v-df741758] {
  flex: 1;
  min-width: 0;
  border: none;
  outline: none;
  background: transparent;
  font-size: 0.9375rem;
  color: #1e293b;
  text-align: right;
}
.goals-form__money-input[data-v-df741758]::-moz-placeholder { color: #cbd5e1;
}
.goals-form__money-input[data-v-df741758]::placeholder { color: #cbd5e1;
}

/* Sheet footer */
.goals-sheet-footer[data-v-df741758] {
  display: flex;
  justify-content: flex-end;
  gap: 10px;
  padding: 16px 24px;
  border-top: 1px solid #f1f5f9;
}
