.bill-filters {display:grid;grid-template-columns:minmax(0,2fr) repeat(2,minmax(0,1.2fr));gap:.65rem;align-items:end;margin:.8rem 0}
.bill-filters[hidden],.bill-items li[hidden],#bill-empty[hidden]{display:none}
.bill-filters label {display:grid;min-width:0;gap:.2rem;font-weight:650;font-size:.88rem}
.bill-filters :is(input,select,button){min-width:0;max-width:100%;min-height:44px;border:1px solid #a79f8a;border-radius:7px;background:#fff;color:#243745;padding:.45em .6em;font:inherit}
.bill-filters button{justify-self:start;cursor:pointer}
.bill-filters :is(input,select,button):focus-visible{outline:3px solid #325e9a;outline-offset:2px}
#bill-count,.bill-meta{font-size:.86rem;color:#4e5962}
.bill-items{list-style:none;padding:0;margin:0}
.bill-items li{padding:14px 0;border-top:1px solid #e2d9c0}
.bill-items li:last-child{padding-bottom:0}
.bill-items h3{margin:.33rem 0 .05rem;font-size:1.03rem;line-height:1.5;overflow-wrap:anywhere}
.bill-items a{display:inline-flex;align-items:center;min-height:44px;gap:.3rem}
.bill-meta{display:flex;flex-wrap:wrap;align-items:center;gap:.38rem .65rem}
.bill-stage{background:#e9efe9;color:#244947;padding:.1em .6em;border-radius:999px;font-weight:650}
@media(max-width:650px){.bill-filters{grid-template-columns:repeat(2,minmax(0,1fr))}.bill-filters label:first-child{grid-column:1 / -1}}
.bill-items li[id]{scroll-margin-top:1.25rem}
.bill-items li:target{border-top-color:#9b752f;background:#fff7dc;padding:.85rem .6rem}
.bill-brief{margin:.35rem 0 .1rem}
.bill-brief summary{font-weight:700;cursor:pointer;padding:.4rem 0}
.bill-brief p{margin:.35rem 0}

/* Bill detail is readable without script. The rail shows observed records, not guessed stages. */
.bill-items .bill-read-more{display:inline-block;margin-inline-start:.7rem}
.bill-detail h1{font-size:clamp(1.6rem,4.2vw,2.65rem);overflow-wrap:anywhere}
.bill-detail .bill-route{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:.75rem;margin:1rem 0 1.45rem}
.bill-route>div{border:1px solid #bfc9ba;border-radius:.75rem;padding:.8rem;background:#fffdf6}
.bill-route dt{font-weight:800;color:#34504a}
.bill-route dd{margin:.35rem 0 0;overflow-wrap:anywhere}
.bill-detail-timeline{margin:0;padding:0;list-style:none;border-block-start:1px solid #ded6c5}
.bill-detail-timeline li{display:grid;grid-template-columns:minmax(7.4rem,auto) minmax(5rem,auto) minmax(0,1fr);gap:.5rem;padding:.85rem .2rem;border-block-end:1px solid #ded6c5}
.bill-detail-timeline li strong{overflow-wrap:anywhere}
.bill-detail-timeline time,.bill-route time{font-variant-numeric:tabular-nums}
.bill-related{padding-inline-start:1.1rem}
.bill-related li{margin-block:1rem}
.bill-related p{margin:.2rem 0}
@media(max-width:540px){
 .bill-detail .bill-route{grid-template-columns:1fr}
 .bill-detail-timeline li{grid-template-columns:1fr 1fr}
 .bill-detail-timeline li strong{grid-column:1/-1}
}

.bill-enacted-items { list-style:none; padding:0; margin:0; }
.bill-enacted-items li { border-block-start:1px solid #e2d9c0; padding:.8rem 0; }
.bill-enacted-items h3 { margin:.25rem 0; font-size:1.03rem; overflow-wrap:anywhere; }
.bill-enacted-items a { display:inline-flex; align-items:center; min-height:44px; }
