/**
 * Junior chat surface — light canvas polish + full dark mode.
 * Brand chrome (top-nav) stays UNIMART orange in both themes.
 */

/* ── Light defaults ── */
body.assistant-layer-page,
body.assistant-confidence-page,
.um-layer-page--assistant {
    --unimart-orange: #f68b1e;
    --unimart-orange-deep: #e96703;
    --um-layer-accent: #111111;
    --asst-accent: #111111;
    --asst-canvas: #ffffff;
    --asst-canvas-accent: transparent;
    --asst-canvas-cool: transparent;
    --asst-bg: #ffffff;
    --asst-surface: #ffffff;
    --asst-surface-2: #f5f5f5;
    --asst-border: rgba(0, 0, 0, 0.08);
    --asst-ink: #111111;
    --asst-ink-soft: #6b7280;
    --asst-text: #111111;
    --asst-text-muted: #6b7280;
    --junior-bg: #ffffff;
    --junior-bg-deep: #ffffff;
    --junior-surface: #ffffff;
    --junior-surface-2: #f5f5f5;
    --junior-ink: #111111;
    --junior-ink-soft: #6b7280;
    --junior-muted: #6b7280;
    --junior-border: rgba(0, 0, 0, 0.08);
    --junior-orange: #111111;
    --junior-orange-soft: rgba(0, 0, 0, 0.06);
    --junior-bubble-user: #f0f0f0;
    --junior-bubble-assistant: #ffffff;
    --junior-input: #ffffff;
    --junior-glass: #ffffff;
    --jos-orange: #111111;
    --jos-orange-deep: #000000;
    --jos-ink: #111111;
    --jos-slate: #111111;
    --jos-muted: #6b7280;
    --jos-grey: #525252;
    --today-bg-page: #ffffff;
    --today-bg-muted: #ffffff;
    --today-bg-surface: #ffffff;
    background: #ffffff;
    color: #111111;
}

/* Brand chrome — always orange */
body.assistant-layer-page .top-nav,
body.assistant-confidence-page .top-nav,
body.assistant-layer-page.has-hybrid-header .top-nav,
body.assistant-confidence-page.has-hybrid-header .top-nav {
    background: #f68b1e !important;
    color: #ffffff !important;
}

/* ── Light surface polish (only when not dark) ── */
html:not(.assistant-theme-dark-pending):not(.confidence-theme-dark-pending)
body.assistant-layer-page:not([data-today-theme="dark"]) .um-assistant,
html:not(.assistant-theme-dark-pending):not(.confidence-theme-dark-pending)
body.assistant-layer-page:not([data-today-theme="dark"]) .um-assistant__main,
html:not(.assistant-theme-dark-pending):not(.confidence-theme-dark-pending)
body.assistant-layer-page:not([data-today-theme="dark"]) .um-assistant__layout,
html:not(.assistant-theme-dark-pending):not(.confidence-theme-dark-pending)
body.assistant-layer-page:not([data-today-theme="dark"]) .um-assistant__messages,
html:not(.assistant-theme-dark-pending):not(.confidence-theme-dark-pending)
body.assistant-layer-page:not([data-today-theme="dark"]) .um-assistant__sidebar,
html:not(.assistant-theme-dark-pending):not(.confidence-theme-dark-pending)
body.assistant-layer-page:not([data-today-theme="dark"]) .um-assistant__composer,
html:not(.assistant-theme-dark-pending):not(.confidence-theme-dark-pending)
body.assistant-layer-page:not([data-today-theme="dark"]) .um-assistant__idle-stage,
html:not(.assistant-theme-dark-pending):not(.confidence-theme-dark-pending)
body.assistant-layer-page:not([data-today-theme="dark"]) main.assistant-content-shell,
html:not(.assistant-theme-dark-pending):not(.confidence-theme-dark-pending)
body.assistant-layer-page:not([data-today-theme="dark"]) .um-assistant__history-sheet {
    background: #ffffff !important;
    color: #111111;
}

html:not(.assistant-theme-dark-pending):not(.confidence-theme-dark-pending)
body.assistant-layer-page:not([data-today-theme="dark"]) .um-assistant__msg--user .um-assistant__bubble {
    background: #f0f0f0 !important;
    color: #111111 !important;
    border: 1px solid rgba(0, 0, 0, 0.06);
    box-shadow: none;
}

