/* ============================================================
   AI Receptionist demo (Demos page, tile 01): one phone, three states.
   - Before: an iOS contact card (logo, name, hours, one green Call button) and a grouped list of things you could ask. Neutral grey.
   - In the call: the customer-care call reference, nothing added to the phone: light screen, one feathered blue card holding the
     name, the caption and the orb, and the three round controls. The suggestions, the typing box and the mic status sit beside
     the phone (see the stage layout in demo-frames.css).
   - After: an iOS grouped summary on neutral grey, with the steps ticking off one by one.
   The app is drawn 300px wide and scaled to the phone's screen. See scripts/receptionist-demo.js.
   ============================================================ */
.df-stage.rc-stage { gap: 22px; }
.rc-stage > .df-hint { display: none; }

.rc {
  --r-ink: #111522; --r-mute: #7d8398; --r-line: rgba(17, 21, 34, 0.08); --r-green: #2fb866; --r-ease: cubic-bezier(0.23, 1, 0.32, 1);
  position: absolute; left: 0; top: 0; width: 300px; transform-origin: 0 0; display: flex; flex-direction: column; overflow: hidden; color: var(--r-ink);
  background: #f2f2f6; transition: background-color 400ms ease;
  font-family: var(--font-body, 'Switzer', 'Segoe UI', sans-serif); font-size: 13px; line-height: 1.35; letter-spacing: -0.005em; -webkit-font-smoothing: antialiased;
}
.rc[data-phase="call"], .rc[data-phase="ending"] { background: #f4f7fc; }
.rc [hidden] { display: none !important; }
:where(.rc) button { font: inherit; color: inherit; border: 0; background: none; padding: 0; text-align: left; cursor: pointer; touch-action: manipulation; -webkit-tap-highlight-color: transparent; }
.rc .rc-i { width: 20px; height: 20px; flex: none; display: block; }
@keyframes rc-rise { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }
@keyframes rc-fade { from { opacity: 0; } to { opacity: 1; } }
@keyframes rc-spin { to { transform: rotate(360deg); } }
@keyframes rc-float { 0%, 100% { transform: translate(0, 0) scale(1); } 50% { transform: translate(5%, -4%) scale(1.08); } }
@keyframes rc-drift { 0%, 100% { transform: translate(0, 0); } 50% { transform: translate(-6%, 5%); } }
@keyframes rc-ch { from { opacity: 0; filter: blur(5px); } to { opacity: 1; filter: blur(0); } }

.rc-sb { flex: none; height: 46px; }
.rc-view { position: relative; z-index: 2; flex: 1; min-height: 0; display: flex; flex-direction: column; }
.rc-home { position: absolute; left: 50%; bottom: 10px; width: 104px; height: 4px; margin-left: -52px; border-radius: 3px; background: #0f1b2e; z-index: 9; pointer-events: none; }

/* ---------- before the call: contact card + grouped list ---------- */
.rc-pre { flex: 1; min-height: 0; display: flex; flex-direction: column; padding: 4px 16px 24px; animation: rc-fade 400ms ease both; }
.rc-ct { display: flex; flex-direction: column; align-items: center; text-align: center; }
.rc-av { width: 74px; height: 74px; border-radius: 22px; background: #0e1116; display: inline-flex; align-items: center; justify-content: center; box-shadow: 0 14px 24px -14px rgba(14, 17, 22, 0.7); }
.rc-av img { width: 46px; height: auto; display: block; }
.rc-h { margin: 12px 0 0; font-size: 26px; font-weight: 600; letter-spacing: -0.035em; line-height: 1.1; }
.rc-sub { margin: 3px 0 0; font-size: 12.5px; color: var(--r-mute); }
.rc-open { margin: 9px 0 0; display: inline-flex; align-items: center; gap: 7px; font-size: 12px; font-weight: 500; color: #4a5168; }
.rc-open i { width: 6px; height: 6px; border-radius: 50%; background: #f29a45; box-shadow: 0 0 0 3px rgba(242, 154, 69, 0.22); }
.rc-call { width: 100%; height: 50px; margin-top: 16px; border-radius: 15px; background: #2fb866; color: #fff; display: inline-flex; align-items: center; justify-content: center; gap: 9px; font-size: 15px; font-weight: 500; letter-spacing: -0.015em;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.28), 0 12px 20px -14px rgba(47, 184, 102, 0.9); transition: transform 140ms ease, filter 200ms ease; }
.rc-call:hover { filter: brightness(1.05); } .rc-call:active { transform: scale(0.98); }
.rc-call .rc-i { width: 17px; height: 17px; }
.rc-gt { margin: 18px 0 7px; padding-left: 4px; font-size: 11px; font-weight: 500; letter-spacing: 0.06em; text-transform: uppercase; color: var(--r-mute); }
.rc-grp { background: #fff; border-radius: 16px; overflow: hidden; }
.rc-row { width: 100%; display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 12px 14px; font-size: 13px; font-weight: 400; color: var(--r-ink); transition: background-color 160ms ease; }
.rc-row + .rc-row { border-top: 1px solid var(--r-line); }
.rc-row:hover { background: #f6f6f9; } .rc-row:active { background: #eeeef3; }
.rc-row .rc-i { width: 15px; height: 15px; color: #b4b8c6; }
.rc-fine { margin: auto 0 0; padding-top: 12px; text-align: center; font-size: 10.5px; color: #8c92a6; }

/* ---------- in the call (the reference) ---------- */
.rc-call-v { flex: 1; min-height: 0; display: flex; flex-direction: column; animation: rc-fade 350ms ease both; }
.rc-card { position: relative; flex: 1; min-height: 0; margin: 2px 8px 0; border-radius: 54px; display: flex; flex-direction: column; align-items: center; color: #fff; isolation: isolate; }
.rc-cbg { position: absolute; inset: 3px; z-index: -1; border-radius: 52px; filter: blur(12px);
  background: radial-gradient(80% 30% at 50% 3%, rgba(255, 255, 255, 0.95) 0%, rgba(255, 255, 255, 0) 100%), radial-gradient(78% 30% at 50% 100%, rgba(8, 16, 132, 0.98), rgba(8, 16, 132, 0) 100%),
    linear-gradient(180deg, #d4f2ff 0%, #8edaff 15%, #52b2fb 38%, #2370e8 64%, #0b2aa8 100%); }
.rc-who { padding-top: 16px; display: flex; flex-direction: column; align-items: center; text-align: center; }
.rc-wav { width: 38px; height: 38px; border-radius: 50%; display: grid; place-items: center; background: radial-gradient(circle at 32% 24%, #2a3350 0%, #0b0e18 72%); box-shadow: 0 6px 14px -6px rgba(10, 30, 110, 0.55), 0 0 0 2px rgba(255, 255, 255, 0.7); } .rc-wav img { width: 23px; height: auto; display: block; }
.rc-who b { display: block; margin-top: 7px; font-size: 16px; font-weight: 600; letter-spacing: -0.02em; color: #274c94; }
.rc-tm { display: block; margin-top: 1px; font-size: 12.5px; font-weight: 500; color: #4f7fc8; font-variant-numeric: tabular-nums; opacity: 0.95; }
.rc-tx { flex: 1; min-height: 0; align-self: stretch; padding: 0 22px 8%; display: flex; align-items: center; justify-content: center; }
.rc-lines { width: 100%; display: grid; }
.rc-ln { grid-area: 1 / 1; align-self: center; margin: 0; text-align: center; font-size: 22px; font-weight: 600; letter-spacing: -0.035em; line-height: 1.18; color: #fff; text-shadow: 0 1px 14px rgba(10, 50, 170, 0.3);
  transition: opacity 400ms var(--r-ease), transform 400ms var(--r-ease), filter 400ms var(--r-ease); overflow-wrap: anywhere; }
.rc-ln::before { content: "“"; }
.rc-ln.is-you { color: rgba(255, 255, 255, 0.82); }
.rc-ln.is-out { opacity: 0; transform: translateY(-12px); filter: blur(6px); pointer-events: none; }
.rc-ln .ww { display: inline-block; white-space: nowrap; }
.rc-ln .ch { display: inline-block; animation: rc-ch 300ms var(--r-ease) backwards; }
.rc-orbwrap { position: relative; flex: none; width: 104px; height: 104px; margin: 0 auto 36px; display: grid; place-items: center; }
.rc-orbwrap::before { content: ""; position: absolute; inset: -34%; border-radius: 50%; background: radial-gradient(closest-side, rgba(120, 190, 255, 0.42), rgba(120, 190, 255, 0) 100%); }
.rc-orb { --a: 0.05; position: relative; width: 100%; height: 100%; border-radius: 50%; transform: scale(calc(1 + var(--a) * 0.16)); transition: transform 90ms linear; filter: blur(0.8px);
  background: radial-gradient(circle at 70% 78%, rgba(120, 140, 255, 0.5), transparent 55%), radial-gradient(circle at 50% 50%, #0a2ab8 0%, #0b3fdc 58%, #1a63ff 100%);
  box-shadow: 0 0 calc(24px + var(--a) * 34px) rgba(70, 180, 255, calc(0.45 + var(--a) * 0.4)), inset -7px -9px 20px rgba(0, 20, 120, 0.55), inset 5px 5px 14px rgba(160, 230, 255, 0.4); overflow: hidden; }
.rc-orb i { position: absolute; border-radius: 50%; filter: blur(8px); }
.rc-orb i:nth-child(1) { width: 62%; height: 62%; left: 6%; top: 14%; background: radial-gradient(circle, #20e6ff 0%, rgba(32, 230, 255, 0) 72%); animation: rc-float 6s ease-in-out infinite; }
.rc-orb i:nth-child(2) { width: 46%; height: 46%; right: 4%; top: 30%; background: radial-gradient(circle, #2f6bff 0%, rgba(47, 107, 255, 0) 70%); animation: rc-drift 7.5s ease-in-out infinite; }
.rc-orb i:nth-child(3) { width: 38%; height: 38%; left: 30%; bottom: 2%; background: radial-gradient(circle, rgba(190, 240, 255, 0.85) 0%, rgba(190, 240, 255, 0) 70%); animation: rc-float 9s ease-in-out infinite reverse; }
.rc[data-orb="speaking"] .rc-orb i { animation-duration: 3s; } .rc[data-orb="thinking"] .rc-orb i { animation-duration: 1.8s; }
.rc-ctl { flex: none; margin: 14px 16px 34px; padding: 9px 12px; display: flex; align-items: center; justify-content: space-between; border-radius: 999px; background: #ebecf1; }
.rc-cb { width: 58px; height: 58px; border-radius: 50%; background: #e1e2e8; display: inline-flex; align-items: center; justify-content: center; color: #5d6378; transition: transform 140ms ease, background-color 200ms ease, opacity 200ms ease; }
.rc-cb:hover { background: #d8dae2; } .rc-cb:active { transform: scale(0.94); } .rc-cb .rc-i { width: 24px; height: 24px; }
.rc-cb.is-on { background: #111522; color: #fff; } .rc-cb.is-dim { opacity: 0.7; }
.rc-end { width: 68px; height: 68px; background: linear-gradient(160deg, #e8505a 0%, #f6a45f 100%); color: #fff; box-shadow: 0 14px 22px -12px rgba(232, 80, 90, 0.85), inset 0 1px 0 rgba(255, 255, 255, 0.45); } .rc-end:hover { background: linear-gradient(160deg, #ee5b64 0%, #f8af6c 100%); }
.rc-end .rc-i { width: 28px; height: 28px; fill: currentColor; stroke: none; }
.rc[data-phase="ending"] .rc-card { opacity: 0.6; transition: opacity 500ms ease; }

/* ---------- after the call: neutral grouped summary ---------- */
.rc-after { flex: 1; min-height: 0; display: flex; flex-direction: column; padding: 2px 16px 26px; animation: rc-fade 450ms ease both; }
.rc-ah { display: flex; align-items: center; gap: 11px; margin-bottom: 14px; }
.rc-chk { width: 36px; height: 36px; border-radius: 50%; flex: none; display: inline-flex; align-items: center; justify-content: center; background: #dff5e8; color: var(--r-green); } .rc-chk .rc-i { width: 17px; height: 17px; stroke-width: 2.4; }
.rc-ah h5 { margin: 0; font-size: 20px; font-weight: 600; letter-spacing: -0.035em; line-height: 1.1; }
.rc-ah p { margin: 2px 0 0; font-size: 12px; color: var(--r-mute); font-variant-numeric: tabular-nums; }
.rc-sum { background: #fff; border-radius: 16px; overflow: hidden; animation: rc-rise 450ms var(--r-ease) both; }
.rc-sum-r { display: flex; align-items: baseline; justify-content: space-between; gap: 14px; padding: 10px 14px; }
.rc-sum-r + .rc-sum-r { border-top: 1px solid var(--r-line); }
.rc-sum-r span { flex: none; font-size: 12.5px; color: var(--r-mute); } .rc-sum-r b { font-size: 13px; font-weight: 500; text-align: right; letter-spacing: -0.01em; }
.rc-sum-r.is-out b { color: #1f9d55; font-weight: 600; }
.rc-steps { list-style: none; margin: 0; padding: 0; background: #fff; border-radius: 16px; overflow: hidden; }
.rc-steps li { display: flex; align-items: center; gap: 12px; padding: 10px 14px; opacity: 0.3; transform: translateY(5px); transition: opacity 400ms ease, transform 400ms cubic-bezier(0.23, 1, 0.32, 1); }
.rc-steps li + li { border-top: 1px solid var(--r-line); }
.rc-steps li.is-on { opacity: 1; transform: none; }
.rc-sp2 { position: relative; width: 34px; height: 34px; border-radius: 50%; flex: none; display: inline-flex; align-items: center; justify-content: center; background: #f0f1f5; color: #4a5168; }
.rc-sp2 .rc-i { width: 16px; height: 16px; }
.rc-steps li.is-on:not(.is-done) .rc-sp2::before { content: ""; position: absolute; inset: -3px; border-radius: 50%; border: 2px solid transparent; border-top-color: #8a90a6; animation: rc-spin 700ms linear infinite; }
.rc-ok { position: absolute; right: -3px; bottom: -3px; width: 16px; height: 16px; border-radius: 50%; background: var(--r-green); color: #fff; display: inline-flex; align-items: center; justify-content: center; transform: scale(0.6); opacity: 0; transition: transform 320ms var(--r-ease), opacity 200ms ease; box-shadow: 0 0 0 2px #fff; }
.rc-ok .rc-i { width: 9px; height: 9px; stroke-width: 3; } .rc-steps li.is-done .rc-ok { transform: none; opacity: 1; }
.rc-st { min-width: 0; } .rc-st b { display: block; font-size: 13px; font-weight: 400; letter-spacing: -0.01em; line-height: 1.25; } .rc-st b b { display: inline; font-weight: 600; }
.rc-st i { display: block; margin-top: 1px; font-style: normal; font-size: 11.5px; color: var(--r-mute); line-height: 1.3; }
.rc-again { margin-top: auto; padding-top: 12px; }
.rc-call.is-dark { margin-top: 0; background: #111522; color: #fff; box-shadow: none; } .rc-call.is-dark .rc-i { color: #fff; }

/* ============================================================
   The stage: a plain heading, the Customer / Business switch, and three cards around the hand-held phone, laid out like the
   reference (left card, a picture box in the middle, two stacked cards on the right). The cards keep their size; only what is
   inside them changes. The picture box is the exact shape of the two pictures (1182 x 1331).
   ============================================================ */
.dv-space[data-frame="rcx"] { height: auto; margin-top: clamp(64px, 6vw, 96px); margin-bottom: clamp(100px, 11vw, 170px); }
.dv-space[data-frame="rcx"] .df-stage { width: 100%; gap: 14px; }
.dv-space[data-frame="rcx"] .df-sample { top: -10px; margin-bottom: 4px; }
.df-win-screen.rcx-root { position: static; inset: auto; width: 100%; overflow: visible; border-radius: 0; display: flex; justify-content: center; }
.rcx { --rcx: cubic-bezier(0.23, 1, 0.32, 1); --gw: min(calc(100vw - 48px), 1520px); --gap: calc(var(--gw) * 0.015); --cw: max(360px, min(calc(var(--gw) * 0.38), calc((100svh - 150px) * 0.888))); --bh: calc(var(--cw) * 1331 / 1182);
  width: var(--gw); padding: 0; margin: 0; display: flex; flex-direction: column; align-items: center; gap: clamp(18px, 2vw, 30px); color: #17181c; font-family: var(--font-body, 'Switzer', 'Segoe UI', sans-serif); -webkit-font-smoothing: antialiased;
  transform: scale(var(--g, 1)); transform-origin: 50% 30%; will-change: transform; }
.rcx [hidden] { display: none !important; }
.rcx-head { display: flex; flex-direction: column; align-items: center; gap: clamp(14px, 1.4vw, 22px); text-align: center; }
.rcx-h { margin: 0; font-size: clamp(30px, 3.6vw, 52px); font-weight: 400; letter-spacing: -0.03em; line-height: 1.05; color: #17181c; }
.rcx-grid { width: 100%; display: grid; grid-template-columns: minmax(0, 1fr) var(--cw) minmax(0, 1fr); grid-template-rows: var(--bh); column-gap: var(--gap); align-items: stretch; }
.rcx-nar { grid-column: 1; margin-left: 16px; display: flex; flex-direction: column; gap: clamp(16px, 1.6vw, 24px); }
.rcx-mid { grid-column: 2; display: flex; }
.rcx-col { grid-column: 3; margin-right: 16px; display: grid; grid-template-rows: auto minmax(0, 1fr); gap: var(--gap); min-height: 0; container-type: size; }
.rcx-card { min-height: 0; overflow: hidden; padding: clamp(20px, 1.9vw, 30px); border-radius: clamp(20px, 1.8vw, 28px); background: linear-gradient(180deg, #ffffff 0%, #f8f9fd 100%); box-shadow: 0 0 0 1px rgba(20, 30, 70, 0.06), 0 1px 2px rgba(20, 30, 70, 0.04), 0 28px 50px -34px rgba(30, 60, 140, 0.28); }
.rcx-k { margin: 0 0 12px; font-size: 12px; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; color: #8c93a8; }
.rcx-t { margin: 0; font-size: clamp(20px, 1.75vw, 27px); font-weight: 500; letter-spacing: -0.025em; line-height: 1.14; color: #17181c; } .rcx-t.sm { font-size: clamp(18px, 1.45vw, 22px); }
.rcx-p { margin: 10px 0 0; font-size: clamp(14px, 1.05vw, 16px); line-height: 1.5; color: #6a7186; }
.rcx-nb { min-height: clamp(150px, 12.5vw, 190px); transition: opacity 380ms ease, transform 380ms var(--rcx); } .rcx-nb.is-out { opacity: 0; transform: translateY(-8px); transition-duration: 220ms; } .rcx-nb.is-pre { opacity: 0; transform: translateY(10px); transition: none; }
.rcx-st { list-style: none; margin: 0; padding: 0; display: flex; gap: 0; }
.rcx-st li { position: relative; flex: 1; display: flex; flex-direction: column; align-items: center; gap: 6px; padding: 8px 4px; color: #98a0b6; transition: color 300ms ease; }
.rcx-st li i { width: 10px; height: 10px; flex: none; border-radius: 50%; font-style: normal; font-size: 0; background: rgba(60, 100, 200, 0.15); transition: background-color 300ms ease, transform 300ms cubic-bezier(0.23, 1, 0.32, 1), box-shadow 300ms ease; }
.rcx-st li:not(:last-child)::after { content: ""; position: absolute; left: calc(50% + 9px); top: 12px; width: calc(100% - 18px); height: 2px; border-radius: 1px; background: rgba(60, 100, 200, 0.12); }
.rcx-sn { display: grid; gap: 0; text-align: center; min-width: 0; }
.rcx-sn b { font-size: 12px; font-weight: 600; letter-spacing: 0.01em; line-height: 1.25; }
.rcx-sn em { font-style: normal; font-size: 0; line-height: 0; max-height: 0; overflow: hidden; color: #6a7186; transition: font-size 300ms ease, line-height 300ms ease, max-height 300ms ease; }
.rcx-st li.is-on { color: #17181c; } .rcx-st li.is-on i { background: #17181c; transform: scale(1.35); box-shadow: 0 0 0 3px rgba(20, 19, 17, 0.12); } .rcx-st li.is-on .rcx-sn em { font-size: 11px; line-height: 1.35; max-height: 32px; }
.rcx-st li.is-done { color: #6a7186; } .rcx-st li.is-done i { background: #1f9d55; }
.rcx-st li.is-done:not(:last-child)::after { background: #1f9d55; }
.rcx-ctl { display: flex; flex-direction: column; gap: 12px; } .rcx-ctl .rcx-ctlh { font-size: 13px; line-height: 1.4; }
.rcx-ask { display: flex; flex-direction: column; gap: 12px; } .rcx-ask .rcx-p { margin: 0; } .rc-says { flex: 1; min-height: 0; overflow-y: auto; scrollbar-width: none; } .rc-says::-webkit-scrollbar { display: none; }
.rcx-empty { color: #9aa0b4; }
/* the phone: the background fills the box to its edges, the hand-held phone is zoomed in on top, the app sits behind its screen */
.rcx-pw { --z: 1.2; --s: calc(var(--cw) * var(--z) / 1182); position: relative; width: var(--cw); height: var(--bh); border-radius: clamp(20px, 1.8vw, 28px); overflow: hidden; background: #5b86d4; box-shadow: 0 0 0 1px rgba(20, 30, 70, 0.06), 0 28px 50px -34px rgba(30, 60, 140, 0.35); }
.rcx-bgimg { position: absolute; inset: 0; width: 100%; height: 100%; max-width: none; max-height: none; object-fit: cover; pointer-events: none; user-select: none; }
.rcx-phone, .rcx-status, .rcx-hole { position: absolute; left: calc(var(--cw) / 2 - 592 * var(--s)); top: calc(var(--bh) / 2 - 590 * var(--s)); width: calc(1182 * var(--s)); height: calc(1331 * var(--s)); max-width: none; max-height: none; user-select: none; }
.rcx-hole { -webkit-mask: url(../images/rc2-hole.webp?v=3) 0 0 / 100% 100% no-repeat; mask: url(../images/rc2-hole.webp?v=3) 0 0 / 100% 100% no-repeat; }
.rcx-screen { position: absolute; left: calc(354 * var(--s)); top: calc(93 * var(--s)); width: calc(471 * var(--s)); height: calc(997 * var(--s)); overflow: hidden; }
.rcx-phone { pointer-events: none; filter: drop-shadow(0 16px 24px rgba(8, 24, 70, 0.28)); }
.rcx-status { pointer-events: none; } .rcx[data-phase="idle"] .rcx-status { filter: invert(1); } .rcx[data-biz] .rcx-status { filter: invert(1); }   /* white clock and icons on the dark business app; they flip in the same instant as the screen */
@media (max-width: 1000px) {
  .rcx { --cw: min(92vw, 400px); }
  .rcx-pw { --z: 1.95; --bh: calc(var(--cw) * 1.72); }
  .rcx-grid { grid-template-columns: minmax(0, 1fr); grid-template-rows: none; row-gap: var(--gap); }
  .rcx-mid { grid-column: 1; grid-row: 1; justify-content: center; } .rcx-nar { grid-column: 1; grid-row: 2; } .rcx-col { grid-column: 1; grid-row: 3; grid-template-rows: auto auto; container-type: normal; }
  .rcx-card { overflow: visible; } .rcx-ask { min-height: 260px; }
}

/* the cards' own parts */
.rc-tbtns { display: flex; gap: 8px; }
.rc-pb, .rc-sb2 { flex: 1; height: 44px; display: inline-flex; align-items: center; justify-content: center; gap: 9px; border: 0; border-radius: 14px; font: inherit; font-size: 14px; font-weight: 600; cursor: pointer; transition: transform 140ms var(--rcx), background-color 200ms ease, opacity 200ms ease; } .rc-pb .rc-i, .rc-sb2 .rc-i { width: 16px; height: 16px; }
.rc-pb { background: #141311; color: #fff; box-shadow: 0 12px 20px -14px rgba(20, 19, 17, 0.8); } .rc-pb:hover { background: #2a2926; } .rc-sb2 { background: #eef1f9; color: #17181c; } .rc-sb2:hover { background: #e4e9f5; }
.rc-pb:active, .rc-sb2:active { transform: scale(0.98); } .rc-pb:disabled { opacity: 0.4; cursor: default; }
.rc-live { display: flex; flex-direction: column; gap: 10px; padding-top: 14px; border-top: 1px solid rgba(20, 30, 70, 0.08); animation: rc-rise 380ms var(--rcx) both; }
.rc-lrow { display: flex; align-items: center; gap: 10px; } .rc-lrow .rc-type { flex: 1; min-width: 0; }
.rc-status { margin: 0; min-height: 34px; display: inline-flex; align-items: center; gap: 8px; padding: 0; font-size: 14px; font-weight: 600; color: #4a5168; border-radius: 999px; transition: color 200ms ease, background-color 200ms ease, padding 200ms ease; }
.rc-status::before { content: ""; width: 0; height: 0; border-radius: 50%; transition: width 200ms ease, height 200ms ease, background-color 200ms ease, box-shadow 400ms ease; }
.rc-status[data-mode="listening"] { color: #1b7f4b; background: #e7f7ee; padding: 6px 14px 6px 10px; }
.rc-status[data-mode="listening"]::before { width: 10px; height: 10px; background: #25b26a; animation: rc-micpulse 1.4s ease-in-out infinite; }
.rc-status[data-mode="speaking"] { color: #3c64c8; background: #eef2ff; padding: 6px 14px 6px 10px; }
.rc-status[data-mode="speaking"]::before { width: 10px; height: 10px; background: #3c64c8; animation: rc-speakpulse 0.9s ease-in-out infinite; }
.rc-status[data-mode="thinking"] { color: #8c6d1f; background: #fef9ec; padding: 6px 14px 6px 10px; }
.rc-status[data-mode="thinking"]::before { width: 10px; height: 10px; background: #d4a72c; animation: rc-thinkpulse 1.6s ease-in-out infinite; }
@keyframes rc-micpulse { 0%, 100% { box-shadow: 0 0 0 0 rgba(37, 178, 106, 0.4); transform: scale(1); } 50% { box-shadow: 0 0 0 6px rgba(37, 178, 106, 0); transform: scale(1.15); } }
@keyframes rc-speakpulse { 0%, 100% { transform: scale(1); opacity: 1; } 50% { transform: scale(0.7); opacity: 0.5; } }
@keyframes rc-thinkpulse { 0%, 100% { opacity: 0.4; } 50% { opacity: 1; } }
.rc-chips { display: flex; flex-direction: column; gap: 6px; }
.rc-chip { display: flex; align-items: center; gap: 10px; width: 100%; padding: 9px 12px 9px 14px; border: 0; border-radius: 14px; background: #f3f5fb; box-shadow: inset 0 0 0 1px rgba(20, 19, 17, 0.05); font: inherit; text-align: left; cursor: pointer; animation: rc-rise 320ms var(--rcx) both; transition: background-color 180ms ease, box-shadow 180ms ease, transform 140ms var(--rcx); }
.rc-chip:nth-child(2) { animation-delay: 50ms; } .rc-chip:nth-child(3) { animation-delay: 100ms; } .rc-chip:nth-child(4) { animation-delay: 150ms; }
.rc-chip:hover { background: #eaeef8; } .rc-chip:active { transform: scale(0.985); }
.rc-cht { flex: 1; font-size: 13.5px; font-weight: 500; letter-spacing: -0.01em; line-height: 1.3; color: #141311; } .rc-chip > .rc-i { width: 14px; height: 14px; flex: none; color: #b0aea6; }
.rc-type { display: flex; gap: 6px; }
.rc-type input { flex: 1; min-width: 0; height: 40px; padding: 0 16px; border-radius: 999px; border: 0; outline: 0; background: #f3f5fb; box-shadow: inset 0 0 0 1px rgba(20, 19, 17, 0.08); color: #141311; font: inherit; font-size: 16px; letter-spacing: -0.01em; }
.rc-type input::placeholder { color: #9a978f; } .rc-type input:focus { box-shadow: inset 0 0 0 1.5px #141311; }
.rc-type button { width: 40px; height: 40px; border-radius: 50%; border: 0; cursor: pointer; background: #141311; color: #fff; display: inline-flex; align-items: center; justify-content: center; } .rc-type button .rc-i { width: 16px; height: 16px; }
.rc-voice { flex: none; display: inline-flex; align-items: center; gap: 7px; border: 0; background: none; cursor: pointer; font: inherit; font-size: 12.5px; font-weight: 500; color: #6b685f; padding: 4px 2px; } .rc-voice:hover { color: #141311; } .rc-voice .rc-i { width: 15px; height: 15px; }
@media (prefers-reduced-motion: reduce) { .rc *, .rc-under * { animation: none !important; transition: none !important; } }

/* ============================================================
   Redesign: the call starts as a phone's own incoming-call screen (slide to answer), the call keeps the blue card, and after the
   call there are two sides: the customer's phone (the text, then the reminder) and the shop's side.
   ============================================================ */
.rc::before, .rc::after { content: ""; position: absolute; inset: 0; z-index: 0; pointer-events: none; opacity: 0; transition: opacity 560ms ease; }
.rc::before { background: radial-gradient(70% 36% at 14% 6%, rgba(112, 168, 242, 0.62), transparent 72%), radial-gradient(60% 34% at 92% 44%, rgba(204, 220, 246, 0.36), transparent 70%), radial-gradient(90% 34% at 20% 100%, rgba(38, 92, 196, 0.72), transparent 72%),
    linear-gradient(180deg, #28497f 0%, #2b3652 44%, #0c1121 100%); }
.rc::after { background: linear-gradient(180deg, #eaf4ff 0%, #f1f7ff 30%, #f4f7fc 70%, #f5f7fb 100%); }
.rc[data-phase="idle"]::before { opacity: 1; }
.rc[data-phase="call"]::after, .rc[data-phase="ending"]::after { opacity: 1; }
.rc-home { transition: background-color 400ms ease; } .rc[data-phase="idle"] .rc-home { background: #fff; }
.rc[data-phase="after"] { background: #f4f5f7; }

.rc-in { position: relative; flex: 1; min-height: 0; display: flex; flex-direction: column; align-items: center; animation: rc-fade 400ms ease both; }
.rc-inwho { margin-top: 44px; display: flex; flex-direction: column; align-items: center; text-align: center; color: #fff; animation: rc-rise 600ms var(--r-ease) both; }
.rc-inav { width: 150px; height: 150px; border-radius: 50%; display: grid; place-items: center; background: radial-gradient(circle at 32% 24%, #2a3350 0%, #0b0e18 70%); box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.16), 0 24px 40px -16px rgba(0, 0, 0, 0.65), inset 0 1px 0 rgba(255, 255, 255, 0.14); }
.rc-inav img { width: 92px; height: auto; display: block; }
.rc-inname { margin: 22px 0 0; font-size: 34px; font-weight: 600; letter-spacing: -0.035em; line-height: 1.05; }
.rc-insub { margin: 6px 0 0; font-size: 15px; font-weight: 400; color: rgba(255, 255, 255, 0.64); }
.rc-inact { margin-top: auto; width: 100%; padding: 0 0 46px; animation: rc-rise 700ms var(--r-ease) 120ms both; }
.rc-qa { display: flex; justify-content: space-between; padding: 0 36px; margin-bottom: 30px; }
.rc-qb { display: flex; flex-direction: column; align-items: center; gap: 9px; color: #fff; font-size: 13.5px; font-weight: 400; letter-spacing: -0.005em; transition: transform 150ms var(--r-ease), opacity 200ms ease; }
.rc-qb .rc-i { width: 21px; height: 21px; } .rc-qb:hover { opacity: 0.85; } .rc-qb:active { transform: scale(0.92); opacity: 0.75; }
.rc-slide { --x: 0px; --p: 0; position: relative; width: 74%; height: 62px; margin: 0 auto; padding: 4px; display: flex; align-items: center; border-radius: 999px; overflow: hidden; cursor: pointer;
  background: linear-gradient(100deg, rgba(118, 148, 226, 0.7) 0%, rgba(168, 192, 242, 0.76) 52%, rgba(212, 225, 250, 0.84) 100%); -webkit-backdrop-filter: blur(18px) saturate(1.4); backdrop-filter: blur(18px) saturate(1.4);
  box-shadow: inset 0 0 0 1.5px rgba(255, 255, 255, 0.34), 0 14px 28px -16px rgba(0, 0, 0, 0.55); transition: filter 260ms ease; }
.rc-knob { flex: none; width: 54px; height: 54px; border-radius: 50%; background: #fff; color: #4cd964; display: grid; place-items: center; touch-action: none; cursor: grab; box-shadow: 0 2px 8px -2px rgba(0, 0, 0, 0.3); transform: translateX(var(--x)); transition: transform 300ms var(--r-ease); }
.rc-slide.is-drag .rc-knob { transition: none; cursor: grabbing; }
.rc-knob .rc-i { width: 27px; height: 27px; fill: currentColor; stroke: none; }
.rc-slide.is-done { filter: brightness(1.06); }
.rc-hint { flex: 1; padding-right: 8px; white-space: nowrap; text-align: center; font-size: 16px; font-weight: 400; letter-spacing: 0; opacity: calc(1 - var(--p) * 1.5); pointer-events: none;
  background: linear-gradient(100deg, rgba(22, 34, 92, 0.82) 0%, rgba(22, 34, 92, 0.82) 40%, #fff 50%, rgba(22, 34, 92, 0.82) 60%, rgba(22, 34, 92, 0.82) 100%) 0 0 / 320% 100%; -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; animation: rc-shim 2.4s linear infinite; }
@keyframes rc-shim { from { background-position: 100% 0; } to { background-position: 0% 0; } }
.rc-rem { position: absolute; left: 14px; right: 14px; top: 54px; z-index: 8; display: flex; align-items: center; gap: 10px; padding: 11px 14px; border-radius: 18px; color: #111522; background: rgba(255, 255, 255, 0.94); box-shadow: 0 14px 28px -14px rgba(0, 0, 0, 0.5); animation: rc-drop 420ms var(--r-ease) both; transition: opacity 280ms ease, transform 280ms var(--r-ease); }
.rc-rem.is-out { opacity: 0; transform: translateY(-10px); }
.rc-remi { width: 30px; height: 30px; flex: none; border-radius: 50%; display: grid; place-items: center; background: #111522; color: #fff; } .rc-remi .rc-i { width: 16px; height: 16px; }
.rc-rem b { display: block; font-size: 13px; font-weight: 600; } .rc-rem i { display: block; font-style: normal; font-size: 11.5px; line-height: 1.3; color: #5a6076; }
.rc-live.is-idle .rc-status, .rc-live.is-idle .rc-type, .rc-live.is-idle .rc-voice { display: none; }
.rc-live.is-idle { margin-top: 0; }

/* the two sides, above the phone: same width as the phone, a pill that slides */
.rc-tabs { position: relative; display: grid; grid-template-columns: 1fr 1fr; width: min(300px, 90vw); padding: 4px; border-radius: 999px; background: #fff; box-shadow: inset 0 0 0 1px rgba(20, 19, 17, 0.1), 0 8px 18px -12px rgba(20, 19, 17, 0.25); }
.rc-tabs::before { content: ""; position: absolute; top: 4px; bottom: 4px; left: 4px; width: calc(50% - 4px); border-radius: 999px; background: #141311; box-shadow: 0 8px 16px -8px rgba(20, 19, 17, 0.55); transition: transform 380ms cubic-bezier(0.23, 1, 0.32, 1); }
.rc-tabs[data-t="shop"]::before { transform: translateX(100%); }
.rc-tabs button { position: relative; z-index: 1; display: inline-flex; align-items: center; justify-content: center; gap: 8px; height: 36px; padding: 0 8px; border: 0; border-radius: 999px; background: none; font: inherit; font-size: 13.5px; font-weight: 600; color: #6b685f; cursor: pointer; transition: color 240ms ease, transform 140ms ease, opacity 200ms ease; }
.rc-tabs button .rc-i { width: 15px; height: 15px; transition: transform 320ms cubic-bezier(0.23, 1, 0.32, 1); } .rc-tabs button.is-on .rc-i { transform: scale(1.12); }
.rc-tabs button:not(.is-on):not([aria-disabled="true"]):hover { color: #141311; background: rgba(20, 19, 17, 0.045); } .rc-tabs button:active { transform: scale(0.96); }
.rc-tabs button.is-on { color: #fff; background: none; }
.rc-tabs.is-wait button[data-tab="shop"] { opacity: 0.5; cursor: default; }
.rc-tabs button.is-nudge:not(.is-on) { animation: rc-nudge 1.6s ease 3; }
.rc-tabs.is-shake { animation: rc-shake 380ms ease; }
@keyframes rc-nudge { 0%, 100% { box-shadow: 0 0 0 0 rgba(20, 19, 17, 0); } 50% { box-shadow: 0 0 0 6px rgba(20, 19, 17, 0.12); } }
@keyframes rc-shake { 0%, 100% { transform: none; } 25% { transform: translateX(-5px); } 55% { transform: translateX(5px); } 80% { transform: translateX(-2px); } }
/* switching sides: the new screen slides in from the side it belongs to */
.rc-view[data-dir="l"] > * { animation: rc-in-l 340ms var(--r-ease) both; } .rc-view[data-dir="r"] > * { animation: rc-in-r 340ms var(--r-ease) both; }
@keyframes rc-in-l { from { opacity: 0; transform: translateX(22px); } to { opacity: 1; transform: none; } }
@keyframes rc-in-r { from { opacity: 0; transform: translateX(-22px); } to { opacity: 1; transform: none; } }

.rc[data-phase="msgs"], .rc[data-phase="after"] { background: #fff; }
.rc-app { flex: 1; min-height: 0; display: flex; flex-direction: column; position: relative; background: #fff; animation: rc-fade 300ms ease both; }

/* a conversation */
.rc-thh { position: absolute; z-index: 4; top: 0; left: 0; right: 0; padding: 0 12px 22px; display: flex; justify-content: space-between; align-items: flex-start; pointer-events: none; background: linear-gradient(180deg, #fff 0%, #fff 58%, rgba(255, 255, 255, 0.85) 80%, rgba(255, 255, 255, 0) 100%); }
.rc-thh > * { pointer-events: auto; }
.rc-rb { width: 38px; height: 38px; margin-top: 6px; border-radius: 50%; background: #fff; display: grid; place-items: center; color: #111522; box-shadow: 0 2px 10px rgba(17, 21, 34, 0.14), 0 0 0 1px rgba(17, 21, 34, 0.05); transition: transform 150ms var(--r-ease), box-shadow 200ms ease; } .rc-rb .rc-i { width: 19px; height: 19px; } .rc-rb:active { transform: scale(0.92); }
.rc-rb:first-child .rc-i { transform: scaleX(-1); }
.rc-rb.is-call { width: 42px; height: 42px; margin-top: 4px; background: #34c759; color: #fff; box-shadow: 0 10px 20px -8px rgba(52, 199, 89, 0.8), 0 0 0 1px rgba(52, 199, 89, 0.25); } .rc-rb.is-call .rc-i { width: 21px; height: 21px; fill: currentColor; stroke: none; } .rc-rb.is-call:hover { filter: brightness(1.05); }
.rc-thc { position: absolute; left: 50%; top: 0; transform: translateX(-50%); display: flex; flex-direction: column; align-items: center; gap: 6px; }
.rc-thav { width: 58px; height: 58px; border-radius: 50%; display: grid; place-items: center; background: radial-gradient(circle at 32% 24%, #2a2c33 0%, #0e0f13 72%); box-shadow: 0 10px 22px -8px rgba(17, 21, 34, 0.55), 0 0 0 3px #fff, 0 0 0 4px rgba(17, 21, 34, 0.07); animation: rc-avpop 560ms cubic-bezier(0.34, 1.4, 0.64, 1) both; } .rc-thav img { width: 36px; height: auto; display: block; }
@keyframes rc-avpop { from { opacity: 0; transform: translateY(-8px) scale(0.82); } to { opacity: 1; transform: none; } }
.rc-thn { display: inline-flex; align-items: center; gap: 3px; padding: 3px 9px 3px 12px; border-radius: 999px; background: #fff; font-size: 12px; font-weight: 600; box-shadow: 0 2px 10px rgba(17, 21, 34, 0.12), 0 0 0 1px rgba(17, 21, 34, 0.05); } .rc-thn .rc-i { width: 11px; height: 11px; color: #9aa0b0; }
.rc-tbody { flex: 1; min-height: 0; overflow-y: auto; padding: 120px 12px 12px; display: flex; flex-direction: column; scrollbar-width: none; } .rc-tbody::-webkit-scrollbar { display: none; }
.rc-stamp { margin: 8px 0 6px; text-align: center; font-size: 10.5px; color: var(--r-mute); }
.rc-mr { display: flex; align-items: flex-end; gap: 9px; margin-bottom: 3px; } .rc-mr.is-last { margin-bottom: 9px; } .rc-mr.is-you { justify-content: flex-end; }
.rc-mr.is-new { animation: rc-bpop 380ms var(--r-ease) both; transform-origin: 0 100%; } .rc-mr.is-you.is-new { transform-origin: 100% 100%; }
@keyframes rc-bpop { from { opacity: 0; transform: translateY(8px) scale(0.92); } to { opacity: 1; transform: none; } }
.rc-mi2 { position: relative; z-index: 2; width: 26px; height: 26px; flex: none; border-radius: 50%; background: radial-gradient(circle at 32% 24%, #2a2c33 0%, #0e0f13 72%); display: grid; place-items: center; } .rc-mi2 img { width: 16px; height: auto; display: block; } .rc-mi2.is-ghost { visibility: hidden; }
.rc-bi { position: relative; max-width: 78%; padding: 8px 12px; border-radius: 18px; background: #e9e9ed; color: #111522; font-size: 13.5px; line-height: 1.35; overflow-wrap: anywhere; }
.rc-bi.is-you { background: #0a84ff; color: #fff; }
.rc-bi.has-tail::before { content: ""; position: absolute; bottom: 0; left: -6px; width: 14px; height: 16px; background: inherit; border-bottom-right-radius: 14px 10px; }
.rc-bi.has-tail::after { content: ""; position: absolute; bottom: 0; left: -8px; width: 8px; height: 16px; background: #fff; border-bottom-right-radius: 8px; }
.rc-bi.is-you.has-tail::before { left: auto; right: -6px; border-bottom-right-radius: 0; border-bottom-left-radius: 14px 10px; }
.rc-bi.is-you.has-tail::after { left: auto; right: -8px; border-bottom-right-radius: 0; border-bottom-left-radius: 8px; }
.rc-mr.is-typing .rc-bi { display: inline-flex; gap: 4px; padding: 13px 14px; } .rc-mr.is-typing .rc-bi i { width: 6px; height: 6px; border-radius: 50%; background: #9a9fb0; animation: rc-dot 1s ease-in-out infinite; } .rc-mr.is-typing .rc-bi i:nth-child(2) { animation-delay: 150ms; } .rc-mr.is-typing .rc-bi i:nth-child(3) { animation-delay: 300ms; }
@keyframes rc-dot { 0%, 60%, 100% { opacity: 0.35; transform: none; } 30% { opacity: 1; transform: translateY(-2px); } }
.rc-ti { flex: none; position: relative; z-index: 3; display: flex; align-items: center; gap: 8px; padding: 6px 17px 33px; background: linear-gradient(0deg, #fff 72%, rgba(255, 255, 255, 0)); }
.rc-plusb { width: 38px; height: 38px; flex: none; border-radius: 50%; background: #fff; color: #111522; display: grid; place-items: center; box-shadow: 0 2px 10px rgba(17, 21, 34, 0.14), 0 0 0 1px rgba(17, 21, 34, 0.05); transition: transform 260ms var(--r-ease), color 200ms ease; } .rc-plusb .rc-i { width: 18px; height: 18px; }
.rc-ti.is-rec .rc-plusb { transform: rotate(45deg); color: #e8505a; }
.rc-pill { position: relative; flex: 1; min-width: 0; height: 38px; border-radius: 999px; background: #fff; box-shadow: 0 2px 10px rgba(17, 21, 34, 0.12), 0 0 0 1px rgba(17, 21, 34, 0.05); }
.rc-in2 { width: 100%; height: 100%; border: 0; outline: 0; background: none; padding: 0 40px 0 14px; border-radius: 999px; font: inherit; font-size: 13.5px; color: #111522; } .rc-in2::placeholder { color: #a2a6b4; }
.rc-micb, .rc-sndb { position: absolute; right: 4px; top: 4px; width: 30px; height: 30px; border-radius: 50%; display: grid; place-items: center; transition: opacity 180ms ease, transform 240ms var(--r-ease); } .rc-micb .rc-i { width: 17px; height: 17px; } .rc-micb { color: #8a90a3; } .rc-micb:hover { color: #111522; }
.rc-sndb { background: #0a84ff; color: #fff; opacity: 0; transform: scale(0.6); pointer-events: none; } .rc-sndb .rc-i { width: 16px; height: 16px; }
.rc-ti.has-text .rc-sndb, .rc-ti.is-rec .rc-sndb { opacity: 1; transform: none; pointer-events: auto; } .rc-ti.has-text .rc-micb, .rc-ti.is-rec .rc-micb { opacity: 0; pointer-events: none; }
.rc-rec { position: absolute; inset: 0; display: none; align-items: center; gap: 8px; padding: 0 40px 0 14px; pointer-events: none; } .rc-ti.is-rec .rc-rec { display: flex; animation: rc-fade 220ms ease both; } .rc-ti.is-rec .rc-in2 { visibility: hidden; }
.rc-recdot { width: 8px; height: 8px; flex: none; border-radius: 50%; background: #ff453a; animation: rc-blink 1s ease-in-out infinite; } @keyframes rc-blink { 0%, 100% { opacity: 1; } 50% { opacity: 0.35; } }
.rc-wave { flex: 1; min-width: 0; height: 20px; display: flex; align-items: center; gap: 2px; } .rc-wave i { flex: 1; height: var(--h); border-radius: 2px; background: #0a84ff; transform-origin: 50% 50%; animation: rc-wv 900ms ease-in-out infinite; animation-delay: var(--d); }
@keyframes rc-wv { 0%, 100% { transform: scaleY(0.3); } 50% { transform: scaleY(1); } }
.rc-rect { flex: none; font-size: 12px; font-weight: 600; font-variant-numeric: tabular-nums; color: #111522; }
.rc-rem { position: absolute; left: 14px; right: 14px; top: 54px; z-index: 8; display: flex; align-items: center; gap: 10px; padding: 11px 14px; border-radius: 18px; color: #111522; background: rgba(255, 255, 255, 0.96); box-shadow: 0 14px 28px -14px rgba(0, 0, 0, 0.5), 0 0 0 1px rgba(17, 21, 34, 0.05); animation: rc-drop 420ms var(--r-ease) both; transition: opacity 280ms ease, transform 280ms var(--r-ease); }
.rc-rem.is-out { opacity: 0; transform: translateY(-10px); }
.rc-remi { width: 30px; height: 30px; flex: none; border-radius: 50%; display: grid; place-items: center; background: #111522; color: #fff; } .rc-remi .rc-i { width: 16px; height: 16px; }
.rc-rem b { display: block; font-size: 13px; font-weight: 600; } .rc-rem i { display: block; font-style: normal; font-size: 11.5px; line-height: 1.3; color: #5a6076; }
@keyframes rc-drop { from { opacity: 0; transform: translateY(-14px); } to { opacity: 1; transform: none; } }

/* all the chats */
.rc-chh { flex: none; display: flex; align-items: center; justify-content: space-between; padding: 4px 16px 8px; } .rc-chh b { font-size: 18px; font-weight: 700; letter-spacing: -0.02em; }
.rc-chp, .rc-chc { width: 30px; height: 30px; display: grid; place-items: center; color: #0a84ff; border-radius: 50%; } .rc-chp .rc-i, .rc-chc .rc-i { width: 22px; height: 22px; } .rc-chc { transition: transform 150ms var(--r-ease), background-color 160ms ease; } .rc-chc:hover { background: #eef5ff; } .rc-chc:active { transform: scale(0.92); }
.rc-cht { flex: none; display: flex; padding: 0 16px; border-bottom: 1px solid var(--r-line); }
.rc-cht button { position: relative; flex: 1; height: 38px; display: flex; align-items: center; justify-content: center; gap: 6px; font-size: 13.5px; color: #8a90a3; transition: color 200ms ease; } .rc-cht button.is-on { color: #0a84ff; font-weight: 500; }
.rc-cht button::after { content: ""; position: absolute; left: 12%; right: 12%; bottom: -1px; height: 2px; border-radius: 2px; background: #0a84ff; transform: scaleX(0); transition: transform 280ms var(--r-ease); } .rc-cht button.is-on::after { transform: scaleX(1); }
.rc-cht em { min-width: 18px; height: 18px; padding: 0 5px; border-radius: 999px; display: grid; place-items: center; background: #0a84ff; color: #fff; font-style: normal; font-size: 10.5px; font-weight: 600; }
.rc-chl { flex: 1; min-height: 0; overflow-y: auto; padding-bottom: 46px; scrollbar-width: none; } .rc-chl::-webkit-scrollbar { display: none; }
.rc-cr { width: 100%; display: flex; align-items: center; gap: 11px; padding: 10px 18px; transition: background-color 160ms ease; } .rc-cr:hover { background: #f7f8fb; } .rc-cr:active { background: #eef0f6; }
.rc-cr + .rc-cr { box-shadow: inset 0 1px 0 #f1f2f6; } .rc-cr.is-thrust { background: #f5faff; }
.rc-cav { width: 44px; height: 44px; flex: none; border-radius: 50%; display: grid; place-items: center; background: var(--c, #8f94a8); color: #fff; font-size: 15px; font-weight: 600; } .rc-cav.is-mark { background: radial-gradient(circle at 32% 24%, #2a2c33 0%, #0e0f13 72%); } .rc-cav img { width: 28px; height: auto; display: block; }
.rc-cx { flex: 1; min-width: 0; } .rc-cx b { display: block; font-size: 14.5px; font-weight: 600; letter-spacing: -0.01em; color: #1f2433; } .rc-cx i { display: block; margin-top: 2px; font-style: normal; font-size: 12.5px; color: #8a90a3; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.rc-cm { flex: none; align-self: flex-start; padding-top: 3px; display: flex; flex-direction: column; align-items: flex-end; gap: 5px; } .rc-cm em { font-style: normal; font-size: 11.5px; color: #8a90a3; } .rc-cm em.is-un { color: #0a84ff; }
.rc-cm u { min-width: 18px; height: 18px; padding: 0 5px; border-radius: 999px; display: grid; place-items: center; text-decoration: none; background: #0a84ff; color: #fff; font-size: 10.5px; font-weight: 600; }
.rc-chempty { padding: 40px 16px; text-align: center; color: #8a90a3; font-size: 13px; }
.rc-fab { position: absolute; right: 18px; bottom: 42px; width: 48px; height: 48px; border-radius: 50%; display: grid; place-items: center; background: #0a84ff; color: #fff; box-shadow: 0 12px 22px -8px rgba(10, 132, 255, 0.7); transition: transform 160ms var(--r-ease); } .rc-fab:active { transform: scale(0.93); } .rc-fab .rc-i { width: 22px; height: 22px; }
.rc-fab i { position: absolute; top: 1px; right: 1px; width: 12px; height: 12px; border-radius: 50%; background: #ff453a; box-shadow: 0 0 0 2px #fff; }

/* the business phone: a clean, light "front desk" app. Solid colours only (one ink, one soft grey, four status colours), white cards with hairline borders,
   three pages that swipe sideways and a floating pill that slides between them. */
.rc[data-biz] { background: #0b0d12; } .rc[data-biz] .rc-home { background: #0f1b2e; }
.rb { --e: cubic-bezier(0.32, 0.72, 0, 1); --o: cubic-bezier(0.23, 1, 0.32, 1); --bg: #0b0d12; --card: #161a22; --ink: #f4f5f7; --onink: #0b0d12; --mute: #b4bbc7; --dim: #8a92a0; --line: rgba(255, 255, 255, 0.09); --soft: #1d222c; --t2: #d3d7de;
  --ok: #3ddc84; --okbg: rgba(61, 220, 132, 0.15); --warn: #f2b33d; --warnbg: rgba(242, 179, 61, 0.16); --bad: #ff6b63; --badbg: rgba(255, 107, 99, 0.16); --info: #6aa2ff; --infobg: rgba(106, 162, 255, 0.17);
  position: relative; flex: 1; min-height: 0; overflow: hidden; color: var(--ink); background: var(--bg); }
.rb .st-booked { --ac: var(--ok); --acbg: var(--okbg); --ring: rgba(31, 157, 85, 0.3); } .rb .st-handoff { --ac: var(--warn); --acbg: var(--warnbg); --ring: rgba(169, 106, 12, 0.3); }
.rb .st-urgent { --ac: var(--bad); --acbg: var(--badbg); --ring: rgba(212, 66, 59, 0.35); } .rb .st-info { --ac: var(--info); --acbg: var(--infobg); --ring: rgba(47, 111, 228, 0.3); }
.rb-track { position: absolute; inset: 0; width: 300%; display: flex; transform: translateX(calc(var(--i, 0) * -33.3333%)); transition: transform 520ms var(--e); }
.rb-pg { position: relative; flex: none; width: 33.3333%; height: 100%; overflow: hidden; padding: 0; margin: 0; }   /* padding 0: the site gives every section 160px of padding */
.rb .rc-i { width: 18px; height: 18px; }

/* shared bits */
.rb-av { width: 36px; height: 36px; flex: none; border-radius: 50%; position: relative; display: block; box-shadow: inset 0 0 0 1.5px rgba(255, 255, 255, 0.35); }
.rb-av.sm { width: 28px; height: 28px; } .rb-av.md { width: 42px; height: 42px; } .rb-av.lg { width: 54px; height: 54px; } .rb-av.xl { width: 72px; height: 72px; }
.rb-av > i { position: absolute; right: 1px; top: 1px; width: 12px; height: 12px; border-radius: 50%; background: var(--ok); box-shadow: 0 0 0 2.5px var(--bg); }
.rb-sl { margin: 18px 0 4px; padding: 0; font-size: 12px; font-weight: 600; letter-spacing: 0.06em; text-transform: uppercase; color: var(--dim); }
.rb-cap { margin: 0 0 8px; font-size: 12px; line-height: 1.4; color: var(--mute); }
.rb-th { display: flex; align-items: center; justify-content: space-between; height: 46px; padding: 8px 16px 0; }
.rb-h { margin: 0; color: var(--ink); font-size: 26px; font-weight: 600; letter-spacing: -0.035em; }
.rb-pillw { height: 30px; padding: 0 13px; border-radius: 999px; display: inline-flex; align-items: center; background: var(--card); color: var(--ink); box-shadow: inset 0 0 0 1px var(--line); font-size: 12px; font-weight: 600; transition: background-color 200ms ease, color 200ms ease, transform 140ms ease; } button.rb-pillw:active { transform: scale(0.95); } .rb-pillw.is-on { background: var(--ink); color: var(--onink); box-shadow: none; }
.rb-st { padding: 4px 10px; border-radius: 999px; background: var(--acbg); color: var(--ac); font-style: normal; font-size: 12px; font-weight: 600; letter-spacing: 0.01em; white-space: nowrap; }
.k-g { --kc: var(--okbg); --kt: var(--ok); } .k-b { --kc: var(--infobg); --kt: var(--info); } .k-o, .k-y { --kc: var(--warnbg); --kt: var(--warn); } .k-r { --kc: var(--badbg); --kt: var(--bad); } .k-v { --kc: #efe9fd; --kt: #6d4bd8; }

/* page 1: the front desk, newest call first */
.rb-top { display: flex; align-items: center; justify-content: space-between; height: 46px; padding: 8px 16px 0; }
.rb-ws { display: inline-flex; align-items: center; gap: 8px; } .rb-ws b { font-size: 14px; font-weight: 600; letter-spacing: -0.01em; } .rb-ws em { font-style: normal; font-size: 12px; color: var(--dim); }
.rb-bell { position: relative; width: 34px; height: 34px; border-radius: 50%; display: grid; place-items: center; background: var(--card); box-shadow: inset 0 0 0 1px var(--line); color: var(--ink); transition: transform 140ms ease; } .rb-bell:active { transform: scale(0.94); }
.rb-bell i { position: absolute; right: 8px; top: 8px; width: 8px; height: 8px; border-radius: 50%; background: var(--bad); box-shadow: 0 0 0 2px var(--card); animation: rb-ping 2.4s ease-in-out infinite; }
@keyframes rb-ping { 0%, 100% { transform: scale(1); } 50% { transform: scale(1.25); } }
.rb-feed { position: absolute; left: 0; right: 0; top: 50px; bottom: 0; overflow-y: auto; padding: 0 16px 104px; scrollbar-width: none; } .rb-feed::-webkit-scrollbar { display: none; }
.rb-day { margin: 10px 0 0; font-size: 12px; color: var(--mute); }
.rb-h1 { margin: 2px 0 12px; font-size: 26px; font-weight: 600; letter-spacing: -0.035em; line-height: 1.1; }
.rb-call { position: relative; display: block; width: 100%; padding: 14px 14px 12px 17px; border-radius: 20px; background: var(--card); box-shadow: 0 0 0 1px var(--line), 0 18px 30px -24px rgba(20, 22, 26, 0.35); transition: transform 160ms ease; } .rb-call:active { transform: scale(0.985); }
.rb-call::before { content: ""; position: absolute; left: 0; top: 16px; bottom: 16px; width: 4px; border-radius: 0 3px 3px 0; background: var(--ac); }
.rb-call-h { display: flex; align-items: center; gap: 11px; }
.rb-call-t { flex: 1; min-width: 0; display: grid; gap: 1px; } .rb-call-t b { font-size: 16px; font-weight: 600; letter-spacing: -0.02em; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; } .rb-call-t em { font-style: normal; font-size: 12.5px; color: var(--mute); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.rb-call-d { display: grid; gap: 7px; margin-top: 12px; padding-top: 11px; border-top: 1px solid var(--line); }
.rb-call-d > span { display: flex; justify-content: space-between; gap: 14px; font-size: 12.5px; } .rb-call-d em { font-style: normal; color: var(--mute); flex: none; } .rb-call-d b { font-weight: 600; text-align: right; }
.rb.is-go .rb-call { animation: rb-arrive 1100ms var(--o) 500ms both; }
@keyframes rb-arrive { 0% { box-shadow: 0 0 0 0 var(--ring), 0 0 0 1px var(--line), 0 18px 30px -24px rgba(20, 22, 26, 0.35); } 40% { box-shadow: 0 0 0 9px rgba(0, 0, 0, 0), 0 0 0 1px var(--line), 0 18px 30px -24px rgba(20, 22, 26, 0.35); } 100% { box-shadow: 0 0 0 1px var(--line), 0 18px 30px -24px rgba(20, 22, 26, 0.35); } }
.rb-row { display: flex; align-items: center; gap: 12px; width: 100%; margin-bottom: 6px; padding: 9px 12px; border-radius: 14px; background: var(--card); box-shadow: 0 0 0 1px var(--line); color: var(--ink); transition: background-color 160ms ease, transform 140ms ease; } button.rb-row:active { transform: scale(0.985); }
.rb-ri { width: 34px; height: 34px; flex: none; border-radius: 10px; display: grid; place-items: center; background: var(--kc, var(--soft)); color: var(--kt, var(--ink)); } .rb-ri .rc-i { width: 17px; height: 17px; } .rb-ri.is-old { background: var(--soft); color: var(--mute); }
.rb-rt { flex: 1; min-width: 0; display: grid; gap: 1px; } .rb-rt b { font-size: 13.5px; font-weight: 600; letter-spacing: -0.01em; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; } .rb-rt em { font-style: normal; font-size: 12.5px; color: var(--mute); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.rb-rv { position: relative; flex: none; min-width: 44px; height: 18px; font-size: 12px; font-weight: 600; } .rb-rv u, .rb-rv s { position: absolute; right: 0; top: 0; text-decoration: none; white-space: nowrap; } .rb-rv u { color: var(--dim); font-weight: 500; } .rb-rv s { color: var(--ok); opacity: 0; }
.rb-row > .rc-i, .rb-kv > .rc-i, .rb-sheet .rc-crow > .rc-i { width: 14px; height: 14px; flex: none; color: #b3b9c4; }
.rb-tick { width: 22px; height: 22px; border-radius: 50%; display: grid; place-items: center; background: var(--okbg); color: var(--ok); } .rb-tick .rc-i { width: 12px; height: 12px; }
.rb-tr { display: grid; gap: 4px; padding: 6px; border-radius: 16px; background: var(--card); box-shadow: 0 0 0 1px var(--line); }
.rb-tl { display: grid; gap: 1px; padding: 7px 10px 8px; border-radius: 11px; } .rb-tl.is-ai { background: var(--bg); }
.rb-tl i { font-style: normal; font-size: 11.5px; font-weight: 600; letter-spacing: 0.04em; text-transform: uppercase; color: var(--dim); } .rb-tl.is-you i { color: var(--info); }
.rb-tl p { margin: 0; font-size: 12.5px; line-height: 1.42; color: var(--t2); }
.rb-sum { padding: 12px 14px; border-radius: 14px; background: var(--card); box-shadow: 0 0 0 1px var(--line); } .rb-sum span { font-size: 12.5px; line-height: 1.5; color: var(--t2); }
.rb-empty { margin: 14px 0; text-align: center; font-size: 12.5px; color: var(--mute); }
.rb-kvs { margin: 0 16px; border-radius: 14px; background: var(--bg); } .rb-kv { display: flex; justify-content: space-between; gap: 12px; padding: 10px 14px; font-size: 12.5px; } .rb-kv + .rb-kv { border-top: 1px solid var(--line); } .rb-kv span { color: var(--mute); } .rb-kv b { font-weight: 600; text-align: right; }

/* the saving, then saved moment on the first visit */
.rb-pg-act:not(.is-seen) .rb-rv u { animation: rb-out 220ms ease both; animation-delay: var(--d); } .rb-pg-act:not(.is-seen) .rb-rv s { animation: rb-in 320ms var(--o) both; animation-delay: var(--d); }
.rb-pg-act.is-seen .rb-rv u { display: none; } .rb-pg-act.is-seen .rb-rv s { opacity: 1; }
@keyframes rb-out { to { opacity: 0; transform: translateY(-4px); } } @keyframes rb-in { from { opacity: 0; transform: translateY(5px); } to { opacity: 1; transform: none; } }

/* the notification when the owner opens the business side: a phone notification that drops in from the top, tappable */
.rb-note { --bg: #f4f5f7; --ink: #14161a; --mute: #5d6572; --dim: #8b93a1; --t2: #2b3038; --line: rgba(20, 22, 26, 0.08); --ok: #1f9d55; --okbg: #e3f5ea; --warn: #a96a0c; --warnbg: #fcefd2; --bad: #d4423b; --badbg: #fde8e6; --info: #2f6fe4; --infobg: #e6eefc;
  position: absolute; left: 8px; right: 8px; top: 8px; z-index: 10; display: block; width: auto; padding: 10px 12px 11px; border-radius: 24px; background: rgba(250, 250, 252, 0.94); -webkit-backdrop-filter: blur(18px) saturate(1.4); backdrop-filter: blur(18px) saturate(1.4); color: var(--ink); text-align: left; overflow: hidden; cursor: pointer;
  box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.5), 0 22px 40px -12px rgba(0, 0, 0, 0.7); opacity: 0; transform: translateY(-140%) scale(0.94); transition: transform 300ms ease, opacity 200ms ease; }
.rb-note.is-in { opacity: 1; transform: none; animation: rb-drop 760ms var(--e) both; } .rb-note.is-in:active { transform: scale(0.97); animation: none; }
.rb-note.is-out { opacity: 0; transform: translateY(-140%); transition-duration: 380ms; animation: none; }
@keyframes rb-drop { 0% { transform: translateY(-140%) scale(0.94); } 55% { transform: translateY(6px) scale(1.01); } 78% { transform: translateY(-2px); } 100% { transform: none; } }
.rb-note-h { display: flex; align-items: center; gap: 7px; } .rb-note-h i { width: 20px; height: 20px; border-radius: 6px; display: grid; place-items: center; background: #14161a; color: #fff; } .rb-note-h .rc-i { width: 12px; height: 12px; }
.rb-note-h b { font-size: 11.5px; font-weight: 600; letter-spacing: 0.08em; color: var(--mute); } .rb-note-h em { margin-left: auto; font-style: normal; font-size: 12px; color: var(--dim); }
.rb-note-b { display: flex; gap: 10px; margin-top: 9px; align-items: flex-start; }
.rb-note-t { flex: 1; min-width: 0; display: grid; gap: 3px; } .rb-note-t b { font-size: 14px; font-weight: 600; letter-spacing: -0.015em; line-height: 1.25; }
.rb-note-t > em { font-style: normal; font-size: 12.5px; line-height: 1.38; color: var(--t2); display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; } .rb-note-t > .rb-note-q { color: var(--mute); }
.rb-note-go { display: flex; align-items: center; gap: 8px; margin-top: 9px; padding-top: 9px; border-top: 1px solid var(--line); font-size: 12.5px; font-weight: 600; color: var(--mute); } .rb-note-go > span { margin-left: auto; display: grid; } .rb-note-go .rc-i { width: 13px; height: 13px; }
.rb-note-bar { position: absolute; left: 0; right: 0; bottom: 0; height: 3px; background: var(--ac); transform-origin: left; animation: rb-bar 7.5s linear forwards; } @keyframes rb-bar { from { transform: scaleX(1); } to { transform: scaleX(0); } }

/* page 2: the calendar */
.rb-days { display: grid; grid-template-columns: repeat(6, 1fr); gap: 6px; padding: 12px 16px 0; }
.rb-days button { height: 54px; border-radius: 14px; display: grid; place-items: center; align-content: center; gap: 1px; background: var(--card); box-shadow: inset 0 0 0 1px var(--line); color: var(--mute); transition: background-color 180ms ease, color 180ms ease, transform 140ms ease; } .rb-days button:active { transform: scale(0.95); }
.rb-days em { font-style: normal; font-size: 10.5px; opacity: 0.75; }
.rb-days i { font-style: normal; font-size: 11px; font-weight: 500; letter-spacing: 0.04em; text-transform: uppercase; } .rb-days b { font-size: 14px; font-weight: 600; }
.rb-days button.is-on { background: var(--ink); color: var(--onink); box-shadow: none; }
.rb-scroll { position: absolute; left: 0; right: 0; top: 124px; bottom: 0; overflow-y: auto; scrollbar-width: none; } .rb-scroll::-webkit-scrollbar { display: none; }
.rb-cards { display: grid; gap: 10px; padding: 12px 16px 104px; }
.rb-card { position: relative; padding: 13px 14px 12px; border-radius: 18px; background: var(--card); box-shadow: 0 0 0 1px var(--line); color: var(--ink); text-align: left; animation: rb-card 520ms var(--o) both; animation-delay: calc(var(--k, 0) * 70ms); }
@keyframes rb-card { from { opacity: 0; transform: translateY(14px) scale(0.97); } to { opacity: 1; transform: none; } }
.rb-card.is-new { background: var(--okbg); box-shadow: 0 0 0 1px #bfe6cf; }
.rb-card[data-open] { cursor: pointer; transition: transform 160ms ease; } .rb-card[data-open]:active { transform: scale(0.985); }
.rb-card.c-s { width: 100%; background: transparent; box-shadow: none; border: 1.5px dashed #c3c9d4; } .rb-card.c-n { background: transparent; box-shadow: none; border: 1.5px dashed var(--line); color: var(--mute); }
.rb-ct { display: flex; justify-content: space-between; font-size: 12.5px; font-weight: 600; color: var(--mute); }
.rb-cn { display: block; margin-top: 8px; font-size: 18px; font-weight: 600; letter-spacing: -0.025em; } .rb-cm { display: block; font-style: normal; margin-top: 1px; font-size: 12px; color: var(--mute); }
.rb-new { position: absolute; right: 14px; top: 32px; padding: 3px 9px; border-radius: 999px; background: var(--ok); color: #fff; font-style: normal; font-size: 11px; font-weight: 600; letter-spacing: 0.04em; }
.rb-cb { display: flex; align-items: center; gap: 7px; margin-top: 12px; }
.rb-cir { width: 30px; height: 30px; border-radius: 50%; display: grid; place-items: center; background: var(--bg); color: var(--ink); } .rb-card.is-new .rb-cir { background: var(--card); } .rb-cir .rc-i { width: 14px; height: 14px; }
.rb-tg { margin-left: auto; position: relative; width: 36px; height: 21px; border-radius: 999px; background: #cdd2da; transition: background-color 200ms ease; } .rb-tg::after { content: ""; position: absolute; left: 3px; top: 3px; width: 15px; height: 15px; border-radius: 50%; background: var(--card); box-shadow: 0 1px 3px rgba(0, 0, 0, 0.25); transition: transform 240ms var(--e); } .rb-tg.is-on { background: var(--ok); } .rb-tg.is-on::after { transform: translateX(15px); }

/* page 3: the customers */
.rb-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px 8px; padding: 16px 12px 0; }
.rb-pr { color: var(--ink); display: grid; justify-items: center; gap: 3px; text-align: center; animation: rb-card 520ms var(--o) both; } .rb-pr:nth-child(2) { animation-delay: 50ms; } .rb-pr:nth-child(3) { animation-delay: 100ms; } .rb-pr:nth-child(4) { animation-delay: 150ms; } .rb-pr:nth-child(5) { animation-delay: 200ms; } .rb-pr:nth-child(6) { animation-delay: 250ms; }
.rb-pr .rb-av { margin-bottom: 3px; } .rb-pr b { font-size: 12.5px; font-weight: 600; } .rb-pr em { max-width: 88px; font-style: normal; font-size: 11.5px; color: var(--mute); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.rb-sheet { position: absolute; left: 0; right: 0; top: 296px; bottom: 0; display: flex; flex-direction: column; border-radius: 24px 24px 0 0; background: var(--card); color: var(--ink); box-shadow: 0 0 0 1px var(--line), 0 -16px 36px -22px rgba(20, 22, 26, 0.35); }
.rb-pg-crm .rb-sheet { top: 282px; }
.rb-sh2 { flex: none; align-self: center; margin-top: 12px; padding: 3px; display: flex; gap: 2px; border-radius: 999px; background: var(--soft); font-size: 12px; font-weight: 600; color: var(--mute); } .rb-sh2 span { padding: 5px 14px; border-radius: 999px; } .rb-sh2 .is-on { background: var(--card); color: var(--ink); box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1); }
.rb-sbody { flex: 1; min-height: 0; overflow-y: auto; padding: 0 0 92px; scrollbar-width: none; } .rb-sbody::-webkit-scrollbar { display: none; }
.rb-sbody .rb-sl { padding: 0 16px; margin: 16px 0 6px; } .rb-sbody .rb-row { width: calc(100% - 32px); margin: 0 16px 6px; box-shadow: none; background: var(--bg); } .rb-sbody .rb-sum { margin: 0 16px; background: var(--bg); box-shadow: none; }
.rb-sheet .rc-csr { display: flex; align-items: center; gap: 8px; height: 36px; padding: 0 12px; margin: 10px 16px; border-radius: 12px; background: var(--soft); color: var(--mute); } .rb-sheet .rc-csr input { flex: 1; min-width: 0; border: 0; outline: 0; background: none; font: inherit; font-size: 13px; color: var(--ink); } .rb-sheet .rc-csr .rc-i { width: 15px; height: 15px; }
.rb-sheet .rc-clist { display: grid; gap: 6px; padding: 0 16px; }
.rb-sheet .rc-crow { display: flex; align-items: center; gap: 11px; width: 100%; padding: 9px 12px; border-radius: 14px; background: var(--bg); color: var(--ink); transition: transform 140ms ease; } .rb-sheet .rc-crow:active { transform: scale(0.985); }
.rb-sheet .rc-cpill { padding: 3px 9px; border-radius: 999px; background: var(--soft); color: var(--mute); font-size: 12px; font-weight: 600; } .rb-sheet .rc-cpill.is-new { background: var(--okbg); color: var(--ok); } .rb-sheet .rc-cpill.is-q { background: none; padding-right: 0; font-weight: 500; color: var(--dim); }

/* the floating pill that slides between the pages */
.rb-nav { position: absolute; left: 50%; bottom: 24px; z-index: 6; display: flex; gap: 4px; padding: 6px; border-radius: 999px; background: var(--card); box-shadow: 0 0 0 1px var(--line), 0 18px 34px -14px rgba(20, 22, 26, 0.4); transform: translateX(-50%) translateY(30px) scale(0.92); opacity: 0; transition: opacity 400ms ease 450ms, transform 620ms var(--e) 450ms; }
.rb.is-go .rb-nav { transform: translateX(-50%); opacity: 1; }
.rb-nav button { position: relative; z-index: 1; width: 56px; height: 40px; border-radius: 999px; display: grid; place-items: center; color: var(--mute); transition: color 240ms ease, transform 140ms ease; } .rb-nav button:active { transform: scale(0.92); } .rb-nav button.is-on { color: var(--onink); }
.rb-nav .rc-i { width: 19px; height: 19px; }
.rb-ind { position: absolute; left: 6px; top: 6px; width: 56px; height: 40px; border-radius: 999px; background: var(--ink); transform: translateX(calc(var(--i, 0) * 60px)); transition: transform 460ms var(--e); }

/* entrance: the page rises in */
.rb:not(.is-go) .rb-top, .rb:not(.is-go) .rb-feed { opacity: 0; }
.rb.is-go .rb-top { animation: rc-rise 520ms var(--o) both; } .rb.is-go .rb-feed { animation: rc-rise 560ms var(--o) 80ms both; }
@media (prefers-reduced-motion: reduce) { .rb *, .rb *::after { animation-duration: 1ms !important; animation-delay: 0ms !important; transition-duration: 1ms !important; transition-delay: 0ms !important; } }

/* ---- bright panels: the left and right cards are white with hairline borders, soft shadows and the site's own sans type (neutral greys, no tint) ---- */
.rcx-card { --ink: #141311; --mute: #6b6b72; --dim: #9a9aa2; --line: #ececee; --soft: #f5f5f7; color: var(--ink); background: #fff;
  box-shadow: 0 0 0 1px rgba(20, 19, 17, 0.06), 0 1px 2px rgba(20, 19, 17, 0.04), 0 28px 56px -36px rgba(20, 19, 17, 0.2); }
.rcx-card .rcx-k { color: var(--dim); font-size: 12px; font-weight: 600; letter-spacing: 0.04em; text-transform: none; }
.rcx-card .rcx-t { color: var(--ink); font-weight: 600; letter-spacing: -0.035em; line-height: 1.05; }
.rcx-card .rcx-t.sm { font-size: clamp(19px, 1.5vw, 23px); }
.rcx-card .rcx-p { color: var(--mute); }
.rcx-card .rcx-empty { color: var(--dim); }

/* left: a big pale step number and the headline at the top, a four-part progress bar at the bottom */
.rcx-nar { justify-content: space-between; }
.rcx-nb { min-height: 0; }
.rcx-nb .rcx-k { display: flex; align-items: baseline; gap: 8px; margin-bottom: clamp(16px, 1.6vw, 26px); font-variant-numeric: tabular-nums; }
.rcx-nb .rcx-k b { font-size: clamp(48px, 4.6vw, 76px); font-weight: 600; line-height: 0.85; letter-spacing: -0.05em; color: #d9d9df; }
.rcx-nb .rcx-t { font-size: clamp(26px, 2.3vw, 38px); }
.rcx-nb .rcx-p { margin-top: clamp(10px, 1vw, 16px); max-width: 32ch; font-size: clamp(14px, 1vw, 16px); line-height: 1.55; }
.rcx-st { gap: 8px; }
.rcx-st li { align-items: stretch; gap: 10px; padding: 0; color: var(--dim); }
.rcx-st li i { width: 100%; height: 4px; border-radius: 2px; background: #e9e9ed; transform: none; box-shadow: none; }
.rcx-st li:not(:last-child)::after { display: none; }
.rcx-sn { text-align: left; }
.rcx-sn b { font-size: 12px; font-weight: 600; letter-spacing: 0; text-transform: none; }
.rcx-sn em { display: none; }
.rcx-st li.is-on { color: var(--ink); } .rcx-st li.is-on i { background: var(--ink); transform: none; box-shadow: none; }
.rcx-st li.is-done { color: var(--mute); } .rcx-st li.is-done i { background: #b9b9c1; }

/* right: header, sample button, voices, then the typed reply */
.rcx-th { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.rc-livepill { display: inline-flex; align-items: center; gap: 7px; padding: 5px 11px 5px 9px; border-radius: 999px; background: #eaf7f0; color: #1b7f4b; font-size: 12px; font-weight: 600; letter-spacing: 0; white-space: nowrap; }
.rc-livepill i { width: 6px; height: 6px; border-radius: 50%; background: #25b26a; animation: rc-livepulse 2.2s ease-in-out infinite; }
@keyframes rc-livepulse { 0%, 100% { box-shadow: 0 0 0 0 rgba(37, 178, 106, 0.5); } 50% { box-shadow: 0 0 0 5px rgba(37, 178, 106, 0); } }
.rc-pb { background: var(--ink); color: #fff; box-shadow: none; } .rc-pb:hover { background: #2a2926; }
.rc-sb2 { background: var(--soft); color: var(--ink); } .rc-sb2:hover { background: #ececf0; }
.rc-live { border-top-color: var(--line); }
.rc-status { color: var(--mute); }
.rc-status[data-mode="listening"] { color: #1b7f4b; background: #eaf7f0; }
.rc-status[data-mode="speaking"] { color: var(--ink); background: var(--soft); } .rc-status[data-mode="speaking"]::before { background: var(--ink); }
.rc-status[data-mode="thinking"] { color: #8c6d1f; background: #fdf6e3; }
.rc-type input { background: var(--soft); box-shadow: none; color: var(--ink); }
.rc-type input::placeholder { color: var(--dim); } .rc-type input:focus { box-shadow: inset 0 0 0 1.5px var(--ink); background: #fff; }
.rc-type button { background: var(--ink); color: #fff; }
.rc-voice { color: var(--mute); } .rc-voice:hover { color: var(--ink); }

/* voices: three tiles, each with its own little sound bar; the chosen one is lifted onto a white card with a dark outline */
.rc-vlabel { margin: 2px 0 -6px; }
.rc-vp { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
.rc-vo { display: flex; flex-direction: column; align-items: center; gap: 3px; padding: 13px 6px 12px; border: 0; border-radius: 16px; background: var(--soft); box-shadow: none; font: inherit; color: var(--ink); cursor: pointer; transition: background-color 200ms ease, box-shadow 200ms ease, transform 140ms ease; }
.rc-va { --k: 1; height: 22px; margin-bottom: 6px; display: flex; align-items: center; gap: 3px; color: #b4b4bc; transition: color 200ms ease; }
.rc-va i { width: 3px; height: calc(var(--h) * 1px * var(--k)); border-radius: 2px; background: currentColor; }
.rc-vo b { font-size: 14px; font-weight: 600; letter-spacing: -0.01em; line-height: 1.1; }
.rc-vo em { font-style: normal; font-size: 12px; font-weight: 500; line-height: 1.1; color: var(--dim); }
.rc-vo:hover { background: #ececf0; }
.rc-vo.is-on { background: #fff; box-shadow: 0 0 0 1.5px var(--ink), 0 12px 22px -14px rgba(20, 19, 17, 0.4); } .rc-vo.is-on .rc-va { color: var(--ink); } .rc-vo.is-on em { color: var(--mute); }
.rc-vo.is-on .rc-va i { animation: rc-bar 1.1s ease-in-out infinite; }
.rc-vo.is-on .rc-va i:nth-child(2) { animation-delay: 120ms; } .rc-vo.is-on .rc-va i:nth-child(3) { animation-delay: 240ms; } .rc-vo.is-on .rc-va i:nth-child(4) { animation-delay: 360ms; } .rc-vo.is-on .rc-va i:nth-child(5) { animation-delay: 480ms; }
@keyframes rc-bar { 0%, 100% { transform: scaleY(1); } 50% { transform: scaleY(0.4); } }
.rc-vo:active { transform: scale(0.97); }
.rc-vo:focus-visible { outline: 2px solid var(--ink); outline-offset: 2px; }
/* during a call the voices stay visible but compact; tapping a different one explains that the call has to end first */
.rcx[data-phase="call"] .rc-vlabel { display: none; }
.rcx[data-phase="call"] .rc-vo { flex-direction: row; justify-content: center; gap: 8px; padding: 8px 6px; }
.rcx[data-phase="call"] .rc-va { --k: 0.55; height: 12px; margin: 0; } .rcx[data-phase="call"] .rc-vo em { display: none; }
.rcx[data-phase="call"] .rc-vo:not(.is-on) { opacity: 0.6; }
/* shorter stages (small laptops): the same panels, more compact, so nothing is ever cut off */
@container (max-height: 575px) {
  .rcx-card { padding: 16px 18px; }
  .rc-vlabel, .rcx-ctlh { display: none; }
  .rc-vo { flex-direction: row; justify-content: center; gap: 8px; padding: 9px 6px; }
  .rc-va { --k: 0.55; height: 12px; margin: 0; } .rc-vo em { display: none; }
  .rc-chip { padding-top: 7px; padding-bottom: 7px; }
}

/* things to say: pill-shaped suggestions that pop in one after the other. Before a call they are a preview (tapping one says to start a call first);
   during the call they follow the conversation (scripts/receptionist-demo.js, nextChips). */
.rcx-ask { gap: 14px; }
.rc-says { display: flex; flex-direction: column; gap: 14px; padding: 2px 2px 4px; }
.rcx-hint { margin: 0; font-size: 13px; line-height: 1.4; color: var(--dim); }
.rc-chips { display: flex; flex-wrap: wrap; gap: 10px; }
.rc-chip { width: auto; max-width: 100%; margin: 0; padding: 11px 18px; border-radius: 999px; background: var(--soft); box-shadow: inset 0 0 0 1px rgba(20, 19, 17, 0.07); color: var(--ink); position: relative;
  animation: rcx-pop 520ms var(--rcx) both; animation-delay: calc(var(--i, 0) * 80ms); transition: background-color 200ms ease, color 200ms ease, box-shadow 200ms ease, transform 200ms var(--rcx); }
.rc-chip + .rc-chip::before { display: none; }
.rc-chip .rc-cht { flex: none; font-size: 14px; font-weight: 500; letter-spacing: -0.01em; line-height: 1.3; color: inherit; text-align: left; }
.rc-chip:hover { background: var(--ink); color: #fff; box-shadow: none; transform: translateY(-1px); } .rc-chip:active { transform: scale(0.97); }
.rc-chips[data-mode="idle"] .rc-chip { opacity: 0.6; } .rc-chips[data-mode="idle"] .rc-chip:hover { background: var(--soft); color: var(--ink); transform: none; opacity: 0.8; }
.rc-chip:focus-visible { outline: 2px solid var(--ink); outline-offset: 2px; }
@keyframes rcx-pop { 0% { opacity: 0; transform: translateY(14px) scale(0.88); } 55% { opacity: 1; } 100% { opacity: 1; transform: none; } }
.rc-ln.is-cut::after { content: "\2026"; opacity: 0.7; }
.rc-slide.is-nudge { animation: rc-slidenudge 700ms var(--r-ease); }
@keyframes rc-slidenudge { 0%, 100% { transform: none; } 30% { transform: translateX(10px); } 60% { transform: translateX(-4px); } }

/* after the call: a phone notification drops in on the phone and points to the business side */
.rcx-go { --ink: #14161a; --mute: #5d6572; --dim: #8b93a1; --line: rgba(20, 22, 26, 0.09);
  position: absolute; left: 10px; right: 10px; top: 52px; z-index: 30; display: block; width: auto; padding: 11px 13px 12px; border: 0; border-radius: 24px; text-align: left; cursor: pointer; color: var(--ink); font: inherit;
  background: rgba(252, 252, 254, 0.95); -webkit-backdrop-filter: blur(18px) saturate(1.4); backdrop-filter: blur(18px) saturate(1.4); box-shadow: 0 0 0 1px rgba(20, 22, 26, 0.06), 0 22px 40px -12px rgba(10, 14, 30, 0.55);
  opacity: 0; transform: translateY(-160%) scale(0.94); visibility: hidden; pointer-events: none; transition: transform 380ms ease, opacity 220ms ease, visibility 0s linear 380ms; }
.rcx-go.is-in { opacity: 1; transform: none; visibility: visible; pointer-events: auto; transition-delay: 0s; animation: rcx-drop 760ms cubic-bezier(0.32, 0.72, 0, 1) 250ms both; }
.rcx-go.is-in:active { transform: scale(0.97); animation: none; }
@keyframes rcx-drop { 0% { transform: translateY(-160%) scale(0.94); opacity: 0; } 8% { opacity: 1; } 55% { transform: translateY(6px) scale(1.01); } 78% { transform: translateY(-2px); } 100% { transform: none; opacity: 1; } }
.rcx-go { display: flex; align-items: center; gap: 11px; padding: 10px 10px 10px 12px; border-radius: 26px; }
.rcx-go-i { width: 38px; height: 38px; flex: none; border-radius: 12px; display: grid; place-items: center; background: linear-gradient(150deg, #3b3f4a, #14161a); color: #fff; box-shadow: 0 6px 14px -6px rgba(20, 22, 26, 0.6); } .rcx-go-i .rc-i { width: 18px; height: 18px; }
.rcx-go-t { flex: 1; min-width: 0; display: grid; gap: 1px; margin: 0; } .rcx-go-t b { font-size: 15px; font-weight: 650; letter-spacing: -0.015em; } .rcx-go-t em { font-style: normal; font-size: 13px; color: var(--mute); }
.rcx-go-a { width: 34px; height: 34px; flex: none; border-radius: 50%; display: grid; place-items: center; background: #14161a; color: #fff; box-shadow: 0 0 0 0 rgba(20, 22, 26, 0.35); animation: rcx-ping 1.9s ease-out 1.2s infinite; } .rcx-go-a .rc-i { width: 16px; height: 16px; }
.rcx-go:hover .rcx-go-a { background: #2f6fe4; }
@keyframes rcx-ping { 0% { box-shadow: 0 0 0 0 rgba(20, 22, 26, 0.35); } 70%, 100% { box-shadow: 0 0 0 10px rgba(20, 22, 26, 0); } }
.rcx-go:focus-visible { outline: 2px solid #2f6fe4; outline-offset: 2px; }

/* ---- the notice that sits on the page (mic blocked, limits, switching voice) ---- */
.rcx-toast { position: fixed; top: 84px; left: 50%; z-index: 100000; width: min(calc(100vw - 32px), 470px); display: flex; align-items: flex-start; gap: 14px; padding: 16px 14px 19px 16px; border-radius: 20px; overflow: hidden; background: rgba(20, 19, 17, 0.95); color: #fff; box-shadow: 0 28px 60px -22px rgba(0, 0, 0, 0.6), 0 0 0 1px rgba(255, 255, 255, 0.09); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); font-family: var(--font-body, 'Switzer', 'Segoe UI', sans-serif); -webkit-font-smoothing: antialiased; opacity: 0; transform: translate(-50%, -14px); transition: opacity 220ms ease-out, transform 280ms cubic-bezier(0.23, 1, 0.32, 1); }
.rcx-toast.is-in { opacity: 1; transform: translate(-50%, 0); }
.rcx-toast.is-out { opacity: 0; transform: translate(-50%, -8px); transition-duration: 180ms; }
.rcx-toast-i { width: 38px; height: 38px; flex: none; display: grid; place-items: center; border-radius: 12px; background: rgba(255, 255, 255, 0.12); }
.rcx-toast-i svg { width: 20px; height: 20px; fill: none; stroke: #fff; stroke-width: 1.9; stroke-linecap: round; stroke-linejoin: round; }
.rcx-toast-b { flex: 1; min-width: 0; padding-top: 1px; }
.rcx-toast-b b { display: block; font-size: 15.5px; font-weight: 600; letter-spacing: -0.01em; line-height: 1.3; }
.rcx-toast-b p { margin: 3px 0 0; font-size: 14px; line-height: 1.45; color: rgba(255, 255, 255, 0.8); }
.rcx-toast-x { width: 30px; height: 30px; flex: none; display: grid; place-items: center; border: 0; border-radius: 50%; background: transparent; cursor: pointer; transition: background-color 160ms ease; }
.rcx-toast-x:hover { background: rgba(255, 255, 255, 0.12); }
.rcx-toast-x svg { width: 15px; height: 15px; fill: none; stroke: rgba(255, 255, 255, 0.8); stroke-width: 2; stroke-linecap: round; }
.rcx-toast::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 3px; background: rgba(255, 255, 255, 0.55); transform-origin: left; animation: rcx-toast-bar var(--ms, 8s) linear forwards; }
@keyframes rcx-toast-bar { from { transform: scaleX(1); } to { transform: scaleX(0); } }
@media (prefers-reduced-motion: reduce) { .rcx-toast { transition: opacity 120ms linear; transform: translate(-50%, 0); } .rc-livepill i { animation: none; } }

/* ---- tapping in: a customer, a text conversation, a booking, the notifications ---- */
.rb-over { position: absolute; inset: 0; z-index: 5; overflow: hidden; background: var(--bg); transform: translateX(100%); visibility: hidden; pointer-events: none; transition: transform 460ms var(--e), visibility 0s linear 460ms; }
.rb-over.is-on { transform: none; visibility: visible; pointer-events: auto; transition-delay: 0s; }
.rb.is-thread .rb-nav { opacity: 0; pointer-events: none; transform: translateX(-50%) translateY(20px); transition: opacity 200ms ease, transform 300ms var(--e); }
.rb-dh { position: relative; display: grid; grid-template-columns: 44px 1fr 44px; align-items: center; justify-items: center; height: 48px; padding: 4px 8px 0; }
.rb-dh b { font-size: 14px; font-weight: 600; letter-spacing: -0.01em; color: var(--ink); }
.rb-back { width: 34px; height: 34px; border-radius: 50%; display: grid; place-items: center; background: var(--card); box-shadow: inset 0 0 0 1px var(--line); color: var(--ink); transition: transform 140ms ease; } .rb-back:active { transform: scale(0.92); } .rb-back .rc-i { width: 16px; height: 16px; transform: scaleX(-1); }
.rb-dhero { position: relative; display: grid; justify-items: center; padding: 4px 18px 0; text-align: center; }
.rb-av.xl { box-shadow: 0 14px 26px -14px rgba(20, 22, 26, 0.5), inset 0 0 0 2px rgba(255, 255, 255, 0.4); }
.rb-dhero h3 { margin: 10px 0 5px; color: var(--ink); font-size: 21px; font-weight: 600; letter-spacing: -0.03em; }
.rb-tags { margin: 0; display: flex; flex-wrap: wrap; justify-content: center; gap: 5px; } .rb-tags span { padding: 3px 9px; border-radius: 999px; background: var(--soft); color: var(--t2); font-size: 12px; font-weight: 600; }
.rb-dsub { margin: 7px 0 0; font-size: 12px; color: var(--mute); }
.rb-acts { position: relative; display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin: 14px 18px 0; }
.rb-acts button { display: grid; justify-items: center; gap: 5px; color: var(--mute); font-size: 12.5px; font-weight: 500; transition: transform 140ms ease; } .rb-acts button:active { transform: scale(0.94); }
.rb-acts i { width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; background: var(--card); box-shadow: inset 0 0 0 1px var(--line); color: var(--ink); transition: background-color 160ms ease; } .rb-acts button:hover i { background: var(--soft); } .rb-acts .rc-i { width: 18px; height: 18px; }
.rb-sheet.is-d { top: 296px; z-index: 1; } .rb-sheet.is-b { top: 292px; } .rb-sheet.is-n { top: 54px; }
.rb-sheet.is-d .rb-sbody { padding-top: 10px; }
.rb-kv { width: 100%; align-items: center; text-align: left; color: var(--ink); } button.rb-kv { cursor: pointer; transition: background-color 160ms ease; } button.rb-kv:active { background: rgba(0, 0, 0, 0.04); } .rb-kv b { display: inline-flex; align-items: center; gap: 4px; }
.rb-rw { flex: none; font-size: 12px; color: var(--dim); }
.rb-rem { margin-top: 12px; }
.rb-rem .rb-tg { margin: 0; flex: none; cursor: pointer; } .rb-rem .rb-kv { align-items: center; }
.rb-bcard { position: relative; margin: 6px 16px 0; padding: 13px 15px 14px; border-radius: 18px; background: var(--card); box-shadow: 0 0 0 1px var(--line); color: var(--ink); } .rb-bcard.is-new { background: var(--okbg); box-shadow: 0 0 0 1px #bfe6cf; }
.rb-chat { position: absolute; left: 0; right: 0; top: 52px; bottom: 70px; overflow-y: auto; display: flex; flex-direction: column; gap: 8px; padding: 8px 16px 10px; scrollbar-width: none; } .rb-chat::-webkit-scrollbar { display: none; }
.rb-b { max-width: 84%; align-self: flex-start; padding: 9px 12px 7px; border-radius: 18px 18px 18px 6px; background: var(--card); box-shadow: 0 0 0 1px var(--line); color: var(--ink); animation: rc-rise 320ms var(--o) both; } .rb-b.is-me { align-self: flex-end; border-radius: 18px 18px 6px 18px; background: var(--info); box-shadow: none; color: #fff; }
.rb-b p { margin: 0; font-size: 13px; line-height: 1.4; } .rb-b i { display: block; margin-top: 3px; font-style: normal; font-size: 11px; opacity: 0.62; }
.rb-comp { position: absolute; left: 14px; right: 14px; bottom: 20px; display: flex; align-items: center; gap: 8px; }
.rb-comp input { flex: 1; min-width: 0; height: 42px; padding: 0 16px; border: 0; outline: 0; border-radius: 999px; background: var(--card); box-shadow: inset 0 0 0 1px var(--line); color: var(--ink); font: inherit; font-size: 13px; } .rb-comp input::placeholder { color: var(--dim); } .rb-comp input:focus { box-shadow: inset 0 0 0 1.5px var(--ink); }
.rb-comp button { width: 42px; height: 42px; flex: none; border-radius: 50%; display: grid; place-items: center; background: var(--ink); color: var(--onink); transition: transform 140ms ease; } .rb-comp button:active { transform: scale(0.92); } .rb-comp .rc-i { width: 17px; height: 17px; }
.rb-toast { position: absolute; left: 50%; top: 46px; z-index: 11; max-width: 250px; padding: 9px 15px; border-radius: 16px; background: var(--ink); color: var(--onink); font-size: 12px; font-weight: 600; line-height: 1.35; text-align: center; box-shadow: 0 16px 30px -12px rgba(20, 22, 26, 0.5); opacity: 0; transform: translate(-50%, -10px) scale(0.96); transition: opacity 200ms ease-out, transform 260ms var(--o); pointer-events: none; } .rb-toast.is-in { opacity: 1; transform: translate(-50%, 0); }

/* simulated outbound call */
.rb-simcall { position: absolute; left: 0; right: 0; top: 48px; bottom: 0; display: flex; flex-direction: column; align-items: center; gap: 6px; padding: 14px 16px 112px; text-align: center; }
.rb-simcall .rb-av { margin-bottom: 4px; }
.rb-simname { margin: 0; color: var(--ink); font-size: 20px; font-weight: 600; letter-spacing: -0.02em; }
.rb-simst { margin: 2px 0 0; font-size: 13px; color: var(--mute); transition: color 300ms ease; }
.rb-simst.is-done { color: var(--ok); }
.rb-simdots { display: flex; gap: 5px; margin-top: 8px; }
.rb-simdots i { width: 6px; height: 6px; border-radius: 50%; background: var(--dim); animation: rc-dot 1s ease-in-out infinite; } .rb-simdots i:nth-child(2) { animation-delay: 150ms; } .rb-simdots i:nth-child(3) { animation-delay: 300ms; }
.rb-simchat { width: 100%; flex: 1; min-height: 0; max-height: none; overflow-y: auto; display: flex; flex-direction: column; gap: 8px; padding: 18px 0 6px; scrollbar-width: none; -webkit-mask-image: linear-gradient(transparent, #000 22px); mask-image: linear-gradient(transparent, #000 22px); } .rb-simchat::-webkit-scrollbar { display: none; }
.rb-simend { position: absolute; left: 50%; bottom: 34px; margin: 0; transform: translateX(-50%); animation: rb-endin 600ms var(--o) 200ms both; } @keyframes rb-endin { from { opacity: 0; transform: translateX(-50%) translateY(24px) scale(0.8); } to { opacity: 1; transform: translateX(-50%); } }
.rb-simhang { width: 52px; height: 52px; border-radius: 50%; display: grid; place-items: center; background: var(--bad); color: #fff; box-shadow: 0 10px 20px -8px rgba(212, 66, 59, 0.6); transform: rotate(135deg); transition: transform 160ms ease; } .rb-simhang:active { transform: rotate(135deg) scale(0.92); } .rb-simhang .rc-i { width: 22px; height: 22px; }

/* the bottom sheet is the one light surface, like the reference: it slides up over the dark page */
.rb-sheet { --bg: #f4f5f7; --card: #fff; --ink: #14161a; --onink: #fff; --mute: #6b7280; --dim: #9aa1ad; --line: #e6e8ec; --soft: #eceef2; --t2: #2b3038; --ok: #1f9d55; --okbg: #e6f6ec; --warn: #a96a0c; --warnbg: #fcefd2; --bad: #d4423b; --badbg: #fde8e6; --info: #2f6fe4; --infobg: #e6eefc; }

/* the filter in the customers sheet, and a phone that scrolls on its own */
.rb-sh2 button { border: 0; background: none; padding: 5px 14px; border-radius: 999px; font: inherit; color: var(--mute); transition: background-color 200ms ease, color 200ms ease, box-shadow 200ms ease, transform 140ms ease; } .rb-sh2 button:active { transform: scale(0.95); } .rb-sh2 button.is-on { background: #fff; color: var(--ink); box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1); }
.rb-feed, .rb-scroll, .rb-sbody, .rb-chat, .rb-simchat { overscroll-behavior: contain; }
.rcx-screen { overscroll-behavior: contain; touch-action: pan-y; }

/* sharper, solid text on the dark phone: heavier weights, pure white ink, no thin smoothing */
.rc[data-biz] { width: 270px; font-family: system-ui, -apple-system, 'Segoe UI Variable Text', 'Segoe UI', Roboto, sans-serif; -webkit-font-smoothing: auto; text-rendering: optimizeLegibility; letter-spacing: 0; }
.rc[data-biz] .rb * { font-family: inherit; }
.rb { --ink: #ffffff; --t2: #e3e6ec; font-weight: 500; }
.rb-rt em, .rb-call-t em, .rb-cap, .rb-day, .rb-cm, .rb-ct, .rb-call-d em { font-weight: 500; }
.rb b, .rb-h, .rb-h1 { font-weight: 650; }

/* bookings: vivid solid cards that glow, the three round buttons sit on the bottom edge (reference video) */
.rb-cards { gap: 30px; padding: 18px 16px 120px; }
.rb-card:not(.c-s):not(.c-n), .rb-bcard { --c1: #ffe94a; --c2: #f6cf14; --gl: rgba(255, 214, 0, 0.5); --tx: #14120a;
  position: relative; overflow: visible; min-height: 124px; padding: 14px 16px 30px; border-radius: 22px; color: var(--tx); text-align: left;
  background: radial-gradient(120% 90% at 100% 100%, rgba(255, 255, 255, 0.28) 0 38%, transparent 39%), radial-gradient(90% 80% at 0% 0%, rgba(255, 255, 255, 0.22), transparent 60%), linear-gradient(160deg, var(--c1), var(--c2));
  box-shadow: 0 22px 30px -16px var(--gl), 0 0 0 1px rgba(255, 255, 255, 0.18) inset; }
.rb-card.cc-1:not(.c-s):not(.c-n), .rb-bcard.cc-1 { --c1: #2cf2c4; --c2: #0fd3a4; --gl: rgba(20, 232, 180, 0.5); --tx: #04241d; }
.rb-card.cc-2:not(.c-s):not(.c-n), .rb-bcard.cc-2 { --c1: #25b0f4; --c2: #1280d8; --gl: rgba(30, 150, 240, 0.55); --tx: #031a2e; }
.rb-card.cc-0, .rb-card.cc-1, .rb-card.cc-2 { animation: rb-cardin 760ms var(--o) both; animation-delay: calc(var(--k, 0) * 110ms + 60ms); }
@keyframes rb-cardin { 0% { opacity: 0; transform: translateY(46px) scale(0.92); } 60% { opacity: 1; } 100% { opacity: 1; transform: none; } }
.rb-card:not(.c-s):not(.c-n) .rb-ct, .rb-bcard .rb-ct { color: var(--tx); opacity: 0.8; font-size: 12.5px; font-weight: 600; }
.rb-card:not(.c-s):not(.c-n) .rb-cn, .rb-bcard .rb-cn { margin-top: 12px; color: var(--tx); font-size: 20px; font-weight: 700; letter-spacing: -0.03em; }
.rb-card:not(.c-s):not(.c-n) .rb-cm, .rb-bcard .rb-cm { color: var(--tx); opacity: 0.72; font-size: 12.5px; font-weight: 500; }
.rb-card .rb-new, .rb-bcard .rb-new { position: absolute; right: 14px; top: 38px; display: inline-flex; align-items: center; gap: 4px; padding: 4px 10px 4px 8px; border-radius: 999px; background: rgba(8, 12, 16, 0.86); color: #fff; font-size: 11px; font-weight: 650; letter-spacing: 0.01em; }
.rb-card .rb-new .rc-i, .rb-bcard .rb-new .rc-i { width: 12px; height: 12px; }
.rb-card.is-new:not(.c-s) { box-shadow: 0 22px 34px -14px var(--gl), 0 0 0 2px rgba(255, 255, 255, 0.7); animation: rb-cardin 760ms var(--o) both, rb-glow 2.6s ease-in-out 1.2s infinite; animation-delay: calc(var(--k, 0) * 110ms + 60ms), 1.2s; }
@keyframes rb-glow { 0%, 100% { filter: none; } 50% { filter: brightness(1.07) saturate(1.1); } }
.rb-card .rb-cb { position: absolute; left: 12px; right: 14px; bottom: -17px; margin: 0; gap: 8px; }
.rb-card .rb-cir { width: 34px; height: 34px; background: rgba(14, 18, 22, 0.62); color: #fff; -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); box-shadow: 0 0 0 2.5px #fff, 0 8px 16px -6px rgba(0, 0, 0, 0.55); transition: transform 160ms var(--o), background-color 160ms ease; }
.rb-card .rb-cir:hover { background: rgba(14, 18, 22, 0.85); } .rb-card .rb-cir:active { transform: scale(0.9); }
.rb-card .rb-tg { background: rgba(8, 12, 16, 0.35); box-shadow: 0 0 0 2.5px #fff; } .rb-card .rb-tg.is-on { background: rgba(8, 12, 16, 0.78); }
.rb-bcard { margin: 6px 16px 0; padding-bottom: 18px; }
.rb-bcard.cc-0, .rb-bcard.cc-1, .rb-bcard.cc-2 { animation: rb-cardin 700ms var(--o) 200ms both; }

/* the week strip: bigger cells with room around the number, jobs shown as dots, a plain line under it */
.rb-days { grid-template-columns: repeat(6, 1fr); gap: 8px; padding: 14px 14px 0; }
.rb-days button { height: 66px; border-radius: 16px; gap: 3px; align-content: center; }
.rb-days i { font-size: 10px; letter-spacing: 0.06em; opacity: 0.8; } .rb-days b { font-size: 18px; font-weight: 700; line-height: 1; }
.rb-days em { display: flex; justify-content: center; gap: 3px; height: 5px; opacity: 1; } .rb-days em s { width: 5px; height: 5px; border-radius: 50%; background: var(--ok); } .rb-days button.is-on em s { background: var(--onink); opacity: 0.8; }
.rb-dsum { margin: 0; padding: 16px 20px 0; font-size: 13px; font-weight: 600; color: var(--mute); }
.rb-scroll { top: 158px; }

.rc[data-biz], .rc[data-biz] .rc-home { transition: none; }

/* speech bubbles in the call: pop in from their own corner, three dots first, then the words fade in as they are said */
.rb-simchat .rb-b { max-width: 88%; text-align: left; transform-origin: 0 100%; animation: rb-bub 460ms cubic-bezier(0.34, 1.4, 0.64, 1) both; } .rb-simchat .rb-b.is-me { transform-origin: 100% 100%; }
@keyframes rb-bub { from { opacity: 0; transform: translateY(14px) scale(0.6); } to { opacity: 1; transform: none; } }
.rb-b.is-typing { padding: 12px 14px; } .rb-typ { display: flex; gap: 4px; } .rb-typ i { width: 6px; height: 6px; border-radius: 50%; background: currentColor; opacity: 0.5; animation: rc-dot 1s ease-in-out infinite; } .rb-typ i:nth-child(2) { animation-delay: 150ms; } .rb-typ i:nth-child(3) { animation-delay: 300ms; }
.rb-simchat .rb-b p { font-size: 13px; } .rb-w { display: inline-block; animation: rb-word 380ms ease-out both; animation-delay: var(--d); } @keyframes rb-word { from { opacity: 0; transform: translateY(4px); filter: blur(2px); } to { opacity: 1; transform: none; filter: none; } }

/* the "check the business side" notification, Apple style: a light translucent card slides in and stays still. A real arrow on the right. */
.rcx-go { --ink: #14161a; --mute: #6b7280; overflow: visible; color: var(--ink); gap: 12px; padding: 10px 12px 10px 10px; border-radius: 22px;
  background: rgba(248, 248, 250, 0.9); -webkit-backdrop-filter: blur(22px) saturate(1.6); backdrop-filter: blur(22px) saturate(1.6);
  box-shadow: 0 0 0 0.5px rgba(20, 22, 26, 0.12), 0 12px 32px -10px rgba(10, 14, 30, 0.35); }
.rcx-go::after { content: none; }
.rcx-go.is-in { animation: rcx-slide 520ms cubic-bezier(0.32, 0.72, 0, 1) 200ms both; }
@keyframes rcx-slide { from { opacity: 0; transform: translateY(-120%); } to { opacity: 1; transform: none; } }
.rcx-go-i { width: 38px; height: 38px; border-radius: 9px; background: #14161a; color: #fff; box-shadow: none; } .rcx-go-i .rc-i { width: 19px; height: 19px; }
.rcx-go-t b { font-size: 14px; font-weight: 600; letter-spacing: -0.01em; color: #14161a; white-space: nowrap; } .rcx-go-t em { font-size: 12px; color: var(--mute); }
.rcx-go-a { width: auto; height: auto; background: none; color: #14161a; animation: none; box-shadow: none; border-radius: 0; padding: 0 2px; } .rcx-go-a .rc-i { width: 20px; height: 20px; animation: none; transition: transform 200ms ease; stroke-width: 1.8; }
.rcx-go:hover .rcx-go-a { background: none; } .rcx-go:hover .rcx-go-a .rc-i { transform: translateX(3px); }

/* the notification as a pill (like the iOS banner): a black phone icon, centred text, a black box with an arrow on the right */
.rcx-go { left: 12px; right: 12px; top: 50px; padding: 8px 8px 8px 16px; gap: 10px; border-radius: 999px; background: rgba(250, 250, 252, 0.94); box-shadow: 0 0 0 0.5px rgba(20, 22, 26, 0.1), 0 10px 28px -10px rgba(10, 14, 30, 0.35); }
.rcx-go-i { width: 24px; height: 24px; flex: none; border-radius: 0; background: none; color: #14161a; box-shadow: none; } .rcx-go-i .rc-i { width: 22px; height: 22px; }
.rcx-go-t { flex: 1; text-align: center; justify-items: center; } .rcx-go-t b { font-size: 13.5px; } .rcx-go-t em { font-size: 12px; }
.rcx-go-a { width: 36px; height: 36px; flex: none; display: grid; place-items: center; padding: 0; border-radius: 12px; background: #14161a; color: #fff; } .rcx-go-a .rc-i { width: 17px; height: 17px; }
.rcx-go:hover .rcx-go-a { background: #14161a; }
.rcx-go { left: 8px; right: 8px; }
/* notification, final touches: a bigger solid phone, a black circle for the arrow with room on the right, and lower on the screen like an iOS banner */
.rcx-go { top: 64px; padding: 9px 12px 9px 18px; }
.rcx-go-i { width: 30px; height: 30px; } .rcx-go-i .rc-i { width: 28px; height: 28px; fill: currentColor; stroke-width: 1.4; }
.rcx-go-a { width: 38px; height: 38px; border-radius: 50%; } .rcx-go-a .rc-i { width: 18px; height: 18px; fill: none; }
.rcx-go-a { background: #cfe1fb; color: #14161a; }   /* a light blue that sits with the phone's own blue */
.rcx-go:hover .rcx-go-a { background: #bcd3f7; }
