/* call.css — the public call page. Phone first.
 *
 * Wave 6 call page (owner 2026-11-03): the console's orange brand. The colours, fonts and
 * radii are the console's own tokens (/echo-tokens.css, loaded first: light, and dark under
 * [data-theme="dark"], which this page never sets: light for every caller, CALL-PAGE-1); this sheet adds
 * only the page's few tokens below. Designed at 390px portrait and grown from there.
 *
 * It reads like a phone's own call screen, one screen before and during the call (owner
 * 2026-11-03, the website's hero phone): the business on top, the assistant's avatar with the
 * logo's arc, the call's state under it, and the one action a thumb needs at the bottom.
 * After a call that booked, the avatar shrinks away and a ticket slides up.
 *
 * Layout uses logical properties, so `dir="rtl"` mirrors it without a second sheet. Heights
 * use the small viewport unit (svh) so the dock is never under Safari's toolbar, and every
 * edge respects the safe-area insets. Motion is transform and opacity only.
 */

:root {
  /* The page's own: the glow, the rings and the ticket's shine (light). */
  --pc-glow: rgb(255 138 61 / 0.42);
  --pc-glow-soft: rgb(255 138 61 / 0.14);
  --pc-ring: rgb(224 102 26 / 0.55);
  --pc-ember-wash: #FFE9D9;
  --pc-shine: rgb(255 255 255 / 0.7);
  --pc-tear: #B8B1A8;
  --pc-shadow: rgb(40 34 28 / 0.18);
  --pc-warn: #8A5300;
  --pc-warn-wash: #FBF1DE;
  --pc-warn-line: #EBD3A2;
  --pc-pad: 16px;
  --on-brand-light: #FFFFFF;
  --e: cubic-bezier(.2, 0, 0, 1);
}
:root[data-theme="dark"] {
  --pc-glow: rgb(255 138 61 / 0.34);
  --pc-glow-soft: rgb(255 138 61 / 0.1);
  --pc-ring: rgb(255 138 61 / 0.5);
  --pc-ember-wash: #3A2A1E;
  --pc-shine: rgb(255 255 255 / 0.12);
  --pc-tear: #5E5852;
  --pc-shadow: rgb(0 0 0 / 0.5);
  --pc-warn: #F2C27A;
  --pc-warn-wash: #3A2E1C;
  --pc-warn-line: #6A5326;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; background: var(--ground); }
body {
  margin: 0;
  background: var(--ground);
  color: var(--ink-2);
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  -webkit-tap-highlight-color: transparent;
  overscroll-behavior: none;
}
html[lang="ar"] body, html[lang="fa"] body, html[lang="ur"] body { font-family: var(--font-arabic); line-height: 1.7; }
/* Arabic letters join, so Arabic is never letter-spaced and never broken inside a word (owner
   18 Nov 2026: no tracking and no word-break tricks on Arabic, anywhere on the page). One rule
   above every element's own (call-screen.css and select-menu.css too): a right-to-left page,
   Arabic, Persian or Urdu wherever it is marked, and, in its own rule (a browser without :dir()
   drops only that one), any text the browser sets right to left, such as a dir="auto" caption
   in Arabic on an English page. English keeps its own tracking: on an English page, and in an
   English part of an Arabic one marked lang="en" dir="ltr". A part marked dir="ltr" (a code, a booking reference, digits) keeps its own spacing
   too: it is not Arabic text. e2e/public-call/arabic-captions.spec.js. */
:root[dir="rtl"] :not(:lang(en)):not([dir="ltr"]):not([dir="ltr"] *), :root[dir="rtl"] :not(:lang(en)):not([dir="ltr"]):not([dir="ltr"] *)::before, :root[dir="rtl"] :not(:lang(en)):not([dir="ltr"]):not([dir="ltr"] *)::after,
:root :lang(ar), :root :lang(ar)::before, :root :lang(ar)::after,
:root :lang(fa), :root :lang(fa)::before, :root :lang(fa)::after,
:root :lang(ur), :root :lang(ur)::before, :root :lang(ur)::after {
  letter-spacing: 0 !important;
  word-break: normal !important;
}
:root :dir(rtl), :root :dir(rtl)::before, :root :dir(rtl)::after { letter-spacing: 0 !important; word-break: normal !important; }
p, h1, h2 { margin: 0; }
button { font: inherit; color: inherit; }
[hidden] { display: none !important; }
svg { display: block; }
:focus-visible { outline: 3px solid var(--focus); outline-offset: 3px; }

/* ── the screen ─────────────────────────────────────────────────────────── */

.pc {
  min-height: 100vh;
  min-height: 100svh;
  display: flex;
  flex-direction: column;
  max-width: 520px;
  margin-inline: auto;
  padding:
    max(10px, env(safe-area-inset-top))
    max(var(--pc-pad), env(safe-area-inset-right))
    max(16px, env(safe-area-inset-bottom))
    max(var(--pc-pad), env(safe-area-inset-left));
}

/* The header: the Echo Calls mark, big enough to read, with its name beside it. */
.pc-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  min-height: 56px;
}
.pc-brand { display: inline-flex; align-items: center; gap: 10px; min-width: 0; }
.pc-brand__mark { flex: none; width: 36px; height: 36px; }
.pc-brand__e { stroke: var(--ink); }
.pc-brand__arc { stroke: var(--mark-arc); }
.pc-brand__name {
  color: var(--ink);
  font-size: 20px;
  font-weight: 800;
  letter-spacing: -.01em;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
html[dir="rtl"] .pc-brand__name { letter-spacing: 0; }
.pc-lang {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  flex: none;
  min-height: 44px;
  min-width: 44px;
  max-width: 48%;
  padding: 0 14px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--surface);
  color: var(--ink);
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
}
.pc-lang:hover { border-color: var(--ember); }
.pc-lang:focus-within { outline: 3px solid var(--focus); outline-offset: 3px; }
.pc-lang__icon { flex: none; width: 18px; height: 18px; stroke: var(--ember-ink); }
#pc-lang-text { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
/* UI-ROUND-2 item 10: a row of the language list is the English name, then the language's own
   name small and grey (select-menu.js draws the two parts; call-page.js names them). */
