.anomaly-page .aq{margin-top:18px;border:1px solid #e5e7eb;border-radius:6px;background:white;padding:16px;color:#333;font-size:13px;font-variant-numeric:tabular-nums}.aq header,.aq form,.aq .aq-title{display:flex;align-items:center;gap:12px;flex-wrap:wrap}.aq header{justify-content:space-between}.aq h2,.aq h3{margin:0;font-size:15px;font-weight:600}.aq p,.aq small,.aq form span{color:#858990;line-height:1.7}.aq button,.aq input{font:inherit;border:1px solid #e3e5e8;border-radius:4px;background:#fff;color:#444;padding:6px 12px;min-height:32px}.aq button{cursor:pointer}.aq button[type=submit]{background:#d92d32;color:white;border-color:#d92d32}.aq input{width:240px;max-width:100%;box-sizing:border-box}.aq :focus-visible{outline:2px solid #d92d32;outline-offset:2px}.aq form{padding:12px 0;border-bottom:1px solid #eee}.aq .aq-empty{padding:22px;text-align:center}.aq .aq-banner{background:#fff7e5;color:#87651e;padding:8px 12px;border-radius:4px}.aq .aq-title{margin:16px 0}.aq .aq-title strong{font-size:20px}.aq .aq-tag{padding:3px 8px;background:#fff0f1;color:#d92d32;border-radius:4px;font-size:12px}.aq .aq-grid{display:grid;grid-template-columns:minmax(0,1.4fr) minmax(0,1fr);gap:16px}.aq article{border:1px solid #e8eaed;border-radius:5px;padding:14px;margin-bottom:12px;min-width:0}.aq .aq-scroll{overflow:auto}.aq table{border-collapse:collapse;width:100%;min-width:450px}.aq th,.aq td{text-align:left;padding:10px 8px;border-bottom:1px solid #eee;font-size:13px;font-weight:400}.aq th{color:#858990;background:#fafafa}.aq td small{display:block}.aq .aq-red{color:#df404a;font-weight:600}.aq .aq-value{font-size:26px;color:#df404a;margin:12px 0 4px}.aq progress{accent-color:#e74750;width:100%;height:8px}.aq .aq-metrics{display:flex;gap:8px;margin-top:12px}.aq .aq-metrics span{flex:1;background:#f7f8fa;padding:9px;font-size:12px;color:#777}.aq .aq-metrics b{display:block;font-size:16px;color:#333;margin-top:4px}.aq details{border-top:1px solid #eee;padding-top:12px}.aq summary{cursor:pointer;color:#666}@media(max-width:800px){.aq .aq-grid{grid-template-columns:1fr}.aq form span{width:100%}.anomaly-page .aq{padding:12px}.aq .aq-metrics{flex-wrap:wrap}}

.anomaly-page .aq[hidden],.anomaly-page #dataPanel[hidden]{display:none}.anomaly-page #queryPanel{margin-top:0;overflow:visible}.aq .ab-stock{max-width:100%;position:relative}.aq .ac-panel{z-index:100;background:#fff;max-height:280px;overflow-y:auto}.aq .ac-opt{width:100%;border:0;border-radius:0;text-align:left;font-weight:400}.aq .ac-opt b{font-weight:400}.aq .ac-opt:hover{background:#f7f7f7}.aq .ac-opt.active{background:#fff1f1;color:#d92d32}.anomaly-page .hot-source{padding:0 16px;font-size:12px;color:#858990}.anomaly-page .anomaly-tabs{overflow-x:auto}.anomaly-page .anomaly-tabs button{white-space:nowrap;flex-shrink:0}

.anomaly-page [data-hot-sort]{border:0;background:transparent;color:inherit;font:inherit;cursor:pointer;padding:0;text-align:left}.anomaly-page [data-hot-sort]:focus-visible{outline:2px solid #d92d32;outline-offset:4px}
/* The query and stock card share StockCardView.renderAnomaly and its styles. */
#aqResult .scv-anomaly{padding-top:0}
#aqResult .scv-anomaly table{min-width:0}
#aqResult .scv-anomaly-meta table{min-width:360px}
#aqResult .scv-anomaly-forecast table{min-width:630px}
#aqResult .scv-anomaly-tabs button{min-height:0}
