/* The Builder's connections (bizlee-connect.js). */
#appShell .connect-btn{flex:none;display:grid;place-items:center;width:44px;height:44px;margin-bottom:5px;border:1px solid rgba(90,192,191,.45);border-radius:10px;background:rgba(90,192,191,.1);color:#bff1ef;cursor:pointer}
#appShell .connect-btn[hidden]{display:none}
#appShell .connect-btn:hover{background:rgba(90,192,191,.2)}
#appShell .connect-btn svg{width:20px;height:20px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}
#appShell .connect-dialog{position:fixed;inset:0;margin:auto;width:min(620px,calc(100vw - 24px));max-width:none;height:min(760px,calc(100dvh - 24px));max-height:none;padding:22px;border:1px solid rgba(255,255,255,.1);border-radius:18px;background:#0d1426;color:#eef2fb;font-family:Inter,system-ui,sans-serif}
#appShell .connect-dialog[open]{display:flex;flex-direction:column;gap:12px}
#appShell .connect-dialog::backdrop{background:rgba(1,0,20,.7)}
#appShell .connect-head{display:flex;align-items:center;justify-content:space-between;gap:12px}
#appShell .connect-head h2{margin:0;font-size:21px}
#appShell .connect-head .modal-close{position:relative!important;inset:auto!important}
#appShell .connect-sub{color:#b8c2d6;font-size:14px;line-height:1.5}
#appShell .connect-search,#appShell .connect-key input{box-sizing:border-box;width:100%;height:44px;padding:0 14px;border:1px solid rgba(255,255,255,.14);border-radius:10px;background:#0a1020;color:#eef2fb;font-family:inherit;font-size:16px}
#appShell .connect-msg{color:#ffcf8a;font-size:14px}
#appShell .connect-msg:empty{display:none}
#appShell .connect-list{flex:1;min-height:0;overflow-y:auto;overscroll-behavior:contain;scrollbar-width:thin}
#appShell .connect-list h3{margin:18px 0 4px;color:#93a2b8;font-size:13px;font-weight:600}
#appShell .connect-row{display:flex;align-items:center;gap:12px;padding:9px 4px;border-bottom:1px solid rgba(255,255,255,.06)}
#appShell .connect-logo{flex:none;display:grid;place-items:center;width:36px;height:36px;border-radius:9px;background:#1a2440;color:#eef2fb;font-size:16px;font-weight:700}
#appShell .connect-logo svg{width:19px;height:19px;fill:currentColor}
#appShell .is-on .connect-logo{background:#5ac0bf;color:#04121a}
#appShell .connect-name{flex:1;min-width:0}
#appShell .connect-name b{font-size:15px;font-weight:600}
#appShell .connect-name small{display:block;margin-top:2px;color:#93a2b8;font-size:13px;line-height:1.4;overflow-wrap:anywhere}
#appShell .connect-on,#appShell .connect-off{flex:none;min-height:38px;padding:0 14px;border-radius:9px;font-family:inherit;font-size:13px;font-weight:600;cursor:pointer}
#appShell .connect-on{border:1px solid rgba(90,192,191,.5);background:rgba(90,192,191,.14);color:#bff1ef}
#appShell .connect-off{border:1px solid rgba(255,255,255,.14);background:none;color:#cfd8e4}
#appShell :is(.connect-on,.connect-off):disabled{opacity:.45;cursor:default}
#appShell .connect-dialog :focus-visible{outline:2px solid #8de1dd;outline-offset:2px}
#appShell .connect-key{display:grid;grid-template-columns:1fr auto;align-items:center;gap:8px;padding:10px 4px 14px}
#appShell .connect-key a{grid-column:1/-1;color:#8de1dd;font-size:13px}
#appShell .connect-note{color:#93a2b8;font-size:12px;line-height:1.45}
/* In the chat */
#appShell .connect-step{margin:0 0 8px;color:#93a2b8;font-size:13px}
#appShell .connect-step.is-bad{color:#ffb4a8}
#appShell .connect-stop{margin-left:8px;padding:4px 10px;border:1px solid rgba(255,255,255,.18);border-radius:8px;background:none;color:#cfd8e4;font-family:inherit;font-size:12px;cursor:pointer}
#appShell .connect-args{max-height:190px;padding:10px 12px;overflow:auto;border-radius:9px;background:rgba(0,0,0,.3);color:#cfd8e4;font-family:ui-monospace,Consolas,monospace;font-size:12px;line-height:1.5;white-space:pre-wrap;overflow-wrap:anywhere}
#appShell #coachChatPane .chat-tools .connect-btn{width:38px;height:38px;margin:0;border-radius:50%}