.sd-selmenu__native { margin-inline-start: 6px; color: var(--ink-3); font-size: .86em; font-weight: 400; unicode-bidi: isolate; }
/* The language list is the browser's own (every phone's native picker), laid over the
   pill: the pill shows the choice, a tap opens the list. 16px keeps iPhone from zooming. */
.pc-lang__select {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  font-size: 16px;
  cursor: pointer;
  appearance: none;
  -webkit-appearance: none;
}

.pc-main {
  flex: 1 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 18px;
  padding-block: 16px 12px;
  text-align: center;
}

/* ── the call's state ───────────────────────────────────────────────────── */

.pc-state { display: flex; flex-direction: column; align-items: center; gap: 4px; min-height: 28px; max-width: 34ch; }
.pc-state__title { font-size: 17px; font-weight: 700; color: var(--ink); overflow-wrap: anywhere; }
.pc[data-view="notice"] .pc-state__title { font-size: 22px; font-weight: 800; letter-spacing: -.01em; }
html[dir="rtl"] .pc[data-view="notice"] .pc-state__title { letter-spacing: 0; }
.pc[data-phase="reconnecting"] .pc-state__title { color: var(--pc-warn); }
.pc-clock {
  font-size: 40px;
  line-height: 1.1;
  font-weight: 700;
  letter-spacing: -.02em;
  color: var(--ink);
  font-variant-numeric: tabular-nums;
  font-family: var(--font-sans);
}
.pc-state__detail { font-size: 15px; color: var(--ink-2); white-space: pre-line; overflow-wrap: anywhere; }
/* GUARD-2: the bot check's box, under the state line; call-challenge.js draws the widget in it. */
.pc-challenge { display: flex; justify-content: center; min-block-size: 65px; max-inline-size: 100%; }
.pc[data-view="ended"] .pc-state__title { font-size: 20px; font-weight: 800; }
.pc[data-view="ended"] .pc-clock { font-size: 28px; color: var(--ink-2); }
/* Once a ticket or the thank-you card is up, the state is one quiet line above it. */
.pc[data-outro="card"] .pc-state { flex-direction: row; flex-wrap: wrap; justify-content: center; gap: 4px 10px; }
.pc[data-outro="card"] .pc-state__title { font-size: 16px; font-weight: 700; color: var(--ink-2); }
.pc[data-outro="card"] .pc-clock { font-size: 16px; font-weight: 700; color: var(--ink-3); line-height: inherit; }
.pc[data-outro="card"] .pc-state__detail { flex-basis: 100%; font-size: 14px; }
.pc[data-outro="card"] .pc-main { justify-content: flex-start; gap: 14px; }
.pc-warn {
  padding: 8px 14px;
  border-radius: var(--echo-radius-sm);
  border: 1px solid var(--pc-warn-line);
  background: var(--pc-warn-wash);
  color: var(--pc-warn);
  font-size: 15px;
  font-weight: 600;
}

.pc-help {
  max-width: 34ch;
  padding: 12px 14px;
  border-radius: var(--echo-radius-md);
  border: 1px solid var(--line);
  background: var(--surface);
  color: var(--ink-2);
  font-size: 15px;
  text-align: start;
}
.pc-help p + p { margin-block-start: 8px; }
/* The number to ring instead: one tap dials it, so it reads as a link and is easy to hit. */
.pc-help__call {
  display: inline-block;
  padding-block: 6px;
  color: var(--ink);
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 3px;
}

/* ── the booking ticket (Wave 5 K20 item 4; Wave 6 call page) ─────────────
   A real ticket: a stamp, a dotted tear line with a half-circle notch at each end, and a
   wavy torn bottom edge -- all one CSS mask, so it sits on any background in either theme.
   Logical properties and tokens only. */
.pc-tickets { display: flex; flex-direction: column; gap: 18px; inline-size: 100%; max-inline-size: 25rem; }
.pc-tk { filter: drop-shadow(0 14px 22px var(--pc-shadow)); }
.pc-ticket {
  --tear: 70px;
  --notch: 13px;
  --wave: 9px;
  position: relative;
  overflow: hidden;
  padding-block: 16px calc(var(--wave) + 16px);
  padding-inline: 20px;
  border-start-start-radius: var(--echo-radius-xl);
  border-start-end-radius: var(--echo-radius-xl);
  background: var(--surface);
  color: var(--ink-2);
  text-align: start;
  -webkit-mask:
    radial-gradient(circle var(--notch) at 0 var(--tear), transparent calc(var(--notch) - .5px), black var(--notch)) 0 0 / 51% calc(100% - var(--wave)) no-repeat,
    radial-gradient(circle var(--notch) at 100% var(--tear), transparent calc(var(--notch) - .5px), black var(--notch)) 100% 0 / 51% calc(100% - var(--wave)) no-repeat,
    radial-gradient(circle var(--wave) at 50% 0, black calc(var(--wave) - .5px), transparent var(--wave)) 0 100% / calc(var(--wave) * 2) var(--wave) repeat-x;
  mask:
    radial-gradient(circle var(--notch) at 0 var(--tear), transparent calc(var(--notch) - .5px), black var(--notch)) 0 0 / 51% calc(100% - var(--wave)) no-repeat,
    radial-gradient(circle var(--notch) at 100% var(--tear), transparent calc(var(--notch) - .5px), black var(--notch)) 100% 0 / 51% calc(100% - var(--wave)) no-repeat,
    radial-gradient(circle var(--wave) at 50% 0, black calc(var(--wave) - .5px), transparent var(--wave)) 0 100% / calc(var(--wave) * 2) var(--wave) repeat-x;
}
/* The shine: one sweep across the ticket once it has landed (call-motion.js). */
.pc-ticket::after {
  content: "";
  position: absolute;
  inset-block: 0;
  inset-inline-start: 0;
  inline-size: 60%;
  background: linear-gradient(100deg, transparent 0%, var(--pc-shine) 50%, transparent 100%);
  transform: translateX(-170%);
  pointer-events: none;
}
html[dir="rtl"] .pc-ticket::after { transform: translateX(170%); }
@media (prefers-reduced-motion: no-preference) {
  .pc-tk[data-shine="true"] .pc-ticket::after { animation: pc-shine 1.1s var(--ease-out-soft) 1 forwards; }
  html[dir="rtl"] .pc-tk[data-shine="true"] .pc-ticket::after { animation-name: pc-shine-rtl; }
}
@keyframes pc-shine { from { transform: translateX(-170%); } to { transform: translateX(260%); } }
@keyframes pc-shine-rtl { from { transform: translateX(170%); } to { transform: translateX(-260%); } }

