/* v8.18: scoped action counts, one-line brand and a foreground conversation. */
.us .cover-tabs a span{display:inline-flex;align-items:center;justify-content:center;min-width:26px;min-height:26px;padding:2px 7px;border-radius:9px;background:#fff1d4!important;color:#92591a!important;font-weight:700;line-height:1.2;opacity:1}
.us .ai-brand,.ai-brand{display:inline-flex!important;flex-direction:row!important;flex-wrap:nowrap!important;align-items:center!important;white-space:nowrap;vertical-align:middle;gap:8px!important;max-width:none!important}
.us .ai-brand>img,.ai-brand>img{display:block;flex:0 0 auto;width:116px!important;max-width:none!important;height:25px!important;object-fit:contain}
.us .ai-brand>span,.ai-brand>span{display:inline-block!important;flex:0 0 auto!important;white-space:nowrap!important;margin:0!important;padding:0 0 0 8px!important;border-left:1px solid #87a69d;font-size:16px!important;line-height:22px!important;color:inherit!important}
/* Each occurrence draws independently; no reflow when a theme rotates. */
.theme-line:nth-child(2) .theme-audience .underline-main{animation-delay:.3s}
.theme-line:nth-child(2) .theme-audience .underline-finish{animation-delay:1.15s}
.chat-dialog{position:fixed;inset:0;margin:auto;border:1px solid #d7e2df;padding:0;width:min(960px,calc(100vw - 64px));height:min(850px,calc(100dvh - 56px));max-width:none;max-height:none;border-radius:26px;background:#f7faf7;color:#12364c;box-shadow:0 24px 100px #0d2d4a40;overflow:hidden}
.chat-dialog::backdrop{background:#102e47a8;backdrop-filter:blur(7px)}
body:has(.chat-dialog[open]){overflow:hidden}
.chat-dialog .v85-chat-wrap,.chat-dialog .hub-inbox,.chat-dialog .hub-chat{width:100%;height:100%;min-height:0;margin:0!important;padding:0!important;border:0;border-radius:0;max-width:none;display:block;background:transparent;box-shadow:none}
.chat-dialog .v85-messenger{display:flex;flex-direction:column;height:100%;min-height:0;max-height:none;border:0;border-radius:0;margin:0;overflow:hidden}
.chat-dialog .v85-chat-head{flex:0 0 auto;background:#fffef9;padding:18px 22px;border-bottom:1px solid #e0e8df;gap:14px}
.chat-dialog .v85-chat-head h2{font-size:16px;line-height:1.4;margin:0}
.chat-dialog .v85-chat-head p{font-size:11px;margin:3px 0 0;color:#60807b}
.chat-dialog .v85-chat-head>div{min-width:0;flex:1}
.chat-dialog .v85-history{flex:1 1 auto;min-height:90px;max-height:none!important;overflow:auto;overscroll-behavior:contain;padding:22px 28px;scrollbar-gutter:stable}
.chat-dialog .v85-composer{flex:0 0 auto;margin:10px 22px 12px!important;padding:13px 16px!important;background:#fff;border:1px solid #c6d8cb;border-radius:18px;box-shadow:0 6px 24px #1c494b08;position:relative}
.chat-dialog .v85-composer textarea{width:100%;min-height:46px;max-height:120px;resize:none;border:0;background:transparent;padding:8px 2px;box-shadow:none!important;font:inherit;line-height:1.5;color:#12364c}
.chat-dialog .v85-compose-bottom{display:flex;align-items:center;justify-content:space-between;gap:14px}
.chat-dialog .v85-attach{flex-direction:row;font-size:12px;color:#436d68;display:inline-flex;align-items:center;gap:7px;cursor:pointer;max-width:75%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.chat-dialog .v85-attach input{position:absolute;width:1px;height:1px;opacity:0}
.chat-dialog .v85-attach:focus-within{outline:2px solid #00867b;outline-offset:3px}
.chat-dialog .v85-compose-bottom>button{background:#12364c;color:#fff;border:0;border-radius:50%;width:40px;height:40px;font-size:21px;cursor:pointer;flex-shrink:0}
.chat-dialog .v85-chat-footer{flex:0 0 auto;font-size:10px;text-align:center;padding:0 18px 12px;color:#78918b}
.chat-dialog .v86-chat-topic,.chat-dialog .v810-context,.chat-dialog .v85-draftbar,.chat-dialog .v85-reply-status,.chat-dialog .v85-chat-error{flex:0 0 auto}
.chat-dialog .v810-context[open]{max-height:24dvh;overflow:auto}
.chat-dialog .v85-reply-status{max-height:100px;overflow:auto}
.chat-dialog .chat-new-form{display:flex;flex-direction:column;flex:1;min-height:0}
.chat-dialog .chat-new-scroll{flex:1;min-height:80px;overflow:auto;padding:26px 30px;overscroll-behavior:contain}
.chat-welcome{max-width:590px;margin:24px auto 30px;text-align:center}
.chat-welcome .welcome-star{display:grid;place-items:center;margin:auto auto 18px;width:52px;height:52px;background:#e9efd5;border:1px solid #d8e3bd;border-radius:17px;font-size:30px;color:#197d70}
.chat-welcome h2{font-size:clamp(24px,3vw,34px);letter-spacing:-.03em;line-height:1.2;margin:0 0 14px}
.chat-welcome p{font-size:14px;line-height:1.8;color:#607d79}
.chat-starters{display:flex;justify-content:center;gap:8px;flex-wrap:wrap;margin-top:22px}
.chat-starters button{border:1px solid #d9e4d8;border-radius:14px;padding:10px 13px;font:12px inherit;background:#fffef9;color:#366864;cursor:pointer}
.chat-new-scroll .v83-consent{display:flex;gap:10px;align-items:start;max-width:590px;margin:20px auto;font-size:12px;color:#52756d}
.chat-new-scroll .v83-consent input{margin-top:3px;flex:0 0 auto}
.chat-new-scroll details{max-width:590px;margin:20px auto}
.chat-new-scroll .field input,.chat-new-scroll .field select{max-width:100%}
.chat-dialog .v86-chat-close{flex-shrink:0}
/* Visible flow and handoffs. Focus pauses auto-tab changes, never the diagram. */
.pillar-scene .agent-symbol{animation:agent-float 4.6s ease-in-out infinite}
.pillar-scene .agent-lane:nth-child(2) .agent-symbol{animation-delay:-1.5s}
.pillar-scene .agent-lane:nth-child(3) .agent-symbol{animation-delay:-3s}
.pillar-scene .api-route b{animation:route-arrow 2s ease-in-out infinite}
.pillar-scene .api-route b:nth-of-type(2){animation-delay:1s}
.pillar-scene .gateway-controls>div{animation:engine-step 6.9s ease-in-out infinite}
.pillar-scene .gateway-controls>div:nth-child(2){animation-delay:2.3s}
.pillar-scene .gateway-controls>div:nth-child(3){animation-delay:4.6s}
.pillar-scene .gateway-source{animation:gateway-lift 5.6s ease-in-out infinite}
.pillar-scene .gateway-source:nth-child(2){animation-delay:-2.8s}
.pillar-scene .market-comparison tbody tr{animation:market-highlight 6.9s ease-in-out infinite}
.pillar-scene .market-comparison tbody tr:nth-child(2){animation-delay:2.3s}
.pillar-scene .market-comparison tbody tr:nth-child(3){animation-delay:4.6s}
@keyframes agent-float{0%,100%{transform:translateY(0)}50%{transform:translateY(-5px);box-shadow:0 6px 14px #527e7622}}
@keyframes route-arrow{0%,100%{transform:translateX(-3px);opacity:.4}50%{transform:translateX(3px);opacity:1}}
@keyframes engine-step{0%,45%,100%{border-color:#375b63}12%,28%{border-color:#dbea9d;filter:brightness(1.25)}}
@keyframes gateway-lift{0%,100%{transform:translateY(0)}50%{transform:translateY(-3px);box-shadow:0 8px 22px #137b6a15}}
@keyframes market-highlight{0%,45%,100%{background:transparent}12%,28%{background:#edf3dd}}
@media(max-width:650px){.chat-dialog{width:100%;height:100dvh;border:0;border-radius:0}.chat-dialog .v85-chat-head{padding:12px;gap:9px}.chat-dialog .v85-chat-head>div h2{font-size:13px}.chat-dialog .v85-history{padding:18px 14px}.chat-dialog .v85-composer{margin:8px 12px!important}.chat-dialog .chat-new-scroll{padding:18px}.chat-dialog .v85-chat-footer{padding-bottom:max(9px,env(safe-area-inset-bottom))}.chat-welcome{margin:15px auto}.chat-welcome p{font-size:13px}.chat-dialog .v88-chat-brand{display:none}.chat-dialog .v810-context{font-size:11px}.ai-brand img{width:104px!important}}
@media(prefers-reduced-motion:reduce){.pillar-scene *,.pillar-scene *::before,.pillar-scene *::after{animation:none!important;transition:none!important}.theme-audience path{animation:none!important;stroke-dashoffset:0!important}}

.us dialog.chat-dialog{max-height:calc(100dvh - 56px)}
@media(max-width:650px){.us dialog.chat-dialog{width:100%;height:100dvh;max-height:100dvh;max-width:none;margin:0;border-radius:0}}
