/* Beside the platform hero: one customer across outside services, the departments, and a question for the agent
   (platform-customer.js; Sam, October 24). */
.hero.has-art-customer > .container { max-width: var(--container) !important; display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); column-gap: clamp(40px, 4vw, 72px); align-items: center; }
.hero.has-art-customer > .container > * { grid-column: 1; }
.hero.has-art-customer > .container > .pc-stage { grid-column: 2; grid-row: 1 / span 4; }
.hero.has-art-customer h1 { font-size: clamp(36px, 3.9vw, 58px); }
@media (max-width: 900px) { .hero.has-art-customer > .container { display: block; max-width: 900px !important; } .pc-stage { display: none; } }

.pc-win { border-radius: 18px; border: 1px solid var(--line-strong); background: var(--panel); box-shadow: 0 30px 80px rgba(0, 0, 0, 0.45), 0 0 0 1px rgba(132, 181, 210, 0.06); overflow: hidden; }
.pc-bar { display: flex; align-items: center; gap: 9px; padding: 13px 18px; border-bottom: 1px solid var(--line); font-size: 14px; }
.pc-bar img { width: 18px; height: auto; }
.pc-bar b { color: var(--ink); font-weight: 600; }
.pc-bar span { color: var(--faint); }
.pc-tabs { display: flex; gap: 4px; padding: 10px 14px 0; border-bottom: 1px solid var(--line); }
.pc-tabs button { position: relative; padding: 10px 16px 12px; border: 0; background: none; font: inherit; font-size: 15px; font-weight: 600; color: var(--muted); cursor: pointer; border-radius: 10px 10px 0 0; }
.pc-tabs button:hover { color: var(--ink); background: rgba(241, 238, 231, 0.04); }
.pc-tabs button:focus-visible { outline: 2px solid var(--turquoise); outline-offset: -2px; }
.pc-tabs button.on { color: var(--turquoise); }
.pc-prog { position: absolute; left: 12px; right: 12px; bottom: -1px; height: 2px; background: var(--line-strong); opacity: 0; }
.pc-tabs button.on .pc-prog { opacity: 1; background: var(--turquoise); }
.pc-run .pc-tabs button.on .pc-prog { background: linear-gradient(90deg, var(--turquoise) 50%, var(--line-strong) 50%) right / 200% 100% no-repeat; animation: pc-prog var(--dwell, 8s) linear forwards; }
.pc-hold .pc-tabs button.on .pc-prog { animation-play-state: paused; }
@keyframes pc-prog { to { background-position: left; } }
.pc-panels { position: relative; height: 476px; }
.pc-panel { position: absolute; inset: 0; padding: 18px 20px; overflow: hidden; }
.pc-panel[hidden] { display: none; }
.pc-panel.play { animation: pc-in 0.5s var(--ease) both; }
@keyframes pc-in { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }

/* Customer */
.pc-who { display: flex; align-items: center; gap: 12px; margin-bottom: 12px; }
.pc-who img { width: 42px; height: 42px; border-radius: 50%; }
.pc-who b { display: block; font-size: 17px; color: var(--ink); }
.pc-who span { font-size: 13.5px; color: var(--turquoise); font-weight: 600; letter-spacing: 0.06em; text-transform: uppercase; }
.pc-journey { position: relative; list-style: none; margin: 0; padding: 0; }
.pc-journey::before { content: ""; position: absolute; left: 15px; top: 14px; bottom: 14px; width: 2px; background: linear-gradient(var(--turquoise), rgba(132, 181, 210, 0.15)); transform-origin: top; }
.pc-journey li { position: relative; display: grid; grid-template-columns: 32px 1fr auto; align-items: center; gap: 12px; padding: 4px 0; }
.pc-logo { position: relative; z-index: 1; display: grid; place-items: center; width: 32px; height: 32px; border-radius: 9px; background: var(--raised); border: 1px solid var(--line-strong); }
.pc-logo svg { width: 16px; height: 16px; fill: currentColor; color: var(--ink); }
.pc-logo img { width: 16px; height: 16px; border-radius: 3px; }
.pc-what b { display: block; font-size: 15px; font-weight: 500; color: var(--ink); line-height: 1.3; }
.pc-what em { font-style: normal; font-size: 13px; color: var(--faint); }
.pc-journey time { font-size: 13px; color: var(--muted); white-space: nowrap; }
.pc-cust.play .pc-journey::before { animation: pc-line 2.8s ease both 0.2s; }
.pc-cust.play .pc-journey li { animation: pc-in 0.45s var(--ease) both; animation-delay: calc(0.3s + var(--n) * 0.38s); }
@keyframes pc-line { from { transform: scaleY(0); } to { transform: scaleY(1); } }

