/* Agent Intercom: an open-source infrastructure identity, scoped to its page. */
.bus-page {
  --bus-ink: #17202b;
  --bus-muted: #596573;
  --bus-accent: #245a7a;
  --bus-line: #cfd9dc;
  --bus-soft: #f5f7f9;
  --accent: var(--bus-accent);
  color: var(--bus-ink);
  background: #f8faf9;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif;
}
.bus-page .wrap { width: min(1160px, calc(100% - 80px)); }
.bus-page h1, .bus-page h2, .bus-page h3 { font-family: inherit; font-weight: 600; }
.bus-page h2 { font-size: clamp(30px, 3.6vw, 45px); line-height: 1.15; letter-spacing: -.045em; }
.bus-page h2 em { font-style: normal; color: #526173; }
.bus-page a { text-decoration: none; }
.bus-page a:focus-visible, .bus-page button:focus-visible, .bus-page summary:focus-visible { outline: 2px solid var(--bus-accent); outline-offset: 4px; }
.bus-page .text-link { color: var(--bus-accent); font-size: 13px; font-weight: 500; }
.bus-page .skip-link { z-index: 20; border-radius: 4px; background: var(--bus-ink); }
.bus-page .skip-link:not(:focus) { clip-path: inset(50%); width: 1px; height: 1px; overflow: hidden; white-space: nowrap; }
.bus-page section[id] { scroll-margin-top: 90px; }

/* Blueprint texture, with a simple introduction before the detailed examples. */
.intercom-header { position: sticky; top: 0; z-index: 10; color: #e5edf7; background: #102d50; border-bottom: 1px solid #375477; }
.intercom-header-inner { display: flex; align-items: center; justify-content: space-between; min-height: 76px; gap: 32px; }
.intercom-brand { display: inline-flex; align-items: center; flex-shrink: 0; gap: 11px; color: #f3f5f7; font-size: 21px; font-weight: 650; letter-spacing: -.045em; }
.intercom-header nav { display: flex; align-items: center; gap: 30px; font-size: 13px; font-weight: 500; color: #c5d6e8; }
.intercom-header nav a { padding-block: 12px; white-space: nowrap; }
.intercom-header .intercom-nav-github { color: #f3f5f7; }
.intercom-nav-github span { margin-left: 4px; }
.intercom-hero {
  color: #eef3f8;
  border-bottom: 1px solid #375477;
  background-color: #102d50;
  background-image: linear-gradient(#9ac8f212 1px, transparent 1px), linear-gradient(90deg, #9ac8f212 1px, transparent 1px), linear-gradient(#9ac8f208 1px, transparent 1px), linear-gradient(90deg, #9ac8f208 1px, transparent 1px);
  background-size: 160px 160px, 160px 160px, 32px 32px, 32px 32px;
  background-position: center top;
}
.intercom-hero-copy { max-width: 1000px; margin-inline: auto; padding-block: 75px 48px; text-align: center; }
.intercom-eyebrow { color: #bbd3ea; font: 11px/1.6 ui-monospace, SFMono-Regular, Consolas, monospace; letter-spacing: .08em; text-transform: uppercase; }
.intercom-hero h1 { margin: 24px 0; font-family: ui-monospace, SFMono-Regular, Consolas, 'Liberation Mono', monospace; font-size: clamp(42px, 5vw, 66px); font-weight: 500; line-height: 1.14; letter-spacing: -.065em; text-wrap: initial; }
.intercom-hero h1 > span { color: #a8cae8; }
.intercom-hero h1 .intercom-keep { white-space: nowrap; }
.intercom-intro { max-width: 640px; margin-inline: auto; color: #cbdbea; font-size: 17px; line-height: 1.8; text-wrap: pretty; }
.intercom-actions { display: flex; align-items: center; justify-content: center; gap: 12px; margin-top: 29px; }
.intercom-primary, .bus-page .github-button, .bus-paper-button { display: inline-flex; align-items: center; justify-content: center; gap: 16px; min-height: 46px; padding: 12px 20px; border: 1px solid var(--bus-accent); border-radius: 4px; background: var(--bus-accent); color: #fff; font-size: 13px; font-weight: 550; text-decoration: none; box-shadow: none; transition: background 150ms var(--ease), border-color 150ms var(--ease), transform 150ms var(--ease); }
.bus-page .github-button { gap: 10px; color: var(--bus-ink); background: #fff; border-color: #cbd2db; text-shadow: none; }
.intercom-hero .intercom-primary { color: #102d50; background: #e3edf4; border-color: #e3edf4; border-radius: 3px; }
.intercom-hero .github-button { color: #e4edf6; background: #102d50; border-color: #6783a0; border-radius: 3px; }
.bus-page .github-mark { width: 17px; height: 17px; }
.bus-page .github-star { display: none; }
.intercom-primary:active, .bus-page .github-button:active, .bus-paper-button:active { transform: scale(.98); }
.intercom-hero-note { margin-top: 18px; font-size: 11px; line-height: 1.8; color: #b5cbe0; }
.intercom-project-meta { display: flex; justify-content: center; align-items: center; gap: 36px; padding-block: 25px 29px; border-top: 1px solid #496888; font-size: 11px; line-height: 1.5; color: #bbd0e4; }
.intercom-project-meta strong { color: #e5eff7; font-weight: 500; }
.intercom-backing { display: inline-flex; align-items: center; gap: 12px; }
.bus-antler { display: inline-block; width: 65px; height: 18px; background: #d2e2ef; mask: url(/assets/antler.svg) center / contain no-repeat; -webkit-mask: url(/assets/antler.svg) center / contain no-repeat; }
.bus-page .intercom-header a:focus-visible, .bus-page .intercom-hero a:focus-visible { outline-color: #bedcf6; }

/* Integration rotation retains its cadence and accessible controls. */
.bus-visually-hidden { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; border: 0; }
.bus-connection { padding-block: 82px 88px; text-align: center; }
.bus-connection h2 { font-size: clamp(32px, 3.8vw, 49px); line-height: 1.5; letter-spacing: -.045em; }
.bus-connection-line { display: flex; align-items: center; justify-content: center; gap: .32em; }
.bus-connection-line + .bus-connection-line { margin-top: 12px; }
.bus-connection-slot { position: relative; display: inline-flex; }
.bus-connection-period { position: absolute; left: calc(100% + .08em); bottom: 0; }
.bus-agent { display: inline-flex; align-items: center; gap: 8px; font-size: 12px; font-weight: 550; white-space: nowrap; }
.bus-agent img { flex-shrink: 0; width: 22px; height: 22px; object-fit: contain; border-radius: 4px; }
.bus-connection .bus-agent { display: inline-grid; place-items: center; flex-shrink: 0; width: 9.4em; vertical-align: middle; overflow: hidden; padding: 8px 12px; border: 1px solid #ced7e3; border-radius: 5px; background: #f6f8fb; color: #344459; font: 500 .73em/1.3 -apple-system, BlinkMacSystemFont, 'Segoe UI', Arial, sans-serif; letter-spacing: -.035em; white-space: nowrap; }
.bus-connection-tool-content { grid-area: 1 / 1; display: inline-flex; align-items: center; justify-content: center; gap: clamp(8px, .3em, 13px); }
.bus-connection .bus-agent img { width: clamp(20px, .8em, 32px); height: clamp(20px, .8em, 32px); }
.bus-connection p { margin-top: 25px; font-size: 15px; line-height: 1.7; color: var(--bus-muted); }
.bus-connection .text-link { margin-top: 16px; font-size: 12px; }
.bus-connection-controls { display: flex; justify-content: center; align-items: center; gap: 12px; margin-top: 14px; color: #647183; }
.bus-connection-controls button { min-height: 36px; padding: 5px 4px; border: 0; border-radius: 3px; background: transparent; color: inherit; font-family: inherit; font-size: 11px; line-height: 1.5; cursor: pointer; }

/* Shared diagram primitives. */
.bus-small-label, .bus-plate { color: #647183; font: 10px/1.6 ui-monospace, SFMono-Regular, Consolas, monospace; letter-spacing: .065em; text-transform: uppercase; }
.bus-plate { display: inline-flex; align-items: center; gap: 12px; }
.bus-plate b { font-weight: 500; color: var(--bus-accent); padding-right: 12px; border-right: 1px solid #cbd4e1; }
.bus-paper-inner { min-width: 0; }
.bus-paper-panel--route { background: #f0f3f7; }
.bus-route { padding: 19px; border: 1px solid #d9e0e9; border-radius: 4px; background: #fff; }
.bus-route > div { display: flex; justify-content: space-between; align-items: center; gap: 8px; margin-top: 18px; }
.bus-route .bus-agent { flex-direction: column; gap: 8px; font-size: 10px; }
.bus-person { display: inline-flex; justify-content: center; align-items: center; padding: 10px 11px; border: 1px solid #dae0e8; border-radius: 4px; background: #f7f9fc; color: #526173; font-size: 10px; }
.bus-route-arrow { color: #8b98aa; }
.bus-route--connected { margin-top: 14px; border-color: #afc1e5; }
.bus-route--connected .bus-small-label { color: #365c9d; }
.bus-route--connected > div { gap: 16px; }
.bus-route-line { height: 1px; flex: 1; background: #a9bddf; }
.bus-route-scene > p { margin-top: 19px; color: #5f6f84; font: 10px/1.6 ui-monospace, SFMono-Regular, Consolas, monospace; text-align: center; }
.bus-paper-panel--machines { padding: 0; }
.bus-scene { position: relative; height: 310px; overflow: hidden; font-size: 12px; line-height: 1.5; color: #344459; }
.bus-scene-label { position: absolute; top: 25px; left: 6%; right: 6%; font: 9px/1.5 ui-monospace, SFMono-Regular, Consolas, monospace; letter-spacing: .06em; color: #58677d; }
.bus-scene-stamp { position: absolute; left: 6%; right: 6%; bottom: 24px; font: 10px/1.5 ui-monospace, SFMono-Regular, Consolas, monospace; color: #58677d; }
.bus-machine-row { display: flex; align-items: center; justify-content: center; position: absolute; top: 109px; left: 5%; right: 5%; gap: 8px; }
.bus-laptop { width: 30%; }
.bus-laptop > div { min-height: 86px; display: grid; justify-items: center; align-content: center; gap: 12px; padding: 10px 6px; border: 1px solid #a8b5c8; border-radius: 4px 4px 0 0; background: #fff; }
.bus-laptop .bus-agent { font-size: 9px; gap: 5px; }
.bus-laptop .bus-agent img { width: 18px; height: 18px; }
.bus-laptop div > span:last-child { color: #65758a; font-size: 10px; }
.bus-laptop > i { display: block; margin: 0 -4px; height: 5px; border: 1px solid #a8b5c8; border-radius: 0 0 3px 3px; background: #dfe6ef; }
.bus-machine-wire { color: #6786b6; font-size: 20px; }
.bus-server { display: flex; flex-direction: column; gap: 6px; width: 26%; min-height: 104px; padding: 12px 9px; border: 1px solid #adc0de; border-radius: 4px; background: #e5edf9; text-align: center; }
.bus-server-lights { font-size: 7px; letter-spacing: 4px; color: #5d7fb7; }
.bus-server strong { font-size: 12px; margin-top: 8px; }
.bus-server small { font-size: 9px; }

.bus-dots { display: inline-flex; flex-shrink: 0; gap: 4px; }
.bus-dots i { width: 5px; height: 5px; border-radius: 50%; background: #bbc5d3; }
.bus-window, .bus-demo { min-width: 0; border: 1px solid #c9d3e0; border-radius: 5px; background: #fff; overflow: hidden; }
.bus-window-bar { display: flex; align-items: center; gap: 10px; padding: 11px 14px; border-bottom: 1px solid #dfe5ed; color: #586b82; font-size: 10px; background: #f8fafd; }
.bus-window-body { padding: 14px 16px; }
.bus-window-body > p { margin-bottom: 7px; font: 11px/1.7 ui-monospace, SFMono-Regular, Consolas, monospace; }
.bus-window--dark { background: #182230; color: #f1f4f9; border-color: #344559; }
.bus-window--dark .bus-window-bar { background: #202e3e; border-color: #3a4a5c; color: #b9c9dc; }
.bus-code-green { color: #b3dcc6; }
.bus-code-muted { color: #b6c6d8; font-size: 10px; }
.bus-demo-bar { display: flex; align-items: center; gap: 11px; padding: 14px 17px; background: #f6f8fb; border-bottom: 1px solid #dce3ed; }
.bus-demo-bar strong { font: 10px/1.5 ui-monospace, SFMono-Regular, Consolas, monospace; color: #5a6a80; }
.bus-demo-bar > span:last-child { margin-left: auto; color: #5c6c82; font-size: 9px; }
.bus-demo-messages { padding: 23px 20px 6px; }
.bus-demo-message { display: flex; gap: 11px; margin-bottom: 18px; }
.bus-demo-message > img { flex-shrink: 0; width: 28px; height: 28px; object-fit: contain; padding: 4px; background: #fff; border: 1px solid #e0e5ec; border-radius: 4px; }
.bus-demo-message > div { flex: 1; padding: 12px 14px; border: 1px solid #e0e5ed; background: #f8fafd; border-radius: 4px; }
.bus-demo-message strong { display: block; font-size: 11px; font-weight: 600; }
.bus-demo-message strong > span { margin-left: 7px; font-size: 10px; color: #637187; font-weight: 400; }
.bus-demo-message p { margin-top: 7px; font-size: 12px; line-height: 1.75; }
.bus-demo-message--reply { margin-left: 18px; }
.bus-demo-message--reply > div { background: #f0f5ff; border-color: #d4e0f6; }
.bus-demo-task { display: flex; align-items: center; gap: 12px; margin: 0 20px 20px; padding: 12px 14px; border: 1px solid #dce5e1; border-radius: 4px; background: #f5f9f7; }
.bus-demo-task > span { color: #4b7362; }
.bus-demo-task strong { display: block; font-size: 11px; font-weight: 550; }
.bus-demo-task small { display: block; margin-top: 5px; font-size: 10px; color: #5b766b; }

.bus-command-chip { padding: 12px; border: 1px solid #d5deeb; border-radius: 4px; background: #f7f9fc; color: #40577a; font-size: 11px; white-space: nowrap; }
.bus-command-chip > span { margin-right: 9px; color: var(--bus-accent); }
.bus-workflow-panels, .bus-workflow-panel { min-width: 0; }
.bus-workflow-panel + .bus-workflow-panel:not([hidden]) { margin-top: 30px; }
.is-enhanced .bus-workflow-panel { margin-top: 0 !important; }
.bus-panel-title { font-size: 24px; line-height: 1.25; margin-bottom: 20px; }
.is-enhanced .bus-panel-title { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); }
.bus-paper-panel--collaboration { padding: 30px; }
.bus-install { overflow: hidden; background: #172231; color: #eff4fc; border: 1px solid #2b3a4f; border-radius: 5px; }
.bus-install-bar { display: flex; align-items: center; gap: 10px; padding: 11px 15px; border-bottom: 1px solid #354255; color: #b9c7d9; font-size: 11px; }
.bus-install-bar button { margin-left: auto; padding: 7px 11px; min-height: 34px; border: 1px solid #5c6d84; border-radius: 3px; color: #eff4fc; background: #233247; font-size: 11px; }
.bus-install pre { white-space: pre-wrap; overflow-wrap: anywhere; margin: 0; padding: 25px 21px; font: 12px/1.8 ui-monospace, SFMono-Regular, Consolas, monospace; color: #d9e5f8; }
.bus-page .faq-section { padding-block: 90px; border-bottom: 0; gap: 80px; }
.bus-page .eyebrow { color: #647183; font-family: ui-monospace, SFMono-Regular, Consolas, monospace; font-size: 10px; letter-spacing: .06em; }
.bus-page .faq-list details { border-color: var(--bus-line); }
.bus-page .faq-list summary { font-size: 15px; font-weight: 500; }
.bus-page .faq-list summary span { color: #61718a; }
.bus-page .faq-list p { color: var(--bus-muted); font-size: 13px; line-height: 1.9; }
.bus-page .family-section { margin-block: 0 46px; padding: 34px; border: 1px solid var(--bus-line); border-radius: 5px; background: #f8fafc; }
.bus-page .family-section h2 { font-size: 28px; }
.bus-page .family-section p:not(.eyebrow) { color: var(--bus-muted); font-size: 13px; }
.bus-page .family-section nav a { border-color: #dce3ed; background: #fff; border-radius: 3px; color: #3d5069; }
.bus-page .site-footer { border-color: var(--bus-line); color: #647183; padding-block: 28px; font-size: 11px; }
.bus-page .site-footer > a { color: #334459; }

/* Tool marks and example details. */
.bus-logo-grid { display: grid; grid-template-columns: repeat(6,25px); justify-content: start; gap: 11px 17px; height: 61px; }
.bus-logo-grid img { object-fit: contain; }
.bus-team-visual { gap: 10px; }
.bus-teammate { display: inline-flex; align-items: center; gap: 5px; padding: 5px; background: #f4f7fb; border: 1px solid #ccd9e6; border-radius: 25px 7px 7px 25px; }
.bus-teammate b { display: grid; place-items: center; width: 32px; height: 32px; border-radius: 50%; background: #dce8f2; color: #355776; font-size: 12px; font-weight: 500; }
.bus-teammate:nth-of-type(2) b { color: #80503c; background: #f2dfd2; }
.bus-teammate img { object-fit: contain; }
.bus-team-visual > i { width: 15px; border-top: 1px dashed #8da5bd; }
.bus-team-add { display: grid; place-items: center; width: 29px; height: 29px; border: 1px solid #ccd9e6; border-radius: 4px; color: #516d89; font-size: 15px; }
.bus-panel-description { margin-bottom: 22px; color: var(--bus-muted); font-size: 14px; line-height: 1.8; }
.is-enhanced .bus-panel-description { display: none; }
.bus-window-bar > small { margin-left: auto; font: 9px/1.4 ui-monospace, SFMono-Regular, Consolas, monospace; color: #596c82; text-align: right; }
.bus-window-foot { display: flex; justify-content: space-between; gap: 14px; padding: 14px 17px; border-top: 1px solid #dfe5ed; color: #5a6d82; background: #f8fafc; font-size: 9px; line-height: 1.5; }
.bus-activity-caption { display: flex; justify-content: space-between; gap: 12px; align-items: center; padding: 19px 18px; border-bottom: 1px solid #e1e7ee; }
.bus-activity-caption > strong { font-size: 14px; font-weight: 550; }
.bus-activity-caption > span { color: #5a6e82; font-size: 10px; }
.bus-activity-list { padding: 0 18px; }
.bus-activity-row { display: flex; align-items: flex-start; gap: 12px; padding: 17px 0; border-bottom: 1px solid #e6ebf1; }
.bus-activity-row:last-child { border-bottom: 0; }
.bus-activity-row > img { object-fit: contain; flex-shrink: 0; margin-top: 2px; }
.bus-activity-row > div { flex: 1; min-width: 0; }
.bus-activity-row strong { display: block; font-size: 12px; font-weight: 550; line-height: 1.45; }
.bus-activity-row div > span { display: block; margin-top: 5px; color: #5e7287; font-size: 10px; }
.bus-activity-row p { padding: 11px; margin-top: 12px; border-left: 2px solid #608ba9; border-radius: 0 4px 4px 0; background: #edf4fa; font-size: 11px; line-height: 1.7; }
.bus-state { flex-shrink: 0; margin-top: 4px; font-size: 9px; color: #3b627d; }
.bus-state--answered { color: #44725c; }
.bus-state--claimed { color: #7e6035; }
.bus-shift { padding: 24px 22px; }
.bus-shift-agents { display: flex; justify-content: space-between; align-items: center; gap: 10px; margin-bottom: 24px; }
.bus-shift h4 { margin: 0 0 11px; font-size: 16px; font-weight: 550; letter-spacing: -.02em; }
.bus-shift > p { font-size: 12px; line-height: 1.8; color: var(--bus-muted); }
.bus-shift ol { list-style: none; padding: 0; margin: 24px 0 0; }
.bus-shift li { display: flex; gap: 13px; align-items: center; padding-block: 13px; border-top: 1px solid #e2e8ef; }
.bus-shift li > span { display: grid; place-items: center; width: 25px; height: 25px; border: 1px solid #cfdae5; border-radius: 50%; color: #58778b; }
.bus-shift li > .bus-check { background: #e9f5ee; color: #3e7855; border-color: #b8d3c4; }
.bus-shift li strong { font-size: 12px; font-weight: 550; }
.bus-shift li small { display: block; margin-top: 5px; font-size: 10px; color: #61758a; }
.bus-agent-address { display: flex; gap: 9px; align-items: center; padding: 17px 18px; border-bottom: 1px solid #e4e7ec; background: #f9fafb; }
.bus-agent-address img { flex-shrink: 0; }
.bus-agent-address code { font: 10px/1.6 ui-monospace, SFMono-Regular, Consolas, monospace; overflow-wrap: anywhere; color: #42586d; }
.bus-public-messages { padding: 23px 21px; }
.bus-public-message { display: flex; gap: 12px; margin-bottom: 23px; }
.bus-public-message:last-child { margin-bottom: 0; }
.bus-public-message > img { flex-shrink: 0; object-fit: contain; }
.bus-public-message strong { font-size: 11px; font-weight: 550; line-height: 1.4; }
.bus-public-message p { margin-top: 7px; font-size: 12px; line-height: 1.75; color: #485c70; }
.bus-knowledge-note { padding: 11px 13px; margin-left: 38px; border: 1px solid #e8d8ca; border-radius: 3px; background: #fbf5ed; color: #805a39; font: 10px/1.6 ui-monospace, SFMono-Regular, Consolas, monospace; }
.bus-knowledge-note > span { margin-right: 6px; }
.bus-access { padding: 23px 21px; }
.bus-access-title { margin-bottom: 23px; }
.bus-access-title strong { display: block; font-size: 15px; font-weight: 550; }
.bus-access-title > span { display: block; margin-top: 7px; font-size: 11px; color: #647488; }
.bus-access-row { display: flex; justify-content: space-between; align-items: center; gap: 12px; border-top: 1px solid #e2e7ed; padding-block: 17px; font-size: 11px; }
.bus-access-status { font-size: 10px; color: #3d7255; }
.bus-access-status.is-revoked { color: #895044; }
.bus-access > p { margin-top: 18px; color: var(--bus-muted); font-size: 11px; line-height: 1.8; }

/* An engineering handbook: a reading margin, numbered diagrams, and example sheets. */
.bus-toolkit { display: grid; grid-template-columns: .85fr 1.15fr; gap: 72px; align-items: start; padding-block: 76px; }
.bus-toolkit .bus-connection { padding-block: 32px; text-align: left; position: sticky; top: 118px; }
.bus-toolkit .bus-connection h2 { font-size: clamp(30px, 3vw, 40px); }
.bus-toolkit .bus-connection-line, .bus-toolkit .bus-connection-controls { justify-content: flex-start; }
.bus-toolkit .bus-connection .bus-agent { background: #fff; border-color: #bacbd7; border-radius: 2px; }
.bus-toolkit .bus-connection p { max-width: 320px; }
.bus-fit { padding-left: 32px; border-left: 1px solid var(--bus-line); }
.bus-fit .bus-centered-heading { margin-bottom: 20px; }
.bus-fit h2 { font-size: 29px; }
.bus-centered-heading { text-align: left; margin: 0; }
.bus-centered-heading > p { margin-top: 22px; color: var(--bus-muted); font-size: 14px; line-height: 1.85; text-wrap: pretty; }
.bus-benefits { display: grid; }
.bus-benefit { display: grid; grid-template-columns: minmax(0,1fr) 144px; column-gap: 22px; padding-block: 25px; border-bottom: 1px solid var(--bus-line); }
.bus-benefit:last-child { border-bottom: 0; padding-bottom: 0; }
.bus-benefit-visual { grid-column: 2; grid-row: 1 / 4; display: flex; align-items: center; justify-content: center; gap: 8px; align-self: center; min-width: 0; }
.bus-benefit h3, .bus-benefit > p, .bus-benefit > a { grid-column: 1; }
.bus-benefit h3 { font-size: 16px; letter-spacing: -.02em; line-height: 1.4; }
.bus-benefit > p { margin-block: 10px; color: var(--bus-muted); font-size: 13px; line-height: 1.8; }
.bus-benefit > a { display: inline-flex; align-items: center; gap: 8px; justify-self: start; min-height: 34px; color: var(--bus-accent); font-size: 12px; font-weight: 500; }
.bus-logo-grid { display: grid; grid-template-columns: repeat(4,24px); gap: 14px; height: auto; }
.bus-team-visual { flex-wrap: wrap; }
.bus-team-visual > i { width: 8px; }
.bus-team-visual > i:nth-of-type(2) { width: 8px; }
.bus-team-add { width: 23px; height: 23px; }
.bus-command-chip { padding: 10px 7px; border-radius: 2px; font-size: 10px; }
.bus-command-chip > span { margin-right: 3px; }

.bus-story { border-block: 1px solid var(--bus-line); background: #edf1f2; }
.bus-story > .wrap { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); }
.bus-story-row { display: flex; flex-direction: column; min-width: 0; padding: 36px 24px; border-right: 1px solid #ced8dc; }
.bus-story-row:first-child { border-left: 1px solid #ced8dc; }
.bus-story-copy { min-height: 255px; }
.bus-story-copy h2 { margin-block: 22px 18px; font-size: 29px; letter-spacing: -.04em; }
.bus-story-copy > p:last-child { color: var(--bus-muted); font-size: 13px; line-height: 1.85; }
.bus-story .bus-paper-panel { border: 0; background: transparent; padding: 0; margin-top: 26px; }
.bus-story .bus-route { padding: 16px 12px; }
.bus-story .bus-route > div { gap: 4px; }
.bus-story .bus-route .bus-agent { font-size: 9px; }
.bus-story .bus-person { padding: 8px 6px; font-size: 9px; }
.bus-story .bus-demo-messages { padding: 18px 12px 4px; }
.bus-story .bus-demo-message { gap: 8px; }
.bus-story .bus-demo-message > div { padding: 10px; }
.bus-story .bus-demo-message--reply { margin-left: 0; }
.bus-story .bus-demo-message strong > span { display: block; margin: 4px 0 0; }
.bus-story .bus-demo-task { margin-inline: 12px; }
.bus-story .bus-demo-bar { padding-inline: 12px; }
.bus-story .bus-demo-bar strong { font-size: 9px; }
.bus-story .bus-scene { height: 310px; border: 1px solid #bdccd3; background: #f6f8f8; }
.bus-story .bus-laptop .bus-agent { font-size: 8px; }
.bus-story .bus-laptop .bus-agent img { width: 14px; height: 14px; }
.bus-story .bus-machine-row { gap: 4px; }
.bus-story .bus-server { padding-inline: 5px; }
.bus-story .bus-server strong { font-size: 11px; }

.bus-section { padding-block: 76px; border-bottom: 1px solid var(--bus-line); }
.bus-chapter { display: grid; grid-template-columns: 255px minmax(0,1fr); gap: 60px; }
.bus-chapter-heading { position: relative; align-self: start; }
.bus-chapter-heading h2 { font-size: 32px; line-height: 1.2; text-wrap: initial; }
.bus-chapter-heading h2 em { white-space: nowrap; }
.bus-chapter-heading > p > br { display: none; }
.bus-chapter-number { display: block; width: 44px; padding-block: 9px; margin-bottom: 23px; border-block: 1px solid #a9bbc7; color: #476375; font: 12px/1 ui-monospace, SFMono-Regular, Consolas, monospace; }
.bus-chapter-body { min-width: 0; padding-left: 28px; border-left: 1px solid var(--bus-line); }
.bus-collaboration-layout, .bus-collaboration-layout.is-enhanced { display: grid; grid-template-columns: minmax(0,1fr); gap: 26px; align-items: start; }
.bus-workflow-tabs { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 0; }
.bus-workflow-tabs button { position: relative; display: flex; flex-direction: column; gap: 12px; min-width: 0; text-align: left; padding: 16px 14px 20px; border: 0; border-top: 2px solid #cdd6d9; border-radius: 0; background: transparent; color: var(--bus-ink); transition: background 150ms ease, border-color 150ms ease; }
.bus-workflow-tabs button[aria-selected="true"] { background: #e6eef2; border-top-color: #285a78; }
.bus-workflow-tabs button[aria-selected="true"]::before { content: ''; position: absolute; top: -4px; left: 14px; width: 6px; height: 6px; background: #285a78; }
.bus-tab-title { font-size: 14px; font-weight: 600; line-height: 1.5; letter-spacing: -.015em; }
.bus-tab-description { font-size: 12px; line-height: 1.8; color: var(--bus-muted); }
.bus-paper-panel { min-width: 0; padding: 20px; border: 1px solid #bbcbd3; border-radius: 0; background: #e7eef0; }
.bus-stage { position: relative; min-height: 430px; padding: 26px; background-color: #e6edef; background-image: radial-gradient(#91a6b94a .75px, transparent .75px); background-size: 12px 12px; border: 1px solid #b4c5cd; border-radius: 0; }
.bus-stage::before, .bus-stage::after { content: ''; position: absolute; width: 8px; height: 8px; border: 1px solid #7893a2; pointer-events: none; }
.bus-stage::before { top: 6px; left: 6px; border-right: 0; border-bottom: 0; }
.bus-stage::after { right: 6px; bottom: 6px; border-left: 0; border-top: 0; }
.bus-stage .bus-window, .bus-stage .bus-demo { min-height: 376px; border-radius: 2px; box-shadow: none; }
.bus-window, .bus-demo { border-radius: 2px; }
.bus-window .bus-dots, .bus-demo .bus-dots { width: 8px; height: 8px; border: 1px solid #8097a9; }
.bus-window .bus-dots i, .bus-demo .bus-dots i { display: none; }
.bus-window-bar, .bus-demo-bar { background: #f0f4f5; }
.bus-demo-message > div, .bus-demo-message--reply > div { border: 0; border-left: 2px solid #c4d3db; border-radius: 0; background: #f7f9fa; }
.bus-demo-message--reply > div { border-left-color: #54819a; background: #edf3f6; }
.bus-workflow-note { margin-top: 20px; font-size: 11px; line-height: 1.8; color: var(--bus-muted); }
.bus-public { background: #f0f3f2; }
.bus-public-foot { margin-top: 28px; text-align: left; }
.bus-public-foot > p { font-size: 14px; line-height: 1.85; color: var(--bus-muted); }
.bus-public-foot .text-link { display: inline-flex; margin-top: 14px; gap: 10px; }
.bus-public-foot small { display: block; margin-top: 18px; color: var(--bus-muted); font-size: 11px; line-height: 1.8; }
.bus-knowledge-note { background: #edf3f1; border-color: #c7d8d2; color: #466e5e; }

.bus-hosting-grid { display: grid; gap: 0; }
.bus-hosting-card { display: grid; grid-template-columns: 38px minmax(0,1fr); gap: 16px; min-width: 0; padding-block: 28px; border-top: 1px solid var(--bus-line); }
.bus-hosting-card:first-child { padding-top: 0; border-top: 0; }
.bus-hosting-card:last-child { padding-bottom: 0; }
.bus-hosting-icon { display: grid; place-items: center; width: 38px; height: 38px; border: 1px solid #afc3ce; color: #365e75; background: #e8f0f3; }
.bus-hosting-icon svg { width: 25px; height: 25px; }
.bus-hosting-card--cloud .bus-hosting-icon { color: #6c7d85; background: transparent; border-style: dashed; }
.bus-hosting-copy h3 { font-size: 23px; line-height: 1.3; margin-block: 10px 13px; letter-spacing: -.025em; }
.bus-hosting-copy > p:not(.bus-small-label) { color: var(--bus-muted); font-size: 14px; line-height: 1.85; }
.bus-hosting-action { grid-column: 2; }
.bus-hosting-card--cloud .bus-paper-button { color: var(--bus-ink); background: transparent; border-color: #aebfc9; }
.bus-hosting-foot { display: block; margin-top: 15px; font-size: 10px; line-height: 1.8; color: var(--bus-muted); }
.bus-start { background: #e7eef1; }
.intercom-closing-mark { margin: 0 0 22px; }
.bus-start-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 24px; }
.bus-start .bus-install { margin-top: 25px; border-radius: 2px; }
.bus-start .install-note { margin-top: 18px; font-size: 11px; line-height: 1.85; color: var(--bus-muted); }
.bus-page .faq-section { grid-template-columns: 255px minmax(0,1fr); padding-block: 76px; gap: 60px; }
.bus-page .faq-section h2 { font-size: 32px; }
.bus-page .faq-list { padding-left: 28px; border-left: 1px solid var(--bus-line); }
.bus-page .faq-list p { max-width: 640px; }
.bus-page .family-section { background: transparent; border-inline: 0; padding-inline: 0; border-radius: 0; }

@media (hover:hover) {
  .bus-page .text-link:hover { color: var(--bus-accent); }
  .intercom-header nav a:hover, .intercom-project-meta a:hover { color: #fff; text-decoration: underline; text-underline-offset: 5px; }
  .intercom-hero .intercom-primary:hover { background: #fff; border-color: #fff; }
  .intercom-hero .github-button:hover { color: #fff; background: #214567; border-color: #9bbad6; }
  .intercom-primary:hover, .bus-paper-button:hover { background: #1949b0; border-color: #1949b0; }
  .bus-page .github-button:hover { background: #f4f7fb; border-color: #aebbd0; }
  .bus-hosting-card--cloud .bus-paper-button:hover { background: #e5eef2; }
  .bus-workflow-tabs button:not([aria-selected='true']):hover { background: #eef3f4; }
}
@media (max-width:1000px) {
  .bus-paper-panel--machines { padding: 0; }
  .bus-command-chip { font-size: 10px; padding-inline: 9px; }

}
@media (max-width:760px) {
  .bus-page .wrap { width: calc(100% - 40px); }
  .intercom-header-inner { min-height: 66px; gap: 20px; }
  .intercom-header nav { gap: 22px; font-size: 12px; }
  .intercom-header .intercom-nav-overview, .intercom-header .intercom-nav-releases { display: none; }
  .intercom-brand { font-size: 19px; gap: 9px; }
  .intercom-brand img { width: 26px; height: 26px; }
  .intercom-hero-copy { padding-block: 51px 35px; }
  .intercom-hero-copy { max-width: 580px; }
  .intercom-eyebrow { font-size: 9px; letter-spacing: .04em; }
  .intercom-hero h1 { font-size: clamp(34px,6.8vw,48px); margin-block: 20px; }
  .intercom-intro { max-width: 540px; font-size: 15px; line-height: 1.8; }
  .intercom-actions { gap: 10px; }
  .intercom-primary, .bus-page .github-button { padding-inline: 16px; font-size: 12px; }
  .bus-page .github-label-prefix { display: none; }
  .intercom-hero-note { font-size: 10px; }
  .intercom-events { padding-inline: 18px; }
  .intercom-events li { grid-template-columns: 1fr auto; gap: 8px; padding-block: 15px; }
  .intercom-events p { grid-row: 2; grid-column: 1 / -1; font-size: 11px; }
  .intercom-receipt { grid-column: 2; grid-row: 1; font-size: 9px; }
  .intercom-project-meta { flex-wrap: wrap; column-gap: 25px; row-gap: 16px; padding-block: 22px; font-size: 10px; }
  .intercom-backing { margin-left: 0; }
  .bus-antler { width: 58px; height: 16px; }
  .bus-connection { padding-block: 60px; }
  .bus-connection h2 { font-size: clamp(29px,5.6vw,40px); line-height: 1.6; }
  .bus-connection .bus-agent { padding: 7px 8px; }
  .bus-connection-tool-content { gap: 8px; }
  .bus-connection .bus-agent img { width: 24px; height: 24px; }
  .bus-connection p { font-size: 14px; }
  .bus-command-chip { font-size: 12px; padding-inline: 14px; }
  .bus-window-foot { flex-wrap: wrap; gap: 6px; }
  .bus-page .faq-section { padding-block: 65px; gap: 30px; }
  .bus-page .family-section { padding: 28px 24px; }
}
@media (max-width:380px) {
  .bus-page .wrap { width: calc(100% - 32px); }
  .intercom-brand { font-size: 17px; gap: 8px; }
  .intercom-header nav { gap: 14px; font-size: 11px; }
  .intercom-hero h1 { font-size: 32px; letter-spacing: -.065em; }
  .intercom-primary, .bus-page .github-button { padding-inline: 13px; gap: 10px; }
  .intercom-project-meta { column-gap: 18px; }
  .bus-connection h2 { font-size: 27px; }
  .bus-connection .bus-agent img { width: 20px; height: 20px; }
  .bus-route { padding: 12px; }
  .bus-route > div { gap: 5px; }
  .bus-route .bus-agent { font-size: 9px; }
  .bus-person { padding: 9px 7px; }
  .bus-activity-list { padding-inline: 12px; }
  .bus-activity-caption { padding-inline: 12px; }
  .bus-activity-row { gap: 8px; }
  .bus-activity-row > img { width: 20px; height: 20px; }
  .bus-public-messages, .bus-access { padding-inline: 15px; }
  .bus-public-message { gap: 9px; }
  .bus-shift { padding: 19px 15px; }
  .bus-shift-agents .bus-agent { font-size: 10px; gap: 6px; }
  .bus-activity-caption > span { font-size: 9px; }
  .bus-paper-panel--machines { padding: 0; }
  .bus-route { padding: 12px; }
  .bus-route .bus-agent { font-size: 8px; }
  .bus-route .bus-person { padding: 8px 5px; font-size: 8px; }
  .bus-route > div { gap: 4px; }
  .bus-route-arrow { font-size: 10px; }
  .bus-demo-messages { padding: 20px 13px 8px; }
  .bus-demo-message--reply { margin-left: 8px; }
  .bus-demo-message strong > span { display: block; margin: 4px 0 0; }
  .bus-demo-task { margin-inline: 13px; padding-inline: 11px; }
  .bus-demo-bar { padding-inline: 13px; gap: 8px; }
  .bus-demo-bar strong { font-size: 9px; }
  .bus-context-received { flex-wrap: wrap; gap: 10px; }
  .bus-machine-row { gap: 4px; left: 4%; right: 4%; }
  .bus-laptop .bus-agent { font-size: 8px; }
  .bus-laptop .bus-agent img { width: 14px; height: 14px; }
  .bus-paper-button { gap: 13px; font-size: 12px; }
}
/* The reading margin collapses before the examples become cramped. */
@media (max-width:1100px) {
  .bus-toolkit { gap: 36px; }
  .bus-fit { padding-left: 24px; }
  .bus-benefit { grid-template-columns: minmax(0,1fr) 112px; column-gap: 18px; }
  .bus-logo-grid { grid-template-columns: repeat(3,24px); gap: 12px; }
  .bus-team-visual { gap: 7px; }
  .bus-team-visual > i { display: none; }
  .bus-command-chip { white-space: normal; line-height: 1.7; }
  .bus-chapter, .bus-page .faq-section { grid-template-columns: 220px minmax(0,1fr); gap: 32px; }
  .bus-chapter-body, .bus-page .faq-list { padding-left: 24px; }
  .bus-story-row { padding-inline: 18px; }
  .bus-story-copy { min-height: 280px; }
  .bus-story-copy h2 { font-size: 26px; }
}
@media (max-width:1000px) {
  .bus-story > .wrap { grid-template-columns: 1fr; }
  .bus-story-row { display: grid; grid-template-columns: .85fr 1.15fr; gap: 36px; padding: 38px 0; border: 0; align-items: center; }
  .bus-story-row:first-child { border-left: 0; }
  .bus-story-row + .bus-story-row { border-top: 1px solid #ced8dc; }
  .bus-story-copy { min-height: 0; }
  .bus-story-copy h2 { font-size: 30px; }
  .bus-story .bus-paper-panel { margin-top: 0; }
  .bus-story .bus-demo-message strong > span { display: inline; margin-left: 6px; }
  .bus-story .bus-laptop .bus-agent { font-size: 9px; }
}
@media (max-width:900px) {
  .bus-toolkit { grid-template-columns: 1fr; gap: 38px; padding-block: 48px; }
  .bus-toolkit .bus-connection { position: static; padding: 0; }
  .bus-toolkit .bus-connection h2 { font-size: 38px; }
  .bus-toolkit .bus-connection p { max-width: none; }
  .bus-fit { padding: 32px 0 0; border-left: 0; border-top: 1px solid var(--bus-line); }
  .bus-benefit { grid-template-columns: minmax(0,1fr) 200px; column-gap: 32px; }
  .bus-logo-grid { grid-template-columns: repeat(6,24px); gap: 10px; }
  .bus-team-visual { flex-wrap: nowrap; }
  .bus-team-visual > i { display: block; }
  .bus-command-chip { white-space: nowrap; font-size: 11px; padding: 12px; }
  .bus-chapter, .bus-page .faq-section { grid-template-columns: 1fr; gap: 32px; }
  .bus-chapter-heading { max-width: 600px; }
  .bus-chapter-heading > p { max-width: 560px; margin-top: 16px; }
  .bus-chapter-heading h2 br { display: none; }
  .bus-chapter-body, .bus-page .faq-list { padding-left: 0; border-left: 0; }
  .bus-section { padding-block: 54px; }
  .bus-page .faq-section { padding-block: 54px; }
}
@media (max-width:760px) {
  .bus-toolkit .bus-connection h2 { font-size: clamp(27px,6vw,36px); }
  .bus-fit h2 { font-size: 28px; }
  .bus-benefit { grid-template-columns: minmax(0,1fr) 144px; gap: 0 24px; }
  .bus-logo-grid { grid-template-columns: repeat(4,24px); gap: 13px; }
  .bus-team-visual { flex-wrap: wrap; }
  .bus-team-visual > i:nth-of-type(2) { display: none; }
  .bus-command-chip { white-space: normal; font-size: 10px; }
  .bus-story-row { grid-template-columns: 1fr; gap: 26px; }
  .bus-story-copy { max-width: 540px; }
  .bus-story .bus-paper-panel { width: 100%; max-width: none; }
  .bus-story .bus-laptop .bus-agent { font-size: 10px; }
  .bus-story .bus-laptop .bus-agent img { width: 20px; height: 20px; }
  .bus-story .bus-scene { height: 290px; }
  .bus-workflow-tabs button { padding: 14px 10px; gap: 0; }
  .bus-tab-title { font-size: 12px; }
  .bus-tab-description { display: none; }
  .is-enhanced .bus-panel-description { display: block; margin: 0 0 22px; font-size: 13px; line-height: 1.85; }
  .bus-collaboration-layout, .bus-collaboration-layout.is-enhanced { gap: 22px; }
  .bus-stage { min-height: 0; padding: 15px; }
  .bus-stage .bus-window, .bus-stage .bus-demo { min-height: 0; }
  .bus-chapter-heading h2 { font-size: 31px; }
  .bus-start-actions { gap: 20px; }
}
@media (max-width:480px) {
  .bus-benefit { grid-template-columns: 1fr; }
  .bus-benefit-visual { grid-column: 1; grid-row: auto; justify-self: start; margin-bottom: 18px; }
  .bus-logo-grid { grid-template-columns: repeat(6,24px); gap: 15px; }
  .bus-team-visual { flex-wrap: nowrap; }
  .bus-team-visual > i:nth-of-type(2) { display: block; }
  .bus-benefit h3 { font-size: 18px; }
  .bus-command-chip { white-space: nowrap; padding: 12px; font-size: 12px; }
  .bus-chapter-number { margin-bottom: 20px; }
  .bus-story .bus-demo-message strong > span { display: block; margin: 4px 0 0; }
  .bus-story .bus-laptop .bus-agent { font-size: 9px; }
  .bus-story .bus-laptop .bus-agent img { width: 16px; height: 16px; }
  .bus-hosting-card { grid-template-columns: 30px minmax(0,1fr); gap: 15px; }
  .bus-hosting-icon { width: 30px; height: 30px; }
  .bus-hosting-icon svg { width: 21px; height: 21px; }
  .bus-hosting-action { grid-column: 1 / -1; }
  .bus-stage { padding: 10px; }
  .bus-window-bar, .bus-demo-bar { gap: 7px; padding-inline: 11px; }
  .bus-window-bar > small { max-width: 65px; }
}

@media (prefers-reduced-motion:reduce) { .bus-page *, .bus-page *::before, .bus-page *::after { animation: none !important; transition: none !important; } }
@media (prefers-contrast:more) { .bus-page { --bus-muted: #344153; --bus-line: #a6b2c1; } .bus-small-label, .bus-plate { color: #344153; } }
