.agent-header{background:#152024;border:1px solid #30464d;color:#e9f1f2;border-radius:8px;padding:11px 14px;font:600 12px inherit;cursor:pointer;white-space:nowrap}.agent-header:hover{border-color:#61dbeb}.agent-connected{color:#6fefb5;border-color:#326d54}.agent-entry{display:flex;justify-content:space-between;align-items:center;gap:12px;margin:20px 0;padding:15px 0;border-top:1px solid #283034;border-bottom:1px solid #283034}.agent-entry p{margin:0;color:#9da9ad;font-size:12px}.agent-entry strong{color:#eee;display:block;margin-bottom:5px;font-size:13px}
.agent-dialog{background:#101719;color:#f2f1e9;border:1px solid #344347;border-radius:20px;width:min(440px,calc(100vw - 28px));max-height:calc(100dvh - 32px);padding:28px;box-sizing:border-box;overflow:auto;box-shadow:0 0 80px #52d9ed18}.agent-dialog::backdrop{background:#020609d9;backdrop-filter:blur(10px)}.agent-dialog h2{font-size:24px;margin:5px 32px 8px 0}.agent-dialog .eyebrow{font-size:10px;letter-spacing:2px}.agent-close{position:absolute;right:16px;top:16px;background:#263034;border:0;border-radius:50%;width:32px;height:32px;color:#fff;font-size:21px;cursor:pointer}.agent-status{font-size:14px;color:#d6e4e5;line-height:1.6;min-height:24px;margin:16px 0}.agent-body{text-align:center;font-size:13px;color:#a8b9bd}.agent-qr{width:260px;max-width:100%;min-height:200px;background:white;border-radius:12px;margin:0 auto 16px;display:grid;place-items:center;color:#28343a;overflow:hidden}.agent-qr img{width:100%;height:auto;display:block}.agent-pairing{letter-spacing:1px}.agent-pairing strong{font-family:monospace;color:#ffd65a;background:#29271b;border:1px solid #594e27;padding:6px 12px;border-radius:5px;font-size:21px;margin-left:8px}.agent-hint{margin-top:16px;color:#91a4aa}.agent-secondary{background:transparent;color:#86d8e3;border:1px solid #344a50;padding:10px 14px;border-radius:8px;display:inline-block;text-decoration:none;font:inherit;cursor:pointer;margin:8px 0}.agent-dialog .button{width:100%;margin-top:12px;cursor:pointer}.agent-disclosure{border-top:1px solid #293438;padding-top:16px;margin:22px 0 0;color:#91a2a8;font-size:11px;line-height:1.8}.agent-success{color:#80efb5;font-size:15px}.agent-address{display:block;word-break:break-all;color:#f6da7b;background:#080e10;padding:16px;font-size:13px;line-height:1.8;border-radius:8px;margin:16px 0;user-select:all}.agent-dialog [hidden]{display:none!important}.agent-dialog button:focus-visible,.agent-dialog a:focus-visible,.agent-header:focus-visible{outline:2px solid #77e2ee;outline-offset:4px}
@media(max-width:650px){.agent-header{font-size:11px;padding:10px 9px}.header{gap:9px}.header>.header-cta{display:none}.agent-dialog{padding:22px}.agent-entry{flex-direction:column;align-items:flex-start}.agent-entry .agent-header{width:100%;padding:12px}}

.agent-steps{list-style:none;display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px;padding:0;margin:24px 0 18px}.agent-steps li{font-size:11px;color:#829398;border-top:2px solid #2a373c;padding:11px 0 0;display:flex;align-items:center;gap:6px}.agent-steps li span{font:10px ui-monospace,monospace;opacity:.7}.agent-steps li[data-state="active"]{border-color:#f4c54c;color:#f7da84}.agent-steps li[data-state="done"]{border-color:#62d9b3;color:#80e2be}.agent-feedback{border:1px solid #705b2d;background:#292316;padding:12px 14px;border-radius:10px;margin:16px 0;font-size:12px;line-height:1.7;color:#f1dca4}.agent-error-message{margin:0}.agent-reference{display:block;overflow-wrap:anywhere;margin-top:8px;font-size:10px;color:#c1ae7f}.agent-dialog button:disabled{cursor:wait;opacity:.6}.agent-cancel{width:100%;box-sizing:border-box}.agent-dialog{scrollbar-width:thin}.agent-dialog .agent-disclosure{margin-top:18px}.agent-dialog .agent-status{margin-bottom:18px}
@media(prefers-reduced-motion:no-preference){.agent-steps li[data-state="active"]{animation:agent-phase 2.4s ease-in-out infinite}@keyframes agent-phase{50%{border-color:#fff2be}}}
@media(max-width:650px){.agent-steps{gap:6px}.agent-steps li{font-size:10px;gap:4px}.agent-dialog{max-height:calc(100dvh - 24px)}}

@media(max-width:650px){.header .agent-header{font-size:10px;padding:9px 10px}.header .header-cta{display:none}}
