.cWiki {
  --cw-ink: #21332b;
  --cw-muted: #546257;
  --cw-link: #285944;
  --cw-paper: #f7f6f0;
  --cw-well: #eaece3;
  --cw-rule: #cbd0c2;
  --cw-strong: #8e9a89;
  --cw-serif: var(--cc-serif, "Iowan Old Style", Charter, Baskerville, Georgia, serif);
  --cw-mono: ui-monospace, SFMono-Regular, Consolas, monospace;
  color: var(--cw-ink);
  font: .92rem/1.48 -apple-system, BlinkMacSystemFont, "Segoe UI", system-ui, sans-serif;
  -webkit-text-size-adjust: 100%;
}
body.cWiki { margin: 0; background: var(--cw-paper); }
.cWiki *, .cWiki *::before, .cWiki *::after { box-sizing: border-box; }
.cWiki :is(h1,h2,h3,p,ul,ol,dl,dd) { margin: 0; }
.cWiki :is(h1,h2) { font-family: var(--cw-serif); font-weight: 550; letter-spacing: -.022em; }
.cWiki h1 { font-size: clamp(1.8rem, 2.9vw, 2.5rem); line-height: 1.12; overflow-wrap: anywhere; }
.cWiki h2 { font-size: 1.4rem; line-height: 1.18; }
.cWiki h3 { font-size: .94rem; line-height: 1.35; }
.cWiki a { color: var(--cw-link); text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: .17em; overflow-wrap: anywhere; }
.cWiki a:hover { text-decoration: underline; text-decoration-thickness: 2px; }
.cWiki :focus-visible { outline: 2px solid var(--cw-link); outline-offset: 2px; }
.cWiki [hidden] { display: none !important; }
.cWiki [id] { scroll-margin-top: 1rem; }
.cWiki small, .cwSectionHead span, .cwCategoryHead span, .cwFold span {
  color: var(--cw-muted); font-size: .75rem; font-weight: 400;
}
.cWiki [id]:target { background-color: var(--cw-well); }
.cWiki .cwSkip:not(:focus) { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); }
.cwSkip:focus { display: inline-block; margin: .35rem; }
.cwIndex, .cwPage main, .cwBar, .cwPage .cwFoot {
  width: 100%; max-width: 76rem; margin-inline: auto; padding-inline: clamp(1rem, 3vw, 2.75rem);
}
.cWiki.cwIndex { padding-block: .9rem 1.5rem; }
.cwBar, .cwCrumbs, .cwCrumbs nav, .cwActions, .cwBar nav, .cwIndexHead, .cwCategoryHead,
.cwSectionHead, .cwFoot, .cwSearch, .cwLetters { display: flex; align-items: center; }
.cwBar { gap: .6rem; padding-block: .38rem; border-bottom: 1px solid var(--cw-rule); }
.cwBar a, .cwCrumbs a, .cwFoot a { text-decoration: none; }
.cwBar a { white-space: nowrap; }
.cwBrand { font: 700 1.3rem/1 var(--cw-serif); letter-spacing: -.055em; }
.cwBar .cwBrand { display: inline-flex; align-items: center; gap: .4rem; color: var(--cw-ink); }
.cwBrand::before { content: ""; width: 1.45rem; height: 1.45rem; background: url(/favicon.svg) center/contain no-repeat; }
.cwBar details { display: none; }
.cwBar a[aria-current] { font-weight: 650; text-decoration: underline; }
.cwBar nav { margin-left: auto; gap: 1rem; font-size: .8rem; }
.cwBar a, .cwCrumbs a, .cwFoot a { padding-block: .27rem; }
.cwCrumbs { justify-content: space-between; flex-wrap: wrap; gap: .35rem 1rem; padding-block: .55rem; font-size: .8rem; color: var(--cw-muted); }
.cwCrumbs nav { gap: .45rem; }
.cwSearch { min-width: 0; }
.cwSearch input, .cwSearch button {
  font: inherit; font-size: .82rem; line-height: 1.25; padding: .43rem .65rem; border: 1px solid var(--cw-strong); border-radius: 0;
}
.cwSearch input { min-width: 0; width: 100%; background: var(--cw-paper); color: var(--cw-ink); border-right: 0; }
.cwSearch input::placeholder { color: var(--cw-muted); opacity: 1; }
.cwSearch button { cursor: pointer; color: var(--cw-paper); background: var(--cw-ink); border-color: var(--cw-ink); }
.cwSearch :focus-visible { position: relative; z-index: 1; }
.cwIndexHead, .cwCategoryHead, .cwEntryHead { border-bottom: 2px solid var(--cw-ink); }
.cwIndexHead { justify-content: space-between; gap: 1rem; padding-bottom: .85rem; }
.cwIndexHead p { margin-top: .25rem; color: var(--cw-muted); font-size: .88rem; }
.cwIndexHead .cwSearch { width: min(31%, 21rem); }
.cwCrumbs .cwSearch { width: min(34%, 19rem); }
.cwCategoryHead { gap: 1rem; align-items: baseline; padding: .25rem 0 .65rem; }
.cwCategoryHead span { white-space: nowrap; }
.cwEntryHead { padding: .25rem 0 .6rem; }
.cwEntryHead h1 { max-width: 48ch; }
.cwEntryHead p { margin: .4rem 0; max-width: 76ch; font-size: 1.02rem; line-height: 1.45; }
.cwActions, .cwFoot { flex-wrap: wrap; gap: .08rem 1rem; }
.cwActions a { padding-block: .2rem; font-weight: 550; font-size: .8rem; }
.cwDirectoryLayout, .cwArticleLayout {
  display: grid; grid-template-columns: minmax(10.25rem, 13rem) minmax(0, 1fr); gap: clamp(1.25rem, 3vw, 3rem); padding-top: .85rem;
}
.cwSidebar { min-width: 0; border-right: 1px solid var(--cw-rule); padding-right: 1rem; }
.cwFold { position: sticky; top: 1rem; }
.cwFold summary { cursor: pointer; font-weight: 660; font-size: .86rem; padding: .25rem 0; }
.cwFold summary::marker { color: var(--cw-muted); }
.cwSubjectGroup { margin: .6rem 0 .8rem; }
.cwSubjectGroup h2 { font: 600 .72rem/1.4 var(--cw-mono); letter-spacing: .025em; color: var(--cw-muted); margin-bottom: .2rem; }
.cwFold nav a { display: flex; align-items: baseline; justify-content: space-between; gap: .3rem; padding: .24rem .3rem .24rem 0; line-height: 1.25; font-size: .85rem; text-decoration: none; }
.cwFold [aria-current="page"] { background: var(--cw-well); font-weight: 650; box-shadow: -.25rem 0 var(--cw-link); }
.cwFold span, .cwCategoryHead span, .cwSectionHead span { font-family: var(--cw-mono); font-variant-numeric: tabular-nums; }
.cwIndexBody, .cwCategoryBody, .cwStory { min-width: 0; }
.cwStart { margin-bottom: 1.05rem; }
.cwStart h2, .cwSectionHead h2, .cwStory h2 { font-size: 1.32rem; }
.cwStart ul { list-style: none; display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 1.25rem; padding: 0; margin: .4rem 0 0; }
.cwStart li { border-top: 1px solid var(--cw-rule); min-width: 0; padding-top: .3rem; }
.cwStart a { display: block; font: 600 1rem/1.25 var(--cw-serif); text-decoration: none; }
.cwStart small { display: block; margin-top: .15rem; }
.cwSectionHead { justify-content: space-between; align-items: baseline; gap: .5rem; }
.cwLetters { gap: .15rem; flex-wrap: wrap; padding: .3rem 0; margin: .25rem 0 0; border-block: 1px solid var(--cw-rule); }
.cwLetters a { display: grid; place-items: center; min-width: 1.65rem; min-height: 1.65rem; padding: 0 .23rem; color: var(--cw-link); font: 600 .82rem/1 var(--cw-mono); text-decoration: none; }
.cwLetters a:is(:hover,:focus-visible) { background: var(--cw-well); text-decoration: underline; }
.cwStatus:not(:empty) { font-size: .83rem; padding-block: .5rem; }
.cwLetterGroup { display: grid; grid-template-columns: 2.5rem minmax(0,1fr); gap: .35rem; border-bottom: 1px solid var(--cw-rule); padding: .6rem 0; }
.cwLetterGroup h3, .cwCatTable .cwDivider th { font: 500 1.35rem/1.2 var(--cw-serif); color: var(--cw-ink); }
.cwLetterGroup ul { list-style: none; margin: 0; padding: 0; columns: 2; column-gap: 1.6rem; }
.cwLetterGroup li { break-inside: avoid; padding: .15rem 0; font-size: .87rem; line-height: 1.38; }
.cwLetterGroup li a { text-decoration: none; }
.cwLetterGroup small { white-space: normal; margin-left: .15em; }
.cwCatTable, .cwEdges { width: 100%; border-collapse: collapse; font-size: .86rem; }
.cwCatTable td, .cwCatTable th, .cwEdges td, .cwEdges th { border-bottom: 1px solid var(--cw-rule); padding: .36rem .4rem; text-align: left; vertical-align: baseline; overflow-wrap: anywhere; }
.cwCatTable thead th, .cwEdges thead th { color: var(--cw-muted); font-weight: 550; font-size: .76rem; }
.cwCatTable th[scope="row"] { font-weight: 500; }
.cwCatTable td, .cwCatTable thead th:not(:first-child) { width: 5.8rem; text-align: right; }
.cwCatTable td { font: .8rem var(--cw-mono); }
.cwCatTable td a { padding: .25rem; }
.cwCatTable .cwDivider th { padding-block: .42rem .22rem; background: var(--cw-well); }
.cwStory { max-width: 57rem; }
.cwStory > section { margin-bottom: 1.1rem; }
.cwStory h2 { border-bottom: 1px solid var(--cw-strong); padding-bottom: .25rem; margin-bottom: .5rem; }
.cwPassage + .cwPassage { margin-top: .75rem; }
.cwPassage p { max-width: 77ch; margin-top: .18rem; }
.cwPassage sup { line-height: 0; font-size: .7rem; }
.cwFacts { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 0 1rem; background: var(--cw-well); padding: .3rem .65rem; margin: 0 0 .95rem!important; }
.cwFacts div { display: grid; grid-template-columns: minmax(4.7rem, .36fr) 1fr; gap: .55rem; padding-block: .24rem; align-content: start; }
.cwFacts dt { color: var(--cw-muted); font-size: .78rem; }
.cwFacts dd { font-size: .84rem; overflow-wrap: anywhere; }
.cwEdges th:first-child { width: 25%; }
.cwEdges td:first-child { color: var(--cw-muted); }
.cwEdges :is(td,th):last-child:not(:only-child) { width: 4.5rem; text-align: right; }
.cwReferences { padding-left: 1.8rem; font-size: .87rem; }
.cwReferences li { padding: .25rem 0 .25rem .1rem; border-bottom: 1px solid var(--cw-rule); }
.cwReferences li::marker { color: var(--cw-muted); font: .76rem var(--cw-mono); }
.cwReferences small { overflow-wrap: anywhere; margin-left: .22em; }
.cwFoot { margin-top: 1.2rem; border-top: 1px solid var(--cw-rule); padding-block: .6rem; font-size: .8rem; }
:root[data-look="orange-dark"] .cwIndex {
  --cw-ink: var(--ink); --cw-paper: var(--ground); --cw-muted: var(--muted);
  --cw-link: var(--action); --cw-rule: var(--rule); --cw-well: var(--well); --cw-strong: var(--rule-strong);
}
@media (max-width: 48rem) {
  .cwBar { flex-wrap: wrap; gap: .12rem .5rem; }
  .cwBar details { display: block; margin-left: auto; }
  .cwBar summary { cursor: pointer; font-size: .85rem; padding: .32rem .65rem; border: 1px solid var(--cw-rule); border-radius: .25rem; }
  .cwBar details:not([open]) + nav { display: none; }
  .cwBar nav { width: 100%; display: grid; grid-template-columns: 1fr 1fr; gap: 0 1rem; padding-block: .25rem; }
  .cwBar nav a { padding: .48rem .25rem; border-top: 1px solid var(--cw-rule); }

  .cwDirectoryLayout, .cwArticleLayout { display: block; padding-top: .35rem; }
  .cwSidebar { padding: 0; border: 0; }
  .cwFold { position: static; padding-bottom: .25rem; margin-bottom: .65rem; border-bottom: 1px solid var(--cw-rule); }
  .cwFold summary { padding-block: .42rem; }
  .cwSubjects nav { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 0 1.2rem; }
  .cwSubjectGroup { margin: .25rem 0 .6rem; }
  .cwIndexHead, .cwStart ul { gap: .5rem; }
  .cwIndexHead { display: block; }
  .cwIndexHead .cwSearch { margin-top: .55rem; width: min(100%, 30rem); }
  .cwStart li { padding-top: .25rem; }
  .cwLetterGroup ul { columns: 1; }
  .cwLetterGroup { grid-template-columns: 2rem minmax(0,1fr); }
  .cwLetterGroup li { padding-block: .24rem; }
  .cwFacts { grid-template-columns: 1fr; }
  .cwFacts div { grid-template-columns: minmax(6.1rem,.35fr) 1fr; }
  .cwCatTable td, .cwCatTable thead th:not(:first-child) { width: 4rem; }
  .cwCategoryBody .cwLetters { margin-top: 0; }
}
@media (max-width: 34rem) {
  .cwBar .cwBrand { font-size: 1.18rem; }
  .cwCrumbs { display: grid; grid-template-columns: minmax(0,1fr); justify-content: normal; }
  .cwCrumbs .cwSearch { width: 100%; }
  .cwStart ul { grid-template-columns: 1fr; gap: 0; }
  .cwStart li { display: flex; justify-content: space-between; align-items: baseline; gap: .75rem; padding-block: .35rem; }
  .cwStart small { flex: none; margin: 0; }
  .cwLetters { gap: 0; }
  .cwCatTable thead th, .cwEdges thead th { font-size: .75rem; }
  .cwCatTable td, .cwCatTable th, .cwEdges td, .cwEdges th { padding-inline: .18rem; }
  .cwEdges th:first-child { width: 25%; }
  .cwEdges :is(th,td):last-child:not(:only-child) { width: 4rem; font-size: .8rem; white-space: nowrap; }
}
.cwEdges th[scope="row"] { font-weight: 500; }
.cwContents { position: sticky; top: 1rem; }
.cwContents h2 { font-family: inherit; font-size: .86rem; font-weight: 650; margin: .25rem 0; }
.cwContents a { display: flex; justify-content: space-between; align-items: baseline; padding: .24rem .3rem .24rem 0; font-size: .85rem; text-decoration: none; }
.cwContents span { color: var(--cw-muted); font: .75rem var(--cw-mono); }
@media (max-width: 48rem) {
  .cwContents { position: static; display: flex; flex-wrap: wrap; align-items: baseline; gap: 0 .85rem; border-bottom: 1px solid var(--cw-rule); padding-bottom: .28rem; margin-bottom: .45rem; }
  .cwContents a { gap: .24rem; font-size: .8rem; }
}

.cwEdges .cwRelGroup th { background: var(--cw-well); color: var(--cw-ink); font-size: .82rem; padding-block: .32rem; text-align: left; }
.cwRelGroup span { color: var(--cw-muted); margin-left: .25rem; font: .75rem var(--cw-mono); }
