body.locke-page .mast,
body.locke-page .top { padding-right: 18px; }
body.locke-page { padding-bottom: 64px; }
.locke-mast .legend { max-width: 72rem; }
.locke-top { flex-wrap: wrap; gap: 10px 16px; }
.locke-nav { display: flex; flex-wrap: wrap; gap: 14px; align-items: center; }

main.locke-main { padding: 8px 18px 48px; }
.page-note {
  margin: 8px 0 14px;
  max-width: 82ch;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.45;
}

.scroll { overflow-x: auto; padding-bottom: 8px; }

.sheet {
  --paper: #f3ecdf;
  --ink: #1c1612;
  --rule: #2a241c;
  --faint: #8a7d6c;
  min-width: 1080px;
  background: var(--paper);
  color: var(--ink);
  border: 1px solid #c8bba6;
  font-family: var(--serif);
  font-size: 14px;
  line-height: 1.3;
}
.sheet a { color: #6b4e16; }

.spread {
  display: grid;
  grid-template-columns: 1fr 1fr;
}
.spread article { padding: 14px 16px 8px; min-width: 0; }
.spread article + article { border-left: 1px solid var(--rule); }
.half {
  margin: 0;
  font-family: var(--sans);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.01em;
}
.spread .sub { margin: 2px 0 10px; font-size: 13.5px; }

.pair {
  display: grid;
  grid-template-columns: 108px 1fr;
  border: 1px solid var(--rule);
}
.emps {
  margin: 0;
  padding: 8px;
  list-style: none;
  border-right: 1px solid var(--rule);
  font-family: var(--sans);
  font-size: 12px;
}
.emps li { margin: 7px 0; }
.spine {
  writing-mode: vertical-rl;
  transform: rotate(180deg);
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
}
.seals { padding: 8px 10px; }
.seals p { margin: 0 0 8px; }
.brace {
  margin: 0 0 10px;
  padding: 6px 8px 6px 12px;
  border-left: 2px solid var(--rule);
}
.n {
  font-family: var(--sans);
  font-size: 12px;
  font-weight: 600;
}
.right-nums {
  margin: 0 0 8px;
  color: var(--faint);
  font-family: var(--sans);
  letter-spacing: 0.4em;
}

.churches, .cols {
  display: grid;
  grid-template-columns: 118px repeat(7, 1fr);
  border-top: 1px solid var(--rule);
}
.churches span, .cols > * {
  min-width: 0;
  padding: 7px 8px;
  border-left: 1px solid var(--rule);
}
.churches span:first-child, .cols > *:first-child { border-left: 0; }
.who {
  font-family: var(--sans);
  font-size: 12px;
  font-weight: 600;
}
.churches { border-top: 2px solid var(--rule); }
.churches .ch {
  text-align: center;
  font-variant: small-caps;
  letter-spacing: 0.04em;
}

.cols p { margin: 0; }
.cols .series {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 8px;
  min-height: 180px;
}
.cols ol {
  margin: 4px 0;
  padding: 0;
  list-style: none;
  font-family: var(--sans);
  font-size: 13px;
}
.cols ol li { margin: 2px 0; }
.vlabel {
  font-family: var(--sans);
  font-size: 12px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.dash { border-top: 1px dashed var(--rule); }
.solid { border-top: 2px solid var(--rule); }
.moved-box {
  margin: 0;
  padding: 8px 12px;
  border-top: 1px dashed var(--rule);
  box-shadow: inset 3px 0 0 #8d6b32;
  background: #f7f1e4;
}
.moved-box p { margin: 0; }
.moved-box .vlabel { margin-bottom: 4px; color: #6b4e16; }
.later {
  padding: 10px 12px 12px;
  border-top: 2px solid var(--rule);
  background: #efe6d4;
}
.later > p { margin: 0 0 8px; }
.later .ranges { margin: 8px 0; }
.sheet .scale, .sheet .lane {
  display: grid;
  grid-template-columns: minmax(0, 1260fr) minmax(72px, 30fr) minmax(72px, 45fr);
}
.sheet .scale {
  margin: 0 0 4px;
  color: var(--faint);
  font-family: var(--sans);
  font-size: 10px;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}
.sheet .scale span:nth-child(2),
.sheet .scale span:nth-child(3) {
  padding-left: 6px;
  border-left: 1px solid #c8bba6;
}
.sheet .lane { margin: 4px 0; }
.sheet .lane .fill {
  margin: 0;
  padding: 6px 8px;
  border: 1px solid #8d6b32;
  font-size: 13px;
}
.sheet .y1260 .fill {
  grid-column: 1;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 8px;
  background: #e7d7b0;
}
.sheet .y1290 .fill { grid-column: 1 / 3; background: #d5ddd6; border-color: #5d6e68; }
.sheet .y1335 .fill { grid-column: 1 / 4; background: #ead8cc; border-color: #8a5340; }
.sheet .pin {
  font-family: var(--sans);
  font-size: 10px;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: #6b4e16;
  white-space: nowrap;
}
.sheet .range-note {
  margin: 6px 0 0;
  color: var(--faint);
  font-family: var(--sans);
  font-size: 12px;
  line-height: 1.4;
}
.band {
  padding: 3px 10px;
  border-top: 1px dashed var(--rule);
  font-family: var(--sans);
  font-size: 11px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--faint);
}

.foot {
  margin: 0;
  padding: 10px 12px 12px;
  border-top: 1px solid var(--rule);
  color: var(--faint);
  font-family: var(--sans);
  font-size: 12px;
  line-height: 1.4;
}

@media (max-width: 720px) {
  .spread { display: block; }
  .spread article + article { border-left: 0; border-top: 1px solid var(--rule); }
}
