/* Euronics Product Finder – storefront styles. Prefix: ea-
   Visual language: navy + soft-blue duotone, single yellow accent, generous radii, quiet depth. */
.ea-root, .ea-cta, .ea-page {
  --ea-navy: #0F2B5B; --ea-primary: #1D428A; --ea-primary-dark: #163A7C; --ea-primary-light: #3B6FD4;
  --ea-accent: #FFD500; --ea-accent-deep: #E6BF00;
  --ea-text: #14213D; --ea-muted: #5B6980; --ea-bg: #FFFFFF;
  --ea-blue-50: #F3F7FD; --ea-blue-100: #E4EDFA; --ea-blue-200: #CBDCF4; --ea-border: #DCE4EF;
  --ea-success: #157F3D; --ea-success-bg: #E8F6EE; --ea-warning: #8A6100; --ea-danger: #B42318;
  --ea-radius: 20px; --ea-radius-sm: 14px;
  --ea-shadow: 0 30px 80px rgba(10, 30, 70, 0.28), 0 2px 8px rgba(10, 30, 70, 0.08);
  --ea-shadow-sm: 0 6px 20px rgba(15, 43, 91, 0.08);
  font-family: -apple-system, BlinkMacSystemFont, "SF Pro Text", "Segoe UI", Inter, Roboto, "Helvetica Neue", Arial, sans-serif; color: var(--ea-text); box-sizing: border-box; -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale;
}
.ea-root *, .ea-cta *, .ea-page * { box-sizing: border-box; }
.ea-sr { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* Duotone icons */
.ea-ic__fill { fill: var(--ea-blue-200); stroke: none; }
.ea-ic__accent { display: none; }
.ea-euro { font-weight: 600; font-size: 15px; letter-spacing: -0.06em; line-height: 1; }
.ea-euro--4 { font-size: 12.5px; }

/* ---------- CTA blocks ---------- */
.ea-cta { margin: 28px 0; }
.ea-cta[data-pending] { visibility: hidden; }
.ea-cta[hidden] { display: none; }
.ea-cta__inner { position: relative; display: flex; align-items: center; gap: 22px; padding: 26px 28px; background: #fff; border: 1px solid var(--ea-border); border-radius: var(--ea-radius); box-shadow: var(--ea-shadow-sm); overflow: hidden; }
.ea-cta__icon { position: relative; flex: 0 0 auto; width: 72px; height: 72px; border-radius: 22px; background: var(--ea-blue-50); border: 1px solid var(--ea-blue-200); color: var(--ea-primary); display: flex; align-items: center; justify-content: center; }
.ea-cta__icon svg { width: 38px; height: 38px; }
.ea-cta__text { flex: 1 1 auto; min-width: 0; }
.ea-cta__eyebrow { margin: 0 0 6px; font-size: 12px; font-weight: 800; letter-spacing: 0.08em; text-transform: uppercase; color: var(--ea-primary); }
.ea-cta__heading { margin: 0 0 6px; font-size: 22px; line-height: 1.2; font-weight: 600; color: var(--ea-navy); letter-spacing: -0.015em; }
.ea-cta__body { margin: 0; font-size: 15px; line-height: 1.5; color: var(--ea-muted); max-width: 56ch; }
.ea-cta__action { flex: 0 0 auto; display: flex; flex-direction: column; align-items: flex-end; gap: 8px; }
.ea-cta__button { display: inline-flex; align-items: center; gap: 10px; padding: 13px 22px; min-height: 50px; background: var(--ea-primary); color: #fff !important; font-weight: 600; font-size: 15px; text-decoration: none !important; border-radius: 12px; border: 0; transition: background .15s ease; white-space: nowrap; }
.ea-cta__button:hover, .ea-cta__button:focus-visible { background: var(--ea-primary-dark); }
.ea-cta__button:focus-visible { outline: 3px solid var(--ea-accent); outline-offset: 3px; }
.ea-cta__arrow { display: inline-block; transition: transform .15s ease; }
.ea-cta__button:hover .ea-cta__arrow { transform: translateX(3px); }
.ea-cta__button--secondary { background: #fff; color: var(--ea-primary) !important; border: 2px solid var(--ea-blue-200); box-shadow: none; }
.ea-cta__button--secondary:hover, .ea-cta__button--secondary:focus-visible { background: var(--ea-blue-50); border-color: var(--ea-primary); box-shadow: none; }
.ea-cta__note { margin: 0; font-size: 12.5px; color: var(--ea-muted); }
/* Full-width band variant */
.ea-cta--band .ea-cta__inner { background: var(--ea-navy); border-color: transparent; box-shadow: none; }
.ea-cta--band .ea-cta__heading { color: #fff; }
.ea-cta--band .ea-cta__body, .ea-cta--band .ea-cta__note { color: rgba(255, 255, 255, 0.82); }
.ea-cta--band .ea-cta__icon { background: rgba(255, 255, 255, 0.10); border-color: rgba(255, 255, 255, 0.18); color: #fff; }
.ea-cta--band .ea-cta__icon .ea-ic__fill { fill: rgba(255, 255, 255, 0.22); }
.ea-cta--band .ea-cta__button { background: #fff; color: var(--ea-navy) !important; }
/* Product page variants */
.ea-cta--pdp-a .ea-cta__inner { padding: 20px 22px; gap: 18px; }
.ea-cta--pdp-a .ea-cta__icon { width: 60px; height: 60px; border-radius: 18px; }
.ea-cta--pdp-a .ea-cta__icon svg { width: 30px; height: 30px; }
.ea-cta--pdp-a .ea-cta__heading { font-size: 18px; }
.ea-cta--pdp-a .ea-cta__body { font-size: 14px; }
.ea-cta--pdp-d .ea-cta__inner { padding: 20px 22px; background: #fff; }
.ea-cta--pdp-d .ea-cta__heading { font-size: 18px; }
@media (max-width: 767px) {
  .ea-cta__inner { flex-wrap: wrap; padding: 22px 20px; gap: 16px; }
  .ea-cta__icon { width: 60px; height: 60px; border-radius: 18px; }
  .ea-cta__icon svg { width: 30px; height: 30px; }
  .ea-cta__heading { font-size: 20px; }
  .ea-cta__action { width: 100%; align-items: center; }
  .ea-cta__button { justify-content: center; width: 100%; }
}

/* ---------- Modal shell ---------- */
.ea-root { position: fixed; inset: 0; z-index: 2147483000; display: none; }
.ea-root[data-open] { display: block; }
.ea-backdrop { position: absolute; inset: 0; background: rgba(8, 20, 46, 0.62); backdrop-filter: blur(2px); opacity: 0; transition: opacity .22s ease; }
.ea-root[data-open] .ea-backdrop { opacity: 1; }
.ea-dialog { position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%) translateY(10px) scale(.985); width: min(980px, calc(100vw - 48px)); max-height: min(780px, calc(100vh - 48px)); display: flex; flex-direction: column; background: var(--ea-bg); border-radius: var(--ea-radius); box-shadow: var(--ea-shadow); opacity: 0; transition: opacity .22s ease, transform .26s cubic-bezier(.2,.8,.2,1); overflow: hidden; }
.ea-root[data-open] .ea-dialog { opacity: 1; transform: translate(-50%, -50%) scale(1); }
.ea-dialog:focus { outline: none; }
.ea-header { position: relative; display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; padding: 12px 12px 0; }
.ea-header__title { grid-column: 2; margin: 0; font-size: 15px; font-weight: 600; color: var(--ea-navy); text-align: center; letter-spacing: -0.01em; }
.ea-iconbtn { display: inline-flex; align-items: center; gap: 6px; background: none; border: 0; padding: 8px 12px; min-height: 44px; min-width: 44px; border-radius: 12px; color: var(--ea-text); font: inherit; font-family: inherit; font-size: 15px; font-weight: 500; cursor: pointer; transition: background .15s ease; }
.ea-iconbtn:hover { background: var(--ea-blue-50); }
.ea-iconbtn:focus-visible { outline: 3px solid var(--ea-accent); outline-offset: -2px; }
.ea-iconbtn svg { width: 22px; height: 22px; }
.ea-iconbtn[hidden] { visibility: hidden; display: inline-flex; }
.ea-header__back { grid-column: 1; justify-self: start; }
.ea-header__close { grid-column: 3; justify-self: end; background: var(--ea-blue-50); border-radius: 50%; }
.ea-header__close:hover { background: var(--ea-blue-100); }
.ea-progress { display: flex; align-items: center; gap: 14px; padding: 14px 28px 0; }
.ea-progress[hidden] { display: none; }
.ea-progress__label:empty { display: none; }
.ea-progress__track { position: relative; flex: 1; height: 6px; background: var(--ea-blue-100); border-radius: 6px; overflow: hidden; }
.ea-progress__bar { position: relative; height: 100%; width: 0; background: var(--ea-primary); border-radius: 8px; transition: width .35s cubic-bezier(.2,.8,.2,1); }
.ea-progress__label { flex: 0 0 auto; font-size: 13px; font-weight: 600; color: var(--ea-muted); white-space: nowrap; }
.ea-body { flex: 1 1 auto; overflow-y: auto; -webkit-overflow-scrolling: touch; padding: 26px 28px 28px; }
.ea-footer { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 14px 28px 20px; border-top: 1px solid var(--ea-border); background: #fff; }
.ea-footer:empty { display: none; }

/* ---------- Buttons ---------- */
.ea-btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 50px; padding: 12px 24px; border-radius: 12px; border: 2px solid transparent; background: var(--ea-primary); color: #fff; font: inherit; font-family: inherit; font-size: 16px; font-weight: 600; cursor: pointer; text-decoration: none; transition: background .15s ease, opacity .15s ease; }
.ea-btn:hover:not(:disabled) { background: var(--ea-primary-dark); }
.ea-btn:focus-visible { outline: 3px solid var(--ea-accent); outline-offset: 3px; }
.ea-btn:disabled { opacity: .4; cursor: not-allowed; }
.ea-btn--secondary { background: #fff; color: var(--ea-primary); border-color: var(--ea-blue-200); box-shadow: none; }
.ea-btn--secondary:hover:not(:disabled) { background: var(--ea-blue-50); border-color: var(--ea-primary); box-shadow: none; }
.ea-btn--ghost { background: transparent; border-color: transparent; color: var(--ea-primary); padding-left: 12px; padding-right: 12px; box-shadow: none; }
.ea-btn--ghost:hover:not(:disabled) { background: var(--ea-blue-50); box-shadow: none; }
.ea-btn--link { background: none; border: 0; padding: 4px; min-height: 0; color: var(--ea-primary); text-decoration: underline; text-underline-offset: 3px; font-weight: 600; font-size: 15px; box-shadow: none; }
.ea-btn--link:hover:not(:disabled) { box-shadow: none; color: var(--ea-primary-dark); }
.ea-btn svg { width: 18px; height: 18px; }

/* ---------- Screens ---------- */
.ea-h1 { margin: 0 0 8px; font-size: 28px; line-height: 1.15; font-weight: 600; color: var(--ea-navy); letter-spacing: -0.02em; }
.ea-lead { margin: 0 0 22px; font-size: 16px; line-height: 1.55; color: var(--ea-muted); }
.ea-welcome { max-width: 600px; margin: 8px auto 12px; text-align: center; }
.ea-welcome .ea-h1 { font-size: 34px; font-weight: 600; letter-spacing: -0.025em; }
.ea-welcome .ea-lead { font-size: 17px; }
.ea-welcome__hero { position: relative; width: 96px; height: 96px; margin: 10px auto 26px; }
.ea-body--flush { padding: 0; display: flex; }
.ea-welcome--image { display: grid; grid-template-columns: minmax(0, 46%) minmax(0, 1fr); max-width: none; margin: 0; width: 100%; text-align: left; min-height: 440px; }
.ea-welcome__media { position: relative; overflow: hidden; background: var(--ea-blue-50); }
.ea-welcome__media > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.ea-welcome__media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(15, 43, 91, 0) 70%, rgba(255, 255, 255, 0.35) 100%); pointer-events: none; }
.ea-welcome__content { display: flex; flex-direction: column; justify-content: center; padding: 40px 44px 44px 40px; }
.ea-welcome--image .ea-welcome__actions { align-items: flex-start; }
.ea-welcome--image .ea-product-pill { margin-left: 0; }
.ea-welcome--image .ea-lead { max-width: 40ch; }
.ea-welcome--image .ea-h1 { font-size: 30px; }
.ea-welcome__media--products { background: linear-gradient(160deg, #F7FAFE 0%, #E9F0FA 100%); }
.ea-welcome__media--products::after { display: none; }
.ea-welcome__orb { position: absolute; left: 50%; top: 52%; width: 78%; padding-top: 78%; border-radius: 50%; transform: translate(-50%, -50%); background: radial-gradient(circle at 50% 40%, #DCE7F7 0%, #D3E0F4 55%, rgba(211, 224, 244, 0) 72%); }
.ea-welcome__stack { position: absolute; inset: 0; }
.ea-welcome__p { position: absolute; left: 50%; top: 50%; width: 84%; height: 66%; transform: translate(-50%, -52%) scale(.97); object-fit: contain; mix-blend-mode: multiply; filter: brightness(1.07) contrast(1.04); opacity: 0; transition: opacity .35s ease, transform .45s cubic-bezier(.2,.8,.2,1); z-index: 2; }
.ea-welcome__stack::after { content: ""; position: absolute; left: 50%; top: 74%; width: 62%; height: 12%; transform: translateX(-50%); border-radius: 50%; background: radial-gradient(ellipse at center, rgba(15, 43, 91, 0.22), rgba(15, 43, 91, 0) 70%); filter: blur(4px); }
.ea-welcome__p.is-in { opacity: 1; transform: translate(-50%, -52%) scale(1); }
.ea-welcome__glow { display: none; }
.ea-welcome__icon { position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); width: 96px; height: 96px; border-radius: 30px; background: var(--ea-blue-50); border: 1px solid var(--ea-blue-200); color: var(--ea-primary); display: flex; align-items: center; justify-content: center; }
.ea-welcome__icon svg { width: 52px; height: 52px; }
.ea-welcome__actions { display: flex; flex-direction: column; align-items: center; gap: 12px; margin-top: 4px; }
.ea-welcome__actions .ea-btn { min-width: 220px; font-size: 17px; }
.ea-welcome__trust { margin: 16px 0 0; font-size: 13.5px; color: var(--ea-muted); display: inline-flex; align-items: center; gap: 7px; }
.ea-welcome__trust svg { width: 16px; height: 16px; color: var(--ea-primary); }
.ea-intake { margin: 26px auto 0; max-width: 560px; text-align: left; }
.ea-intake__or { position: relative; text-align: center; margin: 0 0 14px; font-size: 13px; color: var(--ea-muted); }
.ea-intake__or::before { content: ""; position: absolute; left: 0; right: 0; top: 50%; height: 1px; background: var(--ea-border); }
.ea-intake__or span { position: relative; padding: 0 12px; background: #fff; }
.ea-intake__text { display: block; width: 100%; padding: 12px 14px; border: 1.5px solid var(--ea-border); border-radius: 12px; font: inherit; font-size: 15px; line-height: 1.5; color: var(--ea-text); background: #fff; resize: vertical; min-height: 78px; transition: border-color .15s ease; }
.ea-intake__text:focus { outline: none; border-color: var(--ea-primary); box-shadow: 0 0 0 3px rgba(29, 66, 138, 0.12); }
.ea-intake__text::placeholder { color: #9AA6B8; }
.ea-intake .ea-btn { margin-top: 10px; width: 100%; }
.ea-clarify { max-width: 620px; margin: 4px auto; }
.ea-clarify__actions { display: flex; align-items: center; gap: 16px; margin-top: 14px; flex-wrap: wrap; }
.ea-understood { list-style: none; margin: 0 0 16px; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.ea-understood li { font-size: 13.5px; padding: 6px 12px; border-radius: 999px; background: var(--ea-blue-50); border: 1px solid var(--ea-blue-200); color: var(--ea-navy); }
.ea-understood li span { color: var(--ea-muted); margin-right: 4px; }
.ea-card__headline { margin: 6px 0 0; font-size: 15px; line-height: 1.45; color: var(--ea-muted); }
.ea-product-pill { display: inline-flex; align-items: center; gap: 10px; margin: 0 auto 18px; padding: 7px 16px 7px 7px; border: 1px solid var(--ea-blue-200); border-radius: 999px; background: #fff; font-size: 14px; font-weight: 700; color: var(--ea-navy); max-width: 100%; box-shadow: var(--ea-shadow-sm); }
.ea-product-pill img { width: 38px; height: 38px; object-fit: contain; border-radius: 50%; background: var(--ea-blue-50); }
.ea-product-pill span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }

/* Question options */
.ea-options { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; margin: 0; padding: 0; list-style: none; }
.ea-options--single-col { grid-template-columns: 1fr; }
.ea-option { position: relative; }
.ea-option input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.ea-option__card { display: flex; align-items: center; gap: 16px; min-height: 84px; padding: 16px 18px; border: 1.5px solid var(--ea-border); border-radius: 16px; background: #fff; cursor: pointer; transition: border-color .15s ease, background .15s ease, box-shadow .18s ease; }
.ea-option__card:hover { border-color: var(--ea-blue-200); box-shadow: 0 10px 26px rgba(15, 43, 91, 0.10); }
.ea-option input:focus-visible + .ea-option__card { outline: 3px solid var(--ea-accent); outline-offset: 2px; }
.ea-option input:checked + .ea-option__card { border-color: var(--ea-primary); background: var(--ea-blue-50); box-shadow: 0 0 0 1px var(--ea-primary); }
.ea-option__icon { flex: 0 0 52px; width: 52px; height: 52px; border-radius: 16px; background: var(--ea-blue-50); border: 1px solid var(--ea-blue-200); color: var(--ea-primary); display: flex; align-items: center; justify-content: center; transition: background .15s ease; }
.ea-option__icon svg { width: 28px; height: 28px; }
.ea-option input:checked + .ea-option__card .ea-option__icon { background: var(--ea-primary); border-color: var(--ea-primary); color: #fff; }
.ea-option input:checked + .ea-option__card .ea-option__icon .ea-ic__fill { fill: rgba(255, 255, 255, 0.22); }
.ea-option__text { flex: 1 1 auto; min-width: 0; }
.ea-option__label { display: block; font-size: 16px; font-weight: 600; line-height: 1.3; color: var(--ea-navy); letter-spacing: -0.01em; }
.ea-option__help { display: block; margin-top: 3px; font-size: 13.5px; line-height: 1.45; color: var(--ea-muted); }
.ea-option__mark { flex: 0 0 24px; width: 24px; height: 24px; border: 2px solid #C3CFE0; border-radius: 50%; position: relative; background: #fff; transition: border-color .15s ease, background .15s ease, transform .15s ease; }
.ea-option--multi .ea-option__mark { border-radius: 7px; }
.ea-option input:checked + .ea-option__card .ea-option__mark { border-color: var(--ea-primary); background: var(--ea-primary); }
.ea-option input:checked + .ea-option__card .ea-option__mark::after { content: ""; position: absolute; left: 7px; top: 3px; width: 6px; height: 11px; border: solid #fff; border-width: 0 2.5px 2.5px 0; transform: rotate(45deg); }
.ea-hint { margin: 14px 0 0; font-size: 13px; color: var(--ea-muted); }

.ea-loading { display: flex; flex-direction: column; align-items: center; justify-content: center; min-height: 280px; gap: 16px; color: var(--ea-muted); font-weight: 600; }
.ea-spinner { width: 42px; height: 42px; border: 3px solid var(--ea-blue-100); border-top-color: var(--ea-primary); border-right-color: var(--ea-accent); border-radius: 50%; animation: ea-spin .8s linear infinite; }
@keyframes ea-spin { to { transform: rotate(360deg); } }

/* ---------- Results ---------- */
.ea-results { display: flex; flex-direction: column; gap: 20px; }
.ea-card { position: relative; border: 1px solid var(--ea-border); border-radius: 18px; background: #fff; overflow: hidden; transition: box-shadow .18s ease; }
.ea-card--primary, .ea-card--current { border-color: var(--ea-blue-200); background: var(--ea-blue-50); }
.ea-card--alt:hover { box-shadow: 0 12px 30px rgba(15, 43, 91, 0.10); }
.ea-card__badge { display: block; margin: 20px 22px 0; font-size: 12px; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: var(--ea-primary); }
.ea-card__badge--alt { color: var(--ea-muted); text-transform: none; letter-spacing: 0; font-size: 13px; }
.ea-card__main { display: grid; grid-template-columns: 260px 1fr; gap: 24px; padding: 14px 22px 8px; align-items: start; }
.ea-card__image { width: 260px; height: 220px; display: flex; align-items: center; justify-content: center; background: #fff; border-radius: 14px; border: 1px solid var(--ea-border); padding: 12px; }
.ea-card__image img { max-width: 100%; max-height: 100%; object-fit: contain; }
.ea-card__title { margin: 0; font-size: 20px; line-height: 1.3; font-weight: 600; color: var(--ea-navy); letter-spacing: -0.015em; }
.ea-card__meta { margin: 8px 0 0; display: flex; align-items: baseline; gap: 12px; flex-wrap: wrap; }
.ea-card__price { font-size: 26px; font-weight: 600; color: var(--ea-navy); letter-spacing: -0.02em; }
.ea-card__compare { font-size: 14px; color: var(--ea-muted); text-decoration: line-through; }
.ea-card__stock { font-size: 12.5px; font-weight: 700; color: var(--ea-success); background: var(--ea-success-bg); border-radius: 999px; padding: 4px 10px; }
.ea-card__stock--out { color: var(--ea-danger); background: #FDECEC; }
.ea-reasons { list-style: none; margin: 16px 0 0; padding: 0; display: flex; flex-direction: column; gap: 9px; }
.ea-reasons li { display: flex; gap: 10px; align-items: flex-start; font-size: 15px; line-height: 1.45; }
.ea-reasons__tick { flex: 0 0 22px; width: 22px; height: 22px; border-radius: 50%; background: var(--ea-success-bg); color: var(--ea-success); display: inline-flex; align-items: center; justify-content: center; margin-top: 1px; }
.ea-reasons__tick svg { width: 13px; height: 13px; }
.ea-reasons > li > svg { flex: 0 0 20px; width: 20px; height: 20px; color: var(--ea-success); margin-top: 1px; }
.ea-worth { display: flex; gap: 10px; align-items: flex-start; margin: 16px 0 0; padding: 12px 14px; border-radius: 12px; background: #fff; border: 1px solid var(--ea-border); font-size: 14.5px; line-height: 1.45; }
.ea-worth svg { flex: 0 0 20px; width: 20px; height: 20px; color: var(--ea-primary); }
.ea-worth strong { font-weight: 600; color: var(--ea-navy); }
.ea-card__actions { display: flex; gap: 10px; flex-wrap: wrap; padding: 12px 22px 22px; }
.ea-card--alt .ea-card__main { grid-template-columns: 150px 1fr; gap: 16px; padding: 12px 18px 6px; }
.ea-card--alt .ea-card__image { width: 150px; height: 130px; }
.ea-card--alt .ea-card__actions { padding: 10px 18px 18px; }
.ea-card--alt .ea-card__title { font-size: 16px; }
.ea-card--alt .ea-card__price { font-size: 20px; }
.ea-card--alt .ea-reasons li { font-size: 14px; }
.ea-alts { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.ea-alts--one { grid-template-columns: 1fr; }
.ea-section-title { margin: 8px 0 -6px; font-size: 18px; font-weight: 600; color: var(--ea-navy); letter-spacing: -0.01em; }
.ea-result-actions { display: flex; gap: 18px; justify-content: center; flex-wrap: wrap; padding-top: 6px; }
.ea-status { display: flex; gap: 14px; align-items: flex-start; padding: 16px 18px; border-radius: 16px; margin-bottom: 4px; border: 1px solid transparent; }
.ea-status > svg { flex: 0 0 30px; width: 30px; height: 30px; margin-top: 2px; }
.ea-status--strong { background: var(--ea-success-bg); color: #0F4A25; border-color: #CFEBD9; }
.ea-status--strong .ea-ic__fill { fill: rgba(21, 127, 61, 0.18); }
.ea-status--good { background: #FFF7D6; color: #5C4200; border-color: #F5E4A0; }
.ea-status--good .ea-ic__fill { fill: rgba(230, 191, 0, 0.28); }
.ea-status--weak { background: #FDECEC; color: #7A1B1B; border-color: #F5C9C9; }
.ea-status--weak .ea-ic__fill { fill: rgba(180, 35, 24, 0.14); }
.ea-status--cannot_assess { background: var(--ea-blue-50); color: var(--ea-text); border-color: var(--ea-blue-200); }
.ea-status .ea-h1 { font-size: 22px; margin: 0; color: inherit; font-weight: 600; }
.ea-status p { margin: 4px 0 0; font-size: 15px; line-height: 1.45; }
.ea-mismatch { margin: 12px 0 0; padding-left: 18px; font-size: 14.5px; color: inherit; }
.ea-mismatch li { margin: 4px 0; }
.ea-empty { max-width: 560px; margin: 20px auto; text-align: center; }
.ea-empty__icon { width: 76px; height: 76px; margin: 0 auto 16px; border-radius: 24px; background: var(--ea-blue-50); border: 1px solid var(--ea-blue-200); color: var(--ea-primary); display: flex; align-items: center; justify-content: center; }
.ea-empty__icon svg { width: 36px; height: 36px; }
.ea-relax { list-style: none; margin: 16px 0; padding: 0; display: flex; flex-direction: column; gap: 10px; }
.ea-relax button { width: 100%; text-align: left; justify-content: flex-start; }
.ea-error { max-width: 520px; margin: 30px auto; text-align: center; }
.ea-toast { position: absolute; left: 50%; bottom: 18px; transform: translateX(-50%); padding: 11px 18px; border-radius: 12px; background: var(--ea-navy); color: #fff; font-size: 14px; font-weight: 600; opacity: 0; transition: opacity .2s; pointer-events: none; box-shadow: 0 10px 24px rgba(0, 0, 0, 0.25); }
.ea-toast[data-show] { opacity: 1; }

/* ---------- Inline / full-page mode ---------- */
.ea-page { max-width: 920px; margin: 28px auto 56px; padding: 0 16px; }
.ea-page .ea-dialog { position: static; transform: none; width: auto; max-height: none; opacity: 1; box-shadow: var(--ea-shadow-sm); border: 1px solid var(--ea-border); }
.ea-page .ea-body { overflow: visible; }
.ea-page .ea-header__close { visibility: hidden; }

/* ---------- Mobile: full-screen sheet ---------- */
@media (max-width: 767px) {
  .ea-dialog { left: 0; top: 0; transform: translateY(14px); width: 100vw; width: 100dvw; height: 100vh; height: 100dvh; max-height: none; border-radius: 0; padding-top: env(safe-area-inset-top); padding-bottom: env(safe-area-inset-bottom); }
  .ea-root[data-open] .ea-dialog { transform: none; }
  .ea-header { padding: 8px 8px 0; }
  .ea-progress { padding: 10px 18px 0; }
  .ea-body { padding: 20px 18px 22px; }
  .ea-footer { padding: 12px 16px calc(12px + env(safe-area-inset-bottom)); position: sticky; bottom: 0; }
  .ea-footer .ea-btn { flex: 1 1 auto; }
  .ea-h1 { font-size: 24px; }
  .ea-welcome .ea-h1 { font-size: 27px; }
  .ea-welcome__hero { width: 116px; height: 116px; }
  .ea-welcome--image { grid-template-columns: 1fr; min-height: 0; }
  .ea-welcome__media { height: 230px; }
  .ea-welcome__p { height: 74%; width: 86%; }
  .ea-welcome__media::after { background: linear-gradient(180deg, rgba(255, 255, 255, 0) 70%, rgba(255, 255, 255, 0.9) 100%); }
  .ea-welcome__content { padding: 22px 20px 26px; }
  .ea-body--flush { display: block; }
  .ea-welcome__icon { width: 82px; height: 82px; border-radius: 26px; }
  .ea-options { grid-template-columns: 1fr; gap: 12px; }
  .ea-option__card { min-height: 74px; padding: 14px 16px; }
  .ea-option__icon { flex-basis: 46px; width: 46px; height: 46px; border-radius: 14px; }
  .ea-option__icon svg { width: 25px; height: 25px; }
  .ea-card__main, .ea-card--alt .ea-card__main { grid-template-columns: 1fr; gap: 12px; padding: 12px 14px 4px; }
  .ea-card__image, .ea-card--alt .ea-card__image { width: 100%; height: 190px; padding: 8px; }
  .ea-card__price { font-size: 22px; }
  .ea-card__actions { padding: 0 14px 14px; }
  .ea-card__actions .ea-btn { flex: 1 1 auto; }
  .ea-alts { grid-template-columns: 1fr; }
  .ea-page { margin: 0; padding: 0; }
  .ea-page .ea-dialog { border: 0; height: auto; min-height: 70vh; box-shadow: none; }
}
@media (prefers-reduced-motion: reduce) {
  .ea-backdrop, .ea-dialog, .ea-progress__bar, .ea-option__card, .ea-option__icon, .ea-option__mark, .ea-btn, .ea-card, .ea-cta__button { transition: none !important; }
  .ea-spinner { animation-duration: 1.6s; }
}
