Skip to content

Self-hosted workflows for coding-agent delivery. Orchestrate CodeBuddy, Codex and Claude Code with scripts and human approval gates. Includes Local workflows for coding assistants.

12.8 KB
Raw Blame
/* Grasp-inspired home composition. Harness icon motion lives in harness-icons.css. */
.home-shell {
  --home-canvas: #fff;
  --home-sidebar: #fff;
  --home-ink: #18181b;
  --home-secondary: #71717a;
  --home-border: #e5e5e8;
  --home-blue: #5273dc;
  --home-ease: cubic-bezier(0.22, 1, 0.36, 1);
  grid-template-rows: 58px minmax(0, 1fr);
  color: var(--home-ink);
  background: var(--home-canvas);
}
.home-shell .brand {
  padding: 0 16px;
  background: var(--home-sidebar);
  border-color: var(--home-border);
}
.home-shell .brand-home {
  gap: 9px;
  font-size: 18px;
}
.home-shell .icon-button,
.home-shell .panel-toggle,
.home-shell .model-picker,
.home-shell .permission-selector,
.home-shell .context-pill svg {
  color: var(--home-secondary);
}
.home-shell .brand-icon {
  width: 29px;
  height: 29px;
  border-radius: 9px;
  background: #283446;
  color: #fff;
}
.home-shell .conversation-header {
  padding: 0 26px;
  border-color: var(--home-border);
  background: var(--home-canvas);
}
.home-breadcrumb {
  display: flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
  color: var(--home-secondary);
  font-size: 12px;
}
.home-breadcrumb > svg {
  flex-shrink: 0;
}
.home-breadcrumb > span:last-child {
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
  color: var(--muted);
}
.home-shell .conversation-sidebar {
  padding: 14px 12px 12px;
  background: var(--home-sidebar);
  border-color: var(--home-border);
}
.home-shell .sidebar-title {
  height: 32px;
  padding: 0 4px;
  color: var(--home-secondary);
  font-size: 12px;
}
.home-shell .new-chat-button {
  gap: 9px;
  min-height: 39px;
  margin: 9px 0 19px;
  padding: 0 11px;
  border: 1px solid var(--home-border);
  border-radius: 9px;
  background: var(--surface);
  box-shadow: 0 2px 3px #18243b04;
  font-size: 12px;
  transition:
    border-color 180ms ease,
    box-shadow 180ms ease;
}
.home-shell .new-chat-button:hover {
  border-color: color-mix(in srgb, var(--home-blue) 35%, var(--home-border));
  box-shadow: 0 3px 10px #18243b08;
}
.new-chat-button kbd {
  margin-left: auto;
  font: inherit;
  font-size: 10px;
  color: var(--muted);
}
.home-shell .section-label {
  padding: 4px 8px 9px;
  color: var(--home-secondary);
  font-size: 11px;
  font-weight: 400;
}
.home-shell .session-row:hover,
.home-shell .session-project-heading:hover {
  background: color-mix(in srgb, var(--home-ink) 5%, transparent);
}
.home-shell .end-label {
  padding-left: 9px;
  font-size: 11px;
}
.home-shell .sidebar-footer {
  margin: 8px -12px -12px;
  padding: 12px 16px;
  border-top: 1px solid var(--home-border);
  background: transparent;
}
.home-shell .sidebar-footer > .icon-button:first-child {
  background: color-mix(in srgb, var(--home-blue) 10%, var(--surface));
  color: var(--home-blue);
}
.home-shell .sidebar-footer .icon-button:last-child {
  background: transparent;
}
.home-shell .empty-conversation {
  container: home-main / inline-size;
  justify-content: flex-start;
  overflow-y: auto;
  overflow-x: hidden;
  padding: clamp(32px, 10vh, 112px) 28px 32px;
  scrollbar-width: thin;
}
.home-shell .welcome {
  width: 100%;
  max-width: 768px;
  margin: 0 auto 28px;
}
.home-emblem {
  display: grid;
  place-items: center;
  width: 58px;
  height: 58px;
  margin: 0 auto 20px;
  border: 1px solid color-mix(in srgb, var(--home-blue) 13%, var(--surface));
  border-radius: 18px;
  background: linear-gradient(
    145deg,
    var(--surface),
    color-mix(in srgb, var(--home-blue) 9%, var(--surface))
  );
  color: var(--home-blue);
  box-shadow:
    0 6px 20px #516dca0b,
    inset 0 1px 0 #ffffff30;
  transform: rotate(-5deg);
}
.home-emblem > svg {
  transform: rotate(5deg);
}
.home-eyebrow {
  margin: 0 0 10px;
  color: var(--home-secondary);
  font-size: 12px;
  letter-spacing: 1.5px;
}
.home-shell .welcome h1 {
  margin: 0;
  color: var(--home-ink);
  font-size: clamp(26px, 2.2vw, 32px);
  font-weight: 600;
  line-height: 1.5;
  letter-spacing: -1px;
  text-wrap: balance;
}
.home-description {
  margin: 12px 0 30px;
  color: var(--home-secondary);
  font-size: 13px;
  line-height: 1.8;
  text-wrap: balance;
}
.home-shell .empty-conversation .composer-region {
  width: 100%;
  max-width: 768px;
  padding: 0;
  margin: 0 auto;
}
.home-shell .composer-column {
  max-width: none;
}
.home-shell .composer {
  border: 1px solid var(--home-border);
  border-radius: 17px;
  box-shadow:
    0 4px 6px #17284003,
    0 10px 35px #17284005;
  transition:
    border-color 200ms ease,
    box-shadow 200ms ease;
}
.home-shell .composer:focus-within {
  border-color: color-mix(in srgb, var(--home-blue) 55%, var(--home-border));
  box-shadow:
    0 0 0 3px color-mix(in srgb, var(--home-blue) 8%, transparent),
    0 10px 35px #17284008;
}
.home-shell .composer-context {
  height: 40px;
  padding: 4px 12px 0;
  border-bottom: 0;
}
.home-shell .context-pill {
  color: var(--home-secondary);
  font-size: 11px;
}
.home-shell .composer textarea {
  min-height: 94px;
  padding: 15px 18px 12px;
  font-size: 14px;
}
.home-shell .composer textarea::placeholder {
  color: var(--muted);
}
.home-shell .composer-toolbar {
  padding: 0 12px 12px;
}
.home-shell .send-button {
  width: 33px;
  height: 33px;
  border-radius: 10px;
  background: var(--home-ink);
  color: var(--surface);
  transition: background 180ms ease;
}
.home-shell .send-button:disabled {
  background: color-mix(in srgb, var(--home-ink) 14%, var(--surface));
  color: var(--surface);
}
.home-shell .composer-hint {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 12px;
  margin: 12px 3px 0;
  color: var(--home-secondary);
  font-size: 10px;
  line-height: 1.6;
  overflow-wrap: anywhere;
}
.home-input-hint {
  margin-left: auto;
  flex-shrink: 0;
  color: var(--muted);
}
.home-input-hint > span {
  padding: 0 4px;
}
.home-starters {
  flex-shrink: 0;
  width: 100%;
  max-width: 768px;
  margin: 33px auto 0;
}
.home-section-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin: 0 1px 13px;
  color: var(--home-secondary);
  font-size: 11px;
}
.home-section-heading > button {
  display: inline-flex;
  align-items: center;
  gap: 3px;
  padding: 3px 0 3px 8px;
  color: var(--home-secondary);
  font-size: 11px;
}
.home-section-heading > button:hover {
  color: var(--home-blue);
}
.home-starter-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}
.home-starter {
  --starter-color: #5577d5;
  display: flex;
  flex-direction: column;
  position: relative;
  min-width: 0;
  padding: 16px;
  overflow: hidden;
  border: 1px solid var(--home-border);
  border-radius: 12px;
  background: var(--surface);
  text-align: left;
  transition:
    border-color 220ms ease,
    box-shadow 220ms ease,
    transform 220ms ease;
}
.home-starter-violet {
  --starter-color: #8a6aca;
}
.home-starter-green {
  --starter-color: #3a8c7d;
}
.home-starter:hover,
.home-starter:focus-visible {
  border-color: color-mix(
    in srgb,
    var(--starter-color) 40%,
    var(--home-border)
  );
  box-shadow: 0 12px 26px -10px
    color-mix(in srgb, var(--starter-color) 35%, transparent);
  transform: translateY(-2px);
}
.home-starter-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  margin-bottom: 14px;
}
.home-starter-icon {
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border: 1px solid color-mix(in srgb, var(--starter-color) 8%, var(--surface));
  border-radius: 10px;
  background: color-mix(in srgb, var(--starter-color) 7%, var(--surface));
  color: var(--starter-color);
  transition: background-color 220ms ease;
}
.home-starter:is(:hover, :focus-visible) .home-starter-icon {
  background: color-mix(in srgb, var(--starter-color) 13%, var(--surface));
}
.home-starter-arrow {
  color: var(--muted);
  transition:
    color 180ms ease,
    transform 220ms ease;
}
.home-starter:is(:hover, :focus-visible) .home-starter-arrow {
  color: var(--starter-color);
  transform: translateX(3px);
}
.home-starter > strong {
  color: var(--home-ink);
  font-size: 13px;
  font-weight: 550;
  line-height: 1.6;
}
.home-starter-description {
  margin-top: 6px;
  color: var(--home-secondary);
  font-size: 11px;
  line-height: 1.9;
}
.home-starter-flow {
  display: flex;
  align-items: center;
  width: 100%;
  margin-top: 18px;
  color: var(--home-secondary);
  font-size: 10px;
}
.home-starter-flow > span {
  display: flex;
  align-items: center;
  gap: 5px;
  white-space: nowrap;
}
.home-starter-flow > span + span::before {
  content: "";
  width: clamp(8px, 1.7vw, 24px);
  height: 1px;
  margin: 0 5px;
  background: var(--home-border);
}
.home-starter-flow i {
  width: 5px;
  height: 5px;
  border: 1px solid
    color-mix(in srgb, var(--starter-color) 55%, var(--home-border));
  border-radius: 50%;
}
.home-starter-flow > span:last-child i {
  background: var(--starter-color);
  border-color: var(--starter-color);
}
.home-footnote {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 5px;
  margin: 26px 0 0;
  color: var(--home-secondary);
  font-size: 10px;
  line-height: 1.7;
}
[data-theme="dark"] .home-shell {
  --home-canvas: #141417;
  --home-sidebar: #141417;
  --home-ink: #ededf0;
  --home-secondary: #a1a1aa;
  --home-border: #26262b;
  --home-blue: #8ca6f2;
  --surface: #141417;
}
[data-theme="dark"] .home-shell .home-starter-blue {
  --starter-color: #8ca6f2;
}
[data-theme="dark"] .home-shell .home-starter-violet {
  --starter-color: #b29ade;
}
[data-theme="dark"] .home-shell .home-starter-green {
  --starter-color: #7fbdaf;
}
[data-theme="dark"] .home-shell .home-starter:is(:hover, :focus-visible) {
  box-shadow: 0 12px 26px -10px
    color-mix(in srgb, var(--starter-color) 22%, transparent);
}
@media (prefers-reduced-motion: reduce) {
  .home-starter:is(:hover, :focus-visible),
  .home-starter:is(:hover, :focus-visible) .home-starter-arrow {
    transform: none;
  }
}
@media (max-width: 1100px) {
  .home-shell .empty-conversation {
    padding-left: 24px;
    padding-right: 24px;
  }
  .home-starter {
    padding: 14px;
  }
  .home-starter-flow > span + span::before {
    width: 8px;
    margin: 0 4px;
  }
}
@media (min-width: 851px) and (max-width: 1100px) {
  .home-shell.with-panel {
    grid-template-columns: var(--sidebar-width) minmax(0, 1fr);
  }
  .home-shell.sidebar-hidden.with-panel {
    grid-template-columns: minmax(0, 1fr);
  }
  .home-shell .side-panel {
    grid-area: 1 / 1 / -1 / -1;
    position: absolute;
    right: 0;
    top: 58px;
    bottom: 0;
    width: min(100%, 480px);
    z-index: 30;
    box-shadow: -8px 0 30px #00000010;
  }
}
@media (max-width: 850px) {
  .home-shell .brand {
    height: 58px;
    background: var(--home-canvas);
  }
  .home-shell .conversation-header {
    padding-left: 215px;
    padding-right: 14px;
  }
  .home-shell.sidebar-hidden .conversation-header {
    padding-left: 64px;
  }
  .home-shell .conversation-sidebar,
  .home-shell .side-panel {
    top: 58px;
  }
  .home-shell .empty-conversation {
    padding-top: clamp(32px, 8vh, 80px);
  }
  .home-shell .welcome h1 {
    font-size: 30px;
  }
  .home-shell .conversation-title {
    display: none;
  }
}
@media (max-width: 560px) {
  .home-shell .empty-conversation {
    padding: 30px 18px 24px;
  }
  .home-shell .welcome h1 {
    font-size: 26px;
  }
  .home-emblem {
    width: 48px;
    height: 48px;
    margin-bottom: 16px;
    border-radius: 15px;
  }
  .home-eyebrow {
    font-size: 11px;
  }
  .home-description {
    max-width: 280px;
    margin: 10px auto 24px;
    font-size: 12px;
  }
  .home-shell .composer textarea {
    min-height: 100px;
    padding: 13px 14px;
  }
  .home-shell .composer-context {
    padding-left: 8px;
    padding-right: 8px;
    gap: 5px;
  }
  .home-shell .composer-toolbar {
    padding-left: 8px;
    padding-right: 8px;
  }
  .home-shell .composer-hint {
    justify-content: center;
    font-size: 10px;
  }
  .home-input-hint {
    display: none;
  }
  .home-starters {
    margin-top: 25px;
  }
  .home-footnote {
    margin-top: 20px;
    font-size: 9px;
  }
}
@container home-main (max-width: 560px) {
  .home-input-hint {
    display: none;
  }
  .home-starter-grid {
    grid-template-columns: 1fr;
    gap: 9px;
  }
  .home-starter {
    display: grid;
    grid-template-columns: 34px minmax(0, 1fr);
    column-gap: 13px;
    padding: 14px;
  }
  .home-starter-top {
    grid-column: 1;
    grid-row: 1 / 3;
    margin: 0;
    align-self: center;
  }
  .home-starter-arrow,
  .home-starter-flow {
    display: none;
  }
  .home-starter > strong {
    grid-column: 2;
  }
  .home-starter-description {
    grid-column: 2;
    margin-top: 3px;
    font-size: 11px;
  }
}
@media (max-height: 760px) and (min-width: 561px) {
  .home-shell .empty-conversation {
    padding-top: 28px;
  }
  .home-emblem {
    width: 46px;
    height: 46px;
    margin-bottom: 12px;
    border-radius: 14px;
  }
  .home-description {
    margin-bottom: 22px;
  }
  .home-starters {
    margin-top: 25px;
  }
}