html:not(.assistant-theme-dark-pending):not(.confidence-theme-dark-pending)
body.assistant-layer-page:not([data-today-theme="dark"]) .um-assistant__msg--assistant .um-assistant__bubble,
html:not(.assistant-theme-dark-pending):not(.confidence-theme-dark-pending)
body.assistant-layer-page:not([data-today-theme="dark"]) .um-assistant__msg--system .um-assistant__bubble {
    background: transparent !important;
    color: #111111 !important;
    border: none !important;
    box-shadow: none !important;
    border-radius: 0 !important;
    padding: 0.15rem 0 !important;
    max-width: 100%;
}

html:not(.assistant-theme-dark-pending):not(.confidence-theme-dark-pending)
body.assistant-layer-page:not([data-today-theme="dark"]) .um-assistant__composer-inner,
html:not(.assistant-theme-dark-pending):not(.confidence-theme-dark-pending)
body.assistant-layer-page:not([data-today-theme="dark"]) .um-assistant__input-wrap {
    background: #ffffff !important;
    border: 1.5px solid rgba(0, 0, 0, 0.18) !important;
    box-shadow: 0 6px 22px rgba(0, 0, 0, 0.08) !important;
}

html:not(.assistant-theme-dark-pending):not(.confidence-theme-dark-pending)
body.assistant-layer-page:not([data-today-theme="dark"]) .um-assistant__composer-inner:focus-within,
html:not(.assistant-theme-dark-pending):not(.confidence-theme-dark-pending)
body.assistant-layer-page:not([data-today-theme="dark"]) .um-assistant__input-wrap:focus-within {
    border-color: rgba(0, 0, 0, 0.42) !important;
    box-shadow: 0 8px 28px rgba(0, 0, 0, 0.12) !important;
}

html:not(.assistant-theme-dark-pending):not(.confidence-theme-dark-pending)
body.assistant-layer-page:not([data-today-theme="dark"]) .um-assistant__send {
    background: #111111 !important;
    color: #ffffff !important;
    border: none !important;
    box-shadow: none !important;
}

html:not(.assistant-theme-dark-pending):not(.confidence-theme-dark-pending)
body.assistant-layer-page:not([data-today-theme="dark"]) .um-assistant__send:hover:not(:disabled) {
    background: #000000 !important;
    filter: none;
}

html:not(.assistant-theme-dark-pending):not(.confidence-theme-dark-pending)
body.assistant-layer-page:not([data-today-theme="dark"]) .um-assistant__send:disabled {
    background: #d4d4d4 !important;
    color: #737373 !important;
}

html:not(.assistant-theme-dark-pending):not(.confidence-theme-dark-pending)
body.assistant-layer-page:not([data-today-theme="dark"]) .um-assistant__attach,
html:not(.assistant-theme-dark-pending):not(.confidence-theme-dark-pending)
body.assistant-layer-page:not([data-today-theme="dark"]) .um-assistant__float-btn,
html:not(.assistant-theme-dark-pending):not(.confidence-theme-dark-pending)
body.assistant-layer-page:not([data-today-theme="dark"]) .um-assistant__theme-toggle,
html:not(.assistant-theme-dark-pending):not(.confidence-theme-dark-pending)
body.assistant-layer-page:not([data-today-theme="dark"]) .um-assistant__sidebar-toggle,
html:not(.assistant-theme-dark-pending):not(.confidence-theme-dark-pending)
body.assistant-layer-page:not([data-today-theme="dark"]) .um-assistant__new-chat {
    color: #111111 !important;
    background: #ffffff !important;
    border-color: rgba(0, 0, 0, 0.12) !important;
    box-shadow: none !important;
}

