.checklist-agreement-dialog {
  width: min(720px, calc(100% - 32px));
  max-height: calc(100dvh - 32px);
  margin: auto;
  padding: 0;
  overflow: auto;
  color: #241d19;
  background: #fffaf4;
  border: 1px solid rgba(72, 52, 39, 0.24);
  border-radius: 18px;
  box-shadow: 0 24px 80px rgba(21, 17, 15, 0.36);
}

.checklist-agreement-dialog::backdrop {
  background: rgba(21, 17, 15, 0.82);
  backdrop-filter: blur(4px);
}

.checklist-agreement-panel {
  padding: clamp(24px, 5vw, 42px);
}

.checklist-agreement-kicker {
  margin: 0 0 8px;
  color: #9b3f22;
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0.11em;
  text-transform: uppercase;
}

.checklist-agreement-panel h1 {
  margin: 0 0 14px;
  font-family: "Newsreader", Georgia, serif;
  font-size: clamp(2rem, 7vw, 3.1rem);
  line-height: 0.98;
}

.checklist-agreement-intro {
  margin: 0 0 20px;
  font-size: 1rem;
  line-height: 1.55;
}

.checklist-agreement-terms {
  margin: 0 0 22px;
  padding: 18px 20px;
  background: #f4eadf;
  border-left: 4px solid #b75b38;
  border-radius: 8px;
}

.checklist-agreement-terms ul {
  margin: 0;
  padding-left: 20px;
}

.checklist-agreement-terms li {
  margin: 0 0 10px;
  line-height: 1.48;
}

.checklist-agreement-terms li:last-child {
  margin-bottom: 0;
}

.checklist-agreement-check {
  display: grid;
  grid-template-columns: 22px 1fr;
  gap: 12px;
  align-items: start;
  margin: 0 0 18px;
  font-weight: 600;
  line-height: 1.45;
  cursor: pointer;
}

.checklist-agreement-check input {
  width: 20px;
  height: 20px;
  margin: 2px 0 0;
  accent-color: #9b3f22;
}

.checklist-agreement-continue {
  width: 100%;
  min-height: 50px;
  padding: 12px 18px;
  color: #fff;
  background: #9b3f22;
  border: 0;
  border-radius: 8px;
  font: inherit;
  font-weight: 700;
  cursor: pointer;
}

.checklist-agreement-continue:disabled {
  opacity: 0.42;
  cursor: not-allowed;
}

.checklist-agreement-close {
  display: block;
  margin: 14px auto 0;
  padding: 6px;
  color: #55483f;
  background: none;
  border: 0;
  font: inherit;
  text-decoration: underline;
  cursor: pointer;
}

.checklist-agreement-close[hidden] {
  display: none;
}

.checklist-agreement-storage {
  margin: 14px 0 0;
  color: #65574f;
  font-size: 0.82rem;
  line-height: 1.45;
}

.review-checklist-agreement {
  padding: 0;
  color: inherit;
  background: none;
  border: 0;
  font: inherit;
  text-decoration: underline;
  cursor: pointer;
}

body.checklist-agreement-pending {
  overflow: hidden;
}
