/* Isolated homepage consultation block; the rest of the portal remains unchanged. */
.home-legislative { margin:44px 0; color:var(--home-ink); font-family:var(--home-sans); scroll-margin-top:90px; }
.leg-header { margin-bottom:24px; }
.leg-eyebrow { margin:0 0 8px; color:#8a6223; font-size:.75rem; font-weight:600; letter-spacing:.08em; text-transform:uppercase; }
.leg-header h2 { margin:0; font-family:var(--home-serif); font-size:1.8rem; line-height:1.25; font-weight:600; }
.leg-header h2::after { content:""; display:block; width:34px; height:3px; margin-top:12px; background:var(--home-sand); }
.leg-intro { margin:14px 0 0; color:var(--home-ink-soft); font-size:.98rem; line-height:1.6; }
.leg-workspace { border:1px solid var(--home-line); border-radius:12px; background:#fff; overflow:hidden; }
.leg-tabs { display:flex; flex-wrap:wrap; gap:0 26px; padding:0 28px; border-bottom:1px solid var(--home-line); }
.leg-tabs a { display:inline-flex; align-items:center; position:relative; min-height:62px; padding:14px 0; color:var(--home-ink-soft); font-size:1rem; text-decoration:none; font-weight:600; }
.leg-tabs a:hover { color:var(--home-brand); text-decoration:none; }
.leg-tabs a[aria-selected="true"] { color:var(--home-brand); }
.leg-tabs a[aria-selected="true"]::after { content:""; position:absolute; left:0; right:0; bottom:-1px; height:3px; background:var(--home-sand); }
.leg-panel { padding:28px; scroll-margin-top:90px; }
.home-legislative [hidden] { display:none !important; }
.leg-panel + .leg-panel { border-top:1px solid var(--home-line); }
.is-enhanced .leg-panel { border-top:0; }
.leg-panel-head { display:flex; justify-content:space-between; align-items:center; flex-wrap:wrap; gap:18px 28px; margin-bottom:16px; }
.leg-panel h3 { margin:0; font-family:var(--home-serif); font-size:1.4rem; font-weight:600; line-height:1.3; }
.leg-selector { display:none; align-items:center; gap:12px; }
.is-enhanced .leg-selector { display:flex; }
.leg-selector label { margin:0; color:var(--home-ink-soft); font-size:.88rem; }
.leg-selector select { min-height:42px; min-width:140px; max-width:100%; padding:8px 32px 8px 12px; border:1px solid #cbd2dc; border-radius:6px; background:#fff; color:var(--home-brand); font:600 .94rem var(--home-sans); cursor:pointer; }
.leg-selector select:hover { border-color:var(--home-brand); }
.leg-description { max-width:none; margin:0 0 22px; color:var(--home-ink-soft); font-size:.98rem; line-height:1.65; text-align:justify; text-align-last:left; }
.leg-group-label { font-size:1.05rem; margin:24px 0 14px; }
.is-enhanced .leg-group-label { display:none; }
.leg-document-table { width:100%; table-layout:fixed; margin:0; border-collapse:collapse; font-size:.96rem; line-height:1.5; }
.leg-document-table thead { background:#f4f6f9; color:var(--home-ink-soft); }
.leg-document-table thead th { padding:12px 16px; border:0; font-size:.8rem; font-weight:600; letter-spacing:.025em; }
.leg-document-table thead th:nth-child(2) { width:30%; }
.leg-document-table thead th:last-child { width:340px; text-align:center; }
.leg-document-table tbody th,.leg-document-table td { padding:20px 16px; border-bottom:1px solid #e9ecf1; vertical-align:middle; }
.leg-document-table tbody tr:last-child > * { border-bottom:0; }
.leg-document-table tbody th { font-weight:600; }
.leg-document-table time { color:var(--home-ink-soft); font-size:.9rem; }
.leg-document-name { display:flex; align-items:center; gap:14px; overflow-wrap:anywhere; }
.leg-document-icon { display:inline-flex; flex:0 0 38px; align-items:center; justify-content:center; width:38px; height:42px; border-radius:8px; background:#edf1f6; color:var(--home-brand); }
.home-legislative svg { width:19px; height:19px; fill:none; stroke:currentColor; stroke-width:1.6; stroke-linecap:round; stroke-linejoin:round; }
.leg-actions { white-space:nowrap; text-align:right; }
.home-legislative .leg-read,.home-legislative .leg-download { display:inline-flex; align-items:center; justify-content:center; gap:9px; min-height:42px; padding:8px 13px; border:1px solid var(--home-brand); border-radius:6px; background:var(--home-brand); color:#fff; font-size:.85rem; font-weight:600; text-decoration:none; transition:background .18s,border-color .18s,color .18s; }
.home-legislative .leg-read:hover { background:var(--home-brand-dark); border-color:var(--home-brand-dark); color:#fff; text-decoration:none; }
.home-legislative .leg-download { margin-left:7px; border-color:var(--home-line); background:#fff; color:var(--home-brand); }
.home-legislative .leg-download:hover { border-color:var(--home-brand); background:#edf1f6; color:var(--home-brand-dark); text-decoration:none; }
.leg-empty { margin:0; padding:24px; border:1px dashed #cbd2dc; border-radius:8px; color:var(--home-ink-soft); }
.leg-unavailable { color:#657083; font-size:.88rem; }
.home-page .home-legislative a:focus-visible,.home-page .home-legislative select:focus-visible,.home-page .home-legislative summary:focus-visible { outline:3px solid var(--home-sand); outline-offset:4px; }
@media(max-width:991.98px) { .leg-document-table thead th:nth-child(2) { width:220px; } .leg-download span { display:none; } .leg-document-table thead th:last-child { width:240px; } .leg-panel { padding:24px; } }
@media(max-width:767.98px) {
  .home-legislative { margin:32px 0; }
  .leg-header h2 { font-size:1.5rem; }
  .leg-tabs { flex-wrap:nowrap; gap:0; padding:0 16px; }
  .leg-tabs a { flex:1; min-width:0; justify-content:center; padding:14px 8px; text-align:center; font-size:.9rem; line-height:1.35; }
  .leg-panel { padding:22px 16px; }
  .leg-panel-head { align-items:flex-start; }
  .leg-selector { width:100%; justify-content:space-between; gap:14px; }
  .leg-selector select { min-width:0; flex:1; max-width:230px; }
  .leg-document-table,.leg-document-table tbody { display:block; width:100%; }
  .leg-document-table thead { position:absolute; width:1px; height:1px; overflow:hidden; clip-path:inset(50%); }
  .leg-document-table tr { display:block; padding:18px 0; border-top:1px solid var(--home-line); }
  .leg-document-table tbody th,.leg-document-table td { display:block; width:100%; border:0; padding:0; }
  .leg-document-table td[data-label] { margin:12px 0 16px; padding-left:52px; }
  .leg-document-table td[data-label]::before { content:attr(data-label) ": "; color:var(--home-ink-soft); font-size:.85rem; }
  .leg-document-table .leg-actions { padding-left:52px; text-align:left; white-space:normal; }
  .home-legislative .leg-read,.home-legislative .leg-download { font-size:.82rem; padding:8px 10px; }
}
@media(prefers-reduced-motion:reduce) { .home-legislative .leg-read,.home-legislative .leg-download { transition:none; } }
