.real-clients-module .runtime-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;margin:16px 0}
.real-clients-module .runtime-item{padding:14px;border:1px solid #dce6f0;border-radius:10px;background:#f8fbff;min-width:0}
.real-clients-module .runtime-item strong,.real-clients-module .runtime-item small{display:block;margin:4px 0}
.real-clients-module fieldset{border:1px solid #dce6f0;border-radius:10px;padding:14px;margin:16px 0;min-width:0}
.real-clients-module legend{font-size:14px;padding:0 6px;font-weight:600}
.real-clients-module .client-options{display:flex;flex-wrap:wrap;gap:12px 24px}
.real-clients-module .section-heading{flex-wrap:wrap}
.real-clients-module #input{font-family:"Cascadia Code","Microsoft YaHei",monospace;font-size:14px}
.real-clients-module #feedback{margin:12px 0}
.real-clients-module .table-wrap table{min-width:960px}
.real-clients-module .controls{margin-top:12px}
.real-clients-module #details details{margin:12px 0}
.real-clients-module #details pre{max-height:320px;overflow:auto;white-space:pre-wrap;overflow-wrap:anywhere}
.real-clients-module #downloads a{color:#1769b8}
.real-clients-module summary{overflow-wrap:anywhere}
.real-clients-module .tabs a.active{color:#125dab}
.real-clients-module #mock-details{margin:8px 0 16px}
.real-clients-module #agent-prompt{max-height:260px;overflow:auto;white-space:pre-wrap;overflow-wrap:anywhere}
.real-clients-module .input-notices{padding:12px 16px;margin:12px 0;background:#fff9e9;border:1px solid #ead9a8;border-radius:8px;color:#70500a;font-size:13px}
.real-clients-module .input-notices ul{margin:8px 0;padding-left:20px}
.real-clients-module #input-diagnostics{margin:12px 0}
.real-clients-module #input-diagnostics table{min-width:520px}
.real-clients-module #form details{margin:12px 0}
.real-clients-module #source-panel{margin:16px 0;border-top:1px solid #dce6f0;border-bottom:1px solid #dce6f0;padding:12px 0}
.real-clients-module #source-raw{max-height:320px;overflow:auto;white-space:pre-wrap;overflow-wrap:anywhere;background:#f7f9fc;border:1px solid #dce6f0;padding:12px}
.real-clients-module #source-actions{align-items:center}
.real-clients-module #source-key-inputs{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;margin:10px 0}
.real-clients-module .agent-flow{padding:14px 16px;margin:10px 0 16px;border:1px solid #cfe0ed;border-radius:10px;background:#f4f9fd}
.real-clients-module .agent-flow strong{display:block;margin-bottom:6px;color:#174f7b}
.real-clients-module #intake-advanced{margin:14px 0;padding:10px 12px;border:1px solid #dce6f0;border-radius:10px;background:#fbfdff}
.real-clients-module .auto-start{margin:14px 0;padding:12px 14px;border:1px solid #cfe4d6;border-radius:9px;background:#f3fbf5}
.real-clients-module .followup-panel{margin:16px 0;padding:16px;border:1px solid #e5cf9c;border-radius:10px;background:#fffaf0}
.real-clients-module .followup-panel ul{margin:10px 0 14px;padding-left:22px}
.real-clients-module .followup-timeline{display:grid;gap:8px;margin:10px 0 14px}
.real-clients-module .followup-turn{padding:9px 11px;border-left:3px solid #a9c9e4;background:#fff;border-radius:5px}
.real-clients-module .followup-turn strong{font-size:12px;color:#486a86}.real-clients-module .followup-turn p{margin:5px 0 0;white-space:pre-wrap;overflow-wrap:anywhere}
.real-clients-module .recognition-progress{margin:14px 0;padding:15px;border:1px solid #cfe0ed;border-radius:10px;background:#f7fbff}
.real-clients-module .recognition-progress ol{margin:10px 0;padding-left:24px}.real-clients-module .recognition-progress li{margin:7px 0;overflow-wrap:anywhere}
.real-clients-module .recognition-context{display:grid;gap:8px}.real-clients-module .recognition-context article{padding:9px 11px;background:#fff;border-left:3px solid #7eb0d6;border-radius:5px}
.real-clients-module .recognition-context article strong,.real-clients-module .recognition-context article small{display:block}.real-clients-module .recognition-context article small{margin-top:4px;color:#5f7180}
.real-clients-module .client-result-drawer{width:min(1080px,94vw)}
.real-clients-module .client-result-drawer .selected-result-card{margin:0;padding:22px;box-shadow:none}
.real-clients-module .client-result-drawer #results,.real-clients-module .client-result-drawer #details,.real-clients-module .client-result-drawer #source-panel,.real-clients-module .client-result-drawer #downloads{scroll-margin-top:76px}
.real-clients-module .client-result-toolbar{position:sticky;top:0;z-index:7;margin:8px 0 14px;padding:10px;border:1px solid #dce6f0;border-radius:9px;background:rgba(255,255,255,.96);box-shadow:0 5px 18px rgba(20,41,68,.07);backdrop-filter:blur(8px)}
.real-clients-module .source-model-summary strong,.real-clients-module .source-model-summary small{display:block}.real-clients-module .source-model-summary small{margin-top:4px;color:#63758a;overflow-wrap:anywhere}
.real-clients-module .source-endpoints{display:grid;gap:4px}.real-clients-module .source-endpoints code{white-space:normal;overflow-wrap:anywhere;font-size:11px}
.real-clients-module .history-target-summary strong,.real-clients-module .history-target-summary small{display:block}.real-clients-module .history-target-summary small{margin-top:4px;color:#63758a;overflow-wrap:anywhere}
.real-clients-module #history .table-wrap{max-height:min(68vh,720px);overflow:auto;scrollbar-gutter:stable}
.real-clients-module #history table{min-width:1080px}.real-clients-module #history th:last-child,.real-clients-module #history td:last-child:not([colspan]){position:sticky;right:0;z-index:4;background:#fff;box-shadow:-8px 0 13px rgba(20,41,68,.11)}
.real-clients-module #history th:last-child{z-index:6;background:#f5f8fc}.real-clients-module #history td:last-child button{width:100%;min-width:78px}
@media(max-width:820px){.real-clients-module #source-key-inputs{grid-template-columns:1fr}}
@media(max-width:820px){.real-clients-module .tabs a{padding:10px 12px}.real-clients-module .runtime-grid{grid-template-columns:1fr}.real-clients-module .client-options{display:block}.real-clients-module #input{font-size:13px}.real-clients-module .client-result-drawer{width:100vw}.real-clients-module .client-result-drawer .selected-result-card{padding:14px}.real-clients-module .client-result-toolbar{position:static}.real-clients-module #history .table-wrap{max-height:none;overflow:visible}.real-clients-module #history table{min-width:0}}
