:root {
  font: 16px/1.5 "Courier New", monospace;
  color: #111;
  background: #008080;
  --muted: #424242;
  --mono: "Courier New", monospace;
}
* { box-sizing: border-box; }
body { max-width: 1080px; margin: 24px auto; background: #c0c0c0; border: 3px outset #eee; }
header { margin: 4px; background: #000080; color: #fff; }
header > div { min-height: 70px; display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 10px 18px; }
.brand { display: flex; align-items: center; gap: 12px; color: #fff; font-size: 27px; font-weight: bold; text-decoration: none; }
.brand:visited, .toplink:visited { color: #fff; }
.brand img { width: 36px; height: 44px; background: #eee; border: 2px inset #ddd; }
.toplink { color: #fff; font-size: 13px; }
.layout { display: grid; grid-template-columns: 198px minmax(0,1fr); gap: 18px; padding: 18px; }
aside { align-self: start; position: sticky; top: 12px; }
nav { border: 2px inset #eee; background: #d4d0c8; padding: 8px; }
nav a { display: block; margin: 3px 0; padding: 7px 6px; font-size: 14px; }
nav a.active { background: #000080; color: white; }
a { color: #0000ee; text-decoration: underline; }
a:visited { color: #551a8b; }
a:hover { color: #b00000; }
a:focus-visible, button:focus-visible, input:focus-visible { outline: 2px dotted #111; outline-offset: 3px; }
main { min-width: 0; background: #fffef0; border: 2px inset #eee; padding: 22px; }
h1,h2,h3 { line-height: 1.25; }
h1 { margin: 0 0 20px; color: #000080; font-size: 32px; border-bottom: 3px double #808080; padding-bottom: 12px; }
h2 { margin: 30px 0 12px; font-size: 23px; }
h3 { font-size: 18px; }
p { margin: 10px 0 16px; overflow-wrap: anywhere; }
.lead { font-size: 17px; }
code, pre { font-family: var(--mono); }
p code, li code, dd code { background: #e5e5d8; padding: 1px 3px; overflow-wrap: anywhere; }
.sample { position: relative; background: #000; color: #e8e8e8; border: 2px inset #ddd; margin: 14px 0 20px; }
pre { margin: 0; padding: 16px 48px 16px 14px; overflow: auto; font-size: 14px; line-height: 1.55; tab-size: 4; }
.copy { position: absolute; right: 6px; top: 6px; min-width: 30px; min-height: 28px; border: 2px outset #eee; border-radius: 0; background: #c0c0c0; color: black; cursor: pointer; }
.copy:active, .copy[data-done] { border-style: inset; background: #a8c4a8; }
.copy svg { width: 15px; vertical-align: middle; }
.search { display: block; font-weight: bold; margin: 20px 0 8px; }
.search input { display: block; width: min(100%,440px); font: inherit; border: 2px inset #ddd; border-radius: 0; padding: 7px; margin-top: 5px; background: white; }
.pkg { padding: 18px 0; border-bottom: 2px groove #eee; }
.pkg h3 { margin: 0; display: flex; align-items: baseline; gap: 10px; }
.version { font-size: 13px; font-weight: normal; color: #444; }
.pkg p { margin: 6px 0; }
.pkg .sample { margin: 10px 0; }
.links { display: flex; gap: 14px; flex-wrap: wrap; font-size: 14px; }
details { border-bottom: 2px groove #eee; padding: 10px 0; }
summary { cursor: pointer; font-weight: bold; }
dt { font-weight: bold; overflow-wrap: anywhere; margin-top: 12px; }
dd { margin: 3px 0 12px; }
footer { margin: 4px; border: 2px inset #eee; padding: 7px 12px; font-size: 13px; }
.toc { display: flex; gap: 8px 16px; flex-wrap: wrap; border-bottom: 2px groove #eee; padding-bottom: 18px; }
.quiet { color: var(--muted); }
[hidden] { display: none !important; }
@media (max-width: 740px) {
  body { margin: 0; }
  header > div { padding: 8px 10px; }
  .layout { display: block; padding: 10px; }
  aside { position: static; margin-bottom: 12px; }
  nav { display: flex; flex-wrap: wrap; gap: 2px; padding: 4px; }
  nav a { padding: 4px; font-size: 12px; }
  main { padding: 14px; }
  h1 { font-size: 27px; }
  h2 { font-size: 21px; }
  pre { font-size: 12px; }
  .brand { font-size: 23px; }
  .toplink { font-size: 11px; }
}

