/* base — reset, grid, provenance apparatus, skip link, focus rings */
*,*::before,*::after{box-sizing:border-box}
html{-webkit-text-size-adjust:100%;text-size-adjust:100%}
body{margin:0}
img{max-width:100%}
.skip{position:absolute;left:8px;top:-80px;z-index:100;padding:8px 12px;background:#111;color:#fff;font:14px/1.2 ui-monospace,Menlo,monospace;text-decoration:underline}
.skip:focus{top:8px}
:focus-visible{outline:3px solid #ffbf47;outline-offset:2px}
.vh{position:absolute!important;width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0);white-space:nowrap}
.grid{display:grid;gap:16px}
@media (min-width:720px){.grid-2{grid-template-columns:1fr 1fr}.grid-3{grid-template-columns:repeat(3,1fr)}}

/* retrofit, 2019: fixed layouts reflow on small screens (WCAG 1.4.10) */
@media (max-width:980px){.wrap{width:auto!important;max-width:100%!important}}
@media (max-width:640px){.side{float:none!important;width:auto!important}.content{margin-left:0!important}}

/* provenance: the same apparatus in every stratum */
body aside.provenance{all:initial;display:block;box-sizing:border-box;max-width:760px;margin:40px auto 24px;padding:14px 16px;border:1px solid #6d6355;background:#f4efe6;color:#1c1a17;font:11px/1.6 ui-monospace,SFMono-Regular,Menlo,Consolas,monospace;text-align:left;clear:both}
body aside.provenance :is(h2,h3,p,dl,dt,dd,ol,ul,li,table,caption,tr,th,td,code,a,span,b){font:inherit;color:inherit;background:none;border:0;margin:0;padding:0;text-shadow:none;text-transform:none;letter-spacing:0;border-radius:0;box-shadow:none;text-align:left;text-decoration:none;list-style:none;float:none;width:auto;height:auto;min-height:0}
body aside.provenance h2{font-weight:700;letter-spacing:.14em;text-transform:uppercase;margin-bottom:8px;color:#6d6355}
body aside.provenance h3{font-weight:700;margin:10px 0 4px;color:#6d6355}
body aside.provenance dl{display:grid;grid-template-columns:max-content 1fr;gap:2px 14px}
body aside.provenance dt{color:#5b5246}
body aside.provenance dd{overflow-wrap:anywhere}
body aside.provenance ol{counter-reset:l}
body aside.provenance ol li{counter-increment:l}
body aside.provenance ol.layers li::before{content:counter(l) ". ";color:#5b5246}
body aside.provenance a{text-decoration:underline;color:#1c1a17}
body aside.provenance .miss{color:#8f1d1d}
body aside.provenance .ok{color:#2f5a2a}
body aside.provenance *:focus-visible{outline:2px solid #8a3f06;outline-offset:2px}
@media (prefers-color-scheme:dark){
  body aside.provenance{background:#1d1a15;color:#ece4d6;border-color:#8a7f70}
  body aside.provenance :is(h2,h3,dt){color:#c9bda9}
  body aside.provenance a{color:#ece4d6}
  body aside.provenance .miss{color:#ff9b8a}
  body aside.provenance .ok{color:#a8d49c}
}
