/* The same embedded UI vocabulary as the Bunny FAB, with distinct MCP and
   administration scenes. Text stays in localized HTML, never baked into art. */
.bunny-illustration { --illustration-blue: #628db6; --illustration-green: #33816b; min-width: 0; }
.bunny-illustration-intro { margin-bottom: 16px; }
.bunny-illustration-intro > small { display: block; margin-bottom: 7px; font-size: 10px; letter-spacing: .08em; font-weight: 700; color: var(--demo-accent); }
.bunny-illustration-intro > strong { display: block; font-size: 19px; letter-spacing: -.02em; line-height: 1.4; color: var(--demo-ink); }
.bunny-illustration-header { display: flex; align-items: center; gap: 10px; padding: 12px 16px; border-bottom: 1px solid var(--demo-border); background: #fff; }
.bunny-illustration-header > div { flex: 1; min-width: 0; }
.bunny-illustration-header strong { display: block; font-size: 15px; font-weight: 600; }
.bunny-illustration-header small { display: block; color: #8a94a6; font-size: 11px; margin-top: 2px; }
.bunny-illustration-status { display: inline-flex; gap: 5px; align-items: center; border-radius: 6px; padding: 5px 7px; background: #eef5f2; color: var(--illustration-green); font-size: 10px; font-weight: 600; }
.bunny-illustration-footnote { display: flex; justify-content: center; align-items: center; gap: 5px; color: #8a94a6; font-size: 10px; line-height: 1.5; margin: 16px 0 0; }
.bunny-hub-workspace { background: #eef1f6; padding: 16px; }
.bunny-hub-request { display: flex; align-items: flex-start; gap: 9px; border: 1px solid #e2d8d4; border-radius: 12px; padding: 11px 13px; background: #fff; font-size: 13px; line-height: 1.55; }
.bunny-hub-request > i { color: var(--demo-accent); font-size: 15px; margin-top: 3px; }
.bunny-hub-network { position: relative; min-height: 204px; display: grid; grid-template-columns: 1fr 1.15fr 1fr; gap: 20px; align-items: center; margin: 16px 0 8px; }
.bunny-hub-connections { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; pointer-events: none; }
.hub-wire { stroke: #ced7e2; stroke-width: 2; fill: none; }
.hub-wire-flow { stroke: var(--demo-accent); stroke-width: 3; stroke-linecap: round; stroke-dasharray: 4 12; fill: none; opacity: 0; animation: bunny-hub-flow 1.6s linear infinite; }
.bunny-hub-side, .bunny-hub-center { z-index: 1; text-align: center; min-width: 0; }
.bunny-hub-side > small { display: block; min-height: 32px; font-size: 10px; line-height: 1.5; color: #8a94a6; }
.bunny-hub-node { min-height: 100px; padding: 15px 9px; background: #fff; border: 1px solid #dce2eb; border-radius: 12px; color: #6b7688; transition: border-color .35s, box-shadow .35s; }
.bunny-hub-node > i { display: block; font-size: 18px; margin-bottom: 8px; color: #6c86a4; }
.bunny-hub-node > strong { display: block; font-size: 11px; line-height: 1.5; font-weight: 600; overflow-wrap: anywhere; }
.bunny-hub-node > span { display: block; font-size: 11px; color: #b4bcc8; margin: 3px 0; }
.is-systems .bunny-hub-node { display: grid; grid-template-columns: auto 1fr; column-gap: 5px; align-items: center; min-height: 100px; text-align: start; }
.is-systems .bunny-hub-node > i { font-size: 14px; margin: 0; }
.is-systems .bunny-hub-node > span { grid-column: 1 / -1; text-align: center; }
.bunny-hub-protocol { display: block; font-size: 9px; color: #6b7688; margin-top: 10px; white-space: nowrap; }
.bunny-hub-protocol i { font-size: 8px; }
.bunny-hub-center > span { display: block; font-size: 13px; color: #47739b; font-weight: 600; margin-bottom: 7px; }
.bunny-hub-core { display: flex; align-items: center; flex-direction: column; min-height: 142px; padding: 16px 8px 13px; border: 1px solid #dbb7a9; border-radius: 14px; background: #fffaf8; box-shadow: 0 7px 20px rgba(208,99,75,.06); }
.bunny-hub-core .bunny-demo-avatar { width: 44px; height: 44px; }
.bunny-hub-core > strong { margin-top: 9px; font-size: 14px; font-weight: 600; }
.bunny-hub-core > small { margin-top: 4px; font-size: 9px; line-height: 1.4; color: #9c7a6c; }
.bunny-hub-sources { display: flex; align-items: center; justify-content: center; gap: 12px; min-height: 27px; margin-bottom: 11px; font-size: 10px; color: var(--illustration-green); opacity: 0; transition: opacity .3s; }
.bunny-hub-sources > span { display: flex; align-items: center; gap: 4px; }
.bunny-hub-sources i { font-size: 8px; }
.bunny-hub-report { position: relative; padding: 14px; border: 1px solid #dce2eb; background: #fff; border-radius: 12px; min-height: 159px; }
.bunny-hub-report-heading { display: flex; gap: 10px; align-items: center; }
.bunny-hub-report-icon { display: inline-flex; align-items: center; justify-content: center; width: 32px; height: 37px; color: #6383a6; background: #eef2f7; border-radius: 5px; font-size: 17px; flex-shrink: 0; }
.bunny-hub-report-heading > div { flex: 1; min-width: 0; }
.bunny-hub-report-heading small { display: block; color: #8a94a6; font-size: 9px; }
.bunny-hub-report-heading strong { display: block; font-size: 13px; margin-top: 3px; line-height: 1.5; }
.bunny-hub-done { opacity: 0; font-size: 16px; color: var(--illustration-green); }
.bunny-hub-report-skeleton { margin: 14px 0 0; display: flex; flex-direction: column; gap: 7px; }
.bunny-hub-report-skeleton span { background: #edf0f5; height: 6px; border-radius: 3px; width: 85%; }
.bunny-hub-report-skeleton span:nth-child(2) { width: 65%; }
.bunny-hub-report-skeleton span:last-child { width: 75%; }
.bunny-hub-report-content { display: none; margin: 12px 0; }
.bunny-hub-report-content p { display: flex; gap: 6px; align-items: baseline; margin: 6px 0; color: #6b7688; font-size: 11px; line-height: 1.5; }
.bunny-hub-report-content p i { font-size: 9px; color: var(--illustration-green); }
.bunny-hub-working { display: none; align-items: center; gap: 5px; margin-top: 14px; font-size: 11px; color: #a55c47; }
.bunny-hub-working > span { width: 5px; height: 5px; border-radius: 50%; background: var(--demo-accent); animation: bunny-demo-bounce 1.2s ease-in-out infinite; }
.bunny-hub-return { display: none; flex-wrap: wrap; gap: 7px 12px; border-top: 1px solid #edf0f4; padding-top: 10px; color: var(--illustration-green); font-size: 10px; line-height: 1.5; }
.bunny-hub-return > span { display: flex; align-items: center; gap: 4px; }
.bunny-hub-demo[data-stage="0"] .hub-wire-in { opacity: 1; }
.bunny-hub-demo[data-stage="0"] .is-agents .bunny-hub-node { border-color: #d9a08a; }
.bunny-hub-demo[data-stage="1"] .hub-wire-out { opacity: 1; }
.bunny-hub-demo[data-stage="1"] .is-systems .bunny-hub-node { border-color: #93c4b2; box-shadow: 0 0 0 3px rgba(51,129,107,.06); }
.bunny-hub-demo[data-stage="1"] .bunny-hub-sources, .bunny-hub-demo[data-stage="2"] .bunny-hub-sources, .bunny-hub-demo[data-stage="3"] .bunny-hub-sources { opacity: 1; }
.bunny-hub-demo[data-stage="2"] .hub-wire-out { opacity: 1; animation-direction: reverse; }
.bunny-hub-demo[data-stage="2"] .bunny-hub-core { animation: bunny-hub-core-pulse 1.8s ease-in-out infinite; }
.bunny-hub-demo[data-stage="2"] .bunny-hub-report-skeleton { animation: bunny-hub-skeleton 1.5s ease-in-out infinite; }
.bunny-hub-demo[data-stage="2"] .bunny-hub-working { display: flex; }
.bunny-hub-demo[data-stage="3"] .bunny-hub-report-skeleton { display: none; }
.bunny-hub-demo[data-stage="3"] .bunny-hub-done { opacity: 1; }
.bunny-hub-demo[data-stage="3"] .bunny-hub-report-content { display: block; animation: bunny-demo-reveal .4s both; }
.bunny-hub-demo[data-stage="3"] .bunny-hub-return { display: flex; animation: bunny-demo-reveal .4s .2s both; }
.bunny-illustration[data-motion-paused="true"] .bunny-hub-report-content,
.bunny-illustration[data-motion-paused="true"] .bunny-hub-return { animation: none; }
.bunny-governance-top { display: flex; justify-content: space-between; align-items: center; gap: 10px; padding: 13px 16px; background: var(--illustration-blue); color: #fff; font-size: 12px; }
.bunny-governance-top > span:first-child { display: flex; align-items: center; gap: 7px; font-weight: 600; }
.bunny-governance-top > span:last-child { font-size: 11px; opacity: .9; }
.bunny-governance-tabs { display: flex; justify-content: space-around; gap: 8px; padding: 0 16px; border-bottom: 1px solid #d4dbe3; background: #fff; }
.bunny-governance-tabs > span { padding: 11px 0 8px; font-size: 10px; color: #8a94a6; border-bottom: 2px solid transparent; }
.bunny-governance-demo[data-stage="0"] .bunny-governance-tabs > span:nth-child(1), .bunny-governance-demo[data-stage="1"] .bunny-governance-tabs > span:nth-child(2), .bunny-governance-demo[data-stage="2"] .bunny-governance-tabs > span:nth-child(3), .bunny-governance-demo[data-stage="3"] .bunny-governance-tabs > span:nth-child(4) { color: #447098; border-color: var(--illustration-blue); }
.bunny-governance-workspace { background: #f6f8fa; padding: 16px; }
.bunny-governance-identity { display: flex; gap: 10px; align-items: center; padding: 12px; border: 1px solid #dce2eb; border-radius: 10px; background: #fff; }
.bunny-governance-identity > div { flex: 1; min-width: 0; }
.bunny-governance-identity small { display: block; font-size: 10px; color: #8a94a6; }
.bunny-governance-identity strong { display: block; font-size: 13px; margin: 4px 0; font-weight: 600; line-height: 1.4; }
.bunny-governance-identity > div > span { display: block; font-size: 10px; color: #8a94a6; line-height: 1.5; }
.bunny-governance-identity > i { font-size: 13px; color: #769986; }
.bunny-governance-scenes { position: relative; height: 238px; margin: 12px 0; }
.bunny-governance-scene { position: absolute; inset: 0; visibility: hidden; opacity: 0; pointer-events: none; padding: 13px; border: 1px solid #dce2eb; border-radius: 10px; background: #fff; transition: opacity .3s, transform .3s; transform: translateY(5px); overflow-y: auto; scrollbar-width: thin; overscroll-behavior: contain; }
.bunny-governance-demo[data-stage="0"] .is-identity, .bunny-governance-demo[data-stage="1"] .is-tools, .bunny-governance-demo[data-stage="2"] .is-budget, .bunny-governance-demo[data-stage="3"] .is-audit { visibility: visible; opacity: 1; pointer-events: auto; transform: translateY(0); }
.bunny-governance-access-row { display: flex; justify-content: space-between; gap: 8px; align-items: center; padding: 13px 1px; border-bottom: 1px solid #edf0f4; font-size: 12px; }
.bunny-governance-access-row > span { display: inline-flex; align-items: center; gap: 7px; }
.bunny-governance-access-row > span > i { color: #6f8cad; font-size: 14px; }
.bunny-governance-scene b { font-size: 10px; font-weight: 500; white-space: nowrap; }
.bunny-governance-access-row b { display: inline-flex; align-items: center; gap: 5px; border-radius: 5px; padding: 4px 6px; }
.bunny-governance-scene .is-allowed { color: #33816b; background: #eef7f3; }
.bunny-governance-scene .is-denied { color: #a35748; background: #fcf0ed; }
.bunny-governance-scope-path { display: flex; align-items: center; justify-content: center; gap: 12px; margin: 29px 0 0; color: #628db6; }
.bunny-governance-scope-path > i { font-size: 25px; }
.bunny-governance-scope-path > span:not(.bunny-demo-avatar) { width: 35px; height: 2px; background: #cdd9e4; position: relative; overflow: hidden; }
.bunny-governance-scope-path > span:not(.bunny-demo-avatar)::after { content: ''; position: absolute; left: 0; width: 8px; height: 2px; background: #628db6; animation: bunny-governance-link 1.4s linear infinite; }
.bunny-governance-scene > strong { font-size: 13px; display: block; }
.bunny-governance-scene > p { margin: 6px 0 14px; font-size: 11px; line-height: 1.5; color: #8a94a6; }
.bunny-governance-tool { display: flex; align-items: center; gap: 9px; border-top: 1px solid #edf0f4; padding: 12px 0; }
.bunny-governance-tool > i { color: #628db6; font-size: 15px; }
.bunny-governance-tool code { flex: 1; min-width: 0; font: 11px 'SFMono-Regular', Consolas, monospace; color: #3b4657; padding: 0; background: none; }
.bunny-governance-tool > span { font-size: 9px; color: #33816b; }
.bunny-governance-tool.is-disabled code, .bunny-governance-tool.is-disabled i, .bunny-governance-tool.is-disabled span { color: #a0a8b4; }
.bunny-governance-limit { display: flex; justify-content: space-between; align-items: center; gap: 10px; padding: 4px 0 16px; font-size: 12px; color: #6b7688; border-bottom: 1px solid #edf0f4; }
.bunny-governance-limit strong { font-size: 24px; color: #3b4657; font-weight: 500; }
.bunny-governance-limit small { font-size: 9px; font-weight: 400; color: #8a94a6; }
.bunny-governance-stop { display: flex; align-items: center; gap: 9px; padding: 15px 11px; margin: 17px 0; background: #fcf0ed; border: 1px solid #efd7cc; border-radius: 7px; color: #a35748; }
.bunny-governance-stop > i { font-size: 20px; }
.bunny-governance-stop > strong { font-size: 12px; font-weight: 500; line-height: 1.5; }
.bunny-governance-pending { display: flex; align-items: center; flex-wrap: wrap; gap: 5px; font-size: 10px; color: #8a94a6; }
.bunny-governance-pending > span { margin-left: auto; border-radius: 4px; padding: 3px 5px; background: #fdf3e5; color: #aa7b37; }
.bunny-governance-audit-heading { display: flex; justify-content: space-between; align-items: center; margin-bottom: 9px; }
.bunny-governance-audit-heading > strong { font-size: 13px; }
.bunny-governance-audit-heading > span { font-size: 10px; color: #7a8596; background: #f1f3f7; border-radius: 4px; padding: 3px 5px; }
.bunny-governance-audit-row { display: grid; grid-template-columns: 1fr auto; gap: 8px; align-items: center; padding: 10px 0; border-bottom: 1px solid #edf0f4; font-size: 11px; line-height: 1.5; }
.bunny-governance-audit-row.is-heading { padding: 3px 0 7px; color: #8a94a6; font-size: 9px; }
.bunny-governance-audit-row b { padding: 3px 5px; border-radius: 4px; font-size: 9px; }
.bunny-governance-audit-row .is-budget-stop { color: #aa7b37; background: #fdf3e5; }
.bunny-governance-json { margin-top: 10px; }
.bunny-governance-json > summary { display: flex; align-items: center; justify-content: space-between; gap: 8px; cursor: pointer; font-size: 10px; color: #628db6; list-style: none; }
.bunny-governance-json > summary::-webkit-details-marker { display: none; }
.bunny-governance-json[open] > summary > i { transform: rotate(180deg); }
.bunny-governance-json pre { margin: 9px 0 0; padding: 10px; background: #eef1f6; border-radius: 6px; font: 10px/1.6 'SFMono-Regular', Consolas, monospace; white-space: pre-wrap; overflow-wrap: anywhere; }
.bunny-governance-budget-bar { padding: 12px; border: 1px solid #dce2eb; border-radius: 10px; background: #fff; }
.bunny-governance-budget-bar > div:first-child { display: flex; justify-content: space-between; gap: 8px; align-items: center; font-size: 11px; }
.bunny-governance-budget-bar > div:first-child > small { font-size: 9px; color: #8a94a6; }
.bunny-governance-budget-meta { display: flex; justify-content: space-between; gap: 7px; align-items: center; margin-top: 9px; }
.bunny-governance-budget-meta strong { font-size: 15px; font-weight: 500; }
.bunny-governance-budget-meta strong > small { font-size: 10px; font-weight: 400; color: #8a94a6; }
.bunny-governance-budget-state { color: #33816b; font-size: 9px; text-align: end; }
.bunny-governance-budget-track { height: 5px; margin-top: 10px; border-radius: 99px; background: #e6eaf0; overflow: hidden; }
.bunny-governance-budget-track > span { display: block; height: 100%; width: 64.8%; background: #60a88b; border-radius: inherit; transition: width 1.2s ease, background 1.2s ease; }
.bunny-governance-spend-after { display: none; }
.bunny-governance-demo[data-stage="2"] .bunny-governance-spend-before, .bunny-governance-demo[data-stage="3"] .bunny-governance-spend-before { display: none; }
.bunny-governance-demo[data-stage="2"] .bunny-governance-spend-after, .bunny-governance-demo[data-stage="3"] .bunny-governance-spend-after { display: inline; }
.bunny-governance-demo[data-stage="2"] .bunny-governance-budget-track > span, .bunny-governance-demo[data-stage="3"] .bunny-governance-budget-track > span { width: 100%; background: #d0634b; }
.bunny-governance-demo[data-stage="2"] .bunny-governance-budget-state, .bunny-governance-demo[data-stage="3"] .bunny-governance-budget-state { color: #a35748; }
@keyframes bunny-hub-flow { to { stroke-dashoffset: -48; } }
@keyframes bunny-hub-core-pulse { 50% { box-shadow: 0 0 0 5px rgba(208,99,75,.07); } }
@keyframes bunny-hub-skeleton { 50% { opacity: .45; } }
@keyframes bunny-governance-link { to { transform: translateX(35px); } }
/* Settings are a readable teaching UI, not a scaled-down screenshot. Each step
   names its takeaway, and the budget meter belongs only to the budget step. */
.bunny-governance-focus { margin-bottom: 16px; color: #26394f; }
.bunny-governance-focus > strong { display: none; font-size: 18px; line-height: 1.45; }
.bunny-governance-demo[data-stage="0"] [data-governance-focus="0"],
.bunny-governance-demo[data-stage="1"] [data-governance-focus="1"],
.bunny-governance-demo[data-stage="2"] [data-governance-focus="2"],
.bunny-governance-demo[data-stage="3"] [data-governance-focus="3"] { display: block; }
.bunny-governance-top, .bunny-governance-identity strong { font-size: 16px; }
.bunny-governance-top > span:last-child,
.bunny-governance-tabs > span, .bunny-governance-identity small,
.bunny-governance-identity > div > span { font-size: 13px; color: #617086; }
.bunny-governance-top > span:last-child { color: #fff; }
.bunny-governance-scenes { height: 310px; }
.bunny-governance-scene { padding: 16px; }
.bunny-governance-access-row { font-size: 15px; padding-block: 18px; }
.bunny-governance-scene b, .bunny-governance-tool > span { font-size: 12px; white-space: normal; }
.bunny-governance-scene > strong, .bunny-governance-audit-heading > strong { font-size: 16px; }
.bunny-governance-scene > p { font-size: 14px; color: #617086; }
.bunny-governance-tool code { font-size: 14px; }
.bunny-governance-audit-row { font-size: 14px; padding-block: 13px; }
.bunny-governance-audit-row.is-heading, .bunny-governance-audit-row b,
.bunny-governance-json > summary, .bunny-governance-json pre { font-size: 12px; }
.bunny-governance-stop > strong, .bunny-governance-limit { font-size: 15px; }
.bunny-governance-pending { font-size: 13px; }
.bunny-governance-budget-bar { display: none; }
.bunny-governance-demo[data-stage="2"] .bunny-governance-budget-bar { display: block; }
.bunny-governance-budget-bar > div:first-child { font-size: 14px; }
.bunny-governance-budget-bar > div:first-child > small,
.bunny-governance-budget-state { font-size: 12px; }
@media (max-width: 640px) {
    .bunny-illustration-intro > strong { font-size: 18px; }
    .bunny-hub-workspace, .bunny-governance-workspace { padding: 12px; }
    .bunny-hub-network { gap: 12px; min-height: 193px; }
    .bunny-hub-side > small { font-size: 9px; min-height: 33px; }
    .bunny-hub-node { padding: 12px 6px; }
    .bunny-hub-node > strong { font-size: 10px; }
    .bunny-hub-protocol { font-size: 8px; }
    .bunny-hub-core { padding: 14px 6px 12px; }
    .bunny-hub-core > strong { font-size: 12px; }
    .bunny-hub-sources { gap: 8px; font-size: 9px; }
    .bunny-governance-budget-meta { flex-wrap: wrap; }
    .bunny-governance-access-row { font-size: 14px; }
    .bunny-governance-scene { padding: 11px; }
    .bunny-governance-audit-row { font-size: 13px; gap: 6px; }
    .bunny-governance-scenes { height: 335px; }
    .bunny-governance-focus > strong { font-size: 17px; }
}
@media (prefers-reduced-motion: reduce) {
    .bunny-illustration *, .bunny-illustration *::after { animation: none !important; transition: none !important; }
}
