/* EA type carousel */
.ea-types { --f-en: "Avenir Next", sans-serif; --f-jp: Rounded, sans-serif; background: var(--paper); }
.ea-types .voice__head h2 { font-size: clamp(27px, 7vw, 34px); line-height: 1.3; }
.ea-types .voice__note { margin-top: 14px; font-size: 13px; line-height: 1.8; }
.ea-types .vcar { margin-top: 24px; }
.ea-types .vcar__track { display: flex; gap: 14px; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; padding: 3px 4px 8px; }
.ea-types .vcar__track::-webkit-scrollbar { display: none; }
.ea-types .vcard {
  --logic-accent: var(--red);
  --demo-bg: color-mix(in srgb, var(--logic-accent) 10%, var(--white));
  flex: 0 0 100%;
  min-width: 0;
  scroll-snap-align: start;
  padding: clamp(12px, 3.8vw, 16px);
  border: 2px solid var(--ink);
  border-radius: 14px;
  background: var(--white);
  box-shadow: 2px 4px #38271f22;
}
.ea-types .vcard__meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 4px 9px;
  margin-bottom: 9px;
}
.ea-types .vcard__no {
  margin: 0;
  padding: 4px 7px;
  border-radius: 8px;
  background: var(--logic-accent);
  color: var(--white);
  font: 800 11px/1.4 var(--f-en);
  letter-spacing: .06em;
}
.ea-types .vcard__co { margin: 0; font-size: 11px; color: var(--muted); }
.ea-types .vcard__h { margin: 0; font-size: clamp(19px, 5.7vw, 26px); line-height: 1.25; }
.ea-types .vcard__sub {
  margin: 5px 0 0;
  color: var(--logic-accent);
  font-size: 13px;
  font-weight: 800;
}
.ea-types .vcard__img { margin-top: 13px; }
.ea-types .vcard__body { margin-top: 13px; font-size: 13px; line-height: 1.8; }
.ea-types .vcar__stage { position: relative; }
.ea-types .vcar.is-ready .vcar__stage { margin-inline: 12px; }
.ea-types .vcar.is-ready .vcar__track {
  display: grid;
  gap: 0;
  padding-inline: 0;
  overflow: clip;
  scroll-snap-type: none;
  touch-action: pan-y pinch-zoom;
}
.ea-types .vcar.is-ready .vcard { grid-area: 1 / 1; visibility: hidden; }
.ea-types .vcar.is-ready .vcard:is(.is-active, .is-leaving) { visibility: visible; }
.ea-types .vcar__nav { display: none; justify-content: center; align-items: center; gap: 5px; margin-top: 8px; }
.ea-types .vcar.is-ready .vcar__nav { display: flex; }
.ea-types .arrow {
  position: absolute;
  top: 50%;
  z-index: 1;
  transform: translateY(-50%);
  width: 40px;
  height: 40px;
  display: none;
  place-items: center;
  flex: none;
  border: 1px solid var(--ink);
  border-radius: 999px;
  background: var(--white);
  color: var(--ink);
  cursor: pointer;
}
.ea-types .vcar.is-ready .arrow { display: grid; }
.ea-types .arrow[data-dir="-1"] { left: -26px; }
.ea-types .arrow[data-dir="1"] { right: -26px; }
.ea-types .arrow:hover { background: var(--paper); }
.ea-types :is(.arrow, .dots button, .vcar__playback):focus-visible {
  outline: 2px solid var(--red);
  outline-offset: 2px;
}
.ea-types .vcar__playback:not([hidden]) {
  display: grid;
  place-items: center;
  width: 32px;
  height: 36px;
  padding: 0;
  border: 0;
  background: transparent;
  color: var(--muted);
  cursor: pointer;
}
.ea-types .vcar__playback svg { width: 16px; height: 16px; }
.ea-types .vcar__playback .vcar__play-icon,
.ea-types .vcar__playback.is-paused .vcar__pause-icon { display: none; }
.ea-types .vcar__playback.is-paused .vcar__play-icon { display: initial; }
.ea-types .arrow svg { width: 14px; height: 14px; }
.ea-types .dots { display: flex; gap: 2px; align-items: center; justify-content: center; }
.ea-types .dots button {
  display: grid;
  place-items: center;
  width: 16px;
  height: 36px;
  padding: 0;
  border: 0;
  border-radius: 14px;
  background: transparent;
  cursor: pointer;
}
.ea-types .dots button::before {
  content: "";
  width: 8px;
  height: 8px;
  border-radius: 8px;
  background: #bba994;
}
.ea-types .dots button:not([aria-current="true"])::before {
  box-sizing: border-box;
  border: 1px solid var(--red);
}
.ea-types .dots button[aria-current="true"] { width: 24px; }
.ea-types .dots button[aria-current="true"]::before { width: 22px; background: var(--logic-accent, var(--red)); }
.ea-types__shortcuts { margin-top: 20px; }
.ea-types__shortcuts-intro { margin-bottom: 12px; }
.ea-types__shortcuts-intro h3 { font-size: 21px; }
.ea-types__shortcuts-intro p { margin: 5px 0 0; color: var(--muted); font-size: 14px; line-height: 1.65; }
@media(max-width:360px) {
  .ea-types__shortcuts .topic-grid--reports .topic-tile { gap: 4px; padding-inline: 6px; }
  .ea-types__shortcuts .topic-grid--reports .topic-mark { width: 22px; }
}
.ea-types__shortcuts .topic-tile {
  color: var(--ink);
  text-align: left;
}
.ea-types__request {
  width: 100%;
  margin-top: 8px;
}

