/* ============================================================
   joynote.css — JoyNote 产品页特有样式
   通用样式见 common.css，与首页共用的区块样式见 index.css
   ============================================================ */

/* ============ 标题换行 ============ */
/* 全站未定义 .m-only；这里补齐为「仅窄屏生效的强制换行」，
   避免桌面端标题被硬断成两行。仅本页加载，不影响首页。 */
@media (min-width: 681px) {
  .m-only {
    display: none;
  }
}

/* ============ 总览流程链 ============ */
/* 副标题第二行「记下来 → 收进来 → 想清楚 → 做出来」整体不拆断，
   否则浏览器会在箭头前后折断成「记下 / 来」。窄屏放开，宁换行不溢出。 */
.flow-line {
  display: inline-block;
  white-space: nowrap;
}

@media (max-width: 420px) {
  .flow-line {
    white-space: normal;
  }
}

/* ============ 四列步骤（总览四能力） ============ */
/* .steps 本身是 3 列；总览增至四个能力时用 .steps-4 覆盖。
   780px 以下不写规则，自然回落 index.css 中 .steps 的单列。 */
@media (min-width: 961px) {
  .steps-4 {
    grid-template-columns: repeat(4, 1fr);
    max-width: 1080px;
  }
}

@media (max-width: 960px) and (min-width: 781px) {
  .steps-4 {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* ============ 下载区 ============ */
.dl-meta {
  margin-top: 26px;
  text-align: center;
  font-size: 13px;
  color: var(--body-c);
  line-height: 1.9;
}

.dl-meta .ver {
  display: block;
  font-family: var(--font-mono);
  font-size: 12.5px;
  color: var(--accent);
}

/* ============ 工具表 ============ */
/* 工具名沿用 .cmp-table 的表格皮肤，这里只补等宽与代码块质感 */
.cmp-table code {
  font-family: var(--font-mono);
  font-size: 13px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 4px;
  padding: 1px 6px;
  color: var(--ink);
  white-space: nowrap;
}

@media (max-width: 560px) {
  .cmp-table code {
    font-size: 12px;
  }
}
