*{box-sizing:border-box}body{margin:0;background:#fafafa;color:#202020;font:15px -apple-system,BlinkMacSystemFont,Arial,sans-serif;letter-spacing:0}button,textarea{font:inherit;color:inherit}button{cursor:pointer;border:0;background:none}button:focus-visible,textarea:focus-visible{outline:2px solid #007aff;outline-offset:3px}[hidden]{display:none!important}.studio{height:76px;padding:0 32px;display:flex;align-items:center;justify-content:space-between;border-bottom:1px solid #eee;background:white}.studio strong{font-size:17px}.studio span{display:block;color:#888;font-size:12px;margin-top:4px}nav{display:flex;gap:8px}nav button{width:44px;height:44px;background:#f1f1f1;border-radius:50%;font-size:23px}#fit{position:relative;margin:auto;overflow:hidden}#stage{width:1405px;height:937px;position:absolute;top:0;left:0;transform-origin:top left}.device{position:absolute;width:100%;height:100%;object-fit:contain;pointer-events:none}.screen{position:absolute;left:168px;top:94px;width:1068px;height:750px;background:#fff;border-radius:57px;overflow:hidden}.status{height:38px;display:flex;justify-content:space-between;padding:11px 38px 0;font-size:13px;font-weight:600}.panes{height:calc(100% - 38px);display:grid;grid-template-columns:1fr 1fr;gap:3px;background:#eee}.panes>section{background:#fff;position:relative;min-width:0;overflow:hidden;display:flex;flex-direction:column}.codex{border-radius:0 18px 0 0}.mirror{border-radius:18px 0 0 0}.appbar{display:flex;align-items:center;justify-content:space-between;padding:12px 24px;height:74px;flex-shrink:0;background:#fff;z-index:3}.circle{height:44px;width:44px;display:grid;place-items:center;background:#f5f5f6;border-radius:50%;font-size:22px}.app-title{font-size:17px;font-weight:600;text-align:center}.app-title span{display:block;font-size:11px;font-weight:400;color:#888;margin-top:3px}.conversation{overflow:auto;flex:1;padding:20px 28px;scroll-behavior:smooth}.start{padding-top:80px;text-align:center}.start img{width:48px;height:48px;border-radius:12px}.start h1{font-size:25px;font-weight:600;margin:20px 0 8px}.start p{color:#999;font-size:14px}.bubble{margin:0 0 24px auto;background:#f4f4f4;border-radius:20px;max-width:88%;padding:14px 18px;font-size:15px;line-height:1.5}.answer{font-size:15px;line-height:1.6;margin-bottom:20px}.working{color:#999;font-size:13px;animation:pulse 1.3s infinite}.result{display:flex;align-items:center;gap:10px;padding:14px;border:1px solid #e8e8e8;border-radius:8px;margin-top:14px}.result img{width:26px;height:26px}.result span{flex:1}.result small{display:block;color:#888;font-size:12px}.result button{font-size:13px;color:#087cf0}.composer-wrap{padding:12px 24px 24px;background:#fff}.composer-wrap>button{font-size:12px;border:1px solid #e7e7e7;padding:9px 12px;border-radius:20px;margin-bottom:12px}form{border:1px solid #ddd;border-radius:24px;padding:16px;background:white;box-shadow:0 4px 18px #00000004}textarea{width:100%;resize:none;border:0;outline:none;line-height:1.5;font-size:15px;background:transparent}.composer-bottom{display:flex;align-items:center;justify-content:space-between;margin-top:8px;font-size:12px}.muted{color:#999}#send{background:#111;color:white;width:34px;height:34px;border-radius:50%;font-size:23px}#send:disabled{opacity:.3}.remote{display:flex;align-items:center;justify-content:center;gap:6px;font-size:11px;color:#999;margin-top:10px}i{display:block;width:8px;height:8px;border-radius:50%;background:#57c578;flex-shrink:0}.glass{background:#ffffffcf;border:1px solid #e5e5e5;box-shadow:0 5px 18px #00000008;backdrop-filter:blur(20px)}.agent-stack{display:flex;align-items:center;height:44px;border-radius:24px;padding:0 15px}.agent-stack i{margin-right:12px}.agent-stack img{height:27px;width:27px;border-radius:8px;border:1px solid #ddd;margin-left:-6px;background:#fff}.feed{padding:18px 24px 100px;overflow:auto;flex:1;mask-image:linear-gradient(transparent,black 18px);scroll-behavior:smooth}.empty{height:300px;display:grid;place-items:center}.empty span{font-size:42px;color:#59bf81}.notice{margin-bottom:12px;overflow:hidden;border-radius:22px}.banner{width:100%;padding:12px 14px;display:flex;gap:12px;align-items:center;background:#f6f6f7;border:1px solid #ededee;border-radius:22px;text-align:left;min-height:76px}.banner img{width:38px;height:38px;border-radius:11px;border:1px solid #0000001f}.banner .text{flex:1;min-width:0}.banner strong{font-size:15px;font-weight:600;display:block;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.banner p{font-size:14px;color:#777;margin:4px 0 0;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.banner time{font-size:12px;color:#999;align-self:flex-start;margin-top:2px}.preview{height:0;overflow:hidden;position:relative;transition:height .4s cubic-bezier(.22,1,.36,1);background:#f8f8f8}.notice.expanded{border:1px solid #eee;background:#f6f6f7}.notice.expanded .preview{height:320px}.preview iframe{width:100%;height:600px;border:0;pointer-events:none}.open{position:absolute;bottom:14px;right:14px;background:#007affdf;color:#fff;font-size:15px;font-weight:600;height:44px;padding:0 24px;border-radius:24px;backdrop-filter:blur(16px);border:1px solid #ffffff38}.add{width:56px;height:56px;background:#000;color:#fff;border-radius:50%;position:absolute;right:24px;bottom:28px;font-size:28px;z-index:4}.pair{position:absolute;bottom:96px;left:24px;right:24px;padding:24px;border-radius:24px;z-index:5;animation:reveal .3s ease}.pair strong{font-size:20px}.pair>div{display:flex;justify-content:space-between;align-items:center;margin-top:20px}.code{font:32px ui-monospace,monospace}.pair small{color:#999}.viewer{position:absolute;inset:0;background:white;z-index:8;display:flex;flex-direction:column;animation:reveal .35s cubic-bezier(.22,1,.36,1)}.viewer header{height:66px;padding:10px 20px;display:flex;justify-content:space-between;align-items:center}.viewer iframe{flex:1;width:100%;border:0}.agents-panel{position:absolute;top:80px;left:24px;right:24px;border-radius:24px;padding:16px;z-index:7}.agents-panel header{display:flex;justify-content:space-between;align-items:center}.agents-panel>div{padding:14px 0;display:flex;gap:12px;align-items:center}.agents-panel img{width:36px;height:36px;border-radius:10px}.agents-panel small{margin-left:auto;color:#777}.home{position:absolute;bottom:8px;width:110px;height:4px;background:#111;border-radius:4px;left:calc(50% - 55px);z-index:10;pointer-events:none}#menu,#history{position:absolute;top:76px;right:24px;left:24px;background:#fff;z-index:7;border:1px solid #eee;padding:12px;border-radius:16px;box-shadow:0 12px 35px #0001}#menu button,#history button{display:block;padding:14px 10px;width:100%;text-align:left}#history span{float:right;color:#999}.exit{position:fixed;bottom:10px;right:10px;background:#fff9;border:1px solid #ddd;padding:8px 12px;border-radius:20px;font-size:12px;opacity:.2}.exit:hover,.exit:focus{opacity:1}body.presentation .studio{display:none}@keyframes pulse{50%{opacity:.4}}@keyframes reveal{from{opacity:0;transform:translateY(14px) scale(.97)}to{opacity:1;transform:none}}@media(prefers-reduced-motion:reduce){*{animation:none!important;transition:none!important;scroll-behavior:auto!important}}
/* Cover the source screenshot up to the inside edge of the device bezel. */
.screen{height:754px}
button svg{width:20px;height:20px;vertical-align:middle}#send svg{width:19px;height:19px}.status svg{width:15px;height:15px}.status>span:last-child{display:flex;gap:5px}.empty svg{width:36px;height:36px;color:#59bf81}
/* Layout from the supplied remote-control recording; optical glass pass follows. */
.panes>.codex{background:#000;color:#f2f2f2;border-radius:0;}
.status{background:linear-gradient(to right,#000 50%,#fff 50%)}
.status>span:first-child{color:#fff}
.codex .appbar{background:linear-gradient(#000 82%,#0000);padding:10px 18px;height:72px;gap:10px}
.codex .circle,.task-actions{background:#202020;color:#eee;border:1px solid #292929}
.codex .app-title{flex:1;min-width:0;text-align:left;font-size:16px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.codex .app-title span{font-size:11px;color:#929292;font-weight:400;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.task-actions{display:flex;height:44px;border-radius:24px;flex-shrink:0}
.task-actions button{width:42px;display:grid;place-items:center;padding:0}
.codex .conversation{padding:12px 20px 20px;mask-image:linear-gradient(transparent,#000 12px,#000 calc(100% - 25px),transparent)}
.codex .bubble{background:#242424;border-radius:19px;max-width:80%;padding:13px 16px;font-size:16px;line-height:1.5;margin-bottom:24px}
.codex .answer{font-size:16px;line-height:1.55;margin-bottom:24px}
.answer p{margin:0 0 18px}.answer ul{padding-left:23px;margin:0 0 18px}.answer li{margin:5px 0}
.activity{display:flex;gap:8px;align-items:center;color:#a2a2a2;font-size:12px;padding:8px 0 18px}.activity svg{width:14px;height:14px}.activity span,.additions{color:#6cbd85}.deletions{color:#cf777f}
.codex .composer-wrap{background:linear-gradient(#0000,#000 24px);padding:0 24px 20px;position:relative}
#scroll-latest{display:grid;place-items:center;border:1px solid #303030;background:#181818;width:34px;height:34px;border-radius:50%;margin:0 auto 5px;padding:0}
#changes{display:block;padding:3px 0;border:0;background:none;color:#777;font-size:11px;min-height:22px;margin:0 auto 12px}#changes span{margin-left:6px}
.codex #composer{display:flex;align-items:center;gap:8px;border:1px solid #333;background:#202020;border-radius:28px;padding:7px 8px;box-shadow:none;min-height:50px}
.codex textarea{flex:1;min-width:0;font-size:15px;line-height:24px;max-height:80px;height:28px;color:#eee;padding:2px 0;outline:none}.codex textarea::placeholder{color:#aaa}
#attach,#mic{width:30px;height:32px;padding:0;display:grid;place-items:center;flex-shrink:0}#mic svg{width:18px;height:18px}
.codex #send{background:#fff;color:#000;width:34px;height:34px;flex-shrink:0;display:grid;place-items:center}
.codex .remote{font-size:10px;min-height:8px;margin:6px 0 0;color:#909090;text-align:center}
.codex #suggestion{display:none!important}
.codex .result{border-color:#333;color:#eee}.codex .result button{color:#88bfff}
.codex #history,#task-menu{background:#191919;border:1px solid #333;border-radius:20px;box-shadow:0 12px 24px #0005;color:#eee}
#task-menu{position:absolute;right:18px;top:72px;padding:8px;z-index:7;width:225px}#task-menu button{display:block;text-align:left;padding:14px;width:100%;font-size:14px}
#changes-detail{padding:12px;font-size:12px;background:#202020;border-radius:8px;margin-bottom:10px}#changes-detail span{float:right;color:#6cbd85}
#attachment-name{font-size:11px;color:#aaa;padding:8px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.mirror{border-radius:0!important}.mirror .appbar{padding:12px 24px}.mirror .agent-stack{background:#f6f6f7;border:0;box-shadow:none;backdrop-filter:none}
.mirror .feed{padding-top:18px}.home{background:linear-gradient(to right,#fff 50%,#222 50%)}
/* Reference-inspired optical surfaces, scoped to the Mirror concept pane. */
.codex .circle,.codex .task-actions,.codex #scroll-latest{background:linear-gradient(145deg,#383838b8,#202020a8);border:1px solid #ffffff1b;box-shadow:inset 0 1px 1px #ffffff19,inset 0 -1px 1px #00000040,0 3px 12px #00000024;backdrop-filter:blur(24px) saturate(140%);-webkit-backdrop-filter:blur(24px) saturate(140%)}
.codex .circle svg,.codex .task-actions svg{stroke-width:1.7}
.codex #composer{background:linear-gradient(160deg,#333333cf,#222222c7);border:1px solid #ffffff24;box-shadow:inset 0 1px 1px #ffffff13,0 6px 22px #00000026;backdrop-filter:blur(28px) saturate(140%);-webkit-backdrop-filter:blur(28px) saturate(140%)}
.codex #send{background:linear-gradient(145deg,#fff,#e9e9e9);border:1px solid #fff;box-shadow:0 1px 4px #00000030}
.codex #scroll-latest{transition:opacity .16s ease,transform .16s ease,visibility .16s;opacity:1;visibility:visible}
.codex #scroll-latest.at-bottom{opacity:0;visibility:hidden;pointer-events:none;transform:translateY(5px) scale(.92)}
.codex .task-actions button:active,.codex .circle:active{transform:scale(.94)}
.codex #task-menu,.codex #history{background:linear-gradient(150deg,#303030e8,#1c1c1cdc);border:1px solid #ffffff24;box-shadow:inset 0 1px 1px #ffffff17,0 12px 30px #00000045;backdrop-filter:blur(30px);-webkit-backdrop-filter:blur(30px)}
.mirror{--glass-edge:#ffffffeb;--glass-shadow:0 2px 3px #00000005,0 9px 24px #00000008;isolation:isolate}
.mirror .appbar{position:absolute;top:0;left:0;right:0;height:80px;padding:14px 26px;background:linear-gradient(#ffffffef 35%,#ffffff00);pointer-events:none}
.mirror .appbar button{pointer-events:auto}
.mirror .circle,.mirror .agent-stack,.mirror .glass,.mirror #menu{background:linear-gradient(145deg,#ffffffd9,#f3f3f5a6);border:1px solid var(--glass-edge);box-shadow:inset 0 0 0 .5px #0000000c,inset 0 1px 1px #fff,var(--glass-shadow);backdrop-filter:blur(24px) saturate(145%);-webkit-backdrop-filter:blur(24px) saturate(145%)}
.mirror .circle{width:48px;height:48px;flex-shrink:0;color:#292929}
.mirror .circle svg{width:21px;height:21px;stroke-width:1.8}
.mirror .agent-stack{height:48px;padding:0 17px;border-radius:28px}
.mirror .agent-stack img{width:29px;height:29px;border-radius:9px;border:1px solid #b9bac0;box-shadow:0 1px 2px #00000012}
.mirror .agent-stack i{width:7px;height:7px;margin-right:14px;background:#6ab97d}
.mirror .feed{padding:94px 26px 110px;mask-image:linear-gradient(transparent 0,#000 82px,#000 calc(100% - 65px),transparent);scroll-padding-top:94px}
.mirror .notice{border-radius:28px;margin-bottom:14px;box-shadow:0 3px 12px #00000003}
.mirror .banner{min-height:88px;padding:17px 18px;gap:13px;border-radius:28px;background:linear-gradient(120deg,#f5f5f7f2,#f0f0f3e8);border:1px solid #ffffffb3;box-shadow:inset 0 1px 0 #fff9;backdrop-filter:blur(18px);-webkit-backdrop-filter:blur(18px)}
.mirror .banner img{width:42px;height:42px;border-radius:12px;border-color:#00000026;box-shadow:0 1px 2px #0000000a}
.mirror .banner strong{font-size:16px;line-height:20px;color:#242424;font-weight:600}
.mirror .banner p{font-size:15px;line-height:19px;color:#85858a;margin-top:3px}
.mirror .banner time{font-size:12px;color:#95959a;margin-top:2px}
.mirror .notice.expanded{border:1px solid #e9e9ed;background:#f4f4f6}
.mirror .notice.expanded .banner{border-color:transparent;border-radius:27px 27px 0 0}
.mirror .open{height:44px;padding:0 25px;background:linear-gradient(155deg,#3299fff0,#007affeb);border:1px solid #ffffff70;box-shadow:inset 0 1px 1px #ffffff75,0 4px 14px #0062cd26;font-weight:500}
.mirror .add{width:62px;height:62px;right:26px;bottom:26px;display:grid;place-items:center;background:linear-gradient(140deg,#46484beb,#17191ef5);border:1px solid #ffffff70;box-shadow:inset 0 1px 2px #ffffff66,0 5px 16px #00000020;backdrop-filter:blur(24px);-webkit-backdrop-filter:blur(24px)}
.mirror .add svg{width:26px;height:26px;stroke-width:1.8}
.mirror .pair{left:26px;right:26px;bottom:102px;border-radius:30px;padding:26px}
.mirror .pair strong{font-weight:600;font-size:20px}.mirror .pair small{color:#76767b}
.mirror .agents-panel{top:84px;left:26px;right:26px;border-radius:30px;padding:20px}
.mirror .agents-panel>div{padding:16px 0}.mirror .agents-panel>div+div{border-top:1px solid #00000008}
.mirror #menu{top:80px;left:auto;right:26px;width:230px;border-radius:24px;padding:8px}
.mirror #menu button{border-radius:17px;font-size:15px}.mirror #menu button:hover{background:#00000005}
.mirror .viewer header{height:76px;padding:12px 24px;background:#ffffffd9;border-bottom:1px solid #00000005;backdrop-filter:blur(24px);-webkit-backdrop-filter:blur(24px)}
.mirror .viewer header strong{font-size:16px;font-weight:600}
.mirror button{transition:transform .18s ease,filter .18s ease}.mirror button:active{transform:scale(.97);filter:brightness(.97)}
@media(prefers-reduced-transparency:reduce){.mirror .glass,.mirror .circle,.mirror .agent-stack,.mirror #menu{background:#f5f5f7;backdrop-filter:none}.mirror .banner{background:#f2f2f4;backdrop-filter:none}}
/* Mirror iPhone build parity: RootView's status header and notification cards. */
.mirror .appbar{position:relative;height:68px;padding:12px 24px;background:#fff;pointer-events:auto}
.mirror .appbar .circle,.mirror .agent-stack{height:44px;background:#f6f6f7;border:0;box-shadow:none;backdrop-filter:none;-webkit-backdrop-filter:none}
.mirror .appbar .circle{width:44px;color:#707070}
.mirror .appbar .circle svg{width:22px;height:22px;stroke-width:2.5}
.mirror .agent-stack{padding:0 16px;gap:0}
.mirror .agent-stack i{height:9px;width:9px;background:#58d176;margin-right:15px}
.mirror .agent-stack img{width:27px;height:27px;border-radius:8px;margin-left:-7px;border:2px solid white;box-shadow:none}
.mirror .agent-stack img:first-of-type{border:.5px solid #0000001f}
.mirror .feed{padding:24px 24px 100px;mask-image:linear-gradient(transparent,#000 24px);scroll-padding-top:24px}
.mirror .notice{border-radius:16px;margin-bottom:12px;box-shadow:none;overflow:hidden}
.mirror .banner{min-height:62px;padding:12px 14px;gap:12px;border-radius:22px;background:#f6f6f7;border:1px solid #0000000f;box-shadow:0 1px 3px #0000000d,0 6px 14px #0000000a;position:relative;backdrop-filter:none;-webkit-backdrop-filter:none}
.mirror .banner img{width:38px;height:38px;border-radius:11px;border:.5px solid #0000001f;box-shadow:none;flex-shrink:0}
.mirror .banner strong{font-size:15px;line-height:18px;font-weight:600;color:#17181c;padding-right:56px}
.mirror .banner p{font-size:15px;line-height:18px;font-weight:400;color:#525358;margin:0}
.mirror .banner time{position:absolute;right:14px;top:14px;margin:0;color:#6e6f75;font-size:12px}
.mirror .notice.expanded{border:1px solid #00000014;background:#f9f9f9}
.mirror .notice.expanded .banner{width:calc(100% - 32px);margin:16px;border-radius:22px;border:1px solid #0000000f}
.mirror .notice.expanded .preview{height:360px}
.mirror .open{padding:0 22px;font-size:15px;font-weight:600}
.mirror .add{width:56px;height:56px;right:24px;bottom:28px;background:#000;border:0;box-shadow:none;backdrop-filter:none;-webkit-backdrop-filter:none}
/* Original Duo reference: light optical controls and an unframed conversation. */
.panes>.codex{background:#fff;color:#171717}
.status{background:#fff}.status>span:first-child{color:#171717}
.panes{background:#eeeeef;gap:1px}.home{background:#292929}
.codex .appbar{height:80px;padding:12px 26px;background:linear-gradient(#fffffff5,#ffffffc9);gap:16px}
.codex .app-title{visibility:hidden}
.codex .circle,.codex .task-actions{background:linear-gradient(140deg,#ffffffdb,#f8f8f9ae);border:1px solid #e9e9eb;box-shadow:inset 0 1px 1px #fff,0 2px 4px #00000003,0 7px 18px #00000004;backdrop-filter:blur(24px);-webkit-backdrop-filter:blur(24px);color:#191919}
.codex .circle{height:52px;width:52px;flex-shrink:0}
.codex .circle svg{width:24px;height:24px;stroke-width:1.7}
.codex .task-actions{width:52px;height:52px;border-radius:50%}
.codex .task-actions #new{display:none}
.codex .task-actions #task-more{width:100%;height:100%;border-radius:50%}
.codex .task-actions svg{width:25px;height:25px;stroke-width:1.7}
.codex .conversation{padding:18px 26px 24px;mask-image:linear-gradient(transparent,#000 14px,#000 calc(100% - 22px),transparent)}
.codex .answer{font-size:18px;line-height:1.4;color:#191919}
.codex .bubble{background:#eaeaec;color:#171717;font-size:17px;line-height:1.4;border-radius:22px;padding:14px 18px}
.codex .activity{color:#89898d}.codex .activity span{color:#329554}
.codex .composer-wrap{padding:0 26px 24px;background:linear-gradient(#fff0,#fffffff2 35px)}
.codex #composer{position:relative;margin-left:59px;min-height:52px;padding:7px 8px 7px 16px;background:linear-gradient(140deg,#ffffffd4,#fafafaab);border:1px solid #e8e8eb;border-radius:30px;box-shadow:inset 0 1px 1px #fff,0 4px 18px #00000004;backdrop-filter:blur(24px);-webkit-backdrop-filter:blur(24px)}
.codex #attach{position:absolute;left:-60px;bottom:-1px;width:52px;height:52px;border-radius:50%;background:linear-gradient(140deg,#ffffffdb,#f7f7f9b3);border:1px solid #e8e8eb;box-shadow:inset 0 1px 1px #fff,0 3px 12px #00000005;color:#161616}
.codex #attach svg{height:27px;width:27px;stroke-width:1.7}
.codex textarea{color:#171717;font-size:16px}.codex textarea::placeholder{color:#96969b}
.codex #mic{color:#171717;width:28px}.codex #mic svg{width:23px;height:23px;stroke-width:1.8}
.codex #send{background:#ededf0;border:1px solid #ffffffd9;box-shadow:inset 0 1px 1px #fff;color:#222}
.codex #scroll-latest{background:#ffffffc9;color:#222;border:1px solid #e6e6e8;box-shadow:0 3px 12px #00000006}
.codex #changes{color:#929296}.codex .remote{color:#909094}
.codex #history,.codex #task-menu{background:#fffffff0;color:#222;border:1px solid #e8e8eb;box-shadow:inset 0 1px 1px #fff,0 12px 28px #0000000f;backdrop-filter:blur(24px);-webkit-backdrop-filter:blur(24px)}
.codex #history{top:80px}.codex #task-menu{top:80px;right:26px}
.codex .result{border-color:#e7e7e9;color:#222;background:#f7f7f8}.codex .result button{color:#007aff}
.codex #changes-detail{background:#f4f4f6;color:#555}.codex #attachment-name{color:#777}
