/* Read-only C++ snippets: familiar IDE-style line gutter and syntax colors. */
.code-block{
  margin:16px 0;
  overflow-x:auto;
  border:1px solid #dce3ec;
  border-radius:7px;
  background:#fff;
  box-shadow:inset 0 1px #f7f9fc;
  padding:9px 0;
  font:15px/1.72 Consolas,"Cascadia Code","Courier New",monospace;
}
.code-line{display:grid;grid-template-columns:3.4em max-content;min-width:max-content;white-space:pre}
.code-number{padding:0 13px 0 8px;color:#9da7b5;text-align:right;user-select:none;border-right:2px solid #e6ebf2;background:#fafbfd}
.code-line code{padding-left:16px;color:#273444;font:inherit}
.cpp-comment{color:#7d8794;font-style:italic}
.cpp-string,.cpp-char{color:#c43c35}
.cpp-preprocessor{color:#168867;font-weight:650}
.cpp-keyword{color:#8b2bb0;font-weight:700}
.cpp-type{color:#07845d;font-weight:650}
.cpp-library,.cpp-function{color:#1769d2;font-weight:650}
.cpp-number{color:#198754}
.cpp-operator{color:#d44848;font-weight:650}
@media(max-width:720px){.code-block{font-size:13px}.code-line{grid-template-columns:2.7em max-content}.code-line code{padding-left:10px}}
