/* ORYNCEL — a single star field, clear white type and a living amber presence. */
:root{color-scheme:dark;--ground:#030405;--nav:transparent;--surface:#0b0d10;--ink:#f5f5f7;--muted:#a4a6ae;--line:#282a30;--control:#494b53;--teal:#ffc082;--pale:#191b20;--negative:#ffb3a6;--negative-pale:#291714;--amber:#ffc082;--amber-pale:#241a10;--radius:10px}
body{background:#030405;color:var(--ink)}
::selection{background:#9b4e1f;color:white}
.app-shell,.login-screen{position:relative;z-index:1;background:transparent}
.app-shell{grid-template-columns:240px minmax(0,1fr)}
.workspace{min-width:0;background:transparent}
.sidebar{background:transparent;border:0;box-shadow:none;padding:40px 24px 22px;z-index:20}
.sidebar .brand{margin:0 2px 65px;gap:13px}
.brand{font-family:Georgia,"Times New Roman",serif;font-size:20px;font-weight:400;letter-spacing:1.7px}
.brand-symbol{width:46px;height:46px;object-fit:contain;filter:invert(1);flex:none}
.brand-sub{font-family:var(--font);font-size:8px;letter-spacing:3.4px;color:#92949b;margin-top:4px}
.workspace-label,.privacy-note,.nav-hint{display:none}
.nav-link,.nav-link:hover,.nav-link[aria-current=page]{background:transparent;border:0;border-radius:0;box-shadow:none;color:#f2f2f6;font-size:13px;font-weight:450;padding:12px 4px;gap:0;min-height:47px}
.nav-link>span[data-icon]{display:none}
.nav-link[aria-current=page]{font-weight:600}
.nav-link[aria-current=page] .nav-label{color:#fff;text-shadow:0 0 15px #ffffff60}
.nav-count{background:transparent;color:#c0c1c8;margin-left:10px;font-size:10px}
.nav-divider{background:none;height:20px;margin:0}
.sidebar-bottom{padding:20px 0 0;margin-top:auto}
.sidebar-project{display:flex;align-items:center;gap:2px;margin-bottom:6px}
.sidebar .project-control{gap:6px;min-width:0;flex:1}
.sidebar .project-control>span{display:none}
.sidebar .project-control select{min-width:0;max-width:100%;font-size:11px;padding:8px 3px;background:transparent;border:0;color:#c4c5cc}
.sidebar .project-control select option{background:#0b0d10;color:white}
.sidebar #new-project{min-width:32px;padding:6px;color:#a4a6ae}
.sidebar .topbar-right{justify-content:flex-start;gap:10px;margin:0 0 8px}
.sidebar .connection-status{display:none}
.sidebar .icon-button{color:#acafb8}
.user-row{border:0;padding-top:10px;font-weight:450;color:#c7c8ce}
.avatar{background:#13151a;color:#e8e8ec;border:1px solid #33353d;font-size:11px}
.topbar{display:none;background:transparent;border:0}
.mobile-brand{font-size:10px;letter-spacing:4px;color:#d0d1d8}
main{padding:40px 42px;max-width:1550px;margin:auto}
body[data-view=chat] main{padding:0 28px;max-width:none}
body[data-view=chat] .page-heading{position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%);margin:0;padding:0}
.page-heading{margin-bottom:32px}
.page-heading h1{font-weight:450;letter-spacing:-1px}
.page-description,.eyebrow,.today{color:var(--muted)}
/* The main presence has no card, column divider or coloured background. */
.cosmic-stage.voice-default.chat-layout{display:block;position:relative;min-height:100dvh}
.cosmic-stage.voice-default .chat-presence{border:0;border-radius:0;background:transparent;min-height:100dvh;display:flex;flex-direction:column;align-items:center;justify-content:center;padding:28px 0 22px;overflow:visible;--orb-ground:transparent;--orb-ink:#fff2df;--orb-muted:#aaa5a0;--orb-line:#3b2c22;--orb-accent:#ffc084}
.cosmic-stage .presence-card-header{width:100%;justify-content:center;padding:0 20px;margin-bottom:0;flex:none}
.cosmic-stage .presence-wordmark{font-size:13px;letter-spacing:7px;font-weight:400;color:#f7e5cf}
.cosmic-stage .presence-card-header .presence-control{position:absolute;right:0;font-size:10px;color:#aaa5a0}
.cosmic-stage.voice-default .chat-presence .orb-stage{width:min(900px,calc(100vw - 290px),86dvh);max-width:100%;margin:-24px auto -48px;flex:none}
.cosmic-stage .presence-card-copy{padding:0 20px 7px;margin:0;flex:none}
.cosmic-stage.voice-default .presence-card-copy h2{font-size:clamp(20px,2vw,28px);font-weight:400;letter-spacing:-.5px;margin-bottom:6px}
.cosmic-stage .presence-card-copy p{font-size:12px;color:#b6aba2}
.cosmic-stage .handsfree-actions{padding:8px 15px 0;gap:20px;flex:none}
.presence-speak{background:#ffbd7c;color:#241204;border:1px solid #ffc58d;box-shadow:0 0 24px #ff8c2220;font-weight:550}
.presence-speak:hover{background:#ffce9d;border-color:#ffdfbe;box-shadow:0 0 30px #ff8c2233}
.presence-control,.presence-write{color:#d6c7b9}
.presence-control:hover,.presence-write:hover{color:#fff4e7;text-shadow:0 0 12px #ffc08090;background:transparent}
.cosmic-stage .handsfree-state{font-size:11px;margin:10px 18px 0;color:#d2bba8}
.cosmic-stage .handsfree-disclosure{font-size:10px;line-height:1.6;max-width:470px;margin:8px auto 0;padding:0 16px;color:#99969a}
.cosmic-stage .presence-card-footer{border:0;background:transparent;padding:10px 0 0;gap:24px;justify-content:center;flex:none;width:auto}
.cosmic-stage .presence-card-footer button{font-size:11px}
.live-reply{font-size:14px;line-height:1.7;text-align:center;max-width:620px;width:95%;max-height:94px;overflow:auto;padding:7px 15px;margin:0 0 10px;white-space:pre-wrap;color:#eee8e2;scrollbar-width:thin;position:relative;z-index:2}
.cosmic-stage .voice-state{background:transparent;border:0;border-radius:0;margin:4px 0 0;padding:0 16px;font-size:11px;max-width:100%;flex-wrap:wrap}
.voice-pulse{background:#ffc082}
/* Writing is an explicit, reversible option. History never opens the panel. */
.cosmic-stage.voice-default .chat-panel{width:min(680px,calc(100% - 48px));position:fixed;right:30px;top:24px;bottom:24px;z-index:25;border:1px solid #3a3530;border-radius:12px;background:#0a0b0ef5;box-shadow:0 12px 70px #000b;display:flex;flex-direction:column;min-height:0}
.chat-toolbar{padding:12px 16px;flex:none;border-color:#292a31;align-items:center}
.chat-toolbar>span{min-width:0}
.chat-toolbar small{font-size:10px}
.conversation-tools{display:flex;align-items:center;gap:14px;flex-shrink:0}
.conversation-tools .icon-button{font-size:26px;color:#eee}
.cosmic-stage.voice-default .messages{height:auto;min-height:80px;flex:1;padding:22px;scrollbar-color:#45454d #0a0b0e}
.chat-composer{flex:none;background:#101115;border-color:#45414a;margin:0 16px 12px}
.chat-composer textarea{background:transparent;color:#fafafa}
.message.user{background:#191a20;color:#f7f7f8}
.message.assistant{color:#e8e8ed}
.message.pending{color:#b4a497}
.chat-disclosure{font-size:10px;padding:0 20px 10px;color:#9899a2}
.cosmic-stage.voice-default .chat-reference{padding:0 20px 12px;margin:0;flex:none;width:auto;max-height:28vh;overflow:auto}
.chat-reference summary{font-size:11px;color:#b8bac3}
.chat-reference h2,.chat-reference .eyebrow,.chat-reference>p{display:none}
.chat-reference .command-list{display:grid;grid-template-columns:1fr 1fr;gap:8px}
.chat-reference .voice-note{margin:8px 0;padding:10px 0;border:0}
.chat-reference .voice-note p{font-size:11px}
.chat-welcome .welcome-monogram{color:#ffc082}
.chat-suggestions button{background:#17191e;border-color:#35373d;color:#ddd}
/* Every secondary screen uses the same dark, readable system. */
.panel,.focus-panel,.metric,.record-row,.integration-card,.voice-checks,.music-panel{background:#0b0d10dd;border-color:var(--line);box-shadow:none}
.welcome-panel{background:#13100df0;color:#f8f0e6}
.welcome-panel h2,.welcome-panel .eyebrow{color:#fff2df}
.welcome-panel p{color:#c3b9af}
.welcome-panel .button.light{background:#ffbd7c;color:#211308}
.quick-actions button,.compact-row,.record-row,.task-row,.integration-row,.notice{border-color:var(--line)}
.quick-actions button:hover,.metric:hover{background:#121419}
.quick-actions strong,.record-title{color:var(--ink)}
.button.primary{background:#ffc082;color:#20130b;border-color:#ffc082}
.button.primary:hover{background:#ffd2a4;border-color:#ffe2c5}
.button.secondary,.button.light{background:#15171c;color:#f0f0f4;border-color:#494b54}
.button.secondary:hover,.button.light:hover{background:#202229;color:white}
.text-button{color:#ffd0a1}
.icon-button:hover{background:#ffffff08;color:white}
input,textarea,select{background:#111319;color:#f1f2f5;border-color:#484a53}
input::placeholder,textarea::placeholder{color:#979ba5}
input:focus,textarea:focus,select:focus{border-color:#ffc082;box-shadow:0 0 0 3px #ffac6026}
:focus-visible{outline-color:#ffd4a8}
option{background:#101217;color:#f3f3f6}
dialog:not(.presence-dialog){background:#0d0f14;color:#f4f4f7;border-color:#3a3b44;box-shadow:0 20px 80px #000a}
dialog::backdrop{background:#000b}
.notice{background:#1a1713;color:#f4ddc2}
.toast{background:#16191f;color:#f3f4f7;border:1px solid #43464f;box-shadow:0 10px 40px #0009}
.toast.error{background:#311c19;color:#ffe1da;border-color:#8d5148}
.status-dot{background:#caaa7f}
.badge{background:#1b2220;color:#b6ddce;border-color:#34483f}
.badge.warning{background:#2a2116;color:#ffd598}
.badge.negative{background:#2d1919;color:#ffc2b6}
.voice-note{background:#13151a;color:#d4d6df}
.voice-note strong{color:#ededf1}
.voice-checks input,.voice-checks textarea{background:#111319}
.login-story{background:transparent;color:#fff}
.login-statement .eyebrow{color:#c3b0a0}
.login-statement>p:last-child,.login-foot{color:#a9a9b1}
.login-form-wrap{background:transparent}
.login-form .login-help{color:#9d9fa8}
.skip-link{background:#f5e7d9;color:#161008}
/* Immersion keeps the shared sky visible rather than adding a rectangular scene. */
.presence-dialog{background:#030405e8;border-color:#2d2723;--orb-ground:transparent;--orb-ink:#fff0df;--orb-muted:#b7aaa0;--orb-line:#3b3027;--orb-accent:#ffc082}
.presence-dialog::backdrop{background:#0007;backdrop-filter:none}
.presence-dialog.is-fullscreen{background:transparent}
.presence-dialog.is-fullscreen::backdrop{background:#03040522}
.presence-dialog.is-fullscreen .presence-dialog-copy{background:linear-gradient(transparent,#030405d9);border:0}
.presence-dialog-brand>span{display:inline-flex;align-items:center;gap:10px}
.presence-dialog-brand .brand-symbol{width:26px;height:26px}
.spotify-orb{background:transparent}
@media(min-width:1600px){.app-shell{grid-template-columns:260px minmax(0,1fr)}.sidebar{padding-left:34px;padding-right:24px}.cosmic-stage.voice-default .chat-presence .orb-stage{width:min(1000px,calc(100vw - 330px),90dvh)}}
@media(max-height:760px) and (min-width:901px){.sidebar{padding-top:26px}.sidebar .brand{margin-bottom:35px}.nav-link{min-height:42px;padding:9px 4px}.sidebar-bottom{padding-top:12px}.cosmic-stage.voice-default .chat-presence{padding:18px 0}.cosmic-stage.voice-default .chat-presence .orb-stage{width:min(720px,calc(100vw - 290px),78dvh);margin:-40px auto -55px}.cosmic-stage .handsfree-disclosure{max-width:460px}.cosmic-stage .presence-card-footer{padding-top:3px}}
@media(max-width:900px){.app-shell{display:block}.sidebar{position:fixed;top:0;bottom:0;width:245px;background:#06070aeb;box-shadow:none;padding:30px 24px;overflow-y:auto}.sidebar .brand{margin-bottom:38px}.sidebar .nav-link{font-size:13px}.topbar{display:flex;height:58px;padding:0 17px;justify-content:space-between;position:relative;z-index:21;pointer-events:none}.topbar>*{pointer-events:auto}.mobile-brand{margin-right:6px}.sidebar.is-open{z-index:22}.sidebar.is-open~.workspace .topbar{z-index:23}.sidebar .topbar-right{display:flex}.sidebar-bottom{padding-top:20px}.sidebar .project-control>span{display:none}.sidebar .project-control select{font-size:11px}.sidebar .connection-status{display:none}main{padding:24px}body[data-view=chat] main{padding:0 12px}.cosmic-stage.voice-default.chat-layout{min-height:calc(100dvh - 58px)}.cosmic-stage.voice-default .chat-presence{min-height:calc(100dvh - 58px);padding:8px 0 22px}.cosmic-stage.voice-default .chat-presence .orb-stage{width:min(800px,100vw,78dvh);margin:-20px auto -35px}.cosmic-stage .presence-card-header{padding:0 12px}.cosmic-stage .presence-card-header .presence-control{right:8px}.cosmic-stage.voice-default .presence-card-copy h2{font-size:23px}.cosmic-stage.voice-default .chat-panel{top:68px;bottom:12px;right:12px;width:calc(100% - 24px);max-width:680px}.cosmic-stage .handsfree-actions{gap:14px}.cosmic-stage .presence-card-footer{gap:20px}.cosmic-stage .presence-card-footer button{padding:9px 4px;font-size:11px}.live-reply{max-height:80px;font-size:13px}}
@media(max-width:500px){.brand{font-size:19px}.brand-symbol{width:42px;height:42px}.cosmic-stage .presence-wordmark{font-size:11px;letter-spacing:6px}.cosmic-stage.voice-default .chat-presence .orb-stage{width:calc(100vw + 16px);max-width:calc(100% + 24px);margin:-6px -12px -19px}.cosmic-stage .handsfree-actions{gap:7px;flex-wrap:wrap}.cosmic-stage .handsfree-actions .presence-control{font-size:11px;padding:10px}.cosmic-stage .presence-speak{font-size:12px;padding:12px 21px}.cosmic-stage .handsfree-disclosure{font-size:10px;max-width:350px}.chat-toolbar{padding:8px 12px}.chat-toolbar small{max-width:165px;white-space:normal}.conversation-tools{gap:5px}.conversation-tools .text-button{font-size:9px}.cosmic-stage.voice-default .messages{padding:18px}.chat-composer{margin:0 10px 10px}.chat-reference .command-list{grid-template-columns:1fr}.page-heading h1{font-size:26px}.login-story{padding:28px 25px}.login-form-wrap{padding:30px 25px}.login-statement h1{font-size:36px}}
@media(prefers-reduced-motion:reduce){*,*::before,*::after{scroll-behavior:auto!important}.sidebar{transition:none}.presence-speak{box-shadow:none}}
@media(forced-colors:active){.brand-symbol{filter:none}.nav-label{color:LinkText!important;text-shadow:none!important}.sidebar,.chat-panel{background:Canvas!important}.presence-speak{border:1px solid ButtonText}.orb-stage{forced-color-adjust:none}.brand-symbol{background:white;forced-color-adjust:none}}
/* Opening writing creates usable space; it never covers live controls. */
@media(min-width:901px){
  .cosmic-stage.voice-default .chat-presence .orb-stage{width:min(1000px,calc(100vw - 290px),calc(100dvh - 280px))}
  .cosmic-stage.voice-default.conversation-open{display:grid;grid-template-columns:minmax(0,1fr) minmax(350px,1fr);align-items:center;gap:24px}
  .cosmic-stage.voice-default.conversation-open .chat-presence{grid-column:1;grid-row:1;min-width:0}
  .cosmic-stage.voice-default.conversation-open .chat-panel{grid-column:2;grid-row:1;position:relative;inset:auto;width:100%;height:calc(100dvh - 48px);min-height:500px;max-height:1000px;background:#0a0b0ef5}
  .cosmic-stage.voice-default.conversation-open .chat-presence .orb-stage{width:100%;margin:-8px auto -20px}
  .cosmic-stage.conversation-open .handsfree-actions{flex-wrap:wrap;gap:6px}
  .cosmic-stage.conversation-open .presence-card-header .presence-control{position:static;margin-left:auto}
  .cosmic-stage.conversation-open .presence-card-header{justify-content:space-between;padding:0 15px}
  .cosmic-stage.conversation-open .presence-card-copy h2{font-size:23px}
  .cosmic-stage.conversation-open .chat-toolbar>span{flex-wrap:wrap;gap:6px}
  .cosmic-stage.conversation-open .chat-toolbar small{flex-basis:100%}
}
@media(max-width:900px){.cosmic-stage.conversation-open .chat-presence{display:none}}
body:has(#presence-dialog[open].is-fullscreen) #app{visibility:hidden}
input[type=file]::file-selector-button{background:#20232a;color:#f2f2f5;border:1px solid #545864;border-radius:4px;padding:6px 9px;margin-right:8px}
.chat-panel .voice-state{margin:0 16px 8px;flex:none;font-size:11px;display:flex;gap:8px;align-items:center}
.chat-composer textarea:focus{box-shadow:none;outline:0}
.conversation-handsfree{display:none}
@media(max-width:900px){.conversation-handsfree{display:flex;align-items:center;gap:12px;padding:0 16px 10px;flex:none}.conversation-handsfree .presence-control{border:1px solid #655243;border-radius:6px;white-space:nowrap;font-size:11px;padding:10px}.conversation-handsfree p{font-size:10px;color:#aaaab3;line-height:1.5;margin:0}.conversation-handsfree [data-handsfree-state]{color:#ffe0be}}
/* Latest direction: pure darkness and the official symbol as white light. */
:root{--ground:#000;--ink:#f7f7f8;--teal:#f3f3f5;--amber:#eee;--amber-pale:#171719}
body{background:#000}
.nav-link .nav-label{font-family:Georgia,"Times New Roman",serif;font-size:24px;font-weight:600;line-height:1.45;letter-spacing:.2px}
.nav-link[aria-current=page] .nav-label{font-weight:700}
.nav-link{padding-top:8px;padding-bottom:8px}
.avatar{background:none;border:0;border-radius:0}
.avatar img{display:block;width:28px;height:28px;object-fit:contain;filter:invert(1)}
.brand-symbol{filter:invert(1)}
.presence-card,.presence-dialog,.cosmic-stage.voice-default .chat-presence{--orb-ground:transparent;--orb-ink:#fff;--orb-muted:#aaa;--orb-line:#343436;--orb-accent:#fff}
.cosmic-stage .presence-wordmark,.cosmic-stage .presence-card-copy p,.presence-control,.presence-write,.cosmic-stage .handsfree-state{color:#ddd}
.cosmic-stage .presence-card-header .presence-control{color:#aaa}
.presence-speak,.button.primary{background:#f4f4f5;border-color:#fff;color:#111;box-shadow:0 0 20px #ffffff0b}
.presence-speak:hover,.button.primary:hover{background:#fff;border-color:#fff;color:#000;box-shadow:0 0 24px #ffffff15}
.presence-control:hover,.presence-write:hover{color:white;text-shadow:0 0 12px #ffffff80}
.text-button{color:#e7e7ec}
input:focus,textarea:focus,select:focus{border-color:#ccc;box-shadow:0 0 0 3px #ffffff12}
:focus-visible{outline-color:#eee}
::selection{background:#555;color:white}
.live-reply,.chat-welcome .welcome-monogram{color:#eee}
.presence-dialog{background:#000}
.presence-dialog::backdrop{background:#000b}
.presence-dialog.is-fullscreen{background:#000}
.presence-dialog.is-fullscreen::backdrop{background:#000}
.presence-dialog.is-fullscreen .presence-dialog-copy{background:linear-gradient(transparent,#000d)}
.orb-fallback{top:25%;left:25%;width:50%;height:50%;border:0;border-radius:0;background:transparent url('/static/assets/oryncel-mark.png') center/contain no-repeat;box-shadow:none;filter:invert(1) drop-shadow(0 0 14px #ffffff88)}
.conversation-handsfree [data-handsfree-state]{color:#eee}
.conversation-handsfree .presence-control{border-color:#555}
.cosmic-stage .voice-pulse{background:#eee}
@media(max-height:760px) and (min-width:901px){.nav-link .nav-label{font-size:22px}}
@media(max-width:900px){.sidebar{background:#000f}.sidebar .nav-link .nav-label{font-size:24px}}
@media(forced-colors:active){.avatar img{filter:none;background:white;forced-color-adjust:none}}
.welcome-panel{background:#0b0b0d;color:#eee}
.welcome-panel h2,.welcome-panel .eyebrow{color:#fff}
.welcome-panel p{color:#b8b8be}
.welcome-panel .button.light{background:#eee;color:#111}
.status-dot{background:#b8b8be}
@media(forced-colors:active){.orb-stage{background:Canvas;color:CanvasText;forced-color-adjust:none}.orb-fallback{background-image:none;background-color:CanvasText;mask:url('/static/assets/oryncel-mark.png') center/contain no-repeat;filter:none}}
/* Ambient conversation: the mark, quiet words, and no control panel. */
.nav-link .nav-label,.sidebar .nav-link .nav-label{font-family:Georgia,"Times New Roman",serif;font-size:18px;font-weight:400;line-height:1.6;letter-spacing:.35px}
.nav-link[aria-current=page] .nav-label{font-weight:400}
.cosmic-stage.voice-default.chat-layout{display:grid;grid-template-columns:minmax(0,1fr) minmax(210px,28%);align-items:center;gap:12px;min-height:100dvh}
.cosmic-stage.voice-default .chat-presence{min-height:100dvh;padding:0;justify-content:center}
.cosmic-stage.voice-default .chat-presence .orb-stage{width:min(100%,900px,94dvh);max-width:100%;margin:0;aspect-ratio:1;flex:none}
.jarvis-trigger{border:0;background:transparent;touch-action:manipulation;outline-offset:-12px;border-radius:50%}
.jarvis-trigger:focus-visible{outline:1px solid #ffffff70}
.cosmic-stage.voice-default .chat-panel{position:relative;inset:auto;width:100%;max-width:none;height:auto;max-height:76dvh;min-height:0;z-index:auto;background:transparent;border:0;border-radius:0;box-shadow:none;padding:0;align-self:center}
.cosmic-stage.voice-default .messages{min-height:0;flex:0 1 auto;height:auto;padding:12px 10px;overflow-y:auto;scrollbar-width:thin;scrollbar-color:#333 transparent}
.messages .message{font-size:12px;line-height:1.85;font-weight:400;max-width:100%;width:100%;margin:0 0 25px;padding:0;background:transparent!important;border:0;border-radius:0;color:#fff;box-shadow:none}
.messages .message.user{color:#b1b1b6;font-size:11px;margin-bottom:10px}
.messages .message-label{position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%)}
.messages .citations{font-size:10px;border:0;padding:8px 0;color:#bbb}
.messages .message.pending{color:#aaa}
.messages .message:last-child{margin-bottom:0}
.ambient-help{position:relative;max-width:370px;margin:-16px 16px 24px;color:#bcbcc2;font-size:11px;line-height:1.7;text-align:center}
#presence-dialog.presence-dialog[open]{display:flex;position:fixed;inset:0;box-sizing:border-box;margin:0;width:100vw;max-width:none;height:100dvh;max-height:none;padding:0;align-items:center;justify-content:center;border:0;border-radius:0;background:#000;overflow:hidden;box-shadow:none}
#presence-dialog::backdrop{background:#000}
#presence-dialog .orb-stage{position:relative;inset:auto;width:min(140dvh,100vw,1500px);height:auto;max-width:none;max-height:none;margin:0;flex:none;aspect-ratio:1}
#presence-dialog .presence-close{position:absolute;inset:12px 14px auto auto;z-index:4;width:40px;height:40px;min-width:40px;padding:0;border:0;border-radius:0;background:transparent;color:#fff;font-size:23px;font-weight:300;opacity:.2;transition:opacity .4s ease}
#presence-dialog .presence-close:hover,#presence-dialog .presence-close:focus-visible{opacity:.9;background:transparent}
body:has(#presence-dialog[open]) #app{visibility:hidden}
@media(max-width:900px){.cosmic-stage.voice-default.chat-layout{grid-template-columns:minmax(0,1fr);min-height:calc(100dvh - 58px);gap:0;align-content:center}.cosmic-stage.voice-default .chat-presence{min-height:0;padding:0;display:flex}.cosmic-stage.voice-default .chat-presence .orb-stage{width:min(100%,68dvh);margin:0;max-width:100%}.cosmic-stage.voice-default .chat-panel{position:relative;inset:auto;width:100%;max-height:24dvh;padding:0 18px 20px}.cosmic-stage.voice-default .messages{padding:0 8px}.ambient-help{margin:0 20px 16px}#presence-dialog .orb-stage{width:min(140dvh,140vw)}}
@media(prefers-reduced-motion:reduce){#presence-dialog .presence-close{transition:none}}
@media(forced-colors:active){#presence-dialog.presence-dialog[open]{background:Canvas}#presence-dialog .presence-close{color:ButtonText;opacity:1}.messages .message{color:CanvasText}.jarvis-trigger:focus-visible{outline-color:Highlight}}
.cosmic-stage.voice-default .chat-presence{grid-column:1;grid-row:1}
.cosmic-stage.voice-default .chat-panel{grid-column:2;grid-row:1}
@media(max-width:900px){.cosmic-stage.voice-default .chat-presence{grid-column:1;grid-row:1}.cosmic-stage.voice-default .chat-panel{grid-column:1;grid-row:2}}
.messages .message-body{font-size:inherit;line-height:inherit;color:inherit}
/* One account avatar; secondary actions appear only inside its popover. */
.sidebar-bottom{display:flex;align-items:flex-end;padding-top:18px}
.account-trigger{position:relative;display:grid;place-items:center;min-width:44px;width:44px;height:44px;padding:7px;border:0;background:transparent;border-radius:50%;color:white}
.account-trigger .avatar{display:block;width:30px;height:30px;min-width:0;margin:0}
.account-trigger .avatar img{width:30px;height:30px}
.account-trigger:hover{background:#ffffff08}
.account-trigger #notification-dot{position:absolute;right:7px;top:6px;width:5px;height:5px;border-radius:50%;background:#fff}
.account-menu{position:fixed;inset:auto;margin:0;width:270px;max-width:calc(100vw - 24px);max-height:calc(100dvh - 24px);overflow:auto;padding:9px;border:1px solid #303033;border-radius:15px;background:#111113;color:#f5f5f6;box-shadow:0 15px 55px #0008;z-index:50}
.account-menu::backdrop{background:transparent}
.account-menu-heading{display:flex;flex-direction:column;gap:4px;padding:12px 12px 15px}
.account-menu-heading #user-name{font-size:13px;font-weight:550}
.account-menu-heading small{font-size:10px;color:#aaaab0;letter-spacing:.4px}
.account-menu-item{display:flex;align-items:center;gap:12px;min-height:43px;width:100%;padding:10px 12px;border:0;border-radius:8px;background:transparent;color:#eeeef0;text-decoration:none;text-align:left;font-family:var(--font);font-size:12px;font-weight:400;line-height:1.4}
.account-menu-item [data-icon]{display:grid;place-items:center;width:19px;min-width:19px}
.account-menu-item svg{display:block;width:18px;height:18px}
.account-menu-item:hover,.account-menu-item:focus-visible{background:#ffffff0b;color:white}
.account-menu-divider{height:1px;background:#ffffff12;margin:6px 10px}
@media(forced-colors:active){.account-menu{background:Canvas;color:CanvasText;border-color:ButtonText}.account-menu-item{color:ButtonText}.account-trigger #notification-dot{background:Highlight}}
/* The same conversation follows Cloves into fullscreen, without duplication. */
#presence-dialog.presence-dialog[open]{display:grid;grid-template-columns:minmax(0,1fr) minmax(240px,25%);gap:20px;align-items:center;padding:30px 4vw 30px 2vw}
#presence-dialog .orb-stage{grid-column:1;grid-row:1;width:min(100%,140dvh);max-width:100%;margin:0;justify-self:center}
#presence-dialog #conversation-panel{position:relative;inset:auto;grid-column:2;grid-row:1;display:flex;flex-direction:column;width:100%;min-width:0;min-height:0;max-height:80dvh;background:transparent;border:0;border-radius:0;box-shadow:none}
#presence-dialog .messages{min-height:0;height:auto;max-height:80dvh;padding:12px 4px;overflow-y:auto;scrollbar-width:thin;scrollbar-color:#333 transparent}
#presence-dialog .chat-composer{margin:12px 0 0;font-size:12px;background:transparent;border-color:#333}
#presence-dialog .chat-composer textarea{min-height:70px;font-size:12px}
#presence-dialog .composer-bottom{flex-wrap:wrap;gap:8px}
#presence-dialog .composer-bottom>span{display:none}
#presence-dialog .messages:empty{padding:0}
@media(max-width:900px){#presence-dialog.presence-dialog[open]{grid-template-columns:minmax(0,1fr);grid-template-rows:minmax(0,1fr) auto;gap:0;padding:28px 18px 22px}#presence-dialog .orb-stage{grid-column:1;grid-row:1;width:min(100%,80dvh)}#presence-dialog #conversation-panel{grid-column:1;grid-row:2;max-height:30dvh}#presence-dialog .messages{max-height:30dvh}}
@media(forced-colors:active){#presence-dialog #conversation-panel{background:transparent!important}}
