@charset "UTF-8";
/*!
*
* Documentation pages of the new DataReel layout: the C/C++ API documentation (clib/), the product
* guides (drcm/, drlb/, drsm/, fcrypt/) and the Encrypted Password Database help pages.
* Content styles of the DataReel documentation set (cpp/3plibs/datareel/docs/css/datareel.css in the
* open_stock repository), scoped to .dr2-doc and using the colors of css/dr2_all_pages.css.
* Pages made by tools/dr2_site/convert_pages.py link this file with $CALLER_HAS_CSS_LINK.
*
*/

:root, [data-bs-theme="light"] {
  --dr2-code-bg: #0e1726;
  --dr2-code-text: #e4ebf5;
  --dr2-code-comment: #8fd0a6;
  --dr2-code-border: #1d2a3f;
  --dr2-sig: #0b4f94;
}
[data-bs-theme="dark"] {
  --dr2-code-bg: #070d18;
  --dr2-code-text: #dfe7f2;
  --dr2-code-comment: #8fc9a3;
  --dr2-code-border: #22324b;
  --dr2-sig: #9cc4ff;
}

.dr2-doc {
  max-width: 980px; padding: 28px 34px 34px; overflow-wrap: break-word;
  background: var(--dr2-surface); border: 1px solid var(--dr2-border); border-radius: var(--dr2-radius); box-shadow: var(--dr2-shadow);
}
/* Legacy presentational markup: let the stylesheet decide */
.dr2-doc font { font-family: inherit; font-size: inherit; color: inherit; }
.dr2-doc center { text-align: inherit; }
.dr2-doc [bgcolor] { background: transparent; }
.dr2-doc a[name]:not([href]) { color: inherit; }
.dr2-doc img { max-width: 100%; height: auto; }

.dr2-doc h1 { margin: 0 0 18px; font-size: clamp(24px, 3.2vw, 30px); line-height: 1.2; text-align: left; }
.dr2-doc h2 { margin: 34px 0 12px; padding-top: 18px; font-size: 21px; line-height: 1.3; border-top: 1px solid var(--dr2-border); }
.dr2-doc h1 + h2, .dr2-doc .dr2-doc-toc + h2, .dr2-doc .dr-toc + h2, .dr2-doc > h2:first-child { border-top: 0; padding-top: 0; }
.dr2-doc > :first-child { margin-top: 0; }
.dr2-doc h3 { margin: 24px 0 8px; font-size: 17px; }
.dr2-doc p { margin: 10px 0; }
.dr2-doc ul, .dr2-doc ol { padding-left: 24px; }
.dr2-doc li { margin: 4px 0; }
.dr2-doc hr { border: 0; border-top: 1px solid var(--dr2-border); margin: 22px 0; }
.dr2-doc b, .dr2-doc strong { font-weight: 650; }
.dr2-doc .dr-lead { font-size: 17px; color: var(--dr2-text-2); }

/* Contents box at the top of reference pages */
.dr2-doc .dr-toc {
  display: block; margin: 0 0 26px; padding: 14px 18px; columns: 2 220px; column-gap: 24px; font-size: 14.5px;
  background: var(--dr2-surface-2); border: 1px solid var(--dr2-border); border-radius: var(--dr2-radius-sm);
}
.dr2-doc .dr-toc-title { margin: 0 0 8px; font-size: 12px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--dr2-muted); }

