.e8-hypothetical-disclosure {
  box-sizing: border-box;
  width: 100%;
  margin: 1.5rem 0;
  padding: 1.25rem;
  border: 1px solid;
  border-radius: 1rem;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  text-align: left;
}

.e8-hypothetical-notice {
  box-sizing: border-box;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.85rem;
  width: 100%;
  margin: 1.25rem 0;
  padding: 0.75rem 0.9rem;
  border: 1px solid;
  border-radius: 0.75rem;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  text-align: left;
}

.e8-hypothetical-notice *,
.e8-hypothetical-notice *::before,
.e8-hypothetical-notice *::after {
  box-sizing: border-box;
}

.e8-hypothetical-notice p {
  margin: 0;
  font-size: 0.75rem;
  line-height: 1.5;
}

.e8-hypothetical-notice__open {
  flex: 0 0 auto;
  border: 0;
  padding: 0;
  background: transparent;
  font: inherit;
  font-size: 0.75rem;
  font-weight: 750;
  line-height: 1.4;
  text-decoration: underline;
  text-underline-offset: 0.18rem;
  cursor: pointer;
}

.e8-hypothetical-notice--dark {
  border-color: rgba(148, 163, 184, 0.22);
  background: rgba(15, 23, 42, 0.48);
  color: #94a3b8;
}

.e8-hypothetical-notice--dark strong {
  color: #cbd5e1;
}

.e8-hypothetical-notice--dark .e8-hypothetical-notice__open {
  color: #7dd3fc;
}

.e8-hypothetical-notice--light {
  border-color: #d6dde7;
  background: #f8fafc;
  color: #64748b;
}

.e8-hypothetical-notice--light strong {
  color: #334155;
}

.e8-hypothetical-notice--light .e8-hypothetical-notice__open {
  color: #0369a1;
}

.e8-hypothetical-modal {
  width: min(46rem, calc(100vw - 2rem));
  max-height: min(44rem, calc(100vh - 2rem));
  margin: auto;
  padding: 0;
  border: 0;
  border-radius: 1rem;
  background: transparent;
  color: inherit;
  box-shadow: 0 28px 80px rgba(0, 0, 0, 0.45);
  overflow: auto;
}

.e8-hypothetical-modal::backdrop {
  background: rgba(2, 6, 23, 0.78);
  backdrop-filter: blur(4px);
}

.e8-hypothetical-modal__panel {
  padding: 1.4rem;
}

.e8-hypothetical-modal__header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1rem;
}

.e8-hypothetical-modal__header h2 {
  margin: 0;
  font-size: 1.2rem;
  font-weight: 800;
  line-height: 1.35;
}

.e8-hypothetical-modal__header form,
.e8-hypothetical-modal__footer {
  margin: 0;
}

.e8-hypothetical-modal__close {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2rem;
  height: 2rem;
  border: 1px solid;
  border-radius: 999px;
  background: transparent;
  font-size: 1.45rem;
  line-height: 1;
  cursor: pointer;
}

.e8-hypothetical-modal__intro {
  margin: 1rem 0 0;
  font-size: 0.9rem;
  font-weight: 650;
  line-height: 1.65;
}

.e8-hypothetical-modal__official {
  display: grid;
  gap: 0.9rem;
  margin-top: 1rem;
  font-size: 0.78rem;
  font-weight: 600;
  line-height: 1.65;
  letter-spacing: 0.01em;
  overflow-wrap: anywhere;
}

.e8-hypothetical-modal__official p {
  margin: 0;
}

.e8-hypothetical-modal__footer {
  display: flex;
  justify-content: flex-end;
  margin-top: 1.25rem;
}

.e8-hypothetical-modal__footer button {
  border: 0;
  border-radius: 999px;
  padding: 0.65rem 1.15rem;
  font: inherit;
  font-size: 0.85rem;
  font-weight: 750;
  cursor: pointer;
}

