The platform for continuously improving AI agents.
.shell {
--sidebar-ease: cubic-bezier(0.22, 1, 0.36, 1);
--sidebar-duration: 260ms;
min-width: 0;
overflow-x: clip;
}
.label {
min-width: 0;
white-space: nowrap;
}
/* Centre the rail across its width and the workspace's adjacent 8px gutter. */
.shell[data-compact="true"] {
position: relative;
inset-inline-start: 4px;
}
/* Hidden visually, not from the accessibility tree: the rail's icon links keep their names. */
.shell[data-compact="true"] .label {
position: absolute;
width: 1px;
height: 1px;
overflow: hidden;
clip-path: inset(50%);
}
.shell[data-compact="true"] [data-sidebar="menu-button"] {
justify-content: center;
}
.brand,
.toggle {
transition: opacity 200ms;
}
.toggle,
.brandButton:is(:hover, :focus-visible) .brand {
opacity: 0;
}
.brandButton:is(:hover, :focus-visible) .toggle {
opacity: 1;
}
.header {
position: relative;
height: 58px;
transition: height var(--sidebar-duration) var(--sidebar-ease);
}
.shell[data-compact="true"] .header {
height: 84px;
padding-inline: 8px;
}
.search[data-sidebar="menu-button"] {
position: absolute;
inset-inline: 46px 10px;
top: 16px;
width: auto;
transition:
inset-inline-start var(--sidebar-duration) var(--sidebar-ease),
top var(--sidebar-duration) var(--sidebar-ease),
background-color 150ms ease-out;
}
.shell[data-compact="true"] .search[data-sidebar="menu-button"] {
inset-inline-start: 8px;
top: 52px;
background-color: transparent;
}
@media (prefers-reduced-motion: reduce) {
.brand,
.toggle,
.header,
.search[data-sidebar="menu-button"] {
transition: none;
}
}