
#cities{grid-template-columns:repeat(4,minmax(0,1fr))}
.browse-all,#picker-more{display:table;margin:20px auto 0;padding:9px 15px;border:1px solid #abc8bf;border-radius:4px;background:white;color:#145b48;font:inherit;font-weight:600;text-decoration:none;cursor:pointer}
#picker-more[hidden],#quick-results[hidden]{display:none}
.city-cover:has(#quick-results:not([hidden])){overflow:visible;position:relative;z-index:2}
#city-search-box{position:relative}
#quick-results{position:absolute;top:100%;left:0;right:0;z-index:8;border:1px solid #cbdcd5;background:white;color:#13392e;border-radius:4px;box-shadow:0 8px 20px #103c301a;padding:4px}
#quick-results a,#picker-list a{display:flex;align-items:center;justify-content:space-between;gap:8px;min-height:42px;padding:6px 10px;color:#163a30;text-decoration:none;border-bottom:1px solid #e6eeea;font-size:14px}
#quick-results small,#picker-list small{font-size:11px;color:#546b63;text-align:right}
#quick-results a:hover,#picker-list a:hover{background:#eff6f2}
#city-picker{box-sizing:border-box;width:min(480px,96vw);max-height:82dvh;margin:auto;padding:20px;border:1px solid #bfd2ca;border-radius:6px;color:#183b31;background:white;overflow:auto}
#city-picker::backdrop{background:#0b251e80}
#city-picker header,.picker-fields{display:flex;gap:10px;justify-content:space-between;align-items:center}
#picker-title{font-size:20px;margin:0}
#picker-close{width:40px;height:40px;background:white;border:1px solid #d6e2db;border-radius:4px;color:#194a39;font-size:22px;cursor:pointer}
.picker-fields{margin:16px 0 8px}.picker-fields label{flex:1;min-width:0;font-size:12px;font-weight:600}.picker-fields input,.picker-fields select{display:block;margin-top:4px;width:100%;box-sizing:border-box;min-height:40px;border:1px solid #b7cdc2;background:white;border-radius:3px;font:inherit;padding:7px;color:inherit}
#picker-list{overflow:auto;max-height:44dvh}#picker-count{font-size:12px;color:#536b61;margin:8px 0}
@media(max-width:800px){#cities{grid-template-columns:repeat(2,minmax(0,1fr))}}

#city-picker > header {
    background: white;
    color: #183b31;
    padding-bottom: 8px;
    border-bottom: 1px solid #d6e2db;
}
#picker-title { color: inherit; font-weight: 650; }
@media (max-width: 600px) {
    #city-picker {
        width: 100%; max-width: 100%; height: 100dvh; max-height: 100dvh;
        border: 0; border-radius: 0; padding: 16px;
    }
    #city-picker[open] { display: flex; flex-direction: column; }
    #city-picker > header, .picker-fields, #picker-count, #picker-more { flex-shrink: 0; }
    .picker-fields { display: grid; grid-template-columns: minmax(0,1fr); gap: 8px; margin: 10px 0 0; }
    .picker-fields input, .picker-fields select { font-size: 16px; min-height: 44px; font-weight: 400; }
    #picker-list { flex: 1 1 auto; min-height: 80px; max-height: none; overscroll-behavior: contain; }
    #picker-more { align-self: center; margin-top: 10px; }
    #cities .city-card { min-width: 0; padding: 9px; }
    #cities .card-arrow { display: none; }
    #cities .city-name small { overflow-wrap: anywhere; }
}
