/* existing eligibility styles below */

.ea-info{display:inline-flex;align-items:center;justify-content:center;width:18px;height:18px;border-radius:999px;background:#e5e7eb;color:#111827;font-weight:700;font-size:12px;line-height:1;user-select:none;}
.ea-info.ea-info--right{margin-left:8px}
.ea-wrap { max-width: 720px; margin: 24px auto; padding: 0 16px; font-family: system-ui, -apple-system, Segoe UI, Roboto, sans-serif; }
.ea-title { margin: 0 0 4px; font-size: 28px; font-weight: 800; color: #0f172a; }
.ea-subtitle { margin: 0 12px 12px 0; color: #475569; font-size: 14px; }
.ea-progress { height: 8px; width: 100%; background: #e2e8f0; border-radius: 999px; overflow: hidden; }
.ea-progress__bar { height: 100%; width: 0%; background: #2563eb; transition: width .25s ease; }
.ea-step { margin-top: 16px; padding: 0; border: 0; border-radius: 0; background: transparent; color: #0f172a; }
.ea-actions { display:flex; flex-wrap:wrap; gap:8px; margin-top:14px; }
.ea-btn { appearance: none; border: 1px solid transparent; border-radius: 10px; padding: 10px 14px; font-weight: 700; cursor: pointer; }
.ea-btn--primary { background: #2563eb; color: #fff; }
.ea-btn--ghost { background: #f1f5f9; color: #0f172a; }
.ea-btn[disabled] { opacity: .55; cursor: not-allowed; }
.ea-wrap { scroll-margin-top: 96px; }
/* form */
.ea-group { margin-top: 14px; }
.ea-group__title { margin: 0 0 8px; font-size: 16px; font-weight: 700; color: #0f172a; display: flex; align-items: center; gap: 6px; }
.ea-info { font-size: 12px; color: #64748b; cursor: help; }
.ea-row { display: flex; flex-wrap: wrap; gap: 10px; }
.ea-label { display: inline-flex; align-items: center; gap: 8px; background: #f8fafc; border: 1px solid #e2e8f0; padding: 8px 10px; border-radius: 8px; }
.ea-choices { display: grid; gap: 8px; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); }
.ea-select { width: 100%; max-width: 420px; padding: 8px; border: 1px solid #e2e8f0; border-radius: 8px; background: #fff; }
.ea-hint { margin-top: 6px; font-size: 12px; color: #475569; }
.ea-hint--error { color: #b91c1c; }
/* sectors step */
.ea-search { width: 100%; max-width: 480px; padding: 8px; border: 1px solid #e2e8f0; border-radius: 8px; margin: 8px 0 12px; }
.ea-group__hdr { display: flex; align-items: center; justify-content: space-between; gap: 8px; }
.ea-group__body { padding: 8px 0 0; }
.ea-group__meta { color: #64748b; font-size: 12px; }
.ea-chips { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 8px; }
.ea-chip { background: #eef2ff; color: #3730a3; border: 1px solid #c7d2fe; border-radius: 999px; padding: 4px 8px; font-size: 12px; }
.ea-small-btn { background: #f1f5f9; border: 1px solid #e2e8f0; border-radius: 8px; padding: 6px 8px; font-size: 12px; cursor: pointer; }
.ea-small-btn:disabled { opacity: .6; cursor: not-allowed; }
.ea-empty { font-size: 13px; color: #64748b; padding: 8px 0; }
/* company size */
.ea-note { margin-top:10px; padding:10px 12px; border-radius:10px; background:#eef2ff; color:#3730a3; border:1px solid #e0e7ff; }
.ea-req { color:#ef4444; margin-left:6px; font-weight:800; }
/* escalation rows */
.ea-row { display:flex; align-items:flex-start; gap:14px; padding:12px; border:1px solid #e5e7eb; border-radius:12px; background:#fff; margin-bottom:10px; }
.ea-row h4 { margin:0 0 4px; font-size:16px; font-weight:800; }
.ea-row .ea-opts { display:flex; gap:12px; align-items:center; margin-top:6px; }
.ea-help { color:#475569; font-size:13px; margin-top:4px; }
/* auto essential & results */
.ea-check { display:flex; align-items:flex-start; gap:10px; padding:10px 12px; border:1px solid #e5e7eb; border-radius:12px; background:#fff; margin-bottom:10px; }
.ea-check label { font-weight:700; }
.ea-subtle { color:#475569; font-size:13px; }
.ea-badge { display:inline-flex; align-items:center; gap:8px; padding:6px 10px; border-radius:999px; font-weight:800; font-size:14px; }
.ea-badge--essential { background:#fee2e2; color:#991b1b; }
.ea-badge--important { background:#ffedd5; color:#9a3412; }
.ea-badge--out { background:#dcfce7; color:#166534; }
.ea-section-h3 { font-size:18px; font-weight:900; margin:16px 0 8px; }
.ea-assump { background:#fef9c3; border:1px solid #fde68a; color:#713f12; border-radius:12px; padding:10px 12px; }
.ea-checklist li { margin:6px 0; }
.ea-ctx { color:#475569; font-size:13px; margin-top:8px; }
.ea-muted { color:#475569; font-size:13px; }
/* contact modal */
.ea-modal-backdrop { position:fixed; inset:0; background:rgba(15,23,42,.55); display:flex; align-items:center; justify-content:center; z-index:9999; }
.ea-modal { width:100%; max-width:560px; background:#fff; border-radius:16px; box-shadow:0 15px 60px rgba(0,0,0,.25); border:1px solid #e5e7eb; }
.ea-modal header { padding:16px 20px; border-bottom:1px solid #e5e7eb; font-weight:800; }
.ea-modal .ea-body { padding:16px 20px; }
.ea-modal .ea-row { display:flex; gap:12px; }
.ea-modal .ea-col { flex:1; }
.ea-field { margin-bottom:12px; }
.ea-field label { display:block; font-weight:700; margin-bottom:6px; }
.ea-input, .ea-checkbox { width:100%; height:40px; border:1px solid #e5e7eb; border-radius:10px; padding:8px 10px; }
.ea-checkbox { width:auto; height:auto; }
.ea-err { color:#b91c1c; font-size:12px; margin-top:4px; }
.ea-modal footer { display:flex; gap:10px; justify-content:flex-end; padding:14px 20px; border-top:1px solid #e5e7eb; }
.ea-btn-sec { background:#f1f59; border:1px solid #e2e8f0; color:#0f172a; padding:8px 12px; border-radius:10px; font-weight:700; cursor:pointer; }
.ea-btn-pri { background:#2563eb; border:0; color:#fff; padding:8px 12px; border-radius:10px; font-weight:800; cursor:pointer; }
.ea-btn-pri[disabled] { opacity:.5; cursor:not-allowed; }
.ea-toast { position:fixed; bottom:20px; right:20px; background:#10b981; color:#052e1a; border:1px solid #34d399; padding:10px 12px; font-weight:700; border-radius:10px; z-index:10000; }
.ea-section h3 { margin:16px 0 8px; }
.ea-break-after { page-break-after: always; }
.ea-avoid-break { page-break-inside: avoid; }
/* results compact card */
.ea-results-shell { max-width: 820px; margin: 16px auto; padding: 0 12px; }
.ea-card__inner { padding: 12px 16px; }
.ea-row-between { display:flex; align-items:center; justify-content:space-between; gap:10px; margin-bottom:8px; }
.ea-eyebrow { font-size:11px; text-transform:uppercase; letter-spacing:.06em; color:#64748b; font-weight:700; }
.ea-title-sm { font-size:18px; font-weight:700; color:#0f172a; margin-bottom:6px; }
.ea-divider { height:1px; background:#e2e8f0; margin:12px 0; }
.ea-sec-hdr { margin-top:10px; margin-bottom:6px; font-size:14px; font-weight:700; color:#0f172a; }
.ea-sub-hdr { margin-top:6px; margin-bottom:4px; font-size:13px; font-weight:700; color:#1f2937; }
.ea-list { list-style:disc; padding-left:20px; margin:0; }
.ea-list__item { font-size:13px; line-height:1.6; color:#334155; }
/* end results compact card */

/* soften component backgrounds on blue page */
.ea-label { background: rgba(255,255,255,0.65); border-color:#dbe3ef; }
.ea-select { background: #f6fbff; border-color:#dbe3ef; }
.ea-row { background: rgba(255,255,255,0.6); border-color:#d8e3f0; }
.ea-check { background: rgba(255,255,255,0.6); border-color:#d8e3f0; }
.ea-note { background:#eef2ff; color:#3730a3; border:1px solid #e0e7ff; }

/* sector tiles (Step 2) */
.ea-choices--grid { display:grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap:8px; }
/* Force two columns when both classes present */
.ea-choices.ea-choices--grid { grid-template-columns: repeat(2, minmax(0, 1fr)) !important; gap:8px; }
.ea-choice-tile { display:flex; align-items:center; justify-content:space-between; gap:6px; padding:6px 8px; border:1px solid #d8e3f0; border-radius:10px; background: rgba(255,255,255,0.55); min-height:36px; transition: background .15s ease, border-color .15s ease, box-shadow .15s ease; white-space:nowrap; }
.ea-choice-tile:hover { background: rgba(255,255,255,0.72); border-color:#cfd9e6; }
.ea-choice-tile:focus-within { outline:2px solid #93c5fd; outline-offset:2px; }
.ea-choice-tile--selected { border-color:#2563eb; background: rgba(37,99,235,0.08); }
.ea-choice-label-text { font-weight:700; color:#0f172a; font-size:13px; overflow:hidden; text-overflow:ellipsis; }
@media (max-width: 767px) {
  .ea-choices--grid, .ea-choices.ea-choices--grid { grid-template-columns: 1fr !important; }
}
/* end sector tiles */

/* results compact card refinements */
.ea-card { border:1px solid #d8e3f0; border-radius:12px; background: rgba(255,255,255,0.6); }
/* end refinements */

/* unify component surface across steps */
.ea-row { background: rgba(255,255,255,0.55) !important; border-color:#d0dbe9 !important; }
.ea-check { background: rgba(255,255,255,0.55) !important; border-color:#d0dbe9 !important; }
.ea-label { background: rgba(255,255,255,0.55) !important; border-color:#d0dbe9 !important; }
.ea-card { background: rgba(255,255,255,0.55) !important; border-color:#d0dbe9 !important; }
.ea-select { background: rgba(246,251,255,0.9) !important; border-color:#d0dbe9 !important; }

/* sector tiles */
.ea-choice-tile { background: rgba(255,255,255,0.55) !important; border-color:#d0dbe9 !important; }
.ea-choice-tile:hover { background: rgba(255,255,255,0.7) !important; border-color:#cbd6e6 !important; }
.ea-choice-tile--selected { background: rgba(37,99,235,0.08) !important; border-color:#2563eb !important; }

.ea-small { font-size: 11px; }
