.agentic-b2b-page {
    --accent: #4f46e5;
    --accent-hover: #4338ca;
    --agentic-accent: #4f46e5;
    --agentic-accent-soft: #eef2ff;
    --agentic-border: #dfe4ec;
    --agentic-muted: #5d6878;
}

.agentic-b2b-bar {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin: 0 0 1.4rem;
    padding: .65rem .75rem;
    border: 1px solid #dfe4ec;
    border-radius: 14px;
    background: rgba(255, 255, 255, .94);
    box-shadow: 0 4px 18px rgba(15, 23, 42, .05);
}

.agentic-b2b-brand {
    display: flex;
    align-items: center;
    gap: .65rem;
    min-width: 190px;
    color: #111827 !important;
    text-decoration: none;
}

.agentic-b2b-brand > span:last-child {
    display: flex;
    flex-direction: column;
    line-height: 1.1;
}

.agentic-b2b-brand strong {
    font-size: .86rem;
    letter-spacing: -.01em;
}

.agentic-b2b-brand small {
    margin-top: .22rem;
    color: #7b8492;
    font-size: .62rem;
    font-weight: 700;
    letter-spacing: .08em;
    text-transform: uppercase;
}

.agentic-b2b-mark {
    display: grid;
    width: 34px;
    height: 34px;
    place-items: center;
    border-radius: 9px;
    background: linear-gradient(135deg, #4f46e5, #2563eb);
    color: #fff;
    font-size: .69rem;
    font-weight: 900;
    letter-spacing: -.02em;
}

.agentic-b2b-links {
    display: flex;
    align-items: center;
    gap: .2rem;
    margin-left: auto;
}

.agentic-b2b-links a {
    padding: .5rem .7rem;
    border-radius: 8px;
    color: #536071 !important;
    font-size: .76rem;
    font-weight: 750;
    text-decoration: none;
}

.agentic-b2b-links a:hover,
.agentic-b2b-links a[aria-current="page"] {
    background: #eef2ff;
    color: #3730a3 !important;
}

.agentic-theme-toggle {
    display: inline-flex;
    align-items: center;
    gap: .42rem;
    min-height: 36px;
    padding: .48rem .7rem;
    border: 1px solid #d8dee8;
    border-radius: 9px;
    background: #fff;
    color: #374151;
    cursor: pointer;
    font: inherit;
    font-size: .72rem;
    font-weight: 750;
}

.agentic-theme-toggle:hover {
    border-color: #a5b4fc;
    background: #f8faff;
}

.agentic-theme-toggle svg {
    width: 15px;
    height: 15px;
    fill: none;
    stroke: currentColor;
    stroke-linecap: round;
    stroke-linejoin: round;
    stroke-width: 1.8;
}

.agentic-theme-sun { display: none; }

[data-theme="light"] .agentic-b2b-page .aig-hero {
    border-color: #d9e0ea;
    background:
        radial-gradient(circle at 86% 8%, rgba(79, 70, 229, .13), transparent 34%),
        radial-gradient(circle at 70% 92%, rgba(37, 99, 235, .09), transparent 35%),
        linear-gradient(145deg, #ffffff 0%, #f7f9fd 68%, #eef2ff 100%);
    box-shadow: 0 14px 45px rgba(15, 23, 42, .07);
    color: #0f172a;
}

[data-theme="light"] .agentic-b2b-page .aig-eyebrow { color: #4f46e5; }
[data-theme="light"] .agentic-b2b-page .aig-hero h1 { color: #111827; }
[data-theme="light"] .agentic-b2b-page .aig-deck { color: #485466; }
[data-theme="light"] .agentic-b2b-page .aig-meta { color: #727d8d; }
[data-theme="light"] .agentic-b2b-page .aig-jump a {
    border-color: #c7d2fe;
    background: #eef2ff;
    color: #3730a3;
}
[data-theme="light"] .agentic-b2b-page .aig-jump a:hover { background: #e0e7ff; }
[data-theme="light"] .agentic-b2b-page .aig-principle {
    border-left-color: #4f46e5;
    background: #eef2ff;
    color: #25304a;
}
[data-theme="light"] .agentic-b2b-page .aig-card,
[data-theme="light"] .agentic-b2b-page .aig-check,
[data-theme="light"] .agentic-b2b-page .aig-table-wrap,
[data-theme="light"] .agentic-b2b-page .aig-evidence,
[data-theme="light"] .agentic-b2b-page .aig-cta {
    border-color: #dfe4ec;
    background: #fff;
    box-shadow: 0 5px 20px rgba(15, 23, 42, .045);
}
[data-theme="light"] .agentic-b2b-page .aig-card .num,
[data-theme="light"] .agentic-b2b-page .aig-table th { color: #4f46e5; }
[data-theme="light"] .agentic-b2b-page .aig-table th { background: #f5f7ff; }
[data-theme="light"] .agentic-b2b-page .aig-btn.primary { background: #4f46e5; color: #fff; }
[data-theme="light"] .agentic-b2b-page .aig-btn.secondary { border-color: #cfd6e1; color: #263244; }

[data-theme="light"] .agentic-b2b-page .agi-stat,
[data-theme="light"] .agentic-b2b-page .agi-card,
[data-theme="light"] .agentic-b2b-page .agi-sweep,
[data-theme="light"] .agentic-b2b-page .agi-cta {
    border-color: #dfe4ec;
    background: #fff;
    box-shadow: 0 5px 20px rgba(15, 23, 42, .045);
}
[data-theme="light"] .agentic-b2b-page .agi-stat .agi-num,
[data-theme="light"] .agentic-b2b-page .agi-method .agi-step { color: #4f46e5; }
[data-theme="light"] .agentic-b2b-page .agi-status-verified { color: #047857; border-color: #6ee7b7; background: #ecfdf5; }
[data-theme="light"] .agentic-b2b-page .agi-status-monitored { color: #1d4ed8; border-color: #93c5fd; background: #eff6ff; }
[data-theme="light"] .agentic-b2b-page .agi-status-unverified { color: #92400e; border-color: #fcd34d; background: #fffbeb; }
[data-theme="light"] .agentic-b2b-page .agi-status-offline { color: #b91c1c; border-color: #fca5a5; background: #fef2f2; }
[data-theme="light"] .agentic-b2b-page .agi-sweep .agi-sweep-date { color: #172033; }
[data-theme="light"] .agentic-b2b-page .agi-btn { background: #4f46e5; color: #fff; }

[data-theme="light"] .agentic-b2b-page .agw-hero {
    padding: 2.6rem 2rem;
    border: 1px solid #dfe4ec;
    border-radius: 20px;
    background:
        radial-gradient(circle at 90% 0%, rgba(79, 70, 229, .12), transparent 34%),
        linear-gradient(145deg, #fff, #f5f7ff);
    box-shadow: 0 12px 40px rgba(15, 23, 42, .06);
}
[data-theme="light"] .agentic-b2b-page .agw-eyebrow { color: #4f46e5; }
[data-theme="light"] .agentic-b2b-page .agw-badge { border-color: #a5b4fc; background: #eef2ff; color: #3730a3; }
[data-theme="light"] .agentic-b2b-page .agw-section h2 { border-left-color: #4f46e5; }
[data-theme="light"] .agentic-b2b-page .agw-tool {
    border-color: #dfe4ec;
    background: #fff;
    box-shadow: 0 4px 15px rgba(15, 23, 42, .035);
}
[data-theme="light"] .agentic-b2b-page .agw-tool .agw-tool-name,
[data-theme="light"] .agentic-b2b-page .agw-steps li::before { color: #4f46e5; border-color: #818cf8; }

[data-theme="dark"] .agentic-b2b-bar {
    border-color: rgba(255, 255, 255, .09);
    background: rgba(17, 23, 42, .94);
    box-shadow: 0 5px 22px rgba(0, 0, 0, .2);
}
[data-theme="dark"] .agentic-b2b-brand { color: #f8fafc !important; }
[data-theme="dark"] .agentic-b2b-brand small { color: #8d99aa; }
[data-theme="dark"] .agentic-b2b-links a { color: #b5c0ce !important; }
[data-theme="dark"] .agentic-b2b-links a:hover,
[data-theme="dark"] .agentic-b2b-links a[aria-current="page"] { background: rgba(99, 102, 241, .18); color: #c7d2fe !important; }
[data-theme="dark"] .agentic-theme-toggle {
    border-color: rgba(255, 255, 255, .13);
    background: rgba(255, 255, 255, .045);
    color: #d6deea;
}
[data-theme="dark"] .agentic-theme-toggle:hover { border-color: #6366f1; background: rgba(99, 102, 241, .12); }
[data-theme="dark"] .agentic-theme-moon { display: none; }
[data-theme="dark"] .agentic-theme-sun { display: block; }

@media (max-width: 760px) {
    .agentic-b2b-bar { align-items: flex-start; flex-wrap: wrap; padding: .7rem; }
    .agentic-b2b-brand { min-width: 0; }
    .agentic-b2b-links { order: 3; width: 100%; overflow-x: auto; margin: .1rem 0 0; padding-top: .25rem; border-top: 1px solid #e5e9f0; }
    [data-theme="dark"] .agentic-b2b-links { border-top-color: rgba(255, 255, 255, .09); }
    .agentic-b2b-links a { flex: 1; text-align: center; white-space: nowrap; }
    .agentic-theme-toggle { margin-left: auto; }
}

@media (max-width: 430px) {
    .agentic-theme-toggle span { display: none; }
    .agentic-theme-toggle { width: 36px; justify-content: center; padding: .45rem; }
}