#l4WeatherMap{grid-column:1/-1;padding:0!important;text-align:left;color:white}
#l4WeatherMap{border-radius:23px;overflow:hidden;background:#1b3045;box-shadow:0 1px 0 #ffffff25 inset}
#l4WeatherMap .wm-head{padding:17px 17px 13px;color:#b9c9db;font-size:12px;letter-spacing:.035em}
#l4WeatherMap .wm-row{display:flex;align-items:center;justify-content:space-between;padding:0 17px 12px}
#l4WeatherMap .wm-title{font-size:21px;font-weight:500}
#l4WeatherMap .wm-location{font-size:13px;color:#bbc9d7;margin-top:4px}
#l4WeatherMap .wm-seg{display:flex;gap:2px;margin:0 14px 12px;padding:3px;background:#091c3080;border-radius:9px}
#l4WeatherMap .wm-seg button{flex:1;border:0;color:#b5c5d7;background:none;border-radius:7px;padding:8px 5px;font-size:13px}
#l4WeatherMap .wm-seg button.wm-selected{background:#53697e;color:#fff}
#l4WeatherMap .wm-mapwrap{height:358px;position:relative}
#l4WeatherMap #l4WeatherBase{position:absolute;inset:0}
#l4WeatherMap .maplibregl-ctrl-attrib{font-size:9px!important;background:#ffffffd9!important;color:#45545f!important}
#l4WeatherMap .maplibregl-ctrl-attrib a{color:#45545f!important}
#l4WeatherMap #l4WeatherSample{position:absolute;inset:0;pointer-events:none;opacity:.85}
#l4WeatherMap .wm-pin{position:absolute;left:50%;top:50%;width:14px;height:14px;background:#51adff;border:3px solid white;border-radius:50%;box-shadow:0 0 0 7px #2a90fb35;transform:translate(-50%,-50%)}
#l4WeatherMap .wm-city{position:absolute;top:calc(50% + 18px);left:50%;transform:translateX(-50%);font-size:14px;font-weight:600;text-shadow:0 1px 3px #fff;color:#1d4a65}
#l4WeatherMap .wm-expand{position:absolute;right:12px;bottom:35px;border:0;background:#263e54dd;color:white;border-radius:50%;width:35px;height:35px;font-size:20px}
#l4WeatherMap .wm-sample{position:absolute;top:10px;left:12px;background:#162b40d9;border-radius:5px;padding:6px 8px;font-size:11px;color:#e2e7ec}
#l4WeatherMap .wm-bottom{padding:14px 17px 16px}
#l4WeatherMap .wm-scale{height:5px;border-radius:4px;background:linear-gradient(90deg,#2d75db,#37c3da,#66d78b,#dedb4b,#f1b83c,#de5e71);margin:8px 0 7px}
#l4WeatherMap .wm-labels{display:flex;justify-content:space-between;font-size:11px;color:#b5c5d7}
#l4WeatherMap .wm-timeline{margin-top:16px;display:flex;gap:10px;align-items:center;color:#d0dce6;font-size:12px}
#l4WeatherMap .wm-track{height:3px;background:#ffffff38;flex:1;position:relative}
#l4WeatherMap .wm-track:before{content:'';position:absolute;left:15%;top:-5px;width:12px;height:12px;border-radius:50%;background:white}
#l4WeatherMap .wm-footer{font-size:11px;line-height:1.5;margin:13px 4px 0;color:#c8d8e7}
#l4WeatherMap .wm-badge{font-size:10px;border:1px solid #a8c3d5;border-radius:4px;padding:4px;color:#c2d2df}
#l4WeatherMap.wm-expanded{position:fixed;inset:12px;z-index:9999;overflow:auto;background:#1b3045}
#l4WeatherMap.wm-expanded .wm-mapwrap{height:65vh}
#l4WeatherMap .maplibregl-ctrl-group button{color:#333}
#l4WeatherMap .wm-location{position:static!important;inset:auto!important;display:block!important;background:none!important;padding:0!important;font-weight:400!important;border:0!important;transform:none!important;box-shadow:none!important}#l4WeatherMap .wm-title{line-height:1.25}
#l4WeatherMap .wm-title{font-size:20px;line-height:1.25}#l4WeatherMap .wm-row{display:block;position:relative}#l4WeatherMap .wm-badge{display:none}#l4WeatherMap .wm-location{font-size:12px;line-height:1.4;color:#c7d7e4;margin-top:5px}#l4WeatherMap .wm-head{padding:15px 17px 10px}
#l4WeatherMap.wm-expanded{position:fixed!important;inset:12px!important;height:calc(100dvh - 24px)!important;z-index:2147483647!important;margin:0!important;padding:0!important;overflow:auto!important;box-sizing:border-box;color:#fff;background:#1b3045!important;border-radius:20px!important;box-shadow:0 0 0 20px #071b2fe6!important}#l4WeatherMap.wm-expanded .wm-mapwrap{height:55dvh}#l4WeatherMap .wm-expand{cursor:pointer}

