.portal-theme{--portal-bg:#fff;--portal-bg-subtle:#f9fafb;--portal-bg-muted:#f3f4f6;--portal-text-primary:#111827;--portal-text-secondary:#4b5563;--portal-text-tertiary:#9ca3af;--portal-border:#e5e7eb;--portal-border-subtle:#f3f4f6;--portal-accent:#3b82f6;--portal-accent-hover:#2563eb;--portal-success:#22c55e;--portal-warning:#f59e0b;--portal-error:#ef4444;--portal-shadow-sm:none;--portal-shadow-md:none;--portal-shadow-lg:none;--portal-shadow-xl:none;--portal-card-bg:#fff;--portal-card-border:var(--portal-border);--portal-card-shadow:none;--surface-primary:#f5f6f7;--surface-primary-rgb:245,246,247;--surface-secondary:#fff;--surface-tertiary:#f3f4f6;--surface-muted:#f5f6f7;--surface-sunken:#e5e7eb;--surface-elevated:#f3f4f6;--surface-input:#f3f4f6;--border-subtle:#e5e7eb;--border-default:#d1d5db;--border-strong:#9ca3af;--border-focus:#3b82f6;--border-table:#e5e7eb;--border-card:#e5e7eb;--text-primary:#111827;--text-secondary:#4b5563;--text-tertiary:#6b7280;--text-disabled:#9ca3af;--text-on-accent:#fff;--accent-primary:#3b82f6;--accent-primary-hover:#2563eb;--accent-primary-light:#60a5fa;--accent-primary-muted:#eff6ff;--accent-primary-contrast:#fff;--hover-overlay:#0000000a;--active-overlay:#00000014;--selected-bg:#3b82f614;--selected-border:#3b82f64d;--shadow-xs-ux:none;--shadow-sm-ux:none;--shadow-md-ux:none;--shadow-lg-ux:none;--shadow-card:none;--skeleton-bg:#e5e7eb;--card-bg:var(--surface-secondary);--card-border:var(--border-card);--button-primary-bg:#111827;--button-primary-text:#fff;--button-secondary-bg:var(--surface-tertiary);--button-secondary-text:var(--text-primary);--button-send-active:#2461e7;--button-send-active-text:#fff;--background:35 20% 98%;--foreground:240 10% 3.9%;--card:0 0% 100%;--card-foreground:240 10% 3.9%;--popover:0 0% 100%;--popover-foreground:240 10% 3.9%;--primary:221 83% 53%;--primary-foreground:0 0% 98%;--secondary:240 4.8% 95.9%;--secondary-foreground:240 5.9% 10%;--muted:240 5% 96%;--muted-foreground:240 4% 34%;--accent:240 5% 94%;--accent-foreground:240 6% 8%;--destructive:0 84.2% 60.2%;--destructive-foreground:0 0% 98%;--border:240 6% 88%;--input:240 6% 88%;--ring:221 83% 53%;background-color:var(--portal-bg);color:var(--portal-text-primary);-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;--lightningcss-light:initial;--lightningcss-dark: ;color-scheme:light}.portal-theme [class*=shadow]:not(.sophia-floating-widget):not(.sophia-floating-widget *),.portal-theme .shadow-sm-ux:not(.sophia-floating-widget *),.portal-theme .shadow-md-ux:not(.sophia-floating-widget *),.portal-theme .shadow-lg-ux:not(.sophia-floating-widget *){box-shadow:none!important}.portal-theme .sophia-floating-widget{--lightningcss-light:initial;--lightningcss-dark: ;color-scheme:light}.portal-theme .sophia-widget-panel{background-color:#fff!important;border:1px solid #d1d5db!important;box-shadow:0 0 0 1px #0000000d,0 10px 25px -5px #00000026,0 8px 10px -6px #0000001a!important}.portal-theme .sophia-widget-panel>div>div.border-b,.portal-theme .sophia-widget-panel .bg-card{background-color:#f9fafb!important;border-bottom:1px solid #e5e7eb!important}.portal-theme .sophia-floating-widget [style*=--surface-input]{--surface-input:#f3f4f6!important}.portal-theme .sophia-widget-panel textarea{color:#111827!important;background-color:#0000!important}.portal-theme .sophia-widget-panel textarea::placeholder{color:#9ca3af!important}.portal-theme .sophia-floating-widget{--button-send-active:#3b82f6;--button-send-active-text:#fff;--surface-input:#f3f4f6;--surface-secondary:#fff;--text-primary:#111827;--text-secondary:#4b5563;--text-tertiary:#6b7280}.portal-theme .sophia-widget-panel button.bg-zinc-100,.portal-theme .sophia-widget-panel button.border-zinc-200{color:#4b5563!important;background-color:#f3f4f6!important;border-color:#d1d5db!important}.portal-theme .sophia-widget-panel button.bg-zinc-100:hover,.portal-theme .sophia-widget-panel button.border-zinc-200:hover{color:#111827!important;background-color:#e5e7eb!important}.portal-theme .sophia-widget-panel .text-zinc-900{color:#111827!important}.portal-theme .sophia-widget-panel .text-zinc-500{color:#6b7280!important}.portal-theme .sophia-message-bubble.assistant .sophia-message-content{color:#374151!important}.portal-theme .sophia-message-bubble.assistant .sophia-message-content h1,.portal-theme .sophia-message-bubble.assistant .sophia-message-content h2,.portal-theme .sophia-message-bubble.assistant .sophia-message-content h3,.portal-theme .sophia-message-bubble.assistant .sophia-message-content h4,.portal-theme .sophia-message-bubble.assistant .sophia-message-content h5,.portal-theme .sophia-message-bubble.assistant .sophia-message-content h6,.portal-theme .sophia-message-bubble.assistant .sophia-message-content strong,.portal-theme .sophia-message-bubble.assistant .sophia-message-content b{color:#111827!important}.portal-theme .sophia-message-bubble.assistant .sophia-message-content a{color:#2563eb!important}.portal-theme .sophia-message-bubble.assistant .sophia-message-content ul,.portal-theme .sophia-message-bubble.assistant .sophia-message-content ol{color:#374151!important}.portal-theme .sophia-message-bubble.assistant .sophia-message-content code{color:#1f2937!important;background-color:#f3f4f6!important}.portal-theme .sophia-message-bubble.user{color:#172554!important;background:linear-gradient(to bottom right,#dbeafe,#bfdbfe,#bfdbfe)!important}.portal-theme .sophia-message-bubble.user .sophia-message-content{color:#172554!important}.portal-theme .sophia-launcher{box-shadow:0 4px 6px -1px #0000001a,0 2px 4px -2px #0000001a!important}.portal-theme .sophia-launcher:hover{box-shadow:0 10px 15px -3px #0000001a,0 4px 6px -4px #0000001a!important}.portal-theme .sophia-floating-widget>div>button[aria-label=Minimize\ chat]{box-shadow:0 4px 6px -1px #0000001a,0 2px 4px -2px #0000001a!important}.portal-theme .portal-card,.portal-theme [class*=Card]:not(button),.portal-theme .group{transition:background-color .15s ease-in-out}.portal-theme .portal-card:hover,.portal-theme a.group:hover{background-color:var(--portal-bg-subtle,#f9fafb)}.portal-theme a:has([class*=Card]):hover [class*=Card]{background-color:var(--portal-bg-subtle,#f9fafb)}.portal-theme button:not([disabled]),.portal-theme [role=button]:not([disabled]){transition:background-color .15s ease-in-out,filter .15s ease-in-out}.portal-theme button.bg-primary:hover,.portal-theme .bg-primary:hover,html.portal-theme button.bg-primary:hover,html .portal-theme button.bg-primary:hover{background-color:#2563eb!important}.portal-theme button[class*=ghost]:hover,.portal-theme button[class*=outline]:hover{background-color:var(--portal-bg-muted,#f3f4f6)!important}.portal-theme nav a,.portal-theme [role=menuitem]{transition:background-color .15s ease-in-out}.portal-theme nav a:hover,.portal-theme [role=menuitem]:hover{background-color:var(--portal-bg-muted,#f3f4f6)}.portal-theme [role=listitem]:hover{background-color:var(--portal-bg-subtle,#f9fafb)}.portal-theme li:has(>a):hover{background-color:var(--portal-bg-subtle,#f9fafb)}.portal-theme [data-highlighted],.portal-theme [data-state=checked],.portal-theme option:hover{background-color:var(--portal-bg-muted,#f3f4f6)!important}.portal-theme [role=menuitem]{transition:background-color .15s ease-in-out,color .15s ease-in-out}.portal-theme [role=menuitem]:hover{background-color:var(--portal-bg-muted,#f3f4f6)!important}.portal-theme [role=menuitem].text-destructive:hover{background-color:#ef444414!important}.portal-theme [class*=Badge]:hover,.portal-theme .badge:hover{filter:brightness(.95)}.portal-theme input:focus,.portal-theme textarea:focus,.portal-theme select:focus{border-color:var(--portal-accent,#3b82f6)!important;background-color:var(--portal-bg-muted,#f3f4f6)!important}.portal-theme .empty-state-icon{color:#d1d5db!important}.portal-theme [class*=text-muted-foreground\/],.portal-theme .text-muted-foreground.opacity-50,.portal-theme svg.opacity-50{color:#d1d5db!important;opacity:1!important}.portal-theme .portal-card{background-color:var(--portal-card-bg);border:1px solid var(--portal-card-border);box-shadow:none;border-radius:8px}.portal-theme .portal-button-primary{background-color:var(--portal-accent);color:#fff;border:none;transition:background-color .2s ease-in-out}.portal-theme .portal-button-primary:hover{background-color:var(--portal-accent-hover)}.portal-theme .portal-button-secondary{background-color:var(--portal-bg-subtle);color:var(--portal-text-primary);border:1px solid var(--portal-border);transition:background-color .2s ease-in-out}.portal-theme .portal-button-secondary:hover{background-color:var(--portal-bg-muted)}.portal-theme .portal-button-ghost{color:var(--portal-text-secondary);background-color:#0000;border:none;transition:background-color .2s ease-in-out}.portal-theme .portal-button-ghost:hover{background-color:var(--portal-bg-subtle)}.portal-theme .portal-input{background-color:var(--portal-bg);color:var(--portal-text-primary);border:1px solid var(--portal-border);border-radius:6px;transition:border-color .2s ease-in-out,box-shadow .2s ease-in-out}.portal-theme .portal-input:focus{border-color:var(--portal-accent);outline:none;box-shadow:0 0 0 3px #3b82f61a}.portal-theme .portal-input::placeholder{color:var(--portal-text-tertiary)}.portal-theme .portal-badge-success{color:var(--portal-success);background-color:#22c55e1a;border:1px solid #22c55e33}.portal-theme .portal-badge-warning{color:var(--portal-warning);background-color:#f59e0b1a;border:1px solid #f59e0b33}.portal-theme .portal-badge-error{color:var(--portal-error);background-color:#ef44441a;border:1px solid #ef444433}.portal-theme .portal-divider{border-color:var(--portal-border)}.portal-theme .portal-divider-subtle{border-color:var(--portal-border-subtle)}.portal-theme .portal-link{color:var(--portal-accent);text-decoration:none;transition:color .2s ease-in-out}.portal-theme .portal-link:hover{color:var(--portal-accent-hover);text-decoration:underline}
