/* v9 agent panel — scoped under .agentui (generated; do not hand-edit) */
.agentui {
    --bg:        oklch(0.985 0.004 90);
    --bg-warm:   oklch(0.97 0.008 80);
    --paper:     oklch(0.99 0.003 90);
    --ink:       oklch(0.18 0.014 275);
    --ink-2:     oklch(0.32 0.012 275);
    --ink-3:     oklch(0.50 0.010 275);
    --ink-4:     oklch(0.68 0.008 275);
    --line:      oklch(0.92 0.006 275);
    --line-2:    oklch(0.88 0.008 275);
    --card:      oklch(1 0 0);

    --accent:        oklch(0.58 0.20 285);
    --accent-2:      oklch(0.65 0.18 295);
    --accent-soft:   oklch(0.94 0.04 285);
    --accent-deep:   oklch(0.32 0.16 285);
    --accent-glow:   oklch(0.62 0.22 290 / 0.35);

    --success:   oklch(0.62 0.14 155);
    --danger:    oklch(0.62 0.20 25);
    --amber:     oklch(0.78 0.14 75);

    --panel:     oklch(0.16 0.022 275);
    --panel-2:   oklch(0.21 0.026 280);
    --panel-line: oklch(1 0 0 / 0.08);

    --r: 14px;
    --r-lg: 20px;

    --font-display: 'Inter Tight', 'Inter', -apple-system, sans-serif;
    --font-body: 'Inter', -apple-system, sans-serif;
    --font-mono: 'JetBrains Mono', ui-monospace, monospace;
  }
.agentui .display { font-family: var(--font-display); letter-spacing: -0.025em; font-weight: 600; }
.agentui .mono { font-family: var(--font-mono); }
.agentui a { color: inherit; text-decoration: none; }
.agentui button { font-family: inherit; cursor: pointer; }
.agentui .page {
    max-width: 1440px;
    margin: 0 auto;
    padding: 24px 24px 0;       
    position: relative;
  }
.agentui .page::before, .agentui .page::after {
    content: '';
    position: absolute;
    pointer-events: none;
    z-index: 0;
  }
.agentui .page::before {
    top: -10%; right: -8%;
    width: 720px; height: 720px;
    background: radial-gradient(closest-side, var(--accent-glow), transparent 70%);
    filter: blur(40px);
  }
.agentui .page::after {
    top: 18%; left: -15%;
    width: 540px; height: 540px;
    background: radial-gradient(closest-side, oklch(0.85 0.08 80 / 0.5), transparent 70%);
    filter: blur(50px);
  }
.agentui .page > * { position: relative; z-index: 1; }
.agentui .nav {
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    align-items: center;
    padding: 8px 0 0;
  }
.agentui .brand {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-family: var(--font-display);
    font-weight: 600;
    font-size: 18px;
    letter-spacing: -0.02em;
  }
.agentui .brand-mark svg { display: block; }
.agentui .nav-menu {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    padding: 6px;
    background: oklch(1 0 0 / 0.6);
    backdrop-filter: blur(8px);
    border: 1px solid var(--line);
    border-radius: 999px;
    box-shadow: 0 2px 8px -2px oklch(0 0 0 / 0.04);
  }
.agentui .nav-menu a {
    padding: 8px 16px;
    font-size: 14px;
    font-weight: 500;
    color: var(--ink-2);
    border-radius: 999px;
    transition: all 0.15s;
  }
.agentui .nav-menu a:hover {
    color: var(--ink);
    background: oklch(1 0 0 / 0.7);
  }
.agentui .nav-cta {
    display: inline-flex;
    align-items: center;
    gap: 14px;
    justify-self: end;
    font-size: 14px;
    font-weight: 500;
  }
.agentui .nav-cta a.signin { color: var(--ink-2); }
.agentui .nav-cta a.signin:hover { color: var(--ink); }
.agentui .btn-pill {
    padding: 9px 18px;
    border-radius: 999px;
    border: 1px solid var(--ink);
    background: var(--ink);
    color: oklch(0.98 0 0);
    font-weight: 500;
    font-size: 13.5px;
    transition: all 0.15s;
  }
.agentui .btn-pill:hover {
    background: oklch(0.08 0.01 275);
    transform: translateY(-1px);
    box-shadow: 0 8px 20px -6px oklch(0 0 0 / 0.18);
  }
.agentui .hero {
    display: grid;
    
    grid-template-columns: 1.3fr 1fr;
    gap: 56px;
    padding: 64px 0 36px;
    
    align-items: stretch;
  }
.agentui .hero-left { min-width: 0; padding-right: 24px; }
.agentui .eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 6px 12px 6px 8px;
    background: oklch(1 0 0 / 0.7);
    border: 1px solid var(--line);
    border-radius: 999px;
    font-size: 12.5px;
    color: var(--ink-2);
    font-weight: 500;
    box-shadow: 0 2px 8px -4px oklch(0 0 0 / 0.06);
    margin-bottom: 28px;
  }
.agentui .eyebrow-pulse {
    position: relative;
    width: 18px; height: 18px;
    border-radius: 999px;
    background: var(--accent-soft);
    display: grid; place-items: center;
  }
.agentui .eyebrow-pulse::before {
    content: '';
    width: 7px; height: 7px;
    border-radius: 50%;
    background: var(--accent);
    box-shadow: 0 0 0 0 var(--accent-glow);
    animation: agentui-pulse 2s ease-out infinite;
  }
@keyframes agentui-pulse {
    0% { box-shadow: 0 0 0 0 var(--accent-glow); }
    70% { box-shadow: 0 0 0 8px oklch(0.62 0.22 290 / 0); }
    100% { box-shadow: 0 0 0 0 oklch(0.62 0.22 290 / 0); }
  }
.agentui .eyebrow b { color: var(--ink); font-weight: 600; }
.agentui .eyebrow .sep {
    width: 1px; height: 12px; background: var(--line-2);
    margin: 0 2px;
  }
.agentui h1 {
    font-family: var(--font-display);
    font-size: clamp(46px, 5.4vw, 78px);
    font-weight: 700;
    line-height: 1.15;
    letter-spacing: -0.035em;
    color: var(--ink);
    margin: 0 0 24px;
    max-width: 100%;
    overflow-wrap: break-word;
  }
