/* ---------- 巨潮全文检索页（web/js/cninfo.js） ---------- */
.cx-wrap { display: grid; grid-template-columns: 200px 1fr; gap: 8px; padding: 6px; align-items: start; }
.cx-side { position: sticky; top: 0; max-height: calc(100vh - 170px); overflow-y: auto; border-right: 1px solid var(--line); padding-right: 6px; }
.cx-comp { padding: 3px 5px; border-radius: 3px; cursor: pointer; border: 1px solid transparent; }
.cx-comp:hover { background: var(--hover); }
.cx-comp.sel { border-color: var(--blue); background: var(--sel); }
.cx-main { min-width: 0; }
.cx-filter { margin-bottom: 6px; line-height: 20px; }
.cx-row { padding: 5px 0; }
.cx-snip { color: var(--fg-3); margin-top: 2px; }
.cx-ev { margin: 4px 0 2px 10px; padding-left: 8px; border-left: 2px solid var(--line); }
.cx-hit { margin: 3px 0; line-height: 1.5; }
.cx-pg { display: inline-block; min-width: 52px; font-size: 11px; color: var(--link); }
.cx-ev-comp { margin-bottom: 6px; }
.cx-ev-ann { margin: 4px 0 4px 8px; }
.cx-coverage { margin: 4px 0; overflow-wrap: anywhere; }
.cx-coverage summary { cursor: pointer; }
.cx-wrap mark, .cnft-ev mark { background: rgba(245, 197, 66, .28); color: inherit; padding: 0 1px; border-radius: 2px; }
/* 句型：红绿留给涨跌，这里用蓝 / 紫 / 橙 / 黄 / 灰 */
.tag.cx-on { outline: 1px solid var(--blue); }
.tag.cx-biz { color: var(--blue); }
.tag.cx-ref { color: var(--orange); }
.tag.cx-plan { color: var(--purple); }
.tag.cx-hist { color: var(--fg-4); }
.tag.cx-risk { color: var(--yellow); }
.tag.cx-deny { color: var(--fg-4); text-decoration: line-through; }
.cx-dot { display: inline-block; min-width: 14px; margin-right: 2px; padding: 0 3px; border-radius: 2px; font-size: 10px; text-align: center; background: var(--chip); color: var(--fg-3); }
.cx-dot.cx-biz { color: var(--blue); } .cx-dot.cx-ref { color: var(--orange); } .cx-dot.cx-plan { color: var(--purple); }
.cx-dot.cx-risk { color: var(--yellow); } .cx-dot.cx-deny { text-decoration: line-through; }
@media (max-width: 760px) {
  .cx-wrap { grid-template-columns: 1fr; }
  .cx-side { position: static; max-height: 160px; border-right: 0; border-bottom: 1px solid var(--line); }
}
