/* =============================================
   MOBILE-READY AGENT PAGE
   Works on every phone with good sizing
   ============================================= */

/* --- HIDE FLOATING CALL CONSOLE (React center has controls) --- */
.agent-call-console { display: none !important; }

/* --- Base reset for mobile --- */
@media (max-width: 768px) {
  html, body, #root {
    min-width: 0;
    overflow-x: hidden;
    -webkit-text-size-adjust: 100%;
  }
  .min-h-screen { min-height: 100dvh; }

  /* Agent page: allow full-page vertical scroll on real phones */
  html.agent-mobile-scroll,
  html.agent-mobile-scroll body {
    overflow-x: hidden !important;
    overflow-y: auto !important;
    height: auto !important;
    min-height: 100dvh;
    -webkit-overflow-scrolling: touch;
    overscroll-behavior-y: auto;
  }

  html.agent-mobile-scroll #root {
    overflow: visible !important;
    height: auto !important;
    min-height: 100dvh;
  }

  html.agent-mobile-scroll .min-h-screen.overflow-hidden {
    overflow: visible !important;
    min-height: 100dvh !important;
    height: auto !important;
  }

  html.agent-mobile-scroll .flex-1.overflow-y-auto {
    overflow: visible !important;
    flex: none !important;
  }

  html.agent-mobile-scroll .min-h-\[800px\] {
    min-height: auto !important;
  }
}

/* --- Fullscreen mobile call screen (client pressed 1 / incoming) --- */
#agent-mobile-call-screen {
  position: fixed;
  inset: 0;
  z-index: 10000002;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-end;
  padding: 1.5rem 1.25rem calc(1.25rem + env(safe-area-inset-bottom, 0px));
  background: radial-gradient(circle at 50% 20%, rgba(212, 175, 55, 0.12), rgba(0, 0, 0, 0.98) 55%);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  pointer-events: auto;
}

.agent-mobile-call-screen__inner {
  width: 100%;
  max-width: 420px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 0.65rem;
}

.agent-mobile-call-screen__pulse {
  position: absolute;
  top: 18vh;
  left: 50%;
  width: 140px;
  height: 140px;
  margin-left: -70px;
  border-radius: 50%;
  background: rgba(212, 175, 55, 0.08);
  animation: agent-call-pulse 2s ease-out infinite;
  pointer-events: none;
}

@keyframes agent-call-pulse {
  0% { transform: scale(0.85); opacity: 0.7; }
  100% { transform: scale(1.35); opacity: 0; }
}

.agent-mobile-call-screen__avatar {
  width: 88px;
  height: 88px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: rgba(28, 28, 30, 0.95);
  border: 2px solid rgba(212, 175, 55, 0.45);
  box-shadow: 0 0 30px rgba(212, 175, 55, 0.15);
  margin-bottom: 0.5rem;
}

.agent-mobile-call-screen__eyebrow {
  margin: 0;
  color: #d4af37;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.agent-mobile-call-screen__number {
  margin: 0;
  color: #ffffff;
  font-size: clamp(1.6rem, 7vw, 2rem);
  font-weight: 300;
  letter-spacing: 0.02em;
  word-break: break-word;
}

.agent-mobile-call-screen__status {
  margin: 0 0 0.75rem;
  color: #94a3b8;
  font-size: 0.95rem;
  line-height: 1.45;
  max-width: 320px;
}

#agent-mobile-call-actions {
  position: relative !important;
  left: auto !important;
  right: auto !important;
  bottom: auto !important;
  display: flex !important;
  justify-content: center !important;
  align-items: flex-end !important;
  gap: 2.75rem !important;
  width: 100% !important;
  padding: 0.5rem 0 0.25rem !important;
  background: none !important;
}

.agent-mobile-call-screen__cancel {
  margin-top: 0.75rem;
  padding: 0.65rem 1rem;
  border: 1px solid rgba(212, 175, 55, 0.35);
  border-radius: 0.75rem;
  background: rgba(212, 175, 55, 0.12);
  color: #f5d76e;
  font-size: 0.88rem;
  font-weight: 700;
  cursor: pointer;
  touch-action: manipulation;
}

