.leg-main{--leg-mute:#4c6155;--leg-border:#d8e5dc;--leg-green:#116345;--leg-soft:#edf7f0}
.leg-main .leg-hero{border-color:#284a40}
.leg-main :focus-visible{outline:2px solid #197653;outline-offset:3px}
.leg-marco{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1.55fr);gap:20px;padding:19px 22px;margin-top:16px}
.leg-law{border-right:1px solid var(--leg-border);padding-right:20px}
.leg-law-title{display:inline-flex;align-items:center;gap:9px;color:#164533;font-size:clamp(21px,2.6vw,32px);line-height:1.12;font-weight:820;letter-spacing:-.035em;text-decoration:none}
.leg-law-title:hover,.leg-project-head h3 a:hover,.leg-history-links a:hover strong{text-decoration:underline}
.leg-law-title .cd-icon{width:20px;height:20px}
.leg-law p:last-child,.leg-history p{margin:8px 0 0;color:var(--leg-mute);line-height:1.52;font-size:14px}
.leg-history p{margin-top:1px}
.leg-history p strong{color:#203d2f}
.leg-history-links{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;margin-top:10px}
.leg-history-links a{min-width:0;text-decoration:none;color:#164533;background:#f5faf6;border:1px solid var(--leg-border);padding:8px 10px;border-radius:9px;display:grid;gap:3px}
.leg-history-links a:hover{background:var(--leg-soft)}
.leg-history-links span{font-size:10px;letter-spacing:.05em;font-weight:760;color:#426c58}
.leg-history-links strong,.leg-jumps>a,.leg-project-head h3 a{display:flex;gap:5px;align-items:center}
.leg-history-links strong .cd-icon,.leg-project-head h3 .cd-icon{width:14px;height:14px}
.leg-jumps{display:flex;flex-wrap:wrap;gap:7px;margin:13px 0}
.leg-jumps>a{gap:8px}
.leg-jumps span,.leg-count{color:#174b36;background:#e1f2e8;border-radius:999px;padding:2px 8px;font-size:12px;font-weight:760;white-space:nowrap}
.leg-filter{display:flex;flex-wrap:wrap;align-items:end;gap:8px 12px;padding:11px 15px;margin-bottom:14px}
.leg-filter label{display:grid;gap:4px;min-width:0;font-size:12px;font-weight:750;flex:0 1 195px}
.leg-filter label:first-child{flex:1 1 200px}
.leg-filter input,.leg-filter select{width:100%;min-height:38px;border:1px solid #c6d8cc;border-radius:8px;background:#fcfefd;padding:8px 10px;color:var(--ink);font:inherit}
.leg-filter .cd-button{min-height:38px}.leg-filter .source{align-self:center}
.leg-house{margin:0 0 14px;overflow:hidden;scroll-margin-top:10px}
.leg-house-head{display:flex;justify-content:space-between;gap:7px 14px;align-items:start;flex-wrap:wrap;padding:16px 18px 12px}
.leg-house-head h2{margin:0;font-size:clamp(20px,2.7vw,30px);letter-spacing:-.03em}
.leg-house-head p:last-child{font-size:12px;margin:4px 0 0;color:var(--leg-mute)}
.leg-house-head .cd-icon{width:13px;height:13px;vertical-align:-2px}
.leg-count{padding:5px 10px}
.leg-projects{list-style:none;margin:0;padding:0 17px}
.leg-projects li{border-top:1px solid var(--leg-border);padding:13px 0}
.leg-project-head,.leg-project-foot{display:flex;align-items:baseline;flex-wrap:wrap;justify-content:space-between;gap:6px 12px}
.leg-project-head h3{font-size:17px;line-height:1.2;margin:0}
.leg-project-head h3 a{color:var(--leg-green);text-decoration:none}
.leg-status{border:1px solid #e2eae4;border-radius:6px;background:#f4f7f5;padding:3px 7px;font-size:11px;font-weight:680;color:#3c5347;overflow-wrap:anywhere}
.leg-ementa{font-size:14px;line-height:1.5;margin:6px 0 7px;overflow-wrap:anywhere}
.leg-relevance{font-size:13px;color:var(--leg-mute);margin:0 0 7px}
.leg-themes{display:flex;flex-wrap:wrap;gap:4px}
.leg-themes>span{background:var(--leg-soft);border:1px solid #dbece0;border-radius:5px;color:#2e5945;padding:2px 6px;font-size:11px;font-weight:650}
.leg-meta,.leg-scope,.leg-note,.leg-empty,.leg-warning{font-size:12px;line-height:1.5;color:var(--leg-mute)}
.leg-scope{margin:0;border-top:1px solid var(--leg-border);padding:10px 17px}
.leg-empty{margin:0;padding:9px 17px 16px;font-size:14px}
.leg-warning{margin:0 17px 10px;padding:6px 9px;border:1px solid #ebddb7;background:#fdf8ec;color:#694b19;border-radius:7px}
.leg-note{margin:14px 0 22px}
@media(max-width:740px){.leg-marco{grid-template-columns:minmax(0,1fr);gap:10px;padding:15px}.leg-law{border-right:0;border-bottom:1px solid var(--leg-border);padding:0 0 11px}}
@media(max-width:470px){.leg-filter label{flex:1 1 125px}.leg-history-links{grid-template-columns:minmax(0,1fr)}.leg-projects{padding:0 13px}.leg-house-head{padding-left:13px;padding-right:13px}}
