/* EMI • Celular virtual: controles reais compartilhando o estado da mesma casa. */
.casa-mostrador{display:grid;grid-template-columns:minmax(0,1fr) 300px;align-items:stretch;background:#081b32}
.casa-mostrador>.casa-visual{min-width:0;align-self:center}
.emi-phone-area{min-width:0;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:7px;padding:10px 15px 11px;background:radial-gradient(circle at 52% 36%,#194676 0%,#102a4b 45%,#081d36 78%);border-left:1px solid #2a4567}
.emi-phone-topline{display:flex;align-items:center;gap:7px;font-size:10px;font-weight:800;letter-spacing:.105em;color:#a2c9f5}
.emi-phone-glint{width:6px;height:6px;border-radius:50%;background:#5ddbbe;box-shadow:0 0 0 4px #5ddbbe1c}
.emi-phone-device{width:248px;height:428px;max-width:100%;position:relative;flex-shrink:0;border:5px solid #111827;border-radius:34px;padding:4px;background:#24344b;box-shadow:0 15px 30px #010b1ac0,inset 0 0 0 1px #7687a253;overflow:hidden}
.emi-phone-device:before{content:"";position:absolute;z-index:3;width:4px;height:43px;right:-1px;top:120px;border-radius:3px;background:#607897}
.emi-phone-camera{width:67px;height:14px;border-radius:0 0 13px 13px;background:#090f1c;position:absolute;z-index:4;top:4px;left:50%;transform:translateX(-50%);pointer-events:none}
.emi-phone-screen{height:100%;border-radius:25px;background:linear-gradient(160deg,#0a1d38 0%,#0b1a31 54%,#0d233c 100%);color:#f7fbff;padding:24px 11px 10px;display:flex;flex-direction:column;gap:8px;overflow:hidden}
.emi-phone-header{display:flex;align-items:center;justify-content:space-between;gap:6px}
.emi-phone-header>div{display:flex;align-items:center;gap:7px;min-width:0}
.emi-phone-brand{font-size:17px;letter-spacing:-.07em;color:#e9f6ff;font-weight:900}
.emi-phone-brand-point{color:#46b2ff}
.emi-phone-title{font-size:11px;color:#b5cce9;font-weight:700;white-space:nowrap}
.emi-phone-demo-status{font-size:9px;color:#85dcbf;display:flex;gap:5px;align-items:center;white-space:nowrap;background:#13332f;border-radius:20px;padding:5px 7px}
.emi-phone-demo-status span{width:5px;height:5px;border-radius:50%;background:#60f0b0}
.emi-phone-intro{display:flex;flex-direction:column;gap:3px}
.emi-phone-intro strong{font-size:11px;font-weight:800;letter-spacing:-.013em}
.emi-phone-intro>span{font-size:9px;color:#b7c9e0}
.emi-phone-scenes{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:5px}
.emi-phone-scenes button{background:#182f4d;border:1px solid #2f4c6d;color:#c8dbf4;border-radius:9px;min-width:0;min-height:29px;padding:4px 5px;font-size:10px;font-weight:800;cursor:pointer;display:flex;gap:5px;align-items:center;justify-content:center}
.emi-phone-scenes button[aria-pressed="true"]{background:#1464e0;border-color:#399eff;color:#fff}
.emi-phone-scenes button:focus-visible,.emi-phone-action:focus-visible,.emi-phone-thermostat button:focus-visible{outline:2px solid #7cc9ff;outline-offset:2px}
.emi-phone-device-title{display:flex;align-items:center;justify-content:space-between;margin-top:2px}
.emi-phone-device-title strong{font-size:11px}.emi-phone-device-title span{font-size:9px;color:#7999c5}
.emi-phone-device-row,.emi-phone-light-section,.emi-phone-temperature{background:#152c49;border:1px solid #254462;border-radius:11px}
.emi-phone-device-row,.emi-phone-temperature{display:flex;align-items:center;gap:8px;padding:7px 8px;min-height:45px}
.emi-phone-mini-icon{display:flex;align-items:center;justify-content:center;flex-shrink:0;color:#8ebdff;background:#203d63;width:26px;height:26px;border-radius:8px;font-size:16px;font-weight:700}
.emi-phone-device-info{display:flex;min-width:0;flex:1;flex-direction:column;gap:3px}
.emi-phone-device-info strong,.emi-phone-light-label strong{font-size:10px;font-weight:750;white-space:nowrap}
.emi-phone-device-info span,.emi-phone-light-label output{font-size:9px;color:#9ebfe6}
.emi-phone-action{flex-shrink:0;border:1px solid #4188e3;border-radius:8px;background:#1c66cc;color:#fff;font-size:10px;font-weight:800;min-width:49px;min-height:28px;padding:5px;cursor:pointer}
.emi-phone-action:hover{background:#2880fc}
.emi-phone-action[aria-pressed="true"]{border-color:#346584;background:#27445f}
.emi-phone-light-section{padding:8px}
.emi-phone-light-label{display:flex;align-items:center;gap:8px}
.emi-phone-light-label>div{flex:1;display:flex;align-items:center;justify-content:space-between;gap:5px}
.emi-phone-light-section input[type="range"]{display:block;width:100%;margin:5px 0 0;accent-color:#3288ff;height:11px;cursor:pointer}
.emi-phone-temperature{min-height:45px}
.emi-phone-thermostat{display:flex;align-items:center;gap:4px}
.emi-phone-thermostat button{width:27px;height:27px;border-radius:7px;border:1px solid #557598;background:#23415f;color:#f4f9ff;font-size:16px;line-height:1;cursor:pointer}
.emi-phone-thermostat button:hover{background:#1765c8}
.emi-phone-footnote{margin:0;color:#9ebcdd;font-size:10px;text-align:center}
@media(max-width:1080px){.casa-mostrador{grid-template-columns:minmax(0,1fr) 278px}.emi-phone-area{padding:9px}.emi-phone-device{width:244px}}
@media(max-width:900px){
 .casa-mostrador{grid-template-columns:minmax(0,1fr)}
 .casa-mostrador>.casa-visual{width:100%}
 .emi-phone-area{border-left:0;border-top:1px solid #233e60;padding:24px 12px;gap:10px;background:radial-gradient(circle at 50% 50%,#17416d,#07192f 65%)}
 .emi-phone-device{width:262px;height:446px}
 .emi-phone-screen{gap:10px}
}
@media(max-width:650px){.emi-phone-area{padding:22px 12px}.emi-phone-device{max-width:calc(100vw - 48px)}}