#l4WeatherMap{height:auto!important;min-height:0!important;align-self:start!important;padding:0!important;border-radius:20px!important}
#l4WeatherMap .wm-compact-head{display:flex;align-items:center;justify-content:space-between;padding:14px 14px 10px;gap:8px}
#l4WeatherMap .wm-head{padding:0;margin:0 0 4px;font-size:10px;letter-spacing:.075em;color:#b7c9d9}
#l4WeatherMap .wm-title{font-size:18px;font-weight:500;color:#fff;line-height:1.2}
#l4WeatherMap .wm-capture{font-size:9px;color:#b7c9d9}
#l4WeatherMap .wm-seg{margin:0 12px 10px;padding:3px}
#l4WeatherMap .wm-seg button{padding:7px 4px;font-size:12px}
#l4WeatherMap .wm-mapwrap,#l4WeatherMap.wm-expanded .wm-mapwrap{width:100%!important;height:auto!important;aspect-ratio:1/1!important;position:relative;overflow:hidden}
#l4WeatherMap .wm-mapwrap>img{width:100%;height:100%;display:block;object-fit:cover}
#l4WeatherMap .wm-credit{position:absolute;bottom:0;left:0;right:0;background:#ffffffe8;color:#435461;padding:5px 9px;font-size:9px;line-height:1.25}
#l4WeatherMap .wm-expand{bottom:40px;right:10px;width:32px;height:32px;z-index:2}
#l4WeatherMap .wm-zoom{position:absolute;top:10px;right:10px;display:grid;background:white;border-radius:6px;box-shadow:0 1px 4px #0003;overflow:hidden}
#l4WeatherMap .wm-zoom button{background:white;border:0;color:#35434d;font-size:23px;width:30px;height:30px;line-height:1}
#l4WeatherMap .wm-zoom button+button{border-top:1px solid #dde1e4}
#l4WeatherMap.wm-expanded{height:auto!important;max-height:calc(100dvh - 24px)!important;bottom:auto!important}

#l4WeatherMap .lv3CardContents{padding:0!important;margin:0!important;height:auto!important;min-height:0!important;display:block!important}#l4WeatherMap .lv3Hint{display:none!important}#l4WeatherMap:after{display:none!important}html.v2.klHatched.lv3-redesign #ckCardsViewport #lv3Dashboard #l4WeatherMap.lv3Card.lv3Wide{padding:0!important;height:auto!important;min-height:0!important;display:block!important;overflow:hidden!important}
html.v2.klHatched.lv3-redesign #ckCardsViewport #lv3Dashboard #l4WeatherMap .wm-mapwrap{width:100%!important;height:auto!important;aspect-ratio:1!important;margin:0!important}

#l4WeatherMap .wm-float-legend{position:absolute;left:10px;top:10px;z-index:2;padding:8px 10px;border-radius:11px;background:#ffffffed;box-shadow:0 2px 12px #142b4020;display:grid;grid-template-columns:repeat(4,16px);gap:0;color:#334b60}
#l4WeatherMap .wm-float-legend>span{grid-column:1/-1;font-size:9px;font-weight:700;letter-spacing:.1em;margin-bottom:5px}
#l4WeatherMap .wm-float-legend i{height:5px;display:block}#l4WeatherMap .wm-float-legend i:nth-of-type(1){border-radius:4px 0 0 4px}#l4WeatherMap .wm-float-legend i:nth-of-type(4){border-radius:0 4px 4px 0}
#l4WeatherMap .wm-float-legend small{grid-column:1/-1;font-size:8px;margin-top:4px;color:#687b8b}
#l4WeatherMap .wm-time-design{position:absolute;bottom:38px;left:10px;right:10px;background:#ffffffed;border-radius:12px;padding:10px 12px;color:#243f56;box-shadow:0 2px 12px #142b401a}
#l4WeatherMap .wm-time-design>div:first-child{display:flex;align-items:center;justify-content:space-between;gap:8px}#l4WeatherMap .wm-time-design strong{font-size:10px;font-weight:600}#l4WeatherMap .wm-time-design span{font-size:8px;color:#748696}
#l4WeatherMap .wm-time-track{height:3px;background:repeating-linear-gradient(90deg,#c5cdd4 0 13px,transparent 13px 17px);margin:13px 0 8px;position:relative}#l4WeatherMap .wm-time-track b{display:block;position:absolute;left:0;top:-4px;width:11px;height:11px;border-radius:50%;background:#3d688b;border:2px solid #fff;box-shadow:0 0 0 1px #7c9db9}
#l4WeatherMap .wm-time-labels{display:flex;justify-content:space-between}
#l4WeatherMap .wm-expand{bottom:138px}#l4WeatherMap .wm-locate{position:absolute;right:10px;top:82px;width:30px;height:30px;border:0;border-radius:7px;background:#fffffff2;color:#36516a;font-size:23px;box-shadow:0 1px 4px #0002}
#l4WeatherMap:not(.wm-expanded) .wm-time-design{display:none}#l4WeatherMap:not(.wm-expanded) .wm-expand{bottom:40px}

