/* marketing-targets.css */
.targets-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(300px, 0.8fr);
  gap: 1.25rem;
  align-items: start;
}

@media (max-width: 900px) {
  .targets-grid {
    grid-template-columns: 1fr;
  }
}

.targets-main, .targets-side {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.targets-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  padding: 1.25rem;
  box-shadow: var(--shadow);
}

.targets-card h3 {
  margin: 0 0 1rem;
  color: var(--navy-800);
  font: 500 1.2rem Newsreader, Georgia, serif;
}

.targets-goals {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(120px, 1fr));
  gap: 1rem;
}

.targets-goal-item {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}

.targets-goal-item label {
  color: var(--muted);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.targets-goal-item input {
  width: 100%;
  font: 500 1.1rem "IBM Plex Mono", monospace;
  padding: 0.5rem 0.65rem;
  border: 1px solid var(--line-soft);
  border-radius: var(--r-sm);
  background: var(--bg);
  color: var(--navy-800);
  transition: border-color 0.2s;
}

.targets-goal-item input:focus {
  outline: none;
  border-color: var(--navy-700);
  background: #fff;
}

.targets-goal-item input:disabled {
  background: var(--line-soft);
  color: var(--muted);
  border-color: transparent;
}

.targets-actions {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.targets-action-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.85rem;
  border: 1px solid var(--line-soft);
  border-radius: var(--r-sm);
  background: var(--bg);
}

.targets-action-row.is-completed {
  background: #f4fbf7;
  border-color: #cbead7;
}

.targets-action-row.is-completed .targets-action-title {
  text-decoration: line-through;
  color: var(--muted);
}

.targets-action-main {
  display: flex;
  flex: 1;
  gap: 0.75rem;
  min-width: 0;
  flex-wrap: wrap;
}

.targets-action-title {
  flex: 1;
  min-width: 150px;
  border: 1px solid transparent;
  background: transparent;
  padding: 0.45rem 0.5rem;
  font-size: 0.9rem;
  color: var(--navy-800);
  border-radius: var(--r-sm);
}
.targets-action-title:focus {
  border-color: var(--line);
  background: #fff;
  outline: none;
}

.targets-action-date {
  width: 140px;
  border: 1px solid transparent;
  background: transparent;
  padding: 0.45rem 0.5rem;
  font-family: "IBM Plex Mono", monospace;
  font-size: 0.85rem;
  color: var(--muted);
  border-radius: var(--r-sm);
}
.targets-action-date:focus {
  border-color: var(--line);
  background: #fff;
  outline: none;
}

.targets-action-controls {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.targets-action-remove {
  background: none;
  border: none;
  color: var(--muted);
  font-size: 1.25rem;
  line-height: 1;
  cursor: pointer;
  padding: 0.25rem;
  border-radius: 50%;
}
.targets-action-remove:hover {
  color: var(--rose);
  background: var(--rose-bg);
}

.targets-textarea {
  width: 100%;
  min-height: 120px;
  resize: vertical;
  border: 1px solid var(--line-soft);
  border-radius: var(--r-sm);
  padding: 0.75rem;
  font-size: 0.9rem;
  color: var(--ink);
  background: var(--bg);
  transition: border-color 0.2s;
  font-family: inherit;
}
.targets-textarea:focus {
  outline: none;
  border-color: var(--navy-700);
  background: #fff;
}
.targets-textarea:disabled {
  background: var(--line-soft);
  color: var(--muted);
  border-color: transparent;
}

.mt-4 { margin-top: 1rem; }
