/* Shared reading layout for recent activity and project notes. */
.note-main { width: min(880px, calc(100% - 64px)); margin-inline: auto; padding: 58px 0 72px; }
.note-nav-actions { display: flex; align-items: center; gap: 24px; }
.note-back { color: var(--muted); font-size: 13px; text-decoration: none; }
.note-back:hover { color: var(--primary); }
.note-heading { max-width: 740px; margin-bottom: 32px; }
.note-heading .section-kicker { color: var(--primary); margin-bottom: 18px; }
.note-page h1 { font-size: clamp(30px, 4vw, 44px); line-height: 1.4; letter-spacing: -.035em; font-weight: 600; margin-bottom: 20px; }
.note-meta { display: flex; flex-wrap: wrap; gap: 8px 18px; color: var(--muted); font-size: 12px; line-height: 1.8; }
.note-lead { margin-bottom: 0; font-size: 17px; line-height: 1.95; color: var(--muted); }
.note-figure { margin: 32px 0; }
.note-figure img { display: block; width: 100%; height: auto; border-radius: 12px; }
.note-figure figcaption { margin-top: 12px; color: var(--muted); font-size: 12px; line-height: 1.8; }
.note-prose { max-width: 740px; margin-inline: auto; }
.note-prose section { scroll-margin-top: 110px; margin-top: 40px; }
.note-page h2 { margin: 0 0 18px; font-size: 24px; font-weight: 600; letter-spacing: -.02em; line-height: 1.5; }
.note-prose p { color: var(--muted); font-size: 15px; line-height: 2; margin-bottom: 18px; }
.note-prose a { color: var(--primary); text-underline-offset: 4px; }
.note-points { margin: 22px 0; padding: 0; list-style: none; border-top: 1px solid var(--border); }
.note-points li { padding: 20px 0; border-bottom: 1px solid var(--border); }
.note-points h3 { font-size: 16px; font-weight: 600; margin-bottom: 8px; }
.note-points p { font-size: 14px; margin-bottom: 0; }
.note-gallery { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; margin-block: 32px; }
.note-gallery .note-figure { margin: 0; }
.note-callout { margin-top: 34px; padding: 24px 28px; background: var(--soft); border: 1px solid var(--border); border-radius: 12px; }
.note-callout h2 { font-size: 19px; margin-bottom: 12px; }
.note-callout p { font-size: 14px; }
.note-callout p:last-child { margin-bottom: 0; }
.note-flow { list-style: none; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; padding: 26px; margin: 32px 0; background: var(--soft); border: 1px solid var(--border); border-radius: 14px; }
.note-flow li { display: flex; flex-direction: column; gap: 12px; padding: 20px 16px; background: var(--card); border: 1px solid var(--border); border-radius: 8px; }
.note-flow span { color: var(--primary); font-size: 12px; }
.note-flow strong { font-size: 16px; font-weight: 550; }
.note-flow small { color: var(--muted); font-size: 12px; line-height: 1.8; }
.note-end { display: flex; flex-wrap: wrap; gap: 16px 26px; padding-top: 26px; margin-top: 42px; border-top: 1px solid var(--border); }
.note-page .site-footer { border-top: 1px solid var(--border); }
@media (max-width: 768px) {
  .note-main { width: calc(100% - 40px); padding-top: 38px; }
  .note-flow { grid-template-columns: repeat(2, minmax(0, 1fr)); padding: 20px; }
}
@media (max-width: 640px) {
  .note-nav-actions { gap: 14px; }
  .note-back { font-size: 12px; }
  .note-lead { font-size: 15px; }
  .note-prose p { font-size: 14px; }
  .note-page h2 { font-size: 21px; }
  .note-gallery { grid-template-columns: 1fr; gap: 24px; }
  .note-flow { gap: 10px; padding: 14px; }
  .note-flow li { padding: 16px 13px; gap: 9px; }
  .note-flow strong { font-size: 15px; }
  .note-callout { padding: 22px; }
}
