:root { --text-scale: 1; --ink: #10233f; --muted: #34485f; --border: #dce3ec; --blue: #174a98; --navy: #0b2449; font-family: "Heebo", "Rubik", "Noto Sans Hebrew", "Segoe UI", Arial, sans-serif; }
* { box-sizing: border-box; }
body { margin: 0; color: var(--ink); background: #f4f6f9; font-size: calc(16px * var(--text-scale)); line-height: 1.75; -webkit-font-smoothing: antialiased; }
h1,h2,h3,p { margin: 0; }
h1 { font-size: calc(36px * var(--text-scale)); line-height: 1.3; font-weight: 800; }
h2 { font-size: calc(24px * var(--text-scale)); line-height: 1.4; font-weight: 700; }
h3 { font-size: calc(19px * var(--text-scale)); line-height: 1.6; font-weight: 700; }
a { color: var(--blue); text-decoration: none; overflow-wrap: anywhere; }
a:hover { text-decoration: underline; }
.independent-bar { background: var(--navy); color: #dbe5f4; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px 24px; padding: 8px max(24px,calc((100vw - 1224px)/2)); font-size: calc(12px * var(--text-scale)); }
.topbar { background: #fff; border-bottom: 1px solid var(--border); }
.top-inner { max-width: 1280px; margin: auto; padding: 20px 28px; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 18px; }
.brand { display: flex; align-items: center; gap: 12px; font-size: calc(24px * var(--text-scale)); font-weight: 400; color: var(--ink); line-height: 1.2; }
.brand b { font-weight: 800; }
.brand small { display: block; color: var(--muted); font-size: calc(12px * var(--text-scale)); margin-top: 7px; }
.brand-mark { background: var(--blue); color: white; display: grid; place-items: center; width: 46px; height: 46px; flex-shrink: 0; border-radius: 9px; box-shadow: 4px 4px 0 #e7eef8; }
.back-link { min-height: 44px; display: inline-flex; align-items: center; font-size: calc(14px * var(--text-scale)); font-weight: 600; }
main { max-width: 1280px; margin: auto; padding: 28px 28px 60px; }
.legislation-hero { background: linear-gradient(120deg,#163e75,#0b2449); color: white; padding: 36px 40px; border-radius: 16px; }
.eyebrow { font-size: calc(13px * var(--text-scale)); font-weight: 700; color: #dbe5f4; margin-bottom: 12px; }
.legislation-hero p { margin-top: 16px; color: #dbe5f4; font-size: calc(17px * var(--text-scale)); }
.hero-tag { display: inline-block; border: 1px solid #7894b6; color: #dbe5f4; padding: 5px 12px; border-radius: 6px; margin-top: 24px; font-size: calc(12px * var(--text-scale)); }
.notice { margin: 24px 0; padding: 18px 24px; border: 1px solid #cbdef2; border-inline-start: 4px solid var(--blue); border-radius: 10px; background: #eaf0f7; font-size: calc(14px * var(--text-scale)); }
.notice-title { font-weight: 700; margin-bottom: 6px; }
.notice p+p { margin-top: 10px; }
.muted,.note { color: var(--muted); font-size: calc(13px * var(--text-scale)); }
.filter-section { background: #fff; border: 1px solid var(--border); border-radius: 16px; padding: 28px; }
.section-heading { margin-bottom: 24px; }
.section-heading p { margin-top: 8px; color: var(--muted); font-size: calc(14px * var(--text-scale)); }
.filter-grid { display: grid; gap: 20px; grid-template-columns: repeat(auto-fit,minmax(min(calc(260px * var(--text-scale)),100%),1fr)); }
.field { min-width: 0; }
label { display: block; font-size: calc(14px * var(--text-scale)); font-weight: 600; margin-bottom: 8px; }
button,input,select { font: inherit; color: inherit; min-height: 44px; min-width: 44px; border: 1px solid #a9b8cd; border-radius: 9px; background: white; padding: 10px 12px; }
input,select { width: 100%; max-width: 100%; font-size: calc(14px * var(--text-scale)); }
input::placeholder { color: var(--muted); }
button { cursor: pointer; font-size: calc(14px * var(--text-scale)); font-weight: 700; }
button:disabled,input:disabled,select:disabled { cursor: default; color: #34485f; background: #eaf0f7; }
.advanced-filters { margin-top: 24px; padding-top: 12px; border-top: 1px solid var(--border); }
summary { cursor: pointer; min-height: 44px; padding: 8px 0; font-size: calc(14px * var(--text-scale)); font-weight: 600; color: var(--blue); }
.advanced-filters .filter-grid { margin-top: 20px; }
.filter-actions { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px; margin-top: 24px; }
.filter-actions p { font-size: calc(13px * var(--text-scale)); color: var(--muted); }
.secondary { color: var(--blue); border: 1px solid #a9b8cd; padding: 10px 18px; }
.reading-guide { margin: 24px 0; padding: 12px 20px; background: #fff; border: 1px solid var(--border); border-radius: 10px; }
.reading-guide p { margin: 12px 0; font-size: calc(14px * var(--text-scale)); color: var(--muted); }
.result-heading { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px; margin: 32px 0 12px; }
#result-count { padding: 6px 12px; background: #eaf0f7; border-radius: 6px; color: var(--muted); font-size: calc(13px * var(--text-scale)); }
#date-note { margin: 12px 0 24px; }
.records { display: grid; gap: 20px; grid-template-columns: repeat(auto-fit,minmax(min(calc(440px * var(--text-scale)),100%),1fr)); align-items: stretch; }
.bill { display: flex; flex-direction: column; min-width: 0; padding: 24px; border: 1px solid var(--border); border-radius: 14px; background: #fff; overflow-wrap: anywhere; box-shadow: 0 3px 12px #10233f05; }
.bill h3 { margin: 16px 0 20px; }
.bill-meta { display: flex; flex-wrap: wrap; gap: 8px; font-size: calc(12px * var(--text-scale)); font-weight: 600; }
.pill { background: #eaf0f7; color: var(--ink); padding: 4px 10px; border: 1px solid #c7d2df; border-radius: 6px; }
.passed { background: #e9f3ef; color: #164c39; border-color: #a7c8b6; }
dl { margin: 0 0 20px; display: grid; grid-template-columns: repeat(auto-fit,minmax(min(calc(170px * var(--text-scale)),100%),1fr)); gap: 16px; }
dt { color: var(--muted); font-size: calc(12px * var(--text-scale)); }
dd { margin: 4px 0 0; font-size: calc(14px * var(--text-scale)); font-weight: 600; }
.bill>a { display: inline-flex; align-items: center; align-self: flex-start; min-height: 44px; padding-top: 10px; font-size: calc(14px * var(--text-scale)); font-weight: 600; }
.bill>a:first-of-type { margin-top: auto; }
.pagination { display: flex; gap: 16px; flex-wrap: wrap; justify-content: center; align-items: center; margin: 28px 0; font-size: calc(14px * var(--text-scale)); }
#download { display: inline-flex; align-items: center; min-height: 44px; font-size: calc(14px * var(--text-scale)); }
footer { background: var(--navy); color: #dbe5f4; padding: 32px 28px; }
.footer-inner { max-width: 1224px; margin: auto; }
.footer-brand { font-size: calc(24px * var(--text-scale)); margin-bottom: 16px; }
footer p { font-size: calc(13px * var(--text-scale)); margin: 12px 0; }
.footer-links { display: flex; flex-wrap: wrap; gap: 12px 24px; margin: 16px 0; }
footer a { color: #dbe5f4; display: inline-flex; align-items: center; min-height: 44px; font-size: calc(13px * var(--text-scale)); text-decoration: underline; }
:is(a,button,input,select,summary,[tabindex]):focus-visible { outline: 3px solid var(--ink); outline-offset: 4px; box-shadow: 0 0 0 6px #fff; }
.skip-link { position: fixed; top: -150px; right: 20px; padding: 12px 16px; background: white; z-index: 1100; min-height: 44px; }
.skip-link:focus { top: 16px; }
[hidden] { display: none !important; }
@media(max-width:640px) { main { padding: 20px 16px 40px; } .top-inner { padding: 16px; } .independent-bar { padding: 8px 16px; } .legislation-hero { padding: 28px 24px; } h1 { font-size: calc(28px * var(--text-scale)); } .filter-section,.bill { padding: 20px; } .notice { padding: 16px; } .result-heading { align-items: flex-start; } }
@media(forced-colors:active) { button,a,input,select,summary { forced-color-adjust: auto; } }
