:root{--paper:#f8f1e5;--card:#fffaf1;--ink:#213c3b;--muted:#77796b;--orange:#bd542f;--teal:#397b7a;--gold:#d89b31;--line:#dfd8c9;--shadow:0 5px 15px #71502b07}*{box-sizing:border-box}body{margin:0;background:var(--paper);color:var(--ink);font:15px -apple-system,BlinkMacSystemFont,'Segoe UI',sans-serif}button,input,select{font:inherit}button,a,input,select{ -webkit-tap-highlight-color:transparent}button{cursor:pointer;color:inherit;background:none;border:1px solid var(--line);border-radius:12px;padding:10px 15px;min-height:44px}button:hover{background:#e8ded044}button:focus-visible,a:focus-visible,input:focus-visible,select:focus-visible{outline:3px solid var(--teal);outline-offset:3px}button:disabled{cursor:not-allowed;opacity:.45}button.primary{background:var(--orange);color:white;border-color:var(--orange)}button.danger{color:#a03629}a{color:var(--teal)}.shell{max-width:1600px;margin:auto;display:grid;grid-template-columns:220px 1fr;min-height:100vh}aside{border-right:1px solid var(--line);padding:36px 22px;display:flex;flex-direction:column;position:sticky;top:0;height:100vh}.brand{display:flex;gap:10px;text-decoration:none;font:bold 27px Georgia;color:var(--ink);align-items:center}.brand small{display:block;font:8px sans-serif;letter-spacing:1.5px;margin-top:8px}nav{display:grid;gap:8px;margin-top:50px}nav button,.aside-bottom button{text-align:left;border:0;display:flex;gap:15px;align-items:center;font-weight:550}nav button.active{background:var(--orange);color:var(--card);box-shadow:0 5px 15px #bd542f20}.aside-bottom{margin-top:auto;display:grid;gap:6px}.aside-bottom small{font-size:9px;letter-spacing:1.5px;color:var(--muted);margin-top:25px}.sidebar-art{height:150px;position:relative;overflow:hidden;margin:50px 0 25px;opacity:.8}.sidebar-art .sun{width:70px;height:70px;background:var(--gold);border-radius:50%;position:absolute;right:10px;top:10px}.arch{border:18px solid #72a6a0;border-bottom:0;width:90px;height:120px;border-radius:90px 90px 0 0;position:absolute;left:0;bottom:0}.hills{background:var(--orange);position:absolute;bottom:-45px;right:-15px;width:130px;height:110px;border-radius:80% 0 0 0}main{padding:38px 42px 20px;min-width:0}header{position:relative;min-height:190px;padding:12px 0 30px;display:flex;justify-content:space-between;gap:15px;overflow:hidden;border-bottom:1px solid var(--line);margin-bottom:24px}.eyebrow{font-size:10px;font-weight:650;letter-spacing:2px;color:var(--orange)}h1{font:normal clamp(34px,4vw,54px) Georgia;margin:13px 0 8px;letter-spacing:-1.5px}header p{color:var(--muted);font-size:14px;margin:0}h2{font:normal 25px Georgia;margin:0}h3{font-size:15px;margin:0}p{line-height:1.6}.header-actions{display:flex;gap:8px;align-items:flex-start;z-index:1}.badge{border:1px solid var(--line);padding:9px 12px;border-radius:30px;background:var(--paper);font-size:11px;white-space:nowrap}.landscape{position:absolute;right:0;bottom:0;width:300px;height:110px;pointer-events:none;opacity:.8}.landscape .sun{width:65px;height:65px;border-radius:50%;background:#e9af45;position:absolute;right:80px;top:0}.mountain{position:absolute;bottom:-60px;transform:rotate(45deg);border-radius:20px}.m1{width:160px;height:160px;background:#d98c6d;left:35px}.m2{width:115px;height:115px;background:#c66d50;left:130px}.house{position:absolute;width:130px;height:45px;background:#f3d6b3;bottom:0;right:0;border-top:8px solid #af5434;transform:skewY(-7deg)}.house i{display:block;width:80px;height:30px;background:repeating-linear-gradient(90deg,#3f6963 0 22px,#e0b38d 22px 26px);margin:6px auto}.palm{position:absolute;right:12px;top:5px;color:#466c56;font-size:60px}.notice{font-size:12px;padding:12px 16px;border:1px solid #e5cf9e;background:#f6e9cc;border-radius:10px;margin-bottom:20px;line-height:1.5}.section-title{display:flex;align-items:center;justify-content:space-between;margin:6px 0 18px}.section-title small{font-size:10px;color:var(--muted);letter-spacing:1px}.scenes{display:grid;grid-template-columns:repeat(4,1fr);gap:12px;margin-bottom:26px}.scene{display:flex;gap:12px;align-items:center;border:0;text-align:left;padding:18px;color:var(--ink);border-radius:14px;background:#f3d38d}.scene:nth-child(2){background:#a9cbc2}.scene:nth-child(3){background:#cb7051;color:#fff9eb}.scene:nth-child(4){background:#356e70;color:#fff9eb}.scene .glyph{font-size:25px}.scene small{display:block;font-size:10px;opacity:.7;margin-top:4px}.dashboard{display:grid;grid-template-columns:1.15fr 1fr;gap:18px;align-items:start}.card{background:var(--card);border:1px solid var(--line);border-radius:18px;padding:22px;box-shadow:var(--shadow);min-width:0}.card-head{display:flex;justify-content:space-between;gap:10px;align-items:center;margin-bottom:20px}.card-head h2{font-size:23px}.card-head .tools{display:flex;gap:3px}.tools button{padding:3px 7px;font-size:12px;min-height:32px;border:0}.rooms{display:grid;grid-template-columns:repeat(2,1fr);gap:10px}.room{position:relative;padding:16px;background:#f4eddf;border:1px solid #e7dece;border-radius:12px;min-width:0}.room:nth-child(2){background:#eef0e4}.room:nth-child(3){background:#f9ead5}.room:nth-child(4){background:#e8efea}.room-open{padding:0;border:0;text-align:left;display:block;width:100%}.room-icon{display:block;font-size:25px;margin-bottom:15px}.room-open strong{display:block;font-size:14px}.room small{display:block;color:var(--muted);font-size:11px;margin-top:5px}.switch{position:absolute;right:12px;top:12px;width:43px;min-height:25px;height:25px;background:#d4d0c6;border:0;border-radius:20px;padding:3px}.switch::after{content:'';display:block;background:white;width:19px;height:19px;border-radius:50%;box-shadow:0 1px 3px #0002;transition:transform .15s}.switch.on{background:var(--orange)}.switch.on::after{transform:translateX(18px)}.climate{display:flex;align-items:center;justify-content:space-between;gap:10px}.temperature{font:64px Georgia;text-align:center;line-height:1.1}.temperature small{display:block;font:11px sans-serif;color:var(--muted);margin-top:8px}.round{border-radius:50%;width:44px;height:44px;padding:0;font-size:25px}.card-foot{display:flex;justify-content:space-between;gap:10px;align-items:center;border-top:1px solid var(--line);margin-top:20px;padding-top:13px;font-size:11px;color:var(--muted)}.pill{border-radius:30px;padding:7px 12px;background:#e2ece6;color:#35635b;font-size:11px}.media-art{width:54px;height:54px;background:linear-gradient(150deg,#ebb45d 40%,#c96847 41% 65%,#4d7a70 66%);border-radius:9px;flex-shrink:0}.media-row{display:flex;align-items:center;gap:12px}.media-row p{font-size:12px;margin:4px 0;color:var(--muted)}.media-row .round{margin-left:auto;font-size:16px}.volume{display:flex;gap:12px;align-items:center;margin-top:20px;font-size:12px}input[type=range]{accent-color:var(--orange);width:100%;min-height:30px}.entry{display:flex;align-items:center;gap:14px}.entry .lock-icon{font-size:30px;padding:14px;background:#e7ebdc;border-radius:12px}.entry p{color:var(--muted);font-size:12px;margin:4px 0}.entry .pill{margin-left:auto}.wide{grid-column:1/-1}.empty{text-align:center;padding:45px 20px}.empty p{color:var(--muted);max-width:500px;margin:12px auto 22px}.muted{color:var(--muted);font-size:12px}.faders{display:flex;justify-content:space-around;gap:10px;margin-top:25px;padding-top:18px;border-top:1px solid var(--line)}.fader{text-align:center;font-size:11px;display:flex;align-items:center;flex-direction:column;gap:10px}.fader input{writing-mode:vertical-lr;direction:rtl;width:30px;height:145px}.page-grid{display:grid;grid-template-columns:repeat(2,1fr);gap:18px}.remote{display:grid;grid-template-columns:repeat(3,55px);gap:8px;justify-content:center;margin:25px auto}.remote button{border-radius:50%;height:55px;background:#efe4d4}.remote .center{background:var(--teal);color:white}.remote .blank{visibility:hidden}.form{display:grid;gap:15px}.form label{display:grid;gap:7px;font-size:13px}.form input:not([type=checkbox]),.form select{padding:12px;border:1px solid var(--line);background:#fffaf4;border-radius:9px;color:var(--ink);width:100%}.checks{display:grid;gap:12px}.checks label{display:flex;align-items:center;gap:8px}.guest-row,.setup-row{padding:17px 0;border-bottom:1px solid var(--line);display:flex;align-items:center;justify-content:space-between;gap:15px}.guest-row p,.setup-row p{margin:5px 0;font-size:12px;color:var(--muted)}footer{display:flex;justify-content:space-between;font-size:9px;letter-spacing:2px;color:var(--muted);padding-top:30px;margin-top:25px;border-top:1px solid var(--line)}footer span{letter-spacing:0}dialog{width:min(490px,calc(100% - 28px));max-height:90vh;overflow:auto;border:1px solid var(--line);background:var(--paper);color:var(--ink);border-radius:24px;padding:25px;box-shadow:0 20px 100px #132b3840}dialog::backdrop{background:#243d3b66;backdrop-filter:blur(4px)}.sheet-top{display:flex;justify-content:space-between;align-items:center;margin-bottom:20px}.sheet-top button{border:0}.sheet-title{font:36px Georgia;margin:0 0 10px}.sheet-scenes{display:grid;grid-template-columns:1fr 1fr;gap:10px;margin-top:15px}.sheet-scenes button{background:#e7dec8}.big-number{font:48px Georgia;margin:25px 0 5px}#toast{position:fixed;left:50%;bottom:30px;transform:translateX(-50%);background:var(--ink);color:var(--paper);padding:13px 20px;border-radius:12px;z-index:5;max-width:90vw;box-shadow:0 4px 25px #0002;display:none}#update{background:var(--teal);color:white;padding:10px;text-align:center}#update button{color:white}.account-actions{display:flex;gap:10px;margin-top:20px}.scene.active{outline:3px solid var(--ink);outline-offset:2px}code{overflow-wrap:anywhere}.invite-output{background:#eee4d2;border-radius:10px;padding:15px;overflow-wrap:anywhere}textarea{width:100%;min-height:90px}.mobile-only{display:none}
@media(max-width:1050px){.shell{grid-template-columns:170px 1fr}aside{padding:30px 15px}.brand{font-size:23px}.brand small{font-size:6px}main{padding:25px}.header-actions{flex-direction:column;align-items:flex-end}.landscape{width:200px;opacity:.55}.scenes{gap:8px}.scene{padding:13px 10px;font-size:12px}.scene .glyph{font-size:20px}.scene small{display:none}.card{padding:17px}.temperature{font-size:54px}}
@media(max-width:700px){.shell{display:block}aside{height:auto;position:static;padding:19px 20px 0;border:0;display:flex;flex-direction:row;align-items:center;justify-content:space-between}.brand{font-size:25px}.brand small{display:none}nav{position:fixed;bottom:0;left:0;right:0;margin:0;display:grid;grid-template-columns:repeat(4,1fr);background:#fcf7edee;backdrop-filter:blur(12px);border-top:1px solid var(--line);z-index:3;gap:0;padding:7px 12px max(9px,env(safe-area-inset-bottom))}nav button{flex-direction:column;gap:3px;align-items:center;font-size:19px;padding:5px;border-radius:9px}nav button span{font-size:10px}nav button.active{background:transparent;color:var(--orange);box-shadow:none}.sidebar-art,.aside-bottom small{display:none}.aside-bottom{margin:0;display:flex}.aside-bottom button{font-size:22px;padding:6px;min-width:38px}.aside-bottom span{display:none}main{padding:20px 18px 90px}header{min-height:145px;margin-bottom:16px;padding:8px 0 22px}h1{font-size:36px;margin-top:12px}header p{font-size:11px;max-width:210px}.eyebrow{font-size:8px;letter-spacing:1.4px}.landscape{width:135px;height:75px;opacity:.5}.landscape .sun{width:45px;height:45px;right:10px}.house,.palm{display:none}.header-actions{gap:7px}.header-actions button{font-size:10px;min-height:33px;padding:7px}.badge{font-size:9px;padding:6px 8px}.scenes{gap:7px;margin-bottom:19px}.scene{flex-direction:column;justify-content:center;text-align:center;gap:7px;min-height:73px;font-size:10px;border-radius:12px;padding:10px 4px}.section-title{margin-bottom:12px}.section-title h2{font-size:20px}.section-title small{font-size:8px}.dashboard,.page-grid{grid-template-columns:1fr;gap:14px}.card{padding:17px;border-radius:15px}.card-head{margin-bottom:16px}.card-head h2{font-size:21px}.room{padding:13px}.room-icon{margin-bottom:10px;font-size:22px}.room-open strong{font-size:13px}.temperature{font-size:54px}.climate{justify-content:center;gap:40px}.card-foot{margin-top:16px}.notice{font-size:10px;padding:10px 12px}.faders{display:none}.faders.visible{display:flex}.tools button{min-height:35px;min-width:30px}footer{font-size:8px;letter-spacing:1px}dialog{margin:auto auto 12px;max-height:85vh;border-radius:24px}#toast{bottom:85px}.page-grid .wide{grid-column:auto}}
@media(prefers-reduced-motion:reduce){*{transition:none!important;scroll-behavior:auto!important}}

.checks fieldset{border:1px solid var(--line);border-radius:12px;padding:14px;display:grid;grid-template-columns:1fr 1fr;gap:10px}.checks legend{font-weight:650;padding:0 6px}.checks label{font-size:12px}/* Bravo Juliet: walnut cabinet, smoked glass and tactile ivory keys. */
:root{--paper:#261a12;--card:#352217;--ink:#f5e6c4;--muted:#c0aa85;--orange:#dfaa52;--teal:#b49453;--gold:#e1b16a;--line:#725133;--shadow:0 6px 15px #0004;--wood:repeating-linear-gradient(3deg,#20100700 0 3px,#210c0555 4px,#c5863a18 5px,#25110800 8px),linear-gradient(100deg,#3d1e0f,#86502a 25%,#4c2816 55%,#9b6234 80%,#40200e);--brass:linear-gradient(115deg,#6d4924,#bb9453 16%,#edcc85 43%,#ac7d39 72%,#755022);--ivory:linear-gradient(#fff0ce,#e4c38b)}body{background:#1a120d;color:var(--ink)}.shell{background:var(--wood);border:8px solid #4c2b17;border-radius:28px;margin:18px auto;max-width:1500px;min-height:calc(100vh - 36px);padding:10px;box-shadow:inset 0 0 0 2px #bb8046,0 15px 40px #0008;grid-template-columns:190px 1fr}aside{border:1px solid #a17a45;border-radius:18px 0 0 18px;padding:30px 16px;height:calc(100vh - 72px);background:repeating-linear-gradient(0deg,#3c291b22 0 2px,#c8ad79aa 2px 4px),repeating-linear-gradient(90deg,#826343 0 2px,#c9b084 2px 4px);position:sticky;top:18px;color:#2a1a0f;box-shadow:inset 0 0 15px #160a06aa}.brand{font:italic bold 27px Georgia;color:#2b1a0d;background:var(--brass);border:1px solid #e2c17e;padding:14px 9px;border-radius:45% 10px 45% 10px;text-align:center;box-shadow:0 3px 7px #0007;display:block}.brand small{font:7px sans-serif;letter-spacing:1px}.sidebar-art{display:none}nav{gap:5px;margin-top:38px}nav button{background:var(--ivory);border:1px solid #d0aa70;border-bottom:3px solid #8e6538;color:#3f2819;border-radius:7px;box-shadow:0 2px 4px #0004}nav button.active{background:linear-gradient(#ffe4a9,#e6b56d);color:#3f2819;box-shadow:0 0 12px #ffc75d66,inset 0 1px 5px #9d6a33}.aside-bottom button{background:#2c1b0de3;color:#f1dfb9;border:1px solid #d9b271}.aside-bottom small{color:#322111;font-weight:700;font-size:8px;text-align:center}main{background:radial-gradient(ellipse at 40% 0%,#4a3020,#1c120c 80%);border:1px solid #b28a4c;border-radius:0 18px 18px 0;padding:27px 30px;box-shadow:inset 0 0 30px #000a}header{min-height:130px;padding:5px 0 20px;border-color:#725133}.landscape{display:none}h1{font-size:42px;letter-spacing:-1px;text-shadow:0 2px 4px #0006}header p{color:var(--muted)}.eyebrow{color:#d9b778}.badge{background:#22180f;border-color:#735330;color:#e4cc9e}.header-actions button{background:#3f2a1c;color:#ecd6ad}.notice{background:#3c2b16;border-color:#8f6d35;color:#dec79a}.card{background:linear-gradient(130deg,#412a1e,#28190f);border-color:#805c39;box-shadow:inset 0 1px #d6b37a22,0 4px 10px #0007;border-radius:17px}.card-head h2{text-shadow:0 1px 3px #0008}.room,.room:nth-child(2),.room:nth-child(3),.room:nth-child(4){background:linear-gradient(125deg,#533624,#302015);border-color:#85603b}.room small{color:#d1b68b}.room-open:hover{background:transparent}.room-icon{color:#e4c38b}.switch{background:#21180f;box-shadow:inset 0 2px 4px #0007}.switch.on{background:#d89434;box-shadow:0 0 10px #eba83c44}.switch::after{background:var(--ivory)}.scene,.scene:nth-child(2),.scene:nth-child(3),.scene:nth-child(4){background:linear-gradient(140deg,#63442b,#332115);border:1px solid #ac8250;color:#f0d5a7;box-shadow:inset 0 1px #f1d99a33,0 3px 6px #0007}.scene.active{outline:2px solid #ffcf76;box-shadow:0 0 15px #ffb83566}.scene small{color:#d3b88d}.round{background:var(--ivory);border-color:#f4dbad;color:#422611;box-shadow:0 3px 4px #0007}.pill{background:#4a4025;color:#f3d499;border:1px solid #7d7048}.temperature{color:#ffebbd;text-shadow:0 0 18px #ffbc3b12}.entry .lock-icon{background:#4b3e24;color:#f6dca5}.media-art{border:1px solid #b38d4e;background:radial-gradient(circle,#dfb970 0 15%,#33251b 16% 28%,#997543 29% 31%,#392719 32% 42%,#b38445 43% 44%,#271b12 45%);border-radius:50%}.card-foot button{color:#f3dfbd}.tools button{color:#d4b684}.tools button:hover{background:#b68b4133}button:focus-visible,input:focus-visible,a:focus-visible,select:focus-visible{outline-color:#ffd27a}button:active:not(:disabled){transform:translateY(1px)}.form input:not([type=checkbox]),.form select{background:#23180f;color:var(--ink);border-color:#a58151}.invite-output{background:#49331e}.checks fieldset{border-color:#8e6940}button.primary{background:var(--ivory);color:#3c2718;border-color:#dfbd80}.sheet-scenes button{background:var(--ivory);color:#3b2413}dialog{background:radial-gradient(ellipse at top,#4b3020,#22160e);color:var(--ink);border:2px solid #b08a50;box-shadow:0 20px 90px #000b}dialog::backdrop{background:#0c0806b8}.remote-launcher{display:flex;align-items:center;gap:13px;width:100%;margin-top:17px;padding:13px 15px;border:1px solid #997444;background:linear-gradient(110deg,#57402b,#302117);text-align:left;box-shadow:inset 0 1px #d3af7322}.remote-launcher small{display:block;color:#d4ba90;font-size:11px;margin-top:4px}.remote-launcher strong{font:20px Georgia}.remote-mini{font-size:30px;color:#e1bd76}.launch-arrow{margin-left:auto;color:#e0bb75;font-size:22px}.remote-launcher:hover{background:linear-gradient(110deg,#725032,#432c1b)}
/* The handheld remote has its own continuous brass face and wood edge. */
.retro-remote{max-width:330px;margin:10px auto 0;padding:22px 25px 15px;background:repeating-linear-gradient(90deg,#ffffff05 0 1px,#00000006 1px 2px),linear-gradient(110deg,#967039,#d1ad69 28%,#e5c787 48%,#b48c4b 80%,#89612f);border:9px solid #59301a;border-radius:42px;outline:1px solid #b38549;box-shadow:inset 0 0 0 2px #f1d69a,0 7px 0 #24150d,0 12px 25px #0007;color:#342517;position:relative}.remote-badge{text-align:center;font:italic bold 24px Georgia;text-shadow:0 1px #f2d99d}.remote-badge span{display:block;font:8px sans-serif;letter-spacing:1.9px;margin-top:7px}.remote-display{margin:17px 0 15px;border:2px solid #76502b;border-radius:9px;background:linear-gradient(135deg,#31241b,#160f0a);padding:12px 8px;color:#f1d296;text-align:center;box-shadow:inset 0 3px 7px #0009}.remote-display strong{font:20px Georgia}.remote-display small{display:block;font:7px sans-serif;letter-spacing:1.2px;color:#d1b379;margin-top:6px}.signal-light{display:inline-block;width:7px;height:7px;border-radius:50%;background:#ffbd44;box-shadow:0 0 7px #ffb833;vertical-align:middle;margin-right:9px}.remote-direction{position:relative;width:226px;height:226px;margin:0 auto 17px;background:conic-gradient(from 30deg,#d4b06c,#fff0c4,#a1783f,#e1bd7b,#d4b06c);border:2px solid #74502b;border-radius:50%;box-shadow:0 3px 5px #0006,inset 0 0 0 5px #d1ac66,inset 0 0 0 7px #9b763e}.remote-key{color:#4c321e;background:var(--ivory);box-shadow:0 3px 0 #76532d,0 4px 7px #0004,inset 0 1px #fff7df;border:1px solid #f7dfb1;touch-action:manipulation;user-select:none}.remote-key:hover{background:linear-gradient(#fff5dc,#f1d19a)}.remote-key:active{box-shadow:inset 0 2px 5px #69421b66;transform:translateY(2px)}.remote-direction .remote-key{position:absolute;width:51px;height:51px;border-radius:50%;padding:0;font-size:14px;min-height:51px}.remote-direction .key-up{left:85px;top:10px}.remote-direction .key-down{left:85px;bottom:10px}.remote-direction .key-left{left:10px;top:85px}.remote-direction .key-right{right:10px;top:85px}.remote-direction .key-select{left:73px;top:73px;width:76px;height:76px;background:conic-gradient(#8a632f,#deb978,#f6d79a,#a77b3c,#8a632f);border:3px solid #f4d699;box-shadow:0 4px 8px #0007,inset 0 0 0 2px #b78b4c;font-size:10px;font-weight:700;letter-spacing:1px}.remote-utility{display:grid;grid-template-columns:1fr 1fr;gap:15px;margin:0 10px}.remote-utility button{font-size:24px;padding:5px;border-radius:12px;min-height:56px}.remote-utility span{display:block;font:8px sans-serif;letter-spacing:1.4px;margin:3px 0}.remote-divider{margin:21px 0 12px;border-top:1px solid #8f6938;text-align:center;height:1px}.remote-divider span{position:relative;top:-6px;background:#c3a061;padding:0 8px;font:8px sans-serif;letter-spacing:1px}.remote-audio{display:flex;align-items:center;justify-content:space-between;gap:10px;padding:4px 10px}.remote-audio button{width:48px;height:48px;border-radius:50%;background:linear-gradient(#37271b,#1a1009);color:#f0d7a5;border:2px solid #ad8244;box-shadow:0 3px 4px #0006;font-size:26px;padding:0;touch-action:manipulation}.remote-volume{text-align:center;min-width:65px}.remote-volume strong{display:block;font:27px Georgia}.remote-volume strong small{font-size:12px}.remote-volume>span{font:8px sans-serif;letter-spacing:1.5px}.remote-grille{height:15px;margin:10px 6px 0;border-radius:6px;background:repeating-linear-gradient(90deg,#332113 0 2px,#b18d52 2px 5px);box-shadow:inset 0 2px 3px #0005}.remote-caption{font-size:10px;text-align:center;color:var(--muted);line-height:1.5}.remote-sheet{width:410px;padding:16px 22px 12px;max-height:95dvh;border-radius:30px}.remote-sheet .sheet-title{display:none}.remote-sheet .sheet-top{margin-bottom:6px}.remote-sheet .sheet-top .eyebrow{font-size:8px}.remote-sheet .retro-remote{margin-top:0}#toast{background:var(--ivory);color:#3e2818;border:1px solid #a57a42}footer{color:#bca17a}#update{background:#624624;color:#f5deb3}
@media(max-width:1050px){.shell{grid-template-columns:165px 1fr}.brand{font-size:23px}main{padding:24px}.remote-direction{max-width:100%}}
@media(max-width:700px){body{background:var(--wood)}.shell{display:block;margin:0;border:0;border-radius:0;padding:7px;min-height:100dvh;box-shadow:none}aside{height:auto;position:static;background:repeating-linear-gradient(0deg,#65472b 0 1px,#bfa67b 1px 3px),repeating-linear-gradient(90deg,#705034 0 1px,#d4bd91 1px 3px);padding:12px;border-radius:14px 14px 0 0;display:flex;border-bottom:3px solid #3a2213}.brand{font-size:25px;padding:6px 14px;border-radius:40% 8px 40% 8px}.brand>span{white-space:nowrap}.brand small{display:none}.aside-bottom{gap:5px}.aside-bottom button{background:#2f1d0edb;color:#f4dba9;min-height:38px;border-color:#9c794b}.aside-bottom small{display:none}main{border-radius:0 0 16px 16px;padding:18px 13px 90px}header{min-height:110px;margin-bottom:14px;padding-bottom:16px}h1{font-size:30px}.eyebrow{font-size:7px}header p{font-size:10px}.header-actions button{font-size:9px;padding:7px}.badge{font-size:8px}.card{padding:15px}.card-head h2{font-size:21px}nav{position:fixed;bottom:0;left:0;right:0;background:var(--wood);border:2px solid #b18a50;border-radius:12px 12px 0 0;padding:8px 9px max(10px,env(safe-area-inset-bottom));gap:3px;margin:0}nav button{background:var(--ivory);color:#4b2d17;box-shadow:0 3px 3px #0008;border:1px solid #b18d54;border-bottom:3px solid #936b3b;border-radius:5px;min-height:48px}nav button.active{background:linear-gradient(#ffe5b5,#dfa75c);color:#40240f;box-shadow:inset 0 1px 5px #7e502c88,0 0 8px #ffb34255}nav button span{font-weight:650}.remote-sheet{padding:10px 12px 8px;width:calc(100% - 16px);max-height:96dvh;margin:auto auto 8px}.remote-sheet .sheet-top{margin-bottom:4px;min-height:32px}.remote-sheet .sheet-top button{min-height:34px;padding:5px 10px}.remote-sheet .retro-remote{padding-top:16px;padding-bottom:10px}.remote-sheet .remote-caption{margin-bottom:3px}.remote-sheet .remote-display{margin:12px 0}.remote-sheet .remote-divider{margin-top:17px}.remote-badge{font-size:24px}.remote-caption{font-size:9px}.retro-remote{padding-left:20px;padding-right:20px}.remote-launcher{min-height:70px}.remote-mini{font-size:26px}dialog::backdrop{backdrop-filter:blur(6px)}}
@media(max-width:360px){.retro-remote{padding-left:11px;padding-right:11px}.remote-direction{width:226px}.brand{font-size:21px}.remote-sheet{padding-left:8px;padding-right:8px}.remote-sheet .retro-remote{border-width:7px}.remote-sheet .sheet-top .eyebrow{font-size:7px}}

#sheet-status{font-size:11px;text-align:center;color:#f8d490;margin:5px 0}#sheet-status:empty{display:none}
.sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}.room-tabs{display:flex;gap:5px;border:1px solid #a37a43;background:#170e08;padding:5px;border-radius:12px;margin-bottom:20px;width:fit-content}.room-tabs button{border:0;color:#c5ae85}.room-tabs button[aria-selected=true]{background:var(--ivory);color:#3f2919;box-shadow:0 2px 5px #0008}.sensor-toolbar{display:flex;justify-content:space-between;align-items:center;gap:12px;margin-bottom:20px}.sensor-toolbar h2{font-size:27px}.pause-all{display:flex;align-items:center;gap:12px;background:#4b321d;padding:15px;border:1px solid #a27c42;border-radius:12px}.pause-all span{margin-right:auto;font-size:13px}.sensor-note{line-height:1.7;margin:14px 0 20px}.sensor-readings{display:grid;grid-template-columns:repeat(3,1fr);gap:8px;margin:0 0 18px;background:#1c130d;padding:14px 10px;border:1px solid #795b36;border-radius:10px}.sensor-readings dt{font-size:9px;color:#bea27a;margin-bottom:7px}.sensor-readings dd{font:22px Georgia;color:#f7d69d;margin:0}.sensor-setting{display:flex;justify-content:space-between;align-items:center;gap:12px;padding:14px 0;border-top:1px solid var(--line);font-size:13px}.sensor-setting p{margin:5px 0 0;font-size:10px}.sensor-setting button[aria-checked=true]{background:var(--ivory);color:#432a15}.sensor-card select,.pause-all select{max-width:160px;padding:11px 9px;border-radius:9px;border:1px solid #b68d54;background:#25190f;color:#f0d8b2;font:inherit;font-size:12px}.sensor-pause{padding-top:15px;border-top:1px solid var(--line);font-size:12px}.sensor-pause>div{display:flex;gap:8px;margin-top:12px}.sensor-rules,.sensor-history{margin-top:20px}.rule-row{display:flex;align-items:center;justify-content:space-between;gap:12px;border-top:1px solid var(--line);padding:16px 0}.rule-row p{margin:6px 0 0}.rule-buttons{display:flex;gap:5px}.rule-buttons button{font-size:11px;padding:8px}.rule-days,.rule-lights{border:1px solid var(--line);border-radius:9px;padding:12px;display:flex;flex-wrap:wrap;gap:10px}.form .rule-days label,.form .rule-lights label,.form .check-line{display:flex;align-items:center;gap:6px;font-size:12px}.rule-lights{flex-direction:column}.two-fields{display:grid;grid-template-columns:1fr 1fr;gap:12px}.sensor-history summary{cursor:pointer}.sensor-card h2{font-size:21px}.sensor-setting small{color:var(--muted)}@media(max-width:700px){.pause-all{flex-wrap:wrap;padding:12px;gap:8px}.pause-all span{flex-basis:100%}.sensor-toolbar{align-items:start}.sensor-toolbar h2{font-size:23px}.sensor-toolbar button{font-size:11px}.rule-row{display:block}.rule-buttons{margin-top:12px}.sensor-readings dd{font-size:21px}.room-tabs{width:100%}.room-tabs button{flex:1;font-size:13px}.sensor-setting select{font-size:12px}}

/* Compact cabinet: less chrome, with usable touch targets. */
.shell{margin:10px auto;padding:7px;border-width:6px;border-radius:22px;min-height:calc(100vh - 20px);grid-template-columns:168px 1fr}
aside{padding:20px 12px;height:calc(100vh - 46px);top:10px}
.brand{font-size:24px;padding:10px 6px}
nav{margin-top:24px;gap:5px}
nav button,.aside-bottom button{padding:8px 11px;gap:10px}
main{padding:18px 22px}
header{min-height:94px;padding:0 0 13px;margin-bottom:13px;align-items:center}
h1{font-size:34px;margin:7px 0 5px}
header p{font-size:12px}
h2{font-size:22px}
p{line-height:1.5}
.badge{padding:6px 9px}
.header-actions{align-items:center}
.notice{padding:8px 11px;margin-bottom:13px;font-size:11px}
.section-title{margin:0 0 9px}
.section-title h2{font-size:22px}
.scenes{gap:8px;margin-bottom:14px}
.scene{padding:10px 12px;gap:9px;min-height:54px}
.scene .glyph{font-size:22px}
.scene small{font-size:8px;margin-top:2px}
.dashboard,.page-grid{gap:12px}
.card{padding:14px;border-radius:13px}
.card-head{margin-bottom:10px;gap:8px}
.card-head h2{font-size:21px}
.rooms{gap:8px}
.room{padding:10px;border-radius:9px}
.room-open{min-height:62px;user-select:none;-webkit-user-select:none;-webkit-touch-callout:none;touch-action:pan-y}
.room-open:active:not(:disabled){transform:none}
.room-icon{font-size:20px;margin-bottom:6px;line-height:22px}
.room-open strong{font-size:13px}
.room small{margin-top:3px}
.switch{right:10px;top:10px}
.switch::before{content:'';position:absolute;inset:-10px -1px}


.temperature{font-size:52px}
.temperature small{font-size:9px;margin-top:5px}
.card-foot{margin-top:11px;padding-top:8px;gap:7px}
.card-foot button{padding:7px 9px}
.media-art{width:44px;height:44px}
.media-row{gap:9px}
.media-row strong{font-size:14px}
.volume{margin-top:10px;gap:9px}
.entry{gap:10px}
.entry .lock-icon{padding:8px;font-size:26px}
.remote-launcher{margin-top:10px;padding:9px 12px;min-height:56px;gap:10px}
.remote-launcher strong{font-size:18px}
.remote-launcher small{margin-top:2px}
.faders{margin-top:14px;padding-top:12px}
.fader{gap:7px}
.fader input{height:115px}
.room-tabs{padding:3px;margin-bottom:12px}
.sensor-toolbar{margin-bottom:12px}
.sensor-toolbar h2{font-size:23px}
.sensor-toolbar p{margin:5px 0 0}
.pause-all{padding:9px 11px;gap:8px}
.sensor-note{line-height:1.5;margin:9px 0 12px}
.sensor-readings{padding:9px;margin-bottom:8px}
.sensor-readings dt{margin-bottom:4px}
.sensor-readings dd{font-size:20px}
.sensor-setting{padding:8px 0}
.sensor-setting p{margin-top:3px}
.sensor-pause{padding-top:10px}
.sensor-pause>div{margin-top:8px}
.sensor-rules,.sensor-history{margin-top:12px}
.rule-row{padding:10px 0}
.form{gap:11px}
.form label{gap:5px}
.form input:not([type=checkbox]),.form select{padding:9px;min-height:44px}
.rule-days,.rule-lights{padding:9px;gap:8px}
.setup-row,.guest-row{padding:10px 0}
.empty{padding:25px 15px}
footer{margin-top:18px;padding-top:15px}
dialog{padding:17px;border-radius:18px}
.sheet-top{margin-bottom:10px}
.sheet-title{font-size:29px}
.big-number{font-size:42px;margin-top:16px}
.sheet-scenes{margin-top:10px;gap:8px}
.retro-remote{max-width:292px;padding:14px 17px 10px;border-width:7px;border-radius:33px}
.remote-badge{font-size:22px}
.remote-badge span{margin-top:4px;font-size:7px}
.remote-display,.remote-sheet .remote-display{margin:10px 0;padding:8px}
.remote-direction{width:202px;height:202px;margin-bottom:12px}
.remote-direction .remote-key{width:44px;height:44px;min-height:44px;font-size:12px}
.remote-direction .key-up{left:77px;top:9px}
.remote-direction .key-down{left:77px;bottom:9px}
.remote-direction .key-left{left:9px;top:77px}
.remote-direction .key-right{right:9px;top:77px}
.remote-direction .key-select{left:66px;top:66px;width:66px;height:66px;font-size:9px}
.remote-utility{gap:12px;margin:0 8px}
.remote-utility button{min-height:48px;font-size:21px;padding:3px}
.remote-divider,.remote-sheet .remote-divider{margin:17px 0 9px}
.remote-audio{padding:3px 8px}
.remote-audio button{width:44px;height:44px}
.remote-volume strong{font-size:24px}
.remote-grille{height:10px;margin-top:7px}
.remote-sheet{width:360px;padding:10px 15px}
.remote-sheet .retro-remote{padding-top:14px;padding-bottom:10px}
.hold-feedback{display:none;position:absolute;inset:0 0 39px;border-radius:9px 9px 0 0;background:linear-gradient(to top,#c18b3f var(--dim-level),#291b11 var(--dim-level));color:#fff4d8;pointer-events:none;align-items:center;justify-content:center;flex-direction:column;text-shadow:0 1px 3px #000;box-shadow:inset 0 0 0 1px #ffda86}
.hold-feedback>span{font-size:8px;letter-spacing:1px}
.hold-readout{font:32px Georgia;line-height:1.2}
.hold-dimming{outline:2px solid #edc574;box-shadow:0 0 16px #e5b65544;z-index:1}
.hold-dimming .hold-feedback{display:flex}
.hold-dimming .switch{visibility:hidden}
.hold-saving{opacity:.7;pointer-events:none}
@media(max-width:1050px) and (min-width:701px){.shell{grid-template-columns:148px 1fr}.brand{font-size:21px}main{padding:16px}.header-actions{align-items:flex-end}h1{font-size:30px}.scene{padding:9px 7px}.dashboard{grid-template-columns:1fr 1fr}}
@media(max-width:700px){
 .shell{margin:0;border:0;border-radius:0;padding:5px;display:block;min-height:100dvh}
 aside{padding:8px 10px;height:auto;position:static}
 .brand{font-size:23px;padding:5px 10px}
 .aside-bottom button{min-width:44px;min-height:44px;padding:6px}
 main{padding:12px 10px 84px}
 header{min-height:84px;margin-bottom:10px;padding-bottom:10px;gap:8px}
 h1{font-size:27px;margin:6px 0 4px}
 header p{font-size:10px;max-width:185px}
 .eyebrow{font-size:6px;letter-spacing:1px}
 .header-actions{align-items:flex-end;gap:5px}
 .header-actions button{min-height:44px;padding:6px;font-size:9px}
 .badge{padding:5px 7px;font-size:8px}
 .notice{font-size:9px;padding:7px 9px;margin-bottom:10px}
 .section-title{margin-bottom:8px}.section-title h2{font-size:20px}
 .scenes{gap:6px;margin-bottom:10px}.scene{min-height:58px;padding:7px 3px;gap:3px;font-size:10px}.scene .glyph{font-size:20px}
 .dashboard,.page-grid{gap:10px}.card{padding:11px}.card-head{margin-bottom:8px}.card-head h2{font-size:20px}
 .tools button{min-width:34px;min-height:44px}
 .room{padding:9px}.room-open{min-height:61px}.room-open strong{font-size:12px}.switch{right:9px;top:9px}
 
 .hold-feedback{bottom:47px}
 .climate{gap:32px}.temperature{font-size:48px}
 .card-foot{margin-top:9px;padding-top:6px}
 .room-tabs{margin-bottom:10px}.sensor-toolbar h2{font-size:21px}
 .sensor-card select,.pause-all select{min-height:44px}
 .sensor-readings dd{font-size:20px}.sensor-rules,.sensor-history{margin-top:10px}
 .rule-buttons{margin-top:8px}.form input:not([type=checkbox]),.form select{font-size:16px}
 nav{margin:0;padding:6px 7px max(8px,env(safe-area-inset-bottom))}
 nav button{min-height:46px;padding:4px;gap:2px}
 .remote-sheet{width:min(360px,calc(100% - 16px));padding:8px 12px}
 .remote-sheet .sheet-top button{min-height:44px;min-width:44px}
 footer{font-size:7px;letter-spacing:.7px;margin-top:14px;padding-top:12px}
}
@media(max-width:360px){.brand{font-size:20px}.aside-bottom{gap:2px}.room-open strong{font-size:11px}h1{font-size:25px}.header-actions{max-width:86px}.retro-remote{padding-left:12px;padding-right:12px}}

/* Hold feedback covers the tile now that brightness sliders live in room controls. */
.hold-feedback{inset:0;border-radius:9px}
.room-icon svg{display:block;width:24px;height:24px}

/* A compact utility bar, without greeting copy. */
header>div:first-child{display:none}
header{min-height:44px;padding:0 0 10px;margin-bottom:12px;justify-content:flex-end;align-items:center}
.header-actions{flex-direction:row;align-items:center}
.brand small:empty{display:none}
nav button{text-align:center;justify-content:center}
.aside-bottom button{justify-content:center}
@media(max-width:700px){nav button{align-items:center;text-align:center;justify-content:center}.aside-bottom button{display:flex;align-items:center;justify-content:center}header{min-height:44px}.brand{display:flex;align-items:center;justify-content:center}}

/* Preserve the brass button layout; the circular bank doubles as a swipe pad. */
.remote-direction,.remote-direction .remote-key{touch-action:none;-webkit-user-select:none;user-select:none;-webkit-touch-callout:none}
@media(max-width:700px){
 .remote-sheet{width:calc(100% - 12px);max-width:420px;padding:10px 12px}
 .retro-remote{max-width:340px;padding:18px 20px 14px}
 .remote-sheet .retro-remote{padding-top:18px;padding-bottom:14px}
 .remote-direction{width:min(244px,100%);height:auto;aspect-ratio:1;margin-bottom:16px}
 .remote-direction .remote-key{width:52px;height:52px;min-height:52px;font-size:14px}
 .remote-direction .key-up{left:calc(50% - 26px);top:10px}
 .remote-direction .key-down{left:calc(50% - 26px);bottom:10px}
 .remote-direction .key-left{left:10px;top:calc(50% - 26px)}
 .remote-direction .key-right{right:10px;top:calc(50% - 26px)}
 .remote-direction .key-select{left:calc(50% - 40px);top:calc(50% - 40px);width:80px;height:80px;font-size:10px}
 .remote-utility button{min-height:56px}
 .remote-audio button{width:52px;height:52px}
}

.ac-options{display:flex;gap:12px;margin:10px 0}.ac-options label{flex:1;min-width:0;display:grid;gap:5px;font-size:.8rem}.ac-options select{width:100%;min-height:40px;padding:7px 10px;border:1px solid #8c6942;border-radius:9px;background:#36271b;color:#f5dfad;font:inherit}

.profile-actions{display:flex;flex-wrap:wrap;gap:8px;align-items:center}.profile-actions button{padding:8px 12px;font-size:.85rem}.guest-row{gap:14px;flex-wrap:wrap}.guest-row>div{min-width:0}.guest-row small{display:block;margin-top:6px}#sheet input[readonly]{width:100%;box-sizing:border-box}

.lighting-tabs{display:flex;gap:7px;flex-wrap:wrap;margin:10px 0 14px}.lighting-tabs a{display:block;padding:8px 12px;border:1px solid #9b7648;border-radius:9px;background:#3b2a1c;color:#ead1a4;text-decoration:none;font-size:.85rem}.lighting-tabs a:hover{background:#63492d}.scene-manage{display:inline-block;margin:9px 0 16px;color:#ddbc80;font-size:.85rem}.scene small{display:block!important;color:#bda785;font-size:.7rem;margin-top:4px}.scenes .scene{opacity:1}

