/* Keep the original document's table layout, typography and bitmap artwork. */
html { color-scheme: light; }
body { color: #000; }
a:focus-visible, input:focus-visible, select:focus-visible, button:focus-visible { outline: 2px solid #0045a2; outline-offset: 3px; }
.shell { margin: 0; height: 100vh; height: 100dvh; display: flex; flex-direction: column; background: url('../images/back.jpg'); }
.shell-header { height: 99px; flex: 0 0 99px; margin-left: 40px; }
.shell-header table { width: 85%; border-spacing: 0; }
.shell-header td { width: 33%; padding: 0; }
.shell-header img { display: block; width: 531px; height: 99px; border: 0; }
.shell iframe { border: 0; flex: 1 1 auto; width: 100%; min-height: 0; }
.shell nav { min-height: 27px; text-align: center; box-sizing: border-box; padding: 3px 8px; }
.shell nav a { margin-right: 4px; }
.archive-search { width: 630px; max-width: 100%; margin: 20px 0; box-sizing: border-box; border: 1px solid #808080; padding: 12px; background: #f0f0f0; }
.archive-search h1 { color: #0045a2; font-size: 20px; margin: 0 0 12px; }
.search-controls { display: flex; flex-wrap: wrap; gap: 10px; align-items: end; }
.search-controls label { display: flex; flex-direction: column; gap: 4px; }
.search-controls input { width: 230px; max-width: 100%; }
.search-controls input, .search-controls select, .search-controls button { font: inherit; min-height: 30px; box-sizing: border-box; }
.search-results { padding-left: 24px; }
.search-results li { margin: 12px 0; }
.result-meta { display: block; color: #444; font-size: 13px; margin-top: 3px; }
.archive-note { font-size: 14px; color: #444; }
.page-nav { margin: 24px 0; }
.page-nav a { margin-right: 12px; }
[hidden] { display: none !important; }
@media (max-width: 700px) {
  .shell-header { margin-left: 8px; height: auto; flex-basis: auto; }
  .shell-header table { width: 100%; }
  .shell-header td:empty { display: none; }
  .shell-header img { max-width: 100%; height: auto; }
  .shell nav { font-size: 14px; }
  body:not(.shell) { margin-left: 12px; margin-right: 12px; }
  .archive-search { width: 100%; }
  /* Original wide tables remain horizontally scrollable, preserving code/images. */
}
@media print { .page-nav, .search-controls, .shell-header, .shell nav { display: none; } }