.pc-ticket__head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
  min-block-size: 40px;
}
.pc-ticket__biz {
  min-inline-size: 0;
  color: var(--ink);
  font-size: 17px;
  font-weight: 800;
  line-height: 1.3;
  overflow-wrap: anywhere;
  unicode-bidi: plaintext;
}
.pc-ticket__stamp {
  flex: none;
  padding-block: 4px;
  padding-inline: 12px;
  border: 2px solid currentColor;
  border-radius: var(--echo-radius-sm);
  font-size: 14px;
  font-weight: 800;
  line-height: 1.4;
  white-space: nowrap;
  transform: rotate(-5deg);
  color: var(--ok);
  background: var(--ok-wash);
}
html[dir="rtl"] .pc-ticket__stamp { transform: rotate(5deg); }
.pc-tk[data-outcome="moved"] .pc-ticket__stamp { color: var(--ember-ink); background: var(--pc-ember-wash); }
.pc-tk[data-outcome="cancelled"] .pc-ticket__stamp { color: var(--danger-ink); background: var(--danger-wash); }
/* The tear line, between the two notches. */
.pc-ticket__tear {
  margin-block: 14px 16px;
  margin-inline: calc(var(--notch) - 6px);
  border-block-start: 2px dashed var(--pc-tear);
}
.pc-ticket__k { display: block; color: var(--ink-3); font-size: 13px; font-weight: 600; }
.pc-ticket__name { margin-block-end: 12px; }
.pc-ticket__name .pc-ticket__v { color: var(--ink); font-size: 20px; font-weight: 800; overflow-wrap: anywhere; unicode-bidi: plaintext; }
.pc-ticket__when {
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: end;
  gap: 2px 12px;
  padding-block: 12px;
  padding-inline: 14px;
  border-radius: var(--echo-radius-md);
  background: var(--surface-2);
}
.pc-ticket__day { color: var(--ink); font-size: 17px; font-weight: 800; }
.pc-ticket__date { grid-column: 1; color: var(--ink-2); font-size: 15px; }
.pc-ticket__time {
  grid-column: 2;
  grid-row: 1 / span 2;
  color: var(--ink);
  font-size: 28px;
  font-weight: 800;
  line-height: 1.1;
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
}
.pc-tk[data-outcome="cancelled"] .pc-ticket__when { opacity: .75; }
.pc-tk[data-outcome="cancelled"] .pc-ticket__time,
.pc-tk[data-outcome="cancelled"] .pc-ticket__day { text-decoration: line-through; text-decoration-thickness: 2px; }
.pc-ticket__rows { margin-block: 12px 0; margin-inline: 0; display: grid; gap: 8px; }
.pc-ticket__rows > div { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; }
.pc-ticket__rows dt { color: var(--ink-3); font-size: 14px; }
.pc-ticket__rows dd { margin: 0; color: var(--ink); font-size: 15px; font-weight: 700; text-align: end; overflow-wrap: anywhere; }
.pc-ticket__fee dd { color: var(--ember-ink); font-size: 17px; font-weight: 800; }
.pc-ticket__ref dd { letter-spacing: .08em; font-variant-numeric: tabular-nums; }
.pc-ticket__note {
  margin-block: 14px 0;
  padding-block: 10px;
  padding-inline: 14px;
  border-inline-start: 3px solid var(--ember);
  border-radius: var(--echo-radius-sm);
  background: var(--pc-ember-wash);
  color: var(--ink);
  font-size: 15px;
  line-height: 1.5;
  overflow-wrap: anywhere;
  unicode-bidi: plaintext;
}
/* Small fixes 2 (owner 2026-11-03): the ticket's actions -- Share on WhatsApp, Open in Maps
   (when the business set its location), Add to calendar. Equal buttons that wrap: two side
   by side on a phone, a lone last one takes the row. */
.pc-ticket__acts { display: flex; flex-wrap: wrap; gap: 8px; margin-block-start: 16px; }
.pc-ticket__act {
  display: flex;
  flex: 1 1 140px;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 48px;
  padding-block: 10px;
  padding-inline: 12px;
  border-radius: var(--echo-radius-md);
  border: 2px solid var(--ember);
  background: var(--surface);
  color: var(--ink);
  font-size: 15px;
  font-weight: 800;
  line-height: 1.25;
  text-align: center;
  text-decoration: none;
  touch-action: manipulation;
}
.pc-ticket__act svg { inline-size: 20px; block-size: 20px; flex: none; stroke: var(--ember-ink); fill: none; }
.pc-ticket__act:hover { background: var(--pc-ember-wash); }
.pc-ticket__act:focus-visible { outline: 3px solid var(--focus); outline-offset: 2px; }
.pc-ticket__by { margin-block-start: 12px; color: var(--ink-3); font-size: 12px; text-align: center; }

/* No booking: a short, warm thank-you card instead of a ticket. */
.pc-thanks {
  display: grid;
  justify-items: center;
  gap: 8px;
  padding-block: 22px;
  padding-inline: 20px;
  border-radius: var(--echo-radius-xl);
  border: 1px solid var(--line);
  background: var(--surface);
  box-shadow: var(--sh-card);
  text-align: center;
}
.pc-thanks__mark { inline-size: 44px; block-size: 44px; }
.pc-thanks__mark .pc-brand__e { stroke: var(--ink); }
.pc-thanks__mark .pc-brand__arc { stroke: var(--mark-arc); }
.pc-thanks__title { color: var(--ink); font-size: 20px; font-weight: 800; }
.pc-thanks__body { color: var(--ink-2); font-size: 16px; overflow-wrap: anywhere; }
.pc-outro-wait { color: var(--ink-3); font-size: 14px; }

/* In a notice the badge steps back: the message is what matters. */
.pc[data-view="notice"] .pc-agent { display: none; }

