.prepare-note {
  margin-top: 16px;
  max-width: 700px;
  color: #466078;
  font-size: 14px;
}
.prepare-note summary {
  min-height: 44px;
  cursor: pointer;
  display: list-item;
  padding: 10px 0;
  font-weight: 600;
}
.prepare-note p {
  margin-top: 8px;
  line-height: 1.7;
}
.repeat-card {
  border: 1px solid #dbe4ed;
  border-radius: 12px;
  padding: 20px 16px;
  margin: 18px 0;
  background: #fcfdff;
}
.repeat-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 18px;
  gap: 10px;
}
.repeat-head h3 {
  font-size: 20px;
}
.remove-btn {
  border: 0;
  background: none;
  color: #9f2431;
  text-decoration: underline;
  min-height: 44px;
  padding: 10px;
  font-size: 13px;
}
.add-btn {
  min-height: 48px;
  padding: 12px 16px;
  border: 1px solid #b9c8d7;
  border-radius: 10px;
  background: #edf6f5;
  color: #155e55;
  font-weight: 600;
  width: 100%;
}
.specialty-flow .step-list li {
  flex-direction: column;
  gap: 4px;
}
.specialty-flow .review {
  margin-top: 12px;
}
.specialty-flow .review dl > div {
  grid-template-columns: minmax(90px, 1fr) minmax(0, 1.2fr);
}
.specialty-flow .review dt {
  overflow-wrap: anywhere;
}
.specialty-flow .step-list {
  gap: 4px;
}
.specialty-flow .intro h1 {
  font-size: 36px;
}
.specialty-flow .field-error {
  scroll-margin-top: 100px;
}
.specialty-flow textarea[aria-invalid="true"] {
  border-color: #bd3541;
}
.specialty-flow .complete-title {
  overflow-wrap: anywhere;
}
@media (max-width: 600px) {
  .specialty-flow .intro h1 {
    font-size: 29px;
  }
  .repeat-card {
    padding: 16px 12px;
  }
  .specialty-flow .step-list li {
    font-size: 10px;
  }
  .specialty-flow .review {
    padding: 12px;
  }
  .specialty-flow .next-btn {
    font-size: 14px;
    padding: 12px;
  }
  .specialty-flow .support-fine {
    display: block;
  }
}

/* Opt-in layout for new specialty forms. */
.specialty-modern{--teal:#123e68;--gold:#ffca36;background:#f5f7fa}
.specialty-modern .quote-header{background:#fff;border-bottom:1px solid #e1e7ee}
.specialty-modern .quote-logo{display:block;width:230px;max-width:100%;height:auto;max-height:54px;object-fit:contain}
.specialty-modern .quote-shell{max-width:1160px;padding-top:16px}
.specialty-modern .intro{background:#09283f;border-radius:22px;padding:30px 34px;margin:10px 0 28px;color:#fff}
.specialty-modern .intro h1{font-size:clamp(30px,3.5vw,44px);max-width:760px;line-height:1.12}
.specialty-modern .intro h1 span,.specialty-modern .eyebrow{color:#ffcf48}
.specialty-modern .intro>p{color:#e1eaf2;max-width:720px;font-size:16px}
.specialty-modern .trust{color:#fff;font-size:13px;gap:10px 24px}
.specialty-modern .personal-note{font-size:13px;line-height:1.6;padding:12px 16px;border-radius:10px;background:#fff7df;color:#4b421e;margin:18px 0 0;max-width:720px}
.specialty-modern .prepare-note{color:#d8e6f2;margin-top:8px}
.specialty-modern .quote-layout{grid-template-columns:minmax(0,780px) minmax(240px,1fr);gap:24px}
.specialty-modern .support-card{background:#fff;border-color:#dbe4ed}
.specialty-modern .support h2{font-size:25px;color:#09283f}
.specialty-modern .support p,.specialty-modern .support ul{color:#526479}
.specialty-modern .step-list [aria-current=step]>span{background:#ffca36;color:#09283f}
.specialty-modern .progress-track span{background:#e8b62d}
.specialty-modern .repeat-card{background:#f8fafc;border-radius:14px}
.specialty-modern .field label{line-height:1.45}
.specialty-modern .next-btn{font-size:16px;min-height:54px;text-decoration:none}
.specialty-modern .next-steps{list-style:none;counter-reset:next;padding:0;margin:24px 0}
.specialty-modern .next-steps li{counter-increment:next;position:relative;padding:0 0 20px 44px}
.specialty-modern .next-steps li:before{content:counter(next);position:absolute;left:0;top:0;background:#fff0bf;border-radius:50%;width:30px;height:30px;display:grid;place-items:center;font-weight:700}
.specialty-modern .next-steps strong,.specialty-modern .next-steps span{display:block}
.specialty-modern .next-steps span{font-size:14px;color:#526479;margin-top:4px}
.specialty-modern .receipt-number{background:#f2f6fb;border-color:#dbe4ed}
@media(max-width:850px){.specialty-modern .quote-layout{grid-template-columns:1fr}.specialty-modern .quote-shell{max-width:720px}.specialty-modern .intro{padding:26px}}
@media(max-width:600px){.specialty-modern .quote-logo{width:190px;max-height:46px}.specialty-modern .quote-shell{padding:6px 12px 20px}.specialty-modern .intro{padding:24px 20px;margin:4px 0 20px;border-radius:16px}.specialty-modern .intro h1{font-size:30px}.specialty-modern .intro>p{font-size:15px}.specialty-modern .trust{font-size:12px;gap:8px 14px}.specialty-modern .personal-note{font-size:12px;padding:10px 12px}.specialty-modern .prepare-note summary{font-size:13px}.specialty-modern .progress{padding:20px 16px 0}.specialty-modern form{padding:22px 16px}.specialty-modern .repeat-card{padding:16px 12px}.specialty-modern .form-actions{padding:12px 16px max(12px,env(safe-area-inset-bottom))}.specialty-modern .next-btn{font-size:16px}.specialty-modern .quote-complete h2{font-size:27px}.specialty-modern .quote-complete{padding:24px 18px}.specialty-modern .review dl>div{grid-template-columns:1fr;gap:3px;margin:14px 0}.specialty-modern .receipt-number strong{font-size:20px}}

.specialty-modern .intro>p.personal-note{color:#4b421e;font-size:13px}
