.eabd-app,
.eabd-report {
  --eabd-primary: #174ea6;
  --eabd-accent: #13a38b;
  --eabd-ink: #172033;
  --eabd-muted: #667085;
  --eabd-line: #d9e1ec;
  --eabd-bg: #f6f8fb;
  color: var(--eabd-ink);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

.eabd-shell {
  display: grid;
  grid-template-columns: minmax(240px, 320px) 1fr;
  min-height: 680px;
  background: var(--eabd-bg);
  border: 1px solid var(--eabd-line);
  border-radius: 8px;
  overflow: hidden;
}

.eabd-sidebar {
  background: #111827;
  color: #fff;
  padding: 28px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.eabd-brand {
  display: flex;
  gap: 14px;
  align-items: center;
}

.eabd-brand small,
.eabd-progress span {
  color: #cbd5e1;
  display: block;
}

.eabd-mark {
  width: 48px;
  height: 48px;
  border-radius: 8px;
  background: var(--eabd-accent);
  display: grid;
  place-items: center;
  font-weight: 800;
}

.eabd-progress div {
  height: 8px;
  border-radius: 999px;
  margin-top: 10px;
  background: rgba(255, 255, 255, 0.18);
  overflow: hidden;
}

.eabd-progress i {
  display: block;
  height: 100%;
  width: 0;
  background: var(--eabd-accent);
  transition: width 220ms ease;
}

.eabd-form {
  padding: 30px;
  background: #fff;
}

.eabd-step {
  display: none;
}

.eabd-step.is-active {
  display: block;
  animation: eabdIn 180ms ease;
}

.eabd-step header p,
.eabd-report-cover p {
  margin: 0 0 6px;
  color: var(--eabd-accent);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0;
  text-transform: uppercase;
}

.eabd-step h2,
.eabd-report h2 {
  margin: 0 0 22px;
  font-size: 26px;
  line-height: 1.2;
}

.eabd-step header small {
  display: block;
  margin: -12px 0 18px;
  color: var(--eabd-muted);
  font-weight: 700;
}

.eabd-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

.eabd-grid-compact {
  grid-template-columns: 1fr;
  max-width: 680px;
}

.eabd-grid label,
.eabd-questions legend {
  color: #344054;
  font-weight: 700;
}

.eabd-grid input {
  width: 100%;
  min-height: 44px;
  margin-top: 7px;
  padding: 10px 12px;
  border: 1px solid var(--eabd-line);
  border-radius: 6px;
  color: var(--eabd-ink);
  box-sizing: border-box;
}

.eabd-questions {
  display: grid;
  gap: 16px;
}

.eabd-questions fieldset {
  border: 1px solid var(--eabd-line);
  border-radius: 8px;
  padding: 16px;
  margin: 0;
}

.eabd-scale {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 8px;
  margin-top: 12px;
}

.eabd-scale input {
  position: absolute;
  opacity: 0;
}

.eabd-scale span {
  display: flex;
  min-height: 40px;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--eabd-line);
  border-radius: 6px;
  color: var(--eabd-muted);
  font-size: 13px;
  text-align: center;
  padding: 6px;
  cursor: pointer;
}

.eabd-scale input:checked + span {
  background: color-mix(in srgb, var(--eabd-primary) 11%, white);
  border-color: var(--eabd-primary);
  color: var(--eabd-primary);
  font-weight: 800;
}

.eabd-actions {
  display: flex;
  justify-content: flex-end;
  gap: 10px;
  padding-top: 22px;
}

.eabd-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  padding: 0 18px;
  border: 1px solid var(--eabd-primary);
  border-radius: 6px;
  background: var(--eabd-primary);
  color: #fff;
  font-weight: 800;
  text-decoration: none;
  cursor: pointer;
}

.eabd-button-ghost {
  background: #fff;
  color: var(--eabd-primary);
}

.eabd-message {
  min-height: 24px;
  margin: 12px 0 0;
  color: #b42318;
}

.eabd-result {
  margin-top: 24px;
}

.eabd-report {
  background: #fff;
  border: 1px solid var(--eabd-line);
  border-radius: 8px;
  overflow: hidden;
}

.eabd-report-cover {
  padding: 42px;
  background: var(--eabd-primary);
  color: #fff;
}

.eabd-report-cover img {
  max-height: 58px;
  max-width: 220px;
  object-fit: contain;
  margin-bottom: 22px;
}

.eabd-report-cover h1 {
  margin: 0 0 18px;
  font-size: 38px;
  line-height: 1.1;
}

.eabd-score-ring {
  display: inline-flex;
  align-items: baseline;
  gap: 14px;
  padding: 14px 18px;
  background: rgba(255, 255, 255, 0.12);
  border-radius: 8px;
}

.eabd-score-ring strong {
  font-size: 48px;
}

.eabd-report-section {
  padding: 30px 42px;
  border-top: 1px solid var(--eabd-line);
}

.eabd-index-grid,
.eabd-swot,
.eabd-opportunities {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 12px;
}

.eabd-index-grid div,
.eabd-swot div,
.eabd-opportunities div {
  border: 1px solid var(--eabd-line);
  border-radius: 8px;
  padding: 16px;
}

.eabd-index-grid span {
  display: block;
  color: var(--eabd-muted);
  font-weight: 800;
}

.eabd-index-grid strong {
  display: block;
  margin-top: 8px;
  font-size: 30px;
  color: var(--eabd-primary);
}

.eabd-bars {
  display: grid;
  gap: 12px;
}

.eabd-bars > div {
  display: grid;
  grid-template-columns: 190px 1fr 42px;
  gap: 12px;
  align-items: center;
}

.eabd-bars i {
  height: 10px;
  border-radius: 999px;
  background: #e8eef6;
  overflow: hidden;
}

.eabd-bars b {
  display: block;
  height: 100%;
  background: var(--eabd-accent);
}

.eabd-swot {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.eabd-opportunities {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.eabd-opportunities span {
  color: var(--eabd-accent);
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
}

.eabd-opportunities h3 {
  margin: 8px 0;
}

.eabd-opportunities p {
  margin-bottom: 0;
  color: var(--eabd-muted);
}

.eabd-swot h3 {
  margin-top: 0;
}

.eabd-cta {
  background: #f8fbff;
}

.eabd-cta a {
  display: inline-flex;
  margin-top: 10px;
  color: var(--eabd-primary);
  font-weight: 900;
}

.eabd-download {
  margin: 0 42px 32px;
}

@keyframes eabdIn {
  from { opacity: 0; transform: translateY(8px); }
  to { opacity: 1; transform: translateY(0); }
}

@media (max-width: 860px) {
  .eabd-shell,
  .eabd-grid,
  .eabd-index-grid,
  .eabd-swot,
  .eabd-opportunities {
    grid-template-columns: 1fr;
  }

  .eabd-sidebar {
    gap: 28px;
  }

  .eabd-form,
  .eabd-report-cover,
  .eabd-report-section {
    padding: 22px;
  }

  .eabd-scale {
    grid-template-columns: 1fr;
  }

  .eabd-bars > div {
    grid-template-columns: 1fr;
  }
}
