:root {
  font: 16px/1.5 Arial, Helvetica, sans-serif;
  color: #222;
  background: #fff;
  --border: #e7e7e7;
  --muted: #666;
  --blue: #0088cc;
}
* { box-sizing: border-box; }
body { margin: 0; }
[hidden] { display: none !important; }
a { color: #007bb8; text-decoration: none; }
a:hover { text-decoration: underline; }
button, input, textarea, select { font: inherit; }
button, .button {
  display: inline-block; background: var(--blue); border: 0; color: white;
  padding: .4em .8em; border-radius: 4px; cursor: pointer;
}
button:hover, .button:hover { background: #006da3; text-decoration: none; }
button:disabled { opacity: .6; }
:focus-visible { outline: 2px solid #0074ae; outline-offset: 2px; }
.skip { position: absolute; left: -10000px; }
.skip:focus { position: fixed; left: 1rem; top: 1rem; z-index: 5; background: white; }
.topbar { position: sticky; top: 0; z-index: 3; height: 55px; background: white; border-bottom: 3px solid #b76a36; }
.top-inner, .layout { width: min(100% - 2rem, 83rem); margin-inline: auto; }
.top-inner { height: 100%; display: flex; align-items: center; gap: 1.35rem; padding-inline: .5rem; }
.brand { color: #555; font-size: 1.65rem; font-weight: 700; letter-spacing: -.055em; }
.brand:hover { text-decoration: none; }
.account-actions { margin-left: auto; display: flex; gap: .5rem; }
.account-actions button { font-size: .875rem; min-height: 32px; }
#account::before { content: ''; display: inline-block; width: .85em; height: 1em; margin-right: .4em; vertical-align: -.1em; background: radial-gradient(circle at 50% 25%, white 0 23%, transparent 26%), radial-gradient(ellipse 60% 56% at 50% 95%, white 0 85%, transparent 90%); }
.menu { width: 26px; min-height: 36px; display: grid; place-items: center; background: transparent; padding: 0; }
.menu:hover { background: #f3f3f3; }
.menu span { width: 21px; height: 3px; border-radius: 2px; background: #aaa; box-shadow: 0 -7px #aaa, 0 7px #aaa; }
.layout { display: grid; grid-template-columns: 15rem minmax(0,1fr); gap: 2rem; align-items: start; }
aside { position: sticky; top: 55px; height: calc(100dvh - 55px); overflow: auto; border-right: 1px solid var(--border); padding: 1rem .5rem 1rem .5rem; background: white; }
aside a, aside summary { color: var(--muted); display: flex; gap: .8rem; align-items: center; padding: .35rem .5rem; border-radius: 3px; cursor: pointer; }
aside a span { width: 1rem; text-align: center; }
aside a:hover, aside a[aria-current="page"] { background: #f1f1f1; color: #333; text-decoration: none; }
aside details { border-block: 1px solid var(--border); margin-top: .55rem; padding-block: .45rem; }
aside summary { display: list-item; font-size: .75rem; font-weight: bold; text-transform: uppercase; letter-spacing: .035em; }
.sidebar-closed .layout { grid-template-columns: minmax(0,1fr); }
.sidebar-closed aside { display: none; }
.outlet { min-width: 0; padding: 1rem 0 3rem; }
.welcome { display: grid; justify-items: center; padding: 1.4rem 0 3rem; gap: .95rem; }
.welcome h1 { font-weight: 400; font-size: 2rem; line-height: 1.2; margin: 0; }
.search { width: min(100%, 37.5rem); display: flex; align-items: center; gap: .75rem; height: 44px; padding: 0 1rem; border: 1px solid #d3d3d3; border-radius: 4px; }
.search span { position: relative; width: 13px; height: 13px; border: 2px solid #555; border-radius: 50%; }
.search span::after { content: ''; position: absolute; width: 7px; height: 2px; background: #555; transform: rotate(45deg); left: 8px; top: 10px; }
.search input { min-width: 0; flex: 1; border: 0; padding: .3rem; }
.gw-links { display: flex; flex-wrap: wrap; gap: .25rem 1.5rem; padding: .45rem .65rem; background: #233536; font: 1rem/1.4 "Barlow",system-ui,sans-serif; }
.gw-links a { color: white; padding-block: .25rem; text-decoration: underline; text-underline-offset: .2em; }
.gw-links a:hover, .gw-links a:focus-visible { color: #ffd0a6; }
main:focus { outline: none; }
main h1 { font-size: 1.75rem; line-height: 1.2; margin: 0 0 .1rem; }
main h2 { font-size: 1.3rem; margin: 1.75rem 0 .7rem; }
.controls, .actions { display: flex; align-items: center; flex-wrap: wrap; gap: .6rem; }
.controls { margin: 0 0 1.7rem; }
.controls select { color: #333; background: white; border: 1px solid #d3d3d3; border-radius: 4px; padding: .32rem .55rem; max-width: 100%; }
.tab { padding: .4rem .65rem; color: #333; border-bottom: 2px solid transparent; }
.tab[aria-current] { border-bottom-color: var(--blue); color: #007bb8; }
.grid { display: grid; grid-template-columns: repeat(4,minmax(0,1fr)); gap: 1rem; }
.cat { --cat: #546e70; border: 1px solid var(--border); border-left: 3px solid var(--cat); border-radius: 4px; overflow: hidden; }
.start { --cat: #546e70; } .guide { --cat: #667753; } .general { --cat: #24aae3; } .feedback { --cat: #84888a; }
.announcements { --cat: #99562c; } .help { --cat: #466e85; } .community { --cat: #817042; } .bulletin { --cat: #765e70; }
.cat > a { display: block; color: #222; min-height: 5.05rem; padding: .95rem 1rem 2rem; }
.cat strong { font-size: 1.125rem; }
.dot { display: inline-block; background: var(--cat,#888); border-radius: 2px; width: .8em; height: .8em; margin-right: .35em; }
aside .dot { margin-right: .15rem; }
.cat p { margin: .3rem 0 0; color: #737373; line-height: 1.45; }
.mobile-topics, .mobile-search { display: none; }
.badge { color: var(--muted); font-size: .875rem; }
.post { display: grid; grid-template-columns: 46px minmax(0,1fr); gap: .7rem; border-block-start: 1px solid var(--border); max-width: 47.5rem; padding: .8rem .75rem 1.8rem 0; }
main > .post:first-of-type { margin-top: 1rem; }
.avatar { display: grid; place-items: center; border-radius: 50%; width: 44px; height: 44px; color: white; background: #546e70; font-size: 1.2rem; margin-top: .25rem; }
.byline { display: flex; flex-wrap: wrap; align-items: baseline; gap: .5rem; color: var(--muted); font-weight: 600; }
.byline small { margin-left: auto; font-weight: normal; }
.post h2:first-child { margin-top: 1rem; }
.post p { margin: .95rem 0; }
.post ul { padding-left: 1.5rem; }
.post li { margin: .25rem 0; }
.text { white-space: pre-wrap; margin: 1rem 0; }
.post, .row, h1 { overflow-wrap: anywhere; }
.row { display: flex; gap: .75rem; justify-content: space-between; padding: .8rem .6rem; border-bottom: 1px solid var(--border); color: #333; }
.row .meta, small { color: var(--muted); font-size: .875rem; }
.actions, main > button, main > .button { margin-block: .65rem; }
form { max-width: 47.5rem; border-top: 1px solid var(--border); margin: 1rem 0; padding: 1rem 0; }
form label { display: block; margin: .5rem 0 1rem; font-weight: bold; }
form input, form textarea { display: block; width: 100%; margin-top: .25rem; padding: .55rem; border: 1px solid #bbb; border-radius: 3px; font-weight: normal; }
textarea { min-height: 7rem; }
.error { color: #942718; }
code { background: #f3f3f3; padding: .12em .25em; }
@media (max-width: 1100px) and (min-width: 701px) {
  .layout { grid-template-columns: 12rem minmax(0,1fr); gap: 1rem; }
  .grid { grid-template-columns: repeat(3,minmax(0,1fr)); }
}
@media (max-width: 700px) {
  .top-inner, .layout { width: calc(100% - 1.4rem); }
  .top-inner { gap: .75rem; padding-inline: 0; }
  .brand { font-size: 1.25rem; }
  #signup { display: none; }
  .menu { order: 3; }
  .mobile-search { display: block; order: 2; color: #666; font-size: .875rem; }
  .layout { display: block; }
  aside { display: none; position: fixed; z-index: 2; left: 0; width: min(16rem,85vw); box-shadow: .3rem .3rem 1rem #0002; }
  .mobile-open aside { display: block; }
  .outlet { padding-top: 1.25rem; }
  .welcome { display: none; }
  .show-search .welcome { display: grid; padding: 0 0 1rem; }
  .welcome h1 { display: none; }
  .grid { display: block; }
  .controls { margin-bottom: 1.65rem; }
  .tab { font-size: .875rem; }
  .cat { border-inline-end: 0; border-inline-start-width: 6px; border-radius: 0; margin-bottom: 2rem; }
  .cat > a { min-height: auto; padding: 1.1rem .65rem .5rem; color: #555; }
  .cat strong { font-size: 1.22rem; }
  .cat p { display: none; }
  .mobile-topics { display: block; }
  .mobile-topics a, .mobile-topics small { display: block; border-top: 1px solid var(--border); padding: .55rem .65rem; color: #333; }
  .mobile-topics a { font-size: 1.05rem; }
  main h1 { font-size: 1.5rem; }
  .post { grid-template-columns: 32px minmax(0,1fr); gap: .6rem; padding-right: 0; }
  .avatar { width: 32px; height: 32px; font-size: .95rem; }
  .row { flex-wrap: wrap; }
}

aside .more { border: 0; padding: 0; margin: 0; }
aside .more summary { display: flex; text-transform: none; letter-spacing: normal; font-weight: normal; font-size: 1rem; }
aside .more summary::before { content: '⋮'; width: 1rem; text-align: center; font-weight: bold; }
aside .more a { padding-left: 2.35rem; }
.related { border-top: 1px solid var(--border); max-width: 60rem; margin-top: 2rem; }
.related h2 { font-size: 1.125rem; }
.related-topic { display: block; border-top: 1px solid var(--border); padding: .6rem .75rem; color: #333; }
.related-topic small { display: block; }