html:not(.assistant-theme-dark-pending):not(.confidence-theme-dark-pending)
body.assistant-layer-page:not([data-today-theme="dark"]) .um-assistant__intel-chip,
html:not(.assistant-theme-dark-pending):not(.confidence-theme-dark-pending)
body.assistant-layer-page:not([data-today-theme="dark"]) .um-assistant__intel-chip--active,
html:not(.assistant-theme-dark-pending):not(.confidence-theme-dark-pending)
body.assistant-layer-page:not([data-today-theme="dark"]) a.um-assistant__intel-chip {
    background: #ffffff !important;
    color: #111111 !important;
    border: 1px solid rgba(0, 0, 0, 0.1) !important;
    box-shadow: none !important;
}

html:not(.assistant-theme-dark-pending):not(.confidence-theme-dark-pending)
body.assistant-layer-page:not([data-today-theme="dark"]) .junior-os__soft-prompt,
html:not(.assistant-theme-dark-pending):not(.confidence-theme-dark-pending)
body.assistant-layer-page:not([data-today-theme="dark"]) .junior-os__today-item,
html:not(.assistant-theme-dark-pending):not(.confidence-theme-dark-pending)
body.assistant-layer-page:not([data-today-theme="dark"]) .junior-os__today-link {
    background: #ffffff !important;
    color: #111111 !important;
    border-color: rgba(0, 0, 0, 0.1) !important;
    box-shadow: none !important;
}

html:not(.assistant-theme-dark-pending):not(.confidence-theme-dark-pending)
body.assistant-layer-page:not([data-today-theme="dark"]) .junior-os__today-kicker,
html:not(.assistant-theme-dark-pending):not(.confidence-theme-dark-pending)
body.assistant-layer-page:not([data-today-theme="dark"]) .junior-os__slogan,
html:not(.assistant-theme-dark-pending):not(.confidence-theme-dark-pending)
body.assistant-layer-page:not([data-today-theme="dark"]) .junior-os__idle-headline,
html:not(.assistant-theme-dark-pending):not(.confidence-theme-dark-pending)
body.assistant-layer-page:not([data-today-theme="dark"]) .junior-os__curiosity,
html:not(.assistant-theme-dark-pending):not(.confidence-theme-dark-pending)
body.assistant-layer-page:not([data-today-theme="dark"]) .junior-os__name-hero,
html:not(.assistant-theme-dark-pending):not(.confidence-theme-dark-pending)
body.assistant-layer-page:not([data-today-theme="dark"]) .junior-os__ask-line {
    color: #111111 !important;
    background: none !important;
    -webkit-text-fill-color: #111111;
}

html:not(.assistant-theme-dark-pending):not(.confidence-theme-dark-pending)
body.assistant-layer-page:not([data-today-theme="dark"]) .junior-os__today-sub,
html:not(.assistant-theme-dark-pending):not(.confidence-theme-dark-pending)
body.assistant-layer-page:not([data-today-theme="dark"]) .junior-os__today-label,
html:not(.assistant-theme-dark-pending):not(.confidence-theme-dark-pending)
body.assistant-layer-page:not([data-today-theme="dark"]) .junior-os__campus-quiet {
    color: #525252 !important;
}

/* Large under-composer resume card retired */
body.assistant-layer-page .junior-os__resume-last {
    display: none !important;
}

/* ═══════════════════════════════════════════════════════════════
   Dark mode — full shell (wins over light polish)
   ═══════════════════════════════════════════════════════════════ */

