/* The Louisiana Scorecard: direct, source-first and built to be audited. */
@font-face { font-family: "Archivo"; src: url("/fonts/archivo-latin-wght-normal.woff2") format("woff2"); font-weight: 100 900; font-style: normal; font-display: swap; }
@font-face { font-family: "Roboto Mono"; src: url("/fonts/roboto-mono-latin-wght-normal.woff2") format("woff2"); font-weight: 100 700; font-style: normal; font-display: swap; }

body.tac {
  --t-bg: #0d0e10;
  --t-card: #151719;
  --t-card-2: #1b1e21;
  --t-paper: #f1ebe1;
  --t-text: #f5efe6;
  --t-muted: #b8b0a6;
  --t-line: rgba(245, 239, 230, .16);
  --t-line-strong: rgba(245, 239, 230, .28);
  --t-red: #d21920;
  --t-red-dark: #aa1117;
  --t-gold: #e1b83f;
  --t-rep: #eb2830;
  --t-dem: #17a7e0;
  --t-oth: #94979b;
  --g-a: #1f7a48;
  --g-b: #327342;
  --g-c: #d6a72b;
  --g-d: #a64c22;
  --g-f: #a8141d;
  --g-na: #4d5359;
  --t-mono: "Roboto Mono", ui-monospace, monospace;
  --t-sans: "Archivo", "Public Sans", system-ui, sans-serif;
  color-scheme: dark;
  background: var(--t-bg);
  color: var(--t-text);
  font-family: var(--t-sans);
}

body.tac main.shell { width: 100%; max-width: none; min-height: 70vh; padding: 0; margin: 0; }
body.tac #status { color: var(--t-muted); }
body.tac #status:empty,
body.tac .intro,
body.tac .search-panel,
body.tac #demo-notice { display: none; }
body.tac #status { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
body.tac a { color: inherit; }
body.tac h1,
body.tac h2,
body.tac h3,
body.tac h4 { color: var(--t-text); font-family: var(--t-sans); letter-spacing: -.025em; }
body.tac :focus-visible { outline: 3px solid var(--t-gold); outline-offset: 3px; }

