/* ==========================================================================
   NOTES — list and markdown-rendered detail. Extends the quiet theme
   (quiet.css); no new tokens.
   ========================================================================== */

.page-notes main {
  padding: 64px 24px 96px;
}

.page-notes .page-title {
  font-size: 34px;
  font-weight: 500;
  letter-spacing: -0.02em;
  color: var(--ink);
  margin: 0 0 10px;
}

.page-notes .page-intro {
  font-size: 17px;
  color: var(--ink-muted);
  margin: 0 0 48px;
}

/* --- List --- */
.page-notes .n-entry + .n-entry {
  border-top: 1px solid var(--rule);
  margin-top: 22px;
  padding-top: 22px;
}

.page-notes .n-meta {
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 500;
  color: var(--ink-muted);
  margin: 0 0 6px;
}

.page-notes .n-entry h2 {
  font-size: 20px;
  font-weight: 500;
  margin: 0;
}

.page-notes .n-title {
  color: var(--ink);
  text-decoration: none;
}

.page-notes .n-title:hover {
  color: var(--accent);
}

/* --- Detail --- */
.page-notes .note-title {
  font-size: 34px;
  font-weight: 600;
  letter-spacing: -0.02em;
  color: var(--ink);
  margin: 0 0 28px;
}

/* Markdown prose */
.note-body {
  font-size: 16px;
  line-height: 1.7;
}

.note-body p {
  margin: 0 0 14px;
}

.note-body h1,
.note-body h2 {
  font-size: 20px;
  font-weight: 500;
  color: var(--ink);
  margin: 32px 0 12px;
}

.note-body h3,
.note-body h4 {
  font-size: 17px;
  font-weight: 500;
  color: var(--ink);
  margin: 24px 0 8px;
}

.note-body ul,
.note-body ol {
  margin: 0 0 14px;
  padding-left: 22px;
}

.note-body li {
  margin-bottom: 6px;
}

.note-body a {
  color: var(--accent);
  text-underline-offset: 3px;
}

.note-body code {
  font-family: var(--font-mono);
  font-size: 13.5px;
  background-color: rgba(0, 0, 0, 0.045);
  border-radius: 4px;
  padding: 1px 5px;
}

.note-body pre {
  background-color: rgba(0, 0, 0, 0.035);
  border: 1px solid var(--rule);
  border-radius: 6px;
  padding: 14px 16px;
  overflow-x: auto;
  margin: 0 0 16px;
}

.note-body pre code {
  background: none;
  padding: 0;
  font-size: 13px;
  line-height: 1.6;
}

.note-body blockquote {
  border-left: 2px solid var(--rule);
  margin: 0 0 14px;
  padding: 2px 0 2px 16px;
  color: var(--ink-muted);
}

.note-body hr {
  border: 0;
  border-top: 1px solid var(--rule);
  margin: 28px 0;
}

.note-body img {
  max-width: 100%;
  height: auto;
  border: 1px solid var(--rule);
  border-radius: 8px;
}

.note-body table {
  border-collapse: collapse;
  margin: 0 0 16px;
  font-size: 15px;
  display: block;
  overflow-x: auto;
}

.note-body th,
.note-body td {
  border: 1px solid var(--rule);
  padding: 6px 12px;
  text-align: left;
}

.note-body th {
  font-weight: 500;
}

.page-notes .back-link {
  display: inline-block;
  margin-top: 56px;
}

@media (max-width: 480px) {
  .page-notes .page-title,
  .page-notes .note-title {
    font-size: 27px;
  }
}