html.assistant-theme-dark-pending body.assistant-layer-page,
html.assistant-theme-dark-pending body.assistant-confidence-page,
html.confidence-theme-dark-pending body.assistant-layer-page,
html.confidence-theme-dark-pending body.assistant-confidence-page,
body.assistant-layer-page[data-today-theme="dark"],
body.assistant-confidence-page[data-today-theme="dark"] {
    --unimart-orange: #f68b1e;
    --unimart-orange-deep: #e96703;
    --um-layer-accent: #f68b1e;
    --asst-accent: #f68b1e;
    --asst-canvas: #0c0e12;
    --asst-bg: #0c0e12;
    --asst-surface: #161a22;
    --asst-surface-2: #1c222d;
    --asst-border: rgba(255, 255, 255, 0.1);
    --asst-ink: #eef1f5;
    --asst-ink-soft: #a8b4c4;
    --asst-text: #eef1f5;
    --asst-text-muted: #a8b4c4;
    --junior-bg: #0c0e12;
    --junior-bg-deep: #0c0e12;
    --junior-surface: #161a22;
    --junior-surface-2: #1c222d;
    --junior-ink: #eef1f5;
    --junior-ink-soft: #a8b4c4;
    --junior-muted: #9aa6b5;
    --junior-border: rgba(255, 255, 255, 0.12);
    --junior-orange: #f68b1e;
    --junior-orange-soft: rgba(246, 139, 30, 0.22);
    --junior-bubble-user: #e06a10;
    --junior-bubble-assistant: transparent;
    --junior-input: #1c222d;
    --junior-glass: rgba(255, 255, 255, 0.06);
    --jos-orange: #f68b1e;
    --jos-orange-deep: #e96703;
    --jos-ink: #eef1f5;
    --jos-slate: #c5ced8;
    --jos-muted: #9aa6b5;
    --jos-grey: #a8b4c4;
    --today-bg-page: #0c0e12;
    --today-bg-muted: #161a22;
    --today-bg-surface: #1c222d;
    background: #0c0e12 !important;
    color: #eef1f5 !important;
    color-scheme: dark;
}

html.assistant-theme-dark-pending body.assistant-layer-page .um-assistant,
html.assistant-theme-dark-pending body.assistant-layer-page .um-assistant__main,
html.assistant-theme-dark-pending body.assistant-layer-page .um-assistant__layout,
html.assistant-theme-dark-pending body.assistant-layer-page .um-assistant__messages,
html.assistant-theme-dark-pending body.assistant-layer-page .um-assistant__sidebar,
html.assistant-theme-dark-pending body.assistant-layer-page .um-assistant__composer,
html.assistant-theme-dark-pending body.assistant-layer-page .um-assistant__idle-stage,
html.assistant-theme-dark-pending body.assistant-layer-page main.assistant-content-shell,
html.assistant-theme-dark-pending body.assistant-layer-page .um-assistant__history-sheet,
html.assistant-theme-dark-pending body.assistant-confidence-page .um-assistant,
html.assistant-theme-dark-pending body.assistant-confidence-page .um-assistant__main,
html.confidence-theme-dark-pending body.assistant-layer-page .um-assistant,
html.confidence-theme-dark-pending body.assistant-layer-page .um-assistant__main,
html.confidence-theme-dark-pending body.assistant-layer-page main.assistant-content-shell,
body.assistant-layer-page[data-today-theme="dark"] .um-assistant,
body.assistant-layer-page[data-today-theme="dark"] .um-assistant__main,
body.assistant-layer-page[data-today-theme="dark"] .um-assistant__layout,
body.assistant-layer-page[data-today-theme="dark"] .um-assistant__messages,
body.assistant-layer-page[data-today-theme="dark"] .um-assistant__sidebar,
body.assistant-layer-page[data-today-theme="dark"] .um-assistant__composer,
body.assistant-layer-page[data-today-theme="dark"] .um-assistant__idle-stage,
body.assistant-layer-page[data-today-theme="dark"] main.assistant-content-shell,
body.assistant-layer-page[data-today-theme="dark"] .um-assistant__history-sheet,
body.assistant-confidence-page[data-today-theme="dark"] .um-assistant,
body.assistant-confidence-page[data-today-theme="dark"] .um-assistant__main {
    background: #0c0e12 !important;
    color: #eef1f5 !important;
}

/* Kill leftover warm mindscape smudge behind composer */
html.assistant-theme-dark-pending body.assistant-layer-page .um-assistant__mindscape,
html.assistant-theme-dark-pending body.assistant-layer-page .um-assistant__mindscape-base,
html.assistant-theme-dark-pending body.assistant-layer-page .um-assistant__mindscape-blob,
html.confidence-theme-dark-pending body.assistant-layer-page .um-assistant__mindscape,
html.confidence-theme-dark-pending body.assistant-layer-page .um-assistant__mindscape-base,
html.confidence-theme-dark-pending body.assistant-layer-page .um-assistant__mindscape-blob,
body.assistant-layer-page[data-today-theme="dark"] .um-assistant__mindscape,
body.assistant-layer-page[data-today-theme="dark"] .um-assistant__mindscape-base,
body.assistant-layer-page[data-today-theme="dark"] .um-assistant__mindscape-blob {
    background: #0c0e12 !important;
    opacity: 0 !important;
    display: none !important;
}

