/* ===== Greasy Quant 品牌样式覆盖 ===== */
/* 品牌色: 青绿 #0F3B33 / 金色 #C6A15B / 深金 #9A7638 */

/* 隐藏语言选择器 / 亮度按钮 / 底部版权免责声明 */
.unnecessary1,
#footer_disclaimer { display: none !important; }

/* 主 Logo -> Greasy Quant 印章 */
#logo {
    content: url("/static/brand/seal-ink-transparent-1024.png") !important;
    height: 70px !important;
    width: 70px !important;
}

/* ===== 导航按钮 ===== */
.wssButton {
    background-image: none !important;
    background: #0F3B33 !important;   /* 青绿 */
    color: #fff !important;
}
.wssButton:hover { filter: brightness(1.25) !important; }
.wssButton.gq-active {                /* 当前页按钮 -> 金色 */
    background: #C6A15B !important;
    color: #0F3B33 !important;
    font-weight: bold;
}

/* 其它按钮 (Refresh 等 btn_common_small, 用蓝色背景图片) -> 青绿 */
.btn_common_small,
#btn_refresh {
    background-image: none !important;
    background: #0F3B33 !important;
    color: #fff !important;
}
.btn_common_small:hover,
#btn_refresh:hover { filter: brightness(1.25) !important; }

/* ===== 表格表头 ===== */
/* 列名行: P&L 用 <th>（在 thead 里） */
thead th {
    background: #0F3B33 !important;
    background-image: none !important;
    background-color: #0F3B33 !important;
    color: #fff !important;
}
thead th * { color: #fff !important; }

/* 列名行: PriceCaptureList 用 <td id="td_head_*">（内联蓝渐变） */
[id^="td_head_"] {
    background-image: none !important;
    background: #0F3B33 !important;
    background-color: #0F3B33 !important;
    color: #fff !important;
}
[id^="td_head_"] * { color: #fff !important; }

/* 筛选行: 两个页面都用 <td id="CC*">（JS 运行时加的蓝色） */
td[id^="CC"] {
    background-image: none !important;
    background: #0F3B33 !important;
    background-color: #0F3B33 !important;
    color: #fff !important;
}
/* 但筛选行里的表单控件(下拉/输入框/multiselect组件)保持原生外观,
   否则 color:#fff 会渗进去把下拉文字变白 -> 看起来"少了一半" */
td[id^="CC"] select,
td[id^="CC"] input,
td[id^="CC"] .multiselect-dropdown,
td[id^="CC"] .multiselect-dropdown * {
    color: #222 !important;
}
/* multiselect 弹出层完整显示在最上层, 不被裁剪 */
.multiselect-dropdown-list-wrapper { z-index: 99999 !important; }

/* PriceCaptureList 左侧冻结列表头 (Deri/Issu/Type): <td id="C0/C1/C2">
   用 CSS !important 可靠锁定 (比 JS 更稳, 防止被排序/hover 重新上蓝) */
.searchResultLeftTable td[id^="C"]:not([id^="CC"]) {
    background-image: none !important;
    background: #0F3B33 !important;
    color: #fff !important;
}
