/* Shared WorkBuddy simulation used by the GUI and host product pages. */
.workbuddy-window { height: 560px; color: #25272d; background: #fff; }
.workbuddy-titlebar { height: 38px; padding: 0 14px; display: flex; align-items: center; gap: 13px; color: #34363b; background: #f5f5f4; border-bottom: 1px solid #ededec; font-size: 10px; }
.workbuddy-titlebar .workbuddy-mini-mark { width: 19px; height: 19px; }
.workbuddy-titlebar strong { font-size: 11px; }
.workbuddy-titlebar i { flex: 1; }
.workbuddy-titlebar b { min-width: 15px; font-size: 10px; font-weight: 500; text-align: center; }
.workbuddy-workspace { height: 522px; display: grid; grid-template-columns: 172px minmax(0, 1fr); }
.workbuddy-sidebar { padding: 22px 16px 16px; display: flex; flex-direction: column; color: #575a62; background: #f5f5f4; border-right: 1px solid #ededec; }
.workbuddy-brand { margin-bottom: 23px; display: flex; align-items: center; gap: 9px; color: #25272d; font-size: 13px; }
.workbuddy-mini-mark, .workbuddy-logo { position: relative; display: block; flex: none; overflow: hidden; background: linear-gradient(145deg, #514b75, #252936); border-radius: 42% 42% 52% 42%; transform: rotate(-5deg); }
.workbuddy-mini-mark::before, .workbuddy-logo::before { content: ""; position: absolute; width: 68%; height: 48%; left: 16%; top: 25%; background: #fff; border-radius: 48% 48% 38% 38%; transform: rotate(6deg); }
.workbuddy-mini-mark::after, .workbuddy-logo::after { content: ""; position: absolute; width: 13%; aspect-ratio: 1; left: 34%; top: 42%; background: #39384f; border-radius: 50%; box-shadow: 8px 0 #39384f; }
.workbuddy-logo { width: 29px; height: 29px; }
.workbuddy-sidebar nav { display: grid; gap: 6px; }
.workbuddy-sidebar nav span { min-height: 38px; padding: 0 9px; display: flex; align-items: center; gap: 9px; border-radius: 9px; font-size: 12px; font-weight: 650; }
.workbuddy-sidebar nav span.is-active { color: #16171b; background: #fff; box-shadow: 0 3px 10px rgba(39, 42, 54, .06); }
.workbuddy-sidebar nav i { width: 17px; color: #51545d; font-style: normal; font-size: 14px; text-align: center; }
.workbuddy-sidebar small { margin-top: 24px; color: #a3a5ab; font-size: 10px; }
.workbuddy-chat { min-width: 0; min-height: 0; display: flex; flex-direction: column; background: #fff; }
.workbuddy-chat-head { min-height: 56px; padding: 0 22px; display: flex; align-items: center; justify-content: space-between; border-bottom: 1px solid #eeeef0; font-size: 12px; }
.workbuddy-chat-head > div { display: flex; align-items: center; gap: 9px; }
.workbuddy-agent-mark { width: 29px; height: 29px; display: grid; place-items: center; flex: none; color: #fff; background: #393c52; border-radius: 50%; font: 800 10px/1 ui-monospace, monospace; }
.workbuddy-thread { min-height: 0; padding: 24px 30px 12px; display: flex; flex: 1; flex-direction: column; gap: 18px; overflow: hidden; }
.workbuddy-user { display: flex; justify-content: flex-end; }
.workbuddy-user span { max-width: 76%; padding: 12px 15px; color: #383a42; background: #f0efff; border: 1px solid #e2dfff; border-radius: 15px 15px 5px 15px; font-size: 13px; font-weight: 600; line-height: 1.55; }
.workbuddy-agent-message { max-width: 90%; display: grid; grid-template-columns: 29px minmax(0, 1fr); gap: 12px; }
.editorial-block--invocation .workbuddy-agent-message p { margin: 1px 0 9px; color: #4d5059; font-size: 12px; line-height: 1.55; }
.workbuddy-tool { margin-top: 7px; padding: 9px 11px; display: grid; grid-template-columns: 22px minmax(0, 1fr); gap: 9px; background: #fafafa; border: 1px solid #ebebed; border-radius: 10px; }
.workbuddy-tool .tool-status { width: 21px; height: 21px; display: grid; place-items: center; color: #168b66; background: #e6f7f1; border-radius: 50%; font-size: 10px; font-weight: 800; }
.workbuddy-tool strong, .workbuddy-tool code { display: block; }
.workbuddy-tool strong { margin-bottom: 3px; font-size: 11px; }
.workbuddy-tool code { overflow-wrap: anywhere; color: #8a8e98; font: 500 9px/1.45 ui-monospace, SFMono-Regular, Menlo, monospace; }
.editorial-block--invocation .workbuddy-agent-message .workbuddy-success { margin: 9px 0 0; color: #24765f; font-weight: 650; }
.workbuddy-success span { color: #168b66; }
.workbuddy-composer { min-height: 86px; margin: 0 20px 17px; padding: 13px 15px 10px; display: flex; flex-direction: column; justify-content: space-between; color: #9a9da4; background: #fff; border: 1px solid #dedfe3; border-radius: 15px; font-size: 11px; }
.workbuddy-composer > div { display: flex; align-items: center; gap: 13px; color: #4f525a; }
.workbuddy-composer b { font-size: 10px; font-weight: 600; }
.workbuddy-composer i { width: 29px; height: 29px; margin-left: auto; display: grid; place-items: center; color: #fff; background: #a9abb1; border-radius: 50%; font-style: normal; font-size: 14px; }

.product-page--host { --accent: #6357ed; --accent-soft: #c6c0ff; }
.product-page--host .product-hero { gap: 56px; }
.product-page--host .product-hero-copy h1 { font-size: clamp(40px, 4.6vw, 64px); white-space: nowrap; }
.product-page--host .hero-lead { max-width: 500px; font-size: 23px; line-height: 1.75; }
.product-hero-note { margin-top: 20px; color: #7a8189; font-size: 14px; }
.host-hero-demo { width: 100%; overflow: hidden; border: 1px solid #e0e3e7; border-radius: 24px; background: #fff; box-shadow: 0 20px 55px #18223014; transform: rotate(-1deg); }
.host-window-bar { display: flex; align-items: center; gap: 25px; padding: 15px 20px; border-bottom: 1px solid #e3e6e9; background: #f1f3f5; color: #777d88; font-size: 12px; }
.host-window-dots { display: flex; flex-shrink: 0; gap: 8px; }
.host-window-dots i { width: 12px; height: 12px; border-radius: 50%; background: #ff5f57; }
.host-window-dots i:nth-child(2) { background: #febc2e; }
.host-window-dots i:nth-child(3) { background: #28c840; }
.host-hero-body { padding: 26px; }
.host-hero-request { margin: 0 0 24px 34px; padding: 16px 20px; border-radius: 16px 16px 3px 16px; color: #3d424a; background: #f1f3f5; font-size: 15px; line-height: 1.8; }
.host-hero-machine { display: flex; align-items: center; gap: 12px; color: #717985; }
.host-hero-machine strong, .host-hero-machine div > span { display: block; }
.host-hero-machine strong { color: #30343b; font: 650 16px/1.7 ui-monospace, SFMono-Regular, Menlo, monospace; }
.host-hero-machine div > span { color: #858b94; font-size: 11px; }
.host-machine-badge { margin-left: auto; padding: 3px 9px; border: 1px solid #dfe3e7; border-radius: 30px; font-size: 11px; }
.host-hero-steps { margin: 20px 0; }
.host-hero-steps > div { display: flex; align-items: flex-start; gap: 13px; padding: 11px 0; border-top: 1px solid #eceef1; }
.host-hero-steps > div > span { flex-shrink: 0; padding-top: 3px; color: #979ea8; font: 12px ui-monospace, monospace; }
.host-hero-steps p { flex: 1; min-width: 0; margin: 0; color: #4d5059; font-size: 13px; line-height: 1.6; }
.host-hero-steps code { display: block; margin-top: 5px; color: #8c93a0; font: 400 10.5px/1.65 ui-monospace, SFMono-Regular, Menlo, monospace; white-space: nowrap; overflow: hidden; text-overflow: clip; }
.host-hero-file { display: flex; align-items: center; gap: 10px; padding: 14px 10px; background: #f4f5f7; border-radius: 12px; color: #2496ed; }
.host-hero-file > span { color: #474e58; font: 12px/1.7 ui-monospace, SFMono-Regular, Menlo, monospace; }
.host-hero-file small { display: block; color: #969ba5; font-size: 11px; line-height: 1.7; }
.host-feature { display: block; padding: 96px 0; }
.host-feature-heading { margin-bottom: 42px; }
.host-feature h2 { font-size: clamp(30px, 3.8vw, 46px); }
.host-feature-heading > p { margin-bottom: 0; }
.host-platforms { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.host-platforms > div { display: flex; align-items: center; gap: 20px; padding: 27px; border: 1px solid #e2e3eb; border-radius: 18px; background: #ffffffb8; }
.host-platform-mark { flex: 0 0 56px; height: 56px; display: grid; place-items: center; }
.host-platform-mark img { display: block; width: 48px; height: 48px; object-fit: contain; }
.host-platforms h3 { margin: 0 0 4px; font-size: 16px; font-weight: 600; }
.host-platforms h3 + span { color: #858996; font: 12px/1.8 ui-monospace, SFMono-Regular, Menlo, monospace; }
.host-capabilities { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 22px; }
.host-capabilities > div { padding: 30px; border: 1px solid #dfe2e9; border-radius: 22px; background: linear-gradient(145deg, #fff, #eef0fa); }
.host-capability-icon { width: 54px; height: 54px; display: grid; place-items: center; border-radius: 16px; color: #6357ed; background: #efecff; }
.host-capabilities h3 { margin: 28px 0 14px; font-size: 23px; }
.host-capabilities p { margin-bottom: 28px; font-size: 15px; }
.host-capabilities code { color: #777d88; font-size: 12px; }
.host-example { overflow: hidden; background: #fff; border: 1px solid #dfe2e9; border-radius: 24px; box-shadow: 0 22px 55px #2e345014; }
.host-tablist { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; padding: 11px 11px 0; border-bottom: 1px solid #dfe2e9; background: linear-gradient(180deg, #eef0f5, #e9ecf2); }
.host-tablist button { position: relative; display: flex; align-items: center; gap: 12px; min-width: 0; min-height: 74px; padding: 13px 16px; border: 1px solid transparent; border-bottom: 0; border-radius: 15px 15px 0 0; background: transparent; color: #717782; text-align: left; cursor: pointer; }
.host-tablist button:hover { background: #ffffff7a; }
.host-tablist button.is-active { color: #24272e; background: #fff; border-color: #dfe2e9; box-shadow: 0 -8px 24px #3339520d; }
.host-tablist button.is-active::after { content: ""; position: absolute; height: 2px; inset: auto 0 -1px; background: #fff; }
.host-tablist button > span:last-child { display: grid; gap: 5px; }
.host-tablist strong { font-size: 13px; }
.host-tablist small { color: #969ba5; font-size: 10px; }
.host-tab-badge { min-width: 46px; padding: 7px 9px; color: #fff; background: #6357ed; border-radius: 7px; font-size: 9px; font-weight: 800; letter-spacing: .07em; text-align: center; }
.host-tab-badge--cli { background: #252932; }
.host-tablist button:focus-visible, .host-example button:focus-visible, .host-example-panel:focus-visible { outline: 2px solid #6357ed; outline-offset: -3px; }
.host-example-panel { padding: 32px 38px; }
#host-panel-skill, #host-panel-cli { padding: 18px; }
.host-workbuddy { margin: 0; overflow: hidden; background: #fff; border: 1px solid #dfe2e9; border-radius: 17px; box-shadow: 0 20px 55px #2e345014; }
.host-workbuddy .workbuddy-window { height: 790px; }
.host-workbuddy .workbuddy-workspace { height: 752px; }
.host-workbuddy .workbuddy-thread { overflow: auto; scrollbar-color: #c8c6d4 transparent; }
.host-workbuddy .workbuddy-thread:focus-visible { outline: 2px solid #8e84e9; outline-offset: -2px; }
.host-workbuddy .workbuddy-agent-message { max-width: 100%; }
.host-workbuddy .workbuddy-agent-message p { margin: 1px 0 9px; color: #4d5059; font-size: 12px; line-height: 1.65; }
.host-workbuddy .workbuddy-agent-message .host-workbuddy-tool-note { margin: 6px 0 0; color: #858996; font-size: 11px; }
.host-workbuddy .workbuddy-tool code { font-size: 11px; line-height: 1.65; }
.host-workbuddy .workbuddy-agent-message .workbuddy-success { margin: 14px 0 0; color: #24765f; font-weight: 600; }
.host-workbuddy figcaption { padding: 9px 16px; color: #969ba5; background: #fafafa; border-top: 1px solid #eeeef0; font-size: 11px; }
.host-terminal { margin: 0; overflow: hidden; border: 1px solid #454545; border-radius: 12px; background: #1e1e1e; color: #d5d5d5; color-scheme: dark; box-shadow: 0 20px 48px #00000025; }
.host-terminal-titlebar { position: relative; height: 38px; display: flex; align-items: center; justify-content: center; background: linear-gradient(#3b3b3b, #323232); border-bottom: 1px solid #141414; font-size: 12px; }
.host-terminal-titlebar > span { position: absolute; left: 13px; display: flex; gap: 8px; }
.host-terminal-titlebar i { width: 12px; height: 12px; background: #ff5f57; border-radius: 50%; }
.host-terminal-titlebar i:nth-child(2) { background: #febc2e; }
.host-terminal-titlebar i:nth-child(3) { background: #28c840; }
.host-terminal-titlebar b { font-weight: 500; }
.host-terminal-output { height: 520px; padding: 20px 22px; overflow: auto; scrollbar-color: #646464 transparent; font: 13px/1.8 "SFMono-Regular", Menlo, Monaco, Consolas, monospace; }
.host-terminal-output:focus-visible { outline: 2px solid #8bafe6; outline-offset: -2px; }
.host-terminal-output pre { margin: 0; white-space: pre-wrap; overflow-wrap: anywhere; font: inherit; }
.host-terminal-command { color: #fff; }
.host-terminal-cursor { display: inline-block; width: .62em; height: 1.2em; background: #c8c8c8; vertical-align: -.22em; }
.host-terminal figcaption { padding: 8px 22px; color: #959595; border-top: 1px solid #393939; font-size: 11px; }
.host-doc-link { margin-top: 24px; }
.host-network { margin: 36px 0 0; padding: 26px 28px 22px; border: 1px solid #dfe2e9; border-radius: 26px; background: #fff; }
.host-network-heading { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 10px; padding: 0 5px 24px; }
.host-network-heading strong { font-size: 17px; font-weight: 600; }
.host-network-heading > span { color: #969ba5; font-size: 12px; }
.host-network-map { display: block; width: 100%; height: auto; overflow: visible; font-family: inherit; }
.host-network-map--mobile { display: none; }
.host-map-node rect { fill: #fff; stroke: #dfe2e9; stroke-width: 1.5; }
.host-map-node text { fill: #39384f; font-size: 18px; font-weight: 600; }
.host-map-node .host-map-small, .host-map-small { fill: #858996; font-size: 12px; font-weight: 400; }
.host-map-relay rect { fill: #f1efff; stroke: #b8afe9; }
.host-map-target rect { fill: #6357ed; stroke: #6357ed; }
.host-map-target text { fill: #fff; }
.host-map-target .host-map-small { fill: #eeeaff; }
.host-map-boundary { fill: #f4f3fa; stroke: #c9c6de; stroke-width: 1.5; stroke-dasharray: 6 5; }
.host-map-label { fill: #777d88; font-size: 15px; font-weight: 600; }
.host-map-other rect { fill: #fbfbfd; stroke: #e1e2e9; }
.host-map-other text { fill: #969ba5; font-size: 15px; font-weight: 400; }
.host-map-route { fill: none; stroke: #6357ed; stroke-width: 4; stroke-linejoin: round; }
.host-map-wss { fill: #6357ed; font: 650 14px ui-monospace, SFMono-Regular, Menlo, monospace; }
.host-map-blocked { fill: none; stroke: #d7afb1; stroke-width: 2; stroke-dasharray: 6 6; }
.host-map-stop { fill: #fff6f6; stroke: #cf9298; stroke-width: 1.5; }
.host-map-cross { stroke: #b2646c; stroke-width: 2; }
.host-map-blocked-label { fill: #b47980; font-size: 13px; }
.host-network figcaption { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px 30px; padding-top: 12px; color: #717782; font-size: 12px; }
.host-network figcaption > span { display: flex; align-items: center; gap: 10px; }
.host-legend-line { width: 26px; border-top: 3px solid #6357ed; }
.host-legend-line--blocked { border-top: 2px dashed #cc9a9e; }
.host-security-notes { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 28px; margin-top: 26px; }
.host-security-notes p { margin: 0; font-size: 14px; }
.host-security-notes strong { display: block; margin-bottom: 8px; color: #39384f; font-size: 16px; }

@media (max-width: 1100px) {
  .product-page--host .product-hero { gap: 32px; grid-template-columns: 1fr 1fr; }
  .product-page--host .product-hero-copy h1 { font-size: 44px; }
  .product-page--host .hero-lead { font-size: 20px; }
  .host-hero-body { padding: 22px; }
  .host-platforms > div { padding: 22px; }
  .host-security-notes { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 820px) {
  .host-workbuddy .workbuddy-workspace { grid-template-columns: 132px minmax(0, 1fr); }
  .host-workbuddy .workbuddy-sidebar { padding: 20px 10px; }
  .host-workbuddy .workbuddy-thread { padding: 20px 16px 12px; }
  .host-workbuddy .workbuddy-user span { max-width: 92%; }
  .product-page--host .product-hero { grid-template-columns: 1fr; gap: 44px; padding-top: 125px; }
  .host-hero-demo { max-width: 520px; justify-self: center; }
  .host-feature { padding: 64px 0; }
  .host-platforms { grid-template-columns: 1fr; }
  .host-capabilities { gap: 14px; }
  .host-capabilities > div { padding: 22px; }
  .host-network { padding: 24px 16px; }
  .host-network-map--desktop { display: none; }
  .host-network-map--mobile { display: block; max-width: 400px; margin: auto; }
}
@media (max-width: 560px) {
  #host-panel-skill { padding: 10px; }
  .host-workbuddy .workbuddy-window { height: 760px; }
  .host-workbuddy .workbuddy-workspace { height: 722px; grid-template-columns: 42px minmax(0, 1fr); }
  .host-workbuddy .workbuddy-titlebar { padding-inline: 10px; gap: 7px; }
  .host-workbuddy .workbuddy-titlebar > span:not(.workbuddy-mini-mark) { display: none; }
  .host-workbuddy .workbuddy-sidebar { padding: 16px 5px; align-items: center; }
  .host-workbuddy .workbuddy-brand { margin-bottom: 18px; }
  .host-workbuddy .workbuddy-brand strong, .host-workbuddy .workbuddy-sidebar small { display: none; }
  .host-workbuddy .workbuddy-logo { width: 23px; height: 23px; }
  .host-workbuddy .workbuddy-sidebar nav span { width: 30px; padding: 0; justify-content: center; font-size: 0; }
  .host-workbuddy .workbuddy-sidebar nav i { font-size: 12px; }
  .host-workbuddy .workbuddy-chat-head { min-height: 43px; padding-inline: 10px; font-size: 11px; }
  .host-workbuddy .workbuddy-agent-mark { width: 22px; height: 22px; font-size: 8px; }
  .host-workbuddy .workbuddy-thread { padding: 15px 10px; gap: 15px; }
  .host-workbuddy .workbuddy-user span { max-width: 100%; padding: 10px; font-size: 11px; font-weight: 500; }
  .host-workbuddy .workbuddy-agent-message { grid-template-columns: minmax(0, 1fr); gap: 8px; }
  .host-workbuddy .workbuddy-agent-message p { font-size: 11px; }
  .host-workbuddy .workbuddy-tool { padding: 8px; grid-template-columns: 16px minmax(0, 1fr); gap: 7px; }
  .host-workbuddy .workbuddy-tool .tool-status { width: 16px; height: 16px; font-size: 8px; }
  .host-workbuddy .workbuddy-tool code { font-size: 10px; }
  .host-workbuddy .workbuddy-agent-message .host-workbuddy-tool-note { font-size: 10px; }
  .host-workbuddy .workbuddy-composer { min-height: 72px; margin: 0 10px 12px; padding: 10px; font-size: 10px; }
  .host-workbuddy .workbuddy-composer > div { gap: 8px; }
  .host-workbuddy .workbuddy-composer b { font-size: 9px; }
  .host-workbuddy .workbuddy-composer b:nth-child(-n+2) { display: none; }
  .host-workbuddy .workbuddy-composer i { width: 22px; height: 22px; font-size: 11px; }
  .host-workbuddy figcaption { font-size: 10px; }
  .product-page--host .product-hero-copy h1 { font-size: clamp(30px, 8.6vw, 44px); }
  .product-page--host .hero-lead { font-size: 18px; }
  .product-page--host .hero-actions { flex-wrap: wrap; }
  .host-hero-demo { transform: none; border-radius: 20px; }
  .host-hero-body { padding: 20px; }
  .host-hero-request { margin-left: 12px; font-size: 14px; }
  .host-feature-heading { margin-bottom: 28px; }
  .host-feature h2 { font-size: 29px; }
  .host-feature-heading > p, .host-feature > p { font-size: 16px; }
  .host-platforms > div { padding: 22px 18px; gap: 14px; }
  .host-platforms h3 { font-size: 14px; }
  .host-capabilities, .host-security-notes { grid-template-columns: 1fr; }
  .host-capabilities > div { padding: 26px; }
  .host-capabilities h3 { margin-top: 20px; }
  .host-tablist { padding: 7px 7px 0; gap: 4px; }
  .host-tablist button { min-height: 70px; padding: 10px 8px; gap: 8px; }
  .host-tablist strong { font-size: 11px; }
  .host-tab-badge { min-width: 35px; padding: 7px 5px; font-size: 8px; }
  .host-example-panel { padding: 24px 18px; }
  .host-terminal-output { padding: 16px; font-size: 12px; }
  .host-terminal-titlebar b { padding-left: 60px; font-size: 10px; }
  .host-network-heading { padding: 0 0 16px; }
  .host-network-heading strong { font-size: 15px; }
  .host-network figcaption { justify-content: flex-start; padding-inline: 8px; }
  .host-security-notes { gap: 20px; }
}
