/* 思路 / 笔记页 —— 长文排版（复用全站主题变量） */
.note { max-width: 780px; }
.note-back { margin-bottom: 22px; font-size: 14.5px; }
.note-back a { color: var(--text-3); }
.note-back a:hover { color: var(--brand); }
.note .section-head { max-width: none; margin-bottom: 22px; }
.note .section-head h2 { font-size: clamp(25px, 3.4vw, 35px); line-height: 1.32; margin: 12px 0 14px; }
.note .section-head p { font-size: 16px; }
.note-meta { margin-top: 14px; font-family: var(--font-mono); font-size: 12.5px; color: var(--text-4); }

.note-toc { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 30px; }
.note-toc a { font-size: 13px; color: var(--text-3); border: 1px solid var(--border-subtle); border-radius: var(--radius-pill); padding: 4px 12px; }
.note-toc a:hover { border-color: var(--brand); color: var(--brand); }

.note-callout { border: 1px solid var(--border-subtle); border-left: 3px solid var(--brand); border-radius: var(--radius-panel); background: var(--surface-1); padding: 16px 18px; margin-bottom: 34px; }
.note-callout p { font-size: 14.5px; line-height: 1.8; color: var(--text-3); margin: 0 0 8px; }
.note-callout p:last-child { margin-bottom: 0; }

.note-sec { margin-bottom: 42px; }
.note-sec > h3 { font-size: 21px; margin-bottom: 14px; }
.note-sec h4 { font-family: var(--font-display); font-size: 15.5px; font-weight: 600; color: var(--text-2); margin: 24px 0 10px; }
.note-sec p { font-size: 15.5px; line-height: 1.85; color: var(--text-2); margin: 0 0 14px; }
.note-sec ul, .note-sec ol { margin: 0 0 16px; padding-left: 22px; font-size: 15.5px; line-height: 1.85; color: var(--text-2); }
.note-sec ul { list-style: disc; }
.note-sec ol { list-style: decimal; }
.note-sec li { margin-bottom: 8px; }
.note-sec li::marker { color: var(--text-4); }
.note-sec strong { color: var(--text); font-weight: 600; }
.note-sec code { font-family: var(--font-mono); font-size: 13.5px; background: var(--surface-3); border-radius: 6px; padding: 2px 6px; }
.note-sec blockquote { margin: 0 0 18px; padding: 16px 20px; border-left: 3px solid var(--brand); background: var(--surface-1); border-radius: 0 var(--radius-input) var(--radius-input) 0; }
.note-sec blockquote p { margin: 0 0 8px; font-size: 15px; color: var(--text-3); }
.note-sec blockquote p:last-child { margin-bottom: 0; }

.note table { width: 100%; border-collapse: collapse; margin: 0 0 18px; font-size: 14.5px; }
.note th, .note td { text-align: left; padding: 11px 13px; border-bottom: 1px solid var(--border-subtle); vertical-align: top; }
.note th { font-weight: 600; color: var(--text-2); background: var(--surface-3); }
.note td { color: var(--text-3); }
.note td.no { color: #c2410c; font-weight: 600; white-space: nowrap; }

.note-foot { margin-top: 8px; padding-top: 22px; border-top: 1px solid var(--border-subtle); font-size: 14px; color: var(--text-4); }
@media (max-width: 640px) {
  .note table { font-size: 13.5px; }
  .note th, .note td { padding: 8px 9px; }
  .note-sec > h3 { font-size: 19px; }
}
