@import"https://fonts.googleapis.com/css2?family=Poppins:wght@400;500;600;700;800&display=swap";.popup-content{font-family:Poppins,sans-serif;width:240px;background:#fff;border-radius:6px;overflow:hidden}.popup-header{padding:8px 10px;background:#1e293b;color:#fff;display:flex;justify-content:space-between;align-items:center}.district-name{font-size:13px;font-weight:700;line-height:1.3;white-space:nowrap;overflow:visible;text-overflow:clip}.const-number{font-size:9px;opacity:.8;margin-top:1px}.voted-badge{font-size:14px;color:#22c55e}.candidates-list{padding:5px;display:flex;flex-direction:column;gap:3px;max-height:280px;overflow-y:auto}.candidate-row{display:flex;align-items:flex-start;gap:5px;padding:5px 6px;background:#f8fafc;border-radius:4px;border:1px solid #e2e8f0;transition:all .15s ease;min-height:36px}.candidate-row:hover{border-color:#cbd5e1}.candidate-row.voted{background:#eff6ff;border-color:#93c5fd}.party-logo-container{width:24px;height:24px;display:flex;align-items:center;justify-content:center;flex-shrink:0;background:#fff;border-radius:3px;padding:2px;border:1px solid #e2e8f0;margin-top:1px}.party-logo{width:100%;height:100%;object-fit:contain}.party-dot{width:8px;height:8px;border-radius:50%;flex-shrink:0}.candidate-info{flex:1;min-width:0;display:flex;flex-direction:column;gap:2px;overflow:hidden;word-break:break-word;max-width:100%}.name{font-size:10px;font-weight:600;color:#1e293b;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;line-height:1.2;max-width:100%;display:block}.party{font-size:8px;font-weight:600;line-height:1.2;word-wrap:break-word;overflow-wrap:break-word;max-width:100%;display:-webkit-box;-webkit-line-clamp:1;-webkit-box-orient:vertical;overflow:hidden}.votes-info{text-align:right;flex-shrink:0;display:flex;flex-direction:column;gap:1px;min-width:32px;align-self:flex-start;margin-top:1px}.votes{font-size:10px;font-weight:700;color:#1e293b;line-height:1.1}.percent{font-size:8px;color:#64748b;line-height:1.1;font-weight:600}.vote-btn{padding:3px 8px;border:none;border-radius:3px;font-size:9px;font-weight:700;cursor:pointer;background:#3b82f6;color:#fff;flex-shrink:0;transition:all .15s ease;white-space:nowrap}.vote-btn:hover:not(:disabled){background:#2563eb}.vote-btn:disabled{background:#cbd5e1;color:#64748b;cursor:not-allowed}.vote-btn.voted{background:#22c55e;color:#fff;padding:3px 6px;min-width:22px}.candidates-list::-webkit-scrollbar{width:4px}.candidates-list::-webkit-scrollbar-thumb{background:#cbd5e1;border-radius:2px}.voting-popup .leaflet-popup-content-wrapper{border-radius:8px;padding:0;box-shadow:0 2px 12px #00000026;overflow:hidden;z-index:10000!important;transition:transform .2s ease-out;will-change:transform}.leaflet-popup{z-index:10000!important;backface-visibility:hidden;-webkit-backface-visibility:hidden}.voting-popup .leaflet-popup-content{margin:0;width:240px!important;padding:0}.voting-popup .leaflet-popup-tip{background:#1e293b}.leaflet-popup-close-button{display:none!important}@media (max-width: 768px){.voting-popup .leaflet-popup-content-wrapper{max-width:90vw!important;width:auto!important;margin:0 auto!important}.voting-popup .leaflet-popup-content{width:280px!important;max-width:90vw!important}.leaflet-popup{max-width:90vw!important;margin-left:auto!important;margin-right:auto!important}.popup-content{width:100%}.popup-header{padding:6px 8px}.district-name{font-size:11px}.const-number{font-size:8px}.voted-badge{font-size:12px}.candidates-list{padding:4px;gap:3px;max-height:240px}.candidate-row{padding:5px 6px;gap:5px;min-height:36px;align-items:flex-start}.party-logo-container{width:24px;height:24px;padding:2px;margin-top:1px}.name{font-size:10px;line-height:1.4}.party-dot{width:7px;height:7px}.name{font-size:10px}.party{font-size:8px}.votes-info{min-width:32px}.votes{font-size:10px}.percent{font-size:8px}.vote-btn{padding:4px 8px;font-size:9px;min-height:28px;min-width:50px}.vote-btn.voted{padding:4px 6px;min-width:20px}}@media (max-width: 480px){.voting-popup .leaflet-popup-content-wrapper{max-width:95vw!important}.voting-popup .leaflet-popup-content{width:260px!important;max-width:95vw!important}.popup-header{padding:5px 6px}.district-name{font-size:10px}.const-number{font-size:7px}.candidates-list{padding:3px;gap:2px;max-height:200px}.candidate-row{padding:4px 5px;gap:4px}.party-logo-container{width:22px;height:22px;padding:1px}.name{font-size:9px}.party{font-size:7px}.votes{font-size:9px}.percent{font-size:7px}.vote-btn{padding:3px 6px;font-size:8px;min-height:26px;min-width:45px}}.search-bar-container{position:relative;width:100%;max-width:400px;z-index:1000}.search-input-wrapper{position:relative;display:flex;align-items:center;background:#1e293b;-webkit-backdrop-filter:blur(10px);backdrop-filter:blur(10px);border:2px solid #334155;border-radius:10px;padding:10px 14px;transition:all .2s ease;box-shadow:0 2px 8px #0000004d}.search-input-wrapper:focus-within{border-color:#3b82f6;background:#0f172a;box-shadow:0 4px 12px #3b82f666}.search-icon{color:#94a3b8;flex-shrink:0;margin-right:10px}.search-input-wrapper:focus-within .search-icon{color:#60a5fa}.search-input{flex:1;border:none;outline:none;background:transparent;color:#f1f5f9;font-size:14px;font-weight:500;padding:0}.search-input::placeholder{color:#94a3b8}.search-clear{display:flex;align-items:center;justify-content:center;background:transparent;border:none;color:#94a3b8;cursor:pointer;padding:4px;margin-left:8px;border-radius:4px;transition:all .2s ease;flex-shrink:0}.search-clear:hover{background:#334155;color:#f1f5f9}.search-results{position:absolute;top:calc(100% + 8px);left:0;right:0;background:#fff;border-radius:8px;box-shadow:0 4px 12px #00000026;max-height:400px;overflow-y:auto;border:1px solid #e2e8f0;z-index:1003}.search-result-item{width:100%;padding:12px 16px;border:none;background:#fff;text-align:left;cursor:pointer;transition:background-color .15s ease;border-bottom:1px solid #f1f5f9;display:flex;flex-direction:column;gap:4px}.search-result-item:last-child{border-bottom:none}.search-result-item:hover,.search-result-item.focused{background:#eff6ff;border-left:3px solid #3b82f6;padding-left:13px;font-weight:600}.search-result-item.focused{background:#dbeafe;border-left:3px solid #2563eb}.result-main{display:flex;align-items:center;gap:12px;justify-content:space-between}.result-district{font-size:14px;font-weight:600;color:#1e293b}.result-const-id{font-size:12px;color:#64748b;font-weight:500;background:#f1f5f9;padding:2px 8px;border-radius:4px}.result-id{font-size:11px;color:#94a3b8;font-family:Monaco,Menlo,Courier New,monospace}.search-no-results{padding:16px;text-align:center;color:#64748b;font-size:14px}.search-results::-webkit-scrollbar{width:6px}.search-results::-webkit-scrollbar-track{background:#f1f5f9;border-radius:0 8px 8px 0}.search-results::-webkit-scrollbar-thumb{background:#cbd5e1;border-radius:3px}.search-results::-webkit-scrollbar-thumb:hover{background:#94a3b8}@media (max-width: 768px){.search-bar-container{max-width:100%;order:-1;margin-bottom:8px}.search-input{font-size:13px}.search-input::placeholder{font-size:13px}.search-results{max-height:300px}.result-district{font-size:13px}.result-const-id{font-size:11px;padding:2px 6px}.result-id{font-size:10px}}.map-wrapper{position:relative;width:100%;height:100%}.map-search-bar{position:absolute;top:16px;left:50%;transform:translate(-50%);z-index:1002;max-width:400px;width:calc(100% - 32px)}@media (max-width: 768px){.map-search-bar{top:12px;left:50%;transform:translate(-50%);right:auto;width:calc(100% - 24px);max-width:none}}.map-home-button{background:#fff!important;border-radius:6px!important;box-shadow:0 2px 8px #00000040!important;border:1px solid rgba(0,0,0,.15)!important;padding:0!important;margin-top:10px!important;z-index:1001!important;opacity:1!important;visibility:visible!important}.map-home-button .home-button{width:36px;height:36px;display:flex;align-items:center;justify-content:center;background:#fff;border:none;cursor:pointer;padding:0;color:#1e293b;transition:all .2s ease;border-radius:6px;outline:none;-webkit-tap-highlight-color:transparent;touch-action:manipulation;opacity:1;visibility:visible}.map-home-button .home-button:hover{background:#f8fafc;color:#0f172a;transform:scale(1.05);box-shadow:0 2px 6px #00000026}.map-home-button .home-button:active{background:#e2e8f0;transform:scale(.95)}.map-home-button .home-button svg{width:20px;height:20px;display:block;opacity:1;visibility:visible}@media (max-width: 768px){.map-home-button{margin-top:5px!important;opacity:1!important;visibility:visible!important}.map-home-button .home-button{width:44px;height:44px;min-width:44px;min-height:44px;opacity:1;visibility:visible}.map-home-button .home-button svg{width:22px;height:22px;opacity:1;visibility:visible}}.map-guide-text{position:absolute;bottom:20px;left:50%;transform:translate(-50%);background:#fffffff2;backdrop-filter:blur(8px);-webkit-backdrop-filter:blur(8px);padding:10px 18px;border-radius:20px;font-size:11px;font-weight:500;color:#475569;box-shadow:0 2px 8px #0000001a;z-index:1000;pointer-events:none;-webkit-user-select:none;user-select:none;font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Oxygen,Ubuntu,Cantarell,Fira Sans,Droid Sans,Helvetica Neue,sans-serif;letter-spacing:.01em;text-align:center;max-width:90%;line-height:1.4}@media (max-width: 768px){.map-guide-text{bottom:80px;font-size:10px;padding:6px 12px}}.map-wrapper .leaflet-container{-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;text-rendering:optimizeLegibility}.map-wrapper svg{shape-rendering:crispEdges}.map-wrapper .leaflet-interactive{shape-rendering:crispEdges;stroke-linecap:round;stroke-linejoin:round}.map-wrapper .leaflet-pane svg{pointer-events:none}.map-wrapper .leaflet-pane svg path{pointer-events:visibleStroke}.constituency-label-marker{background:transparent!important;border:none!important}.constituency-label{background:#fffffffa!important;border:1px solid rgba(0,0,0,.15)!important;border-radius:6px;padding:4px 8px;font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Oxygen,Ubuntu,Cantarell,Fira Sans,Droid Sans,Helvetica Neue,sans-serif;font-size:9px;font-weight:600;letter-spacing:.01em;color:#0f172a!important;pointer-events:none;white-space:nowrap;box-shadow:0 2px 8px #0000001f,0 1px 2px #00000014;text-shadow:none;display:inline-block!important;transform:translate(-50%,-50%);-webkit-user-select:none;user-select:none;transition:opacity .2s ease,font-size .2s ease,box-shadow .2s ease;line-height:1.4;max-width:none;overflow:visible;text-overflow:clip;opacity:1!important;z-index:1001;backdrop-filter:blur(4px);-webkit-backdrop-filter:blur(4px)}.constituency-hover-tooltip{background:#0f172af2!important;border:none!important;border-radius:6px!important;padding:6px 10px!important;font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Oxygen,Ubuntu,Cantarell,Fira Sans,Droid Sans,Helvetica Neue,sans-serif!important;font-size:11px!important;font-weight:500!important;color:#fff!important;box-shadow:0 4px 12px #00000026!important;margin-top:-8px!important;pointer-events:none!important;white-space:nowrap!important;letter-spacing:.01em!important;backdrop-filter:blur(8px)!important;-webkit-backdrop-filter:blur(8px)!important}.constituency-hover-tooltip:before{border-top-color:#0f172af2!important}.protected-area-hatch{fill:url(#hatch-pattern)!important;fill-opacity:1!important}.map-wrapper .leaflet-interactive:not([class*=constituency]){background-image:repeating-linear-gradient(45deg,transparent,transparent 4px,rgba(45,55,72,.3) 4px,rgba(45,55,72,.3) 8px),repeating-linear-gradient(-45deg,transparent,transparent 4px,rgba(45,55,72,.3) 4px,rgba(45,55,72,.3) 8px)}.protected-tooltip{background:#fff;border:1px solid #94a3b8;border-radius:6px;padding:6px 10px;font-size:12px;box-shadow:0 2px 8px #0000001a}.map-stats{position:absolute;bottom:20px;left:50%;transform:translate(-50%);z-index:1000;background:#fffffff2;backdrop-filter:blur(8px);-webkit-backdrop-filter:blur(8px);padding:8px 16px;border-radius:8px;box-shadow:0 2px 8px #0000001a;display:flex;align-items:center;gap:8px;font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Oxygen,Ubuntu,Cantarell,Fira Sans,Droid Sans,Helvetica Neue,sans-serif;font-size:12px;font-weight:500;color:#1e293b;pointer-events:none;-webkit-user-select:none;user-select:none}.map-stat-item{white-space:nowrap}.map-stat-separator{color:#94a3b8;font-weight:400}.proportional-voting-container{position:absolute;top:10px;left:50%;transform:translate(-50%);z-index:1000;max-width:600px;width:calc(100% - 20px);pointer-events:auto}@media (max-width: 768px){.proportional-voting-container{top:5px;width:calc(100% - 10px);max-width:none}.map-stats{bottom:70px;font-size:11px;padding:6px 12px}}.protected-area-tooltip{background:#14281ee6!important;color:#e2e8f0!important;border:1px solid rgba(255,255,255,.15)!important;border-radius:6px!important;padding:6px 10px!important;font-family:Inter,sans-serif!important;font-weight:500!important;font-size:12px!important;box-shadow:0 4px 6px -1px #0003!important;pointer-events:none;transition:opacity .15s ease-out}.protected-area-tooltip:before{border-top-color:#14281ee6!important}.leaflet-pane,.leaflet-tile,.leaflet-marker-icon,.leaflet-marker-shadow,.leaflet-tile-container,.leaflet-pane>svg,.leaflet-pane>canvas,.leaflet-zoom-box,.leaflet-image-layer,.leaflet-layer{position:absolute;left:0;top:0}.leaflet-container{overflow:hidden}.leaflet-tile,.leaflet-marker-icon,.leaflet-marker-shadow{-webkit-user-select:none;-moz-user-select:none;user-select:none;-webkit-user-drag:none}.leaflet-tile::selection{background:transparent}.leaflet-safari .leaflet-tile{image-rendering:-webkit-optimize-contrast}.leaflet-safari .leaflet-tile-container{width:1600px;height:1600px;-webkit-transform-origin:0 0}.leaflet-marker-icon,.leaflet-marker-shadow{display:block}.leaflet-container .leaflet-overlay-pane svg{max-width:none!important;max-height:none!important}.leaflet-container .leaflet-marker-pane img,.leaflet-container .leaflet-shadow-pane img,.leaflet-container .leaflet-tile-pane img,.leaflet-container img.leaflet-image-layer,.leaflet-container .leaflet-tile{max-width:none!important;max-height:none!important;width:auto;padding:0}.leaflet-container img.leaflet-tile{mix-blend-mode:plus-lighter}.leaflet-container.leaflet-touch-zoom{-ms-touch-action:pan-x pan-y;touch-action:pan-x pan-y}.leaflet-container.leaflet-touch-drag{-ms-touch-action:pinch-zoom;touch-action:none;touch-action:pinch-zoom}.leaflet-container.leaflet-touch-drag.leaflet-touch-zoom{-ms-touch-action:none;touch-action:none}.leaflet-container{-webkit-tap-highlight-color:transparent}.leaflet-container a{-webkit-tap-highlight-color:rgba(51,181,229,.4)}.leaflet-tile{filter:inherit;visibility:hidden}.leaflet-tile-loaded{visibility:inherit}.leaflet-zoom-box{width:0;height:0;-moz-box-sizing:border-box;box-sizing:border-box;z-index:800}.leaflet-overlay-pane svg{-moz-user-select:none}.leaflet-pane{z-index:400}.leaflet-tile-pane{z-index:200}.leaflet-overlay-pane{z-index:400}.leaflet-shadow-pane{z-index:500}.leaflet-marker-pane{z-index:600}.leaflet-tooltip-pane{z-index:650}.leaflet-popup-pane{z-index:700}.leaflet-map-pane canvas{z-index:100}.leaflet-map-pane svg{z-index:200}.leaflet-vml-shape{width:1px;height:1px}.lvml{behavior:url(#default#VML);display:inline-block;position:absolute}.leaflet-control{position:relative;z-index:800;pointer-events:visiblePainted;pointer-events:auto}.leaflet-top,.leaflet-bottom{position:absolute;z-index:1000;pointer-events:none}.leaflet-top{top:0}.leaflet-right{right:0}.leaflet-bottom{bottom:0}.leaflet-left{left:0}.leaflet-control{float:left;clear:both}.leaflet-right .leaflet-control{float:right}.leaflet-top .leaflet-control{margin-top:10px}.leaflet-bottom .leaflet-control{margin-bottom:10px}.leaflet-left .leaflet-control{margin-left:10px}.leaflet-right .leaflet-control{margin-right:10px}.leaflet-fade-anim .leaflet-popup{opacity:0;-webkit-transition:opacity .2s linear;-moz-transition:opacity .2s linear;transition:opacity .2s linear}.leaflet-fade-anim .leaflet-map-pane .leaflet-popup{opacity:1}.leaflet-zoom-animated{-webkit-transform-origin:0 0;-ms-transform-origin:0 0;transform-origin:0 0}svg.leaflet-zoom-animated{will-change:transform}.leaflet-zoom-anim .leaflet-zoom-animated{-webkit-transition:-webkit-transform .25s cubic-bezier(0,0,.25,1);-moz-transition:-moz-transform .25s cubic-bezier(0,0,.25,1);transition:transform .25s cubic-bezier(0,0,.25,1)}.leaflet-zoom-anim .leaflet-tile,.leaflet-pan-anim .leaflet-tile{-webkit-transition:none;-moz-transition:none;transition:none}.leaflet-zoom-anim .leaflet-zoom-hide{visibility:hidden}.leaflet-interactive{cursor:pointer}.leaflet-grab{cursor:-webkit-grab;cursor:-moz-grab;cursor:grab}.leaflet-crosshair,.leaflet-crosshair .leaflet-interactive{cursor:crosshair}.leaflet-popup-pane,.leaflet-control{cursor:auto}.leaflet-dragging .leaflet-grab,.leaflet-dragging .leaflet-grab .leaflet-interactive,.leaflet-dragging .leaflet-marker-draggable{cursor:move;cursor:-webkit-grabbing;cursor:-moz-grabbing;cursor:grabbing}.leaflet-marker-icon,.leaflet-marker-shadow,.leaflet-image-layer,.leaflet-pane>svg path,.leaflet-tile-container{pointer-events:none}.leaflet-marker-icon.leaflet-interactive,.leaflet-image-layer.leaflet-interactive,.leaflet-pane>svg path.leaflet-interactive,svg.leaflet-image-layer.leaflet-interactive path{pointer-events:visiblePainted;pointer-events:auto}.leaflet-container{background:#ddd;outline-offset:1px}.leaflet-container a{color:#0078a8}.leaflet-zoom-box{border:2px dotted #38f;background:#ffffff80}.leaflet-container{font-family:Helvetica Neue,Arial,Helvetica,sans-serif;font-size:12px;font-size:.75rem;line-height:1.5}.leaflet-bar{box-shadow:0 1px 5px #000000a6;border-radius:4px}.leaflet-bar a{background-color:#fff;border-bottom:1px solid #ccc;width:26px;height:26px;line-height:26px;display:block;text-align:center;text-decoration:none;color:#000}.leaflet-bar a,.leaflet-control-layers-toggle{background-position:50% 50%;background-repeat:no-repeat;display:block}.leaflet-bar a:hover,.leaflet-bar a:focus{background-color:#f4f4f4}.leaflet-bar a:first-child{border-top-left-radius:4px;border-top-right-radius:4px}.leaflet-bar a:last-child{border-bottom-left-radius:4px;border-bottom-right-radius:4px;border-bottom:none}.leaflet-bar a.leaflet-disabled{cursor:default;background-color:#f4f4f4;color:#bbb}.leaflet-touch .leaflet-bar a{width:30px;height:30px;line-height:30px}.leaflet-touch .leaflet-bar a:first-child{border-top-left-radius:2px;border-top-right-radius:2px}.leaflet-touch .leaflet-bar a:last-child{border-bottom-left-radius:2px;border-bottom-right-radius:2px}.leaflet-control-zoom-in,.leaflet-control-zoom-out{font:700 18px Lucida Console,Monaco,monospace;text-indent:1px}.leaflet-touch .leaflet-control-zoom-in,.leaflet-touch .leaflet-control-zoom-out{font-size:22px}.leaflet-control-layers{box-shadow:0 1px 5px #0006;background:#fff;border-radius:5px}.leaflet-control-layers-toggle{background-image:url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABoAAAAaCAQAAAADQ4RFAAACf0lEQVR4AY1UM3gkARTePdvdoTxXKc+qTl3aU5U6b2Kbkz3Gtq3Zw6ziLGNPzrYx7946Tr6/ee/XeCQ4D3ykPtL5tHno4n0d/h3+xfuWHGLX81cn7r0iTNzjr7LrlxCqPtkbTQEHeqOrTy4Yyt3VCi/IOB0v7rVC7q45Q3Gr5K6jt+3Gl5nCoDD4MtO+j96Wu8atmhGqcNGHObuf8OM/x3AMx38+4Z2sPqzCxRFK2aF2e5Jol56XTLyggAMTL56XOMoS1W4pOyjUcGGQdZxU6qRh7B9Zp+PfpOFlqt0zyDZckPi1ttmIp03jX8gyJ8a/PG2yutpS/Vol7peZIbZcKBAEEheEIAgFbDkz5H6Zrkm2hVWGiXKiF4Ycw0RWKdtC16Q7qe3X4iOMxruonzegJzWaXFrU9utOSsLUmrc0YjeWYjCW4PDMADElpJSSQ0vQvA1Tm6/JlKnqFs1EGyZiFCqnRZTEJJJiKRYzVYzJck2Rm6P4iH+cmSY0YzimYa8l0EtTODFWhcMIMVqdsI2uiTvKmTisIDHJ3od5GILVhBCarCfVRmo4uTjkhrhzkiBV7SsaqS+TzrzM1qpGGUFt28pIySQHR6h7F6KSwGWm97ay+Z+ZqMcEjEWebE7wxCSQwpkhJqoZA5ivCdZDjJepuJ9IQjGGUmuXJdBFUygxVqVsxFsLMbDe8ZbDYVCGKxs+W080max1hFCarCfV+C1KATwcnvE9gRRuMP2prdbWGowm1KB1y+zwMMENkM755cJ2yPDtqhTI6ED1M/82yIDtC/4j4BijjeObflpO9I9MwXTCsSX8jWAFeHr05WoLTJ5G8IQVS/7vwR6ohirYM7f6HzYpogfS3R2OAAAAAElFTkSuQmCC);width:36px;height:36px}.leaflet-retina .leaflet-control-layers-toggle{background-image:url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAADQAAAA0CAQAAABvcdNgAAAEsklEQVR4AWL4TydIhpZK1kpWOlg0w3ZXP6D2soBtG42jeI6ZmQTHzAxiTbSJsYLjO9HhP+WOmcuhciVnmHVQcJnp7DFvScowZorad/+V/fVzMdMT2g9Cv9guXGv/7pYOrXh2U+RRR3dSd9JRx6bIFc/ekqHI29JC6pJ5ZEh1yWkhkbcFeSjxgx3L2m1cb1C7bceyxA+CNjT/Ifff+/kDk2u/w/33/IeCMOSaWZ4glosqT3DNnNZQ7Cs58/3Ce5HL78iZH/vKVIaYlqzfdLu8Vi7dnvUbEza5Idt36tquZFldl6N5Z/POLof0XLK61mZCmJSWjVF9tEjUluu74IUXvgttuVIHE7YxSkaYhJZam7yiM9Pv82JYfl9nptxZaxMJE4YSPty+vF0+Y2up9d3wwijfjZbabqm/3bZ9ecKHsiGmRflnn1MW4pjHf9oLufyn2z3y1D6n8g8TZhxyzipLNPnAUpsOiuWimg52psrTZYnOWYNDTMuWBWa0tJb4rgq1UvmutpaYEbZlwU3CLJm/ayYjHW5/h7xWLn9Hh1vepDkyf7dE7MtT5LR4e7yYpHrkhOUpEfssBLq2pPhAqoSWKUkk7EDqkmK6RrCEzqDjhNDWNE+XSMvkJRDWlZTmCW0l0PHQGRZY5t1L83kT0Y3l2SItk5JAWHl2dCOBm+fPu3fo5/3v61RMCO9Jx2EEYYhb0rmNQMX/vm7gqOEJLcXTGw3CAuRNeyaPWwjR8PRqKQ1PDA/dpv+on9Shox52WFnx0KY8onHayrJzm87i5h9xGw/tfkev0jGsQizqezUKjk12hBMKJ4kbCqGPVNXudyyrShovGw5CgxsRICxF6aRmSjlBnHRzg7Gx8fKqEubI2rahQYdR1YgDIRQO7JvQyD52hoIQx0mxa0ODtW2Iozn1le2iIRdzwWewedyZzewidueOGqlsn1MvcnQpuVwLGG3/IR1hIKxCjelIDZ8ldqWz25jWAsnldEnK0Zxro19TGVb2ffIZEsIO89EIEDvKMPrzmBOQcKQ+rroye6NgRRxqR4U8EAkz0CL6uSGOm6KQCdWjvjRiSP1BPalCRS5iQYiEIvxuBMJEWgzSoHADcVMuN7IuqqTeyUPq22qFimFtxDyBBJEwNyt6TM88blFHao/6tWWhuuOM4SAK4EI4QmFHA+SEyWlp4EQoJ13cYGzMu7yszEIBOm2rVmHUNqwAIQabISNMRstmdhNWcFLsSm+0tjJH1MdRxO5Nx0WDMhCtgD6OKgZeljJqJKc9po8juskR9XN0Y1lZ3mWjLR9JCO1jRDMd0fpYC2VnvjBSEFg7wBENc0R9HFlb0xvF1+TBEpF68d+DHR6IOWVv2BECtxo46hOFUBd/APU57WIoEwJhIi2CdpyZX0m93BZicktMj1AS9dClteUFAUNUIEygRZCtik5zSxI9MubTBH1GOiHsiLJ3OCoSZkILa9PxiN0EbvhsAo8tdAf9Seepd36lGWHmtNANTv5Jd0z4QYyeo/UEJqxKRpg5LZx6btLPsOaEmdMyxYdlc8LMaJnikDlhclqmPiQnTEpLUIZEwkRagjYkEibQErwhkTAKCLQEbUgkzJQWc/0PstHHcfEdQ+UAAAAASUVORK5CYII=);background-size:26px 26px}.leaflet-touch .leaflet-control-layers-toggle{width:44px;height:44px}.leaflet-control-layers .leaflet-control-layers-list,.leaflet-control-layers-expanded .leaflet-control-layers-toggle{display:none}.leaflet-control-layers-expanded .leaflet-control-layers-list{display:block;position:relative}.leaflet-control-layers-expanded{padding:6px 10px 6px 6px;color:#333;background:#fff}.leaflet-control-layers-scrollbar{overflow-y:scroll;overflow-x:hidden;padding-right:5px}.leaflet-control-layers-selector{margin-top:2px;position:relative;top:1px}.leaflet-control-layers label{display:block;font-size:13px;font-size:1.08333em}.leaflet-control-layers-separator{height:0;border-top:1px solid #ddd;margin:5px -10px 5px -6px}.leaflet-default-icon-path{background-image:url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABkAAAApCAYAAADAk4LOAAAFgUlEQVR4Aa1XA5BjWRTN2oW17d3YaZtr2962HUzbDNpjszW24mRt28p47v7zq/bXZtrp/lWnXr337j3nPCe85NcypgSFdugCpW5YoDAMRaIMqRi6aKq5E3YqDQO3qAwjVWrD8Ncq/RBpykd8oZUb/kaJutow8r1aP9II0WmLKLIsJyv1w/kqw9Ch2MYdB++12Onxee/QMwvf4/Dk/Lfp/i4nxTXtOoQ4pW5Aj7wpici1A9erdAN2OH64x8OSP9j3Ft3b7aWkTg/Fm91siTra0f9on5sQr9INejH6CUUUpavjFNq1B+Oadhxmnfa8RfEmN8VNAsQhPqF55xHkMzz3jSmChWU6f7/XZKNH+9+hBLOHYozuKQPxyMPUKkrX/K0uWnfFaJGS1QPRtZsOPtr3NsW0uyh6NNCOkU3Yz+bXbT3I8G3xE5EXLXtCXbbqwCO9zPQYPRTZ5vIDXD7U+w7rFDEoUUf7ibHIR4y6bLVPXrz8JVZEql13trxwue/uDivd3fkWRbS6/IA2bID4uk0UpF1N8qLlbBlXs4Ee7HLTfV1j54APvODnSfOWBqtKVvjgLKzF5YdEk5ewRkGlK0i33Eofffc7HT56jD7/6U+qH3Cx7SBLNntH5YIPvODnyfIXZYRVDPqgHtLs5ABHD3YzLuespb7t79FY34DjMwrVrcTuwlT55YMPvOBnRrJ4VXTdNnYug5ucHLBjEpt30701A3Ts+HEa73u6dT3FNWwflY86eMHPk+Yu+i6pzUpRrW7SNDg5JHR4KapmM5Wv2E8Tfcb1HoqqHMHU+uWDD7zg54mz5/2BSnizi9T1Dg4QQXLToGNCkb6tb1NU+QAlGr1++eADrzhn/u8Q2YZhQVlZ5+CAOtqfbhmaUCS1ezNFVm2imDbPmPng5wmz+gwh+oHDce0eUtQ6OGDIyR0uUhUsoO3vfDmmgOezH0mZN59x7MBi++WDL1g/eEiU3avlidO671bkLfwbw5XV2P8Pzo0ydy4t2/0eu33xYSOMOD8hTf4CrBtGMSoXfPLchX+J0ruSePw3LZeK0juPJbYzrhkH0io7B3k164hiGvawhOKMLkrQLyVpZg8rHFW7E2uHOL888IBPlNZ1FPzstSJM694fWr6RwpvcJK60+0HCILTBzZLFNdtAzJaohze60T8qBzyh5ZuOg5e7uwQppofEmf2++DYvmySqGBuKaicF1blQjhuHdvCIMvp8whTTfZzI7RldpwtSzL+F1+wkdZ2TBOW2gIF88PBTzD/gpeREAMEbxnJcaJHNHrpzji0gQCS6hdkEeYt9DF/2qPcEC8RM28Hwmr3sdNyht00byAut2k3gufWNtgtOEOFGUwcXWNDbdNbpgBGxEvKkOQsxivJx33iow0Vw5S6SVTrpVq11ysA2Rp7gTfPfktc6zhtXBBC+adRLshf6sG2RfHPZ5EAc4sVZ83yCN00Fk/4kggu40ZTvIEm5g24qtU4KjBrx/BTTH8ifVASAG7gKrnWxJDcU7x8X6Ecczhm3o6YicvsLXWfh3Ch1W0k8x0nXF+0fFxgt4phz8QvypiwCCFKMqXCnqXExjq10beH+UUA7+nG6mdG/Pu0f3LgFcGrl2s0kNNjpmoJ9o4B29CMO8dMT4Q5ox8uitF6fqsrJOr8qnwNbRzv6hSnG5wP+64C7h9lp30hKNtKdWjtdkbuPA19nJ7Tz3zR/ibgARbhb4AlhavcBebmTHcFl2fvYEnW0ox9xMxKBS8btJ+KiEbq9zA4RthQXDhPa0T9TEe69gWupwc6uBUphquXgf+/FrIjweHQS4/pduMe5ERUMHUd9xv8ZR98CxkS4F2n3EUrUZ10EYNw7BWm9x1GiPssi3GgiGRDKWRYZfXlON+dfNbM+GgIwYdwAAAAASUVORK5CYII=)}.leaflet-container .leaflet-control-attribution{background:#fff;background:#fffc;margin:0}.leaflet-control-attribution,.leaflet-control-scale-line{padding:0 5px;color:#333;line-height:1.4}.leaflet-control-attribution a{text-decoration:none}.leaflet-control-attribution a:hover,.leaflet-control-attribution a:focus{text-decoration:underline}.leaflet-attribution-flag{display:inline!important;vertical-align:baseline!important;width:1em;height:.6669em}.leaflet-left .leaflet-control-scale{margin-left:5px}.leaflet-bottom .leaflet-control-scale{margin-bottom:5px}.leaflet-control-scale-line{border:2px solid #777;border-top:none;line-height:1.1;padding:2px 5px 1px;white-space:nowrap;-moz-box-sizing:border-box;box-sizing:border-box;background:#fffc;text-shadow:1px 1px #fff}.leaflet-control-scale-line:not(:first-child){border-top:2px solid #777;border-bottom:none;margin-top:-2px}.leaflet-control-scale-line:not(:first-child):not(:last-child){border-bottom:2px solid #777}.leaflet-touch .leaflet-control-attribution,.leaflet-touch .leaflet-control-layers,.leaflet-touch .leaflet-bar{box-shadow:none}.leaflet-touch .leaflet-control-layers,.leaflet-touch .leaflet-bar{border:2px solid rgba(0,0,0,.2);background-clip:padding-box}.leaflet-popup{position:absolute;text-align:center;margin-bottom:20px}.leaflet-popup-content-wrapper{padding:1px;text-align:left;border-radius:12px}.leaflet-popup-content{margin:13px 24px 13px 20px;line-height:1.3;font-size:13px;font-size:1.08333em;min-height:1px}.leaflet-popup-content p{margin:1.3em 0}.leaflet-popup-tip-container{width:40px;height:20px;position:absolute;left:50%;margin-top:-1px;margin-left:-20px;overflow:hidden;pointer-events:none}.leaflet-popup-tip{width:17px;height:17px;padding:1px;margin:-10px auto 0;pointer-events:auto;-webkit-transform:rotate(45deg);-moz-transform:rotate(45deg);-ms-transform:rotate(45deg);transform:rotate(45deg)}.leaflet-popup-content-wrapper,.leaflet-popup-tip{background:#fff;color:#333;box-shadow:0 3px 14px #0006}.leaflet-container a.leaflet-popup-close-button{position:absolute;top:0;right:0;border:none;text-align:center;width:24px;height:24px;font:16px/24px Tahoma,Verdana,sans-serif;color:#757575;text-decoration:none;background:transparent}.leaflet-container a.leaflet-popup-close-button:hover,.leaflet-container a.leaflet-popup-close-button:focus{color:#585858}.leaflet-popup-scrolled{overflow:auto}.leaflet-oldie .leaflet-popup-content-wrapper{-ms-zoom:1}.leaflet-oldie .leaflet-popup-tip{width:24px;margin:0 auto;-ms-filter:"progid:DXImageTransform.Microsoft.Matrix(M11=0.70710678, M12=0.70710678, M21=-0.70710678, M22=0.70710678)";filter:progid:DXImageTransform.Microsoft.Matrix(M11=.70710678,M12=.70710678,M21=-.70710678,M22=.70710678)}.leaflet-oldie .leaflet-control-zoom,.leaflet-oldie .leaflet-control-layers,.leaflet-oldie .leaflet-popup-content-wrapper,.leaflet-oldie .leaflet-popup-tip{border:1px solid #999}.leaflet-div-icon{background:#fff;border:1px solid #666}.leaflet-tooltip{position:absolute;padding:6px;background-color:#fff;border:1px solid #fff;border-radius:3px;color:#222;white-space:nowrap;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;pointer-events:none;box-shadow:0 1px 3px #0006}.leaflet-tooltip.leaflet-interactive{cursor:pointer;pointer-events:auto}.leaflet-tooltip-top:before,.leaflet-tooltip-bottom:before,.leaflet-tooltip-left:before,.leaflet-tooltip-right:before{position:absolute;pointer-events:none;border:6px solid transparent;background:transparent;content:""}.leaflet-tooltip-bottom{margin-top:6px}.leaflet-tooltip-top{margin-top:-6px}.leaflet-tooltip-bottom:before,.leaflet-tooltip-top:before{left:50%;margin-left:-6px}.leaflet-tooltip-top:before{bottom:0;margin-bottom:-12px;border-top-color:#fff}.leaflet-tooltip-bottom:before{top:0;margin-top:-12px;margin-left:-6px;border-bottom-color:#fff}.leaflet-tooltip-left{margin-left:-6px}.leaflet-tooltip-right{margin-left:6px}.leaflet-tooltip-left:before,.leaflet-tooltip-right:before{top:50%;margin-top:-6px}.leaflet-tooltip-left:before{right:0;margin-right:-12px;border-left-color:#fff}.leaflet-tooltip-right:before{left:0;margin-left:-12px;border-right-color:#fff}@media print{.leaflet-control{-webkit-print-color-adjust:exact;print-color-adjust:exact}}.proportional-voting{background:#fff;border-radius:8px;padding:16px}.proportional-voting.collapsed{padding:10px 16px}.proportional-header{text-align:center;margin-bottom:16px;border-bottom:1px solid #e2e8f0;padding-bottom:10px;position:relative}.proportional-voting.collapsed .proportional-header{margin-bottom:0;border-bottom:none;padding-bottom:0}.proportional-header h3{margin:0 0 4px;color:#1e293b;font-size:1rem;font-weight:600}.proportional-subtitle{margin:0;color:#64748b;font-size:.85rem}.collapse-toggle{position:absolute;right:0;top:50%;transform:translateY(-50%);background:transparent;border:none;font-size:1rem;cursor:pointer;color:#64748b;padding:4px 8px}.proportional-content{display:block}.proportional-confirmation{background:linear-gradient(135deg,#10b981,#059669);color:#fff;padding:12px 16px;border-radius:8px;text-align:center;margin-bottom:16px;font-weight:600;font-size:.9rem}.proportional-stats{display:flex;justify-content:center;margin-bottom:16px}.total-votes{font-size:.9rem;color:#64748b;background:#f1f5f9;padding:8px 20px;border-radius:20px}.total-votes strong{color:#0f172a;font-weight:700}.proportional-grid{display:grid;grid-template-columns:repeat(8,1fr);gap:8px}.proportional-block{display:flex;flex-direction:column;padding:10px 8px;border:2px solid rgba(255,255,255,.3);border-radius:6px;cursor:pointer;transition:all .2s ease;text-align:center;font-family:inherit;min-height:80px;position:relative;overflow:hidden}.proportional-block:hover:not(.disabled){transform:translateY(-2px);box-shadow:0 4px 12px #00000026;border-color:#ffffff80}.proportional-block.selected{border-color:#10b981;border-width:3px;box-shadow:0 0 0 2px #10b98133}.proportional-block.disabled{opacity:.8;cursor:pointer}.block-content{display:flex;flex-direction:column;gap:6px;position:relative;z-index:1;align-items:center}.block-header{display:flex;flex-direction:column;align-items:center;gap:4px;width:100%}.block-logo{width:24px;height:24px;object-fit:contain;border-radius:3px;background:#ffffffe6;padding:1px;flex-shrink:0}.block-color-indicator{width:20px;height:20px;border-radius:4px;flex-shrink:0;border:2px solid rgba(255,255,255,.5)}.block-party-name{font-size:.7rem;font-weight:700;color:#fff;text-shadow:0 1px 2px rgba(0,0,0,.2);overflow:hidden;text-overflow:ellipsis;white-space:nowrap;width:100%;text-align:center;line-height:1.2}.block-check{position:absolute;top:4px;right:4px;font-size:1rem;color:#fff;font-weight:700;text-shadow:0 1px 2px rgba(0,0,0,.3);flex-shrink:0;background:#10b981e6;width:18px;height:18px;border-radius:50%;display:flex;align-items:center;justify-content:center;font-size:12px}.block-stats{display:flex;flex-direction:column;gap:2px;align-items:center;width:100%}.block-votes{font-size:.85rem;font-weight:700;color:#fff;text-shadow:0 1px 2px rgba(0,0,0,.2)}.block-percentage{font-size:.7rem;color:#ffffffe6;text-shadow:0 1px 2px rgba(0,0,0,.2);font-weight:600}.proportional-info{display:flex;align-items:center;justify-content:center;gap:8px;padding:12px;background:#f8fafc;border-radius:8px;font-size:.8rem;color:#64748b;margin-top:16px}.info-icon{font-size:1rem}@media (max-width: 768px){.proportional-grid{grid-template-columns:repeat(3,1fr);gap:8px}.proportional-block{padding:10px 6px;min-height:75px}.block-logo{width:22px;height:22px}.block-color-indicator{width:18px;height:18px}.block-party-name{font-size:.65rem}.block-votes{font-size:.8rem}.block-percentage{font-size:.65rem}}@media (max-width: 480px){.proportional-grid{grid-template-columns:repeat(2,1fr);gap:6px}.proportional-block{min-height:70px;padding:8px 6px}}.dashboard{padding:20px;background:#f8fafc;width:100%;box-sizing:border-box;min-height:100%}.dashboard-header{margin-bottom:24px}.dashboard-header h2{margin:0 0 4px;font-size:24px;color:#0f172a;font-weight:700;letter-spacing:-.5px}.dashboard-header p{margin:0;color:#64748b;font-size:14px}.proportional-section{margin-bottom:24px}.proportional-section .proportional-voting{padding:0}.proportional-section .proportional-voting>.proportional-header{display:none}.proportional-section .proportional-content{display:block}.dashboard-grid{display:grid;grid-template-columns:repeat(2,1fr);gap:20px;width:100%;box-sizing:border-box;align-items:start}.dashboard-card{background:#fff;border-radius:10px;padding:20px;box-shadow:0 1px 2px #0000000d;border:1px solid #e2e8f0;transition:all .2s ease}.dashboard-card:hover{box-shadow:0 4px 12px #00000014}.main-card{padding:24px;height:100%;display:flex;flex-direction:column}.card-header{display:flex;justify-content:space-between;align-items:flex-start;margin-bottom:20px;padding-bottom:12px;border-bottom:1px solid #f1f5f9}.card-header h3{margin:0 0 4px;font-size:18px;color:#0f172a;font-weight:700;letter-spacing:-.3px}.add-constituency-btn{background:#3b82f6;color:#fff;border:none;border-radius:6px;padding:6px 10px;cursor:pointer;display:flex;align-items:center;justify-content:center;transition:all .2s ease;flex-shrink:0}.add-constituency-btn:hover{background:#2563eb;transform:scale(1.05)}.add-constituency-btn:active{transform:scale(.95)}.card-subtitle{margin:0;font-size:12px;color:#94a3b8;text-transform:uppercase;letter-spacing:.5px}.overall-stats{display:flex;gap:6px;flex-wrap:wrap}.stat-badge{background:#f1f5f9;color:#475569;padding:4px 10px;border-radius:6px;font-size:11px;font-weight:600;letter-spacing:.3px}.horizontal-bar-chart{display:flex;flex-direction:column;gap:10px;padding:8px 0;width:100%;flex:1;min-height:0}.horizontal-bar-item{display:grid;grid-template-columns:180px 1fr 80px;align-items:center;gap:12px;cursor:pointer;transition:transform .2s ease;padding:4px 0}.horizontal-bar-item:hover{transform:translate(2px)}.horizontal-bar-label{display:flex;align-items:center;gap:8px;width:180px;flex-shrink:0}.bar-party-logo{width:20px;height:20px;object-fit:contain;border-radius:3px;flex-shrink:0}.bar-color-dot{width:20px;height:20px;border-radius:3px;flex-shrink:0}.bar-party-name{font-size:11px;font-weight:600;color:#1e293b;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;flex:1;min-width:0;max-width:140px}.horizontal-bar-container{width:100%;height:24px;background:#f8fafc;border-radius:4px;display:flex;align-items:center;position:relative;overflow:visible;min-width:0}.horizontal-bar{height:100%;border-radius:4px;transition:all .3s ease;min-width:2px;position:relative;display:flex;align-items:center}.horizontal-bar.hovered{transform:scaleX(1.02);box-shadow:0 2px 8px #00000026}.bar-tooltip{position:absolute;right:-80px;top:50%;transform:translateY(-50%);background:#0f172a;color:#fff;padding:6px 10px;border-radius:6px;font-size:12px;white-space:nowrap;z-index:10;pointer-events:none;animation:fadeIn .2s ease}.bar-tooltip:after{content:"";position:absolute;left:-4px;top:50%;transform:translateY(-50%);width:0;height:0;border-top:4px solid transparent;border-bottom:4px solid transparent;border-right:4px solid #0f172a}.tooltip-value{font-size:16px;font-weight:700;line-height:1.2}.tooltip-label{font-size:10px;opacity:.8;text-transform:uppercase;letter-spacing:.5px}.tooltip-percent{font-size:11px;opacity:.9;margin-top:2px}.horizontal-bar-stats{display:flex;flex-direction:column;align-items:flex-end;gap:2px;width:80px;flex-shrink:0;text-align:right}.bar-party-name{font-size:11px;font-weight:600;color:#1e293b;text-align:center;line-height:1.3;word-break:break-word;overflow-wrap:break-word;max-width:100%;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden;text-overflow:ellipsis}.bar-seats-value{font-size:15px;font-weight:700;color:#0f172a}.bar-percent-value{font-size:11px;color:#64748b;font-weight:500}.province-list{display:flex;flex-direction:column;gap:8px;flex:1;min-height:0;overflow-y:auto}.province-item{border:1px solid #e2e8f0;border-radius:8px;overflow:hidden;transition:all .2s ease}.province-item:hover{border-color:#cbd5e1;box-shadow:0 2px 4px #0000000d}.province-header-button{width:100%;padding:14px 16px;background:#fff;border:none;display:flex;justify-content:space-between;align-items:center;cursor:pointer;transition:background .2s ease;text-align:left}.province-header-button:hover{background:#f8fafc}.province-header-button:active{background:#f1f5f9}.province-header-content{flex:1;display:flex;justify-content:space-between;align-items:center;gap:12px}.province-name{font-size:15px;font-weight:600;color:#0f172a}.province-summary{display:flex;align-items:center;gap:8px}.province-summary-logo{width:18px;height:18px;object-fit:contain;border-radius:3px}.province-summary-dot{width:10px;height:10px;border-radius:2px;flex-shrink:0}.province-leading-party{font-size:13px;font-weight:600;color:#475569}.province-seats-count{font-size:12px;font-weight:600;color:#64748b;background:#f1f5f9;padding:2px 6px;border-radius:4px}.province-details{padding:16px;background:#f8fafc;border-top:1px solid #e2e8f0;animation:slideDown .3s ease}@keyframes slideDown{0%{opacity:0;max-height:0}to{opacity:1;max-height:500px}}.province-bar-chart{display:flex;flex-direction:column;gap:12px}.province-bar-item{display:grid;grid-template-columns:120px 1fr 50px;gap:12px;align-items:center}.province-bar-label{display:flex;align-items:center;gap:8px}.province-bar-logo{width:18px;height:18px;object-fit:contain;border-radius:3px}.province-bar-dot{width:10px;height:10px;border-radius:2px;flex-shrink:0}.province-bar-party-name{font-size:13px;font-weight:600;color:#1e293b;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;max-width:200px}.province-bar-container{position:relative;height:24px;background:#f1f5f9;border-radius:4px;overflow:hidden;display:flex;align-items:center}.province-bar{height:100%;border-radius:4px;transition:width .4s ease;position:absolute;left:0;top:0}.province-bar-value{position:absolute;left:8px;font-size:12px;font-weight:700;color:#0f172a;z-index:1}.province-bar-percent{font-size:12px;font-weight:600;color:#64748b;text-align:right}.competitive-list{display:flex;flex-direction:column;gap:8px}.competitive-item{display:flex;gap:12px;padding:12px;background:#f8fafc;border-radius:8px;border:1px solid #e2e8f0;transition:all .2s ease;cursor:pointer}.competitive-item:hover,.competitive-item.hovered{background:#f1f5f9;border-color:#cbd5e1;transform:translate(2px)}.competitive-rank{display:flex;align-items:center;justify-content:center;width:32px;height:32px;background:linear-gradient(135deg,#ef4444,#dc2626);color:#fff;border-radius:6px;font-size:14px;font-weight:700;flex-shrink:0}.competitive-content{flex:1;display:flex;flex-direction:column;gap:8px}.competitive-name{font-size:14px;font-weight:700;color:#0f172a}.competitive-parties{display:flex;flex-direction:column;gap:4px}.competitive-party{display:flex;align-items:center;gap:8px;padding:6px 8px;border-radius:5px;font-size:12px}.winner-party{background:#eff6ff;border:1px solid #bfdbfe}.runner-party{background:#fef2f2;border:1px solid #fecaca}.party-dot{width:10px;height:10px;border-radius:2px;flex-shrink:0}.competitive-party-logo{width:18px;height:18px;object-fit:contain;border-radius:3px;flex-shrink:0}.party-name{flex:1;font-weight:600;color:#1e293b}.votes-count{font-weight:700;color:#475569;font-size:11px}.competitive-margin{font-size:11px;color:#64748b;padding-top:6px;border-top:1px solid #e2e8f0;animation:fadeIn .2s ease}.competitive-margin strong{color:#ef4444;font-weight:700}.key-constituencies-list{display:flex;flex-direction:column;gap:8px}.key-constituency-item{padding:14px;background:linear-gradient(135deg,#fef3c7,#fde68a);border-radius:8px;border:1px solid #fbbf24;transition:all .2s ease;cursor:pointer}.key-constituency-item:hover,.key-constituency-item.hovered{transform:translateY(-2px);box-shadow:0 4px 12px #fbbf2440;border-color:#f59e0b}.key-constituency-header{display:flex;align-items:center;gap:8px;margin-bottom:12px;position:relative}.key-constituency-remove-btn{margin-left:auto;background:#fee2e2;border:1px solid #fecaca;border-radius:4px;padding:4px 6px;cursor:pointer;display:flex;align-items:center;justify-content:center;color:#dc2626;transition:all .2s ease;flex-shrink:0}.key-constituency-remove-btn:hover{background:#fecaca;border-color:#f87171}.key-constituency-header svg{color:#f59e0b;flex-shrink:0}.key-constituency-name{font-size:15px;font-weight:700;color:#0f172a}.key-constituency-candidates{display:flex;flex-direction:column;gap:8px;padding-top:10px;border-top:1px solid rgba(251,191,36,.3)}.key-candidate-item{display:flex;justify-content:space-between;align-items:center;padding:10px;border-radius:6px;transition:all .2s ease}.key-candidate-winner{background:#fff9;border:1px solid rgba(251,191,36,.4)}.key-candidate-runner{background:#fff6;border:1px solid rgba(251,191,36,.2)}.key-candidate-header{display:flex;align-items:center;gap:8px;flex:1}.key-party-color{width:18px;height:18px;border-radius:3px;flex-shrink:0}.key-candidate-logo{width:20px;height:20px;object-fit:contain;border-radius:3px;flex-shrink:0}.key-party-name{font-size:13px;font-weight:700;color:#0f172a;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;max-width:150px}.key-candidate-votes{display:flex;flex-direction:column;align-items:flex-end;gap:2px}.key-votes-count{font-size:14px;font-weight:700;color:#0f172a}.key-votes-percent{font-size:11px;color:#64748b;font-weight:600;animation:fadeIn .2s ease}.empty-state{text-align:center;padding:40px 20px;color:#94a3b8;font-size:13px}@media (max-width: 1024px){.dashboard-grid{grid-template-columns:1fr}.horizontal-bar-label{min-width:150px}.province-bar-item{grid-template-columns:100px 1fr 45px}}@media (max-width: 768px){.dashboard{padding:16px}.card-header{flex-direction:column;gap:12px}.overall-stats{flex-direction:row;width:100%}.horizontal-bar-chart{gap:10px}.horizontal-bar-item{grid-template-columns:120px 1fr 70px}.horizontal-bar-label{width:120px}.horizontal-bar-container{height:24px}.horizontal-bar-stats{width:70px}.bar-party-name{font-size:10px}.bar-seats-value{font-size:14px}.key-candidate-item{flex-direction:column;align-items:flex-start;gap:6px}.key-candidate-votes{align-items:flex-start;width:100%}.province-bar-item{grid-template-columns:1fr;gap:8px}.province-bar-label{order:1}.province-bar-container{order:2}.province-bar-percent{order:3;text-align:left}.proportional-section{margin-bottom:20px}.proportional-section .card-header h3{font-size:16px}.proportional-section .card-subtitle{font-size:11px}}@media (max-width: 480px){.horizontal-bar-chart{gap:8px}.horizontal-bar-item{grid-template-columns:90px 1fr 50px}.horizontal-bar-label{width:90px}.horizontal-bar-container{height:22px}.horizontal-bar-stats{width:50px}.bar-party-name{font-size:9px}.bar-seats-value{font-size:11px}.horizontal-bar-stats{min-width:50px}}.dashboard-login-prompt{display:flex;align-items:center;justify-content:center;min-height:60vh;padding:40px 20px}.login-prompt-card{background:#fff;border-radius:16px;padding:48px 40px;max-width:480px;width:100%;text-align:center;box-shadow:0 4px 16px #0000001a;border:1px solid #e2e8f0}.login-prompt-icon{color:#3b82f6;margin-bottom:24px}.login-prompt-card h2{margin:0 0 8px;font-size:28px;color:#0f172a;font-weight:700}.login-prompt-main{margin:0 0 12px!important;font-size:18px!important;color:#3b82f6!important;font-weight:700!important;line-height:1.4}.login-prompt-subtitle{margin:0 0 32px;font-size:14px;color:#64748b;line-height:1.6}.login-prompt-button{background:#3b82f6;color:#fff;border:none;border-radius:8px;padding:12px 24px;font-size:15px;font-weight:600;cursor:pointer;transition:all .2s ease}.login-prompt-button:hover{background:#2563eb;transform:translateY(-1px);box-shadow:0 4px 12px #3b82f64d}.login-prompt-button:active{transform:translateY(0)}.survey-container{height:100%;display:flex;align-items:center;justify-content:center}.constituency-selector-overlay{position:fixed;top:0;left:0;right:0;bottom:0;background:#00000080;display:flex;align-items:center;justify-content:center;z-index:2000;padding:20px}.constituency-selector-modal{background:#fff;border-radius:12px;width:100%;max-width:600px;max-height:80vh;display:flex;flex-direction:column;box-shadow:0 20px 60px #0000004d}.selector-header{padding:20px;border-bottom:1px solid #e2e8f0;position:relative}.selector-header h3{margin:0 0 8px;font-size:20px;color:#0f172a;font-weight:700}.selector-header p{margin:0;font-size:13px;color:#64748b}.close-selector-btn{position:absolute;top:20px;right:20px;background:transparent;border:none;cursor:pointer;color:#64748b;padding:4px;display:flex;align-items:center;justify-content:center;border-radius:4px;transition:all .2s ease}.close-selector-btn:hover{background:#f1f5f9;color:#0f172a}.selector-search{padding:16px 20px;border-bottom:1px solid #e2e8f0;display:flex;align-items:center;gap:10px}.selector-search-input{flex:1;border:1px solid #e2e8f0;border-radius:6px;padding:8px 12px;font-size:14px;outline:none;transition:border-color .2s ease}.selector-search-input:focus{border-color:#3b82f6}.selector-list{flex:1;overflow-y:auto;padding:8px}.selector-item{display:flex;justify-content:space-between;align-items:center;padding:12px 16px;border-radius:6px;margin-bottom:4px;transition:background .2s ease}.selector-item:hover{background:#f8fafc}.selector-item.selected{background:#eff6ff;border:1px solid #93c5fd}.selector-item-name{font-size:14px;font-weight:500;color:#1e293b}.selector-add-btn,.selector-remove-btn{background:transparent;border:1px solid #e2e8f0;border-radius:4px;padding:4px 8px;cursor:pointer;display:flex;align-items:center;justify-content:center;transition:all .2s ease;color:#64748b}.selector-add-btn:hover:not(:disabled){background:#3b82f6;border-color:#3b82f6;color:#fff}.selector-add-btn:disabled{opacity:.5;cursor:not-allowed}.selector-remove-btn{background:#fee2e2;border-color:#fecaca;color:#dc2626}.selector-remove-btn:hover{background:#fecaca;border-color:#f87171}.voting-history-panel{background:#fff;border-radius:24px;padding:28px;box-shadow:0 8px 32px #0000001a;max-height:700px;overflow-y:auto;border:1px solid rgba(255,255,255,.5);animation:slide-up .5s ease-out}@keyframes slide-up{0%{transform:translateY(30px);opacity:0}to{transform:translateY(0);opacity:1}}.voting-history-panel.empty{display:flex;align-items:center;justify-content:center;min-height:450px;background:linear-gradient(135deg,#f8fafc,#f1f5f9)}.empty-state{text-align:center;max-width:320px;animation:bounce-in .6s ease-out}@keyframes bounce-in{0%{transform:scale(0);opacity:0}50%{transform:scale(1.05)}to{transform:scale(1);opacity:1}}.empty-state svg{opacity:.4;animation:float 3s ease-in-out infinite}@keyframes float{0%,to{transform:translateY(0)}50%{transform:translateY(-10px)}}.empty-state h3{margin:20px 0 10px;font-size:22px;color:#1e1e2e;font-weight:700}.empty-state p{margin:0;color:#64748b;font-size:15px;line-height:1.6}.history-header{display:flex;align-items:center;gap:20px;margin-bottom:28px;padding-bottom:20px;border-bottom:3px solid #f1f5f9}.header-icon{width:60px;height:60px;background:linear-gradient(135deg,#6366f1,#a855f7);border-radius:16px;display:flex;align-items:center;justify-content:center;color:#fff;flex-shrink:0;box-shadow:0 8px 24px #6366f166;animation:pulse-glow 2s infinite}@keyframes pulse-glow{0%,to{box-shadow:0 8px 24px #6366f166}50%{box-shadow:0 8px 40px #6366f199}}.history-header h2{margin:0;font-size:26px;color:#1e1e2e;font-weight:800;letter-spacing:-.5px}.history-header p{margin:6px 0 0;font-size:14px;color:#64748b;font-weight:500}.history-list{display:flex;flex-direction:column;gap:18px}.history-item{display:flex;gap:16px;padding:20px;background:linear-gradient(135deg,#f8fafc,#f1f5f9);border-radius:16px;transition:all .4s cubic-bezier(.4,0,.2,1);border:2px solid transparent;animation:slide-up .5s ease-out backwards;position:relative;overflow:hidden}.history-item:nth-child(1){animation-delay:.1s}.history-item:nth-child(2){animation-delay:.2s}.history-item:nth-child(3){animation-delay:.3s}.history-item:nth-child(4){animation-delay:.4s}.history-item:nth-child(5){animation-delay:.5s}.history-item:before{content:"";position:absolute;top:0;left:0;right:0;bottom:0;background:linear-gradient(45deg,transparent 30%,rgba(99,102,241,.05) 50%,transparent 70%);opacity:0;transition:opacity .3s}.history-item:hover:before{opacity:1}.history-item:hover{background:#fff;border-color:#a5b4fc;transform:translate(8px);box-shadow:0 8px 30px #6366f11f}.item-indicator{width:6px;border-radius:3px;flex-shrink:0;box-shadow:0 2px 8px #00000026}.item-content{flex:1;position:relative;z-index:1}.item-header{display:flex;justify-content:space-between;align-items:center;margin-bottom:14px}.candidate-name{display:flex;align-items:center;gap:10px;font-size:17px;font-weight:700;color:#1e1e2e}.candidate-name svg{color:#6366f1}.item-details{display:flex;flex-direction:column;gap:10px}.detail-item{display:flex;align-items:center;gap:8px;font-size:14px;color:#64748b;font-weight:500}.detail-item svg{flex-shrink:0;color:#94a3b8}.party-tag{padding:6px 14px;border:2px solid;border-radius:14px;font-size:12px;font-weight:700;background:#fff;box-shadow:0 2px 8px #0000000d}.voting-history-panel::-webkit-scrollbar{width:10px}.voting-history-panel::-webkit-scrollbar-track{background:#f1f5f9;border-radius:5px}.voting-history-panel::-webkit-scrollbar-thumb{background:linear-gradient(135deg,#6366f1,#a855f7);border-radius:5px}.voting-history-panel::-webkit-scrollbar-thumb:hover{background:linear-gradient(135deg,#4f46e5,#9333ea)}@media (max-width: 768px){.voting-history-panel{padding:20px}.history-header{flex-direction:column;align-items:flex-start;text-align:left}.header-icon{width:50px;height:50px}.history-item{padding:16px}.history-header h2{font-size:22px}}.survey-container{padding:24px;background:#0f172a;height:100%;overflow-y:auto;overflow-x:hidden;display:flex;justify-content:center;align-items:flex-start}.survey-card{background:#1e293b;border-radius:12px;box-shadow:0 4px 16px #0000004d;max-width:700px;width:100%;padding:32px;border:1px solid rgba(255,255,255,.1)}.survey-header{margin-bottom:24px;text-align:center;border-bottom:2px solid rgba(255,255,255,.1);padding-bottom:20px}.survey-tabs{display:flex;gap:8px;margin-bottom:24px;border-bottom:2px solid rgba(255,255,255,.1)}.survey-tab{display:flex;align-items:center;gap:8px;padding:12px 20px;background:transparent;border:none;border-bottom:3px solid transparent;color:#94a3b8;font-size:14px;font-weight:600;cursor:pointer;transition:all .2s ease;margin-bottom:-2px}.survey-tab:hover{color:#f9fafb;background:#ffffff0d}.survey-tab.active{color:#60a5fa;border-bottom-color:#60a5fa;background:transparent}.survey-tab-content{min-height:400px}.survey-tab-content.history-content{padding:0;min-height:auto}.survey-tab-content.history-content .voting-history-panel{padding:0;background:transparent;box-shadow:none}.survey-tab-content.history-content .voting-history-panel .history-header{margin-top:0;padding-top:0}.survey-header h2{font-size:28px;font-weight:700;color:#f9fafb;margin:0 0 8px}.survey-header p{font-size:14px;color:#cbd5e1;margin:0}.survey-form{display:flex;flex-direction:column;gap:32px}.survey-question{display:flex;flex-direction:column;gap:16px}.question-header{display:flex;align-items:center;gap:10px;margin-bottom:4px}.question-icon{color:#60a5fa;flex-shrink:0}.question-text{font-size:16px;font-weight:600;color:#f9fafb}.option-cards{display:flex;gap:12px;flex-wrap:wrap}.option-card{display:flex;align-items:center;gap:12px;padding:16px 20px;border:2px solid rgba(255,255,255,.15);border-radius:12px;background:#334155;cursor:pointer;transition:all .2s ease;flex:1;min-width:120px;position:relative;font-family:inherit;font-size:15px;font-weight:600;color:#f9fafb}.option-card:hover{border-color:#60a5fa80;transform:translateY(-2px);box-shadow:0 4px 12px #60a5fa33;background:#475569}.option-card.selected{border-color:#60a5fa;background:linear-gradient(135deg,#60a5fa33,#3b82f633);box-shadow:0 4px 12px #60a5fa4d}.option-card.selected .check-badge{color:#60a5fa;background:#1e293b}.option-icon{font-size:24px;line-height:1;flex-shrink:0}.option-text{flex:1;text-align:left}.check-badge{position:absolute;top:8px;right:8px;color:#3b82f6;background:#fff;border-radius:50%;padding:2px;box-shadow:0 2px 4px #0000001a}.constituency-select-wrapper{position:relative;margin-top:8px}.constituency-search-wrapper{position:relative;display:flex;align-items:center;background:#fff;border:2px solid #e2e8f0;border-radius:8px;padding:12px 16px;transition:all .2s ease}.constituency-search-wrapper:focus-within{border-color:#3b82f6;box-shadow:0 0 0 3px #3b82f61a}.search-icon{color:#94a3b8;flex-shrink:0;margin-right:12px}.constituency-search-compact .search-icon{color:#94a3b8}.constituency-search-input{flex:1;border:none;outline:none;background:transparent;color:#1e293b;font-size:15px;padding:0}.constituency-search-input::placeholder{color:#94a3b8}.search-clear{display:flex;align-items:center;justify-content:center;background:transparent;border:none;color:#94a3b8;cursor:pointer;padding:4px;margin-left:8px;border-radius:4px;transition:all .2s ease;font-size:20px;line-height:1;width:24px;height:24px}.search-clear:hover{background:#f1f5f9;color:#64748b}.selected-constituency-card{display:flex;align-items:center;gap:10px;padding:12px 16px;background:#60a5fa26;border:2px solid #60a5fa;border-radius:10px;color:#f9fafb}.selected-constituency-card svg{color:#60a5fa}.selected-constituency-text{flex:1;font-size:14px;font-weight:600}.clear-constituency-btn{background:transparent;border:none;color:#94a3b8;cursor:pointer;padding:4px;border-radius:4px;transition:all .2s ease;display:flex;align-items:center;justify-content:center}.clear-constituency-btn:hover{background:#ffffff1a;color:#f9fafb}.constituency-search-compact{position:relative;display:flex;align-items:center;background:#334155;border:2px solid rgba(255,255,255,.15);border-radius:8px;padding:10px 14px;transition:all .2s ease}.constituency-search-compact:focus-within{border-color:#60a5fa;box-shadow:0 0 0 3px #60a5fa33;background:#475569}.constituency-search-input-compact{flex:1;border:none;outline:none;background:transparent;color:#f9fafb;font-size:14px;padding:0;width:100%}.constituency-search-input-compact::placeholder{color:#94a3b8}.constituency-grid{display:grid;grid-template-columns:repeat(2,1fr);gap:8px;margin-top:12px;max-height:200px;overflow-y:auto;padding:4px}.constituency-chip{display:flex;align-items:center;gap:6px;padding:8px 12px;background:#334155;border:2px solid rgba(255,255,255,.15);border-radius:8px;cursor:pointer;transition:all .2s ease;font-family:inherit;font-size:12px;font-weight:500;color:#f9fafb;text-align:left}.constituency-chip:hover{border-color:#60a5fa;background:#475569;transform:translateY(-1px)}.constituency-chip svg{color:#60a5fa;flex-shrink:0}.chip-text{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;flex:1}.constituency-dropdown{position:absolute;top:calc(100% + 8px);left:0;right:0;background:#fff;border-radius:8px;box-shadow:0 4px 12px #00000026;max-height:300px;overflow-y:auto;border:1px solid #e2e8f0;z-index:1000;display:none}.constituency-option{width:100%;padding:12px 16px;border:none;background:#fff;text-align:left;cursor:pointer;transition:background-color .15s ease;border-bottom:1px solid #f1f5f9;display:flex;flex-direction:column;gap:4px}.constituency-option:last-child{border-bottom:none}.constituency-option:hover{background:#f8fafc}.constituency-option-main{display:flex;align-items:center;gap:12px;justify-content:space-between}.constituency-option-district{font-size:14px;font-weight:600;color:#1e293b}.constituency-option-const-id{font-size:12px;color:#64748b;font-weight:500;background:#f1f5f9;padding:2px 8px;border-radius:4px}.constituency-option-id{font-size:11px;color:#94a3b8;font-family:Monaco,Menlo,Courier New,monospace}.no-constituency-results{padding:16px;text-align:center;color:#94a3b8;font-size:13px;margin-top:12px;background:#f8fafc;border-radius:8px}@media (max-width: 768px){.option-cards{flex-direction:column}.option-card{width:100%}.constituency-grid{grid-template-columns:1fr}}.survey-actions{margin-top:8px;padding-top:24px;border-top:2px solid rgba(255,255,255,.1)}.survey-submit-btn{width:100%;padding:14px 24px;background:#3b82f6;color:#fff;border:none;border-radius:8px;font-size:16px;font-weight:600;cursor:pointer;transition:all .2s ease}.survey-submit-btn:hover:not(:disabled){background:#2563eb;transform:translateY(-1px);box-shadow:0 4px 12px #3b82f64d}.survey-submit-btn:disabled{background:#cbd5e1;color:#94a3b8;cursor:not-allowed}.save-status{margin-top:12px;padding:8px 12px;border-radius:6px;font-size:13px;font-weight:600;text-align:center}.save-status.success{background:#10b98133;color:#86efac;border:1px solid rgba(16,185,129,.3)}.save-status.error{background:#f59e0b33;color:#fbbf24;border:1px solid rgba(245,158,11,.3)}.survey-success{text-align:center;padding:24px 0}.success-icon{color:#10b981;margin:0 auto 24px}.survey-success h2{font-size:28px;font-weight:700;color:#1e293b;margin:0 0 8px}.survey-success>p{font-size:16px;color:#64748b;margin:0 0 32px}.survey-summary{background:#334155;border-radius:8px;padding:24px;margin:32px 0;text-align:left;display:flex;flex-direction:column;gap:16px;border:1px solid rgba(255,255,255,.1)}.summary-item{display:flex;justify-content:space-between;align-items:center;padding-bottom:16px;border-bottom:1px solid rgba(255,255,255,.1)}.summary-item:last-child{border-bottom:none;padding-bottom:0}.summary-label{font-size:14px;color:#cbd5e1;font-weight:500}.summary-value{font-size:15px;color:#f9fafb;font-weight:600}.survey-reset-btn{margin-top:24px;padding:12px 24px;background:#334155;color:#60a5fa;border:2px solid #60a5fa;border-radius:8px;font-size:15px;font-weight:600;cursor:pointer;transition:all .2s ease}.survey-reset-btn:hover{background:#60a5fa26;border-color:#93c5fd}.constituency-dropdown::-webkit-scrollbar{width:6px}.constituency-dropdown::-webkit-scrollbar-track{background:#f1f5f9;border-radius:0 8px 8px 0}.constituency-dropdown::-webkit-scrollbar-thumb{background:#cbd5e1;border-radius:3px}.constituency-dropdown::-webkit-scrollbar-thumb:hover{background:#94a3b8}@media (max-width: 768px){.survey-container{padding:16px}.survey-card{padding:24px}.survey-header h2{font-size:24px}.question-label{font-size:15px}.radio-option{padding:10px 14px}.constituency-dropdown{max-height:250px}}.login-container{min-height:100vh;display:flex;align-items:center;justify-content:center;background:#6b7280;padding:20px}.login-loading{display:flex;flex-direction:column;align-items:center;gap:16px;color:#fff}.loading-spinner{width:40px;height:40px;border:4px solid rgba(255,255,255,.3);border-top-color:#fff;border-radius:50%;animation:spin 1s linear infinite}.login-card{background:#0a1628;border-radius:20px;padding:48px 40px;width:100%;max-width:440px;box-shadow:0 24px 64px #0009;animation:slideUp .5s cubic-bezier(.34,1.56,.64,1);border:1px solid rgba(255,255,255,.15)}@keyframes slideUp{0%{opacity:0;transform:translateY(20px)}to{opacity:1;transform:translateY(0)}}.login-header{text-align:center;margin-bottom:36px}.login-logo{margin-bottom:20px;display:flex;justify-content:center;align-items:center}.login-logo-img{height:60px;width:auto;display:block;animation:logoFadeIn .6s ease-out;filter:drop-shadow(0 2px 12px rgba(255,255,255,.2))}@keyframes logoFadeIn{0%{opacity:0;transform:translateY(-10px) scale(.95)}to{opacity:1;transform:translateY(0) scale(1)}}.login-header h1{margin:0 0 12px;font-size:26px;font-weight:700;color:#f9fafb;letter-spacing:-.3px;animation:fadeIn .6s ease-out .2s both}.login-question{margin:0;color:#d1d5db;font-size:15px;line-height:1.5;font-weight:500;animation:fadeIn .6s ease-out .3s both}@keyframes fadeIn{0%{opacity:0;transform:translateY(5px)}to{opacity:1;transform:translateY(0)}}.login-options{display:flex;flex-direction:column;gap:16px}.login-option{display:flex;flex-direction:column;gap:8px}.google-signin-wrapper{display:flex;justify-content:center;min-height:44px}.google-signin-button{display:flex;align-items:center;justify-content:center;gap:12px;width:100%;padding:14px 20px;background:#374151;border:2px solid #4b5563;border-radius:10px;font-size:15px;font-weight:600;color:#f9fafb;cursor:pointer;transition:all .3s cubic-bezier(.4,0,.2,1);position:relative;overflow:hidden}.google-signin-button:before{content:"";position:absolute;top:0;left:-100%;width:100%;height:100%;background:linear-gradient(90deg,transparent,rgba(255,255,255,.1),transparent);transition:left .5s}.google-signin-button:hover:not(:disabled){background:#4b5563;border-color:#6b7280;transform:translateY(-2px);box-shadow:0 4px 12px #0000004d}.google-signin-button:hover:not(:disabled):before{left:100%}.google-signin-button:disabled{opacity:.6;cursor:not-allowed}.google-icon{width:20px;height:20px}.login-note{font-size:12px;color:#9ca3af;text-align:center;margin:0}.login-divider{display:flex;align-items:center;text-align:center;margin:8px 0}.login-divider:before,.login-divider:after{content:"";flex:1;border-bottom:1px solid #4b5563}.login-divider span{padding:0 16px;color:#9ca3af;font-size:13px;font-weight:500}.guest-signin-button{display:flex;align-items:center;justify-content:center;gap:10px;width:100%;padding:14px 20px;background:#374151;border:2px solid #4b5563;border-radius:10px;font-size:15px;font-weight:600;color:#f9fafb;cursor:pointer;transition:all .3s cubic-bezier(.4,0,.2,1);position:relative;overflow:hidden}.guest-signin-button:before{content:"";position:absolute;top:0;left:-100%;width:100%;height:100%;background:linear-gradient(90deg,transparent,rgba(255,255,255,.15),transparent);transition:left .5s}.guest-signin-button:hover{background:#4b5563;border-color:#6b7280;transform:translateY(-2px);box-shadow:0 4px 12px #0000004d}.guest-signin-button:hover:before{left:100%}.guest-signin-button:active{transform:translateY(0);box-shadow:0 2px 6px #0003}.login-footer{margin-top:28px;padding-top:20px;border-top:1px solid #4b5563;text-align:center}.login-footer p{margin:0;font-size:11px;color:#9ca3af;line-height:1.6;font-weight:400}.email-auth-section{margin:20px 0}.auth-mode-toggle{display:flex;gap:8px;margin-bottom:20px;background:#ffffff0d;padding:4px;border-radius:8px}.auth-mode-toggle button{flex:1;padding:10px;border:none;background:transparent;color:#ffffffb3;border-radius:6px;cursor:pointer;font-size:14px;font-weight:500;transition:all .2s}.auth-mode-toggle button.active{background:#3b82f64d;color:#fff}.email-auth-form{display:flex;flex-direction:column;gap:16px}.form-group{display:flex;flex-direction:column;gap:8px}.form-group label{font-size:13px;font-weight:600;color:#ffffffe6}.form-group input{padding:12px 16px;border:2px solid rgba(255,255,255,.1);border-radius:8px;background:#ffffff0d;color:#fff;font-size:14px;transition:all .2s}.form-group input:focus{outline:none;border-color:#3b82f6;background:#ffffff14}.form-group input::placeholder{color:#fff6}.email-error{padding:10px;background:#ef444433;border:1px solid rgba(239,68,68,.4);border-radius:6px;color:#fca5a5;font-size:13px;text-align:center}.email-auth-button{display:flex;align-items:center;justify-content:center;gap:8px;padding:14px;background:#3b82f6;color:#fff;border:none;border-radius:8px;font-size:15px;font-weight:600;cursor:pointer;transition:all .2s;margin-top:4px}.email-auth-button:hover:not(:disabled){background:#2563eb;transform:translateY(-1px)}.email-auth-button:disabled{opacity:.6;cursor:not-allowed}.password-hint{font-size:11px;color:#ffffff80;margin-top:4px}.signup-success-message{text-align:center;padding:20px}.signup-success-message .success-icon{color:#10b981;margin-bottom:16px}.signup-success-message h3{color:#fff;font-size:20px;margin:0 0 12px}.signup-success-message p{color:#ffffffe6;font-size:14px;margin:8px 0;line-height:1.5}.signup-success-message p strong{color:#fff;font-weight:600}.signup-success-message .success-subtitle{color:#ffffffb3;font-size:13px;margin-top:12px}.back-to-signin-button{margin-top:20px;padding:10px 20px;background:#3b82f633;color:#fff;border:1px solid rgba(59,130,246,.5);border-radius:6px;cursor:pointer;font-size:14px;transition:all .2s}.back-to-signin-button:hover{background:#3b82f64d;border-color:#3b82f6b3}@media (max-width: 480px){.login-card{padding:32px 24px}.login-header h1{font-size:22px}.login-logo-img{height:50px}.login-question{font-size:14px}.login-card{padding:36px 24px}}.user-profile{position:relative;z-index:1300}.user-profile-button{display:flex;align-items:center;gap:8px;padding:6px 12px;background:#f1f5f9;border:1px solid #e2e8f0;border-radius:8px;cursor:pointer;transition:all .2s ease;font-size:14px;color:#1e293b}.user-profile-button:hover{background:#e2e8f0;border-color:#cbd5e1}.user-avatar{width:28px;height:28px;border-radius:50%;object-fit:cover;border:2px solid white;box-shadow:0 1px 2px #0000001a}.user-avatar-placeholder{width:28px;height:28px;border-radius:50%;background:#cbd5e1;display:flex;align-items:center;justify-content:center;color:#64748b}.user-name{font-weight:600;max-width:120px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.chevron{transition:transform .2s ease;color:#64748b}.chevron.open{transform:rotate(180deg)}.user-dropdown{position:absolute;top:calc(100% + 8px);right:0;background:#fff;border:1px solid #e2e8f0;border-radius:8px;box-shadow:0 4px 12px #00000026;min-width:200px;z-index:1300;animation:slideDown .2s ease}@keyframes slideDown{0%{opacity:0;transform:translateY(-8px)}to{opacity:1;transform:translateY(0)}}.user-info{padding:12px 16px}.user-info-name{font-size:14px;font-weight:700;color:#0f172a;margin-bottom:4px}.user-info-email{font-size:12px;color:#64748b;margin-bottom:8px}.user-info-badge{display:inline-block;padding:2px 8px;background:#fef3c7;color:#92400e;border-radius:4px;font-size:11px;font-weight:600;text-transform:uppercase;letter-spacing:.5px}.user-dropdown-divider{height:1px;background:#e2e8f0;margin:4px 0}.user-dropdown-item{display:flex;align-items:center;gap:10px;width:100%;padding:10px 16px;background:none;border:none;text-align:left;font-size:14px;color:#475569;cursor:pointer;transition:background .2s ease}.user-dropdown-item:hover{background:#f8fafc;color:#0f172a}.user-dropdown-item svg{color:#64748b}@media (max-width: 768px){.user-name{display:none}.user-profile-button{padding:6px}}.policy-overlay{position:fixed;top:0;left:0;right:0;bottom:0;background:#000000b3;display:flex;align-items:center;justify-content:center;z-index:10000;padding:20px;overflow-y:auto}.policy-modal{background:#fff;border-radius:12px;max-width:800px;width:100%;max-height:90vh;display:flex;flex-direction:column;box-shadow:0 20px 60px #0000004d}.policy-header{display:flex;justify-content:space-between;align-items:center;padding:24px 32px;border-bottom:2px solid #f1f5f9}.policy-header h2{margin:0;font-size:28px;color:#1e293b}.policy-close{background:none;border:none;cursor:pointer;color:#64748b;padding:4px;display:flex;align-items:center;justify-content:center;border-radius:4px;transition:all .2s}.policy-close:hover{background:#f1f5f9;color:#1e293b}.policy-content{padding:32px;overflow-y:auto;flex:1}.policy-updated{color:#64748b;font-size:14px;margin-bottom:24px;font-style:italic}.policy-content section{margin-bottom:32px}.policy-content section:last-of-type{margin-bottom:0}.policy-content h3{color:#1e293b;font-size:20px;margin:0 0 12px;font-weight:600}.policy-content p{color:#475569;line-height:1.7;margin:0 0 12px}.policy-content ul{margin:12px 0;padding-left:24px;color:#475569}.policy-content li{margin-bottom:8px;line-height:1.6}.policy-content strong{color:#1e293b;font-weight:600}.policy-footer{padding:24px 32px;border-top:2px solid #f1f5f9;display:flex;justify-content:flex-end}.policy-button{background:#3b82f6;color:#fff;border:none;padding:12px 32px;border-radius:8px;font-size:16px;font-weight:600;cursor:pointer;transition:all .2s}.policy-button:hover{background:#2563eb;transform:translateY(-1px);box-shadow:0 4px 12px #3b82f64d}@media (max-width: 768px){.policy-modal{max-height:95vh}.policy-header,.policy-content,.policy-footer{padding:20px}.policy-header h2{font-size:24px}}.terms-overlay{position:fixed;top:0;left:0;right:0;bottom:0;background:#000000b3;display:flex;align-items:center;justify-content:center;z-index:10000;padding:20px;overflow-y:auto}.terms-modal{background:#fff;border-radius:12px;max-width:800px;width:100%;max-height:90vh;display:flex;flex-direction:column;box-shadow:0 20px 60px #0000004d}.terms-header{display:flex;justify-content:space-between;align-items:center;padding:24px 32px;border-bottom:2px solid #f1f5f9}.terms-header h2{margin:0;font-size:28px;color:#1e293b}.terms-close{background:none;border:none;cursor:pointer;color:#64748b;padding:4px;display:flex;align-items:center;justify-content:center;border-radius:4px;transition:all .2s}.terms-close:hover{background:#f1f5f9;color:#1e293b}.terms-content{padding:32px;overflow-y:auto;flex:1}.terms-updated{color:#64748b;font-size:14px;margin-bottom:24px;font-style:italic}.terms-content section{margin-bottom:32px}.terms-content section:last-of-type{margin-bottom:0}.terms-content h3{color:#1e293b;font-size:20px;margin:0 0 12px;font-weight:600}.terms-content p{color:#475569;line-height:1.7;margin:0 0 12px}.terms-content ul{margin:12px 0;padding-left:24px;color:#475569}.terms-content li{margin-bottom:8px;line-height:1.6}.terms-footer{padding:24px 32px;border-top:2px solid #f1f5f9;display:flex;justify-content:flex-end}.terms-button{background:#3b82f6;color:#fff;border:none;padding:12px 32px;border-radius:8px;font-size:16px;font-weight:600;cursor:pointer;transition:all .2s}.terms-button:hover{background:#2563eb;transform:translateY(-1px);box-shadow:0 4px 12px #3b82f64d}@media (max-width: 768px){.terms-modal{max-height:95vh}.terms-header,.terms-content,.terms-footer{padding:20px}.terms-header h2{font-size:24px}}.about-overlay{position:fixed;top:0;left:0;right:0;bottom:0;background:#000000b3;display:flex;align-items:center;justify-content:center;z-index:10000;padding:20px;overflow-y:auto}.about-modal{background:#fff;border-radius:12px;max-width:700px;width:100%;max-height:90vh;display:flex;flex-direction:column;box-shadow:0 20px 60px #0000004d}.about-header{display:flex;justify-content:space-between;align-items:center;padding:24px 32px;border-bottom:2px solid #f1f5f9}.about-header h2{margin:0;font-size:28px;color:#1e293b}.about-close{background:none;border:none;cursor:pointer;color:#64748b;padding:4px;display:flex;align-items:center;justify-content:center;border-radius:4px;transition:all .2s}.about-close:hover{background:#f1f5f9;color:#1e293b}.about-content{padding:32px;overflow-y:auto;flex:1}.about-section{margin-bottom:32px}.about-section:last-child{margin-bottom:0}.about-section h3{color:#1e293b;font-size:20px;margin:0 0 12px;font-weight:600}.about-section p{color:#475569;line-height:1.7;margin:0 0 12px}.about-section ul{margin:12px 0;padding-left:24px;color:#475569}.about-section li{margin-bottom:8px;line-height:1.6}.about-action-button{display:inline-flex;align-items:center;gap:8px;background:#3b82f6;color:#fff;border:none;padding:12px 24px;border-radius:8px;font-size:14px;font-weight:600;cursor:pointer;transition:all .2s;margin-top:8px}.about-action-button:hover{background:#2563eb;transform:translateY(-1px);box-shadow:0 4px 12px #3b82f64d}.contact-form{display:flex;flex-direction:column;gap:12px;margin-top:12px}.contact-form input,.contact-form textarea{padding:12px;border:2px solid #e2e8f0;border-radius:8px;font-size:14px;font-family:inherit;transition:border-color .2s}.contact-form input:focus,.contact-form textarea:focus{outline:none;border-color:#3b82f6}.contact-form textarea{resize:vertical;min-height:100px}.contact-submit{display:inline-flex;align-items:center;justify-content:center;gap:8px;background:#3b82f6;color:#fff;border:none;padding:12px 24px;border-radius:8px;font-size:14px;font-weight:600;cursor:pointer;transition:all .2s;align-self:flex-start}.contact-submit:hover{background:#2563eb;transform:translateY(-1px);box-shadow:0 4px 12px #3b82f64d}.contact-success{background:#d1fae5;border:2px solid #10b981;border-radius:8px;padding:16px;margin-top:12px}.contact-success p{color:#065f46;margin:0;font-weight:500}.legal-links{display:flex;gap:12px;margin-top:12px}.legal-link{background:#f1f5f9;color:#3b82f6;border:2px solid #e2e8f0;padding:10px 20px;border-radius:8px;font-size:14px;font-weight:600;cursor:pointer;transition:all .2s}.legal-link:hover{background:#e2e8f0;border-color:#3b82f6}@media (max-width: 768px){.about-modal{max-height:95vh}.about-header,.about-content{padding:20px}.about-header h2{font-size:24px}.legal-links{flex-direction:column}}.dashboard-prompt-overlay{position:fixed;top:0;left:0;right:0;bottom:0;background:#00000080;display:flex;align-items:center;justify-content:center;z-index:2000;animation:fadeIn .2s ease-out}.dashboard-prompt-modal{background:#fff;border-radius:16px;padding:32px;max-width:420px;width:90%;max-height:90vh;overflow-y:auto;box-shadow:0 20px 60px #0000004d;position:relative;animation:slideUp .3s ease-out}.dashboard-prompt-close{position:absolute;top:16px;right:16px;background:transparent;border:none;color:#64748b;cursor:pointer;padding:8px;display:flex;align-items:center;justify-content:center;border-radius:8px;transition:all .2s;width:36px;height:36px}.dashboard-prompt-close:hover{background:#f1f5f9;color:#334155}.dashboard-prompt-content{display:flex;flex-direction:column;align-items:center;text-align:center;gap:16px}.dashboard-prompt-icon{width:80px;height:80px;border-radius:50%;background:#3b82f6;display:flex;align-items:center;justify-content:center;color:#fff;margin-bottom:8px}.dashboard-prompt-modal h2{margin:0;font-size:24px;color:#1e293b;font-weight:600}.dashboard-prompt-time{display:flex;align-items:center;gap:6px;color:#10b981;font-size:14px;font-weight:500;background:#d1fae5;padding:6px 12px;border-radius:20px}.dashboard-prompt-message{margin:0;color:#64748b;font-size:15px;line-height:1.6}.dashboard-prompt-actions{display:flex;gap:12px;width:100%;margin-top:8px}.dashboard-prompt-button{flex:1;padding:12px 24px;border:none;border-radius:8px;font-size:15px;font-weight:500;cursor:pointer;transition:all .2s}.dashboard-prompt-button.primary{background:#3b82f6;color:#fff}.dashboard-prompt-button.primary:hover{background:#2563eb;transform:translateY(-1px);box-shadow:0 4px 12px #3b82f666}.dashboard-prompt-button.secondary{background:#f1f5f9;color:#475569}.dashboard-prompt-button.secondary:hover{background:#e2e8f0}@keyframes fadeIn{0%{opacity:0}to{opacity:1}}@keyframes slideUp{0%{transform:translateY(20px);opacity:0}to{transform:translateY(0);opacity:1}}.intro-agree-overlay{position:fixed;top:0;left:0;right:0;bottom:0;background:#0000008c;display:flex;align-items:center;justify-content:center;z-index:2000;animation:introFadeIn .25s ease-out}.intro-agree-modal{background:#fff;border-radius:16px;padding:28px 32px;max-width:440px;width:90%;max-height:90vh;overflow-y:auto;box-shadow:0 20px 60px #00000040;position:relative;animation:introSlideUp .3s ease-out;text-align:center}.intro-agree-icon{width:72px;height:72px;border-radius:50%;background:#3b82f6;color:#fff;display:flex;align-items:center;justify-content:center;margin:0 auto 16px}.intro-agree-modal h2{margin:0 0 16px;font-size:22px;color:#1e293b;font-weight:600}.intro-agree-content{text-align:left;margin-bottom:24px}.intro-agree-content p{margin:0 0 12px;color:#475569;font-size:14px;line-height:1.6}.intro-agree-content p:last-child{margin-bottom:0}.intro-agree-content strong{color:#334155}.intro-agree-button{width:100%;padding:14px 24px;background:#3b82f6;color:#fff;border:none;border-radius:10px;font-size:16px;font-weight:600;cursor:pointer;transition:background .2s,transform .15s}.intro-agree-button:hover{background:#2563eb;transform:translateY(-1px);box-shadow:0 4px 14px #3b82f666}@keyframes introFadeIn{0%{opacity:0}to{opacity:1}}@keyframes introSlideUp{0%{transform:translateY(24px);opacity:0}to{transform:translateY(0);opacity:1}}.election-countdown{background:#ffffff26;border-radius:6px;padding:8px 14px;display:flex;flex-direction:column;align-items:center;gap:4px;border:1px solid rgba(255,255,255,.2);min-width:200px}.countdown-label{font-size:11px;font-weight:500;color:#ffffffe6;margin:0;text-align:center;white-space:nowrap}.countdown-timer{display:flex;align-items:center;gap:6px;justify-content:center}.countdown-number{font-size:20px;font-weight:700;color:#dc2626;line-height:1;font-variant-numeric:tabular-nums}.countdown-separator{font-size:18px;font-weight:600;color:#dc2626;margin:0 2px}@media (max-width: 768px){.election-countdown{padding:5px 8px;min-width:140px}.countdown-label{font-size:9px;white-space:normal;line-height:1.2}.countdown-number{font-size:14px}.countdown-separator{font-size:12px}.countdown-timer{gap:4px}}.app{display:flex;flex-direction:column;height:100vh;height:100dvh;overflow:hidden;background:#f8fafc}.app-header{background:linear-gradient(135deg,#0f172a,#1e293b);color:#fff;padding:14px 20px;box-shadow:0 2px 8px #00000026;z-index:1200;border-bottom:1px solid rgba(255,255,255,.1);position:relative}.header-content{max-width:1400px;margin:0 auto;display:flex;justify-content:space-between;align-items:center;gap:16px;flex-wrap:wrap}.header-top-row{display:flex;justify-content:space-between;align-items:center;width:100%;gap:16px;flex:1}.header-center{display:flex;align-items:center;justify-content:center;flex:0 0 auto}.header-right{display:flex;align-items:center;gap:12px}.logo-section{display:flex;align-items:center;gap:14px}.app-logo{height:42px;width:auto;display:block;animation:logoFadeIn .8s ease-out;filter:brightness(1.15) drop-shadow(0 2px 8px rgba(255,255,255,.15));transition:transform .3s ease,filter .3s ease}.logo-section:hover .app-logo{transform:scale(1.05);filter:brightness(1.25) drop-shadow(0 4px 12px rgba(255,255,255,.25))}.logo-text{display:flex;align-items:center;justify-content:center}.logo-section .tagline{font-size:13px;font-weight:500;margin:0;color:#ffffffe6;letter-spacing:.3px;animation:taglineSlideIn 1s ease-out .3s both;font-style:normal;transition:opacity .3s ease,color .3s ease;text-transform:lowercase;display:flex;flex-direction:column;line-height:1.4;gap:2px}.logo-section .tagline-line{display:block}.logo-section:hover .tagline{opacity:1;color:#fffffff2}@keyframes logoFadeIn{0%{opacity:0;transform:translateY(-5px)}to{opacity:1;transform:translateY(0)}}@keyframes taglineSlideIn{0%{opacity:0;transform:translate(-10px)}to{opacity:1;transform:translate(0)}}.nav-buttons{display:flex;gap:8px;align-items:center}.nav-button{display:flex;flex-direction:column;align-items:center;gap:3px;padding:8px 16px;background:transparent;border:1px solid rgba(255,255,255,.2);border-radius:8px;color:#fff;font-size:13px;font-weight:600;cursor:pointer;transition:all .2s ease;position:relative}.nav-button-main{display:flex;align-items:center;gap:6px}.nav-subtitle{font-size:10px;font-weight:500;opacity:.75;margin-top:2px;white-space:nowrap;transition:opacity .2s ease;line-height:1.2}.nav-button:hover .nav-subtitle,.nav-button.active .nav-subtitle{opacity:.9}.nav-button:hover{background:#ffffff1a;border-color:#ffffff4d}.nav-button.active{background:#fff;color:#1e293b;border-color:#fff}.app-main{flex:1;overflow:hidden;position:relative;min-height:0;display:flex;flex-direction:column}.map-container{height:100%;width:100%;position:relative;flex:1;min-height:0;display:flex;flex-direction:column}.map-wrapper{height:100%;width:100%;position:relative;flex:1;min-height:0}.map-loading{display:flex;flex-direction:column;align-items:center;justify-content:center;height:100%;gap:16px;background:#f8fafc}.loading-spinner{width:40px;height:40px;border:3px solid #e2e8f0;border-top:3px solid #3b82f6;border-radius:50%;animation:spin .8s linear infinite}@keyframes spin{to{transform:rotate(360deg)}}.map-loading p{font-size:14px;color:#64748b}.party-legend{position:absolute;top:16px;right:16px;background:#fff;padding:14px;border-radius:10px;box-shadow:0 2px 8px #0000001a;z-index:1000;max-width:270px;min-width:220px;border:1px solid #e2e8f0}.party-legend .legend-header{display:flex;justify-content:space-between;align-items:center;margin-bottom:10px;cursor:default}.party-legend .legend-toggle{display:none}.party-legend h4{margin:0;font-size:13px;color:#1e293b;font-weight:700}.party-legend .legend-items{display:flex;flex-direction:column;gap:5px}.party-legend .legend-item{display:flex;align-items:center;gap:8px;font-size:11px;color:#475569;transition:all .2s ease;min-width:0}.party-legend .legend-item.selected{background:#3b82f61a;border:1px solid rgba(59,130,246,.3);border-radius:6px;padding:4px 8px}.party-legend .legend-item.selected.congress-selected{background:#00800026;border:1px solid #008000}.party-legend .legend-item.neutral{margin-top:6px;padding-top:6px;border-top:1px solid #e2e8f0}.party-legend .legend-color-rectangle{width:15px;height:12px;border-radius:2px;flex-shrink:0;order:1}.party-legend .legend-logo{width:20px;height:20px;object-fit:contain;flex-shrink:0;background:#fff;border-radius:4px;padding:2px;border:1px solid #e2e8f0;order:2}.party-legend .legend-label{font-weight:500;font-size:11px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;flex:1;min-width:0;order:3}.party-legend .legend-content{display:block;overflow:visible}@media (min-width: 769px){.party-legend .legend-content{display:block!important;max-height:none!important;padding:0!important;overflow:visible!important}.party-legend.collapsed .legend-content{display:block!important;max-height:none!important;padding:0!important}}.party-legend .legend-stats{margin-top:10px;padding-top:8px;border-top:1px solid #e2e8f0;display:flex;flex-direction:column;gap:4px;font-size:11px;font-weight:600;color:#64748b}.app-footer{background:#1e293b;color:#fff;padding:16px 20px;text-align:center;font-size:12px;z-index:1000;display:flex;flex-direction:column;gap:12px}.footer-disclaimer{text-align:center;max-width:900px;margin:0 auto;padding:0 20px}.footer-disclaimer p{margin:0;line-height:1.6;color:#ffffffd9;font-size:13px}.footer-links{display:flex;align-items:center;justify-content:center;flex-wrap:wrap;gap:8px}.footer-link{background:transparent;border:none;color:#fffc;padding:4px 8px;font-size:12px;cursor:pointer;transition:all .2s;text-decoration:none}.footer-link:hover{color:#fff;text-decoration:underline}.footer-separator{color:#fff6;font-size:12px}.footer-support-text{color:#fffc;font-size:12px;margin:0 4px}.footer-donation-link{color:#fffc;text-decoration:none;font-size:12px;transition:color .2s ease;padding:4px 8px}.footer-donation-link:hover{color:#fff;text-decoration:underline}.app-loading{display:flex;flex-direction:column;align-items:center;justify-content:center;height:100vh;gap:16px;background:#f8fafc}.app-loading p{font-size:14px;color:#64748b}.history-container{padding:24px;background:#f8fafc;height:100%;overflow-y:auto;overflow-x:hidden}.trace-container,.dashboard-container{height:100%;overflow-y:auto;overflow-x:hidden;background:#f8fafc}.leaflet-container{height:100%;width:100%;z-index:1;background:#f8fafc!important}.leaflet-tile-pane{display:none}@media (max-width: 768px){.app{height:100vh;height:-webkit-fill-available;min-height:-webkit-fill-available}.app-main{flex:1 1 auto;min-height:0;overflow:hidden}.map-container{flex:1 1 auto;min-height:0;height:100%;display:flex;flex-direction:column}.map-wrapper{flex:1 1 auto;min-height:0;height:100%;position:relative;overflow:hidden}.leaflet-container{height:100%!important;min-height:400px!important;width:100%!important;touch-action:pan-x pan-y}.map-wrapper .leaflet-tile-container{opacity:1!important}.header-content{flex-direction:column;align-items:stretch;gap:8px}.header-top-row{display:flex;justify-content:space-between;align-items:center;width:100%;gap:8px;flex-wrap:nowrap}.header-top-row .logo-section{flex:1 1 auto;min-width:0}.header-top-row .header-center{flex:0 0 auto;margin-left:auto}.header-right{width:100%}.header-top-row .logo-section{gap:8px;flex-wrap:nowrap;min-width:0}.header-top-row .logo-section .logo-text{display:none}.app-logo{height:32px}.nav-buttons{width:100%;flex-wrap:wrap}.nav-button{flex:1;justify-content:center;min-width:80px;padding:6px 10px;font-size:12px}.party-legend{position:fixed;top:auto;bottom:60px;left:50%;transform:translate(-50%);right:auto;max-width:calc(100vw - 24px);width:auto;min-width:220px;max-width:300px;padding:0;z-index:999;border-radius:12px 12px 0 0;overflow:hidden}.party-legend.collapsed{min-width:200px;max-width:280px}.party-legend .legend-header{background:#1e293b;color:#fff;padding:8px 10px;margin-bottom:0;border-radius:12px 12px 0 0;-webkit-user-select:none;user-select:none;display:flex;justify-content:space-between;align-items:center;gap:8px;cursor:pointer}.party-legend .legend-header h4{color:#fff;font-size:12px;margin:0;flex:1}.party-legend .legend-toggle{display:flex!important;background:#fff3;border:none;color:#fff;width:24px;height:24px;border-radius:50%;font-size:16px;font-weight:700;cursor:pointer;flex-shrink:0;align-items:center;justify-content:center;padding:0;line-height:1;touch-action:manipulation;-webkit-tap-highlight-color:transparent;transition:background-color .2s ease}.party-legend .legend-toggle:hover,.party-legend .legend-toggle:active{background:#ffffff4d}.party-legend .legend-content{max-height:0;overflow:hidden;transition:max-height .3s ease}.party-legend.expanded .legend-content{max-height:55vh;overflow-y:auto;padding:10px}.party-legend.collapsed .legend-content{padding:6px 10px}.party-legend.collapsed .legend-items{padding:0}.party-legend.collapsed .legend-item.hidden-mobile,.party-legend.collapsed .legend-stats{display:none}.party-legend .legend-items{gap:5px;display:flex;flex-direction:column}.party-legend .legend-item{padding:4px 0;gap:6px}.party-legend .legend-logo{width:16px;height:16px}.party-legend .legend-color{width:12px;height:12px}.party-legend .legend-label{font-size:10px}.party-legend .legend-stats{margin-top:8px;padding-top:8px;border-top:1px solid #e2e8f0;font-size:10px;display:flex;flex-direction:column;gap:3px}}:root{--primary: #3b82f6;--primary-dark: #2563eb;--success: #22c55e;--warning: #f59e0b;--danger: #ef4444;--neutral: #64748b;--bg: #f8fafc;--card: #ffffff;--border: #e2e8f0;--text: #1e293b;--text-secondary: #64748b;font-family:Poppins,system-ui,-apple-system,sans-serif;line-height:1.5;font-weight:400;color:var(--text);background:var(--bg);font-synthesis:none;text-rendering:optimizeLegibility;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}*{margin:0;padding:0;box-sizing:border-box}body{min-height:100vh;background:var(--bg)}#root{width:100%;height:100vh}button{font-family:Poppins,sans-serif}::-webkit-scrollbar{width:8px}::-webkit-scrollbar-track{background:#f1f5f9}::-webkit-scrollbar-thumb{background:#cbd5e1;border-radius:4px}::-webkit-scrollbar-thumb:hover{background:#94a3b8}::selection{background:var(--primary);color:#fff}
