:root{color-scheme:dark}*{box-sizing:border-box}body{margin:0;background:#252626;color:#dedfdf;font:300 16px Roboto,Arial,sans-serif;min-height:100dvh;isolation:isolate;overflow-x:hidden}.texture{position:fixed;inset:0;background:radial-gradient(ellipse at 10% 70%,#6c6d6d55,transparent 65%),linear-gradient(130deg,#393b3a,#1e2020 70%);z-index:-5}.texture:after{content:'';position:absolute;inset:0;opacity:.24;background:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='200' height='200'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.7' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Cpath fill='%23aaa' filter='url(%23n)' opacity='.55' d='M0 0h200v200H0z'/%3E%3C/svg%3E")}.ribbon{position:fixed;pointer-events:none;z-index:-4;background:#b5b7b318;transform:rotate(35deg);height:30vw;width:160vw;left:-35vw;top:27vh;border-top:1px solid #ffffff08;border-bottom:1px solid #0003}.ribbon-two{transform:rotate(-36deg);left:21vw;top:53vh;width:110vw;height:13vw;background:#d3d5cf0b}.watermark{position:fixed;right:-7vw;bottom:-15vw;font:bold 68vw/.9 Arial;color:#c1c4bb0a;pointer-events:none;z-index:-3;transform:skewX(-9deg)}.watermark>span{position:absolute;top:36%;left:1%;right:0;height:1.3vw;background:#20222155}button,input{font:inherit}button{background:none;border:0;color:inherit;cursor:pointer}button,a{touch-action:manipulation;-webkit-tap-highlight-color:transparent}button:focus-visible,a:focus-visible{outline:2px solid #c39a2e;outline-offset:4px}a{color:#d7bf80;text-decoration:none}header{height:139px;position:relative;display:flex;align-items:flex-start;justify-content:space-between;padding:35px 3.5vw 0}#brand{height:45px;width:45px;display:grid;place-items:center}#brand>span{font:400 30px Arial;position:relative;color:#cbd0ca}#brand i{position:absolute;left:-3px;right:-3px;top:16px;height:3px;border-top:1px solid #252827;border-bottom:1px solid #c39a2e}.room-heading{position:absolute;left:50%;top:19px;transform:translateX(-50%);text-align:center}.page-dots{display:flex;justify-content:center;gap:5px;height:19px;align-items:center}.page-dots button{padding:0;width:6px;height:6px;border:1px solid #b9beb7;opacity:.5;border-radius:1px}.page-dots .selected{background:#dce0d7;opacity:1}#room-switch{display:grid;place-items:center;padding:7px 22px;min-width:180px}#room-name{font-size:27px;font-weight:300;letter-spacing:-.7px;white-space:nowrap}#room-switch small{font:300 17px Roboto;margin-top:4px;color:#b8beb7;line-height:.8}#fullscreen{font-size:24px;opacity:.5;margin:2px 0;padding:8px}main{max-width:1240px;padding:0 6vw;margin:0 auto 115px;min-height:calc(100dvh - 254px);display:flex;flex-direction:column;justify-content:center}.tile-grid{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));border:1px solid #10131347;border-radius:1px;background:#55595707}.tile{min-height:clamp(165px,23vh,240px);padding:24px 12px 19px;border-right:1px solid #10131361;border-bottom:1px solid #10131361;box-shadow:inset -1px 0 #ffffff05,inset 0 -1px #ffffff05;display:flex;align-items:center;justify-content:center;flex-direction:column;gap:14px;position:relative;transition:background .2s}.tile:nth-child(5n){border-right:0}.tile:nth-last-child(-n+5){border-bottom:0}.tile:hover{background:#dfe7d111}.tile:active{background:#dfe7d11e}.tile.active{background:radial-gradient(ellipse at 50% 38%,#d6ba5d19,transparent 70%)}.tile>svg{height:76px;width:76px;filter:drop-shadow(1px 5px 3px #0006)}.tile strong{font-size:17px;font-weight:300;letter-spacing:-.5px;text-shadow:0 1px 3px #0009;text-align:center}.tile small{display:block;margin-top:-9px;color:#a7ada7;font-size:12px;text-align:center}.tile .activity{position:absolute;top:16px;right:15px;height:4px;width:4px;background:#cfb665;border-radius:50%;box-shadow:0 0 5px #c39a2e66}.page-name{text-align:center;margin-top:27px;font-size:8px;letter-spacing:.2em;color:#a1a8a080}footer{position:fixed;bottom:0;left:0;right:0;height:83px;padding:0 3.3vw;display:flex;align-items:center;justify-content:space-between;z-index:3;background:linear-gradient(transparent,#22262566)}#clock{font-size:23px;letter-spacing:-1px;color:#c5ccc5}.demo{font-size:7px;letter-spacing:.18em;color:#a0aaa17a}#weather{display:flex;align-items:center;gap:7px;color:#cbd3cb;font-size:25px;font-weight:300}#weather svg{height:31px;width:39px}dialog{background:linear-gradient(145deg,#414742f5,#242a26fc);border:1px solid #d1d9cf35;border-radius:9px;color:#e5ebe1;max-width:94vw;width:510px;max-height:85dvh;padding:26px;box-shadow:0 25px 100px #0008}dialog::backdrop{background:#10181180;backdrop-filter:blur(6px)}.panel-heading{display:flex;align-items:center;justify-content:space-between;border-bottom:1px solid #ffffff20;padding-bottom:20px;margin-bottom:22px}.panel-heading small{color:#adb9a9;letter-spacing:.16em;font-size:8px}.panel-heading h2{font-size:24px;font-weight:300;margin:9px 0 0}.panel-heading>button{height:35px;width:35px;border:1px solid #ffffff30;border-radius:50%;font-size:13px}#panel-content p{font-size:12px;color:#b2c0af;line-height:1.8}.control-row{display:flex;align-items:center;justify-content:space-between;gap:18px;padding:18px 0;border-bottom:1px solid #ffffff13}.control-row strong{font-weight:400;font-size:14px}.control-row small{display:block;margin-top:6px;color:#aab9a6;font-size:11px}.control-row button,.action{border:1px solid #bcc7af55;background:#ffffff08;border-radius:5px;padding:11px 16px;font-size:12px;color:#d5dfcd}.action{display:inline-block;margin:6px 6px 6px 0}.control-row button:disabled{opacity:.35}input[type=range]{width:100%;accent-color:#c6b47e;margin:22px 0;height:5px;cursor:pointer}.thermo{display:flex;align-items:center;justify-content:center;gap:35px;margin:25px 0}.thermo b{font-size:59px;font-weight:300}.thermo button{width:39px;height:39px;border:1px solid #ffffff40;border-radius:50%;font-size:24px}.room-choice{display:flex;justify-content:space-between;align-items:center;width:100%;text-align:left;padding:19px;border-bottom:1px solid #ffffff20;font-size:17px}.room-choice small{color:#a9b8a2;font-size:11px}.remote{display:grid;grid-template-columns:repeat(3,50px);gap:9px;justify-content:center;margin:23px}.remote button{border:1px solid #c0ceb455;background:#ffffff07;border-radius:8px;height:48px;font-size:20px}.remote .invisible{visibility:hidden}.remote .ok{color:#d9c38b;font-size:13px;border-color:#b9a56b}.camera-placeholder{min-height:175px;display:grid;place-items:center;border:1px solid #ffffff15;background:#14211755;border-radius:6px;color:#a5b69e;font-size:12px}.setting-row{display:flex;align-items:center;gap:12px;min-height:45px;font-size:12px}.setting-row input{accent-color:#c39a2e;width:17px;height:17px}#toast{position:fixed;left:50%;bottom:100px;transform:translateX(-50%);background:#d7c89f;color:#273323;border-radius:6px;padding:12px 20px;font-size:12px;max-width:90vw;z-index:30;display:none}#toast.show{display:block}@media(min-width:1650px){main{max-width:1500px}.tile>svg{height:90px;width:90px}.tile strong{font-size:20px}.tile small{font-size:13px}.tile{gap:18px}}@media(max-width:900px){header{height:123px}main{padding:0 5vw;min-height:calc(100dvh - 220px);margin-bottom:97px}.tile{min-height:clamp(145px,22vh,210px);gap:12px;padding:20px 8px}.tile>svg{height:62px;width:62px}.tile strong{font-size:14px}.tile small{font-size:10px}#room-name{font-size:24px}footer{height:75px}.demo{font-size:6px}}@media(max-width:600px){header{height:114px;padding-top:31px}.room-heading{top:17px}#room-name{font-size:23px}#brand>span{font-size:25px}#brand i{top:14px}#fullscreen{font-size:21px}main{min-height:0;justify-content:flex-start;padding:15px 6vw 0;margin-bottom:100px}.tile-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.tile{min-height:162px;border-right:1px solid #10131361!important;border-bottom:1px solid #10131361!important}.tile:nth-child(2n){border-right:0!important}.tile:nth-last-child(-n+2){border-bottom:0!important}.tile>svg{height:65px;width:65px}.tile strong{font-size:17px}.tile small{font-size:11px}footer{height:65px;padding:0 22px;backdrop-filter:blur(6px);background:#252b25dc}#clock{font-size:21px}#weather{font-size:23px}.demo{font-size:5px;max-width:110px;text-align:center;line-height:1.8}#toast{bottom:82px;font-size:11px}.page-name{margin-top:20px}}@media(prefers-reduced-motion:reduce){*{transition:none!important}}

.custom-wallpaper{position:fixed;inset:0;z-index:-3;pointer-events:none;background-position:center;background-repeat:no-repeat;transition:opacity .12s}body.has-wallpaper:not(.wallpaper-pattern) .ribbon,body.has-wallpaper:not(.wallpaper-pattern) .watermark{display:none}.tile{background:rgba(25,29,27,var(--tile-opacity,.08))}.tile.active{background:radial-gradient(ellipse at 50% 38%,#d6ba5d19,transparent 70%),rgba(25,29,27,var(--tile-opacity,.08))}.appearance-settings{padding-bottom:20px;border-bottom:1px solid #ffffff20;margin-bottom:20px}.appearance-settings h3{font-weight:400;font-size:17px;margin:0 0 8px}.background-options{display:grid;grid-template-columns:repeat(3,1fr);gap:9px;margin:17px 0}.background-options button{min-height:67px;background:#303b31;border:1px solid #ffffff30;border-radius:5px;font-size:10px;padding:12px 8px;color:white;text-shadow:0 1px 3px #000}.background-options .living-preset{background:linear-gradient(#0005,#0008),url('./photos/living.jpg') center/cover}.background-options .bedroom-preset{background:linear-gradient(#0005,#0008),url('./photos/bedroom.jpg') center/cover}.background-options button.chosen{outline:2px solid #c39a2e;outline-offset:1px}.upload-background{cursor:pointer;font-size:12px!important}.appearance-slider-label{display:flex;justify-content:space-between;align-items:center;margin-top:18px;font-size:12px}.appearance-slider-label b{font-weight:400;color:#d5c18e}.appearance-settings input[type=range]{margin:18px 0 6px}.appearance-label{display:block;margin:20px 0 9px;font-size:12px}.appearance-settings select{background:#273027;border:1px solid #ffffff30;border-radius:5px;color:#d9e0d0;font:inherit;font-size:12px;padding:12px;width:100%}.appearance-settings .setting-row{line-height:1.6;margin:13px 0}.appearance-settings #background-file{font-size:10px;color:#a5b39c;overflow-wrap:anywhere}body.has-wallpaper .tile strong,body.has-wallpaper #room-name,body.has-wallpaper #clock{text-shadow:0 2px 4px #000,0 0 14px #0008}

#customize-home{position:absolute;right:85px;top:45px;font-size:19px;color:#aab7a9;padding:8px}.tile-grid{grid-template-columns:repeat(var(--layout-columns,5),minmax(0,1fr))}.tile{border-right:1px solid #10131361!important;border-bottom:1px solid #10131361!important}.tile .uploaded-icon{width:76px;height:76px;object-fit:contain;filter:drop-shadow(1px 5px 3px #0006)}#customizer{width:1060px;max-height:92dvh}.custom-layout{display:grid;grid-template-columns:210px minmax(0,1fr);gap:25px}.custom-rooms{padding-right:20px;border-right:1px solid #ffffff20}.custom-rooms h3,.custom-content h3{font-size:15px;font-weight:400;margin:18px 0 12px}.custom-rooms label,.custom-content label:not(.action){display:block;font-size:11px;color:#afbea8;margin:13px 0 7px}#customizer input:not([type=checkbox]):not([type=file]),#customizer select{background:#263026;border:1px solid #ffffff30;border-radius:5px;padding:11px;color:#e0e8d8;min-width:0;width:100%;font:inherit;font-size:12px}#custom-room-list{display:grid;gap:6px}#custom-room-list button{display:flex;justify-content:space-between;gap:10px;text-align:left;align-items:center;padding:11px;border:1px solid #ffffff17;border-radius:5px;font-size:12px;overflow-wrap:anywhere}#custom-room-list .selected{border-color:#c39a2e88;background:#c39a2e15}#custom-room-list small{font-size:10px;color:#9cae93}.custom-room-heading{display:flex;align-items:flex-end;gap:8px}.custom-room-heading>div{flex:1}.custom-room-heading .action{margin-bottom:0;font-size:10px;white-space:nowrap;padding:11px}.custom-hint{font-size:10px!important}.custom-toolbar{margin:12px 0}.custom-device-row{display:flex;align-items:center;gap:12px;padding:12px 0;border-bottom:1px solid #ffffff15}.custom-device-icon{width:38px;height:38px;flex-shrink:0}.custom-device-icon svg,.custom-device-icon img{width:100%;height:100%;object-fit:contain}.custom-device-row>div:nth-child(2){flex:1;min-width:0}.custom-device-row b{font-size:12px;font-weight:400}.custom-device-row small{display:block;font-size:9px;color:#a1b095;margin-top:5px;overflow-wrap:anywhere}.custom-row-buttons{display:flex;gap:5px}.custom-row-buttons button{padding:8px;border:1px solid #ffffff20;border-radius:4px;font-size:10px}.custom-row-buttons button:disabled{opacity:.3}#entity-form{border:1px solid #c39a2e55;padding:18px;margin-top:23px;border-radius:7px;background:#ffffff03}.custom-form-grid{display:grid;grid-template-columns:1fr 1fr;gap:0 16px}.custom-icon-row{display:flex;align-items:center;gap:10px;margin:15px 0;flex-wrap:wrap}.custom-icon-row .action{font-size:10px}#icon-preview{width:53px;height:53px;display:inline-block}#icon-preview svg,#icon-preview img{width:100%;height:100%;object-fit:contain}.primary{background:#c39a2e33;border-color:#c39a2e88}.custom-footer{display:flex;align-items:center;justify-content:space-between;gap:15px;border-top:1px solid #ffffff20;margin-top:25px;padding-top:14px}.custom-footer>span{font-size:10px;color:#a2b197;max-width:280px}.custom-footer .action{font-size:10px}.custom-footer label{cursor:pointer}.empty-room{grid-column:1/-1;text-align:center;padding:70px 20px;font-size:15px;color:#b6c4ad}.empty-room button{display:block;margin:22px auto}.custom-content .setting-row{display:flex!important;margin:6px 0!important;font-size:12px!important}.custom-content .setting-row input{flex-shrink:0;width:17px;height:17px;accent-color:#c39a2e}@media(max-width:700px){#customizer{padding:20px}.custom-layout{grid-template-columns:1fr}.custom-rooms{border-right:0;border-bottom:1px solid #ffffff20;padding:0 0 18px}#custom-room-list{grid-template-columns:1fr 1fr}.custom-room-heading{flex-wrap:wrap}.custom-room-heading>div{flex-basis:100%}.custom-form-grid{grid-template-columns:1fr}.custom-device-row{flex-wrap:wrap}.custom-row-buttons{margin-left:50px}.custom-footer{flex-wrap:wrap}.tile-grid{grid-template-columns:repeat(var(--mobile-columns,2),minmax(0,1fr))}#customize-home{right:65px;top:41px}.tile .uploaded-icon{width:65px;height:65px}.tile strong{overflow-wrap:anywhere}.tile small{overflow-wrap:anywhere}}
