:root { --fg: #000; --bg: #fff; --mute: #555; --rule: 1px solid #000; }
* { box-sizing: border-box; }
html, body { margin: 0; background: var(--bg); color: var(--fg); }
body { font-family: "Times New Roman", Times, serif; font-size: 18px; line-height: 1.45; }
a { color: var(--fg); text-decoration: none; border-bottom: 1px solid transparent; }
a:hover { border-bottom: var(--rule); }

header { display: flex; justify-content: space-between; align-items: baseline; max-width: 1000px; margin: 0 auto;
         padding: 22px 24px 10px; border-bottom: var(--rule); }
.brand { font-variant: small-caps; letter-spacing: .06em; font-size: 22px; }
nav a { margin-left: 22px; font-variant: small-caps; letter-spacing: .04em; }
nav a.on { border-bottom: var(--rule); }

main { max-width: 1000px; margin: 0 auto; padding: 18px 24px 80px; }
h1 { font-weight: normal; font-size: 30px; margin: 10px 0 2px; }
h2 { font-weight: normal; font-variant: small-caps; letter-spacing: .05em; font-size: 19px;
     margin: 28px 0 8px; padding-bottom: 2px; border-bottom: var(--rule); }
.meta { color: var(--mute); font-size: 16px; }
.mono, code { font-family: "Times New Roman", Times, serif; font-style: italic; }

table { border-collapse: collapse; width: 100%; font-size: 16.5px; }
th, td { border: var(--rule); padding: 3px 7px; text-align: left; vertical-align: top; }
th { font-weight: normal; font-variant: small-caps; letter-spacing: .04em; }
td.n, th.n { text-align: right; width: 1%; white-space: nowrap; }
tr.row:hover td { background: #000; color: #fff; }
tr.row:hover td a { color: #fff; }
tr.row { cursor: pointer; }

button, select, input, textarea { font: inherit; font-size: 16px; color: var(--fg); background: var(--bg);
  border: var(--rule); border-radius: 0; padding: 2px 8px; outline: none; }
button { cursor: pointer; }
button:hover, button.on { background: #000; color: #fff; }
input[type=number] { width: 4.2em; }
textarea { width: 100%; min-height: 5em; resize: vertical; }
.filters { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; margin: 4px 0 14px; }
.filters label { font-variant: small-caps; color: var(--mute); }

.box { border: var(--rule); padding: 10px 14px; margin: 8px 0; }
.hidden { display: none; }
.reveal { display: block; width: 100%; text-align: left; margin: 6px 0; }
.hint { border: var(--rule); border-top: none; padding: 8px 14px; margin-top: -7px; margin-bottom: 6px; }
ol.hints { list-style: none; padding: 0; margin: 0; }
ul.plain { padding-left: 18px; margin: 4px 0; }
.tags a { margin-right: 12px; font-style: italic; }
.status { display: flex; gap: 0; }
.status button { margin-right: -1px; }
.mark { display: inline-block; width: 1.1em; text-align: center; }
.two { display: grid; grid-template-columns: 1fr 1fr; gap: 0 28px; }
.statement { border: var(--rule); padding: 6px 18px; margin: 8px 0; }
.statement img { max-width: 100%; }
.statement table { width: auto; }
iframe.pdf { width: 100%; height: 80vh; border: var(--rule); }
.small { font-size: 15px; }
.right { float: right; }
hr { border: 0; border-top: var(--rule); margin: 22px 0; }
@media (max-width: 700px) { .two { grid-template-columns: 1fr; } nav a { margin-left: 12px; } }
.ed p { margin: 0 0 .7em; } .ed ol, .ed ul { margin: 0 0 .7em; padding-left: 22px; } .ed h3 { font-weight: normal; font-variant: small-caps; font-size: 18px; margin: 14px 0 4px; } .ed .katex-display { margin: .5em 0; }
