/* Agent connection desk: quiet paper, clear steps, one primary action per section. */
.model-view #model-api-panel { padding:clamp(18px,3vw,32px); background:#fbfaf3; border:1px solid #d5d9cd; border-radius:16px; }
.agent-heading { display:flex; align-items:flex-start; justify-content:space-between; gap:20px; padding-bottom:24px; border-bottom:1px solid #e0e2d6; }
.agent-kicker { display:block; font-size:10px; color:#7a8a70; letter-spacing:.18em; font-weight:700; }
.agent-heading h2 { margin:8px 0 10px; font-size:26px!important; }
.agent-heading p { max-width:560px; margin:0; line-height:1.85; color:#7a8375; font-size:13px; }
.agent-badge { flex:none; border:1px solid #c8d5c5; color:#55745f; background:#edf3e9; border-radius:30px; padding:8px 12px; font-size:11px; }
.agent-desk { display:grid; grid-template-columns:minmax(0,1.15fr) minmax(0,1fr); gap:24px; margin:26px 0; }
.agent-section-title { display:flex; align-items:center; gap:10px; margin:0 0 16px; font-size:15px; color:#47665b; }
.agent-number { display:inline-grid; place-items:center; width:25px; height:25px; flex:none; border-radius:8px; background:#e9eee0; color:#738468; font-size:11px; }
.agent-config { margin:0; border:1px solid #dce1d4; border-radius:12px; overflow:hidden; background:#fffef8; }
.agent-config > div { padding:15px 17px; border-bottom:1px solid #ececdf; min-width:0; }
.agent-config > div:last-child { border:0; }
.agent-config dt { margin:0 0 7px; color:#92957f; font-size:11px; }
.agent-config dd { margin:0; font-size:13px; line-height:1.8; overflow-wrap:anywhere; }
.agent-config code { font-family:Consolas,monospace; font-size:12px; overflow-wrap:anywhere; white-space:normal; }
.agent-config .agent-copy-row { display:flex; align-items:center; gap:12px; justify-content:space-between; }
.model-view #model-api-panel .secondary-button { border:1px solid #cad6c7; border-radius:8px; background:#f2f5eb; color:#4d705e; padding:8px 12px; font-size:12px; line-height:1.6; flex:none; }
.agent-config small { display:block; margin-top:6px; color:#91917c; font-size:11px; line-height:1.8; }
.agent-steps { display:grid; gap:16px; padding:0; margin:0; list-style:none; counter-reset:connect; }
.agent-steps li { position:relative; padding-left:31px; counter-increment:connect; font-size:12px; line-height:1.85; color:#838779; }
.agent-steps li::before { content:counter(connect); position:absolute; left:0; top:2px; width:20px; height:20px; display:grid; place-items:center; color:#8e8568; border:1px solid #dcd7bd; border-radius:50%; font-size:10px; }
.agent-steps strong { display:block; color:#52695e; font-size:13px; margin-bottom:3px; }
.agent-step-actions { display:flex; flex-wrap:wrap; gap:8px; margin-top:9px; }
.agent-media { margin:24px 0; padding:20px; background:#edf2eb; border:1px solid #d5dfd1; border-radius:12px; }
.agent-media h3 { margin:0 0 8px; font-size:15px; color:#527364; }
.agent-media p { margin:8px 0; font-size:12px; line-height:1.9; color:#7c8777; }
.agent-model-tags { display:flex; flex-wrap:wrap; gap:7px; margin:14px 0; }
.agent-model-tags span { padding:5px 9px; font-size:11px; border:1px solid #d8dfd0; border-radius:6px; background:#f9fbf4; color:#6e8168; }
.agent-reference { margin-top:10px; border-top:1px dashed #ced7c7; padding-top:12px; }
.agent-reference summary { cursor:pointer; color:#5b7765; font-size:12px; padding:6px 0; }
.agent-reference code { display:block; margin:12px 0; padding:14px; border-radius:8px; background:#fafbf5; font:12px/1.9 Consolas,monospace; white-space:pre-wrap; overflow-wrap:anywhere; }
.agent-reference ul { margin:10px 0; padding-left:20px; color:#7d8777; font-size:12px; line-height:1.95; }
.agent-keys { padding-top:22px; border-top:1px solid #e0e2d6; }
.agent-keys > p { color:#8b8c78; font-size:12px; line-height:1.9; }
.agent-check { margin-top:18px; padding:14px 16px; border:1px solid #e3dac0; border-radius:10px; background:#f9f3e5; color:#8f7c58; font-size:12px; line-height:1.9; }
.agent-check strong { color:#7f6b49; }
.request-log-sections { display:grid; gap:16px; margin:20px 0; }
.request-log-section { min-width:0; border:1px solid #d8dfd1; border-radius:10px; background:#fffef7; padding:18px; }
.request-log-section h3 { margin:0 0 13px; font-size:14px; color:#537261; }
.request-log-section p { margin:8px 0; font-size:12px; line-height:1.9; color:#878d7c; }
.request-log-fields { display:grid; grid-template-columns:minmax(110px,.6fr) minmax(0,1.4fr); gap:9px 16px; font-size:12px; line-height:1.8; margin:0; }
.request-log-fields dt { color:#92967f; }
.request-log-fields dd { margin:0; overflow-wrap:anywhere; color:#4f685d; font-family:Consolas,"Microsoft YaHei",monospace; }
.request-log-configs { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:14px; }
.request-log-notice { padding:12px 15px; border-radius:9px; background:#f8f0dd; color:#8a7450; font-size:12px; line-height:1.9; }
.request-log-notice p { color:inherit; margin:5px 0; }
.request-log-actions { display:flex; align-items:center; gap:12px; flex-wrap:wrap; }
.request-log-actions small { font-size:11px; color:#8a917f; }
.request-log-event-info { margin-top:5px; font-size:11px; color:#83907b; line-height:1.8; overflow-wrap:anywhere; }
.agent-config button:focus-visible,.agent-reference summary:focus-visible,.request-log-actions button:focus-visible { outline:3px solid #6298a6; outline-offset:3px; }
@media(max-width:800px) { .agent-desk { grid-template-columns:1fr; gap:24px; }.request-log-configs { grid-template-columns:1fr; } }
@media(max-width:480px) { .agent-heading { flex-direction:column; gap:12px; }.agent-config .agent-copy-row { align-items:flex-start; flex-direction:column; }.request-log-fields { grid-template-columns:1fr; gap:3px; }.request-log-fields dd { margin-bottom:9px; }.agent-media,.request-log-section { padding:15px; } }
