#efx-demo {
  color: var(--efx-ink);
}

#efx-demo .access-demo-kicker {
  margin: 0 0 7px;
  color: var(--efx-muted);
  font-size: .78rem;
  font-weight: 800;
  letter-spacing: .08em;
  text-transform: uppercase;
}

#efx-demo .access-demo-frame {
  overflow: hidden;
  background: #fff;
  border: 1px solid var(--efx-line);
  border-radius: 14px;
}

#efx-demo .access-demo-tabs {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 4px;
  padding: 5px;
  background: #edf2fa;
  border-bottom: 1px solid var(--efx-line);
}

#efx-demo .access-demo-tabs a {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 8px;
  min-height: 48px;
  padding: 7px 5px;
  border-radius: 8px;
  color: var(--efx-navy);
  font-size: .9rem;
  font-weight: 800;
  line-height: 1.25;
  text-align: center;
  text-decoration: none;
}

#efx-demo .access-demo-tabs a span {
  display: grid;
  flex: 0 0 24px;
  place-items: center;
  height: 24px;
  border-radius: 50%;
  background: #dbe6f8;
  color: var(--efx-navy);
  font-size: .76rem;
}

#efx-demo .access-demo-tabs a:hover {
  background: #e0e9f8;
}

#efx-demo .access-demo-tabs a[aria-selected="true"] {
  background: var(--efx-navy);
  color: #fff;
}

#efx-demo .access-demo-tabs a[aria-selected="true"] span {
  background: var(--efx-yellow);
}

#efx-demo .access-demo-tabs a:focus-visible,
#efx-demo .access-demo-action:focus-visible,
#efx-demo .access-demo-link:focus-visible,
#efx-demo .access-demo-choices input:focus-visible + span {
  outline: 2px solid #234a90;
  outline-offset: 3px;
}

#efx-demo .access-demo-panel {
  display: grid;
  grid-template-columns: minmax(0, .91fr) minmax(0, 1.09fr);
  align-items: center;
  gap: 18px 6%;
  padding: clamp(16px, 3.25vw, 34px);
  scroll-margin-top: 6rem;
}

#efx-demo .access-demo-panel + .access-demo-panel {
  border-top: 1px solid var(--efx-line);
}

#efx-demo [hidden] {
  display: none !important;
}

#efx-demo .access-demo-copy h3 {
  margin: 0;
  color: var(--efx-navy);
  font-size: clamp(1.2rem, 2vw, 1.65rem);
  font-weight: 800;
  line-height: 1.15;
}

#efx-demo .access-demo-copy p,
#efx-demo .access-demo-guide-links p {
  margin: 8px 0 0;
  color: var(--efx-muted);
  line-height: 1.5;
}

#efx-demo .access-demo-actions {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 4px 14px;
  margin-top: 13px;
}

#efx-demo .access-demo-action,
#efx-demo .access-demo-link {
  display: inline-flex;
  width: fit-content;
  max-width: 100%;
  min-height: 44px;
  align-items: center;
  gap: 6px;
  color: var(--efx-navy);
  font-size: .88rem;
  font-weight: 800;
  line-height: 1.25;
  text-underline-offset: 3px;
}

#efx-demo .access-demo-action {
  padding: 9px 12px;
  border-radius: 8px;
  background: var(--efx-navy);
  color: #fff;
  text-decoration: none;
}

#efx-demo .access-demo-action:hover {
  background: #254371;
}

#efx-demo .access-demo-plan {
  padding: clamp(15px, 2.1vw, 24px);
  border: 1px solid #c4d2e9;
  border-radius: 12px;
  background: #f3f7fe;
}

#efx-demo .access-demo-plan-top {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 8px 14px;
  padding-bottom: 10px;
  border-bottom: 1px solid #d2ddec;
}

#efx-demo .access-demo-plan-top strong {
  color: var(--efx-navy);
  font-size: clamp(1.1rem, 2.2vw, 1.45rem);
}

