:root { color-scheme:light; background:#f6f3eb; color:#202020; font:1rem/1.5 system-ui,sans-serif; }
* { box-sizing:border-box; }
body { margin:0; }
main { max-width:66rem; margin:auto; padding:clamp(1rem,4vw,2.5rem); }
.edition { border-top:4px solid #35463d; display:grid; grid-template-columns:1fr minmax(5.25rem,8rem); gap:1rem; align-items:center; padding:1.1rem 0; }
.edition p { margin:.35rem 0; }
.byline { color:#395347; font-size:.83rem; font-weight:750; letter-spacing:.13em; }
h1 { font:700 clamp(1.9rem,7vw,4.25rem)/1 Georgia,serif; letter-spacing:-.035em; margin:.3rem 0 .6rem; }
.scope { font-weight:700; }
.cover img { width:100%; height:auto; display:block; }
a { color:#185039; text-underline-offset:.13em; }
.lookup { display:grid; grid-template-columns:minmax(0,1fr) auto auto; gap:.65rem; align-items:end; margin-bottom:.5rem; }
label { display:block; font-size:.83rem; font-weight:650; margin-bottom:.3rem; }
input,select,button { font:inherit; min-height:2.65rem; border:1px solid #6a756d; border-radius:.25rem; background:#fffdf8; color:inherit; padding:.5rem .67rem; }
input,select { width:100%; }
button { cursor:pointer; }
button:disabled { cursor:default; opacity:.55; }
:focus-visible { outline:2px solid #006549; outline-offset:2px; }
#status { grid-column:1/-1; color:#3c5042; font-size:.86rem; margin:.15rem 0; }
table { width:100%; table-layout:fixed; border-collapse:collapse; background:#fffdf8; }
th,td { padding:.55rem .48rem; border-bottom:1px solid #dcd8ca; vertical-align:top; text-align:left; overflow-wrap:anywhere; }
th { font-size:.81rem; background:#e8ebdf; }
th:first-child { width:6rem; }
th:nth-child(2) { width:23%; }
td:nth-child(2) { font:1.17rem/1.4 Georgia,serif; }
td:last-child { font-size:.94rem; }
td ul { padding:0; margin:0; list-style:none; }
.qualifier { display:block; color:#46534a; font-size:.8rem; font-style:italic; }
#pages { display:flex; justify-content:space-between; align-items:center; margin:1rem 0; }
#pages[hidden] { display:none; }
.sources { font-size:.88rem; color:#3c5042; border-top:1px solid #dcd8ca; margin-top:1.4rem; }
.sources h2 { font-size:1rem; }
@media(max-width:40rem) {
  .lookup { grid-template-columns:minmax(0,1fr) auto; }
  .lookup>div:first-child { grid-column:1/-1; }
  .edition { grid-template-columns:1fr 5rem; }
  th:first-child { width:4.4rem; }
  th,td { padding:.45rem .36rem; }
}