/* ── the dock: what a thumb needs ───────────────────────────────────────── */

.pc-dock {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  padding-block-start: 8px;
}
.pc-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  width: 100%;
  min-height: 60px;
  padding: 16px 20px;
  border: 0;
  border-radius: var(--echo-radius-lg);
  font-size: 19px;
  font-weight: 800;
  cursor: pointer;
  touch-action: manipulation;
  user-select: none;
  -webkit-user-select: none;
}
.pc-btn svg { width: 24px; height: 24px; flex: none; }
/* The start button: big, orange, ink on ember (the console's primary button). */
.pc-btn--start {
  min-height: 64px;
  background: var(--ember-fill);
  color: var(--on-ember);
  box-shadow: 0 10px 24px -12px var(--pc-glow), var(--sh-press);
}
.pc-btn--start svg { fill: currentColor; }
.pc-btn--start:hover:not(:disabled) { background: var(--ember-hover); }
.pc-btn--start:disabled { opacity: .5; cursor: default; }
.pc-btn--start[data-tone="secondary"] { background: var(--surface); color: var(--ink); border: 1px solid var(--line-strong); box-shadow: none; }
/* The colour a business chose (PLAN §5.4): only with one, the button's fill, and whichever token
   reads on it. The server refuses a colour neither reads on. The line keeps a dark colour's button
   visible on the dark page. */
.pc[data-brand-ink="dark"] { --pc-brand-on: var(--on-ember); }
.pc[data-brand-ink="light"] { --pc-brand-on: var(--on-brand-light); }
.pc[data-brand-ink] .pc-btn--start:not([data-tone="secondary"]) {
  background: var(--pc-brand);
  color: var(--pc-brand-on);
  border: 1px solid var(--line-strong);
  box-shadow: var(--sh-press);
}
.pc[data-brand-ink] .pc-btn--start:not([data-tone="secondary"]):hover:not(:disabled) { background: var(--pc-brand); }
/* Owner (small fixes 2): "Call again" after a call is quiet -- smaller, no orange. */
.pc[data-view="ended"] .pc-btn--start[data-tone="secondary"] { min-height: 52px; font-size: 16px; font-weight: 700; }
.pc-btn--audio { background: var(--surface); color: var(--ember-ink); border: 1px solid var(--ember); }
.pc-btn--audio svg { fill: currentColor; stroke: currentColor; }

.pc-incall { display: flex; justify-content: center; align-items: flex-start; gap: 48px; width: 100%; }
/* Each control is a 72px slot and a label under it, so the labels line up whatever the
   button's own size. */
