.agent-origin{display:inline-block;font-size:9px!important;font-weight:500!important;border-radius:4px;padding:4px 7px;margin-top:5px;white-space:nowrap}.agent-origin.company{color:#62748f;background:#eff3f8}.agent-origin.hub{color:#64748b;background:#eff6ff}.hub-agents{margin:26px 0 18px}.hub-agents>header h2,.company-agent-heading{font-size:17px;font-weight:500;margin:0 0 8px}.hub-agents>header p{font-size:12px;color:#64748b;line-height:1.6}.hub-agent-catalog{display:grid;grid-template-columns:repeat(3,1fr);gap:16px;margin:20px 0 30px}.hub-agent-catalog article{border:1px solid #eff6ff;border-radius:13px;padding:20px;display:flex;flex-direction:column;align-items:start;background:linear-gradient(140deg,#f8fafc,#fff)}.hub-agent-icon{color:#64748b;font-size:27px;margin:17px 0 3px}.hub-agent-catalog h3{font-size:14px;font-weight:500;margin:10px 0}.hub-agent-catalog p{font-size:12px;color:#64748b;line-height:1.8;margin:0 0 18px;flex:1}.hub-agent-catalog button{width:100%}.agent-picker-heading{display:block;padding:14px 12px 8px;color:#64748b;font-size:9px;letter-spacing:1px}#bAgentMenu{max-height:65dvh;overflow:auto}@media(max-width:1050px){.hub-agent-catalog{grid-template-columns:1fr}}

.hub-agents>header{display:flex;align-items:end;justify-content:space-between;gap:20px}.catalog-note{font-size:12px;color:#64748b;background:#f1f5f9;border-radius:8px;padding:8px 10px;white-space:nowrap}.hub-agent-catalog{grid-template-columns:repeat(2,minmax(0,1fr))}.hub-agent-catalog article{cursor:pointer;transition:transform .18s ease,box-shadow .18s ease}.hub-agent-catalog article:hover,.hub-agent-catalog article:focus-visible{transform:translateY(-3px);box-shadow:0 16px 36px #0b4fb024;outline:none}.hub-agent-catalog article>header{display:flex;align-items:center;justify-content:space-between;width:100%;gap:10px}.agent-state{font-size:11px;background:#ffffff1f;border:1px solid #ffffff32;border-radius:99px;padding:5px 8px;color:#fff}.agent-state.contracted{background:#dff8ed;color:#176b4a;border-color:#c9eedf}.agent-card-price{display:flex;align-items:baseline;gap:7px;margin:0 0 17px;color:#fff}.agent-card-price strong{font-size:18px}.agent-card-price small{font-size:11px;color:#dbeafe}.hub-agent-catalog article>button{margin-top:auto}.hub-agent-catalog article:nth-child(4){background:linear-gradient(145deg,#172554,#4338ca)}.hub-agent-catalog article:nth-child(4) .hub-agent-icon{color:#c4b5fd}

.hub-agent-detail{padding:0!important;overflow:auto!important}.agent-detail-nav{display:flex;align-items:center;justify-content:space-between;padding:20px clamp(22px,4vw,58px);border-bottom:1px solid #e2e8f0;background:#fff;position:sticky;top:0;z-index:4}.agent-detail-nav>button{border:0;background:transparent;color:#0066ff;font-weight:600;font-size:14px;padding:8px 0}.agent-detail-nav .agent-origin{font-size:11px!important;padding:6px 9px;background:#eaf2ff;color:#0066ff}.agent-detail-grid{display:grid;grid-template-columns:minmax(0,1fr) 330px;gap:38px;max-width:1180px;margin:0 auto;padding:42px clamp(22px,4vw,58px) 70px}.agent-detail-grid>main{min-width:0}.agent-detail-title{display:grid;grid-template-columns:76px minmax(0,1fr);gap:22px;align-items:start}.agent-detail-title>span{display:grid;place-items:center;width:76px;height:76px;border-radius:22px;background:linear-gradient(145deg,#0066ff,#6b5cf6);color:#fff;font-size:34px;box-shadow:0 12px 30px #0066ff25}.agent-detail-title small{display:block;color:#0066ff;font-size:12px;font-weight:600;letter-spacing:.04em;margin:2px 0 9px}.agent-detail-title h1{font-size:34px;letter-spacing:-1.2px;margin:0 0 12px;color:#0f172a}.agent-detail-title p{font-size:16px;line-height:1.7;color:#53647c;max-width:720px;margin:0}.agent-value{margin:42px 0}.agent-value h2,.agent-test-panel h2{font-size:20px;margin:0 0 17px;color:#0f172a}.agent-value>div{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px}.agent-value article{border-radius:14px;background:#f6f9ff;padding:18px}.agent-value article span{display:grid;place-items:center;width:29px;height:29px;border-radius:9px;background:#e6efff;color:#0066ff;font-weight:700}.agent-value article p{font-size:14px;line-height:1.6;color:#40516a;margin:13px 0 0}.agent-test-panel{border-radius:19px;background:#f8fafc;padding:24px}.agent-test-panel>header{display:flex;align-items:start;justify-content:space-between;gap:16px}.agent-test-panel>header small{color:#0066ff;font-size:11px;font-weight:700;letter-spacing:.08em}.agent-test-panel>header h2{margin:7px 0}.agent-test-panel>header>span{font-size:11px;color:#64748b;background:#fff;border-radius:7px;padding:7px 9px}.agent-test-panel>#agentTestExamples{display:flex;flex-wrap:wrap;gap:7px;margin:8px 0 18px}.agent-test-panel>#agentTestExamples button{border:1px solid #dbe5f2;background:#fff;color:#465870;border-radius:8px;padding:8px 10px;font-size:12px}.agent-test-panel form{display:flex;align-items:end;gap:10px;background:#fff;border:1px solid #dce5f1;border-radius:13px;padding:10px}.agent-test-panel textarea{flex:1;resize:vertical;border:0;background:transparent;outline:0;font:400 14px Inter,sans-serif;color:#24344c}.agent-test-panel form button{flex:none}.agent-test-panel #agentTestMessages{display:grid;gap:10px;margin-bottom:12px}.agent-test-panel #agentTestMessages:empty{display:none}.agent-test-panel #agentTestMessages article{padding:13px 15px;border-radius:11px}.test-user{background:#0066ff;color:#fff;margin-left:13%}.test-user p{color:#fff!important;margin:0}.test-agent{background:#fff;color:#334155;margin-right:6%}.test-agent header{display:flex;align-items:center;gap:8px}.test-agent header span{display:grid;place-items:center;width:27px;height:27px;border-radius:8px;background:#eaf2ff;color:#0066ff}.test-agent p{font-size:14px;line-height:1.65;margin:10px 0;color:#334155}.test-agent small{color:#64748b;font-size:11px}

.agent-purchase{position:sticky;top:108px;align-self:start;border:1px solid #e1e8f2;border-radius:18px;background:#fff;padding:24px;box-shadow:0 18px 50px #173b7212}.agent-purchase>span{display:inline-block;border-radius:99px;padding:6px 9px;font-size:11px;background:#eef4ff;color:#0066ff}.agent-purchase>span.contracted{background:#e3f6ed;color:#177052}.agent-purchase h2{font-size:20px;margin:20px 0}.agent-price-row,.agent-price-total{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:11px 0;color:#64748b;font-size:13px}.agent-price-row strong{color:#334155}.agent-price-total{border-top:1px solid #e2e8f0;margin-top:7px;padding-top:17px;color:#334155}.agent-price-total strong{font-size:22px;color:#0066ff}.agent-purchase>small{display:block;font-size:11px;color:#64748b;line-height:1.6;margin:8px 0 19px}.agent-purchase>button{width:100%;min-height:44px}.agent-purchase>button:disabled{background:#e8edf4!important;color:#728198!important;border-color:#e8edf4!important}.agent-purchase>p{font-size:12px;line-height:1.6;color:#64748b;margin:13px 0 0}

html[data-theme="dark"] .agent-detail-nav{background:var(--dark-shell)!important;border-color:var(--dark-line)!important}html[data-theme="dark"] .agent-detail-title h1,html[data-theme="dark"] .agent-value h2,html[data-theme="dark"] .agent-test-panel h2,html[data-theme="dark"] .agent-purchase h2{color:#edf3ff!important}html[data-theme="dark"] .agent-detail-title p,html[data-theme="dark"] .agent-value article p{color:#aebdd3!important}html[data-theme="dark"] .agent-value article,html[data-theme="dark"] .agent-test-panel,html[data-theme="dark"] .agent-purchase,html[data-theme="dark"] .agent-test-panel>header>span,html[data-theme="dark"] .agent-test-panel>#agentTestExamples button,html[data-theme="dark"] .agent-test-panel form,html[data-theme="dark"] .test-agent{background:var(--dark-surface)!important;border-color:var(--dark-line)!important;color:#d9e4f5!important}html[data-theme="dark"] .agent-test-panel form,html[data-theme="dark"] .test-agent{background:var(--dark-raised)!important}html[data-theme="dark"] .agent-price-row strong,html[data-theme="dark"] .agent-price-total{color:#d9e4f5!important}html[data-theme="dark"] .catalog-note{background:var(--dark-surface);color:#aebdd3}
html[data-theme="dark"] .studio-catalog header>em,
html[data-theme="dark"] .studio-catalog .agent-chat-button,
html[data-theme="dark"] .studio-tabs i,
html[data-theme="dark"] .agent-purchase>span{background:var(--dark-raised)!important;border-color:var(--dark-line)!important;color:#8ab6ff!important}
html[data-theme="dark"] .studio-catalog header>em{color:#6fcf9e!important}
html[data-theme="dark"] .agent-purchase>span.contracted{color:#5fe0af!important}
html[data-theme="dark"] .studio-surface>header button{background:var(--dark-raised)!important;border-color:var(--dark-line)!important;color:#c7d5ed!important}
html[data-theme="dark"] .agent-bubble p{background:var(--dark-raised)!important;color:var(--ink)!important}

@media(max-width:900px){.agent-detail-grid{grid-template-columns:1fr}.agent-purchase{position:static}.agent-value>div{grid-template-columns:1fr}.hub-agent-catalog{grid-template-columns:1fr}}@media(max-width:600px){.hub-agents>header{align-items:start;flex-direction:column}.catalog-note{white-space:normal}.agent-detail-grid{padding:26px 16px 50px}.agent-detail-nav{padding:13px 16px}.agent-detail-title{grid-template-columns:54px minmax(0,1fr);gap:14px}.agent-detail-title>span{width:54px;height:54px;border-radius:16px;font-size:25px}.agent-detail-title h1{font-size:25px;line-height:1.25}.agent-detail-title p{font-size:14px}.agent-test-panel{padding:17px}.agent-test-panel>header{display:block}.agent-test-panel>header>span{display:inline-block;margin-bottom:12px}.agent-test-panel form{align-items:stretch;flex-direction:column}.agent-test-panel form button{width:100%}}
