/* Antichaos documentation hub - follows antichaosdata.com: Mulish 300 body, black headings, blue links on white. */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; background: #fff; color: #000; font-family: "Mulish", "Muli", "Segoe UI", -apple-system, Helvetica, Arial, sans-serif; font-weight: 300; font-size: 18px; line-height: 1.75; }
a { color: #0066cc; text-decoration: none; box-shadow: 0 -1px 0 inset; }
a:hover { box-shadow: 0 -2px 0 inset; }
h1, h2, h3, h4 { font-family: "Helvetica Neue", Helvetica, Arial, sans-serif; font-weight: 700; line-height: 1.2; color: #000; margin: 0 0 12px; text-wrap: balance; }
h1 { font-size: 38px; letter-spacing: -.01em; }
h2 { font-size: 28px; margin-top: 44px; }
h3 { font-size: 21px; margin-top: 30px; }
h4 { font-size: 16px; text-transform: uppercase; letter-spacing: .04em; }
p, ul, ol { margin: 0 0 18px; }
li { margin-bottom: 4px; }
strong, b { font-weight: 600; }
code { font-family: ui-monospace, "SF Mono", Menlo, Consolas, monospace; font-size: .85em; background: #f2f2f2; padding: .1em .35em; border-radius: 3px; }
pre { background: #f2f2f2; padding: 14px 16px; overflow-x: auto; font-size: 14px; line-height: 1.5; border-radius: 4px; }
pre code { background: none; padding: 0; font-size: inherit; }
blockquote { margin: 0 0 18px; padding: 4px 0 4px 18px; border-left: 3px solid #ddd; color: #32373c; }
hr { border: 0; border-top: 1px solid #ddd; margin: 30px 0; }
img { max-width: 100%; height: auto; }
.rule { width: 40px; border-top: 2px solid #000; margin: 18px 0 26px; }
table { border-collapse: collapse; width: 100%; font-size: 16px; margin: 0 0 22px; }
th, td { text-align: left; vertical-align: top; padding: 9px 10px; border-bottom: 1px solid #ddd; }
th { font-weight: 600; font-size: 14px; text-transform: uppercase; letter-spacing: .04em; color: #32373c; }
.tbl { overflow-x: auto; margin: 0 0 22px; }
.tbl table { min-width: 560px; margin: 0; }

.top { border-bottom: 1px solid #eee; background: #fff; position: sticky; top: 0; z-index: 10; }
.top-in { max-width: 1200px; margin: 0 auto; padding: 14px 20px; display: flex; align-items: center; gap: 24px; }
.brand { box-shadow: none; } .brand img { height: 40px; display: block; }
.menu { margin-left: auto; display: flex; gap: 22px; flex-wrap: wrap; font-size: 16px; }
.menu a { box-shadow: none; color: #000; }
.menu a:hover, .menu a.is-active { color: #0066cc; }
.menu-btn { display: none; margin-left: auto; border: 0; background: none; font-size: 22px; cursor: pointer; }
.wrap { max-width: 1200px; margin: 0 auto; padding: 44px 20px 60px; display: grid; grid-template-columns: minmax(0, 1fr) 300px; gap: 60px; }
.main { min-width: 0; max-width: 760px; }
.side { min-width: 0; }
.widget { margin-bottom: 36px; }
.widget h4 { margin-bottom: 10px; }
.widget a { display: block; padding: 5px 0; box-shadow: none; }
.widget a:hover { box-shadow: 0 -1px 0 inset; }
.crumbs { font-size: 15px; margin-bottom: 26px; color: #32373c; }
.crumbs .sep { color: #999; margin: 0 2px; }
.lead { font-size: 21px; line-height: 1.6; }
.meta { font-size: 15px; color: #555; }

.cards { display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: 16px; margin: 0 0 30px; }
@media (max-width: 520px) { .cards { grid-template-columns: 1fr; } }
.card { border: 1px solid #ddd; padding: 18px 20px; box-shadow: none; color: inherit; display: block; }
.card:hover { border-color: #0066cc; box-shadow: none; }
.card b { display: block; font-weight: 600; margin-bottom: 4px; }
.card span { font-size: 15px; color: #32373c; }
.cat { margin: 34px 0 0; }
.cat p.blurb { color: #32373c; font-size: 16px; margin-bottom: 10px; }
.ext-list { list-style: none; padding: 0; margin: 0; }
.ext-list li { display: grid; grid-template-columns: 40px minmax(0, 1fr); gap: 14px; align-items: start; padding: 12px 0; border-bottom: 1px solid #eee; margin: 0; }
.ext-list img { width: 40px; height: 40px; border-radius: 9px; }
.ext-list .nm { font-weight: 600; }
.ext-list .tp { font-size: 12px; text-transform: uppercase; letter-spacing: .05em; color: #777; margin-left: 8px; font-weight: 400; }
.ext-list .wh { font-size: 16px; color: #32373c; }
.ext-list .lk { font-size: 14px; margin-top: 2px; }
.ext-list .lk a { margin-right: 14px; }
.ext-head { display: grid; grid-template-columns: 72px minmax(0, 1fr); gap: 20px; align-items: center; margin-bottom: 8px; }
.ext-head img { width: 72px; height: 72px; border-radius: 16px; }
.ext-head h1 { margin: 0; }
.ext-head .type { font-size: 14px; text-transform: uppercase; letter-spacing: .05em; color: #555; margin-top: 4px; }
.actions { display: flex; flex-wrap: wrap; gap: 12px; margin: 22px 0 30px; }
.btn { display: inline-block; padding: 10px 20px; border: 1px solid #000; box-shadow: none; color: #000; font-size: 16px; font-weight: 400; }
.btn.primary { background: #000; color: #fff; }
.btn:hover { box-shadow: none; background: #0066cc; border-color: #0066cc; color: #fff; }
.enc { font-size: 15px; color: #32373c; }
.cl-date { font-size: 15px; font-weight: 600; letter-spacing: .04em; color: #555; margin: 26px 0 6px; }
.cl { margin: 0 0 6px; }
.cl li { margin-bottom: 8px; }
.feed { font-size: 15px; color: #555; }
details.ref { margin: 30px 0; border-top: 1px solid #ddd; padding-top: 12px; }
details.ref > summary { cursor: pointer; font-weight: 600; list-style: none; }
details.ref > summary::before { content: "+ "; color: #0066cc; }
details.ref[open] > summary::before { content: "– "; }
.ref-body h1 { display: none; }
.guide > h1:first-child { display: none; }
@media (max-width: 900px) { .wrap { grid-template-columns: 1fr; gap: 30px; } .side { border-top: 1px solid #eee; padding-top: 24px; } }
@media (max-width: 700px) {
  body { font-size: 17px; }
  h1 { font-size: 30px; } h2 { font-size: 24px; }
  .menu { display: none; position: absolute; left: 0; right: 0; top: 63px; background: #fff; flex-direction: column; gap: 0; padding: 8px 20px 14px; border-bottom: 1px solid #eee; }
  .nav-open .menu { display: flex; } .menu a { padding: 8px 0; }
  .menu-btn { display: block; }
  .wrap { padding: 28px 16px 40px; }
}
