/* Source media in the Batch details, using the site's shared type and palette. */
.dialog-content .batch-brand-heading { font-size: 0; line-height: 1; margin: 3px 0 28px; }
.batch-wordmark { display: block; width: min(230px, 80%); height: auto; }
html[data-theme=light] .batch-wordmark { filter: brightness(0); }
.batch-case figure { margin: 0; }
.batch-case figcaption { margin-top: 12px; color: var(--muted); }
.batch-entry-demo { border: 1px solid var(--line); border-radius: var(--radius-card); overflow: hidden; background: var(--surface-raised); }
.batch-media-toolbar { display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 12px 18px; }
.batch-media-label { color: var(--muted); }
.batch-demo-switch { display: flex; flex: 0 0 auto; gap: 3px; padding: 3px; border: 1px solid var(--glass-border); border-radius: 999px; background: var(--glass-bg); }
.batch-demo-switch button { padding: 9px 15px; min-height: 44px; color: var(--muted); border: 1px solid transparent; border-radius: 999px; background: transparent; }
.batch-demo-switch button:hover { color: var(--ink); }
.batch-demo-switch button[aria-pressed=true] { color: var(--ink); background: var(--surface); border-color: var(--line); box-shadow: 0 2px 7px #00000012, inset 0 1px 0 #ffffff12; }
.batch-entry-video { display: block; width: 100%; height: auto; aspect-ratio: 16 / 9; background: #151515; }
.batch-video-stage { position: relative; overflow: hidden; }
.batch-video-cover { display: block; position: absolute; inset: 0; width: 100%; height: 100%; padding: 0; background: #151515; }
.batch-video-cover[hidden] { display: none; }
.batch-video-cover > img { display: block; width: 100%; height: 100%; object-fit: cover; }
.batch-video-cover > span { position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%); display: flex; align-items: center; gap: 8px; white-space: nowrap; padding: 12px 18px; border: 1px solid #ffffff50; border-radius: 999px; color: #fff; background: #171b26bf; backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px); box-shadow: 0 4px 18px #0003; }
.batch-video-cover svg { width: 16px; height: 16px; }
.batch-video-cover:hover > span { background: #171b26e6; }
.batch-video-cover:focus-visible { outline-offset: -5px; }
.batch-portrait-stage { border-radius: var(--radius-card); }
.batch-entry-demo figcaption { padding: 14px 18px 16px; margin: 0; }
.batch-evidence-grid { display: grid; grid-template-columns: minmax(0, 1.8fr) minmax(0, 1fr); gap: 28px; margin-top: 10px; }
.batch-evidence-grid > section { min-width: 0; }
.batch-evidence-grid h3 { margin-top: 28px; }
.batch-screen-pair { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); align-items: start; gap: 16px; padding: 22px; background: var(--surface-raised); border: 1px solid var(--line); border-radius: var(--radius-card); }
.batch-screen-pair img { display: block; width: 100%; height: auto; }
.batch-screen-pair:focus-visible { outline: 2px solid var(--blue); outline-offset: 4px; }
.batch-case .batch-checkout-video { display: block; width: 100%; max-width: 320px; height: auto; max-height: none; aspect-ratio: 9 / 16; object-fit: contain; border: 1px solid var(--line); border-radius: var(--radius-card); margin: 0; background: #151515; }
.batch-event { margin: 36px 0 28px; padding: 26px 28px; background: var(--surface-raised); border: 1px solid var(--line); border-radius: var(--radius-card); }
.batch-event .eyebrow { display: block; margin: 0 0 9px; }
.dialog-content .batch-event h3 { margin: 0 0 12px; }
.dialog-content .batch-event p { max-width: 680px; margin: 0; }
.batch-case .batch-event-photo { margin-top: 22px; }
.batch-event-photo img { display: block; width: 100%; height: auto; border-radius: calc(var(--radius-card) - 8px); }

@media (max-width:760px) {
  .batch-evidence-grid { grid-template-columns: minmax(0, 1fr); gap: 0; }
  .batch-screen-pair { max-width: 640px; margin-inline: auto; }
  .batch-case .batch-checkout-figure { width: min(320px, 100%); margin-inline: auto; }
  .batch-event { padding: 23px 22px; }
}
@media (max-width:570px) {
  .batch-media-toolbar { flex-wrap: wrap; gap: 10px; padding: 14px; }
  .batch-demo-switch { width: 100%; }
  .batch-demo-switch button { flex: 1; }
  .batch-entry-demo figcaption { padding: 12px 14px 14px; }
  .batch-screen-pair { display: flex; overflow-x: auto; gap: 14px; padding: 18px; scroll-snap-type: x mandatory; overscroll-behavior-x: contain; scrollbar-width: thin; }
  .batch-screen-pair img { flex: 0 0 auto; width: clamp(210px, 58vw, 260px); max-width: none; scroll-snap-align: center; }
  .batch-event { padding: 22px 20px; }
}