.pc-ctl { display: grid; grid-template-rows: 72px auto; justify-items: center; align-items: center; row-gap: 8px; }
.pc-ctl__label { font-size: 14px; font-weight: 600; color: var(--ink-2); }
.pc-round {
  display: grid;
  place-items: center;
  border-radius: 50%;
  border: 0;
  cursor: pointer;
  touch-action: manipulation;
}
.pc-round svg { width: 30px; height: 30px; }
.pc-round--mute { width: 64px; height: 64px; background: var(--surface); border: 1px solid var(--line-strong); color: var(--ink); }
.pc-round--mute svg { fill: currentColor; stroke: currentColor; }
.pc-round--mute .pc-icon-mic-off { display: none; }
.pc-round--mute[aria-pressed="true"] { background: var(--ink); border-color: var(--ink); color: var(--surface); }
.pc-round--mute[aria-pressed="true"] .pc-icon-mic { display: none; }
.pc-round--mute[aria-pressed="true"] .pc-icon-mic-off { display: block; }
.pc-round--mute:disabled { opacity: .5; cursor: default; }
.pc-round--end { width: 72px; height: 72px; background: var(--danger-ink); color: #fff; box-shadow: var(--sh-press); }
.pc-round--end svg { fill: currentColor; width: 34px; height: 34px; }
.pc-round--end:hover { background: var(--danger-hover); }
.pc-round--end:disabled { opacity: .6; cursor: default; }
:root[data-theme="dark"] .pc-round--end { background: var(--danger); color: #1B1A19; }

.pc-fine { max-width: 36ch; font-size: 13px; line-height: 1.45; color: var(--ink-3); text-align: center; }
.pc-powered { font-size: 12px; color: var(--ink-3); }
/* One "by Echo Calls" on the ticket screen: the last ticket says it (small fixes 2). */
.pc[data-ticket="true"] .pc-powered { display: none; }
.pc[data-phase="live"] .pc-fine,
.pc[data-phase="reconnecting"] .pc-fine,
.pc[data-outro="card"] .pc-fine { display: none; }

.pc-sr { position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.pc-audio-sink { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
.pc-noscript { padding: 24px; text-align: center; color: var(--ink); }

/* ── other screens ──────────────────────────────────────────────────────── */

/* Small phones (iPhone SE, 320-375 wide): tighter, still never cramped. */
@media (max-width: 359px) {
  :root { --pc-pad: 12px; }
  .pc-brand__mark { width: 30px; height: 30px; }
  .pc-brand__name { font-size: 17px; }
  .pc-incall { gap: 32px; }
  .pc-ticket { padding-inline: 16px; }
  .pc-ticket__time { font-size: 24px; }
}

/* Short screens and landscape phones: the who-and-state column and the dock sit side by
   side, so nothing scrolls under the browser's bars. */
@media (max-height: 520px) and (orientation: landscape) {
  .pc { max-width: 900px; display: grid; grid-template-columns: 1fr minmax(260px, 340px); grid-template-rows: auto 1fr; column-gap: 32px; }
  .pc-top { grid-column: 1 / -1; }
  .pc-main { padding-block: 4px; gap: 10px; }
  .pc-clock { font-size: 32px; }
  .pc-dock { justify-content: center; }
}

/* Tablets and desktops: the same phone-shaped column, centred, with room. */
@media (min-width: 720px) and (min-height: 640px) {
  .pc { max-width: 480px; padding-block-start: max(28px, env(safe-area-inset-top)); }
  .pc-main { gap: 22px; }
  .pc-dock { padding-block-end: 24px; }
}

.pc-privacy { color: var(--ink-3); font-size: 13px; text-underline-offset: 3px; min-height: 44px; display: inline-flex; align-items: center; }
.pc-privacy:focus-visible { outline: 2px solid currentColor; outline-offset: 4px; }

/* ── one screen, before and during the call (owner 2026-11-03) ──────────────
 *
 * After the website's hero phone. The business bold on top; the assistant's first letter on
 * a warm dark disc inside three soft echo rings, with the logo's orange arc fixed where the
 * logo has it -- the ")" right of the "e", the same in Arabic and English (a brand mark, never
 * mirrored, never moving). Before the call: "You'll speak with Neven" and Start. During it:
 * the assistant's name, the AI pill, the clock over a still dotted line, the state line and a
 * caption of what the assistant says. While connecting the rings ripple; while the assistant
 * speaks the outer rings glow and swell, softly and slowly. Reduced motion: nothing moves. */

:root {
  --pc-avatar-bg: #2A2623;
  --pc-avatar-fg: #F4F1EC;
  --pc-avatar-ring: rgb(42 38 35 / 0.24);
  --pc-avatar-ring-fill: rgb(42 38 35 / 0.025);
  --pc-ring-glow: rgb(224 102 26 / 0.55);
  --pc-disc: 88px;
}
:root[data-theme="dark"] {
  --pc-avatar-bg: #45403B;
  --pc-avatar-fg: #F1EDE8;
  --pc-avatar-ring: rgb(241 237 232 / 0.22);
  --pc-avatar-ring-fill: rgb(241 237 232 / 0.03);
  --pc-ring-glow: rgb(255 138 61 / 0.55);
}

.pc[data-incall="true"] .pc-main,
.pc[data-view="ready"] .pc-main { justify-content: flex-start; gap: 10px; padding-block-start: 4px; }
.pc-live { display: flex; flex-direction: column; align-items: center; gap: 4px; max-width: 100%; }
.pc-live__biz {
  max-width: 30ch;
  color: var(--ink);
  font-size: 22px;
  line-height: 1.3;
  font-weight: 800;
  letter-spacing: -.01em;
  overflow-wrap: anywhere;
  text-wrap: balance;
  unicode-bidi: plaintext;
}
html[dir="rtl"] .pc-live__biz { letter-spacing: 0; line-height: 1.45; }
.pc-live__biz:empty::before { content: "\00a0"; }
.pc-avatar {
  position: relative;
  display: grid;
  place-items: center;
  /* Room for the outer ring's swell without touching the name above. */
  width: calc(var(--pc-disc) * 2.24);
  height: calc(var(--pc-disc) * 2.24);
  margin-block: 0 -18px;
  direction: ltr; /* the arc is the logo's: on the right in Arabic too */
}
.pc-avatar[data-gone="true"] { display: none; }
.pc-avatar > * { grid-area: 1 / 1; }
.pc-avatar__ring {
  width: calc(var(--pc-disc) * 1.39);
  height: calc(var(--pc-disc) * 1.39);
  border-radius: 50%;
  border: 1.5px solid var(--pc-avatar-ring);
  background: var(--pc-avatar-ring-fill);
  opacity: .5;
}
.pc-avatar__ring:nth-child(2) { width: calc(var(--pc-disc) * 1.68); height: calc(var(--pc-disc) * 1.68); opacity: .3; }
.pc-avatar__ring:nth-child(3) { width: calc(var(--pc-disc) * 1.96); height: calc(var(--pc-disc) * 1.96); opacity: .16; }
/* The assistant speaking: the outer rings take a warm edge (their swell follows the voice). */
.pc[data-speaking="true"] .pc-avatar__ring:nth-child(n+2) { border-color: var(--pc-ring-glow); }
.pc-avatar__disc {
  display: grid;
  place-items: center;
  width: var(--pc-disc);
  height: var(--pc-disc);
  border-radius: 50%;
  background: var(--pc-avatar-bg);
  color: var(--pc-avatar-fg);
  font-size: calc(var(--pc-disc) * .42);
  font-weight: 800;
  line-height: 1;
}
.pc-avatar__arc { width: calc(var(--pc-disc) * 1.32); height: calc(var(--pc-disc) * 1.32); overflow: visible; }
.pc-avatar__arc path { stroke: var(--mark-arc); }
.pc-agent { max-width: 34ch; margin-block-start: 6px; color: var(--ink-2); font-size: 17px; font-weight: 600; unicode-bidi: plaintext; }
.pc-live__name {
  max-width: 100%;
  color: var(--ink);
  font-size: 30px;
  line-height: 1.2;
  font-weight: 800;
  letter-spacing: -.02em;
  overflow-wrap: anywhere;
  unicode-bidi: plaintext;
}
html[dir="rtl"] .pc-live__name { letter-spacing: 0; line-height: 1.4; }
.pc-live__pill {
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  padding-inline: 12px;
  border-radius: 9999px;
  background: var(--surface-3, var(--surface-2));
  color: var(--ink-2);
  font-size: 13px;
  font-weight: 700;
}
/* The name and the pill are the call's; before it, "You'll speak with Neven" says it. */
.pc:not([data-incall="true"]) .pc-live__name,
.pc:not([data-incall="true"]) .pc-live__pill { display: none; }

/* In the call: the clock with a live dot, a still dotted line, then "Mariam is listening". */
.pc[data-incall="true"] .pc-state { gap: 6px; margin-block-start: 6px; }
.pc[data-phase="live"] .pc-state__title {
  position: absolute; width: 1px; height: 1px; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap;
}
.pc[data-incall="true"] .pc-clock {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 20px;
  font-weight: 800;
  letter-spacing: 0;
}
.pc[data-incall="true"] .pc-clock::before {
  content: "";
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--ember);
}
.pc[data-phase="reconnecting"] .pc-clock::before { background: var(--pc-warn); }
.pc-dots {
  display: block;
  width: 116px;
  height: 3px;
  background-image: radial-gradient(circle, var(--ink-3) 1.2px, transparent 1.6px);
  background-size: 8px 3px;
  background-repeat: repeat-x;
  background-position: center;
}
.pc[data-incall="true"] .pc-state__detail { font-size: 15px; font-weight: 600; color: var(--ink-3); }

/* The call's words, as a chat (call-transcript.js): one bubble per turn, the assistant's at the
   start of the line and the caller's at its end (each language's own sides), the newest at the
   bottom. The log scrolls in its own box, so the controls under it never move. */
.pc-transcript {
  position: relative;
  inline-size: 100%;
  max-inline-size: 26rem;
}
.pc-transcript__log {
  /* CALL-PAGE-1: the fade's height. The log's top padding is the same, so a bubble that has not
     scrolled is never under it, and one that is scrolling away fades out instead of being cut. */
  --pc-fade: 32px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  max-block-size: min(40svh, 22rem);
  overflow-y: auto;
  overscroll-behavior: contain;
  padding-block: var(--pc-fade) 8px;
  padding-inline: 4px;
  border-radius: 16px;
  scrollbar-width: thin;
  /* Older lines fade out at the top edge as they scroll away, instead of being cut. */
  -webkit-mask-image: linear-gradient(to bottom, transparent 0, var(--ink) var(--pc-fade));
  mask-image: linear-gradient(to bottom, transparent 0, var(--ink) var(--pc-fade));
}
.pc-transcript__log:focus-visible { outline: 3px solid var(--focus); outline-offset: 2px; }
.pc-turn {
  flex: none;
  max-inline-size: 86%;
  padding-block: 10px;
  padding-inline: 14px;
  border-radius: 18px;
  color: var(--ink);
  font-size: 16px;
  line-height: 1.5;
  text-align: start;
  overflow-wrap: anywhere;
}
html[dir="rtl"] .pc-turn { line-height: 1.7; }
.pc-turn__text { unicode-bidi: plaintext; }
.pc-turn--assistant {
  align-self: flex-start;
  background: var(--surface);
  box-shadow: var(--sh-card);
  border-end-start-radius: 6px;
}
:root[data-theme="dark"] .pc-turn--assistant { background: var(--surface-2); }
.pc-turn--caller {
  align-self: flex-end;
  background: var(--pc-ember-wash);
  border-end-end-radius: 6px;
}
/* The caller's words while the listener may still change them read a little lighter. */
.pc-turn--caller[data-final="false"] { color: var(--ink-2); }
/* The caller scrolled up to read: the newest words are one tap away. */
.pc-transcript__more {
  position: absolute;
  inset-block-end: 8px;
  inset-inline: 0;
  margin-inline: auto;
  inline-size: max-content;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  min-block-size: 44px;
  padding-inline: 16px;
  border: 1px solid var(--line);
  border-radius: 9999px;
  background: var(--surface);
  color: var(--ink);
  box-shadow: var(--sh-float);
  font-size: 14px;
  font-weight: 700;
  cursor: pointer;
}
.pc-transcript__more svg { width: 16px; height: 16px; stroke: currentColor; }
/* In the call, on a screen tall enough, the page is exactly the screen: the transcript takes the
   room between the assistant and the controls and scrolls inside it, so End never leaves it. */
@media (orientation: portrait) and (min-height: 480px), (min-width: 720px) and (min-height: 640px) {
  .pc[data-incall="true"] { height: 100vh; height: 100svh; }
  /* CALL-PAGE-1 review: never under the controls. What does not fit (an on-screen item on a short
     screen) scrolls inside the call's column, so nothing is ever drawn over Mute or End. */
  .pc[data-incall="true"] .pc-main { flex: 1 1 auto; min-block-size: 0; overflow-y: auto; overscroll-behavior: contain; }
  .pc[data-incall="true"] .pc-transcript { flex: 1 1 0; min-block-size: 0; display: flex; flex-direction: column; }
  .pc[data-incall="true"] .pc-transcript__log { flex: 0 1 auto; min-block-size: 0; max-block-size: 100%; }
}

/* The title under the avatar is the business's when the assistant has no name of a person: the
   name on top would only say it twice. */
.pc[data-incall="true"][data-title="business"]:not([data-person="true"]) .pc-live__biz { display: none; }

/* The controls, as in the hero: round faces on a soft shadow, the label under each. */
.pc[data-incall="true"] .pc-round--mute { border-color: transparent; box-shadow: var(--sh-card); }
:root[data-theme="dark"] .pc[data-incall="true"] .pc-round--mute { background: var(--surface-2); border-color: var(--line-strong); }

/* Motion: transform and opacity only, and only without reduced motion (then nothing moves at
   all). Durations and curves are the console's shared motion tokens (frontend/motion.css), with
   the same values here until that sheet is on the page. No motion ever delays a call action. */
@media (prefers-reduced-motion: no-preference) {
  /* connecting: the rings ripple outward. */
  .pc[data-motion="connecting"] .pc-avatar__ring { animation: pc-ripple 2.4s var(--ease-out-soft) infinite; }
  .pc[data-motion="connecting"] .pc-avatar__ring:nth-child(2) { animation-delay: .8s; }
  .pc[data-motion="connecting"] .pc-avatar__ring:nth-child(3) { animation-delay: 1.6s; }
  /* listening: the disc breathes softly. Speaking, the rings and the disc follow the assistant's
     voice (call-motion.js, the level loop); between the two they settle back smoothly. */
  .pc[data-motion="live"]:not([data-speaking="true"]) .pc-avatar__disc { animation: pc-breathe 3.6s ease-in-out infinite alternate; }
  .pc:not([data-speaking="true"]) .pc-avatar__ring,
  .pc:not([data-speaking="true"]) .pc-avatar__disc {
    transition:
      transform var(--motion-slow, 220ms) var(--motion-ease-out, cubic-bezier(0.2, 0.8, 0.2, 1)),
      opacity var(--motion-slow, 220ms) var(--motion-ease-out, cubic-bezier(0.2, 0.8, 0.2, 1)),
      border-color var(--motion-slow, 220ms) var(--motion-ease-out, cubic-bezier(0.2, 0.8, 0.2, 1));
  }
  /* a new bubble rises in and fades in; the log follows the newest words smoothly. */
  .pc-turn { animation: pc-turn-in var(--motion-base, 180ms) var(--motion-ease-out, cubic-bezier(0.2, 0.8, 0.2, 1)) both; }
  .pc-transcript__log { scroll-behavior: smooth; }
  /* A press gives way a little and springs back; a disabled control doesn't move. */
  .pc-btn, .pc-round, .pc-transcript__more {
    transition: transform var(--motion-base, 180ms) var(--motion-ease-spring, cubic-bezier(0.34, 1.4, 0.64, 1));
  }
  .pc-btn:active:not(:disabled),
  .pc-round:active:not(:disabled),
  .pc-transcript__more:active {
    transform: scale(var(--motion-press-scale, 0.97));
    transition-duration: var(--motion-fast, 120ms);
    transition-timing-function: var(--motion-ease-out, cubic-bezier(0.2, 0.8, 0.2, 1));
  }
}
@keyframes pc-ripple {
  0% { transform: scale(1); opacity: .55; }
  100% { transform: scale(1.35); opacity: 0; }
}
@keyframes pc-breathe { from { transform: scale(1); } to { transform: scale(1.03); } }
@keyframes pc-turn-in { from { opacity: 0; transform: translateY(var(--motion-rise, 6px)); } to { opacity: 1; transform: none; } }
@keyframes pc-fade { from { opacity: 0; } to { opacity: 1; } }

/* ── human calls (HC-6) ────────────────────────────────────────────────────
   A person has the call: the assistant's name and its pill step aside, and the state line says who.
   Fine print about the assistant has no place on these screens. On hold nothing moves. */
.pc[data-person="true"] .pc-live__name,
.pc[data-person="true"] .pc-live__pill { display: none; }
.pc[data-team="true"] .pc-fine { display: none; }
.pc[data-phase="transferring"] .pc-state__title,
.pc[data-person="true"] .pc-state__title { font-size: 17px; font-weight: 700; color: var(--ink); }
.pc[data-phase="member_lost"] .pc-state__title { color: var(--pc-warn); }
.pc[data-phase="waiting_team"] .pc-state,
.pc[data-phase="waiting_overflow"] .pc-state { margin-block-start: 6px; gap: 8px; }
.pc[data-phase="waiting_team"] .pc-state__detail,
.pc[data-phase="waiting_overflow"] .pc-state__detail,
.pc[data-phase="transferring"] .pc-state__detail { font-variant-numeric: tabular-nums; }
.pc[data-phase="on_hold"] .pc-clock::before,
.pc[data-phase="to_colleague"] .pc-clock::before,
.pc[data-phase="member_lost"] .pc-clock::before { background: var(--pc-warn); }

/* The form takes the avatar's place: on a phone there is no room for both. */
.pc[data-form="true"] .pc-avatar { display: none; }
.pc[data-form="true"] .pc-agent { display: none; }
.pc[data-form="true"] .pc-main { justify-content: flex-start; }
.pc-leave { display: flex; flex-direction: column; gap: 12px; inline-size: 100%; max-inline-size: 25rem; }
.pc-leave__lead { color: var(--ink-2); font-size: 15px; }
.pc-form {
  display: flex;
  flex-direction: column;
  gap: 14px;
  padding-block: 18px;
  padding-inline: 18px;
  border: 1px solid var(--line);
  border-radius: var(--echo-radius-xl);
  background: var(--surface);
  box-shadow: var(--sh-card);
  text-align: start;
}
.pc-field { display: flex; flex-direction: column; gap: 6px; }
.pc-field__label { color: var(--ink); font-size: 14px; font-weight: 700; }
/* 16px keeps iPhone from zooming into a field. */
.pc-field__input {
  inline-size: 100%;
  min-block-size: 48px;
  padding-block: 10px;
  padding-inline: 14px;
  border: 1px solid var(--line-strong);
  border-radius: var(--echo-radius-md);
  background: var(--surface);
  color: var(--ink);
  font: inherit;
  font-size: 16px;
}
html[dir="rtl"] #pc-form-phone { text-align: end; }
.pc-field__input:focus-visible { outline: 3px solid var(--focus); outline-offset: 1px; }
.pc-field__input[aria-invalid="true"] { border: 2px solid var(--danger-ink); }
.pc-via { display: flex; flex-direction: column; gap: 6px; margin: 0; padding: 0; border: 0; min-inline-size: 0; }
.pc-via legend { padding: 0; }
.pc-via__options { display: flex; gap: 8px; }
.pc-via__option {
  display: flex;
  flex: 1 1 0;
  align-items: center;
  gap: 8px;
  min-block-size: 48px;
  min-inline-size: 0;
  padding-inline: 14px;
  border: 1px solid var(--line-strong);
  border-radius: var(--echo-radius-md);
  color: var(--ink);
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
}
.pc-via__option:has(input:checked) { border: 2px solid var(--ember); background: var(--pc-ember-wash); }
.pc-via__option:focus-within { outline: 3px solid var(--focus); outline-offset: 2px; }
.pc-via__option input { flex: none; inline-size: 20px; block-size: 20px; margin: 0; accent-color: var(--ember-ink); }
.pc-form__error { color: var(--danger-ink); font-size: 14px; font-weight: 700; }
:root[data-theme="dark"] .pc-form__error { color: var(--pc-warn); }
:root[data-theme="dark"] .pc-field__input[aria-invalid="true"] { border-color: var(--pc-warn); }
.pc-form__send { min-block-size: 56px; font-size: 17px; }
.pc-leave__done { inline-size: 100%; }

@media (max-width: 359px) {
  :root { --pc-disc: 74px; }
  .pc-live__name { font-size: 26px; }
}
@media (max-height: 700px) and (orientation: portrait) {
  :root { --pc-disc: 76px; }
  .pc-live__name { font-size: 26px; }
  .pc-transcript__log { max-block-size: 26svh; }
}
@media (max-height: 520px) and (orientation: landscape) {
  :root { --pc-disc: 60px; }
  .pc-live__name { font-size: 22px; }
}

/* ── the business's look (PLAN §5.4) ─────────────────────── */

.pc-cover-slot { inline-size: 100%; }
.pc-cover {
  display: block;
  inline-size: 100%;
  block-size: clamp(96px, 24vw, 150px);
  margin-block-end: 8px;
  border-radius: var(--echo-radius-lg);
  object-fit: cover;
  background: var(--surface);
}
/* The cover takes the room the bigger disc had, so Start stays where a thumb is. */
.pc[data-has-cover="true"] { --pc-disc: 60px; }
.pc[data-has-cover="true"] .pc-live { align-self: stretch; }
.pc-welcome { display: grid; justify-items: center; gap: 2px; max-inline-size: 100%; margin-block-start: 6px; text-align: center; }
.pc-welcome:empty { display: none; }
.pc-welcome__head { color: var(--ink); font-size: 20px; font-weight: 800; line-height: 1.3; overflow-wrap: anywhere; }
.pc-welcome__line { color: var(--ink-2); font-size: 16px; overflow-wrap: anywhere; }
.pc-choices { display: flex; flex-direction: column; gap: 10px; inline-size: 100%; max-inline-size: 25rem; margin-inline: auto; }
.pc-choices:empty { display: none; }
.pc-topics { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
.pc-topic {
  min-block-size: 48px;
  padding-block: 8px;
  padding-inline: 12px;
  border: 1px solid var(--line-strong);
  border-radius: var(--echo-radius-lg);
  background: var(--surface);
  color: var(--ink);
  font-size: 15px;
  font-weight: 700;
  line-height: 1.3;
  overflow-wrap: anywhere;
  cursor: pointer;
  touch-action: manipulation;
}
.pc-topic:hover:not(:disabled) { border-color: var(--ember); }
.pc-topic:disabled { opacity: .5; cursor: default; }

/* ── the caller's rating (PLAN §5.5): under the ticket, never in its way ─ */

.pc-rating { display: grid; justify-items: center; gap: 6px; inline-size: 100%; max-inline-size: 25rem; text-align: center; }
.pc-rating__title { color: var(--ink); font-size: 16px; font-weight: 700; }
.pc-rating__stars { display: flex; justify-content: center; gap: 2px; }
.pc-star {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  inline-size: 48px;
  block-size: 48px;
  padding: 0;
  border: 0;
  border-radius: 999px;
  background: transparent;
  cursor: pointer;
  touch-action: manipulation;
}
.pc-star svg { inline-size: 32px; block-size: 32px; fill: none; stroke: var(--ink-2); stroke-width: 1.8; stroke-linejoin: round; }
.pc-star:hover svg { fill: var(--ember); stroke: var(--ember-ink); }
.pc-rating__thanks { color: var(--ink); font-size: 16px; font-weight: 700; }
.pc-rating__thanks:empty { min-block-size: 0; line-height: 0; }

/* ── CALL-PAGE-1 (owner, 20 Nov 2026): room for the conversation ──────────────
 *
 * In a call the captions show the last two messages whole: the caller's last line and the
 * assistant's reply, each in its own bubble, under the fade. The words get that room from the
 * call's own header, never from Mute and End: the assistant's disc is smaller in the call, and on
 * a screen under 900px tall (every iPhone in Safari, most in Chrome, a laptop window) the header
 * packs into three short rows -- the business, the disc, then the name beside its AI pill and the
 * clock beside "Mariam is listening". Under 700px "Powered by" leaves the call; under 600px (an
 * iPhone SE in Safari) the disc steps aside too, as it does for the form, and the header and the
 * gaps tighten: the state line still says who is speaking. The AI pill never goes.
 * After the business's look, so it wins over the cover's smaller disc; call-screen.css (an item on the
 * screen) still wins over it. Before and after the call nothing here applies. */
.pc[data-incall="true"] { --pc-disc: 72px; }
.pc[data-incall="true"] .pc-avatar { margin-block: -6px -16px; }
@media (max-height: 899px) {
  .pc[data-incall="true"] { --pc-disc: 52px; }
  .pc[data-incall="true"] .pc-main { gap: 8px; }
  .pc[data-incall="true"] .pc-live { flex-direction: row; flex-wrap: wrap; justify-content: center; align-items: center; column-gap: 10px; row-gap: 2px; }
  .pc[data-incall="true"] .pc-live > :not(.pc-live__name):not(.pc-live__pill) { flex-basis: 100%; }
  .pc[data-incall="true"] .pc-avatar { margin-block: -10px -12px; }
  .pc[data-incall="true"] .pc-live__biz { max-width: 100%; font-size: 17px; color: var(--ink-2); }
  .pc[data-incall="true"] .pc-live__name { font-size: 22px; line-height: 1.3; }
  html[dir="rtl"] .pc[data-incall="true"] .pc-live__name { line-height: 1.45; }
  .pc[data-incall="true"] .pc-state { flex-direction: row; flex-wrap: wrap; justify-content: center; align-items: center; column-gap: 12px; row-gap: 2px; margin-block-start: 0; }
  .pc[data-incall="true"] .pc-state__title { flex-basis: 100%; }
  .pc[data-incall="true"] .pc-dots { display: none; }
  .pc[data-incall="true"] .pc-clock { font-size: 18px; gap: 8px; }
  .pc[data-incall="true"] .pc-clock::before { width: 8px; height: 8px; }
}
/* An iPhone SE and every shorter screen: the "Powered by" line leaves the call (the Echo Calls
   mark stays at the top); under 600px, held upright, the disc steps aside too (a phone on its
   side keeps it: its dock sits beside the words, call.css landscape). */
@media (max-height: 699px) {
  .pc[data-incall="true"] .pc-powered { display: none; }
}
@media (max-height: 599px) and (orientation: portrait) {
  .pc[data-incall="true"]:not([data-person="true"]) .pc-avatar { display: none; }
  .pc[data-incall="true"] .pc-top { min-height: 48px; }
  .pc[data-incall="true"] .pc-main { padding-block-end: 4px; }
}

/* ── the two after-call links (owner, 7 Nov): on the ticket and the thank-you card ─ */

.pc-after { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; inline-size: 100%; margin-block-start: 8px; }
.pc-ticket__note + .pc-after { margin-block-start: 16px; }
/* The card after a call holds the screen's one Call again, first in its row, beside "Open
   location": a button among links, drawn like them, with the dock's phone. */
.pc-end__again { font-family: inherit; cursor: pointer; }
.pc-end__again svg { fill: var(--ember-ink); stroke: none; }
