.planner-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
}

.card.large {
  grid-column: span 2;
}

@media (max-width: 1100px) {
  .planner-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

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

.card.tall {
  grid-row: span 2;
}

.card .media {
  display: grid;
  place-items: center;
  background: linear-gradient(135deg, #f7f1ff 0%, #fff1f7 100%);
  padding: 24px;
  font-size: 18px;
  font-weight: 600;
  text-align: center;
  min-height: 180px;
}

.list {
  display: grid;
  gap: 10px;
}

.list-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  padding: 6px 0;
  border-bottom: 1px dashed var(--border);
}

.list-row:last-child {
  border-bottom: none;
}

.list-row .label {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
}

.small {
  font-size: 12px;
  color: var(--muted);
}

.progress {
  font-size: 12px;
  color: #1e1e1e;
  background: rgba(0,0,0,0.06);
  padding: 4px 8px;
  border-radius: 999px;
}

.table .actions {
  width: 80px;
  text-align: right;
}

.icon-button {
  background: transparent;
  border: none;
  color: #1e1e1e;
  cursor: pointer;
  font-size: 14px;
}

.calculator {
  display: grid;
  gap: 10px;
}

.calculator input {
  text-align: right;
}

.months {
  display: grid;
  gap: 6px;
}

.months button {
  width: 100%;
  text-align: left;
  background: #f5f5f5;
  color: #1e1e1e;
}

.months button.active {
  background: #1e1e1e;
  color: #fff;
}
