.draft-alert {
  background: rgba(74, 139, 124, .13);
  border-color: rgba(74, 139, 124, .24);
  color: #28584d;
}

.draft-open-button {
  background: rgba(255, 255, 255, .72);
  border: 1px solid rgba(72, 39, 31, .14);
  box-shadow: 0 12px 24px rgba(78, 42, 31, .08);
}

.draft-inline-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  margin: 0 0 22px;
  padding: 16px 18px;
  border: 1px solid rgba(72, 39, 31, .13);
  border-radius: 22px;
  background: linear-gradient(135deg, rgba(255, 255, 255, .72), rgba(255, 195, 96, .16));
  box-shadow: 0 14px 32px rgba(78, 42, 31, .08);
}

.draft-inline-card strong {
  display: block;
  margin-bottom: 3px;
  color: #321d18;
  font-size: 16px;
}

.draft-inline-card span {
  display: block;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.4;
}

.draft-modal-open {
  overflow: hidden;
}

.draft-modal {
  position: fixed;
  z-index: 2100;
  inset: 0;
  display: grid;
  place-items: center;
  padding: 22px;
}

.draft-modal[hidden] {
  display: none;
}

.draft-modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(42, 25, 20, .36);
  backdrop-filter: blur(10px);
}

.draft-modal-panel {
  position: relative;
  width: min(520px, 100%);
  padding: 28px;
  border: 1px solid rgba(255, 255, 255, .82);
  border-radius: 30px;
  background:
    radial-gradient(circle at 10% -10%, rgba(255, 195, 96, .32), transparent 42%),
    linear-gradient(135deg, rgba(255, 253, 248, .96), rgba(255, 239, 224, .94));
  box-shadow: 0 34px 95px rgba(42, 25, 20, .30);
}

.draft-modal-panel h2 {
  margin: 6px 0 12px;
  font-family: Georgia, serif;
  font-size: 36px;
  line-height: 1.02;
}

.draft-modal-panel p:not(.eyebrow) {
  margin: 0 0 18px;
  color: var(--muted);
  font-size: 16px;
  line-height: 1.55;
}

.draft-expired-panel {
  border-color: rgba(242, 111, 111, .34);
  background:
    radial-gradient(circle at 12% -12%, rgba(242, 111, 111, .22), transparent 40%),
    radial-gradient(circle at 94% 8%, rgba(255, 195, 96, .28), transparent 36%),
    linear-gradient(135deg, rgba(255, 253, 248, .97), rgba(255, 236, 226, .95));
}

.draft-expired-panel h2 {
  max-width: 430px;
}

.draft-modal-panel .draft-expired-note {
  margin-top: -4px;
  color: #9d4d38;
  font-weight: 850;
}

.draft-modal-panel label {
  margin-top: 10px;
}

.draft-modal-close {
  position: absolute;
  right: 16px;
  top: 14px;
  width: 36px;
  height: 36px;
  border: 0;
  border-radius: 50%;
  background: rgba(255, 255, 255, .66);
  color: #321d18;
  font: 900 24px/1 Arial, sans-serif;
  cursor: pointer;
}

.draft-modal-actions {
  display: flex;
  justify-content: flex-end;
  gap: 10px;
  margin-top: 18px;
}

.draft-modal-cancel {
  background: #fff;
  color: #321d18;
  border: 1px solid rgba(72, 39, 31, .14);
  box-shadow: none;
}

@media (max-width: 620px) {
  .draft-modal {
    padding: 12px;
    place-items: end center;
  }

  .draft-modal-panel {
    padding: 23px 18px;
    border-radius: 25px;
  }

  .draft-modal-panel h2 {
    font-size: 31px;
  }

  .draft-modal-actions {
    display: grid;
  }

  .draft-modal-actions .button,
  .draft-inline-card .button,
  .wizard-controls .draft-open-button {
    width: 100%;
  }

  .draft-inline-card {
    display: grid;
  }

  .wizard-controls .draft-open-button {
    order: 3;
  }
}
