:root:has(main[data-ui-frame-scheme=dark]){background-color:var(--ui-frame-paper)}body.ds-v2:has(main[data-ui-frame-scheme=dark]){background-color:var(--ui-frame-paper)}.ds-route-loading :is(.ds-v2-menu-toggle img,.psyche-mic>img){filter:var(--ui-loading-icon-filter,none)}body.ds-v2 [data-ui-page-motion],body.ds-v2 dialog[data-ui-surface-motion][open],body.ds-v2 dialog[data-ui-surface-motion][open]::backdrop{animation:none}.ui-dialog-exit[popover]{z-index:2147483000;pointer-events:none;border:0;width:100%;max-width:none;height:100%;max-height:none;margin:0;padding:0;display:block;position:fixed;inset:0;overflow:hidden}.ui-dialog-exit::backdrop{pointer-events:none;background:0 0}body.ds-v2 .psyche-attach-menu[data-ui-open]{opacity:1;transition:opacity var(--ds-v2-motion-fast) var(--ds-v2-motion-ease),translate var(--ds-v2-motion-fast) var(--ds-v2-motion-ease);animation:none;translate:0}body.ds-v2 .psyche-attach-menu[data-ui-open=false]{opacity:0;transition-duration:var(--ds-v2-motion-exit);pointer-events:none;translate:0 4px}@starting-style{body.ds-v2 .psyche-attach-menu[data-ui-open=true]{opacity:0;translate:0 4px}}body.ds-v2 details.ds-v2-account-menu::details-content{transition:none}html body dialog.ui-dialog-exit-copy{pointer-events:none;overflow:hidden;animation:none!important}@media (prefers-reduced-motion:reduce){body.ds-v2 details.ds-v2-account-menu::details-content{transition:none}}:root{--ui-space-bottom:var(--ds-v2-space-bottom);--ui-action-gap:var(--ds-v2-space-action);--ui-content-gap:min(var(--ds-v2-space-content),clamp(16px,calc(var(--ui-viewport-height,100dvh) * .05 - 16px),24px));--ui-frame-gap:min(var(--ds-v2-space-frame),clamp(24px,calc(var(--ui-viewport-height,100dvh) * .05 - 8px),32px));--ui-section-gap:min(var(--ds-v2-space-section),clamp(24px,calc(var(--ui-viewport-height,100dvh) * .15 - 72px),48px));--ui-heading-space:min(var(--ds-v2-space-heading),clamp(24px,calc(var(--ui-viewport-height,100dvh) * .25 - 136px),64px));--ui-control-height:var(--ds-v2-control);--ui-sheet-height:470px;--ui-overlay-gap:24px;--ui-safe-area-top:env(safe-area-inset-top,0px);--ui-header-top:max(var(--ds-v2-space-header),var(--ui-safe-area-top));--ui-panel-enter:var(--ds-v2-motion-enter);--ui-bottom-inset:max(var(--ui-space-bottom),env(safe-area-inset-bottom,0px));--ui-overlay-top:max(var(--ui-overlay-gap),env(safe-area-inset-top,0px))}:root[data-psyche-native=true]{--ui-safe-area-top:0px}.ui-bottom-inset{padding-bottom:var(--ui-bottom-inset)}.ui-screen{min-height:var(--ui-viewport-height,100dvh);flex-direction:column;display:flex}:root[data-ui-keyboard]{--ui-bottom-inset:var(--ui-space-bottom)}:root[data-ui-keyboard] .ui-screen:not(.ui-chat-viewport):not(.ui-chat-viewport *){height:var(--ui-viewport-height);min-height:0;overflow-y:auto}.ui-screen.ui-chat-viewport,.ds-v2.ui-chat-viewport{inset:var(--ui-viewport-top,0px) 0 auto;height:var(--ui-viewport-height,100dvh);min-height:0;max-height:var(--ui-viewport-height,100dvh);position:fixed;overflow:hidden;container:ui-chat/size}main.ui-chat-viewport textarea{max-height:clamp(44px,calc(var(--ui-viewport-height,100dvh) - 260px),160px)}.ui-screen>.ui-page-body{padding-bottom:var(--ui-bottom-inset)}.ui-page-body{flex-direction:column;flex:1;min-height:0;display:flex}:root[data-ui-keyboard] .ui-page-body:not(.ui-chat-viewport *){min-height:auto}.ui-actions{align-items:stretch;gap:var(--ui-action-gap);flex-direction:column;flex-shrink:0;margin-top:auto;display:flex}.ui-actions[data-layout=row]{padding-top:var(--ui-content-gap);flex-flow:wrap;align-items:center}.ui-actions[data-layout=row]>:is(.btn,.story-button,.journey-button,.ds-button){flex:1;min-width:0}.ui-actions[data-layout=row]>.text-link{flex-shrink:0}.ui-actions>:is(.btn,.story-button,.journey-button,.ds-button,.rb-start){min-height:var(--ui-control-height);margin-block:0}.ui-actions:empty{display:none}[data-ui-floating-scroll]{scroll-padding-bottom:calc(var(--ui-floating-height,0px) + var(--ui-bottom-inset) + var(--ui-content-gap));padding-bottom:calc(var(--ui-floating-height,0px) + var(--ui-bottom-inset) + var(--ui-content-gap))!important}.ui-actions-scroll[data-ui-floating-scroll]{padding-bottom:var(--ui-content-gap)!important}.ui-actions-scroll[data-ui-floating-scroll]>:last-child{margin-bottom:calc(var(--ui-floating-height,0px) + var(--ui-bottom-inset))}html body .ui-actions[data-ui-actions=floating]{left:var(--ui-actions-left);width:var(--ui-actions-width);bottom:calc(100dvh - var(--ui-viewport-top,0px) - var(--ui-viewport-height,100dvh) + var(--ui-bottom-inset));z-index:30;pointer-events:none;background:0 0;border:0;margin:0;padding:0;position:fixed}html body .ui-actions[data-ui-actions=floating]>*{pointer-events:auto}html body .ui-actions:is([data-ui-actions-anchor=dialog],[data-ui-actions-anchor=page]){bottom:var(--ui-bottom-inset);position:absolute}html body dialog[data-ui-floating-host]{padding-bottom:0!important}html body .psyche-onboarding[data-ui-floating-host]{padding-bottom:0}html body .psyche-onboarding[data-ui-floating-host]>.psyche-onboarding-content{margin-inline:-16px;padding-inline:16px}html body .psyche-welcome-auth[data-ui-floating-host]{padding-bottom:0}dialog[data-placement]{box-sizing:border-box;inset:var(--ui-viewport-top,0px) 0 auto;max-height:calc(var(--ui-viewport-height,100dvh) - var(--ui-overlay-top) - var(--ui-bottom-inset));overscroll-behavior:contain;position:fixed;overflow:auto}dialog[data-placement=center]{top:calc(var(--ui-viewport-top,0px) + var(--ui-overlay-top));bottom:calc(100dvh - var(--ui-viewport-top,0px) - var(--ui-viewport-height,100dvh) + var(--ui-bottom-inset));margin:auto}dialog[data-placement=bottom]{height:var(--ui-sheet-height);max-height:calc(var(--ui-viewport-height,100dvh) - var(--ui-overlay-top));padding-bottom:var(--ui-bottom-inset);animation:ui-panel-enter var(--ui-panel-enter) var(--ds-v2-motion-ease) both}dialog[data-placement=fullscreen]{height:var(--ui-viewport-height,100dvh);min-height:0;max-height:var(--ui-viewport-height,100dvh);padding-bottom:var(--ui-bottom-inset);animation:ui-panel-enter var(--ui-panel-enter) var(--ds-v2-motion-ease) both;margin:0 auto}dialog[data-overflow=visible]{overflow:visible}@keyframes ui-panel-enter{0%{transform:translateY(100%)}to{transform:translateY(0)}}@media (prefers-reduced-motion:reduce){dialog[data-placement]{animation:none}}@media print{.ui-actions{display:none}.ui-screen,.ui-screen>.ui-page-body{padding-bottom:var(--ui-bottom-inset)}.ui-page-body{min-height:0;display:block}}html body.ds-v2 dialog[data-placement=bottom]{max-width:var(--ds-v2-frame-max);padding-left:max(var(--ui-sheet-gutter,24px),env(safe-area-inset-left,0px));padding-right:max(var(--ui-sheet-gutter,24px),env(safe-area-inset-right,0px));border-bottom-right-radius:0;border-bottom-left-radius:0}html body.ds-v2 dialog[data-placement=bottom]:not(.ui-dialog-exit-copy){inset:auto 0 calc(100dvh - var(--ui-viewport-top,0px) - var(--ui-viewport-height,100dvh));width:100%;margin:0 auto}.psyche-recording{min-width:0;min-height:44px;color:var(--ds-v2-color-text-secondary);flex:1;align-items:center;gap:8px;font-size:12px;display:flex}.psyche-recording time{font-variant-numeric:tabular-nums;flex:none;font-size:11px}.psyche-recording-label{text-overflow:ellipsis;white-space:nowrap;min-width:0;overflow:hidden}.psyche-recording>svg{flex:none}.psyche-waveform{width:100%;min-width:0;height:28px;color:var(--ds-v2-color-text-primary);flex:1;display:block}.psyche-dictation-retry{min-width:0;min-height:44px;color:inherit;background:0 0;border:0;align-items:center;gap:4px;padding:4px;font-size:11px;display:flex}.psyche-file-notice{color:var(--ds-v2-color-text-secondary);margin:0;padding:4px 0;font-size:12px;line-height:1.6}body.ds-v2 .message-composer{border:1px solid var(--ds-v2-psyche-color-line);border-radius:var(--ds-v2-psyche-radius-panel);background:var(--ds-v2-psyche-color-paper);flex-direction:column;gap:8px;min-height:0;padding:12px;display:flex}body.ds-v2 .message-composer-input{overscroll-behavior:contain;flex-direction:column;gap:8px;min-height:26px;display:flex;overflow-y:auto}body.ds-v2 .message-composer-input>*,body.ds-v2 .message-composer-actions{flex-shrink:0}body.ds-v2 .message-composer .message-composer-input>.message-composer-textarea{resize:none;width:100%;min-width:0;height:1lh;min-height:1lh;max-height:6lh;font-size:max(16px,1rem);line-height:var(--ds-v2-psyche-font-body-leading);color:inherit;outline-offset:4px;background:0 0;border:0;border-radius:0;flex:none;padding:0;display:block;overflow-y:auto}body.ds-v2 .message-composer .message-composer-input>.message-composer-textarea::placeholder{color:var(--ds-v2-psyche-color-muted)}body.ds-v2 .message-composer-actions{flex-wrap:nowrap;align-items:center;gap:4px;min-height:44px;display:flex}body.ds-v2 .message-composer .psyche-mic{width:44px;height:44px;color:inherit;background:0 0;border:0;border-radius:50%;flex:none;place-items:center;margin-left:auto;padding:0;display:grid}body.ds-v2 .message-composer .psyche-mic:disabled{opacity:1}body.ds-v2 .message-composer .message-composer-send{background:var(--ds-v2-psyche-color-action);width:44px;height:44px;color:var(--ds-v2-action-primary-fg);border:0;border-radius:50%;flex:none;place-items:center;margin-left:auto;padding:0;display:grid}body.ds-v2 .message-composer .message-composer-send:disabled{opacity:1}body.ds-v2 .message-composer .psyche-mic+.message-composer-send{margin-left:0}body.ds-v2 button.bgm-toggle{box-shadow:none;color:var(--ds-v2-muted);transition:color var(--ds-v2-reveal) ease;background:0 0;border:0}body.ds-v2 button.bgm-toggle[aria-pressed=true]{color:var(--ds-v2-focus)}@media (hover:hover){body.ds-v2 button.bgm-toggle:hover{color:var(--ds-v2-ink)}}@media (prefers-reduced-motion:reduce){body.ds-v2 button.bgm-toggle{transition:none}}
