body { margin: 0; font-family: "DejaVu Sans", "Noto Sans", "Segoe UI", sans-serif; color: #000; }
nav { display: flex; flex-wrap: wrap; background: hsl(230, 40%, 90%); position: sticky; top: 0; z-index: 3; }
nav a { padding: 8px 14px; color: #000; text-decoration: none; }
nav a:hover, nav a.active { background: hsl(230, 40%, 80%); }
main { padding: 0 16px 24px; }
p, li { line-height: 150%; }
a { color: #1a3a8a; }
.wrap { overflow: auto; max-height: calc(100vh - 170px); border: 1px solid #ccc; }
table.grid { border-collapse: separate; border-spacing: 0; font-size: 12px; }
table.grid th, table.grid td { border-right: 1px solid #e2e2e2; border-bottom: 1px solid #e2e2e2; padding: 1px 3px; text-align: center; white-space: nowrap; }
table.grid thead th { position: sticky; top: 0; background: #f3f3f3; z-index: 2; }
table.grid tbody th { position: sticky; left: 0; background: #f3f3f3; z-index: 1; }
table.grid td.e { color: #777; }
table.grid td.n, .key span.n { background: hsl(140, 45%, 85%); }
table.grid td.c, .key span.c { background: hsl(40, 90%, 85%); }
.key span.e { color: #777; }
table.grid td:hover { outline: 1px solid #000; cursor: pointer; }
table.grid td.pin { outline: 2px solid #1a3a8a; }
.key span { display: inline-block; padding: 0 6px; margin-right: 6px; border: 1px solid #ccc; font-size: 12px; }
#info { min-height: 3em; font-size: 13px; }
table.list { border-collapse: collapse; display: block; overflow-x: auto; max-width: 100%; }
table.list th, table.list td { border-bottom: 1px solid #ccc; padding: 3px 10px; text-align: left; }
