/* docs.panquest.com: one stylesheet, no external fonts, no scripts. The colors and fonts of panquest.com. */

:root {
  --ink: #161616;
  --ink-soft: #393939;
  --muted: #5e5e5e;
  --line: #d9d4ca;
  --band: #efece6;
  --paper: #f8f6f2;
  --accent: #6c3db7;
  --accent-dark: #52298f;
  --accent-soft: #f1ebfb;
  --mast: #161616;
  --mast-ink: #f4f4f4;
  --max: 1040px;
  --gutter: 24px;
  --font: "Segoe UI", system-ui, -apple-system, "Helvetica Neue", Arial, "Noto Sans", "Liberation Sans", sans-serif;
  --mono: ui-monospace, "SFMono-Regular", Menlo, Consolas, "Liberation Mono", monospace;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--font);
  font-size: 17px;
  line-height: 1.6;
  color: var(--ink);
  background: var(--paper);
}
a { color: var(--accent); text-decoration: none; }
a:hover, a:focus-visible { text-decoration: underline; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }

.wrap { max-width: var(--max); margin: 0 auto; padding: 0 var(--gutter); }
.skip { position: absolute; left: -9999px; }
.skip:focus { left: var(--gutter); top: 8px; background: var(--paper); padding: 8px 12px; z-index: 10; }

/* ---- masthead ---------------------------------------------------------------------------------------------- */
.mast { background: var(--mast); color: var(--mast-ink); border-bottom: 1px solid #2a2a2a; }
.mast .wrap { display: flex; align-items: center; justify-content: space-between; gap: 24px; min-height: 64px; flex-wrap: wrap; }
.brand { display: flex; align-items: center; gap: 10px; color: var(--mast-ink); font-weight: 600; font-size: 20px; letter-spacing: 0.2px; }
.brand:hover { text-decoration: none; }
.brand svg { width: 32px; height: 32px; }
.brand-sub { font-weight: 400; color: #c6c6c6; padding-left: 10px; border-left: 1px solid #393939; }
.nav { display: flex; flex-wrap: wrap; gap: 4px; margin-left: auto; }
.nav a { color: #c6c6c6; padding: 20px 12px; font-size: 15px; border-bottom: 3px solid transparent; }
.nav a:hover { color: #fff; text-decoration: none; border-bottom-color: var(--accent); }

/* ---- content ----------------------------------------------------------------------------------------------- */
.doc { padding-top: 32px; padding-bottom: 64px; }
.crumbs { font-size: 15px; color: var(--muted); margin-bottom: 8px; }
.crumbs .sep { padding: 0 4px; color: var(--line); }
h1 { font-size: clamp(30px, 4vw, 42px); line-height: 1.15; font-weight: 400; margin: 8px 0 12px; }
h2 { font-size: 24px; line-height: 1.25; font-weight: 600; margin: 40px 0 12px; }
p, ul { max-width: 46em; }
.lead { font-size: 19px; color: var(--ink-soft); margin-top: 0; }
code { font-family: var(--mono); font-size: 0.9em; background: var(--band); padding: 1px 5px; overflow-wrap: anywhere; }
pre.code { background: var(--mast); color: var(--mast-ink); padding: 20px 24px; overflow-x: auto; font-size: 14px; line-height: 1.5; max-width: 100%; }
pre.code code { background: none; padding: 0; color: inherit; font-size: inherit; overflow-wrap: normal; }

table { border-collapse: collapse; margin: 16px 0 8px; font-size: 16px; }
table.facts th { text-align: left; vertical-align: top; font-weight: 400; color: var(--muted); padding: 8px 24px 8px 0; white-space: nowrap; }
table.facts td { vertical-align: top; padding: 8px 0; }
table.list { width: 100%; }
table.list th, table.list td { text-align: left; vertical-align: top; padding: 10px 16px 10px 0; border-bottom: 1px solid var(--line); }
table.list th { font-size: 14px; letter-spacing: 0.6px; text-transform: uppercase; color: var(--muted); border-bottom: 2px solid var(--ink); }
table.list td:first-child { white-space: nowrap; }

ul.cards { list-style: none; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 16px; max-width: none; }
ul.cards a { display: block; background: #fff; border: 1px solid var(--line); border-top: 3px solid var(--accent); padding: 20px; color: var(--ink); height: 100%; }
ul.cards a:hover { text-decoration: none; border-color: var(--accent); }
ul.cards strong { display: block; color: var(--accent); font-size: 19px; margin-bottom: 6px; }
ul.cards span { color: var(--ink-soft); font-size: 16px; }

/* ---- footer ------------------------------------------------------------------------------------------------ */
.foot { background: var(--mast); color: #c6c6c6; padding: 32px 0; font-size: 15px; }
.foot p { margin: 0; max-width: 60em; }

@media (max-width: 640px) {
  .brand-sub { display: none; }
  table.list td:first-child { white-space: normal; }
}
