.guide-page { max-width: 1240px; margin: 6px auto 0; }
.guide-heading { display: flex; align-items: center; justify-content: space-between; gap: 24px; padding: 12px 0 26px; }
.guide-heading h1 { font-size: clamp(25px, 2.8vw, 34px); letter-spacing: -.04em; margin: 7px 0 9px; }
.guide-heading p { margin: 0; color: var(--muted); font-size: 13px; line-height: 1.8; max-width: 680px; }
.guide-book { color: #1287bd; display: grid; place-items: center; background: #e1f3fe; border: 1px solid #cae8f8; width: 72px; height: 72px; border-radius: 20px; flex-shrink: 0; }
.guide-book svg { width: 32px; height: 32px; }
.guide-layout { display: grid; grid-template-columns: 270px minmax(0, 1fr); gap: 22px; align-items: start; }
.guide-outline { background: #fff; border: 1px solid var(--line); border-radius: 12px; overflow: hidden; }
.guide-progress { padding: 20px 20px 16px; border-bottom: 1px solid var(--line); }
.guide-progress > div { display: flex; justify-content: space-between; gap: 12px; align-items: baseline; font-size: 12px; }
.guide-progress > div span { color: var(--blue-dark); font-variant-numeric: tabular-nums; white-space: nowrap; }
.guide-progress progress { appearance: none; display: block; width: 100%; height: 5px; border: 0; border-radius: 4px; overflow: hidden; background: #eaf0f5; margin-top: 13px; }
.guide-progress progress::-webkit-progress-bar { background: #eaf0f5; }
.guide-progress progress::-webkit-progress-value { background: #149bd3; border-radius: 4px; }
.guide-progress progress::-moz-progress-bar { background: #149bd3; border-radius: 4px; }
.guide-progress p, .guide-outline-footer p { font-size: 10px; line-height: 1.7; color: var(--muted); margin: 8px 0 0; }
.guide-outline ol { list-style: none; margin: 0; padding: 10px; display: flex; flex-direction: column; gap: 3px; }
.guide-outline li button { display: flex; align-items: center; gap: 10px; text-align: left; background: transparent; border: 1px solid transparent; border-radius: 7px; width: 100%; padding: 10px; font-size: 12px; }
.guide-outline li button:hover { background: #f3f8fc; }
.guide-outline li button[aria-current="step"] { background: #e8f5ff; color: #116d9a; border-color: #d4eafa; font-weight: 600; }
.guide-step-number { width: 24px; height: 24px; border-radius: 7px; background: #f1f4f7; display: grid; place-items: center; font-size: 10px; color: #738799; flex-shrink: 0; font-variant-numeric: tabular-nums; }
.guide-step-number.is-read { color: #307452; background: #e8f3ec; }
[aria-current="step"] .guide-step-number { background: #198fc5; color: #fff; }
.guide-outline-footer { padding: 16px 20px; border-top: 1px solid var(--line); }
.guide-lesson { min-width: 0; padding: clamp(22px, 3vw, 38px); border: 1px solid var(--line); border-radius: 12px; background: #fff; }
.guide-lesson-top { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-bottom: 20px; }
.guide-role { background: #f0f6fa; color: #406981; padding: 5px 9px; border-radius: 5px; font-size: 10px; }
.guide-lesson h2 { max-width: 600px; font-size: clamp(23px, 2.3vw, 29px); letter-spacing: -.035em; line-height: 1.25; margin: 0 0 13px; }
.guide-intro { color: var(--muted); font-size: 13px; line-height: 1.85; margin: 0 0 22px; }
.guide-route { display: flex; flex-wrap: wrap; gap: 8px 14px; align-items: center; border-block: 1px solid var(--line); padding: 12px 0; }
.guide-route > span { font-size: 9px; letter-spacing: .12em; color: var(--muted); }
.guide-route > b { font-size: 11px; font-weight: 500; }
.guide-route > b span { padding: 0 5px; color: #98aebd; }
.guide-route .btn { margin-left: auto; }
.guide-instructions { padding: 0; margin: 28px 0; list-style: none; display: flex; flex-direction: column; gap: 23px; }
.guide-instructions li { display: flex; align-items: flex-start; gap: 14px; }
.guide-instructions li > span { margin-top: 1px; display: grid; place-items: center; width: 25px; height: 25px; flex-shrink: 0; border: 1px solid #d5e6f0; border-radius: 50%; color: #2181ab; font-size: 11px; }
.guide-instructions h3 { font-size: 14px; margin: 0 0 5px; }
.guide-instructions p { margin: 0; font-size: 12px; line-height: 1.85; color: #5d7488; }
.guide-flow { display: flex; align-items: center; gap: 10px; justify-content: center; padding: 18px 12px; background: #f5f9fc; border-radius: 8px; font-size: 11px; color: #305b74; text-align: center; }
.guide-flow-arrow { color: #83a7bd; }
.guide-tip { display: flex; align-items: flex-start; gap: 11px; margin-top: 20px; }
.guide-tip > span { width: 18px; height: 18px; border: 1px solid #8ea9b8; border-radius: 50%; display: grid; place-items: center; flex-shrink: 0; color: #64869d; font-size: 10px; margin-top: 2px; }
.guide-tip p { font-size: 11px; line-height: 1.8; margin: 0; color: var(--muted); }
.guide-controls { display: flex; align-items: center; gap: 12px; justify-content: space-between; padding-top: 24px; margin-top: 24px; border-top: 1px solid var(--line); }
.guide-controls > span { font-size: 10px; color: var(--muted); text-align: center; }
.guide-controls .btn { flex-shrink: 0; }
.guide-complete { margin-top: 20px; border-left: 3px solid #459875; padding: 12px 16px; background: #f2f9f5; font-size: 12px; }
.guide-complete p { margin: 4px 0 0; color: #547466; line-height: 1.7; }
.guide-footnote { color: var(--muted); font-size: 10px; line-height: 1.8; margin: 18px 0; }
.guide-welcome { display: flex; align-items: center; gap: 14px; padding: 14px 18px; margin: 0 0 22px; background: #fff; border: 1px solid #d4e8f6; border-left: 3px solid #279ed4; border-radius: 9px; }
.guide-welcome > div { flex: 1; }
.guide-welcome b { font-size: 12px; }
.guide-welcome p { margin: 3px 0 0; color: var(--muted); font-size: 11px; }
.guide-welcome-icon { width: 26px; height: 26px; color: #1988ba; flex-shrink: 0; }
.guide-welcome-icon svg { width: 100%; height: 100%; }
.guide-dismiss { border: 0; background: transparent; color: var(--muted); padding: 6px; font-size: 22px; line-height: 1; }
.guide-sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; border: 0; }
.guide-page button:focus-visible, .guide-welcome button:focus-visible { outline: 2px solid #008ccc; outline-offset: -2px; }
@media (max-width: 1100px) {
  .guide-layout { grid-template-columns: 230px minmax(0, 1fr); gap: 14px; }
  .guide-lesson { padding: 22px; }
  .guide-controls { flex-wrap: wrap; }
  .guide-controls > span { flex-basis: 100%; order: 2; }
}
@media (max-width: 800px) {
  .guide-layout { grid-template-columns: 1fr; }
  .guide-outline ol { flex-direction: row; overflow-x: auto; overscroll-behavior: contain; }
  .guide-outline li { flex-shrink: 0; }
  .guide-outline-footer { display: flex; align-items: center; gap: 14px; padding: 10px 18px; }
  .guide-outline-footer p { margin: 0; }
  .guide-progress { padding: 14px 18px; }
  .guide-heading { gap: 12px; }
  .guide-book { width: 48px; height: 48px; border-radius: 12px; }
  .guide-book svg { width: 25px; height: 25px; }
  .guide-welcome { flex-wrap: wrap; }
  .guide-welcome > div { flex-basis: calc(100% - 50px); }
  .guide-welcome .btn { margin-left: 40px; }
  .guide-welcome .guide-dismiss { margin-left: auto; }
}
@media (max-width: 430px) {
  .guide-lesson { padding: 18px; }
  .guide-route .btn { margin-left: 0; }
  .guide-controls .btn { font-size: 11px; padding: 9px; }
  .guide-flow { gap: 8px; flex-direction: column; }
  .guide-flow-arrow { transform: rotate(90deg); }
}
