/* Global legislation map — homepage command centre. */
.govtoday .entry-content .gv-section#legislation-map { padding-top: 24px; background: #fff; }
.gv-law-map { --law-bill: #f4b740; --law-enacted: #4ce3a0; overflow: hidden; border: 1px solid #253a52; border-radius: 22px; background: #07172a; color: #b8c6d6; box-shadow: 0 28px 80px rgba(7,23,42,.16); }
.gv-law-map__head { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 30px; align-items: end; padding: clamp(28px, 5vw, 64px); padding-bottom: 28px; }
.gv-law-map__head .gv-eyebrow { color: var(--gv-gold); }
.gv-law-map__head h1 { max-width: 1000px; margin: 10px 0 18px; color: #fff; font-size: clamp(2.8rem, 6vw, 6.4rem); line-height: .88; letter-spacing: -.065em; }
.gv-law-map__head p { max-width: 900px; margin: 0; color: #98aabd; font-size: 1.03rem; }
.gv-law-map__updated { display: grid; grid-template-columns: 12px auto; gap: 1px 9px; align-items: center; min-width: 150px; padding: 12px 14px; border: 1px solid #2b4059; border-radius: 10px; background: #0d2037; }
.gv-law-map__updated i { grid-row: 1 / span 2; width: 9px; height: 9px; border-radius: 50%; background: var(--law-enacted); box-shadow: 0 0 0 4px rgba(76,227,160,.13); }
.gv-law-map__updated span { color: #7f92a8; font-size: .72rem; }
.gv-law-map__updated b { color: #fff; font-size: .82rem; }
.gv-law-map__kpis { display: grid; grid-template-columns: repeat(4, 1fr); margin: 0 clamp(20px, 4vw, 48px); border: 1px solid #2b4059; border-radius: 13px; overflow: hidden; }
.gv-law-map__kpis > * { display: grid; gap: 6px; padding: 17px 20px; border: 0; border-left: 1px solid #2b4059; background: #0b1d33; color: #aebdcd; text-align: left; font: inherit; }
.gv-law-map__kpis > *:first-child { border-left: 0; }
.gv-law-map__kpis button { cursor: pointer; }
.gv-law-map__kpis button:hover, .gv-law-map__kpis button.is-active { background: #132a46; box-shadow: inset 0 -3px 0 var(--gv-gold); }
.gv-law-map__kpis b { color: #fff; font-size: 1.7rem; line-height: 1; }
.gv-law-map__kpis span { font-size: .78rem; }
.gv-law-map__toolbar { display: grid; grid-template-columns: minmax(170px, .65fr) minmax(170px, .65fr) minmax(230px, 1fr) auto; gap: 12px; align-items: end; margin: 20px clamp(20px, 4vw, 48px); }
.gv-law-map__toolbar label { display: grid; gap: 5px; }
.gv-law-map__toolbar label > span { color: #7f92a8; font-size: .72rem; font-weight: 700; }
.gv-law-map__toolbar select, .gv-law-map__toolbar input { width: 100%; min-height: 42px; border: 1px solid #31465f; border-radius: 8px; padding: 8px 11px; background: #0d2037; color: #edf4fb; font: 500 .86rem var(--gv-body); }
.gv-law-map__toolbar select { appearance: none; padding-right: 34px; background-image: linear-gradient(45deg, transparent 50%, #91a3b8 50%), linear-gradient(135deg, #91a3b8 50%, transparent 50%); background-position: calc(100% - 16px) 18px, calc(100% - 11px) 18px; background-size: 5px 5px; background-repeat: no-repeat; }
.gv-law-map__toolbar select:focus, .gv-law-map__toolbar input:focus { outline: 3px solid rgba(76,227,160,.12); border-color: var(--law-enacted); }
.gv-law-map__legend { display: flex; gap: 13px; align-items: center; min-height: 42px; padding: 8px 11px; border: 1px solid #31465f; border-radius: 8px; background: #0d2037; white-space: nowrap; }
.gv-law-map__legend span { display: inline-flex; align-items: center; gap: 6px; color: #b8c6d6; font-size: .76rem; }
.gv-law-map__legend i, .gv-law-feed__meta i { width: 8px; height: 8px; border-radius: 50%; }
.gv-law-map__legend .is-bill, .gv-law-feed__meta i.is-bill { background: var(--law-bill); }
.gv-law-map__legend .is-law, .gv-law-feed__meta i.is-law { background: var(--law-enacted); }
.gv-law-map__workspace { display: grid; grid-template-columns: minmax(0, 1fr) minmax(300px, 390px); min-height: 560px; border-top: 1px solid #253a52; }
.gv-law-map__canvas { position: relative; min-width: 0; overflow: hidden; background: radial-gradient(circle at 50% 45%, #152c49 0%, #0a1b30 52%, #07172a 100%); }
.gv-law-world { display: block; width: 100%; height: 100%; min-height: 520px; }
.gv-law-world__grid path { fill: none; stroke: #1b334e; stroke-width: 1; stroke-dasharray: 2 7; }
.gv-law-world__land { fill: #1b334b; stroke: #304a66; stroke-width: 1.2; }
.gv-law-marker { cursor: pointer; outline: none; }
.gv-law-marker[hidden] { display: none; }
.gv-law-marker text { fill: #dbe6f1; font: 700 11px var(--gv-body); paint-order: stroke; stroke: #07172a; stroke-width: 3px; stroke-linejoin: round; }
.gv-law-marker__dot { fill: var(--law-enacted); stroke: #07172a; stroke-width: 2; }
.gv-law-marker.is-bill .gv-law-marker__dot { fill: var(--law-bill); }
.gv-law-marker__pulse { fill: rgba(76,227,160,.11); stroke: rgba(76,227,160,.42); stroke-width: 1; transform-origin: center; animation: gv-law-pulse 2.4s infinite; }
.gv-law-marker.is-bill .gv-law-marker__pulse { fill: rgba(244,183,64,.1); stroke: rgba(244,183,64,.42); }
.gv-law-marker:hover .gv-law-marker__pulse, .gv-law-marker.is-active .gv-law-marker__pulse, .gv-law-marker:focus .gv-law-marker__pulse { fill: rgba(29,86,240,.25); stroke: #78a0ff; r: 18; }
.gv-law-marker.is-active .gv-law-marker__dot { fill: #fff; }
@keyframes gv-law-pulse { 50% { opacity: .45; } }
.gv-law-map__hint { position: absolute; left: 18px; bottom: 16px; padding: 8px 11px; border: 1px solid #2b4059; border-radius: 7px; background: rgba(7,23,42,.82); color: #8598ae; font-size: .74rem; backdrop-filter: blur(8px); }
.gv-law-feed { min-width: 0; max-height: 620px; overflow-y: auto; border-left: 1px solid #253a52; background: #0a1b30; scrollbar-color: #38506c #0a1b30; }
.gv-law-feed__head { position: sticky; top: 0; z-index: 2; display: flex; justify-content: space-between; gap: 12px; padding: 16px 18px; border-bottom: 1px solid #253a52; background: rgba(10,27,48,.94); backdrop-filter: blur(10px); }
.gv-law-feed__head b { color: #fff; font-size: .9rem; }
.gv-law-feed__head span { color: #7f92a8; font-size: .76rem; }
.gv-law-feed__item { display: grid; width: 100%; gap: 8px; padding: 16px 18px; border: 0; border-bottom: 1px solid #20364f; background: transparent; color: inherit; font: inherit; text-align: left; cursor: pointer; }
.gv-law-feed__item:hover, .gv-law-feed__item:focus { outline: none; background: #112944; }
.gv-law-feed__meta { display: flex; align-items: center; gap: 7px; color: #8396ac; font-size: .7rem; }
.gv-law-feed__meta b { color: var(--gv-gold); }
.gv-law-feed__item strong { color: #eef4fb; font-size: .91rem; line-height: 1.35; }
.gv-law-feed__foot { display: flex; justify-content: space-between; gap: 10px; color: #7f92a8; font-size: .7rem; }
.gv-law-feed__foot em { overflow: hidden; font-style: normal; text-overflow: ellipsis; white-space: nowrap; }
.gv-law-feed .gv-empty { padding: 20px; color: #8fa1b7; }
.gv-law-detail { margin: 0; padding: clamp(24px, 4vw, 48px); border-top: 1px solid #31465f; background: #10243d; }
.gv-law-detail[hidden] { display: none; }
.gv-law-detail__top { display: flex; justify-content: space-between; gap: 20px; }
.gv-law-detail__top > div { display: flex; flex-wrap: wrap; gap: 8px; }
.gv-law-detail__top button { display: grid; width: 36px; height: 36px; place-items: center; border: 1px solid #3b526d; border-radius: 8px; background: transparent; color: #b8c6d6; font-size: 1.4rem; cursor: pointer; }
.gv-law-status, .gv-law-topic { display: inline-flex; align-items: center; min-height: 28px; padding: 4px 9px; border: 1px solid #3b526d; border-radius: 6px; color: #c1cedb; font-size: .74rem; }
.gv-law-status.is-law { border-color: rgba(76,227,160,.42); background: rgba(76,227,160,.09); color: var(--law-enacted); }
.gv-law-status.is-bill { border-color: rgba(244,183,64,.42); background: rgba(244,183,64,.09); color: var(--law-bill); }
.gv-law-detail__grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(260px, .45fr); gap: 40px; margin-top: 16px; }
.gv-law-detail h2 { max-width: 900px; margin: 5px 0 12px; color: #fff; font-size: clamp(1.6rem, 3vw, 2.7rem); }
.gv-law-detail p { color: #a7b7c8; }
.gv-law-detail dl { display: grid; gap: 0; margin: 0; }
.gv-law-detail dl div { padding: 10px 0; border-bottom: 1px solid #31465f; }
.gv-law-detail dt { color: #7f92a8; font-size: .72rem; }
.gv-law-detail dd { margin: 3px 0 0; color: #eef4fb; font-size: .9rem; }
.gv-law-detail__actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 24px; }
.gv-law-detail .gv-btn--ghost { border-color: #4b6078; background: transparent; color: #fff !important; }

@media (max-width: 1080px) {
	.gv-law-map__toolbar { grid-template-columns: 1fr 1fr; }
	.gv-law-map__workspace { grid-template-columns: 1fr; }
	.gv-law-feed { max-height: 430px; border-top: 1px solid #253a52; border-left: 0; }
}
@media (max-width: 760px) {
	.govtoday .entry-content .gv-section#legislation-map { padding-top: 0; }
	.gv-law-map { width: calc(100% + 2 * var(--gv-gutter)); margin-left: calc(-1 * var(--gv-gutter)); border-width: 0; border-radius: 0; }
	.gv-law-map__head { grid-template-columns: 1fr; }
	.gv-law-map__head h1 { font-size: clamp(3rem, 16vw, 5rem); }
	.gv-law-map__updated { justify-self: start; }
	.gv-law-map__kpis { grid-template-columns: 1fr 1fr; }
	.gv-law-map__kpis > *:nth-child(3) { border-top: 1px solid #2b4059; border-left: 0; }
	.gv-law-map__kpis > *:nth-child(4) { border-top: 1px solid #2b4059; }
	.gv-law-map__toolbar { grid-template-columns: 1fr; }
	.gv-law-map__legend { overflow-x: auto; }
	.gv-law-world { min-width: 820px; }
	.gv-law-map__canvas { overflow-x: auto; }
	.gv-law-detail__grid { grid-template-columns: 1fr; gap: 16px; }
}
@media (prefers-reduced-motion: reduce) { .gv-law-marker__pulse { animation: none; } }

