/* Help-only video layout. No workbench, welcome, or shared research styles. */
.help-page .help-landing { width: min(1200px, calc(100% - 80px)); max-width: 1200px; padding: 0; margin: 48px auto 64px; }
.help-page .help-landing p { max-width: none; }
.help-page .help-intro { display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(260px, 1fr); gap: 64px; align-items: start; margin-bottom: 48px; }
.help-page .help-intro h1 { margin-top: 12px; font-size: clamp(32px, 4vw, 48px); line-height: 1.12; letter-spacing: -1.6px; }
.help-page p.help-intro-copy { max-width: 59ch; font-size: 17px; line-height: 1.7; color: #526372; margin-top: 20px; }
.help-page .help-guide-card { border-left: 3px solid #2b6aab; padding: 8px 0 8px 22px; }
.help-page .help-guide-card h2 { font-size: 21px; letter-spacing: -.4px; }
.help-page .help-guide-card p { font-size: 14px; line-height: 1.65; margin-top: 12px; }
.help-page .help-guide-card button { margin-top: 16px; white-space: normal; min-height: 44px; cursor: pointer; }
.help-page .help-guide-card p.help-small, .help-page .help-small { color: #526372; font-size: 12px; line-height: 1.65; }
.help-page .help-tutorial { border-top: 1px solid #cbd8e6; padding-top: 28px; scroll-margin-top: 24px; }
.help-page .help-tutorial-heading { display: flex; justify-content: space-between; align-items: center; gap: 24px; margin-bottom: 22px; }
.help-page .help-tutorial-heading h2 { font-size: 28px; margin: 7px 0; }
.help-page .help-tutorial-heading .button { flex-shrink: 0; cursor: pointer; font-family: inherit; gap: 12px; }
.help-page .help-tutorial button:disabled { opacity: .55; cursor: default; }
.help-page .help-tutorial-layout { display: grid; grid-template-columns: minmax(0, 1fr) 280px; gap: 26px; align-items: start; }
.help-page .help-tutorial-main { min-width: 0; }
.help-page .help-video-home { aspect-ratio: 16 / 9; background: #0c2946; border-radius: 5px; }
.help-page .help-video-stage { position: relative; aspect-ratio: 16 / 9; background: #0c2946; border: 1px solid #b9cce0; border-radius: 5px; overflow: hidden; }
.help-page .help-video-stage video { display: block; width: 100%; height: 100%; object-fit: contain; background: #0c2946; }
.help-page .help-video-cover { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; flex-direction: column; gap: 16px; padding: 24px; text-align: center; color: #f6fbff; background: linear-gradient(120deg, rgb(10 34 60 / 96%), rgb(17 63 101 / 91%)); }
.help-page .help-video-cover p { font-size: clamp(18px, 2vw, 24px); line-height: 1.4; max-width: 28ch; }
.help-page .help-video-mark { color: #85d5ff; font: 400 48px/1 Georgia, serif; }
.help-page .help-video-cover .help-small { color: #c7ddec; }
.help-page .help-video-cover button { display: inline-flex; gap: 16px; align-items: center; background: #e9f5ff; color: #123b60; font-family: inherit; font-weight: 500; font-size: 15px; line-height: 1.4; min-height: 46px; padding: 10px 18px; border: 1px solid #b4def7; border-radius: 4px; cursor: pointer; }
.help-page .help-video-cover button:hover { background: #fff; }
.help-page .help-video-cover .help-small { max-width: 100%; }
.help-page .help-video-toolbar { display: flex; align-items: start; justify-content: space-between; gap: 12px 20px; margin: 14px 0 10px; }
.help-page .help-video-toolbar p { color: #526372; font-size: 12px; line-height: 1.6; }
.help-page .help-video-toolbar label { display: flex; flex-shrink: 0; align-items: center; gap: 8px; font-size: 12px; }
.help-page .help-video-toolbar select { font: inherit; min-height: 36px; padding: 4px 7px; border: 1px solid #a6bed6; border-radius: 3px; background: #fff; color: #173c70; }
.help-page .help-video-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; }
.help-page .help-video-actions button { min-height: 40px; padding: 8px 12px; border: 1px solid #9db6d0; border-radius: 4px; background: #f4f9fe; color: #173c70; font: 13px/1.4 'IBM Plex Sans', system-ui, sans-serif; cursor: pointer; }
.help-page .help-video-actions button:hover { background: #e5f1fc; }
.help-page .help-view-status { margin: 10px 0; padding: 10px 12px; border-left: 3px solid #3e78ac; background: #edf5fc; color: #243b52; font-size: 13px; line-height: 1.6; }
.help-page .help-expanded-dialog { box-sizing: border-box; position: fixed; inset: 16px; width: min(1600px, calc(100vw - 32px)); max-width: none; max-height: calc(100vh - 32px); max-height: calc(100dvh - 32px); margin: auto; padding: 18px; border: 1px solid #91abc8; border-radius: 8px; background: #fff; color: #172e47; overflow: auto; }
.help-page .help-expanded-dialog[open] { display: flex; flex-direction: column; gap: 12px; }
.help-page .help-expanded-dialog::backdrop { background: rgb(7 23 43 / 76%); }
.help-page .help-expanded-heading { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 12px; }
.help-page .help-expanded-heading h2 { margin: 0; font-size: 21px; line-height: 1.3; }
.help-page .help-expanded-dialog p { margin: 0; }
.help-page .help-expanded-slot { min-width: 0; min-height: 0; }
.help-page .help-expanded-slot .help-video-stage { width: 100%; height: min(calc(100vh - 174px), calc((100vw - 72px) * .5625)); height: min(calc(100dvh - 174px), calc((100vw - 72px) * .5625)); min-height: 120px; aspect-ratio: auto; border-radius: 3px; }
.help-page .help-video-stage video:fullscreen { width: 100%; height: 100%; object-fit: contain; }
.help-page .help-tutorial :focus-visible { outline: 3px solid #195dcb; outline-offset: 3px; }
.help-page .help-video-stage video:focus-visible { outline-offset: -4px; }
.help-page .help-video-cover button:focus-visible { outline-color: #a9ddff; }
.help-page .help-video-error { background: #fff5eb; border: 1px solid #ceaa7c; padding: 14px; margin: 12px 0; border-radius: 4px; }
.help-page .help-video-error p { font-size: 14px; line-height: 1.6; }
.help-page .help-video-error button { min-height: 44px; margin-top: 10px; border: 1px solid #a58055; border-radius: 3px; padding: 8px 14px; color: #573817; background: #fff; font: inherit; cursor: pointer; }
.help-page .help-current-chapter { margin-top: 20px; padding: 17px 18px; background: #edf5fc; border-left: 3px solid #2e78b8; }
.help-page .help-current-chapter h3 { font-size: 19px; margin: 5px 0 8px; }
.help-page .help-current-chapter p:not(.eyebrow) { font-size: 14px; line-height: 1.65; }
.help-page .help-topic-links { display: flex; flex-wrap: wrap; gap: 8px 16px; margin-top: 12px; }
.help-page .help-topic-links a { color: #174d87; font-size: 13px; }
.help-page .help-video-chapters { padding: 0 0 12px; min-width: 0; }
.help-page .help-video-chapters h3 { margin: 0 0 8px; font-size: 18px; }
.help-page .help-video-chapters ol { list-style: none; padding: 0; margin: 16px 0 0; max-height: 600px; overflow-y: auto; scrollbar-gutter: stable; }
.help-page .help-video-chapters li { border-top: 1px solid #d7e2ed; }
.help-page .help-video-chapters button { width: 100%; display: grid; grid-template-columns: 45px minmax(0, 1fr); gap: 11px; align-items: baseline; min-height: 52px; padding: 13px 8px; text-align: left; border: 0; border-left: 3px solid transparent; background: transparent; color: #243b52; font: 14px/1.45 'IBM Plex Sans', system-ui, sans-serif; cursor: pointer; }
.help-page .help-video-chapters button:hover { background: #f0f6fc; }
.help-page .help-video-chapters button[aria-current] { border-left-color: #2368ad; background: #e7f2fc; color: #123e72; }
.help-page .help-time { color: #36618c; font: 11px/1.5 'IBM Plex Mono', monospace; font-variant-numeric: tabular-nums; }
.help-page .help-video-transcript { margin-top: 32px; padding-top: 28px; border-top: 1px solid #cbd8e6; }
.help-page .help-transcript-heading { display: flex; align-items: end; justify-content: space-between; gap: 20px; }
.help-page .help-transcript-heading h3 { margin: 7px 0 0; font-size: 24px; }
.help-page .help-transcript-heading label { display: block; width: min(370px, 100%); font-size: 13px; font-weight: 500; }
.help-page .help-transcript-heading input { display: block; width: 100%; min-height: 44px; margin-top: 6px; padding: 10px 12px; border: 1px solid #9db3ca; border-radius: 4px; background: #fff; color: #243b52; font: 14px/1.4 'IBM Plex Sans', system-ui, sans-serif; }
.help-page #tutorial-search-count { margin: 14px 0; }
.help-page #tutorial-transcript { max-height: 500px; overflow-y: auto; padding-right: 12px; scrollbar-gutter: stable; }
.help-page .help-transcript-chapter { margin: 0 0 22px; }
.help-page .help-transcript-chapter h4 { margin: 0 0 8px; padding-top: 12px; border-top: 1px solid #d7e2ed; font-size: 16px; font-weight: 500; }
.help-page .help-transcript-cue { display: flex; align-items: baseline; gap: 14px; margin: 3px 0; }
.help-page .help-transcript-cue button { flex: 0 0 64px; background: transparent; color: #174d87; border: 1px solid transparent; border-radius: 3px; min-height: 44px; padding: 8px 5px; font: 12px/1.5 'IBM Plex Mono', monospace; cursor: pointer; text-decoration: underline; text-underline-offset: 3px; }
.help-page .help-transcript-cue button:hover { background: #edf5fc; }
.help-page .help-transcript-cue p { font-size: 14px; line-height: 1.75; padding: 7px 0; max-width: 82ch; }
.help-page .help-evidence-note { margin-top: 32px; padding-top: 24px; border-top: 1px solid #cbd8e6; font-size: 13px; line-height: 1.75; color: #526372; }
@media (max-width: 1000px) {
  .help-page .help-landing { width: calc(100% - 48px); }
  .help-page .help-intro { gap: 32px; }
  .help-page .help-tutorial-layout { grid-template-columns: minmax(0, 1fr) 230px; gap: 18px; }
  .help-page .help-video-cover { gap: 10px; padding: 18px; }
  .help-page .help-video-mark { font-size: 36px; }
}
@media (max-width: 760px) {
  .help-page .help-landing { width: calc(100% - 32px); margin: 30px auto 40px; }
  .help-page .help-intro { grid-template-columns: 1fr; gap: 24px; margin-bottom: 32px; }
  .help-page .help-tutorial-heading { align-items: start; flex-direction: column; gap: 16px; }
  .help-page .help-tutorial-heading h2 { font-size: 25px; }
  .help-page .help-tutorial-heading .button { width: 100%; }
  .help-page .help-tutorial-layout { grid-template-columns: 1fr; }
  .help-page .help-video-toolbar { flex-direction: column; }
  .help-page .help-video-actions { width: 100%; }
  .help-page .help-video-actions button { min-height: 44px; }
  .help-page .help-expanded-dialog { inset: 8px; width: calc(100vw - 16px); max-height: calc(100vh - 16px); max-height: calc(100dvh - 16px); padding: 12px; }
  .help-page .help-expanded-heading h2 { font-size: 18px; }
  .help-page .help-expanded-slot .help-video-stage { height: min(calc(100vh - 190px), calc((100vw - 44px) * .5625)); height: min(calc(100dvh - 190px), calc((100vw - 44px) * .5625)); }
  .help-page .help-video-cover { gap: 10px; padding: 12px; }
  .help-page .help-video-cover p { font-size: 17px; }
  .help-page .help-video-mark { display: none; }
  .help-page .help-video-cover .help-small { font-size: 10px; }
  .help-page .help-video-cover button { font-size: 13px; padding: 8px 12px; }
  .help-page .help-video-chapters { margin-top: 10px; }
  .help-page .help-video-chapters ol { max-height: 330px; }
  .help-page .help-video-chapters button { min-height: 52px; }
  .help-page .help-transcript-heading { align-items: stretch; flex-direction: column; }
  .help-page .help-transcript-heading label { width: 100%; }
  .help-page .help-transcript-cue { gap: 8px; }
  .help-page .help-transcript-cue button { flex-basis: 57px; }
  .help-page #tutorial-transcript { max-height: 440px; padding-right: 4px; }
}
@media (prefers-reduced-motion: reduce) { .help-page .help-tutorial * { scroll-behavior: auto !important; } }

/* Same-origin static transcript: no inline style exception to the site CSP. */
.help-transcript-page { max-width: 72ch; margin: 2rem auto; padding: 0 1rem; font: 1rem/1.6 system-ui, sans-serif; color: #162a43; }
.help-transcript-page a { color: #0755a1; }
.help-transcript-page h2 { margin-top: 2rem; }
.help-transcript-page p a { white-space: nowrap; }
