.home { --agent-fs-ui: calc(var(--fs-ui) + var(--agent-font-zoom, 0px)); --agent-fs-small: calc(var(--fs-small) + var(--agent-font-zoom, 0px)); --agent-fs-code: calc(var(--fs-code) + var(--agent-font-zoom, 0px)); flex: 1; min-height: 0; overflow: auto; display: flex; flex-direction: column; align-items: center; justify-content: center; padding: 24px 24px 12vh; background: var(--bg-editor); color: var(--fg); } .inner { /* A compact block in the middle of the page: narrower than a session's conversation. */ width: min(680px, 100%); display: flex; flex-direction: column; gap: var(--space-2); } .fitWidth .inner { width: 100%; } .heading { margin: 0 0 14px; font-size: calc(22px + var(--agent-font-zoom, 0px)); font-weight: 500; letter-spacing: -0.01em; text-align: center; color: var(--fg-strong); text-wrap: balance; } /* A box to write in, not a search bar: room for a few lines before it grows. */ .composer :global(.cm-content) { min-height: calc(4.5em + 12px); } /* Under the box: one quiet group, the project, checkout and branch side by side. */ .where { display: flex; align-items: center; gap: var(--space-1); min-width: 0; padding: 0 6px; color: var(--fg-subtle); font-size: var(--fs-small); } .where > button { flex: 0 1 auto; min-width: 0; color: inherit; font-size: inherit; } .project { display: inline-flex; align-items: center; gap: var(--space-1-5); min-width: 0; height: var(--h-control); padding: 0 4px; } .label { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; } .projectPicker { max-width: 40%; } /* The agent shows as its icon only. */ .agentPicker { display: flex; flex: none; } .note, .warning { margin: 0; padding: 0 4px; font-size: var(--fs-small); color: var(--fg-subtle); white-space: pre-wrap; overflow-wrap: anywhere; } .warning { color: var(--danger); } .docked { justify-content: flex-end; padding: 16px 12px 12px; } .dockedIntro { flex: 1; display: flex; align-items: center; justify-content: center; width: 100%; min-height: 0; padding-bottom: 8vh; } .docked .heading { margin: 0; font-size: calc(15px + var(--agent-font-zoom, 0px)); font-weight: 500; color: var(--fg-muted); } .notes { display: flex; flex-direction: column; gap: var(--space-2); height: 0; } .docked .notes { height: auto; } .docked .notes:empty { display: none; }