.city-popup-overlay{position:fixed;top:0;left:0;right:0;bottom:0;background-color:#00000080;display:flex;justify-content:center;align-items:center;z-index:1000;padding:20px}.city-popup{background:#fff;border-radius:12px;box-shadow:0 10px 30px #0000004d;max-width:500px;width:100%;max-height:80vh;overflow-y:auto;position:relative;animation:slideIn .2s ease-out}@keyframes slideIn{0%{opacity:0;transform:scale(.9) translateY(10px)}to{opacity:1;transform:scale(1) translateY(0)}}.close-button{position:absolute;top:15px;right:15px;background:none;border:none;font-size:24px;cursor:pointer;color:#666;padding:5px;line-height:1;border-radius:50%;width:30px;height:30px;display:flex;align-items:center;justify-content:center}.close-button:hover{background-color:#f0f0f0;color:#333}.popup-header{padding:25px 25px 20px;border-bottom:1px solid #eee}.popup-header h2{margin:0 0 8px;font-size:24px;font-weight:600;color:#333;padding-right:40px}.subheader{margin:0;font-size:16px;font-weight:400;color:#666}.popup-content{padding:20px 25px 25px}.cost-comparison{margin-bottom:25px}.percent-difference{font-size:28px;font-weight:700;text-align:center;padding:15px;border-radius:8px;margin-bottom:15px}.percent-difference.more-expensive{background-color:#fee;color:#c53030}.percent-difference.less-expensive{background-color:#efe;color:#38a169}.salary-comparison{background-color:#f8f9fa;padding:15px;border-radius:8px}.salary-item{display:flex;justify-content:space-between;align-items:center}.salary-item .label{color:#666;font-size:14px}.salary-item .value{font-weight:600;font-size:18px;color:#333}.popup-content h4{margin:20px 0 12px;font-size:16px;font-weight:600;color:#333;border-bottom:2px solid #e2e8f0;padding-bottom:5px}.housing-section{margin-bottom:25px}.housing-data,.tax-data{display:flex;flex-direction:column;gap:10px}.rent-item,.housing-factor,.tax-item{display:flex;justify-content:space-between;align-items:center;padding:8px 12px;background-color:#f8f9fa;border-radius:6px}.rent-item .label,.housing-factor .label,.tax-item .label{color:#666;font-size:14px}.rent-item .value,.housing-factor .value,.tax-item .value{font-weight:600;color:#333}.tax-section{margin-bottom:25px}.tax-notes{font-size:12px;color:#666;font-style:italic;margin-top:8px;padding:8px;background-color:#f1f5f9;border-radius:4px}.detailed-metrics{margin-bottom:10px}.metrics-grid{display:flex;flex-direction:column;gap:10px}.metric-item{display:flex;justify-content:space-between;align-items:center;padding:10px 12px;background-color:#f8f9fa;border-radius:6px}.metric-item .label{color:#666;font-size:14px}.metric-item .value{font-weight:600;color:#333}.no-data{color:#999;font-style:italic;margin:0;padding:10px;background-color:#f8f9fa;border-radius:6px;text-align:center}@media (max-width: 768px){.city-popup{margin:10px;max-height:90vh}.popup-header{padding:20px 20px 15px}.popup-header h2{font-size:20px;padding-right:35px}.popup-content{padding:15px 20px 20px}.percent-difference{font-size:24px;padding:12px}.salary-item .value{font-size:16px}}.app{display:flex;height:100vh;width:100vw}.sidebar{width:400px;background:#fff;border-right:1px solid #e2e8f0;overflow-y:auto;flex-shrink:0;display:flex;flex-direction:column}.main-content{flex:1;position:relative;min-height:0}.control-panel{padding:2rem;border-bottom:1px solid #e2e8f0}.control-panel h1{font-size:1.5rem;margin-bottom:.5rem;color:#1a202c}.control-panel p{margin-bottom:2rem;color:#718096}.controls{display:flex;flex-direction:column;gap:1.5rem}.control-group{display:flex;flex-direction:column;gap:.5rem}.control-group label{font-weight:500;color:#2d3748;font-size:.875rem}.salary-input{position:relative;display:flex;align-items:center}.currency{position:absolute;left:12px;color:#718096;font-weight:500;z-index:1}.salary-input input{width:100%;padding:12px 12px 12px 24px;border:1px solid #cbd5e0;border-radius:6px;font-size:1rem;transition:border-color .2s}.salary-input input:focus{outline:none;border-color:#3182ce;box-shadow:0 0 0 3px #3182ce1a}.select__control{border-color:#cbd5e0!important;border-radius:6px!important;min-height:44px!important;transition:border-color .2s!important}.select__control:hover{border-color:#a0aec0!important}.select__control--is-focused{border-color:#3182ce!important;box-shadow:0 0 0 3px #3182ce1a!important}.select__menu{z-index:9999!important}.select__option--is-focused{background-color:#ebf8ff!important}.select__option--is-selected{background-color:#3182ce!important}.checkbox-label{display:flex!important;align-items:center;gap:.75rem;cursor:pointer;font-weight:400!important;font-size:1rem!important}.checkbox-label input[type=checkbox]{width:18px;height:18px;accent-color:#3182ce;cursor:pointer}.help-text{font-size:.75rem;color:#718096;margin-top:.25rem}.loading{display:flex;align-items:center;gap:.75rem;margin-top:1rem;padding:1rem;background-color:#f7fafc;border-radius:6px;color:#4a5568}.spinner{width:16px;height:16px;border:2px solid #e2e8f0;border-top:2px solid #3182ce;border-radius:50%;animation:spin 1s linear infinite}@keyframes spin{0%{transform:rotate(0)}to{transform:rotate(360deg)}}.map-legend{padding:2rem;background:#fff}.map-legend h3{font-size:1.125rem;margin-bottom:.25rem}.legend-subtitle{font-size:.875rem;color:#718096;margin-bottom:1rem}.legend-items{display:flex;flex-direction:column;gap:.5rem;margin-bottom:1rem}.legend-item{display:flex;align-items:center;gap:.75rem}.legend-color{width:20px;height:20px;border-radius:3px;border:1px solid rgba(0,0,0,.1);flex-shrink:0}.legend-label{font-size:.875rem;color:#4a5568}.legend-note{padding-top:.75rem;border-top:1px solid #e2e8f0}.legend-note small{color:#718096;font-size:.75rem}.map-container{height:100%;width:100%}.map-placeholder{display:flex;align-items:center;justify-content:center;height:100%;background:#f7fafc;color:#718096}.error-banner{position:absolute;top:0;left:0;right:0;background:#fed7d7;color:#9b2c2c;padding:1rem;display:flex;justify-content:space-between;align-items:center;z-index:1000;border-bottom:1px solid #feb2b2}.error-banner button{background:none;border:1px solid #c53030;color:#c53030;padding:.25rem .75rem;border-radius:4px;cursor:pointer;font-size:.875rem}.error-banner button:hover{background:#c53030;color:#fff}.custom-tooltip{background:#fff!important;border:none!important;border-radius:8px!important;box-shadow:0 4px 12px #00000026!important;padding:0!important}.custom-tooltip:before{display:none!important}.map-tooltip{padding:1rem;min-width:250px;white-space:nowrap}.map-tooltip h4{font-size:1rem;font-weight:600;color:#1a202c;margin-bottom:.75rem;border-bottom:1px solid #e2e8f0;padding-bottom:.5rem}.tooltip-content p{margin-bottom:.5rem;font-size:.875rem;color:#4a5568;line-height:1.4}.tooltip-content p:last-child{margin-bottom:0}.tooltip-content strong{color:#2d3748;font-weight:500}.mobile-menu-toggle,.mobile-menu-close,.mobile-menu-backdrop{display:none}@media (max-width: 768px){.app{flex-direction:row;position:relative}.main-content{position:fixed;top:0;left:0;right:0;bottom:0;width:100vw;height:100vh;z-index:1}.mobile-menu-toggle{display:flex!important;align-items:center;justify-content:center;position:fixed;bottom:20px;right:20px;width:56px;height:56px;border-radius:50%;background:#3182ce;color:#fff;border:none;box-shadow:0 4px 12px #0000004d,0 0 0 1px #ffffff1a;cursor:pointer;z-index:9999;transition:transform .2s,background-color .2s;outline:none;animation:pulse 2s ease-in-out infinite}.mobile-menu-toggle:hover{background-color:#2c5aa0;box-shadow:0 6px 16px #0006,0 0 0 1px #fff3;animation:none}.mobile-menu-toggle:active{transform:scale(.95);background-color:#2559a0;animation:none}.mobile-menu-toggle svg{width:28px;height:28px;filter:drop-shadow(0 1px 2px rgba(0,0,0,.2))}.mobile-menu-close{display:block;position:absolute;top:1rem;right:1rem;background:none;border:none;font-size:2rem;color:#4a5568;cursor:pointer;width:40px;height:40px;display:flex;align-items:center;justify-content:center;z-index:1001;transition:color .2s}.mobile-menu-close:active{color:#2d3748}.mobile-menu-backdrop{display:block;position:fixed;top:0;left:0;right:0;bottom:0;background:#00000080;z-index:999;animation:fadeIn .3s ease-out}.sidebar{position:fixed;top:0;right:0;bottom:0;width:85%;max-width:400px;height:100vh;background:#fff;border-right:none;border-left:1px solid #e2e8f0;box-shadow:-4px 0 12px #00000026;transform:translate(100%);transition:transform .3s ease-out;z-index:1000;overflow-y:auto;-webkit-overflow-scrolling:touch}.sidebar.mobile-menu-open{transform:translate(0)}.control-panel{padding:3.5rem 1rem 1rem}.map-legend{padding:1rem}.map-tooltip{min-width:200px!important;max-width:calc(100vw - 2rem)!important;padding:.75rem!important;white-space:normal!important}.map-tooltip h4{font-size:.9rem!important;margin-bottom:.5rem!important;padding-bottom:.25rem!important}.tooltip-content p{font-size:.8rem!important;margin-bottom:.4rem!important}}@media (max-width: 480px){.mobile-menu-toggle{display:flex!important;width:52px;height:52px;bottom:16px;right:16px;z-index:9999}.mobile-menu-toggle svg{width:26px;height:26px}.sidebar{width:90%}.control-panel h1{font-size:1.25rem}.controls{gap:1rem}.salary-input input{padding:10px 10px 10px 22px}.error-banner{padding:.75rem;font-size:.875rem;flex-direction:column;gap:.5rem;text-align:center}.error-banner button{padding:.5rem 1rem;font-size:.875rem}.control-panel p{margin-bottom:1.5rem;font-size:.875rem}.map-legend h3{font-size:1rem}.legend-subtitle,.legend-label{font-size:.8rem}.social-links{padding:1rem}.social-icons a{width:36px;height:36px}.social-icons svg{width:18px;height:18px}.personal-website{font-size:.8rem}.sidebar .data-sources{padding-bottom:calc(env(safe-area-inset-bottom,0px) + 110px)}.sidebar .social-links{flex-grow:1;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:1rem;padding-top:3rem;padding-bottom:calc(env(safe-area-inset-bottom,0px) + 70px);min-height:200px}.map-tooltip{min-width:180px!important;max-width:calc(100vw - 1rem)!important;padding:.5rem!important;white-space:normal!important}.map-tooltip h4{font-size:.85rem!important;margin-bottom:.4rem!important}.tooltip-content p{font-size:.75rem!important;margin-bottom:.3rem!important;line-height:1.3!important}}@media (max-width: 320px){.mobile-menu-toggle{display:flex!important;width:48px;height:48px;bottom:12px;right:12px;z-index:9999}.mobile-menu-toggle svg{width:24px;height:24px}.sidebar{width:95%}.map-tooltip{min-width:160px!important;max-width:calc(100vw - .5rem)!important;padding:.4rem!important;white-space:normal!important}.map-tooltip h4{font-size:.8rem!important;margin-bottom:.3rem!important}.tooltip-content p{font-size:.7rem!important;margin-bottom:.25rem!important}}@media (hover: none) and (pointer: coarse){.map-tooltip{padding:.75rem;border:1px solid #e2e8f0}.modal-close{width:32px;height:32px;font-size:1.75rem}.error-banner button{min-height:44px;min-width:80px}.methodology-button{padding:.25rem .5rem;min-height:32px}.sidebar{overscroll-behavior:contain}.mobile-menu-toggle{display:flex!important;min-width:56px;min-height:56px;z-index:9999;-webkit-tap-highlight-color:transparent}.mobile-menu-close{min-width:44px;min-height:44px;-webkit-tap-highlight-color:transparent}}.methodology-button{background:none;border:none;color:#3182ce;text-decoration:underline;cursor:pointer;font-size:.75rem;padding:0;transition:color .2s;display:inline;vertical-align:baseline}.methodology-button:hover{color:#2c5aa0}.modal-backdrop{position:fixed;top:0;left:0;right:0;bottom:0;background:#00000080;display:flex;justify-content:center;align-items:center;z-index:1000;animation:fadeIn .3s ease-out}.modal-content{background:#fff;border-radius:8px;box-shadow:0 20px 25px -5px #0000001a,0 10px 10px -5px #0000000a;max-width:600px;max-height:90vh;width:90%;overflow-y:auto;animation:slideIn .3s ease-out}@media (min-width: 768px){.modal-content{max-width:1000px;width:85%}}.modal-header{display:flex;justify-content:space-between;align-items:center;padding:1.5rem 2rem 1rem;border-bottom:1px solid #e2e8f0}.modal-header h2{margin:0;font-size:1.25rem;color:#1a202c}.modal-close{background:none;border:none;font-size:1.5rem;cursor:pointer;color:#718096;padding:0;width:24px;height:24px;display:flex;align-items:center;justify-content:center}.modal-close:hover{color:#4a5568}.modal-body{padding:1.5rem 2rem 2rem}.modal-body h3{color:#2d3748;font-size:1.1rem;margin-bottom:.75rem;margin-top:1.5rem}.modal-body h3:first-child{margin-top:0}.modal-body ul,.modal-body ol{margin-bottom:1rem;padding-left:1.5rem}.modal-body li{margin-bottom:.5rem;color:#4a5568;line-height:1.5}.modal-body a{color:#3182ce;text-decoration:none}.modal-body a:hover{text-decoration:underline}.modal-body code{background:#f7fafc;padding:.25rem .5rem;border-radius:4px;font-family:Courier New,monospace;font-size:.875rem;color:#2d3748}.methodology-note{background:#f7fafc;border-left:4px solid #3182ce;padding:1rem;margin-top:1.5rem;border-radius:0 4px 4px 0}.methodology-note p{margin:0;color:#4a5568;line-height:1.5}.data-source-section{background:#f9fafb;border:1px solid #e5e7eb;border-radius:6px;padding:1rem;margin-bottom:1rem}.data-source-section h4{color:#1f2937;font-size:1rem;margin:0 0 .75rem;line-height:1.4}.data-source-section h4 strong{display:block;margin-bottom:.25rem}.data-source-section h4 a{font-size:.875rem;font-weight:400}.data-source-section p{margin:0 0 .5rem;color:#4b5563;line-height:1.6}.data-source-section p:last-child{margin-bottom:0}.data-source-section em{color:#6b7280;font-size:.875rem}.formula-section{background:#eff6ff;border:1px solid #bfdbfe;border-radius:6px;padding:1rem;margin:1rem 0}.formula-section p{margin:0 0 .75rem;color:#1e3a8a}.formula-section p:last-child{margin-bottom:0}.formula-code{display:block!important;background:#fff!important;padding:.75rem!important;border-radius:4px!important;font-family:Courier New,monospace!important;font-size:.875rem!important;color:#1e40af!important;border:1px solid #bfdbfe!important;margin:.5rem 0!important;overflow-x:auto}.formula-explanation{font-size:.875rem;color:#1e40af;font-style:italic}.example-section{background:#fefce8;border:1px solid #fde047;border-radius:6px;padding:1rem;margin:1rem 0}.example-section p{margin:0 0 .75rem;color:#713f12}.example-section ul{margin:.5rem 0 0;padding-left:1.5rem}.example-section li{color:#854d0e;margin-bottom:.5rem}@media (min-width: 768px){.modal-body{padding:1.5rem 2.5rem 2rem}.modal-header h2{font-size:1.5rem}.data-sources-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:1rem;margin-bottom:1.5rem}.data-source-section{margin-bottom:0;height:100%;display:flex;flex-direction:column}.data-source-section h4{font-size:.95rem}.data-source-section p{font-size:.875rem;line-height:1.5}.data-source-section em{font-size:.8rem}.calculations-grid{display:grid;grid-template-columns:1fr 1fr;gap:1.5rem;margin-top:1.5rem}.calculations-grid>div{margin:0}.modal-body h3{font-size:1.15rem;margin-top:1.5rem;margin-bottom:1rem}.modal-body h3:first-child{margin-top:0}.formula-section{padding:1rem 1.25rem}.formula-section p{font-size:.9rem;margin-bottom:.5rem}.formula-code{font-size:.8rem!important;padding:.6rem!important}.formula-explanation{font-size:.8rem;margin-top:.5rem}.example-section{padding:1rem 1.25rem}.example-section p{font-size:.9rem;margin-bottom:.5rem}.example-section ul{margin-top:.5rem}.example-section li{font-size:.875rem;margin-bottom:.4rem}.modal-body ol{margin-bottom:.5rem}.modal-body ol li{font-size:.9rem;margin-bottom:.75rem;line-height:1.5}.modal-body ol code{font-size:.8rem;display:block;margin:.25rem 0}.modal-body ol em{font-size:.85rem;display:block;margin-top:.25rem}}.social-links{padding:1.5rem 2rem;border-top:1px solid #e2e8f0;display:flex;flex-direction:column;align-items:center;gap:1rem;background:#fff}@media (max-width: 768px){.sidebar .social-links{flex-grow:1;justify-content:center;min-height:180px}}.social-icons{display:flex;gap:1rem;justify-content:center}.social-icons a{display:flex;align-items:center;justify-content:center;width:40px;height:40px;border-radius:50%;background-color:#f7fafc;color:#4a5568;transition:all .2s ease;border:1px solid #e2e8f0}.social-icons a:hover{background-color:#3182ce;color:#fff;border-color:#3182ce;transform:translateY(-2px);box-shadow:0 4px 8px #3182ce4d}.social-icons svg{width:20px;height:20px}.personal-website{font-size:.875rem;color:#4a5568;text-align:center}.personal-website span{color:#718096}.personal-website a{color:#3182ce;text-decoration:none;font-weight:500;transition:color .2s ease}.personal-website a:hover{color:#2c5aa0;text-decoration:underline}.data-sources{padding:1rem 2rem;border-top:1px solid #e2e8f0;margin-top:auto;background:#f8f9fa}.data-sources p{margin:0;font-size:.75rem;color:#718096;text-align:center}.data-sources a{color:#3182ce;text-decoration:none}.data-sources a:hover{text-decoration:underline}@keyframes fadeIn{0%{opacity:0}to{opacity:1}}@keyframes slideIn{0%{opacity:0;transform:translateY(-20px)}to{opacity:1;transform:translateY(0)}}@keyframes pulse{0%,to{box-shadow:0 4px 12px #0000004d,0 0 0 1px #ffffff1a}50%{box-shadow:0 4px 12px #0000004d,0 0 0 4px #3182ce4d}}@media (max-width: 640px){.modal-content{width:95%;max-height:90vh;margin:1rem}.modal-header,.modal-body{padding:1rem}.modal-header h2{font-size:1.1rem}.modal-body h3{font-size:1rem;margin-bottom:.5rem;margin-top:1rem}.modal-body ul,.modal-body ol{margin-bottom:.75rem;padding-left:1.25rem}.modal-body li{margin-bottom:.4rem;font-size:.9rem;line-height:1.4}}@media (max-width: 480px){.modal-content{width:98%;max-height:85vh;margin:.5rem}.modal-header,.modal-body{padding:.75rem}.modal-header h2{font-size:1rem}.modal-body h3{font-size:.95rem}.modal-body li{font-size:.85rem}}.welcome-modal{max-height:85vh}.welcome-body{padding:1.25rem 2rem 1.75rem!important}.welcome-intro{font-size:1rem;color:#4a5568;line-height:1.5;margin-bottom:1.25rem;text-align:center}.welcome-steps{display:flex;flex-direction:column;gap:.75rem;margin-bottom:1.25rem}.welcome-step{display:flex;gap:.875rem;align-items:center;padding:.75rem 1rem;background:#f7fafc;border-radius:6px;transition:transform .15s}.welcome-step:hover{transform:translate(3px)}.step-number{flex-shrink:0;width:28px;height:28px;background:#3182ce;color:#fff;border-radius:50%;display:flex;align-items:center;justify-content:center;font-weight:700;font-size:.9rem}.step-content{flex:1;color:#2d3748;line-height:1.4;font-size:.95rem}.step-content strong{color:#1a202c}.welcome-cta{width:100%;padding:.875rem 1.5rem;background:#3182ce;color:#fff;border:none;border-radius:6px;font-size:1rem;font-weight:600;cursor:pointer;transition:background .2s,transform .1s}.welcome-cta:hover{background:#2c5aa0}.welcome-cta:active{transform:translateY(1px)}@media (min-width: 768px){.welcome-modal{max-width:540px}.welcome-body{padding:1.5rem 2.5rem 2rem!important}.step-number{width:32px;height:32px;font-size:1rem}.step-content{font-size:1rem}}@media (max-width: 767px){.welcome-modal{max-width:90%;max-height:80vh}.welcome-body{padding:1rem 1.25rem 1.5rem!important}.welcome-intro{font-size:.9rem;margin-bottom:1rem}.welcome-steps{gap:.625rem;margin-bottom:1rem}.welcome-step{padding:.625rem .875rem;gap:.75rem}.step-number{width:26px;height:26px;font-size:.85rem}.step-content{font-size:.875rem;line-height:1.35}.welcome-cta{padding:.75rem 1.25rem;font-size:.95rem}}@media (max-width: 480px){.welcome-modal{max-width:92%}.welcome-body{padding:.875rem 1rem 1.25rem!important}.welcome-intro{font-size:.875rem;margin-bottom:.875rem}.welcome-steps{gap:.5rem}.welcome-step{padding:.5rem .75rem}.step-number{width:24px;height:24px;font-size:.8rem}.step-content{font-size:.825rem}.welcome-cta{padding:.625rem 1rem;font-size:.9rem}}*{margin:0;padding:0;box-sizing:border-box}body{font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Oxygen,Ubuntu,Cantarell,Fira Sans,Droid Sans,Helvetica Neue,sans-serif;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;background-color:#f5f5f5}#root{height:100vh;width:100vw}h1,h2,h3,h4,h5,h6{font-weight:600;color:#2d3748;margin-bottom:.5rem}p{color:#4a5568;line-height:1.5}.sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}