.t-wrap { width: min(var(--wide, 1240px), calc(100% - 2 * var(--gutter, 24px))); margin-inline: auto; }
.research-notice { background: #191b1f; color: #f5efe6; border-bottom: 1px solid #45474c; }
.research-disclaimer { padding-block: 12px; font-size: .85rem; line-height: 1.6; }
.research-disclaimer summary { cursor: pointer; }
.research-disclaimer summary strong { margin-right: .6rem; color: #e1b83f; }
.research-disclaimer summary span { color: #d4cec6; }
.research-disclaimer summary:focus-visible { outline: 3px solid #e1b83f; outline-offset: 4px; }
.disclaimer-copy { max-width: 82ch; padding: 12px 0 8px; scroll-margin-top: 100px; }
.disclaimer-copy h2 { color: #f5efe6; font-size: 1.25rem; }
.disclaimer-copy p { margin: 1em 0; color: #d4cec6; }
.disclaimer-copy strong { color: #f5efe6; }
.disclaimer-copy a { color: #f5efe6; text-decoration: underline; text-underline-offset: 3px; }
.t-mono { font-family: var(--t-mono); text-transform: uppercase; letter-spacing: .13em; font-size: .75rem; font-weight: 500; }
.t-btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 50px; padding: 0 22px; border: 1px solid var(--t-red); border-radius: 0; background: var(--t-red); color: #fff !important; font-family: var(--t-mono); font-size: .78rem; font-weight: 600; letter-spacing: .11em; text-decoration: none; text-transform: uppercase; cursor: pointer; }
.t-btn:hover { border-color: var(--t-red-dark); background: var(--t-red-dark); }
.t-btn-ghost { border-color: var(--t-line-strong); background: transparent; }
.t-btn-ghost:hover { border-color: var(--t-text); background: var(--t-text); color: var(--t-bg) !important; }
.t-btn-light { border-color: var(--t-bg); background: var(--t-bg); color: var(--t-text) !important; }
.t-btn-light:hover { border-color: #2a2c2f; background: #2a2c2f; }

/* Shared chrome */
body.tac .masthead { position: sticky; top: 0; z-index: 30; border-bottom: 1px solid var(--t-line); background: rgba(5, 6, 7, .92); backdrop-filter: blur(12px); }
body.tac .masthead-inner { min-height: 72px; }
body.tac .brand-name { color: var(--t-text); font-family: var(--t-sans); }
body.tac .brand-sub { color: var(--t-muted); font-family: var(--t-mono); font-size: .64rem; letter-spacing: .12em; text-transform: uppercase; }
body.tac .brand-mark { border-radius: 7px; background: var(--t-red); }
body.tac .primary-nav a { border-radius: 0; color: var(--t-text); font-family: var(--t-mono); font-size: .73rem; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; }
body.tac .primary-nav a:hover { background: rgba(255, 255, 255, .06); color: #fff; }
body.tac .primary-nav a[aria-current="page"] { color: #fff; box-shadow: inset 0 -2px 0 var(--t-red); }
body.tac .nav-toggle { border-color: var(--t-line-strong); border-radius: 0; background: transparent; color: var(--t-text); }
body.tac .nav-toggle:hover,
body.tac .nav-toggle[aria-expanded="true"] { border-color: var(--t-text); background: var(--t-text); color: var(--t-bg); }
body.tac .site-footer { margin-top: 0; padding: 0; border-top: 0; background: var(--t-bg); color: var(--t-text); }
.t-footer { display: grid; grid-template-columns: 1.05fr .95fr; }
.t-footer-left { padding: clamp(38px, 5vw, 68px) clamp(20px, 4vw, 56px); background: var(--t-red); }
.t-footer-left .t-mono { color: rgba(255, 255, 255, .78); }
.t-footer-left h2 { margin: 10px 0 12px; color: #fff; font-size: clamp(1.6rem, 1rem + 2vw, 2.6rem); line-height: 1; text-transform: uppercase; }
.t-footer-left p { max-width: 36rem; margin: 0; color: rgba(255, 255, 255, .9); }
.t-footer-right { display: grid; align-content: space-between; gap: 30px; padding: clamp(38px, 5vw, 68px) clamp(20px, 4vw, 56px); background: var(--t-paper); color: var(--t-bg); }
.t-footer-right nav { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px 24px; }
.t-footer-right a { color: var(--t-bg); font-family: var(--t-mono); font-size: .76rem; font-weight: 600; letter-spacing: .1em; text-decoration: none; text-transform: uppercase; }
.t-footer-right a:hover { color: var(--t-red); }
.t-footer-right p { max-width: 40rem; margin: 0; color: #4b4946; font-size: .82rem; }

/* Loading */
.t-loading { display: flex; align-items: center; gap: 14px; min-height: 65vh; color: var(--t-muted); }
.t-loading p { margin: 0; }
.t-loading-mark { width: 13px; height: 13px; border: 2px solid var(--t-line-strong); border-top-color: var(--t-red); border-radius: 50%; animation: t-spin .8s linear infinite; }
@keyframes t-spin { to { transform: rotate(360deg); } }

/* Home */
.t-hero { position: relative; min-height: min(86vh, 860px); display: flex; align-items: stretch; overflow: hidden; background: #000; }
.t-hero-img { position: absolute; inset: 0; background: url(/images/capitol-hero.jpg) 70% 38% / cover no-repeat; }
.t-hero-img::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(4, 6, 9, .92) 0%, rgba(4, 6, 9, .66) 44%, rgba(4, 6, 9, .08) 75%), linear-gradient(0deg, rgba(4, 6, 9, .65) 0%, transparent 45%); }
.t-hero-layout { position: relative; z-index: 1; display: flex; align-items: flex-end; }
.t-hero-copy { max-width: 48rem; padding-block: clamp(54px, 8vw, 110px); }
.t-hero-copy > .t-mono { color: var(--t-gold); }
.t-hero h1 { max-width: 9ch; margin: 12px 0 22px; font-size: clamp(3.1rem, 1.8rem + 5.1vw, 6.7rem); font-weight: 850; line-height: .88; text-wrap: balance; }
.t-hero-copy > p:not(.t-hero-note) { max-width: 38rem; margin: 0; color: #ede5da; font-size: clamp(1.08rem, .98rem + .45vw, 1.35rem); line-height: 1.55; }
.t-hero-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 30px; }
.t-hero-note { max-width: 42rem; margin: 20px 0 0; color: rgba(245, 239, 230, .72); font-size: .86rem; }
body.tac .t-credit { position: absolute; right: 16px; bottom: 10px; z-index: 1; margin: 0; color: rgba(255, 255, 255, .56); font-size: .66rem; line-height: 1.2; }
.t-proof { border-block: 1px solid var(--t-line); background: #111315; }
.t-stat-grid,
.t-score-snapshot-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); }
.t-stat { min-width: 0; padding: 28px clamp(14px, 2.3vw, 30px); border-right: 1px solid var(--t-line); color: var(--t-text); text-decoration: none; }
.t-stat:first-child { padding-left: 0; }
.t-stat:last-child { border-right: 0; }
a.t-stat:hover { background: rgba(255, 255, 255, .035); }
.t-stat strong { display: block; font-size: clamp(2rem, 1.4rem + 2vw, 3rem); line-height: 1; }
.t-stat span { display: block; margin-top: 8px; font-family: var(--t-mono); font-size: .68rem; font-weight: 600; letter-spacing: .09em; text-transform: uppercase; }
.t-stat small { display: block; margin-top: 4px; color: var(--t-muted); font-size: .78rem; line-height: 1.35; }
.t-home-section { padding-block: clamp(70px, 9vw, 126px); }
.t-section-head { display: grid; grid-template-columns: .8fr 1.2fr; gap: 30px; align-items: end; margin-bottom: 34px; }
.t-section-head .t-mono { color: var(--t-gold); }
.t-section-head h2 { max-width: 12ch; margin: 0; font-size: clamp(2.4rem, 1.5rem + 3.4vw, 4.6rem); line-height: .94; }
.t-process-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); border: 1px solid var(--t-line); }
.t-process-card { min-width: 0; padding: clamp(24px, 3vw, 38px); border-right: 1px solid var(--t-line); background: var(--t-card); }
.t-process-card:last-child { border-right: 0; }
.t-process-card > .t-mono { color: var(--t-gold); }
.t-process-card h3 { margin: 34px 0 12px; font-size: 1.28rem; }
.t-process-card p { margin: 0; color: var(--t-muted); line-height: 1.6; }
.t-coverage-band { padding-block: clamp(64px, 8vw, 110px); border-block: 1px solid var(--t-line); background: #141618; }
.t-coverage-layout { display: grid; grid-template-columns: 1.05fr .95fr; gap: clamp(36px, 7vw, 92px); align-items: center; }
.t-coverage-layout > div:first-child > .t-mono { color: var(--t-gold); }
.t-coverage-layout h2 { max-width: 16ch; margin: 10px 0 18px; font-size: clamp(2rem, 1.35rem + 2.5vw, 3.4rem); line-height: 1; }
.t-coverage-layout > div:first-child > p { max-width: 42rem; margin: 0; color: var(--t-muted); font-size: 1.04rem; line-height: 1.65; }
.t-coverage-cards { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); border: 1px solid var(--t-line); }
.t-coverage-card { min-height: 210px; padding: 24px; border-left: 4px solid var(--g-na); background: var(--t-bg); }
.t-coverage-card + .t-coverage-card { border-left-width: 1px; }
.t-coverage-card.is-live { border-left: 4px solid var(--g-a); }
.t-status { display: inline-flex; width: fit-content; padding: 5px 8px; background: rgba(255, 255, 255, .08); color: var(--t-muted); font-family: var(--t-mono); font-size: .65rem; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; }
.t-coverage-card strong { display: block; margin-top: 34px; font-size: clamp(2.1rem, 1.5rem + 2vw, 3.2rem); line-height: 1; }
.t-coverage-card p { margin: 10px 0 0; color: var(--t-muted); line-height: 1.4; }
.t-record-band { padding-block: clamp(62px, 8vw, 104px); background: var(--t-paper); color: var(--t-bg); }
.t-record-layout { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 40px; align-items: end; }
.t-record-band .t-mono { color: var(--t-red); }
.t-record-band h2 { max-width: 20ch; margin: 10px 0 16px; color: var(--t-bg); font-size: clamp(2rem, 1.4rem + 2.4vw, 3.3rem); line-height: 1; }
.t-record-band p { max-width: 50rem; margin: 0; color: #4a4641; font-size: 1.04rem; line-height: 1.6; }

/* Scorecard index */
.t-page-hero { padding-block: clamp(66px, 8vw, 108px) clamp(46px, 6vw, 76px); border-bottom: 1px solid var(--t-line); background: linear-gradient(90deg, rgba(13, 14, 16, .95), rgba(13, 14, 16, .7)), url(/images/capitol-hero-1000.jpg) 70% 45% / cover; }
.t-page-hero .t-mono { color: var(--t-gold); }
.t-page-hero h1 { max-width: 10ch; margin: 10px 0 18px; font-size: clamp(3.5rem, 2rem + 5vw, 6.5rem); font-weight: 850; line-height: .88; }
.t-page-hero p { max-width: 48rem; margin: 0; color: #e6ddd2; font-size: clamp(1.06rem, 1rem + .35vw, 1.25rem); line-height: 1.55; }
.t-scorecard-hero { padding-block: 38px 32px; }
.t-scorecard-hero h1 { max-width: none; font-size: clamp(2.5rem, 5vw, 4.4rem); line-height: 1; }
.t-score-snapshot { border-bottom: 1px solid var(--t-line); }
.t-score-snapshot .t-stat { padding-block: 22px; }
.t-score-snapshot .t-stat strong { font-size: 2rem; }
.t-coverage-note { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; gap: 20px; align-items: start; margin-block: 32px 4px; padding: 22px; border: 1px solid var(--t-line); border-left: 4px solid var(--t-gold); background: var(--t-card); }
.t-coverage-note strong { font-size: 1.05rem; }
.t-coverage-note p { margin: 4px 0 0; color: var(--t-muted); line-height: 1.5; }
.t-coverage-note > a { align-self: center; font-weight: 700; text-underline-offset: 4px; }
.t-results { padding-block: 46px 78px; }
.t-results-head { display: flex; flex-wrap: wrap; gap: 14px 28px; align-items: end; justify-content: space-between; margin-bottom: 20px; }
.t-results-head h2 { margin: 0; font-size: clamp(1.8rem, 1.3rem + 1.6vw, 2.7rem); }
.t-results-head h2 small { margin-left: 8px; color: var(--t-muted); font-size: .68em; font-weight: 500; }
.t-results-head > p { max-width: 38rem; margin: 0; color: var(--t-muted); }
.t-bar { display: grid; grid-template-columns: minmax(260px, 2fr) repeat(3, minmax(150px, 1fr)); gap: 9px; padding-block: 14px; border-block: 1px solid var(--t-line); }
.t-bar input,
.t-bar select { width: 100%; min-height: 46px; padding: 0 12px; border: 1px solid var(--t-line); border-radius: 0; background: var(--t-card); color: var(--t-text); font-family: var(--t-mono); font-size: .7rem; letter-spacing: .06em; text-transform: uppercase; }
.t-bar input::placeholder { color: #8f8981; opacity: 1; }
.t-reset { min-height: 46px; padding: 0 16px; border: 1px solid var(--t-line-strong); border-radius: 0; background: transparent; color: var(--t-text); font-family: var(--t-mono); font-size: .7rem; letter-spacing: .08em; text-transform: uppercase; }
.t-reset:hover { border-color: var(--t-text); background: var(--t-text); color: var(--t-bg); }
.t-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; margin-top: 24px; }
.t-card { display: grid; min-width: 0; grid-template-rows: 1fr auto; border: 1px solid var(--t-line); background: var(--t-card); color: var(--t-text); text-decoration: none; transition: transform .15s ease, border-color .15s ease; }
.t-card:hover { transform: translateY(-3px); border-color: var(--t-red); }
.t-card-top { display: grid; grid-template-columns: 68px minmax(0, 1fr); gap: 16px; align-items: center; padding: 20px; }
.t-avatar { width: 68px; height: 68px; display: grid; place-items: center; border-radius: 50%; background: var(--t-card-2); color: var(--t-text); font-size: 1.35rem; font-weight: 800; box-shadow: 0 0 0 3px var(--ring, var(--t-oth)); }
.t-avatar.r { --ring: var(--t-rep); }
.t-avatar.d { --ring: var(--t-dem); }
.t-card-top .t-mono { display: block; margin-bottom: 5px; color: var(--t-muted); font-size: .63rem; }
.t-card-name { display: block; font-size: 1.22rem; font-weight: 800; line-height: 1.08; }
.t-card-office { display: block; margin-top: 5px; color: var(--t-muted); font-size: .9rem; }
.t-card-grade { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 18px; align-items: center; min-height: 92px; padding: 15px 20px; background: var(--g, var(--g-na)); color: #fff; }
.t-card-grade.g-c { color: #151515; }
.t-card-grade-value { min-width: 74px; }
.t-card-grade-value b { display: block; font-size: 2.25rem; font-weight: 900; line-height: 1; }
.t-card-grade-value small { display: block; margin-top: 4px; font-family: var(--t-mono); font-size: .58rem; letter-spacing: .04em; }
.t-card-grade > div:last-child span { display: block; font-family: var(--t-mono); font-size: .67rem; font-weight: 600; letter-spacing: .07em; text-transform: uppercase; }
.t-card-grade > div:last-child small { display: block; margin-top: 4px; font-size: .74rem; line-height: 1.35; opacity: .88; }
.g-a { --g: var(--g-a); }
.g-b { --g: var(--g-b); }
.g-c { --g: var(--g-c); }
.g-d { --g: var(--g-d); }
.g-f { --g: var(--g-f); }
.g-na { --g: var(--g-na); }
.t-more { display: flex; justify-content: center; margin-top: 28px; }
.t-empty { grid-column: 1 / -1; padding: 42px 0; color: var(--t-muted); }
.t-empty strong { color: var(--t-text); }
.t-empty p { margin: 6px 0 0; }

/* Profile */
.t-crumb { padding-top: 26px; color: var(--t-muted); font-family: var(--t-mono); font-size: .7rem; letter-spacing: .06em; }
.t-crumb a { color: var(--t-text); }
.t-profile { display: grid; grid-template-columns: 280px minmax(0, 1fr); gap: clamp(30px, 4vw, 58px); padding-block: 24px 72px; }
.t-side { position: sticky; top: 96px; align-self: start; padding: 24px; border: 1px solid var(--t-line); background: var(--t-card); }
.t-side .t-avatar { width: 112px; height: 112px; margin-bottom: 20px; font-size: 2.2rem; }
.t-side h1 { margin: 0 0 6px; font-size: 1.65rem; line-height: 1.02; }
.t-side > p { margin: 0 0 18px; color: var(--t-muted); }
.t-facts { display: grid; gap: 12px; margin: 0; }
.t-facts div { padding-top: 10px; border-top: 1px solid var(--t-line); }
.t-facts dt { color: var(--t-muted); font-family: var(--t-mono); font-size: .63rem; letter-spacing: .1em; text-transform: uppercase; }
.t-facts dd { margin: 3px 0 0; font-weight: 650; }
.t-record-link { display: inline-block; margin-top: 22px; font-size: .85rem; font-weight: 700; }
.t-main > .t-mono { color: var(--t-gold); }
.t-main > h2 { margin: 7px 0 22px; font-size: clamp(2.2rem, 1.5rem + 2.4vw, 3.5rem); line-height: .95; }
.t-score-summary { display: grid; grid-template-columns: 210px minmax(0, 1fr); margin-bottom: 34px; border: 1px solid var(--t-line); background: var(--t-card); }
.t-score-grade { display: grid; align-content: center; min-height: 220px; padding: 28px; background: var(--g, var(--g-na)); color: #fff; }
.t-score-summary.g-c .t-score-grade { color: #151515; }
.t-score-grade strong { display: block; margin-top: 12px; font-size: clamp(4rem, 3rem + 4vw, 6.2rem); line-height: .8; }
.t-score-grade small { margin-top: 14px; font-family: var(--t-mono); font-size: .7rem; letter-spacing: .08em; }
.t-score-explanation { display: grid; align-content: center; padding: clamp(24px, 4vw, 44px); }
.t-score-explanation h3 { margin: 0 0 8px; font-size: 1.35rem; }
.t-score-explanation p { max-width: 42rem; margin: 0 0 18px; color: var(--t-muted); line-height: 1.55; }
.t-score-explanation progress { width: 100%; height: 10px; overflow: hidden; border: 0; border-radius: 0; background: var(--t-card-2); accent-color: var(--g, var(--g-a)); }
.t-score-explanation progress::-webkit-progress-bar { background: var(--t-card-2); }
.t-score-explanation progress::-webkit-progress-value { background: var(--g, var(--g-a)); }
.t-score-explanation progress::-moz-progress-bar { background: var(--g, var(--g-a)); }
.t-score-explanation a { margin-top: 16px; font-size: .86rem; font-weight: 700; }
.t-subhead { margin: 0 0 12px; font-size: 1.2rem; }
.t-tiles { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 9px; margin-bottom: 42px; }
.t-tile { display: grid; align-content: space-between; min-height: 132px; padding: 16px; background: var(--g, var(--g-na)); color: #fff; }
.t-tile.g-c { color: #151515; }
.t-tile span { font-family: var(--t-mono); font-size: .63rem; letter-spacing: .08em; text-transform: uppercase; }
.t-tile b { align-self: end; margin-top: 18px; font-size: 2.5rem; line-height: 1; }
.t-tile small { margin-top: 6px; font-size: .68rem; opacity: .86; }
.t-pending-panel { max-width: 48rem; margin-bottom: 36px; padding: clamp(24px, 4vw, 42px); border: 1px solid var(--t-line); border-left: 4px solid var(--t-gold); background: var(--t-card); }
.t-pending-panel h3 { margin: 20px 0 10px; font-size: 1.8rem; }
.t-pending-panel p { color: var(--t-muted); line-height: 1.6; }
.t-pending-panel .t-btn { margin-top: 12px; }
.t-profile-actions { margin-top: 10px; }
.t-bills-head { display: flex; flex-wrap: wrap; gap: 16px 24px; align-items: end; justify-content: space-between; padding-bottom: 12px; border-bottom: 1px solid var(--t-line); }
.t-bills-head h3 { margin: 0; font-size: 1.55rem; }
.t-bills-head p { margin: 4px 0 0; }
.t-bills-head .t-bar { display: flex; width: auto; padding: 0; border: 0; }
.t-bills-head .t-bar select { min-width: 155px; }
.t-action-count { margin: 14px 0 0; color: var(--t-muted); font-family: var(--t-mono); font-size: .68rem; letter-spacing: .06em; text-transform: uppercase; }
.t-bill { display: grid; gap: 7px; padding: 20px 0; border-bottom: 1px solid var(--t-line); }
.t-bill-top { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; justify-content: space-between; }
.t-bill-top .t-mono { color: var(--t-muted); font-size: .65rem; }
.t-bill h4 { margin: 0; font-size: 1.12rem; line-height: 1.3; }
.t-bill > p { margin: 0; color: var(--t-muted); line-height: 1.5; }
.t-bill-meta { display: flex; flex-wrap: wrap; gap: 8px 18px; color: var(--t-text); font-family: var(--t-mono); font-size: .65rem; letter-spacing: .05em; text-transform: uppercase; }
.t-bill-meta a { color: var(--t-muted); }
.t-pill { padding: 5px 9px; color: #fff; font-family: var(--t-mono); font-size: .64rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; }
.t-pill.ok { background: var(--g-a); }
.t-pill.no { background: var(--g-f); }
.t-pill.miss { background: var(--g-na); }
.t-note { color: var(--t-muted); font-size: .86rem; line-height: 1.5; }
.t-vote-more { margin-top: 22px; }
.t-allvotes { margin-top: 38px; padding: 18px 20px; border: 1px solid var(--t-line); background: var(--t-card); }
.t-allvotes summary { cursor: pointer; font-family: var(--t-mono); font-size: .72rem; letter-spacing: .09em; text-transform: uppercase; }
.t-allvotes .panel { padding: 18px 0 0; border: 0; background: transparent; box-shadow: none; color: var(--t-text); }
.t-allvotes .panel h2 { display: none; }
.t-allvotes .vote-row { border-color: var(--t-line); }
.t-allvotes .vote-question,
.t-allvotes .vote-title { color: var(--t-text); }
.t-allvotes input,
.t-allvotes select { border: 1px solid var(--t-line); background: var(--t-card-2); color: var(--t-text); }

/* Methodology and about */
.t-doc { max-width: 72rem; padding-block: clamp(58px, 7vw, 96px); }
.t-doc > .t-mono { color: var(--t-gold); }
.t-doc > h1 { max-width: 12ch; margin: 10px 0 20px; font-size: clamp(3rem, 2rem + 4vw, 5.4rem); line-height: .9; }
.t-doc > h1 + p { max-width: 54rem; color: #ddd5ca; font-size: clamp(1.08rem, 1rem + .35vw, 1.25rem); line-height: 1.65; }
.t-version { color: var(--t-muted); font-family: var(--t-mono); font-size: .68rem; letter-spacing: .06em; text-transform: uppercase; }
.t-method-status { margin-block: 42px 70px; padding: clamp(24px, 4vw, 42px); border: 1px solid var(--t-line); border-left: 4px solid var(--g-a); background: var(--t-card); }
.t-method-status h2 { margin: 20px 0 10px; font-size: clamp(1.8rem, 1.4rem + 1.5vw, 2.7rem); }
.t-method-status p { max-width: 52rem; margin: 0; color: var(--t-muted); font-size: 1.04rem; line-height: 1.6; }
.t-method-section { padding-block: 64px; border-top: 1px solid var(--t-line); scroll-margin-top: 90px; }
.t-method-section > .t-mono { color: var(--t-gold); }
.t-method-section > h2,
.t-results-head h2 { margin: 9px 0 24px; font-size: clamp(2rem, 1.45rem + 2.2vw, 3.2rem); line-height: 1; }
.t-method-section .t-process-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.t-method-section .t-process-card h3 { margin-top: 26px; }
.t-domains { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.t-domain { min-width: 0; padding: 24px; border: 1px solid var(--t-line); background: var(--t-card); }
.t-domain h3 { margin: 0 0 9px; font-size: 1.18rem; }
.t-domain p { margin: 0; color: var(--t-muted); line-height: 1.55; }
.t-method-columns { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 40px; }
.t-method-columns h3 { margin: 0 0 12px; font-size: 1.35rem; }
.t-method-columns ul { margin: 0; padding-left: 1.2rem; }
.t-method-columns li { margin-bottom: 10px; color: #ddd5ca; line-height: 1.55; }
.t-table-wrap { max-width: 100%; margin-top: 30px; overflow-x: auto; border: 1px solid var(--t-line); }
.t-calculation-audit { margin-block: 28px; padding: 20px; border: 1px solid var(--t-line); border-radius: 8px; background: var(--t-card); min-width: 0; }
.t-calculation-audit > summary { font-weight: 700; cursor: pointer; }
.t-calculation-audit .t-table-wrap { margin-top: 16px; }
.t-calculation-audit td { vertical-align: top; }
.t-family-weights { padding-left: 20px; font: .8rem/1.8 var(--t-mono); overflow-wrap: anywhere; }
.t-method-fingerprint { font: .75rem/1.6 var(--t-mono); overflow-wrap: anywhere; color: var(--t-muted); }
.t-table { width: 100%; min-width: 640px; border-collapse: collapse; background: var(--t-card); font-size: .9rem; }
.t-table caption { padding: 13px 14px; border-bottom: 1px solid var(--t-line); color: var(--t-muted); font-family: var(--t-mono); font-size: .67rem; letter-spacing: .08em; text-align: left; text-transform: uppercase; }
.t-table th,
.t-table td { padding: 13px 14px; border-bottom: 1px solid var(--t-line); color: #ddd5ca; text-align: left; vertical-align: top; }
.t-table th { color: var(--t-muted); font-family: var(--t-mono); font-size: .65rem; letter-spacing: .08em; text-transform: uppercase; }
.t-table tr:last-child td { border-bottom: 0; }
.t-cutoff-table { min-width: 360px; }
.t-cutoff-table td:first-child { font-size: 1.05rem; font-weight: 800; }
.t-method-filters { display: grid; grid-template-columns: minmax(260px, 2fr) repeat(2, minmax(170px, 1fr)); gap: 9px; }
.t-method-filters input,
.t-method-filters select { width: 100%; min-height: 46px; border: 1px solid var(--t-line); border-radius: 0; background: var(--t-card); color: var(--t-text); font-family: var(--t-mono); font-size: .7rem; letter-spacing: .05em; }
.t-rationale { max-width: 48rem; margin-top: 7px; color: #958f87; font-size: .79rem; line-height: 1.45; }
.t-about { max-width: 68rem; }
.t-about-statement { margin-block: 48px 72px; padding: clamp(30px, 5vw, 56px); border-left: 6px solid var(--t-red); background: var(--t-paper); }
.t-about-statement p { max-width: 18ch; margin: 0; color: var(--t-bg); font-size: clamp(2rem, 1.35rem + 2.7vw, 3.8rem); font-weight: 800; line-height: 1.04; }
.t-about-copy p { max-width: 52rem; color: #ddd5ca; font-size: 1.08rem; line-height: 1.7; }
.t-product-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.t-product-card { padding: clamp(24px, 4vw, 40px); border: 1px solid var(--t-line); background: var(--t-card); }
.t-product-card h3 { margin: 22px 0 10px; font-size: 1.5rem; }
.t-product-card p { color: var(--t-muted); line-height: 1.6; }
.t-product-card > a { font-weight: 700; }
.t-about-close { padding: clamp(44px, 7vw, 80px); background: var(--t-red); }
.t-about-close h2 { max-width: 18ch; margin: 0 0 30px; color: #fff; font-size: clamp(2rem, 1.4rem + 2.4vw, 3.3rem); line-height: 1; }
.t-about-close .t-btn { margin: 0 8px 8px 0; border-color: #fff; }
.t-about-close .t-btn:first-of-type { background: #fff; color: var(--t-red) !important; }
.t-about-close .t-btn:first-of-type:hover { background: var(--t-paper); }

@media (max-width: 1000px) {
  .t-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .t-method-section .t-process-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .t-method-section .t-process-card:nth-child(2) { border-right: 0; }
  .t-method-section .t-process-card:nth-child(n+3) { border-top: 1px solid var(--t-line); }
}

@media (max-width: 860px) {
  body.tac .masthead { position: sticky; }
  body.tac .masthead-inner { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 8px 12px; min-height: 66px; padding-block: 9px; }
  body.tac .brand { min-width: 0; margin-right: 0; }
  body.tac .primary-nav { display: none; grid-column: 1 / -1; flex-basis: auto; padding: 6px 0 10px; background: #050607; }
  body.tac .primary-nav.open { display: grid; }
  body.tac .primary-nav a { min-height: 46px; border-bottom: 1px solid var(--t-line); }
  body.tac .nav-toggle { justify-self: end; }
  .t-footer,
  .t-section-head,
  .t-coverage-layout,
  .t-record-layout,
  .t-profile,
  .t-score-summary,
  .t-method-columns { grid-template-columns: minmax(0, 1fr); }
  .t-record-layout { align-items: start; }
  .t-record-layout > .t-btn { justify-self: start; }
  .t-profile { padding-top: 18px; }
  .t-side { position: static; }
  .t-score-grade { min-height: 170px; }
  .t-score-explanation { min-height: 190px; }
  .t-bar { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .t-bar input { grid-column: 1 / -1; }
  .t-method-filters { grid-template-columns: minmax(0, 1fr); }
  .t-method-filters input { grid-column: auto; }
}

@media (max-width: 660px) {
  body.tac .brand { gap: 8px; }
  body.tac .brand-mark { width: 36px; height: 36px; font-size: .74rem; }
  body.tac .brand-name { white-space: nowrap; font-size: .9rem; }
  body.tac .brand-sub { font-size: .54rem; }
  body.tac .nav-toggle { min-height: 40px; padding: 0 13px; font-size: .78rem; }
  .t-hero { min-height: calc(100svh - 66px); }
  .t-hero-img { background-image: url(/images/capitol-hero-1000.jpg); background-position: 69% 44%; }
  .t-hero-img::after { background: linear-gradient(180deg, rgba(4, 6, 9, .34) 0%, rgba(4, 6, 9, .48) 38%, rgba(4, 6, 9, .94) 82%, rgba(4, 6, 9, .98) 100%); }
  .t-hero-copy { padding-block: 70px 62px; }
  .t-hero h1 { max-width: 8ch; font-size: clamp(3.1rem, 15vw, 4rem); }
  .t-hero-actions { display: grid; }
  .t-hero-actions .t-btn { width: 100%; }
  body.tac .t-credit { right: 10px; bottom: 6px; max-width: 80%; }
  .t-stat-grid,
  .t-score-snapshot-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .t-stat { padding: 22px 14px; border-bottom: 1px solid var(--t-line); }
  .t-stat:first-child { padding-left: 14px; }
  .t-stat:nth-child(2) { border-right: 0; }
  .t-stat:nth-child(n+3) { border-bottom: 0; }
  .t-process-grid,
  .t-method-section .t-process-grid,
  .t-coverage-cards,
  .t-grid,
  .t-domains,
  .t-product-grid,
  .t-tiles { grid-template-columns: minmax(0, 1fr); }
  .t-process-card { border-right: 0; border-bottom: 1px solid var(--t-line); }
  .t-process-card:last-child { border-bottom: 0; }
  .t-method-section .t-process-card:nth-child(n+2) { border-top: 0; }
  .t-coverage-card + .t-coverage-card { border-top: 1px solid var(--t-line); border-left: 4px solid var(--g-na); }
  .t-coverage-note { grid-template-columns: minmax(0, 1fr); }
  .t-coverage-note > a { justify-self: start; }
  .t-bar { grid-template-columns: minmax(0, 1fr); }
  .t-bar input { grid-column: auto; }
  .t-card-top { grid-template-columns: 60px minmax(0, 1fr); }
  .t-card-top .t-avatar { width: 60px; height: 60px; }
  .t-main > h2 { font-size: 2.25rem; }
  .t-bills-head { align-items: stretch; }
  .t-bills-head .t-bar { display: grid; width: 100%; }
  .t-bills-head .t-bar select { min-width: 0; }
  .t-bill-top { align-items: flex-start; }
  .t-footer-right nav { grid-template-columns: minmax(0, 1fr); }
  .t-about-close { width: 100vw; margin-left: calc(50% - 50vw); }
}

@media (max-width: 400px) {
  body.tac .brand-sub { display: none; }
  .t-stat-grid,
  .t-score-snapshot-grid { grid-template-columns: minmax(0, 1fr); }
  .t-stat { border-right: 0; border-bottom: 1px solid var(--t-line) !important; }
  .t-stat:last-child { border-bottom: 0 !important; }
  .t-card-grade { grid-template-columns: 68px minmax(0, 1fr); gap: 10px; }
}

@media (prefers-reduced-motion: reduce) {
  .t-card { transition: none; }
  .t-loading-mark { animation: none; border-top-color: var(--t-gold); }
}

/* Evidence-based candidate and official assessments. */
.assessment-page { max-width: 1160px; margin: 0 auto; }
.assessment-section { margin-top: 2.5rem; padding-top: 1.75rem; border-top: 2px solid var(--ink, #182332); scroll-margin-top: 1rem; }
.assessment-notice { padding: 1rem 1.25rem; border-left: 4px solid #a63228; background: #f5f1e9; }
.assessment-criteria { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:1rem; margin:1.25rem 0; }
.assessment-criterion { border:1px solid #dad7cf; padding:1.2rem; min-width:0; }
.assessment-criterion h3 { font-size:1.15rem; margin-top:0; }
.assessment-label,.assessment-result { font-weight:700; }
.assessment-evidence { padding:.8rem 0; border-top:1px solid #dedbd5; overflow-wrap:anywhere; }
.assessment-evidence summary { cursor:pointer; font-weight:600; }
.assessment-page .evidence-hash { overflow-wrap:anywhere; }
@media(max-width:640px) { .assessment-criteria { grid-template-columns:1fr; } .assessment-page .research-nav { flex-wrap:wrap; } }

/* The light public-record band keeps an explicit readable heading color. */
body.tac .t-record-band h2 { color: #171819; }

.collected-records .source-list li>span,.disclosure-offices li>span,.judicial-document-metadata .source-list li>span{display:block;margin-top:.25rem}

.launch-status{background:#172a3d;color:#fff;font-size:.82rem;padding:.7rem 0;line-height:1.5}.launch-status strong{color:#ebc976;letter-spacing:.13em;margin-right:.8rem}.launch-status a{color:#fff;text-underline-offset:3px}.launch-status .shell{overflow-wrap:anywhere}a:focus-visible,button:focus-visible,input:focus-visible,select:focus-visible{outline:3px solid #bd8016;outline-offset:3px}