.e8-hypothetical-modal--dark .e8-hypothetical-modal__panel {
  border: 1px solid rgba(148, 163, 184, 0.28);
  border-radius: 1rem;
  background: #0f172a;
  color: #dbe4f0;
}

.e8-hypothetical-modal--dark .e8-hypothetical-modal__header h2 {
  color: #f8fafc;
}

.e8-hypothetical-modal--dark .e8-hypothetical-modal__close {
  border-color: rgba(148, 163, 184, 0.35);
  color: #cbd5e1;
}

.e8-hypothetical-modal--dark .e8-hypothetical-modal__footer button {
  background: #e2e8f0;
  color: #0f172a;
}

.e8-hypothetical-modal--light .e8-hypothetical-modal__panel {
  border: 1px solid #d6dde7;
  border-radius: 1rem;
  background: #ffffff;
  color: #374151;
}

.e8-hypothetical-modal--light .e8-hypothetical-modal__header h2 {
  color: #111827;
}

.e8-hypothetical-modal--light .e8-hypothetical-modal__close {
  border-color: #cbd5e1;
  color: #475569;
}

.e8-hypothetical-modal--light .e8-hypothetical-modal__footer button {
  background: #0f172a;
  color: #ffffff;
}

.e8-hypothetical-disclosure *,
.e8-hypothetical-disclosure *::before,
.e8-hypothetical-disclosure *::after {
  box-sizing: border-box;
}

.e8-hypothetical-disclosure h2 {
  margin: 0;
  font-size: 1.125rem;
  font-weight: 800;
  line-height: 1.35;
  letter-spacing: -0.01em;
}

.e8-hypothetical-disclosure p {
  margin: 0;
}

.e8-hypothetical-disclosure__intro {
  margin-top: 0.75rem !important;
  font-size: 0.975rem;
  font-weight: 600;
  line-height: 1.65;
}

.e8-hypothetical-disclosure__official {
  display: grid;
  gap: 0.85rem;
  margin-top: 1rem;
  font-size: 0.875rem;
  font-weight: 600;
  line-height: 1.7;
  letter-spacing: 0.01em;
  overflow-wrap: anywhere;
}

.e8-hypothetical-disclosure--dark {
  border-color: rgba(250, 204, 21, 0.35);
  background: rgba(66, 32, 6, 0.34);
  color: #f8fafc;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.04);
}

.e8-hypothetical-disclosure--dark h2 {
  color: #fde68a;
}

.e8-hypothetical-disclosure--dark .e8-hypothetical-disclosure__intro {
  color: #f1f5f9;
}

.e8-hypothetical-disclosure--dark .e8-hypothetical-disclosure__official {
  color: #dbe4f0;
}

.e8-hypothetical-disclosure--light {
  border-color: #d97706;
  background: #fffbeb;
  color: #1f2937;
}

.e8-hypothetical-disclosure--light h2 {
  color: #92400e;
}

.e8-hypothetical-disclosure--light .e8-hypothetical-disclosure__intro {
  color: #374151;
}

.e8-hypothetical-disclosure--light .e8-hypothetical-disclosure__official {
  color: #374151;
}

@media (max-width: 640px) {
  .e8-hypothetical-notice {
    align-items: flex-start;
    flex-direction: column;
    gap: 0.45rem;
    margin: 1rem 0;
    padding: 0.7rem 0.8rem;
  }

  .e8-hypothetical-modal__panel {
    padding: 1.1rem;
  }

  .e8-hypothetical-modal__official {
    font-size: 0.75rem;
    line-height: 1.6;
  }

  .e8-hypothetical-disclosure {
    margin: 1.25rem 0;
    padding: 1rem;
    border-radius: 0.875rem;
  }

  .e8-hypothetical-disclosure h2 {
    font-size: 1rem;
  }

  .e8-hypothetical-disclosure__intro {
    font-size: 0.925rem;
  }

  .e8-hypothetical-disclosure__official {
    font-size: 0.875rem;
    line-height: 1.65;
  }
}
