:root{--space-1:4px;--space-2:8px;--space-3:12px;--space-4:16px;--space-5:20px;--space-6:24px;--space-8:32px;--space-10:40px;--radius-small:12px;--radius-panel:24px;--composer-height:57px;--composer-radius:30.4px}html .composer-shell,html .composer-shell .composer{border-radius:var(--composer-radius)}html .composer-shell .composer{gap:var(--space-2)}html .composer-shell:not(.composer-long):not(.composer-expanded) .composer{min-height:var(--composer-height);padding-block:6.5px}html .message.user .user-text-card{min-height:var(--composer-height);padding:14.5px var(--space-5);border-radius:var(--composer-radius)}html .chat-edge-layout .has-messages .messages{padding-top:var(--first-message-inset,80px)}html .chat-edge-layout .has-messages .message:first-child{margin-top:0}html .message.user{margin-bottom:var(--space-6)}html .message.assistant{margin-top:var(--space-6);margin-bottom:var(--space-8)}html .composer-end{gap:var(--space-2)}html .canvas-workspace .composer-end{gap:var(--space-1)}html .composer-shell.composer-long .composer{padding:var(--space-4) var(--space-3) var(--space-2)}html .composer-shell.composer-long .composer textarea{margin-bottom:var(--space-2)}html [data-slot=sidebar-header] .history-search,html [data-slot=sidebar-header] .new-chat{gap:var(--space-3);border-radius:var(--radius-small)}html .history-row,html .history-row:is(.active,:hover,:focus-within),html [data-slot=sidebar-header] .history-search:is(:hover,:focus-within,[data-active=true]),html [data-slot=sidebar-header] .new-chat:is(:hover,:focus-visible,[data-active=true]){border-radius:var(--radius-small)}html .brand{padding-block:var(--space-3)}html .history-row>button{padding-block:var(--space-2)}html .artifact-card,html .deployment-card{padding:var(--space-6);border-radius:var(--radius-panel)}html .artifact-heading{gap:var(--space-3)}html .deployment-card-brand{gap:var(--space-2)}html .response-block{border-radius:var(--space-4)}html .response-block>header{padding:var(--space-2) var(--space-4)}html .markdown .response-block pre{padding:var(--space-1) var(--space-4) var(--space-4)}html .creation-menu{padding:var(--space-2)!important;border-radius:var(--radius-panel)!important}html .rename-dialog{padding:var(--space-6);gap:var(--space-4);border-radius:var(--radius-panel)}html .rename-dialog input{min-height:48px;border-radius:var(--radius-small)}html .mood-colors{padding:var(--space-4);gap:var(--space-4);border-radius:var(--space-4)}html .mood-colors input{padding:var(--space-3);border-radius:var(--radius-small)}html .markdown blockquote{padding-inline-start:var(--space-4);margin-block:var(--space-4)}html .markdown hr{margin-block:var(--space-6)}@media(max-width:767px){html .artifact-card,html .deployment-card,html .rename-dialog{padding:var(--space-4)}html .canvas-workspace .messages{padding-inline:var(--space-3)}html .composer-end{gap:var(--space-1)}}html .history-row,html .history-row>button,html [data-slot=sidebar-header] .history-search,html [data-slot=sidebar-header] .new-chat{height:40px;min-height:40px}html .history-row>button:first-child,html [data-slot=sidebar-header] .history-search input,html [data-slot=sidebar-header] .history-search input::placeholder,html [data-slot=sidebar-header] .new-chat{font-size:14px;line-height:20px;font-weight:400}html [data-slot=sidebar-header] .history-search input{padding-block:4px}html .history-row>button{padding-block:8px}html .brand{padding-top:10.8px;font-size:20.7px}html .brand .ubai-wordmark{font-size:26.1px}html .brand strong>span:last-child{font-size:18px}@media(pointer:coarse){html [data-slot=sidebar-header] .history-search input{font-size:16px}html [data-slot=sidebar-header] .history-search input::placeholder{font-size:14px}}html .history-row,html .history-row>button,html [data-slot=sidebar-header] .history-search,html [data-slot=sidebar-header] .new-chat{height:36px;min-height:36px}html .history-row{margin-block:0}html .history-row>button{padding-block:6px;line-height:20px}html .brand{padding-top:9.72px}html .canvas-workspace .chat-area.has-messages,html .chat-area.has-messages{padding-bottom:18px}html .chat-area.has-messages>.footnote{flex-shrink:0;font-size:11.55px;line-height:16px;margin:12px 0 0;text-align:center;color:var(--ink-faint);opacity:.75}html .canvas-workspace .message,html .chat-area .message{font-size:16.8px}.search-site-icons{display:flex;align-items:center;gap:4px;margin-block:8px}.search-site-icons a{display:grid;place-items:center;width:24px;height:24px;border-radius:50%;background:var(--surface)}.search-site-icons img{width:16px;height:16px;object-fit:contain;border-radius:4px}@media(max-width:767px){html .canvas-workspace .chat-area.has-messages,html .chat-area.has-messages{padding-bottom:max(12px,env(safe-area-inset-bottom))}html .chat-area.has-messages>.footnote{font-size:10.5px;margin-top:8px}}:root{--chat-reading-size:18px}html .canvas-workspace .composer-end>.model-trigger,html .canvas-workspace .message,html .chat-area .markdown,html .chat-area .message,html .chat-area .message-editor textarea,html .chat-area .response-prose,html .chat-area .user-text,html .composer-end>.model-trigger,html .composer-shell .composer textarea,html .composer-shell .composer textarea::placeholder{font-size:var(--chat-reading-size)}html .canvas-workspace .composer-end>.model-trigger,html .composer-end>.model-trigger{max-width:none;gap:4px;padding-inline:4px}html .composer-end>.model-trigger svg{width:var(--chat-reading-size);height:var(--chat-reading-size);flex-shrink:0}html .rail-brand-toggle .ubai-wordmark{font-size:16.5px}html .compact-navigation{padding-top:10px}.palette-actions,.palette-modes{display:flex;gap:8px}.palette-modes button{flex:1;min-height:44px;border-radius:12px;color:var(--ink-soft)}.palette-favorites button[aria-pressed=true],.palette-modes button[aria-pressed=true]{background:var(--surface-hover);color:var(--foreground);box-shadow:inset 0 0 0 1px var(--border)}.palette-preview{display:flex;gap:4px;min-height:32px}.palette-preview i{flex:1;border-radius:8px}.palette-favorites{display:grid;gap:8px}.palette-favorites>div{display:flex;gap:8px}.palette-favorites>div>button:first-child{flex:1;min-width:0;padding:12px;text-align:left;border-radius:12px;overflow-wrap:anywhere}.palette-favorites>div>button:last-child{width:44px}.palette-actions button{flex:1}html[data-mood-style=creative][data-mood-texture=glow] .composer{background-size:200% 200%!important;animation:palette-glow 12s ease-in-out infinite alternate}@keyframes palette-glow{0%{background-position:0 50%}to{background-position:100% 50%}}@media(prefers-reduced-motion:reduce){html[data-mood-texture=glow] .composer{animation:none}}html [data-slot=sidebar][data-collapsible=icon] .compact-navigation{padding-top:14px}.palette-poster-dialog{width:min(520px,calc(100vw - 32px));max-height:calc(100dvh - 32px);overflow-y:auto;padding:24px;gap:16px}.palette-poster-dialog>img{display:block;width:auto;max-width:100%;height:auto;max-height:calc(100dvh - 200px);aspect-ratio:3/4;object-fit:contain;margin:auto;border-radius:8px}.palette-poster-download{display:block;text-align:center;padding:12px 16px;border-radius:12px;background:var(--foreground);color:var(--background);font-size:16px}.recovery-notice{margin:24px auto;padding:24px;max-width:480px;color:var(--foreground,#ddd);background:var(--background,#181818);border-radius:16px;font:16px/1.5 system-ui,sans-serif}.recovery-notice p{margin:0 0 16px}.recovery-notice button{font:inherit;color:inherit;background:transparent;border:1px solid;border-radius:12px;padding:8px 16px;cursor:pointer}html .composer-shell:not(.composer-expanded) .composer textarea{transition:height .14s ease-out}@media(prefers-reduced-motion:reduce){html .composer-shell .composer textarea{transition:none}}html .chat-area .status-shimmer{font-size:var(--chat-reading-size);line-height:28px;font-weight:400}@media(max-width:767px){[data-slot=sidebar-wrapper]{position:fixed;top:var(--app-offset-top,0);left:0;right:0;width:100%;height:var(--app-height,100dvh)}html[data-chat-keyboard] .chat-area,html[data-chat-keyboard] .chat-area.has-messages{padding-bottom:8px}html[data-chat-keyboard] .chat-area>.footnote{display:none}html[data-chat-keyboard] .empty-workspace .chat-area{justify-content:flex-end}html[data-chat-keyboard] .empty-workspace .welcome{flex:1;min-height:0;margin:0;padding:16px 0;overflow:hidden}html[data-chat-keyboard] .empty-workspace .composer-shell{margin-top:auto;margin-bottom:0}html .composer-shell{transition:box-shadow .32s ease,background-color .32s ease}}@media(prefers-reduced-motion:reduce){html .composer-shell{transition:none}}