/* Shared styles for the drawings of the demo home. */
.cutaway { width: 100%; height: auto; display: block; }
.cutaway .room rect, .cutaway .room path { fill: #f6faf9; stroke: #cfe0dd; stroke-width: 1.5; cursor: pointer; transition: fill .25s; }
.cutaway .room text { font: 700 11px var(--sans); fill: #47606a; pointer-events: none; }
.cutaway .room:hover rect, .cutaway .room:hover path { fill: #e7f2f0; }
.cutaway .room.sel rect, .cutaway .room.sel path { fill: #fff1d9; stroke: #f0a030; }
.cutaway .room.sel text { fill: #8a5a10; }
.cutaway .boiler, .cutaway .pipes, .cutaway .shower { opacity: 0; transition: opacity .4s; }
.cutaway.placed .boiler { opacity: 1; }
.cutaway.flowing .pipes, .cutaway.flowing .shower { opacity: 1; }
.cutaway.flowing .pipes path { animation: flow 1.2s linear infinite; }
@keyframes flow { to { stroke-dashoffset: -22; } }
.cutaway.flowing .shower path + path { animation: drip .9s ease-in-out infinite; }
@keyframes drip { 50% { transform: translateY(2px); opacity: .6; } }
.aerial-wrap { position: relative; margin: 0 -18px; height: 360px; overflow: hidden; background: #a8cf94; }
.aerial-wrap svg { width: 100%; height: 100%; display: block; }
.aerial-wrap .plotline { animation: march 1.4s linear infinite; }
@keyframes march { to { stroke-dashoffset: -6.4; } }
.aerial-wrap .pin { animation: bob 2s ease-in-out infinite; }
@keyframes bob { 50% { transform: translateY(-1.5px); } }
.aerial-wrap .tag { position: absolute; left: 14px; top: 14px; background: rgba(255,255,255,.92); border-radius: 10px; padding: 7px 10px; font: 800 12.5px var(--sans); color: #17252e; box-shadow: 0 4px 12px rgba(0,0,0,.12); }
.aerial-wrap .tag small { display: block; font-weight: 600; color: #5d6c75; font-size: 11px; }
.aerial-wrap .scan { position: absolute; inset: 0; background: linear-gradient(180deg, rgba(255,255,255,0) 0%, rgba(255,255,255,.55) 50%, rgba(255,255,255,0) 100%); height: 40%; animation: scan 1.6s ease-in-out 1; transform: translateY(-100%); pointer-events: none; }
@keyframes scan { to { transform: translateY(260%); } }
.confirm { margin: -26px 0 0; position: relative; z-index: 2; background: #fff; border-radius: 18px; box-shadow: 0 12px 30px rgba(0,0,0,.14); padding: 16px; }
.facts { list-style: none; margin: 0; padding: 0; border: 1.5px solid #e3e9ec; border-radius: 16px; overflow: hidden; }
.facts li { display: flex; align-items: center; gap: 12px; padding: 12px 14px; border-bottom: 1px solid #eef2f4; font-size: 14.5px; opacity: 0; transform: translateY(6px); transition: opacity .35s, transform .35s; }
.facts li.in { opacity: 1; transform: none; }
.facts li:last-child { border-bottom: 0; }
.facts li .k { color: #5d6c75; width: 104px; flex: none; font-size: 13px; }
.facts li .v { font-weight: 800; }
.facts li .chg { margin-left: auto; font-size: 12.5px; font-weight: 700; color: #0f5c56; }
.src-note { display: flex; gap: 8px; align-items: center; font-size: 12px; color: #5d6c75; margin: 10px 2px 0; line-height: 1.35; }
.src-note b { color: #17252e; }
.epc { display: inline-grid; place-items: center; width: 26px; height: 20px; border-radius: 4px; background: #f5c331; color: #2b2b2b; font-weight: 800; font-size: 12px; }
.needs { display: grid; gap: 10px; margin-top: 14px; }
.need { display: flex; gap: 12px; align-items: center; padding: 12px 14px; border-radius: 14px; background: #f5f9f8; font-size: 14px; line-height: 1.35; }
.need .n { flex: none; width: 38px; height: 38px; border-radius: 12px; background: #0f5c56; color: #fff; display: grid; place-items: center; font: 800 15px var(--sans); }
