/* pqcmap.org stylesheet: plain CSS, system fonts, no external resources. */
:root {
  --ink: #15283c;
  --paper: #ffffff;
  --page: #ffffff;
  --panel: #ffffff;
  --text: #111111;
  --link: #0000cc;
  --visited: #551a8b;
  --hover: #b30000;
  --rule: #6b6552;
  --focus: #b30000;
}
* { box-sizing: border-box; }
html { font-size: 100%; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  padding: 12px 8px 24px;
  background: var(--page);
  color: var(--text);
  font: 0.8125rem/1.5 Verdana, Tahoma, Arial, Helvetica, sans-serif;
}
.skip {
  position: absolute; left: -999px; top: 0;
  background: #fff; color: #000; padding: 6px 10px; border: 2px solid #000; z-index: 10;
}
.skip:focus { left: 8px; top: 8px; }
a:link { color: var(--link); text-decoration: underline; }
a:visited { color: var(--visited); }
a:hover { color: var(--hover); }
a:focus-visible {
  outline: 3px solid var(--focus); outline-offset: 2px; background: #ffff99; color: #000;
}
/* Scroll regions keep their own colours on focus; only the outer outline changes. */
pre:focus-visible, .tablewrap:focus-visible { outline: 3px solid var(--focus); outline-offset: 2px; }
#wrap {
  width: 960px; max-width: 100%; margin: 0 auto;
  background: #fff; border: 2px solid var(--ink);
}
#top {
  background: var(--paper); border-bottom: 4px double var(--ink);
  padding: 8px 14px; display: flex; align-items: center; gap: 18px; flex-wrap: wrap;
}
#top img { display: block; width: 498px; max-width: 100%; height: auto; }
#top .tag { margin: 0; flex: 1 1 260px; font-size: 0.875rem; color: var(--ink); }
#cols { display: flex; align-items: stretch; }
#side {
  flex: 0 0 188px; background: var(--panel); border-right: 1px solid var(--rule);
  padding: 10px 12px 16px; font-size: 0.8125rem;
}
#side h2 {
  margin: 12px 0 4px; font-size: 0.75rem; text-transform: uppercase; letter-spacing: 0.06em;
  color: var(--ink); border-bottom: 1px solid var(--rule);
}
#side h2:first-child { margin-top: 0; }
#side ul { list-style: none; margin: 0; padding: 0; }
#side li { margin: 0; }
#side li a, .recover a { display: inline-block; min-width: 24px; min-height: 24px; padding: 3px 4px; line-height: 18px; }
.recover { list-style: none; padding: 0; margin: 10px 0; }
.recover li { margin: 0; }
#cols.err #side { order: -1; }
#side a[aria-current="page"] { color: #000; font-weight: bold; text-decoration: none; background: #fff; padding: 0 3px; border: 1px solid var(--rule); }
#side .status { margin: 14px 0 0; padding: 6px; border: 1px solid var(--rule); background: #fff; font-size: 0.75rem; }
main { flex: 1 1 auto; min-width: 0; padding: 12px 18px 20px; }
main h1 { margin: 0 0 8px; font-size: 1.375rem; line-height: 1.25; color: var(--ink); border-bottom: 2px solid var(--ink); padding-bottom: 3px; }
main h2 { margin: 20px 0 6px; font-size: 1.0625rem; color: var(--ink); border-bottom: 1px solid var(--rule); }
main h3 { margin: 14px 0 4px; font-size: 0.9375rem; color: var(--ink); }
main p { margin: 6px 0 8px; }
main ul, main ol { margin: 6px 0 10px; padding-left: 22px; }
main li { margin: 2px 0; }
code, pre, kbd { font-family: "DejaVu Sans Mono", Menlo, Consolas, "Courier New", monospace; font-size: 0.78rem; }
code { background: #fff; padding: 0 2px; border: 1px solid #b9b39c; }
pre {
  margin: 8px 0 12px; padding: 8px 10px; background: #0c0c0c; color: #dcdcdc;
  border: 2px solid #000; overflow-x: auto; line-height: 1.35;
}
pre code { background: none; border: 0; padding: 0; font-size: inherit; color: inherit; }
pre .p { color: #7fd0ff; }   /* prompt */
pre .c { color: #b8b8b8; }   /* comment */
pre .ok { color: #6fdc6f; }
pre .wn { color: #f2d14a; }
pre .fl { color: #ff8585; }
pre .in { color: #8fb8ff; }
table { border-collapse: collapse; margin: 8px 0 14px; width: 100%; background: #fff; }
th, td { border: 1px solid var(--rule); padding: 3px 6px; text-align: left; vertical-align: top; }
th { background: var(--panel); color: var(--ink); }
caption { text-align: left; font-weight: bold; padding: 2px 0 4px; color: var(--ink); }
.tablewrap { overflow-x: auto; }
.note, .warn, .news {
  margin: 10px 0 14px; padding: 6px 10px; border: 1px solid var(--rule); background: var(--panel);
}
.warn { background: #fff3c4; border: 2px solid #7a5b00; }
.news h2 { margin-top: 0; }
.news dl { margin: 0; }
.news dt { font-weight: bold; margin-top: 6px; font-family: "DejaVu Sans Mono", Menlo, Consolas, monospace; }
.news dd { margin: 0 0 4px 0; }
.tag-now, .tag-plan {
  display: inline-block; padding: 0 5px; font-size: 0.6875rem; font-weight: bold; border: 1px solid #000; white-space: nowrap;
}
.tag-now { background: #cfeccf; color: #0b3d0b; }
.tag-plan { background: #ffe9a8; color: #4a3500; }
dl.man dt { font-weight: bold; margin-top: 8px; }
dl.man dd { margin: 0 0 4px 22px; }
.man-section h2 { text-transform: uppercase; font-size: 0.9375rem; }
footer { border-top: 4px double var(--ink); background: var(--paper); padding: 8px 14px; font-size: 0.75rem; color: var(--ink); }
footer p { margin: 2px 0; }
@media (max-width: 700px) {
  body { padding: 0; }
  #wrap { border-width: 0 0 2px; }
  #cols { display: block; }
  #side { border-right: 0; border-bottom: 1px solid var(--rule); }
  #side ul { display: flex; flex-wrap: wrap; gap: 4px 10px; }
  #side .status { display: none; }
  .tablewrap table.wide { min-width: 560px; }
  main { padding: 10px 12px 18px; }
}
@media print {
  body { background: #fff; }
  #side, .skip { display: none; }
  #wrap { border: 0; }
}
