.walkthrough-entry { margin-top: 1rem; font-size: .875rem; }
.walkthrough-entry a { color: inherit; text-underline-offset: 4px; }
.tour-session { margin: 0; padding: 12px 32px; background: #dce7e8; color: #18383b; font-size: 13px; line-height: 1.6; }
.tour-session a { color: inherit; margin-left: 12px; text-underline-offset: 3px; }
.walkthrough-session .tour-layout { max-width: 1600px; margin: auto; display: grid; grid-template-columns: 300px minmax(0, 1fr); }
.tour-guide { padding: 32px 24px; align-self: start; position: sticky; top: 74px; }
.tour-guide h1 { margin: 0 0 16px; font: 600 24px/1.2 'Libre Franklin', sans-serif; letter-spacing: -.025em; }
.tour-intro { margin-bottom: 24px; font-size: 14px; line-height: 1.65; }
.tour-steps { list-style: none; padding: 0; margin: 0 0 24px; }
.tour-steps li + li { border-top: 1px solid #c4c3b9; }
.tour-guide button { font: 500 13px/1.4 'Libre Franklin', sans-serif; cursor: pointer; color: #071a1b; }
.tour-steps button { width: 100%; display: flex; gap: 12px; text-align: left; border: 0; background: transparent; padding: 12px 0; }
.tour-steps span { font-variant-numeric: tabular-nums; }
.tour-steps button[aria-current] { font-weight: 700; color: #8f3c27; }
.tour-guide button:disabled { cursor: default; opacity: .52; }
.tour-controls, .tour-navigation { display: flex; flex-wrap: wrap; gap: 8px; }
.tour-controls button, .tour-navigation button, .tour-stage button { border: 1px solid #8b9690; padding: 11px 14px; background: #fffdf6; border-radius: 0; min-height: 44px; }
.tour-navigation { margin-top: 20px; }
.tour-navigation #tourNext { flex: 1; color: #fffdf6; background: #071a1b; border-color: #071a1b; }
.tour-fine { font-size: 12px; line-height: 1.65; color: #455b56; margin: 14px 0; }
.tour-exit { display: inline-block; margin-top: 8px; color: #18383b; font-size: 13px; text-underline-offset: 4px; }
.walkthrough-session #workspace { min-width: 0; padding: 32px; background: #fffdf6; border-left: 1px solid #c4c3b9; }
.tour-stage { scroll-margin-top: 96px; }
.tour-stage-heading { margin-bottom: 28px; max-width: 70ch; }
#tourPosition { margin: 0 0 12px; font-size: 13px; font-variant-numeric: tabular-nums; }
.tour-stage h2 { font: 600 clamp(24px, 2.4vw, 36px)/1.2 'Libre Franklin', sans-serif; letter-spacing: -.025em; margin: 0 0 16px; }
#tourDescription { font-size: 15px; line-height: 1.7; }
.tour-timeline { padding: 24px; background: #f1ecdf; margin-bottom: 24px; }
.tour-schedule { display: grid; grid-template-columns: 1fr auto; gap: 8px 16px; font-size: 13px; }
.tour-schedule + .tour-schedule { margin-top: 28px; }
.tour-schedule strong { font-variant-numeric: tabular-nums; }
.tour-track { grid-column: 1 / -1; height: 24px; background: #e1e2d7; overflow: hidden; }
.tour-bar { height: 100%; width: 100%; transform: scaleX(var(--finish-scale, 0)); transform-origin: left; background: #455e57; }
.tour-bar.current { background: #a94d35; animation: reveal-finish 750ms cubic-bezier(.16,1,.3,1); }
@keyframes reveal-finish { from { clip-path: inset(0 100% 0 0); } to { clip-path: inset(0 0 0 0); } }
.tour-schedule code { grid-column: 1 / -1; overflow-wrap: anywhere; font: 12px/1.5 'JetBrains Mono', monospace; }
#tourMovement { margin: 24px 0 0; font-weight: 600; font-size: 16px; line-height: 1.5; }
#tourOriginalClaim { margin: 0; padding: 24px; background: #071a1b; color: #fffdf6; font-size: 16px; line-height: 1.7; white-space: pre-line; }
#tourExperiment { margin-bottom: 28px; }
#tourExperiment label { display: block; margin-bottom: 10px; font-size: 14px; font-weight: 600; }
#tourNarrative { display: block; width: 100%; resize: vertical; padding: 16px; border: 1px solid #8b9690; background: #fffdf6; color: #071a1b; font: 14px/1.65 'Libre Franklin', sans-serif; caret-color: #a94d35; }
.tour-experiment-actions { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 12px; }
.tour-stage button { font: 500 13px/1.5 'Libre Franklin', sans-serif; cursor: pointer; color: #071a1b; }
.tour-stage button:disabled { opacity: .52; cursor: wait; }
.tour-guide button:hover:not(:disabled), .tour-stage button:hover:not(:disabled) { background: #dce7e8; color: #071a1b; }
.tour-guide :focus-visible, .tour-stage :focus-visible { outline: 3px solid #406d84; outline-offset: 3px; }
#tourCheckStatus, #tourRecordSummary, #tourDownloadStatus, .tour-form-hint, .tour-complete { font-size: 14px; line-height: 1.65; }
.tour-form-hint, .tour-complete { padding: 16px; background: #dce7e8; color: #18383b; }
.tour-error { padding: 16px; margin-bottom: 24px; background: #fae8df; color: #72321f; }
.walkthrough-session .assurance-hero, .walkthrough-session .simple-flow, .walkthrough-session #packIntake,
.walkthrough-session .review-tools, .walkthrough-session #supportingEvidence,
.walkthrough-session .readiness-actions, .walkthrough-session #requestPanel, .walkthrough-session #draftNotice { display: none !important; }
.walkthrough-session[data-tour-stage='0'] #readinessWorkspace { display: none; }
.walkthrough-session[data-tour-stage='3'] #readinessCard { display: none; }
.walkthrough-session .readiness-workspace { padding: 0 0 24px; }
.walkthrough-session .review-context { margin-top: 24px; }
.walkthrough-session .register-heading h1 { font: 600 26px/1.25 "Libre Franklin", sans-serif; letter-spacing: -.025em; }
.walkthrough-session .register-row.closed { opacity: 1; }
.walkthrough-session .assurance-toast:not(.show) { visibility: hidden; }
.walkthrough-session .register-view { min-height: 0; padding: 24px 0; }
.walkthrough-session .decision-panel { margin-top: 0; }
.walkthrough-session .site-footer { padding: 24px 32px; }
.walkthrough-session .header-meta a { display: none; }
.walkthrough-session ::selection { background: #d6e4e7; color: #071a1b; }
@media (max-width: 1100px) {
  .walkthrough-session .tour-layout { grid-template-columns: 245px minmax(0, 1fr); }
  .tour-guide { padding: 24px 16px; }
  .walkthrough-session #workspace { padding: 24px; }
  .walkthrough-session .evidence-desk { grid-template-columns: 1fr; }
}
@media (max-width: 760px) {
  .walkthrough-session .tour-layout { display: block; }
  .tour-guide { position: static; padding: 24px 16px; }
  .tour-guide h1 { font-size: 24px; }
  .tour-intro, .tour-steps { display: none; }
  .tour-steps { display: none; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0 12px; margin-bottom: 16px; }
  .tour-steps li, .tour-steps li + li { border-top: 1px solid #c4c3b9; }
  .tour-steps button { font-size: 12px; gap: 6px; }
  .tour-guide .tour-fine:last-of-type, .tour-exit { display: none; }
  .tour-session { padding: 12px 16px; font-size: 12px; }
  .tour-session a { display: block; margin-left: 0; }
  .walkthrough-session #workspace { border-left: 0; border-top: 1px solid #c4c3b9; padding: 24px 16px 80px; }
  .tour-stage { scroll-margin-top: 80px; }
  .tour-timeline { padding: 16px; }
  .tour-schedule { grid-template-columns: 1fr; }
  .walkthrough-session .assurance-header nav { display: none; }
  .walkthrough-session .header-meta { display: block; }
  .walkthrough-session .assurance-header { grid-template-columns: 1fr auto; }
  .walkthrough-session .evidence-desk.evidence-open > div { display: block; }
  .walkthrough-session .evidence-desk .finding-evidence { display: block; }
  .walkthrough-session #backToFindings { display: none; }
  .tour-navigation { position: fixed; inset: auto 0 0; padding: 12px 16px; background: #f1ecdf; border-top: 1px solid #8b9690; z-index: 60; margin: 0; }
}
@media (prefers-reduced-motion: reduce) { .tour-bar.current { animation: none; } }
