#actionparty-comparison [hidden] { display: none !important; }
.ap-case { border: 1px solid var(--line); border-radius: 12px; overflow: hidden; background: white; }
#actionparty-comparison:not(.ap-js-ready) .ap-case + .ap-case { margin-top: 28px; }
.ap-switcher { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; align-items: center; gap: 12px; margin-bottom: 18px; }
.ap-current { min-width: 0; text-align: center; }
.ap-current-label { display: block; color: var(--ink); font-size: 14px; font-weight: 600; line-height: 1.4; }
.ap-counter { display: block; margin-top: 3px; color: var(--muted); font-size: 12px; font-variant-numeric: tabular-nums; }
.ap-case-header { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: start; gap: 18px 24px; padding: 22px 24px; }
.ap-case-category { color: var(--accent); font-size: 11px; font-weight: 750; letter-spacing: .9px; text-transform: uppercase; }
.ap-case h3 { margin-top: 6px; font-size: 25px; letter-spacing: -.5px; }
.ap-roles { display: flex; flex-wrap: wrap; gap: 8px 20px; margin-top: 12px; font-size: 12px; color: var(--muted); }
.ap-roles span { display: inline-flex; align-items: center; gap: 6px; }
.ap-roles i { display: inline-block; width: 7px; height: 7px; border-radius: 50%; }
.ap-p1-dot { background: #187bff; }
.ap-p2-dot { background: #f07810; }
.ap-sync-button { align-self: start; margin-top: 14px; border-color: var(--accent); background: var(--accent); color: white; }
.ap-sync-button:hover { border-color: #045d69; background: #045d69; color: white; }
.ap-methods { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1px; background: var(--line); }
.ap-method { min-width: 0; background: white; }
.ap-method figcaption { display: flex; justify-content: space-between; align-items: baseline; gap: 10px; max-width: none; margin: 0; padding: 11px 17px; border-top: 3px solid #7d8e93; font-size: 14px; font-weight: 650; color: var(--ink); }
.ap-method:first-child figcaption { border-top-color: var(--accent); }
.ap-method figcaption small { margin-left: 4px; font-size: 11px; font-weight: 400; color: var(--muted); }
.ap-method figcaption a { flex-shrink: 0; font-size: 11px; font-weight: 400; color: var(--muted); }
.ap-media { position: relative; aspect-ratio: 832 / 480; background: #101c22; }
.ap-media video { display: block; width: 100%; height: 100%; object-fit: contain; }
.ap-role-guide { display: none; position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; }
.ap-ready .ap-role-guide { display: block; }
.ap-role-guide rect { fill: none; stroke-width: 4; }
.ap-role-guide text { fill: white; stroke: none; font: 650 27px Arial, sans-serif; }
.ap-p1-box { stroke: #187bff; }
.ap-p2-box { stroke: #f07810; }
.ap-p3-box { stroke: #ac36d0; }
.ap-p4-box { stroke: #d72f55; }
.ap-p5-box { stroke: #008b8b; }
.ap-p1-box .ap-label-bg { fill: #187bff; stroke: none; }
.ap-p2-box .ap-label-bg { fill: #f07810; stroke: none; }
.ap-p3-box .ap-label-bg { fill: #ac36d0; stroke: none; }
.ap-p4-box .ap-label-bg { fill: #d72f55; stroke: none; }
.ap-p5-box .ap-label-bg { fill: #008b8b; stroke: none; }
.ap-timeline { padding: 18px 24px 15px; border-top: 1px solid var(--line); }
.ap-timeline-heading { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; margin-bottom: 10px; }
.ap-timeline-heading label { font-size: 12px; font-weight: 650; }
.ap-clock { font-size: 12px; font-variant-numeric: tabular-nums; color: var(--muted); }
.ap-axis { margin-left: 140px; }
.ap-range { display: block; width: 100%; margin: 0; accent-color: var(--accent); cursor: pointer; }
.ap-ticks { display: flex; justify-content: space-between; margin: 4px 7px 7px; color: var(--muted); font-size: 10px; }
.ap-input-row { display: grid; grid-template-columns: 128px minmax(0, 1fr); gap: 12px; align-items: center; min-height: 39px; }
.ap-input-label { font-size: 11px; color: var(--muted); }
.ap-input-label small { display: block; margin-top: 1px; font-size: 10px; }
.ap-input-track { position: relative; height: 30px; margin-inline: 7px; }
.ap-input-track::before { content: ''; position: absolute; top: 14px; width: 100%; height: 2px; background: #e6edef; }
.ap-input-window { position: absolute; top: 7px; height: 17px; min-width: 8px; border: 1px solid var(--ap-input-color, #f07810); border-radius: 3px; background: color-mix(in srgb, var(--ap-input-color, #f07810) 28%, white); cursor: pointer; }
.ap-playhead { position: absolute; left: 0; top: 1px; width: 1px; height: 28px; background: var(--ink); pointer-events: none; }
@media (max-width: 760px) {
  .ap-switcher { gap: 8px; }
  .ap-switcher .carousel-button { padding: 8px 10px; font-size: 12px; }
  .ap-current-label { font-size: 13px; }
  .ap-counter { font-size: 11px; }
  .ap-case-header { grid-template-columns: 1fr; gap: 15px; padding: 18px 16px; }
  .ap-case h3 { font-size: 23px; }
  .ap-sync-button { justify-self: start; margin-top: 0; }
  .ap-methods { grid-template-columns: 1fr; }
  .ap-method figcaption { padding-inline: 16px; }
  .ap-timeline { padding: 17px 16px 14px; }
  .ap-axis { margin-left: 100px; }
  .ap-input-row { grid-template-columns: 88px minmax(0, 1fr); }
}
