
/* AEOTEE STUDIO — rebuild of the workspace, not just a theme. Visual only. */
:root,html[data-theme=dark]{--ui-bg:#0b1214;--ui-panel:#141d1f;--ui-raised:#223133;--ui-hover:#2c3f40;--ui-input:#1b292b;--ui-line:#405253;--ui-soft-line:#29393b;--ui-text:#f4faf5;--ui-muted:#a6bdb8;--ui-accent:#dafa8a;--ui-accent-solid:#dafa8a;--ui-accent-ink:#182515;--ui-coral:#f9baa8;--ui-good:#97e7c2;--ui-danger:#ffb7ad;--ui-out:#315248;--ui-out-text:#f5fff8;--ui-shadow:0 23px 79px #04090b8c;--studio-glass:rgba(24,36,38,.9);--studio-edge:rgba(200,244,216,.16);--studio-ease:cubic-bezier(.2,1,.28,1);--studio-spring:cubic-bezier(.19,1.35,.4,1)}
html[data-theme=light]{--ui-bg:#edf1eb;--ui-panel:#fbfdf8;--ui-raised:#e5ece2;--ui-hover:#dce6d9;--ui-input:#f2f6ef;--ui-line:#b9cabb;--ui-soft-line:#dce5da;--ui-text:#1a2a20;--ui-muted:#607568;--ui-accent:#52712b;--ui-accent-solid:#c9eb82;--ui-accent-ink:#17231a;--ui-out:#e0edda;--ui-out-text:#223c2a;--ui-shadow:0 25px 67px #24362728;--studio-glass:rgba(252,254,249,.93);--studio-edge:rgba(58,105,73,.19)}
html,body{background:var(--ui-bg)!important;color:var(--ui-text)!important}
body{font-family:"Segoe UI Variable","Segoe UI",ui-sans-serif,-apple-system,system-ui,sans-serif!important}
body::before,body::after{display:none!important}
.app.premium-ready{display:flex;width:100%;max-width:none;height:100dvh;margin:0!important;border:0!important;border-radius:0!important;box-shadow:none!important;isolation:isolate;background:var(--ui-bg)!important;overflow:hidden}
.app.premium-ready::before{display:none!important}
.studio-dock{display:flex;flex-direction:column;align-items:center;gap:10px;flex:0 0 68px;min-height:0;padding:17px 7px 13px;background:#0a1213;color:#c7d7cc;border-right:1px solid #e3ffe116;position:relative;z-index:5}
html[data-theme=light] .studio-dock{background:#18291d;color:#e5f2e0}
.studio-dock .studio-cat{display:grid;place-items:center;flex:0 0 50px;width:50px;height:50px;border-radius:18px;background:#253c29;border:1px solid #d9ffa340;margin-bottom:24px}
.studio-dock .studio-cat img{width:44px;height:44px;object-fit:contain;transition:transform .31s var(--studio-spring)}
.studio-dock .studio-cat:hover img{transform:rotate(-11deg) scale(1.1)}
.studio-dock button{position:relative;flex:0 0 47px;display:grid;place-items:center;width:50px;height:47px;border:1px solid transparent;border-radius:15px;background:transparent;color:inherit;transition:transform .24s var(--studio-spring),background .2s,color .2s}
.studio-dock button svg{width:22px;height:22px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}
.studio-dock button[aria-current=page]{background:#dafa8a;color:#1c2d20;border-color:#edffd0;box-shadow:0 5px 19px #dafa8a39}
.studio-dock .studio-dock-end{margin-top:auto}
.studio-dock button:focus-visible{outline:3px solid var(--ui-accent);outline-offset:3px}
@media(hover:hover) and (pointer:fine){.studio-dock button:not([aria-current=page]):hover{transform:translateY(-2px);background:#cce98d24;color:#f3ffdc}.studio-dock button::after{content:attr(aria-label);position:absolute;left:calc(100% + 10px);top:50%;z-index:9;background:var(--ui-raised);color:var(--ui-text);border:1px solid var(--ui-line);border-radius:10px;padding:7px 10px;font-size:11px;white-space:nowrap;box-shadow:0 11px 27px #0005;transform:translate(-7px,-50%);opacity:0;visibility:hidden;pointer-events:none;transition:transform .18s,opacity .18s}.studio-dock button:hover::after{opacity:1;visibility:visible;transform:translate(0,-50%)}}
.app.premium-ready>.sidebar{display:flex!important;flex:0 0 clamp(268px,23vw,300px);width:clamp(268px,23vw,300px);min-width:0;min-height:0;flex-direction:column;background:var(--ui-panel)!important;border-right:1px solid var(--ui-soft-line)!important;overflow:hidden}
.app.premium-ready .sidebar>.brand{order:0;min-height:66px;flex:0 0 66px;padding:12px 15px!important;gap:9px!important;font-size:15px!important;letter-spacing:.09em!important;color:var(--ui-text)!important;border-bottom:1px solid var(--ui-soft-line)}
.app.premium-ready .sidebar .brand-mark:has(>img){width:33px!important;height:33px!important;min-width:33px;border-radius:11px!important;border-color:var(--studio-edge)!important;background:var(--ui-raised)!important}
.app.premium-ready .sidebar .brand-mark img{border-radius:10px!important}
.app.premium-ready .sidebar .brand>span:nth-child(2)::after{content:"PRIVATE BY DESIGN";font-size:8px;letter-spacing:.09em;color:var(--ui-muted)!important}
.app.premium-ready .sidebar .logout-btn{width:34px;height:34px;border-radius:11px!important;border-color:var(--ui-line)!important;color:var(--ui-muted)!important}
.app.premium-ready .sidebar>.studio-inbox-head{order:1;padding:20px 17px 14px;flex:0 0 auto}
.studio-inbox-head .studio-eyebrow{display:block;color:var(--ui-accent);font-size:10px;font-weight:760;letter-spacing:.13em;margin-bottom:6px}
.studio-inbox-head h1{margin:0;font-size:27px;font-weight:780;line-height:1.08;letter-spacing:-.058em;color:var(--ui-text)}
.studio-inbox-head h1 span{color:var(--ui-accent);font-weight:400}
.studio-inbox-head p{margin:6px 0 0;color:var(--ui-muted);font-size:11px}
.app.premium-ready .sidebar>.search{order:2;padding:0 13px 11px!important;flex:0 0 auto}
.app.premium-ready .search input{min-height:41px!important;padding-left:37px!important;border:1px solid var(--studio-edge)!important;border-radius:12px!important;background:var(--ui-input)!important;color:var(--ui-text)!important;font-size:12px!important}
.app.premium-ready .search input:focus{border-color:var(--ui-accent)!important;box-shadow:0 0 0 3px color-mix(in srgb,var(--ui-accent) 13%,transparent)!important}
.app.premium-ready .sidebar>.premium-people-title{order:3;padding:4px 18px 7px!important}
.app.premium-ready .premium-people-title h2{font-size:10px!important;font-weight:800;letter-spacing:.12em;text-transform:uppercase;color:var(--ui-muted)!important}
.app.premium-ready .premium-people-title span{font-size:10px;color:var(--ui-muted)}
.app.premium-ready .sidebar>#userList{order:4;min-height:0;flex:1;padding:0 8px 9px!important;overflow-y:auto;scroll-behavior:auto!important}
.app.premium-ready #userList .contact{min-height:65px;padding:9px 10px!important;margin:3px 0!important;border:1px solid transparent!important;border-radius:13px!important;gap:10px!important;transition:background .18s,border-color .18s,box-shadow .18s,transform .24s var(--studio-ease)}
.app.premium-ready #userList .contact .avatar{width:41px;height:41px;min-width:41px;border-radius:14px!important;background:var(--ui-out)!important}
.app.premium-ready #userList .contact b{font-size:12px!important;font-weight:710;color:var(--ui-text)!important}
.app.premium-ready #userList .contact small{font-size:11px;color:var(--ui-muted)!important}
.app.premium-ready #userList .contact:is(.active,:hover,[aria-current=true]){background:color-mix(in srgb,var(--ui-accent) 9%,var(--ui-raised))!important;border-color:var(--studio-edge)!important;box-shadow:inset 2px 0 0 var(--ui-accent)!important}
.app.premium-ready .sidebar>.mocha-settings-entry{order:5;min-height:41px!important;flex:0 0 auto;margin:7px 12px 11px!important;width:calc(100% - 24px)!important;padding:9px 12px!important;border:1px solid var(--studio-edge)!important;border-radius:12px!important;background:var(--ui-raised)!important;font-size:12px!important}
.app.premium-ready .sidebar>.premium-mobile-nav{order:6}
.app.premium-ready .sidebar-intro{display:none!important}
.app.premium-ready .chat{min-width:0;min-height:0;flex:1 1 auto;position:relative;background:var(--ui-bg)!important}
.app.premium-ready .chat>.chat-header{height:72px!important;min-height:72px!important;flex:0 0 72px;padding:11px clamp(15px,2vw,30px)!important;gap:12px!important;background:var(--ui-panel)!important;border-bottom:1px solid var(--ui-soft-line)!important;box-shadow:none!important;backdrop-filter:none!important}
.app.premium-ready .chat-header .avatar{width:42px;height:42px;min-width:42px;border-radius:14px!important;background:var(--ui-raised)!important}
.app.premium-ready .chat-header .person::before{display:none!important}
.app.premium-ready .chat-header .person b{font-size:14px!important;font-weight:750;letter-spacing:-.025em;color:var(--ui-text)!important}
.app.premium-ready .chat-header .person small{font-size:11px;margin-top:2px;color:var(--ui-muted)!important}
.app.premium-ready .chat-header .actions{display:flex;align-items:center;gap:7px}
.app.premium-ready .chat-header .actions button{width:40px;height:40px;min-height:40px;border:1px solid var(--studio-edge)!important;border-radius:12px!important;background:var(--ui-raised)!important;color:var(--ui-text)!important;transition:transform .25s var(--studio-spring),background .2s}
.app.premium-ready .chat-header .actions button[hidden]{display:none!important}
.app.premium-ready #studioInfoBtn{display:grid;place-items:center}
.app.premium-ready #studioInfoBtn svg{width:18px;height:18px;fill:none;stroke:currentColor;stroke-width:1.7}
.app.premium-ready #aeoteeChatSurface{flex:1;min-height:0;background:var(--ui-bg)!important}
.app.premium-ready #messages{flex:1;min-height:0;padding:18px clamp(16px,3vw,56px) 18px!important;gap:7px!important;scroll-behavior:auto!important;overscroll-behavior-y:contain;overflow-anchor:auto;background:var(--ui-bg)!important;background-image:radial-gradient(ellipse at 84% 18%,color-mix(in srgb,var(--ui-good) 3%,transparent),transparent 55%)!important}
.app.premium-ready #messages>.bubble{max-width:min(74%,555px);padding:10px 13px!important;border:1px solid var(--studio-edge)!important;border-radius:15px!important;font-size:13px;line-height:1.5!important;box-shadow:0 3px 10px #0000001c!important}
.app.premium-ready #messages>.bubble.incoming{border-bottom-left-radius:5px!important;background:var(--ui-panel)!important;color:var(--ui-text)!important}
.app.premium-ready #messages>.bubble.outgoing{border-bottom-right-radius:5px!important;background:var(--ui-out)!important;color:var(--ui-out-text)!important}
.app.premium-ready .chat-empty-state::before{content:"A little space for your people.";display:block;color:var(--ui-text);font-size:26px;font-weight:760;letter-spacing:-.05em;line-height:1.12;margin-bottom:12px}
.app.premium-ready .chat-empty-state::after{content:"✳";display:block;color:var(--ui-accent);font-size:34px;margin-top:14px}
.app.premium-ready .composer{min-height:57px!important;margin:0 clamp(12px,3vw,40px) 15px!important;padding:5px 6px!important;gap:2px!important;background:var(--ui-panel)!important;border:1px solid var(--studio-edge)!important;border-radius:18px!important;box-shadow:0 12px 25px #0003!important;transition:border-color .22s,box-shadow .22s}
.app.premium-ready .composer:focus-within{border-color:var(--ui-accent)!important;box-shadow:0 0 0 3px color-mix(in srgb,var(--ui-accent) 14%,transparent)!important}
.app.premium-ready .composer input{font-size:13px!important;min-height:44px!important}
.app.premium-ready .composer button{width:37px!important;flex:0 0 37px!important;height:42px!important;min-height:42px!important;border-radius:12px!important;padding:7px!important}
.app.premium-ready .composer .send{background:var(--ui-accent-solid)!important;color:var(--ui-accent-ink)!important;box-shadow:0 4px 12px #0002!important}
.app.premium-ready .composer .send:disabled{background:var(--ui-raised)!important;color:var(--ui-muted)!important}
.app.premium-ready .secure-session-status{margin:8px clamp(12px,3vw,40px) 0;font-size:11px;line-height:1.35;border-radius:11px!important}
@media(hover:hover) and (pointer:fine){.app.premium-ready :is(.composer,.actions) button:not(:disabled):hover{transform:translateY(-2px);background:var(--ui-hover)!important}.app.premium-ready .composer .send:not(:disabled):hover{background:var(--ui-accent-solid)!important;filter:brightness(1.06)}}
/* Functional conversation inspector: values mirror current authenticated UI. */
.studio-inspector{position:absolute;z-index:11;right:0;top:0;bottom:0;width:min(322px,92%);padding:20px;background:var(--ui-panel);border-left:1px solid var(--ui-line);box-shadow:-17px 0 45px #0004;overflow-y:auto;overscroll-behavior:contain}
.studio-inspector[hidden],.studio-inspector-backdrop[hidden]{display:none!important}
.studio-inspector-backdrop{position:absolute;z-index:10;inset:0;background:#03090b88}
.studio-inspector header{display:flex;justify-content:space-between;align-items:center;gap:10px;padding-bottom:15px;border-bottom:1px solid var(--ui-line)}
.studio-inspector header span{font-size:11px;font-weight:800;letter-spacing:.11em;text-transform:uppercase;color:var(--ui-muted)}
.studio-inspector header button{width:37px;height:37px;border-radius:11px;border:1px solid var(--ui-line);background:var(--ui-raised);color:var(--ui-text);font-size:20px}
.studio-inspector .studio-profile{display:flex;align-items:center;flex-direction:column;gap:8px;padding:30px 2px 21px;text-align:center}
.studio-inspector .studio-profile-avatar{display:grid;place-items:center;width:73px;height:73px;border-radius:23px;background:var(--ui-out);color:var(--ui-accent);font-size:29px;font-weight:800}
.studio-inspector h2{margin:7px 0 0;font-size:21px;letter-spacing:-.04em;line-height:1.2;overflow-wrap:anywhere;color:var(--ui-text)}
.studio-inspector .studio-profile-status{margin:0;color:var(--ui-muted);font-size:12px}
.studio-inspector .studio-section-title{margin:22px 0 10px;color:var(--ui-muted);font-size:10px;letter-spacing:.13em;text-transform:uppercase;font-weight:800}
.studio-inspector .studio-inspector-action{width:100%;min-height:47px;margin:6px 0;padding:10px 12px;display:flex;justify-content:space-between;gap:8px;align-items:center;background:var(--ui-raised);border:1px solid var(--ui-line);border-radius:12px;color:var(--ui-text);text-align:left;font-size:12px;font-weight:680}
.studio-inspector .studio-profile-note{padding:13px;margin-top:17px;border-radius:12px;border:1px solid var(--ui-soft-line);background:var(--ui-input);font-size:11px;line-height:1.55;color:var(--ui-muted)}
/* Settings: a genuine two-pane window, original buttons and handlers are MOVED, not cloned. */
html body #mochaSettings.mocha-panel{display:block;width:min(830px,calc(100vw - 24px))!important;max-height:calc(100dvh - 24px);padding:0!important;border-radius:22px!important;border:1px solid var(--ui-line)!important;background:var(--ui-panel)!important;overflow:hidden;box-shadow:0 35px 95px #0009!important}
html body #mochaSettings.mocha-panel:not([open]){display:none}
.studio-settings-shell{display:grid;grid-template-columns:225px minmax(0,1fr);max-height:calc(100dvh - 26px);min-height:350px}
.studio-settings-aside{display:flex;flex-direction:column;padding:28px 21px;background:#0d1a19;border-right:1px solid #defd9d1d;color:#efffe9;overflow:hidden}
.studio-settings-aside img{width:48px;height:48px;border-radius:15px;margin-bottom:44px}
.studio-settings-aside .studio-aside-kicker{font-size:10px;letter-spacing:.14em;color:#b7dba1;font-weight:780;text-transform:uppercase}
.studio-settings-aside h2{margin:12px 0!important;color:#fff!important;font-size:30px!important;line-height:1.09;letter-spacing:-.07em}
.studio-settings-aside p{font-size:12px;line-height:1.6;color:#9fbab0!important}
.studio-settings-aside .studio-aside-footer{margin-top:auto;color:#b4d29c;font-size:10px;letter-spacing:.08em}
.studio-settings-main{min-height:0;padding:23px 25px;overflow-y:auto;overscroll-behavior:contain}
html body #mochaSettings .premium-settings-header{margin:0 0 18px;padding-bottom:14px;border-bottom:1px solid var(--ui-soft-line)}
html body #mochaSettings .premium-settings-header h2{font-size:22px!important;font-weight:760;letter-spacing:-.035em}
html body #mochaSettings .premium-settings-header p{font-size:11px;margin-top:5px}
html body #mochaSettings .premium-settings-section{margin:16px 0 6px!important;font-size:10px!important}
html body #mochaSettings .premium-settings-group{border-radius:12px;border-color:var(--ui-soft-line)}
html body #mochaSettings .premium-item{min-height:56px!important;padding:8px 11px!important;gap:11px}
html body #mochaSettings .premium-item-mark{width:35px;height:35px;flex:0 0 35px;border-radius:11px}
html body #mochaSettings .premium-item-copy strong{font-size:12px}
html body #mochaSettings .premium-item-copy small{font-size:10px;margin-top:3px}
html body #mochaSettings .premium-theme-picker{margin:16px 0;gap:8px}
html body #mochaSettings .premium-theme-option{min-height:71px;padding:13px 8px;border-radius:12px!important}
html body #mochaSettings .premium-item:hover:not(:disabled){background:var(--ui-hover)!important}
html body #mochaSettings .premium-item:active{transform:scale(.987)}
/* Trusted-device connect: a compact two-column process, original verification flows preserved. */
html body dialog#aeoteeConnectionDialog.aeotee-connection{width:min(750px,calc(100vw - 22px))!important;max-height:calc(100dvh - 25px);padding:0!important;border-radius:22px!important;border:1px solid var(--ui-line)!important;background:var(--ui-panel)!important;overflow:auto}
html body dialog#aeoteeConnectionDialog header{padding:16px 22px;margin:0;border-bottom:1px solid var(--ui-soft-line)}
html body dialog#aeoteeConnectionDialog header h2{font-size:21px;letter-spacing:-.05em}
html body dialog#aeoteeConnectionDialog header button{width:38px;height:38px;border-radius:11px!important;padding:0}
.studio-connection-frame{display:grid;grid-template-columns:235px minmax(0,1fr);min-height:273px}
.studio-connection-aside{min-width:0;padding:21px;background:var(--ui-input);border-right:1px solid var(--ui-soft-line)}
.studio-connection-main{min-width:0;padding:22px 24px 24px}
html body .studio-connection-aside .connection-protection{display:block;border:0!important;padding:0;margin:0 0 14px;background:transparent!important}
html body .studio-connection-aside .connection-protection>span{width:44px;height:44px;display:grid;place-items:center;background:var(--ui-raised);border-radius:14px;color:var(--ui-good);margin-bottom:12px}
html body .studio-connection-aside .connection-protection strong{font-size:13px}
html body .studio-connection-aside .connection-protection p{font-size:11px;margin:7px 0 0}
html body #aeoteeConnectionRecoveryStatus{padding:12px;background:var(--ui-panel);border:1px solid var(--ui-soft-line);border-radius:11px;font-size:11px;line-height:1.5;color:var(--ui-muted)}
html body #aeoteeConnectionStatus{font-size:11px;margin:0 0 11px;min-height:16px}
html body .studio-connection-main h3{font-size:18px;font-weight:760;letter-spacing:-.04em;margin:0 0 8px}
html body .studio-connection-main p{font-size:12px;line-height:1.6;margin:0 0 14px}
html body .studio-connection-main #aeoteeConnectionSend{min-height:43px;padding:10px 17px;background:var(--ui-accent-solid)!important;color:var(--ui-accent-ink)!important;border:0!important;border-radius:12px!important;font-weight:780}
html body .studio-connection-main details{margin-top:20px;padding-top:13px;border-top:1px solid var(--ui-soft-line)}
html body .studio-connection-main details summary{font-size:11px;font-weight:750}
html body .studio-connection-main input{font-size:19px!important;letter-spacing:.15em!important}
html body #aeoteeSecurityDialog .a2s-panel{width:min(700px,calc(100vw - 22px))!important;padding:19px;border-radius:20px!important}
html body #aeoteeSecurityDialog .a2s-head h2{font-size:22px}
html body #aeoteeSecurityDialog .a2s-hero{padding:13px;min-height:84px;border-radius:13px!important}
html body #aeoteeSecurityDialog .a2s-card{padding:12px!important;border-radius:12px!important}
html body .mocha-panel:not(#mochaSettings){background:var(--ui-panel)!important;border-radius:19px!important;padding:19px!important}
html body .mocha-panel .mocha-option{min-height:67px;padding:11px 13px!important;margin:8px 0;border-radius:13px!important}
html body .mocha-panel .mocha-option[aria-checked=true]{border-color:var(--ui-accent)!important;background:var(--ui-raised)!important;box-shadow:inset 3px 0 0 var(--ui-accent)}
html body .aeotee-peer-call-dialog{width:min(720px,calc(100vw - 24px))!important;max-width:min(720px,calc(100vw - 24px))!important;border-radius:20px!important}
html body :is(.aeotee-emoji-picker,.connect-reaction-picker,.message-actions){background:var(--ui-panel)!important;border-color:var(--ui-line)!important;border-radius:12px!important}
/* New first impression: two full height compositions, not centered generic login card. */
#loginBox.auth-shell{display:grid;grid-template-columns:minmax(0,1.07fr) minmax(350px,.93fr);align-items:stretch!important;justify-content:stretch!important;gap:0!important;padding:0!important;background:var(--ui-bg)!important;overflow-y:auto}
#loginBox.auth-shell .studio-login-scene{display:flex;position:relative;isolation:isolate;overflow:hidden;flex-direction:column;justify-content:space-between;min-height:100dvh;padding:clamp(30px,4.8vw,78px);background:#0c1819;color:#f5fbef}
.studio-login-scene::before{content:"";position:absolute;z-index:-1;inset:0;background:radial-gradient(ellipse at 83% 71%,#dafa8328,transparent 43%),linear-gradient(140deg,#152628,#0c1819 68%)}
.studio-login-scene .studio-scene-brand{display:flex;align-items:center;gap:12px;font-size:16px;letter-spacing:.1em;font-weight:820}
.studio-login-scene .studio-scene-brand img{width:50px;height:50px}
.studio-login-scene .studio-scene-copy{position:relative;z-index:1;max-width:710px}
.studio-login-scene .studio-scene-eyebrow{font-size:11px;font-weight:760;letter-spacing:.22em;color:#b9eba0;text-transform:uppercase;margin:0 0 24px}
.studio-login-scene h2{font-size:clamp(50px,6.1vw,94px);font-weight:800;line-height:.98;letter-spacing:-.084em;color:#f1faed;margin:0 0 23px}
.studio-login-scene h2 em{font-style:normal;color:#dafa8a}
.studio-login-scene .studio-scene-copy>p:last-child{max-width:450px;font-size:15px;line-height:1.66;color:#abcac1}
.studio-login-scene .studio-scene-foot{display:flex;justify-content:space-between;gap:13px;border-top:1px solid #e0fb8831;padding-top:18px;color:#b4cbbd;font-size:11px;letter-spacing:.05em}
.studio-login-graphic{position:absolute;right:-8%;top:12%;width:clamp(250px,32vw,550px);aspect-ratio:1;pointer-events:none}
.studio-login-graphic i{display:block;position:absolute;border:1px solid #defc8875;border-radius:50%}
.studio-login-graphic i:nth-child(1){inset:4%;transform:rotate(-23deg) scaleY(.46)}
.studio-login-graphic i:nth-child(2){inset:20%;transform:rotate(22deg) scaleX(.53);border-color:#8aefd790}
.studio-login-graphic i:nth-child(3){inset:38%;background:#e1f9a0;box-shadow:0 0 0 25px #d7ff8314,0 0 0 70px #d7ff8308}
#loginBox.auth-shell .auth-card{width:min(100%,430px);max-width:430px;align-self:center;justify-self:center;padding:clamp(25px,3.3vw,45px)!important;border:0!important;border-radius:0!important;box-shadow:none!important;background:transparent!important;backdrop-filter:none!important}
#loginBox.auth-shell .auth-brand{margin-bottom:32px}
#loginBox.auth-shell .auth-intro h1{font-size:clamp(31px,3.6vw,42px);font-weight:780;letter-spacing:-.055em}
#loginBox.auth-shell input{min-height:46px!important;border-radius:12px!important;border-color:var(--ui-line)!important;background:var(--ui-input)!important;color:var(--ui-text)!important}
#loginBox.auth-shell button.auth-submit{min-height:48px!important;border-radius:12px!important;background:var(--ui-accent-solid)!important;color:var(--ui-accent-ink)!important;box-shadow:0 8px 20px #0002!important}
#loginBox.auth-shell .auth-page-note{grid-column:2;text-align:center;position:static;margin:-45px 8px 15px!important;z-index:1;font-size:10px}
@keyframes studio-enter{from{opacity:0;transform:translate3d(0,16px,0) scale(.985)}to{opacity:1;transform:none}}
@keyframes studio-sweep{from{opacity:0;transform:translate3d(-14px,0,0)}to{opacity:1;transform:none}}
@keyframes studio-rise{from{opacity:.4;transform:translate3d(0,21px,0)}to{opacity:1;transform:none}}
@media(prefers-reduced-motion:no-preference){html:not(.premium-motion-off) .studio-dock{animation:studio-sweep .42s var(--studio-ease) both}html:not(.premium-motion-off) .studio-login-scene h2{animation:studio-rise .68s var(--studio-ease) both}html:not(.premium-motion-off) .studio-inspector:not([hidden]){animation:studio-sweep .28s var(--studio-ease) both}html:not(.premium-motion-off) .studio-settings-shell{animation:studio-enter .28s var(--studio-ease) both}html:not(.premium-motion-off) .studio-connection-frame{animation:studio-enter .3s var(--studio-ease) both}html:not(.premium-motion-off) .chat.studio-room-enter .chat-header{animation:studio-sweep .36s var(--studio-ease) both}html:not(.premium-motion-off) .chat.studio-room-enter .composer{animation:studio-enter .39s var(--studio-ease) both}}
@media(max-width:1180px){.studio-dock{flex-basis:59px;padding-inline:5px}.studio-dock button{width:46px;height:45px;flex-basis:45px}.studio-dock .studio-cat{width:45px;height:45px;flex-basis:45px;margin-bottom:15px}.studio-dock .studio-cat img{width:39px;height:39px}.app.premium-ready>.sidebar{flex-basis:259px;width:259px}}
@media(max-width:980px){#loginBox.auth-shell{grid-template-columns:1fr}#loginBox.auth-shell .studio-login-scene{display:none!important}#loginBox.auth-shell .auth-card{align-self:center;justify-self:center}#loginBox.auth-shell .auth-page-note{grid-column:1;margin:0 12px 12px!important}}
@media(max-width:740px) and (min-width:681px){.studio-dock{display:none!important}.app.premium-ready>.sidebar{flex-basis:245px;width:245px}}
@media(max-width:680px){.studio-dock{display:none!important}.app.premium-ready{display:flex;width:100%;height:100dvh!important;margin:0}.app.premium-ready>.sidebar{flex:1 1 auto;width:100%}.app.premium-ready .sidebar>.brand{min-height:65px;flex-basis:65px;padding:calc(10px + env(safe-area-inset-top)) 16px 8px!important}.app.premium-ready .sidebar>.studio-inbox-head{padding:14px 16px 11px}.studio-inbox-head h1{font-size:25px}.app.premium-ready .sidebar>.mocha-settings-entry{display:none!important}.app.premium-ready .premium-mobile-nav{background:var(--ui-panel)!important;border-color:var(--ui-soft-line)!important}.app.premium-ready .premium-nav-item[aria-current=page]{background:color-mix(in srgb,var(--ui-accent) 12%,var(--ui-panel));color:var(--ui-accent);border-radius:13px}.app.premium-ready .chat>.chat-header{height:63px!important;min-height:63px!important;flex-basis:63px;padding:calc(8px + env(safe-area-inset-top)) 11px 8px!important;gap:7px!important}.app.premium-ready .chat-header .avatar{width:36px;height:36px;min-width:36px}.app.premium-ready .chat-header .person b{font-size:13px!important}.app.premium-ready .chat-header .actions{gap:5px!important}.app.premium-ready .chat-header .actions button{width:34px;min-width:34px;height:38px;min-height:38px}.app.premium-ready #messages{padding:13px 12px 14px!important}.app.premium-ready #messages>.bubble{max-width:87%;padding:9px 12px!important;font-size:13px}.app.premium-ready .composer{min-height:52px!important;margin:0 7px calc(7px + env(safe-area-inset-bottom))!important;padding:4px!important;gap:1px!important}.app.premium-ready .composer button{width:34px!important;flex-basis:34px!important;height:40px!important;min-height:40px!important;padding:5px!important}.app.premium-ready .composer input{font-size:16px!important;padding:6px 5px!important}.app.premium-ready .chat-header,.app.premium-ready .composer{backdrop-filter:none!important;-webkit-backdrop-filter:none!important}.studio-inspector{width:min(330px,100%)}html body #mochaSettings.mocha-panel{width:calc(100vw - 12px)!important;max-height:calc(100dvh - 12px)}.studio-settings-shell{display:block;max-height:calc(100dvh - 12px)}.studio-settings-aside{display:none!important}.studio-settings-main{padding:17px;max-height:calc(100dvh - 12px)}.studio-connection-frame{display:block}.studio-connection-aside{padding:13px 17px;border-bottom:1px solid var(--ui-soft-line)}html body .studio-connection-aside .connection-protection{display:flex;align-items:center;gap:10px;margin-bottom:7px}.studio-connection-aside .connection-protection>span{width:38px;height:38px;flex:0 0 38px;margin:0}.studio-connection-main{padding:18px}html body dialog#aeoteeConnectionDialog.aeotee-connection{width:calc(100vw - 12px)!important;max-height:calc(100dvh - 18px)}html body dialog#aeoteeConnectionDialog header{padding:13px 17px}html body #aeoteeSecurityDialog .a2s-panel{width:calc(100vw - 12px)!important;padding:16px}#loginBox.auth-shell .auth-card{padding:25px 20px!important}}
@media(max-width:355px){.app.premium-ready .chat-header .actions button{width:30px;min-width:30px}.app.premium-ready .composer button{width:29px!important;flex-basis:29px!important}}
@media(prefers-reduced-motion:reduce){.studio-dock,.studio-settings-shell,.studio-connection-frame,.studio-inspector,.chat.studio-room-enter :is(.chat-header,.composer){animation:none!important}}
html.premium-motion-off .studio-dock,html.premium-motion-off .studio-settings-shell,html.premium-motion-off .studio-connection-frame,html.premium-motion-off .studio-inspector{animation:none!important}
html.premium-motion-lite body :is(dialog,.a2s-panel){backdrop-filter:none!important;-webkit-backdrop-filter:none!important}


/* Distinct first-launch composition on compact tablets AND phones. */
@media(min-width:700px) and (max-width:980px){
 #loginBox.auth-shell{grid-template-columns:minmax(0,.85fr) minmax(0,1.15fr)}
 #loginBox.auth-shell .studio-login-scene{display:flex!important;min-height:100dvh;padding:30px}
 .studio-login-scene h2{font-size:clamp(40px,5.5vw,62px)}
 .studio-login-scene .studio-scene-foot{font-size:9px}
 .studio-login-graphic{width:260px}
 #loginBox.auth-shell .auth-card{padding:22px!important}
 #loginBox.auth-shell .auth-page-note{grid-column:2}
}
@media(max-width:699px){
 #loginBox.auth-shell{display:flex;flex-direction:column;align-items:stretch;justify-content:flex-start;gap:0!important;min-height:100dvh;overflow-y:auto}
 #loginBox.auth-shell .studio-login-scene{display:flex!important;flex:0 0 128px;min-height:128px;padding:18px 23px 16px;justify-content:space-between}
 #loginBox.auth-shell .studio-scene-brand{font-size:12px;gap:8px}
 #loginBox.auth-shell .studio-scene-brand img{width:30px;height:30px}
 #loginBox.auth-shell .studio-scene-copy{max-width:none}
 #loginBox.auth-shell .studio-scene-eyebrow{margin:0 0 5px;font-size:9px;letter-spacing:.14em}
 #loginBox.auth-shell .studio-login-scene h2{font-size:clamp(25px,6vw,31px);line-height:1.02;letter-spacing:-.06em;margin:0}
 #loginBox.auth-shell .studio-login-scene :is(.studio-scene-foot,.studio-login-graphic){display:none!important}
 #loginBox.auth-shell .studio-scene-copy>p:last-child{display:none}
 #loginBox.auth-shell .auth-card{flex:0 0 auto;align-self:center;max-width:430px;width:100%;padding:25px 22px!important}
 #loginBox.auth-shell .auth-brand{margin-bottom:23px}
 #loginBox.auth-shell .auth-intro{margin-bottom:17px}
 #loginBox.auth-shell .auth-intro h1{font-size:31px}
 #loginBox.auth-shell .auth-page-note{grid-column:auto;margin:auto 11px 11px!important;font-size:10px}
}