html.v2.klHatched.lv3-redesign #ckCardsViewport #lv3Dashboard #l4WeatherMap .wm-mapwrap{height:auto!important;aspect-ratio:1!important;width:100%!important}
#l4WeatherMap .wm-head{padding:12px 14px 10px!important;font-size:10px!important}#l4WeatherMap .wm-sample{top:auto;bottom:28px;left:8px;font-size:8px;padding:4px 6px}#l4WeatherMap .wm-seg{margin-bottom:10px}
#l4WeatherMap .wm-legends{position:absolute;left:10px;top:10px;display:flex;gap:5px;pointer-events:none}
#l4WeatherMap .wm-legends>div{padding:8px;border-radius:10px;background:#123047e8;box-shadow:0 2px 10px #13233322;color:#fff;display:grid;gap:5px;width:98px;box-sizing:border-box}
#l4WeatherMap .wm-legends>div[hidden]{display:none}#l4WeatherMap .wm-legends b{font-size:10px;font-weight:600}#l4WeatherMap .wm-legends small{font-size:8px;color:#cedbe5}#l4WeatherMap .wm-legends span{height:5px;border-radius:3px;display:block}
#l4WeatherMap .rain-colors{background:linear-gradient(90deg,#dadaf2,#adade8,#7777de,#4e4ee1)}#l4WeatherMap .cloud-colors{background:linear-gradient(90deg,#617787,#c7cfd5,#fff)}
#l4WeatherMap .wm-close{display:none;position:absolute;top:14px;left:14px;width:34px;height:34px;border:1px solid #ffffff30;border-radius:50%;background:#143047e8;color:#fff;font-size:26px;line-height:1;z-index:20}
#l4WeatherMap.wm-expanded{position:fixed!important;inset:0!important;width:100vw!important;height:100dvh!important;max-height:none!important;margin:0!important;padding:0!important;border:0!important;border-radius:0!important;box-shadow:none!important;overflow:hidden!important}
#l4WeatherMap.wm-expanded .wm-mapwrap{position:absolute!important;inset:0!important;width:100%!important;height:100%!important;aspect-ratio:auto!important}
#l4WeatherMap.wm-expanded .wm-head{display:none!important}#l4WeatherMap.wm-expanded .wm-seg{position:absolute;bottom:47px;left:12px;right:12px;margin:0;z-index:10;background:#153149ed}
#l4WeatherMap.wm-expanded .wm-legends{top:14px;left:auto;right:14px;z-index:10}#l4WeatherMap.wm-expanded .wm-expand{display:none!important}#l4WeatherMap.wm-expanded .wm-sample{bottom:102px;left:14px;z-index:10}

#l4WeatherMap:not(.wm-expanded) .wm-sample{bottom:65px!important}

/* Match the established main-popup close control, including its drawn X. */
#l4WeatherMap .wm-close{display:none;position:absolute;left:14px;top:14px;flex:0 0 44px;width:44px;height:44px;min-width:44px;min-height:44px;padding:0;margin:0;box-sizing:border-box;border:1.5px solid #8cabbc;border-radius:50%;background:#d5e3eb;color:#15374d;font-size:0;line-height:0;box-shadow:0 1px 3px #18374922;cursor:pointer}
#l4WeatherMap .wm-close::before,#l4WeatherMap .wm-close::after{content:"";position:absolute;left:50%;top:50%;width:19px;height:2px;border-radius:1px;background:#15374d;transform:translate(-50%,-50%) rotate(45deg)}
#l4WeatherMap .wm-close::after{transform:translate(-50%,-50%) rotate(-45deg)}

