:root{font-family:Inter,system-ui,-apple-system,Segoe UI,sans-serif;color:#203348;background:#eef2f6}*{box-sizing:border-box}body{margin:0}button,input,select,textarea{font:inherit}button{border:1px solid #cbd6e0;background:white;padding:9px 11px;border-radius:8px;color:#29435a;cursor:pointer;text-align:left}button:hover{background:#e9f2f7}button:disabled{opacity:.45;cursor:default}header{height:68px;display:flex;align-items:center;justify-content:space-between;padding:0 19px;background:#122c43;color:white;gap:12px}.brand{display:flex;align-items:center;gap:11px}.brand strong{display:block;font-size:17px}.brand small{font-size:11px;color:#a9c5d5}.logo{font-size:31px;color:#3ac5b1}.header-actions{display:flex;align-items:center;gap:9px}.header-actions input{width:230px;background:#213e56;color:white;border:1px solid #517087;border-radius:7px;padding:8px}.header-actions button{background:#284960;color:white;border-color:#517087}.subtle{font-size:11px;color:#a9c5d5}main{height:calc(100vh - 68px);display:grid;grid-template-columns:248px minmax(300px,1fr) 340px}.left,.right{background:#fff;overflow:auto;padding:18px;z-index:500}.left{border-right:1px solid #d9e2e9}.right{border-left:1px solid #d9e2e9}.left h3,.panel-heading small{font-size:10px;letter-spacing:1.6px;color:#6d8799;margin:7px 0 12px}.left button{width:100%;margin:3px 0}.left .tool.active{background:#e3f5f1;color:#086f64;border-color:#8dd1c6;font-weight:700}.rule{height:1px;background:#e2e9ee;margin:18px 0}.hint{font-size:12px;color:#6c8090;line-height:1.55}.bottom-note{margin-top:20px}.flex{display:flex;gap:5px}.flex button{font-size:11px}label:not(.check){display:block;font-size:12px;color:#5c7282;font-weight:600;margin-top:13px}label input[type=range]{width:100%}.check{display:flex;align-items:center;gap:8px;font-size:12px;margin-top:13px;color:#4c6677}#planPreview{width:100%;height:auto;border:1px solid #d8e2e8;cursor:crosshair;background:#f0f3f5;margin-top:10px}#mapWrap{position:relative;min-width:0}#map{height:100%;width:100%}.map-badge{position:absolute;z-index:450;top:15px;left:50%;transform:translateX(-50%);background:white;box-shadow:0 2px 14px #2033482a;border-radius:24px;padding:10px 18px;font-size:12px;white-space:nowrap}.bottom-map{position:absolute;bottom:18px;left:12px;right:12px;display:flex;justify-content:space-between;pointer-events:none;z-index:450;font-size:11px;color:#3a596a}.bottom-map span{background:#fffffff0;padding:5px 8px;border-radius:5px}.panel-heading{display:flex;align-items:center;justify-content:space-between;gap:7px}.panel-heading h2{font-size:18px;margin:0 0 18px}.panel-heading .danger{color:#b33544;font-size:12px}.empty{border:1px dashed #d5e0e8;padding:25px 13px;border-radius:8px;color:#7a8e9c;font-size:13px;line-height:1.6}.form-grid{display:grid;grid-template-columns:1fr 1fr;gap:9px}.field{margin-bottom:12px}.field.full{grid-column:span 2}.field label{display:block;font-size:11px;font-weight:700;color:#577083;margin-bottom:5px}.field input,.field select,.field textarea{width:100%;border:1px solid #d3dfe7;border-radius:7px;padding:9px;background:#fff;color:#203348;font-size:12px}.field textarea{resize:vertical;min-height:60px}.section-title{font-size:12px;font-weight:800;border-bottom:1px solid #e5ebf0;padding-bottom:9px;margin:16px 0 12px}.btn-primary{background:#0d806f;color:#fff;border-color:#0d806f}.btn-primary:hover{background:#096759}.obs{background:#f2f7f9;border:1px solid #dce7ed;padding:10px;border-radius:8px;margin:9px 0}.obs-top{display:flex;justify-content:space-between;align-items:center}.obs small{color:#608094}#toast{position:fixed;bottom:25px;left:50%;transform:translateX(-50%);background:#132e43;color:white;padding:11px 17px;border-radius:9px;z-index:1000;display:none;box-shadow:0 6px 30px #0003}.asset-icon{display:flex;align-items:center;justify-content:center;width:31px;height:31px;border:3px solid white;border-radius:50%;background:#126f72;color:white;font-size:10px;font-weight:900;box-shadow:0 1px 7px #0d334755}.asset-icon.selected{background:#e6a53a;box-shadow:0 0 0 3px #f2d392}.leaflet-tooltip.asset-label{border:0;box-shadow:0 1px 4px #0002;border-radius:5px;color:#244052;font-weight:800;font-size:11px;padding:3px 6px}.metric{font-size:12px;padding:10px;background:#f0f6f8;border-radius:7px;margin-bottom:10px}.muted{color:#7890a0;font-size:11px}.error{color:#a73543;font-size:12px}body.printing header,body.printing .left,body.printing .right,body.printing .map-badge,body.printing .bottom-map{display:none}@media print{header,.left,.right,.map-badge,.bottom-map{display:none!important}main{display:block;height:100vh}#mapWrap,#map{height:100vh!important;width:100vw!important}}@media(max-width:900px){main{grid-template-columns:190px 1fr}.right{position:absolute;right:0;top:68px;bottom:0;width:315px;box-shadow:-4px 0 10px #0002}.header-actions input{width:140px}}@media(max-width:600px){main{grid-template-columns:1fr}.left{display:none}.right{width:270px;top:auto;max-height:47vh}header{padding:8px}.header-actions .subtle{display:none}.header-actions input{width:95px}}

/* Map navigation */
.map-search{position:absolute;z-index:490;top:14px;left:14px;width:min(570px,calc(100% - 28px));pointer-events:auto}.map-search-row{display:flex;gap:6px;background:#ffffffed;box-shadow:0 3px 16px #102b4130;border:1px solid #d5e2e9;border-radius:11px;padding:7px}.map-search-row input{min-width:0;flex:1;padding:9px 11px;border:1px solid #ccdbe3;border-radius:7px;background:#fff;color:#203348;font-size:13px}.map-search-row button{white-space:nowrap;background:#126f72;color:white;border-color:#126f72;font-size:12px;font-weight:650;text-align:center}.map-search-row button:last-child{background:white;color:#126f72}.map-search-row button:disabled{opacity:.6}.location-results,.search-message{margin-top:6px;background:white;border-radius:9px;box-shadow:0 5px 20px #102b4133;border:1px solid #dae5eb;max-height:260px;overflow:auto;font-size:12px}.search-message{padding:11px;color:#4e6575}.location-results button{display:block;width:100%;border:0;border-radius:0;border-bottom:1px solid #eaf0f3;padding:12px;text-align:left;font-size:12px;line-height:1.4}.location-results button:hover,.location-results button:focus-visible{background:#eaf5f5}.location-results button:last-child{border-bottom:0}.map-search .sr-only{position:absolute;width:1px;height:1px;clip:rect(0,0,0,0);overflow:hidden}.map-badge{top:80px;max-width:90%;white-space:normal;text-align:center;pointer-events:none}@media(max-width:700px){.map-search{left:7px;top:8px;width:calc(100% - 14px)}.map-search-row{gap:4px;padding:5px}.map-search-row input{font-size:12px;padding:8px}.map-search-row button{padding:7px 6px;font-size:11px}.map-badge{top:69px}}