/* Chart and event caption */
.ea-types .ea-demo {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--demo-bg);
}
.ea-types .ea-demo__head {
  padding: 6px 9px;
  color: var(--logic-accent);
  font: 800 11px/1.5 var(--f-jp);
}
.ea-types .ea-chart {
  --chart-paper: var(--white);
  --chart-grid: var(--line);
  --chart-ink: var(--ink);
  --chart-muted: var(--muted);
  --chart-red: var(--red);
  --chart-blue: var(--data);
}
.ea-chart{display:block;width:100%;height:auto;overflow:visible}.ea-chart text{font:900 13px var(--f-jp);fill:var(--ink)}
.ea-chart .ea-axis-label{font-size:11px}.ea-grid{fill:none;stroke:#211f1b;stroke-width:.65;opacity:.11}.ea-axis{fill:none;stroke:#211f1b;stroke-width:1.3}.ea-session{fill:none;stroke:#211f1b;stroke-width:1;stroke-dasharray:3 5;opacity:.45}
.ea-price{fill:none;stroke:#211f1b;stroke-width:.8;opacity:.22;stroke-linejoin:round;stroke-dasharray:1;stroke-dashoffset:1}.ea-candle path{fill:none;stroke:#211f1b;stroke-width:1}.ea-candle rect{stroke:#211f1b;stroke-width:.85}.ea-candle--up rect{fill:#fffaf1}.ea-candle--down rect{fill:#211f1b}
.ea-candle-key path{stroke:#211f1b;stroke-width:1}.ea-candle-key rect{fill:#fffaf1;stroke:#211f1b;stroke-width:1}.ea-candle-key .ea-key-down{fill:#211f1b}.ea-chart .ea-candle-key text{font-size:10px;font-weight:700}
.ea-mark{opacity:0}.ea-chart .ea-mark text{font-size:14px}.ea-order-stem{fill:none;stroke:#211f1b;stroke-width:1;opacity:.65}.ea-order-point{fill:#ff8220;stroke:#211f1b;stroke-width:1.4}.ea-order-label{fill:#ff8220;stroke:#211f1b;stroke-width:1.2}.ea-order--exit .ea-order-point,.ea-order--exit .ea-order-label,.ea-order--info .ea-order-point,.ea-order--info .ea-order-label{fill:#fffaf1}.ea-order--info .ea-order-label{stroke-dasharray:3 2}
.ea-average path,.ea-level{fill:none;stroke:#7842cc;stroke-width:1.5;stroke-dasharray:5 4}.ea-chart .ea-average text,.ea-chart .ea-level-label{fill:#6330b1;font-size:10px;paint-order:stroke;stroke:var(--demo-bg);stroke-width:3;stroke-linejoin:round}.ea-range{fill:#7842cc;opacity:.055}.ea-chart .ea-chart-disclaimer{font-size:9px;font-weight:700}
.ea-types .ea-step {
  margin: 0;
  padding: 7px 9px;
  border-block: 1px solid var(--line);
  color: var(--logic-accent);
  font-size: 12px;
  font-weight: 900;
  line-height: 1.5;
}
.ea-types .ea-demo__note {
  margin: 0;
  padding: 7px 9px 9px;
  color: var(--muted);
  font-size: 11px;
  line-height: 1.6;
}
@media (prefers-reduced-motion: reduce) { .ea-price { stroke-dashoffset: 0; } .ea-mark { opacity: 1; } }
