Open-source AI coworkers that each get a computer of their own: a browser, files and tools, with every action decided before it happens and recorded after. Bring any AG-UI agent.
/*
* OpenBot Desktop: the setup window.
*
* The world is the one the product sits next to: warm off-white ground, near-black text, almost no
* chrome, and one rounded focal element per screen. Measured from Grok rather than guessed — the
* ground is a warm #F9F8F7 and the hairlines are a warm-tinted black at 4-8% rather than a cool
* gray, which is most of why that interface reads calm instead of clinical.
*
* `universalSans` is deliberately absent: it is xAI's own face and not ours to ship. Inter is the
* documented fallback and the system stack is what a desktop window can rely on with no network at
* the moment it draws.
*
* Light is committed rather than defaulted. The use scene is a corporate laptop in an office in the
* daytime, and this window is the first thing somebody sees after a download.
*/
:root {
/* Warm, not neutral. Every gray here is tinted from the same 15/13/10 black. */
--ground: #f9f8f7;
--raised: #ffffff;
--ink: #050505;
--ink-soft: rgba(15, 13, 10, 0.62);
--ink-faint: rgba(15, 13, 10, 0.45);
--hair: rgba(15, 13, 10, 0.08);
--hair-soft: rgba(15, 13, 10, 0.04);
--sunk: rgba(15, 13, 10, 0.04);
--accent: #050505;
--accent-ink: #ffffff;
--bad: #b3261e;
--good: #1a7f37;
/* One radius family: 12px for rows and controls, 16px for the focal card. */
--r-row: 12px;
--r-card: 16px;
font-family:
Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, ui-sans-serif,
system-ui, sans-serif;
font-size: 14px;
line-height: 1.5;
color: var(--ink);
background: var(--ground);
-webkit-font-smoothing: antialiased;
text-rendering: optimizeLegibility;
}
/*
* NO DARK VARIANT, DELIBERATELY, and this is the one place in the product where that is right.
*
* This window exists for about five minutes, once, before it becomes OpenBot and hands over to the
* app — which does follow the system. A first-run screen is the product's handshake, and the look
* committed here is the warm light one measured from the interface this is meant to sit beside.
* Following the system instead would mean the first thing half of all installers ever see is a
* variant nobody composed against a reference.
*
* The app this hands over to keeps its own light and dark. Only the setup window is pinned.
*/
* {
box-sizing: border-box;
}
body {
margin: 0;
background: var(--ground);
color: var(--ink);
}
/*
* The window is 900x640 and cannot be resized into something else, so it is composed as a room
* rather than a page: one centred column, vertically settled, with the same optical centre on every
* step. A wizard whose content jumps position between steps reads as four different screens.
*/
main {
min-height: 100vh;
display: grid;
place-items: center;
padding: 2.5rem 2rem;
}
.sheet {
width: 100%;
max-width: 30rem;
display: flex;
flex-direction: column;
/* One authored entrance, on the step rather than on every element. */
animation: settle 0.42s cubic-bezier(0.16, 1, 0.3, 1) both;
}
@keyframes settle {
from {
opacity: 0;
transform: translateY(6px);
}
}
@media (prefers-reduced-motion: reduce) {
.sheet {
animation: none;
}
}
/* Where you are, stated quietly. Operate mode: a four-step flow that says nothing about progress
makes people wonder how much is left, which is when they close it. */
.steps-of {
font-size: 0.72rem;
letter-spacing: 0.06em;
text-transform: uppercase;
color: var(--ink-faint);
margin: 0 0 1.25rem;
}
h1 {
font-size: 1.5rem;
line-height: 1.2;
font-weight: 600;
letter-spacing: -0.02em;
margin: 0 0 0.6rem;
text-wrap: balance;
}
h2 {
font-size: 0.95rem;
font-weight: 600;
margin: 0 0 0.35rem;
}
.lede {
color: var(--ink-soft);
margin: 0 0 1.5rem;
max-width: 34rem;
}
.lede.big {
font-size: 0.95rem;
line-height: 1.6;
}
.footnote {
font-size: 0.8rem;
color: var(--ink-faint);
line-height: 1.55;
margin: 1.25rem 0 0;
}
/* Controls */
.row {
display: flex;
gap: 0.6rem;
align-items: center;
margin-top: 1.5rem;
}
.connection-sheet .row {
flex-wrap: wrap;
}
.connection-form {
width: 100%;
min-width: 0;
border: 0;
padding: 0;
margin: 0;
}
.connection-actions {
margin-top: 0;
}
.new-project-form {
margin-top: 1rem;
}
.tile.project-choice {
grid-template-columns: minmax(0, 1fr);
grid-template-areas: "name";
text-align: left;
overflow-wrap: anywhere;
}
button {
font: inherit;
font-weight: 500;
padding: 0.6rem 1.1rem;
border-radius: var(--r-row);
border: 1px solid transparent;
background: var(--accent);
color: var(--accent-ink);
cursor: pointer;
transition:
opacity 0.15s ease,
background 0.15s ease;
}
button:hover:not(:disabled) {
opacity: 0.88;
}
button:disabled {
opacity: 0.35;
cursor: default;
}
button.quiet {
background: transparent;
color: var(--ink-soft);
border-color: var(--hair);
}
button.quiet:hover:not(:disabled) {
color: var(--ink);
border-color: var(--ink-faint);
opacity: 1;
}
:focus-visible {
outline: 2px solid var(--ink);
outline-offset: 2px;
}
/* Fields */
.field {
margin-bottom: 0.9rem;
}
.field label {
display: block;
font-size: 0.8rem;
color: var(--ink-soft);
margin-bottom: 0.35rem;
}
.field input {
font: inherit;
width: 100%;
padding: 0.6rem 0.75rem;
border-radius: var(--r-row);
border: 1px solid var(--hair);
background: var(--raised);
color: var(--ink);
}
.field input::placeholder {
color: var(--ink-faint);
}
.field input:focus-visible {
border-color: var(--ink-faint);
outline: none;
box-shadow: 0 0 0 3px var(--sunk);
}
/* The list of choices. Rows, not a grid of same-size cards. */
fieldset.picker {
border: 0;
padding: 0;
margin: 0.75rem 0 0;
display: flex;
flex-direction: column;
gap: 0.4rem;
max-height: 17rem;
overflow-y: auto;
}
/*
* A tile carries its own ink, and this is not belt-and-braces.
*
* MEASURED: the project list rendered as six blank white rectangles. `button` sets
* `color: var(--accent-ink)`, which is white, and `.tile` overrode the background to white without
* overriding the colour. The provider and Bot rows are `label`s and never inherited it, so the one
* tile in the product that is a real button was the one nobody could read. Nothing errored and
* nothing looked broken: the names were simply invisible, and the screen asked somebody to choose
* between six empty boxes.
*/
.tile {
position: relative;
color: var(--ink);
display: grid;
grid-template-columns: 32px 1fr;
grid-template-areas:
"mark name"
"mark summary";
align-items: center;
column-gap: 0.7rem;
row-gap: 0.1rem;
padding: 0.6rem 0.7rem;
border: 1px solid var(--hair-soft);
border-radius: var(--r-row);
background: var(--raised);
cursor: pointer;
transition:
border-color 0.15s ease,
background 0.15s ease;
}
.tile:hover {
border-color: var(--hair);
}
.tile.chosen {
border-color: var(--ink);
}
.mark-tile {
grid-area: mark;
}
.tile-name {
grid-area: name;
}
.tile-summary {
grid-area: summary;
}
.tile-note {
grid-column: 2;
}
.tile-name {
font-weight: 500;
font-size: 0.85rem;
}
.tile-summary {
color: var(--ink-faint);
font-size: 0.75rem;
line-height: 1.35;
}
.tile-note {
justify-self: start;
font-size: 0.68rem;
color: var(--ink-soft);
background: var(--sunk);
border-radius: 999px;
padding: 0.08rem 0.45rem;
margin-top: 0.15rem;
}
/* A brand's mark, or its name where no usable mark exists. Same box either way. */
.mark-tile {
width: 32px;
height: 32px;
display: flex;
align-items: center;
justify-content: center;
padding: 5px;
border-radius: 8px;
background: #fff;
border: 1px solid var(--hair-soft);
flex: none;
}
.mark-tile img {
width: 100%;
height: 100%;
}
.mark-wordmark {
padding: 2px;
}
.mark-wordmark span {
font-size: 0.52rem;
font-weight: 600;
line-height: 1.05;
text-align: center;
letter-spacing: -0.02em;
color: #050505;
hyphens: none;
}
/* The radio is not drawn; the row is. Kept in the layout so it stays focusable and announced. */
.tile-input {
position: absolute;
opacity: 0;
width: 1px;
height: 1px;
margin: 0;
}
.tile:has(.tile-input:focus-visible) {
outline: 2px solid var(--ink);
outline-offset: 2px;
}
/* The framework list, which almost nobody should open. */
details {
border-top: 1px solid var(--hair-soft);
padding-top: 0.9rem;
}
details > summary {
cursor: pointer;
font-size: 0.82rem;
color: var(--ink-faint);
list-style: none;
display: flex;
align-items: center;
gap: 0.4rem;
}
details > summary::-webkit-details-marker {
display: none;
}
details > summary::before {
content: "";
width: 0;
height: 0;
border-left: 4px solid currentColor;
border-top: 3.5px solid transparent;
border-bottom: 3.5px solid transparent;
transition: transform 0.15s ease;
}
details[open] > summary::before {
transform: rotate(90deg);
}
details > summary:hover {
color: var(--ink);
}
/* The chosen provider's own panel: the one raised surface per screen. */
.chosen-provider {
border: 1px solid var(--hair);
border-radius: var(--r-card);
background: var(--raised);
padding: 1rem;
margin-top: 0.9rem;
}
.provider-sign-in-actions {
display: flex;
flex-wrap: wrap;
gap: 0.6rem;
}
.segmented {
display: inline-flex;
background: var(--sunk);
border-radius: 999px;
padding: 3px;
margin-bottom: 0.9rem;
}
.segmented button {
border: 0;
background: transparent;
color: var(--ink-soft);
border-radius: 999px;
padding: 0.3rem 0.8rem;
font-size: 0.78rem;
font-weight: 500;
}
.segmented button.on {
background: var(--raised);
color: var(--ink);
box-shadow: 0 1px 2px rgba(15, 13, 10, 0.08);
}
.caution,
.fallback {
font-size: 0.78rem;
color: var(--ink-faint);
line-height: 1.5;
margin: 0.9rem 0 0;
}
.caution a,
.fallback a {
color: var(--ink);
text-underline-offset: 2px;
}
/* Something is in the way, or something failed. */
.blocker {
/* No coloured side border: the heading already carries the state, and a thick accent stripe is
decoration standing in for hierarchy. */
border: 1px solid var(--hair);
border-radius: var(--r-row);
background: var(--raised);
padding: 0.9rem 1rem;
margin: 1rem 0 0;
}
.blocker h2 {
color: var(--bad);
}
.blocker p {
margin: 0;
color: var(--ink-soft);
font-size: 0.85rem;
}
.setup-help {
display: inline-block;
margin-top: 0.65rem;
color: var(--ink-soft);
font-size: 0.8rem;
text-underline-offset: 2px;
}
.external-link-error {
display: block;
margin-top: 0.5rem;
color: var(--ink-soft);
font-size: 0.8rem;
overflow-wrap: anywhere;
}
/* Per-item progress, because this is the slowest screen in the product. */
.steps {
margin: 1.25rem 0 0;
padding: 0;
list-style: none;
display: flex;
flex-direction: column;
gap: 0.8rem;
}
.step {
display: grid;
grid-template-columns: 1rem minmax(0, 1fr) auto;
grid-template-areas:
"mark label status"
". detail detail";
column-gap: 0.5rem;
row-gap: 0.15rem;
align-items: baseline;
font-size: 0.82rem;
}
.step .mark {
grid-area: mark;
align-self: start;
font-size: 0.75rem;
}
.step-label {
grid-area: label;
}
.step-status {
grid-area: status;
color: var(--ink-soft);
font-size: 0.72rem;
text-align: right;
}
.step-elapsed {
font-variant-numeric: tabular-nums;
white-space: nowrap;
}
.step-spinner {
display: inline-block;
width: 0.85rem;
height: 0.85rem;
margin-top: 0.2rem;
border: 2px solid var(--hair);
border-top-color: var(--ink);
border-radius: 50%;
animation: step-spin 0.8s linear infinite;
}
@keyframes step-spin {
to {
transform: rotate(360deg);
}
}
@media (prefers-reduced-motion: reduce) {
.step-spinner {
animation: none;
}
}
.step .mark.good {
color: var(--good);
}
.step .mark.bad {
color: var(--bad);
}
.step .detail {
grid-area: detail;
color: var(--ink-soft);
font-size: 0.75rem;
overflow-wrap: anywhere;
}
@media (max-width: 580px) {
.step {
grid-template-columns: 1rem minmax(0, 1fr);
grid-template-areas:
"mark label"
". status"
". detail";
}
.step-status {
text-align: left;
}
}
.sr-only {
position: absolute;
width: 1px;
height: 1px;
padding: 0;
margin: -1px;
overflow: hidden;
clip-path: inset(50%);
white-space: nowrap;
border: 0;
}
/*
* OpenBot's own mark, and it is the real one.
*
* An earlier version of this screen shipped a mark I drew: two overlapping squares. That was
* invented, which is the same thing this file refuses to do for other people's brands, and there
* was no excuse for it — the product has a mark, on its own page.
*
* The four colours, the sheen positions and the rim are taken from that page's own CSS rather than
* eyeballed. What is NOT reproduced is the animated conic spin: the real orb rotates four conic
* gradients off an `@property` angle, which is right for a hero at 56px and gratuitous for a 34px
* mark on a window that is about to start containers. The composition and the palette are the
* brand; the animation is that page's.
*/
.orb {
--c1: oklch(68% 0.21 350);
--c2: oklch(70% 0.18 210);
--c3: oklch(66% 0.2 285);
--c4: oklch(72% 0.19 325);
width: 30px;
height: 30px;
border-radius: 50%;
position: relative;
isolation: isolate;
overflow: hidden;
flex: none;
background:
radial-gradient(circle at 78% 22%, var(--c1), transparent 58%),
radial-gradient(circle at 26% 72%, var(--c3), transparent 60%),
radial-gradient(circle at 46% 78%, var(--c2), transparent 55%),
radial-gradient(circle at 62% 38%, var(--c4), transparent 62%);
filter: saturate(0.9);
}
/* The glassy highlight, which is what stops it reading as a printed-on gradient. */
.orb::before {
content: "";
position: absolute;
inset: 0;
border-radius: 50%;
background:
radial-gradient(circle at 30% 24%, hsl(0 0% 100% / 0.32), transparent 34%),
radial-gradient(circle at 72% 80%, hsl(0 0% 100% / 0.07), transparent 48%);
mix-blend-mode: screen;
}
/* The rim: lit from above, shaded below, so it sits in the page rather than on it. */
.orb::after {
content: "";
position: absolute;
inset: 0;
border-radius: 50%;
box-shadow:
inset 0 0 0 1px hsl(0 0% 100% / 0.16),
inset 0 2px 4px hsl(0 0% 100% / 0.22),
inset 0 -2px 5px hsl(0 0% 0% / 0.4);
}
.lockup {
display: flex;
align-items: center;
gap: 0.6rem;
margin-bottom: 1.75rem;
}
.lockup span {
font-size: 1.05rem;
font-weight: 600;
letter-spacing: -0.02em;
}
/* The developer half of a failure: present, and never the headline. */
.detail-of {
border: 0;
padding: 0.6rem 0 0;
margin: 0;
}
.detail-of > summary {
font-size: 0.78rem;
}
.detail-of pre {
margin: 0.5rem 0 0;
padding: 0.6rem 0.7rem;
background: var(--sunk);
border-radius: 8px;
font-size: 0.72rem;
line-height: 1.45;
white-space: pre-wrap;
word-break: break-word;
max-height: 9rem;
overflow-y: auto;
color: var(--ink-soft);
/* Monospace here is for machine output, which is what it is for. */
font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
}
/*
* The answer on the last screen. Given weight on purpose: it is the one piece of text in the whole
* wizard that was produced rather than written, and it is the proof the install actually worked.
*/
.answer {
margin: 20px 0 4px;
padding: 16px 18px;
border-radius: 14px;
background: var(--raised);
border: 1px solid var(--hair);
}
.answer-from {
margin: 0 0 6px;
font-size: 12px;
font-weight: 600;
letter-spacing: 0.02em;
color: var(--ink-faint);
}
.answer-text {
margin: 0;
font-size: 17px;
line-height: 1.45;
color: var(--ink);
white-space: pre-wrap;
}