
/* Cover Review Secure Intake Revamp v1.1.0 */
.hrd-intake-wrap {
  --cr-navy:#0d3554;
  --cr-teal:#238f82;
  --cr-border:#dbe4e8;
  --cr-soft:#f7fbfa;
  --cr-text:#17324a;
}
.hrd-intake-wrap .hrd-form { max-width:1040px; margin-inline:auto; }
.hrd-intake-wrap fieldset { min-width:0; }
.hrd-intake-wrap input,
.hrd-intake-wrap select,
.hrd-intake-wrap textarea { max-width:100%; box-sizing:border-box; }

.cr-info-box {
  margin:18px 0; padding:16px 18px; border:1px solid #cfe3df;
  border-left:4px solid var(--cr-teal); border-radius:12px; background:var(--cr-soft);
  color:var(--cr-text);
}
.cr-info-box strong { display:block; margin-bottom:5px; }
.cr-info-box p { margin:5px 0; }
.cr-info-box a { font-weight:700; }

.cr-field { min-width:0; }
.cr-field label { display:block; font-weight:700; margin-bottom:7px; color:var(--cr-text); }
.cr-field small { display:block; margin-top:6px; color:#5d6f7c; line-height:1.45; }
.cr-field input, .cr-field select, .cr-field textarea {
  width:100%; min-height:48px; padding:11px 12px; border:1px solid #cfdadd;
  border-radius:9px; background:#fff; font:inherit;
}
.cr-field textarea { min-height:90px; resize:vertical; }

.cr-two-col { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:16px; }
.cr-full { grid-column:1 / -1; }

.cr-rule-details {
  margin:16px 0 4px; border:1px solid var(--cr-border); border-radius:10px;
  padding:12px 14px; background:#fff;
}
.cr-rule-details summary { cursor:pointer; font-weight:800; color:var(--cr-navy); }
.cr-rule-details p { margin:10px 0 0; color:#475e70; line-height:1.55; }

.cr-primary-dob-wrap { margin-top:16px; }

/* Contact preference: use a container query so it responds to the actual form width,
   even when a mobile browser is rendering with a wider CSS viewport. */
fieldset.cr-channel-fieldset { container-type:inline-size; }
fieldset.cr-channel-fieldset .cr-channel-options {
  display:grid !important;
  grid-template-columns:repeat(3,minmax(0,1fr)) !important;
  gap:14px !important;
  align-items:stretch !important;
}
fieldset.cr-channel-fieldset .cr-channel-choice {
  min-width:0 !important;
  width:auto !important;
  margin:0 !important;
  display:grid !important;
  grid-template-columns:22px minmax(72px,100px) minmax(0,1fr) !important;
  gap:10px !important;
  align-items:center !important;
  padding:16px !important;
  border:1px solid #d5dde1 !important;
  border-radius:14px !important;
}
fieldset.cr-channel-fieldset .cr-channel-choice *,
fieldset.cr-channel-fieldset .cr-channel-choice {
  word-break:normal !important;
  overflow-wrap:normal !important;
  hyphens:none !important;
}
fieldset.cr-channel-fieldset .cr-channel-choice input[type="radio"] {
  width:20px !important;
  height:20px !important;
  min-width:20px !important;
  margin:0 !important;
}
@container (max-width: 720px) {
  fieldset.cr-channel-fieldset .cr-channel-options {
    grid-template-columns:1fr !important;
  }
  fieldset.cr-channel-fieldset .cr-channel-choice {
    grid-template-columns:22px minmax(95px,130px) minmax(0,1fr) !important;
  }
}

/* Household controls: preserve native Add Person behaviour and enrich each real row. */
.cr-household-intro {
  margin:12px 0 14px;
  padding:12px 14px;
  border:1px solid #dbe4e8;
  border-radius:10px;
  background:#fbfdfd;
  color:#526775;
  line-height:1.5;
}
.cr-member-row {
  display:grid !important;
  grid-template-columns:minmax(140px,1.15fr) minmax(110px,.7fr) minmax(150px,.9fr) minmax(150px,1fr) 48px !important;
  gap:10px !important;
  align-items:end !important;
}
.cr-member-row > * { min-width:0 !important; }
.cr-member-dob { min-width:0; }
.cr-member-dob label { display:block; font-size:12px; font-weight:700; margin-bottom:5px; }
.cr-member-dob input { width:100%; min-height:44px; }

#cr-cover-history { margin-top:22px; }
#cr-cover-history legend { font-weight:800; }
#cr-cover-history .cr-section-intro { margin:0 0 16px; color:#4d6170; line-height:1.55; }

.cr-privacy-note {
  padding:12px 14px; margin-top:14px; border-radius:10px; background:#f5f7f8;
  color:#536571; font-size:14px; line-height:1.5;
}

.cr-hidden { display:none !important; }

.hrd-intake-wrap .hrd-form button,
.hrd-intake-wrap .hrd-form input[type="submit"] { min-height:46px; }

@media (max-width:760px) {
  .hrd-intake-wrap { padding-inline:12px !important; }
  .hrd-intake-wrap .hrd-card,
  .hrd-intake-wrap fieldset { padding:18px 14px !important; border-radius:14px !important; }

  .cr-two-col { grid-template-columns:1fr; gap:14px; }

  fieldset.cr-channel-fieldset .cr-channel-options {
    grid-template-columns:1fr !important;
  }
  fieldset.cr-channel-fieldset .cr-channel-choice {
    grid-template-columns:22px minmax(95px,125px) minmax(0,1fr) !important;
  }

  .cr-member-row {
    grid-template-columns:1fr 1fr !important;
    padding:14px !important;
    border:1px solid #dbe4e8 !important;
    border-radius:12px !important;
    background:#fbfdfd !important;
  }
  .cr-member-row > *:first-child { grid-column:1 / -1; }
  .cr-member-row > *:nth-last-child(2) { grid-column:1 / -1; }
  .cr-member-row > *:last-child { justify-self:end; }

  .hrd-intake-wrap textarea { min-height:110px; }
}

@media (max-width:430px) {
  fieldset.cr-channel-fieldset .cr-channel-choice {
    grid-template-columns:22px minmax(0,1fr) !important;
  }
  fieldset.cr-channel-fieldset .cr-channel-choice > *:last-child { grid-column:2; }

  .cr-member-row { grid-template-columns:1fr !important; }
  .cr-member-row > * { grid-column:1 !important; }
}
