.institutional-guide { padding-bottom: 64px; }
.guide-hero { padding: 48px 0 32px; max-width: 900px; }
.guide-kicker { color: var(--blue-deep); font-size: 13px; font-weight: 600; margin: 0 0 16px; }
.guide-hero h1 { font-family: var(--font-serif); font-size: clamp(42px, 5vw, 68px); font-weight: 500; line-height: 1.1; letter-spacing: -.025em; margin: 0 0 20px; padding-bottom: 4px; }
.guide-hero h1 em { color: var(--blue-deep); }
.guide-lede { color: var(--ink-mute); font-size: 19px; max-width: 660px; margin: 0 0 24px; }
.guide-actions { display: flex; align-items: center; flex-wrap: wrap; gap: 24px; }
.guide-text-link { color: var(--blue-deep); text-decoration: underline; text-underline-offset: 4px; }
.guide-section { padding-top: 32px; scroll-margin-top: 88px; }
.guide-section h2 { font-family: var(--font-serif); font-size: clamp(30px, 3vw, 40px); font-weight: 500; line-height: 1.15; letter-spacing: -.02em; margin: 0 0 14px; }
.guide-section > p { color: var(--ink-mute); margin: 0 0 24px; max-width: 760px; }
.walkthrough { display: grid; grid-template-columns: minmax(0, 1.8fr) minmax(300px, 1fr); border: 1px solid var(--rule); border-radius: 8px; overflow: hidden; background: white; }
.walkthrough-figure { min-width: 0; margin: 0; background: var(--paper-strong); padding-bottom: 16px; }
.walkthrough-stage { position: relative; width: 100%; aspect-ratio: 4 / 3; overflow: hidden; background: #f5f6f8; isolation: isolate; }
.walkthrough-canvas { position: absolute; top: 0; left: 0; width: 100%; transform-origin: 0 0; }
.walkthrough-image { display: block; width: 100%; max-width: none; height: auto; }
.walkthrough-spotlight { position: absolute; border: 3px solid var(--blue-deep); border-radius: 6px; box-shadow: 0 0 0 2000px rgb(11 22 35 / 48%); pointer-events: none; min-width: 28px; min-height: 28px; }
.walkthrough-marker { position: absolute; left: 6px; top: 6px; width: 28px; height: 28px; display: grid; place-items: center; border: 2px solid white; border-radius: 50%; background: var(--blue-dark); color: white; font: 600 13px/1 var(--font-sans); }
.walkthrough-figure figcaption { padding: 14px 20px 6px; color: var(--ink-mute); font-size: 12px; }
.walkthrough-full-image { display: inline-block; margin: 0 20px; font-size: 13px; }
.walkthrough-content { display: flex; flex-direction: column; min-width: 0; padding: clamp(20px, 2.4vw, 32px); border-left: 1px solid var(--rule); }
.walkthrough-progress { height: 3px; background: var(--rule-soft); margin-bottom: 24px; }
.walkthrough-progress span { display: block; height: 100%; width: 10%; background: var(--blue-deep); }
.walkthrough-description { flex: 1; }
.walkthrough-description h3 { font-size: 26px; font-weight: 600; line-height: 1.2; margin: 0 0 18px; }
.walkthrough-description p { color: var(--ink-soft); margin: 0 0 18px; font-size: 15px; line-height: 1.65; }
.walkthrough-description .walkthrough-note { color: var(--ink-mute); font-size: 13px; padding-top: 16px; border-top: 1px solid var(--rule-soft); }
.walkthrough-controls { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 12px; margin-top: 12px; }
.walkthrough-back { background: white; border: 0; color: var(--blue-deep); padding: 12px 0; font-size: 14px; white-space: nowrap; }
.walkthrough-back:disabled { color: var(--ink-mute); opacity: .6; cursor: default; }
.walkthrough-next { white-space: nowrap; font-size: 13px; padding: 12px 16px; }
.walkthrough-steps { display: grid; grid-template-columns: repeat(10, minmax(0, 1fr)); gap: 4px; margin-top: 24px; }
.walkthrough-steps button { border: 1px solid var(--rule); border-radius: 4px; background: white; color: var(--ink-soft); min-height: 30px; padding: 4px 0; font-size: 12px; }
.walkthrough-steps button[aria-current="step"] { color: white; background: var(--blue-dark); border-color: var(--blue-dark); }
.walkthrough-steps button:hover { border-color: var(--blue-deep); }
.walkthrough-finish { border-top: 1px solid var(--rule); margin-top: 20px; padding-top: 16px; font-size: 14px; color: var(--ink-mute); }
.walkthrough-finish[hidden] { display: none; }
.walkthrough-finish p { margin-top: 0; }
.guide-tour-note { margin-top: 28px; padding: 20px 24px; background: var(--blue-tint); border-left: 3px solid var(--blue-deep); color: var(--ink-soft); font-size: 14px; }
@media (max-width: 900px) {
  .walkthrough { grid-template-columns: 1fr; }
  .walkthrough-stage { aspect-ratio: 16 / 9; }
  .walkthrough-content { border-left: 0; border-top: 1px solid var(--rule); }
  .walkthrough-description { min-height: 235px; }
}
@media (max-width: 560px) {
  .guide-hero { padding-top: 32px; }
  .guide-lede { font-size: 17px; }
  .guide-actions { gap: 16px; }
  .walkthrough-stage { aspect-ratio: 4 / 3; }
  .walkthrough-description h3 { font-size: 24px; }
  .walkthrough-description { min-height: 300px; }
}
@media (prefers-reduced-motion: reduce) {
  html:has(.institutional-guide) { scroll-behavior: auto; }
}
@media print {
  .nav, .footer, .site-progress, .guide-actions, .walkthrough-controls, .walkthrough-steps { display: none !important; }
  .guide-hero { padding: 16px 0; }
  .walkthrough { grid-template-columns: 1fr; }
}

.guide-alerts { margin-top: 32px; border-top: 1px solid var(--rule); }
.guide-alert-priorities { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; margin: 28px 0; }
.guide-alert-priorities > div { border-left: 3px solid var(--blue-deep); padding-left: 16px; }
.guide-alert-priorities strong { font-size: 17px; }
.guide-alert-priorities p { color: var(--ink-mute); margin: 8px 0 0; font-size: 14px; }
.guide-alert-types { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 32px; }
.guide-alert-types details { border-top: 1px solid var(--rule); padding: 18px 0; }
.guide-alert-types summary { cursor: pointer; font-weight: 500; padding-right: 12px; }
.guide-alert-types summary:focus-visible { outline: 2px solid var(--blue-deep); outline-offset: 4px; }
.guide-alert-types p { color: var(--ink-mute); margin: 12px 0 0; max-width: 60ch; }
.guide-alert-workflow { max-width: 850px; margin-top: 28px; }
.guide-alert-workflow h3 { font-size: 23px; margin: 0 0 12px; }
.guide-alert-workflow p { color: var(--ink-soft); }
@media (max-width: 760px) {
  .guide-alert-priorities, .guide-alert-types { grid-template-columns: 1fr; }
  .guide-alert-priorities { gap: 20px; }
}

.guide-demo-entry { padding:28px; background:var(--blue-tint); border:1px solid var(--rule); border-radius:10px; margin:8px 0 28px; }
.guide-demo-entry h2 { font-size:28px; margin:0 0 12px; }
.guide-demo-entry p { color:var(--ink-mute); max-width:760px; margin:0 0 18px; }
.guide-capture-reference > summary { cursor:pointer; font-weight:600; padding:18px 0; color:var(--blue-deep); }
