.custom-tooltip{background:hsl(var(--background));border:1px solid hsl(var(--border));padding:10px;margin-top:8px;box-shadow:0 2px 4px #0003;max-width:350px;width:auto;min-width:350px;text-align:center;color:hsl(var(--foreground));transition:background-color .2s ease,color .2s ease,border-color .2s ease}@media(prefers-color-scheme:dark){.custom-tooltip{box-shadow:0 2px 4px #0006}}.custom-tooltip h4{font-size:18px;margin:8px 0;font-weight:700;color:hsl(var(--foreground));transition:color .2s ease}.custom-tooltip h3{margin-bottom:30px}.leaflet-popup-content-wrapper{background:#fff;border-radius:4px;box-shadow:0 2px 8px #0003;transition:background-color .2s ease;border:1px solid #d1d5db}@media(prefers-color-scheme:dark){.leaflet-popup-content-wrapper{background:#1f2937;border:1px solid #374151;box-shadow:0 2px 8px #0006}}.leaflet-popup-content-wrapper .leaflet-popup-content{min-width:270px;margin:0;padding:0}.leaflet-popup-tip{background:#fff;transition:background-color .2s ease}@media(prefers-color-scheme:dark){.leaflet-popup-tip{background:#1f2937}}.popup-content{font-size:14px;line-height:1.4;color:#111827;transition:color .2s ease}@media(prefers-color-scheme:dark){.popup-content{color:#f9fafb}}.popup-content h3{font-size:20px;margin:10px 0 30px 10px;color:hsl(var(--foreground));transition:color .2s ease}@media(prefers-color-scheme:dark){.popup-content h3{color:#f9fafb}}.chart-container{margin-top:15px}.bar-container{display:flex;align-items:center;margin-bottom:2px;min-height:35px;padding:4px 0;min-width:0}.bar-and-label-wrapper{display:flex;align-items:center;gap:7px;flex:1;min-width:0;position:relative;margin-right:70px}.bar{height:35px;border-radius:2px;max-width:100%;flex-shrink:0;transform-origin:left}.bar-label{white-space:nowrap;font-size:14px;position:static;right:auto;min-width:60px;z-index:1}.party-name{position:relative;cursor:help}.bar-container img{width:75px;margin-right:10px;flex-shrink:0}@media(hover:hover){.party-name:hover:after{content:attr(title);position:absolute;left:0;top:100%;background:#fff;color:#111827;padding:5px 10px;border-radius:4px;box-shadow:0 2px 4px #0003;border:1px solid #d1d5db;z-index:1000;white-space:nowrap;font-size:.9em}@media(prefers-color-scheme:dark){.party-name:hover:after{background:#1f2937;color:#f9fafb;border:1px solid #374151;box-shadow:0 2px 4px #0006}}}@media(hover:none){.party-name:active:after{content:attr(title);position:absolute;left:0;top:100%;background:#fff;color:#111827;padding:8px 12px;border-radius:6px;box-shadow:0 4px 8px #0003;border:1px solid #d1d5db;z-index:1000;white-space:nowrap;font-size:14px}@media(prefers-color-scheme:dark){.party-name:active:after{background:#1f2937;color:#f9fafb;border:1px solid #374151;box-shadow:0 4px 8px #0006}}.bar-container{min-height:40px;padding:5px 0}}@media(max-width:800px){.custom-tooltip{font-size:12px;padding:8px;min-width:300px;max-width:300px}.popup-content h3{font-size:18px;margin:8px 0 20px 8px}.bar-container{min-height:30px;padding:3px 0}.bar{height:30px}.bar-container img{width:35px;margin-right:5px}.bar-label{font-size:12px;min-width:50px}.leaflet-popup-content-wrapper .leaflet-popup-content{min-width:250px}}@media(max-width:500px){.custom-tooltip h4{font-size:13px;margin:8px 0;font-weight:700;color:#333}.custom-tooltip h3{margin-bottom:30px}.popup-content h3{font-size:16px;margin:6px 0 15px 6px}.custom-tooltip{font-size:12px;padding:8px;min-width:220px;max-width:220px}.bar-container{min-height:25px;padding:2px 0}.bar{height:25px}.bar-container img{width:30px;margin-right:3px}.bar-label{font-size:11px;min-width:45px}.leaflet-popup-content-wrapper .leaflet-popup-content{min-width:220px}}.mobile-tooltip-container.svelte-1dmfta4{animation:svelte-1dmfta4-slideUp .3s ease-out}@keyframes svelte-1dmfta4-slideUp{0%{opacity:0;transform:translateY(10px)}to{opacity:1;transform:translateY(0)}}
