/* 逐步操作正文：缩短页头，让用户打开页面就能看到第一步。 */
.tutorial-page { max-width:1160px; }
.tutorial-heading { max-width:820px; padding:8px 0 32px; }
.tutorial-heading .eyebrow { margin:0 0 12px; letter-spacing:0; }
.tutorial-heading h1 { font-size:clamp(28px,3.2vw,38px); font-weight:500; line-height:1.4; margin:0 0 16px; }
.tutorial-heading > p:last-child { font-size:16px; line-height:1.9; margin:0; max-width:720px; color:var(--muted); }
.tutorial-layout { display:grid; grid-template-columns:180px minmax(0,1fr); gap:56px; border-top:1px solid var(--border); padding-top:34px; align-items:start; }
.tutorial-sidebar { position:sticky; top:110px; }
.tutorial-sidebar summary { cursor:pointer; font-size:13px; padding:0 0 14px; color:var(--muted); }
.tutorial-sidebar nav { display:grid; gap:4px; }
.tutorial-sidebar a { display:flex; align-items:baseline; gap:12px; padding:9px 0; font-size:13px; color:var(--muted); }
.tutorial-sidebar a span { font-size:11px; color:var(--muted-2); }
.tutorial-sidebar a:hover { color:var(--blue); }
.tutorial-article { min-width:0; max-width:800px; }
.tutorial-step { scroll-margin-top:120px; border-bottom:1px solid var(--border); padding-bottom:32px; margin-bottom:32px; }
.tutorial-step-heading { display:flex; align-items:center; gap:12px; margin-bottom:16px; }
.tutorial-step-heading > span { display:grid; place-items:center; width:28px; height:28px; flex-shrink:0; border-radius:50%; background:#eaf0ff; color:var(--blue); font-size:14px; }
.tutorial-step-heading h2,.tutorial-questions h2 { font-size:22px; font-weight:500; line-height:1.5; margin:0; }
.tutorial-step p,.tutorial-questions p { font-size:16px; line-height:1.9; margin:12px 0; }
.tutorial-page a:not(.button) { text-underline-offset:3px; }
.tutorial-article a:not(.button) { color:var(--blue); text-decoration:underline; }
.tutorial-step strong { font-weight:600; }
.tutorial-step .tutorial-tip,.tutorial-questions .tutorial-tip { color:var(--muted); font-size:13px; line-height:1.8; }
.tutorial-step > .button { margin-top:8px; }
.tutorial-step code { font-size:.95em; overflow-wrap:anywhere; }
.tutorial-shot { margin:22px 0; }
.tutorial-shot-link { display:block; position:relative; overflow:hidden; border:1px solid var(--border); border-radius:6px; background:#fff; cursor:zoom-in; }
.tutorial-shot img { display:block; width:100%; height:auto; }
.tutorial-pin { position:absolute; display:grid; place-items:center; transform:translate(-50%,-50%); width:23px; height:23px; background:var(--blue); color:#fff; border:2px solid #fff; border-radius:50%; font-size:12px; font-weight:600; line-height:1; pointer-events:none; box-shadow:0 1px 4px #0003; }
.tutorial-shot-zoom { position:absolute; right:10px; bottom:10px; padding:4px 8px; background:#fff; border:1px solid var(--border); border-radius:4px; font-size:11px; color:var(--muted); }
.tutorial-shot figcaption { margin-top:10px; color:var(--muted); font-size:13px; line-height:1.9; }
.tutorial-prompt { display:flex; align-items:flex-start; gap:16px; padding:16px 18px; margin:18px 0 12px; border:1px solid var(--border); border-radius:6px; background:var(--surface); }
.tutorial-prompt p { flex:1; min-width:0; margin:0; font-size:15px; line-height:1.8; overflow-wrap:anywhere; }
.tutorial-prompt .button { min-height:30px; padding:3px 10px; font-size:12px; flex-shrink:0; }
.tutorial-help { padding:16px 0; border-bottom:1px solid var(--hairline); }
.tutorial-help summary { cursor:pointer; font-size:14px; line-height:1.7; }
.tutorial-help p { color:var(--muted); font-size:14px; }
.tutorial-step .tutorial-help { padding-bottom:0; border:0; }
.tutorial-questions h2 { margin-bottom:8px; }
.tutorial-page :is(a,button,summary):focus-visible { outline:2px solid var(--blue); outline-offset:4px; }
@media (max-width:820px) {
  .tutorial-layout { grid-template-columns:minmax(0,1fr); gap:28px; padding-top:24px; }
  .tutorial-sidebar { position:static; }
  .tutorial-sidebar nav { grid-template-columns:repeat(2,minmax(0,1fr)); gap:0 20px; }
  .tutorial-sidebar summary { padding-bottom:8px; }
  .tutorial-step { scroll-margin-top:150px; }
}
@media (max-width:600px) {
  .tutorial-heading { padding:0 0 24px; }
  .tutorial-heading > p:last-child { font-size:15px; }
  .tutorial-step-heading h2,.tutorial-questions h2 { font-size:20px; }
  .tutorial-step p { font-size:15px; }
  .tutorial-prompt { gap:10px; padding:14px; }
  .tutorial-pin { width:17px; height:17px; border-width:1px; font-size:10px; }
  .tutorial-shot-zoom { right:5px; bottom:5px; font-size:10px; padding:2px 5px; }
  .tutorial-step { padding-bottom:26px; margin-bottom:26px; }
}
