/* Keep the independent guide below the shared fixed navigation. */
.usage-page main { padding-top: 64px; }
.usage-page .host-heading h1 { margin: 0 0 10px; font-size: clamp(24px, 2.7vw, 38px); font-weight: 600; letter-spacing: -1px; line-height: 1.2; }
.usage-page .host-heading h1 span { color: var(--muted); font-weight: 400; }
@media (max-width: 600px) {
  .usage-page main { padding-top: 58px; }
  .usage-page .host-heading h1 { font-size: 26px; }
}
.usage-page .script-guide-link { display: inline-block; margin-top: 10px; color: var(--blue); font-size: 13px; line-height: 1.7; }

/* Desktop captures keep the sidebar, task footer and logs visible. */
.usage-page .host-story { height: calc(100svh + 18.5 * 100vh); }
.usage-page .host-board { width: min(100%, 1440px); }
.usage-page .host-heading { text-align: left !important; margin-bottom: 24px; }
.usage-page .host-heading > p:first-child { color: #c95716; }
.usage-page .host-presentation,
.usage-page #host .host-presentation { grid-template-columns: minmax(0, 1.65fr) minmax(280px, 1fr); gap: 36px; }
.usage-page #host .host-window { width: 100%; justify-self: stretch; }
.usage-page .desktop-capture { margin: 0; }
.usage-page .desktop-capture a { display: block; }
.usage-page .desktop-capture img { width: 100%; height: auto; max-height: calc(100svh - 310px); object-fit: contain; background: #f5f6f8; }
.usage-page .desktop-capture figcaption { padding: 10px 14px; font-size: 11px; color: var(--muted); text-align: center; border-top: 1px solid #e7e9ed; }
.usage-page .host-notes,
.usage-page #host .host-notes { gap: 20px; }
.usage-page .host-notes h3,
.usage-page #host .host-notes h3 { font-size: 17px; }
.usage-page .host-notes p,
.usage-page #host .host-notes p { font-size: 13px; line-height: 1.8; }
.usage-page .host-chapters { justify-content: flex-start; width: max-content; max-width: calc(100% - 40px); margin-inline: auto; overflow-x: auto; white-space: nowrap; }
.usage-page .host-chapters a { flex-shrink: 0; padding: 8px 10px; }
.usage-page .host-chapters a[aria-current=step] { color: #a94712; background: #fff5ef; border-color: #c9571633; }
@media (min-width: 601px) and (max-height: 780px) {
  .usage-page .host-heading { margin-bottom: 14px; }
  .usage-page .host-heading h1, .usage-page .host-heading h2 { font-size: 28px; }
  .usage-page .host-notes, .usage-page #host .host-notes { gap: 12px; }
  .usage-page .host-notes h3, .usage-page #host .host-notes h3 { font-size: 15px; }
  .usage-page .host-notes p, .usage-page #host .host-notes p { font-size: 12px; line-height: 1.7; }
}
@media (max-width: 900px) and (min-width: 601px) {
  .usage-page .host-presentation, .usage-page #host .host-presentation { grid-template-columns: minmax(0, 1fr) minmax(250px, 1fr); gap: 22px; }
}
@media (max-width: 600px) {
  .usage-page .host-story { height: auto; }
  .usage-page .host-presentation, .usage-page #host .host-presentation { grid-template-columns: 1fr; gap: 24px; }
  .usage-page .desktop-capture img { max-height: none; }
  .usage-page .host-heading { margin-bottom: 22px; }
  .usage-page .host-notes h3, .usage-page #host .host-notes h3 { font-size: 16px; }
  .usage-page .host-notes p, .usage-page #host .host-notes p { font-size: 13px; }
}
