dialog {
  width: min(540px, calc(100% - 40px));
  max-height: calc(100dvh - 40px);
  overflow: auto;
  border-radius: 14px;
}

dialog a {
  text-decoration: underline;
  text-underline-offset: .2em;
}

.purpose-summary {
  margin-top: 20px;
  padding: 2px 0 1px;
  border-top: 1px solid #e2e2e2;
  border-bottom: 1px solid #e2e2e2;
}

.purpose-summary p {
  margin: 14px 0;
}

.consent-actions {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 20px 0;
}

.consent-actions .consent-primary {
  flex: 1;
  min-height: 46px;
  border-color: #111;
  background: #141414;
  color: #fff;
  font-weight: 600;
  font-size: 15px;
  border-radius: 8px;
}

.consent-actions .consent-primary:hover {
  background: #333;
}

.consent-actions .consent-secondary {
  min-height: 38px;
  border-color: #ccc;
  font-weight: 400;
  font-size: 13px;
  color: #666;
  padding: 8px 16px;
}

.consent-actions .consent-secondary:hover {
  background: #f5f5f5;
  color: #333;
}

.policy-links {
  margin-bottom: 0;
  font-size: 13px;
  color: #666;
}
