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

/* Filtros */
.goals-filters[data-v-da6ff488] {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 16px;
  flex-wrap: wrap;
}
.goals-filters__left[data-v-da6ff488] {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  align-items: flex-end;
}
.goals-filters__group[data-v-da6ff488] {
  display: flex;
  flex-direction: column;
  gap: 5px;
  min-width: 180px;
}
.goals-filters__label[data-v-da6ff488] {
  font-size: 0.75rem;
  font-weight: 500;
  color: #64748b;
}
.goals-filters__clear[data-v-da6ff488] {
  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-da6ff488]:hover {
  background: #f1f5f9;
  color: #334155;
}

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

/* Meta: nome + tags de escopo */
.goals-cell-meta[data-v-da6ff488] {
  display: flex;
  flex-direction: column;
  gap: 3px;
  min-width: 0;
  width: 100%;
  max-width: 100%;
}
.goals-cell-meta__name[data-v-da6ff488] {
  font-weight: 600;
  color: #0f172a;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.goals-cell-meta__scope[data-v-da6ff488] { display: flex; gap: 5px;
}

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

/* Ações da linha */
.goals-row-actions[data-v-da6ff488] { display: flex; gap: 6px; justify-content: flex-end;
}
.goals-row-actions__btn[data-v-da6ff488] {
  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-da6ff488]:hover { background: #f1f5f9; color: #334155;
}
.goals-row-actions__btn--danger[data-v-da6ff488]:hover { background: #fee2e2; color: #dc2626;
}

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

/* Empty state */
.goals-empty[data-v-da6ff488] {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 64px 24px;
  gap: 10px;
}
.goals-empty__icon[data-v-da6ff488] {
  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-da6ff488] { color: #94a3b8;
}
.goals-empty__title[data-v-da6ff488] { font-size: 0.9375rem; font-weight: 600; color: #334155; margin: 0;
}
.goals-empty__desc[data-v-da6ff488] { font-size: 0.8125rem; color: #64748b; margin: 0; text-align: center;
}

/* Erro global */
.goals-error[data-v-da6ff488] {
  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-da6ff488] {
  background: none;
  border: none;
  cursor: pointer;
  color: #b91c1c;
  font-size: 1rem;
  padding: 0 4px;
}

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

/* Input monetário (alvo em R$) */
.goals-form__money[data-v-da6ff488] {
  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-da6ff488]:focus-within {
  border-color: #3b82f6;
  box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.1);
}
.goals-form__money--error[data-v-da6ff488] {
  border-color: #dc2626;
}
.goals-form__money-prefix[data-v-da6ff488] {
  font-size: 0.875rem;
  font-weight: 600;
  color: #64748b;
  flex-shrink: 0;
}
.goals-form__money-input[data-v-da6ff488] {
  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-da6ff488]::-moz-placeholder { color: #cbd5e1;
}
.goals-form__money-input[data-v-da6ff488]::placeholder { color: #cbd5e1;
}

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