.agent-mobile-call-screen__cancel[hidden] {
  display: none !important;
}

html.agent-call-flow-active #custom-agent-info-box,
html.agent-call-flow-active #custom-live-floor,
html.agent-call-flow-active .order-2.lg\:order-1 > div:first-child {
  visibility: hidden !important;
  pointer-events: none !important;
}

/* --- Incoming call controls on mobile --- */
#custom-ios-dialer.agent-incoming-active #ios-dialer-action-row,
#agent-mobile-incoming-bar #agent-mobile-incoming-actions {
  position: fixed !important;
  left: 0 !important;
  right: 0 !important;
  bottom: 0 !important;
  z-index: 10000001 !important;
  display: flex !important;
  justify-content: center !important;
  align-items: flex-end !important;
  gap: 2.75rem !important;
  width: 100% !important;
  max-width: none !important;
  margin: 0 !important;
  padding: 1rem 1.5rem calc(1.25rem + env(safe-area-inset-bottom, 0px)) !important;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.96) 65%, rgba(0, 0, 0, 0)) !important;
}

#custom-ios-dialer.agent-incoming-active > .absolute.top-8 {
  display: none !important;
}

#custom-ios-dialer.agent-incoming-active {
  padding-bottom: calc(130px + env(safe-area-inset-bottom, 0px)) !important;
}

#agent-mobile-incoming-bar {
  position: fixed;
  inset: 0;
  z-index: 10000000;
  pointer-events: none;
}

#agent-mobile-incoming-bar #agent-mobile-incoming-actions {
  pointer-events: auto;
}

.agent-incoming-btn {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.55rem;
  min-width: 92px;
  padding: 0;
  border: 0;
  background: transparent;
  color: #fff;
  cursor: pointer;
  touch-action: manipulation;
}

.agent-incoming-btn__icon {
  display: grid;
  place-items: center;
  width: 78px;
  height: 78px;
  border-radius: 999px;
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.35);
}

.agent-incoming-btn__icon--decline {
  background: linear-gradient(145deg, #ff5a52, #d92720);
}

.agent-incoming-btn__icon--answer {
  background: linear-gradient(145deg, #42d96b, #159447);
  animation: agent-incoming-pulse 1.6s ease-in-out infinite;
}

.agent-incoming-btn__label {
  font-size: 0.92rem;
  font-weight: 700;
  letter-spacing: 0.02em;
}

@keyframes agent-incoming-pulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(66, 217, 107, 0.35), 0 12px 30px rgba(0, 0, 0, 0.35); }
  50% { box-shadow: 0 0 0 14px rgba(66, 217, 107, 0), 0 12px 30px rgba(0, 0, 0, 0.35); }
}

@media (max-width: 768px) {
  button[aria-label="Answer incoming call"],
  button[aria-label="Decline incoming call"],
  button[title="Answer"],
  button[title="Decline"] {
    min-width: 72px !important;
    min-height: 72px !important;
  }
}

