.intake-consent-group {
  display: grid;
  gap: 10px;
  margin-block: 16px;
}

.intake-consent-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 2px 8px;
}

.estimate-intake-dialog .intake-consent-row label,
.intake-consent-row label {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  margin: 0;
  padding-block: 8px;
  cursor: pointer;
  line-height: 1.45;
}

.estimate-intake-dialog .intake-consent-row input[type="checkbox"],
.intake-consent-row input[type="checkbox"] {
  inline-size: 20px;
  block-size: 20px;
  flex: 0 0 20px;
  margin: 0;
}

.estimate-intake-dialog .intake-consent-row .intake-consent-toggle,
.intake-consent-row .intake-consent-toggle {
  min-height: 44px;
  padding: 4px 8px;
  border: 0;
  border-radius: 6px;
  background: transparent;
  color: #174a8b;
  font: inherit;
  text-decoration: underline;
  cursor: pointer;
}

.intake-consent-details[hidden] {
  display: none !important;
}

.intake-consent-popup {
  box-sizing: border-box;
  width: min(420px, calc(100% - 32px));
  border: 1px solid #cbd5e1;
  border-radius: 16px;
  padding: 20px;
  color: #172c49;
  background: #fff;
}

.intake-consent-popup::backdrop {
  background: rgb(15 23 42 / 55%);
}

.intake-consent-popup h2 {
  font-size: 1.15rem;
  line-height: 1.45;
}

.intake-consent-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.intake-consent-popup .intake-consent-actions a,
.estimate-intake-dialog .intake-consent-popup .intake-consent-actions button,
.intake-consent-popup .intake-consent-actions button {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 6px 12px;
  border: 1px solid #214b79;
  border-radius: 8px;
  background: #214b79;
  color: #fff;
  font: inherit;
  text-decoration: none;
  cursor: pointer;
}

.estimate-intake-dialog .intake-consent-popup .intake-consent-actions button,
.intake-consent-popup .intake-consent-actions button {
  background: #fff;
  color: #214b79;
}

.intake-final-copy {
  min-width: 0;
  padding: 14px;
  border: 1px solid #cbd5e1;
  border-radius: 12px;
  background: #f5f8fc;
  color: #1e3550;
  line-height: 1.65;
  overflow-wrap: anywhere;
}
.intake-final-copy h3 { margin: 0 0 8px; font-size: 1rem; }
.intake-final-copy p { margin: 6px 0; }
.intake-callback { margin: 10px 0; line-height: 1.6; }

.intake-final-contact.intake-final-contact {
  box-sizing:border-box; width:100%; min-height:52px; border:1px solid #b9c9db;
  border-radius:12px; padding:12px 14px; font:inherit; color:#172c49; background:#fff;
}
.intake-final-contact[aria-invalid="true"] {border-color:#a12626;}
.intake-final-error {display:block; margin-top:5px; color:#a12626; font-size:.875rem;}
.intake-final-error[hidden] {display:none;}