/* Departments */
.pc-sub { margin: 0 0 14px; font-size: 14.5px; color: var(--muted); }
.pc-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.pc-dept { padding: 14px 15px; border-radius: 14px; border: 1px solid var(--line-strong); background: var(--raised); }
.pc-dept svg { width: 18px; height: 18px; color: var(--turquoise); display: block; margin-bottom: 8px; }
.pc-dept b { display: block; font-size: 15.5px; color: var(--ink); margin-bottom: 3px; }
.pc-dept span { display: block; font-size: 13.5px; color: var(--muted); line-height: 1.4; }
.pc-depts.play .pc-dept { animation: pc-dept 0.6s var(--ease) both; animation-delay: calc(0.15s + var(--n) * 0.22s); }
@keyframes pc-dept { 0% { opacity: 0; transform: scale(0.94); } 60% { opacity: 1; border-color: var(--turquoise); box-shadow: 0 0 22px rgba(132, 181, 210, 0.25); } 100% { transform: none; } }

/* Ask */
.pc-qs { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 14px; }
.pc-q { padding: 8px 13px; border-radius: 999px; border: 1px solid var(--line-strong); background: none; font: inherit; font-size: 14px; color: var(--muted); cursor: pointer; text-align: left; }
.pc-q:hover { color: var(--ink); border-color: var(--muted); }
.pc-q:focus-visible { outline: 2px solid var(--turquoise); outline-offset: 2px; }
.pc-q.on { color: var(--ink); border-color: var(--turquoise); background: var(--accent-soft); }
.pc-you { margin: 0 0 12px auto; max-width: 85%; width: max-content; padding: 10px 14px; border-radius: 16px 16px 5px 16px; background: rgba(241, 238, 231, 0.1); font-size: 15px; color: var(--ink); }
.pc-you:empty { display: none; }
.pc-agent { padding: 14px 16px; border-radius: 16px 16px 16px 5px; border: 1px solid var(--accent); background: var(--raised); box-shadow: 0 0 34px rgba(132, 181, 210, 0.12); }
.pc-agent-h { display: flex; align-items: center; gap: 7px; margin: 0 0 6px; font-size: 13px; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: var(--turquoise); }
.pc-agent-h svg { width: 15px; height: 15px; }
.pc-answer { margin: 0; min-height: 4.4em; font-size: 15.5px; line-height: 1.5; color: var(--ink); }
.pc-from { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; margin: 10px 0 0; font-size: 13px; color: var(--faint); }
.pc-from span { display: inline-flex; align-items: center; gap: 5px; padding: 3px 8px; border-radius: 999px; border: 1px solid var(--line-strong); color: var(--muted); }
.pc-from span svg, .pc-from span img { width: 12px; height: 12px; fill: currentColor; }
.pc-from em { flex-basis: 100%; font-style: normal; color: var(--turquoise); font-weight: 600; margin-top: 2px; }
.pc-agent.done .pc-from { animation: pc-in 0.4s ease both; }
@media (prefers-reduced-motion: reduce) { .pc-stage *, .pc-stage *::before { animation: none !important; } }