/* Function and member lists */
.dr2-doc .dr-fnlist {
  display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: 2px 18px; margin: 8px 0 22px; padding: 12px 16px;
  background: var(--dr2-surface-2); border: 1px solid var(--dr2-border); border-radius: var(--dr2-radius-sm);
  font: 13.5px/1.7 ui-monospace, SFMono-Regular, Menlo, Consolas, "Liberation Mono", monospace;
}
.dr2-doc .dr-fnlist br { display: none; }
.dr2-doc .dr-fnlist a { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.dr2-doc .dr-fn {
  margin: 14px 0; padding: 14px 18px; background: var(--dr2-surface);
  border: 1px solid var(--dr2-border); border-left: 4px solid var(--dr2-blue); border-radius: var(--dr2-radius-sm);
}
.dr2-doc .dr-fn:target { box-shadow: 0 0 0 3px var(--dr2-accent-soft); }
.dr2-doc .dr-sig {
  display: block; margin: 0 0 6px; padding: 0; background: none; border-radius: 0; overflow-wrap: anywhere;
  font: 600 14px/1.5 ui-monospace, SFMono-Regular, Menlo, Consolas, "Liberation Mono", monospace; color: var(--dr2-sig);
}
.dr2-doc .dr-sig a { color: inherit; }
.dr2-doc .dr-fn > .dr-desc { margin: 0; }

/* Code */
.dr2-doc pre, .dr2-doc .dr-code {
  margin: 14px 0; padding: 16px 18px; overflow-x: auto; white-space: pre; tab-size: 4;
  background: var(--dr2-code-bg); color: var(--dr2-code-text); border: 1px solid var(--dr2-code-border); border-radius: var(--dr2-radius-sm);
  font: 13px/1.55 ui-monospace, SFMono-Regular, Menlo, Consolas, "Liberation Mono", monospace;
}
.dr2-doc pre b { color: #ffffff; font-weight: 650; }
.dr2-doc .dr-code .cm { color: var(--dr2-code-comment); }
.dr2-doc pre a { color: #9cc4ff; }
.dr2-doc code, .dr2-doc tt { font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; font-size: .92em;
  background: var(--dr2-surface-2); padding: 1px 5px; border-radius: 4px; }
.dr2-doc pre code { background: none; padding: 0; color: inherit; }
.dr2-doc pre.dr2-text { white-space: pre-wrap; background: var(--dr2-surface-2); color: var(--dr2-text); border-color: var(--dr2-border); }

/* Tables */
.dr2-doc table { border-collapse: collapse; margin: 16px 0; max-width: 100%; }
.dr2-doc td, .dr2-doc th { border: 1px solid var(--dr2-border); padding: 8px 12px; vertical-align: top; }
.dr2-doc th, .dr2-doc table tr:first-child td b { font-weight: 650; }
.dr2-doc .dr-tablewrap { overflow-x: auto; }

/* Feature grid, notes, diagrams */
.dr2-doc .dr-features { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 14px; margin: 16px 0; }
.dr2-doc .dr-features section { padding: 14px 16px; background: var(--dr2-surface-2); border: 1px solid var(--dr2-border); border-radius: var(--dr2-radius-sm); }
.dr2-doc .dr-features h3 { margin: 0 0 8px; font-size: 15.5px; color: var(--dr2-accent); }
.dr2-doc .dr-features ul { margin: 0; padding-left: 18px; font-size: 14.5px; }
.dr2-doc .dr-features li { margin: 2px 0; }
.dr2-doc .dr-cmd { display: inline-block; margin: 2px 0; padding: 2px 8px; border-radius: 4px; background: var(--dr2-surface-2);
  font: 14px ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; }
.dr2-doc .dr-note { padding: 12px 16px; border-radius: var(--dr2-radius-sm); background: var(--dr2-accent-soft); border: 1px solid var(--dr2-border); }
.dr2-doc .dr-diagram { text-align: center; }
.dr2-doc .dr-diagram img { background: #fff; border-radius: 8px; padding: 8px; border: 1px solid var(--dr2-border); }
.dr2-doc .dr-listing-meta { color: var(--dr2-muted); font-size: 14.5px; margin-top: -8px; }

/* Bottom of a documentation page: back to its index */
.dr2-doc-nav { display: flex; flex-wrap: wrap; gap: 8px 18px; margin: 18px 0 0; font-size: 14px; font-weight: 500; }
.dr2-doc-nav a { display: inline-flex; align-items: center; gap: 5px; }
.dr2-doc-nav .dr2-icon { width: 15px; height: 15px; }

/* Index pages of the class library, examples and utilities: groups of links with a filter */
.dr2-doc-index { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 14px; align-items: start; }
.dr2-doc-group { background: var(--dr2-surface); border: 1px solid var(--dr2-border); border-radius: var(--dr2-radius);
  box-shadow: var(--dr2-shadow); overflow: hidden; }
.dr2-doc-group h2 { margin: 0; padding: 12px 16px; font-size: 13px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase;
  color: var(--dr2-text-2); background: var(--dr2-surface-2); border-bottom: 1px solid var(--dr2-border); }
.dr2-doc-group ul { list-style: none; margin: 0; padding: 8px; }
.dr2-doc-group li a { display: block; padding: 5px 10px; border-radius: 7px; font-size: 14.5px; color: var(--dr2-text); }
.dr2-doc-group li a:hover { background: var(--dr2-accent-soft); color: var(--dr2-accent); text-decoration: none; }
.dr2-doc-group[hidden], .dr2-doc-group li[hidden] { display: none; }

@media (max-width: 575.98px) {
  .dr2-doc { padding: 20px 16px; border-radius: var(--dr2-radius-sm); }
  .dr2-doc .dr-fn { padding: 12px 14px; }
}
@media print {
  .dr2-doc { border: 0; box-shadow: none; padding: 0; }
  .dr2-doc pre { white-space: pre-wrap; }
}
