/* ==========================================================================
   ZaraVPN — tutorial.css
   教程页专属：步骤编号头 / 平台导入卡 / 序号列表 / 页头按钮与事实行对齐
   所有颜色、圆角、投影一律引用 base.css 的 :root 令牌。
   ========================================================================== */

/* ---------- 页头：左对齐的按钮行与等宽事实行 ---------- */
.tut-hero .cta-row{justify-content:flex-start;margin-top:20px}
.tut-hero .meta-row{margin-top:18px}

/* ---------- 正文主列（toc 的直接父级，必须覆盖全部章节） ---------- */
.tut-body{max-width:940px;margin-inline:auto;min-width:0}

/* ---------- 步骤块 ---------- */
.tut-step{
  padding-block:34px;
  border-bottom:1px dashed var(--line);
  min-width:0;
}
.tut-step:last-of-type{border-bottom:0;padding-bottom:12px}

.tut-head{
  display:flex;align-items:center;gap:14px;
  margin-bottom:16px;min-width:0;
}
.tut-num{
  flex:0 0 auto;
  display:grid;place-items:center;
  width:40px;height:40px;
  border-radius:var(--r-md);
  background:var(--panel);
  border:1px solid var(--line);
  box-shadow:var(--sh-panel);
  font-family:var(--font-mono);
  font-size:13px;font-weight:600;letter-spacing:.06em;
  color:var(--indigo);
}
.tut-head h2{margin:0;font-size:clamp(22px,2.6vw,30px);line-height:1.2}

/* ---------- 步骤正文排版 ---------- */
.tut-step p{margin:0 0 1em;font-size:15.5px;line-height:1.8;color:var(--ink)}
.tut-step p:last-child{margin-bottom:0}
.tut-step strong{font-weight:600;color:var(--ink)}
.tut-step a{color:var(--indigo);text-decoration:underline;text-underline-offset:2px}
.tut-step ul,
.tut-step ol:not(.tut-ol){
  margin:0 0 1.1em;padding-left:1.4em;
  font-size:15.5px;line-height:1.8;color:var(--ink);
}
.tut-step li{margin:.3em 0}
.tut-step pre{margin:0 0 1.1em}
.tut-step .table-scroll{margin:0 0 1.1em}
.tut-step .callout{margin:16px 0 0}

/* ---------- 平台导入卡 ---------- */
.tut-plat{
  margin:16px 0 0;
  padding:20px 22px;
  background:var(--panel);
  border:1px solid var(--line);
  border-radius:var(--r-md);
  box-shadow:var(--sh-panel);
  min-width:0;
}
.tut-plat-head{display:flex;align-items:center;gap:10px;margin-bottom:12px;min-width:0}
.tut-plat-head svg{color:var(--indigo);flex:0 0 auto}
.tut-plat-head h3{margin:0;font-size:17px;letter-spacing:-.01em}

/* ---------- 平台卡内的序号列表（只放数字） ---------- */
.tut-ol{
  list-style:none;margin:0;padding:0;
  counter-reset:tut;
  display:flex;flex-direction:column;gap:10px;
}
.tut-ol > li{
  position:relative;counter-increment:tut;
  margin:0;padding-left:34px;
  font-size:15px;line-height:1.75;color:var(--ink);
  min-width:0;
}
.tut-ol > li::before{
  content:counter(tut);
  position:absolute;left:0;top:2px;
  display:grid;place-items:center;
  width:22px;height:22px;border-radius:50%;
  background:var(--indigo-08);color:var(--indigo);
  font-family:var(--font-mono);font-size:11.5px;font-weight:600;
}

/* ---------- 辅助元素 ---------- */
.tut-note{
  margin:14px 0 0;
  font-size:13.5px;line-height:1.7;color:var(--ink-2);
}
.tut-actions{display:flex;flex-wrap:wrap;gap:10px;margin-top:16px}
.tut-actions .btn{flex-shrink:0;white-space:nowrap}
.tut-links{display:flex;flex-wrap:wrap;gap:8px;margin-top:14px}

/* ---------- 自适应 ---------- */
@media (max-width:768px){
  .tut-hero .cta-row{margin-top:16px}
  .tut-step{padding-block:28px}
  .tut-head{gap:10px;margin-bottom:12px}
  .tut-num{width:34px;height:34px;font-size:12px}
  .tut-plat{padding:16px 16px}
  .tut-ol > li{padding-left:30px}
}
@media (max-width:640px){
  .tut-hero .cta-row{justify-content:flex-start}
  .tut-step p,
  .tut-step ul,
  .tut-step ol:not(.tut-ol){font-size:15px;line-height:1.75}
  .tut-ol > li{font-size:14.5px}
}