/* Orbital: a close view of a large spherical control surface. */
body.villa-app{--accent:#e5cda8;background:#070b11;color:#f4eee5;overscroll-behavior-y:none}
body.villa-app #demo-shell{position:relative;overflow:hidden;max-width:none;margin:0;padding:0}
body.villa-app .demo-topbar{background:#080d14;border-color:#ffffff12;position:relative;z-index:5}
body.villa-app .demo-topbar a,body.villa-app .demo-topbar button{color:#f0e5d5}
body.villa-app .villa-backdrop{position:absolute;inset:0;pointer-events:none;background-position:center;background-size:cover;opacity:.22;filter:saturate(.6);transition:background-image .6s}
body.villa-app .villa-backdrop:after{content:'';position:absolute;inset:0;background:linear-gradient(90deg,#070b11,#070b1170),linear-gradient(0deg,#070b11,transparent 70%)}
body.villa-app .villa-grain{position:absolute;inset:0;pointer-events:none;background:radial-gradient(ellipse at 75% 35%,#d6b98012,transparent 60%)}
body.villa-app .villa-layout{position:relative;display:grid;grid-template-columns:1fr 1fr;align-items:center;gap:55px;max-width:1340px;margin:auto;padding:50px 5%}
body.villa-app .villa-kicker{font-size:10px;letter-spacing:.15em;color:#c5b48f}
body.villa-app .villa-story h1{font-size:95px;font-weight:300;letter-spacing:-.065em;line-height:1;margin:30px 0}
body.villa-app .villa-story h1 span{display:block;font-size:44px;line-height:1.2;color:#e2cdaa;letter-spacing:-.045em;margin-top:25px}
body.villa-app .villa-story>p:not(.villa-kicker){font-size:15px;line-height:1.85;max-width:370px;color:#bdc1c8}
body.villa-app .villa-how{display:grid;grid-template-columns:35px 1fr;gap:20px 10px;margin:38px 0}
body.villa-app .villa-how>span{font-size:28px;color:#d7c19b}
body.villa-app .villa-how p{font-size:14px;margin:0}
body.villa-app .villa-how small{font-size:11px;display:block;color:#adb3be;margin-top:5px}
body.villa-app .villa-story .villa-simulation{font-size:10px!important;letter-spacing:.06em}
body.villa-app .orb-console{width:100%;max-width:550px;min-width:0;margin:auto}
body.villa-app .orb-toolbar{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:0 24px;font-size:10px;letter-spacing:.14em;color:#d9c49e}
body.villa-app .orb-toolbar>span{white-space:nowrap}
body.villa-app .orb-toolbar i{display:inline-block;width:5px;height:5px;border-radius:50%;background:#e5cda8;box-shadow:0 0 12px #e5cda8;margin-right:7px}
body.villa-app .orb-toolbar button,body.villa-app .orb-tools button{border:1px solid #cbb68e44;background:#161d258c;color:#e5d4b8;border-radius:22px;font-size:11px;padding:9px 13px;min-height:36px;letter-spacing:0}
body.villa-app .villa-room-info{display:flex;justify-content:space-between;gap:10px;margin:16px 25px 2px;padding:13px 0;border-block:1px solid #ffffff15}
body.villa-app .villa-room-info span{font-size:10px;color:#b3bdca}
body.villa-app .villa-room-info strong{display:block;font-size:17px;font-weight:400;color:#f4e1c1;margin-top:5px}
body.villa-app .orb-stage{height:540px;position:relative;perspective:1100px;perspective-origin:50% 48%;touch-action:none;overflow:hidden;isolation:isolate;cursor:grab;outline-offset:-5px;margin-top:10px}
body.villa-app .orb-stage.is-dragging{cursor:grabbing}
body.villa-app .orb-world{position:absolute;inset:0;transform-style:preserve-3d;will-change:transform;pointer-events:none}
body.villa-app .orb-panel{position:absolute;left:22px;right:22px;top:16px;bottom:16px;transform-style:preserve-3d;transform:translateZ(var(--surface-radius));backface-visibility:hidden;-webkit-backface-visibility:hidden;border:1px solid #ccb9924d;border-radius:30px/65px;background:radial-gradient(ellipse at 35% 0%,#37424ddf,#121d29 48%,#0c141e);box-shadow:inset 1px 0 1px #ffe4b34d,inset -15px 0 40px #0003,0 18px 50px #0007;overflow:hidden}
body.villa-app .orb-panel:before{content:'';position:absolute;inset:0;background:var(--panel-photo) center/cover;opacity:.12;mask-image:linear-gradient(0deg,#000,transparent 85%);pointer-events:none}
body.villa-app .orb-panel-active{pointer-events:auto}
body.villa-app .orb-ghost{pointer-events:none}
body.villa-app .orb-ghost[data-side=left]{transform:rotateY(-40deg) translateZ(var(--surface-radius))}
body.villa-app .orb-ghost[data-side=right]{transform:rotateY(40deg) translateZ(var(--surface-radius))}
body.villa-app .orb-ghost[data-side=up]{transform:rotateX(50deg) translateZ(var(--surface-radius))}
body.villa-app .orb-ghost[data-side=down]{transform:rotateX(-50deg) translateZ(var(--surface-radius))}
body.villa-app .orb-panel-content{position:relative;width:100%;height:100%;padding:26px 25px;display:flex;flex-direction:column;align-items:center;justify-content:center;backface-visibility:hidden}
body.villa-app .orb-coordinate{font-size:9px;letter-spacing:.12em;color:#c0c6cc;margin:0 0 12px;display:flex;gap:15px;align-items:center}
body.villa-app .orb-panel-content h2{font-size:32px;font-weight:400;line-height:1.15;letter-spacing:-.05em;margin:0;text-align:center;color:#fbf5ed}
body.villa-app .orb-layer-label{font-size:11px;letter-spacing:.14em;text-transform:uppercase;color:#e4cda4;margin:10px 0 0}
body.villa-app .orb-dial{position:relative;width:180px;height:180px;flex-shrink:0;margin:23px 0 21px}
body.villa-app .orb-dial svg{width:100%;height:100%;transform:rotate(-90deg)}
body.villa-app .orb-dial circle{fill:none;stroke:#ffffff1c;stroke-width:1}
body.villa-app .orb-dial .dial-value{stroke:#f2d2a0;stroke-width:2;stroke-dasharray:509;filter:drop-shadow(0 0 6px #f5d09a66)}
body.villa-app .orb-dial>div{position:absolute;inset:0;display:flex;align-items:center;justify-content:center;flex-direction:column}
body.villa-app .orb-dial strong{font-size:66px;line-height:1;font-weight:300;letter-spacing:-.065em;color:#fff6e8}
body.villa-app .orb-dial strong small{font-size:27px;color:#e5cda8}
body.villa-app .orb-dial div>span{font-size:9px;color:#d6c9b6;letter-spacing:.07em;margin-top:10px}
body.villa-app .orb-scenes{display:flex;gap:10px;width:100%}
body.villa-app .orb-scenes button{flex:1;min-width:0;min-height:75px;border:1px solid #ccb68f33;background:#ffffff04;border-radius:18px;color:#e7e7e3;font-size:12px;padding:10px 5px;box-shadow:none}
body.villa-app .orb-scenes b{display:block;font-size:24px;font-weight:normal;margin-bottom:7px}
body.villa-app .orb-scenes button[aria-pressed=true]{background:linear-gradient(140deg,#dcc49e32,#dcc49e08);color:#ffedcc;border-color:#e1c39290}
body.villa-app .orb-state{font-size:11px;color:#c3c9d0;text-align:center;line-height:1.5;margin:17px 0 0}
body.villa-app .orb-slider{width:100%;display:block;font-size:12px;color:#ebe4d8;margin:7px 0}
body.villa-app .orb-slider output{float:right;color:#f2d1a3;font-size:12px}
body.villa-app .orb-slider input[type=range]{appearance:none;-webkit-appearance:none;display:block;width:100%;height:35px;margin:4px 0 0;background:transparent;cursor:pointer;touch-action:pan-x;accent-color:#e9cfa5}
body.villa-app .orb-slider input[type=range]::-webkit-slider-runnable-track{height:5px;border-radius:4px;background:linear-gradient(90deg,#9b805b,#e9cfa5)}
body.villa-app .orb-slider input[type=range]::-webkit-slider-thumb{appearance:none;-webkit-appearance:none;width:23px;height:23px;border-radius:50%;background:#f1d6aa;border:3px solid #fff0d1;margin-top:-9px;box-shadow:0 0 18px #dbb87a44}
body.villa-app .orb-slider input[type=range]::-moz-range-track{height:5px;border-radius:4px;background:#ba9c70}
body.villa-app .orb-slider input[type=range]::-moz-range-thumb{width:19px;height:19px;border-radius:50%;background:#f1d6aa;border:2px solid #fff0d1}
body.villa-app .orb-stepper{display:flex;align-items:center;justify-content:space-between;gap:10px;width:100%}
body.villa-app .orb-stepper span{font-size:12px;color:#d7d8d8}
body.villa-app .orb-stepper button,body.villa-app .orb-playback button{width:50px;height:50px;border-radius:50%;border:1px solid #c9b28b70;background:#ccb58b0e;color:#f2d8b0;font-size:25px;flex-shrink:0}
body.villa-app .orb-record{width:140px;height:140px;flex-shrink:0;margin:22px 0 16px;border-radius:50%;border:1px solid #bfa88070;background:repeating-radial-gradient(circle,#25303c 0 2px,#101824 3px 5px);display:grid;place-items:center;box-shadow:0 0 35px #dfc49d16}
body.villa-app .orb-record span{width:74px;height:74px;border-radius:50%;border:1px solid #c8b48c66;background:#bfa87d20;display:flex;align-items:center;justify-content:center;flex-direction:column;color:#f0dcba;font-size:28px}
body.villa-app .orb-record small{font-size:5px;letter-spacing:.13em;margin-top:3px}
body.villa-app .orb-record.is-playing{animation:orbital-record 16s linear infinite}
body.villa-app .orb-track{font-size:12px;color:#e5d5bc;margin:0 0 14px;text-align:center}
body.villa-app .orb-playback{display:flex;align-items:center;gap:22px;margin-bottom:7px}
body.villa-app .orb-playback button{width:44px;height:44px;font-size:20px}
body.villa-app .orb-playback button[data-music=play]{width:54px;height:54px}
body.villa-app .orb-playback button[aria-pressed=true]{background:#d5bd9130}
body.villa-app .orb-surface-grid{position:absolute;inset:-40%;border-radius:45%;border:1px solid #e2c19122;background:repeating-linear-gradient(90deg,transparent 0 20%,#e1c79712 20.1% 20.2%,transparent 20.3% 40%);transform:rotate(-9deg);pointer-events:none}
body.villa-app .orb-reflection{position:absolute;inset:0;pointer-events:none;z-index:3;background:radial-gradient(ellipse at var(--shine-x,18%) var(--shine-y,8%),#fff4ce2b,transparent 48%);mix-blend-mode:screen}
body.villa-app .orb-edge-shade{position:absolute;inset:0;z-index:3;pointer-events:none;background:linear-gradient(90deg,#060b13a6,transparent 8% 92%,#060b13a6),linear-gradient(0deg,#070d1666,transparent 6% 94%,#070d1666)}
body.villa-app .orb-arrow{position:absolute;z-index:4;border:1px solid #dec39750;background:#14202de6;color:#f1d5a8;width:38px;height:42px;border-radius:18px;font-size:25px;display:grid;place-items:center;line-height:1}
body.villa-app .orb-left{left:0;top:calc(50% - 21px)}body.villa-app .orb-right{right:0;top:calc(50% - 21px)}body.villa-app .orb-up{top:0;left:calc(50% - 19px)}body.villa-app .orb-down{bottom:0;left:calc(50% - 19px)}
body.villa-app .orb-room-nav{display:flex;justify-content:center;gap:9px;margin:4px 8px 0}
body.villa-app .orb-room-nav button{background:transparent;border:0;color:#b6bfcb;font-size:11px;padding:7px 6px;min-height:42px;box-shadow:none}
body.villa-app .orb-room-nav button span{display:block;width:4px;height:4px;border-radius:50%;background:#7e8793;margin:0 auto 7px}
body.villa-app .orb-room-nav button[aria-pressed=true]{background:transparent;color:#ffdfb2}
body.villa-app .orb-room-nav button[aria-pressed=true] span{background:#f0d0a1;box-shadow:0 0 12px #e3bd80}
body.villa-app .orb-layer-nav{display:flex;justify-content:center;background:#0d1723e0;border:1px solid #cbb28530;border-radius:25px;width:max-content;max-width:100%;padding:4px;margin:8px auto 0;gap:2px}
body.villa-app .orb-layer-nav button{background:transparent;border:0;color:#bfc6ce;font-size:11px;border-radius:20px;padding:11px 14px;min-height:40px}
body.villa-app .orb-layer-nav button[aria-pressed=true]{color:#ffe3b7;background:#d7bb8d23}
body.villa-app #orb-help{font-size:10px;text-align:center;color:#bac2ce;margin:13px 0 0}
body.villa-app .orb-feedback{font-size:11px;text-align:center;color:#ead2ad;min-height:17px;line-height:1.5;padding:0 16px;margin:6px 0}
body.villa-app .orb-tools{display:flex;justify-content:center;gap:8px;flex-wrap:wrap;padding:0 10px}
body.villa-app .orb-exit{display:none}
body.villa-app.villa-immersive .demo-topbar,body.villa-app.villa-immersive .demo-footer{display:none}
body.villa-app.villa-immersive .orb-exit{display:block;position:fixed;right:12px;top:max(10px,env(safe-area-inset-top));z-index:20;background:#101c2be8;border:1px solid #cab48e66;color:#f0d5aa;border-radius:50%;width:40px;height:40px;font-size:22px}
body.villa-app .demo-footer{background:#080e17;color:#bac4cf}
body.villa-app .demo-footer a{color:#e2c69b}
body.villa-app button:focus-visible,body.villa-app input:focus-visible{outline:2px solid #f4d5a8;outline-offset:3px}
body.villa-app .orb-install-dialog{position:fixed;inset:0;margin:auto;width:min(90vw,390px);max-height:85dvh;overflow:auto;color:#eadfcf;background:linear-gradient(140deg,#202932,#0b121c);border:1px solid #d7c39b66;border-radius:28px;padding:35px 27px;box-shadow:0 20px 90px #0009}
body.villa-app .orb-install-dialog::backdrop{background:#030710b3;backdrop-filter:blur(12px)}
body.villa-app .orb-install-dialog h2{font-size:26px;line-height:1.2;letter-spacing:-.04em;margin:20px 0}
body.villa-app .orb-install-dialog p{font-size:13px;color:#c6c6c7;line-height:1.8;margin:18px 0}
body.villa-app .orb-install-dialog small{font-size:10px;color:#c3b99f}
body.villa-app .orb-dialog-close{position:absolute;right:15px;top:15px;width:36px;height:36px;background:transparent;color:#edd8b5;border:1px solid #9c8c7066;border-radius:50%;font-size:22px}
@keyframes orbital-record{to{transform:rotate(360deg)}}
@media(max-width:1000px){body.villa-app .villa-layout{grid-template-columns:1fr;padding:24px 0}body.villa-app .villa-story{display:none}body.villa-app .orb-console{max-width:500px}}
@media(max-width:600px){
body.villa-app .demo-topbar{height:48px;min-height:48px;padding:4px 12px;gap:7px}body.villa-app .demo-topbar .brand{display:none}body.villa-app .demo-topbar .back-link{font-size:10px}body.villa-app .demo-topbar .back-link span{display:inline}body.villa-app .demo-topbar select{max-width:114px;font-size:10px;padding:7px}body.villa-app .demo-topbar #fullscreen{display:inline-flex;width:36px;height:36px;align-items:center;justify-content:center}body.villa-app .demo-top-actions{gap:5px}
body.villa-app .villa-layout{padding:10px 0 max(10px,env(safe-area-inset-bottom));min-height:calc(100dvh - 48px);display:flex;align-items:center}body.villa-app .orb-console{max-width:450px}body.villa-app .orb-toolbar{padding:0 20px;font-size:9px;min-height:34px}body.villa-app .orb-toolbar button{font-size:10px;min-height:34px;padding:8px 12px}body.villa-app .villa-room-info{margin:8px 22px 0;padding:9px 0}body.villa-app .villa-room-info span{font-size:9px}body.villa-app .villa-room-info strong{font-size:16px;margin-top:4px}
body.villa-app .orb-stage{height:clamp(395px,calc(100dvh - 345px),560px);margin-top:6px;perspective:950px}body.villa-app .orb-panel{left:20px;right:20px;top:14px;bottom:14px;border-radius:24px/70px}body.villa-app .orb-panel-content{padding:21px 22px}body.villa-app .orb-coordinate{font-size:8px;margin-bottom:10px;gap:13px}body.villa-app .orb-panel-content h2{font-size:29px}body.villa-app .orb-layer-label{font-size:10px;margin-top:8px}body.villa-app .orb-dial{width:160px;height:160px;margin:19px 0 18px}body.villa-app .orb-dial strong{font-size:62px}body.villa-app .orb-dial div>span{font-size:8px}body.villa-app .orb-scenes{gap:8px}body.villa-app .orb-scenes button{font-size:11px;min-height:68px;border-radius:16px;padding:8px 4px}body.villa-app .orb-scenes b{font-size:23px;margin-bottom:5px}body.villa-app .orb-state{font-size:10px;margin-top:13px}body.villa-app .orb-slider{font-size:12px;margin:5px 0}body.villa-app .orb-stepper button{width:46px;height:46px}body.villa-app .orb-stepper span{font-size:11px}body.villa-app .orb-record{width:125px;height:125px;margin:19px 0 12px}body.villa-app .orb-record span{width:67px;height:67px}body.villa-app .orb-track{font-size:11px;margin-bottom:12px}body.villa-app .orb-playback{gap:20px;margin-bottom:4px}body.villa-app .orb-playback button[data-music=play]{width:50px;height:50px}
body.villa-app .orb-room-nav{gap:5px;margin:1px 7px 0}body.villa-app .orb-room-nav button{font-size:10px;min-height:35px;padding:5px}body.villa-app .orb-room-nav button span{margin-bottom:5px}body.villa-app .orb-layer-nav{margin-top:5px;padding:3px}body.villa-app .orb-layer-nav button{font-size:10px;min-height:36px;padding:9px 12px}body.villa-app #orb-help{position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%)}body.villa-app .orb-feedback{font-size:10px;min-height:15px;margin:4px 0}body.villa-app .orb-tools button{font-size:9px;min-height:30px;padding:7px 10px}body.villa-app .demo-footer{display:none}
body.villa-app.villa-immersive .villa-layout{min-height:100dvh;padding-top:max(12px,env(safe-area-inset-top))}body.villa-app.villa-immersive .orb-toolbar{padding-right:64px}body.villa-app.villa-immersive .orb-toolbar button{font-size:9px;padding:7px 9px}body.villa-app.villa-immersive .orb-stage{height:clamp(420px,calc(100dvh - 300px),620px)}
}
@media(max-width:600px) and (max-height:800px){body.villa-app .orb-dial{width:130px;height:130px;margin:12px 0}body.villa-app .orb-panel-content{padding:18px 20px}body.villa-app .orb-panel-content h2{font-size:26px}body.villa-app .orb-coordinate{font-size:7px;margin-bottom:8px}body.villa-app .orb-record{width:100px;height:100px;margin:12px 0 10px}body.villa-app .orb-record span{width:56px;height:56px;font-size:22px}body.villa-app .orb-scenes button{min-height:60px}body.villa-app .orb-state{margin-top:10px}}
@media(prefers-reduced-motion:reduce){body.villa-app .villa-backdrop{transition:none}body.villa-app .orb-record.is-playing{animation:none}}
body.villa-app .orb-stage{-webkit-user-select:none;user-select:none}
/* Three.js controls are drawn on the sphere, with a native accessible alternative. */
body.villa-app{font-family:-apple-system,BlinkMacSystemFont,'Segoe UI',sans-serif}
body.villa-app .orb-canvas{position:absolute;inset:0;width:100%;height:100%;display:block;touch-action:none}
body.villa-app .orb-canvas[hidden]{display:none}
body.villa-app .orb-native{position:absolute;inset:0}
body.villa-app .orb-native .orb-panel{transform:none}
body.villa-app.orb-three-ready:not(.orb-simple) .orb-native{width:1px;height:1px;overflow:hidden;clip-path:inset(50%);position:absolute}
body.villa-app.orb-three-ready:not(.orb-simple) .orb-edge-shade{background:linear-gradient(90deg,#070b1140,transparent 8% 92%,#070b1140)}
body.villa-app .orb-stage{perspective:none}
.orb-icon{display:inline-block;flex-shrink:0;width:36px;height:36px;background-image:url('assets/orbital-atlas-v2.png');background-size:500% 500%;background-position:calc(var(--ix)*25%) calc(var(--iy)*25%);background-repeat:no-repeat;vertical-align:middle}
body.villa-app .orb-scenes .orb-icon{display:block;margin:0 auto 5px;width:35px;height:35px}
body.villa-app .orb-playback .orb-icon{width:30px;height:30px}
body.villa-app .orb-room-nav button{display:flex;flex-direction:column;align-items:center;gap:3px;min-width:60px;min-height:56px;font-size:10px}
body.villa-app .orb-room-nav button>.orb-icon{width:27px;height:27px}
body.villa-app .orb-room-nav button>span:not(.orb-icon){display:block;width:auto;height:auto;background:transparent;border-radius:0;margin:0;box-shadow:none}
body.villa-app .orb-room-nav button[aria-pressed=true]{color:#f5e2c2}
body.villa-app .orb-layer-nav{backdrop-filter:blur(22px) saturate(140%);background:#1b24359e;border:1px solid #ddeaff25;box-shadow:inset 0 1px #ffffff0d,0 8px 25px #0002}
body.villa-app .orb-layer-nav button{display:flex;align-items:center;gap:5px;font-size:10px;padding:8px 10px;min-height:40px}
body.villa-app .orb-layer-nav .orb-icon{width:21px;height:21px}
body.villa-app .orb-tools{gap:5px;flex-wrap:nowrap;overflow:auto;justify-content:center;padding:0 8px}
body.villa-app .orb-tools button{white-space:nowrap;font-size:9px;padding:7px 8px;min-height:32px}
body.villa-app #villa-reset{font-size:0;width:32px;flex-shrink:0}
body.villa-app #villa-reset:before{content:'↺';font-size:17px}
body.villa-app .orb-tools #villa-install{font-size:0;width:32px;flex-shrink:0}
body.villa-app .orb-tools #villa-install:before{content:'＋';font-size:17px}
body.villa-app .orb-arrow{background:#17223587;backdrop-filter:blur(12px);border-color:#cfdbea38;width:32px;height:36px;font-size:22px}
body.villa-app .orb-left{top:calc(50% - 18px)}body.villa-app .orb-right{top:calc(50% - 18px)}body.villa-app .orb-up,body.villa-app .orb-down{left:calc(50% - 16px)}
body.villa-app .orb-three-ready .orb-coordinate{font-family:inherit}
body.villa-app .orb-palette{width:min(92vw,690px);padding:28px;color:#e6edf5;background:#111b2deb;border:1px solid #d0e6ff38;border-radius:30px;backdrop-filter:blur(30px);max-height:90dvh;overflow:auto;margin:auto}
body.villa-app .orb-palette::backdrop{background:#020610a8;backdrop-filter:blur(8px)}
body.villa-app .orb-palette h2{font-size:26px;letter-spacing:-.04em;line-height:1.25;margin:20px 35px 12px 0}
body.villa-app .orb-palette p{font-size:13px;color:#bccadd;margin-bottom:22px;line-height:1.6}
body.villa-app .orb-palette-grid{display:grid;grid-template-columns:repeat(5,1fr);border-top:1px solid #dcecff20;border-left:1px solid #dcecff20}
body.villa-app .orb-palette-grid>div{text-align:center;padding:8px 4px 10px;border-bottom:1px solid #dcecff20;border-right:1px solid #dcecff20;min-width:0}
body.villa-app .orb-palette-grid .orb-icon{width:min(8vw,65px);height:min(8vw,65px);display:block;margin:5px auto}
body.villa-app .orb-palette-grid small{font-size:10px;color:#d2deeb;line-height:1.4;display:block;overflow-wrap:anywhere}
body.villa-app .orb-palette>a{display:inline-block;margin-top:22px;color:#b9dfff;font-size:12px;text-decoration:underline;text-underline-offset:5px}
@media(max-width:600px){body.villa-app .orb-stage{height:clamp(390px,calc(100dvh - 369px),560px);margin-top:2px}body.villa-app .orb-room-nav{margin-top:0;gap:1px}body.villa-app .orb-room-nav button{min-height:52px;padding:3px 5px;font-size:9px}body.villa-app .orb-layer-nav button{font-size:9px;padding:8px 8px;gap:4px}body.villa-app .orb-layer-nav .orb-icon{width:20px;height:20px}body.villa-app .orb-feedback{min-height:16px;margin:6px 0}body.villa-app .orb-toolbar{letter-spacing:.08em}body.villa-app.villa-immersive .orb-stage{height:clamp(420px,calc(100dvh - 320px),620px)}body.villa-app .orb-palette{padding:20px}body.villa-app .orb-palette-grid small{font-size:8px}}
@media(prefers-reduced-transparency:reduce){body.villa-app .orb-layer-nav,body.villa-app .orb-arrow,body.villa-app .orb-palette{background:#152035;backdrop-filter:none}}
@media(prefers-contrast:more){body.villa-app button{border-color:#d8e9ff;color:#fff}body.villa-app .orb-layer-nav{background:#0c1422}}

body.villa-app .orb-room-nav button>.orb-icon{background-color:transparent;background-image:url('assets/orbital-atlas-v2.png');background-size:500% 500%;background-position:calc(var(--ix)*25%) calc(var(--iy)*25%);border-radius:0;box-shadow:none;margin:0 0 2px}

body.villa-app .orb-room-nav button[aria-pressed=true]>.orb-icon{background-color:transparent;background-image:url('assets/orbital-atlas-v2.png');background-size:500% 500%;background-position:calc(var(--ix)*25%) calc(var(--iy)*25%);box-shadow:none;border-radius:0}
body.villa-app .orb-sibling{font-size:10px;white-space:nowrap;align-self:center;color:#d4e9ff;padding:7px 4px}
/* Keep navigation outside the curved slider hit areas, including at 50% volume. */
body.villa-app .orb-up{left:8px;top:8px}body.villa-app .orb-down{left:8px;bottom:8px}

/* Ten rooms stay navigable without taking space away from the spherical surface. */
body.villa-app .orb-house-nav{display:flex;align-items:center;justify-content:center;gap:22px;margin:0 18px;height:48px}
body.villa-app .orb-house-nav button{border:0;background:transparent;color:#ecddc8;min-height:44px;min-width:44px;padding:3px 8px;font-size:25px}
body.villa-app #villa-house{display:flex;align-items:center;justify-content:center;gap:12px;font-size:11px;text-align:left;min-width:220px}
body.villa-app #villa-house b{display:block;font-size:10px;font-weight:500;color:#b8c7d8}
body.villa-app #villa-house small{display:block;font-size:12px;margin-top:3px;color:#f1e2c8}
.house-orbit{width:29px;height:29px;position:relative;flex-shrink:0;border:1px solid #c9ddf12e;border-radius:50%}
.house-orbit i{position:absolute;left:12px;top:12px;width:4px;height:4px;background:#71879f;border-radius:50%;transform:rotate(calc(var(--dot)*36deg)) translateY(-13px)}
.house-orbit i:nth-child(1){--dot:0}.house-orbit i:nth-child(2){--dot:1}.house-orbit i:nth-child(3){--dot:2}.house-orbit i:nth-child(4){--dot:3}.house-orbit i:nth-child(5){--dot:4}.house-orbit i:nth-child(6){--dot:5}.house-orbit i:nth-child(7){--dot:6}.house-orbit i:nth-child(8){--dot:7}.house-orbit i:nth-child(9){--dot:8}.house-orbit i:nth-child(10){--dot:9}.house-orbit i.active{background:#ffe1ae;box-shadow:0 0 9px #f4c77b}
body.villa-app .orb-house{width:min(94vw,560px);max-height:88dvh;margin:auto;padding:28px;color:#e9f0f8;background:#121d2bf2;border:1px solid #d6e7ff40;border-radius:28px;backdrop-filter:blur(28px);overflow:auto;overscroll-behavior:contain}
body.villa-app .orb-house::backdrop{background:#020711aa;backdrop-filter:blur(8px)}
.house-eyebrow{font-size:10px;letter-spacing:.12em;color:#d5b887;margin:10px 0 14px}.orb-house h2{font-size:29px;letter-spacing:-.04em;margin:0 25px 10px 0;line-height:1.15}.house-intro{font-size:12px;line-height:1.65;color:#bdcede;margin-bottom:18px}
.house-search{font-size:11px;color:#cbdbea;display:block}.house-search input{display:block;width:100%;border-radius:14px;border:1px solid #b4cce12e;background:#ffffff08;color:#f0f6fc;min-height:44px;padding:10px 13px;margin-top:7px;font:inherit;font-size:14px}.house-search input::placeholder{color:#aabdd0}
.house-floor h3{font-size:11px;font-weight:500;letter-spacing:.04em;color:#b8c9db;margin:22px 0 10px}.house-floor>div{display:grid;grid-template-columns:1fr 1fr;gap:8px}.house-floor button{display:flex;align-items:center;gap:8px;text-align:left;min-width:0;min-height:78px;padding:12px 9px;border:1px solid #c6d9ec21;background:#ffffff08;border-radius:17px;color:#f3eada}.house-floor button[aria-current=true]{border-color:#e2c18c80;background:#c6a4671c}.house-floor button:active{background:#c6a46736}.house-room-symbol .orb-icon{width:31px;height:31px}.house-floor button b{display:block;font-size:12px;font-weight:500;line-height:1.3}.house-floor button small{display:block;font-size:9px;line-height:1.5;color:#bbcada;margin-top:5px}.house-room-arrow{margin-left:auto;font-size:12px;color:#dfc399}.house-footer,.house-empty{font-size:10px;color:#b9c9d9;margin:18px 0 0}.orb-house button:focus-visible,.orb-house input:focus-visible{outline:2px solid #cce6ff;outline-offset:3px}
@media(max-width:600px){
 body.villa-app .villa-layout{padding:5px 0 max(6px,env(safe-area-inset-bottom));align-items:flex-start}
 body.villa-app .orb-console{max-width:none}
 body.villa-app .orb-toolbar{min-height:32px}
 body.villa-app .villa-room-info{margin:3px 20px 0;padding:5px 0;display:flex;justify-content:space-between}
 body.villa-app .villa-room-info span{font-size:8px}
 body.villa-app .villa-room-info strong{font-size:13px;margin-top:3px}
 body.villa-app .orb-stage{height:max(390px,calc(100dvh - 286px - env(safe-area-inset-bottom)));margin-top:0}
 body.villa-app.villa-immersive .villa-layout{padding-top:max(6px,env(safe-area-inset-top))}
 body.villa-app.villa-immersive .orb-stage{height:max(390px,calc(100dvh - 238px - env(safe-area-inset-bottom) - env(safe-area-inset-top)))}
 body.villa-app .orb-layer-nav{margin-top:0}
 body.villa-app .orb-feedback{margin:3px 0;min-height:14px;font-size:9px}
 body.villa-app .orb-house{padding:23px 18px}
}
@media(max-width:370px){.house-floor>div{grid-template-columns:1fr}.house-floor button{min-height:62px}.house-room-symbol .orb-icon{width:36px;height:36px}}

.house-overview{font-size:11px;color:#cee0ef;margin:10px 0}.house-scenes{display:flex;gap:8px;margin:12px 0 20px}.house-scenes button{flex:1;display:flex;align-items:center;justify-content:center;gap:7px;border:1px solid #c6d9ec30;background:#ffffff0d;border-radius:14px;min-height:45px;color:#f0e0c6;font-size:11px}.house-scenes .orb-icon{width:25px;height:25px}.house-scenes button:active{background:#c6a46736}

/* The sphere continues behind floating, translucent navigation. */
body.villa-app .orb-console{position:relative;isolation:isolate}
body.villa-app:not(.orb-simple) .orb-stage{overflow:visible}
body.villa-app:not(.orb-simple) .orb-stage>.orb-canvas{top:-78px;height:calc(100% + 156px)}
body.villa-app :is(.orb-toolbar,.villa-room-info,.orb-house-nav,.orb-layer-nav,.orb-tools,.orb-feedback){position:relative;z-index:2}
body.villa-app .orb-toolbar{background:linear-gradient(90deg,#0b172b66,#0b172b14);border-radius:22px;backdrop-filter:blur(7px)}
body.villa-app .villa-room-info{padding:8px 12px!important;border:1px solid #d9e9fb24;background:#16253732;border-radius:18px;backdrop-filter:blur(7px)}
body.villa-app .orb-house-nav{background:#18273824;border:1px solid #c8e2ff20;border-radius:24px;backdrop-filter:blur(7px)}
body.villa-app .orb-layer-nav{background:#18304b38;backdrop-filter:blur(9px) saturate(135%);border-color:#d7eaff40}
body.villa-app .orb-tools button{background:#142b4138;backdrop-filter:blur(8px)}
body.villa-app .orb-tools{justify-content:flex-start;scrollbar-width:none;padding-inline:14px}
body.villa-app .orb-tools::-webkit-scrollbar{display:none}
body.villa-app #villa-details{color:#f4ddb8;border-color:#efd5a56b;font-size:10px;flex-shrink:0}
body.villa-app .orb-hyper{width:min(90vw,450px);padding:0;margin:auto;max-height:94dvh;border:0;background:transparent;color:#f2ebdf;overflow:auto;scrollbar-width:none;overscroll-behavior:contain}
body.villa-app .orb-hyper::backdrop{background:#02071366;backdrop-filter:blur(3px)}
.hyper-heading{text-align:center;position:relative;z-index:2;padding:17px 12px 0;background:linear-gradient(180deg,#142236bb,#14223600);border-radius:25px}
.hyper-heading>span{font-size:9px;letter-spacing:.22em;color:#b7d5ed}.hyper-heading h2{font-size:24px;font-weight:500;letter-spacing:-.04em;margin:9px 0 5px}.hyper-heading p{font-size:12px;color:#d4e5f4;margin:0}
body.villa-app .orb-hyper-stage{position:relative;width:min(75vw,390px);height:min(82vw,426px);margin:10px auto 6px;border-radius:50%;overflow:hidden;touch-action:none;background:radial-gradient(ellipse,#16334e88,#0c162f22 70%);box-shadow:0 24px 60px #0007,0 0 32px #9fc7e422,inset 0 0 0 1px #c3e5ff49}
body.villa-app .orb-hyper-stage .orb-canvas{inset:0;width:100%;height:100%}
.hyper-bottom{position:relative;display:flex;align-items:center;justify-content:space-between;gap:10px;padding:14px 5px max(12px,env(safe-area-inset-bottom));z-index:2}
.hyper-bottom>span{font-size:11px;color:#e0edf6;text-shadow:0 1px 9px #000}.hyper-bottom small{display:block;font-size:9px;margin-top:6px;color:#c6d4e2}
body.villa-app .hyper-close{display:flex;align-items:center;gap:8px;min-height:50px;padding:8px 18px 8px 12px;background:#e6f1ffdd;color:#102235;border:1px solid #fff;border-radius:28px;font-size:13px;font-weight:600;box-shadow:0 8px 24px #0004;flex-shrink:0;backdrop-filter:blur(16px)}.hyper-close>span{font-size:27px;line-height:1}
.hyper-native{display:grid;grid-template-columns:1fr 1fr;gap:10px;padding:55px 25px}
.orb-hyper:not(.hyper-fallback) .hyper-native{position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%);padding:0}
.hyper-native button{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:8px;min-height:80px;border:1px solid #cce0fa55;background:#20344be8;color:#f2e5ce;border-radius:20px;font-size:12px}.hyper-native .orb-icon{width:38px;height:38px}
.hyper-fallback .orb-hyper-stage{height:auto;min-height:260px;border-radius:30px}
.orb-hyper button:focus-visible{outline:2px solid #b6e0ff;outline-offset:3px}
@media(max-width:600px){body.villa-app .orb-stage{height:max(390px,calc(100dvh - 299px - env(safe-area-inset-bottom)))}body.villa-app.villa-immersive .orb-stage{height:max(390px,calc(100dvh - 251px - env(safe-area-inset-bottom) - env(safe-area-inset-top)))}}
@media(prefers-reduced-transparency:reduce),(prefers-contrast:more){body.villa-app :is(.orb-toolbar,.villa-room-info,.orb-house-nav,.orb-layer-nav){background:#142337;backdrop-filter:none}.hyper-heading{background:#142337}}
.orb-stage[data-renderer=loading]>.orb-canvas,.orb-hyper-stage[data-renderer=loading]>.orb-canvas{opacity:0}
@media(max-width:600px){body.villa-app .orb-stage{height:max(390px,calc(100dvh - 305px - env(safe-area-inset-bottom)))}body.villa-app.villa-immersive .orb-stage{height:max(390px,calc(100dvh - 257px - env(safe-area-inset-bottom) - env(safe-area-inset-top)))}}
.hyper-bottom{position:sticky;bottom:0;background:linear-gradient(0deg,#09182ccc,#09182c00);border-radius:25px}
/* Round satellite with six full control faces and a continuous hold affordance. */
body.villa-app .orb-hyper{width:min(96vw,520px);max-height:96dvh;overflow:auto}
body.villa-app .orb-hyper-stage{width:min(94vw,480px);height:auto;aspect-ratio:1;margin:8px auto 0;background:radial-gradient(circle,#24364c44,transparent 70%);box-shadow:none;border-radius:50%}
.hyper-heading{padding-top:10px}.hyper-heading h2{font-size:22px;margin-block:8px}.hyper-heading p{color:#dae9fa}
.hyper-faces{display:grid;grid-template-columns:repeat(3,1fr);gap:5px;padding:2px 14px 8px}
.hyper-faces button{min-height:44px;padding:6px 7px;border:1px solid #e0eeff27;border-radius:16px;background:#9cc6ee10;color:#e1e9f5;font-size:11px;backdrop-filter:blur(18px)}
.hyper-faces button[aria-pressed=true]{background:#d4eaff26;border-color:#c6e7ff8c;color:#fff;box-shadow:inset 0 1px 0 #fff3}
.hyper-faces button:active,.hyper-native button:active{transform:scale(.96)}
.hyper-bottom{padding-inline:14px}.hyper-bottom small{font-size:10px}
body.villa-app .hyper-fallback .orb-hyper-stage{aspect-ratio:auto;height:auto;border-radius:28px;overflow:visible}
.hyper-native{padding:20px;gap:12px}.hyper-native button{min-height:90px;background:#233d56ee;border-radius:26px}.hyper-native small{color:#d4e5f7}
.orb-hold-hint{position:absolute;left:50%;top:50%;transform:translate(-50%,-50%);z-index:5;pointer-events:none;display:none;align-items:center;gap:10px;padding:12px 18px;border-radius:30px;background:#15283ee8;box-shadow:0 8px 30px #0006;color:#f5f5fa;white-space:nowrap;font-size:12px;backdrop-filter:blur(15px)}
.orb-hold-hint span{width:26px;height:26px;border-radius:50%;background:conic-gradient(#e1efff calc(var(--hold-progress,0)*1turn),#ffffff20 0);mask:radial-gradient(transparent 52%,#000 55%)}
.is-holding .orb-hold-hint{display:flex}
@media(max-height:540px) and (orientation:landscape){body.villa-app .orb-hyper{width:min(96vw,720px);display:none;grid-template-columns:1fr 1fr;align-items:center}.orb-hyper[open]{display:grid!important}.hyper-heading{grid-column:2;grid-row:1}.orb-hyper .orb-hyper-stage{grid-column:1;grid-row:1 / 4;width:min(65dvh,320px)}.hyper-faces{grid-column:2;grid-row:2}.hyper-bottom{grid-column:2;grid-row:3;position:relative}.hyper-bottom>span{max-width:130px}}
@media(prefers-reduced-transparency:reduce),(prefers-contrast:more){.hyper-faces button{background:#15273e;backdrop-filter:none}.hyper-faces button[aria-pressed=true]{background:#355678}}

body.villa-app .orb-hyper{max-width:calc(100vw - 16px);box-sizing:border-box}body.villa-app .orb-hyper-stage{width:min(100%,480px)}
@media(max-height:540px) and (orientation:landscape){body.villa-app .orb-hyper .orb-hyper-stage{width:min(65dvh,320px)}}

body.villa-app .orb-canvas{-webkit-touch-callout:none;-webkit-user-select:none;user-select:none}
/* Keep room labels and controls within their own stage, clear of floating chrome. */
body.villa-app:not(.orb-simple) .orb-stage{overflow:hidden}
body.villa-app:not(.orb-simple) .orb-stage>.orb-canvas{inset:0;height:100%;width:100%}
body.villa-app .villa-room-info{background:#142337c9;backdrop-filter:blur(12px);margin-bottom:4px}
body.villa-app .villa-room-info span:first-child{min-width:0;flex:1}
body.villa-app .villa-room-info strong{white-space:normal;line-height:1.2}
body.villa-app .orb-layer-nav{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));width:calc(100% - 32px)}
body.villa-app .orb-layer-nav button{flex-direction:column;justify-content:center;gap:3px;padding:6px 2px;min-height:48px;font-size:9px}
body.villa-app .orb-layer-nav .orb-icon{width:20px;height:20px}
body.villa-app .orb-action-grid{display:grid;grid-template-columns:1fr 1fr;gap:10px;width:100%;margin:20px 0 8px}
body.villa-app .orb-action-grid button{display:flex;align-items:center;justify-content:center;flex-direction:column;gap:6px;min-height:82px;border-radius:22px;background:#d2e6ff15;border:1px solid #c4dfff45;color:#f3f3eb;font-size:12px;padding:10px}
body.villa-app .orb-action-grid button[aria-pressed=true]{background:#dfc18d28;border-color:#e7c89099}
body.villa-app .orb-action-grid.compact{margin-top:12px;gap:8px}.orb-action-grid.compact button{min-height:62px!important}.orb-action-grid.compact .orb-icon{width:25px;height:25px}
body.villa-app .orb-sensor-grid{display:grid;grid-template-columns:1fr 1fr;gap:26px 15px;width:100%;margin:28px 0}
body.villa-app .orb-sensor{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:8px;aspect-ratio:1;border-radius:50%;border:1px solid #b5ecd96b;background:radial-gradient(circle at 35% 25%,#b1f4e51c,#091a2950);color:#f1fbf8}
body.villa-app .orb-sensor strong{font-size:30px;font-weight:400}.orb-sensor small{font-size:13px;margin-left:4px}.orb-sensor>span{font-size:11px;color:#d6e9e4}
body.villa-app .orb-sensor-grid.compact{gap:35px;margin:12px 20px;width:75%}.orb-sensor-grid.compact .orb-sensor strong{font-size:24px}.orb-stepper strong{display:block;font-size:26px;margin-top:4px}
body.villa-app.orb-simple .orb-panel-content{overflow:auto;justify-content:flex-start}
@media(max-width:600px){body.villa-app .orb-stage{height:max(380px,calc(100dvh - 323px - env(safe-area-inset-bottom)))}body.villa-app.villa-immersive .orb-stage{height:max(380px,calc(100dvh - 275px - env(safe-area-inset-bottom) - env(safe-area-inset-top)))}}
