/* ha-floorplan stylesheet. Element ids = HA area_id (spaces) or entity_id (devices). */
.space { transition: fill 0.4s; }
.occupied { fill: #ffe9a8 !important; }
.motion-on { fill: #ffd27a !important; }
.door-open, .window-open { stroke: #d33 !important; }
.temp-cold { fill: #cfe3ff !important; }
.temp-ok   { fill: #e7f5e9 !important; }
.temp-hot  { fill: #ffd9c7 !important; }
.temp-unknown { fill: #eceff1 !important; }   /* unavailable, unknown or not a number */
/* Devices are <g id=entity_id class="device c-<category>"> holding a backdrop .ico-bg and a glyph in currentColor. */
.sensor-on > .ico-bg { fill: #d33 !important; }
.sensor-off > .ico-bg { fill: #6c757d !important; }
.state-on > .ico-bg, .state-unlocked > .ico-bg, .state-open > .ico-bg { fill: #d33 !important; }
.state-off > .ico-bg, .state-locked > .ico-bg, .state-closed > .ico-bg { fill: #2e8b57 !important; }
.sensor-on, .sensor-off, .state-on, .state-unlocked, .state-open, .state-off, .state-locked, .state-closed { color: #fff !important; }
/* Lights and fans: lit when on, plain when off. */
.c-lighting.state-on > .ico-bg { fill: #ffd54f !important; }
.c-climate.state-on > .ico-bg { fill: #b2ebf2 !important; }
.c-lighting.state-on, .c-climate.state-on { color: #37474f !important; }
.c-lighting.state-off > .ico-bg, .c-climate.state-off > .ico-bg { fill: #fff !important; }
.c-lighting.state-off, .c-climate.state-off { color: #90a4ae !important; }