/* Wordmark + status copy */
html.assistant-theme-dark-pending body.assistant-layer-page .junior-os__name-hero,
html.assistant-theme-dark-pending body.assistant-layer-page .junior-os__ask-line,
html.assistant-theme-dark-pending body.assistant-layer-page .junior-os__idle-headline,
html.assistant-theme-dark-pending body.assistant-layer-page .junior-os__slogan,
html.confidence-theme-dark-pending body.assistant-layer-page .junior-os__name-hero,
body.assistant-layer-page[data-today-theme="dark"] .junior-os__name-hero,
body.assistant-layer-page[data-today-theme="dark"] .junior-os__ask-line,
body.assistant-layer-page[data-today-theme="dark"] .junior-os__idle-headline,
body.assistant-layer-page[data-today-theme="dark"] .junior-os__slogan {
    color: #eef1f5 !important;
    -webkit-text-fill-color: #eef1f5 !important;
    background: none !important;
}

html.assistant-theme-dark-pending body.assistant-layer-page .junior-os__ask-prefix,
body.assistant-layer-page[data-today-theme="dark"] .junior-os__ask-prefix {
    color: #f68b1e !important;
    -webkit-text-fill-color: #f68b1e !important;
}

html.assistant-theme-dark-pending body.assistant-layer-page .junior-os__campus-quiet,
html.assistant-theme-dark-pending body.assistant-layer-page .junior-os__today-sub,
html.assistant-theme-dark-pending body.assistant-layer-page .junior-os__today-label,
html.assistant-theme-dark-pending body.assistant-layer-page .junior-os__curiosity,
html.assistant-theme-dark-pending body.assistant-layer-page .junior-os__today-kicker,
body.assistant-layer-page[data-today-theme="dark"] .junior-os__campus-quiet,
body.assistant-layer-page[data-today-theme="dark"] .junior-os__today-sub,
body.assistant-layer-page[data-today-theme="dark"] .junior-os__today-label,
body.assistant-layer-page[data-today-theme="dark"] .junior-os__curiosity,
body.assistant-layer-page[data-today-theme="dark"] .junior-os__today-kicker {
    color: #a8b4c4 !important;
    -webkit-text-fill-color: #a8b4c4 !important;
}

/* Intel chips on dark header — glass, not white cards */
html.assistant-theme-dark-pending body.assistant-layer-page .um-assistant__intel-chip,
html.assistant-theme-dark-pending body.assistant-layer-page .um-assistant__intel-chip--active,
html.assistant-theme-dark-pending body.assistant-layer-page a.um-assistant__intel-chip,
html.confidence-theme-dark-pending body.assistant-layer-page .um-assistant__intel-chip,
body.assistant-layer-page[data-today-theme="dark"] .um-assistant__intel-chip,
body.assistant-layer-page[data-today-theme="dark"] .um-assistant__intel-chip--active,
body.assistant-layer-page[data-today-theme="dark"] a.um-assistant__intel-chip {
    background: rgba(255, 255, 255, 0.08) !important;
    color: #eef1f5 !important;
    border: 1px solid rgba(255, 255, 255, 0.14) !important;
    box-shadow: none !important;
}

html.assistant-theme-dark-pending body.assistant-layer-page .um-assistant__intel-chip--active,
body.assistant-layer-page[data-today-theme="dark"] .um-assistant__intel-chip--active,
html.assistant-theme-dark-pending body.assistant-layer-page a.um-assistant__intel-chip[href*="continue"],
body.assistant-layer-page[data-today-theme="dark"] a.um-assistant__intel-chip[href*="continue"] {
    background: rgba(246, 139, 30, 0.2) !important;
    border-color: rgba(246, 139, 30, 0.55) !important;
    color: #ffd089 !important;
}

html.assistant-theme-dark-pending body.assistant-layer-page .um-assistant__intel-bar,
body.assistant-layer-page[data-today-theme="dark"] .um-assistant__intel-bar {
    background: transparent !important;
    border-color: rgba(255, 255, 255, 0.08) !important;
}

