/* Living only: scale by available height without shrinking the entire UI. */
@media (orientation:landscape) and (min-width:1000px) {
 .bay-domestic.bay-domestic[data-view=living]{
  --living-gap:16px;--living-security:350px;--living-bottom:200px;--living-dock:80px;
  --living-card-pad:10px 18px;--living-title:20px;--living-climate:32px;
  padding:20px 28px;gap:16px;grid-template-rows:68px minmax(0,1fr) var(--living-dock);
 }
 .bay-domestic.bay-domestic[data-view=living]>.bay-domestic__body{grid-template-columns:320px minmax(0,1fr) var(--living-security);grid-template-rows:minmax(0,1fr) var(--living-bottom);gap:var(--living-gap)}
 .bay-domestic.bay-domestic[data-view=living] .bay-living__left{gap:12px;padding-bottom:0}
 .bay-domestic.bay-domestic[data-view=living] .bay-living__left>.bay-domestic__glass{background:linear-gradient(135deg,#224650e8,#14313fe0);padding:var(--living-card-pad)}
 .bay-domestic.bay-domestic[data-view=living] .bay-living__area-title h2,.bay-domestic.bay-domestic[data-view=living] .bay-living__music h2{font-size:var(--living-title)}
 .bay-domestic.bay-domestic[data-view=living] .bay-living__room-climate{margin:8px 0;gap:12px}
 .bay-domestic.bay-domestic[data-view=living] .bay-living__room-climate>strong{font-size:var(--living-climate);line-height:1.15}
 .bay-domestic.bay-domestic[data-view=living] .bay-living__room-climate>span{font-size:12px;line-height:16px}
 .bay-domestic.bay-domestic[data-view=living] .bay-living__room-climate small{margin-top:2px}
 .bay-domestic.bay-domestic[data-view=living] .bay-living__dimmer{margin-bottom:4px}
 .bay-domestic.bay-domestic[data-view=living] .bay-living__dimmer>label{font-size:12px}
 .bay-domestic.bay-domestic[data-view=living] .bay-living__dimmer input{height:44px}
 .bay-domestic.bay-domestic[data-view=living] .bay-living__lighting .bay-entry__sector-action>button{min-height:48px;padding:8px;font-size:14px}
 .bay-domestic.bay-domestic[data-view=living] .bay-living__curtains header{margin-bottom:7px}
 .bay-domestic.bay-domestic[data-view=living] .bay-living__curtains h2{font-size:18px;line-height:24px;font-weight:550}
 .bay-domestic.bay-domestic[data-view=living] .bay-living__curtains header>svg{width:20px;height:20px}
 .bay-domestic.bay-domestic[data-view=living] .bay-living__curtains-actions button{min-height:48px;flex-direction:row;gap:5px;padding:6px 3px;font-size:12px}
 .bay-domestic.bay-domestic[data-view=living] .bay-living__curtains-actions svg{width:16px;height:16px}
 .bay-domestic.bay-domestic[data-view=living] .bay-curtains__note{font-size:11px;line-height:14px;margin-top:6px;min-height:14px}
 .bay-domestic.bay-domestic[data-view=living] .bay-music__track{margin:7px 0;gap:3px}
 .bay-domestic.bay-domestic[data-view=living] .bay-music__track strong{font-size:14px}
 .bay-domestic.bay-domestic[data-view=living] .bay-music__browse-hint{display:flex;margin-bottom:7px}
 .bay-domestic.bay-domestic[data-view=living] .bay-living__bottom>.bay-domestic__glass{padding:12px 18px}
 .bay-domestic.bay-domestic[data-view=living] .bay-living__house>header{margin-bottom:6px}
 .bay-domestic.bay-domestic[data-view=living] .bay-living__house>header>svg{height:20px;width:20px}
 .bay-domestic.bay-domestic[data-view=living] .bay-living__house h2{font-size:18px}
 .bay-domestic.bay-domestic[data-view=living] .bay-living__floor{padding:7px 0;line-height:20px}
 .bay-domestic.bay-domestic[data-view=living] .bay-living__temperature>strong{font-size:29px;line-height:32px}
 .bay-domestic.bay-domestic[data-view=living] .bay-living__temperature sup{font-size:20px}
 .bay-domestic.bay-domestic[data-view=living] .bay-living__light-count strong{font-size:26px}
 .bay-domestic.bay-domestic[data-view=living] .bay-living__floor small{font-size:10px;line-height:14px;margin-top:2px}
 .bay-domestic.bay-domestic[data-view=living] .bay-living__future>strong{font-size:32px}
 .bay-domestic.bay-domestic[data-view=living] .bay-living__future h2,.bay-domestic.bay-domestic[data-view=living] .bay-energy h2{font-size:17px}
 .bay-domestic.bay-domestic[data-view=living] .bay-living__bottom>.bay-energy{gap:5px;justify-content:center}
 .bay-domestic.bay-domestic[data-view=living] .bay-energy__value{font-size:44px;line-height:1.1}
 .bay-domestic.bay-domestic[data-view=living] .bay-energy__label,.bay-domestic.bay-domestic[data-view=living] .bay-energy__phases,.bay-domestic.bay-domestic[data-view=living] .bay-energy__stamp{font-size:11px;line-height:1.4}
 .bay-domestic.bay-domestic[data-view=living] .bay-domestic__dock{padding:8px 12px;gap:12px;align-items:center}
 .bay-domestic.bay-domestic[data-view=living] .bay-domestic__dock>button{height:56px;min-height:52px}
 .bay-domestic.bay-domestic[data-view=living] .bay-communication-bar{gap:12px}
 .bay-domestic.bay-domestic[data-view=living] .bay-communication-bar>button,.bay-domestic.bay-domestic[data-view=living] .bay-communication-dnd>button{height:52px;min-height:52px;padding:8px 14px;font-size:16px}
 .bay-domestic.bay-domestic[data-view=living] .bay-domestic__house-mode{align-self:center;min-height:0}
 .bay-domestic.bay-domestic[data-view=living] .bay-domestic__house-mode>.bay-tablet-mode{height:56px;min-height:56px;padding:6px 14px}
 .bay-domestic.bay-domestic[data-view=living] .bay-tablet-mode small{font-size:10px;line-height:12px;margin:0}
 .bay-domestic.bay-domestic[data-view=living] .bay-tablet-mode strong{font-size:17px;line-height:21px}
 .bay-domestic.bay-domestic[data-view=living] .bay-living__header-alerts .bay-incidents__kiosk-button{min-height:60px;padding:8px 12px}
 .bay-domestic.bay-domestic[data-view=living] .bay-living__header-alerts .bay-incidents__kiosk-button>span{gap:2px;line-height:16px}
 .bay-domestic.bay-domestic[data-view=living] .bay-living__header-alerts .bay-incidents__kiosk-button strong{font-size:17px;line-height:20px}
 .bay-domestic.bay-domestic[data-view=living] .bay-living__header-alerts .bay-incidents__kiosk-button small{font-size:11px;line-height:14px}
 .bay-domestic.bay-domestic[data-view=living] .bay-living__header-alerts .bay-incidents__kiosk-button>svg{width:22px;height:22px;flex-shrink:0}
 /* Fixed-ratio previews, contiguous rows. Never stretch rows apart or distort video. */
 .bay-domestic.bay-domestic[data-view=living] .bay-tablet-security[data-layout=living] .bay-tablet-security__cameras{flex:0 1 auto;grid-template-rows:none;grid-auto-rows:max-content;gap:8px;align-content:start}
 .bay-domestic.bay-domestic[data-view=living] .bay-tablet-security[data-layout=living] .bay-tablet-camera{min-height:44px;height:auto}
 .bay-domestic.bay-domestic[data-view=living] .bay-tablet-security[data-layout=living] .bay-tablet-camera__frame{height:auto;min-height:0;max-height:none;aspect-ratio:16/9}
}
@media(orientation:landscape) and (min-width:1000px) and (max-height:950px){
 .bay-domestic.bay-domestic[data-view=living]{--living-gap:12px;--living-security:300px;--living-bottom:160px;--living-dock:76px;--living-card-pad:8px 16px;--living-title:18px;--living-climate:28px;padding:14px 22px;gap:12px;grid-template-rows:60px minmax(0,1fr) var(--living-dock)}
 .bay-domestic.bay-domestic[data-view=living]>.bay-domestic__body{grid-template-columns:290px minmax(0,1fr) 300px}
 .bay-domestic.bay-domestic[data-view=living] .bay-living__left{gap:10px}
 .bay-domestic.bay-domestic[data-view=living] .bay-living__room-climate{margin:4px 0}
 .bay-domestic.bay-domestic[data-view=living] .bay-living__dimmer input{height:44px;margin-top:-6px}
 .bay-domestic.bay-domestic[data-view=living] .bay-music__browse-hint{display:none}
 .bay-domestic.bay-domestic[data-view=living] .bay-music__track{margin:5px 0}
 .bay-domestic.bay-domestic[data-view=living] .bay-living__floor{padding:2px 0}
 .bay-domestic.bay-domestic[data-view=living] .bay-living__house>header{margin-bottom:5px}
 .bay-domestic.bay-domestic[data-view=living] .bay-living__bottom>.bay-domestic__glass{padding:10px 14px}
}
@media(orientation:landscape) and (min-width:1000px) and (max-height:760px){
 .bay-domestic.bay-domestic[data-view=living]{--living-gap:10px;--living-security:280px;--living-bottom:128px;--living-dock:66px;--living-card-pad:4px 14px;--living-title:17px;--living-climate:26px;padding:10px 18px;gap:8px;grid-template-rows:50px minmax(0,1fr) var(--living-dock)}
 .bay-domestic.bay-domestic[data-view=living]>.bay-domestic__body{grid-template-columns:260px minmax(0,1fr) 280px}
 .bay-domestic.bay-domestic[data-view=living] .bay-living__left{gap:8px}
 .bay-domestic.bay-domestic[data-view=living] .bay-domestic__dock{padding:6px 10px}
 .bay-domestic.bay-domestic[data-view=living] .bay-communication-bar{gap:8px}
 .bay-domestic.bay-domestic[data-view=living] .bay-communication-bar>button,.bay-domestic.bay-domestic[data-view=living] .bay-communication-dnd>button{height:48px;min-height:48px;padding:6px 12px;font-size:14px}
 .bay-domestic.bay-domestic[data-view=living] .bay-domestic__house-mode>.bay-tablet-mode{height:50px;min-height:50px;padding:4px 12px}
 .bay-domestic.bay-domestic[data-view=living] .bay-living__room-climate{margin:0}
 .bay-domestic.bay-domestic[data-view=living] .bay-living__room-climate>span{font-size:11px;line-height:13px}
 .bay-domestic.bay-domestic[data-view=living] .bay-living__dimmer input{height:44px;margin-top:-12px}
 .bay-domestic.bay-domestic[data-view=living] .bay-living__lighting .bay-entry__sector-action>button{min-height:44px;padding:6px;font-size:13px}
 .bay-domestic.bay-domestic[data-view=living] .bay-living__curtains header{margin-bottom:4px}
 .bay-domestic.bay-domestic[data-view=living] .bay-living__curtains h2{font-size:16px;line-height:20px}
 .bay-domestic.bay-domestic[data-view=living] .bay-living__curtains-actions button{min-height:44px}
 .bay-domestic.bay-domestic[data-view=living] .bay-curtains__note{font-size:10px;line-height:12px;margin-top:4px;min-height:12px}
 .bay-domestic.bay-domestic[data-view=living] .bay-music__track{margin:2px 0;gap:1px}
 .bay-domestic.bay-domestic[data-view=living] .bay-living__bottom>.bay-domestic__glass{padding:6px 12px}
 .bay-domestic.bay-domestic[data-view=living] .bay-living__house>header{margin-bottom:3px}
 .bay-domestic.bay-domestic[data-view=living] .bay-living__house h2{font-size:16px}
 .bay-domestic.bay-domestic[data-view=living] .bay-living__floor{padding:2px 0;line-height:18px}
 .bay-domestic.bay-domestic[data-view=living] .bay-living__temperature>strong{font-size:23px;line-height:24px}
 .bay-domestic.bay-domestic[data-view=living] .bay-living__temperature sup{font-size:14px}
 .bay-domestic.bay-domestic[data-view=living] .bay-living__floor small{font-size:9px;line-height:12px;margin-top:0}
 .bay-domestic.bay-domestic[data-view=living] .bay-living__bottom>.bay-energy{gap:3px}
 .bay-domestic.bay-domestic[data-view=living] .bay-energy__value{font-size:30px}
 .bay-domestic.bay-domestic[data-view=living] .bay-energy__label,.bay-domestic.bay-domestic[data-view=living] .bay-energy__phases,.bay-domestic.bay-domestic[data-view=living] .bay-energy__stamp{font-size:10px;line-height:1.3}
 .bay-domestic.bay-domestic[data-view=living] .bay-tablet-security[data-layout=living] .bay-tablet-camera:first-child{grid-column:auto}
 .bay-domestic.bay-domestic[data-view=living] .bay-tablet-security[data-layout=living] .bay-tablet-camera:first-child .bay-tablet-camera__label{font-size:11px;padding-top:8px}
 .bay-domestic.bay-domestic[data-view=living] .bay-living__header-alerts .bay-incidents__kiosk-button{min-height:48px;padding:6px 12px}
 .bay-domestic.bay-domestic[data-view=living] .bay-living__header-alerts .bay-incidents__kiosk-button strong{font-size:14px;line-height:16px}
 .bay-domestic.bay-domestic[data-view=living] .bay-living__header-alerts .bay-incidents__kiosk-button small{font-size:10px;line-height:12px}
}
.bay-living__header-alerts{width:220px;flex-shrink:0}
.bay-living__header-alerts .bay-incidents[data-kiosk=true]{padding:0;border:0;background:none;box-shadow:none;backdrop-filter:none}
.bay-living__header-alerts .bay-incidents__kiosk-button{min-height:60px;width:100%}
.bay-living__bottom>.bay-energy[data-compact=true]{overflow:visible;justify-content:center;gap:5px;padding:12px 20px}
@media(max-width:1350px){.bay-living__header-alerts{width:180px}.bay-living__bottom>.bay-energy[data-compact=true]{gap:3px;padding:10px 14px}.bay-living__bottom .bay-energy__value{font-size:30px}.bay-living__bottom .bay-energy__phases{gap:7px}}
@media(orientation:portrait),(max-width:740px){.bay-domestic[data-view=living] .bay-domestic__header{flex-wrap:wrap}.bay-domestic[data-view=living] .bay-domestic__header-context{flex-wrap:wrap}.bay-living__header-alerts{width:170px}}
.bay-domestic[data-view=living]{--living-gap:18px;--living-security:350px;padding:22px 28px;gap:18px;grid-template-rows:72px minmax(0,1fr) 80px}
.bay-domestic[data-view=living] .bay-domestic__landscape{bottom:clamp(140px,17vh,200px)}
.bay-domestic[data-view=living] .bay-domestic__landscape img{object-fit:cover;object-position:center}
.bay-domestic[data-view=living] .bay-domestic__shade{background:linear-gradient(180deg,#071d2e77,transparent 35%,#061c2999)}
.bay-domestic[data-view=living] .bay-domestic__body{position:relative;grid-template-columns:300px minmax(0,1fr) var(--living-security);grid-template-rows:minmax(0,1fr) 240px;gap:var(--living-gap)}
.bay-domestic[data-view=living] .bay-domestic__right{grid-column:3;grid-row:1;overflow:hidden;overscroll-behavior:contain}
.bay-domestic[data-view=living] .bay-domestic__right>.bay-tablet-security{flex:1;min-height:0}
.bay-domestic[data-view=living] .bay-tablet-security__cameras{overflow:auto;overscroll-behavior:contain}
.bay-domestic[data-view=living] .bay-domestic__right>.bay-incidents{flex-shrink:0}
.bay-living-panel{display:contents}
.bay-living__left{grid-column:1;grid-row:1;display:flex;flex-direction:column;gap:16px;min-height:0;overflow:auto;overscroll-behavior:contain}
.bay-living__curtains{flex-shrink:0;padding:14px 18px;border-radius:25px;background:linear-gradient(135deg,#224650e8,#14313fe0)}
.bay-living__curtains header{display:flex;align-items:center;gap:8px;margin-bottom:10px}
.bay-living__curtains h2{font-size:17px}.bay-living__curtains header>svg{width:20px;color:var(--dom-accent)}
.bay-living__curtains header>small{margin-left:auto;font-size:10px;color:var(--dom-muted)}
.bay-living__curtains-actions{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:7px}
.bay-domestic .bay-living__curtains-actions button{min-height:52px;min-width:0;padding:6px 3px;border-radius:13px;display:flex;flex-direction:column;gap:4px;font-size:12px}
.bay-living__curtains-actions svg{width:18px;height:18px}
.bay-curtains__note{display:block;font-size:11px;color:var(--dom-muted);margin-top:6px;min-height:14px}
.bay-portable .bay-living__curtains-actions button{min-height:56px;display:flex;align-items:center;justify-content:center;gap:6px;border-radius:14px;color:inherit;border:1px solid #ffffff36;background:#75dcca24}
.bay-portable .bay-living__curtains-actions button:disabled{opacity:.4}
.bay-living__detail-summary{margin:0 0 14px;color:var(--dom-muted);font-size:14px}
.bay-living__detail-scroll>.bay-entry__sector-action{margin-bottom:20px}
.bay-living__lighting,.bay-living__music{flex-shrink:0;padding:18px 21px;border-radius:25px;background:linear-gradient(135deg,#224650e8,#14313fe0)}
.bay-living__lighting>header{display:flex;align-items:center;justify-content:space-between;gap:8px}
.bay-domestic .bay-living__area-title{padding:0;background:none;border:0;justify-content:flex-start;min-width:0;min-height:44px}
.bay-domestic .bay-living__area-title h2{font-size:19px}
.bay-domestic .bay-living__area-title svg{width:20px;color:var(--dom-accent)}
.bay-domestic .bay-living__area-switch{min-height:44px;border-radius:13px;padding:8px;font-size:12px;gap:6px;background:#bdd9d912;color:var(--dom-muted)}
.bay-living__room-climate{display:flex;align-items:center;gap:14px;margin:14px 0}
.bay-living__room-climate>strong{font-size:34px;font-weight:450;letter-spacing:-1px}
.bay-living__room-climate sup{font-size:22px}.bay-living__room-climate>span{font-size:12px;color:var(--dom-muted)}
.bay-living__room-climate small{display:block;margin-top:4px}
.bay-living__dimmer{margin-bottom:8px}.bay-living__dimmer>label{display:flex;justify-content:space-between;gap:8px;font-size:13px}
.bay-living__dimmer input{display:block;width:100%;height:44px;margin:0;accent-color:var(--dom-accent);cursor:pointer}
.bay-living__dimmer input:disabled{cursor:default;opacity:.5}
.bay-living__dimmer>small{display:block;color:var(--dom-muted);font-size:11px}
.bay-domestic .bay-living__dimmer>button{width:100%;min-height:44px;font-size:13px;margin-top:6px}
.bay-living__lighting .bay-entry__sector-action>button{width:100%;min-height:48px;border:1px solid #8de4d666;background:#86dbcb1f;border-radius:15px;font-size:14px}
.bay-living__lighting .bay-entry__sector-action>small{display:block;text-align:center;color:var(--dom-muted);font-size:10px;margin-top:4px}
.bay-domestic .bay-living__lights-detail{width:100%;justify-content:space-between;text-align:left;border:0;background:none;padding:5px 0;min-height:44px;font-size:11px;color:var(--dom-muted)}
.bay-living__lights-detail svg{width:16px}
.bay-living__music header{display:flex;align-items:center;gap:10px}.bay-living__music h2{font-size:21px}.bay-living__music header>svg{color:var(--dom-accent)}.bay-living__music header>small{margin-left:auto;letter-spacing:1px;font-size:10px}
.bay-living__music-art{display:flex;align-items:center;gap:12px;margin:17px 0}.bay-living__music-art>svg{padding:12px;border-radius:15px;width:52px;height:52px;background:linear-gradient(135deg,#d4ba7a88,#6daab544);color:#f5efd8}.bay-living__music-art>span{font-size:17px}.bay-living__music-art small{display:block;color:var(--dom-muted);font-size:11px;margin-top:4px}
.bay-living__music p{color:var(--dom-accent);font-size:13px;margin-bottom:7px}.bay-living__music>small{display:block;color:var(--dom-muted);font-size:11px;line-height:1.5}
.bay-living__bottom{grid-row:2;grid-column:1/-1;display:grid;grid-template-columns:1.9fr 1fr 1fr;gap:14px;min-width:0;min-height:0}
.bay-living__bottom>*{min-height:0;max-height:100%;overflow:auto;overscroll-behavior:contain}
.bay-living__bottom>.bay-energy{padding:16px 22px;gap:5px}
.bay-living__bottom>.bay-energy details{flex-shrink:0}
@media(orientation:landscape) and (max-height:1150px){
 .bay-living__left{gap:10px;scrollbar-width:thin;scrollbar-color:#9ce2d66b transparent;padding-bottom:2px}
 .bay-living__curtains{padding:10px 18px}
 .bay-living__curtains header{margin-bottom:6px}
 .bay-living__lighting,.bay-living__music{padding:10px 21px}
 .bay-living__room-climate{margin:7px 0}
 .bay-living__music-art{margin:10px 0}
 .bay-living__music-art>svg{width:44px;height:44px;padding:9px}
 .bay-living__music>small{display:none}
}
@media(orientation:portrait),(max-width:740px){
 .bay-domestic[data-view=living] .bay-domestic__landscape{bottom:0}
 .bay-living__bottom>*{max-height:none;overflow:visible}
}
.bay-domestic .bay-living__house{display:block;text-align:left;padding:16px 22px;min-width:0;background:linear-gradient(135deg,#20424ce8,#142f3ce8);border-radius:25px}
.bay-living__house>header{display:flex;gap:10px;align-items:center;margin-bottom:7px}.bay-living__house h2{font-size:20px}.bay-living__house>header>svg{color:var(--dom-accent);width:20px}.bay-living__house>header>svg:last-child{margin-left:auto}
.bay-living__floor{display:grid;grid-template-columns:1.05fr 1fr 1fr 1.2fr;align-items:center;gap:12px;padding:9px 0;border-top:1px solid #e4f8f31a}
.bay-living__floor-name{display:flex;align-items:center;gap:9px;font-size:13px}.bay-living__floor-name>b{display:grid;place-items:center;font-size:12px;font-weight:500;background:#c8efeb12;border-radius:9px;width:38px;height:38px;flex-shrink:0}
.bay-living__temperature>strong{font-size:29px;font-weight:450;letter-spacing:-1px}.bay-living__temperature sup{font-size:20px}
.bay-living__floor small{display:block;font-size:10px;line-height:1.5;color:var(--dom-muted);margin-top:2px}
.bay-living__light-count>span{display:flex;align-items:center;gap:8px}.bay-living__light-count svg{width:20px;color:#f0d594}.bay-living__light-count strong{font-size:26px;font-weight:450}
.bay-living__air-count>span{display:flex;gap:6px}.bay-living__air-count i{display:grid;place-items:center;width:30px;height:30px;border-radius:8px;color:#a7b5bc;background:#c7e5df0a;font-style:normal}
.bay-living__air-count i svg{width:19px;height:19px}.bay-living__air-count i[data-state=on]{background:#a9f5e52b;color:#b1ede1}.bay-living__air-count i[data-state=unknown]{border:1px dashed #bdcfd244;color:#c2d0d5}
.bay-living__future{padding:24px;display:flex;flex-direction:column;justify-content:space-between;background:linear-gradient(135deg,#224650e8,#142f3ce8);min-width:0;border-radius:25px}
.bay-living__future>header{display:flex;align-items:center;gap:8px}.bay-living__future h2{font-size:17px;font-weight:500}.bay-living__future header>small{margin-left:auto;font-size:8px;letter-spacing:1px;color:var(--dom-muted)}.bay-living__future header>svg{width:20px}
.bay-living__future>strong{font-size:32px;font-weight:450}.bay-living__future>strong>span{font-size:13px;color:var(--dom-muted)}.bay-living__future>p{font-size:12px;color:var(--dom-muted)}
.bay-living__detail{position:absolute;inset:0 calc(var(--living-security) + var(--living-gap)) 0 0;z-index:3;display:flex;flex-direction:column;background:linear-gradient(135deg,#14353efc,#132c3afa);overflow:hidden}
.bay-living__detail>header{display:flex;justify-content:space-between;align-items:center;padding:18px 24px;border-bottom:1px solid #d9efed22}.bay-living__detail>header small{color:var(--dom-accent);letter-spacing:2px;font-size:10px}.bay-living__detail h2{margin-top:4px;font-size:25px}.bay-living__detail>header>button{width:52px;padding:10px}.bay-living__detail-scroll{padding:24px;overflow:auto;min-height:0;flex:1}.bay-living__detail>footer{padding:12px 24px;border-top:1px solid #d9efed22;color:var(--dom-muted);font-size:11px}
.bay-living__light-list{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px}.bay-living__note{font-size:12px!important;line-height:1.6;color:var(--dom-muted);margin-top:16px!important}
.bay-living__room-floor+section{margin-top:22px}.bay-living__room-floor>h3{font-size:16px;color:var(--dom-muted);margin:0 0 12px}.bay-living__room-floor>div{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px}
.bay-living__room{padding:18px;border:1px solid #d8ece927;border-radius:20px;background:#abd8d608}.bay-living__room>header{display:flex;gap:8px;align-items:center;margin-bottom:14px}.bay-living__room h3{font-size:16px;font-weight:500}.bay-living__room>strong{font-size:32px;font-weight:450}.bay-living__room>span{display:flex;align-items:center;gap:6px;font-size:12px;color:var(--dom-muted);margin:10px 0}.bay-living__room>span[data-state=on]{color:var(--dom-accent)}.bay-living__room>p{display:flex;gap:6px;font-size:11px;line-height:1.5;color:var(--dom-muted)}.bay-living__room>p>svg,.bay-living__room>span>svg{width:17px;height:17px}
.bay-living__all-lights{margin-top:28px;padding-top:20px;border-top:1px solid #d8ece927}.bay-living__all-lights>h3{display:flex;align-items:center;justify-content:space-between;font-size:18px}.bay-living__all-lights small{color:var(--dom-muted);font-weight:400}.bay-living__all-lights h4{font-size:13px;font-weight:500;color:var(--dom-muted);margin:20px 0 8px}.bay-living__space-lights{display:flex;align-items:center;gap:10px;min-height:52px;border-top:1px solid #d8ece914;font-size:13px}.bay-living__space-lights>svg{width:18px;color:#f0d594}.bay-living__space-lights>strong{font-weight:500}.bay-living__space-lights>span{margin-left:auto;font-size:12px;color:var(--dom-muted);text-align:right}
@media(min-width:2100px){.bay-domestic[data-view=living]{--living-security:400px;padding:30px 40px;grid-template-rows:90px minmax(0,1fr) 90px}.bay-domestic[data-view=living] .bay-domestic__body{grid-template-columns:340px minmax(0,1fr) var(--living-security);grid-template-rows:minmax(0,1fr) 240px}.bay-living__lighting,.bay-living__music{padding:24px}}
@media(max-width:1350px) and (orientation:landscape){.bay-domestic[data-view=living]{--living-security:280px;--living-gap:12px;padding:12px 18px;gap:12px;grid-template-rows:58px minmax(0,1fr) 68px}.bay-domestic[data-view=living] .bay-domestic__body{grid-template-columns:260px minmax(0,1fr) var(--living-security);grid-template-rows:minmax(0,1fr) 174px}.bay-living__lighting,.bay-living__music{padding:12px 16px}.bay-living__room-climate{margin:7px 0}.bay-living__music-art{margin:10px 0}.bay-living__bottom{grid-template-columns:2.1fr 1fr 1fr;gap:10px}.bay-domestic .bay-living__house{padding:10px 14px}.bay-living__house h2{font-size:17px}.bay-living__floor{gap:6px;padding:6px 0}.bay-living__floor-name>span{display:none}.bay-living__floor-name>b{width:30px;height:32px}.bay-living__floor{grid-template-columns:30px .9fr 1fr 1.3fr}.bay-living__temperature>strong{font-size:25px}.bay-living__floor small{font-size:9px}.bay-living__air-count i{width:23px;height:26px}.bay-living__air-count i svg{width:16px}.bay-living__future{padding:16px}.bay-living__future header{flex-wrap:wrap}.bay-living__future header>small{width:100%;margin-left:28px}.bay-living__room-floor>div{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(orientation:portrait),(max-width:740px){.bay-domestic[data-view=living]{display:flex;height:auto;min-height:100dvh;overflow-x:clip;overflow-y:visible;padding:14px;gap:16px}.bay-domestic[data-view=living] .bay-domestic__body{display:flex;flex-direction:column;gap:16px;overflow:visible}.bay-living__left{max-width:none;overflow:visible}.bay-living__bottom{display:grid;grid-template-columns:1fr 1fr}.bay-living__house{grid-column:1/-1}.bay-living__future{min-height:160px;padding:16px}.bay-domestic .bay-living__house{padding:14px}.bay-living__floor{grid-template-columns:34px .9fr 1fr 1.2fr;gap:6px}.bay-living__floor-name>span{display:none}.bay-living__floor-name>b{width:30px}.bay-living__floor small{font-size:9px}.bay-living__house h2{font-size:18px}.bay-living__temperature>strong{font-size:25px}.bay-living__air-count i{width:22px;height:26px}.bay-living__air-count i svg{width:15px}.bay-living__air-count>span{gap:3px}.bay-living__detail{position:fixed;inset:10px;max-height:calc(100dvh - 20px);z-index:5}.bay-living__detail-scroll{padding:16px}.bay-living__light-list,.bay-living__room-floor>div{grid-template-columns:1fr}.bay-living__future header{flex-wrap:wrap}.bay-living__future header>small{width:100%;margin-left:28px}}
