.senate-reader-page {
  margin: 0;
  background: #0e0e10;
  color: #f0eee6;
  color-scheme: dark;
}
.reader-skip { position: fixed; top: -90px; right: 20px; z-index: 20; padding: 14px; background: #fff; color: #111; }
.reader-skip:focus { top: 10px; }
.reader-header {
  display: flex; align-items: center; justify-content: space-between; gap: 24px;
  min-height: 72px; padding: 12px max(24px, calc((100vw - 1264px) / 2));
  border-bottom: 1px solid #38383a; background: #141414;
}
.reader-brand { flex-shrink: 0; font: 900 30px/1.2 'Heebo', Arial, sans-serif; letter-spacing: -.06em; color: #f1ecdc; text-decoration: none; }
.reader-brand span { color: #c91b15; }
.reader-header nav { display: flex; gap: 25px; font-size: 13px; }
.reader-header nav a { color: #c6c8ba; text-decoration: none; }
.reader-header nav a:hover { color: #fff; }
.senate-reader-page main { width: min(1264px, calc(100% - 48px)); margin: 0 auto; }
.reader-intro { display: flex; align-items: center; justify-content: space-between; gap: 28px; padding: 28px 0 23px; }
.reader-eyebrow { margin-bottom: 8px; color: #a6ac9c; font-size: 11px; }
.reader-intro h1 { font: 900 clamp(26px, 3vw, 38px)/1.25 'Heebo', Arial, sans-serif; letter-spacing: -.04em; color: #f2eedf; }
.reader-intro h1 span { display: inline-block; }
.reader-subtitle { margin-top: 9px; font-size: 12px; line-height: 1.7; color: #a9afa2; }
.reader-download { display: flex; flex-direction: column; gap: 5px; padding: 13px 20px; background: #c91b15; color: #e25450; font-size: 13px; font-weight: 700; text-decoration: none; flex-shrink: 0; }
.reader-download span { font-size: 11px; font-weight: 400; text-align: right; }
.reader-download:hover { background: #c91b15; color: #fff; }
.reader-quicklinks { display: flex; align-items: center; flex-wrap: wrap; gap: 9px; padding: 0 0 20px; }
.reader-quicklinks > span { margin-inline-end: 7px; font-size: 11px; color: #a1a999; }
.reader-quicklinks a { display: inline-flex; align-items: center; flex-wrap: wrap; gap: 7px; padding: 9px 12px; border: 1px solid #414144; color: #dadbd0; font-size: 11px; line-height: 1.4; text-decoration: none; }
.reader-quicklinks small { color: #919b88; font-size: 10px; }
.reader-quicklinks a:hover, .reader-quicklinks a[aria-current='page'] { color: #fff; background: #303031; border-color: #928875; }
.reader-workspace { border: 1px solid #404044; background: #1a1a1b; }
.reader-toolbar { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 13px 15px; border-bottom: 1px solid #3e3e42; background: #202022; }
.reader-page-controls, .reader-zoom-controls, .reader-page-form { display: flex; align-items: center; gap: 9px; min-width: 0; }
.reader-toolbar button { display: inline-flex; align-items: center; justify-content: center; gap: 7px; min-height: 36px; min-width: 36px; padding: 7px 10px; border: 1px solid #515a46; border-radius: 0; color: #e8e8dc; background: #333b2d; font-size: 12px; line-height: 1.3; }
.reader-toolbar button:hover:not(:disabled) { border-color: #949d80; background: #46513b; }
.reader-toolbar button:disabled { opacity: .4; }
.reader-toolbar button[aria-pressed='true'] { border-color: #9a9f85; color: #fff9e6; }
.reader-page-form { white-space: nowrap; font-size: 12px; }
.reader-page-form label { color: #cbd0c2; }
.reader-page-form input { width: 62px; min-height: 36px; padding: 6px; border: 1px solid #788164; border-radius: 0; background: #131810; color: #fff; font-size: 14px; text-align: center; direction: ltr; appearance: textfield; -moz-appearance: textfield; }
.reader-page-form input::-webkit-inner-spin-button, .reader-page-form input::-webkit-outer-spin-button { -webkit-appearance: none; margin: 0; }
#reader-page-total { color: #b2bba5; font-size: 11px; }
.reader-zoom-controls { gap: 6px; }
#reader-zoom-value { min-width: 58px; max-width: 90px; color: #c5cdba; font-size: 10px; text-align: center; line-height: 1.4; }
#reader-fit { margin-inline-start: 6px; font-size: 11px; }
.reader-status-row { display: flex; justify-content: space-between; gap: 14px; padding: 9px 17px; color: #b2bda6; font-size: 10px; line-height: 1.6; background: #191f16; }
#reader-page-label { color: #d6d8c3; text-align: left; }
.reader-stage { position: relative; min-height: 480px; max-height: 78vh; overflow: auto; background: #434d37; overscroll-behavior: contain; scrollbar-color: #86906e #303926; }
.reader-stage:focus-visible { outline-offset: -4px; }
.reader-canvas-wrap { width: max-content; min-width: 100%; padding: 26px; }
#reader-canvas { display: block; margin: 0 auto; max-width: none; background: #fff; box-shadow: 0 3px 16px #0c100d55; }
.reader-stage[aria-busy='true'] #reader-canvas { opacity: .35; }
.reader-loading { position: absolute; inset: 0; display: flex; flex-direction: column; justify-content: center; align-items: center; gap: 16px; min-height: 270px; padding: 28px; color: #fffbe9; font-size: 14px; text-align: center; pointer-events: none; }
.reader-loading-mark { display: block; width: 32px; height: 32px; border: 2px solid #86936d; border-top-color: #fff4d6; border-radius: 50%; animation: reader-spin .8s linear infinite; }
#reader-progress { width: 160px; height: 5px; accent-color: #ece3c4; }
.reader-error { padding: 28px; border-block: 1px solid #c91b15; background: #36291f; color: #f1e4cc; }
.reader-error h2 { margin-bottom: 10px; font: 800 25px/1.3 'Heebo', Arial, sans-serif; }
.reader-error p { margin-bottom: 17px; font-size: 13px; line-height: 1.8; }
.reader-error a { display: inline-block; margin-inline-end: 18px; color: #fff3d7; font-size: 13px; text-underline-offset: 4px; }
.reader-error button { padding: 8px 14px; border: 1px solid #a27e5b; border-radius: 0; color: #f9edd5; background: transparent; font-size: 12px; }
.reader-text-alternative { border-top: 1px solid #424e36; padding: 14px 18px; background: #22291c; }
.reader-text-alternative summary { color: #c0cab2; font-size: 12px; cursor: pointer; }
.reader-text-alternative p { margin-top: 13px; color: #a9b29d; font-size: 12px; line-height: 1.8; }
.reader-text-alternative pre { margin: 14px 0 0; max-height: 400px; overflow: auto; white-space: pre-wrap; overflow-wrap: anywhere; font: 14px/1.8 Arial, sans-serif; color: #e6e9dd; }
.reader-text-alternative pre:empty { display: none; }
.reader-footer { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 15px 24px; padding: 20px 0 30px; color: #979f8c; font-size: 10px; line-height: 1.7; }
.reader-footer a { color: #b8c0aa; text-underline-offset: 4px; }
@keyframes reader-spin { to { transform: rotate(360deg); } }
@media(max-width: 950px) {
  .reader-toolbar { flex-wrap: wrap; gap: 12px; }
  .reader-page-controls { flex: 1 1 auto; }
  .reader-zoom-controls { flex: 0 0 auto; }
  .reader-control-word { display: none; }
}
@media(max-width: 640px) {
  .reader-header { min-height: 62px; padding: 12px 18px; gap: 16px; }
  .reader-brand { font-size: 25px; }
  .reader-header nav { font-size: 10px; gap: 15px; }
  .reader-header nav a:first-child { display: none; }
  .senate-reader-page main { width: calc(100% - 28px); }
  .reader-intro { align-items: flex-start; flex-direction: column; gap: 17px; padding-top: 23px; }
  .reader-eyebrow { font-size: 10px; }
  .reader-intro h1 { font-size: 29px; }
  .reader-subtitle { font-size: 11px; }
  .reader-download { flex-direction: row; align-items: center; gap: 20px; padding: 12px 15px; font-size: 12px; }
  .reader-quicklinks { gap: 7px; padding-bottom: 17px; }
  .reader-quicklinks > span { flex-basis: 100%; margin-bottom: 1px; font-size: 10px; }
  .reader-quicklinks a { gap: 5px; padding: 8px 9px; font-size: 10px; }
  .reader-quicklinks small { font-size: 9px; }
  .reader-toolbar { padding: 11px 9px; gap: 11px; }
  .reader-page-controls { justify-content: space-between; gap: 6px; width: 100%; }
  .reader-toolbar button { min-width: 33px; min-height: 35px; padding: 7px; font-size: 11px; }
  .reader-page-form { gap: 6px; font-size: 11px; }
  .reader-page-form input { width: 47px; min-height: 35px; font-size: 13px; }
  #reader-page-total { font-size: 10px; }
  .reader-zoom-controls { width: 100%; justify-content: center; border-top: 1px solid #434e36; padding-top: 10px; }
  .reader-status-row { padding: 8px 11px; flex-wrap: wrap; gap: 2px 10px; font-size: 9px; }
  .reader-stage { min-height: 300px; max-height: 72vh; }
  .reader-canvas-wrap { padding: 13px; }
  .reader-loading { font-size: 12px; }
  .reader-error { padding: 22px 17px; }
  .reader-error h2 { font-size: 21px; }
  .reader-text-alternative { padding: 12px; }
  .reader-text-alternative summary { font-size: 11px; }
  .reader-footer { font-size: 9px; }
}
@media(prefers-reduced-motion: reduce) { .reader-loading-mark { animation: none; } }
.reader-update-note { margin: 0 24px 24px; padding: 16px 20px; border-inline-start: 3px solid #c91b15; background: #8881; font-size: 15px; line-height: 1.8; }
.reader-update-note a { color: inherit; text-decoration: underline; text-underline-offset: 4px; }
