/* Supplied Flowrexx assets. Existing component and storage names stay compatible. */
.flowrexx-logo {width:156px;max-width:100%;height:auto;vertical-align:middle;}
.flowrexx-logo-dark {display:none;}
[data-theme="dark"] .flowrexx-logo-light {display:none;}
[data-theme="dark"] .flowrexx-logo-dark {display:inline-block;}
.coagent-wordmark,.landing-login-mark {display:inline-flex;align-items:center;line-height:1;}
.coagent-dashboard .brand .flowrexx-logo {width:156px;}
.auth-header .flowrexx-logo,.join-top .flowrexx-logo,.landing-top .flowrexx-logo {width:172px;}
img[src="/assets/brand/mark.png"] {object-fit:contain;filter:none!important;}
.workspace img[src="/assets/brand/mark.png"] {background:transparent;padding:3px;}
.brand>.flowrexx-logo {width:140px;}
.memo-brand-mark>img {width:32px;height:32px;object-fit:contain;}
.conversation-mode {height:44px;min-width:106px;padding:0 14px;border:1px solid var(--border);border-radius:12px;background:var(--surface);color:var(--ink);font:600 12px var(--sans);cursor:pointer;white-space:nowrap;}
.conversation-mode[data-mode="team"] {border-color:#0878f9;color:#0878f9;}
[data-theme="dark"] .conversation-mode[data-mode="team"] {color:#68b9ff;border-color:#68b9ff;}
.conversation-mode:disabled {opacity:.6;cursor:default;}
.conversation-mode:focus-visible {outline:2px solid #0878f9;outline-offset:3px;}
@media(max-width:920px) {
  .coagent-dashboard:not(.coagent-master) .topbar-right>#conversation-mode {display:inline-block;}
  .coagent-dashboard:not(.coagent-master) .topbar-right {gap:10px;}
}
@media(max-width:760px) {
  /* Setup already places Live/Private beside Teach/Test. Keep its heading clear. */
  .coagent-dashboard #app-shell[data-view="ai-setup"] #conversation-mode {position:absolute;left:0;top:144px;width:calc(100vw - 32px);height:38px;}
  .coagent-dashboard #app-shell[data-view="ai-setup"] .ai-mobile-controls {min-height:116px;align-items:flex-start;}
}
