.start-context-progress {
  width: 100%;
  max-width: 610px;
}

.brief-shape__heading {
  margin-bottom: 24px;
}

.brief-shape__heading h2 {
  margin: 0;
}

.brief-shape__actions {
  display: flex;
  justify-content: flex-end;
  margin-top: 32px;
}

.brief-reset-trigger {
  min-height: 44px;
  border: 1px solid #62615c;
  padding: 10px 15px;
  background: transparent;
  color: var(--ink);
  cursor: pointer;
  font-family: var(--sans);
  font-size: 14px;
  font-weight: var(--weight-interface);
  line-height: 1.3;
  text-align: start;
  transition: background-color .16s linear, border-color .16s linear, color .16s linear;
}

.brief-reset-trigger:hover,
.brief-reset-trigger:focus-visible {
  border-color: var(--ink);
  background: var(--ink);
  color: #050505;
}

.brief-reset-trigger:focus-visible,
.brief-reset-dialog button:focus-visible {
  outline: 2px solid currentColor;
  outline-offset: 4px;
}

.brief-reset-dialog {
  width: min(calc(100% - 36px), 620px);
  max-width: none;
  border: 0;
  padding: 0;
  background: #edede7;
  color: #111;
  box-shadow: 0 30px 90px rgba(0, 0, 0, .42);
}

.brief-reset-dialog::backdrop {
  background: rgba(0, 0, 0, .72);
}

.brief-reset-dialog[open] {
  animation: brief-reset-in .22s cubic-bezier(.22, 1, .36, 1) both;
}

.brief-reset-dialog form {
  margin: 0;
  padding: clamp(30px, 4.5vw, 54px);
}

.brief-reset-dialog h2 {
  max-width: 500px;
  margin: 0;
  font-size: var(--type-heading-size);
  font-weight: var(--weight-display);
  letter-spacing: var(--tracking-display);
  line-height: var(--type-heading-line);
}

.brief-reset-dialog p {
  max-width: 500px;
  margin: 24px 0 0;
  color: #55554f;
  font-size: var(--type-body-size);
  font-weight: var(--weight-body);
  line-height: var(--type-body-line);
}

.brief-reset-actions {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  margin-top: 38px;
}

@keyframes brief-reset-in {
  from { opacity: 0; transform: translateY(10px); }
  to { opacity: 1; transform: translateY(0); }
}

@media (max-width: 560px) {
  .brief-shape__actions {
    margin-top: 28px;
  }

  .brief-reset-trigger {
    width: 100%;
    text-align: center;
  }

  .brief-reset-actions {
    align-items: stretch;
    flex-direction: column-reverse;
  }

  .brief-reset-actions .action-secondary {
    align-self: flex-start;
  }
}

@media (prefers-reduced-motion: reduce) {
  .brief-reset-dialog[open] {
    animation: none;
  }
}
