:root {
  --wits-bg: #f5f4ef;
  --wits-surface: #efefec;
  --wits-paper: #fbfbf8;
  --wits-ink: #111;
  --wits-muted: #5a5a5a;
  --wits-line: #838383;
  --wits-line-soft: #c7c7c2;
  --wits-blue: #0645ad;
  --wits-blue-bar: #0b46ad;
  --wits-blue-bar-dark: #06348b;
  --wits-reading: 820px;
  --wits-shell: 1180px;
  --wits-radius: 0px;
  --wits-system: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif;
  --wits-mono: ui-monospace, SFMono-Regular, Consolas, "Liberation Mono", Menlo, monospace;
}

html { background: var(--wits-bg); scroll-behavior: smooth; }
body.wits-site { margin: 0; background: var(--wits-bg); color: var(--wits-ink); font-family: var(--wits-system); font-size: 16px; line-height: 1.65; }
body.wits-site *, body.wits-site *::before, body.wits-site *::after { box-sizing: border-box; }
body.wits-site a { color: var(--wits-blue); text-decoration-thickness: 1px; text-underline-offset: 3px; }
body.wits-site a:hover { color: #002e78; }
body.wits-site img { max-width: 100%; height: auto; }
body.wits-site button, body.wits-site input, body.wits-site textarea, body.wits-site select { font: inherit; }
body.wits-site code, body.wits-site pre, body.wits-site kbd, body.wits-site samp { font-family: var(--wits-mono); }
body.wits-site .site-content { max-width: none; padding: 0; }
body.wits-site #primary, body.wits-site .content-area { width: 100%; }
body.wits-site .inside-article { padding: 0; background: transparent; }
body.wits-site .entry-content { margin-top: 0; }
body.wits-site .widget-area { display: none; }

.wits-main { display: block; min-height: 50vh; }
.wits-shell { width: min(calc(100% - 36px), var(--wits-shell)); margin-inline: auto; padding-block: 22px 44px; }
.wits-shell--reading { max-width: calc(var(--wits-reading) + 36px); }
.wits-kicker { margin-bottom: 7px; color: #4a4a4a; font-family: var(--wits-mono); font-size: .77rem; font-weight: 700; letter-spacing: .075em; text-transform: uppercase; }
.wits-page-title { margin: 0; color: var(--wits-ink); font-size: clamp(2rem, 5vw, 3.2rem); line-height: 1.08; letter-spacing: -.035em; font-weight: 780; }

.wits-breadcrumbs { margin: 1px 0 24px; overflow-x: auto; color: #575757; font-family: var(--wits-mono); font-size: .78rem; white-space: nowrap; scrollbar-width: thin; }
.wits-breadcrumbs ol { display: flex; align-items: center; gap: 0; margin: 0; padding: 0; list-style: none; }
.wits-breadcrumbs li { display: inline-flex; align-items: center; }
.wits-breadcrumbs li:not(:last-child)::after { content: "\\"; margin: 0 8px; color: #858585; }
.wits-breadcrumbs a { color: var(--wits-blue); }
.wits-breadcrumbs [aria-current="page"] { color: #4f4f4f; }

.wits-prose { color: #202020; font-size: 1.03rem; }
.wits-prose > *:first-child { margin-top: 0; }
.wits-prose h2 { margin: 2.1em 0 .6em; padding-top: .15em; color: #111; font-size: clamp(1.45rem, 3vw, 1.9rem); line-height: 1.25; letter-spacing: -.02em; }
.wits-prose h3 { margin: 1.7em 0 .45em; color: #111; font-size: 1.22rem; line-height: 1.3; }
.wits-prose p, .wits-prose ul, .wits-prose ol { margin: 0 0 1.15em; }
.wits-prose ul, .wits-prose ol { padding-left: 1.4em; }
.wits-prose blockquote { margin: 1.5em 0; padding: .8em 1em; border-left: 3px solid #777; background: #eeeee9; }
.wits-prose code { padding: .08em .28em; border: 1px solid #ccc; background: #f0f0ed; font-size: .92em; }
.wits-prose pre { overflow-x: auto; padding: 16px; border: 1px solid #8e8e8e; background: #ecece8; line-height: 1.55; }
.wits-prose pre code { padding: 0; border: 0; background: none; }
.wits-prose table { width: 100%; margin: 1.5em 0; border-collapse: collapse; font-size: .95rem; }
.wits-prose th, .wits-prose td { padding: 9px 10px; border: 1px solid #999; text-align: left; vertical-align: top; }
.wits-prose th { background: #e4e4df; }
.wits-prose hr { margin: 2.2em 0; border: 0; border-top: 1px solid #999; }

.wits-ui-button, .wits-site-search button { min-height: 43px; padding: 8px 18px; border: 0; border-top: 2px solid #fff; border-left: 2px solid #fff; border-right: 2px solid #5b5b5b; border-bottom: 2px solid #5b5b5b; border-radius: 0; background: #dededb; color: #111; box-shadow: 0 0 0 1px #9c9c9c; font-weight: 700; cursor: pointer; }
.wits-ui-button:hover, .wits-site-search button:hover { background: #f0f0ed; color: #111; }
.wits-site-search { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 10px; max-width: 760px; }
.wits-site-search__input { min-width: 0; min-height: 44px; padding: 8px 11px; border: 1px solid #707070; border-radius: 0; background: #fff; color: #111; font-family: var(--wits-mono); }
.wits-site-search__input:focus { outline: 2px solid var(--wits-blue); outline-offset: 2px; }

.wits-page-links { margin-top: 25px; font-family: var(--wits-mono); font-size: .88rem; }
.navigation.pagination { margin-top: 28px; }
.nav-links { display: flex; flex-wrap: wrap; gap: 6px; }
.nav-links .page-numbers { min-width: 38px; min-height: 38px; display: inline-grid; place-items: center; padding: 5px 9px; border: 1px solid #888; background: #eeeeea; color: #111; text-decoration: none; }
.nav-links .current { border-color: #222; background: #222; color: #fff; }
.nav-links a:hover { background: #fff; color: #000; }

.wits-empty-state { padding: 28px; border: 1px solid #888; background: #ededE9; }
.wits-empty-state h2 { margin-top: 0; }

.screen-reader-text:focus { clip: auto !important; clip-path: none; width: auto; height: auto; padding: 10px 14px; top: 6px; left: 6px; z-index: 100000; background: #fff; color: #000; }

@media (max-width: 680px) {
  .wits-shell { width: min(calc(100% - 18px), var(--wits-shell)); padding-top: 13px; }
  .wits-breadcrumbs { margin-bottom: 17px; }
  .wits-page-title { font-size: clamp(1.9rem, 9vw, 2.7rem); }
  .wits-prose { font-size: 1rem; }
  .wits-site-search { grid-template-columns: 1fr; }
  .wits-site-search button { width: 100%; }
}
