/* Docs articles built by scripts/build-docs.py from docs-src/. Loaded after v2.css, on those pages only.
   Everything else on the page (prose, steps, callouts, tables, the docs shell) comes from v2.css. */

/* Availability: plan, role and entity types, at the top of every article */
.avail { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); margin: 0 0 40px; border-top: 1px solid var(--rule-strong); border-bottom: 1px solid var(--rule); }
.avail > div { padding: 14px 18px 14px 0; }
.avail > div + div { padding-left: 18px; border-left: 1px solid var(--rule); }
.avail dt { font: 600 .72rem/1.3 var(--sans); letter-spacing: .08em; text-transform: uppercase; color: var(--teal-ink); }
.avail dd { margin: 6px 0 0; font-size: .9375rem; line-height: 1.5; color: var(--ink); }
@media (max-width: 640px) {
  .avail { grid-template-columns: minmax(0, 1fr); }
  .avail > div + div { padding-left: 0; border-left: 0; border-top: 1px solid var(--rule); }
}

/* Subheadings, code and nested lists inside article prose */
.docs__main .prose h3 { margin-top: 32px; font: 600 1.0938rem/1.4 var(--sans); color: var(--ink); }
.docs__main .prose h3 + p { margin-top: 8px; }
.docs__main .proc h3 { margin-top: 0; }
.docs__main .prose code { padding: 1px 5px; border-radius: 3px; background: var(--cream); font: .875em/1.4 ui-monospace, SFMono-Regular, Menlo, monospace; color: var(--ink); }
.docs__main .prose li .checks, .docs__main .prose li .numbered { margin-top: 10px; }
.docs__main .prose li > p { margin-top: 8px; }
.docs__main .proc .checks, .docs__main .proc .numbered { margin-top: 12px; }
.docs__main .callout .checks { margin-top: 10px; }

/* Reference tables: the first column is a label, not the serif figure data-table uses for plans */
.doc-table td:first-child { font: 600 .9375rem/1.5 var(--sans); color: var(--ink); }
.doc-table td { font-size: .9375rem; }

/* The docs home: the intro, then one entry card per kind of reader */
.lib-head__intro { max-width: 46rem; margin-top: 28px; }
.docs-start--readers { grid-template-columns: repeat(4, minmax(0, 1fr)); margin-top: 36px; }
.docs-start--readers a { display: flex; flex-direction: column; }
.docs-start--readers strong { display: block; }
.docs-start--readers strong svg { display: inline-block; margin-left: 4px; vertical-align: -1px; }
@media (max-width: 980px) { .docs-start--readers { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 560px) { .docs-start--readers { grid-template-columns: minmax(0, 1fr); } }

/* When the article was last checked against the app */
.doc-meta { margin: 48px 0 24px; font-size: .8125rem; color: var(--ink-3); }
