/* Shared note/briefing typography. Keep this aligned with the file-view note renderer. */
.note-content {
  width: min(820px, 100%);
  margin: 0 auto;
  color: var(--ink);
  font-size: 14.5px;
  line-height: 1.65;
  overflow-wrap: anywhere;
}
.note-content > :first-child { margin-top: 0; }
.note-content > :last-child { margin-bottom: 0; }
.note-content h1,
.note-content h2,
.note-content h3,
.note-content h4 {
  margin: 22px 0 9px;
  color: var(--ink);
  letter-spacing: -.02em;
  line-height: 1.2;
}
.note-content h1 { font-size: 28px; }
.note-content h2 { font-size: 21px; }
.note-content h3 { font-size: 17px; }
.note-content h4 { font-size: 15px; }
.note-content p { margin: 0 0 11px; }
.note-content ul,
.note-content ol { margin: 9px 0; padding-left: 23px; }
.note-content li + li { margin-top: 4px; }
.note-content blockquote {
  margin: 12px 0;
  padding: 1px 0 1px 14px;
  border-left: 3px solid var(--accent);
  color: var(--muted);
}
.note-content pre {
  padding: 14px;
  overflow: auto;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: var(--code-bg);
}
.note-content code {
  color: var(--accent-strong);
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
}
.note-content a {
  color: var(--accent-strong);
  text-decoration-thickness: 1px;
  text-underline-offset: 2px;
}
.note-content table {
  width: 100%;
  margin: 14px 0;
  border-collapse: collapse;
}
.note-content th,
.note-content td {
  padding: 8px 10px;
  border: 1px solid var(--line);
  text-align: left;
}
.note-content th { background: var(--surface); }
.note-content .document-metadata {
  width: 100%;
  margin: 0 0 20px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 11px;
  background: var(--glass-strong, var(--panel));
}
.note-content .document-metadata > summary {
  padding: 9px 12px;
  color: var(--muted);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .05em;
  text-transform: uppercase;
  cursor: pointer;
  user-select: none;
}
.note-content .document-metadata pre {
  max-height: 42vh;
  margin: 0;
  padding: 12px 14px;
  border: 0;
  background: var(--code-bg);
  color: var(--muted);
  font: 11px/1.55 ui-monospace, SFMono-Regular, Menlo, monospace;
  white-space: pre-wrap;
}
