html,body{width:100%;height:100%;overflow:hidden;background:#9abacf}body>.nav,.hero,.benefits,body>footer,.experience-heading>div:first-child,.demo-caption{display:none!important}main,.experience,.demo-shell,.stage,.host-desktop{position:fixed!important;inset:0!important;width:100%!important;height:100%!important;max-width:none!important;margin:0!important;padding:0!important;border:0!important;border-radius:0!important;overflow:hidden}.host-desktop{position:absolute!important}.experience-heading{position:fixed;z-index:30;left:16px;bottom:56px;display:block;margin:0}.guest-tabs{background:#20262de8;backdrop-filter:blur(20px);border-color:#ffffff25;box-shadow:0 7px 24px #0003}.guest-tabs button{padding:9px 11px}.demo-toolbar{position:fixed;z-index:25;right:14px;top:31px;border:1px solid #ffffff2a;border-radius:7px;background:#20262ddc;backdrop-filter:blur(20px);padding:8px 12px;gap:22px;box-shadow:0 4px 15px #0002}.manager{top:83px;left:7%;width:86%;height:215px;z-index:3}.guest-window{top:248px;left:auto;right:5%;width:min(68vw,calc((100vh - 390px)*1.77778));z-index:6}.mac-host .guest-window{top:248px;left:auto;right:5%;width:min(65vw,calc((100vh - 390px)*1.6))}.guest-window.maximized,.mac-host .guest-window.maximized{top:70px;left:auto;right:5%;width:min(90vw,calc((100vh - 205px)*1.77778));z-index:20}.mac-host .guest-window.maximized{width:min(88vw,calc((100vh - 205px)*1.6))}.host-taskbar{height:45px;z-index:24}.host-icons{top:45px;left:12px}.host-label{top:15px;right:18px}.mac-host .host-label{display:none}.experience-controls{position:fixed;z-index:30;right:16px;bottom:56px;border:1px solid #ffffff25;border-radius:8px;background:#20262de8;backdrop-filter:blur(20px);box-shadow:0 7px 24px #0003;padding:4px;gap:0}.experience-controls button{font-size:10px;padding:10px}.capability-window{top:240px;left:auto;right:5%;width:min(72vw,850px);height:min(360px,calc(100vh - 350px));z-index:15}.terminal-caption{max-width:90%;text-align:right}.downloads{display:none;position:fixed;z-index:100;left:50%;top:50%;transform:translate(-50%,-50%);width:min(900px,90vw);max-height:85vh;overflow:auto;border:1px solid #69727d;border-radius:10px;box-shadow:0 25px 100px #0009;padding:40px 30px;background:#20252c}.downloads:target{display:block}.downloads h2{font-size:28px}.download-grid{margin-top:25px;gap:10px}.download-grid a{padding:20px}.download-close{position:absolute;right:12px;top:10px;font-size:23px;color:#cdd5df}.desktop-download{position:fixed;z-index:26;left:10px;top:183px;display:flex;align-items:center;flex-direction:column;gap:4px;width:68px;color:white;text-shadow:0 1px 3px #000;font-size:10px;text-align:center;border-radius:5px;padding:6px 1px}.desktop-download:hover{background:#ffffff25}.desktop-download svg{width:30px;height:30px;filter:drop-shadow(0 2px 3px #0003)}.desktop-demo-note{position:fixed;z-index:2;left:15px;bottom:110px;font-size:9px;color:#fff;text-shadow:0 1px 3px #000;opacity:.85}.mac-host .host-taskbar{z-index:24}.mac-host .host-taskbar .mac-dock{bottom:3px}.mac-host .demo-pointer{z-index:50}@media(max-width:1000px){.guest-tabs button{padding:8px;font-size:9px}.experience-controls button{font-size:9px;padding:8px}.experience-heading{bottom:59px;left:10px}.experience-controls{right:10px;bottom:59px}}@media(max-width:780px){.experience-heading{bottom:99px;left:12px;right:12px}.guest-tabs{justify-content:center}.experience-controls{bottom:53px;left:12px;right:12px;justify-content:center}.guest-window,.mac-host .guest-window{top:253px;width:min(83vw,calc((100vh - 440px)*1.77778));right:5%}.mac-host .guest-window{width:min(83vw,calc((100vh - 440px)*1.6))}.desktop-demo-note{bottom:145px}.capability-window{top:245px;height:calc(100vh - 410px);right:4%;width:88%}.demo-toolbar{font-size:9px}.manager{left:9%;width:87%;top:83px}.desktop-download{left:2px;width:45px;font-size:8px}.desktop-download svg{width:25px;height:25px}}@media(max-width:580px){.manager{left:3%;width:94%;top:90px;height:220px}.host-icons,.desktop-demo-note{display:none}.desktop-download{top:41px;left:12px;width:40px;font-size:8px}.desktop-download svg{width:20px;height:20px}.demo-toolbar{right:8px;top:37px;gap:8px;padding:7px}.demo-toolbar button{margin-left:5px;font-size:8px}.guest-window,.mac-host .guest-window{top:272px;width:92%;right:4%;left:auto}.guest-window.maximized,.mac-host .guest-window.maximized{top:140px;width:96%;right:2%;left:auto}.guest-tabs{display:flex;flex-wrap:wrap;gap:2px;width:100%}.guest-tabs button{font-size:9px;padding:7px}.experience-heading{bottom:97px}.capability-window{top:262px;height:min(245px,calc(100vh - 410px));width:92%;right:4%;left:auto}.downloads{padding:35px 18px}.downloads h2{font-size:24px}.download-grid{grid-template-columns:1fr}.download-grid a{padding:15px}.download-grid p{margin-bottom:7px}.download-note{font-size:9px}.mac-host .host-taskbar .mac-dock{bottom:8px}}

.desktop-demo-note,.agent-disclaimer{display:none!important}.about-demo{position:fixed;z-index:31;left:15px;bottom:9px;color:#26364a;font-size:11px}.about-demo summary{cursor:pointer}.about-demo[open]{bottom:50px;left:12px;background:#20262ef5;color:#e5edf5;border:1px solid #647587;border-radius:8px;padding:14px;width:min(330px,90vw);font-size:12px;line-height:1.5}.window-user-sized .agent-terminal-body{height:calc(100% - 32px)!important}

.experience-heading{display:none!important}.host-choice{position:fixed;left:14px;bottom:56px;z-index:30;display:flex;gap:3px;padding:4px;background:#20262de8;border:1px solid #ffffff25;border-radius:8px;backdrop-filter:blur(15px)}.host-choice button{font:11px inherit;background:transparent;border:0;border-radius:5px;color:#c9d9e9;padding:9px 13px}.host-choice button[aria-pressed=true]{background:#425d77;color:white}.experience-controls{left:auto!important;right:13px!important;bottom:auto!important;top:92px;flex-direction:column;background:#20262da0;max-width:115px;padding:4px}.experience-controls button{width:100%;text-align:left}.about-demo{left:auto;right:14px;bottom:12px}.about-demo[open]{left:auto;right:14px}.host-choice button:focus-visible{outline:2px solid #82baff}@media(max-width:580px){.experience-controls{top:auto;bottom:100px!important;right:8px!important;max-width:90px}.experience-controls button{font-size:9px;padding:7px}.host-choice{bottom:53px;left:8px}.host-choice button{padding:8px;font-size:10px}}

.desktop-github{position:fixed;z-index:26;top:264px;left:10px;width:68px;display:flex;align-items:center;flex-direction:column;gap:5px;padding:6px 1px;border-radius:5px;color:white;font-size:10px;text-shadow:0 1px 3px #000}.desktop-github svg{width:31px;height:31px;filter:drop-shadow(0 2px 3px #0005)}.desktop-github:hover{background:#ffffff25}@media(max-width:580px){.desktop-github{top:42px;left:65px;width:40px;font-size:8px}.desktop-github svg{width:22px;height:22px}}
.demo-toolbar{display:none!important}.mac-host .manager>.titlebar>.window-controls{display:flex!important;gap:2px}.mac-host .manager>.titlebar:before{display:none}.mac-host .manager .window-controls button:last-child{order:-1}.mac-host .manager .window-controls button{height:31px;width:16px;padding:0}.mac-host .manager .window-controls button:before{margin:auto}.mac-host .manager .window-controls button:hover{background:transparent}

.mac-host .terminal-title>span:first-child{justify-content:center;width:100%}

:root{--app-bg:#1e1e1e;--app-control:#2d2d2d;--app-border:#3e3e3e;--app-text:#e6e6e6;--app-accent:#4ea6f5}body{font-family:'Segoe UI Variable','Segoe UI',Arial,sans-serif}body:has(.mac-host){font-family:-apple-system,BlinkMacSystemFont,'SF Pro Text','Helvetica Neue',Arial,sans-serif}.mac-host{font-family:-apple-system,BlinkMacSystemFont,'SF Pro Text','Helvetica Neue',Arial,sans-serif}.downloads,.about-demo[open]{background:#2a2a2a;border:1px solid #555;border-radius:6px;color:var(--app-text);font-family:inherit}.downloads h2{font-size:20px}.downloads p,.about-demo p{color:#bbb;font-size:12px;line-height:1.5}.download-grid a{background:#2d2d2d;border:1px solid #3e3e3e;border-radius:4px}.download-grid a:hover{border-color:#4ea6f5}.downloads .download-label{color:#4ea6f5}.host-choice,.experience-controls,.file-demo-toast{background:#2a2a2af2;border-color:#555;border-radius:6px;font-family:inherit}.host-choice button,.experience-controls button{font-family:inherit}.host-choice button[aria-pressed=true],.experience-controls button[aria-pressed=true]{background:#1a3a5a;border-color:#2a5a8a;color:#88bbff}
.experience-controls{left:8px!important;right:auto!important;top:342px!important;bottom:auto!important;width:68px;max-width:68px;background:transparent!important;border:0!important;box-shadow:none!important;backdrop-filter:none!important;padding:0;gap:9px}.experience-controls button{height:48px;text-align:center;color:white!important;background:transparent!important;border:0!important;text-shadow:0 1px 3px #000;font-size:9px;padding:4px!important;display:flex;flex-direction:column;align-items:center;gap:3px}.experience-controls button:before{content:'›_';display:block;background:#18232c;border:1px solid #cdd7e3;border-radius:5px;color:white;text-shadow:none;font:16px monospace;width:27px;height:23px;padding-top:3px}.experience-controls [data-feature=clipboard]:before{content:'▱';background:#d99b29}.experience-controls [data-feature=gpu]:before{content:'◇';background:#236aab}.experience-controls [data-feature=agent]:before{content:'>_';background:#202020}.experience-controls button:hover{background:#ffffff25!important}.experience-controls [data-feature=desktop]{display:none}@media(max-width:580px){.experience-controls{left:118px!important;right:5px!important;top:38px!important;bottom:auto!important;max-width:none;width:auto;flex-direction:row;gap:2px}.experience-controls button{font-size:7px;height:47px;width:48px}.experience-controls button:before{font-size:13px;width:22px;height:19px}}

.host-label{display:none!important}.host-choice{background:#1e1e1e;border:1px solid #3e3e3e;border-radius:4px;padding:6px;gap:6px;font-family:'Segoe UI',sans-serif;font-size:13px;backdrop-filter:none}.host-choice button{background:#2d2d2d;color:#e6e6e6;border:1px solid #3e3e3e;border-radius:4px;padding:4px 12px;font-family:inherit;font-size:12px;font-weight:400;height:28px}.host-choice button[aria-pressed=true]{background:#1a3a5a;border-color:#2a5a8a;color:#88bbff}.host-choice button:hover{background:#383838;border-color:#555}body:has(.mac-host) .host-choice{font-family:-apple-system,BlinkMacSystemFont,'SF Pro Text','Helvetica Neue',Arial,sans-serif}.experience-controls [data-feature=agent]:before{display:none}.experience-controls .codex-mark{width:28px;height:28px;color:#fff;filter:drop-shadow(0 1px 2px #0006)}

.host-choice button{height:26px}.host-choice button:hover{background:#3a3a3a;border-color:#555}.host-choice button:active{background:#444}.experience-controls [data-feature=ssh]:before{display:none}.terminal-shortcut-icon{width:28px;height:28px}.host-desktop:not(.mac-host) .terminal-title{height:38px;background:#202020;padding-left:8px;gap:0}.host-desktop:not(.mac-host) .terminal-profile-tab{height:32px;align-self:flex-end;flex:0 1 210px;min-width:80px;padding:0 10px;background:#0c0c0c;border-radius:6px 6px 0 0;font:12px 'Segoe UI',sans-serif;display:flex;gap:8px;align-items:center}.terminal-profile-tab>img{width:17px;height:17px}.terminal-tabs-tools{font:17px 'Segoe UI',sans-serif;padding:0 14px;flex:1;color:#ccc}.mac-host .terminal-tabs-tools,.mac-host .terminal-profile-tab>img{display:none}.host-desktop:not(.mac-host) .capability-body{height:calc(100% - 38px)}.mac-host .terminal-title{background:linear-gradient(#efefef,#d9d9d9);color:#202020}.mac-host .terminal-title .terminal-profile-tab{justify-content:center;font:12px -apple-system,BlinkMacSystemFont,'SF Pro Text','Helvetica Neue',Arial,sans-serif}.mac-host .terminal-title .terminal-profile-tab:before{content:'▣';font-size:12px;color:#777;margin-right:6px}

.experience-controls [data-feature=ssh]>svg{width:28px;height:28px}
.guest-desktop .guest-taskbar{height:36px}.guest-desktop .guest-taskbar .task-icons{position:absolute;left:12px;right:108px;gap:10px;justify-content:center;transform:none}.guest-desktop .guest-taskbar .task-icons>.os-vector-icon,.guest-desktop .guest-taskbar .win-logo{width:22px;height:22px;flex-shrink:0}.guest-desktop .guest-taskbar .task-search{width:105px;padding:4px 8px;font-size:13px;gap:6px}.guest-desktop .guest-taskbar .task-search span{font-size:10px}.guest-desktop .guest-taskbar .tray{display:flex;right:8px;font-size:10px;gap:5px}.guest-desktop .guest-taskbar .tray>span:last-child{font-size:9px}.guest-desktop .guest-taskbar .system-icons{gap:5px;margin-right:4px}.guest-desktop .guest-taskbar .system-icons svg{width:12px;height:12px}.guest-desktop .guest-icons{top:12px;left:8px;width:64px;font-size:10px;gap:5px}.guest-desktop .guest-icons>.os-vector-icon{width:30px;height:34px}.guest-desktop .guest-icons>.os-vector-icon:not(:first-child){margin-top:12px}.guest-desktop .ubuntu-top{height:25px;font-size:11px;padding:0 10px}.guest-desktop .ubuntu-top .system-icons svg{width:13px;height:13px}.guest-desktop .ubuntu-top .system-icons{gap:8px}.guest-desktop .workspace-pill{gap:5px}.guest-desktop .workspace-pill i{width:5px;height:5px}.guest-desktop .workspace-pill i:first-child{width:15px}.guest-desktop .ubuntu-dock{top:25px;width:43px;gap:12px;padding:12px 5px}.guest-desktop .ubuntu-dock .os-vector-icon{width:30px;height:30px;transform:none}.guest-desktop .ubuntu-dock .app-grid{width:28px;height:28px;margin-top:auto}.guest-desktop .mac-menu{height:25px;min-height:25px;padding:0 9px;font-size:10px}.guest-desktop .mac-menu-left{gap:11px}.guest-desktop .mac-menu .mac-apple{width:12px;height:14px;margin:0}.guest-desktop .mac-status{gap:10px}.guest-desktop .mac-status>.mac-vector{width:12px;height:12px}.guest-desktop .mac-status>span{margin:0;font-size:9px}.guest-desktop .mac-dock{height:43px;gap:4px;padding:4px 7px 6px;bottom:5px;border-radius:12px}.guest-desktop .mac-dock-item{width:30px;height:30px}.guest-desktop .mac-running:after{bottom:-4px;width:3px;height:3px}.guest-desktop .mac-dock-divider{height:26px;margin:0 3px}.guest-desktop .mac-desktop-files{right:12px;top:38px;width:70px;gap:19px}.guest-desktop .mac-desktop-file{gap:4px;font-size:10px}.guest-desktop .mac-desktop-file>.mac-vector{width:38px;height:38px}
@container(max-width:550px){.guest-taskbar .task-search{display:none!important}.mac-guest-scene .mac-menu-left>span:nth-of-type(n+3){display:none}.mac-guest-scene .mac-status>.mac-vector{display:none}}@container(max-width:360px){.guest-taskbar .task-icons>.os-vector-icon:nth-last-child(-n+2){display:none}.mac-guest-dock .mac-dock-item:is([aria-label="Messages"],[aria-label="Mail"],[aria-label="Photos"]){display:none}}
.connection-line{display:none!important}

.host-desktop:not(.mac-host) .guest-window>.titlebar{padding-right:0}.host-desktop:not(.mac-host) .guest-title-actions{display:flex;height:32px;gap:0;margin-left:auto;flex-shrink:0}.host-desktop:not(.mac-host) .guest-title-actions button{position:relative;display:grid;place-items:center;width:42px;height:31px;border:0;border-radius:0;background:transparent;color:#ddd;font:16px 'Segoe UI',sans-serif;padding:0}.host-desktop:not(.mac-host) .guest-title-actions button:hover{background:#ffffff1c}.host-desktop:not(.mac-host) .guest-title-actions button:last-child:hover{background:#c42b1c;color:white}.host-desktop:not(.mac-host) .guest-title-actions button:nth-child(2){font-size:0}.host-desktop:not(.mac-host) .guest-title-actions button:nth-child(2):after{content:'';width:9px;height:9px;border:1px solid currentColor}.host-desktop:not(.mac-host) .guest-title-actions button:first-child{font-size:0}.host-desktop:not(.mac-host) .guest-title-actions button:first-child:after{content:'';width:10px;border-top:1px solid currentColor}.guest-window.agent-display.maximized{left:84px!important;top:42px!important;width:calc(100% - 96px)!important;height:calc(100% - 142px)!important}
.desktop-download,.desktop-github,.experience-controls{position:absolute!important;z-index:2!important}.host-icons,.host-demo-file{z-index:2!important}.guest-demo-file{z-index:2!important}

.experience-controls [data-feature=gpu][hidden]{display:none!important}
.mac-host .mac-host-background .mac-menu{height:22px!important;min-height:22px!important;padding:0 12px;font-size:11px!important}.mac-host .mac-host-background .mac-menu-left{gap:15px}.mac-host .mac-host-background .mac-menu .mac-apple{width:11px!important;height:13px!important}.mac-host .mac-host-background .mac-status{gap:13px}.mac-host .mac-host-background .mac-status>.mac-vector{width:12px!important;height:12px!important}.mac-host .mac-host-background .mac-status>span{font-size:10px!important}
.mac-host>:is(.manager,.guest-window,.capability-window)>.native-caption,.guest-desktop.mac>:is(.agent-sample-app,.webgl-workload)>.native-caption,body:has(.mac-host) .downloads:not(.windows-native)>.native-caption{height:26px!important;min-height:26px!important;padding:0 60px!important;font-size:11px!important}
.mac-host>:is(.manager,.guest-window,.capability-window)>.native-caption :is(.caption-close,.caption-minimize,.caption-maximize),.guest-desktop.mac>:is(.agent-sample-app,.webgl-workload)>.native-caption :is(.caption-close,.caption-minimize,.caption-maximize),body:has(.mac-host) .downloads:not(.windows-native)>.native-caption :is(.caption-close,.caption-minimize,.caption-maximize){top:8px!important;width:10px!important;height:10px!important;min-width:10px!important}
.mac-host>:is(.manager,.guest-window,.capability-window)>.native-caption .caption-close,.guest-desktop.mac>.agent-sample-app>.native-caption .caption-close{left:10px!important}.mac-host>:is(.manager,.guest-window,.capability-window)>.native-caption .caption-minimize,.guest-desktop.mac>.agent-sample-app>.native-caption .caption-minimize{left:27px!important}.mac-host>:is(.manager,.guest-window,.capability-window)>.native-caption .caption-maximize,.guest-desktop.mac>.agent-sample-app>.native-caption .caption-maximize{left:44px!important}
.mac-host>.manager>#app{height:calc(100% - 26px)}.mac-host>.guest-window>.guest-desktop{height:calc(100% - 26px)}.guest-desktop.mac>.agent-sample-app>.sample-runtime{height:calc(100% - 53px)}
.guest-desktop.mac .mac-menu{height:20px!important;min-height:20px!important;font-size:10px!important;padding:0 9px}.guest-desktop.mac .mac-menu .mac-apple{width:10px!important;height:12px!important}.guest-desktop.mac .mac-status>span{font-size:9px!important}.guest-desktop.mac .mac-status>.mac-vector{width:11px!important;height:11px!important}.guest-desktop.mac .mac-dock{height:34px!important;padding:3px 6px 5px;gap:4px;border-radius:9px}.guest-desktop.mac .mac-dock-item{width:24px!important;height:24px!important}.guest-desktop.mac .mac-dock-divider{height:21px}.guest-desktop.mac .mac-desktop-files{top:30px;gap:15px}.guest-desktop.mac .mac-desktop-file{font-size:9px}.guest-desktop.mac .mac-desktop-file>.mac-vector{width:32px;height:32px}
@media(max-width:580px){.mac-host .mac-host-background .mac-menu-left{gap:10px}.mac-host .mac-host-background .mac-status>.mac-vector{display:none}.mac-host .mac-host-background .mac-status>span{font-size:9px!important}}

.experience-controls [data-feature]:not([data-feature=agent]){display:none!important}

.agent-sample-app{display:flex;flex-direction:column;padding:0!important;overflow:hidden}.agent-sample-app>.agent-sample-title{flex-shrink:0;margin:0!important}.agent-sample-app>.sample-runtime{flex:1;min-height:0;height:auto!important;width:100%;display:block}
html.presentation-loading body{visibility:hidden}
.host-desktop{--shortcut-top:32px}.host-desktop.mac-host{--shortcut-top:34px}
.host-icons{display:none!important}
.desktop-download,.desktop-github,.experience-controls{left:8px!important;right:auto!important;width:68px!important;max-width:68px!important;text-align:center!important;align-items:center!important;justify-content:center!important;box-sizing:border-box}
.desktop-download{top:var(--shortcut-top)!important}
.desktop-github{top:calc(var(--shortcut-top) + 84px)!important;display:flex!important;flex-direction:column!important;gap:5px!important;padding:5px 2px!important}
.desktop-github span{display:block;width:64px;text-align:center;line-height:1.25;white-space:normal}
.experience-controls{top:calc(var(--shortcut-top) + 174px)!important;bottom:auto!important;display:flex!important;flex-direction:column!important}
@media(max-width:650px){
.manager{display:none!important}.host-desktop .agent-terminal{visibility:visible}
.host-desktop .agent-display{visibility:hidden;pointer-events:none}
.host-desktop[data-mobile-phase=vms] .agent-terminal{visibility:hidden;pointer-events:none}
.host-desktop[data-mobile-phase=vms] .agent-display{visibility:visible;pointer-events:auto}
.host-desktop .agent-sample-app{left:4px!important;right:4px!important;top:24px!important;bottom:42px!important;width:calc(100% - 8px)!important;height:calc(100% - 66px)!important;transform:none!important}
.host-desktop .agent-sample-app iframe{min-height:0!important}
}

.mac-host .terminal-title .terminal-profile-tab:before{content:""!important;display:inline-block;width:15px;height:14px;flex:0 0 15px;background:url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A//www.w3.org/2000/svg%22%20viewBox%3D%220%200%2020%2018%22%3E%3Crect%20x%3D%22.5%22%20y%3D%22.5%22%20width%3D%2219%22%20height%3D%2217%22%20rx%3D%222%22%20fill%3D%22%23303238%22%20stroke%3D%22%2380848a%22/%3E%3Crect%20x%3D%222%22%20y%3D%223%22%20width%3D%2216%22%20height%3D%2213%22%20rx%3D%221%22%20fill%3D%22%23151618%22/%3E%3Cpath%20d%3D%22m5%206%203%203-3%203m5%200h4%22%20fill%3D%22none%22%20stroke%3D%22%23eee%22%20stroke-width%3D%221.5%22/%3E%3C/svg%3E") center/contain no-repeat;margin-right:6px}
.mobile-about{display:none}@media(max-width:650px){.mobile-about{position:absolute;z-index:80;inset:34px 8px 110px;background:#1e1e1e;color:#e6e6e6;border:1px solid #3e3e3e;border-radius:8px;padding:24px;flex-direction:column;justify-content:center;gap:16px;font:14px system-ui}.host-desktop[data-mobile-phase=about] .mobile-about{display:flex}.host-desktop[data-mobile-phase=about] .agent-terminal{visibility:hidden;pointer-events:none}.mobile-about a,.mobile-about button{padding:12px;background:#2d2d2d;border:1px solid #3e3e3e;border-radius:4px;color:#e6e6e6;text-align:center}.mobile-about h2{font-size:24px;margin:0}.mobile-about p{line-height:1.5}}
html.presentation-loading body{visibility:visible;opacity:0;pointer-events:none}
.host-desktop .windows-native>.native-caption{--caption-height:32px;display:flex!important;align-items:center!important;gap:0!important;height:var(--caption-height)!important;min-height:var(--caption-height)!important;padding:0!important;line-height:normal!important;box-sizing:border-box;position:relative}
.host-desktop .windows-native>.native-caption.terminal-title{--caption-height:38px}
.host-desktop .windows-native>.native-caption>span:first-child{display:flex!important;align-items:center!important;justify-content:flex-start!important;gap:7px;flex:1;min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;margin:0!important;padding-left:10px!important;line-height:normal!important;height:100%;text-align:left!important}
.host-desktop .windows-native>.native-caption>.window-controls,.host-desktop .windows-native>.native-caption>.vm-title-actions,.host-desktop .windows-native>.native-caption>.guest-title-actions{display:flex!important;align-items:stretch!important;position:static!important;flex:0 0 auto!important;height:100%!important;margin:0 0 0 auto!important;padding:0!important;gap:0!important}
.host-desktop .windows-native>.native-caption button{position:static!important;display:flex!important;align-items:center!important;justify-content:center!important;flex:0 0 46px!important;width:46px!important;min-width:46px!important;height:var(--caption-height)!important;margin:0!important;padding:0!important;border-radius:0!important;line-height:normal!important;transform:none!important}
.host-desktop .windows-native>.native-caption>span img{flex-shrink:0;vertical-align:middle}
.host-desktop .agent-terminal{overflow:hidden!important;min-height:0!important}
.host-desktop .agent-terminal>.agent-terminal-body{height:auto!important;flex:1 1 0!important;min-height:0!important;min-width:0;overflow:hidden!important;box-sizing:border-box;padding:10px 12px 0;position:relative;isolation:isolate}
.agent-terminal-body .xterm{height:100%;max-height:100%;overflow:hidden}
.agent-terminal-body .xterm-viewport{max-height:100%;overflow-y:auto!important}
.agent-terminal>.codex-working{flex:0 0 auto;min-width:0;overflow-wrap:anywhere}
.agent-terminal>.codex-composer{position:relative;z-index:2;flex:0 1 auto!important;min-height:40px;max-height:38%;overflow:auto;box-sizing:border-box}
.codex-composer>.codex-input{flex:1;min-width:0;white-space:pre-wrap;overflow-wrap:anywhere;word-break:break-word}
.codex-composer>.codex-caret{align-self:flex-end}
.agent-terminal>.codex-footer{flex:0 0 auto;box-sizing:border-box}
.host-desktop .windows-native>.native-caption{--caption-height:40px;background:#292929!important;color:#c6c6c6!important}
.host-desktop .windows-native>.native-caption.terminal-title{--caption-height:40px}
.windows-native.window-user-sized>.guest-desktop,.windows-native.window-user-sized.manager>iframe{height:calc(100% - 40px)!important}
.host-desktop .windows-native>.native-caption button.caption-minimize:after{content:""!important;width:12px!important;height:12px!important;border:0!important;background:currentColor;mask:url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A//www.w3.org/2000/svg%22%20viewBox%3D%220%200%2012%2012%22%20fill%3D%22none%22%20stroke%3D%22white%22%20stroke-width%3D%221%22%3E%3Cpath%20d%3D%22M1%206h10%22/%3E%3C/svg%3E") center/contain no-repeat;-webkit-mask:url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A//www.w3.org/2000/svg%22%20viewBox%3D%220%200%2012%2012%22%20fill%3D%22none%22%20stroke%3D%22white%22%20stroke-width%3D%221%22%3E%3Cpath%20d%3D%22M1%206h10%22/%3E%3C/svg%3E") center/contain no-repeat}
.host-desktop .windows-native>.native-caption button.caption-maximize:after{content:""!important;width:12px!important;height:12px!important;border:0!important;background:currentColor;mask:url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A//www.w3.org/2000/svg%22%20viewBox%3D%220%200%2012%2012%22%20fill%3D%22none%22%20stroke%3D%22white%22%20stroke-width%3D%221%22%3E%3Crect%20x%3D%221.5%22%20y%3D%221.5%22%20width%3D%229%22%20height%3D%229%22%20rx%3D%221%22/%3E%3C/svg%3E") center/contain no-repeat;-webkit-mask:url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A//www.w3.org/2000/svg%22%20viewBox%3D%220%200%2012%2012%22%20fill%3D%22none%22%20stroke%3D%22white%22%20stroke-width%3D%221%22%3E%3Crect%20x%3D%221.5%22%20y%3D%221.5%22%20width%3D%229%22%20height%3D%229%22%20rx%3D%221%22/%3E%3C/svg%3E") center/contain no-repeat}
.host-desktop .windows-native>.native-caption button.caption-close:after{content:""!important;width:12px!important;height:12px!important;border:0!important;background:currentColor;mask:url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A//www.w3.org/2000/svg%22%20viewBox%3D%220%200%2012%2012%22%20fill%3D%22none%22%20stroke%3D%22white%22%20stroke-width%3D%221%22%3E%3Cpath%20d%3D%22m1.5%201.5%209%209m0-9-9%209%22/%3E%3C/svg%3E") center/contain no-repeat;-webkit-mask:url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A//www.w3.org/2000/svg%22%20viewBox%3D%220%200%2012%2012%22%20fill%3D%22none%22%20stroke%3D%22white%22%20stroke-width%3D%221%22%3E%3Cpath%20d%3D%22m1.5%201.5%209%209m0-9-9%209%22/%3E%3C/svg%3E") center/contain no-repeat}
.host-desktop .windows-native:is(.maximized,.shell-maximized,.nested-maximized,.download-maximized)>.native-caption .caption-maximize:after{mask-image:url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A//www.w3.org/2000/svg%22%20viewBox%3D%220%200%2012%2012%22%20fill%3D%22none%22%20stroke%3D%22white%22%20stroke-width%3D%221%22%3E%3Cpath%20d%3D%22M4%202V1.5h6.5V8H10%22/%3E%3Crect%20x%3D%221.5%22%20y%3D%223.5%22%20width%3D%227%22%20height%3D%227%22%20rx%3D%221%22/%3E%3C/svg%3E");-webkit-mask-image:url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A//www.w3.org/2000/svg%22%20viewBox%3D%220%200%2012%2012%22%20fill%3D%22none%22%20stroke%3D%22white%22%20stroke-width%3D%221%22%3E%3Cpath%20d%3D%22M4%202V1.5h6.5V8H10%22/%3E%3Crect%20x%3D%221.5%22%20y%3D%223.5%22%20width%3D%227%22%20height%3D%227%22%20rx%3D%221%22/%3E%3C/svg%3E")}
.host-taskbar .win-logo,.guest-taskbar .win-logo{display:block;width:24px!important;height:24px!important;border:0;transform:none!important;background:linear-gradient(135deg,#79e0f6,#00a4e8)!important;mask:url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A//www.w3.org/2000/svg%22%20viewBox%3D%220%200%2024%2024%22%3E%3Cpath%20fill%3D%22white%22%20d%3D%22M1%201h10.5v10.5H1zm11.5%200H23v10.5H12.5zM1%2012.5h10.5V23H1zm11.5%200H23V23H12.5z%22/%3E%3C/svg%3E") center/contain no-repeat;-webkit-mask:url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A//www.w3.org/2000/svg%22%20viewBox%3D%220%200%2024%2024%22%3E%3Cpath%20fill%3D%22white%22%20d%3D%22M1%201h10.5v10.5H1zm11.5%200H23v10.5H12.5zM1%2012.5h10.5V23H1zm11.5%200H23V23H12.5z%22/%3E%3C/svg%3E") center/contain no-repeat}.task-view-icon{width:25px!important;height:25px!important;flex:none}
.host-taskbar .task-search,.guest-desktop .guest-taskbar .task-search{display:flex!important;flex:0 0 auto;align-items:center;gap:9px;width:200px;height:32px;padding:0 12px;background:#ffffffed;border:1px solid #c9d4e3;border-radius:999px;box-shadow:0 1px 2px #152c4a10;color:#6b6b6b;box-sizing:border-box}
.host-taskbar .task-search svg,.guest-taskbar .task-search svg{width:20px;height:20px;flex:0 0 20px}
.host-taskbar .task-search span,.guest-desktop .guest-taskbar .task-search span{font:13px 'Segoe UI',Arial,sans-serif}
.guest-desktop .guest-taskbar .task-search{width:clamp(85px,23cqw,150px);height:28px;padding:0 8px;gap:6px}
.guest-taskbar .task-icons{gap:8px!important}.guest-taskbar .task-icons>.os-vector-icon:nth-last-child(-n+2){display:none}
@media(max-width:650px){.host-taskbar .task-search{display:none!important}.guest-desktop .guest-taskbar .task-search{width:92px}}
.host-choice{left:14px!important;right:auto!important;bottom:56px}
@media(max-width:580px){.host-choice{left:8px!important;right:auto!important;bottom:53px}}
.experience-controls [data-feature=agent]{height:auto!important;min-height:74px!important}.experience-controls .codex-mark{flex:0 0 28px!important;min-height:28px!important}.experience-controls [data-feature=agent]>span{flex-shrink:0;white-space:normal;line-height:12px}
.host-desktop>.guest-window{display:flex!important;flex-direction:column;min-height:0}
.host-desktop>.guest-window>.titlebar{flex:0 0 auto!important}
.host-desktop>.guest-window>.guest-desktop{flex:1 1 0!important;height:auto!important;min-height:0!important;aspect-ratio:auto!important;width:100%;margin:0}
.downloads{padding:0!important;overflow:auto;isolation:isolate}
.downloads>.native-caption{position:sticky!important;top:0;z-index:4;width:100%;margin:0!important}
.downloads>div:not(.native-caption){padding:22px 24px}
.downloads>.download-grid{padding-top:0!important}
.downloads>.native-caption>span:first-child{display:block;min-width:0;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
body:has(.mac-host) .downloads>.native-caption>span:first-child{flex:1;text-align:center;font:inherit}
.downloads .eyebrow{display:none}.downloads h2{margin:0 0 12px}
.downloads .download-close{display:none}
.host-taskbar .system-icons,.guest-desktop.windows .system-icons{color:#26343c}
.host-taskbar .system-icons svg{width:17px;height:17px}
.guest-desktop.windows .system-icons svg{width:15px;height:15px}
button,[role=button],.titlebar,.native-caption,.host-taskbar,.guest-taskbar,.mac-dock,.mac-menu,.ubuntu-top,.ubuntu-dock,.host-icons,.guest-icons,.mac-desktop-files,.desktop-download,.desktop-github,.experience-controls,.host-choice,.window-resize,.host-wallpaper,.host-background-art,.bloom,.mac-wallpaper,.desktop-art{user-select:none;-webkit-user-select:none}
img,svg{user-select:none;-webkit-user-select:none;-webkit-user-drag:none}
input,textarea,[contenteditable=true],.xterm,.xterm-screen,.downloads p,.downloads h2,.mobile-about p{user-select:text;-webkit-user-select:text}
@media(max-width:650px){
 .host-desktop .agent-terminal>.agent-terminal-body{padding:10px 10px 0}
 .agent-terminal>.codex-composer{font-size:16px;line-height:1.4;padding:10px 8px;min-height:44px;max-height:38%}
 .agent-terminal .codex-input{font-size:16px;line-height:1.4}
 .agent-terminal>.codex-working{font-size:12px;line-height:1.4;padding:5px 10px}
 .agent-terminal>.codex-footer{font-size:12px;padding:5px 16px 10px;min-height:28px}
 .agent-terminal .codex-caret{height:20px;width:8px}
}
.host-desktop .windows-native>.native-caption.terminal-title{--caption-height:44px;padding-left:10px!important;background:#303030!important;border-bottom:0!important;align-items:stretch}
.host-desktop:not(.mac-host) .terminal-title .terminal-profile-tab{align-self:flex-end;box-sizing:border-box;height:34px!important;margin:10px 0 0!important;padding:0 8px 0 10px!important;flex:0 1 300px!important;min-width:72px;max-width:300px;border-radius:9px 9px 0 0;background:#0c0c0c;color:#f3f3f3!important;gap:8px;font-size:13px!important;font-weight:600!important;overflow:hidden}
.terminal-tab-label{min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;flex:1}
.host-desktop:not(.mac-host) .terminal-profile-tab>img{flex:0 0 16px;width:16px;height:16px}
.host-desktop:not(.mac-host) .terminal-title .terminal-tab-close{display:grid!important;place-items:center;flex:0 0 26px;width:26px!important;min-width:26px!important;height:26px!important;border:0!important;border-radius:4px!important;background:transparent!important;color:#eee;padding:6px!important;margin:0!important}
.terminal-tab-close svg,.terminal-tabs-tools svg{width:14px;height:14px;fill:none;stroke:currentColor;stroke-width:1.2}
.host-desktop:not(.mac-host) .terminal-title .terminal-tab-close:hover{background:#ffffff20!important}
.host-desktop:not(.mac-host) .terminal-title .terminal-tabs-tools{display:flex;align-items:center;align-self:center;flex:1;min-width:64px;height:28px;padding:0 3px;color:#eee;margin:7px 0 0!important}
.terminal-new-tab,.terminal-tab-menu{width:30px;height:25px;display:grid;place-items:center;flex:0 0 30px}
.terminal-tab-menu{border-left:1px solid #ffffff14}
.mac-host .terminal-tab-close{display:none!important}
.mac-host .terminal-tab-label{flex:0 1 auto}
@media(max-width:650px){.host-desktop:not(.mac-host) .terminal-title .terminal-profile-tab{font-size:12px!important;gap:6px;padding-left:7px!important}.host-desktop:not(.mac-host) .terminal-title .terminal-tabs-tools{min-width:46px;padding:0}.terminal-new-tab,.terminal-tab-menu{width:23px;flex-basis:23px}}
.mac-host .terminal-title>.terminal-profile-tab{display:flex!important;align-items:center!important;justify-content:center!important;gap:6px;height:100%;margin:0!important;padding:0!important;line-height:18px!important}
.mac-host .terminal-title>.terminal-profile-tab:before{margin:0!important;align-self:center}
.mac-host .terminal-title .terminal-tab-label{display:block;line-height:18px;align-self:center}
.mac-host>.capability-window>.native-caption.terminal-title>span.terminal-profile-tab:first-child{display:flex!important;align-items:center!important;justify-content:center!important;line-height:18px!important}
.downloads{width:min(560px,calc(100vw - 24px));background:#2a2a2a!important;border:1px solid #555!important;border-radius:6px!important;color:#e6e6e6!important;font:13px 'Segoe UI',sans-serif;text-align:left}
body:has(.mac-host) .downloads{font-family:-apple-system,BlinkMacSystemFont,'SF Pro Text','Helvetica Neue',Arial,sans-serif}
.downloads>.download-dialog{padding:20px!important;text-align:left}
.download-dialog h3{font-size:14px;font-weight:600;margin:0 0 12px;letter-spacing:normal;line-height:normal}
.downloads .download-dialog p{font-size:12px;color:#bbb;margin:0 0 16px;line-height:1.5}
.download-table{width:100%;border-collapse:collapse;background:#1e1e1e;border:1px solid #3e3e3e;font-size:12px}
.download-table th{font-weight:400;color:#888;background:#2d2d2d;text-align:left;padding:7px 8px;border-bottom:1px solid #3e3e3e;white-space:nowrap}
.download-table td{padding:8px;border-bottom:1px solid #3e3e3e;vertical-align:middle;line-height:1.4}
.download-table td:last-child{text-align:right}
.downloads a.app-download-button,.downloads a.app-dialog-button{display:inline-flex;align-items:center;justify-content:center;height:26px;padding:4px 12px;font-family:inherit;font-size:12px;font-weight:400;line-height:normal;white-space:nowrap;color:#e6e6e6;border:1px solid #3e3e3e;border-radius:4px;background:#2d2d2d;text-decoration:none}
.downloads a.app-download-button{background:#2a5a8a;border-color:#3a7aba}
.downloads a.app-download-button:hover{background:#3a6a9a}
.downloads a.app-dialog-button:hover{background:#3a3a3a;border-color:#555}
.download-dialog-actions{display:flex;justify-content:flex-end;gap:8px;margin-top:16px}
@media(max-width:450px){.downloads>.download-dialog{padding:14px!important}.download-table th,.download-table td{padding:7px 5px}.download-table th{white-space:normal}.downloads a.app-download-button{padding:4px 7px}}

.host-desktop:not(.mac-host)>.host-taskbar,.guest-desktop.windows>.guest-taskbar{background:rgba(30,30,30,.96);color:#f5f5f5;border-top:1px solid #ffffff20;backdrop-filter:blur(24px);-webkit-backdrop-filter:blur(24px)}
.host-desktop:not(.mac-host)>.host-taskbar .system-icons,.guest-desktop.windows>.guest-taskbar .system-icons{color:#f5f5f5}
.host-desktop:not(.mac-host)>.host-taskbar .task-search,.guest-desktop.windows>.guest-taskbar .task-search{background:#ffffff16;border-color:#ffffff20;color:#dedee3;box-shadow:0 1px 0 #ffffff12 inset}
.host-desktop:not(.mac-host)>.host-taskbar .shell-task:hover{background:#ffffff12}.host-desktop:not(.mac-host)>.host-taskbar .shell-task.active{background:#ffffff18}.host-desktop:not(.mac-host)>.host-taskbar .shell-task.running:after{background:#a7a9af}.host-desktop:not(.mac-host)>.host-taskbar .shell-task.active:after{background:#76b9ed}
.host-desktop:not(.mac-host)>.host-taskbar .task-view-icon rect:first-child,.guest-desktop.windows>.guest-taskbar .task-view-icon rect:first-child{fill:#b6b6b6}.host-desktop:not(.mac-host)>.host-taskbar .task-view-icon rect:nth-child(2),.guest-desktop.windows>.guest-taskbar .task-view-icon rect:nth-child(2){fill:#6c6c6c}

.host-desktop:not(.mac-host)>.host-taskbar .weather span{color:#ededed;font-size:11px}.host-desktop:not(.mac-host)>.host-taskbar>.tray{font-size:11px}.host-desktop:not(.mac-host)>.host-taskbar .task-search{background:#363636;border-color:#ffffff18}

/* Mobile: give the two guest displays the space, not an empty shortcut strip.
   Keep desktop geometry and the Codex -> VMs -> Codex sequence unchanged. */
@media(max-width:650px){
 :root{--mobile-viewport-height:100vh}
 @supports(height:100dvh){:root{--mobile-viewport-height:100dvh}}
 main,.experience,.demo-shell,.stage,.host-desktop{height:var(--mobile-viewport-height)!important;bottom:auto!important}
 .host-desktop{padding-top:env(safe-area-inset-top,0px)!important;padding-bottom:env(safe-area-inset-bottom,0px)!important;box-sizing:border-box}
 .host-taskbar{bottom:env(safe-area-inset-bottom,0px)!important}
 .host-choice{top:calc(var(--mobile-viewport-height) - env(safe-area-inset-bottom,0px) - 95px)!important;bottom:auto!important;padding:4px;gap:3px}
 .host-choice button{padding:4px 8px}
 .desktop-download,.desktop-github,.experience-controls{top:calc(var(--mobile-viewport-height) - env(safe-area-inset-bottom,0px) - 95px)!important;bottom:auto!important;left:auto!important;width:40px!important;max-width:40px!important;height:36px!important;padding:4px!important;gap:0!important}
 .desktop-download{right:88px!important;font-size:0!important}
 .desktop-github{right:48px!important}
 .experience-controls{right:8px!important}
 .desktop-download svg,.desktop-github svg,.experience-controls .codex-mark{width:24px!important;height:24px!important;min-height:24px!important;flex-basis:24px!important}
 .desktop-github span,.experience-controls [data-feature=agent]>span{position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%)}
 .experience-controls [data-feature=agent]{height:28px!important;min-height:28px!important;width:32px!important;padding:0!important}
 .host-desktop .agent-display.windows-native>.native-caption{--caption-height:30px}
 .host-desktop .agent-sample-app.windows-native>.native-caption{--caption-height:30px}
 .host-desktop .agent-sample-app{--guest-app-top:4px;--guest-app-bottom:34px;top:var(--guest-app-top)!important;bottom:var(--guest-app-bottom)!important;height:calc(100% - var(--guest-app-top) - var(--guest-app-bottom))!important}
 .host-desktop .guest-desktop.ubuntu .agent-sample-app{--guest-app-top:24px;--guest-app-bottom:4px}
 .host-desktop .guest-desktop.mac .agent-sample-app{--guest-app-top:24px;--guest-app-bottom:40px}
 .guest-desktop.windows>.guest-taskbar{height:30px}
 .guest-desktop.windows>.guest-taskbar .task-search{height:24px}
 .guest-desktop.windows>.guest-taskbar .tray{font-size:9px}
 .host-desktop .guest-desktop.ubuntu .agent-sample-title{height:28px;min-height:28px;padding-top:0;padding-bottom:0}
 .mobile-about{top:calc(env(safe-area-inset-top,0px) + 34px);bottom:calc(env(safe-area-inset-bottom,0px) + 105px)}
}

@media(pointer:coarse){
 .mac-host>:is(.manager,.guest-window,.capability-window)>.resize-nw,
 .guest-desktop.mac>:is(.agent-sample-app,.webgl-workload)>.resize-nw,
 body:has(.mac-host) .downloads:not(.windows-native)>.resize-nw{width:7px;min-width:7px;height:7px;min-height:7px}
}

/* Windows 11 uses an even slot grid; Search keeps its own pill width. */
.host-desktop:not(.mac-host) > .host-taskbar .task-icons {
    --taskbar-slot-width: 42px;
    --taskbar-icon-size: 24px;
    gap: 2px;
}
.host-desktop:not(.mac-host) > .host-taskbar .task-icons > :is(.shell-icon-slot, .shell-task) {
    flex: 0 0 var(--taskbar-slot-width);
    width: var(--taskbar-slot-width);
    height: 39px;
    padding: 0;
    display: grid;
    place-items: center;
}
.host-desktop:not(.mac-host) > .host-taskbar .task-icons > :is(.shell-icon-slot, .shell-task) > :is(svg, img) {
    display: block;
    width: var(--taskbar-icon-size);
    height: var(--taskbar-icon-size);
    object-fit: contain;
}
@media (max-width: 650px) {
    .host-desktop:not(.mac-host) > .host-taskbar .task-icons {
        --taskbar-slot-width: 34px;
        --taskbar-icon-size: 22px;
    }
    .host-desktop:not(.mac-host) > .host-taskbar .task-icons .win-logo {
        width: var(--taskbar-icon-size) !important;
        height: var(--taskbar-icon-size) !important;
    }
}

/* macOS 27 dark appearance. All graphics remain CSS or SVG. */
.mac-menu-left,.mac-app-menus { display:flex; align-items:center; }
.mac-app-menus { gap:inherit; }
.mac-host .mac-host-background .mac-app-menus { gap:15px; }
.mac-guest-scene .mac-app-menus { gap:1.15cqw; }
.mac-host .mac-menu,.mac-guest-scene .mac-menu {
    color:#f5f5f7;
    background:rgba(25,24,28,.24);
    text-shadow:0 1px 2px #0005;
}
.mac-host .mac-host-background .mac-menu {
    height:26px!important;
    min-height:26px!important;
    padding:0 14px;
    font-size:13px!important;
}
.mac-host .mac-host-background .mac-status>span { font-size:12px!important; }
.mac-host .host-wallpaper,.mac-host .mac-host-background { pointer-events:auto; }
.mac-host .mac-menu { pointer-events:none; }
.mac-host .mac-dock,.mac-guest-scene .mac-dock {
    background:linear-gradient(150deg,#d5d6e529,#a8a8c327);
    border-color:#e5e6f441;
    box-shadow:inset 0 1px #ffffff42,0 3px 12px #16132244;
    backdrop-filter:blur(22px) saturate(1.32);
}
.mac-host .mac-host-dock { border-radius:19px; }
.mac-guest-scene .mac-guest-dock { border-radius:13px; }
.mac-host .mac-dock .mac-running:after,.mac-guest-scene .mac-running:after { background:#ecebf1; }
.mac-host > :is(.manager,.guest-window,.capability-window),
.guest-desktop.mac > :is(.agent-sample-app,.webgl-workload) { border-radius:13px!important; }
.mac-host > :is(.manager,.guest-window,.capability-window) > .native-caption,
.guest-desktop.mac > :is(.agent-sample-app,.webgl-workload) > .native-caption,
body:has(.mac-host) .downloads:not(.windows-native) > .native-caption {
    color:#eeedef!important;
    background:#2d2c30!important;
    border-bottom-color:#45444a!important;
    text-shadow:none;
}
.mac-host > .capability-window > .native-caption > .agent-replay { color:#dad9df; }
.mac-host [data-mac-key="false"] > .native-caption { color:#a5a4ac!important; }
.mac-host [data-mac-key="false"] > .native-caption :is(.caption-close,.caption-minimize,.caption-maximize) {
    background:#66656b!important;
}
.mac-host > .capability-window > .terminal-title .terminal-tab-close { display:none!important; }
.mac-host > .capability-window > .terminal-title .terminal-profile-tab:before { display:none!important; }
.mac-host .native-caption :is(.caption-close,.caption-minimize,.caption-maximize) { cursor:default; }
@media(max-width:580px){
    .mac-host .mac-host-background .mac-menu { height:22px!important; min-height:22px!important; font-size:11px!important; }
    .mac-host .mac-host-background .mac-status>span { font-size:9px!important; }
    .mac-host .mac-host-background .mac-app-menus { gap:8px; }
    .mac-menu-left[data-app="Finder"] .mac-app-menus>span:nth-child(n+4),
    .mac-menu-left[data-app="Terminal"] .mac-app-menus>span:nth-child(n+4) { display:none; }
}
@container(max-width:550px){
    .mac-guest-scene .mac-app-menus>span:nth-child(n+4) { display:none; }
}

/* Polish the native details after reviewing the dark desktop at full size. */
.mac-host .mac-host-background .mac-menu {
    background:linear-gradient(90deg,#16151c52,#18171f72);
}
.mac-host .mac-host-background .mac-menu .mac-apple { width:14px!important; height:16px!important; }
.mac-host .mac-host-background .mac-status>.mac-vector { width:15px!important; height:15px!important; }
.mac-host-dock .mac-dock-item[aria-label="App Sandbox"] > img {
    padding:16%;
    border-radius:24%;
    background:linear-gradient(#fafafa,#dadde0);
    box-shadow:inset 0 0 0 1px #ffffff45;
}
.mac-host :is(.manager,.guest-window,.capability-window) .native-caption .caption-maximize:hover:after,
.guest-desktop.mac :is(.agent-sample-app,.webgl-workload) .native-caption .caption-maximize:hover:after {
    left:2px; top:2px; right:2px; bottom:2px;
    border:0;
    background:#176a26;
    clip-path:polygon(0 0,58% 0,0 58%,0 0,100% 100%,42% 100%,100% 42%,100% 100%);
}
@media(max-width:580px){
    .mac-host .mac-host-background .mac-menu .mac-apple { width:11px!important; height:13px!important; }
}
.mac-guest-dock .mac-resonance-pin { appearance:none; padding:0; border:0; background:none; }
.mac-guest-dock .mac-resonance-pin:focus-visible { outline:2px solid #8abaff; outline-offset:2px; }

/* The Windows guest pins the running Resonance window, not the host taskbar. */
.guest-desktop.windows .guest-taskbar .guest-resonance-pin {
    display:grid; place-items:center; position:relative; width:27px; height:29px;
    flex:0 0 27px; padding:0 0 2px; border-radius:4px; background:transparent;
}
.guest-desktop.windows .guest-taskbar .guest-resonance-pin > svg { width:22px; height:22px; }
.guest-desktop.windows .guest-taskbar .guest-resonance-pin:hover,
.guest-desktop.windows .guest-taskbar .guest-resonance-pin.active { background:#ffffff18; }
.guest-desktop.windows .guest-taskbar .guest-resonance-pin::after {
    content:""; position:absolute; bottom:2px; width:5px; height:2px;
    border-radius:2px; background:#c6c7ca;
}
.guest-desktop.windows .guest-taskbar .guest-resonance-pin.active::after {
    width:11px; background:#76b9ed;
}

/* Render the Mac menu bar as one continuous shelf; the clock never shrinks. */
.mac-host .mac-host-background .mac-menu,.guest-desktop.mac .mac-scene .mac-menu {
    --menu-inset:14px;
    --menu-gap:17px;
    display:flex; align-items:center; gap:12px;
    padding-inline:var(--menu-inset);
    background:rgba(18,17,22,.43);
    backdrop-filter:blur(18px) saturate(1.16);
    text-shadow:0 1px 1px #0003;
}
.mac-host .mac-host-background .mac-menu { height:24px!important; min-height:24px!important; }
.mac-host .mac-host-background .mac-menu-left,
.mac-host .mac-host-background .mac-app-menus,
.guest-desktop.mac .mac-menu-left,
.guest-desktop.mac .mac-app-menus { gap:var(--menu-gap); min-width:0; }
.mac-menu-left,.mac-app-menus { overflow:hidden; }
.mac-menu-left > b { font-weight:650; flex:none; }
.mac-app-menus > span { flex:none; }
.mac-status { flex:none; margin-left:auto; }
.mac-menu-clock {
    display:inline-flex; align-items:center; gap:.52em;
    font-variant-numeric:tabular-nums;
}
.mac-host .mac-host-background .mac-status { gap:13px; }
.mac-host .mac-host-background .mac-menu .mac-apple { width:13px!important; height:15px!important; }
.mac-host .mac-host-background .mac-status>.mac-vector { width:16px!important; height:16px!important; }
.guest-desktop.mac .mac-scene .mac-menu { --menu-inset:9px; --menu-gap:10px; }
.guest-desktop.mac .mac-status { gap:8px; }
@media(max-width:580px){
    .mac-host .mac-host-background .mac-menu { --menu-gap:9px; --menu-inset:8px; }
    .mac-host .mac-host-background .mac-status { gap:8px; }
}
@container(max-width:340px){
    .mac-guest-scene .mac-clock-date { display:none; }
}
@media(min-width:340px) and (max-width:580px){
    .mac-host .mac-host-background .mac-status>.mac-menu-control-center {
        display:block; width:13px!important; height:13px!important;
    }
}

.mac-menu-left > .mac-apple { display:block; align-self:center; flex:none; margin:0; }

/* Phone shortcuts share one icon size and vertical center. */
@media (max-width:650px) {
 .desktop-download,.desktop-github,.experience-controls {
  display:grid!important;place-items:center!important;
  grid-template:1fr / 1fr!important;padding:0!important;
 }
 .experience-controls [data-feature=agent] {
  display:grid!important;place-items:center!important;
  width:100%!important;height:100%!important;min-height:0!important;
  padding:0!important;margin:0!important;
 }
 .desktop-download svg,.desktop-github svg,.experience-controls .codex-mark {
  display:block;margin:0!important;
 }
}

/* Golden Gate Dock: size the row around the visible icon, not its SVG padding. */
.mac-host .host-taskbar .mac-host-dock,
.guest-desktop.mac .mac-guest-dock {
 --dock-slot:clamp(26px, 3.05cqw, 44px);
 --dock-gap:calc(var(--dock-slot) * .075);
 bottom:4px;
 box-sizing:border-box;
 height:calc(var(--dock-slot) * 1.39)!important;
 border-radius:calc(var(--dock-slot) * .43);
 padding:0 calc(var(--dock-slot) * .17);
 gap:var(--dock-gap);
 background:linear-gradient(168deg,#f5eee040,#d6d2d425);
 border:1px solid #ffffff46;
 box-shadow:inset 0 1px 0 #fff4,inset 0 -1px 0 #e6d9f625,0 2px 8px #19172047;
 backdrop-filter:blur(18px) saturate(1.04);
}
.guest-desktop.mac .mac-guest-dock { --dock-slot:clamp(16px, 4.15cqw, 34px);bottom:3px; }
.mac-host .host-taskbar .mac-host-dock .mac-dock-item,
.guest-desktop.mac .mac-guest-dock .mac-dock-item {
 width:var(--dock-slot)!important;
 height:var(--dock-slot)!important;
}
.mac-host .host-taskbar .mac-host-dock .mac-dock-divider,
.guest-desktop.mac .mac-guest-dock .mac-dock-divider {
 height:calc(var(--dock-slot) * 1.02);
 flex:0 0 1px;
 margin:0 calc(var(--dock-slot) * .065);
 background:#15141b59;
 box-shadow:1px 0 #ffffff25;
}
.mac-host .host-taskbar .mac-host-dock .mac-running:after,
.guest-desktop.mac .mac-guest-dock .mac-running:after {
 left:50%;transform:translateX(-50%);
 width:clamp(2px,calc(var(--dock-slot) * .095),4px);
 height:clamp(2px,calc(var(--dock-slot) * .095),4px);
 bottom:calc(var(--dock-slot) * -.105);
 background:#17171d;
 box-shadow:0 0 0 .5px #ffffff40;
}
.mac-host .mac-host-dock .mac-dock-item[aria-label="App Sandbox"] > img {
 width:80%;height:80%;padding:12%;border-radius:24%;
}
@media (max-width:650px) {
 .mac-host .host-taskbar .mac-host-dock { --dock-slot:clamp(20px, 6.6vw, 32px);bottom:5px; }
}