/* --- Hide the iPhone frame completely on ALL screens --- */
.border-\[14px\].border-\[\#222222\] {
  border: none !important;
  border-radius: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
  width: 100% !important;
  min-width: 0 !important;
  height: auto !important;
  margin: 0 !important;
  padding: 0 !important;
  max-width: 100% !important;
  touch-action: pan-y !important;
  overflow: visible !important;
}
.border-\[14px\].border-\[\#222222\] > .absolute { display: none !important; }
.border-\[14px\].border-\[\#222222\] > .flex-1.relative.z-10 {
  position: static !important;
  width: 100% !important;
  height: auto !important;
  padding: 0 !important;
}
/* Remove any fixed height constraints inside the phone frame */
.border-\[14px\].border-\[\#222222\] [class*="h-"],
.border-\[14px\].border-\[\#222222\] [class*="min-h-"] {
  height: auto !important;
  min-height: auto !important;
}
/* Let the inner content flow naturally */
.border-\[14px\].border-\[\#222222\] .flex.flex-col.items-center {
  height: auto !important;
  padding: 0.5rem !important;
}

@media (max-width: 768px) {
  .border-\[14px\].border-\[\#222222\] .flex-1.flex.flex-col.relative.z-10 {
    height: auto !important;
    min-height: 0 !important;
    overflow: visible !important;
    touch-action: pan-y !important;
  }

  html.agent-mobile-scroll .order-2.lg\:order-1,
  html.agent-mobile-scroll .order-1.lg\:order-2 {
    width: 100% !important;
    max-width: 100% !important;
  }
}

/* --- Phone-ready Avatar --- */
@media (max-width: 768px) {
  .text-4xl.font-light.text-white.truncate {
    font-size: 1rem !important;
    margin-top: 0 !important;
    flex-direction: row !important;
    gap: 1rem !important;
    padding: 0.75rem !important;
    background: rgba(0,0,0,0.2) !important;
    border-radius: 1rem !important;
    border: 1px solid rgba(255,255,255,0.05) !important;
  }
  .text-4xl.font-light.text-white.truncate::before {
    width: 56px !important;
    height: 56px !important;
    font-size: 1.5rem !important;
    margin: 0 !important;
    flex-shrink: 0 !important;
  }
  .text-4xl.font-light.text-white.truncate::after {
    top: 40px !important;
    margin-left: 36px !important;
    width: 14px !important;
    height: 14px !important;
  }
  /* Agent name inline after avatar */
  .text-4xl.font-light.text-white.truncate > span:first-of-type {
    margin-top: 0 !important;
  }
}

/* --- Mobile Grid Layout: Stack columns vertically --- */
@media (max-width: 768px) {
  /* Force main grid to single column */
  .grid.grid-cols-\[1fr_3fr_5fr_4fr\],
  .grid.grid-cols-\[1fr_3fr_5fr_4fr\].lg\:grid-cols-\[1fr_3fr_5fr_4fr\] {
    grid-template-columns: 1fr !important;
    gap: 0.5rem !important;
  }
  /* Make all grid children full width */
  .grid.grid-cols-\[1fr_3fr_5fr_4fr\] > * {
    min-width: 100% !important;
    max-width: 100% !important;
  }

  /* Left column: Notepad & Device check - collapse/hide */
  .grid.grid-cols-\[1fr_3fr_5fr_4fr\] > :first-child {
    order: 10 !important; /* push to bottom */
    max-height: 0 !important;
    overflow: hidden !important;
    opacity: 0 !important;
    pointer-events: none !important;
  }

  /* Center column (col-span-5): full width, no min-width */
  .grid.grid-cols-\[1fr_3fr_5fr_4fr\] > :nth-child(2) {
    grid-column: 1 !important;
    min-width: 0 !important;
    max-width: 100% !important;
    padding: 0.5rem !important;
  }

  /* Right column (col-span-4): collapse below main controls */
  .grid.grid-cols-\[1fr_3fr_5fr_4fr\] > :nth-child(3) {
    order: 20 !important;
    min-width: 0 !important;
    max-width: 100% !important;
  }
}

/* --- Bigger call control buttons for touch --- */
@media (max-width: 768px) {
  /* Answer/Decline buttons */
  button[aria-label="Answer call"],
  .w-\[75px\].h-\[75px\],
  .w-\[72px\].h-\[72px\],
  button:has(svg) {
    width: clamp(56px, 14vw, 72px) !important;
    height: clamp(56px, 14vw, 72px) !important;
    min-width: 56px !important;
    min-height: 56px !important;
  }
  /* Increase spacing between buttons */
  .flex.justify-between.items-center.px-6.mb-8 {
    gap: 0.75rem !important;
    padding: 0 0.5rem !important;
  }
  /* Button labels visible on mobile */
  .flex.justify-between.items-center.px-6.mb-8 > div {
    width: auto !important;
    min-width: 110px !important;
    padding: 0.4rem 0.6rem !important;
    flex-direction: row !important;
    border-radius: 0.75rem !important;
  }
  .flex.justify-between.items-center.px-6.mb-8 > div > span {
    font-size: 0.8rem !important;
  }
  .w-\[72px\].h-\[72px\].rounded-full svg {
    width: 20px !important;
    height: 20px !important;
  }

  /* Active call control grid: 3-column layout on mobile */
  .grid.grid-cols-3.gap-4,
  [class*="grid-cols-3"] {
    grid-template-columns: repeat(3, 1fr) !important;
    gap: 0.5rem !important;
  }
  .grid.grid-cols-3.gap-4 > div,
  .grid.grid-cols-3.gap-4 > button {
    width: 100% !important;
    max-width: 100% !important;
  }
}

/* --- Phone-ready bottom action bar (End Call, Transfer) --- */
@media (max-width: 768px) {
  /* End call button - make it big and red */
  button:has([aria-label="End call"]),
  .w-\[75px\].h-\[75px\].rounded-full.bg-\[\#ff3b30\] {
    width: clamp(64px, 18vw, 80px) !important;
    height: clamp(64px, 18vw, 80px) !important;
    box-shadow: 0 0 20px rgba(255, 59, 48, 0.4) !important;
  }
}

/* --- Floating Call Console: full-screen on mobile --- */
@media (max-width: 640px) {
  .agent-call-console[data-status="active"],
  .agent-call-console[data-status="ringing"] {
    top: auto !important;
    left: 0 !important;
    right: 0 !important;
    bottom: 0 !important;
    transform: none !important;
    width: 100% !important;
    max-width: 100% !important;
    border-radius: 1.25rem 1.25rem 0 0 !important;
    padding: 1.25rem 1rem calc(1rem + env(safe-area-inset-bottom, 0px)) !important;
    max-height: 60vh !important;
    overflow-y: auto !important;
  }
  .agent-call-console[data-status="idle"] {
    width: min(320px, calc(100vw - 2rem)) !important;
    top: auto !important;
    bottom: 1rem !important;
    left: 1rem !important;
    right: 1rem !important;
    transform: none !important;
  }

  /* Bigger utility buttons on mobile */
  .agent-call-console__utility {
    padding: 0.65rem 1rem !important;
    font-size: 0.85rem !important;
    min-height: 44px !important;
  }
  .agent-call-console__utility .icon svg {
    width: 28px !important;
    height: 28px !important;
  }

  /* Bigger answer/end buttons */
  .agent-call-console__footer button {
    padding: 0.85rem 0.5rem !important;
    font-size: 1rem !important;
    min-height: 52px !important;
    border-radius: 0.75rem !important;
  }
  .agent-call-console__end {
    box-shadow: 0 4px 20px rgba(239, 68, 68, 0.4) !important;
  }
  .agent-call-console__answer {
    box-shadow: 0 4px 20px rgba(16, 185, 129, 0.4) !important;
  }

  /* Dialpad buttons bigger for fat fingers */
  .agent-call-console__dialpad button {
    width: clamp(3.5rem, 20vw, 5rem) !important;
    height: clamp(3.5rem, 20vw, 5rem) !important;
    font-size: 1.3rem !important;
  }
  .agent-call-console__dialpad {
    max-width: 100% !important;
  }

  /* Hidden things on mobile */
  .text-base.font-normal.mt-2.text-amber-500\/90::after {
    content: "" !important;
    display: none !important;
  }
  .flex.justify-between.items-center.px-6.mb-8 > div:nth-child(2) .w-\[72px\].h-\[72px\].rounded-full svg {
    width: 18px !important;
    height: 18px !important;
  }
}

/* --- Safe area & notch handling --- */
@supports (padding: env(safe-area-inset-bottom)) {
  .agent-call-console {
    padding-bottom: calc(1rem + env(safe-area-inset-bottom, 0px)) !important;
  }
  .flex.justify-between.items-center.px-6.mb-8 {
    padding-left: max(0.5rem, env(safe-area-inset-left, 0px)) !important;
    padding-right: max(0.5rem, env(safe-area-inset-right, 0px)) !important;
  }
}

/* --- Ensure min touch targets for ALL interactive elements --- */
@media (pointer: coarse) {
  button, 
  button *,
  [role="button"],
  input[type="checkbox"] + span,
  label:has(input[type="checkbox"]) {
    min-height: 44px !important;
  }
  input, select, textarea {
    font-size: 16px !important;
  }
}

/* --- Remove the "No campaign running" overlay text --- */
.text-base.font-normal.mt-2.text-amber-500\/90::after {
  display: none !important;
}

/* --- Campaign Route Manager styling (unchanged but kept) --- */
#campaign-route-manager {
  position: relative;
  width: 100%;
  flex-basis: 100%;
  box-sizing: border-box;
  margin-top: 1.25rem;
  margin-bottom: 2rem;
  padding: 1.25rem;
  color: #e2e8f0;
  background: #0b111a;
  border: 1px solid rgba(212, 175, 55, 0.3);
  border-radius: 0.75rem;
  font-family: Inter, ui-sans-serif, system-ui, sans-serif;
  box-shadow: 0 0 10px rgba(212, 175, 55, 0.05);
  overflow: hidden;
  grid-column: 1 / -1;
  clear: both;
}
#campaign-route-manager .campaign-route-manager__title,
#campaign-route-manager .campaign-route-manager__row {
  display: flex;
  align-items: center;
  gap: 0.6rem;
}
#campaign-route-manager .campaign-route-manager__title {
  justify-content: space-between;
  margin-bottom: 1rem;
  border-bottom: 1px solid rgba(212, 175, 55, 0.15);
  padding-bottom: 0.85rem;
}
#campaign-route-manager .campaign-route-manager__title span,
#campaign-route-manager .campaign-route-manager__title small { display: block; }
#campaign-route-manager .campaign-route-manager__title span {
  color: #d4af37;
  font-size: 1.1rem;
  font-weight: 800;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}
