.doc-code {
  margin: 18px 0;
  padding: 16px 18px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--paper-deep);
  overflow-x: auto;
  font-family: var(--mono);
  font-size: 0.78rem;
  line-height: 1.65;
  color: var(--ink-soft);
}

.doc-code code {
  padding: 0;
  border-radius: 0;
  background: none;
  font-size: 1em;
  color: inherit;
  white-space: pre;
}

.doc-note {
  margin: 22px 0;
  padding: 14px 18px;
  border-left: 2px solid var(--signal);
  border-radius: 0 10px 10px 0;
  background: var(--signal-wash);
  background: color-mix(in srgb, var(--signal) 7%, transparent);
}

.doc-note p {
  margin: 0;
  font-size: 0.9rem;
  line-height: 1.6;
  color: var(--muted);
}

@media (max-width: 760px) {
  .doc-code {
    font-size: 0.72rem;
  }
}
