*{box-sizing:border-box}html,body{height:100%;margin:0;font-family:Inter,-apple-system,BlinkMacSystemFont,'Segoe UI',sans-serif;color:#102a47;background:#eaf0f6}button,input,select{font:inherit}button{cursor:pointer;color:inherit;border:0}button:focus-visible,input:focus-visible,select:focus-visible,a:focus-visible{outline:3px solid #2b7bff;outline-offset:3px}button:disabled{opacity:.5;cursor:default}button,a,input,select{-webkit-tap-highlight-color:transparent}svg.icon{width:22px;height:22px;stroke:currentColor;fill:none;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round;vertical-align:middle;flex-shrink:0}#app{height:100dvh;max-width:760px;margin:auto;display:flex;flex-direction:column;background:#f5f7fb;box-shadow:0 0 70px #102a4710}header{background:#102a47;color:white;padding:17px 20px 14px;display:flex;justify-content:space-between;align-items:center;flex-shrink:0}.eyebrow{font-size:9px;font-weight:700;letter-spacing:2px;color:#9eb5ce}h1{font-size:26px;letter-spacing:-1px;margin:4px 0 0}h1 span{color:#74b4ff}.icon-btn{display:grid;place-items:center;background:#ffffff14;border:1px solid #ffffff20;border-radius:14px;width:43px;height:43px;color:inherit}.search-row{display:flex;gap:8px;padding:13px 16px 9px}.place-btn,.year-btn{border:1px solid #dfe6ef;border-radius:13px;background:white;padding:11px 12px;font-size:13px;font-weight:600;display:flex;align-items:center;gap:8px;text-align:left;min-width:0}.place-btn{flex:1}.place-btn span{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.place-btn small{display:block;font-size:10px;font-weight:400;color:#66788f;margin-top:3px}.place-btn .icon{color:#0866ed;width:19px}.year-btn{font-size:12px;white-space:nowrap}.chips{display:flex;gap:7px;overflow-x:auto;padding:0 16px 12px;scrollbar-width:none}.chip{white-space:nowrap;padding:9px 14px;border-radius:24px;background:white;border:1px solid #e0e6ee;font-size:12px;display:flex;align-items:center;gap:6px}.chip .icon{width:15px;height:15px}.chip.active{background:#0965ee;color:#fff;border-color:#0965ee;box-shadow:0 3px 9px #0965ee24}main{position:relative;flex:1;min-height:0;overflow:hidden}.page{display:none;height:100%}.page.active{display:block}#map-page{position:relative}#map{height:100%;background:#e3ebdf;z-index:1}.map-tag{position:absolute;z-index:500;top:13px;left:16px;background:#fffef5f0;border:1px solid #e7e1bc;padding:7px 10px;border-radius:20px;font-size:10px;font-weight:600;box-shadow:0 2px 10px #0001;pointer-events:none}.map-tag span{color:#b38b1c;padding:0 4px}.map-control{position:absolute;right:14px;z-index:500;border:1px solid #e3e7ee;border-radius:13px;background:white;box-shadow:0 4px 15px #102a471f;width:42px;height:42px;display:grid;place-items:center}.layers{top:57px}.recenter{top:107px}.leaflet-control-zoom{border:0!important;border-radius:12px!important;overflow:hidden;box-shadow:0 4px 15px #102a4720!important}.leaflet-control-zoom a{width:40px!important;height:38px!important;line-height:38px!important;color:#102a47!important;font-family:inherit!important}.leaflet-top.leaflet-right{top:151px;right:4px}.leaflet-bottom{bottom:0!important}.leaflet-control-attribution{font-size:9px!important;background:#fffffff2!important}.leaflet-control-attribution a{color:#244d7a!important}.sheet{position:absolute;z-index:600;bottom:25px;left:12px;right:12px;background:#fff;border:1px solid #dfe7f0;border-radius:22px;padding:17px 17px 14px;box-shadow:0 -3px 30px #102a4720;max-height:45%;overflow:auto}.sheet:before{content:'';display:block;background:#cdd6e0;border-radius:5px;width:32px;height:4px;margin:-7px auto 12px}.sheet h2{margin:0;font-size:20px;letter-spacing:-.7px}.title-row{display:flex;align-items:center;justify-content:space-between;gap:8px}.badge{display:inline-block;padding:5px 8px;border-radius:8px;font-size:10px;font-weight:600;background:#edf3ff;color:#225ca8}.badge.amber{background:#fff2c9;color:#886000}.badge.teal{background:#e4f4f0;color:#1a7866}.badge.grey{background:#f0f2f6;color:#66778c}.muted{font-size:12px;color:#64758b;line-height:1.5}.small{font-size:10px;line-height:1.5}.metrics{display:grid;grid-template-columns:repeat(3,1fr);gap:8px;margin:13px 0}.metric{border-radius:12px;background:#f2f6fc;padding:11px 7px;text-align:center}.metric b{display:block;font-size:25px;letter-spacing:-1px}.metric span{display:block;font-size:10px;line-height:1.3;margin-top:4px;color:#62738a}.primary{background:linear-gradient(110deg,#1676ff,#0554ce);color:white;border-radius:12px;padding:12px 15px;font-weight:600;font-size:13px;display:flex;align-items:center;justify-content:center;gap:9px;width:100%}.secondary{border:1px solid #dce5ef;background:#f9fbff;border-radius:12px;padding:11px 13px;font-size:12px;font-weight:600}.button-row{display:flex;gap:8px}.button-row>*{flex:1}.scroll-page{padding:18px 16px 24px;overflow-y:auto}.page-title{font-size:23px;margin:0 0 4px;letter-spacing:-.7px}.card{background:white;border:1px solid #e2e8f1;border-radius:17px;padding:16px;margin:12px 0;box-shadow:0 3px 10px #102a4703}.card h3{font-size:15px;margin:0 0 12px}.info{background:#edf4ff;border-radius:12px;padding:12px;font-size:12px;line-height:1.6;display:flex;gap:9px;margin-top:12px}.info .icon{width:18px;height:18px;min-width:18px;margin-top:2px}.info.amber{background:#fff6dd;color:#765b21}.info p{margin:0}nav{display:grid;grid-template-columns:repeat(4,1fr);background:#fff;border-top:1px solid #e3e9f2;padding:9px 6px max(10px,env(safe-area-inset-bottom));flex-shrink:0;z-index:700}nav button{background:none;color:#8190a3;font-size:10px;padding:3px;display:flex;align-items:center;flex-direction:column;gap:5px;min-height:44px}nav button.active{color:#0865ed;font-weight:700}nav .icon{width:23px;height:23px}.event-card{display:flex;gap:12px;text-align:left;width:100%;background:white;border:1px solid #e1e8f1;border-radius:15px;padding:14px;margin:9px 0}.event-card .event-symbol{width:39px;height:39px;border-radius:12px;background:#eef4ff;color:#1468dd;display:grid;place-items:center;flex-shrink:0}.event-card h3{font-size:13px;line-height:1.4;margin:0 0 4px}.event-card .muted{font-size:11px}.event-card .badge{margin-top:8px}.event-body{flex:1}.event-card .arrow{align-self:center;color:#8fa1b5}.toolbar{display:flex;gap:7px;flex-wrap:wrap;margin:14px 0}.toolbar select,.toolbar input{min-width:0;border:1px solid #dce4ee;border-radius:11px;background:white;padding:10px;font-size:12px;max-width:100%;flex:1}input{color:#102a47}.empty{text-align:center;padding:30px 15px;line-height:1.6;color:#64758b;font-size:13px}.bars{display:flex;flex-direction:column;gap:12px}.bar-row{display:grid;grid-template-columns:100px 1fr 38px;gap:9px;align-items:center;font-size:11px}.bar-track{background:#edf2f8;border-radius:5px;height:9px;overflow:hidden}.bar-fill{background:linear-gradient(90deg,#7bb5ff,#0965ee);height:100%;border-radius:5px}.bar-row b{text-align:right}.chart{display:flex;align-items:flex-end;gap:4px;height:130px;padding:16px 0 22px;border-bottom:1px solid #e7edf5}.chart-item{flex:1;position:relative;height:100%;display:flex;align-items:flex-end;justify-content:center}.chart-item i{display:block;width:75%;min-height:2px;background:linear-gradient(#70b2ff,#0965ee);border-radius:5px 5px 0 0}.chart-item span{position:absolute;font-size:9px;bottom:-18px;color:#6c7e94}.chart-item b{position:absolute;font-size:9px;font-weight:500;top:-14px;color:#58708b}.donut-wrap{display:flex;align-items:center;gap:18px}.donut{width:106px;height:106px;border-radius:50%;flex-shrink:0;display:grid;place-items:center}.donut>div{background:white;border-radius:50%;width:72px;height:72px;display:flex;align-items:center;justify-content:center;flex-direction:column}.donut b{font-size:23px}.donut span{font-size:10px;color:#718197}.legend{flex:1;font-size:11px}.legend>div{display:flex;align-items:center;gap:6px;margin:10px 0}.legend i{width:8px;height:8px;border-radius:50%;flex-shrink:0}.legend b{margin-left:auto}.overlay{position:fixed;inset:0;z-index:2000;background:#091d3b70;display:flex;align-items:flex-end;justify-content:center;backdrop-filter:blur(3px)}[hidden]{display:none!important}#dialog{width:100%;max-width:736px;max-height:90dvh;overflow:auto;background:#fff;border-radius:25px 25px 0 0;padding:22px 20px max(24px,env(safe-area-inset-bottom));box-shadow:0 -12px 80px #06152c44}#dialog-title{font-size:22px;line-height:1.3;letter-spacing:-.5px;margin:6px 0 13px}.close{width:36px;height:36px;border-radius:50%;background:#f1f4f8;display:grid;place-items:center}.modal-top{display:flex;justify-content:space-between;align-items:center}.field-row{display:grid;grid-template-columns:44% 1fr;gap:12px;padding:11px 0;border-bottom:1px solid #edf1f6;font-size:12px;line-height:1.5;overflow-wrap:anywhere}.field-row span:first-child{color:#6a7e95}.field-row span:last-child{text-align:right}.field-row code{font-size:10px;color:#55749a}details{margin:13px 0;border:1px solid #e0e7ef;border-radius:13px;padding:12px}summary{font-size:13px;font-weight:600;cursor:pointer}.form label{display:block;font-size:12px;font-weight:600;margin:16px 0 7px}.form select,.form input{width:100%;padding:13px;border:1px solid #d8e3ee;border-radius:12px;background:#f9fbfd}.form .primary{margin-top:20px}.source-link{display:flex;align-items:center;gap:8px;color:#0965ee;text-decoration:none;font-size:12px;padding:9px 0}.source-line{display:flex;justify-content:space-between;gap:15px;font-size:12px;margin:11px 0;line-height:1.5}.source-line span{color:#718299}.source-line b{text-align:right;font-weight:500}#loading{padding:25px;font-size:14px;text-align:center}#toast{position:fixed;bottom:90px;left:50%;transform:translateX(-50%);z-index:3000;width:max-content;max-width:90%;padding:12px 17px;border-radius:14px;background:#102a47;color:white;font-size:12px;box-shadow:0 5px 30px #0002}.map-marker{border:0!important;background:none!important}.pin{border:2px solid white;box-shadow:0 3px 10px #123e8666;background:#126bf2;color:white;width:29px;height:29px;border-radius:50%;display:grid;place-items:center}.pin .icon{width:15px;height:15px}.pin.cluster{width:47px;height:47px;font-size:17px;font-weight:700;border:3px solid white;outline:5px solid #2d8cff33}.pin.order{background:#117f8d}.pin.other{background:#7861b7}.pin.traffic{background:#d38b18}.leaflet-tooltip{font-size:11px;border-radius:7px;border:0;padding:6px 9px;color:#17375b}.leaflet-popup-content{font-size:12px;line-height:1.5;margin:12px}.leaflet-popup-content button{margin-top:8px}#tile-error{position:absolute;top:52px;left:15px;right:65px;z-index:501;background:#fff6dd;border-radius:12px;padding:9px;font-size:11px;color:#765b21}.list-count{font-size:12px;color:#6b7e95;margin:14px 0}.text-btn{color:#0965ee;background:none;padding:9px 0;font-size:12px;font-weight:600}.grid-options{display:flex;gap:6px;flex-wrap:wrap}.advertising-note{font-size:11px;border:1px dashed #dae3ec;border-radius:12px;padding:11px;color:#77889c;line-height:1.6}a{color:#0965ee}@media(min-width:700px){#dialog{border-radius:24px;max-height:86vh;margin:4vh 16px}.overlay{align-items:center}.scroll-page{padding:22px 28px}.sheet{left:22px;right:22px}header{padding:20px 27px}.search-row{padding-left:24px;padding-right:24px}.chips{padding-left:24px}}@media(prefers-reduced-motion:reduce){*{scroll-behavior:auto!important;transition:none!important;animation:none!important}}
.source-tabs{display:flex;gap:6px;padding:10px 16px 0;overflow-x:auto;scrollbar-width:none;background:#102a47;flex-shrink:0}.source-tabs button{color:#c1d0e2;background:#ffffff0d;border-radius:12px 12px 0 0;padding:10px 13px;font-size:11px;white-space:nowrap}.source-tabs button.active{color:#123454;background:#f5f7fb;font-weight:700}.big-number{font-size:37px;font-weight:750;letter-spacing:-1.5px}.trend{font-size:32px;color:#1167d6;font-weight:700}.raw-object{white-space:pre-wrap;word-break:break-word;font:11px/1.6 ui-monospace,monospace;color:#506981}.grid-legend{display:flex;align-items:center;gap:5px;font-size:9px;flex-wrap:wrap}.grid-legend i{width:16px;height:10px;border-radius:3px;border:1px solid #bdcadd}.updating{opacity:.65}.bar-row{grid-template-columns:minmax(100px,1fr) minmax(65px,1fr) 45px}.bar-row span{overflow-wrap:anywhere}#ad-slot{height:65px;background:#fff;text-align:center;flex-shrink:0;border-top:1px solid #e1e7ef}#ad-slot span{display:block;font-size:9px;line-height:13px;color:#8c99aa}.map-tag{max-width:75%;font-size:9px}.sheet{max-height:43%}
nav{grid-template-columns:repeat(5,minmax(0,1fr))}#home-page{background:#f3f6fb;padding:24px 18px 28px}.home-heading .eyebrow{color:#6181a5}.home-heading h2{font-size:30px;letter-spacing:-1.2px;line-height:1.15;margin:8px 0}.home-heading p{font-size:14px;color:#71839a;line-height:1.6;margin:8px 0 20px}.home-place{background:linear-gradient(135deg,#102a47,#164b79);border-radius:22px;padding:20px;color:#fff;box-shadow:0 12px 25px #102a4718}.home-place .badge{background:#ffffff19;color:#d3e5fa}.home-place h3{font-size:27px;margin:18px 0 6px;letter-spacing:-.7px;overflow-wrap:anywhere}.home-place p{font-size:12px;color:#b3cce4;line-height:1.6;margin:0}.home-edit{background:none;color:#d3e5fa;font-size:12px;min-height:44px}.home-edit .icon{width:15px;height:15px}.home-tags{display:flex;flex-wrap:wrap;gap:7px;margin:16px 0}.home-tags span{background:#ffffff14;border:1px solid #ffffff14;border-radius:8px;padding:7px 9px;font-size:10px}.home-primary{display:flex;align-items:center;justify-content:center;gap:10px;width:100%;border-radius:13px;background:#60dda6;color:#102a47;font-size:14px;font-weight:750;min-height:51px}.home-primary .icon:last-child{width:17px;margin-left:auto}.home-primary .icon:first-child{margin-right:auto}.home-place .home-saved{font-size:10px;margin-top:13px;text-align:center;color:#a8c8e5}.home-saved .icon{width:12px;height:12px}.home-summary{display:flex;align-items:center;justify-content:space-between;background:#fff;border:1px solid #e5ecf5;border-radius:17px;padding:17px;margin-top:14px;gap:10px}.home-summary b{display:block;font-size:28px;letter-spacing:-1px}.home-summary span{font-size:11px;color:#778ba3}.home-actions{display:grid;grid-template-columns:1fr 1fr;gap:11px;margin:15px 0 24px}.home-actions button{display:flex;flex-direction:column;align-items:flex-start;text-align:left;background:#fff;border:1px solid #e3eaf5;border-radius:17px;padding:16px 13px;gap:9px;min-height:126px}.home-actions .icon{color:#176bea}.home-actions strong{font-size:13px;line-height:1.4}.home-actions span{font-size:11px;color:#7b8da5;line-height:1.4}.home-section-title{font-size:15px;margin:0 0 12px}.home-layers{background:#fff;border:1px solid #e3eaf5;border-radius:17px;padding:0 14px}.home-layers button{width:100%;display:flex;align-items:center;text-align:left;gap:12px;padding:15px 0;border-bottom:1px solid #edf1f7;background:none;min-height:77px}.home-layers button:last-child{border:0}.home-layer-icon{display:grid;place-items:center;width:41px;height:41px;background:#edf4ff;border-radius:12px;color:#286dda;flex-shrink:0}.home-layers strong{display:block;font-size:13px}.home-layers small{display:block;font-size:10px;color:#7d8fa6;margin-top:5px}.home-layers button>.icon{margin-left:auto;width:16px;color:#a2b1c3}.home-status{display:flex;align-items:center;gap:8px;margin-top:22px;font-size:10px;color:#7b8da3;flex-wrap:wrap}.status-dot{width:7px;height:7px;background:#d39b36;border-radius:50%}.status-dot.online{background:#28a678}.home-footnote{font-size:10px;line-height:1.6;color:#899ab0;margin:13px 0 0}#preview-banner{background:#fff0cc;color:#74531f;padding:8px 12px;font-size:9px;line-height:1.5;text-align:center;font-weight:700;letter-spacing:.2px;flex-shrink:0}.filter-grid{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:12px}.filter-grid input{min-width:0;width:100%}.form input{min-height:44px}.form h3{font-size:15px;margin:18px 0 0}.form .primary{margin-top:12px}
/* Street profile, locally saved places and explicit street comparisons. */
.profile-buttons{display:flex;flex-wrap:wrap;gap:10px;margin-top:16px}.profile-buttons button{flex:1;min-width:130px}.home-place .profile-buttons .secondary{background:#fff;color:#123752;border:1px solid #d7e4e9}.saved-places{margin-bottom:24px}.saved-place{display:flex;gap:6px;background:#fff;border:1px solid #dce5ec;border-radius:16px;margin:9px 0;overflow:hidden}.saved-place>button:first-child{flex:1;text-align:left;padding:16px;border:0;background:transparent;min-width:0}.saved-place strong,.saved-place small{display:block}.saved-place strong{font-size:16px;color:#173349;overflow-wrap:anywhere}.saved-place small{color:#617386;margin-top:5px;line-height:1.5}.saved-place .remove-place{border:0;background:transparent;width:48px;color:#66778a}.profile-hero{background:#102e49;color:white;border-radius:20px;padding:24px}.profile-hero h3{font-size:28px;margin:8px 0}.profile-hero p{color:#d0e0ec;font-size:13px}.profile-hero>strong{display:block;font-size:52px;line-height:1.1;margin:20px 0 8px}.profile-hero>span:last-child{display:block;color:#c7dce8;font-size:13px}.profile-metrics{display:grid;grid-template-columns:1fr 1fr;gap:12px;margin:18px 0}.profile-metrics>div{background:#eaf1f8;border-radius:15px;padding:18px}.profile-metrics b,.profile-metrics span{display:block}.profile-metrics b{font-size:28px;color:#123752}.profile-metrics span{font-size:12px;color:#617386;margin-top:5px}.street-picker{border:1px solid #dce5ec;border-radius:14px;padding:8px;max-height:300px;overflow:auto;margin:16px 0}.street-picker legend{font-size:13px;padding:0 5px}.street-picker .street-choice{display:flex;align-items:center;gap:12px;padding:14px 6px;border-bottom:1px solid #eef2f6;margin:0;font-weight:500}.street-choice[hidden]{display:none!important}.street-choice input{width:22px;height:22px;flex-shrink:0;accent-color:#126bf2}.street-choice span{flex:1;overflow-wrap:anywhere}.street-choice small{color:#617386}.comparison-cards{display:grid;gap:12px;margin:20px 0}.comparison-card{border:1px solid #dae4ed;border-radius:18px;padding:20px;background:#f5f8fc}.comparison-card h3{margin:0 0 12px}.comparison-total{display:block;font-size:36px;color:#123752}.comparison-bar{height:8px;background:#e0e9f2;border-radius:8px;overflow:hidden;margin:12px 0}.comparison-bar i{display:block;height:100%;min-width:0}.comparison-scroll{overflow-x:auto}.comparison-table{border-collapse:collapse;width:100%;font-size:12px}.comparison-table th,.comparison-table td{padding:12px 8px;border-bottom:1px solid #e0e7ef;text-align:right;min-width:78px}.comparison-table th:first-child{text-align:left}.comparison-table thead th{color:#315475;background:#edf3f8}.comparison-table td{font-variant-numeric:tabular-nums}.home-section-title .small{font-size:13px}@media(min-width:600px){.comparison-cards{grid-template-columns:repeat(3,minmax(0,1fr))}}
