/* Host Tailwind for this app's chrome. SDK styles inject via ThemeProvider. */ @import 'tailwindcss'; html, body, #root { height: 100%; } body { /* Pre-hydration paint before the SDK theme root mounts; kept literal intentionally. */ color: #09090b; background: #fff; } .app-root { height: 100dvh; width: 100%; } .app-assistant { height: 100%; } /* Primary buttons: light uses solid indigo-500 token; dark keeps the brand gradient. */ .harness-primary-gradient { --harness-button-fill: linear-gradient(135deg, #a970ff 0%, #234cfc 100%); --harness-primary-inset: inset 0 0.3125rem 0.3125rem 0 rgb(255 255 255 / 0.25); } /* Gradient isn't a valid Tailwind color token, so paint it as background-image (dark only). */ .harness-primary-gradient[data-theme='dark'] button.bg-primary-button-bg, .harness-primary-gradient[data-theme='dark'] .auth-screen-button { background-image: var(--harness-button-fill); box-shadow: var(--harness-primary-inset); } /* New Agent welcome only: polka-dot canvas on the empty thread viewport. `.new-agent-welcome` is set by NewAgentWelcomeScreen; WelcomeScreen unmounts once the thread has messages. */ [data-slot='aui_thread-viewport']:has(.new-agent-welcome) { background-image: radial-gradient( circle, color-mix(in oklab, var(--border, #d4d4d8) 85%, transparent) 1px, transparent 1px ); background-size: 1.25rem 1.25rem; } .boot-screen { min-height: 100dvh; display: grid; place-items: center; padding: 2rem; /* Match ThemeProvider mode so ThinkingOrb ink stays visible (body stays white). */ color: var(--text-secondary, #71717a); background: var(--primary-bg, #fff); } .boot-spinner { box-sizing: border-box; width: 1.75rem; height: 1.75rem; border: 0.125rem solid color-mix(in oklab, currentColor 25%, transparent); border-top-color: currentColor; border-radius: 50%; animation: boot-spin 0.7s linear infinite; } @keyframes boot-spin { to { transform: rotate(360deg); } } .boot-screen[data-error='true'] { color: var(--failure-bg, #ef4444); } .harness-logout { display: inline-flex; height: 2rem; width: 2rem; flex-shrink: 0; align-items: center; justify-content: center; border: 0; border-radius: 0.375rem; background: transparent; color: inherit; cursor: pointer; } .harness-logout:hover:not(:disabled) { background: color-mix(in srgb, currentColor 10%, transparent); } .harness-logout:disabled { opacity: 0.5; cursor: default; pointer-events: none; }