@layer views {
  /* ── notes (class page section) ── */
  .notes-body { display: grid; gap: 14px; }
  .notes-filter .chip[aria-pressed="true"] { background: var(--surface-2); color: var(--fg); border-color: var(--line-2); }
  .notes-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 14px; }
  .note-card { display: grid; gap: 8px; align-content: start; padding: 16px 18px; border: 1px solid var(--line); border-radius: var(--r-card); background: var(--surface); }
  .note-head { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
  .note-head-meta { display: flex; align-items: center; gap: 8px; min-width: 0; }
  .note-topic { font-size: 12.5px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
  .note-title { font-size: 15px; font-weight: 700; letter-spacing: -0.01em; color: var(--fg); }
  .note-body { font-size: 14px; color: var(--fg-2); }

  /* ── notebook (/notes, all classes) ── */
  .notebook-head { margin-top: 18px; }
  .notebook-filter { max-width: 360px; }
  .notebook-groups { display: grid; gap: 28px; margin-top: 24px; }
  .notebook-group { display: grid; gap: 12px; }
  .notebook-group-title { font-size: var(--fs-lg); font-weight: 800; letter-spacing: -0.03em; color: var(--fg); text-decoration: none; }
  .notebook-group-title:hover { text-decoration: underline; }
}
