.ng-money-goal { margin-bottom: var(--space-4); }
.ng-money-goal-label { display: flex; align-items: center; gap: var(--space-2); }
.ng-money-goal-label label { flex: 1; margin-bottom: 0; }
.ng-money-goal-label button { flex-shrink: 0; }
.ng-money-goal textarea { padding-right: calc(var(--touch-target) + var(--space-2)); }
.ng-money-goal-clear {
  position: absolute;
  top: 0;
  right: 0;
  width: var(--touch-target);
  min-height: var(--touch-target);
  border: 0;
  border-radius: var(--radius-sm);
  background: transparent;
  color: var(--color-text-muted);
  font: inherit;
  font-size: var(--font-size-card);
  cursor: pointer;
}
.ng-money-goal .recent-thought-item { padding: 0 var(--space-2); }
.ng-money-goal-pick {
  min-height: var(--touch-target);
  padding: var(--space-2);
  border: 0;
  border-radius: var(--radius-sm);
  background: transparent;
  font: inherit;
  text-align: left;
  cursor: pointer;
}
.ng-money-goal .recent-thought-del { width: var(--touch-target); height: var(--touch-target); opacity: 1; }
.ng-money-goal .recent-thoughts-dropdown { overscroll-behavior: contain; -webkit-overflow-scrolling: touch; }
.ng-money-goal .recent-thoughts-dropdown > .ng-muted { padding: var(--space-3) var(--space-4); margin: 0; }
.ng-money-goal-clear:focus-visible, .ng-money-goal-pick:focus-visible, .ng-money-goal .recent-thought-del:focus-visible {
  outline: 2px solid var(--color-primary);
  outline-offset: -2px;
}
@media (hover: hover) {
  .ng-money-goal-clear:hover { background: var(--color-primary-subtle); color: var(--color-primary); }
}
.ng-money-goal-reminder {
  margin: 0 0 var(--space-4);
  padding: var(--space-3) var(--space-4);
  border-left: 2px solid var(--color-primary);
  border-radius: var(--radius-sm);
  background: var(--color-primary-subtle);
}
.ng-money-goal-reminder span { display: block; }
.ng-money-goal-text {
  margin-top: var(--space-1);
  white-space: pre-wrap;
  overflow-wrap: anywhere;
  color: var(--color-text);
  font-size: var(--font-size-body);
  line-height: var(--line-height-body);
}
