.help-demo {
  position: relative;
  margin: .65rem 0;
  color: #1c2b39;
  font: 13px/1.45 "Segoe UI", Tahoma, Geneva, sans-serif;
}
.help-demo-trigger {
  min-height: 32px;
  padding: .35rem .65rem;
  border: 1px solid #9fb9d4;
  border-radius: 4px;
  background: #f7fbff;
  color: #0f4676;
  font: inherit;
  font-weight: 700;
  cursor: pointer;
}
.help-demo-trigger:hover { background: #eaf2f8; }
.help-demo-trigger:focus-visible { outline: 2px solid #145a96; outline-offset: 2px; }
.help-demo-teaser {
  position: absolute;
  box-sizing: border-box;
  overflow: auto;
  z-index: 20;
  width: min(320px, calc(100vw - 32px));
  padding: 8px;
  border: 1px solid #ccd9e5;
  border-left: 4px solid #f4bb44;
  border-radius: 6px;
  background: #fff;
  box-shadow: 0 8px 22px rgba(15, 46, 74, .18);
}
.help-demo-teaser img { display: block; width: 100%; height: auto; object-fit: contain; margin-bottom: 6px; }
.help-demo-teaser span { display: block; color: #4f6478; }
.help-demo-player {
  max-width: 720px;
  margin: .7rem 0 1rem;
  padding: 10px;
  border: 1px solid #ccd9e5;
  border-left: 4px solid #f4bb44;
  border-radius: 6px;
  background: #f8fbff;
}
.help-demo-player video { display: block; width: 100%; height: auto; aspect-ratio: 3 / 2; background: #edf2f9; }
.help-demo-player figcaption { margin-top: .55rem; color: #334b60; }
.help-demo-transcript { margin-top: .45rem; }
.help-demo-transcript summary { cursor: pointer; color: #0f4676; font-weight: 700; }
.help-demo-transcript ol { margin: .4rem 0 .2rem 1.4rem; }
.help-demo-download { display: inline-block; margin-top: .45rem; color: #145a96; }
.help-demo-compact { margin: .45rem 0 .2rem; }
.help-demo-compact .help-demo-trigger { scroll-margin-block: 8px 56px; }
.help-demo-compact .help-demo-player { max-width: 620px; }
.help-demo-unavailable { color: #6b7280; font-style: italic; }
.video-help-label { display: flex; align-items: center; gap: .1rem; margin-bottom: .25rem; }
.video-help-label > label, .video-help-label > .example-label { margin: 0; }
.label-dropdown-col-row > .video-help-label { margin: 0; }
.sequence-input-heading { display: flex; align-items: center; justify-content: space-between; gap: .3rem; margin-bottom: .25rem; }
.sequence-input-heading > label { margin: 0; min-width: 0; }
.sequence-input-heading > .video-help-label { flex: none; margin: 0; }
.section-header-action:has(.video-help-icon) { display: inline-flex; align-items: center; gap: .2rem; }
.video-help-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: none;
  width: 24px;
  height: 24px;
  padding: 0;
  border: 0;
  border-radius: 4px;
  background: transparent;
  color: #687784;
  vertical-align: middle;
  cursor: pointer;
}
.video-help-icon:hover, .video-help-icon[aria-expanded="true"] { color: #145a96; }
.video-help-icon:focus-visible { outline: 2px solid #145a96; outline-offset: 2px; }
.video-help-icon:disabled { opacity: .45; cursor: default; }
.help-control-preview {
  position: fixed;
  box-sizing: border-box;
  overflow: auto;
  overscroll-behavior: contain;
  z-index: 600;
  width: min(380px, calc(100vw - 16px));
  padding: 10px;
  border: 1px solid #ccd9e5;
  border-left: 4px solid #f4bb44;
  border-radius: 7px;
  background: #fff;
  box-shadow: 0 10px 28px rgba(15, 46, 74, .24);
  color: #1c2b39;
  font: 13px/1.4 "Segoe UI", Tahoma, Geneva, sans-serif;
}
.help-control-preview-heading { display: flex; align-items: center; justify-content: space-between; gap: 8px; margin-bottom: 8px; color: #0f4676; }
.help-control-preview-close { flex: none; width: 28px; height: 28px; border: 0; border-radius: 4px; font-size: 22px; background: #edf3f9; color: #194b73; cursor: pointer; }
.help-control-preview-close:focus-visible { outline: 2px solid #145a96; outline-offset: 2px; }
.help-control-preview video { display: block; width: 100%; height: auto; aspect-ratio: 3 / 2; background: #edf2f9; }
.help-video-surface { position: relative; }
.help-video-enlarge {
  position: absolute;
  inset: 0 0 64px;
  width: 100%;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  cursor: zoom-in;
}
.help-video-enlarge:hover { background: transparent; }
/* After entering native controls, keep their menus reachable over the picture. */
.help-video-surface:has(video:hover) .help-video-enlarge { pointer-events: none; }
.help-control-preview-large { width: min(960px, calc(100vw - 16px)); }
.help-control-preview-large video { max-height: max(120px, calc(100dvh - 155px)); object-fit: contain; }
.help-control-preview-large .help-video-enlarge { cursor: zoom-out; }
.help-video-size {
  border: 0;
  background: transparent;
  padding: 0;
  color: #687784;
  font: inherit;
  font-weight: 400;
  cursor: pointer;
}
.help-video-size:hover { text-decoration: underline; }
.help-video-size:focus-visible { outline: 2px solid #145a96; outline-offset: 2px; }
.help-control-preview .help-demo-transcript > p { margin: .6rem 0; color: #4f6478; }
.help-control-preview .help-demo-transcript ol { padding-left: .2rem; }
@media (pointer: coarse) {
  .video-help-icon { width: 32px; height: 32px; }
}
.help-action-target {
  display: inline-flex;
  align-items: center;
  gap: .32rem;
}
.help-action-target::after,
.help-demo-trigger[aria-expanded="false"]::before {
  content: "";
  display: inline-grid;
  box-sizing: border-box;
  flex: none;
  place-items: center;
  width: 12px;
  height: 12px;
  font-size: 12px;
  font-weight: 400;
  line-height: 1;
  opacity: .72;
  background: currentColor;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12'%3E%3Cg fill='none' stroke='black' stroke-linejoin='round'%3E%3Ccircle cx='6' cy='6' r='5.25'/%3E%3Cpath d='M4.5 3.5 8.5 6 4.5 8.5Z'/%3E%3C/g%3E%3C/svg%3E") center / contain no-repeat;
}
.help-demo-trigger::before { vertical-align: middle; margin-right: .35rem; }
.help-action-target:hover::after,
.help-action-target:focus-visible::after { opacity: 1; }
.help-action-preview {
  position: fixed;
  box-sizing: border-box;
  overflow: hidden;
  z-index: 600;
  width: min(360px, calc(100vw - 16px));
  padding: 7px;
  border: 1px solid #ccd9e5;
  border-left: 4px solid #f4bb44;
  border-radius: 6px;
  background: #fff;
  box-shadow: 0 10px 28px rgba(15, 46, 74, .24);
  color: #1c2b39;
  font: 13px/1.38 "Segoe UI", Tahoma, Geneva, sans-serif;
  pointer-events: none;
}
.help-action-preview video {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 3 / 2;
  margin-bottom: 6px;
  background: #edf2f9;
  object-fit: contain;
}
.help-action-preview-copy strong,
.help-action-preview-copy span { display: block; }
.help-action-preview-copy strong { margin-bottom: 2px; color: #0f4676; }
.help-action-preview-copy span { color: #4f6478; }
[hidden] { display: none !important; }

@media (prefers-reduced-motion: reduce) {
  .help-demo-trigger, .help-demo-teaser { transition: none !important; }
}

@media (max-width: 520px), (hover: none) {
  .help-demo-teaser { display: none !important; }
  .help-action-preview { display: none !important; }
  .help-demo-player { padding: 6px; }
}
