
.cew-body {
  min-height: 100vh;
  background: #f4f6f8;
}

.cew-header {
  background: #fff;
  border-bottom: 1px solid #d9dde4;
}

.cew-header__inner {
  max-width: 1120px;
  margin: 0 auto;
  padding: 1rem 1.5rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
}

.cew-brand {
  display: inline-flex;
  align-items: center;
  gap: .9rem;
  text-decoration: none;
  color: #111;
}

.cew-brand__logo {
  height: 46px;
  width: auto;
  display: block;
}

.cew-brand__text {
  display: grid;
  line-height: 1.1;
}

.cew-brand__text strong {
  font-size: 1rem;
  letter-spacing: -.02em;
}

.cew-brand__text small {
  font-size: .9rem;
  color: #5b6672;
}

.cew-header__nav {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

.cew-header__nav a {
  color: #1f5a89;
  text-decoration: none;
  font-weight: 700;
}

.cew-main {
  max-width: 1120px;
  margin: 0 auto;
  padding: 2rem 1.5rem 3rem;
}

.cew-hero {
  display: grid;
  grid-template-columns: 1.15fr .95fr;
  gap: 1.5rem;
  align-items: stretch;
}

.cew-hero__main,
.cew-feature-card,
.cew-info-strip__card,
.cew-wizard-card,
.cew-access-card {
  border: 1px solid #d9dde4;
  background: #fff;
}

.cew-hero__main {
  padding: 2rem;
}

.cew-eyebrow {
  margin-bottom: .75rem;
  text-transform: uppercase;
  letter-spacing: .08em;
  font-size: .8rem;
  font-weight: 700;
  color: #1f5a89;
}

.cew-lead,
.cew-muted,
.cew-step__intro p,
.cew-contact-panel__head p,
.cew-submit-note {
  color: #4d5863;
}

.cew-actions {
  display: flex;
  gap: .75rem;
  flex-wrap: wrap;
  margin-top: 1.5rem;
}

.cew-card-grid {
  display: grid;
  gap: 1rem;
}

.cew-feature-card,
.cew-info-strip__card {
  padding: 1.35rem;
}

.cew-feature-card h3,
.cew-info-strip__card h2,
.cew-step__intro h2,
.cew-detail-block h2,
.cew-contact-panel__head h3 {
  margin-top: 0;
}

.cew-info-strip {
  margin-top: 1rem;
}

.cew-steps-list {
  margin: .75rem 0 0;
  padding-left: 1.25rem;
}

.cew-section {
  display: flex;
  justify-content: center;
}

.cew-form-card,
.cew-access-card {
  width: 100%;
  max-width: 1020px;
}

.cew-wizard-card {
  padding: 1.5rem;
}

.cew-wizard-head {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  align-items: end;
  margin-bottom: 1.25rem;
}

.cew-progress-wrap {
  min-width: 220px;
}

.cew-progress-bar {
  height: 10px;
  background: #e8edf2;
  overflow: hidden;
}

.cew-progress-bar span {
  display: block;
  width: 25%;
  height: 100%;
  background: #1f5a89;
  transition: width .2s ease;
}

.cew-progress-text {
  margin-top: .55rem;
  color: #5b6672;
  font-weight: 700;
  text-align: right;
}

.cew-step {
  display: none;
  border: 1px solid #d9dde4;
  padding: 1.25rem;
  background: #fff;
}

.cew-step.is-active {
  display: block;
}

.cew-step__intro {
  margin-bottom: 1rem;
}

.cew-mode-selector {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
  margin-bottom: 1rem;
}

.cew-mode-card {
  border: 1px solid #c8d1dc;
  padding: 1rem;
  display: grid;
  gap: .35rem;
  cursor: pointer;
  background: #f9fbfc;
}

.cew-mode-card input {
  margin: 0 0 .25rem 0;
}

.cew-mode-card:has(input:checked) {
  border-color: #1f5a89;
  box-shadow: inset 0 0 0 1px #1f5a89;
  background: #eef4f9;
}

.cew-mode-card__title {
  font-weight: 700;
}

.cew-mode-card__text {
  color: #5b6672;
}

.cew-grid-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

.cew-field {
  display: grid;
  gap: .45rem;
  margin-bottom: .9rem;
}

.cew-field--full {
  grid-column: 1 / -1;
}

.cew-field label {
  font-weight: 700;
}

.cew-check-list {
  display: grid;
  gap: .75rem;
  margin-bottom: 1rem;
}

.cew-check {
  display: flex;
  gap: .65rem;
  align-items: flex-start;
}

.cew-contact-panel {
  border: 1px solid #c8d1dc;
  background: #f9fbfc;
  padding: 1rem;
}

.cew-contact-panel.is-hidden {
  display: none;
}

.cew-consent-box {
  margin-top: 1rem;
  padding: 1rem;
  background: #f9fbfc;
  border: 1px solid #d9dde4;
}

.cew-submit-note {
  margin-top: 1rem;
  font-size: .95rem;
}

.cew-actions--wizard {
  justify-content: space-between;
  align-items: center;
}

.cew-actions__right {
  display: flex;
  gap: .75rem;
  flex-wrap: wrap;
}

#cew-submit-btn {
  display: none;
}

.cew-single-form {
  max-width: 520px;
}

.cew-receipt,
.cew-summary-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
  margin: 1.5rem 0;
}

.cew-receipt div,
.cew-summary-grid div {
  border: 1px solid #d9dde4;
  background: #fff;
  padding: 1rem;
  display: grid;
  gap: .35rem;
}

.cew-receipt--highlight div {
  background: #f8fbfd;
}

.cew-warning {
  background: #fff7df;
  border: 1px solid #e8d17a;
  padding: .9rem 1rem;
}

.cew-detail-block {
  margin-top: 1.5rem;
  border-top: 1px solid #d9dde4;
  padding-top: 1rem;
}

.cew-doc-list {
  margin: 0;
  padding-left: 1.2rem;
}

@media (max-width: 900px) {
  .cew-hero,
  .cew-receipt,
  .cew-summary-grid,
  .cew-mode-selector,
  .cew-grid-2 {
    grid-template-columns: 1fr;
  }

  .cew-wizard-head,
  .cew-actions--wizard {
    flex-direction: column;
    align-items: stretch;
  }

  .cew-progress-text {
    text-align: left;
  }
}


.cew-field-errors{margin-top:6px;color:#a12622;font-size:.9rem}.cew-field-errors ul{margin:0;padding-left:18px}.cew-field-errors li{margin:0}

.cew-feature-card--soft {
  background: #f8fbfd;
  box-shadow: 0 2px 10px rgba(31, 90, 137, 0.06);
}

.cew-conditional-panel {
  margin-top: 1rem;
}

.cew-field-label {
  display: block;
  font-weight: 700;
  color: #1b1f24;
  margin-bottom: .45rem;
}

.cew-check-list ul {
  list-style: none;
  margin: .35rem 0 0;
  padding: 0;
}

.cew-check-list li {
  margin: 0 0 .5rem;
}

.cew-check-list li label {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  font-weight: 400;
  color: #1b1f24 !important;
  text-decoration: none;
}

.cew-check-list input[type="radio"] {
  margin: 0;
}

.cew-inline-step-error {
  margin-top: 6px;
}
