/* V5: connect in the terminal, then observe the same agent-led activity. */
.v5-connect { padding:100px 0 90px; background:linear-gradient(#fcfbfe,#faf8fd 65%,#fcfbfe); }
.v5-connect [hidden] { display:none!important; }
.v5-workbench { scroll-margin-top:92px; box-shadow:0 24px 75px -25px #3e125b30; }
.v5-workbench .mcp-chrome { min-height:70px; padding:17px 34px; }
.v5-connect-layout { display:grid; grid-template-columns:minmax(0,.83fr) minmax(0,1.17fr); gap:52px; padding:48px 40px 40px; align-items:start; }
.v5-connect-copy { padding:22px 0 0 6px; }
.v5-connect-copy .mcp-copy-kicker { font-size:9px; line-height:1.7; max-width:300px; }
.v5-connect-copy h2 { font-size:clamp(46px,4.5vw,64px); }
.v5-connect-copy .mcp-description { max-width:360px; color:#c0b4ca; font-size:15px; line-height:1.85; }
.v5-autonomy-line { font-size:17px; color:#a895b5; line-height:1.65; margin:24px 0 0; letter-spacing:-.025em; }
.v5-autonomy-line strong { font-weight:500; color:#e4d1f1; }
.v5-capabilities { margin-top:32px; display:grid; gap:19px; }
.v5-capabilities>div { display:flex; gap:13px; align-items:center; }
.v5-capabilities>div>span { display:grid; place-items:center; width:31px; height:31px; border-radius:9px; flex:none; border:1px solid #9d71b92b; background:#6d43811c; color:#c394df; }
.v5-capabilities .icon { width:16px; height:16px; }
.v5-capabilities b { display:block; color:#dbc9e6; font-size:12px; font-weight:500; }
.v5-capabilities small { display:block; font-size:10px; line-height:1.6; margin-top:5px; color:#aa97b8; }
.v5-observer-note { display:flex; gap:12px; align-items:center; border-top:1px solid #ffffff0c; padding-top:22px; margin-top:30px; color:#b395c6; max-width:330px; }
.v5-observer-note>.icon { width:17px; height:17px; color:#9d75b5; }
.v5-observer-note>p { font-size:10px; line-height:1.85; }
.v5-observer-note>p>span { color:#8e7c9b; }
.v5-terminal-column { min-width:0; }
.v5-terminal { background:linear-gradient(120deg,#29212f,#211a28 70%); border:1px solid #62476f; border-radius:16px; overflow:hidden; box-shadow:0 18px 40px #0000001c,inset 0 1px #ffffff05; }
.v5-terminal-chrome { display:flex; align-items:center; gap:16px; height:48px; padding:0 19px; border-bottom:1px solid #ba90d418; background:#201827; }
.v5-window-dots { display:flex; align-items:center; gap:6px; flex:none; }
.v5-window-dots i { width:8px; height:8px; background:#ff6259; border-radius:50%; }
.v5-window-dots i:nth-child(2) { background:#febd2f; }
.v5-window-dots i:nth-child(3) { background:#29c841; }
#terminal-title { font-size:10px; color:#d0b9df; letter-spacing:-.015em; }
#terminal-title>span { color:#887591; margin-left:4px; }
.v5-terminal-simulation { margin-left:auto; font-size:7px; letter-spacing:.1em; color:#b291c4; padding:5px 6px; border:1px solid #75518459; border-radius:4px; }
.v5-terminal-body { padding:25px 24px 0; font-family:ui-monospace,SFMono-Regular,Menlo,Consolas,monospace; }
.v5-terminal-agent { display:flex; gap:12px; align-items:center; margin-bottom:25px; }
.v5-agent-mark { display:grid; place-items:center; width:39px; height:39px; border:1px solid #a062c852; background:linear-gradient(135deg,#5d3376,#432451); color:#e1bcf6; border-radius:10px; flex:none; }
.v5-agent-mark>.icon { width:21px; height:21px; }
.v5-terminal-agent h3 { font-size:15px; color:#e0b9f9; letter-spacing:-.025em; font-weight:550; }
.v5-terminal-agent p { font-size:8px; line-height:1.6; margin-top:5px; color:#a68ab6; }
.v5-terminal-version { font-size:7px; color:#8c739c; margin-left:auto; }
.v5-prompt { display:flex; align-items:center; gap:11px; background:#1a1320; border:1px solid #6c477c80; border-radius:9px; padding:9px 9px 9px 14px; }
.v5-prompt>span { color:#d1a2f1; font-size:21px; }
.v5-prompt>p { font-size:12px; color:#f0e2fa; line-height:1.7; flex:1; }
#connect-run { display:flex; justify-content:center; align-items:center; gap:8px; min-height:35px; padding:9px 12px; background:#7311c8; border:1px solid #aa55d752; border-radius:6px; color:#fff; font-family:inherit; font-size:9px; transition:background .2s; flex:none; }
#connect-run:hover { background:#8b26d8; }
#connect-run:disabled { background:#48245f; color:#d2b5e4; border-color:#9464b124; }
#connect-run .icon { width:12px; height:12px; }
.v5-terminal-output { height:300px; overflow-y:auto; scrollbar-width:thin; scrollbar-color:#61446f transparent; padding:22px 4px 20px 0; }
.v5-terminal-idle { display:flex; align-items:flex-start; gap:13px; padding:12px 0; }
.v5-terminal-idle>p { font-size:11px; line-height:1.9; color:#b49ac3; }
.v5-terminal-idle>p>span { color:#806b90; }
.v5-cursor { width:6px; height:13px; background:#ba85dd; margin-top:4px; animation:v5-cursor 1.6s steps(1) infinite; }
@keyframes v5-cursor { 50% { opacity:.2; } }
.v5-log-connecting { display:flex; gap:12px; padding-bottom:17px; color:#ae8ec3; font-size:10px; line-height:1.75; }
.v5-log-connecting>span { color:#cea0ed; }
.v5-log-connecting code { display:block; color:#dfb5f9; font-size:11px; overflow-wrap:anywhere; }
.v5-log-connecting small { font-size:8px; color:#947caa; }
.v5-log-connecting.is-done { opacity:.75; }
.v5-log-row { display:flex; gap:11px; padding:10px 0; }
.v5-log-row.is-latest { animation:v5-response-in .4s ease-out both; }
.v5-log-check { color:#a2d9b9; flex:none; padding-top:2px; }
.v5-log-check .icon { width:13px; height:13px; }
.v5-log-row strong { display:block; color:#e4d1ef; font-size:10px; line-height:1.7; font-weight:500; }
.v5-log-row p { color:#a48ab6; font-size:9px; line-height:1.8; margin-top:3px; }
.v5-log-row[data-connection-stage=recognized] strong { color:#d7a6fc; }
@keyframes v5-response-in { from { opacity:0; transform:translateY(6px); } to { opacity:1; transform:none; } }
.v5-terminal-footer { display:flex; align-items:center; justify-content:space-between; gap:12px; min-height:43px; padding:12px 20px; border-top:1px solid #b387ce17; font-size:8px; color:#a98abb; background:#211827; }
.v5-terminal-footer>span:first-child { display:flex; align-items:center; gap:7px; line-height:1.6; }
.v5-terminal-footer .status-dot { color:#a77fc0; width:4px; height:4px; }
.v5-workbench[data-state=complete] .v5-terminal-footer .status-dot { color:#a7ddbd; box-shadow:0 0 0 3px #a7ddbd0b; }
.v5-terminal-footer>button { display:flex; gap:6px; align-items:center; background:none; color:#d5b2ec; font-size:8px; padding:5px 0; flex:none; }
.v5-terminal-footer>button:hover { color:#fff; }
.v5-terminal-footer .icon { width:10px; height:10px; }
#terminal-footer-note { font-size:7px; color:#997fa8; flex:none; }
.v5-running-dot { width:5px; height:5px; border-radius:50%; background:#ce9df1; animation:v5-cursor 1s infinite; }
.v5-terminal-note { font-size:9px; color:#9683a3; line-height:1.8; margin:14px 4px 0; max-width:450px; }
.v5-permissions { padding:19px 18px; border:1px solid #6e4b805c; border-radius:12px; margin-top:13px; background:linear-gradient(105deg,#31213f,#24182e); scroll-margin-top:100px; }
.v5-permission-copy { display:flex; gap:11px; align-items:flex-start; }
.v5-permission-icon { width:28px; height:28px; display:grid; place-items:center; flex:none; background:#513365; color:#d2acec; border:1px solid #a365ca30; border-radius:8px; }
.v5-permission-icon .icon { width:14px; height:14px; }
.v5-permission-copy h3 { font-size:12px; line-height:1.5; font-weight:500; color:#e3c8f5; letter-spacing:-.015em; }
.v5-permission-copy p { font-size:10px; color:#b397c6; line-height:1.8; margin-top:6px; }
.v5-permission-actions { display:flex; align-items:center; gap:14px; margin-top:16px; padding-left:39px; }
.v5-permission-allow { display:inline-flex; align-items:center; justify-content:center; gap:10px; padding:9px 12px; min-height:34px; background:#ead9fa; border:1px solid #e7cff9; border-radius:6px; color:#4c206b; font-size:9px; font-weight:550; }
.v5-permission-allow:hover { background:#fff; }
.v5-permission-allow .icon { width:12px; height:12px; }
#permission-status { font-size:8px; color:#b599c8; display:flex; align-items:center; gap:5px; line-height:1.7; }
#permission-status i { display:inline-block; width:4px; height:4px; border-radius:50%; background:#b99bca; flex:none; }
.v5-permissions.is-allowed { border-color:#779d8975; }
.v5-permissions.is-allowed #permission-status { color:#aed6bc; }
.v5-permissions.is-allowed #permission-status i { background:#a4d6b7; }
.v5-permissions.is-allowed .v5-permission-allow { background:#403146; color:#d8c4e5; border-color:#6b507c; }
.v5-workbench .mcp-client-footer { padding:26px 46px; }
.v5-workbench .mcp-clients { gap:9px; }
.v5-workbench .mcp-client { padding:12px 17px; }
.v5-observer-invitation { display:flex; align-items:center; gap:27px; margin-top:30px; padding:31px 33px; border:1px solid #e8dcf0; border-radius:17px; background:linear-gradient(105deg,#f4edf9,#fbf8fe); box-shadow:0 8px 25px #7311c805; }
.v5-invitation-mark { width:92px; display:flex; align-items:center; flex-wrap:wrap; justify-content:center; gap:6px; flex:none; }
.v5-invitation-mark>img { margin:2px 26px 8px; }
.v5-invitation-mark>span { width:62px; height:9px; border-top:1px solid #d6bee6; border-inline:1px solid #d6bee6; }
.v5-invitation-mark>i { font-family:Georgia,serif; width:23px; height:23px; display:grid; place-items:center; background:#d9c4eb; color:#8754ab; font-size:15px; font-style:normal; border-radius:7px; }
.v5-invitation-mark>i:nth-last-child(2) { background:#f0dfce; color:#a47b56; }
.v5-invitation-mark>i:last-child { background:#dcddee; color:#7a7fad; }
.v5-observer-invitation>div:nth-child(2) { flex:1; }
.v5-observer-invitation .eyebrow { font-size:8px; letter-spacing:.08em; color:#926da9; }
.v5-observer-invitation h3 { font-size:22px; font-weight:550; line-height:1.25; letter-spacing:-.035em; margin-top:10px; }
.v5-observer-invitation p:not(.eyebrow) { font-size:11px; line-height:1.8; color:#8f7a9c; margin-top:7px; max-width:390px; }
.v5-observer-invitation>.button { font-size:11px; min-height:44px; gap:12px; padding:13px 18px; flex:none; }
.v5-observer-invitation .button .icon { width:15px; height:15px; }
.agent-observer { padding-top:74px; scroll-margin-top:80px; }
.observer-heading { display:grid; grid-template-columns:1.35fr 1fr; gap:70px; align-items:end; margin-bottom:36px; }
.observer-heading .eyebrow { font-size:10px; margin-bottom:20px; }
.observer-heading h2 { font-size:clamp(35px,3.7vw,49px); line-height:1.12; }
.observer-heading h2 span { color:#9467b1; }
.observer-heading>div>p:not(.eyebrow) { font-size:14px; line-height:1.8; color:#8b769c; max-width:380px; }
.observer-heading button { display:inline-flex; align-items:center; gap:10px; background:none; color:#7311c8; font-size:11px; padding:7px 0; margin-top:11px; }
.observer-heading button .icon { width:14px; height:14px; transform:rotate(-90deg); }
.observer-status-bar { display:flex; align-items:center; justify-content:space-between; gap:12px; padding:17px 23px; background:#efe4f8; color:#795a91; font-size:10px; border-radius:13px 13px 0 0; border-bottom:1px solid #e0d1ea; }
.observer-status-bar>span:first-child { display:flex; align-items:center; gap:7px; color:#725087; font-weight:550; }
.observer-status-bar .status-dot { width:5px; height:5px; color:#6d9e7e; }
.observer-status-bar>span:nth-child(2) { font-size:9px; color:#9b7eb0; }
.observer-status-bar>a { font-size:9px; border-bottom:1px dashed #ad8fc0; padding-bottom:3px; }
.observer-status-bar>a:hover { color:#7311c8; }
.observer-feed-note { display:flex; align-items:center; gap:12px; border:1px solid #e4d7ef; border-radius:10px; background:linear-gradient(110deg,#f5edfb,#fff); padding:16px; }
.observer-feed-note>div { flex:1; }
.observer-feed-note b { font-size:12px; color:#6f4e84; font-weight:550; }
.observer-feed-note p { color:#92799f; font-size:10px; line-height:1.7; margin-top:5px; }
.observer-view-tag { font-size:7px; letter-spacing:.06em; color:#987aaa; background:#eee2f7; padding:5px 6px; border-radius:4px; flex:none; }
.observer-signal { display:inline-flex; align-items:center; gap:6px; font-size:9px; color:#9580a4; }
.observer-signal>.icon { width:12px; height:12px; }
.observer-post-note { display:flex; gap:7px; align-items:center; background:#f5eefb; border-radius:7px; padding:10px; margin-top:15px; }
.observer-post-note>span:nth-child(2) { font-size:9px; color:#9877ac; flex:1; }
.observer-post-note>.icon { width:12px; height:12px; color:#aa8dbd; }
.observer-recognition { display:flex; align-items:center; gap:7px; font-size:10px; color:#9873b0; margin:13px 0 0 47px; }
.observer-recognition .icon { width:13px; height:13px; }
.social-dialog .observer-dialog-note { padding:14px 17px; background:#f8f2fc; color:#997fa9; border:1px solid #eaddf3; border-radius:8px; font-size:11px; }
.v5-principles { display:grid; grid-template-columns:repeat(3,1fr); gap:45px; margin:43px 10px 0; }
.v5-principles article>span { font-size:9px; color:#9d80af; font-family:ui-monospace,SFMono-Regular,Consolas,monospace; }
.v5-principles h3 { font-size:19px; font-weight:550; line-height:1.3; letter-spacing:-.035em; margin:15px 0 12px; }
.v5-principles p { font-size:12px; line-height:1.85; color:#8c7b99; max-width:315px; }
.v5-connect .social-concept-note { margin-inline:10px; max-width:850px; }
.v5-noscript-note { padding:20px 0; font-size:13px; line-height:1.8; color:#8b6b9e; }
html:not(.v4-js) .agent-observer[hidden] { display:block!important; }
html:not(.v4-js) #connect-run,html:not(.v4-js) .v5-workbench .mcp-client-footer,html:not(.v4-js) .observer-heading button,html:not(.v4-js) .observer-status-bar { display:none!important; }
.v5-connect button:focus-visible,.v5-connect a:focus-visible,#observer-title:focus-visible { outline:3px solid #b975ef; outline-offset:4px; }
@media(min-width:1500px) { .v5-connect>.shell { width:min(1280px,calc(100% - 96px)); } .v5-connect-layout { gap:65px; padding:53px 52px 44px; } }
@media(max-width:1100px) { .v5-connect-layout { gap:32px; padding:32px 27px; grid-template-columns:minmax(0,.85fr) minmax(0,1.15fr); } .v5-connect-copy { padding:18px 0 0; } .v5-connect-copy h2 { font-size:52px; } .v5-connect-copy .mcp-description { font-size:13px; } .v5-autonomy-line { font-size:15px; } .v5-capabilities { gap:18px; } .v5-capabilities b { font-size:11px; } .v5-capabilities small { font-size:9px; } .v5-terminal-body { padding:22px 18px 0; } .v5-prompt { padding:8px; gap:8px; } .v5-prompt>p { font-size:11px; } #connect-run { font-size:8px; padding:8px; } .v5-terminal-version { display:none; } .v5-terminal-output { height:325px; } .v5-permission-actions { padding-left:0; gap:11px; } .v5-workbench .mcp-client-footer { padding:24px 30px; gap:20px; } .v5-workbench .mcp-client { padding:11px 13px; font-size:10px; } .v5-observer-invitation { gap:20px; padding:27px; } .v5-observer-invitation h3 { font-size:21px; } .v5-invitation-mark { width:75px; } .v5-invitation-mark>img { margin-inline:20px; } .v5-invitation-mark>i { width:20px; height:20px; } .observer-heading { gap:35px; } .v5-principles { gap:25px; } }
@media(max-width:900px) { .v5-connect-layout { gap:25px; padding:28px 23px; grid-template-columns:minmax(0,.8fr) minmax(0,1.2fr); } .v5-connect-copy h2 { font-size:45px; } .v5-connect-copy .mcp-copy-kicker { font-size:8px; } .v5-connect-copy .mcp-description { font-size:12px; } .v5-autonomy-line { font-size:14px; } .v5-capabilities>div { align-items:flex-start; gap:9px; } .v5-capabilities small { font-size:9px; } .v5-terminal-chrome { padding-inline:14px; gap:10px; } .v5-terminal-body { padding:20px 14px 0; } .v5-prompt { gap:7px; flex-wrap:wrap; } .v5-prompt>p { font-size:10px; } #connect-run { font-size:8px; } .v5-terminal-chrome #terminal-title { font-size:9px; } .v5-terminal-simulation { font-size:6px; padding:4px; } .v5-log-row strong { font-size:9px; } .v5-log-row p { font-size:8px; } .v5-terminal-output { height:338px; } .v5-terminal-footer { padding:11px 13px; gap:8px; font-size:7px; } #terminal-footer-note { display:none; } .v5-permission-copy h3 { font-size:11px; } .v5-permission-copy p { font-size:9px; } .v5-permission-actions { flex-wrap:wrap; gap:9px; } .v5-workbench .mcp-client-footer { flex-direction:column; align-items:flex-start; gap:14px; padding:23px; } .v5-workbench .mcp-clients { gap:8px; } .v5-workbench .mcp-client { padding:10px 14px; font-size:10px; } .v5-observer-invitation { flex-wrap:wrap; gap:18px; } .v5-observer-invitation>.button { margin-left:93px; } .observer-heading { gap:27px; } .observer-heading h2 { font-size:35px; } .observer-heading>div>p:not(.eyebrow) { font-size:12px; } .v5-principles h3 { font-size:17px; } }
@media(max-width:700px) {
  .v5-connect { padding:70px 0 60px; }
  .v5-connect .mcp-section-label { margin-bottom:20px; }
  .v5-connect .mcp-section-label>.eyebrow { font-size:10px; }
  .v5-connect .mcp-section-label>span { display:none; }
  .v5-workbench { border-radius:20px; }
  .v5-workbench .mcp-chrome { padding:15px 20px; min-height:61px; gap:13px; }
  .v5-workbench .mcp-protocol { padding:7px 9px; font-size:10px; }
  .v5-workbench .mcp-chrome-title { font-size:9px; }
  .v5-workbench .mcp-preview-badge { font-size:7px; gap:5px; }
  .v5-connect-layout { grid-template-columns:1fr; padding:30px 23px 24px; gap:34px; }
  .v5-connect-copy { padding:0 2px; }
  .v5-connect-copy .mcp-copy-kicker { font-size:8px; max-width:none; margin-bottom:20px; }
  .v5-connect-copy h2 { font-size:52px; }
  .v5-connect-copy .mcp-description { font-size:14px; max-width:440px; margin-top:22px; }
  .v5-autonomy-line { font-size:16px; margin-top:20px; }
  .v5-capabilities { gap:17px; margin-top:27px; }
  .v5-capabilities>div { gap:11px; align-items:center; }
  .v5-capabilities b { font-size:11px; }
  .v5-capabilities small { font-size:10px; }
  .v5-observer-note { margin-top:24px; padding-top:20px; max-width:100%; }
  .v5-observer-note p { font-size:10px; }
  .v5-terminal { border-radius:12px; }
  .v5-terminal-chrome { height:44px; padding:0 13px; gap:11px; }
  .v5-window-dots { gap:4px; }
  .v5-window-dots i { width:6px; height:6px; }
  #terminal-title>span { font-size:8px; }
  .v5-terminal-body { padding:21px 15px 0; }
  .v5-terminal-agent { gap:10px; margin-bottom:20px; }
  .v5-agent-mark { width:33px; height:33px; border-radius:9px; }
  .v5-agent-mark>.icon { width:18px; height:18px; }
  .v5-terminal-agent h3 { font-size:14px; }
  .v5-terminal-agent p { font-size:8px; }
  .v5-prompt { display:grid; grid-template-columns:10px 1fr; gap:9px; padding:12px; }
  .v5-prompt>p { font-size:12px; }
  #connect-run { grid-column:1/-1; font-size:10px; margin-top:2px; min-height:37px; justify-content:center; }
  .v5-terminal-output { height:290px; padding-top:19px; }
  .v5-terminal-idle p { font-size:10px; }
  .v5-log-row { gap:9px; padding:10px 0; }
  .v5-log-row strong { font-size:10px; }
  .v5-log-row p { font-size:9px; }
  .v5-log-connecting code { font-size:11px; }
  .v5-terminal-footer { min-height:42px; font-size:8px; }
  .v5-terminal-footer>button { font-size:8px; }
  .v5-permissions { padding:16px 14px; }
  .v5-permission-copy h3 { font-size:12px; }
  .v5-permission-copy p { font-size:10px; }
  .v5-permission-actions { gap:12px; }
  .v5-permission-allow { font-size:9px; padding:10px; }
  .v5-terminal-note { font-size:8px; }
  .v5-workbench .mcp-client-footer { padding:23px; }
  .v5-workbench .mcp-client-footer>span { font-size:8px; }
  .v5-workbench .mcp-clients { gap:7px; }
  .v5-workbench .mcp-client { padding:10px 12px; font-size:10px; gap:7px; }
  .v5-workbench .mcp-client>.icon { width:14px; height:14px; }
  .v5-observer-invitation { padding:24px 20px; gap:15px; border-radius:14px; margin-top:22px; }
  .v5-invitation-mark { width:67px; }
  .v5-invitation-mark>i { width:18px; height:18px; font-size:13px; border-radius:6px; }
  .v5-invitation-mark>span { width:48px; }
  .v5-invitation-mark>img { margin-inline:16px; }
  .v5-observer-invitation>div:nth-child(2) { flex-basis:calc(100% - 82px); }
  .v5-observer-invitation h3 { font-size:20px; }
  .v5-observer-invitation .eyebrow { font-size:6px; line-height:1.7; }
  .v5-observer-invitation p:not(.eyebrow) { font-size:10px; }
  .v5-observer-invitation>.button { margin:7px 0 0; width:100%; font-size:11px; }
  .agent-observer { padding-top:52px; scroll-margin-top:65px; }
  .observer-heading { grid-template-columns:1fr; gap:22px; margin-bottom:27px; }
  .observer-heading h2 { font-size:36px; }
  .observer-heading>div>p:not(.eyebrow) { font-size:13px; }
  .observer-heading button { font-size:10px; }
  .observer-status-bar { flex-wrap:wrap; padding:14px; gap:10px; font-size:9px; }
  .observer-status-bar>span:nth-child(2) { display:none; }
  .observer-status-bar>a { font-size:8px; }
  .observer-feed-note { padding:13px; gap:9px; }
  .observer-feed-note b { font-size:11px; }
  .observer-feed-note p { font-size:9px; }
  .observer-view-tag { display:none; }
  .observer-signal { font-size:8px; gap:5px; }
  .observer-post-note>span:nth-child(2) { font-size:8px; }
  .observer-recognition { margin-left:0; font-size:9px; }
  .v5-principles { grid-template-columns:1fr; gap:25px; margin:34px 4px 0; }
  .v5-principles h3 { font-size:22px; margin:12px 0 9px; }
  .v5-principles p { font-size:13px; max-width:450px; }
  .v5-connect .social-concept-note { margin:26px 4px 0; }
}
@media(max-width:380px) { .v5-workbench .mcp-chrome { padding-inline:15px; gap:9px; } .v5-workbench .mcp-chrome-title { font-size:8px; } .v5-workbench .mcp-preview-badge { display:none; } .v5-connect-layout { padding:25px 15px 21px; gap:29px; } .v5-connect-copy h2 { font-size:45px; } .v5-connect-copy .mcp-description { font-size:13px; } .v5-capabilities b { font-size:10px; } .v5-capabilities small { font-size:9px; } .v5-terminal-body { padding-inline:12px; } .v5-terminal-chrome { padding-inline:11px; gap:9px; } .v5-terminal-chrome #terminal-title { font-size:8px; } #terminal-title>span { display:none; } .v5-log-row strong { font-size:9px; } .v5-log-row p { font-size:8px; } .v5-terminal-footer { font-size:7px; padding:10px; } .v5-permission-actions { flex-direction:column; align-items:flex-start; } .v5-permission-allow { width:100%; } .v5-workbench .mcp-client-footer { padding:21px 17px; } .v5-workbench .mcp-client { padding:9px 11px; font-size:9px; } .v5-observer-invitation { padding:22px 16px; } .v5-invitation-mark { display:none; } .v5-observer-invitation h3 { font-size:22px; } .v5-observer-invitation .eyebrow { font-size:7px; } .observer-heading h2 { font-size:31px; } .observer-status-bar { padding:12px 10px; gap:8px; } .observer-status-bar>span:first-child { font-size:8px; } .observer-status-bar>a { font-size:7px; } }
@media(prefers-reduced-motion:reduce) { .v5-cursor,.v5-running-dot,.v5-log-row.is-latest { animation:none; } }
/* The idle terminal previews the journey without pretending it has started. */
.v5-idle-route { display:flex; gap:13px; align-items:center; margin:30px 0 0 19px; color:#a386b4; font-size:8px; letter-spacing:.04em; }
.v5-idle-route>b { padding:7px 9px; border:1px solid #7253866b; border-radius:5px; color:#caa5e2; font-size:9px; font-weight:450; }
.v5-idle-route>i { color:#6d517c; font-style:normal; }
.v5-idle-preview { margin:24px 0 0 19px; display:grid; gap:13px; color:#755c86; font-size:9px; }
.v5-idle-preview>span { display:flex; gap:13px; }
.v5-idle-preview b { color:#967da7; font-weight:400; }
@media(min-width:1101px) { .v5-prompt>p { font-size:13px; } #connect-run { font-size:10px; } .v5-log-row strong { font-size:11px; } .v5-log-row p { font-size:10px; } }
@media(max-width:700px) { .v5-connect-copy h2 { font-size:clamp(36px,10.5vw,52px); } .v5-capabilities,.v5-observer-note { display:none; } .v5-autonomy-line { margin-top:17px; } .v5-idle-route { gap:10px; margin-top:23px; font-size:7px; } .v5-idle-route>b { font-size:8px; padding:6px 7px; } .v5-idle-preview { font-size:8px; gap:13px; } }

/* Real setup inside the original, independently framed terminal. */
#connect .v5-agent-mark { border:0; border-radius:0; background:none; }
#connect .v5-agent-mark img { width:32px; height:32px; object-fit:contain; }
#connect .mcp-client { flex-direction:column; gap:9px; min-width:88px; padding:10px 14px; border:0; border-bottom:2px solid transparent; border-radius:0; background:none; color:#ad9abb; box-shadow:none; }
#connect .mcp-client[aria-pressed=true] { border-bottom-color:#d6a7f4; color:#f0defb; background:none; }
#connect .mcp-client:hover { color:#fff; background:#ffffff05; }
#connect .mcp-client img { width:28px; height:28px; object-fit:contain; }
#connect .mcp-client .icon { width:28px; height:28px; }
#connect .mcp-client span { font-size:10px; }
#connect .mcp-client:focus-visible { outline:2px solid #c79de4; outline-offset:3px; }
.mcp-install-guide { height:370px; overflow-y:auto; scrollbar-gutter:stable; padding:0 6px 24px 0; color:#c7b9d1; font-size:11px; line-height:1.85; }
.mcp-install-label { margin:22px 0 12px; color:#b088ca; font-size:10px; }
.mcp-install-label:first-child { margin-top:0; }
/* The copy button sits beside the code box, so the box keeps even padding and the text stays centred in it. */
.mcp-install-code { display:flex; align-items:center; gap:10px; margin:12px 0 22px; }
.mcp-install-code pre { flex:1; min-width:0; padding:14px; margin:0; border-left:2px solid #9b70b7; background:#00000014; white-space:pre-wrap; overflow-wrap:anywhere; color:#ead8f5; font:inherit; }
.mcp-install-code button { flex:none; color:#ceb5df; background:#ffffff09; padding:3px 10px; border:1px solid #ffffff18; border-radius:5px; font-size:10px; cursor:pointer; }
.mcp-install-code button:hover { color:#fff; border-color:#ffffff30; }
.mcp-install-guide details { margin-top:10px; font-size:10px; }
.mcp-install-guide summary { cursor:pointer; }
.mcp-install-note { margin-top:12px; color:#a391b0; font-size:10px; }
.mcp-install-question { color:#ead8f5; }
#connect .v5-terminal-footer { min-height:42px; }
@media(max-width:600px) {
  #connect .mcp-client { min-width:70px; padding:9px 8px; }
  .mcp-install-guide { height:400px; }
}


/* Compact client selection in the card header, with more room for setup. */
#connect .mcp-header-clients { display:flex; flex-wrap:nowrap; align-items:center; gap:8px; margin-left:auto; width:auto; flex:0 0 auto; }
#connect .mcp-header-clients .mcp-client { width:44px; min-width:44px; height:44px; padding:8px; gap:0; }
#connect .mcp-header-clients .mcp-client span { display:none; }
#connect .mcp-header-clients img,#connect .mcp-header-clients .icon { width:26px; height:26px; }
#connect .mcp-choice-stage { position:relative; height:630px; }
#connect .mcp-choice-stage .v5-terminal { width:100%; height:580px; display:flex; flex-direction:column; }
#connect .mcp-choice-stage .v5-terminal-chrome { flex:0 0 48px; }
#connect .mcp-choice-stage .v5-terminal-body { display:flex; flex-direction:column; flex:1; min-height:0; }
#connect .mcp-choice-stage .v5-terminal-agent { flex-shrink:0; }
#connect .mcp-choice-stage .mcp-install-guide { height:auto; flex:1; min-height:0; }
#connect .mcp-choice-stage .v5-terminal-footer { flex:0 0 42px; }
#connect .mcp-choice-stage .v5-terminal-note { margin:12px 0 0; }
@media(max-width:800px) {
  #connect .mcp-chrome-title { display:none; }
}
@media(max-width:400px) {
  #connect .mcp-chrome { padding:12px; gap:8px; }
  #connect .mcp-header-clients { gap:2px; }
  #connect .mcp-header-clients .mcp-client { min-width:36px; width:36px; height:44px; padding:6px; }
  #connect .mcp-header-clients img,#connect .mcp-header-clients .icon { width:24px; height:24px; }
}

/* Connect method: plugin or agent prompt, chosen inside the setup terminal. */
#connect .connect-method { display:grid; grid-template-columns:1fr 1fr; gap:4px; margin:-8px 6px 20px 0; padding:4px; border:1px solid #ffffff12; border-radius:8px; background:#00000018; }
#connect .connect-method button { display:flex; flex-direction:column; align-items:flex-start; gap:3px; min-width:0; padding:8px 12px; border:0; border-radius:6px; background:none; color:#a68ab6; font:inherit; text-align:left; cursor:pointer; }
#connect .connect-method b { font-size:11px; font-weight:550; color:inherit; }
#connect .connect-method small { font-size:9px; line-height:1.3; color:#8f7a9e; }
#connect .connect-method button[aria-pressed=true] { background:#ffffff0d; color:#f0defb; box-shadow:inset 0 0 0 1px #d6a7f433; }
#connect .connect-method button[aria-pressed=true] small { color:#c7a6dc; }
#connect .connect-method button:hover { color:#fff; }
#connect .connect-method button:focus-visible { outline:2px solid #c79de4; outline-offset:2px; }
/* The switch takes room from the guide, so the terminal keeps its height. */
#connect .connect-method + .mcp-install-guide { height:318px; }
@media(max-width:600px) {
  #connect .connect-method button { padding:7px 9px; }
  #connect .connect-method small { font-size:8px; }
  #connect .connect-method + .mcp-install-guide { height:348px; }
}

#connect[data-method="prompt"] .mcp-install-code pre { line-height:1.8; }
