.r188-h5595 {
  --vote-navy: var(--r188-navy, #082f63);
  --vote-navy-dark: var(--r188-navy-dark, #05264f);
  --vote-blue: var(--r188-blue, #0b5fbd);
  --vote-red: var(--r188-red, #d51f2a);
  --vote-red-dark: var(--r188-red-dark, #b71620);
  --vote-green: var(--r188-green, #128a55);
  --vote-ink: var(--r188-ink, #17263a);
  --vote-muted: var(--r188-muted, #5d6877);
  --vote-line: var(--r188-line, #dce3ec);
  --vote-mist: var(--r188-mist, #f3f6fa);
  --vote-white: #fff;
  color: var(--vote-ink);
}
.r188-h5595 * { box-sizing: border-box; }
.r188-h5595 a { text-underline-offset: 2px; }

.r188-h5595-hero {
  background:
    linear-gradient(90deg, rgba(5,38,79,.99) 0%, rgba(8,47,99,.96) 52%, rgba(8,47,99,.70) 100%),
    var(--r188-h5595-hero-image);
  background-size: cover;
  background-position: center 42%;
  color: #fff;
  border-bottom: 1px solid rgba(255,255,255,.12);
}
.r188-h5595-hero-inner { padding-top: 54px; padding-bottom: 54px; }
.r188-h5595-breadcrumb {
  font-size: .78rem;
  font-weight: 800;
  letter-spacing: .08em;
  opacity: .82;
  margin-bottom: 12px;
}
.r188-h5595-breadcrumb span { margin: 0 .5rem; }
.r188-h5595-hero h1 {
  color: #fff;
  font-size: clamp(2.25rem, 4vw, 4.2rem);
  line-height: 1.02;
  margin: 0 0 12px;
  max-width: 900px;
}
.r188-h5595-subtitle {
  font-size: clamp(1.05rem, 1.7vw, 1.35rem);
  font-weight: 800;
  margin: 0 0 4px;
  max-width: 850px;
}
.r188-h5595-bill-title { margin: 0; font-style: italic; opacity: .9; font-size: 1.05rem; }
.r188-h5595-statusline {
  display: flex; flex-wrap: wrap; align-items: center; gap: 10px 18px; margin-top: 22px;
  font-size: .92rem; font-weight: 700;
}
.r188-h5595-statusline > span:not(.r188-h5595-status-badge) {
  padding-left: 18px;
  position: relative;
}
.r188-h5595-statusline > span:not(.r188-h5595-status-badge)::before {
  content: ""; width: 4px; height: 4px; border-radius: 50%; background: rgba(255,255,255,.65);
  position: absolute; left: 0; top: .58em;
}
.r188-h5595-status-badge {
  display: inline-flex; align-items: center; gap: 7px; background: var(--vote-green); color:#fff;
  border-radius: 999px; padding: 7px 12px; text-transform: uppercase; font-size: .78rem; letter-spacing:.04em;
}
.r188-h5595-status-badge svg { width: 15px; height: 15px; }

.r188-h5595-content { background: #f7f9fc; padding: 34px 0 46px; }
.r188-h5595-summary-grid {
  display: grid; grid-template-columns: minmax(0, 2fr) minmax(270px, .9fr); gap: 18px;
}
.r188-h5595-summary-card,
.r188-h5595-party-card,
.r188-h5595-source-note,
.r188-h5595-rollcall,
.r188-h5595-sources {
  background: #fff; border: 1px solid var(--vote-line); border-radius: var(--r188-radius, 14px);
  box-shadow: 0 8px 28px rgba(6, 34, 67, .05);
}
.r188-h5595-summary-card, .r188-h5595-party-card { padding: 24px; }
.r188-h5595-summary-card h2, .r188-h5595-party-card h2, .r188-h5595-sources h2 {
  margin: 0 0 18px; font-size: 1rem; text-transform: uppercase; letter-spacing: .035em; color: var(--vote-navy);
}
.r188-h5595-metrics { display:grid; grid-template-columns: repeat(4, 1fr); gap: 0; }
.r188-h5595-metric { min-width:0; padding: 0 18px; border-right:1px solid var(--vote-line); }
.r188-h5595-metric:first-child { padding-left:0; }
.r188-h5595-metric:last-child { border-right:0; padding-right:0; }
.r188-h5595-metric-icon { display:inline-flex; vertical-align:middle; margin-right:6px; }
.r188-h5595-metric-icon.is-yea { color:var(--vote-green); }
.r188-h5595-metric-icon.is-nay { color:var(--vote-red); }
.r188-h5595-metric-icon.is-nv { color:#737b86; }
.r188-h5595-metric-icon.is-total {
  width:26px;height:26px;border-radius:50%;align-items:center;justify-content:center;
  background:var(--vote-blue);color:#fff;font-size:.62rem;font-weight:900;
}
.r188-h5595-metric-label { font-size:.82rem;font-weight:900;text-transform:uppercase; }
.r188-h5595-metric strong { display:block;font-size:2.15rem;line-height:1.1;margin-top:9px;color:var(--vote-navy-dark); }
.r188-h5595-metric small { display:block;color:var(--vote-muted);font-weight:700;margin-top:4px; }
.r188-h5595-votebar { display:flex;height:10px;border-radius:999px;overflow:hidden;background:#e8edf3;margin-top:24px; }
.r188-h5595-votebar .is-yea { background:var(--vote-green); }
.r188-h5595-votebar .is-nay { background:var(--vote-red); }
.r188-h5595-votebar .is-nv { background:#737b86; }
.r188-h5595-summary-caption { margin:10px 0 0;text-align:center;color:var(--vote-muted);font-size:.82rem;font-weight:700; }

.r188-h5595-party-row { display:grid;grid-template-columns:12px 1fr auto;gap:10px;align-items:center;padding:7px 0; }
.r188-h5595-party-row strong { color:var(--vote-navy-dark); }
.party-dot { width:9px;height:9px;border-radius:50%; }
.party-dot.is-d, .r188-h5595-partybar .is-d { background:#1768b3; }
.party-dot.is-r, .r188-h5595-partybar .is-r { background:#c8342a; }
.party-dot.is-i, .r188-h5595-partybar .is-i { background:#7b5bb4; }
.r188-h5595-partybar { display:flex;height:8px;overflow:hidden;border-radius:999px;background:#e9edf3;margin-top:16px; }
.r188-h5595-party-card p { color:var(--vote-muted);font-size:.86rem;line-height:1.5;margin:14px 0 0; }

.r188-h5595-source-note {
  display:grid;grid-template-columns:auto 1fr;gap:14px;align-items:start;padding:18px 20px;margin-top:18px;
  border-left:4px solid var(--vote-blue);
}
.r188-h5595-info-icon {
  width:30px;height:30px;border-radius:50%;display:flex;align-items:center;justify-content:center;
  background:var(--vote-navy);color:#fff;font-family:Georgia,serif;font-weight:900;
}
.r188-h5595-source-note strong { color:var(--vote-navy-dark); }
.r188-h5595-source-note p { margin:4px 0 0;color:var(--vote-muted);line-height:1.55;font-size:.92rem; }

.r188-h5595-rollcall { margin-top:18px;padding:24px; }
.r188-h5595-rollcall-heading { display:flex;justify-content:space-between;gap:24px;align-items:end;margin-bottom:18px; }
.r188-h5595-kicker { margin:0 0 4px;color:var(--vote-blue);font-size:.75rem;letter-spacing:.085em;font-weight:900; }
.r188-h5595-rollcall-heading h2 { margin:0;color:var(--vote-navy-dark);font-size:clamp(1.65rem,2.4vw,2.25rem); }
.r188-h5595-rollcall-heading p:not(.r188-h5595-kicker) { margin:5px 0 0;color:var(--vote-muted); }
.r188-h5595-legend { display:flex;flex-wrap:wrap;gap:12px 16px;font-size:.82rem;font-weight:800;white-space:nowrap; }
.r188-h5595-legend span { display:inline-flex;align-items:center;gap:5px; }
.r188-h5595-legend .is-yea { color:var(--vote-green); }
.r188-h5595-legend .is-nay { color:var(--vote-red); }
.r188-h5595-legend .is-nv { color:#737b86; }

.r188-h5595-filters {
  display:grid;grid-template-columns:minmax(250px,1fr) auto auto;gap:12px;align-items:center;
  border-top:1px solid var(--vote-line);border-bottom:1px solid var(--vote-line);padding:14px 0;
}
.r188-h5595-search { position:relative;display:block; }
.r188-h5595-search svg { position:absolute;left:13px;top:50%;transform:translateY(-50%);color:#6b7786;pointer-events:none; }
.r188-h5595-search input, .r188-h5595-party-filter select {
  width:100%;min-height:42px;border:1px solid #cfd8e4;border-radius:8px;background:#fff;color:var(--vote-ink);font:inherit;
}
.r188-h5595-search input { padding:8px 12px 8px 40px; }
.r188-h5595-search input:focus, .r188-h5595-party-filter select:focus {
  outline:3px solid rgba(11,95,189,.16);border-color:var(--vote-blue);
}
.r188-h5595-filter-buttons { display:flex;gap:6px; }
.r188-h5595-filter-buttons button {
  min-height:42px;border:1px solid #cfd8e4;border-radius:8px;background:#fff;color:var(--vote-ink);
  padding:8px 11px;font:inherit;font-size:.82rem;font-weight:800;cursor:pointer;
}
.r188-h5595-filter-buttons button span { opacity:.62;font-size:.75rem; }
.r188-h5595-filter-buttons button.is-active { background:var(--vote-navy);border-color:var(--vote-navy);color:#fff; }
.r188-h5595-party-filter { display:flex;align-items:center;gap:8px;font-size:.82rem;font-weight:800; }
.r188-h5595-party-filter select { min-width:150px;padding:7px 30px 7px 9px; }
.r188-h5595-results-line { color:var(--vote-muted);font-size:.82rem;font-weight:700;margin:13px 0; }

.r188-h5595-roster {
  display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:8px;
}
.r188-h5595-rep {
  display:flex;flex-direction:column;justify-content:space-between;gap:8px;min-width:0;
  padding:11px 12px;border:1px solid #dbe2eb;border-radius:9px;background:#fff;
  transition:border-color .15s ease,box-shadow .15s ease,transform .15s ease;
}
.r188-h5595-rep:hover { border-color:#b9c7d9;box-shadow:0 5px 14px rgba(5,38,79,.07);transform:translateY(-1px); }
.r188-h5595-rep[hidden] { display:none !important; }
.r188-h5595-rep-main { display:flex;align-items:flex-start;gap:7px;min-width:0; }
.r188-h5595-rep-name {
  flex:1;min-width:0;color:var(--vote-navy-dark);font-weight:800;font-size:.84rem;line-height:1.25;text-decoration:none;
}
.r188-h5595-rep-name:hover { color:var(--vote-blue);text-decoration:underline; }
.r188-h5595-external { font-size:.72rem;opacity:.55;white-space:nowrap; }
.r188-h5595-party-badge {
  flex:0 0 auto;width:21px;height:21px;border-radius:50%;display:inline-flex;align-items:center;justify-content:center;
  color:#fff;font-size:.67rem;font-weight:900;
}
.r188-h5595-party-badge.is-d { background:#1768b3; }
.r188-h5595-party-badge.is-r { background:#c8342a; }
.r188-h5595-party-badge.is-i { background:#7b5bb4; }
.r188-h5595-vote {
  display:inline-flex;align-items:center;gap:5px;width:max-content;max-width:100%;font-size:.75rem;font-weight:900;
}
.r188-h5595-vote svg { width:14px;height:14px;flex:0 0 auto; }
.r188-h5595-vote.is-yea { color:var(--vote-green); }
.r188-h5595-vote.is-nay { color:var(--vote-red); }
.r188-h5595-vote.is-not_voting { color:#737b86; }
.r188-h5595-empty { text-align:center;padding:30px;color:var(--vote-muted);font-weight:700; }

.r188-h5595-sources { margin-top:18px;padding:20px 22px; }
.r188-h5595-sources h2 { margin-bottom:7px; }
.r188-h5595-sources p { margin:0;color:var(--vote-muted);line-height:1.6;font-size:.88rem; }
.r188-h5595-sources a { color:var(--vote-blue);font-weight:700; }

.r188-h5595-data-error {
  background:#fff1f1;border:1px solid #efb9b9;border-left:4px solid var(--vote-red);
  padding:20px;border-radius:10px;color:#7c1f25;font-weight:800;
}
.r188-h5595-cta { background:linear-gradient(135deg,var(--vote-navy-dark),var(--vote-navy));color:#fff; }
.r188-h5595-cta-inner { display:flex;justify-content:space-between;align-items:center;gap:30px;padding-top:38px;padding-bottom:38px; }
.r188-h5595-cta .r188-h5595-kicker { color:#9bc6f2; }
.r188-h5595-cta h2 { margin:0;color:#fff;font-size:clamp(1.6rem,2.6vw,2.35rem); }
.r188-h5595-cta p:not(.r188-h5595-kicker) { margin:7px 0 0;color:rgba(255,255,255,.82); }
.r188-h5595-cta .r188-button { white-space:nowrap; }

@media (max-width: 1050px) {
  .r188-h5595-summary-grid { grid-template-columns:1fr; }
  .r188-h5595-roster { grid-template-columns:repeat(3,minmax(0,1fr)); }
  .r188-h5595-filters { grid-template-columns:1fr; }
  .r188-h5595-filter-buttons { flex-wrap:wrap; }
  .r188-h5595-party-filter { justify-content:flex-start; }
  .r188-h5595-party-filter select { width:auto; }
}
@media (max-width: 760px) {
  .r188-h5595-hero-inner { padding-top:38px;padding-bottom:38px; }
  .r188-h5595-statusline { align-items:flex-start;flex-direction:column;gap:8px; }
  .r188-h5595-statusline > span:not(.r188-h5595-status-badge) { padding-left:0; }
  .r188-h5595-statusline > span:not(.r188-h5595-status-badge)::before { display:none; }
  .r188-h5595-metrics { grid-template-columns:repeat(2,1fr);gap:18px 0; }
  .r188-h5595-metric:nth-child(2) { border-right:0; }
  .r188-h5595-metric:nth-child(3) { padding-left:0; }
  .r188-h5595-rollcall { padding:18px; }
  .r188-h5595-rollcall-heading { align-items:flex-start;flex-direction:column; }
  .r188-h5595-roster { grid-template-columns:repeat(2,minmax(0,1fr)); }
  .r188-h5595-cta-inner { align-items:flex-start;flex-direction:column; }
}
@media (max-width: 520px) {
  .r188-h5595-content { padding-top:22px; }
  .r188-h5595-summary-card,.r188-h5595-party-card { padding:18px; }
  .r188-h5595-metric { padding:0 10px; }
  .r188-h5595-metric strong { font-size:1.75rem; }
  .r188-h5595-roster { grid-template-columns:1fr; }
  .r188-h5595-filter-buttons { display:grid;grid-template-columns:1fr 1fr;width:100%; }
  .r188-h5595-filter-buttons button { width:100%; }
  .r188-h5595-party-filter { display:block; }
  .r188-h5595-party-filter span { display:block;margin-bottom:5px; }
  .r188-h5595-party-filter select { width:100%; }
}

/* Theme Control 2.1+ additional-section builder output */
.r188-h5595-custom{margin-top:18px;border-radius:var(--r188-radius,14px)}
.r188-h5595-custom h2{margin:0;color:var(--vote-navy-dark);font-size:clamp(1.45rem,2.2vw,2rem)}
.r188-h5595-custom .r188-h5595-kicker{margin-bottom:5px}
.r188-h5595-custom-body{margin-top:10px;color:var(--vote-muted);line-height:1.65}
.r188-h5595-custom-body>:first-child{margin-top:0}.r188-h5595-custom-body>:last-child{margin-bottom:0}
.r188-h5595-custom-body a{color:var(--vote-blue);font-weight:700}
.r188-h5595-custom-action{margin:18px 0 0}
.r188-h5595-custom-card,.r188-h5595-custom-accent{background:#fff;border:1px solid var(--vote-line);box-shadow:0 8px 28px rgba(6,34,67,.05);padding:24px}
.r188-h5595-custom-accent{border-left:4px solid var(--vote-blue)}
.r188-h5595-custom-plain{padding:14px 0}
.r188-h5595-custom-navy{padding:26px;background:linear-gradient(135deg,var(--vote-navy-dark),var(--vote-navy));color:#fff;box-shadow:0 8px 28px rgba(6,34,67,.10)}
.r188-h5595-custom-navy h2{color:#fff}.r188-h5595-custom-navy .r188-h5595-kicker{color:#9bc6f2}.r188-h5595-custom-navy .r188-h5595-custom-body{color:rgba(255,255,255,.86)}.r188-h5595-custom-navy .r188-h5595-custom-body a{color:#fff}
.r188-h5595-source-note-body p{margin:4px 0 0}.r188-h5595-source-note-body>:last-child{margin-bottom:0}
.r188-h5595-sources-body p{margin:0;color:var(--vote-muted);line-height:1.6;font-size:.88rem}.r188-h5595-sources-body p+p{margin-top:10px}.r188-h5595-sources-body a{color:var(--vote-blue);font-weight:700}
.r188-h5595-after-cta .r188-h5595-custom{margin-bottom:18px}
