The open-source AI receptionist for businesses. Answers every call, books the appointment and hands over to a person when needed. You own the code and the data.
TypeScript ai-receptionistanswering-serviceappointment-bookinglivekitlocal-firstmcpopen-sourceself-hostedsiptelephonytypescriptvoice-agentvoice-ai
Onboarding: delete dead CSS (PR 1945)
Janik2343a9435d3f
diff --git a/apps/web/src/onboarding/agent-setup.css b/apps/web/src/onboarding/agent-setup.cssindex 3424d3ca..353d287c 100644--- a/apps/web/src/onboarding/agent-setup.css+++ b/apps/web/src/onboarding/agent-setup.css@@ -63,9 +63,6 @@gap: 8px;font-weight: 600;}-.as-waiting {- color: var(--ink-muted);-}/* One part of the setup (This server, Workspace, Partner account): a group label over its steps, in sentence case. */.as-group {display: grid;diff --git a/apps/web/src/onboarding/onboarding.css b/apps/web/src/onboarding/onboarding.cssindex d1d6c9b0..87042cbe 100644--- a/apps/web/src/onboarding/onboarding.css+++ b/apps/web/src/onboarding/onboarding.css@@ -10,17 +10,10 @@.ob-prompt .ob2-row {flex: none;}-.ob2-dial .ob2-row {- font-size: 12.5px;- color: var(--ink-muted);-}.ob-label {font-size: 12.5px;font-weight: 500;}-.ob2-dial > b {- user-select: all;-}.ob .st-list {background: var(--surface);border-radius: var(--radius-lg);diff --git a/apps/web/src/styles.css b/apps/web/src/styles.cssindex 4fd5d24b..cbc87afd 100644--- a/apps/web/src/styles.css+++ b/apps/web/src/styles.css@@ -815,37 +815,11 @@ body { font-size: 13px; }.ob-lede { margin: 0; font-size: 15px; line-height: 23px; color: var(--ink-muted); max-width: 52ch; }.ob-choices { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 8px; }.ob-choices.three { grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); }-.ob-choice { display: flex; gap: 10px; align-items: flex-start; padding: 14px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-md); box-shadow: var(--shadow-card); cursor: pointer; }-.ob-choice.on { border-color: var(--action); background: var(--highlight); }-.ob-choice:focus-within { outline: 2px solid var(--focus); outline-offset: 2px; }-.ob-choice input { margin: 3px 0 0; accent-color: var(--action); }-.ob-choice b { display: block; font-size: 13.5px; font-weight: 600; }-.ob-choice span { font-size: 12.5px; color: var(--ink-muted); }-.ob-newnum { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; padding: 14px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-md); }-.ob-newnum span { font-size: 12.5px; color: var(--ink-muted); }-.ob-newnum b { font-family: var(--font-mono); font-size: 15px; }.ob .field label { font-size: 12.5px; font-weight: 500; }.ob-prompt { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 12px 14px; background: var(--surface); border: 1px solid var(--action); border-radius: var(--radius-md); font-size: 14px; font-weight: 500; }.ob-prompt.ok { justify-content: flex-start; border-color: var(--line); background: var(--highlight); color: var(--highlight-ink); }-.ob-key { border: 0; background: transparent; padding: 0; cursor: pointer; border-radius: var(--radius-xs); }-.ob-key .k-kbd { height: 24px; min-width: 24px; font-size: 12px; color: var(--ink); border-color: var(--line-soft); }-.ob-key:focus-visible { outline: 2px solid var(--focus); outline-offset: 2px; }@media (prefers-reduced-motion: no-preference) { .ob-prompt.shake { animation: obshake .3s; } }@keyframes obshake { 25% { transform: translateX(-4px); } 75% { transform: translateX(4px); } }-.ob-steps { display: flex; gap: 6px; }-.ob-dot { width: 18px; height: 3px; border-radius: 2px; background: var(--line); }-.ob-dot.on { background: var(--action); }-.ob-demo { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-lg); box-shadow: var(--shadow-card); overflow: hidden; min-height: 112px; }-.ob-row { display: grid; grid-template-columns: minmax(0, 130px) minmax(0, 120px) minmax(0, 1fr); gap: 12px; align-items: center; min-height: 36px; padding: 0 14px; font-size: 13px; }-.ob-row b { font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }-.ob-t { font-weight: 500; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }-.ob-s { color: var(--ink-muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }-.ob-row.is-cursor { background: var(--highlight); color: var(--highlight-ink); }-.ob-open { padding: 14px; display: grid; gap: 8px; }-.ob-open-h { display: flex; align-items: center; gap: 8px; font-size: 13px; }-.ob-open-h span { color: var(--ink-muted); }-.ob-open p { margin: 0; font-size: 14px; line-height: 21px; }-.ob-empty { padding: 40px 14px; text-align: center; font-size: 13px; color: var(--ink-muted); }.ob-badge { width: 48px; height: 48px; border-radius: var(--radius-full); display: grid; place-items: center; background: var(--highlight); color: var(--action); }/* The setup footer (onboarding/SetupFoot.tsx): one row that stays in view at the bottom of the content column while thestep scrolls under it; the ⏎ hint only with a keyboard's fine pointer, never on a touch phone. */@@ -855,7 +829,7 @@ body { font-size: 13px; }tooltips keep their keys where a pointer hovers; the "Next time, press …" tips stay off too (shell/useToast.ts). */@media (hover: none) and (pointer: coarse) { button .k-kbds { display: none; } }/* On a phone the long step count is out of sight only: screen readers still read it (the short one is aria-hidden). */-@media (max-width: 719px) { .ob h1 { font-size: 23px; line-height: 29px; } .ob-row { grid-template-columns: minmax(0, 1fr) auto; } .ob-s { display: none; } .ob-count { position: absolute; width: 1px; height: 1px; margin: 0; overflow: hidden; clip-path: inset(50%); white-space: nowrap; } .ob-top > b { display: none; } .ob-top .ws-mark { margin-right: auto; } .ob-count-short { display: inline; } .ob-top .ob-agent .ai-marks { display: none; } .ob-top .ob-agent .ai-spark { display: inline-block; } .ob-agent { min-width: 0; } .ob-agent .ai-label { display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; } .ob-top .ob-exit-full { display: none; } .ob-top .ob-exit-short { display: inline-flex; } .ob-count.ob-count-label { position: static; width: auto; height: auto; overflow: visible; clip-path: none; display: inline; margin-left: 0; } }+@media (max-width: 719px) { .ob h1 { font-size: 23px; line-height: 29px; } .ob-count { position: absolute; width: 1px; height: 1px; margin: 0; overflow: hidden; clip-path: inset(50%); white-space: nowrap; } .ob-top > b { display: none; } .ob-top .ws-mark { margin-right: auto; } .ob-count-short { display: inline; } .ob-top .ob-agent .ai-marks { display: none; } .ob-top .ob-agent .ai-spark { display: inline-block; } .ob-agent { min-width: 0; } .ob-agent .ai-label { display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; } .ob-top .ob-exit-full { display: none; } .ob-top .ob-exit-short { display: inline-flex; } .ob-count.ob-count-label { position: static; width: auto; height: auto; overflow: visible; clip-path: none; display: inline; margin-left: 0; } }.sum-grid { grid-template-columns: minmax(0, 1fr); }@@ -965,14 +939,14 @@ body { font-size: 13px; }/* ---- Level 1: raised cards (shadow, no border) ---- */.vn, .sumcard, .sec, .k-tl, .k-summary,-.ob-choice, .ob-demo, .ob-newnum, .opt { border: 0; box-shadow: var(--shadow-1); }+.opt { border: 0; box-shadow: var(--shadow-1); }.vn { background: var(--surface); }.vn-knob, .vn .vn-knob { box-shadow: 0 0 0 3px var(--surface); }.vn-speed { background: var(--surface-hover); border: 0; box-shadow: none; }.vn-speed:hover { background: var(--surface-strong); }-.sumcard, .sec, .opt, .ob-choice, .ob-newnum, .ob-demo { background: var(--surface); }+.sumcard, .sec, .opt { background: var(--surface); }.sumcard, .sec { padding: 16px; gap: 12px; }-.opt.on, .ob-choice.on { background: var(--highlight); box-shadow: var(--ring-action), var(--shadow-1); }+.opt.on { background: var(--highlight); box-shadow: var(--ring-action), var(--shadow-1); }.ob-prompt { border: 0; box-shadow: var(--ring-action), var(--shadow-1); }.ob-prompt.ok { box-shadow: none; }@@ -995,7 +969,7 @@ body { font-size: 13px; }/* ---- Interaction states: one hover, one selected, everywhere ---- */.row:hover, .nav-item:hover,.k-btn-ghost:hover, .k-btn-secondary:hover, .ib-tab:hover { background: var(--surface-hover); }-.row.is-cursor, .ob-row.is-cursor { background: var(--highlight); box-shadow: inset 2px 0 0 var(--action); }+.row.is-cursor { background: var(--highlight); box-shadow: inset 2px 0 0 var(--action); }.nav-item[aria-current="page"], .ib-tab[aria-selected="true"], .k-cmd-item[aria-selected="true"] { background: var(--highlight); color: var(--highlight-ink); }.k-cmd-item[aria-selected="true"] .k-icon { color: var(--highlight-ink); }.r-acts { background: transparent; }@@ -1028,14 +1002,14 @@ body { font-size: 13px; }span.mono, .facts dd.mono, .ib-tab .n, .ib-mode .n, .nav-n, .cv-who .sub, .k-meta, .cv .k-meta, .k-event-in time { font-size: 11px; }.sum-h small, .tr-h span, .compose small, .cv .k-event, .r-quiet, .ib-search-n { font-size: 11px; }/* 12: secondary text */-.help, .page-head p, .sec > p, .opt span, .ob-choice span, .ws-me small,-.k-cmd-foot, .help-foot, .side-facts, .ob-newnum span { font-size: 12px; }+.help, .page-head p, .sec > p, .opt span, .ws-me small,+.k-cmd-foot, .help-foot, .side-facts { font-size: 12px; }/* 13: body / UI */-.row, .facts, .field label, .opt b, .help-row, .ib-mode, .ob-choice b,-.ob-foot .k-btn, .empty, .ws-me b, .cv .k-bubble, .ob-row, .ob-open-h { font-size: 13px; }+.row, .facts, .field label, .opt b, .help-row, .ib-mode,+.ob-foot .k-btn, .empty, .ws-me b, .cv .k-bubble { font-size: 13px; }.sum-h > b, .tr-h b { font-size: 13px; font-weight: 600; }/* 14: titles */-.pagebar b, .sec h2, .ws b, .help-head b, .empty b, .sum-text, .ob-top > b, .ob-open p { font-size: 14px; }+.pagebar b, .sec h2, .ws b, .help-head b, .empty b, .sum-text, .ob-top > b { font-size: 14px; }/* 16: page / call title, overlay search inputs */.cv-who h1, .k-cmd-search input { font-size: 16px; }@@ -1382,86 +1356,13 @@ mark { background: rgb(250 204 21 / 0.38); color: inherit; border-radius: 2px; p/* ===== Onboarding ===== *//* ===== Onboarding v2 (adds to the existing .ob-* rules) ===== */-.ob2-grow { flex: 1; min-width: 0; }.ob2-row { display: flex; gap: 8px; align-items: center; }.ob2-note { margin: 0; font-size: 12px; line-height: 18px; color: var(--ink-muted); }.ob2-hint { font-size: 12px; color: var(--ink-muted); }.ob2-foot-r { display: flex; flex-wrap: wrap; justify-content: flex-end; align-items: center; gap: 12px; margin-left: auto; min-width: 0; }-/* crawl log */-.ob2-log { display: grid; gap: 6px; padding: 12px 14px; background: var(--surface); border-radius: var(--radius-md); box-shadow: var(--shadow-card); font-size: 13px; }-.ob2-log-line { display: flex; align-items: center; gap: 8px; color: var(--ink-muted); }-.ob2-log-line.ok { color: var(--ink); }-.ob2-spin { flex: none; width: 12px; height: 12px; margin: 1px; border-radius: var(--radius-full); border: 1.5px solid var(--line-soft); border-top-color: var(--action); }-@media (prefers-reduced-motion: no-preference) { .ob2-spin { animation: ob2spin .7s linear infinite; } }-@keyframes ob2spin { to { transform: rotate(360deg); } }--/* found facts as editable chips */-.ob2-found { display: grid; gap: 14px; padding: 14px; background: var(--surface); border-radius: var(--radius-lg); box-shadow: var(--shadow-card); }-.ob2-group { display: grid; gap: 6px; }-.ob2-group > b { font-size: 12px; font-weight: 500; color: var(--ink-muted); }-.ob2-chips { display: flex; flex-wrap: wrap; gap: 6px; }-.ob2-chip { display: inline-flex; align-items: center; gap: 4px; height: 26px; padding: 0 4px 0 10px; border-radius: var(--radius-full); background: var(--surface-hover); font-size: 12.5px; white-space: nowrap; }-.ob2-chip-x { display: grid; place-items: center; width: 18px; height: 18px; border: 0; padding: 0; border-radius: var(--radius-full); background: transparent; color: var(--ink-muted); font: inherit; font-size: 14px; line-height: 1; cursor: pointer; }-.ob2-chip-x:hover { background: var(--line); color: var(--ink); }-.ob2-chip-x:focus-visible, .ob2-seg:focus-visible, .ob2-provider:focus-visible { outline: 2px solid var(--focus); outline-offset: 2px; }-.ob2-chip-add { width: 110px; height: 26px; padding: 0 10px; border: 1px dashed var(--line-soft); border-radius: var(--radius-full); background: transparent; font: inherit; font-size: 12.5px; color: var(--ink); }-.ob2-chip-add::placeholder { color: var(--ink-muted); opacity: 1; }-.ob2-chip-add:focus { outline: none; border-style: solid; border-color: var(--focus); }--/* calendar providers + calendars */-.ob2-providers { display: grid; gap: 8px; }-.ob2-provider { display: flex; align-items: center; gap: 12px; height: 44px; padding: 0 14px; border: 0; border-radius: var(--radius-md); background: var(--surface); color: var(--ink); box-shadow: var(--shadow-card); font: inherit; font-size: 13.5px; font-weight: 500; text-align: left; cursor: pointer; }-.ob2-provider:hover { background: var(--surface-hover); }-.ob2-provider.primary { box-shadow: var(--ring-action), var(--shadow-card); }-.ob2-provider:disabled { cursor: default; color: var(--ink-muted); }-.ob2-mark { flex: none; width: 24px; height: 24px; border-radius: var(--radius-xs); display: grid; place-items: center; background: var(--highlight); color: var(--highlight-ink); font-size: 12px; font-weight: 600; }-.ob2-card { background: var(--surface); border-radius: var(--radius-lg); box-shadow: var(--shadow-card); overflow: hidden; }-.ob2-card-h { display: flex; align-items: center; gap: 10px; padding: 12px 14px; border-bottom: 1px solid var(--line); }-.ob2-card-h .ob2-grow { display: grid; line-height: 18px; }-.ob2-card-h .ob2-grow b { font-size: 13.5px; font-weight: 600; }-.ob2-card-h .ob2-grow span { font-size: 12px; color: var(--ink-muted); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }-.ob2-cal-row { display: grid; grid-template-columns: minmax(0, 1fr) 104px 64px; gap: 8px; align-items: center; min-height: 40px; padding: 0 14px; font-size: 13px; }-.ob2-cal-row > span:not(.ob2-cal-name) { display: flex; justify-content: center; }-.ob2-cal-head { min-height: 30px; font-size: 11px; font-weight: 500; letter-spacing: .04em; text-transform: uppercase; color: var(--ink-muted); }-.ob2-cal-head > span:first-child { justify-content: flex-start; }-.ob2-cal-name { display: flex; align-items: center; gap: 10px; min-width: 0; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }-.ob2-dot { flex: none; width: 10px; height: 10px; border-radius: 3px; background: var(--ink-muted); }-.ob2-dot.info { background: var(--info); }-.ob2-dot.signal { background: var(--signal); }-.ob2-dot.warning { background: var(--warning); }-.ob2-radio { margin: 0; width: 16px; height: 16px; accent-color: var(--action); }--/* voice cards */-.ob2-voice { align-items: center; }-.ob2-voice .ob2-grow { display: grid; }-.ob2-play.on { color: var(--ink); background: var(--surface-hover); }--/* carrier segments + dial code */-.ob2-seg { height: 30px; padding: 0 12px; border: 1px solid var(--line); border-radius: var(--radius-full); background: var(--surface); color: var(--ink-muted); font: inherit; font-size: 12.5px; font-weight: 500; cursor: pointer; }-.ob2-seg:hover { color: var(--ink); }-.ob2-seg.on { background: var(--action); border-color: var(--action); color: var(--on-action); }-.ob2-dial { display: grid; justify-items: center; gap: 6px; padding: 20px 16px; background: var(--surface); border-radius: var(--radius-lg); box-shadow: var(--shadow-card); text-align: center; }-.ob2-dial > span { font-size: 12px; color: var(--ink-muted); max-width: 44ch; }-.ob2-dial > b { font-family: var(--font-mono); font-size: 24px; line-height: 30px; font-weight: 500; letter-spacing: .02em; }-.ob2-dial .k-btn, .ob2-dial .ob-prompt { margin-top: 8px; }-.ob2-dial .ob-prompt { width: 100%; box-sizing: border-box; text-align: left; }--/* test call transcript */-.ob2-tx { display: grid; gap: 10px; padding: 14px; }-.ob2-line { display: grid; gap: 2px; max-width: 86%; }-.ob2-line.you { justify-self: end; text-align: right; }-.ob2-who { font-size: 11.5px; font-weight: 500; color: var(--speaker-ai); }-.ob2-line.you .ob2-who { color: var(--speaker-caller); }-.ob2-line p { margin: 0; padding: 7px 11px; border-radius: var(--radius-bubble); background: var(--bubble-in); font-size: 13.5px; line-height: 20px; text-align: left; }-.ob2-line.you p { background: var(--bubble-out); }-.ob2-caret { display: inline-block; width: 2px; height: 14px; margin-left: 2px; vertical-align: -2px; background: currentColor; }-@media (prefers-reduced-motion: no-preference) { .ob2-caret { animation: k-blink 1s step-end infinite; } }-@media (max-width: 719px) {.ob2-row { flex-wrap: wrap; }- .ob2-cal-row { grid-template-columns: minmax(0, 1fr) 56px 44px; }- .ob2-cal-head { font-size: 10px; letter-spacing: 0; text-transform: none; }.ob2-hint { display: none; }}