/* docs.css - generated by scripts/sync_docs.py. Do not edit by hand.
   Documentation hub. Document pages also load safety.css, which carries the
   shared styling for every live-synced Google Doc on the site. */

/* Compact head on a document page. The document bar right below it repeats
   the title and now stays put while you scroll, so a tall hero here only
   pushes the text down. The hub keeps its lead, which explains the section. */
.page-head.portal { padding: 30px 0 26px; }
.page-head.portal h1 { font-size: clamp(23px, 2.3vw, 29px); }

/* The bar is sticky now, so it is on screen the whole way down. 50px of navy
   under two other bars is a lot of chrome; 44 is enough for the buttons. */
.hb-bar .wrap { height: 44px; flex-wrap: nowrap; }
.hb-bar-label { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.hb-bar-links { flex-wrap: nowrap; }
.hb-bar-links a, .hb-toc-toggle { padding: 5px 12px; }

.dc-grid {
  list-style: none;
  margin: 0 0 2.5rem;
  padding: 0;
  display: grid;
  gap: 1rem;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
}

.dc-card {
  display: flex;
  flex-direction: column;
  border: 1px solid var(--rule, #dfe3ea);
  border-radius: 10px;
  background: #fff;
  overflow: hidden;
  transition: border-color .15s ease, box-shadow .15s ease, transform .15s ease;
}

.dc-card:hover {
  border-color: var(--navy, #16284f);
  box-shadow: 0 6px 20px rgba(22, 40, 79, .09);
  transform: translateY(-1px);
}

.dc-card-main {
  display: block;
  padding: 1.15rem 1.25rem .9rem;
  text-decoration: none;
  color: inherit;
  flex: 1;
}

.dc-card-title {
  display: block;
  font-family: var(--font-display, inherit);
  font-size: 1.08rem;
  line-height: 1.3;
  color: var(--navy, #16284f);
  margin-bottom: .4rem;
}

.dc-card:hover .dc-card-title { color: var(--accent, #2f6fd0); }

.dc-card-blurb {
  display: block;
  font-size: .9rem;
  line-height: 1.5;
  color: var(--muted, #5b6472);
}

.dc-card-foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: .75rem;
  padding: .6rem 1.25rem .75rem;
  border-top: 1px solid var(--rule, #eceff4);
  font-size: .78rem;
  letter-spacing: .02em;
  text-transform: uppercase;
  color: var(--muted, #7a828f);
}

.dc-card-foot a { color: inherit; text-decoration: none; border-bottom: 1px solid currentColor; }
.dc-card-foot a:hover { color: var(--accent, #2f6fd0); }
.dc-card-meta { text-transform: none; letter-spacing: 0; font-size: .8rem; }

.dc-card-empty { background: #fbfbfc; border-style: dashed; }
.dc-card-empty .dc-card-title { color: var(--muted, #5b6472); }

.dc-h2 {
  font-size: 1.15rem;
  margin: 2rem 0 .35rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--rule, #e4e8ee);
}

.dc-note { font-size: .9rem; color: var(--muted, #5b6472); margin: 0 0 .9rem; }

.dc-files { list-style: none; margin: 0 0 2rem; padding: 0; }

.dc-files li {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 1rem;
  padding: .55rem 0;
  border-bottom: 1px solid var(--rule, #eceff4);
}

.dc-file-kind {
  font-size: .78rem;
  text-transform: uppercase;
  letter-spacing: .03em;
  color: var(--muted, #7a828f);
  white-space: nowrap;
}

.dc-empty {
  border: 1px dashed var(--rule, #cfd6e0);
  border-radius: 10px;
  padding: 1.4rem 1.5rem;
  background: #fbfbfc;
  margin-bottom: 2rem;
}

.dc-empty p { margin: 0 0 .5rem; color: var(--muted, #5b6472); }
.dc-empty p:last-child { margin-bottom: 0; }

/* Sub-bullet depth. style.css styles these inside .hb-content, which only the
   long documents use; a short one renders flat, so repeat them here. */
.sf-doc-flat li.hb-lvl-1 { margin-left: 26px; }
.sf-doc-flat li.hb-lvl-2 { margin-left: 52px; }
.sf-doc-flat li.hb-lvl-3 { margin-left: 78px; }
.sf-doc-flat li.hb-lvl-4 { margin-left: 104px; }
.sf-doc-flat li.hb-lvl-1::marker { content: "\25E6  "; }
.sf-doc-flat li.hb-lvl-2::marker,
.sf-doc-flat li.hb-lvl-3::marker,
.sf-doc-flat li.hb-lvl-4::marker { content: "\25AA  "; }

@media (max-width: 640px) {
  .dc-grid { grid-template-columns: 1fr; }
  .sf-doc-flat li.hb-lvl-1 { margin-left: 14px; }
  .sf-doc-flat li.hb-lvl-2 { margin-left: 28px; }
  .sf-doc-flat li.hb-lvl-3 { margin-left: 42px; }
  .sf-doc-flat li.hb-lvl-4 { margin-left: 56px; }
}