/* Composer */
html.assistant-theme-dark-pending body.assistant-layer-page .um-assistant__composer-inner,
html.assistant-theme-dark-pending body.assistant-layer-page .um-assistant__input-wrap,
html.confidence-theme-dark-pending body.assistant-layer-page .um-assistant__composer-inner,
body.assistant-layer-page[data-today-theme="dark"] .um-assistant__composer-inner,
body.assistant-layer-page[data-today-theme="dark"] .um-assistant__input-wrap,
body.assistant-confidence-page[data-today-theme="dark"] .um-assistant__composer-inner {
    background: #1c222d !important;
    border: 1.5px solid rgba(255, 255, 255, 0.14) !important;
    box-shadow: 0 8px 28px rgba(0, 0, 0, 0.35) !important;
    color: #eef1f5 !important;
}

html.assistant-theme-dark-pending body.assistant-layer-page .um-assistant__composer-inner:focus-within,
html.assistant-theme-dark-pending body.assistant-layer-page .um-assistant__input-wrap:focus-within,
body.assistant-layer-page[data-today-theme="dark"] .um-assistant__composer-inner:focus-within,
body.assistant-layer-page[data-today-theme="dark"] .um-assistant__input-wrap:focus-within {
    border-color: rgba(246, 139, 30, 0.65) !important;
    box-shadow: 0 0 0 3px rgba(246, 139, 30, 0.18), 0 8px 28px rgba(0, 0, 0, 0.4) !important;
}

html.assistant-theme-dark-pending body.assistant-layer-page .um-assistant__input,
body.assistant-layer-page[data-today-theme="dark"] .um-assistant__input {
    color: #eef1f5 !important;
    background: transparent !important;
}

html.assistant-theme-dark-pending body.assistant-layer-page .um-assistant__input::placeholder,
body.assistant-layer-page[data-today-theme="dark"] .um-assistant__input::placeholder {
    color: #8b97a8 !important;
}

html.assistant-theme-dark-pending body.assistant-layer-page .um-assistant__send,
body.assistant-layer-page[data-today-theme="dark"] .um-assistant__send {
    background: #f68b1e !important;
    color: #ffffff !important;
    border: none !important;
    box-shadow: none !important;
}

html.assistant-theme-dark-pending body.assistant-layer-page .um-assistant__send:hover:not(:disabled),
body.assistant-layer-page[data-today-theme="dark"] .um-assistant__send:hover:not(:disabled) {
    background: #e96703 !important;
    filter: none;
}

html.assistant-theme-dark-pending body.assistant-layer-page .um-assistant__send:disabled,
body.assistant-layer-page[data-today-theme="dark"] .um-assistant__send:disabled {
    background: rgba(255, 255, 255, 0.12) !important;
    color: rgba(255, 255, 255, 0.35) !important;
}

html.assistant-theme-dark-pending body.assistant-layer-page .um-assistant__attach,
html.assistant-theme-dark-pending body.assistant-layer-page .um-assistant__float-btn,
html.assistant-theme-dark-pending body.assistant-layer-page .um-assistant__theme-toggle,
html.assistant-theme-dark-pending body.assistant-layer-page .um-assistant__sidebar-toggle,
html.assistant-theme-dark-pending body.assistant-layer-page .um-assistant__new-chat,
body.assistant-layer-page[data-today-theme="dark"] .um-assistant__attach,
body.assistant-layer-page[data-today-theme="dark"] .um-assistant__float-btn,
body.assistant-layer-page[data-today-theme="dark"] .um-assistant__theme-toggle,
body.assistant-layer-page[data-today-theme="dark"] .um-assistant__sidebar-toggle,
body.assistant-layer-page[data-today-theme="dark"] .um-assistant__new-chat {
    color: #eef1f5 !important;
    background: rgba(255, 255, 255, 0.08) !important;
    border-color: rgba(255, 255, 255, 0.14) !important;
    box-shadow: none !important;
}

