.path-list {
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  align-items: stretch;
}

.path-list .flow-step {
  min-width: 0;
  min-height: 180px;
  height: 100%;
  border-radius: 20px;
  padding: 18px;
  gap: 14px;
  overflow: visible;
}

.path-list .flow-step > span {
  min-width: 0;
}

.path-list .flow-step h3,
.path-list .flow-step p {
  white-space: normal;
  overflow: visible;
  text-overflow: clip;
  overflow-wrap: anywhere;
  word-break: normal;
}

.path-list .flow-step h3 {
  font-size: 16px;
  line-height: 1.5;
}

.path-list .flow-step p {
  font-size: 14px;
  line-height: 1.65;
}

.challenge-form-grid {
  grid-template-columns: repeat(3, minmax(160px, 1fr));
}

.challenge-form-grid .field,
.challenge-form-grid select {
  min-width: 0;
}

.challenge-form-grid select {
  padding-right: 38px;
  text-overflow: clip;
}

.confirm-delete-dialog {
  width: min(420px, calc(100vw - 32px));
  border: 1px solid rgba(18, 31, 44, .12);
  border-radius: 20px;
  padding: 0;
  color: var(--ink);
  background: #fff;
  box-shadow: 0 24px 80px rgba(18, 31, 44, .24);
}

.confirm-delete-dialog::backdrop {
  background: rgba(18, 31, 44, .34);
  backdrop-filter: blur(8px);
}

.confirm-delete-dialog__body {
  padding: 26px;
}

.confirm-delete-dialog__icon {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  margin-bottom: 16px;
  border-radius: 14px;
  background: #fff0ee;
  color: #b42318;
  font-size: 22px;
}

.confirm-delete-dialog h2 {
  margin: 0 0 8px;
  font-size: 21px;
}

.confirm-delete-dialog p {
  margin: 0;
  color: var(--muted);
  line-height: 1.65;
}

.confirm-delete-dialog__actions {
  display: flex;
  justify-content: flex-end;
  gap: 10px;
  margin: 24px 0 0;
  padding: 0;
}

.confirm-delete-dialog__actions button {
  min-height: 42px;
  padding: 0 18px;
  border-radius: 12px;
}

.confirm-delete-dialog__confirm {
  border-color: #b42318 !important;
  background: #b42318 !important;
  color: #fff !important;
}

@media (max-width: 760px) {
  .path-list,
  .challenge-form-grid {
    grid-template-columns: 1fr;
  }

  .path-list .flow-step {
    min-height: 0;
  }
}
