/* Call from the business line (2026-11-25): the toast after a Call tap. Fits the Fold's 344 px cover screen with
   44 px tap targets; sits above the reply box and the phone's home bar. */
.call-bridge-toast {
  position: fixed;
  left: 50%;
  bottom: calc(16px + env(safe-area-inset-bottom, 0px));
  transform: translateX(-50%);
  z-index: 200;
  width: min(440px, calc(100vw - 24px));
  display: grid;
  grid-template-columns: minmax(0, 1fr) 44px;
  align-items: start;
  gap: 8px 10px;
  padding: 12px 10px 12px 14px;
  border: 1px solid var(--line, #d9e0e3);
  border-left: 4px solid var(--accent, #0f6f63);
  border-radius: 10px;
  background: var(--panel, #ffffff);
  color: var(--text, #182226);
  box-shadow: 0 10px 28px rgba(24, 34, 38, 0.18);
}

.call-bridge-toast.error {
  border-left-color: var(--warn, #a44417);
}

.call-bridge-toast[hidden] {
  display: none !important;
}

.call-bridge-text {
  margin: 0;
  align-self: center;
  font-size: 15px;
  line-height: 1.35;
  overflow-wrap: anywhere;
}

.call-bridge-toast .call-bridge-close {
  width: 44px;
  min-width: 44px;
  height: 44px;
  min-height: 44px;
  padding: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  line-height: 1;
}

.call-bridge-toast .call-bridge-fallback {
  grid-column: 1 / -1;
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 14px;
  font-size: 15px;
  text-decoration: none;
  white-space: nowrap;
}

.call-bridge-toast .call-bridge-fallback[hidden] {
  display: none !important;
}