#campaign-route-manager .campaign-route-manager__title small {
  max-width: 360px;
  margin-top: 0.3rem;
  color: #94a3b8;
  font-size: 0.75rem;
}
#campaign-route-manager button {
  min-height: 2.2rem;
  padding: 0.45rem 0.85rem;
  border: 1px solid rgba(212, 175, 55, 0.4);
  border-radius: 0.55rem;
  color: #d4af37;
  background: rgba(212, 175, 55, 0.1);
  cursor: pointer;
  font: inherit;
  font-size: 0.75rem;
  font-weight: 700;
}
#campaign-route-manager button:hover { background: rgba(212, 175, 55, 0.2); }
#campaign-route-manager button:disabled { opacity: 0.5; cursor: not-allowed; }
#campaign-route-manager .campaign-route-manager__list { display: grid; gap: 0.5rem; }
#campaign-route-manager .campaign-route-manager__row {
  min-height: 3.1rem;
  padding: 0.5rem 0.75rem;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.05);
  border-radius: 0.65rem;
}
#campaign-route-manager .campaign-route-manager__enabled {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  color: #d4af37;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
}
#campaign-route-manager .campaign-route-manager__enabled input[type="checkbox"] { accent-color: #d4af37; }
#campaign-route-manager .campaign-route-manager__order {
  width: 3.4rem;
  color: #94a3b8;
  font-size: 0.75rem;
  font-weight: 800;
}
#campaign-route-manager .campaign-route-manager__name {
  min-width: 0;
  flex: 1;
  padding: 0.45rem 0.55rem;
  color: #f8fafc;
  background: rgba(0, 0, 0, 0.3);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 0.45rem;
  font: inherit;
  font-size: 0.8rem;
}
#campaign-route-manager .campaign-route-manager__provider {
  max-width: 145px;
  overflow: hidden;
  color: #64748b;
  font-size: 0.7rem;
  text-overflow: ellipsis;
  white-space: nowrap;
}