#efx-demo .access-demo-plan-top span {
  padding: 5px 9px;
  border-radius: 5px;
  background: var(--efx-yellow);
  color: var(--efx-navy);
  font-size: .88rem;
  font-weight: 800;
}

#efx-demo .access-demo-plan p {
  margin: 9px 0 3px;
}

#efx-demo .access-demo-plan p strong {
  color: var(--efx-navy);
  font-size: clamp(1.5rem, 2.7vw, 1.85rem);
}

#efx-demo .access-demo-plan small,
#efx-demo .access-demo-plan p + div {
  color: var(--efx-muted);
  font-size: .85rem;
}

#efx-demo .access-demo-compare {
  width: 100%;
  border-spacing: 0;
  border-collapse: collapse;
  table-layout: fixed;
  font-size: clamp(.78rem, 1.15vw, .92rem);
  line-height: 1.4;
}

#efx-demo .access-demo-compare caption {
  padding-bottom: 7px;
  color: var(--efx-muted);
  font-size: .83rem;
  text-align: left;
}

#efx-demo .access-demo-compare th,
#efx-demo .access-demo-compare td {
  padding: 8px 10px;
  border-bottom: 1px solid #dce5f1;
  vertical-align: top;
  text-align: left;
  overflow-wrap: anywhere;
}

#efx-demo .access-demo-compare thead {
  background: #edf2fa;
  color: var(--efx-navy);
}

#efx-demo .access-demo-compare th:first-child {
  width: 25%;
}

#efx-demo .access-demo-guide-steps {
  display: grid;
  gap: 7px;
  margin: 12px 0 0;
  padding-left: 1.3em;
  color: var(--efx-muted);
  font-size: .9rem;
  line-height: 1.4;
}

#efx-demo .access-demo-guide-steps strong {
  color: var(--efx-navy);
}

#efx-demo .access-demo-guide-steps span {
  display: block;
}

#efx-demo .access-demo-guide {
  padding: 14px;
  border: 1px solid #e5d787;
  border-radius: 12px;
  background: var(--efx-warm);
}

#efx-demo .access-demo-choices fieldset {
  margin: 0 0 8px;
  padding: 0;
  min-inline-size: 0;
  border: 0;
}

#efx-demo .access-demo-choices legend {
  margin: 0 0 2px;
  padding: 0;
  color: var(--efx-navy);
  font-size: .87rem;
  font-weight: 800;
}

#efx-demo .access-demo-choices label {
  display: inline-flex;
  position: relative;
  max-width: 100%;
  align-items: center;
  margin: 0 3px 4px 0;
  cursor: pointer;
}

#efx-demo .access-demo-choices input {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: 0;
  opacity: 0;
}

#efx-demo .access-demo-choices label span {
  display: inline-flex;
  min-height: 44px;
  align-items: center;
  padding: 6px 9px;
  border: 1px solid #c7d1e3;
  border-radius: 8px;
  background: #fff;
  color: var(--efx-navy);
  font-size: .82rem;
  font-weight: 750;
}

#efx-demo .access-demo-choices input:checked + span {
  border-color: var(--efx-navy);
  background: var(--efx-navy);
  color: #fff;
}

#efx-demo .access-demo-guide-links p {
  margin: 0 0 6px;
  font-size: .85rem;
}

#efx-demo .access-demo-guide-links > div:not([hidden]) + div:not([hidden]) {
  margin-top: 14px;
}

@media (max-width: 680px) {
  #efx-demo .access-demo-panel {
    grid-template-columns: minmax(0, 1fr);
  }

  #efx-demo .access-demo-tabs a {
    gap: 4px;
    font-size: .77rem;
  }

  #efx-demo .access-demo-tabs a span {
    flex-basis: 19px;
    height: 19px;
    font-size: .67rem;
  }

  #efx-demo .access-demo-compare th,
  #efx-demo .access-demo-compare td {
    padding: 7px 6px;
  }
}
