/* AI Calling page — on top of scm-page + pp-page + mfg-page + dms-page + frame + light + mono. Turquoise and white. */

/* ---- Hero art: a voice wave between the agent and a ring of outlets */
.ac-net { display: block; width: 100%; height: auto; font-family: "Source Sans 3", sans-serif; }
.ac-ring { fill: none; stroke: rgba(161, 225, 238, 0.14); stroke-dasharray: 2 5; }
.ac-line { stroke: rgba(161, 225, 238, 0.22); stroke-width: 1; }
.ac-line--live { stroke: #56ddf8; stroke-width: 1.4; stroke-dasharray: 4 4; animation: ac-dash 1.2s linear infinite; }
@keyframes ac-dash { to { stroke-dashoffset: -16; } }
.ac-out { fill: rgba(230, 247, 251, 0.55); }
.ac-out--ord { fill: #a1e1ee; }
.ac-out--live { fill: #fff; animation: ac-pulse 1.4s ease-in-out infinite; }
@keyframes ac-pulse { 50% { r: 7; opacity: 0.6; } }
.ac-core { fill: #048eaa; }
.ac-core-ring { fill: none; stroke: #a1e1ee; stroke-width: 1.2; opacity: 0.6; animation: ac-ring 2.4s ease-out infinite; transform-origin: 260px 200px; }
.ac-core-ring:nth-of-type(2) { animation-delay: 0.8s; }
.ac-core-ring:nth-of-type(3) { animation-delay: 1.6s; }
@keyframes ac-ring { from { transform: scale(0.6); opacity: 0.8; } to { transform: scale(2.2); opacity: 0; } }
.ac-bar { fill: #e6f7fb; transform-box: fill-box; transform-origin: center; animation: ac-bar 0.9s ease-in-out infinite alternate; }
@keyframes ac-bar { from { transform: scaleY(0.3); } to { transform: scaleY(1); } }
.ac-t { fill: #fff; font-size: 11px; font-weight: 700; text-anchor: middle; }

/* ---- Wave */
.cl-wave { display: flex; align-items: center; gap: 3px; height: 34px; margin: 8px 0; }
.cl-wave i { flex: 1; height: var(--h); max-width: 6px; background: #0ac4e9; border-radius: 2px; animation: cl-wave 0.9s ease-in-out var(--d) infinite alternate; }
@keyframes cl-wave { from { transform: scaleY(0.25); } to { transform: scaleY(1); } }
.ck-detail .cl-wave i { background: #56ddf8; }

/* ---- Live call */
.cl-live { display: grid; gap: 14px; grid-template-columns: 1fr; align-items: start; }
@media (min-width: 1000px) { .cl-live { grid-template-columns: 1fr 330px; } }
.cl-call { padding: 14px 16px; background: #0b8fa8; color: #e6f7fb; }
.cl-call__head { display: flex; justify-content: space-between; align-items: flex-start; gap: 10px; flex-wrap: wrap; }
.cl-call__head b { display: block; font-size: 15px; color: #fff; }
.cl-call__head small { font-size: 12px; color: rgba(230, 247, 251, 0.6); }
.cl-rec { display: inline-flex; align-items: center; gap: 6px; font: 600 11px "IBM Plex Mono", monospace; letter-spacing: 0.06em; color: #a1e1ee; }
.cl-rec i { width: 8px; height: 8px; border-radius: 50%; background: #e08a80; animation: dm-blink 1.2s ease-in-out infinite; }
.cl-tx { list-style: none; margin: 6px 0 0; padding: 0; display: flex; flex-direction: column; gap: 8px; height: 280px; overflow-y: auto; scroll-behavior: smooth; }
.cl-tx li { max-width: 88%; padding: 8px 11px; font-size: 13.5px; line-height: 1.45; animation: dms-in 0.35s ease both; }
.cl-tx li p { margin: 2px 0 0; }
.cl-tx small { font: 600 9.5px "IBM Plex Mono", monospace; letter-spacing: 0.1em; text-transform: uppercase; opacity: 0.65; }
.cl-tx__ai { align-self: flex-start; background: #0b8fa8; border-left: 3px solid #048eaa; }
.cl-tx__me { align-self: flex-end; background: #bae9f3; color: #2f3a3d; }
.cl-lines { list-style: none; margin: 12px 0; padding: 0; display: grid; gap: 1px; background: #e3edee; border: 1px solid #e3edee; }
.cl-lines li { display: grid; grid-template-columns: 1fr auto; gap: 2px 10px; padding: 9px 10px; background: #fff; font-size: 13px; color: #2f3a3d; }
.cl-lines li.is-new { animation: dms-in 0.45s ease both; background: #effafc; }
.cl-lines span small { display: block; font-size: 11px; color: #048eaa; }
.cl-lines em { grid-column: 1; font-style: normal; font: 500 10.5px "IBM Plex Mono", monospace; color: #7a9599; }
.cl-lines b { grid-row: 1 / span 2; grid-column: 2; align-self: center; font-variant-numeric: tabular-nums; }
.cl-lines__empty { display: block !important; color: #7a9599 !important; font-style: italic; }
.cl-total { display: flex; justify-content: space-between; align-items: baseline; margin: 0; padding-top: 10px; border-top: 2px solid #0b8fa8; }
.cl-total span { font: 600 10.5px "IBM Plex Mono", monospace; letter-spacing: 0.1em; text-transform: uppercase; color: #7a9599; }
.cl-total b { font: 500 26px/1 "Newsreader", Georgia, serif; color: #2f3a3d; }
.cl-tags { display: flex; flex-wrap: wrap; gap: 6px; }
.cl-tags span { padding: 4px 9px; font: 600 10.5px "IBM Plex Mono", monospace; letter-spacing: 0.06em; text-transform: uppercase; color: #048eaa; border: 1px solid #bae9f3; background: #effafc; }

/* ---- Concierge */
.cl-stages { list-style: none; margin: 0 0 12px; padding: 0; display: grid; grid-template-columns: repeat(5, 1fr); gap: 4px; }
.cl-stages li { display: flex; align-items: center; gap: 8px; padding: 9px 10px; background: #fff; border: 1px solid #d5e1e3; font-size: 13px; font-weight: 600; color: #7a9599; transition: background-color 0.3s ease, color 0.3s ease; }
.cl-stages b { display: grid; place-items: center; width: 22px; height: 22px; border: 1px solid currentColor; font: 600 11px "IBM Plex Mono", monospace; }
.cl-stages li.is-on { background: #0b8fa8; color: #fff; border-color: #0b8fa8; }
.cl-stages li.is-done { color: #048eaa; }
.cl-stages li.is-done b { background: #048eaa; color: #fff; border-color: #048eaa; }
@media (max-width: 640px) { .cl-stages { grid-template-columns: repeat(3, 1fr); } }
.cl-lead { display: grid; grid-template-columns: 1fr 1fr; gap: 1px; margin: 12px 0; background: #e3edee; border: 1px solid #e3edee; }
.cl-lead div { padding: 8px 10px; background: #fff; transition: background-color 0.4s ease; }
.cl-lead div.is-set { background: #effafc; }
.cl-lead dt { font: 600 9.5px "IBM Plex Mono", monospace; letter-spacing: 0.1em; text-transform: uppercase; color: #7a9599; }
.cl-lead dd { margin: 3px 0 0; font-size: 13.5px; font-weight: 600; color: #2f3a3d; }
.cl-tools { margin: 0; font-size: 12.5px; line-height: 1.8; color: #445f63; }
.cl-tools code { padding: 2px 6px; font: 500 11px "IBM Plex Mono", monospace; background: #eef5f6; color: #445f63; }
.cl-tools code.is-on { background: #0b8fa8; color: #a1e1ee; }

/* ---- Campaign */
.cl-camp { display: grid; gap: 12px; grid-template-columns: 1fr; }
@media (min-width: 900px) { .cl-camp { grid-template-columns: repeat(3, 1fr); } }
.cl-beat { padding: 14px; background: #fff; border: 1px solid #d5e1e3; }
.cl-beat__head b { display: block; font-size: 14px; color: #2f3a3d; }
.cl-beat__head small { font-size: 12px; color: #7a9599; }
.cl-beat__grid { display: grid; grid-template-columns: repeat(10, 1fr); gap: 3px; margin: 10px 0; }
.cl-beat__grid i { aspect-ratio: 1; background: #eef5f6; transition: background-color 0.25s ease, transform 0.25s ease; }
.cl-beat__grid i.is-dial { background: #fff; box-shadow: inset 0 0 0 2px #048eaa; transform: scale(1.15); }
.cl-beat__grid i.is-ord { background: #048eaa; }
.cl-beat__grid i.is-ans { background: #bae9f3; }
.cl-beat__grid i.is-un { background: #e08a80; }
.cl-beat__stat { margin: 0; font-size: 12.5px; color: #445f63; }
.cl-beat__stat b { color: #048eaa; font-size: 15px; }
.pp-legend .cl-l-ord { background: #048eaa; } .pp-legend .cl-l-ans { background: #bae9f3; } .pp-legend .cl-l-un { background: #e08a80; } .pp-legend .cl-l-calls { background: #bae9f3; }

/* ---- Overview + ROI */
.cl-chart { border: 0; padding: 0; }
.ck-chart .cl-calls { fill: #bae9f3; }
.ck-chart .cl-ords { fill: #048eaa; }
.cl-roi { display: grid; gap: 14px; }
.cl-slider { display: grid; grid-template-columns: 1fr auto; gap: 8px 16px; align-items: center; padding: 14px 16px; background: #fff; border: 1px solid #d5e1e3; }
.cl-slider span { font: 600 10.5px "IBM Plex Mono", monospace; letter-spacing: 0.1em; text-transform: uppercase; color: #7a9599; }
.cl-slider b { font: 500 28px/1 "Newsreader", Georgia, serif; color: #2f3a3d; }
.cl-slider input { grid-column: 1 / -1; width: 100%; accent-color: #048eaa; }
.cl-vs { display: grid; gap: 1px; grid-template-columns: 1fr 1fr; background: #d5e1e3; border: 1px solid #d5e1e3; }
.cl-vs div { display: grid; gap: 4px; padding: 16px 18px; background: #fff; }
.cl-vs small { font: 600 10.5px "IBM Plex Mono", monospace; letter-spacing: 0.1em; text-transform: uppercase; color: #7a9599; }
.cl-vs b { font: 500 30px/1 "Newsreader", Georgia, serif; color: #2f3a3d; }
.cl-vs span { font-size: 13px; color: #445f63; }
.cl-vs .is-ai { background: #0b8fa8; }
.cl-vs .is-ai b { color: #a1e1ee; }
.cl-vs .is-ai span, .cl-vs .is-ai small { color: rgba(230, 247, 251, 0.75); }

/* ---- Inspection */
.cl-out { display: inline-block; padding: 3px 8px; font: 600 10px "IBM Plex Mono", monospace; letter-spacing: 0.06em; text-transform: uppercase; border: 1px solid currentColor; color: #048eaa; }
.cl-out--opt-out { color: #b42318; }
.cl-out--transferred { color: #445f63; }
.cl-sum { margin: 4px 0 10px; font-size: 13.5px; line-height: 1.5; color: #2f3a3d; }

/* ---- Sections */
.cl-uses { list-style: none; margin: 0; padding: 0; display: grid; gap: 1px; grid-template-columns: 1fr; background: rgba(11, 143, 168, 0.1); border: 1px solid rgba(11, 143, 168, 0.1); }
@media (min-width: 900px) { .cl-uses { grid-template-columns: repeat(2, 1fr); } }
.cl-uses > li { display: grid; gap: 10px; align-content: start; padding: 26px 24px 28px; background: #fff; }
.cl-uses small { font: 600 10.5px "IBM Plex Mono", monospace; letter-spacing: 0.12em; text-transform: uppercase; color: #048eaa; }
.cl-uses h3 { margin: 0; font: 500 28px/1.12 "Newsreader", Georgia, serif; color: #2f3a3d; }
.cl-uses p { margin: 0; font-size: 15px; line-height: 1.55; color: #445f63; }
.cl-uses ul { list-style: none; margin: 6px 0 0; padding: 14px 0 0; display: grid; gap: 8px; border-top: 1px solid #e3edee; }
.cl-uses ul li { position: relative; padding-left: 16px; font-size: 14px; line-height: 1.45; color: #2f3a3d; }
.cl-uses ul li::before { content: ""; position: absolute; left: 0; top: 7px; width: 7px; height: 7px; background: #048eaa; transform: rotate(45deg); }
.cl-quote { margin: 0; padding: 14px 16px; background: #effafc; border-left: 3px solid #048eaa; font: 500 17px/1.4 "Newsreader", Georgia, serif; color: #2f3a3d; }
.cl-quote cite { display: block; margin-top: 6px; font: 600 10.5px "IBM Plex Mono", monospace; font-style: normal; letter-spacing: 0.08em; text-transform: uppercase; color: #7a9599; }

.cl-lang { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 18px; }
.cl-lang span { padding: 10px 16px; background: #fff; border: 1px solid #d5e1e3; font-size: 15px; color: #2f3a3d; }
.cl-lang span b { margin-right: 8px; font: 600 11px "IBM Plex Mono", monospace; color: #048eaa; }
