/* Neutral working stylesheet. The agreed design replaces this file; the markup stays the same. */
:root { --ink: #1e1b18; --muted: #5e574e; --rule: #ddd3c2; --accent: #8a5a2b; --paper: #faf8f3; --link: #8a5a2b; }
* { box-sizing: border-box; }
html { font-size: 18px; }
body { margin: 0; font-family: Georgia, "Times New Roman", serif; line-height: 1.55; color: var(--ink); background: var(--paper); }
a { color: var(--link); }
img { max-width: 100%; height: auto; }
.wrap { max-width: 1080px; margin: 0 auto; padding: 0 20px; }
.visually-hidden, .skip { position: absolute; left: -9999px; }
.skip:focus { left: 8px; top: 8px; background: #fff; padding: 8px; z-index: 10; }

.site-header { border-bottom: 1px solid var(--ink); background: #fff; }
.site-header .wrap { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 28px; padding-top: 14px; padding-bottom: 14px; }
.masthead { display: flex; align-items: center; gap: 14px; text-decoration: none; color: var(--ink); }
.masthead span { display: flex; flex-direction: column; line-height: 1.15; }
.masthead strong { font-size: 1.35rem; font-weight: 600; }
.masthead em { font-size: .9rem; color: var(--muted); }
.site-nav { display: flex; flex-wrap: wrap; gap: 4px 20px; margin-left: auto; font-family: system-ui, Arial, sans-serif; font-size: .9rem; }
.site-nav a { color: var(--ink); text-decoration: none; padding: 6px 0; border-bottom: 2px solid transparent; }
.site-nav a:hover, .site-nav a[aria-current] { border-bottom-color: var(--accent); }
.site-search { display: flex; gap: 6px; font-family: system-ui, Arial, sans-serif; }
.site-search input { font: inherit; padding: 6px 10px; border: 1px solid #bbb; border-radius: 3px; min-width: 200px; }
.site-search button { font: inherit; padding: 6px 12px; border: 1px solid var(--ink); background: var(--ink); color: #fff; border-radius: 3px; cursor: pointer; }

main { padding: 32px 20px 56px; }
.content h1, .content h2, .content h3 { line-height: 1.2; }
.content .center { text-align: center; }
.content .right { text-align: right; }
.content p.title { font-size: 1.6rem; margin: .4em 0; }
table.data { border-collapse: collapse; max-width: 100%; }
table.data td, table.data th { border: 1px solid var(--rule); padding: 5px 10px; vertical-align: top; text-align: left; }
.content table.data { display: block; overflow-x: auto; }

.home .notice { border-left: 4px solid var(--accent); padding: 4px 18px; margin-bottom: 24px; }
.home .notice h2 { margin: 0 0 6px; font-size: 1rem; text-transform: uppercase; letter-spacing: .08em; color: var(--accent); font-family: system-ui, Arial, sans-serif; }
.home .hero img { display: block; width: 100%; max-width: 900px; height: auto; margin: 0 auto; }
.home .hero { margin: 0 0 28px; }
.home-columns { display: flex; flex-wrap: wrap; gap: 40px; }
.home .intro { flex: 999 1 480px; min-width: 0; }
.home-aside { flex: 1 1 260px; min-width: 0; }
.home-aside h2 { font-size: 1rem; text-transform: uppercase; letter-spacing: .08em; color: var(--accent); font-family: system-ui, Arial, sans-serif; margin: 0 0 8px; }
.home-aside section { margin-bottom: 28px; }
ul.plain { list-style: none; padding: 0; margin: 0; }
ul.plain li { padding: 6px 0; border-top: 1px solid var(--rule); font-size: .95rem; }
.date { color: var(--muted); font-family: system-ui, Arial, sans-serif; font-size: .85rem; margin-right: 6px; white-space: nowrap; }

.yearlinks a { display: inline-block; margin: 0 10px 6px 0; }
.newsletter-years th { white-space: nowrap; }
.update-log td.date { white-space: nowrap; color: var(--muted); }
.eventlist dt { font-weight: 600; margin-top: 14px; }
.eventlist dd { margin: 2px 0 0; }
.eventlist.past { color: var(--muted); }

.document .docmeta { color: var(--muted); font-family: system-ui, Arial, sans-serif; font-size: .9rem; }
.document .actions .button { display: inline-block; background: var(--ink); color: #fff; padding: 8px 14px; text-decoration: none; border-radius: 3px; margin-right: 12px; }
.document .viewer { margin: 18px 0; border: 1px solid var(--rule); }
.document .viewer object { display: block; }
.doctext summary { cursor: pointer; font-weight: 600; }
.doctext .extracted { font-size: .95rem; max-height: 60vh; overflow: auto; border: 1px solid var(--rule); padding: 12px 16px; background: #fff; }
.doclist h2 small { color: var(--muted); font-weight: normal; }
.crumbs { font-family: system-ui, Arial, sans-serif; font-size: .9rem; color: var(--muted); }

.site-footer { border-top: 1px solid var(--ink); padding: 20px 0 36px; font-size: .9rem; color: var(--muted); background: #fff; }
.site-footer p { margin: 4px 0; }

@media (max-width: 640px) {
  html { font-size: 17px; }
  .site-search input { min-width: 0; flex: 1; }
  .site-search { width: 100%; }
}
@media print {
  .site-header, .site-footer, .site-search, .viewer, .actions { display: none; }
  body { background: #fff; }
}