/* Compact card: both layers with a single quiet key; selectors live fullscreen. */
#l4WeatherMap:not(.wm-expanded) .wm-seg{display:none!important}
#l4WeatherMap:not(.wm-expanded) .wm-legends{left:10px;top:10px;gap:10px;padding:7px 9px;background:#123047e8;border-radius:8px;align-items:center}
#l4WeatherMap:not(.wm-expanded) .wm-legends>div{display:flex;align-items:center;gap:5px;width:auto;padding:0;background:none;box-shadow:none;border-radius:0}
#l4WeatherMap:not(.wm-expanded) .wm-legends b{font-size:9px;font-weight:500}
#l4WeatherMap:not(.wm-expanded) .wm-legends span{width:28px;height:4px}
#l4WeatherMap:not(.wm-expanded) .wm-legends small{display:none}

#l4WeatherMap .wm-selected-marker{width:18px;height:18px;pointer-events:none;z-index:3}
#l4WeatherMap .wm-selected-dot{position:absolute;inset:0;box-sizing:border-box;background:#138eff;border:3px solid white;border-radius:50%;box-shadow:0 0 0 7px #329cff45,0 1px 8px #001e40a0}
#l4WeatherMap .wm-selected-label{position:absolute;left:50%;top:27px;transform:translateX(-50%);white-space:nowrap;padding:5px 8px;border-radius:7px;background:#092c48ed;color:#fff;font-size:12px;font-weight:600;line-height:1.25;text-align:center;box-shadow:0 1px 6px #001e4060}
#l4WeatherMap .wm-selected-label small{display:block;font-size:8px;font-weight:400;color:#bddaff;margin-top:2px}
#l4WeatherMap .wm-recenter{position:absolute;right:10px;top:10px;width:32px;height:32px;border:1px solid #abc5d7;border-radius:50%;background:#d5e3eb;color:#15374d;font-size:23px;line-height:1;padding:0;z-index:5}
#l4WeatherMap.wm-expanded .wm-recenter{top:65px;left:20px;right:auto}
#l4WeatherMap .wm-legends>div{background:#fffffff0;color:#1c2a36;box-shadow:0 1px 8px #0a1e3030}
#l4WeatherMap .wm-legends small{color:#5b6b78}
#l4WeatherMap .rain-colors{background:linear-gradient(90deg,#3b82f6,#a06be0,#f0d23a)}
#l4WeatherMap .cloud-colors{background:linear-gradient(90deg,#e6eaee,#a3adb6,#6c7782)}
#l4WeatherMap .wm-selected-label{background:#ffffffee;color:#14212c;box-shadow:0 1px 6px #0a1e3040}
#l4WeatherMap .wm-selected-dot{box-shadow:0 0 0 7px #329cff40,0 1px 6px #0a1e4060}
#l4WeatherMap .wm-recenter{background:#fffffff0;border-color:#cfd8df;color:#1c2a36}
#l4WeatherMap .wm-expand{background:#fffffff0;color:#1c2a36}
#l4WeatherMap .wm-sample{background:#ffffffe6;color:#41505c}
#l4WeatherMap .wm-close{background:#fffffff0;color:#1c2a36}
#l4WeatherMap .wm-legends>div{background:#fffffff0!important;color:#1c2a36!important}
#l4WeatherMap .wm-legends b{color:#1c2a36!important}
#l4WeatherMap .wm-legends small{color:#5b6b78!important}
#l4WeatherMap.wm-expanded .wm-seg{background:#ffffffee!important}
#l4WeatherMap .wm-seg button{color:#3d4d5a!important}
#l4WeatherMap .wm-seg button.wm-selected{background:#2f7be6!important;color:#fff!important}
#l4WeatherMap .wm-legends{background:none!important;box-shadow:none!important;padding:0!important;border:0!important}
#l4WeatherMap:not(.wm-expanded) .wm-legends{background:#fffffff0!important;padding:7px 9px!important;border-radius:8px!important;box-shadow:0 1px 8px #0a1e3030!important}
#l4WeatherMap:not(.wm-expanded) .wm-legends>div{background:none!important;box-shadow:none!important}
#l4WeatherMap.wm-expanded .wm-legends{background:none!important;padding:0!important}
#l4WeatherMap:not(.wm-expanded) #l4WeatherBase,#l4WeatherMap:not(.wm-expanded) .maplibregl-canvas{pointer-events:none!important;touch-action:pan-y!important}#l4WeatherMap .wm-recenter{display:none!important}#l4WeatherMap.wm-expanded .maplibregl-canvas-container{touch-action:none}

#l4WeatherMap .rain-colors{background:linear-gradient(90deg,#3b82f6,#a06be0,#ee6fb0,#f0d23a)!important}#l4WeatherMap .wm-sample{display:none!important}
