.agent-access {--agent-blue:#3265dc;--agent-ink:#1b2028;--agent-muted:#555e6c;color:var(--agent-ink);}
.agent-access svg {width:20px;height:20px;flex:none;fill:none;stroke:currentColor;stroke-width:1.7;stroke-linecap:round;stroke-linejoin:round;}
.agent-button {display:inline-flex;align-items:center;justify-content:center;gap:10px;min-height:52px;padding:12px 22px;border:1px solid var(--agent-blue);border-radius:10px;background:#fff;color:var(--agent-blue);font:600 16px/1.5 var(--sans,sans-serif);text-decoration:none;cursor:pointer;transition:background .18s,color .18s;}
.agent-button--primary {background:var(--agent-blue);color:#fff;}
.agent-button:hover {background:#edf2ff;}
.agent-button--primary:hover {background:#234eb0;}
.agent-button:disabled {cursor:wait;opacity:.65;}
.agent-share {max-width:100%;}
.agent-share>summary {list-style:none;}
.agent-share>summary::-webkit-details-marker {display:none;}
.agent-qr-body {width:248px;max-width:100%;padding:18px;border:1px solid #dce2eb;border-radius:12px;background:#fff;text-align:center;margin:8px auto 0;}
.agent-qr-body img {display:block;width:164px;height:164px;margin:auto;image-rendering:pixelated;}
.agent-qr-body p {font-size:13px;line-height:1.65;color:var(--agent-muted);margin:12px 0 4px;}
.agent-qr-body a {color:var(--agent-blue);font-size:13px;display:inline-flex;align-items:center;min-height:44px;}
.agent-status {font-size:13px;line-height:1.6;color:var(--agent-muted);margin:10px 0 0;text-align:center;}
.agent-status:empty {display:none;}
.agent-fallback {max-width:660px;margin:16px auto 0;text-align:left;}
.agent-fallback label {display:block;font-size:14px;margin-bottom:8px;}
.agent-fallback textarea {box-sizing:border-box;width:100%;padding:14px;border:1px solid #aeb8c9;border-radius:8px;background:#fff;color:var(--agent-ink);font:14px/1.75 var(--sans,sans-serif);resize:vertical;caret-color:var(--agent-blue);}
.agent-access :focus-visible {outline:3px solid var(--agent-blue);outline-offset:4px;}
.agent-access ::selection {background:#dce7ff;color:var(--agent-ink);}
.agent-start {scroll-margin-top:90px;margin-top:30px;display:grid;grid-template-columns:minmax(0,1fr) 236px;align-items:start;gap:48px;max-width:900px;}
.agent-start h2 {font-size:22px;font-weight:600;line-height:1.4;margin:0 0 12px;}
.agent-start ol {padding-left:1.3em;margin:0 0 20px;color:var(--agent-muted);font-size:15px;line-height:1.85;}
.agent-start-actions {display:flex;flex-wrap:wrap;align-items:center;gap:12px;}
.agent-start .agent-qr-body {margin:0;width:236px;}
.agent-start .agent-status {text-align:left;}
.agent-start .agent-fallback {grid-column:1/-1;margin:0;width:100%;}
.agent-playbook pre,.agent-configuration {padding:20px;background:#f3f6fb;border-radius:8px;white-space:pre-wrap;overflow-wrap:anywhere;font:13px/1.8 ui-monospace,monospace;}
.agent-playbook table {width:100%;border-collapse:collapse;font-size:14px;line-height:1.7;margin:20px 0;}
.agent-playbook th,.agent-playbook td {border-bottom:1px solid #dce2eb;padding:12px 10px;text-align:left;vertical-align:top;}
body[data-ed-route="agent"] .mf-doc-lead,body[data-ed-route="agent"] .mf-doc-meta,body[data-ed-route="agent"] .mf-doc-nav a,body[data-ed-route="agent"] .mf-doc-nav small {color:#555e6c;}
body[data-ed-route="agent"] .mf-doc-meta,body[data-ed-route="agent"] .mf-doc-nav small {font-size:12px;}
@media(max-width:640px) {
  .agent-button {font-size:14px;padding:11px 10px;gap:7px;min-height:50px;}
  .agent-qr-body {padding:12px;width:100%;}
  .agent-qr-body img {width:min(100%,164px);height:auto;aspect-ratio:1;}
  .agent-start {grid-template-columns:minmax(0,1fr);gap:24px;margin-top:24px;}
  .agent-start .agent-qr-body {width:220px;margin:0;}
  .agent-start .agent-fallback {grid-column:auto;}
  .agent-playbook th,.agent-playbook td {padding:10px 6px;font-size:13px;}
}

.agent-ai-choice {margin:24px 0 0;padding-top:20px;border-top:1px solid #dce2eb;}
.agent-ai-choice h3 {margin:0 0 8px;font-size:17px;line-height:1.5;}
.agent-ai-choice p {margin:0 0 14px;color:var(--agent-muted);font-size:14px;line-height:1.8;}
.agent-ai-choice .agent-button {font-size:14px;}
.agent-utility[hidden] {display:none;}
[data-agent-continue] {margin-left:18px;color:var(--agent-blue);text-decoration:underline;}
#without-mcp ol{padding-left:1.4em;margin:20px 0;font-size:15px;line-height:1.9;color:#555e6c}

.agent-utility,.agent-share>summary{display:inline-flex;align-items:center;gap:6px;min-height:44px;font:500 13px/1.5 var(--sans,sans-serif);color:var(--agent-muted);text-decoration:none;cursor:pointer;background:none;border:0;padding:0}
.agent-header{flex:none}
.agent-header>summary{display:flex;align-items:center;justify-content:center;gap:7px;list-style:none;min-height:44px;padding:0 12px;border-radius:999px;background:#f1f5fd;color:#244f9f;font:600 13px/1.4 var(--sans,var(--font-sans,sans-serif));white-space:nowrap;cursor:pointer}
.agent-header>summary::-webkit-details-marker{display:none}
.agent-header>summary svg{width:17px;height:17px}
.agent-header>summary:hover,.agent-header[open]>summary{background:#e3ecfc}
.agent-header-short{display:none}
.agent-bubble{position:absolute;right:clamp(20px,4.5vw,66px);top:calc(100% + 10px);width:340px;max-width:calc(100vw - 32px);max-height:calc(100svh - 96px);overflow:auto;padding:22px;background:#fff;color:#1b2028;border-radius:12px;box-shadow:0 12px 36px #1b20282b;text-align:left;white-space:normal;z-index:110}
.agent-bubble h2{font-size:17px;line-height:1.5;margin:0 0 10px;font-weight:600}
.agent-bubble p{font-size:14px;line-height:1.8;color:#555e6c;margin:0 0 12px}
.agent-bubble .agent-status{text-align:left;font-size:13px;color:#244f9f}
.agent-bubble .agent-fallback{margin:12px 0}
.agent-copy-text{max-height:180px;overflow:auto;padding:12px;background:#f3f6fb;border-radius:8px;white-space:pre-wrap;overflow-wrap:anywhere;font:14px/1.8 var(--font-sans,sans-serif);caret-color:#3265dc}
.agent-bubble-links{display:grid;gap:2px;margin:8px 0}
.agent-bubble-links>a{display:flex;align-items:center;justify-content:space-between;min-height:44px;padding:8px 0;font-size:14px;color:#3265dc}
.agent-bubble a:hover{text-decoration:underline;text-underline-offset:3px}
.agent-bubble .agent-qr-body{width:100%;margin:0;border:0;padding:8px 0}
@media(max-width:680px){
 .agent-header-label{display:none}
 .agent-header-short{display:inline}
 .agent-header>summary{padding:0 10px;gap:5px;font-size:12px}
 .agent-bubble{right:16px;top:calc(100% + 8px)}
}