/* Soft prompts */
html.assistant-theme-dark-pending body.assistant-layer-page .junior-os__soft-prompt,
body.assistant-layer-page[data-today-theme="dark"] .junior-os__soft-prompt {
    background: rgba(255, 255, 255, 0.06) !important;
    color: #eef1f5 !important;
    border-color: rgba(255, 255, 255, 0.12) !important;
    box-shadow: none !important;
}

html.assistant-theme-dark-pending body.assistant-layer-page .junior-os__soft-prompt:hover,
html.assistant-theme-dark-pending body.assistant-layer-page .junior-os__soft-prompt:focus-visible,
body.assistant-layer-page[data-today-theme="dark"] .junior-os__soft-prompt:hover,
body.assistant-layer-page[data-today-theme="dark"] .junior-os__soft-prompt:focus-visible {
    background: rgba(246, 139, 30, 0.16) !important;
    border-color: rgba(246, 139, 30, 0.5) !important;
    color: #ffd089 !important;
    box-shadow: none !important;
}

/* Messages */
html.assistant-theme-dark-pending body.assistant-layer-page .um-assistant__msg--user .um-assistant__bubble,
body.assistant-layer-page[data-today-theme="dark"] .um-assistant__msg--user .um-assistant__bubble {
    background: #e06a10 !important;
    color: #ffffff !important;
    border: none !important;
}

html.assistant-theme-dark-pending body.assistant-layer-page .um-assistant__msg--assistant .um-assistant__bubble,
html.assistant-theme-dark-pending body.assistant-layer-page .um-assistant__msg--system .um-assistant__bubble,
body.assistant-layer-page[data-today-theme="dark"] .um-assistant__msg--assistant .um-assistant__bubble,
body.assistant-layer-page[data-today-theme="dark"] .um-assistant__msg--system .um-assistant__bubble {
    background: transparent !important;
    color: #eef1f5 !important;
    border: none !important;
    box-shadow: none !important;
}

html.assistant-theme-dark-pending body.assistant-layer-page .um-assistant__msg--user .um-assistant__link,
body.assistant-layer-page[data-today-theme="dark"] .um-assistant__msg--user .um-assistant__link {
    color: #ffffff !important;
}

html.assistant-theme-dark-pending body.assistant-layer-page .um-assistant__followup-chip,
body.assistant-layer-page[data-today-theme="dark"] .um-assistant__followup-chip,
html.assistant-theme-dark-pending body.assistant-layer-page .junior-os__rail-card,
body.assistant-layer-page[data-today-theme="dark"] .junior-os__rail-card {
    background: #161a22 !important;
    border-color: rgba(255, 255, 255, 0.12) !important;
    color: #eef1f5 !important;
    box-shadow: none !important;
}

html.assistant-theme-dark-pending body.assistant-layer-page .junior-os__rail-see-more,
body.assistant-layer-page[data-today-theme="dark"] .junior-os__rail-see-more {
    background: rgba(246, 139, 30, 0.2) !important;
    border-color: rgba(246, 139, 30, 0.55) !important;
    color: #ffd089 !important;
}

html.assistant-theme-dark-pending body.assistant-layer-page .um-assistant__typing,
html.assistant-theme-dark-pending body.assistant-layer-page .um-assistant__typing-phase.is-current,
html.assistant-theme-dark-pending body.assistant-layer-page .um-assistant__process-title,
body.assistant-layer-page[data-today-theme="dark"] .um-assistant__typing,
body.assistant-layer-page[data-today-theme="dark"] .um-assistant__typing-phase.is-current,
body.assistant-layer-page[data-today-theme="dark"] .um-assistant__process-title {
    color: #eef1f5 !important;
}

html.assistant-theme-dark-pending body.assistant-layer-page .um-assistant__typing-dot,
body.assistant-layer-page[data-today-theme="dark"] .um-assistant__typing-dot {
    background: #f68b1e !important;
}

html.assistant-theme-dark-pending body.assistant-layer-page .um-assistant__theme-corner .um-assistant__theme-toggle,
body.assistant-layer-page[data-today-theme="dark"] .um-assistant__theme-corner .um-assistant__theme-toggle {
    background: rgba(255, 255, 255, 0.1) !important;
    color: #eef1f5 !important;
    border: 1px solid rgba(255, 255, 255, 0.16) !important;
}
