:root {
  color-scheme: dark;
  --bg: #151917;
  --panel: #242825;
  --line: #434a40;
  --text: #f1f2e9;
  --muted: #bcc6b5;
  --yellow: #f0b52c;
  --grass: #345724;
}
* {
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
}
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font:
    17px/1.65 Arial,
    sans-serif;
  background-image: linear-gradient(90deg, transparent 96%, #ffffff05 96%);
  background-size: 90px 100%;
  overflow-wrap: anywhere;
}
[hidden] {
  display: none !important;
}
a {
  color: var(--yellow);
  text-underline-offset: 4px;
}
a:hover {
  color: #ffe49a;
}
button,
input,
select,
summary {
  font: inherit;
}
button,
summary {
  cursor: pointer;
}
button,
.button {
  min-height: 44px;
}
input,
select {
  min-height: 44px;
  max-width: 100%;
  border: 1px solid #78866b;
  background: #11190e;
  color: var(--text);
  padding: 9px 11px;
  border-radius: 0;
}
button {
  border: 1px solid #78866b;
  background: #303a2a;
  color: var(--text);
  padding: 8px 14px;
  border-radius: 0;
}
button:hover {
  background: #46543c;
}
:focus-visible {
  outline: 3px solid var(--yellow);
  outline-offset: 4px;
}
.wrap {
  width: min(1040px, calc(100% - 32px));
  margin-inline: auto;
}
.skip-link {
  position: absolute;
  z-index: 1000;
  top: -80px;
  left: 16px;
  padding: 12px;
  background: #0b1408;
}
.skip-link:focus {
  top: 8px;
}
header {
  background: #202420;
  border-bottom: 4px solid #080d08;
}
.header-inner {
  position: relative;
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 16px 0;
  min-height: 80px;
}
.brand {
  display: flex;
  gap: 10px;
  align-items: center;
  line-height: 1.1;
  color: white;
  text-decoration: none;
  font:
    22px/1.1 Impact,
    "Arial Narrow",
    Arial,
    sans-serif;
  flex-shrink: 0;
}
.brand svg {
  width: 40px;
  height: 40px;
  flex-shrink: 0;
}
.brand small {
  display: block;
  color: var(--muted);
  font:
    12px/1.3 Arial,
    sans-serif;
  margin-top: 5px;
}
.desktop-nav {
  margin-left: auto;
  display: flex;
  align-items: center;
  gap: 15px;
}
.desktop-nav a {
  font-size: 14px;
  text-decoration: none;
  color: #e0e8d9;
  white-space: nowrap;
}
.site-search {
  margin-left: auto;
}
.site-search summary {
  display: flex;
  gap: 6px;
  align-items: center;
  font-size: 14px;
  min-height: 44px;
  list-style: none;
}
.site-search summary::-webkit-details-marker,
.mobile-menu summary::-webkit-details-marker {
  display: none;
}
.mobile-menu {
  display: none;
}
.search-box,
.mobile-menu nav {
  position: absolute;
  right: 0;
  top: 100%;
  background: #20291c;
  border: 2px solid #080d08;
  box-shadow: 0 5px #080d08;
  padding: 20px;
  z-index: 50;
}
.search-box {
  width: min(480px, calc(100vw - 32px));
}
.search-input {
  display: flex;
  gap: 8px;
  margin-top: 8px;
}
.search-input input {
  min-width: 0;
  flex: 1;
}
.search-box ul {
  margin: 0;
  padding-left: 20px;
  max-height: 50vh;
  overflow: auto;
}
.search-box li {
  margin-bottom: 9px;
}
.search-box p {
  font-size: 14px;
  color: var(--muted);
}
.page-main {
  position: relative;
  padding-top: 32px;
  padding-bottom: 65px;
  min-height: 750px;
}
.breadcrumbs {
  font-size: 13px;
  color: var(--muted);
  margin-bottom: 18px;
  max-width: 900px;
}
.breadcrumbs a {
  color: #d7dfcf;
}
.breadcrumbs span {
  margin-right: 4px;
}
h1,
h2,
h3 {
  font-family: Impact, "Arial Narrow", Arial, sans-serif;
  font-weight: 400;
  line-height: 1.14;
  letter-spacing: 0.2px;
}
h1 {
  font-size: 56px;
  margin: 20px 0;
  max-width: 1000px;
}
h2 {
  font-size: 30px;
  margin: 36px 0 14px;
}
h3 {
  font-size: 23px;
}
p {
  margin: 0 0 17px;
}
.lede {
  font-size: 20px;
  line-height: 1.6;
  color: #d4ddcd;
  max-width: 900px;
}
.checked {
  font-size: 13px;
  color: var(--muted);
  margin: 22px 0;
}
.home-hero {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  border: 3px solid #080d08;
  box-shadow: 0 6px #080c08;
  background: var(--panel);
  overflow: hidden;
}
.hero-copy {
  padding: 28px;
}
.home-hero h1 {
  font-size: 52px;
  margin-top: 5px;
}
.home-hero .lede {
  font-size: 18px;
}
.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  align-items: center;
}
.hero-actions > a:not(.button) {
  font-size: 14px;
}
.button {
  display: inline-flex;
  align-items: center;
  padding: 11px 18px;
  background: var(--yellow);
  color: #161c12;
  border: 2px solid #060b06;
  box-shadow: 0 3px #080d08;
  text-decoration: none;
  font-weight: bold;
  font-size: 15px;
}
.button:hover {
  background: #ffd064;
  color: #10180b;
}
.field {
  position: relative;
  min-height: 365px;
  background:
    repeating-linear-gradient(0deg, #ffffff09 0 45px, #ffffffab 45px 47px),
    repeating-linear-gradient(90deg, #365c29 0 45px, #426631 45px 90px);
  border-left: 3px solid #0c170b;
  display: grid;
  place-items: center;
}
.field:before {
  content: "";
  position: absolute;
  inset: 22px;
  border: 2px solid #ffffffa0;
}
.field svg {
  width: 80%;
  position: relative;
}
.field-label {
  position: absolute;
  top: 22px;
  left: 22px;
  right: 22px;
  background: #171e15;
  color: #ffca44;
  padding: 6px 10px;
  text-align: center;
  font:
    16px/1.3 Impact,
    Arial,
    sans-serif;
  text-transform: uppercase;
}
.toc {
  display: flex;
  flex-wrap: wrap;
  gap: 9px 20px;
  max-width: 1040px;
  padding: 18px 0;
  border-block: 1px solid var(--line);
  font-size: 14px;
  margin: 28px 0;
}
.toc strong {
  width: 100%;
  color: var(--muted);
  font-weight: 400;
}
.article-content section {
  scroll-margin-top: 24px;
  margin-bottom: 32px;
}
.article-content p,
.article-content ol,
.article-content ul,
.source-list p {
  max-width: 780px;
}
.article-content li {
  padding-left: 4px;
  margin-bottom: 10px;
}
.section-links {
  display: flex;
  flex-wrap: wrap;
  list-style: none;
  padding: 0;
  gap: 5px 24px;
  font-size: 15px;
}
.section-links li {
  padding: 0;
}
.table-wrap {
  overflow-x: auto;
  border: 2px solid #080d08;
  margin: 18px 0 22px;
  max-width: 100%;
  scrollbar-color: #6a7b56 #192015;
}
.table-wrap table {
  overflow-wrap: normal;
  word-break: normal;
  width: 100%;
  border-collapse: collapse;
  font-size: 15px;
  background: var(--panel);
  min-width: 440px;
}
.table-wrap th {
  background: #121a10;
  color: #f1d789;
  text-align: left;
  font-size: 13px;
  padding: 13px 16px;
  vertical-align: top;
}
.table-wrap td {
  padding: 15px 16px;
  border-top: 1px solid var(--line);
  vertical-align: top;
  min-width: 80px;
}
.table-wrap tr:hover td {
  background: #2b3426;
}
.table-hint {
  display: none;
  font-size: 12px;
  color: var(--muted);
  margin-bottom: 6px;
}
.filter-controls {
  display: flex;
  flex-wrap: wrap;
  align-items: end;
  gap: 12px;
  margin-top: 22px;
}
.filter-controls label {
  font-size: 13px;
  display: flex;
  flex-direction: column;
  gap: 5px;
  max-width: 100%;
}
.filter-controls input {
  width: 265px;
}
.filter-controls select {
  width: 205px;
}
.filter-controls button {
  min-height: 46px;
}
.table-tool [role="status"] {
  font-size: 14px;
  color: var(--muted);
}
[data-table-empty] {
  padding: 12px 16px;
  border-left: 3px solid var(--yellow);
  background: var(--panel);
}
.practice-checklist {
  max-width: 780px;
  margin: 22px 0;
  border: 2px solid #080d08;
  background: var(--panel);
  padding: 18px;
}
.practice-checklist legend {
  color: #f1d789;
  padding: 0 10px;
  font-size: 15px;
}
.practice-checklist label {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  margin-bottom: 14px;
  cursor: pointer;
}
.practice-checklist input {
  width: 20px;
  height: 20px;
  min-height: 20px;
  margin: 4px 0 0;
  accent-color: var(--yellow);
  flex-shrink: 0;
}
.practice-checklist input:checked + span {
  text-decoration: line-through;
  color: var(--muted);
}
.practice-checklist p {
  font-size: 13px;
  color: var(--muted);
  margin: 0;
}
.source-list {
  border-top: 1px solid var(--line);
  margin-top: 35px;
  max-width: 900px;
  font-size: 14px;
}
.source-list h2 {
  font-size: 23px;
}
.source-list ul {
  padding-left: 20px;
}
.source-list p {
  color: var(--muted);
}
.related {
  padding-top: 12px;
  border-top: 2px solid #080d08;
}
.related h2 {
  font-size: 25px;
}
.related ul {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 24px;
  list-style: none;
  padding: 0;
  font-size: 15px;
}
.ad-region > p {
  font-size: 11px;
  line-height: 1;
  color: #aeb9a2;
  letter-spacing: 0.1px;
}
.ad-region iframe {
  border: 0;
  display: block;
}
.native-ad {
  margin-top: 26px;
  width: 100%;
}
.native-ad iframe {
  width: 100%;
  background: transparent;
}
.native-ad > p {
  margin-bottom: 8px;
}
.side-ad {
  display: none;
  position: absolute;
  left: -164px;
  top: var(--ad-top, 300px);
  width: 160px;
  height: 600px;
}
.side-ad > p {
  position: absolute;
  top: -19px;
  left: 0;
  width: 160px;
  text-align: center;
  margin: 0;
}
.side-ad iframe {
  width: 160px;
  height: 600px;
}
footer {
  border-top: 4px solid #070d07;
  padding: 28px 0;
  color: var(--muted);
  font-size: 14px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px 35px;
}
.footer-grid h2 {
  font-size: 20px;
  margin: 0 0 12px;
}
.footer-grid a {
  display: inline-block;
  color: #d1ddc7;
  margin: 0 15px 10px 0;
  min-height: 32px;
}
.footer-grid > p {
  grid-column: 1/-1;
  margin-top: 10px;
}
@media (min-width: 1368px) {
  .side-ad {
    display: block;
  }
}
@media (max-width: 1050px) {
  .desktop-nav {
    gap: 10px;
  }
  .desktop-nav a {
    font-size: 13px;
  }
  .brand {
    font-size: 20px;
  }
  .header-inner {
    gap: 12px;
  }
  .brand svg {
    width: 34px;
    height: 34px;
  }
  .desktop-label {
    display: none;
  }
}
@media (max-width: 820px) {
  .desktop-nav {
    display: none;
  }
  .mobile-menu {
    display: block;
    margin-left: auto;
  }
  .mobile-menu summary {
    display: flex;
    align-items: center;
    min-height: 44px;
    min-width: 44px;
    list-style: none;
    font-size: 15px;
    color: var(--yellow);
  }
  .mobile-menu nav {
    width: min(300px, calc(100vw - 32px));
    max-height: 75vh;
    overflow: auto;
    display: flex;
    flex-direction: column;
    padding: 14px;
  }
  .mobile-menu nav a {
    padding: 9px 8px;
    min-height: 44px;
  }
  .site-search {
    margin-left: 0;
  }
  .site-search summary {
    justify-content: center;
    min-width: 40px;
  }
  .hero-copy {
    padding: 22px;
  }
  .home-hero {
    grid-template-columns: 1fr;
  }
  .field {
    min-height: 250px;
    border-left: 0;
    border-top: 3px solid #0b160a;
  }
  h1,
  .home-hero h1 {
    font-size: 42px;
  }
  h2 {
    font-size: 28px;
  }
  .lede {
    font-size: 18px;
  }
  .header-inner {
    padding: 12px 0;
    min-height: 72px;
    gap: 9px;
  }
  .brand {
    font-size: 19px;
  }
  .brand small {
    font-size: 11px;
  }
  .brand svg {
    width: 32px;
    height: 32px;
  }
  .page-main {
    padding-top: 22px;
  }
  .table-hint {
    display: block;
  }
  .table-wrap table {
    font-size: 15px;
  }
  .table-wrap th {
    padding: 11px 13px;
  }
  .table-wrap td {
    padding: 13px;
  }
  .toc {
    gap: 10px 18px;
  }
  .footer-grid {
    grid-template-columns: 1fr;
  }
  .footer-grid > p {
    grid-column: auto;
  }
  .filter-controls {
    display: grid;
    grid-template-columns: 1fr;
    width: 100%;
  }
  .filter-controls input,
  .filter-controls select {
    width: 100%;
  }
  .filter-controls button {
    justify-self: start;
  }
}
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
}

.search-box h3 {
  font:
    bold 15px Arial,
    sans-serif;
  margin: 14px 0 8px;
  color: var(--muted);
}
.search-box li[data-search-group] {
  list-style: none;
}
.search-box li[data-search-group] ul {
  max-height: none;
  overflow: visible;
  padding-left: 16px;
}
