A tiny friend in your Mac's notch and on your iPhone that keeps an eye on your AI coding agents: Claude Code, Codex, Cursor, Gemini CLI, Antigravity and more. Approve from the notch or your Lock Screen.
Swift ai-agentsanthropicantigravityclaudeclaude-codecodexcursordynamic-islandgemini-cliiosiphonlinuxmacosmacos-appmenubar-appnotchopen-sourceswiftswiftuiwindows
/* The Coucou window: an OLED-black sidebar, a dark panel holding the pages,
and on top of each page a coloured band where little Mochis walk. Same
look as the Mac's Coucou window (FlowHub.swift). */
:root {
--hub-panel: #0e0f11;
--hub-card: #18191c;
--hub-field: #1f2024;
--hub-line: rgba(255, 255, 255, 0.07);
--hub-text: #f5f6f8;
--hub-body: #e1e3e6;
--hub-secondary: #8e939c;
--hub-muted: #6b7079;
--hub-accent: #fb923c;
--hub-on-accent: #170c04;
--hub-green: #34d399;
--hub-red: #ff453a;
}
body.hub-window {
background: #000;
color: var(--hub-text);
font: 400 13px/1.45 var(--font);
-webkit-font-smoothing: antialiased;
height: 100vh;
overflow: hidden;
}
#hub {
display: flex;
height: 100vh;
}
/* ── Sidebar ──────────────────────────────────────────────────────────────── */
.hub-side {
width: 228px;
flex: 0 0 228px;
display: flex;
flex-direction: column;
gap: 3px;
padding: 18px 12px 12px;
overflow-y: auto;
}
.hub-brand {
display: flex;
align-items: center;
gap: 10px;
padding: 4px 8px 14px;
font: 700 18px var(--font);
}
.hub-brand canvas {
width: 28px;
height: 28px;
}
/* ── Settings search field & results ── */
.hub-search {
display: flex;
align-items: center;
gap: 7px;
height: 32px;
padding: 0 10px;
margin: 0 4px 10px;
background: var(--hub-card);
border-radius: 9px;
border: 1px solid rgba(255, 255, 255, 0.07);
box-sizing: border-box;
}
.hub-search:focus-within {
border-color: rgba(110, 86, 207, 0.6);
}
.hub-search svg.hub-search-icon {
width: 13px;
height: 13px;
flex: 0 0 13px;
fill: none;
stroke: var(--hub-muted);
stroke-width: 1.8;
stroke-linecap: round;
stroke-linejoin: round;
}
.hub-search-input {
flex: 1;
min-width: 0;
border: none;
background: transparent;
color: var(--hub-text);
font: 400 13px var(--font);
outline: none;
padding: 0;
}
.hub-search-input::placeholder {
color: var(--hub-muted);
}
.hub-search-clear {
display: flex;
align-items: center;
justify-content: center;
width: 16px;
height: 16px;
padding: 0;
border: none;
background: transparent;
color: var(--hub-muted);
cursor: pointer;
border-radius: 50%;
}
.hub-search-clear:hover {
color: var(--hub-text);
}
.hub-search-clear svg {
width: 11px;
height: 11px;
fill: none;
stroke: currentColor;
stroke-width: 2;
}
.hub-search-empty {
font-size: 12.5px;
color: var(--hub-muted);
padding: 8px 10px;
}
.hub-search-results {
display: flex;
flex-direction: column;
gap: 2px;
}
.hub-search-row {
display: flex;
align-items: flex-start;
gap: 10px;
width: 100%;
padding: 6px 10px;
background: transparent;
border: none;
border-radius: 9px;
color: #b7bbc2;
text-align: start;
cursor: pointer;
box-sizing: border-box;
transition: background 0.12s ease;
}
.hub-search-row:hover {
background: rgba(255, 255, 255, 0.04);
}
.hub-search-row.on {
background: rgba(255, 255, 255, 0.08);
color: var(--hub-text);
}
.hub-search-row svg {
width: 15px;
height: 15px;
flex: 0 0 15px;
margin-top: 2px;
fill: none;
stroke: currentColor;
stroke-width: 1.7;
}
.hub-search-row-text {
display: flex;
flex-direction: column;
gap: 2px;
min-width: 0;
flex: 1;
}
.hub-search-row-title {
font: 500 13px var(--font);
color: var(--hub-text);
line-height: 1.3;
}
.hub-search-row-subtitle {
font: 400 11px var(--font);
color: var(--hub-muted);
white-space: nowrap;
overflow: hidden;
text-overflow: ellipsis;
}
/* Card anchor glow */
@keyframes hub-card-glow {
0% {
box-shadow: 0 0 0 0 transparent;
}
30% {
box-shadow: 0 0 0 2px var(--hub-accent, #6e56cf), 0 0 16px rgba(110, 86, 207, 0.6);
}
75% {
box-shadow: 0 0 0 2px var(--hub-accent, #6e56cf), 0 0 16px rgba(110, 86, 207, 0.6);
}
100% {
box-shadow: 0 0 0 0 transparent;
}
}
.hub-card-glowing {
animation: hub-card-glow 2.2s cubic-bezier(0.16, 1, 0.3, 1) forwards !important;
}
.hub-group {
font: 700 10.5px var(--font);
letter-spacing: 0.12em;
text-transform: uppercase;
color: var(--hub-muted);
padding: 12px 10px 6px;
}
.hub-item {
display: flex;
align-items: center;
gap: 11px;
width: 100%;
padding: 0 12px;
height: 32px;
border-radius: 9px;
background: transparent;
color: #c7cad0;
font: 500 13.5px var(--font);
text-align: start;
}
.hub-item svg {
width: 17px;
height: 17px;
flex: 0 0 17px;
fill: none;
stroke: currentColor;
stroke-width: 1.7;
stroke-linecap: round;
stroke-linejoin: round;
opacity: 0.9;
}
.hub-item:hover:not(:disabled) {
background: rgba(255, 255, 255, 0.05);
transform: none;
}
.hub-item:active:not(:disabled) {
transform: none;
}
.hub-item.on {
background: rgba(255, 255, 255, 0.09);
color: var(--hub-text);
font-weight: 600;
}
.hub-side .spacer {
flex: 1 1 auto;
min-height: 12px;
}
.hub-status {
display: flex;
align-items: center;
gap: 8px;
padding: 10px 12px;
border-radius: 11px;
background: rgba(255, 255, 255, 0.05);
color: var(--hub-secondary);
font-size: 12px;
line-height: 1.3;
}
.hub-status .dot {
width: 7px;
height: 7px;
}
.hub-version {
color: var(--hub-muted);
font-size: 11px;
padding: 8px 12px 0;
}
/* ── Panel ────────────────────────────────────────────────────────────────── */
.hub-panel {
flex: 1 1 auto;
min-width: 0;
margin: 12px 12px 12px 0;
border-radius: 22px;
background: var(--hub-panel);
border: 1px solid var(--hub-line);
overflow: hidden;
display: flex;
flex-direction: column;
}
.hub-scroll {
flex: 1 1 auto;
overflow-y: auto;
padding: 24px 28px 28px;
}
.hub-page {
max-width: 1100px;
display: flex;
flex-direction: column;
gap: 18px;
}
/* The notch's pages keep their sections as they ship, at the panel's width. */
.hub-page #settings-root {
max-width: none;
margin: 0;
padding: 0;
}
/* ── Hero band ────────────────────────────────────────────────────────────── */
.hub-hero {
position: relative;
height: 170px;
border-radius: 18px;
overflow: hidden;
flex: 0 0 auto;
border: 1px solid var(--hero-line, rgba(255, 255, 255, 0.1));
}
.hub-hero.compact {
height: 116px;
}
.hub-hero canvas.backdrop,
.hub-hero canvas.troupe {
position: absolute;
inset: 0;
width: 100%;
height: 100%;
}
.hub-hero .copy {
position: relative;
display: flex;
flex-direction: column;
gap: 8px;
padding: 26px;
max-width: calc(100% - 340px);
height: 100%;
pointer-events: none;
}
.hub-hero.compact .copy {
padding: 20px;
}
.hub-hero .copy > * {
pointer-events: auto;
}
.hub-hero h1 {
font: 700 30px var(--font);
letter-spacing: -0.02em;
line-height: 1.1;
}
.hub-hero.compact h1 {
font-size: 24px;
}
.hub-hero p {
font-size: 14px;
color: #b7bbc2;
max-width: 420px;
}
.hub-hero .actions {
margin-top: auto;
display: flex;
gap: 8px;
align-items: center;
}
/* ── Cards, rows and controls of the Flow pages ───────────────────────────── */
.hub-label {
font: 700 11px var(--font);
letter-spacing: 0.12em;
text-transform: uppercase;
color: var(--hub-muted);
padding: 4px 2px 0;
}
.hub-card {
background: var(--hub-card);
border: 1px solid var(--hub-line);
border-radius: 14px;
padding: 18px;
display: flex;
flex-direction: column;
gap: 12px;
}
.hub-row {
display: flex;
align-items: center;
gap: 14px;
min-height: 30px;
}
.hub-row .text {
flex: 1 1 auto;
display: flex;
flex-direction: column;
gap: 3px;
min-width: 0;
}
.hub-row .title {
font: 600 13.5px var(--font);
}
.hub-row .detail,
.hub-note {
font-size: 12px;
color: var(--hub-secondary);
}
.hub-divider {
height: 1px;
background: var(--hub-line);
margin: 0 -2px;
}
.hub-keycap {
font: 600 12.5px var(--font);
padding: 0 10px;
height: 26px;
display: inline-flex;
align-items: center;
border-radius: 7px;
background: rgba(255, 255, 255, 0.08);
white-space: nowrap;
}
button.hub-btn {
border-radius: 10px;
padding: 8px 14px;
font: 600 12.5px var(--font);
background: rgba(255, 255, 255, 0.09);
color: var(--hub-text);
}
button.hub-btn.primary {
background: var(--hub-accent);
color: var(--hub-on-accent);
}
button.hub-btn.primary:hover:not(:disabled) {
background: #fdab63;
}
button.hub-btn.danger {
background: rgba(255, 69, 58, 0.14);
color: #ff8a80;
}
button.hub-btn.small {
padding: 5px 10px;
font-size: 12px;
}
button.hub-icon {
width: 30px;
height: 30px;
padding: 0;
border-radius: 8px;
display: inline-flex;
align-items: center;
justify-content: center;
background: rgba(255, 255, 255, 0.06);
color: #c7cad0;
}
button.hub-icon svg {
width: 15px;
height: 15px;
fill: none;
stroke: currentColor;
stroke-width: 1.8;
stroke-linecap: round;
stroke-linejoin: round;
}
.hub-input,
.hub-select,
.hub-textarea {
font: 400 13px var(--font);
color: var(--hub-text);
background: var(--hub-field);
border: 1px solid rgba(255, 255, 255, 0.08);
border-radius: 9px;
padding: 7px 10px;
outline: none;
}
.hub-input:focus,
.hub-textarea:focus,
.hub-select:focus {
border-color: rgba(251, 146, 60, 0.6);
}
.hub-textarea {
resize: vertical;
min-height: 80px;
width: 100%;
}
.hub-segmented {
display: inline-flex;
padding: 2px;
border-radius: 9px;
background: rgba(255, 255, 255, 0.06);
gap: 2px;
}
.hub-segmented button {
border-radius: 7px;
padding: 5px 14px;
background: transparent;
color: #c7cad0;
font: 500 12.5px var(--font);
}
.hub-segmented button.on {
background: rgba(255, 255, 255, 0.14);
color: var(--hub-text);
}
.hub-radio {
width: 17px;
height: 17px;
flex: 0 0 17px;
border-radius: 50%;
border: 1.5px solid #5a5f68;
}
.hub-radio.on {
border: 5px solid var(--hub-accent);
}
.hub-progress {
width: 120px;
height: 6px;
border-radius: 3px;
background: rgba(255, 255, 255, 0.1);
overflow: hidden;
}
.hub-progress > i {
display: block;
height: 100%;
background: var(--hub-accent);
border-radius: 3px;
}
.hub-ok {
color: var(--hub-green);
font-weight: 600;
display: inline-flex;
align-items: center;
gap: 6px;
}
.hub-warn {
border-radius: 12px;
padding: 12px 14px;
background: rgba(247, 179, 43, 0.1);
border: 1px solid rgba(247, 179, 43, 0.22);
color: #f5d28a;
font-size: 12.5px;
}
/* ── Dictation page ───────────────────────────────────────────────────────── */
.hub-columns {
display: grid;
grid-template-columns: minmax(0, 1fr) 270px;
gap: 20px;
align-items: start;
}
.hub-history-head {
display: flex;
align-items: center;
gap: 12px;
}
.hub-history-head .hub-input {
margin-inline-start: auto;
width: 210px;
}
.hub-day {
font: 600 12.5px var(--font);
color: var(--hub-secondary);
padding: 6px 2px 0;
}
.hub-entries {
background: var(--hub-card);
border: 1px solid var(--hub-line);
border-radius: 14px;
overflow: hidden;
}
.hub-entry {
display: flex;
gap: 18px;
padding: 16px 18px;
border-top: 1px solid var(--hub-line);
}
.hub-entry:first-child {
border-top: 0;
}
.hub-entry .when {
width: 70px;
flex: 0 0 70px;
display: flex;
flex-direction: column;
gap: 6px;
color: var(--hub-muted);
font-size: 12px;
}
.hub-tag {
display: inline-block;
font-size: 11px;
padding: 1px 7px;
border-radius: 5px;
background: rgba(255, 255, 255, 0.07);
color: var(--hub-secondary);
max-width: 100%;
overflow: hidden;
text-overflow: ellipsis;
white-space: nowrap;
align-self: flex-start;
}
.hub-entry .words {
flex: 1 1 auto;
font-size: 14px;
line-height: 1.5;
color: var(--hub-body);
white-space: pre-wrap;
word-break: break-word;
min-width: 0;
}
.hub-entry .tools {
display: flex;
gap: 6px;
align-self: flex-start;
opacity: 0.55;
}
.hub-entry:hover .tools {
opacity: 1;
}
.hub-big-number {
display: flex;
align-items: baseline;
gap: 9px;
}
.hub-big-number b {
font: 700 32px var(--font);
letter-spacing: -0.02em;
}
.hub-big-number span {
color: var(--hub-secondary);
font-size: 13px;
}
/* A card in a colour: the band's black and particles. */
.hub-glow {
position: relative;
border-radius: 14px;
overflow: hidden;
border: 1px solid var(--glow-line, rgba(255, 255, 255, 0.1));
}
.hub-glow canvas {
position: absolute;
inset: 0;
width: 100%;
height: 100%;
}
.hub-glow .inner {
position: relative;
padding: 20px;
display: flex;
flex-direction: column;
gap: 10px;
}
.hub-link {
background: none;
padding: 0;
color: var(--hub-accent);
font: 600 13px var(--font);
align-self: flex-start;
}
.hub-link:hover:not(:disabled) {
background: none;
text-decoration: underline;
}
.hub-empty {
display: flex;
flex-direction: column;
align-items: center;
gap: 10px;
padding: 26px 20px;
color: var(--hub-secondary);
font-size: 13.5px;
text-align: center;
}
.hub-empty canvas {
width: 64px;
height: 64px;
}
/* ── Statistics ───────────────────────────────────────────────────────────── */
.hub-stat-row {
display: grid;
grid-template-columns: repeat(4, minmax(0, 1fr));
gap: 14px;
}
.hub-stat {
background: var(--hub-card);
border: 1px solid var(--hub-line);
border-radius: 14px;
padding: 16px 18px;
display: flex;
flex-direction: column;
gap: 6px;
}
.hub-stat .label {
color: var(--hub-secondary);
font-size: 12.5px;
}
.hub-stat b {
font: 700 28px var(--font);
letter-spacing: -0.02em;
}
.hub-stat .sub {
color: var(--hub-muted);
font-size: 12px;
}
.hub-chart-row {
display: grid;
grid-template-columns: minmax(0, 1.6fr) minmax(0, 1fr);
gap: 14px;
align-items: start;
}
.hub-bars {
display: flex;
align-items: flex-end;
gap: 4px;
height: 180px;
border-bottom: 1px dashed rgba(251, 146, 60, 0.35);
}
.hub-bars i {
flex: 1 1 0;
border-radius: 4px 4px 1px 1px;
background: var(--hub-accent);
min-height: 0;
}
.hub-bars i.zero {
background: transparent;
}
.hub-axis {
display: flex;
justify-content: space-between;
color: var(--hub-muted);
font-size: 11px;
}
.hub-app-bar {
display: flex;
flex-direction: column;
gap: 5px;
}
.hub-app-bar .top {
display: flex;
justify-content: space-between;
font-size: 13px;
}
.hub-app-bar .top span {
color: var(--hub-secondary);
}
.hub-app-bar .track {
height: 5px;
border-radius: 3px;
background: rgba(255, 255, 255, 0.08);
overflow: hidden;
}
.hub-app-bar .track i {
display: block;
height: 100%;
background: var(--hub-accent);
border-radius: 3px;
}
/* ── Dictionary, snippets and styles ──────────────────────────────────────── */
.hub-chips {
display: flex;
flex-wrap: wrap;
gap: 8px;
}
.hub-chip {
display: inline-flex;
align-items: center;
gap: 6px;
padding: 5px 6px 5px 12px;
border-radius: 999px;
background: rgba(255, 255, 255, 0.07);
font-size: 13px;
}
.hub-chip button {
width: 20px;
height: 20px;
padding: 0;
border-radius: 50%;
background: transparent;
color: var(--hub-secondary);
display: inline-flex;
align-items: center;
justify-content: center;
}
.hub-chip button svg {
width: 12px;
height: 12px;
stroke: currentColor;
stroke-width: 2;
fill: none;
}
.hub-pair {
display: grid;
grid-template-columns: minmax(0, 1fr) 20px minmax(0, 1fr) auto;
gap: 10px;
align-items: center;
}
.hub-pair .arrow {
color: var(--hub-muted);
text-align: center;
}
.hub-list-row {
display: flex;
align-items: center;
gap: 12px;
padding: 10px 0;
border-top: 1px solid var(--hub-line);
}
.hub-list-row:first-child {
border-top: 0;
}
.hub-list-row .grow {
flex: 1 1 auto;
min-width: 0;
}
.hub-snippet-text {
color: var(--hub-secondary);
font-size: 12.5px;
white-space: pre-wrap;
overflow: hidden;
display: -webkit-box;
-webkit-line-clamp: 2;
-webkit-box-orient: vertical;
}
.dimmed {
opacity: 0.5;
}
/* ── Notetaker ────────────────────────────────────────────────────────────── */
.hub-notes {
display: grid;
grid-template-columns: 280px minmax(0, 1fr);
min-height: 420px;
border-radius: 14px;
overflow: hidden;
border: 1px solid var(--hub-line);
background: rgba(0, 0, 0, 0.18);
}
.hub-notes-list {
border-inline-end: 1px solid var(--hub-line);
padding: 14px;
display: flex;
flex-direction: column;
gap: 6px;
}
.hub-note-item {
text-align: start;
border-radius: 10px;
padding: 10px 12px;
background: transparent;
display: flex;
flex-direction: column;
gap: 3px;
color: var(--hub-text);
}
.hub-note-item.on {
background: rgba(255, 255, 255, 0.08);
}
.hub-note-item .t {
font: 600 13.5px var(--font);
overflow: hidden;
text-overflow: ellipsis;
white-space: nowrap;
}
.hub-note-item .m {
color: var(--hub-muted);
font-size: 12px;
}
.hub-note-detail {
padding: 20px 24px;
display: flex;
flex-direction: column;
gap: 14px;
min-width: 0;
}
.hub-note-detail h2 {
font: 700 22px var(--font);
letter-spacing: -0.01em;
}
.hub-speakers {
display: flex;
flex-wrap: wrap;
gap: 8px;
}
.hub-speaker {
display: inline-flex;
align-items: center;
gap: 7px;
padding: 4px 10px 4px 4px;
border-radius: 999px;
background: rgba(255, 255, 255, 0.06);
font-size: 13px;
color: var(--hub-text);
}
.hub-speaker .av {
width: 22px;
height: 22px;
border-radius: 50%;
display: inline-flex;
align-items: center;
justify-content: center;
font: 700 11px var(--font);
color: #0b0c0e;
}
.hub-line {
display: grid;
grid-template-columns: 56px minmax(0, 1fr);
gap: 12px;
padding: 6px 0;
}
.hub-line .ts {
color: var(--hub-muted);
font-size: 12px;
padding-top: 2px;
}
.hub-line .who {
font: 600 12.5px var(--font);
}
.hub-line .said {
font-size: 14px;
color: var(--hub-body);
line-height: 1.5;
}
.hub-todo {
display: flex;
gap: 10px;
align-items: flex-start;
font-size: 13.5px;
}
.hub-todo input {
margin-top: 3px;
accent-color: var(--hub-accent);
}
.hub-todo .who {
color: var(--hub-secondary);
font-size: 12px;
}
.hub-rec {
display: inline-flex;
width: 8px;
height: 8px;
border-radius: 50%;
background: var(--hub-red);
box-shadow: 0 0 6px rgba(255, 69, 58, 0.7);
}
@media (max-width: 1000px) {
.hub-columns {
grid-template-columns: minmax(0, 1fr);
}
.hub-stat-row {
grid-template-columns: repeat(2, minmax(0, 1fr));
}
.hub-chart-row {
grid-template-columns: minmax(0, 1fr);
}
.hub-hero .copy {
max-width: 100%;
}
}
.hub-note-detail > button {
align-self: flex-start;
}
/* ── Mail (classic Outlook) — MailHubPages.swift ──────────────────────────── */
.mail-stats {
display: grid;
grid-template-columns: repeat(3, minmax(0, 1fr));
gap: 12px;
}
.mail-stat {
font: 700 28px var(--font);
font-variant-numeric: tabular-nums;
}
.mail-journal {
gap: 12px;
align-items: center;
}
.mail-journal b {
font-weight: 600;
}
.mail-dim {
color: #8e939c;
white-space: nowrap;
overflow: hidden;
text-overflow: ellipsis;
}
.mail-dim.small {
font-size: 11.5px;
color: #6b7079;
}
.mail-rule-line {
gap: 8px;
}
.mail-if {
width: 44px;
flex: 0 0 auto;
}