.agentui h1 .rot {
    position: relative;
    display: inline-block;
    color: var(--accent);
    background: linear-gradient(120deg, var(--accent) 0%, var(--accent-2) 50%, oklch(0.62 0.18 250) 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    white-space: nowrap;
    overflow-wrap: normal;
    word-break: keep-all;
    padding-bottom: 0.12em;
    overflow: visible;
    will-change: opacity, transform, filter;
  }
.agentui .lede {
    font-size: 19px;
    line-height: 1.5;
    color: var(--ink-2);
    max-width: 28em;
    margin: 0 0 36px;
  }
.agentui .lede em {
    font-style: normal;
    color: var(--ink);
    font-weight: 500;
  }
.agentui .form-wrap { margin-bottom: 28px; max-width: 520px; }
.agentui .form {
    display: flex;
    align-items: center;
    gap: 0;
    background: var(--card);
    border: 1.5px solid var(--line-2);
    border-radius: 14px;
    padding: 5px 5px 5px 0;
    transition: all 0.18s;
    box-shadow: 0 1px 0 oklch(1 0 0 / 0.6) inset, 0 8px 24px -12px oklch(0 0 0 / 0.08);
  }
.agentui .form:focus-within {
    border-color: #5B21B6;
    box-shadow:
      0 0 0 4px rgba(109, 40, 217, 0.12),
      0 8px 24px -8px rgba(91, 33, 182, 0.22);
  }
.agentui .form input {
    flex: 1; min-width: 0;
    border: none; outline: none;
    background: transparent;
    padding: 14px 20px;
    font-family: inherit;
    font-size: 15px;
    color: var(--ink);
  }
.agentui .form input::placeholder { color: var(--ink-4); }
.agentui .form-btn {
    display: inline-flex; align-items: center; gap: 8px;
    padding: 12px 20px;
    border: none;
    border-radius: 10px;
    background: #5B21B6;
    color: #ffffff;
    font-weight: 600;
    font-size: 14.5px;
    box-shadow:
      inset 0 1px 0 oklch(1 0 0 / 0.15),
      0 6px 16px -6px oklch(0.18 0.014 275 / 0.55);
    cursor: pointer;
    transition: background 0.18s, transform 0.18s, box-shadow 0.18s;
  }
.agentui .form-btn:hover {
    background: #6D28D9;
    transform: translateY(-1px);
    box-shadow:
      inset 0 1px 0 oklch(1 0 0 / 0.18),
      0 12px 24px -6px oklch(0.18 0.014 275 / 0.55);
  }
.agentui .form-btn .arrow { transition: transform 0.2s; }
.agentui .form-btn:hover .arrow { transform: translateX(2px); }
.agentui .form-sub {
    display: flex; align-items: center; gap: 10px;
    margin-top: 12px;
    font-size: 13px;
    color: var(--ink-3);
  }
.agentui .form-sub a {
    color: var(--ink);
    font-weight: 500;
    border-bottom: 1px solid var(--line-2);
    padding-bottom: 1px;
    transition: border-color 0.15s;
  }
.agentui .form-sub a:hover { border-color: var(--accent); }
.agentui .form-sub .dot { color: var(--ink-4); }
.agentui .trust {
    display: flex;
    
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
    margin-top: 36px;
  }
.agentui .trust-badge {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    padding: 7px 12px 7px 8px;
    background: oklch(1 0 0 / 0.65);
    border: 1px solid var(--line);
    border-radius: 999px;
    font-size: 12px;
    color: var(--ink-2);
    font-weight: 500;
  }
.agentui .trust-badge .ck {
    width: 16px; height: 16px;
    border-radius: 50%;
    background: var(--accent-soft);
    color: var(--accent-deep);
    display: grid; place-items: center;
    font-size: 10px;
  }
.agentui .hero-right {
    position: relative;
    min-width: 0;
    
    height: auto;
    min-height: 470px;
    
    padding-top: 23px;
  }
.agentui .hp-role-card-meta { display: none; }
.agentui .hp-bespoke-banner {
    --industry-accent: #6D28D9;
    display: flex;
    flex-direction: column;
    margin: 0 auto 32px;
    max-width: 1100px;
    padding: 22px 28px 26px;
    background: linear-gradient(180deg, oklch(1 0 0 / 0.96), oklch(0.98 0 0 / 0.94));
    border: 1px solid oklch(0.92 0.012 275);
    border-bottom: 3px solid var(--industry-accent);
    border-radius: 14px;
    box-shadow:
      0 1px 0 oklch(1 0 0 / 0.8) inset,
      0 12px 32px -16px oklch(0 0 0 / 0.10);
    transition: border-bottom-color 320ms cubic-bezier(0.22, 0.61, 0.36, 1),
                background 320ms cubic-bezier(0.22, 0.61, 0.36, 1);
  }
.agentui .hp-bespoke-banner-head {
    display: grid;
    grid-template-columns: auto 1fr auto;
    gap: 24px;
    align-items: center;
  }
.agentui .hp-bespoke-banner-impact-slot:empty {
    display: none;
  }
.agentui .hp-bespoke-banner-glyph {
    font-size: 44px;
    line-height: 1;
    width: 64px;
    height: 64px;
    display: grid;
    place-items: center;
    border-radius: 14px;
    background: color-mix(in oklch, var(--industry-accent) 14%, oklch(1 0 0));
    color: var(--industry-accent);
    box-shadow: 0 0 0 1px color-mix(in oklch, var(--industry-accent) 22%, transparent);
    transition: background 320ms cubic-bezier(0.22, 0.61, 0.36, 1),
                box-shadow 320ms cubic-bezier(0.22, 0.61, 0.36, 1);
  }
.agentui .hp-bespoke-banner-text {
    display: flex;
    flex-direction: column;
    gap: 4px;
    min-width: 0;
  }
.agentui .hp-bespoke-banner-phrase {
    font-family: var(--font-display);
    font-size: clamp(20px, 2.4vw, 28px);
    font-weight: 700;
    letter-spacing: -0.02em;
    color: var(--ink);
    line-height: 1.2;
  }
.agentui .hp-bespoke-banner-context {
    font-size: 13px;
    font-weight: 500;
    color: var(--ink-2);
    letter-spacing: 0.01em;
  }
.agentui .hp-bespoke-banner-frame {
    font-size: 11px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.16em;
    color: var(--industry-accent);
    padding: 6px 12px;
    border: 1px solid color-mix(in oklch, var(--industry-accent) 28%, transparent);
    border-radius: 999px;
    background: color-mix(in oklch, var(--industry-accent) 8%, oklch(1 0 0));
    white-space: nowrap;
    transition: color 320ms, border-color 320ms, background 320ms;
  }
.agentui .hp-bespoke-banner[data-axis-industry="ecom"] { --industry-accent: #06B6D4; }
.agentui .hp-bespoke-banner[data-axis-industry="retail"] { --industry-accent: #DC2626; }
.agentui .hp-bespoke-banner[data-axis-industry="cpg"] { --industry-accent: #F59E0B; }
.agentui .hp-bespoke-banner[data-axis-industry="food"] { --industry-accent: #EA580C; }
.agentui .hp-bespoke-banner[data-axis-industry="health"] { --industry-accent: #10B981; }
.agentui .hp-bespoke-banner[data-axis-industry="entertainment"] { --industry-accent: #EC4899; }
.agentui .hp-bespoke-banner[data-axis-industry="edu"] { --industry-accent: #6366F1; }
.agentui .hp-bespoke-banner[data-axis-industry="agency"] { --industry-accent: #8B5CF6; }
.agentui .hp-bespoke-banner[data-axis-industry="other"] { --industry-accent: #6D28D9; }
.agentui .hp-bespoke-banner[data-axis-industry=""] { --industry-accent: #6D28D9; }
@media (max-width: 720px) {
.agentui .hp-bespoke-banner {
      grid-template-columns: auto 1fr;
      grid-template-rows: auto auto;
      gap: 14px 16px;
      padding: 16px 18px 20px;
    }
.agentui .hp-bespoke-banner-glyph { width: 48px; height: 48px; font-size: 32px; }
.agentui .hp-bespoke-banner-frame {
      grid-column: 1 / -1;
      justify-self: start;
      font-size: 10px;
      padding: 4px 10px;
    }
}
.agentui .hp-rcm-geo { display: flex; flex-direction: column; gap: 8px; }
.agentui .hp-rcm-geo-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 6px;
  }
.agentui .hp-rcm-geo-tile {
    display: flex; flex-direction: column; justify-content: center;
    aspect-ratio: 1 / 1;
    border-radius: 8px;
    padding: 6px;
    color: oklch(1 0 0);
    font-size: 11px;
    font-weight: 600;
  }
.agentui .hp-rcm-geo-tile-name { letter-spacing: 0.04em; opacity: 0.92; }
.agentui .hp-rcm-geo-tile-val { font-size: 14px; font-weight: 800; margin-top: auto; }
.agentui .hp-rcm-cohort { display: flex; flex-direction: column; gap: 8px; }
.agentui .hp-rcm-cohort-stages {
    display: flex; align-items: center; gap: 6px;
    overflow-x: auto;
  }
.agentui .hp-rcm-cohort-stage {
    display: flex; flex-direction: column; align-items: flex-start;
    padding: 8px 10px;
    background: color-mix(in oklch, var(--industry-accent, #6D28D9) 8%, oklch(1 0 0));
    border: 1px solid color-mix(in oklch, var(--industry-accent, #6D28D9) 22%, transparent);
    border-radius: 8px;
    min-width: 70px;
  }
.agentui .hp-rcm-cohort-name { font-size: 10px; color: oklch(0.42 0.014 275); letter-spacing: 0.08em; text-transform: uppercase; }
.agentui .hp-rcm-cohort-val { font-size: 16px; font-weight: 700; color: oklch(0.18 0.014 275); }
.agentui .hp-rcm-cohort-sep { color: var(--industry-accent, #6D28D9); font-weight: 800; }
.agentui .hp-rcm-trailers { display: flex; flex-direction: column; gap: 8px; }
.agentui .hp-rcm-trailers-row { display: flex; gap: 8px; overflow-x: auto; }
.agentui .hp-rcm-trailer {
    display: flex; flex-direction: column; align-items: center;
    min-width: 80px;
    padding: 8px 10px;
    border: 1px solid oklch(0.92 0.012 275);
    border-radius: 8px;
    background: oklch(1 0 0);
  }
.agentui .hp-rcm-trailer-thumb {
    font-size: 28px; line-height: 1;
    width: 44px; height: 44px;
    display: grid; place-items: center;
    border-radius: 8px;
    background: color-mix(in oklch, var(--industry-accent, #6D28D9) 12%, oklch(1 0 0));
  }
.agentui .hp-rcm-trailer-name { font-size: 11px; font-weight: 600; margin-top: 6px; }
.agentui .hp-rcm-trailer-val { font-size: 14px; font-weight: 800; color: var(--industry-accent, #6D28D9); }
.agentui .hp-rcm-kanban {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 8px;
  }
.agentui .hp-rcm-kanban-col {
    background: oklch(0.98 0 0);
    border: 1px solid oklch(0.92 0.012 275);
    border-top: 3px solid var(--industry-accent, #6D28D9);
    border-radius: 8px;
    padding: 10px;
    display: flex; flex-direction: column; gap: 6px;
  }
.agentui .hp-rcm-kanban-head {
    font-size: 11px;
    font-weight: 700;
    color: oklch(0.32 0.014 275);
    text-transform: uppercase;
    letter-spacing: 0.08em;
  }
.agentui .hp-rcm-kanban-head span { color: oklch(0.55 0.014 275); font-weight: 600; }
.agentui .hp-rcm-kanban-card {
    padding: 6px 10px;
    background: oklch(1 0 0);
    border: 1px solid oklch(0.92 0.012 275);
    border-radius: 6px;
    font-size: 12px;
    font-weight: 500;
    color: oklch(0.20 0.014 275);
  }
.agentui .hp-rcm-action {
    display: inline-flex; align-items: center; gap: 10px;
    width: 100%;
    padding: 12px 16px;
    margin-top: 12px;
    background: color-mix(in oklch, var(--industry-accent, #6D28D9) 10%, oklch(1 0 0));
    border: 1px solid color-mix(in oklch, var(--industry-accent, #6D28D9) 32%, transparent);
    border-radius: 10px;
    cursor: pointer;
    font: 600 12.5px var(--font-body);
    color: oklch(0.18 0.014 275);
    text-align: left;
    transition: background 200ms, border-color 200ms, transform 200ms;
  }
.agentui .hp-rcm-action:hover {
    background: color-mix(in oklch, var(--industry-accent, #6D28D9) 18%, oklch(1 0 0));
    transform: translateY(-1px);
  }
.agentui .hp-rcm-action-verb {
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--industry-accent, #6D28D9);
    font-size: 11px;
  }
.agentui .hp-rcm-action-target {
    flex: 1;
    font-weight: 500;
    color: oklch(0.32 0.014 275);
  }
.agentui .hp-rcm-action-arrow {
    color: var(--industry-accent, #6D28D9);
    font-weight: 800;
    font-size: 14px;
  }
.agentui .hp-rcm-bignum.hp-rcm-bignum--text {
    font-size: 22px;
    line-height: 1.25;
    font-weight: 700;
    letter-spacing: -0.01em;
    word-break: break-word;
  }
.agentui .hp-role-dash-grid { align-items: stretch; }
.agentui .hp-role-card { display: flex; flex-direction: column; }
.agentui .hp-role-card-mock {
    display: flex;
    flex-direction: column;
    gap: 14px;
    flex: 1;
    min-height: 0;
  }
.agentui .hp-role-dash-grid { align-items: start; }
.agentui [data-bb-lede="map-led"] .hp-rcm-block--hero .hp-rcm-bignum { font-size: 28px; }
.agentui [data-bb-lede="map-led"] .hp-rcm-geo { margin-top: 4px; }
.agentui [data-bb-lede="quote-led"] .hp-rcm-block--hero .hp-rcm-bignum {
    font-family: var(--font-display);
    font-style: italic;
    font-size: 22px;
  }
.agentui [data-bb-lede="portrait-led"] .hp-rcm-trailers { margin-top: 6px; }
.agentui #role-dashboards[data-axis-segment="smb"] .hp-rcm-kpi-grid {
    grid-template-columns: repeat(3, 1fr);
  }
.agentui #role-dashboards[data-axis-segment="smb"] .hp-rcm-kpi:nth-child(4) { display: none; }
.agentui #role-dashboards[data-axis-segment="smb"] .hp-rcm-ch:nth-child(5) { display: none; }
.agentui #role-dashboards[data-axis-segment="smb"] .hp-rcm-bar:nth-child(5) { display: none; }
.agentui #role-dashboards[data-axis-segment="enterprise"] .hp-rcm-kpi-grid { gap: 8px; }
.agentui #role-dashboards[data-axis-segment="enterprise"] .hp-rcm-bar { padding: 6px 0; }
.agentui #role-dashboards[data-axis-segment="enterprise"] .hp-rcm-ch { padding: 6px 0; }
.agentui .hp-rcm-insight-decision {
    display: flex;
    align-items: flex-start;
    gap: 8px;
    margin-top: 10px;
    padding: 8px 12px;
    background: color-mix(in oklch, var(--industry-accent, #6D28D9) 8%, oklch(1 0 0));
    border-left: 3px solid var(--industry-accent, #6D28D9);
    border-radius: 0 6px 6px 0;
    font-size: 11.5px;
    font-weight: 600;
    line-height: 1.4;
    letter-spacing: 0.01em;
    color: oklch(0.32 0.014 275);
    text-transform: none;
  }
.agentui .hp-rcm-insight-decision-arrow {
    color: var(--industry-accent, #6D28D9);
    font-weight: 800;
    flex-shrink: 0;
  }
.agentui #role-dashboards { --industry-accent: #6D28D9; }
.agentui .hp-bespoke-banner[data-axis-industry="ecom"]          ~ .hp-role-dash-bundle, .agentui #role-dashboards:has(.hp-bespoke-banner[data-axis-industry="ecom"]) { --industry-accent: #06B6D4; }
.agentui .hp-bespoke-banner[data-axis-industry="retail"]        ~ .hp-role-dash-bundle, .agentui #role-dashboards:has(.hp-bespoke-banner[data-axis-industry="retail"]) { --industry-accent: #DC2626; }
.agentui .hp-bespoke-banner[data-axis-industry="cpg"]           ~ .hp-role-dash-bundle, .agentui #role-dashboards:has(.hp-bespoke-banner[data-axis-industry="cpg"]) { --industry-accent: #F59E0B; }
.agentui .hp-bespoke-banner[data-axis-industry="food"]          ~ .hp-role-dash-bundle, .agentui #role-dashboards:has(.hp-bespoke-banner[data-axis-industry="food"]) { --industry-accent: #EA580C; }
.agentui .hp-bespoke-banner[data-axis-industry="health"]        ~ .hp-role-dash-bundle, .agentui #role-dashboards:has(.hp-bespoke-banner[data-axis-industry="health"]) { --industry-accent: #10B981; }
.agentui .hp-bespoke-banner[data-axis-industry="entertainment"] ~ .hp-role-dash-bundle, .agentui #role-dashboards:has(.hp-bespoke-banner[data-axis-industry="entertainment"]) { --industry-accent: #EC4899; }
.agentui .hp-bespoke-banner[data-axis-industry="edu"]           ~ .hp-role-dash-bundle, .agentui #role-dashboards:has(.hp-bespoke-banner[data-axis-industry="edu"]) { --industry-accent: #6366F1; }
.agentui .hp-bespoke-banner[data-axis-industry="agency"]        ~ .hp-role-dash-bundle, .agentui #role-dashboards:has(.hp-bespoke-banner[data-axis-industry="agency"]) { --industry-accent: #8B5CF6; }
.agentui .agent {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, var(--panel) 0%, var(--panel-2) 100%);
    border-radius: var(--r-lg);
    color: oklch(0.98 0 0);
    box-shadow:
      0 0 0 1px oklch(1 0 0 / 0.04),
      0 1px 0 oklch(1 0 0 / 0.08) inset,
      0 50px 120px -40px oklch(0.18 0.014 275 / 0.55),
      0 20px 50px -16px oklch(0.18 0.014 275 / 0.30);
    overflow: hidden;
    display: grid;
    grid-template-rows: auto 1fr;
  }
.agentui .agent::after {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: inherit;
    padding: 1px;
    background: linear-gradient(180deg, oklch(1 0 0 / 0.14), oklch(1 0 0 / 0) 40%);
    -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
            mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
    -webkit-mask-composite: xor;
            mask-composite: exclude;
    pointer-events: none;
  }
.agentui .agent::before {
    content: '';
    position: absolute;
    inset: -1px;
    background:
      radial-gradient(700px 400px at 88% -8%, var(--accent-glow), transparent 60%),
      radial-gradient(500px 320px at 8% 110%, oklch(0.55 0.18 230 / 0.22), transparent 60%);
    pointer-events: none;
    opacity: 0.7;
  }
.agentui .agent-top {
    display: grid;
    grid-template-columns: 1fr auto;
    align-items: center;
    gap: 14px;
    padding: 12px 16px;
    border-bottom: 1px solid var(--panel-line);
    position: relative;
    z-index: 2;
    background: linear-gradient(180deg, oklch(1 0 0 / 0.02), transparent);
  }
.agentui .agent-dots { display: inline-flex; align-items: center; gap: 6px; }
.agentui .agent-dots span {
    width: 9px; height: 9px; border-radius: 50%;
    background: oklch(1 0 0 / 0.10);
    box-shadow: inset 0 0 0 1px oklch(1 0 0 / 0.06);
  }
.agentui .agent-top-l {
    display: inline-flex; align-items: center; gap: 10px;
    font-size: 12.5px; font-weight: 500;
    color: oklch(0.95 0 0);
  }
.agentui .agent-spark {
    width: 22px; height: 22px;
    border-radius: 7px;
    background: linear-gradient(135deg, var(--accent), var(--accent-2));
    display: grid; place-items: center;
    font-size: 12px;
    box-shadow: 0 4px 12px -4px var(--accent-glow);
  }
.agentui .agent-os { font-weight: 600; font-size: 12px; letter-spacing: -0.01em; color: oklch(0.62 0 0); }
.agentui .agent-sep { color: oklch(0.45 0 0); font-weight: 400; margin: 0 -2px; }
.agentui .agent-top-l #agentViewName { font-weight: 700; font-size: 12.5px; letter-spacing: -0.01em; color: oklch(0.96 0 0); }
.agentui .agent-top-l .status {
    display: inline-flex; align-items: center; gap: 6px;
    padding: 3px 9px 3px 7px;
    background: oklch(0.62 0.14 155 / 0.18);
    color: oklch(0.78 0.14 155);
    border-radius: 999px;
    font-size: 10.5px;
    font-weight: 600;
    letter-spacing: 0.04em;
    margin-left: 4px;
  }
.agentui .agent-top-l .status::before {
    content: '';
    width: 5px; height: 5px;
    border-radius: 50%;
    background: oklch(0.78 0.14 155);
    box-shadow: 0 0 0 3px oklch(0.78 0.14 155 / 0.18);
    animation: agentui-blink2 1.6s ease-in-out infinite;
  }
@keyframes agentui-blink2 { 50% { opacity: 0.35; } }
.agentui .agent-top-r {
    display: inline-flex; align-items: center; gap: 8px;
  }
.agentui .agent-top-r .pill {
    padding: 4px 10px;
    background: oklch(1 0 0 / 0.06);
    border: 1px solid oklch(1 0 0 / 0.10);
    border-radius: 999px;
    font-size: 11px;
    color: oklch(0.78 0 0);
    font-family: var(--font-mono);
  }
.agentui .agent-body {
    display: grid;
    grid-template-columns: 52px 1fr;
    position: relative;
    z-index: 1;
    min-height: 0;
    overflow: hidden;
  }
.agentui .agent-side {
    border-right: 1px solid oklch(1 0 0 / 0.06);
    background: oklch(0.22 0.024 278);
    box-shadow: inset -1px 0 0 oklch(0 0 0 / 0.25);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
    padding: 14px 0;
    background: linear-gradient(180deg, oklch(1 0 0 / 0.02), transparent 40%);
  }
.agentui .agent-side .side-top { flex: 1; }
.agentui .agent-side .side-mid {
    display: flex; flex-direction: column; align-items: center; gap: 4px;
  }
.agentui .agent-side .side-bot { flex: 1; display: flex; flex-direction: column; justify-content: flex-end; align-items: center; }
.agentui .side-btn {
    width: 34px; height: 34px;
    border-radius: 9px;
    border: 1px solid transparent;
    background: transparent;
    display: grid; place-items: center;
    color: oklch(0.60 0.01 275);
    cursor: pointer;
    transition: all 0.15s ease;
    position: relative;
  }
.agentui .side-btn:hover {
    color: oklch(0.92 0 0);
    background: oklch(1 0 0 / 0.04);
  }
.agentui .side-btn.is-active {
    background: oklch(0.62 0.22 290 / 0.18);
    border-color: oklch(0.62 0.22 290 / 0.35);
    color: oklch(0.85 0.12 290);
    box-shadow: 0 0 16px -4px var(--accent-glow);
  }
.agentui .side-btn svg { width: 16px; height: 16px; }
.agentui .side-btn[data-badge]::after {
    content: none;
    content-old: attr(data-badge);
    position: absolute;
    top: -2px; right: -2px;
    min-width: 14px; height: 14px;
    padding: 0 4px;
    border-radius: 7px;
    background: var(--accent-2);
    color: white;
    font-size: 9px;
    font-weight: 700;
    display: grid; place-items: center;
    font-family: var(--font-mono);
    border: 2px solid var(--panel);
  }
.agentui .side-divider {
    width: 22px; height: 1px;
    background: oklch(1 0 0 / 0.08);
    margin: 6px 0;
  }
.agentui .side-spacer { flex: 1; }
.agentui .agent-main {
    display: flex;
    flex-direction: column;
    min-height: 0;
    min-width: 0;
    position: relative;
  }
.agentui .view {
    display: none;
    flex: 1;
    flex-direction: column;
    min-height: 0;
    padding: 20px 22px 0;
  }
.agentui .view.is-active { display: flex; animation: agentui-viewIn 0.32s ease; }
@keyframes agentui-viewIn {
    from { opacity: 0; transform: translateY(6px); }
    to { opacity: 1; transform: translateY(0); }
  }
.agentui .view-h {
    display: flex; align-items: center; justify-content: space-between;
    gap: 12px;
    margin-bottom: 14px;
  }
.agentui .view-eyebrow {
    font-size: 10px;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: oklch(0.55 0.01 275);
    font-weight: 600;
  }
.agentui .view-actions {
    display: inline-flex; gap: 6px;
  }
.agentui .view-actions .pill {
    padding: 4px 9px;
    background: oklch(1 0 0 / 0.05);
    border: 1px solid oklch(1 0 0 / 0.08);
    border-radius: 999px;
    font-size: 10.5px;
    color: oklch(0.78 0 0);
    font-family: var(--font-mono);
  }
.agentui .chat-scroll {
    flex: 1;
    overflow-y: auto;
    overflow-x: hidden;
    display: flex;
    flex-direction: column;
    gap: 14px;
    min-height: 0;
    padding-right: 6px;
    margin-right: -6px;
    scroll-behavior: smooth;
    scrollbar-width: thin;
    scrollbar-color: oklch(1 0 0 / 0.12) transparent;
  }
.agentui .chat-scroll::-webkit-scrollbar { width: 6px; }
.agentui .chat-scroll::-webkit-scrollbar-track { background: transparent; }
.agentui .chat-scroll::-webkit-scrollbar-thumb {
    background: oklch(1 0 0 / 0.10);
    border-radius: 3px;
  }
.agentui .chat-scroll::-webkit-scrollbar-thumb:hover { background: oklch(1 0 0 / 0.18); }
.agentui .qbubble {
    align-self: end;
    max-width: 78%;
    padding: 11px 15px;
    background: linear-gradient(135deg, oklch(0.62 0.22 290 / 0.85), oklch(0.55 0.20 285 / 0.85));
    border: 1px solid oklch(0.72 0.20 290 / 0.45);
    border-radius: 14px 14px 4px 14px;
    font-size: 13.5px;
    color: #fff;
    line-height: 1.4;
    box-shadow: 0 8px 20px -10px oklch(0.62 0.22 290 / 0.45);
    position: relative;
  }
.agentui .qbubble::before {
    content: 'You';
    position: absolute;
    top: -9px; right: 10px;
    font-size: 9px; font-weight: 700;
    letter-spacing: 0.18em; text-transform: uppercase;
    color: oklch(0.78 0.14 290);
    background: var(--panel);
    padding: 0 6px;
  }
.agentui .thinking {
    display: inline-flex; align-items: center; gap: 8px;
    padding: 7px 12px 7px 8px;
    background: oklch(0.62 0.22 290 / 0.10);
    border: 1px solid oklch(0.62 0.22 290 / 0.20);
    border-radius: 12px;
    font-size: 11.5px;
    color: oklch(0.85 0.06 290);
    width: max-content;
  }
.agentui .thinking-mark {
    width: 16px; height: 16px;
    border-radius: 5px;
    background: linear-gradient(135deg, var(--accent), var(--accent-2));
    display: grid; place-items: center;
    font-size: 9px;
    color: white;
  }
.agentui .src-logos { display: inline-flex; align-items: center; margin-left: 4px; }
.agentui .src-logos > div {
    width: 18px; height: 18px;
    border-radius: 50%;
    display: grid; place-items: center;
    border: 1.5px solid var(--panel);
    margin-left: -5px;
  }
.agentui .src-logos > div:first-child { margin-left: 0; }
.agentui .src-logos .more {
    background: oklch(1 0 0 / 0.10);
    color: oklch(0.85 0 0);
    font-size: 9px;
    font-weight: 600;
    font-family: var(--font-mono);
  }
.agentui .think-dots {
    display: inline-flex; gap: 3px; margin-left: 6px;
  }
.agentui .think-dots span {
    width: 4px; height: 4px; border-radius: 50%;
    background: var(--accent-2);
    animation: agentui-bob 1.2s ease-in-out infinite;
  }
.agentui .think-dots span:nth-child(2) { animation-delay: 0.15s; }
.agentui .think-dots span:nth-child(3) { animation-delay: 0.3s; }
@keyframes agentui-bob {
    0%, 80%, 100% { opacity: 0.35; transform: translateY(0); }
    40% { opacity: 1; transform: translateY(-2px); }
  }
.agentui .answer {
    position: relative;
    background: linear-gradient(180deg, oklch(0.22 0.025 275 / 0.85), oklch(0.16 0.020 275 / 0.85));
    border: 1px solid oklch(1 0 0 / 0.12);
    border-radius: 14px;
    padding: 20px 18px 16px;
    display: grid;
    gap: 14px;
    align-self: stretch;
    box-shadow: 0 12px 30px -16px rgba(0,0,0,0.6), inset 0 1px 0 oklch(1 0 0 / 0.06);
  }
.agentui .answer::before { content: none; }
.agentui .ans-head {
    display: flex; align-items: baseline; justify-content: space-between;
    gap: 12px;
  }
.agentui .ans-label {
    font-size: 10.5px;
    color: oklch(0.65 0.02 275);
    letter-spacing: 0.14em;
    text-transform: uppercase;
    font-weight: 600;
  }
.agentui .ans-metric {
    display: flex; align-items: baseline; gap: 14px;
  }
.agentui .ans-metric .num {
    font-family: var(--font-display);
    font-size: 46px;
    font-weight: 600;
    letter-spacing: -0.04em;
    line-height: 1;
    color: oklch(0.98 0 0);
  }
.agentui .ans-metric .num span { color: oklch(0.65 0.02 275); font-size: 30px; margin-left: 1px; }
.agentui .ans-delta {
    display: inline-flex; align-items: center; gap: 4px;
    padding: 4px 9px;
    background: oklch(0.62 0.14 155 / 0.18);
    color: oklch(0.85 0.14 155);
    border-radius: 999px;
    font-size: 12px;
    font-weight: 600;
  }
.agentui .spark {
    width: 100%;
    height: 110px;
    display: block;
  }
.agentui .spark-axis {
    display: flex; justify-content: space-between;
    font-size: 10px; color: oklch(0.55 0.01 275);
    font-family: var(--font-mono);
    letter-spacing: 0.05em;
    text-transform: uppercase;
    margin-top: 2px;
  }
.agentui .insight {
    display: flex; align-items: flex-start; gap: 10px;
    padding: 12px 14px;
    background: linear-gradient(135deg, oklch(0.62 0.22 290 / 0.18), oklch(0.62 0.22 290 / 0.06));
    border: 1px solid oklch(0.62 0.22 290 / 0.22);
    border-radius: 12px;
    font-size: 12.5px;
    line-height: 1.45;
    color: oklch(0.92 0.02 285);
  }
.agentui .insight b { color: oklch(0.98 0 0); font-weight: 600; }
.agentui .insight-icon {
    flex-shrink: 0;
    width: 22px; height: 22px;
    border-radius: 7px;
    background: linear-gradient(135deg, var(--accent), var(--accent-2));
    display: grid; place-items: center;
    color: white;
    font-size: 11px;
    margin-top: 1px;
  }
.agentui .chips {
    display: flex; flex-wrap: wrap; gap: 6px;
    margin: 8px 0 10px;
    position: relative;
    padding-top: 16px;
  }
.agentui .chips::before {
    content: 'Suggested';
    position: absolute;
    top: 0; left: 2px;
    font-size: 9px; font-weight: 700;
    letter-spacing: 0.18em; text-transform: uppercase;
    color: oklch(0.55 0.01 275);
  }
.agentui .chip {
    padding: 7px 12px;
    white-space: nowrap;
    background: oklch(1 0 0 / 0.05);
    border: 1px solid oklch(1 0 0 / 0.14);
    border-radius: 999px;
    color: oklch(0.88 0 0);
    font-size: 11.5px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.15s ease;
    font-family: inherit;
  }
.agentui .chip:hover {
    background: oklch(0.62 0.22 290 / 0.18);
    border-color: oklch(0.62 0.22 290 / 0.45);
    color: #fff;
    transform: translateY(-1px);
  }
.agentui .chips-followup {
    margin-top: 14px;
    margin-bottom: 4px;
  }
.agentui .chips-followup::before { content: 'Follow up'; }
.agentui .composer {
    margin: 6px -22px 0;
    padding: 12px 22px 14px;
    border-top: 1px solid oklch(1 0 0 / 0.08);
    display: flex; align-items: center; gap: 8px;
    background: transparent;
  }
.agentui .composer-field {
    flex: 1; min-width: 0;
    display: flex; align-items: center; gap: 8px;
    padding: 6px 6px 6px 14px;
    background: transparent;
    border: 1px solid oklch(1 0 0 / 0.12);
    border-radius: 12px;
    box-shadow: inset 0 1px 0 oklch(1 0 0 / 0.03);
    transition: border-color 0.15s, box-shadow 0.15s;
  }
.agentui .composer-field:focus-within {
    border-color: oklch(0.62 0.22 290 / 0.5);
    box-shadow: inset 0 1px 0 oklch(1 0 0 / 0.04), 0 0 0 3px oklch(0.62 0.22 290 / 0.10);
  }
.agentui .composer-icon {
    flex-shrink: 0;
    color: oklch(0.65 0.02 275);
    display: grid; place-items: center;
  }
.agentui .composer input {
    flex: 1; min-width: 0;
    background: transparent;
    border: none; outline: none;
    color: oklch(0.92 0 0);
    font-family: inherit;
    font-size: 13px;
    padding: 6px 4px;
  }
.agentui .composer input::placeholder { color: oklch(0.55 0.01 275); }
.agentui .composer .kbdhint {
    font-size: 10.5px;
    color: oklch(0.55 0.01 275);
    font-family: var(--font-mono);
  }
.agentui .composer .kbd {
    padding: 2px 6px;
    background: oklch(1 0 0 / 0.06);
    border: 1px solid oklch(1 0 0 / 0.08);
    border-radius: 4px;
    color: oklch(0.78 0 0);
  }
.agentui .send {
    width: 30px; height: 30px;
    flex-shrink: 0;
    border-radius: 8px;
    background: linear-gradient(135deg, var(--accent), var(--accent-2));
    border: none;
    color: white;
    display: grid; place-items: center;
    cursor: pointer;
    box-shadow: 0 4px 12px -4px var(--accent-glow);
    transition: transform 0.15s;
  }
.agentui .send:hover { transform: translateY(-1px); }
.agentui .dash-grid {
    flex: 1;
    display: grid;
    grid-template-columns: 1fr 1fr;
    grid-template-rows: auto auto 1fr auto;   
    gap: 10px;
    min-height: 0;
  }
.agentui .dash-insight {
    grid-column: 1 / -1;
    display: flex; align-items: center; gap: 10px;
    padding: 10px 14px;
    background: linear-gradient(135deg, oklch(0.30 0.10 285 / 0.35), oklch(0.25 0.06 230 / 0.20));
    border: 1px solid oklch(0.62 0.22 290 / 0.30);
    border-radius: 10px;
    font-size: 12px;
    color: oklch(0.95 0.02 285);
  }
.agentui .dash-insight .ai-dot {
    flex: 0 0 18px; width: 18px; height: 18px;
    border-radius: 50%;
    background: radial-gradient(circle at 30% 30%, oklch(0.78 0.18 290), oklch(0.48 0.20 285));
    box-shadow: 0 0 12px oklch(0.62 0.22 290 / 0.55);
  }
.agentui .dash-insight .ai-cta {
    margin-left: auto;
    padding: 4px 10px;
    background: oklch(1 0 0 / 0.08);
    border: 1px solid oklch(1 0 0 / 0.15);
    border-radius: 999px;
    font-size: 11px;
    color: oklch(0.96 0 0);
    cursor: pointer;
  }
.agentui .kpi {
    background: oklch(1 0 0 / 0.03);
    border: 1px solid oklch(1 0 0 / 0.06);
    border-radius: 12px;
    padding: 12px 14px;
    display: grid; gap: 4px;
    position: relative;
    overflow: hidden;
  }
.agentui .kpi .k-label { font-size: 10px; color: oklch(0.55 0.01 275); letter-spacing: 0.14em; text-transform: uppercase; font-weight: 600; }
.agentui .kpi .k-val { font-family: var(--font-display); font-size: 24px; font-weight: 600; letter-spacing: -0.03em; color: oklch(0.98 0 0); line-height: 1.1; }
.agentui .kpi .k-delta { font-size: 11px; color: oklch(0.78 0.14 155); font-weight: 600; display: inline-flex; align-items: center; gap: 4px; }
.agentui .kpi .k-delta.neg { color: oklch(0.72 0.16 30); }
.agentui .kpi .k-trend {
    position: absolute;
    right: 10px; bottom: 10px;
    width: 60px; height: 22px;
    opacity: 0.85;
  }
.agentui .dash-chart {
    grid-column: 1 / -1;
    background: oklch(1 0 0 / 0.03);
    border: 1px solid oklch(1 0 0 / 0.06);
    border-radius: 12px;
    padding: 14px 16px;
    display: flex; flex-direction: column; gap: 10px;
    min-height: 0;
  }
.agentui .dash-chart .row {
    display: grid;
    grid-template-columns: 14px 88px 1fr 64px;
    align-items: center; gap: 10px;
    font-size: 11.5px;
  }
.agentui .dash-chart .row .dot { width: 8px; height: 8px; border-radius: 2px; }
.agentui .dash-chart .row .bar {
    height: 6px; border-radius: 3px;
    background: oklch(1 0 0 / 0.06);
    overflow: hidden;
    position: relative;
  }
.agentui .dash-chart .row .bar > span {
    display: block; height: 100%;
    border-radius: 3px;
  }
.agentui .dash-chart .row .name { color: oklch(0.88 0 0); font-weight: 500; }
.agentui .dash-chart .row .val { text-align: right; color: oklch(0.98 0 0); font-family: var(--font-mono); font-weight: 600; }
.agentui .exp-list { display: flex; flex-direction: column; gap: 8px; flex: 1; min-height: 0; overflow: hidden; }
.agentui .exp-row {
    display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 12px;
    padding: 11px 14px;
    background: oklch(1 0 0 / 0.03);
    border: 1px solid oklch(1 0 0 / 0.06);
    border-radius: 10px;
    transition: background 0.15s;
  }
.agentui .exp-row:hover { background: oklch(1 0 0 / 0.05); }
.agentui .exp-status { width: 8px; height: 8px; border-radius: 50%; }
.agentui .exp-status.run { background: oklch(0.78 0.14 155); box-shadow: 0 0 0 3px oklch(0.78 0.14 155 / 0.18); animation: agentui-blink2 1.6s infinite; }
.agentui .exp-status.win { background: var(--accent-2); box-shadow: 0 0 0 3px oklch(0.62 0.22 290 / 0.18); }
.agentui .exp-status.pause { background: oklch(0.78 0.14 75); }
.agentui .exp-name { font-size: 12.5px; color: oklch(0.94 0 0); font-weight: 500; }
.agentui .exp-meta { font-size: 10.5px; color: oklch(0.55 0.01 275); margin-top: 3px; display: flex; align-items: center; gap: 8px; }
.agentui .exp-progress { width: 80px; height: 3px; border-radius: 2px; background: oklch(1 0 0 / 0.08); overflow: hidden; }
.agentui .exp-progress > span { display: block; height: 100%; background: oklch(0.78 0.14 155); border-radius: 2px; }
.agentui .exp-val { font-family: var(--font-display); font-size: 16px; color: oklch(0.98 0 0); font-weight: 600; letter-spacing: -0.02em; text-align: right; }
.agentui .exp-val small { color: oklch(0.55 0.01 275); font-size: 10px; font-weight: 500; display: block; text-align: right; margin-top: 1px; text-transform: none; letter-spacing: 0; font-family: inherit; }
.agentui .exp-val.win { color: oklch(0.85 0.18 155); }
.agentui .cr-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; flex: 1; min-height: 0; }
.agentui .cr-tile {
    background: oklch(1 0 0 / 0.03);
    border: 1px solid oklch(1 0 0 / 0.06);
    border-radius: 12px;
    padding: 8px;
    display: flex; flex-direction: column; gap: 6px;
    transition: transform 0.15s, border-color 0.15s;
  }
.agentui .cr-tile:hover { transform: translateY(-2px); border-color: oklch(1 0 0 / 0.12); }
.agentui .cr-thumb {
    aspect-ratio: 4/3;
    border-radius: 8px;
    background: var(--thumb, linear-gradient(135deg, oklch(0.45 0.18 290), oklch(0.55 0.20 230)));
    position: relative;
    overflow: hidden;
    display: grid; place-items: center;
  }
.agentui .cr-thumb::after {
    content: ''; position: absolute; inset: 0;
    background: linear-gradient(180deg, transparent 55%, oklch(0 0 0 / 0.45));
  }
.agentui .cr-thumb .cr-format {
    position: relative; z-index: 2;
    width: 22px; height: 22px;
    border-radius: 50%;
    background: oklch(1 0 0 / 0.18);
    backdrop-filter: blur(4px);
    border: 1px solid oklch(1 0 0 / 0.30);
    display: grid; place-items: center;
    color: white;
    opacity: 0.85;
  }
.agentui .cr-score {
    position: absolute; top: 6px; right: 6px;
    padding: 2px 7px;
    background: oklch(0 0 0 / 0.55);
    backdrop-filter: blur(4px);
    color: white;
    font-size: 10px;
    font-family: var(--font-mono);
    font-weight: 700;
    border-radius: 999px;
    z-index: 3;
    letter-spacing: 0.02em;
  }
.agentui .cr-info { padding: 2px 4px 4px; display: grid; gap: 3px; }
.agentui .cr-name { font-size: 11.5px; color: oklch(0.92 0 0); font-weight: 500; letter-spacing: -0.01em; }
.agentui .cr-meta { font-size: 10px; color: oklch(0.55 0.01 275); font-family: var(--font-mono); display: flex; gap: 6px; }
.agentui .cr-meta .pos { color: oklch(0.78 0.14 155); }
.agentui .cr-meta .neg { color: oklch(0.72 0.16 30); }
.agentui .gov-list { display: flex; flex-direction: column; gap: 8px; flex: 1; min-height: 0; }
.agentui .gov-row {
    display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 12px;
    padding: 11px 14px;
    background: oklch(1 0 0 / 0.03);
    border: 1px solid oklch(1 0 0 / 0.06);
    border-radius: 10px;
    transition: background 0.15s;
  }
.agentui .gov-row:hover { background: oklch(1 0 0 / 0.05); }
.agentui .gov-row.crit { border-color: oklch(0.62 0.20 25 / 0.30); background: oklch(0.62 0.20 25 / 0.04); }
.agentui .gov-icon {
    width: 28px; height: 28px;
    border-radius: 8px;
    display: grid; place-items: center;
    color: white;
    flex-shrink: 0;
  }
.agentui .gov-icon svg { width: 14px; height: 14px; }
.agentui .gov-icon.ok { background: oklch(0.55 0.14 155 / 0.18); color: oklch(0.82 0.14 155); border: 1px solid oklch(0.55 0.14 155 / 0.30); }
.agentui .gov-icon.warn { background: oklch(0.72 0.16 75 / 0.18); color: oklch(0.85 0.16 75); border: 1px solid oklch(0.72 0.16 75 / 0.30); }
.agentui .gov-icon.crit { background: oklch(0.62 0.20 25 / 0.18); color: oklch(0.82 0.18 25); border: 1px solid oklch(0.62 0.20 25 / 0.35); }
.agentui .gov-name { font-size: 12.5px; color: oklch(0.94 0 0); font-weight: 500; letter-spacing: -0.005em; }
.agentui .gov-sub { font-size: 10.5px; color: oklch(0.55 0.01 275); margin-top: 3px; }
.agentui .gov-val { font-size: 11.5px; color: oklch(0.92 0 0); font-family: var(--font-mono); font-weight: 600; }
.agentui .gov-val.pos { color: oklch(0.85 0.14 155); }
.agentui .gov-val.neg { color: oklch(0.82 0.16 30); }
/* governance footer — audit-log summary + compliance standards (from the audit-log reference) */
.agentui .gov-foot { flex-shrink: 0; margin-top: 11px; padding-top: 12px; border-top: 1px solid oklch(1 0 0 / 0.07);
  display: flex; flex-direction: column; gap: 10px; }
.agentui .gov-foot-audit { display: flex; align-items: center; gap: 8px; font-size: 11px; color: oklch(0.66 0.008 275); }
.agentui .gov-foot-audit svg { width: 13px; height: 13px; flex-shrink: 0; color: oklch(0.82 0.14 155); }
.agentui .gov-foot-audit b { color: oklch(0.95 0 0); font-weight: 700; }
.agentui .gov-foot-comp { display: flex; align-items: center; gap: 9px; flex-wrap: wrap; }
.agentui .gov-foot-lab { flex-shrink: 0; font-size: 9px; letter-spacing: 0.12em; text-transform: uppercase;
  font-weight: 700; color: oklch(0.55 0.01 275); }
.agentui .gov-foot-chips { display: flex; flex-wrap: wrap; gap: 5px; }
.agentui .gov-foot-chips span { font-size: 10px; font-weight: 600; letter-spacing: -0.01em; color: oklch(0.8 0.008 275);
  background: oklch(1 0 0 / 0.05); border: 1px solid oklch(1 0 0 / 0.09); border-radius: 6px; padding: 3px 7px; }
/* governance — live audit log (dark panel in BOTH themes via var(--ink); text via vars so the light-gen leaves it) */
.agentui .gov-log { flex-shrink: 0; margin-top: 10px; background: var(--ink); border: 1px solid oklch(1 0 0 / 0.09);
  border-radius: 12px; padding: 10px 13px; box-shadow: 0 10px 24px -14px oklch(0.18 0.014 275 / 0.55); }
.agentui .gov-log-h { display: flex; align-items: center; justify-content: space-between; margin-bottom: 9px;
  font-size: 8.5px; letter-spacing: 0.13em; text-transform: uppercase; font-weight: 700; }
.agentui .gov-log-h .ttl { color: var(--card); opacity: 0.55; }
.agentui .gov-log-live { display: inline-flex; align-items: center; gap: 5px; color: var(--card); opacity: 0.55; letter-spacing: 0.06em; }
.agentui .gov-log-live::before { content: ""; width: 5px; height: 5px; border-radius: 50%; background: oklch(0.78 0.16 155);
  box-shadow: 0 0 0 3px oklch(0.78 0.16 155 / 0.20); animation: agentui-blink2 1.6s ease-in-out infinite; }
.agentui .gov-log-rows { display: flex; flex-direction: column; gap: 7px; }
.agentui .gov-log-row { display: flex; align-items: center; gap: 11px; font-size: 11.5px; }
.agentui .gov-log-t { font-family: var(--font-mono); font-size: 10px; color: var(--card); opacity: 0.4; flex-shrink: 0; }
.agentui .gov-log-who { color: var(--card); font-weight: 600; letter-spacing: -0.01em; flex: 1 1 auto; min-width: 0; }
.agentui .gov-log-act { font-family: var(--font-mono); font-size: 10px; font-weight: 600; flex-shrink: 0; }
.agentui .gov-log-act.read { color: var(--card); opacity: 0.42; }
.agentui .gov-log-act.write { color: var(--accent-2); }
.agentui .gov-log-act.blocked { color: var(--card); background: oklch(0.58 0.21 22 / 0.92); border-radius: 5px; padding: 1px 7px; }
.agentui .gov-toggle {
    width: 32px; height: 18px;
    border-radius: 999px;
    background: oklch(0.55 0.14 155 / 0.35);
    position: relative;
    border: 1px solid oklch(0.55 0.14 155 / 0.45);
  }
.agentui .gov-toggle::after {
    content: '';
    position: absolute; top: 1px; right: 1px;
    width: 14px; height: 14px;
    border-radius: 50%;
    background: oklch(0.85 0.14 155);
    box-shadow: 0 1px 3px oklch(0 0 0 / 0.3);
  }
.agentui .float {
    position: absolute;
    background: var(--card);
    border: 1px solid var(--line);
    border-radius: var(--r);
    padding: 14px 16px;
    box-shadow:
      0 1px 0 oklch(1 0 0 / 0.9) inset,
      0 28px 60px -22px oklch(0.18 0.014 275 / 0.34),
      0 8px 20px -8px oklch(0.18 0.014 275 / 0.14);
    backdrop-filter: blur(8px);
  }
.agentui .float-sources {
    top: -10px; left: -16px;
    width: 220px;
    display: grid;
    gap: 10px;
    z-index: 5;
  }
.agentui .float-sources .label {
    font-size: 10.5px;
    color: var(--ink-3);
    letter-spacing: 0.14em;
    text-transform: uppercase;
    font-weight: 600;
  }
.agentui .float-sources .row {
    display: inline-flex;
    align-items: center;
  }
.agentui .src-logos-light > div {
    width: 26px; height: 26px;
    border-radius: 50%;
    display: grid; place-items: center;
    border: 2px solid var(--card);
    margin-left: -7px;
    box-shadow: 0 2px 6px -2px oklch(0 0 0 / 0.15);
  }
.agentui .src-logos-light > div:first-child { margin-left: 0; }
.agentui .src-logos-light { display: inline-flex; align-items: center; }
.agentui .src-logos-light .more {
    background: var(--accent-soft);
    color: var(--accent-deep);
    font-size: 10px;
    font-weight: 700;
    font-family: var(--font-mono);
  }
.agentui .float-sources .count {
    display: flex; align-items: baseline; gap: 6px;
  }
.agentui .float-sources .count .n {
    font-family: var(--font-display);
    font-size: 22px;
    font-weight: 600;
    letter-spacing: -0.03em;
    color: var(--ink);
  }
.agentui .float-sources .count .l {
    font-size: 12px;
    color: var(--ink-3);
  }
@keyframes agentui-floaty {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-6px); }
  }
.agentui .ticker {
    display: flex; align-items: center;
    gap: 24px;
    margin-top: 12px;
    padding: 14px 0 0;
  }
.agentui .ticker-label {
    font-size: 11px;
    color: var(--ink-3);
    letter-spacing: 0.16em;
    text-transform: uppercase;
    font-weight: 600;
    white-space: nowrap;
  }
.agentui .ticker-rail {
    overflow: hidden;
    flex: 1; min-width: 0;
    mask-image: linear-gradient(90deg, transparent, black 8%, black 92%, transparent);
  }
.agentui .ticker-track {
    display: inline-flex;
    gap: 36px;
    animation: agentui-tick 24s linear infinite;
    white-space: nowrap;
  }
@keyframes agentui-tick {
    to { transform: translateX(-50%); }
  }
.agentui .ticker-item {
    display: inline-flex; align-items: center; gap: 8px;
    font-size: 13px;
    color: var(--ink-2);
  }
.agentui .ticker-item .mono {
    color: var(--ink);
    font-weight: 600;
    font-size: 13px;
  }
.agentui .ticker-item .dot {
    width: 5px; height: 5px;
    border-radius: 50%;
    background: var(--accent);
  }
.agentui .ticker-item .ok { color: oklch(0.55 0.14 155); }
.agentui .brand-logo { display: block; height: 26px; width: auto; }
.agentui .marquee {
    margin-top: 56px;
    padding: 36px 0 24px;
    border-top: 1px solid var(--line);
    position: relative;
  }
.agentui .marquee-h {
    font-size: 11px;
    color: var(--ink-3);
    letter-spacing: 0.18em;
    text-transform: uppercase;
    font-weight: 600;
    text-align: center;
    margin-bottom: 28px;
  }
.agentui .marquee-rail {
    overflow: hidden;
    mask-image: linear-gradient(90deg, transparent, black 8%, black 92%, transparent);
  }
.agentui .marquee-track {
    display: inline-flex;
    gap: 72px;
    align-items: center;
    animation: agentui-tick 38s linear infinite;
    white-space: nowrap;
    padding: 0 36px;
  }
.agentui .marquee-rail:hover .marquee-track { animation-play-state: paused; }
@keyframes agentui-tick { to { transform: translateX(-25%); } }
.agentui .logo-wm {
    display: block;
    height: 38px;
    width: auto;
    object-fit: contain;
    filter: brightness(0);
    opacity: 0.62;
    transition: opacity 0.2s;
    flex-shrink: 0;
  }
.agentui .logo-wm:hover { opacity: 0.9; }
.agentui .marquee-track img.logo-wm[alt="Activision"] { height: 22px; }
@media (max-width: 1120px) {
.agentui .hero { grid-template-columns: 1fr; gap: 60px; }
.agentui .hero-right { height: clamp(420px, 60vh, 560px); }
.agentui .nav { grid-template-columns: 1fr auto; }
.agentui .nav-menu { display: none; }
}
@media (max-width: 768px) {
.agentui .hero { padding: 40px 0 28px; gap: 40px; }
.agentui .hero-left { padding-right: 0; }
.agentui h1 { font-size: clamp(36px, 7vw, 52px); }
.agentui .lede { font-size: 17px; }
}
@media (max-width: 640px) {
.agentui .page { padding: 16px 18px 0; }
.agentui .hero { padding: 32px 0; }
.agentui h1 { font-size: clamp(30px, 9vw, 44px); line-height: 1.15; letter-spacing: -0.025em; overflow-wrap: anywhere; }
.agentui .hero-right { height: auto; aspect-ratio: 4 / 5; min-height: 360px; max-height: 60vh; }
.agentui .float-sources { width: 180px; }
.agentui .marquee-track { gap: 40px; padding: 0 18px; }
.agentui .logo-wm { height: 30px; }
.agentui .marquee { margin-top: 36px; padding: 24px 0 16px; }
.agentui .marquee-h { font-size: 10px; margin-bottom: 18px; letter-spacing: 0.14em; }
}
@media (max-width: 480px) {
.agentui .page { padding: 12px 14px 0; }
.agentui .hero-right { aspect-ratio: 3 / 4; min-height: 320px; max-height: 56vh; padding-top: 8px; }
.agentui .float-sources { width: 160px; top: -6px; left: -8px; padding: 10px 12px; }
.agentui .float-sources .label { font-size: 9.5px; }
.agentui .float-sources .count .n { font-size: 18px; }
.agentui .form-wrap { max-width: 100%; }
.agentui .form {
      flex-direction: column;
      align-items: stretch;
      gap: 8px;
      padding: 8px;
      border-radius: 12px;
    }
.agentui .form input { padding: 14px 16px; font-size: 16px; }
.agentui .form-btn {
      width: 100%;
      justify-content: center;
      padding: 14px 20px;
      font-size: 15px;
      min-height: 48px;
    }
}
.agentui * { box-sizing: border-box; }
.agentui .form-wrap { margin: 0 0 28px 0; max-width: 460px; }
.agentui .lede { max-width: 460px; }
.agentui .warm-marquee-wrap.agentui {
    padding: 0 0 24px 0;
  }
.agentui .proof-strip {
    display: grid;
    grid-template-columns: auto auto minmax(280px, 1.6fr) auto auto auto auto;
    align-items: stretch;
    border-top: 1px solid var(--line);
    border-bottom: 1px solid var(--line);
    background: oklch(1 0 0 / 0.4);
    max-width: 1200px;
    margin: 0 auto;
  }
.agentui .proof-cell {
    padding: 12px 22px;
    border-right: 1px solid var(--line);
    min-height: 76px;
    display: grid;
    place-items: center;
  }
.agentui .proof-cell:last-child { border-right: none; }
.agentui .proof-label {
    padding: 12px 18px;
    justify-items: start;
  }
.agentui .proof-label span {
    font-size: 11px;
    line-height: 1.3;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--ink-3);
    font-weight: 600;
  }
.agentui .proof-logo { min-width: 110px; padding: 12px 22px; }
.agentui .proof-logo .logo-wm { height: 38px; transition: opacity 0.2s, transform 0.2s; }
.agentui .proof-logo:hover .logo-wm { opacity: 0.92; transform: translateY(-1px); }
.agentui .proof-logo img.logo-wm[alt="Activision"] { height: 24px; }
.agentui .proof-testimonials {
    position: relative;
    padding: 0;                  
    min-height: 76px;
    overflow: hidden;
  }
.agentui .proof-testimonial {
    position: absolute; inset: 0;
    display: grid;
    grid-template-columns: 44px 1fr;
    gap: 12px;
    align-items: center;
    justify-items: start;
    text-align: left;
    margin: 0;
    padding: 10px 22px;
    opacity: 0;
    transform: translateY(4px);
    transition: opacity 600ms cubic-bezier(0.22, 0.61, 0.36, 1),
                transform 600ms cubic-bezier(0.22, 0.61, 0.36, 1);
    pointer-events: none;
  }
.agentui .proof-testimonial.is-active {
    opacity: 1;
    transform: translateY(0);
    pointer-events: auto;
  }
.agentui .proof-testimonial .quote-avatar {
    width: 44px; height: 44px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid oklch(1 0 0 / 0.95);
    box-shadow: 0 2px 6px oklch(0 0 0 / 0.08), 0 0 0 1px var(--line);
    background: var(--card);
  }
.agentui .quote-avatar-initials {
    display: grid;
    place-items: center;
    font-family: var(--font-display);
    font-size: 14px;
    font-weight: 600;
    letter-spacing: -0.01em;
    color: oklch(0.30 0.08 285);
    background: linear-gradient(135deg, oklch(0.93 0.05 285), oklch(0.96 0.03 250));
  }
.agentui .proof-quote-body { min-width: 0; }
.agentui .proof-quote-body .quote-text {
    margin: 0;
    font-size: 13.5px;
    line-height: 1.4;
    color: var(--ink);
    font-weight: 400;
    letter-spacing: -0.003em;
  }
.agentui .proof-quote-body .quote-text strong {
    font-weight: 600;
    color: var(--ink);
    background: linear-gradient(120deg, oklch(0.95 0.08 285), oklch(0.94 0.06 250));
    padding: 0 4px;
    border-radius: 4px;
  }
.agentui .proof-quote-body .quote-cite {
    margin: 2px 0 0;
    font-size: 11.5px;
    color: var(--ink-3);
    letter-spacing: 0.005em;
  }
.agentui .proof-quote-body .quote-cite strong { color: var(--ink); font-weight: 600; }
@media (prefers-reduced-motion: reduce) {
.agentui .proof-testimonial { transition: none; transform: none; }
}
@media (max-width: 1100px) {
.agentui .proof-strip {
      grid-template-columns: 1fr 1fr 1fr;
    }
.agentui .proof-label { grid-column: 1 / -1; justify-items: center; border-right: none; border-bottom: 1px solid var(--line); }
.agentui .proof-label span { text-align: center; }
.agentui .proof-testimonial { grid-column: 1 / -1; border-bottom: 1px solid var(--line); }
.agentui .proof-logo { border-right: 1px solid var(--line); }
.agentui .proof-logo:nth-child(3n + 2) { border-right: 1px solid var(--line); }
}
@media (max-width: 640px) {
.agentui .proof-strip { grid-template-columns: 1fr 1fr; }
.agentui .proof-testimonial { grid-template-columns: 40px 1fr; }
}
.agentui :has(#warm-hero) .hp-logo-strip { display: none !important; }
.agentui .hp-header.scrolled {
    background: rgba(252, 251, 247, 0.88);
    border-bottom: 1px solid oklch(0.92 0.006 275 / 0.6);
    box-shadow: 0 8px 24px -16px oklch(0 0 0 / 0.08);
  }
.agentui .hp-logo svg > path:nth-of-type(n+3) { fill: oklch(0.18 0.014 275); }
.agentui .hp-logo svg { opacity: 1; filter: none; }
.agentui .hp-header-link, .agentui .hp-nav-trigger { color: oklch(0.32 0.012 275); }
.agentui .hp-header-link:hover, .agentui .hp-nav-trigger:hover { color: oklch(0.18 0.014 275); background: oklch(0 0 0 / 0.04); }
.agentui .hp-header-login { color: oklch(0.50 0.010 275); }
.agentui .hp-header-login:hover { color: oklch(0.18 0.014 275); background: oklch(0 0 0 / 0.04); }
.agentui .hp-nav-dropdown {
    background: rgba(255, 255, 255, 0.97);
    border: 1px solid oklch(0.92 0.006 275);
    box-shadow: 0 24px 48px -12px oklch(0 0 0 / 0.18), 0 0 0 1px oklch(0 0 0 / 0.02);
  }
.agentui .hp-nav-dropdown--wide .hp-nav-dropdown-col + .hp-nav-dropdown-col {
    border-left: 1px solid oklch(0.92 0.006 275);
  }
.agentui .hp-nav-dropdown-heading { color: oklch(0.50 0.010 275); }
.agentui .hp-nav-dropdown-heading::before { background: oklch(0.58 0.20 285); }
.agentui .hp-nav-dropdown-link:hover { background: oklch(0 0 0 / 0.04); }
.agentui .hp-nav-dropdown-title { color: oklch(0.18 0.014 275); }
.agentui .hp-nav-dropdown-link:hover .hp-nav-dropdown-title { color: oklch(0.18 0.014 275); }
.agentui .hp-nav-dropdown-desc { color: oklch(0.50 0.010 275); }
.agentui .hp-nav-hamburger { color: oklch(0.18 0.014 275); }
.agentui .hero-right { position: relative; }
.agentui .demo-cursor, .agentui .demo-ripple, .agentui .demo-caption {
    position: absolute; top: 0; left: 0;
    pointer-events: none;
    z-index: 40;
    opacity: 0;
    will-change: transform, opacity;
  }
.agentui .demo-cursor {
    width: 56px; height: 56px;
    filter: drop-shadow(0 6px 18px rgba(0,0,0,0.35));
    transition: transform 850ms cubic-bezier(0.4, 0.0, 0.2, 1), opacity 250ms ease;
  }
.agentui .demo-caption {
    padding: 6px 12px;
    background: oklch(0.16 0.022 275 / 0.92);
    color: #fff;
    border-radius: 999px;
    font: 500 12px/1.2 var(--font-body);
    white-space: nowrap;
    transition: transform 850ms cubic-bezier(0.4, 0.0, 0.2, 1), opacity 250ms ease;
  }
.agentui .demo-cursor.is-visible, .agentui .demo-caption.is-visible { opacity: 1; }
.agentui .demo-cursor.is-clicking { transition: transform 120ms ease-out; }
.agentui .demo-ripple {
    width: 60px; height: 60px;
    border-radius: 50%;
    background: radial-gradient(circle, oklch(0.62 0.22 290 / 0.40) 0%, transparent 70%);
    transition: opacity 250ms ease;
  }
.agentui .demo-ripple.is-pulse { animation: demo-agentui-pulse 600ms ease-out forwards; }
@keyframes agentui-demo-pulse { 0% { opacity: 0.85; } 100% { opacity: 0; } }
@media (prefers-reduced-motion: reduce),
         (max-width: 900px) {
.agentui .demo-cursor, .agentui .demo-ripple, .agentui .demo-caption { display: none !important; }
}
.agentui .answer-rich {
  display: flex;
  flex-direction: column;
  gap: 14px;
  padding: 16px 16px 14px;
  background: linear-gradient(180deg, oklch(0.22 0.025 275 / 0.85), oklch(0.16 0.020 275 / 0.85));
  border: 1px solid oklch(1 0 0 / 0.12);
  border-radius: 14px;
}
.agentui .answer-rich .answer-title {
  font-size: 10.5px;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  color: oklch(0.62 0.01 275);
  font-weight: 500;
}
.agentui .answer-kpis {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  padding: 10px 0;
  border-bottom: 1px solid oklch(1 0 0 / 0.06);
}
.agentui .answer-kpi {
  display: flex; flex-direction: column; gap: 4px;
}
.agentui .answer-kpi-label {
  font-size: 9.5px;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: oklch(0.55 0.01 275);
}
.agentui .answer-kpi-value {
  font-size: 22px;
  font-weight: 600;
  color: oklch(0.98 0 0);
  line-height: 1;
  font-variant-numeric: tabular-nums;
}
.agentui .answer-kpi-value > span {
  font-size: 14px;
  font-weight: 500;
  color: oklch(0.72 0.01 275);
  margin-left: 1px;
}
.agentui .answer-kpi--accent .answer-kpi-value {
  color: oklch(0.80 0.18 155);
}
.agentui .answer-kpi--accent .answer-kpi-value > span { color: oklch(0.70 0.16 155); }
.agentui .answer-bars {
  display: flex; flex-direction: column; gap: 8px;
}
.agentui .answer-bar {
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  gap: 8px 12px;
  font-size: 12px;
}
.agentui .answer-bar-label {
  color: oklch(0.85 0.01 275);
  display: flex; align-items: center; gap: 8px; flex-wrap: wrap;
}
.agentui .answer-bar-meta {
  font-size: 9px;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: oklch(0.65 0.01 275);
  padding: 2px 6px;
  border-radius: 999px;
  background: oklch(1 0 0 / 0.05);
  border: 1px solid oklch(1 0 0 / 0.08);
}
.agentui .answer-bar-value {
  font-size: 14px;
  font-weight: 600;
  color: oklch(0.98 0 0);
  font-variant-numeric: tabular-nums;
}
.agentui .answer-bar-track {
  grid-column: 1 / -1;
  height: 8px;
  background: oklch(1 0 0 / 0.05);
  border-radius: 4px;
  overflow: hidden;
  border: 1px solid oklch(1 0 0 / 0.04);
}
.agentui .answer-bar-fill {
  height: 100%;
  width: var(--bar-width, 0%);
  border-radius: 4px;
  transition: width 0.9s cubic-bezier(.22,.61,.36,1);
}
.agentui .answer-bar-fill--winner {
  background: linear-gradient(90deg, oklch(0.55 0.16 155), oklch(0.68 0.18 165));
  box-shadow: 0 0 12px -2px oklch(0.62 0.18 155 / 0.45);
}
.agentui .answer-bar-fill--loser {
  background: linear-gradient(90deg, oklch(0.52 0.16 25), oklch(0.60 0.20 35));
}
.agentui .answer-realloc-flow {
  display: flex; justify-content: center; padding: 2px 0;
}
.agentui .answer-realloc-pill {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 5px 12px 5px 14px;
  background: linear-gradient(120deg, oklch(0.62 0.22 290 / 0.22), oklch(0.55 0.18 250 / 0.22));
  border: 1px solid oklch(0.62 0.22 290 / 0.40);
  border-radius: 999px;
  font-size: 11px;
  font-weight: 600;
  color: oklch(0.92 0.10 290);
  letter-spacing: 0.01em;
  box-shadow: 0 4px 12px -4px oklch(0.62 0.22 290 / 0.35);
}
.agentui .answer-realloc-pill-arrow { font-weight: 700; opacity: 0.7; }
.agentui .answer-reco {
  display: flex; gap: 10px;
  padding: 11px 12px;
  background: linear-gradient(180deg, oklch(0.62 0.22 290 / 0.10), oklch(0.55 0.18 250 / 0.08));
  border: 1px solid oklch(0.62 0.22 290 / 0.20);
  border-radius: 10px;
}
.agentui .answer-reco-icon {
  flex: 0 0 auto;
  color: oklch(0.85 0.14 290);
  font-size: 14px; font-weight: 700;
  margin-top: -1px;
}
.agentui .answer-reco-text {
  flex: 1;
  font-size: 12.5px;
  line-height: 1.5;
  color: oklch(0.90 0 0);
}
.agentui .answer-reco-text strong {
  color: oklch(0.98 0 0);
  font-weight: 600;
}
.agentui .answer-uplift {
  color: oklch(0.80 0.18 155);
  font-weight: 600;
  font-variant-numeric: tabular-nums;
}
.agentui .answer-rich {
  animation: agentui-answer-rich-in 420ms cubic-bezier(.22,.61,.36,1) both;
}
@keyframes agentui-answer-rich-in {
  0%   { opacity: 0; transform: translateY(8px); }
  100% { opacity: 1; transform: translateY(0); }
}
@media (prefers-reduced-motion: reduce) {
.agentui .answer-rich { animation: none; }
.agentui .answer-bar-fill { transition: none; }
}
@media (max-width: 768px) {
.agentui .hero { display: flex; flex-direction: column; gap: 22px; padding: 22px 0 18px; }
.agentui .hero-left { display: contents; }
.agentui .hpr-h1 { order: 1; margin: 0 !important; padding-right: 0; }
.agentui .hero-left .hpr-sub, .agentui .hero-left .lede { order: 2; margin: 0 !important; max-width: none; }
.agentui .hero-right { order: 3; }
.agentui .hero-left .form-wrap { display: none !important; }
.agentui .hero-left .trust {
    order: 4; margin-top: 2px;
    flex-direction: row; flex-wrap: wrap; justify-content: center; gap: 8px;
  }
.agentui .hero-right {
    height: auto !important; min-height: 0 !important; max-height: none !important;
    aspect-ratio: auto !important; padding-top: 0 !important;
  }
.agentui .hp-logos { padding-top: 14px !important; }
}
.agentui .view-connect .cnx {
  display:flex; flex-direction:column;
  gap:clamp(9px,1.1vw,12px);
  padding:10px 2px 2px;
  flex:1 1 auto; min-height:0;
}
.agentui .cnx-grid {
  display:grid;
  grid-template-columns:repeat(8,1fr);
  gap:clamp(7px,0.7vw,10px);
  align-content:start;
}
@media (max-width:980px) {
.agentui .cnx-grid { grid-template-columns:repeat(6,1fr); }
}
@media (max-width:560px) {
.agentui .cnx-grid { grid-template-columns:repeat(4,1fr); }
}
.agentui .cnx-ic {
  aspect-ratio:1; border-radius:13px; background:#fff;
  display:grid; place-items:center;
  box-shadow:0 4px 11px -3px rgba(8,5,30,.5), inset 0 0 0 1px rgba(255,255,255,.6);
  transition:transform .18s ease, box-shadow .18s ease;
}
.agentui .cnx-ic img {
  width:54%; height:54%; max-width:34px; max-height:34px;
  object-fit:contain; display:block;
}
.agentui .cnx-ic--more {
  background:rgba(124,58,237,.18); color:#cbbaf6;
  font-weight:800; font-size:13px; letter-spacing:-0.02em;
  box-shadow:inset 0 0 0 1px rgba(167,139,250,.34);
}
.agentui .cnx-pipes {
  border-radius:16px; padding:12px 14px 13px;
  background:rgba(255,255,255,.045);
  box-shadow:inset 0 0 0 1px rgba(255,255,255,.09);
  display:flex; flex-direction:column; gap:8px;
}
/* pipeline flow diagram: sources → Improvado hub → destinations (ref: ETL/ELT/Reverse/Sync) */
.agentui .cnx-pipes-tabs { display:flex; gap:3px; }
.agentui .cnx-pipes-tabs span { font-size:9px; font-weight:700; letter-spacing:0.05em; text-transform:uppercase;
  color:oklch(0.6 0.012 275); padding:3px 8px; border-radius:6px; }
.agentui .cnx-pipes .cnx-pipes-tabs span.is-on { color:#fff;
  background:linear-gradient(180deg, oklch(0.6 0.19 286), oklch(0.52 0.19 286)); }
.agentui .cnx-flow { display:flex; align-items:center; gap:8px; padding:6px 2px; }
.agentui .cnx-fl-cluster { display:flex; gap:6px; flex-shrink:0; }
.agentui .cnx-fl-node { flex-shrink:0; width:30px; height:30px; border-radius:9px; background:#fff;
  display:grid; place-items:center; box-shadow:0 3px 9px -2px rgba(8,5,30,.4), inset 0 0 0 1px rgba(255,255,255,.6); }
.agentui .cnx-fl-node img { width:18px; height:18px; object-fit:contain; display:block; }
.agentui .cnx-fl-node svg { width:16px; height:16px; color:oklch(0.5 0.08 282); }
.agentui .cnx-fl-wire { position:relative; flex:1 1 auto; min-width:18px; height:2px; border-radius:2px;
  background:oklch(0.62 0.22 290 / 0.22); }
.agentui .cnx-fl-wire::after { content:""; position:absolute; top:50%; left:0; width:6px; height:6px; border-radius:50%;
  transform:translate(-50%,-50%); background:oklch(0.66 0.18 290);
  box-shadow:0 0 8px oklch(0.66 0.18 290 / 0.7); animation:agentui-cnx-dot 2s linear infinite; }
@keyframes agentui-cnx-dot { 0%{left:3%} 100%{left:97%} }
.agentui .cnx-fl-im { flex-shrink:0; width:40px; height:40px; border-radius:12px; display:grid; place-items:center;
  font-family:var(--font-display); color:#fff; font-weight:800; font-size:13px; letter-spacing:-0.02em;
  background:linear-gradient(140deg,#ff5ba6,#e0218a);
  box-shadow:0 7px 18px -6px rgba(224,33,138,.6), inset 0 0 0 1px rgba(255,255,255,.28); }
.agentui .cnx-flow-cap { display:flex; align-items:center; gap:7px; font-size:10.5px; font-weight:600;
  color:oklch(0.62 0.012 275); }
.agentui .cnx-flow-cap b { color:oklch(0.92 0 0); font-weight:700; }
.agentui .cnx-flow-cap .dot { width:5px; height:5px; border-radius:50%; background:oklch(0.78 0.16 155);
  box-shadow:0 0 0 3px oklch(0.78 0.16 155 / 0.2); flex-shrink:0; }
.agentui .cnx-pipes-head {
  display:flex; align-items:baseline; justify-content:space-between; gap:10px;
  margin-bottom:1px;
}
.agentui .cnx-pipes-title {
  font-weight:800; font-size:12px; letter-spacing:0.02em; color:#f3f0ff;
}
.agentui .cnx-pipes-dest {
  font-weight:700; font-size:11px; letter-spacing:-0.005em;
  color:oklch(0.80 0.12 292); white-space:nowrap;
}
.agentui .cnx-pipe-row {
  display:grid; grid-template-columns:auto 1fr auto;
  align-items:center; gap:11px;
}
.agentui .cnx-pipe-ic {
  width:28px; height:28px; border-radius:8px; background:#fff;
  display:grid; place-items:center;
  box-shadow:0 2px 6px -1px rgba(8,5,30,.45), inset 0 0 0 1px rgba(255,255,255,.6);
}
.agentui .cnx-pipe-ic img { width:18px; height:18px; object-fit:contain; display:block; }
.agentui .cnx-pipe-track {
  position:relative; height:6px; border-radius:999px; overflow:hidden;
  background:rgba(167,139,250,.16);
}
.agentui .cnx-pipe-flow {
  position:absolute; top:0; bottom:0; left:0; width:42%;
  background:linear-gradient(90deg,transparent,rgba(196,181,253,.95),transparent);
  animation:agentui-cnx-pipeflow 1.8s linear infinite;
}
.agentui .cnx-pipe-flow--slow { animation-duration:2.7s; opacity:.85; }
@keyframes agentui-cnx-pipeflow { from{transform:translateX(-110%)} to{transform:translateX(360%)} }
.agentui .cnx-pipe-st {
  font-weight:700; font-size:9.5px; line-height:1;
  letter-spacing:0.08em; text-transform:uppercase;
  padding:4px 8px; border-radius:999px;
}
.agentui .cnx-pipe-st--live { color:#34d399; background:rgba(52,211,153,.14); box-shadow:inset 0 0 0 1px rgba(52,211,153,.24); }
.agentui .cnx-pipe-st--sync { color:#fbbf24; background:rgba(251,191,36,.14); box-shadow:inset 0 0 0 1px rgba(251,191,36,.26); }
@media (prefers-reduced-motion: reduce) {
.agentui .cnx-pipe-flow { animation:none; transform:none; left:0; width:100%; opacity:.5; }
.agentui .cnx-fl-wire::after { animation:none; left:50%; }
.agentui .cnx-live i { animation:none; }
}
.agentui .float-sources.fsv9 {
  border:1px solid rgba(45,22,109,.10);
  box-shadow:0 18px 40px -22px rgba(45,22,109,.45),
             0 6px 16px -10px rgba(45,22,109,.25);
}
.agentui .float-sources.fsv9 .src-logos-light > div {
  box-shadow:0 2px 5px rgba(16,12,40,.16), inset 0 0 0 1px rgba(255,255,255,.5);
}
.agentui .float-sources.fsv9 .src-logos-light .more {
  font-weight:700;
  color:#6D28D9;
  background:linear-gradient(135deg,#f3efff,#e9e2ff);
}
.agentui .float-sources.fsv9 .count .n {
  font-weight:800;
  color:#20124d;
  letter-spacing:-0.02em;
}
@media (prefers-reduced-motion: reduce) {
.agentui .view-connect * { animation:none !important; transition:none !important; }
}
.agentui .hp-agentic-dash .hp-perf-header { position:static !important; width:auto !important; height:auto !important; margin:0 0 18px !important; overflow:visible !important; clip-path:none !important; white-space:normal !important; text-align:center; }
.agentui .hp-agentic-dash .hp-perf-title { font-size:clamp(28px,3.4vw,44px); font-weight:800; letter-spacing:-.02em; margin:0; color:#0f172a; }
.agentui .hp-perf-rotator { display:inline-block; padding:.08em .6em .12em; border-radius:999px; text-align:center; vertical-align:middle; color:#5B21B6; -webkit-text-fill-color:#5B21B6; font-weight:900; letter-spacing:.004em; background:#EEE7FB; box-shadow:inset 0 0 0 1px rgba(109,40,217,.20), 0 1px 2px rgba(109,40,217,.08); will-change:transform,opacity,filter; }
.agentui .hp-perf-rotator.is-out { animation:agentui-hp-perf-word-out .30s ease-in forwards; }
.agentui .hp-perf-rotator.is-in { animation:agentui-hp-perf-word-in .50s cubic-bezier(.2,.75,.3,1); }
@keyframes agentui-hp-perf-word-out { to{ transform:translateY(-.5em); opacity:0; filter:blur(5px); } }
@keyframes agentui-hp-perf-word-in { from{ transform:translateY(.62em); opacity:0; filter:blur(5px); } 55%{ opacity:1; filter:blur(0); } to{ transform:translateY(0); opacity:1; filter:blur(0); } }
.agentui .hp-uc-console .hp-section-title { font-size:clamp(34px,4.2vw,52px); letter-spacing:-.025em; line-height:1.05; }
.agentui .hp-uc-console .hp-uc-console-sub { margin:10px 0 24px; }
.agentui .hp-uc-answer-body { overflow:hidden; }
.agentui .hp-uc-fade {
  position:absolute; left:0; right:0; bottom:0; height:176px;
  display:flex; align-items:flex-end; justify-content:center; padding-bottom:22px;
  background:linear-gradient(180deg, rgba(251,250,248,0) 0%, rgba(251,250,248,.55) 38%, rgba(251,250,248,.92) 72%, #FBFAF8 100%);
  pointer-events:none; z-index:3;
}
.agentui .hp-uc-fade .hp-uc-open {
  pointer-events:auto;
  background:var(--uc-a,#6D28D9); color:#fff; text-decoration:none;
  padding:12px 22px; border-radius:999px; font-weight:700; font-size:14px;
  box-shadow:0 12px 28px -10px color-mix(in srgb, var(--uc-a,#6D28D9) 60%, transparent), 0 2px 6px -2px rgba(15,23,42,.22);
  transition:transform .18s ease, box-shadow .25s ease;
}
.agentui .hp-uc-fade .hp-uc-open:hover { text-decoration:none; transform:translateY(-2px); box-shadow:0 18px 38px -10px color-mix(in srgb, var(--uc-a,#6D28D9) 72%, transparent); }
@media (max-width:980px) {
.agentui .hp-uc-answer-body { overflow:visible; }
.agentui .hp-uc-fade { position:static; height:auto; background:none; padding:14px 0 2px; }
}
.agentui .hp-uc-console .hp-section-title { text-align:center; }
.agentui .hp-uc-console .hp-uc-console-sub { text-align:center; margin-left:auto; margin-right:auto; }
.agentui .hp-uc-answer-top { justify-content:center; text-align:center; }
.agentui .hp-uc-echo {
  background:none; border:0; border-radius:0; padding:0; max-width:100%;
  font:700 clamp(19px,1.7vw,24px)/1.28 'Inter Tight', Inter, system-ui, sans-serif;
  letter-spacing:-.015em; color:#0f172a; text-align:center;
}
.agentui .hp-uc-console .hp-container > .hp-section-title {
  text-align:center;
  font:800 clamp(36px,4vw,50px)/1.06 'Inter Tight', Inter, system-ui, sans-serif;
  letter-spacing:-.025em; color:#0f172a;
  margin:0 auto 14px; max-width:none; text-wrap:balance;
}
.agentui .hp-uc-console .hp-container > .hp-uc-console-sub {
  text-align:center;
  font:400 17px/1.55 Inter, system-ui, sans-serif;
  color:#64748b; max-width:600px; margin:0 auto 36px; text-wrap:balance;
}
.agentui .hero { grid-template-columns:1.04fr 1.18fr; gap:48px; }
.agentui .hp-uc-console .hp-uc-answer {
  background:
    radial-gradient(52% 50% at 8% 2%,    rgba(124,58,237,0.20), transparent 62%),   
    radial-gradient(48% 46% at 96% 8%,   rgba(56,116,255,0.16), transparent 62%),   
    radial-gradient(54% 56% at 94% 72%,  rgba(167,139,250,0.18), transparent 64%),  
    radial-gradient(58% 60% at 0% 84%,   rgba(20,184,166,0.14), transparent 64%),   
    radial-gradient(52% 50% at 62% 110%, rgba(124,58,237,0.15), transparent 62%),   
    #F4F1FB;                                                                          
  box-shadow:inset 0 0 0 1px rgba(15,23,42,0.05);
}
.agentui .hp-uc-console .hp-uc-answer-top .hp-uc-echo { color:#0f172a; }
.agentui .hp-uc-console .hp-uc-board { gap:14px; }
.agentui .hp-uc-console .hp-uc-mid { gap:14px; }
.agentui .hp-uc-console .hp-uc-secrow, .agentui .hp-uc-console .hp-uc-seccol { gap:14px; }
.agentui .hp-uc-console .hp-uc-verdict, .agentui .hp-uc-console .hp-uc-primary {
  background:#fff; border:1px solid rgba(15,23,42,0.06); border-radius:16px;
  padding:16px 18px; box-shadow:none;
}
.agentui .hp-uc-console .hp-uc-trace {
  background:#fff; border:1px solid rgba(15,23,42,0.06); border-top:1px solid rgba(15,23,42,0.06);
  border-radius:13px; padding:10px 14px; box-shadow:none;
}
.agentui .hp-uc-console .hp-uc-sec, .agentui .hp-uc-console .hp-uc-tile { box-shadow:none !important; }
.agentui .hp-uc-console .hp-uc-spark {
  background:#fff; border:1px solid rgba(15,23,42,0.06); border-radius:13px;
  padding:10px 12px; box-shadow:none;
}
.agentui .hp-uc-console .hp-uc-fade {
  background:linear-gradient(180deg, rgba(244,241,251,0) 0%, rgba(244,241,251,0.55) 40%, rgba(244,241,251,0.92) 74%, #F4F1FB 100%);
}
@media (max-width: 720px) {
.agentui #agentic-scalebox {
    padding: 6px !important;
    background: #0b0a1e !important;
    box-shadow: none !important;
    border-radius: 14px !important;
  }
}
@media (max-width: 720px) {
.agentui .hp-uc-answer-body { overflow: visible !important; height: auto !important; }
.agentui .hp-uc-fade {
    position: static !important; height: auto !important; padding: 14px 0 4px !important;
    background: none !important; display: flex !important; justify-content: center !important;
  }
.agentui .hp-uc-fade .hp-uc-open { position: static !important; display: inline-flex !important; }
}
.agentui .side-btn:focus-visible, .agentui .hp-uc-console .hp-uc-prompt:focus-visible, .agentui .hp-uc-console .hp-uc-fade .hp-uc-open:focus-visible {
  outline: 2px solid var(--uc-a, #6D28D9);
  outline-offset: 2px;
  border-radius: 6px;
}
@supports (content-visibility: auto) {
.agentui .hp-howit, .agentui .hp-proof, .agentui .hp-footer {
    content-visibility: auto;
    contain-intrinsic-size: 1px 720px;
  }
}
.agentui .hp-agentic-dash {
  position: relative;
  background:
    
    radial-gradient(60% 45% at 50% 56%, rgba(124,58,237,0.07), transparent 70%),
    
    linear-gradient(180deg, #FBFAF7 0%, #F2EEF8 7%, #F2EEF8 92%, #FBFAF7 100%);
  padding: 56px 0 64px;            
  margin-top: 0;                    
}
.agentui .hp-agentic-dash .hp-perf-title {
  color: #0f172a;
  text-wrap: balance;
}
.agentui .hp-perf-rotator {
  background: #FFFFFF;
  box-shadow:
    inset 0 0 0 1px rgba(109,40,217,0.22),
    0 4px 14px -8px rgba(109,40,217,0.22),
    0 1px 2px rgba(109,40,217,0.06);
}
.agentui {
  --v9-brand:#6D28D9; --v9-brand-deep:#5B21B6; --v9-ink:#0f172a;
  --v9-h2:clamp(32px,3.4vw,46px);            
  --v9-r-section:clamp(18px,2vw,24px);        
  --v9-sh-frame:0 30px 70px -34px rgba(8,5,28,.45);  
}
.agentui .hp-fused-shell .hp-section-title, .agentui .hp-agentic-dash .hp-perf-title, .agentui .hp-howit .hp-section-title, .agentui .hp-proof .hp-final-title, .agentui .hp-uc-console .hp-container > .hp-section-title {
  font-size:var(--v9-h2) !important;
  font-weight:900 !important;          
  letter-spacing:-.02em !important;
  line-height:1.06 !important;
  text-wrap:balance;                    
}
.agentui .hp-uc-console-shell { border-radius:var(--v9-r-section) !important; }
.agentui .hp-howit-step { border-radius:18px !important; }
.agentui #agentic-scalebox { border-radius:var(--v9-r-section) !important; }
@media (min-width:721px) {
.agentui #agentic-scalebox { box-shadow:var(--v9-sh-frame) !important; }
}
@media (prefers-reduced-motion: reduce) {
.agentui .hp-perf-rotator.is-out, .agentui .hp-perf-rotator.is-in { animation:none !important; }
}
.agentui .hp-section-title-logo {
  display:inline-block;
  height:0.82em;
  width:auto;
  vertical-align:-0.1em;
  margin:0 0.18em;
  color:#0F172A;
}
.agentui .rv-ready [data-reveal] {
  opacity:0; transform:translateY(16px);
  transition:opacity .6s ease, transform .6s cubic-bezier(.2,.7,.3,1);
}
.agentui .rv-ready [data-reveal].rv-in { opacity:1; transform:none; }
.agentui .rv-ready [data-reveal][data-reveal-i="1"] { transition-delay:.08s; }
.agentui .rv-ready [data-reveal][data-reveal-i="2"] { transition-delay:.16s; }
.agentui .rv-ready [data-reveal][data-reveal-i="3"] { transition-delay:.24s; }
@media (prefers-reduced-motion: reduce) {
.agentui [data-reveal] { opacity:1 !important; transform:none !important; }
}
@media (min-width:981px) {
.agentui #use-cases .hp-uc-glyph { display:none !important; }
.agentui #use-cases .hp-uc-console-shell {
    background:none !important; border:0 !important; box-shadow:none !important;
    border-radius:0 !important; padding:0 !important;
    grid-template-columns:minmax(330px,4.2fr) 8fr; gap:clamp(40px,4vw,64px); align-items:stretch;
  }
.agentui #use-cases .hp-uc-left { display:flex; flex-direction:column; min-width:0; height:var(--uc-console-h); }
.agentui #use-cases .hp-uc-left .hp-section-title {
    text-align:left; margin:0 0 12px; max-width:none;
    font:900 clamp(30px,2.7vw,40px)/1.08 'Inter Tight', Inter, system-ui, sans-serif; letter-spacing:-.02em; color:#0f172a;
  }
.agentui #use-cases .hp-uc-left .hp-uc-console-sub {
    text-align:left; margin:0 0 30px; max-width:42ch;
    font:400 15.5px/1.55 Inter, system-ui, sans-serif; color:#64748b;
  }
.agentui #use-cases .hp-uc-rail { height:auto !important; flex:1 1 auto; min-height:0; }
.agentui #use-cases .hp-uc-prompt {
    background:none !important; border:0; border-radius:0; box-shadow:none !important; transform:none !important;
    padding:0 2px; display:grid; grid-template-columns:1fr auto; column-gap:16px; align-items:center;
    border-top:1px solid rgba(15,23,42,.08);
  }
.agentui #use-cases .hp-uc-prompt:first-child { border-top:0; }
.agentui #use-cases .hp-uc-runspark { display:none; }
.agentui #use-cases .hp-uc-prompt .hp-uc-tag {
    font:600 10px/1 'JetBrains Mono', ui-monospace, monospace; letter-spacing:.2em; text-transform:uppercase; color:#9aa3b2; margin-bottom:7px;
  }
.agentui #use-cases .hp-uc-prompt .hp-uc-headline {
    font:700 18px/1.34 'Inter Tight', Inter, system-ui, sans-serif; letter-spacing:-.012em; color:#475569; transition:color .18s ease;
  }
.agentui #use-cases .hp-uc-prompt::after {
    content:"→"; justify-self:end; align-self:center; font:500 17px/1 Inter, system-ui, sans-serif; color:rgba(15,23,42,.26);
    opacity:1; transform:none; transition:color .2s ease, transform .2s var(--ease-out, cubic-bezier(.2,.7,.3,1));
  }
.agentui #use-cases .hp-uc-prompt.is-active { box-shadow:inset 2px 0 0 var(--uc-a) !important; padding-left:18px; background:none !important; transform:none !important; }
.agentui #use-cases .hp-uc-prompt.is-active .hp-uc-tag { color:var(--uc-a); }
.agentui #use-cases .hp-uc-prompt.is-active .hp-uc-headline { color:#0f172a; font-weight:800; }
.agentui #use-cases .hp-uc-prompt.is-active::after { color:var(--uc-a); }
.agentui #use-cases .hp-uc-prompt:not(.is-active):hover { background:none !important; }
.agentui #use-cases .hp-uc-prompt:not(.is-active):hover .hp-uc-headline { color:#0f172a; }
.agentui #use-cases .hp-uc-prompt:not(.is-active):hover::after { color:var(--uc-a); transform:translateX(3px); }
.agentui #use-cases .hp-uc-railcta {
    height:auto; align-self:flex-start; margin-top:24px; padding:13px 22px; border-radius:11px;
    background:none !important; color:var(--uc-a) !important;
    border:1px solid color-mix(in srgb, var(--uc-a) 36%, transparent) !important; box-shadow:none !important;
    font:600 14px/1 Inter, system-ui, sans-serif;
  }
.agentui #use-cases .hp-uc-railcta svg { transition:transform .2s ease; }
.agentui #use-cases .hp-uc-railcta:hover { background:color-mix(in srgb, var(--uc-a) 7%, #fff) !important; border-color:var(--uc-a) !important; transform:none; }
.agentui #use-cases .hp-uc-railcta:hover svg { transform:translateX(3px); }
}
.agentui #use-cases .hp-uc-fade .hp-uc-open {
  background:#fff; color:var(--uc-a);
  box-shadow:0 1px 0 rgba(255,255,255,.9) inset, 0 0 0 1px color-mix(in srgb, var(--uc-a) 24%, transparent), 0 14px 30px -16px rgba(8,6,28,.30);
}
.agentui #use-cases .hp-uc-fade .hp-uc-open:hover { background:color-mix(in srgb, var(--uc-a) 6%, #fff); }
@media (prefers-reduced-motion:reduce) {
.agentui #use-cases .hp-uc-prompt, .agentui #use-cases .hp-uc-prompt::after, .agentui #use-cases .hp-uc-prompt .hp-uc-headline, .agentui #use-cases .hp-uc-railcta svg { transition:none; }
}
@media (min-width:981px) {
.agentui #use-cases .hp-uc-rail .hp-uc-prompt { flex:0 0 auto; min-height:0; }
.agentui #use-cases .hp-uc-prompt { padding:18px 2px 18px 14px; }
.agentui #use-cases .hp-uc-prompt:first-child { padding-top:0; }
.agentui #use-cases .hp-uc-prompt.is-active { padding-left:14px !important; }
.agentui #use-cases .hp-uc-railcta { margin-top:auto !important; }
.agentui #use-cases .hp-uc-prompt .hp-uc-tag { color:#646f82; margin-bottom:5px; }
.agentui #use-cases .hp-uc-prompt.is-active .hp-uc-headline { letter-spacing:-.018em; }
.agentui #use-cases .hp-uc-left .hp-section-title { margin:0 0 10px; }
.agentui #use-cases .hp-uc-left .hp-uc-console-sub { line-height:1.48; margin:0 0 24px; }
.agentui #use-cases .hp-uc-answer-top { justify-content:flex-start !important; }
.agentui #use-cases .hp-uc-echo { text-align:left !important; }
.agentui #use-cases .hp-uc-railcta:focus-visible { outline:2px solid var(--uc-a); outline-offset:3px; border-radius:11px; }
}
.agentui .hp-caps { position:relative; padding:var(--section-py) 0; background:#fbfaf8; overflow:hidden; }
.agentui .hp-caps-grid-bg {
  position:absolute; inset:0; pointer-events:none; z-index:0;
  background-image:
    linear-gradient(rgba(15,23,42,.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(15,23,42,.035) 1px, transparent 1px);
  background-size:46px 46px;
  -webkit-mask-image:radial-gradient(130% 78% at 50% 30%, #000 50%, transparent 100%);
          mask-image:radial-gradient(130% 78% at 50% 30%, #000 50%, transparent 100%);
}
.agentui .hp-caps .hp-container { position:relative; z-index:1; }
.agentui .hp-caps-head { max-width:880px; margin:0 0 clamp(30px,3.2vw,46px); text-align:left; }
.agentui .hp-caps .hp-section-title {
  font-size:var(--v9-h2); font-weight:900; letter-spacing:-.02em; line-height:1.06;
  color:var(--v9-ink); margin:0 0 14px; text-wrap:balance;
}
.agentui .hp-caps .hp-section-title .grad {
  background:linear-gradient(96deg,#6D28D9,#7C3AED 58%,#a78bfa);
  -webkit-background-clip:text; background-clip:text;
  -webkit-text-fill-color:transparent; color:#6D28D9;
}
.agentui .hp-caps-sub { font:400 clamp(15px,1.2vw,18px)/1.55 Inter, system-ui, sans-serif; color:rgba(15,23,42,.62); max-width:66ch; margin:0; }
.agentui .hp-caps-grid { list-style:none; padding:0; margin:0; display:grid; grid-template-columns:repeat(3,1fr); grid-auto-rows:1fr; gap:clamp(16px,1.4vw,22px); align-items:stretch; }
@media (max-width:980px) {
.agentui .hp-caps-grid { grid-template-columns:repeat(2,1fr); }
}
@media (max-width:640px) {
.agentui .hp-caps-grid { grid-template-columns:1fr; }
}
.agentui .hp-caps-card {
  display:flex; flex-direction:column;
  background:#fff; border:1px solid rgba(15,23,42,.07); border-radius:20px; padding:0; overflow:hidden;
  box-shadow:0 1px 2px rgba(15,23,42,.04), 0 12px 32px rgba(15,23,42,.04);
  transition:transform .25s cubic-bezier(.2,.7,.3,1), box-shadow .25s ease, border-color .25s ease;
}
.agentui .hp-caps-card:hover {
  transform:translateY(-4px); border-color:rgba(109,40,217,.22);
  box-shadow:0 1px 2px rgba(15,23,42,.05), 0 24px 56px rgba(109,40,217,.10), 0 8px 18px rgba(15,23,42,.06);
}
.agentui .hp-caps-card-top { display:flex; align-items:flex-start; justify-content:space-between; gap:12px; }
.agentui .hp-caps-title { margin:0; font:800 clamp(20px,1.45vw,23px)/1.12 'Inter Tight', Inter, system-ui, sans-serif; letter-spacing:-.02em; color:var(--v9-ink); }
.agentui .hp-caps-num { flex:none; align-self:flex-start; font:700 12px/1 'JetBrains Mono', ui-monospace, monospace; letter-spacing:.04em; color:#fff; background:#0f172a; border-radius:9px; padding:7px 9px; }
.agentui .hp-caps-head2 { padding:clamp(24px,2vw,30px) clamp(22px,1.8vw,28px) clamp(15px,1.3vw,17px); }
.agentui .hp-caps-desc { margin:9px 0 0; max-width:34ch; font:400 14.5px/1.5 Inter, system-ui, sans-serif; color:#475569; }
.agentui .hp-caps-ui { flex:1 1 auto; margin:0 clamp(14px,1.2vw,16px) clamp(14px,1.2vw,16px); background:#f6f5f3; border:1px solid rgba(15,23,42,.05); border-radius:16px; padding:clamp(13px,1.1vw,16px); min-height:0; display:flex; flex-direction:column; gap:11px; justify-content:center; }
.agentui .hp-caps-ui-cap { font:700 9.5px/1 'JetBrains Mono', ui-monospace, monospace; letter-spacing:.14em; text-transform:uppercase; color:rgba(15,23,42,.42); }
.agentui .hp-caps-dot { width:6px; height:6px; border-radius:50%; background:#22c55e; display:inline-block; box-shadow:0 0 0 3px rgba(34,197,94,.16); }
.agentui .hp-caps-src-row { display:flex; align-items:center; justify-content:space-between; gap:10px; }
.agentui .hp-caps-chip { font:600 11.5px/1 Inter,sans-serif; padding:6px 11px; border-radius:999px; background:#fff; border:1px solid rgba(15,23,42,.1); color:#334155; }
.agentui .hp-caps-chip.is-on { background:linear-gradient(135deg,#7C3AED,#6D28D9); color:#fff; border-color:transparent; }
.agentui .hp-caps-src-count { display:inline-flex; align-items:center; gap:7px; font:600 12px/1 Inter,sans-serif; color:rgba(15,23,42,.62); }
.agentui .hp-caps-logos { display:flex; align-items:center; gap:7px; }
.agentui .hp-caps-logo { width:30px; height:30px; border-radius:8px; background:#fff; border:1px solid rgba(15,23,42,.08); display:grid; place-items:center; overflow:hidden; }
.agentui .hp-caps-logo img { width:20px; height:20px; object-fit:contain; }
.agentui .hp-caps-more { font:600 11.5px/1 Inter,sans-serif; color:rgba(15,23,42,.5); margin-left:2px; }
.agentui .hp-caps-toggle-row { display:flex; align-items:center; justify-content:space-between; gap:10px; padding-top:2px; }
.agentui .hp-caps-toggle-lbl { font:500 13px/1 Inter,sans-serif; color:#334155; }
.agentui .hp-caps-toggle { width:34px; height:20px; border-radius:999px; background:#cbd5e1; position:relative; transition:background .2s; flex:none; }
.agentui .hp-caps-toggle.is-on { background:#6D28D9; }
.agentui .hp-caps-knob { position:absolute; top:2px; left:2px; width:16px; height:16px; border-radius:50%; background:#fff; box-shadow:0 1px 2px rgba(0,0,0,.2); transition:transform .2s; }
.agentui .hp-caps-toggle.is-on .hp-caps-knob { transform:translateX(14px); }
.agentui .hp-caps-graphrow { display:flex; align-items:center; gap:16px; flex:1; }
.agentui .hp-caps-graph { width:132px; height:74px; flex:none; }
.agentui .hp-caps-graph-core { transform-box:fill-box; transform-origin:center; animation:hp-caps-agentui-pulse 2.6s ease-in-out infinite; }
@keyframes agentui-hp-caps-pulse { 0%,100%{ opacity:1 } 50%{ opacity:.6 } }
.agentui .hp-caps-memlist { list-style:none; margin:0; padding:0; display:flex; flex-direction:column; gap:8px; flex:1; min-width:0; }
.agentui .hp-caps-memlist li { display:flex; align-items:center; gap:9px; font:600 13px/1 Inter,sans-serif; color:#334155; }
.agentui .hp-caps-memid { flex:none; font:700 10px/1 'JetBrains Mono',monospace; color:#7C3AED; background:rgba(124,58,237,.1); border-radius:6px; padding:4px 6px; }
.agentui .hp-caps-memname { flex:1; min-width:0; }
.agentui .hp-caps-memct { flex:none; font:700 11px/1 'JetBrains Mono',monospace; color:rgba(15,23,42,.42); }
.agentui .hp-caps-ui--curve { gap:10px; }
.agentui .hp-caps-curve-wrap { position:relative; }
.agentui .hp-caps-curve { width:100%; height:52px; display:block; }
.agentui .hp-caps-curve-mark { position:absolute; top:2px; right:0; font:700 9.5px/1 'JetBrains Mono',monospace; letter-spacing:.05em; color:#6D28D9; background:rgba(124,58,237,.1); border-radius:6px; padding:4px 6px; }
.agentui .hp-caps-audit-top { display:flex; align-items:center; justify-content:space-between; gap:10px; }
.agentui .hp-caps-audit-ttl { font:700 13px/1.2 Inter,sans-serif; color:var(--v9-ink); }
.agentui .hp-caps-audit-sub { font:500 11px/1 Inter,sans-serif; color:rgba(15,23,42,.45); margin-top:4px; }
.agentui .hp-caps-ring { position:relative; width:44px; height:44px; flex:none; }
.agentui .hp-caps-ring svg { width:44px; height:44px; }
.agentui .hp-caps-ring-val { position:absolute; inset:0; display:grid; place-items:center; font:800 14px/1 'Inter Tight',Inter,sans-serif; color:var(--v9-ink); }
.agentui .hp-caps-audit-tiles { display:grid; grid-template-columns:1fr 1fr; gap:8px; }
.agentui .hp-caps-tile { background:#fff; border:1px solid rgba(15,23,42,.07); border-radius:10px; padding:8px 10px; display:flex; flex-direction:column; gap:3px; }
.agentui .hp-caps-tile-lbl { font:700 9px/1 'JetBrains Mono',monospace; letter-spacing:.1em; text-transform:uppercase; color:rgba(15,23,42,.42); }
.agentui .hp-caps-tile-val { font:800 15px/1 'Inter Tight',Inter,sans-serif; color:var(--v9-ink); }
.agentui .hp-caps-util { display:flex; flex-direction:column; gap:6px; }
.agentui .hp-caps-util-bar { height:6px; border-radius:999px; background:rgba(15,23,42,.08); overflow:hidden; }
.agentui .hp-caps-util-bar span { display:block; height:100%; border-radius:999px; background:linear-gradient(90deg,#7C3AED,#6D28D9); }
.agentui .hp-caps-util-lbl { font:500 11px/1 Inter,sans-serif; color:rgba(15,23,42,.5); }
.agentui .hp-caps-ui--mcp .hp-caps-logos { margin-bottom:1px; }
.agentui .hp-caps-prompt { background:#fff; border:1px solid rgba(15,23,42,.08); border-radius:11px; padding:11px 12px; display:flex; flex-direction:column; gap:9px; }
.agentui .hp-caps-prompt-tag { display:inline-flex; align-items:center; gap:7px; font:700 9px/1 'JetBrains Mono',monospace; letter-spacing:.1em; text-transform:uppercase; color:rgba(15,23,42,.5); }
.agentui .hp-caps-prompt-q { margin:0; font:500 12.5px/1.45 Inter,sans-serif; color:#334155; }
.agentui .hp-caps-exec { align-self:flex-start; font:600 11.5px/1 Inter,sans-serif; color:#fff; background:linear-gradient(135deg,#7C3AED,#6D28D9); border-radius:8px; padding:7px 13px; }
.agentui .hp-caps-heat { display:grid; grid-template-columns:repeat(5,1fr); gap:5px; }
.agentui .hp-caps-heat i { aspect-ratio:1/1; border-radius:5px; }
.agentui .hp-caps-heat .g { background:#86c79b; }
.agentui .hp-caps-heat .a { background:#f0cf78; }
.agentui .hp-caps-heat .r { background:#e79a93; }
.agentui .hp-caps-srclist { list-style:none; margin:0; padding:0; display:flex; flex-direction:column; gap:7px; }
.agentui .hp-caps-srclist li { display:flex; align-items:center; gap:9px; background:#fff; border:1px solid rgba(15,23,42,.06); border-radius:9px; padding:6px 9px; }
.agentui .hp-caps-srclogo { width:22px; height:22px; border-radius:6px; display:grid; place-items:center; flex:none; }
.agentui .hp-caps-srclogo img { width:16px; height:16px; object-fit:contain; }
.agentui .hp-caps-srcname { flex:1; min-width:0; font:600 12.5px/1 Inter,sans-serif; color:#334155; overflow:hidden; text-overflow:ellipsis; white-space:nowrap; }
.agentui .hp-caps-srcstat { flex:none; font:600 9px/1 'JetBrains Mono',monospace; letter-spacing:.04em; text-transform:uppercase; padding:4px 7px; border-radius:6px; }
.agentui .hp-caps-srcstat.is-ok { color:#047857; background:rgba(4,120,87,.1); }
.agentui .hp-caps-srcstat.is-run { color:#9a6b00; background:rgba(234,179,8,.16); }
.agentui .hp-caps-drivers { list-style:none; margin:0; padding:0; display:flex; flex-direction:column; gap:8px; }
.agentui .hp-caps-drivers li { display:grid; grid-template-columns:50px 1fr auto; align-items:center; gap:9px; }
.agentui .hp-caps-drv-name { font:600 11.5px/1 Inter,sans-serif; color:#475569; }
.agentui .hp-caps-drv-bar { height:6px; border-radius:999px; background:rgba(15,23,42,.08); overflow:hidden; }
.agentui .hp-caps-drv-bar span { display:block; height:100%; border-radius:999px; background:linear-gradient(90deg,#a78bfa,#6D28D9); }
.agentui .hp-caps-drv-val { font:700 11px/1 'JetBrains Mono',monospace; color:#6D28D9; }
.agentui .hp-caps-mcp-head { display:flex; align-items:center; justify-content:space-between; gap:10px; }
.agentui .hp-caps-prompt-foot { display:flex; align-items:center; justify-content:space-between; gap:10px; }
.agentui .hp-caps-scope { font:600 9px/1 'JetBrains Mono',monospace; letter-spacing:.06em; text-transform:uppercase; color:rgba(15,23,42,.5); background:rgba(15,23,42,.05); border-radius:6px; padding:5px 8px; }
.agentui .hp-caps-heatwrap { display:grid; grid-template-columns:auto 1fr; gap:6px 9px; }
.agentui .hp-caps-heatrows { list-style:none; margin:0; padding:0; display:grid; grid-template-rows:repeat(3,1fr); align-items:center; }
.agentui .hp-caps-heatrows li { font:700 8.5px/1 'JetBrains Mono',monospace; letter-spacing:.04em; text-transform:uppercase; color:rgba(15,23,42,.45); }
.agentui .hp-caps-heatcols { grid-column:2; display:flex; justify-content:space-between; }
.agentui .hp-caps-heatcols span { font:600 8px/1 'JetBrains Mono',monospace; color:rgba(15,23,42,.4); }
.agentui .hp-caps-delivery { display:flex; flex-wrap:wrap; align-items:center; gap:10px; margin-top:clamp(26px,2.6vw,38px); padding-top:clamp(20px,2vw,26px); border-top:1px solid rgba(15,23,42,.08); }
.agentui .hp-caps-delivery-lbl { font:700 10px/1 'JetBrains Mono',monospace; letter-spacing:.16em; text-transform:uppercase; color:#64748b; margin-right:4px; }
.agentui .hp-caps-pill { font:600 12.5px/1 Inter,sans-serif; color:#334155; background:#fff; border:1px solid rgba(15,23,42,.1); border-radius:999px; padding:8px 14px; }
@media (max-width:640px) {
.agentui .hp-caps-head { margin-bottom:24px; }
.agentui .hp-caps-num { padding:6px 8px; }
}
@media (prefers-reduced-motion:reduce) {
.agentui .hp-caps-card { transition:none; }
.agentui .hp-caps-graph-core { animation:none; }
}
.agentui .hp-caps-ui--src { justify-content:center; gap:9px; }
.agentui .hp-caps-srclist { gap:9px; }
.agentui .hp-caps-srclist li { gap:12px; border:1px solid rgba(15,23,42,.05); border-radius:12px; padding:11px 13px; box-shadow:0 1px 2px rgba(15,23,42,.05); }
.agentui .hp-caps-srclogo { width:38px; height:38px; border-radius:10px; background:#fff; border:1px solid rgba(15,23,42,.06); box-shadow:0 1px 2px rgba(15,23,42,.05); }
.agentui .hp-caps-srclogo img { width:24px; height:24px; }
.agentui .hp-caps-srcname { font:600 14px/1 Inter, system-ui, sans-serif; color:#1e293b; }
.agentui .hp-caps-toggle-lbl { font-size:13.5px; }
.agentui .hp-caps-logo { width:40px; height:40px; border-radius:11px; box-shadow:0 1px 2px rgba(15,23,42,.05); }
.agentui .hp-caps-logo img { width:26px; height:26px; }
.agentui .hp-caps-graph { width:140px; height:80px; }
.agentui .hp-caps-graph-halo { transform-box:fill-box; transform-origin:center; animation:agentui-hp-caps-halo 2.8s ease-in-out infinite; }
@keyframes agentui-hp-caps-halo { 0%,100%{ opacity:.14; transform:scale(1) } 50%{ opacity:.30; transform:scale(1.14) } }
.agentui .hp-caps-memct { background:rgba(15,23,42,.05); border-radius:6px; padding:4px 7px; }
.agentui .hp-caps-tile { box-shadow:0 1px 2px rgba(15,23,42,.05); }
.agentui .hp-caps-ring svg { filter:drop-shadow(0 2px 5px rgba(109,40,217,.28)); }
.agentui .hp-caps-prompt { box-shadow:0 1px 2px rgba(15,23,42,.04); }
.agentui .hp-caps-exec { box-shadow:0 5px 14px -5px rgba(109,40,217,.5); }
.agentui .hp-caps-heat { gap:6px; }
.agentui .hp-caps-heat i { border-radius:7px; box-shadow:inset 0 1px 0 rgba(255,255,255,.5), inset 0 0 0 1px rgba(255,255,255,.16); }
@media (prefers-reduced-motion:reduce) {
.agentui .hp-caps-graph-halo { animation:none; }
}
.agentui .hp-caps-ui--mmm { gap:9px; }
.agentui .hp-caps-satwrap { position:relative; }
.agentui .hp-caps-sat { width:100%; height:auto; display:block; }
.agentui .hp-caps-sat-mark { position:absolute; top:3%; left:55%; font:700 9px/1 'JetBrains Mono',monospace; letter-spacing:.04em; color:#6D28D9; background:rgba(124,58,237,.1); border-radius:6px; padding:4px 7px; white-space:nowrap; }
.agentui .hp-caps-sat-ax { display:flex; justify-content:space-between; font:600 9px/1 'JetBrains Mono',monospace; letter-spacing:.08em; text-transform:uppercase; color:rgba(15,23,42,.4); padding:0 2px; }
.agentui .hp-caps-ui--recipes { justify-content:center; gap:10px; }
.agentui .hp-caps-recipes { list-style:none; margin:0; padding:0; display:flex; flex-direction:column; gap:8px; }
.agentui .hp-caps-recipes li { display:flex; align-items:center; gap:11px; background:#fff; border:1px solid rgba(15,23,42,.06); border-radius:11px; padding:10px 12px; box-shadow:0 1px 2px rgba(15,23,42,.05); }
.agentui .hp-caps-rcp-ico { width:27px; height:27px; flex:none; border-radius:8px; background:rgba(124,58,237,.1); display:grid; place-items:center; }
.agentui .hp-caps-rcp-ico svg { width:15px; height:15px; }
.agentui .hp-caps-rcp-name { flex:1; min-width:0; font:600 13px/1.25 Inter, system-ui, sans-serif; color:#1e293b; }
.agentui .hp-caps-rcp-go { flex:none; font:600 15px/1 Inter,sans-serif; color:#c4b5fd; }
.agentui .hp-caps-rcp-more { align-self:center; font:600 11.5px/1 Inter,sans-serif; color:#6D28D9; }
.agentui .hp-caps-ailogos { display:flex; align-items:stretch; gap:8px; }
.agentui .hp-caps-ai { flex:1; display:flex; flex-direction:column; align-items:center; gap:8px; background:#fff; border:1px solid rgba(15,23,42,.06); border-radius:12px; padding:13px 6px 11px; box-shadow:0 1px 2px rgba(15,23,42,.05); }
.agentui .hp-caps-ai-mark { width:30px; height:30px; display:grid; place-items:center; }
.agentui .hp-caps-ai-mark svg { width:27px; height:27px; }
.agentui .hp-caps-ai-name { font:600 11px/1 Inter, system-ui, sans-serif; color:#475569; }
.agentui .hp-caps-ui--dna { gap:11px; }
.agentui .hp-caps-dnawrap { display:flex; gap:13px; align-items:stretch; }
.agentui .hp-caps-creative { position:relative; width:42%; flex:none; min-height:124px; border-radius:13px; overflow:hidden; background:linear-gradient(150deg,#FB7185,#E0484D 38%,#7C3AED); box-shadow:0 8px 18px -9px rgba(109,40,217,.55); }
.agentui .hp-caps-cr-badge { position:absolute; top:9px; left:9px; font:700 8px/1 'JetBrains Mono',monospace; letter-spacing:.14em; color:#fff; background:rgba(255,255,255,.22); border-radius:5px; padding:4px 6px; }
.agentui .hp-caps-cr-headline { position:absolute; top:50%; left:13px; right:10px; transform:translateY(-58%); font:800 20px/1.04 'Inter Tight',Inter,sans-serif; color:#fff; letter-spacing:-.01em; text-shadow:0 1px 10px rgba(0,0,0,.2); }
.agentui .hp-caps-cr-cta { position:absolute; left:11px; bottom:11px; font:700 9px/1 Inter,sans-serif; color:#3b1d6e; background:#fff; border-radius:999px; padding:6px 11px; }
.agentui .hp-caps-dnapills { list-style:none; margin:0; padding:0; flex:1; min-width:0; display:flex; flex-direction:column; justify-content:center; gap:8px; }
.agentui .hp-caps-dnapills li { display:flex; align-items:center; gap:9px; font:600 12px/1 Inter, system-ui, sans-serif; color:#334155; background:#fff; border:1px solid rgba(15,23,42,.06); border-radius:999px; padding:8px 12px; box-shadow:0 1px 2px rgba(15,23,42,.04); }
.agentui .hp-caps-dna-dot { width:7px; height:7px; border-radius:50%; flex:none; background:linear-gradient(135deg,#a78bfa,#6D28D9); }
.agentui .hero .lede { min-height:3.4em; }
@media (max-width:980px) {
.agentui .hero .lede { min-height:4.2em; }
}
@media (max-width:768px) {
.agentui .hero .lede { min-height:5.2em; }
}
.agentui .hero .lede-rot { display:inline-block; }
.agentui *, .agentui *::before, .agentui *::after { font-family:'Manrope', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif !important; }
.agentui h1, .agentui h1 *, .agentui h2, .agentui h2 *, .agentui h3, .agentui h3 *, .agentui h4, .agentui .hp-section-title, .agentui .hp-section-title *, .agentui .hp-caps-title, .agentui .hp-howit-step-title, .agentui .hp-perf-title, .agentui .hp-perf-title *, .agentui .hp-final-title, .agentui .hp-uc-echo {
  font-family:'Raleway', 'Manrope', system-ui, sans-serif !important;
  text-wrap:balance;                    
}
.agentui #warm-hero h1, .agentui #warm-hero h1 * { font-weight:900 !important; }
@media (min-width:781px) {
.agentui .hp-fused-shell--head .hp-section-title { max-width:none !important; white-space:nowrap; }
}
/* Hide Connected-sources on dash/connect/graph. It used to teleport left->right on graph (454px
   layout jump the auto-demo replayed = the "dancing" CLS); fading out costs zero shift. */
.agentui:has(.view[data-view="dash"].is-active) .float-sources,
.agentui:has(.view[data-view="connect"].is-active) .float-sources,
.agentui:has(.view[data-view="graph"].is-active) .float-sources {
  opacity:0; visibility:hidden; transition:opacity .25s ease, visibility .25s;
}
/* Floating compliance badges — SOC 2 + HIPAA — shown ONLY on graph + connectors views (bottom-left) */
.agentui .float-compliance {
  top:auto; left:-16px; bottom:-14px;
  display:flex; align-items:center; gap:10px; padding:9px 13px;
  opacity:0; visibility:hidden; transition:opacity .3s ease, visibility .3s;
  z-index:5;
}
.agentui:has(.view[data-view="graph"].is-active) .float-compliance,
.agentui:has(.view[data-view="connect"].is-active) .float-compliance,
.agentui:has(.view[data-view="gov"].is-active) .float-compliance,
.agentui:has(.view[data-view="dash"].is-active) .float-compliance {
  opacity:1; visibility:visible;
}
.agentui .fcc-logo { height:50px; width:auto; display:block; object-fit:contain; flex-shrink:0; }
.agentui .view[data-view="dash"] .mcc {
  flex:1 1 auto; min-height:0;
  display:flex; flex-direction:column;
  gap:clamp(15px,2.3vw,24px);
  padding:8px 2px 2px;
}
.agentui .mcc-ask { display:flex; align-items:center; gap:11px; flex:0 0 auto; }
.agentui .mcc-ask-ic { width:30px; height:30px; border-radius:9px; flex:0 0 auto;
  display:inline-flex; align-items:center; justify-content:center;
  background:rgba(167,139,250,.16); color:#c4b5fd; }
.agentui .mcc-ask-ic svg { width:17px; height:17px; display:block; }
.agentui .mcc-ask-q { font-weight:700; font-size:clamp(15px,1.5vw,17px); letter-spacing:-0.015em; color:#f3f0ff; }
.agentui .mcc-board { flex:1 1 auto; min-height:0; display:flex; flex-direction:column;
  background:oklch(1 0 0 / 0.03); border:1px solid oklch(1 0 0 / 0.07); border-radius:16px;
  padding:16px 18px; }
.agentui .mcc-board-head { display:flex; align-items:baseline; gap:12px; flex:0 0 auto; }
.agentui .mcc-board-metric { display:inline-flex; align-items:baseline; gap:9px; }
.agentui .mcc-board-big { font-weight:800; font-size:clamp(34px,3.8vw,46px); line-height:0.9; letter-spacing:-0.04em; color:#f6f4ff; font-variant-numeric:tabular-nums; }
.agentui .mcc-board-big .u { font-size:0.5em; color:#cdbcf7; font-weight:700; }
.agentui .mcc-board-delta { font-weight:800; font-size:13px; color:oklch(0.82 0.14 155); display:inline-flex; align-items:center; gap:3px; }
.agentui .mcc-board-label { font-weight:600; font-size:11px; color:oklch(0.58 0.02 285); }
.agentui .mcc-chan-cap { flex:0 0 auto; margin-top:14px; font-weight:700; font-size:10px; letter-spacing:0.13em; text-transform:uppercase; color:oklch(0.55 0.02 285); }
.agentui .mcc-chan-list { flex:1 1 auto; min-height:0; display:flex; flex-direction:column; justify-content:space-around; margin-top:4px; }
.agentui .mcc-chan-row { display:grid; grid-template-columns:24px 66px 1fr 44px; align-items:center; gap:12px; }
.agentui .mcc-chan-logo { width:24px; height:24px; border-radius:7px; flex:0 0 auto;
  display:inline-flex; align-items:center; justify-content:center; box-shadow:0 2px 5px rgba(0,0,0,.35); }
.agentui .mcc-chan-logo svg { display:block; }
.agentui .mcc-chan-logo.meta { background:#0081FB; }
.agentui .mcc-chan-logo.google { background:#fff; }
.agentui .mcc-chan-logo.linkedin { background:#0A66C2; }
.agentui .mcc-chan-logo.tiktok { background:var(--ink); box-shadow:0 2px 5px rgba(0,0,0,.35), inset 0 0 0 1px rgba(255,255,255,.14); }
.agentui .mcc-chan-name { font-weight:600; font-size:12.5px; letter-spacing:-0.01em; color:#e7e3f5; }
.agentui .mcc-chan-track { height:9px; border-radius:999px; background:oklch(1 0 0 / 0.06); overflow:hidden; }
.agentui .mcc-chan-track i { display:block; height:100%; border-radius:999px; background:linear-gradient(90deg,#6d28d9,#a78bfa); }
.agentui .mcc-chan-mult { font-weight:800; font-size:15px; color:#f6f4ff; font-variant-numeric:tabular-nums; text-align:right; }
.agentui .mcc-chan-row.is-best .mcc-chan-track i { background:linear-gradient(90deg,#8b5cf6,#c4b5fd); box-shadow:0 0 12px rgba(167,139,250,.55); }
.agentui .mcc-chan-row.is-best .mcc-chan-mult { color:#c4b5fd; }
.agentui .mcc-chan-row.is-low { opacity:0.5; }
.agentui .mcc-chan-row.is-low .mcc-chan-track i { background:rgba(255,255,255,.26); }
.agentui .mcc-reco { flex:0 0 auto; display:flex; flex-direction:column; gap:11px;
  background:linear-gradient(180deg, rgba(124,58,237,.15), rgba(124,58,237,.05));
  border:1px solid rgba(167,139,250,.30); border-radius:16px; padding:13px 15px; }
.agentui .mcc-reco-head { display:flex; align-items:center; justify-content:space-between; gap:10px; }
.agentui .mcc-reco-badge { display:inline-flex; align-items:center; gap:6px;
  font-weight:700; font-size:10px; letter-spacing:0.14em; text-transform:uppercase; color:#c4b5fd; }
.agentui .mcc-reco-badge svg { color:#a78bfa; }
.agentui .mcc-reco-cta { font-weight:700; font-size:12px; letter-spacing:-0.01em; color:#fff;
  background:linear-gradient(150deg,#7c3aed,#6d28d9); border:0; border-radius:999px; padding:7px 16px; cursor:pointer;
  box-shadow:0 4px 12px -4px rgba(124,58,237,.7); transition:transform .15s ease, box-shadow .15s ease; }
.agentui .mcc-reco-cta:hover { transform:translateY(-1px); box-shadow:0 7px 16px -5px rgba(124,58,237,.8); }
.agentui .mcc-reco-cta:focus-visible { outline:2px solid #c4b5fd; outline-offset:2px; }
.agentui .mcc-reco-move { display:flex; align-items:center; gap:9px; }
.agentui .mcc-reco-chip { width:26px; height:26px; border-radius:8px; flex:0 0 auto;
  display:inline-flex; align-items:center; justify-content:center; box-shadow:0 2px 6px rgba(0,0,0,.4); }
.agentui .mcc-reco-chip.tiktok { background:var(--ink); box-shadow:0 2px 6px rgba(0,0,0,.4), inset 0 0 0 1px rgba(255,255,255,.14); }
.agentui .mcc-reco-chip.linkedin { background:#0A66C2; }
.agentui .mcc-reco-arrow { color:oklch(0.7 0.06 286); font-weight:700; font-size:14px; }
.agentui .mcc-reco-text { font-weight:700; font-size:13.5px; letter-spacing:-0.01em; color:#f3f0ff; flex:1 1 auto; min-width:0; }
.agentui .mcc-reco-text b { font-weight:800; color:#fff; }
.agentui .mcc-reco-lift { font-weight:800; font-size:14px; color:oklch(0.82 0.14 155); flex:0 0 auto; font-variant-numeric:tabular-nums; }

/* ── KNOWLEDGE GRAPH (hivemind) view — taxonomy browser + document preview (ref image2) ── */
.agentui .view-graph { gap:0; overflow:hidden; padding:0; }   /* full-bleed: sidebar must sit flush to the edges */
.agentui .kg-browser { display:flex; gap:0; flex:1 1 auto; min-height:0; }

/* ── left: taxonomy SIDEBAR (MECE: Marketing / Sales) — own surface + tree guide-line ── */
.agentui .kg-nav { width:140px; height:100%; flex-shrink:0; overflow-y:auto; display:flex; flex-direction:column; gap:2px;
  padding:16px 11px; background:oklch(1 0 0 / 0.025); border-right:1px solid oklch(1 0 0 / 0.07); }
.agentui .kg-nav-sec { margin:13px 8px 5px; font-size:8px; letter-spacing:0.16em; text-transform:uppercase;
  color:oklch(0.52 0.012 275); font-weight:700; }
.agentui .kg-nav-sec:first-child { margin-top:2px; }
.agentui .kg-nav-item { display:flex; align-items:center; gap:8px; padding:6px 9px; border-radius:8px;
  font-size:11px; font-weight:600; letter-spacing:-0.01em; color:oklch(0.76 0.008 275); cursor:pointer;
  transition:background .15s ease, color .15s ease; }
.agentui .kg-nav-item svg { width:14px; height:14px; flex-shrink:0; opacity:0.7; }
.agentui .kg-nav-parent svg { opacity:0.5; }
.agentui .kg-nav-item:hover { background:oklch(1 0 0 / 0.05); color:oklch(0.92 0.006 275); }
/* nested channels sit under a hairline tree guide-line */
.agentui .kg-nav-sub { display:flex; flex-direction:column; gap:2px; margin:2px 0 3px 16px;
  padding-left:10px; border-left:1px solid oklch(1 0 0 / 0.10); }
.agentui .kg-nav-item.is-child { padding:5px 9px; font-size:10.5px; color:oklch(0.64 0.008 275); }
.agentui .kg-nav .kg-nav-item.is-on,
.agentui .kg-nav .kg-nav-sub .kg-nav-item.is-on { color:#fff; cursor:default;
  background:linear-gradient(180deg, oklch(0.33 0.085 282), oklch(0.25 0.075 279));
  box-shadow:0 4px 14px -5px oklch(0.25 0.075 279 / 0.55); }

/* ── right pane: knowledge-graph overview (big count · entities recalled · campaign outcomes · stats) ── */
.agentui .kg-panel { flex:1 1 auto; min-width:0; overflow-y:auto; display:flex; flex-direction:column; gap:11px;
  padding:16px 18px; }
.agentui .kg-headline { flex-shrink:0; }
.agentui .kg-bignum { font-family:var(--font-display); font-weight:800; font-size:30px; line-height:1;
  letter-spacing:-0.03em; color:oklch(0.99 0 0); font-variant-numeric:tabular-nums; }
.agentui .kg-bignum span { font-size:13px; font-weight:700; letter-spacing:0; margin-left:5px; color:oklch(0.6 0.012 275); }
.agentui .kg-sub { margin-top:5px; font-size:11px; line-height:1.4; color:oklch(0.62 0.012 275); }

.agentui .kg-cards { display:flex; flex-direction:column; gap:9px; }
.agentui .kg-card2 { padding:10px 12px; border-radius:12px; background:oklch(1 0 0 / 0.035);
  border:1px solid oklch(1 0 0 / 0.07); }
.agentui .kg-card2-h { display:flex; align-items:baseline; justify-content:space-between; margin-bottom:8px;
  font-size:8.5px; letter-spacing:0.13em; text-transform:uppercase; font-weight:700; color:oklch(0.55 0.01 275); }
.agentui .kg-card2-h span { color:var(--accent); letter-spacing:0.08em; }

/* entities recalled — 2-column chip grid */
.agentui .kg-ent-grid { display:grid; grid-template-columns:1fr 1fr; gap:6px 12px; }
.agentui .kg-ent { display:flex; align-items:center; gap:6px; min-width:0;
  font-size:10.5px; font-weight:600; letter-spacing:-0.01em; color:oklch(0.84 0.008 275); }
.agentui .kg-ent::before { content:""; width:4px; height:4px; border-radius:50%; flex-shrink:0;
  background:oklch(0.62 0.22 290 / 0.85); }
.agentui .kg-ent span { overflow:hidden; text-overflow:ellipsis; white-space:nowrap; }

/* campaign outcomes — rows */
.agentui .kg-ocrows { display:flex; flex-direction:column; gap:6px; }
.agentui .kg-oc { display:flex; align-items:center; gap:8px; }
.agentui .kg-oc-tag { flex-shrink:0; width:22px; text-align:center; font-family:var(--font-mono);
  font-size:8px; font-weight:700; color:oklch(0.99 0 0); background:oklch(0.57 0.20 286 / 0.9);
  border-radius:4px; padding:2px 0; }
.agentui .kg-oc-name { flex:1 1 auto; min-width:0; overflow:hidden; text-overflow:ellipsis; white-space:nowrap;
  font-size:11.5px; font-weight:600; color:oklch(0.9 0 0); }
.agentui .kg-oc-val { font-size:11.5px; font-weight:700; color:oklch(0.85 0 0); font-variant-numeric:tabular-nums; }
.agentui .kg-oc-delta { flex-shrink:0; width:38px; text-align:right; font-size:11.5px; font-weight:800;
  color:oklch(0.82 0.14 155); font-variant-numeric:tabular-nums; }

/* footer stats */
.agentui .kg-foot { flex-shrink:0; display:flex; gap:9px; padding-top:13px; border-top:1px solid oklch(1 0 0 / 0.07); }
.agentui .kg-stat { flex:1; display:flex; flex-direction:column; gap:3px; min-width:0; }
.agentui .kg-stat-v { font-family:var(--font-display); font-size:23px; font-weight:800; letter-spacing:-0.03em; line-height:1; color:oklch(0.98 0 0); }
.agentui .kg-stat-v i { font-style:normal; font-size:13px; font-weight:600; color:oklch(0.6 0.012 275); }
.agentui .kg-stat-l { font-size:9.5px; letter-spacing:0.06em; text-transform:uppercase; color:oklch(0.6 0.012 275); }