/* --- Floating Call Console base styles --- */
.agent-call-console {
  position: fixed;
  right: 1.25rem;
  bottom: 1.25rem;
  z-index: 1000;
  width: min(340px, calc(100vw - 2rem));
  padding: 1.5rem;
  color: #e2e8f0;
  background: rgba(10, 10, 10, 0.85);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 1.25rem;
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5);
  font-family: Inter, ui-sans-serif, system-ui, sans-serif;
  display: flex;
  flex-direction: column;
  align-items: center;
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
}
.agent-call-console[data-status="ringing"] {
  border-color: rgba(212, 175, 55, 0.4);
  box-shadow: 0 0 0 1px rgba(212, 175, 55, 0.25), 0 25px 50px -12px rgba(0, 0, 0, 0.5);
  animation: popup-pulse-gold 2s infinite;
}
.agent-call-console[data-status="active"] { border-color: rgba(16, 185, 129, 0.4); }

@keyframes popup-pulse-gold {
  0% { box-shadow: 0 0 0 0 rgba(212, 175, 55, 0.4), 0 25px 50px -12px rgba(0, 0, 0, 0.5); }
  70% { box-shadow: 0 0 0 15px rgba(212, 175, 55, 0), 0 25px 50px -12px rgba(0, 0, 0, 0.5); }
  100% { box-shadow: 0 0 0 0 rgba(212, 175, 55, 0), 0 25px 50px -12px rgba(0, 0, 0, 0.5); }
}

