.ok-guide { overflow-anchor: none; --ok-line: #08766526; width: min(1120px, calc(100% - 64px)); margin: 42px auto 72px; color: #254c43; font-family: 'Exo 2', Arial, sans-serif; }
.ok-guide * { box-sizing: border-box; }
.ok-guide [hidden] { display: none !important; }
.ok-guide a { color: var(--brand-primary); text-underline-offset: 4px; }
.ok-guide button { font: inherit; cursor: pointer; color: var(--brand-primary); background: white; border: 1px solid var(--ok-line); border-radius: 12px; padding: 12px 16px; min-height: 46px; }
.ok-guide button:hover, .ok-scenarios a:hover { border-color: var(--brand-primary); background: #f1f8f4; }
.ok-guide :focus-visible { outline: 3px solid var(--brand-accent); outline-offset: 4px; }
.ok-guide button:disabled { opacity: .5; cursor: default; }
.ok-intro { max-width: 750px; margin: 54px auto 36px; text-align: center; }
.ok-guide .ok-eyebrow { font-size: 12px; letter-spacing: .12em; font-weight: 500; color: var(--brand-primary); margin: 0 0 14px; }
.ok-intro h1 { color: var(--brand-primary); font-weight: 500; font-size: clamp(30px, 4.2vw, 54px); line-height: 1.12; letter-spacing: -.035em; margin: 0 0 22px; }
.ok-intro > p:last-child { font-size: 17px; line-height: 1.65; max-width: 580px; margin: auto; }
.ok-scenarios { display: flex; flex-direction: column; gap: 8px; }
.ok-stage { border: 1px solid var(--ok-line); border-radius: 14px; background: var(--brand-white); transition: border-color 280ms ease; }
.ok-stage.is-active { border-color: var(--brand-primary); }
.ok-scenarios a { flex: 1; min-width: 0; display: flex; align-items: center; gap: 10px; padding: 12px 0 12px 12px; border-radius: 13px 0 0 13px; text-decoration: none; transition: background-color 280ms ease, border-radius 280ms ease; }
.ok-stage-heading { display: flex; align-items: stretch; border-radius: 13px; transition: background-color 280ms ease; }
.ok-stage.is-active .ok-stage-heading { background: #eef7f2; }
.ok-stage:has(.is-expanded) .ok-stage-heading { border-radius: 13px 13px 0 0; }
.ok-guide .ok-stage-toggle { display: flex; align-items: center; justify-content: center; flex: 0 0 36px; min-height: 44px; padding: 0; border: 0; border-radius: 0 13px 13px 0; background: transparent; }
.ok-guide .ok-stage-toggle:hover { background: #08766512; }
.ok-stage-steps { display: grid; grid-template-rows: 0fr; opacity: 0; visibility: hidden; transition: grid-template-rows 420ms ease-in-out, opacity 360ms ease, visibility 0s 420ms; }
.ok-stage-steps.is-expanded { grid-template-rows: 1fr; opacity: 1; visibility: visible; transition-delay: 0s; }
.ok-stage-inner { min-height: 0; overflow: hidden; }
.ok-stage-steps[inert] { pointer-events: none; }
.ok-number { flex-shrink: 0; font-size: 12px; opacity: .7; font-variant-numeric: tabular-nums; }
.ok-scenarios strong { display: block; font-weight: 500; font-size: 15px; line-height: 1.35; }
.ok-scenarios small { display: block; font-size: 12px; line-height: 1.4; margin-top: 4px; color: #45685e; }
.ok-stage-chevron { flex-shrink: 0; width: 7px; height: 7px; border-right: 1.5px solid currentColor; border-bottom: 1.5px solid currentColor; transform: rotate(45deg); transition: transform 420ms ease-in-out; }
[aria-expanded="true"] .ok-stage-chevron { transform: rotate(225deg); }
.ok-workspace { display: grid; grid-template-columns: minmax(170px, 240px) minmax(0, 1fr); gap: 28px; scroll-margin-top: 110px; }
.ok-sidebar ol { padding: 4px 5px 6px; list-style: none; margin: 0; }
.ok-sidebar li { display: flex; align-items: stretch; margin: 3px 0; border-radius: 12px; }
.ok-sidebar li.is-current { background: #e5f2eb; }
.ok-sidebar li button { display: flex; align-items: center; gap: 12px; flex: 1; min-width: 0; min-height: 36px; padding: 7px 10px; text-align: left; border-color: transparent; background: transparent; font-size: 14px; line-height: 1.4; }
.ok-sidebar li button[aria-current] { background: transparent; color: var(--brand-primary); }
.ok-step-number { display: inline-flex; align-items: center; justify-content: center; flex-shrink: 0; width: 20px; height: 20px; border: 1px solid #08766530; border-radius: 50%; background: #edf5ef; color: var(--brand-primary); font-size: 11px; font-weight: 500; line-height: 1; font-variant-numeric: tabular-nums; }
/* Optical centering compensates for Exo 2's digit bearings and baseline. */
.ok-step-digit { display: block; transform: translate(.5px, -1px); }
.ok-sidebar li.is-current .ok-step-number { background: var(--brand-primary); border-color: var(--brand-primary); color: var(--brand-white); }
.ok-detail { min-width: 0; scroll-margin-top: 110px; }
.ok-slide-loader { position: fixed; top: 50vh; top: 50dvh; left: 50vw; width: 56px; height: 56px; margin: -28px 0 0 -28px; z-index: 100; pointer-events: none; background: var(--brand-accent); -webkit-mask: url("../loading-ring.f3c506474372c3c5.svg") center / contain no-repeat; mask: url("../loading-ring.f3c506474372c3c5.svg") center / contain no-repeat; animation: page-loading-spin 800ms linear infinite; }
#ok-progress { font-size: 13px; margin: 0 0 14px; color: #45685e; }
.ok-step { border: 1px solid var(--ok-line); border-radius: 24px; overflow: hidden; background: white; margin-bottom: 16px; }
.ok-art { background: #edf5ef; display: grid; place-items: center; }
.ok-step-image { display: block; width: 100%; height: auto; max-height: 440px; object-fit: contain; }
.ok-step-image:not([src]) { display: none; }
.ok-art > span { font-size: 10px; color: #45685e; justify-self: end; padding: 6px 16px 8px; }
.ok-copy { padding: 28px 32px; }
.ok-copy h2 { color: var(--brand-primary); font-size: 28px; font-weight: 500; line-height: 1.2; margin: 0 0 18px; }
.ok-copy p { line-height: 1.65; font-size: 16px; margin: 0 0 20px; }
.ok-copy .ok-warning { --ok-warning-ink: #92400e; --ok-warning-bg: #fff7ed; --ok-warning-border: #c46517; color: var(--ok-warning-ink); background: var(--ok-warning-bg); border-left: 4px solid var(--ok-warning-border); border-radius: 0 10px 10px 0; padding: 14px 18px; font-size: 15px; }
.ok-copy .ok-warning--critical { --ok-warning-ink: #a52a24; --ok-warning-bg: #fff2f0; --ok-warning-border: #c43b32; }
.ok-warning strong:not(.ok-key) { display: block; margin-bottom: 4px; }
.ok-source { display: block; font-size: 12px; margin: 16px 0; }
.ok-video-button { width: 100%; text-align: left; }
.ok-controls { display: flex; align-items: flex-start; justify-content: space-between; gap: 12px; }
.ok-next { display: flex; flex-direction: column; align-items: flex-end; gap: 8px; width: min(360px, 65%); min-width: 0; }
#ok-next-hint { margin: 0; color: #45685e; font-size: 13px; line-height: 1.5; text-align: right; overflow-wrap: anywhere; }
.ok-guide .ok-primary { background: var(--brand-primary); color: var(--brand-white); border-color: transparent; box-shadow: 0 8px 24px #08766520; transition: background-color 180ms ease, box-shadow 180ms ease; }
.ok-guide .ok-primary:not(:disabled):hover,
.ok-guide .ok-primary:not(:disabled):focus-visible,
.ok-guide .ok-primary:not(:disabled):active { background: var(--brand-accent); border-color: transparent; box-shadow: 0 8px 24px #08ab6540; }
.ok-guide .ok-primary:hover:not(:focus-visible) { outline: none; }
.ok-guide .ok-primary:disabled { background: var(--brand-primary); border-color: transparent; box-shadow: none; }
.ok-player { background: white; border: 1px solid var(--ok-line); padding: 20px; border-radius: 20px; margin: 20px 0; }
.ok-player-heading { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 16px; }
.ok-player iframe { width: 100%; aspect-ratio: 16/9; border: 0; display: block; margin-bottom: 16px; }
.ok-player p { font-size: 13px; line-height: 1.5; }
.ok-player a { font-size: 14px; }
.ok-footer { border-top: 1px solid var(--ok-line); margin-top: 48px; padding-top: 24px; font-size: 13px; line-height: 1.6; }
@media (max-width: 430px) {
 .ok-guide { width: calc(100% - 32px); margin-top: 24px; }
 .ok-intro { margin: 36px auto 28px; }
 .ok-intro > p:last-child { font-size: 15px; }
 .ok-workspace { grid-template-columns: 1fr; gap: 20px; }
 .ok-copy { padding: 24px 20px; }
 .ok-copy h2 { font-size: 25px; }
 .ok-controls button { padding: 12px; font-size: 14px; }
 .ok-player { padding: 14px; }
 .ok-player-heading { flex-wrap: wrap; }
}
.ok-sidebar { min-width: 0; }
.ok-related { display: flex; flex-wrap: wrap; gap: 10px 18px; margin: 22px 0; font-size: 14px; line-height: 1.5; }
.ok-note { margin: 18px 0; padding: 14px 18px; border: 1px solid var(--ok-line); border-radius: 12px; }
.ok-note summary { cursor: pointer; color: var(--brand-primary); line-height: 1.5; padding: 8px 0; }
.ok-note summary { min-height: 36px; }
.ok-note p { margin: 12px 0 0; font-size: 14px; }
.ok-copy .ok-bottom-note { margin: 20px 0 0; padding: 16px 18px; border: 1px solid var(--ok-line); border-radius: 12px; background: #f1f8f4; color: #45685e; font-size: 14px; line-height: 1.6; }
.ok-copy .ok-video-button + .ok-video-button { margin-top: 8px; }
.ok-step { scroll-margin-top: 110px; }
@media (max-width: 430px) {
 .ok-related { flex-direction: column; }
}

/* Keep the explicitly requested accordion feedback with reduced motion enabled. */
.ok-detail { position: relative; }
.ok-slide-fade { position: absolute; inset: 0; z-index: 2; background: var(--brand-white); border-radius: 24px; opacity: 0; pointer-events: none; }

.ok-supplement { margin: 26px 0; padding: 20px; border: 1px solid var(--ok-line); border-radius: 16px; background: #f1f8f4; }
.ok-supplement h3 { margin: 0 0 16px; color: var(--brand-primary); font-size: 21px; font-weight: 500; line-height: 1.35; }
.ok-supplement .ok-step-image { border-radius: 12px; margin-bottom: 18px; }
.ok-supplement > p:last-child { margin-bottom: 0; }

.ok-copy .ok-key { color: var(--ok-warning-ink, var(--brand-primary)); font-weight: 600; }
.ok-copy .ok-warning strong { color: inherit; }
