*{box-sizing:border-box}html,body{margin:0;padding:0;height:100%;font-family:Inter,Arial,sans-serif;background:#d8e7f0;color:#10203a}body{overflow:hidden}#map{position:fixed;inset:0;z-index:1}.topbar{position:fixed;top:12px;left:12px;right:12px;z-index:1000;display:flex;align-items:center;justify-content:space-between;gap:14px;padding:14px 16px;border-radius:24px;background:linear-gradient(135deg,rgba(11,23,48,.96),rgba(29,53,95,.94));box-shadow:0 12px 28px rgba(0,0,0,.18);backdrop-filter:blur(8px)}.brand{display:flex;align-items:center;gap:14px;min-width:0}.brand-badge{display:inline-flex;align-items:center;justify-content:center;padding:0 14px;height:44px;border-radius:16px;border:1px solid rgba(93,129,255,.55);color:#dce8ff;font-size:12px;font-weight:800;letter-spacing:.18em}.brand h1{margin:0;font-size:18px;line-height:1.1;color:#fff}.brand p{margin:4px 0 0;font-size:12px;color:#b8c6e5}.top-actions{display:flex;align-items:center;gap:10px}.top-btn,.menu-toggle{display:inline-flex;align-items:center;gap:8px;height:48px;padding:0 18px;border-radius:18px;border:1px solid rgba(255,255,255,.12);background:rgba(255,255,255,.08);color:#fff;text-decoration:none;font-size:13px;font-weight:700;cursor:pointer}.top-btn i,.menu-toggle i{font-size:18px}.menu-toggle{display:none;width:48px;justify-content:center}.legend{position:fixed;top:104px;right:12px;z-index:999;display:flex;gap:16px;align-items:center;padding:14px 18px;border-radius:22px;background:rgba(18,33,63,.92);color:#fff;font-size:12px;font-weight:700;box-shadow:0 12px 24px rgba(0,0,0,.14)}.dot{display:inline-block;width:10px;height:10px;border-radius:50%;margin-right:6px}.dot.blue{background:#5d84ff}.dot.green{background:#20c997}.floating-status{position:fixed;left:16px;bottom:16px;z-index:999;padding:16px 18px;border-radius:22px;background:rgba(17,29,56,.95);color:#fff;font-size:14px;font-weight:800;box-shadow:0 10px 20px rgba(0,0,0,.18)}.overlay{position:fixed;inset:0;z-index:1100;background:rgba(7,14,29,.45);backdrop-filter:blur(2px)}.search-modal{position:fixed;top:50%;left:50%;transform:translate(-50%,-50%);z-index:1101;width:min(520px,calc(100vw - 24px));max-height:min(82vh,760px);overflow:auto;padding:22px;border-radius:26px;background:linear-gradient(180deg,#08142d,#102348);box-shadow:0 20px 60px rgba(0,0,0,.32);color:#fff}.hidden{display:none}.modal-header{display:flex;align-items:flex-start;justify-content:space-between;gap:12px;margin-bottom:16px}.eyebrow{display:inline-flex;padding:0 14px;height:34px;align-items:center;border-radius:14px;border:1px solid rgba(93,129,255,.45);font-size:12px;font-weight:800;letter-spacing:.16em;text-transform:uppercase;color:#d5e2ff}.search-modal h2{margin:14px 0 0;font-size:20px}.icon-btn{width:40px;height:40px;border-radius:12px;border:1px solid rgba(255,255,255,.14);background:rgba(255,255,255,.08);color:#fff;cursor:pointer}.field-group{margin-bottom:14px}.field-group label{display:block;margin-bottom:8px;font-size:13px;font-weight:700;color:#dce8ff}.field-group input,.field-group select{width:100%;height:52px;padding:0 16px;border-radius:16px;border:1px solid rgba(255,255,255,.12);background:rgba(255,255,255,.06);color:#fff;font-size:15px;outline:none}.field-group select option{color:#111}.modal-actions{display:flex;justify-content:flex-end;gap:10px;margin-bottom:14px}.primary-btn,.secondary-btn{display:inline-flex;align-items:center;gap:8px;height:46px;padding:0 16px;border-radius:16px;font-weight:800;cursor:pointer;border:none}.primary-btn{background:#5d84ff;color:#fff}.secondary-btn{background:rgba(255,255,255,.08);color:#fff;border:1px solid rgba(255,255,255,.12)}.results-info{margin-bottom:12px;color:#dce8ff;font-size:14px;font-weight:700}.results-list{display:grid;gap:10px}.result-card{width:100%;text-align:left;padding:14px 16px;border-radius:18px;border:1px solid rgba(255,255,255,.1);background:rgba(255,255,255,.06);color:#fff;cursor:pointer}.result-card strong{display:block;font-size:16px;margin-bottom:6px}.result-card span,.result-card small{display:block;color:#c8d6f4}.map-pin{width:18px;height:18px;border-radius:50%;background:#5d84ff;border:3px solid #fff;box-shadow:0 4px 10px rgba(0,0,0,.2)}.user-pin{background:#20c997}.clean-popup .leaflet-popup-content-wrapper{border-radius:22px;padding:0;box-shadow:0 16px 30px rgba(0,0,0,.18)}.clean-popup .leaflet-popup-content{margin:0!important;width:280px!important}.popup-card-mini{padding:16px}.popup-title{font-size:18px;line-height:1.2;font-weight:900;color:#1c2745;margin-bottom:10px}.popup-line{font-size:14px;color:#34415e;line-height:1.4;margin-bottom:8px}.popup-distance{font-size:13px;font-weight:800;color:#177a46;margin:8px 0 14px}.popup-actions-inline{display:flex;gap:10px;flex-wrap:nowrap}.popup-btn{flex:1;min-width:0;display:inline-flex;align-items:center;justify-content:center;gap:8px;height:42px;padding:0 10px;border-radius:14px;border:1px solid #d8e1f1;background:#f8fbff;color:#173152;text-decoration:none;font-size:13px;font-weight:800}.popup-btn i{font-size:16px}.leaflet-popup-tip{box-shadow:none}.leaflet-control-zoom{margin-top:110px!important}.leaflet-top.leaflet-left{top:8px}.leaflet-top.leaflet-left .leaflet-control{margin-top:96px}.leaflet-container a{outline:none}@media (max-width: 900px){.brand h1{font-size:16px}.legend{top:92px;font-size:11px;padding:12px 14px}.top-btn span{display:none}.top-btn{width:46px;padding:0;justify-content:center}}@media (max-width: 768px){.topbar{padding:12px 14px;border-radius:20px}.brand-badge{height:38px;padding:0 12px}.brand h1{font-size:16px}.brand p{font-size:11px}.menu-toggle{display:inline-flex}.top-actions{display:none;position:fixed;top:82px;right:12px;left:12px;flex-direction:column;align-items:stretch;padding:12px;border-radius:20px;background:rgba(15,28,55,.98);box-shadow:0 18px 32px rgba(0,0,0,.22)}.top-actions.open{display:flex}.top-btn{width:100%;justify-content:flex-start;padding:0 16px}.top-btn span{display:inline}.legend{top:auto;bottom:92px;right:12px;left:12px;justify-content:space-around}.floating-status{left:12px;right:12px;bottom:12px;text-align:center}.clean-popup .leaflet-popup-content{width:250px!important}.popup-actions-inline{gap:8px}.popup-btn{font-size:12px;height:40px}}