.agent-call-console__profile {
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 100%;
}
.agent-call-console__avatar {
  position: relative;
  width: 80px;
  height: 80px;
  border-radius: 50%;
  background: linear-gradient(135deg, #fbbf24, #d4af37);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1rem;
  box-shadow: 0 4px 14px rgba(212, 175, 55, 0.4);
}
.agent-call-console__avatar-text { font-size: 2.5rem; font-weight: 600; color: #fff; }
.agent-call-console__avatar-badge {
  position: absolute;
  bottom: 2px;
  right: 2px;
  width: 16px;
  height: 16px;
  background: #10b981;
  border: 3px solid #0a0a0a;
  border-radius: 50%;
}
.agent-call-console__caller {
  font-size: 1.25rem;
  font-weight: 600;
  color: #f8fafc;
  margin-bottom: 0.25rem;
  text-align: center;
  width: 100%;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.agent-call-console__status-text {
  font-size: 0.875rem;
  font-weight: 500;
  color: #10b981;
  margin-bottom: 0.5rem;
}
.agent-call-console[data-status="ringing"] .agent-call-console__status-text { color: #fbbf24; }
.agent-call-console__timer {
  font-size: 0.8rem;
  color: #94a3b8;
  font-variant-numeric: tabular-nums;
  margin-bottom: 1.5rem;
}
.agent-call-console__actions {
  display: flex;
  gap: 0.75rem;
  width: 100%;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 1.5rem;
}
.agent-call-console__utility {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem 1rem;
  background: rgba(30, 41, 59, 0.6);
  border: 1px solid rgba(255, 255, 255, 0.05);
  border-radius: 0.5rem;
  color: #e2e8f0;
  font-size: 0.8rem;
  font-weight: 600;
  cursor: pointer;
}
.agent-call-console__utility:hover { background: rgba(30, 41, 59, 0.9); }
.agent-call-console__utility[hidden] { display: none !important; }

.agent-call-console__footer {
  display: flex;
  gap: 1rem;
  width: 100%;
}
.agent-call-console__footer button {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.75rem;
  border-radius: 0.5rem;
  font-size: 0.9rem;
  font-weight: 600;
  cursor: pointer;
  border: none;
}
.agent-call-console__answer {
  background: #10b981;
  color: #fff;
  box-shadow: 0 4px 14px rgba(16, 185, 129, 0.3);
}
.agent-call-console__end {
  background: #ef4444;
  color: #fff;
  box-shadow: 0 4px 14px rgba(239, 68, 68, 0.3);
}

/* --- Platform launcher --- */
#platform-launcher {
  position: fixed;
  right: 1.25rem;
  top: 1.25rem;
  z-index: 1200;
  display: grid;
  gap: 0.1rem;
  padding: 0.65rem 0.85rem;
  color: #e2e8f0;
  background: #0f766e;
  border: 1px solid #5eead4;
  border-radius: 0.75rem;
  font-family: Inter, ui-sans-serif, system-ui, sans-serif;
  text-decoration: none;
}
#platform-launcher span { color: #99f6e4; font-size: 0.62rem; font-weight: 800; letter-spacing: 0.1em; text-transform: uppercase; }
#platform-launcher strong { font-size: 0.8rem; }
