/* Orbeüss premium light theme.
   Loaded last on Classic and Space so the light palette owns every visible surface. */

html[data-orbeuss-effective-theme="light"]{
  --orbeuss-light-bg:#f2f7fa;
  --orbeuss-light-bg-2:#f8fbfd;
  --orbeuss-light-panel:rgba(255,255,255,.92);
  --orbeuss-light-panel-solid:#ffffff;
  --orbeuss-light-panel-soft:#f5f9fb;
  --orbeuss-light-text:#132631;
  --orbeuss-light-text-strong:#0b1d27;
  --orbeuss-light-muted:#59717f;
  --orbeuss-light-muted-2:#748995;
  --orbeuss-light-line:rgba(30,91,119,.16);
  --orbeuss-light-line-strong:rgba(18,103,143,.29);
  --orbeuss-light-accent:#086b98;
  --orbeuss-light-accent-strong:#045b83;
  --orbeuss-light-accent-soft:#e7f5fb;
  --orbeuss-light-shadow:0 18px 55px rgba(42,76,94,.10);
  --orbeuss-light-shadow-soft:0 8px 28px rgba(49,82,99,.08);
  --orbeuss-light-glow:0 0 0 1px rgba(37,147,194,.07),0 14px 36px rgba(35,123,164,.10);
  background:#f2f7fa!important;
  color:var(--orbeuss-light-text)!important;
}

