/* Route-scoped three-row layout: map, reserved advert, navigation. */
body.om-active{padding:0;display:block;overflow:hidden}body.om-active .app-shell{width:100%;max-width:none;height:100dvh;max-height:none;border:0;border-radius:0;display:grid}body.om-active #app-view{padding:0;width:100%;height:100%;overflow:hidden}body.om-active [class*="install"],body.om-active .svitlo-onboard-card{display:none!important}
.om{position:relative!important;top:auto;left:auto;margin:0!important;padding:0!important;max-width:none!important;width:100%;height:100%;display:grid;grid-template-rows:minmax(0,1fr) 72px auto;overflow:hidden;z-index:100;background:#061a32;color:var(--text,#e5efff);font-size:14px}.om *{box-sizing:border-box}.om [hidden]{display:none!important}.om-stage{position:relative;min-height:0;overflow:hidden}.om #om-map{position:absolute;inset:0;width:100%;height:100%;z-index:0;background:#dae1e4;touch-action:none}.om button,.om input{font:inherit;color:inherit}.om button{min-height:44px;border:1px solid var(--line,#29415c);border-radius:12px;background:#0c2845;padding:9px 12px;cursor:pointer}.om button:focus-visible{outline:2px solid #79c1ff;outline-offset:-2px}.om input{width:100%;height:46px;margin:10px 0;border:1px solid #637a96;border-radius:12px;background:#061a32;padding:10px 12px;color:#fff;font-size:16px}.om-nav{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:2px;padding:6px max(6px,env(safe-area-inset-right)) max(6px,env(safe-area-inset-bottom)) max(6px,env(safe-area-inset-left));border-top:1px solid #28425c;background:#061a32;z-index:800}.om-nav button{min-width:0;min-height:60px;padding:5px 1px;border:0;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:3px;background:transparent;font-size:12px;line-height:1.15}.om-nav button[aria-expanded=true]{background:#163e63;color:#91d4ff}.om-nav img,.om-nav svg{width:22px;height:22px}.om-nav small{font-size:9px;color:#f5cf70}.om-nav [data-om-panel=events]{gap:1px}.om-ad{height:72px;min-height:72px;position:relative;overflow:hidden;background:#0b2138;border-top:1px solid #28425c;padding:17px max(6px,env(safe-area-inset-right)) 5px max(6px,env(safe-area-inset-left));contain:layout size}.om-ad-label{position:absolute;top:2px;left:0;right:0;text-align:center;font-size:9px;color:#a8b9cd;letter-spacing:.06em}.om [data-om-ad-host]{display:block!important;width:100%;max-width:728px;height:50px;min-height:50px;margin:auto}.om-ad .svitlo-adsense-box,.om-ad [data-ad-empty="1"] .svitlo-adsense-box{height:50px;min-height:50px;padding:0;border:0;border-radius:0}.om-ad .adsbygoogle{height:50px!important;min-height:50px!important;max-height:50px}
.om-panel,.om-sheet{position:absolute;z-index:700;bottom:22px;left:max(8px,env(safe-area-inset-left));right:max(8px,env(safe-area-inset-right));max-height:65%;overflow:auto;overscroll-behavior:contain;background:#061a32;border:1px solid #45607d;border-radius:20px;padding:0 16px 16px;box-shadow:0 4px 30px #0005;overflow-wrap:anywhere}.om-sheet{max-height:52%}.om-sheet-actions{position:sticky;top:0;display:flex;align-items:center;justify-content:space-between;padding:8px 0;background:#061a32;z-index:1}.om-sheet-actions strong{font-size:18px}.om-sheet-actions>button:last-child{min-width:44px}.om-sheet.om-collapsed [data-om-detail]{display:none}.om-sheet.om-collapsed{padding-bottom:0}.om h3{font-size:19px;margin:8px 0}.om p{line-height:1.45}.om dt{font-size:12px;color:#a8c0da;margin-top:10px}.om dd{margin:3px 0}.om [data-om-results] button,.om [data-om-favorites] button,.om [data-om-events] button{display:block;width:100%;text-align:left;margin:8px 0;overflow-wrap:anywhere}.om button small{display:block}.om-modes{display:flex;gap:5px}.om-modes button{flex:1;padding:9px 6px}.om-modes [aria-pressed=true]{background:#2d83be;color:#fff}.om-info-body{line-height:1.45}.om-info-body p{font-size:12px}.om a{color:#7dc6ff}.om-legend{display:grid;gap:8px;font-size:12px}.om-dot{display:inline-block;width:9px;height:9px;border-radius:50%;margin-right:8px}.om-dot.red{background:#dc2626}.om-dot.yellow{background:#eab308}.om-dot.orange{background:#f97316}.om-dot.gray{background:#94a3b8}.om .leaflet-control-attribution{font-size:10px}.om .leaflet-control-zoom{margin-top:max(12px,env(safe-area-inset-top));margin-right:max(12px,env(safe-area-inset-right))}.om .leaflet-control-zoom a{width:40px;height:40px;line-height:40px;color:#102a44}.om-notice{position:absolute;top:max(10px,env(safe-area-inset-top));left:10px;right:64px;z-index:500;background:#061a32eF;color:#fff;padding:8px 12px;border-radius:12px;font-size:12px;pointer-events:none}
.om-cluster{background:#334155;color:white;border:3px solid white;border-radius:50%;display:flex!important;align-items:center;justify-content:center;font-weight:750;font-size:14px;line-height:1;box-shadow:0 1px 5px #0005}.om-marker{border:2px solid white;border-radius:50%;background:var(--marker);color:white;display:flex;align-items:center;justify-content:center;box-shadow:0 2px 7px #0005}.om-marker svg{width:21px;height:21px}.om-cluster.om-planned{background:#f5c748;color:#312400}
@media(min-width:800px){.om-panel,.om-sheet{left:16px;right:auto;top:max(16px,env(safe-area-inset-top));bottom:auto;width:370px;max-height:calc(100% - 45px)}.om-nav{padding-left:max(6px,calc((100% - 700px)/2));padding-right:max(6px,calc((100% - 700px)/2))}}
@media(max-height:500px){.om-nav button{min-height:48px}.om-nav img,.om-nav svg{width:18px;height:18px}.om-panel,.om-sheet{max-height:85%;bottom:20px}.om-panel{max-width:440px}.om-nav{padding-top:2px;padding-bottom:max(2px,env(safe-area-inset-bottom))}}

/* Full world mask must not be clipped to the renderer's last settled viewport. */
.om .leaflet-overlay-pane svg:has(.om-city-mask){overflow:visible}
.om-marker{border:0;background:none;box-shadow:none;border-radius:0;display:flex;align-items:center;justify-content:center}
.om-marker svg{width:32px;height:36px;filter:drop-shadow(0 2px 2px #17334a66)}
.om-marker:focus-visible,.om-cluster:focus-visible{outline:3px solid #173b63;outline-offset:2px;border-radius:50%}
.om-cluster{border:0;background:none;box-shadow:none;padding:2px}
.om-cluster-ring{width:44px;height:44px;padding:5px;border:2px solid white;border-radius:50%;box-shadow:0 2px 5px #17334a66;display:flex}
.om-cluster-ring b{border-radius:50%;background:#fff;color:#173b63;display:flex;align-items:center;justify-content:center;width:100%;height:100%;font-size:14px}
.om-legend span{display:flex;align-items:center;gap:8px}.om-legend i{display:inline-flex;width:26px;height:29px}.om-legend svg{width:100%;height:100%}
.om-loading{position:absolute;z-index:450;left:12px;top:12px;max-width:calc(100% - 78px);padding:10px 12px;border:1px solid #b4c3ce;border-radius:12px;background:#f5f8fbee;color:#173b63;box-shadow:0 2px 8px #17334a22;font-size:12px}.om-loading button{display:block;margin-top:8px;color:white}

/* One pixel overlap only during interpolation; native raster size at rest. */
.om.om-zooming .leaflet-tile{width:257px!important;height:257px!important}

/* Additive blending brightened overlapping raster edges into a white grid. */
.om .leaflet-container img.leaflet-tile{mix-blend-mode:normal}

/* V7: scoped palette, layout priorities and accessible sheet detents. */
.om{--om-bg:#f5f8fc;--om-card:#fff;--om-fg:#17334b;--om-muted:#51677d;--om-line:#c7d4df;--om-button:#edf3f9;--om-accent:#1766a5;color:var(--om-fg);background:var(--om-bg)}
.om[data-theme=dark]{--om-bg:#101e2c;--om-card:#162939;--om-fg:#e9f2fa;--om-muted:#a8bfce;--om-line:#40596a;--om-button:#203b50;--om-accent:#8ed3ff}
.om button,.om select,.om input{color:var(--om-fg);background:var(--om-button);border-color:var(--om-line);font:inherit}.om select{min-height:44px;border-radius:10px;max-width:100%}.om input{font-size:16px}.om button{transition:background .15s,box-shadow .15s}.om button:active{box-shadow:inset 0 0 0 2px var(--om-accent)}.om :focus-visible{outline:3px solid var(--om-accent);outline-offset:2px}
.om-panel,.om-sheet,.om-sheet-actions,.om-nav{background:var(--om-card);color:var(--om-fg);border-color:var(--om-line)}.om a,.om dt{color:var(--om-muted)}.om-nav button[aria-expanded=true]{background:var(--om-button);color:var(--om-accent);box-shadow:inset 0 3px var(--om-accent)}.om-nav small{color:var(--om-muted)}.om-nav img{display:none}.om-nav img+span:before{content:'⌂';display:block;font-size:24px;line-height:24px}.om-nav [data-om-panel=events] span:before{content:'ϟ'}.om-nav [data-om-panel=more] span:before{content:'•••';font-size:20px}.om-ad{background:var(--om-bg);border-color:var(--om-line)}.om-ad-label{color:var(--om-muted);font-size:11px}
.om-map-tools{position:absolute;right:12px;top:106px;display:grid;gap:6px;z-index:450}.om-map-tools button{width:44px;height:44px;padding:10px;background:var(--om-card);box-shadow:0 2px 8px #17334a22}.om-map-tools svg{width:22px;height:22px;fill:none;stroke:currentColor;stroke-width:1.8}.om .leaflet-control-zoom a{width:44px;height:44px;line-height:44px;background:var(--om-card);color:var(--om-fg)}
.om-homebar{position:absolute;top:12px;left:12px;width:min(290px,calc(100% - 82px));z-index:440;background:var(--om-card);color:var(--om-fg);border:1px solid var(--om-line);border-radius:14px;box-shadow:0 2px 12px #17334a22;padding:0 10px}.om summary{cursor:pointer;min-height:44px;padding:12px 0;font-weight:650}.om-homebar button{width:100%;text-align:left;background:none;border:0;padding:0 0 10px;font-size:12px;min-height:44px}.om-homebar small{color:var(--om-muted);margin-top:4px}
.om.om-busy .om-homebar,.om.om-busy .om-map-foot{display:none}.om.om-pwa-visible [data-om-tip]{display:none!important}.om.om-pwa-visible .om-homebar:not([open]){display:block}
.om-sheet{padding:0 14px 14px;max-height:none;height:52%;display:flex;flex-direction:column;overflow:hidden;transition:height .18s ease}.om-sheet[data-detent=full]{height:calc(100% - 28px)}.om-sheet[data-detent=short]{height:138px}.om-sheet [data-om-detail]{min-height:0;overflow:auto;overscroll-behavior:contain;touch-action:pan-y}.om-sheet[data-detent=short] [data-om-detail]{overflow:hidden}.om-sheet[data-detent=short] [data-om-detail]>:not(h3):not(.om-status){display:none}.om-sheet h3{margin:6px 0;font-size:18px}.om-status{margin:5px 0;font-weight:700}.om-sheet-actions{flex:none;padding:2px 0;gap:5px}.om-sheet-actions button{font-size:12px;padding:6px 8px}.om-handle{flex:none;width:100%;height:24px;min-height:24px!important;background:none!important;border:0!important;touch-action:none;padding:9px!important}.om-handle span{display:block;width:38px;height:4px;border-radius:4px;background:var(--om-muted);margin:auto}.om-actions{display:flex;flex-wrap:wrap;gap:6px;margin:10px 0}.om-actions button{flex:1;font-size:12px}.om-event{padding-top:10px;border-top:1px solid var(--om-line);margin-top:12px}.om-event h3{font-size:16px}.om-event p{margin:7px 0}.om-event details{font-size:12px}.om-event summary{color:var(--om-accent)}.om-landmarks{display:flex;gap:4px;flex-wrap:wrap}.om-landmarks button{flex:1;font-size:12px}.om [data-om-suggestions] button{display:block;width:100%;text-align:left;margin:6px 0}.om [data-om-time]{margin:0;accent-color:var(--om-accent)}.om-notice{top:auto;bottom:24px;z-index:750;right:12px;background:var(--om-card);color:var(--om-fg);border:1px solid var(--om-line);box-shadow:0 2px 12px #17334a33}.om.om-busy .om-notice{bottom:auto;top:10px}.om-loading{z-index:460}.om-saved-marker svg{width:40px;height:40px}.om-selected svg{transform:scale(1.12);filter:drop-shadow(0 0 4px #fff) drop-shadow(0 0 6px #173b63)}.om-marker svg{transition:transform .16s}.om-marker:active svg{transform:scale(.93)}
@media(min-width:800px){.om-sheet{height:auto;max-height:calc(100% - 36px);min-height:220px;bottom:18px;top:18px;width:380px}.om-sheet[data-detent=short]{height:138px;min-height:138px;top:auto}.om-sheet[data-detent=full]{height:calc(100% - 36px)}.om-sheet [data-om-detail]{flex:1}.om-handle{display:none}.om-panel{width:380px}.om-homebar{width:290px}}
@media(max-height:500px){.om-homebar{display:none}.om-map-foot{bottom:20px}.om-map-tools{top:12px;right:68px;display:flex}.om-sheet{height:calc(100% - 24px);max-width:440px;left:8px;bottom:20px}.om-sheet[data-detent=short]{height:116px}.om-panel{max-height:calc(100% - 24px)}.om-nav small{display:none}}
@media(prefers-reduced-motion:reduce){.om *{transition:none!important;animation:none!important}}

/* Only raster basemap pixels change; overlay status colors are untouched. */
.om[data-theme=dark] .leaflet-tile-pane{filter:invert(.91) hue-rotate(180deg) saturate(.55) brightness(.85)}
.om[data-theme=light] .leaflet-tile-pane{filter:saturate(.65)}
.om[data-theme=dark] #om-map{background:#1a2b38}

.om-nav [data-om-panel=events] span:before,.om-nav [data-om-panel=more] span:before{content:none}

.om-homebar summary{min-height:34px;padding:8px 0;font-size:12px}.om-homebar button{min-height:34px;padding-bottom:8px;line-height:1.3}.om-homebar:not([open]) summary{min-height:44px;padding:12px 0}
.om [data-om-nearby] button,.om [data-om-addresses] button{display:block;width:100%;text-align:left;margin:6px 0}


@media(max-width:799px){.om-sheet[data-detent=full]{height:calc(100% - 100px)}}

/* Water layer V1: native keyboard controls, shared V7 surfaces. */
.om-layers{position:absolute;z-index:460;top:10px;left:12px;display:flex;gap:2px;padding:3px;border:1px solid var(--om-line);border-radius:14px;background:var(--om-card);box-shadow:0 2px 8px #17334a22}
.om .om-layers button,.om .om-event-layers button{min-height:40px;margin:0;padding:7px 11px;border:0;background:transparent;color:var(--om-fg);border-radius:10px;font:inherit;font-weight:600}
.om .om-layers button[aria-pressed=true],.om .om-event-layers button[aria-pressed=true]{background:#106da4;color:#fff}
.om-event-layers{display:flex;gap:4px;flex-wrap:wrap;margin:8px 0}.om .om-homebar{top:66px}.om .om-loading{top:66px}
.om-services small{display:block;padding:4px 0}.om-services span{display:block;font-size:11px;color:var(--om-muted)}.om-water{border-left:3px solid #138dad;padding-left:10px}.om-water .om-status{color:var(--om-fg)}
.om.om-busy .om-stage>.om-layers{visibility:hidden}.om[data-layer=power] .om-legend span:has([data-om-symbol^=WATER_]){display:none}.om[data-layer=water] .om-legend span:not(:has([data-om-symbol^=WATER_])){display:none}
@media(max-height:500px){.om-layers{max-width:calc(100% - 185px)}.om .om-layers button{padding:7px 8px}}

/* Water discovery preserves the current viewport; explicit action reveals all exact addresses. */

.om-cluster-ring b:has(span){flex-direction:column;font-size:13px;gap:1px}.om-cluster-ring b span{font-size:11px;line-height:11px}
.om[data-layer=water] .om-modes,.om[data-layer=water] [data-om-timeline],.om[data-layer=water] [data-om-period],.om[data-layer=water] label:has([data-om-filter=provider]){display:none!important}
.om[data-layer=water] [data-om-filter=state] option:not([value=all]):not([value^=WATER_]){display:none}
.om[data-layer=all] .om-modes:before{content:'Період світла · вода: всі повідомлення';font-size:12px;flex-basis:100%}.om[data-layer=all] .om-modes{flex-wrap:wrap}

.om-water-badge{position:absolute;right:0;bottom:0;background:var(--om-card);border-radius:50%;font-size:15px;padding:2px}

/* Clean map surfaces: details stay inside the two native disclosures. */
body.om-active .om[data-outages-map]{grid-template-rows:minmax(0,1fr) 66px auto}
/* Installation remains available in More; it must not reserve a map row. */
body.om-active .om [data-om-pwa-slot]{display:none!important}
.om-ad{height:66px;min-height:66px;padding-top:14px;padding-bottom:1px}
/* Reserve the same row during loading, no-fill and late creative delivery. */
.om-ad [data-om-ad-host][data-ad-empty="1"] .svitlo-adsense-box{visibility:hidden}
.om-nav{padding-top:3px;padding-bottom:max(3px,env(safe-area-inset-bottom))}
.om .om-nav button{height:50px;min-height:50px;padding:3px 1px;font-size:12px;line-height:1.1;background:transparent}
.om-homebar{max-height:calc(100% - 144px);overflow:auto}
.om .om-homebar summary,.om-map-foot>summary{display:flex;align-items:center;gap:8px;min-height:44px;padding:10px 0;list-style:none;font-size:12px;line-height:1.4}
.om-homebar summary::-webkit-details-marker,.om-map-foot>summary::-webkit-details-marker{display:none}
.om-homebar summary span,.om-map-foot>summary span{flex:1;min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.om-homebar summary:after,.om-map-foot>summary:after{content:'';width:7px;height:7px;border-right:1.5px solid currentColor;border-bottom:1.5px solid currentColor;transform:rotate(45deg);flex:none;margin:0 3px 4px}
.om-homebar[open] summary:after{transform:rotate(225deg);margin-top:5px}
.om-map-foot{position:absolute;bottom:22px;left:12px;z-index:440;width:min(360px,calc(100% - 24px));max-height:calc(100% - 132px);background:var(--om-card);color:var(--om-fg);border:1px solid var(--om-line);border-radius:14px;box-shadow:0 2px 12px #17334a22;overflow:auto;font-size:12px}
.om-map-foot>summary{padding:10px 12px;position:sticky;top:0;background:var(--om-card);z-index:1}
.om-map-foot>summary:after{transform:rotate(225deg);margin-top:5px}
.om-map-foot[open]>summary:after{transform:rotate(45deg);margin-top:0}
.om-map-foot-body{padding:0 12px 12px;border-top:1px solid var(--om-line)}
.om-map-foot-body>button{width:100%;text-align:left;margin-top:8px;font-size:12px}
.om-map-foot-body h3{font-size:13px;margin:14px 0 10px}
.om-map-foot-body p{color:var(--om-muted);font-size:12px}
.om-coverage-note{padding-top:10px;border-top:1px solid var(--om-line)}
.om-map-tools{top:114px;right:12px;display:flex;flex-direction:column;gap:0;padding:2px;background:var(--om-card);background:color-mix(in srgb,var(--om-card) 90%,transparent);border:1px solid var(--om-line);border-radius:14px;box-shadow:0 2px 8px #17334a22}
.om-map-tools button{border:0;border-radius:10px;background:transparent;box-shadow:none;padding:10px}
.om-map-tools button+button{border-top:1px solid var(--om-line)}
@media(max-width:799px),(pointer:coarse){.om .leaflet-control-zoom{display:none}.om-map-tools{top:66px}}
@media(max-height:500px){.om .om-homebar{display:block;top:62px;max-height:calc(100% - 120px)}.om-map-foot{max-height:calc(100% - 78px)}.om-map-tools{top:12px}.om-nav button{min-height:44px}}

@media(max-height:500px){.om .om-nav button{height:44px;min-height:44px}}

/* Keep the status sheet dismissible while its contents scroll. */
.om-banner-overlay{position:absolute;inset:0;z-index:600;background:#0003;touch-action:none}
.om-map-foot[open]{z-index:610;max-height:min(75vh,75%,calc(100% - 44px));max-height:min(75dvh,75%,calc(100% - 44px));overscroll-behavior:contain}
.om-map-foot[open]>summary{touch-action:none;user-select:none;cursor:grab;padding:4px 6px 4px 12px;min-height:52px}
.om-map-foot[open]>summary:after{display:none}
.om .om-banner-close{display:none;flex:none;width:44px;height:44px;min-height:44px;padding:0;font-size:30px;line-height:1;background:transparent;color:inherit;border:0}
.om-map-foot[open]>summary .om-banner-close{display:block}
.om-map-foot.om-dragging>summary{cursor:grabbing}

/* Water-only approximate anchors: never styled as exact house drops. */
.om-water-approx-symbol{display:grid;place-items:center;width:36px;height:36px;border:2px dashed #64748b;border-radius:50%;background:rgba(226,232,240,.85);color:#475569;font-size:26px;font-weight:700;box-shadow:0 0 0 7px rgba(100,116,139,.15)}
.om-water-zone .om-water-approx-symbol{width:32px;height:32px}

/* Source identity remains visible independently of status and geography. */
.om .power{--source:#b66b0b;--source-bg:#fff2d5;--source-fg:#704200}
.om .water{--source:#087eab;--source-bg:#e1f4fb;--source-fg:#075572}
.om .om-source-badge{display:inline-flex;align-items:center;gap:4px;white-space:nowrap;flex-shrink:0;border:1px solid var(--source);border-radius:5px;background:var(--source-bg);color:var(--source-fg);padding:3px 6px;font-size:11px;font-weight:800;line-height:1.4;vertical-align:middle}
.om .om-source-card,.om .om-service{border-inline-start:4px solid var(--source);padding-inline-start:10px}
.om .om-service{display:block;margin:8px 0;padding:8px 10px;border-radius:5px;background:var(--om-card)}
.om .om-service>b,.om .om-service>span:last-child{display:block;margin-top:5px}
.om-source-symbol{position:relative;display:flex;align-items:center;flex-direction:column;width:44px;height:52px;filter:drop-shadow(0 1px 2px #0005)}
.om-source-symbol svg{width:36px!important;height:40px!important;flex:none}
.om-marker-name{display:block;white-space:nowrap;border:1px solid var(--source);background:var(--source-bg);color:var(--source-fg);border-radius:3px;font:800 9px/12px system-ui;padding:0 2px;margin-top:-3px}
.om .om-approximate{outline:2px dashed #6b7280;outline-offset:3px;border-radius:12px;background:#f3f4f699}
.om-source-cluster{display:flex;justify-content:center;align-items:center;white-space:nowrap;border:2px solid #fff;border-radius:10px;background:#fff;color:#454545;box-shadow:0 1px 5px #0005;padding:6px 8px;font:bold 13px/20px system-ui;min-width:68px}
.om-source-cluster>.power,.om-source-cluster>.water{background:var(--source-bg);color:var(--source-fg);padding:2px 4px;border-bottom:3px solid var(--source);border-radius:3px}
.om-source-cluster.is-stale>span{filter:grayscale(1)}
.om [data-event-item]{overflow-wrap:anywhere}
.om [data-om-detail] h3{overflow-wrap:anywhere}
.om .om-legend .om-source-badge{width:auto}
.om .om-source-badge>span{display:inline;color:inherit;font:inherit}
.om[data-layer] .om-legend>.om-source-badge{display:inline-flex}
.om [data-om-layer=power][aria-pressed=true]{background:#8f5708;color:#fff}
.om [data-om-layer=water][aria-pressed=true]{background:#087eab;color:#fff}
.om [data-om-layer=all][aria-pressed=true]{background:#454545;color:#fff}
.om-sheet[data-detent=short] [data-om-detail]>.om-source-badge{display:inline-flex}
.om-sheet[data-detent=short] [data-om-detail]>.om-event{display:block;margin-top:0;padding-top:0}
.om-sheet[data-detent=short] .om-event>:not(.om-source-badge):not(h3):not(.om-status){display:none}
.om .om-layers button[data-om-layer=power][aria-pressed=true],.om .om-event-layers button[data-om-layer=power][aria-pressed=true]{background:#8f5708;color:#fff}
.om .om-layers button[data-om-layer=water][aria-pressed=true],.om .om-event-layers button[data-om-layer=water][aria-pressed=true]{background:#087eab;color:#fff}
.om .om-layers button[data-om-layer=all][aria-pressed=true],.om .om-event-layers button[data-om-layer=all][aria-pressed=true]{background:#454545;color:#fff}
.om [data-event-item].power,.om [data-event-item].water{background:var(--om-card);color:var(--om-fg)}
/* Legend has its own text; keep marker glyphs inside the icon column. */
.om .om-legend i{display:inline-flex;align-items:center;justify-content:center;flex:0 0 26px;width:26px;height:30px;margin-right:6px}
.om .om-legend .om-source-symbol{width:26px;height:30px;filter:none}
.om .om-legend .om-source-symbol svg{width:24px!important;height:28px!important}
.om .om-legend .om-marker-name{display:none}

/* Compact event cards: address, status, interval, optional update timestamp. */
.om-compact-card{padding:12px 0!important;border:0!important;box-shadow:none!important;background:transparent!important}
.om-compact-card+.om-compact-card{border-top:1px solid #dce3eb!important}
.om-card-status{display:inline-block;padding:5px 9px;border-radius:8px;background:#fff0dc;color:#754808;font-size:13px;font-weight:600;line-height:1.4}
.om-compact-card.water .om-card-status{background:#e4f3fa;color:#126080}
.om-card-interval{font-size:18px!important;line-height:1.5;font-weight:650;margin:10px 0 4px!important;font-variant-numeric:tabular-nums}
.om-card-updated{display:block;color:#697586;font-size:12px}
.om-sheet[data-detent=middle]{height:auto;min-height:0;max-height:60%}
@media(min-width:800px){.om-sheet[data-detent=middle]{bottom:auto;max-height:calc(100% - 36px)}}
