:root {
  color-scheme: light;
  --ink: #17262d;
  --muted: #586a72;
  --line: #d8e0e3;
  --soft: #f4f7f8;
  --brand: #176581;
  --brand-dark: #123f52;
  --accent: #c44e35;
  --focus: #f1b63d;
}

* { box-sizing: border-box; }
html { color-scheme: light; background: #fff; }
body {
  margin: 0;
  color: var(--ink);
  background: #fff;
  font: 15px/1.55 -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif;
  letter-spacing: 0;
}
a { color: var(--brand); text-decoration-thickness: 1px; text-underline-offset: 2px; }
a:hover { color: #0f5068; }
a:focus-visible, input:focus-visible, button:focus-visible {
  outline: 3px solid var(--focus);
  outline-offset: 2px;
}
.skip {
  position: absolute;
  top: -64px;
  left: 12px;
  z-index: 20;
  padding: 9px 12px;
  color: var(--ink);
  background: #fff;
}
.skip:focus { top: 12px; }
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}
.container, .header-inner { width: min(1180px, calc(100% - 36px)); margin: 0 auto; }
.site-header { color: #fff; background: var(--brand-dark); border-bottom: 4px solid var(--accent); }
.header-inner { min-height: 76px; display: flex; gap: 24px; align-items: center; }
.brand { display: flex; flex: 0 0 auto; gap: 10px; align-items: center; color: #fff; text-decoration: none; }
.brand:hover { color: #fff; text-decoration: none; }
.brand-mark {
  display: grid;
  width: 38px;
  height: 38px;
  place-items: center;
  border: 2px solid rgba(255, 255, 255, .9);
  border-radius: 4px;
  color: #fff;
  font-size: 16px;
  font-weight: 800;
}
.brand strong { display: block; font-size: 20px; line-height: 1.05; }
.brand small { display: block; margin-top: 3px; color: #c9d9df; font-size: 11px; }
.site-header nav { display: flex; gap: 18px; }
.site-header nav a { color: #fff; font-weight: 600; text-decoration: none; }
.site-header nav a:hover { text-decoration: underline; }
.header-search { display: flex; flex: 1 1 380px; gap: 6px; justify-content: flex-end; margin-left: auto; }
input[type=search], input[type=text] {
  min-height: 42px;
  min-width: 260px;
  padding: 8px 11px;
  border: 1px solid #aebdc3;
  border-radius: 4px;
  color: var(--ink);
  background: #fff;
  font: inherit;
}
button {
  min-height: 42px;
  padding: 8px 15px;
  border: 1px solid #fff;
  border-radius: 4px;
  color: #fff;
  background: var(--brand);
  font: inherit;
  font-weight: 700;
  cursor: pointer;
}
button:hover { background: #0f526a; }
main { min-height: 62vh; padding-top: 34px; padding-bottom: 56px; }
h1, h2, h3 { color: var(--ink); letter-spacing: 0; }
h1 { max-width: 900px; margin: 0 0 10px; font-size: 36px; line-height: 1.15; }
h2 { margin: 34px 0 12px; font-size: 23px; line-height: 1.25; }
h3 { font-size: 17px; }
.lede { max-width: 820px; margin: 0 0 18px; color: var(--muted); font-size: 17px; }
.eyebrow { margin-bottom: 7px; color: var(--accent); font-size: 12px; font-weight: 800; text-transform: uppercase; }
.stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0;
  margin: 30px 0 38px;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.stat { padding: 19px 20px; background: #fff; }
.stat + .stat { border-left: 1px solid var(--line); }
.stat strong { display: block; color: var(--brand-dark); font-size: 27px; line-height: 1.2; }
.stat span { color: var(--muted); }
.columns { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 30px; }
.panel { min-width: 0; border-top: 3px solid var(--brand); }
.panel h2 { margin-top: 13px; }
.table-wrap { max-width: 100%; overflow-x: auto; border: 1px solid var(--line); border-radius: 4px; background: #fff; }
table { width: 100%; border-collapse: collapse; }
th, td { padding: 10px 12px; text-align: left; vertical-align: top; border-bottom: 1px solid var(--line); }
th { color: #2c3d45; background: var(--soft); font-size: 13px; font-weight: 800; white-space: nowrap; }
tbody tr:nth-child(even) { background: #fbfcfc; }
tbody tr:hover { background: #f1f6f7; }
tr:last-child td { border-bottom: 0; }
.type { color: var(--muted); font-size: 12px; font-weight: 800; text-transform: uppercase; }
.breadcrumbs ol { display: flex; flex-wrap: wrap; gap: 7px; margin: 0 0 20px; padding: 0; list-style: none; color: var(--muted); font-size: 13px; }
.breadcrumbs li + li::before { content: "/"; margin-right: 7px; color: #8b9aa0; }
.pager { display: flex; justify-content: space-between; margin: 22px 0; }
.pager a { padding: 8px 12px; border: 1px solid var(--line); border-radius: 4px; text-decoration: none; }
.empty { padding: 17px 19px; border-left: 4px solid var(--accent); background: var(--soft); }
.empty p { margin: 0; }
.search-form { display: flex; gap: 8px; max-width: 780px; margin: 20px 0 32px; }
.search-form input { flex: 1; }
.site-footer { padding: 30px 0; color: #dce7eb; background: var(--brand-dark); }
.site-footer p { max-width: 700px; margin: 6px 0 0; }
.site-footer a { color: #fff; }
.footer-grid { display: grid; grid-template-columns: 1fr auto; gap: 32px; align-items: start; }
.footer-grid nav { display: flex; gap: 16px; }
.document-preview { margin-top: 28px; }
.pdf-toolbar {
  display: flex;
  gap: 18px;
  align-items: center;
  justify-content: space-between;
  padding: 10px 12px;
  border: 1px solid var(--line);
  border-bottom: 0;
  background: var(--soft);
}
.pdf-toolbar h2 { margin: 0; font-size: 18px; }
.pdf-controls { display: flex; gap: 7px; align-items: center; }
.pdf-controls button {
  display: grid;
  width: 42px;
  min-width: 42px;
  padding: 0;
  place-items: center;
  border-color: var(--brand);
  font-size: 20px;
  line-height: 1;
}
.pdf-controls label { display: flex; gap: 6px; align-items: center; white-space: nowrap; }
.pdf-controls input {
  width: 58px;
  min-height: 42px;
  padding: 6px;
  border: 1px solid #aebdc3;
  border-radius: 4px;
  color: var(--ink);
  background: #fff;
  font: inherit;
  text-align: center;
}
.pdf-file-link {
  display: inline-flex;
  min-height: 42px;
  padding: 8px 12px;
  align-items: center;
  border: 1px solid var(--brand);
  border-radius: 4px;
  background: #fff;
  font-weight: 700;
  text-decoration: none;
}
.pdf-stage {
  display: grid;
  height: clamp(520px, 78vh, 940px);
  min-width: 0;
  padding: 16px;
  overflow: auto;
  place-items: start center;
  border: 1px solid #b9c5ca;
  background: #e8edef;
  overscroll-behavior: contain;
}
.pdf-stage canvas {
  display: block;
  max-width: none;
  background: #fff;
  box-shadow: 0 2px 10px rgba(23, 38, 45, .18);
}
.pdf-status { margin: 20px auto; color: var(--muted); }
.document-metadata { margin-top: 34px; }
.metadata-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  margin: 0;
  border-top: 1px solid var(--line);
}
.metadata-grid > div { display: grid; grid-template-columns: minmax(120px, .4fr) minmax(0, 1fr); border-bottom: 1px solid var(--line); }
.metadata-grid dt, .metadata-grid dd { margin: 0; padding: 9px 11px; }
.metadata-grid dt { color: #2c3d45; background: var(--soft); font-weight: 700; }
.metadata-grid dd { min-width: 0; overflow-wrap: anywhere; }
.metadata-hash { grid-column: 1 / -1; }
.filing-description { max-width: 920px; margin-top: 16px; }
.filing-form-section { margin-top: 34px; }
.form-details {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  margin: 0;
  border-top: 1px solid var(--line);
}
.form-details > div { min-width: 0; border-bottom: 1px solid var(--line); }
.form-details dt, .form-details dd { margin: 0; padding: 8px 11px; }
.form-details dt { color: #2c3d45; background: var(--soft); font-size: 13px; font-weight: 700; }
.form-details dd { overflow-wrap: anywhere; }

@media (max-width: 820px) {
  .header-inner { align-items: stretch; flex-direction: column; gap: 11px; padding: 14px 0; }
  .site-header nav { gap: 16px; overflow-x: auto; padding-bottom: 2px; }
  .header-search { flex: 0 0 auto; width: 100%; margin-left: 0; }
  .header-search input { flex: 1; min-width: 0; }
  h1 { font-size: 29px; }
  .stats, .columns { grid-template-columns: 1fr; }
  .stats { gap: 0; }
  .stat { padding: 14px 4px; }
  .stat + .stat { border-top: 1px solid var(--line); border-left: 0; }
  .table-wrap table { min-width: 600px; }
  .search-form { flex-direction: column; }
  .search-form input { min-width: 0; width: 100%; }
  .footer-grid { grid-template-columns: 1fr; gap: 18px; }
  .pdf-toolbar { align-items: flex-start; flex-direction: column; }
  .pdf-controls { width: 100%; flex-wrap: wrap; }
  .pdf-stage { height: 70vh; min-height: 480px; padding: 10px; }
  .metadata-grid { grid-template-columns: 1fr; }
  .metadata-hash { grid-column: auto; }
  .form-details { grid-template-columns: 1fr; }
}

@media (max-width: 460px) {
  .container, .header-inner { width: min(100% - 24px, 1180px); }
  .site-header nav { font-size: 14px; }
  .header-search { flex-direction: column; }
  h1 { font-size: 26px; overflow-wrap: anywhere; }
  h2 { font-size: 20px; }
  main { padding-top: 26px; }
  .footer-grid nav { flex-wrap: wrap; }
  .pdf-controls label { order: -1; width: 100%; }
  .pdf-stage { min-height: 420px; }
  .metadata-grid > div { grid-template-columns: minmax(96px, .42fr) minmax(0, 1fr); }
}

@media print {
  .site-header, .site-footer, .skip, .search-form, .pager { display: none !important; }
  body { color: #000; font-size: 11pt; }
  main { padding: 0; }
  a { color: #000; text-decoration: underline; }
  .table-wrap { overflow: visible; border-color: #999; }
  table { min-width: 0 !important; }
}