html[data-orbeuss-effective-theme="light"],
html[data-orbeuss-effective-theme="light"] body,
html[data-orbeuss-effective-theme="light"] #root,
html[data-orbeuss-effective-theme="light"] .app,
html[data-orbeuss-effective-theme="light"] .app-shell,
html[data-orbeuss-effective-theme="light"] .workspace,
html[data-orbeuss-effective-theme="light"] .main,
html[data-orbeuss-effective-theme="light"] .main-pane,
html[data-orbeuss-effective-theme="light"] .main-content{
  background:
    radial-gradient(circle at 67% 32%,rgba(61,181,226,.09),transparent 31%),
    radial-gradient(circle at 89% 86%,rgba(101,119,214,.055),transparent 26%),
    linear-gradient(145deg,#f7fbfd 0%,#f1f7fa 48%,#edf4f8 100%)!important;
  color:var(--orbeuss-light-text)!important;
}

/* Classic shell */
html[data-orbeuss-effective-theme="light"] .sidebar{
  background:linear-gradient(180deg,rgba(255,255,255,.98),rgba(248,251,253,.96))!important;
  color:var(--orbeuss-light-text)!important;
  border-right:1px solid rgba(29,91,119,.11)!important;
  box-shadow:10px 0 38px rgba(50,79,95,.055)!important;
}
html[data-orbeuss-effective-theme="light"] .topbar{
  background:rgba(255,255,255,.84)!important;
  color:var(--orbeuss-light-text)!important;
  border-bottom:1px solid rgba(29,91,119,.10)!important;
  box-shadow:0 8px 30px rgba(40,73,91,.055)!important;
  backdrop-filter:blur(18px) saturate(145%)!important;
  -webkit-backdrop-filter:blur(18px) saturate(145%)!important;
}
html[data-orbeuss-effective-theme="light"] .agent-brand,
html[data-orbeuss-effective-theme="light"] .agent-brand b,
html[data-orbeuss-effective-theme="light"] .account b,
html[data-orbeuss-effective-theme="light"] .breadcrumb,
html[data-orbeuss-effective-theme="light"] .breadcrumb b{
  color:var(--orbeuss-light-text-strong)!important;
}
html[data-orbeuss-effective-theme="light"] .breadcrumb span,
html[data-orbeuss-effective-theme="light"] .eyebrow{
  color:var(--orbeuss-light-accent-strong)!important;
}
html[data-orbeuss-effective-theme="light"] .new-chat{
  background:linear-gradient(135deg,#edf8fd,#f8fcfe)!important;
  color:#075c83!important;
  border-color:rgba(13,118,165,.27)!important;
  box-shadow:inset 0 1px 0 rgba(255,255,255,.92),0 8px 24px rgba(40,119,154,.08)!important;
}
html[data-orbeuss-effective-theme="light"] .new-chat:hover{
  background:linear-gradient(135deg,#e3f5fc,#f4fbfe)!important;
  color:#034f75!important;
  border-color:rgba(7,103,150,.42)!important;
  box-shadow:0 9px 26px rgba(35,119,158,.13)!important;
}
html[data-orbeuss-effective-theme="light"] .sidebar-search{
  background:#f4f8fa!important;
  border:1px solid rgba(32,89,115,.16)!important;
  box-shadow:inset 0 1px 2px rgba(23,58,75,.035)!important;
}
html[data-orbeuss-effective-theme="light"] .sidebar-search input{
  background:transparent!important;
  color:#17303d!important;
}
html[data-orbeuss-effective-theme="light"] .sidebar-search input::placeholder{color:#687f8c!important}
html[data-orbeuss-effective-theme="light"] .sidebar nav button,
html[data-orbeuss-effective-theme="light"] .sidebar-chat-open,
html[data-orbeuss-effective-theme="light"] .sidebar-chat-delete,
html[data-orbeuss-effective-theme="light"] .history-label,
html[data-orbeuss-effective-theme="light"] .no-history,
html[data-orbeuss-effective-theme="light"] .account small,
html[data-orbeuss-effective-theme="light"] .private-note,
html[data-orbeuss-effective-theme="light"] .chat-project-select,
html[data-orbeuss-effective-theme="light"] .composer-tools,
html[data-orbeuss-effective-theme="light"] .composer-note,
html[data-orbeuss-effective-theme="light"] .context-sources{
  color:#566f7d!important;
}
html[data-orbeuss-effective-theme="light"] .sidebar nav button svg,
html[data-orbeuss-effective-theme="light"] .sidebar nav button [class*="icon"],
html[data-orbeuss-effective-theme="light"] .account svg,
html[data-orbeuss-effective-theme="light"] .text-button svg{
  color:#315f75!important;
  stroke:#315f75!important;
}
html[data-orbeuss-effective-theme="light"] .sidebar-nav-main.active,
html[data-orbeuss-effective-theme="light"] .sidebar-nav-main:hover,
html[data-orbeuss-effective-theme="light"] .sidebar-project-row.active,
html[data-orbeuss-effective-theme="light"] .sidebar-project-row:hover,
html[data-orbeuss-effective-theme="light"] .sidebar-chat-row.selected,
html[data-orbeuss-effective-theme="light"] .sidebar-chat-row:hover{
  background:linear-gradient(90deg,rgba(24,132,180,.095),rgba(24,132,180,.045))!important;
  color:#0a5578!important;
}
html[data-orbeuss-effective-theme="light"] .sidebar-nav-main.active *,
html[data-orbeuss-effective-theme="light"] .sidebar-project-row.active *,
html[data-orbeuss-effective-theme="light"] .sidebar-chat-row.selected *{
  color:#0a5578!important;
}
html[data-orbeuss-effective-theme="light"] .sidebar-submenu{border-left-color:rgba(25,100,135,.14)!important}
html[data-orbeuss-effective-theme="light"] .nav-count{
  color:#075b82!important;
  background:#e7f4f9!important;
  border:1px solid rgba(12,105,148,.10)!important;
}
html[data-orbeuss-effective-theme="light"] .user-monogram{
  color:#f8fcfe!important;
  background:linear-gradient(145deg,#184e68,#0e374d)!important;
  border-color:rgba(14,73,101,.22)!important;
  box-shadow:0 5px 16px rgba(21,65,86,.16)!important;
}
html[data-orbeuss-effective-theme="light"] .account{
  border-top-color:rgba(30,91,119,.11)!important;
}
html[data-orbeuss-effective-theme="light"] .account:hover{background:rgba(20,108,148,.055)!important}
html[data-orbeuss-effective-theme="light"] .private-note>span,
html[data-orbeuss-effective-theme="light"] .project-dot{
  background:#0e79a8!important;
  box-shadow:0 0 0 3px rgba(14,121,168,.10)!important;
}

/* Main welcome / conversation */
html[data-orbeuss-effective-theme="light"] .welcome,
html[data-orbeuss-effective-theme="light"] .conversation,
html[data-orbeuss-effective-theme="light"] .conversation-stage,
html[data-orbeuss-effective-theme="light"] .conversation-feed{
  color:var(--orbeuss-light-text)!important;
}
html[data-orbeuss-effective-theme="light"] .welcome h1{
  color:#18313e!important;
  text-shadow:0 1px 0 rgba(255,255,255,.75)!important;
}
html[data-orbeuss-effective-theme="light"] .welcome p,
html[data-orbeuss-effective-theme="light"] .message-label,
html[data-orbeuss-effective-theme="light"] .thinking,
html[data-orbeuss-effective-theme="light"] .older-button{
  color:#617985!important;
}
html[data-orbeuss-effective-theme="light"] .assistant-label b,
html[data-orbeuss-effective-theme="light"] .reply-text,
html[data-orbeuss-effective-theme="light"] .notice{
  color:#17303c!important;
}
html[data-orbeuss-effective-theme="light"] .user-message>div,
html[data-orbeuss-effective-theme="light"] .message-bubble.user{
  background:linear-gradient(145deg,#e9f5fa,#f2f9fc)!important;
  color:#16303d!important;
  border-color:rgba(18,108,148,.16)!important;
  box-shadow:0 8px 24px rgba(38,89,113,.07)!important;
}
html[data-orbeuss-effective-theme="light"] .message-bubble.assistant{
  background:rgba(255,255,255,.82)!important;
  color:#16303d!important;
  border-color:rgba(28,87,113,.12)!important;
  box-shadow:0 8px 24px rgba(38,89,113,.055)!important;
}

/* Living orb: keep electric-blue identity without washing out on white. */
html[data-orbeuss-effective-theme="light"] .classic-real-orb-canvas,
html[data-orbeuss-effective-theme="light"] .classic-brand-orb-canvas,
html[data-orbeuss-effective-theme="light"] .myaltero-voice-button-orb{
  mix-blend-mode:normal!important;
  filter:drop-shadow(0 7px 14px rgba(12,91,132,.18)) drop-shadow(0 0 12px rgba(19,151,207,.16))!important;
}
html[data-orbeuss-effective-theme="light"] .welcome-avatar{
  filter:drop-shadow(0 14px 28px rgba(27,115,153,.12))!important;
}

/* Composer */
html[data-orbeuss-effective-theme="light"] .composer{
  background:rgba(255,255,255,.91)!important;
  border:1px solid rgba(27,102,137,.20)!important;
  box-shadow:0 18px 50px rgba(41,76,95,.12),inset 0 1px 0 rgba(255,255,255,.96)!important;
  backdrop-filter:blur(18px) saturate(145%)!important;
  -webkit-backdrop-filter:blur(18px) saturate(145%)!important;
}
html[data-orbeuss-effective-theme="light"] .composer>textarea{
  background:transparent!important;
  color:#17303d!important;
}
html[data-orbeuss-effective-theme="light"] .composer>textarea::placeholder{color:#718894!important}
html[data-orbeuss-effective-theme="light"] .composer .attach-button,
html[data-orbeuss-effective-theme="light"] .composer .myaltero-dictation-button,
html[data-orbeuss-effective-theme="light"] .composer .myaltero-voice-button,
html[data-orbeuss-effective-theme="light"] .attach-button,
html[data-orbeuss-effective-theme="light"] .composer-file{
  background:#edf6fa!important;
  color:#205f7c!important;
  border-color:rgba(22,107,147,.14)!important;
}
html[data-orbeuss-effective-theme="light"] .composer .attach-button:hover,
html[data-orbeuss-effective-theme="light"] .composer .myaltero-dictation-button:hover,
html[data-orbeuss-effective-theme="light"] .attach-button:hover,
html[data-orbeuss-effective-theme="light"] .composer-file button:hover{
  background:#e2f2f9!important;
  color:#074f74!important;
}
html[data-orbeuss-effective-theme="light"] .composer .attach-button:after,
html[data-orbeuss-effective-theme="light"] .composer .myaltero-dictation-button:before,
html[data-orbeuss-effective-theme="light"] .composer .myaltero-dictation-button:after{
  background:rgba(39,102,130,.18)!important;
}
html[data-orbeuss-effective-theme="light"] .send,
html[data-orbeuss-effective-theme="light"] .primary,
html[data-orbeuss-effective-theme="light"] .altero-primary,
html[data-orbeuss-effective-theme="light"] .myaltero-recharge-btn,
html[data-orbeuss-effective-theme="light"] .myaltero-pack{
  background:linear-gradient(135deg,#157eaa,#075d89)!important;
  color:#ffffff!important;
  border-color:rgba(4,86,126,.20)!important;
  box-shadow:0 9px 23px rgba(8,95,137,.18),inset 0 1px 0 rgba(255,255,255,.19)!important;
}
html[data-orbeuss-effective-theme="light"] .send:hover,
html[data-orbeuss-effective-theme="light"] .primary:hover,
html[data-orbeuss-effective-theme="light"] .myaltero-recharge-btn:hover{
  background:linear-gradient(135deg,#0d739f,#044f77)!important;
  box-shadow:0 11px 27px rgba(8,85,125,.24)!important;
}
html[data-orbeuss-effective-theme="light"] .send:disabled{
  background:#d8e3e9!important;
  color:#7a8e99!important;
  box-shadow:none!important;
}

/* Wallet / header controls */
html[data-orbeuss-effective-theme="light"] .myaltero-balance-chip,
html[data-orbeuss-effective-theme="light"] .private-pill{
  background:#edf6fa!important;
  color:#17475f!important;
  border-color:rgba(20,100,138,.16)!important;
  box-shadow:inset 0 1px 0 rgba(255,255,255,.8)!important;
}
html[data-orbeuss-effective-theme="light"] .private-pill>span{
  background:#0b749f!important;
  box-shadow:0 0 0 3px rgba(11,116,159,.10)!important;
}
html[data-orbeuss-effective-theme="light"] .myaltero-attention-bar{background:transparent!important}
html[data-orbeuss-effective-theme="light"] .myaltero-attn-chip,
html[data-orbeuss-effective-theme="light"] .myaltero-space-switch{
  background:#f1f7fa!important;
  color:#486575!important;
  border-color:rgba(23,102,138,.16)!important;
}
html[data-orbeuss-effective-theme="light"] .myaltero-attn-chip:hover,
html[data-orbeuss-effective-theme="light"] .myaltero-attn-chip.selected,
html[data-orbeuss-effective-theme="light"] .myaltero-space-switch:hover{
  background:#e6f4fa!important;
  color:#075777!important;
  border-color:rgba(11,116,159,.30)!important;
}
html[data-orbeuss-effective-theme="light"] .myaltero-attn-chip b{background:#deeff6!important;color:#0c5d7f!important}
html[data-orbeuss-effective-theme="light"] .myaltero-attn-chip.is-active:before,
html[data-orbeuss-effective-theme="light"] .myaltero-attn-chip.is-approval:before,
html[data-orbeuss-effective-theme="light"] .myaltero-attn-chip.is-done:before{
  background:#0c79a5!important;
  box-shadow:0 0 0 3px rgba(12,121,165,.10)!important;
}
html[data-orbeuss-effective-theme="light"] .myaltero-attention-panel{
  background:rgba(255,255,255,.97)!important;
  color:#17303d!important;
  border-color:rgba(24,98,132,.16)!important;
  box-shadow:0 20px 55px rgba(41,75,94,.15)!important;
}

/* Generic interactive colors: no pale-cyan-on-white. */
html[data-orbeuss-effective-theme="light"] a,
html[data-orbeuss-effective-theme="light"] .text-button,
html[data-orbeuss-effective-theme="light"] .settings-card a{
  color:#08678f!important;
}
html[data-orbeuss-effective-theme="light"] a:hover,
html[data-orbeuss-effective-theme="light"] .text-button:hover,
html[data-orbeuss-effective-theme="light"] .settings-card a:hover{
  color:#034d70!important;
}
html[data-orbeuss-effective-theme="light"] button:focus-visible,
html[data-orbeuss-effective-theme="light"] a:focus-visible,
html[data-orbeuss-effective-theme="light"] input:focus-visible,
html[data-orbeuss-effective-theme="light"] select:focus-visible,
html[data-orbeuss-effective-theme="light"] textarea:focus-visible{
  outline-color:#0a6f9b!important;
  box-shadow:0 0 0 3px rgba(10,111,155,.14)!important;
}

/* Forms */
html[data-orbeuss-effective-theme="light"] input,
html[data-orbeuss-effective-theme="light"] select,
html[data-orbeuss-effective-theme="light"] textarea,
html[data-orbeuss-effective-theme="light"] .modal textarea,
html[data-orbeuss-effective-theme="light"] .account-identity-row input,
html[data-orbeuss-effective-theme="light"] .account-preference-row select,
html[data-orbeuss-effective-theme="light"] .orbeuss-mcp-field input,
html[data-orbeuss-effective-theme="light"] .orbeuss-mcp-field select{
  background:#f7fafc!important;
  color:#17303d!important;
  border-color:rgba(27,94,125,.18)!important;
  box-shadow:inset 0 1px 2px rgba(25,61,78,.025)!important;
}
html[data-orbeuss-effective-theme="light"] select option{background:#ffffff!important;color:#17303d!important}
html[data-orbeuss-effective-theme="light"] input::placeholder,
html[data-orbeuss-effective-theme="light"] textarea::placeholder{color:#778d98!important}

/* Settings / onboarding / cards */
html[data-orbeuss-effective-theme="light"] .settings-pane{
  background:
    radial-gradient(circle at 86% 8%,rgba(54,171,216,.07),transparent 25%),
    linear-gradient(180deg,#f8fbfd,#f1f7fa)!important;
  color:#17303d!important;
}
html[data-orbeuss-effective-theme="light"] .settings-card,
html[data-orbeuss-effective-theme="light"] .coming-card,
html[data-orbeuss-effective-theme="light"] .myaltero-memory-card,
html[data-orbeuss-effective-theme="light"] .myaltero-connections-card,
html[data-orbeuss-effective-theme="light"] .orbeuss-orbe-settings-card,
html[data-orbeuss-effective-theme="light"] .myaltero-voice-settings-card{
  background:rgba(255,255,255,.91)!important;
  color:#17303d!important;
  border-color:rgba(26,92,122,.14)!important;
  box-shadow:var(--orbeuss-light-shadow-soft)!important;
}
html[data-orbeuss-effective-theme="light"] .settings-pane h1,
html[data-orbeuss-effective-theme="light"] .settings-pane h2,
html[data-orbeuss-effective-theme="light"] .settings-pane h3,
html[data-orbeuss-effective-theme="light"] .settings-pane b,
html[data-orbeuss-effective-theme="light"] .settings-pane strong{
  color:#122833!important;
}
html[data-orbeuss-effective-theme="light"] .settings-pane p,
html[data-orbeuss-effective-theme="light"] .settings-pane small,
html[data-orbeuss-effective-theme="light"] .settings-pane .muted,
html[data-orbeuss-effective-theme="light"] .account-identity-row,
html[data-orbeuss-effective-theme="light"] .account-identity-row span{
  color:#5b7380!important;
}
html[data-orbeuss-effective-theme="light"] .settings-pane .eyebrow,
html[data-orbeuss-effective-theme="light"] .myaltero-context-copy .eyebrow,
html[data-orbeuss-effective-theme="light"] .myaltero-avatar-section>.eyebrow,
html[data-orbeuss-effective-theme="light"] .myaltero-voice-settings-card .eyebrow{
  color:#0b668d!important;
}
html[data-orbeuss-effective-theme="light"] .settings-pane .orbeuss-settings-accordion{
  background:rgba(255,255,255,.88)!important;
  border-color:rgba(25,90,120,.15)!important;
  box-shadow:0 7px 24px rgba(46,79,97,.055)!important;
}
html[data-orbeuss-effective-theme="light"] .settings-pane .orbeuss-settings-accordion.open{
  background:#ffffff!important;
  border-color:rgba(8,111,155,.23)!important;
  box-shadow:0 14px 38px rgba(37,79,101,.10)!important;
}
html[data-orbeuss-effective-theme="light"] .settings-pane .orbeuss-settings-accordion-toggle,
html[data-orbeuss-effective-theme="light"] .settings-pane .orbeuss-settings-accordion-copy b{
  color:#14303d!important;
}
html[data-orbeuss-effective-theme="light"] .settings-pane .orbeuss-settings-accordion-copy small,
html[data-orbeuss-effective-theme="light"] .settings-pane .orbeuss-preferences-note{
  color:#607985!important;
}
html[data-orbeuss-effective-theme="light"] .settings-pane .orbeuss-settings-accordion-chevron{color:#0b648a!important}
html[data-orbeuss-effective-theme="light"] .settings-pane .orbeuss-settings-accordion-toggle:hover{background:#f2f8fb!important}
html[data-orbeuss-effective-theme="light"] .settings-pane .orbeuss-settings-accordion-body{border-top-color:rgba(26,93,123,.10)!important}
html[data-orbeuss-effective-theme="light"] .settings-pane .myaltero-avatar-preview{
  background:linear-gradient(145deg,#f3f9fc,#edf6fa)!important;
  border-color:rgba(19,107,149,.17)!important;
}
html[data-orbeuss-effective-theme="light"] .settings-pane .myaltero-avatar-savebar{
  background:linear-gradient(to bottom,transparent 0%,rgba(248,251,253,.96) 38%)!important;
}
html[data-orbeuss-effective-theme="light"] .settings-pane .myaltero-master-card,
html[data-orbeuss-effective-theme="light"] .settings-pane .myaltero-voice-option,
html[data-orbeuss-effective-theme="light"] .settings-pane .myaltero-autonomy-option,
html[data-orbeuss-effective-theme="light"] .altero-choice{
  background:#f7fafc!important;
  color:#193541!important;
  border-color:rgba(27,94,124,.16)!important;
}
html[data-orbeuss-effective-theme="light"] .settings-pane .myaltero-master-card:hover,
html[data-orbeuss-effective-theme="light"] .settings-pane .myaltero-voice-option:hover:not(:disabled),
html[data-orbeuss-effective-theme="light"] .settings-pane .myaltero-autonomy-option:hover,
html[data-orbeuss-effective-theme="light"] .altero-choice:hover{
  background:#edf7fb!important;
  color:#0b5374!important;
  border-color:rgba(9,109,153,.29)!important;
}
html[data-orbeuss-effective-theme="light"] .settings-pane .myaltero-master-card.selected,
html[data-orbeuss-effective-theme="light"] .settings-pane .myaltero-voice-option.selected,
html[data-orbeuss-effective-theme="light"] .settings-pane .myaltero-autonomy-option.selected,
html[data-orbeuss-effective-theme="light"] .altero-choice.selected{
  background:linear-gradient(145deg,#e4f4fa,#edf8fc)!important;
  color:#094d6d!important;
  border-color:rgba(7,111,156,.42)!important;
  box-shadow:inset 0 0 0 1px rgba(7,111,156,.07),0 6px 18px rgba(28,105,139,.08)!important;
}
html[data-orbeuss-effective-theme="light"] .settings-pane .myaltero-voice-option small,
html[data-orbeuss-effective-theme="light"] .settings-pane .myaltero-voice-settings-head p{color:#607985!important}
html[data-orbeuss-effective-theme="light"] .settings-pane .myaltero-voice-option:disabled{
  background:#f3f5f6!important;
  color:#87949b!important;
  border-color:rgba(77,101,112,.10)!important;
  opacity:.66!important;
}
html[data-orbeuss-effective-theme="light"] .settings-pane .myaltero-voice-gender{
  background:#e8f5fa!important;
  color:#0b5c7e!important;
  border-color:rgba(10,102,145,.20)!important;
}
html[data-orbeuss-effective-theme="light"] .settings-pane .secondary,
html[data-orbeuss-effective-theme="light"] .settings-pane .mini-topup,
html[data-orbeuss-effective-theme="light"] .settings-pane .mini-copy,
html[data-orbeuss-effective-theme="light"] .secondary,
html[data-orbeuss-effective-theme="light"] .mini-topup,
html[data-orbeuss-effective-theme="light"] .mini-copy{
  background:#eef6f9!important;
  color:#155c79!important;
  border-color:rgba(25,100,135,.18)!important;
}
html[data-orbeuss-effective-theme="light"] .settings-pane .secondary:hover,
html[data-orbeuss-effective-theme="light"] .secondary:hover{
  background:#e3f2f8!important;
  color:#064d6d!important;
  border-color:rgba(9,105,149,.30)!important;
}
html[data-orbeuss-effective-theme="light"] .orbeuss-connection-tile,
html[data-orbeuss-effective-theme="light"] .orbeuss-connection-summary-item,
html[data-orbeuss-effective-theme="light"] .orbeuss-connector-catalog-item,
html[data-orbeuss-effective-theme="light"] .myaltero-memory-summary,
html[data-orbeuss-effective-theme="light"] .myaltero-memory-fact,
html[data-orbeuss-effective-theme="light"] .myaltero-connection-row{
  background:#f7fafc!important;
  color:#193440!important;
  border-color:rgba(29,94,124,.13)!important;
}
html[data-orbeuss-effective-theme="light"] .myaltero-overlay{
  background:rgba(26,47,59,.28)!important;
  backdrop-filter:blur(8px)!important;
  -webkit-backdrop-filter:blur(8px)!important;
}
html[data-orbeuss-effective-theme="light"] .myaltero-modal,
html[data-orbeuss-effective-theme="light"] .modal,
html[data-orbeuss-effective-theme="light"] .orbeuss-connector-modal,
html[data-orbeuss-effective-theme="light"] .orbeuss-permission-modal{
  background:rgba(255,255,255,.975)!important;
  color:#17303d!important;
  border-color:rgba(25,95,127,.16)!important;
  box-shadow:0 30px 90px rgba(37,64,79,.22)!important;
}

/* Project / file surfaces */
html[data-orbeuss-effective-theme="light"] .project-summary,
html[data-orbeuss-effective-theme="light"] .project-chats>button,
html[data-orbeuss-effective-theme="light"] .file-row,
html[data-orbeuss-effective-theme="light"] .work-empty{
  background:linear-gradient(145deg,#ffffff,#f5f9fb)!important;
  color:#17303d!important;
  border-color:rgba(27,91,121,.13)!important;
}
html[data-orbeuss-effective-theme="light"] .project-tabs button{
  color:#566f7c!important;
  border-color:rgba(30,91,120,.15)!important;
  background:#f6f9fb!important;
}
html[data-orbeuss-effective-theme="light"] .project-tabs button.selected{
  color:#075878!important;
  background:#e7f4f9!important;
  border-color:rgba(9,108,151,.30)!important;
}

/* Space — no black surfaces in light mode. */
html[data-orbeuss-effective-theme="light"] .space-app{
  --bg:#f2f7fa;
  --panel:rgba(255,255,255,.84);
  --panel-strong:rgba(255,255,255,.96);
  --line:rgba(25,92,126,.15);
  --line-strong:rgba(13,102,145,.29);
  --text:#142a35;
  --muted:#607985;
  --soft:#365867;
  --accent:#08719f;
  --accent-2:#6558b6;
  --shadow:0 22px 70px rgba(45,77,94,.13);
  color:#142a35!important;
}
html[data-orbeuss-effective-theme="light"] body,
html[data-orbeuss-effective-theme="light"] .space-app,
html[data-orbeuss-effective-theme="light"] .space-canvas{
  background:
    radial-gradient(circle at 50% 32%,rgba(50,174,221,.095),transparent 31%),
    radial-gradient(circle at 86% 76%,rgba(120,102,202,.055),transparent 26%),
    linear-gradient(145deg,#f8fbfd,#eef5f8)!important;
}
html[data-orbeuss-effective-theme="light"] .space-app:before{
  opacity:.55!important;
  filter:none!important;
}
html[data-orbeuss-effective-theme="light"] .space-topbar,
html[data-orbeuss-effective-theme="light"] .space-dock,
html[data-orbeuss-effective-theme="light"] .dock-shelf,
html[data-orbeuss-effective-theme="light"] .command-palette,
html[data-orbeuss-effective-theme="light"] .toast,
html[data-orbeuss-effective-theme="light"] .space-activity-panel,
html[data-orbeuss-effective-theme="light"] .space-dialogs-panel,
html[data-orbeuss-effective-theme="light"] .activity-panel,
html[data-orbeuss-effective-theme="light"] .dialogs-panel{
  background:rgba(255,255,255,.88)!important;
  color:#18303c!important;
  border-color:rgba(24,93,125,.14)!important;
  box-shadow:0 16px 46px rgba(43,74,91,.10)!important;
  backdrop-filter:blur(18px) saturate(145%)!important;
  -webkit-backdrop-filter:blur(18px) saturate(145%)!important;
}
html[data-orbeuss-effective-theme="light"] .space-frame{
  background:linear-gradient(145deg,rgba(255,255,255,.98),rgba(242,248,251,.96))!important;
  color:#17303d!important;
  border-color:rgba(23,94,127,.15)!important;
  box-shadow:0 20px 60px rgba(41,75,94,.12)!important;
}
html[data-orbeuss-effective-theme="light"] .frame-head{border-color:rgba(28,92,121,.09)!important}
html[data-orbeuss-effective-theme="light"] .frame-number{color:#075f86!important;border-color:rgba(7,105,149,.24)!important}
html[data-orbeuss-effective-theme="light"] .project-picker,
html[data-orbeuss-effective-theme="light"] .mode-switch{
  background:#f6fafc!important;
  color:#1b3743!important;
  border-color:rgba(25,94,125,.16)!important;
}
html[data-orbeuss-effective-theme="light"] .space-dock button,
html[data-orbeuss-effective-theme="light"] .dock-return,
html[data-orbeuss-effective-theme="light"] .space-voice-toggle{
  color:#2b6178!important;
}
html[data-orbeuss-effective-theme="light"] .space-dock button:hover,
html[data-orbeuss-effective-theme="light"] .dock-return:hover,
html[data-orbeuss-effective-theme="light"] .space-voice-toggle:hover{
  background:#e9f5fa!important;
  color:#075677!important;
}
html[data-orbeuss-effective-theme="light"] .dock-separator{background:rgba(30,92,120,.13)!important}
html[data-orbeuss-effective-theme="light"] .dock-badge{background:#096f9c!important;color:#ffffff!important}
html[data-orbeuss-effective-theme="light"] .space-app .composer{
  background:rgba(255,255,255,.91)!important;
  color:#17303d!important;
  border-color:rgba(21,101,138,.19)!important;
  box-shadow:0 16px 44px rgba(42,76,94,.11)!important;
}
html[data-orbeuss-effective-theme="light"] .space-app .composer textarea,
html[data-orbeuss-effective-theme="light"] .space-app .composer input{color:#17303d!important}
html[data-orbeuss-effective-theme="light"] .space-app .composer textarea::placeholder,
html[data-orbeuss-effective-theme="light"] .space-app .composer input::placeholder{color:#748995!important}
html[data-orbeuss-effective-theme="light"] .space-app .send-btn{
  background:linear-gradient(135deg,#167fa9,#075c86)!important;
  color:#fff!important;
  box-shadow:0 7px 20px rgba(8,93,134,.18)!important;
}
html[data-orbeuss-effective-theme="light"] .space-app .message-bubble.user{
  background:#e7f4f9!important;
  color:#17303d!important;
  border-color:rgba(15,106,149,.15)!important;
}
html[data-orbeuss-effective-theme="light"] .space-app .message-bubble.assistant{
  background:rgba(255,255,255,.84)!important;
  color:#17303d!important;
  border-color:rgba(30,90,118,.11)!important;
}
html[data-orbeuss-effective-theme="light"] .space-grid{opacity:.055!important}
html[data-orbeuss-effective-theme="light"] .space-connector-permission-backdrop{background:rgba(31,50,61,.28)!important}
html[data-orbeuss-effective-theme="light"] .space-connector-permission-modal{
  background:#ffffff!important;
  color:#17303d!important;
  border-color:rgba(20,101,140,.16)!important;
  box-shadow:0 28px 80px rgba(36,64,79,.20)!important;
}
html[data-orbeuss-effective-theme="light"] .space-connector-permission-modal h2{color:#142a35!important}
html[data-orbeuss-effective-theme="light"] .space-connector-permission-description{
  background:#edf7fb!important;
  color:#1b3a47!important;
  border-color:rgba(14,104,148,.15)!important;
}
html[data-orbeuss-effective-theme="light"] .space-connector-permission-note{color:#607985!important}

/* Registration / login / onboarding */
html[data-orbeuss-effective-theme="light"] .login-page,
html[data-orbeuss-effective-theme="light"] .auth-page{
  background:
    radial-gradient(circle at 20% 12%,rgba(51,178,224,.11),transparent 28%),
    radial-gradient(circle at 82% 84%,rgba(110,95,190,.06),transparent 25%),
    linear-gradient(145deg,#f8fbfd,#edf5f9)!important;
  color:#17303d!important;
}
html[data-orbeuss-effective-theme="light"] .login-card,
html[data-orbeuss-effective-theme="light"] .auth-card{
  background:rgba(255,255,255,.93)!important;
  color:#17303d!important;
  border-color:rgba(23,93,125,.14)!important;
  box-shadow:0 24px 70px rgba(42,70,85,.14)!important;
  backdrop-filter:blur(20px)!important;
  -webkit-backdrop-filter:blur(20px)!important;
}

/* Hard safety net: common dark-only surfaces from older overlays must not remain black. */
html[data-orbeuss-effective-theme="light"] .settings-pane [style*="background:#0"],
html[data-orbeuss-effective-theme="light"] .main-pane [style*="background:#0"],
html[data-orbeuss-effective-theme="light"] .space-app [style*="background:#0"]{
  color:inherit!important;
}

/* Classic utility surfaces */
html[data-orbeuss-effective-theme="light"] .orbeuss-service-links{
  border-top-color:rgba(29,91,119,.10)!important;
}
html[data-orbeuss-effective-theme="light"] .orbeuss-service-links a{
  background:#eef5f8!important;
  color:#245c73!important;
  border-color:rgba(26,96,128,.16)!important;
  box-shadow:inset 0 1px 0 rgba(255,255,255,.8)!important;
}
html[data-orbeuss-effective-theme="light"] .orbeuss-service-links a:hover{
  background:#e3f1f7!important;
  color:#064d6e!important;
  border-color:rgba(7,104,149,.28)!important;
}
html[data-orbeuss-effective-theme="light"] .orbeuss-announcement-bar{
  background:linear-gradient(90deg,#eef8fc,#ffffff,#eef8fc)!important;
  color:#17303d!important;
  border-bottom-color:rgba(18,99,138,.14)!important;
  box-shadow:0 8px 26px rgba(44,80,99,.055)!important;
}
html[data-orbeuss-effective-theme="light"] .orbeuss-announcement-content b{color:#075d84!important}
html[data-orbeuss-effective-theme="light"] .orbeuss-announcement-content span{color:#506a78!important}
html[data-orbeuss-effective-theme="light"] .orbeuss-announcement-content a{color:#075f87!important;border-bottom-color:rgba(7,95,135,.28)!important}
html[data-orbeuss-effective-theme="light"] .orbeuss-announcement-dots button{background:#b8cbd4!important}
html[data-orbeuss-effective-theme="light"] .orbeuss-announcement-dots button.active{background:#0b739e!important;box-shadow:0 0 0 3px rgba(11,115,158,.10)!important}

html[data-orbeuss-effective-theme="light"] .activity-drawer.classic-activity-drawer{
  background:
    radial-gradient(circle at 86% 4%,rgba(255,200,79,.06),transparent 24%),
    radial-gradient(circle at 18% 28%,rgba(210,88,167,.045),transparent 28%),
    rgba(255,255,255,.97)!important;
  color:#17303d!important;
  border-left-color:rgba(24,95,128,.14)!important;
  box-shadow:-22px 0 60px rgba(38,69,84,.14)!important;
}
html[data-orbeuss-effective-theme="light"] .classic-activity-drawer .activity-drawer-toggle{
  background:#ffffff!important;
  color:#075f87!important;
  border-color:rgba(20,100,139,.19)!important;
  box-shadow:-7px 0 20px rgba(42,73,90,.08)!important;
}
html[data-orbeuss-effective-theme="light"] .classic-activity-drawer .activity-head{border-bottom-color:rgba(28,91,120,.10)!important}
html[data-orbeuss-effective-theme="light"] .classic-activity-drawer .activity-head small,
html[data-orbeuss-effective-theme="light"] .classic-activity-drawer .activity-close,
html[data-orbeuss-effective-theme="light"] .classic-activity-empty{color:#607985!important}
html[data-orbeuss-effective-theme="light"] .classic-activity-drawer .activity-head h2,
html[data-orbeuss-effective-theme="light"] .classic-activity-item-head b{color:#15303c!important}
html[data-orbeuss-effective-theme="light"] .classic-activity-summary button,
html[data-orbeuss-effective-theme="light"] .classic-activity-section{
  background:#f6fafc!important;
  color:#183440!important;
  border-color:rgba(26,93,124,.13)!important;
}
html[data-orbeuss-effective-theme="light"] .classic-activity-summary button.selected{
  background:#e9f5fa!important;
  border-color:rgba(10,108,151,.29)!important;
}
html[data-orbeuss-effective-theme="light"] .classic-activity-summary button small,
html[data-orbeuss-effective-theme="light"] .classic-activity-item-head span,
html[data-orbeuss-effective-theme="light"] .classic-activity-item p{color:#617a87!important}
html[data-orbeuss-effective-theme="light"] .classic-activity-section-head,
html[data-orbeuss-effective-theme="light"] .classic-activity-item{border-color:rgba(28,91,120,.08)!important}
html[data-orbeuss-effective-theme="light"] .classic-activity-section-head span{background:#e5f2f7!important;color:#24627b!important}
html[data-orbeuss-effective-theme="light"] .classic-activity-actions button{
  background:#eef6f9!important;
  color:#155b78!important;
  border-color:rgba(21,102,139,.17)!important;
}
html[data-orbeuss-effective-theme="light"] .classic-activity-actions .primary{
  background:#0b6b93!important;
  color:#ffffff!important;
  border-color:#075b80!important;
}

html[data-orbeuss-effective-theme="light"] .orbeuss-confirm-popover{
  background:linear-gradient(145deg,#ffffff,#f5fafc)!important;
  color:#17303d!important;
  border-color:rgba(19,104,147,.24)!important;
  box-shadow:0 18px 52px rgba(38,66,81,.20),0 0 0 1px rgba(19,104,147,.06) inset!important;
}
html[data-orbeuss-effective-theme="light"] .orbeuss-confirm-popover:before{
  background:#f8fbfd!important;
  border-left-color:rgba(19,104,147,.24)!important;
  border-bottom-color:rgba(19,104,147,.24)!important;
}
html[data-orbeuss-effective-theme="light"] .orbeuss-confirm-glow{
  background:radial-gradient(circle at 12% 0%,rgba(31,151,199,.09),transparent 42%)!important;
}
html[data-orbeuss-effective-theme="light"] .orbeuss-confirm-eyebrow{color:#08698f!important}
html[data-orbeuss-effective-theme="light"] .orbeuss-confirm-title{color:#112a36!important}
html[data-orbeuss-effective-theme="light"] .orbeuss-confirm-detail{color:#5e7683!important}
html[data-orbeuss-effective-theme="light"] .orbeuss-confirm-cancel{
  color:#365c6e!important;
  border-color:rgba(30,91,120,.17)!important;
  background:#eef5f8!important;
}
html[data-orbeuss-effective-theme="light"] .orbeuss-confirm-delete{
  color:#ffffff!important;
  border-color:#08719d!important;
  background:linear-gradient(180deg,#1684b0,#075d87)!important;
  box-shadow:0 8px 20px rgba(8,98,140,.16)!important;
}

/* Accessibility guardrails for all light-mode copy and controls. */
html[data-orbeuss-effective-theme="light"] :where(.sidebar,.topbar,.main-pane,.settings-pane,.myaltero-modal,.space-app) button:not(.send):not(.send-btn):not(.primary):not(.myaltero-recharge-btn){
  text-shadow:none!important;
}
html[data-orbeuss-effective-theme="light"] :where(.sidebar,.topbar,.main-pane,.settings-pane,.space-app) [style*="color:#6"],
html[data-orbeuss-effective-theme="light"] :where(.sidebar,.topbar,.main-pane,.settings-pane,.space-app) [style*="color: #6"]{
  color:#516d7b!important;
}
