/* ===== 业绩披露 · house 版式精修版（靛青蓝 #27548c 体系） ===== */

/* ---- 页头：house 式大标题 + 数据徽标条 ---- */
.hero h1 { font-size: 20px; letter-spacing: -.2px; }
.hero .tags { margin-top: 12px; gap: 6px; }
.hero .tags span {
  display: inline-flex; align-items: center; gap: 4px;
  background: #fff; border: 1px solid #e3e4e6; border-radius: 8px;
  padding: 3px 10px; font-size: 11.5px; color: #8a93a5; box-shadow: 0 1px 2px rgba(0,0,0,.03);
}
.hero .tags span b { color: #27548c; font-weight: 700; font-variant-numeric: tabular-nums; }

/* ---- 工具条 ---- */
.yjg-bar { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; margin-bottom: 10px; }
.yjg-hint {
  font-size: 11.5px; color: #8a93a5; line-height: 1.7;
  padding: 6px 12px; margin-bottom: 12px;
  background: #f6f9fd; border-left: 3px solid #27548c; border-radius: 7px;
}
.yjg-hint b { color: #27548c; }
.yjg-sel, .yjg-input {
  border: 1px solid #dfe3ea; border-radius: 8px; padding: 6px 11px;
  font-size: 12.5px; background: #fff; color: inherit; outline: none;
  transition: border-color .12s, box-shadow .12s;
}
.yjg-sel:hover, .yjg-input:hover { border-color: #b9c7dd; }
.yjg-sel:focus, .yjg-input:focus { border-color: #4a7cb5; box-shadow: 0 0 0 3px rgba(39,84,140,.10); }
.yjg-input { width: 180px; }
.yjg-sel { cursor: pointer; }
.yjg-tip { display: none; }

/* 筛选 chip：house 实底选中范式 */
.yjg-chipbar { display: flex; gap: 5px; flex-wrap: wrap; }
.yjg-chip {
  border: 1px solid #dfe3ea; background: #fff; color: #5b6478; border-radius: 8px;
  padding: 5px 13px; font-size: 12px; font-weight: 600; cursor: pointer;
  transition: .12s;
}
.yjg-chip:hover { border-color: #4a7cb5; color: #27548c; }
.yjg-chip.on { border-color: #27548c; background: #27548c; color: #fff; font-weight: 700;
  box-shadow: 0 2px 8px rgba(39,84,140,.28); }

/* 数值筛选条（累计同比 / 单季同比 / 季度环比）——位于筛选行内 */
.yjg-numbar { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; margin: 0 0 10px; }
.yjg-bar .yjg-numbar { margin: 0; }
.yjg-nb-t { font-size: 11.5px; font-weight: 700; color: #5b6478; letter-spacing: .3px; }
.yjg-nf {
  display: inline-flex; align-items: center; gap: 6px;
  border: 1px solid #dfe3ea; border-radius: 9px; padding: 4px 8px;
  background: #fbfcfe; transition: .12s;
}
.yjg-nf.on { border-color: #27548c; background: #eef4fc; box-shadow: 0 0 0 2px rgba(39, 84, 140, .08); }
.yjg-nf-n { font-size: 12px; font-weight: 700; color: #27548c; white-space: nowrap; }
.yjg-nf select {
  border: 1px solid #dfe3ea; border-radius: 6px; font-size: 12px; padding: 3px 5px;
  background: #fff; cursor: pointer; color: #2b3244; outline: none;
}
.yjg-nf select:focus { border-color: #4a7cb5; }
.yjg-nf input {
  width: 84px; border: 1px solid #dfe3ea; border-radius: 6px; font-size: 12px;
  padding: 3px 7px; outline: none; color: #0a0a0a; font-variant-numeric: tabular-nums;
  transition: border-color .12s, box-shadow .12s;
}
.yjg-nf input:disabled { background: #f4f6f9; color: #b9bfc9; }
.yjg-nf input:focus { border-color: #4a7cb5; box-shadow: 0 0 0 2px rgba(39, 84, 140, .10); }
.yjg-nf-til { color: #8a93a5; font-size: 12px; }
.yjg-nf-x {
  border: none; background: transparent; cursor: pointer; color: #9aa3b2;
  font-size: 13px; width: 18px; height: 18px; line-height: 17px;
  border-radius: 50%; padding: 0;
}
.yjg-nf-x:hover { background: #eef0f4; color: #e03131; }
.yjg-nf-clear {
  border: none; background: transparent; color: #8a93a5; font-size: 11.5px;
  cursor: pointer; padding: 3px 9px; border-radius: 6px; font-weight: 600;
}
.yjg-nf-clear:hover { background: #eef0f4; color: #27548c; }
.yjg-nb-cnt { font-size: 11.5px; color: #8a93a5; }
.yjg-nb-cnt b { color: #27548c; font-weight: 700; }

/* 字段管理（显隐 + 位次）选择器 */
.yjg-colwrap { position: relative; display: inline-block; margin-left: auto; }
.yjg-cols-panel {
  position: absolute; top: calc(100% + 6px); right: 0; z-index: 30;
  background: #fff; border: 1px solid #e3e6ec; border-radius: 14px;
  box-shadow: 0 10px 30px rgba(15, 20, 34, .14); padding: 10px 12px;
  display: grid; grid-template-columns: repeat(3, minmax(128px, 1fr)); gap: 4px 14px;
  max-height: 340px; overflow-y: auto;
}
/* ★display:grid 会压掉 hidden 属性的 UA 样式，必须显式补回 */
.yjg-cols-panel[hidden] { display: none; }
.yjg-cols-hd { grid-column: 1 / -1; font-size: 10.5px; color: #9aa3b2; margin-bottom: 2px; }
.yjg-colitem { display: flex; align-items: center; gap: 4px; }
.yjg-cols-panel label { flex: 1; display: flex; align-items: center; gap: 5px; font-size: 12px; color: #48484a; white-space: nowrap; cursor: pointer; }
.yjg-cols-panel label:hover { color: #27548c; }
.yjg-cols-panel input { accent-color: #27548c; margin: 0; }
.yjg-colmv { display: inline-flex; gap: 2px; }
.yjg-colmv button {
  border: 1px solid #e3e6ec; background: #fff; color: #5a6478; border-radius: 4px;
  width: 18px; height: 18px; line-height: 1; font-size: 10px; cursor: pointer; padding: 0;
}
.yjg-colmv button:hover:not(:disabled) { border-color: #4a7cb5; color: #27548c; background: #f6f9fd; }
.yjg-colmv button:disabled { color: #d3d8e0; cursor: default; }

/* ---- 主表：house 表格范式 ---- */
.yjg-tbl { overflow-x: auto; border: 1px solid #eef0f4; border-radius: 12px;
  scrollbar-width: none; }
.yjg-tbl::-webkit-scrollbar { display: none; }
.yjg-tbl table { width: 100%; border-collapse: separate; border-spacing: 0; font-size: 12.5px; white-space: nowrap; }
.yjg-tbl th, .yjg-tbl td { padding: 9px 12px; text-align: left; }
.yjg-tbl th, .yjg-stk th {
  font-size: 11.5px; font-weight: 700; color: #fff; letter-spacing: .4px;
  background: #27548c; text-shadow: 0 1px 1px rgba(13, 30, 55, .16);
  border-bottom: none;
  position: sticky; top: 0; cursor: pointer; user-select: none; z-index: 2;
}
.yjg-tbl th:hover { background: #31619d; }
.yjg-stk th { cursor: default; }
.yjg-stk th:hover { background: #27548c; }
.yjg-tbl th.num, .yjg-tbl td.num { text-align: right; font-variant-numeric: tabular-nums; }
.yjg-stk th.num { text-align: right; }
.yjg-tbl th.yjg-click { color: #fff; }
.yjg-tbl th.yjg-click i { font-style: normal; font-size: 10px; font-weight: 500; color: #ffd9ae; margin-left: 2px; }

/* 表头吸顶克隆条（下滑越过表头时由 JS 显示，宽度逐列对齐主表） */
.yjg-stk {
  position: fixed; z-index: 80; overflow: hidden;
  background: #27548c; border-radius: 10px;
  box-shadow: 0 10px 24px rgba(15, 20, 34, .18);
}
.yjg-stk[hidden] { display: none; }
.yjg-stk table {
  border-collapse: separate; border-spacing: 0; font-size: 12.5px;
  white-space: nowrap; table-layout: fixed;
}
.yjg-tbl td { border-bottom: 1px solid #f2f5fa; color: #2b3244; }
.yjg-tbl tbody tr:last-child td { border-bottom: none; }
.yjg-tbl td.c { font-family: ui-monospace, Menlo, Consolas, monospace; font-size: 11.5px; color: #8a93a5; font-variant-numeric: tabular-nums; }
.yjg-tbl td.nm { font-weight: 700; color: #14181f; }
.yjg-tbl td .at {
  display: inline-block; font-size: 10.5px; font-weight: 600; padding: 1.5px 8px;
  border-radius: 5px; line-height: 17px;
  background: #f6f8fb; border: 1px solid #e7eaf0; color: #5b6478;
}
.yjg-tbl td .at.yg { background: #fdf4e9; border-color: #f0ddc3; color: #b45309; }
.yjg-tbl td .pt { font-size: 11px; font-weight: 600; }
.yjg-tbl td.np { cursor: pointer; font-weight: 700; color: #0a0a0a; border-radius: 6px; }
.yjg-tbl td.np:hover { background: #eef3fa; box-shadow: inset 0 0 0 1px #b9cbe4; }
.yjg-tbl td.np.na { cursor: default; color: #c2c8d2; font-weight: 500; }
.yjg-tbl td.np.na:hover { background: none; box-shadow: none; }
.yjg-tbl td.na { color: #c2c8d2; }
.yjg-tbl td.c.ind, .yjg-tbl td.nm.ind { cursor: pointer; }
.yjg-tbl td.c.ind:hover, .yjg-tbl td.nm.ind:hover { color: #27548c; box-shadow: inset 0 0 0 1px #b9cbe4; background: #eef3fa; }
.yjg-tbl td.nm.ind { position: relative; }
.yjg-tbl tbody tr:hover td { background: #f7fafe; }
.yjg-tbl tbody tr:hover td.np { background: #eef3fa; }
.yjg-tbl td.k-why { max-width: 190px; overflow: hidden; text-overflow: ellipsis; color: #8a93a5; font-size: 12px; }
.yjg-tbl td.k-ind { font-size: 12px; color: #5b6478; }

.yjg-more { text-align: center; padding: 14px 0 4px; }
.yjg-more .btn { border-radius: 8px; font-weight: 600; }

/* 分页器（每页 50 家） */
.yjg-pager { display: flex; align-items: center; justify-content: center; gap: 12px; padding: 14px 0 4px; }
.yjg-pager button {
  border: 1px solid #dfe3ea; background: #fff; color: #27548c; font-size: 12.5px; font-weight: 600;
  padding: 5px 14px; border-radius: 8px; cursor: pointer; transition: .12s;
}
.yjg-pager button:hover:not(:disabled) { border-color: #27548c; background: #eef4fc; }
.yjg-pager button:disabled { color: #b9bfc9; cursor: default; background: #f6f8fb; }
.yjg-pg-info { font-size: 12.5px; color: #5b6478; display: inline-flex; align-items: center; gap: 5px; }
.yjg-pg-info b { color: #27548c; }
.yjg-pg-info input {
  width: 52px; text-align: center; border: 1px solid #dfe3ea; border-radius: 6px;
  font-size: 12.5px; padding: 3px 4px; outline: none; color: #0a0a0a;
  font-variant-numeric: tabular-nums;
}
.yjg-pg-info input:focus { border-color: #4a7cb5; box-shadow: 0 0 0 2px rgba(39, 84, 140, .10); }
.yjg-pg-cnt { font-size: 11.5px; color: #8a93a5; }

/* 横向滚动条吸底（fixed 代理条，随主表滚动双向同步） */
.yjg-hbar {
  position: fixed; left: 0; right: 0; bottom: 0; height: 14px; z-index: 85;
  overflow-x: auto; overflow-y: hidden;
  background: rgba(246, 248, 251, .97); border-top: 1px solid #e3e8f0;
}
.yjg-hbar-in { height: 1px; }
.yjg-hbar::-webkit-scrollbar { height: 12px; }
.yjg-hbar::-webkit-scrollbar-track { background: transparent; }
.yjg-hbar::-webkit-scrollbar-thumb { background: #c3ccdb; border-radius: 6px; border: 3px solid rgba(246,248,251,.97); }
.yjg-hbar::-webkit-scrollbar-thumb:hover { background: #a8b4c8; }
.yjg-src { font-size: 11px; color: #9aa3b2; line-height: 1.9; border-top: 1px dashed #e9ecf1; margin-top: 10px; padding: 10px 2px 2px; }

/* ===== 弹层（页面级；★mask/modal 须高于右侧抽屉 z-index 130，否则从抽屉内唤起时被盖住）===== */
.yjg-mask { position: fixed; inset: 0; background: rgba(15, 20, 34, .45); z-index: 140; }
/* ★yjgDMask 与弹层遮罩共用 .yjg-mask 类，须单独压回抽屉（130）之下，否则抽屉被自己的遮罩罩暗 */
#yjgDMask { z-index: 125; }
.yjg-modal {
  position: fixed; top: 50%; left: 50%; transform: translate(-50%, -50%);
  width: min(880px, 94vw); max-height: 88vh; overflow-y: auto;
  background: #fff; border-radius: 18px; box-shadow: 0 18px 60px rgba(15, 20, 34, .25);
  z-index: 141; padding: 18px 22px 16px;
}
.yjg-m-hd { display: flex; align-items: baseline; gap: 10px; }
.yjg-m-hd h3 { margin: 0; font-size: 17px; letter-spacing: -.2px; }
.yjg-m-hd .yjg-m-unit { font-size: 11.5px; color: #8a93a5; }
.yjg-m-x {
  margin-left: auto; border: 1px solid #e3e4e6; background: #fff; color: #5a6478;
  border-radius: 8px; width: 28px; height: 28px; cursor: pointer; font-size: 13px;
}
.yjg-m-x:hover { background: #f6f9fd; border-color: #b9c7dd; color: #27548c; }
.yjg-m-meta { font-size: 12px; color: #5a6478; line-height: 1.9; margin: 6px 0 2px; }
.yjg-m-meta b { color: #0a0a0a; }
.yjg-m-chart { height: 330px; margin-top: 4px; }
.yjg-m-chart .yjg-loading, .yjg-m-chart .yjg-err {
  height: 100%; display: flex; align-items: center; justify-content: center;
  color: #9aa3b2; font-size: 13px; text-align: center; line-height: 2;
}
.yjg-m-chart .yjg-err { color: #b02a37; }

/* 公告时间点 → 涨跌幅 */
.yjg-m-events { margin-top: 10px; display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 10px; }
.yjg-ev { border: 1px solid #eef0f4; border-radius: 11px; background: #fafbfc; padding: 10px 13px; }
.yjg-ev .k { font-size: 11px; color: #8a93a5; }
.yjg-ev .d { font-size: 13px; font-weight: 700; color: #0a0a0a; margin-top: 2px; }
.yjg-ev .r { font-size: 18px; font-weight:700; margin-top: 3px; font-variant-numeric: tabular-nums; }
.yjg-ev .r small { font-size: 11px; font-weight: 600; color: #8a93a5; margin-left: 4px; }
.yjg-ev .r.up { color: #e03131; }
.yjg-ev .r.dn { color: #0ca678; }
.yjg-m-note { font-size: 11px; color: #9aa3b2; line-height: 1.9; margin-top: 12px; border-top: 1px dashed #e9ecf1; padding-top: 9px; }

/* ===== 右侧抽屉：同行业对比（页面级，z-index ≥ 120）===== */
.yjg-drawer {
  position: fixed; top: 0; right: 0; bottom: 0; width: min(780px, 48vw); min-width: 520px;
  background: #fff; z-index: 130; box-shadow: -10px 0 40px rgba(15, 20, 34, .16);
  display: flex; flex-direction: column;
}
/* ★display:flex 会压掉 hidden 属性的 UA 样式，必须显式补回 */
.yjg-drawer[hidden] { display: none; }
.yjg-d-hd {
  display: flex; align-items: flex-start; gap: 10px; padding: 14px 18px 12px;
  border-bottom: 1px solid #eef0f4; flex: 0 0 auto;
}
.yjg-d-hl { flex: 1; min-width: 0; }
.yjg-d-hd h3 { margin: 0; font-size: 17px; letter-spacing: -.2px; }
.yjg-d-sub { font-size: 11.5px; color: #8a93a5; line-height: 1.75; margin-top: 4px; }
.yjg-d-sub b { color: #0a0a0a; font-weight: 700; }
.yjg-d-sub .yjg-ind-path { color: #27548c; font-weight: 700; }
.yjg-d-body { flex: 1; overflow-y: auto; padding: 14px 18px 26px; }
.yjg-sec { margin-bottom: 20px; }
.yjg-sec-h {
  display: flex; align-items: baseline; gap: 8px; font-size: 13px; font-weight:700; color: #0a0a0a;
  margin-bottom: 9px; padding-left: 9px; border-left: 3px solid #27548c;
}
.yjg-sec-h small { font-size: 11px; font-weight: 500; color: #8a93a5; }
.yjg-sec-h .yjg-sec-n { margin-left: auto; font-size: 11px; font-weight: 600; color: #8a93a5; }
.yjg-chipbar { display: flex; gap: 6px; flex-wrap: wrap; margin-bottom: 10px; }
.yjg-rank-chart { height: 300px; width: 100%; }
.yjg-empty { color: #9aa3b2; font-size: 12px; padding: 14px 0; text-align: center; line-height: 1.9; }

/* 分布刻度条：本股在行业中的位置 */
.yjg-scales { display: grid; gap: 13px; margin-top: 4px; }
.yjg-sc { border: 1px solid #eef0f4; border-radius: 11px; padding: 9px 12px 7px; background: #fafbfc; }
.yjg-sc-t { display: flex; align-items: baseline; gap: 7px; font-size: 12px; }
.yjg-sc-t b { font-weight:700; color: #0a0a0a; }
.yjg-sc-t .v { font-variant-numeric: tabular-nums; font-weight:700; color: #c2255c; }
.yjg-sc-t .rk { margin-left: auto; font-size: 11.5px; color: #5b6478; font-variant-numeric: tabular-nums; }
.yjg-sc-t .rk em { font-style: normal; font-weight:700; }
.yjg-sc-t .rk em.up { color: #e03131; }
.yjg-sc-t .rk em.dn { color: #0ca678; }
.yjg-trk { position: relative; height: 20px; margin-top: 7px; }
.yjg-trk-line { position: absolute; left: 0; right: 0; top: 9px; height: 3px; background: #e7ebf3; border-radius: 2px; }
.yjg-trk-iqr { position: absolute; top: 7px; height: 7px; background: #c9d6ea; border-radius: 3px; }
.yjg-trk-med { position: absolute; top: 4px; width: 2px; height: 13px; background: #9aa3b2; border-radius: 1px; }
.yjg-trk-p { position: absolute; top: 6px; width: 8px; height: 8px; margin-left: -4px; border-radius: 50%; background: #b7c0d0; }
.yjg-trk-me {
  position: absolute; top: 1px; width: 13px; height: 13px; margin-left: -6.5px; border-radius: 50%;
  background: #e03131; box-shadow: 0 0 0 2px #fff, 0 1px 4px rgba(224, 49, 49, .5); z-index: 2;
}
.yjg-trk-me.dn { background: #0ca678; box-shadow: 0 0 0 2px #fff, 0 1px 4px rgba(12, 166, 120, .5); }
.yjg-trk-ax { display: flex; justify-content: space-between; font-size: 10.5px; color: #9aa3b2; margin-top: 1px; font-variant-numeric: tabular-nums; }
.yjg-trk-lg { display: flex; gap: 14px; font-size: 10.5px; color: #8a93a5; margin-top: 5px; }
.yjg-trk-lg i { display: inline-block; width: 8px; height: 8px; border-radius: 50%; margin-right: 4px; vertical-align: -1px; }
.yjg-trk-lg i.me { background: #e03131; }
.yjg-trk-lg i.p { background: #b7c0d0; }
.yjg-trk-lg i.iqr { width: 14px; height: 6px; border-radius: 3px; background: #c9d6ea; vertical-align: 0; }
.yjg-trk-lg i.med { width: 2px; height: 10px; border-radius: 1px; background: #9aa3b2; vertical-align: -1px; }

/* 行业公告表现矩阵 */
.yjg-tbl2 { width: 100%; border-collapse: collapse; font-size: 12px; }
.yjg-tbl2 th, .yjg-tbl2 td { padding: 6px 8px; border-bottom: 1px solid #f2f5fa; text-align: right; font-variant-numeric: tabular-nums; }
.yjg-tbl2 th { font-size: 11px; color: #5b6478; background: #f6f8fb; font-weight: 700; }
.yjg-tbl2 th:first-child, .yjg-tbl2 td:first-child { text-align: left; font-variant-numeric: normal; }
.yjg-tbl2 td:first-child b { font-weight: 700; }
.yjg-tbl2 tr.me td { background: #fff8f8; }
.yjg-tbl2 tr.me td:first-child b { color: #c2255c; }
.yjg-tbl2 tr.me td:first-child::before { content: '●'; color: #e03131; font-size: 9px; margin-right: 5px; vertical-align: 1px; }
.yjg-tbl2 tr.sum td { border-top: 1.5px solid #e3e6ec; font-weight:700; color: #0a0a0a; background: #f7fafe; }
.yjg-hm { display: inline-block; min-width: 46px; padding: 1px 5px; border-radius: 4px; }
.yjg-star { color: #e8590c; font-weight:700; cursor: help; margin-left: 2px; }
.yjg-tbl-note { font-size: 10.5px; color: #9aa3b2; line-height: 1.7; margin-top: 6px; }
.yjg-tbl2 .np2 { font-weight: 700; color: #0a0a0a; }
/* 抽屉内归母净利润格可点（同主表 np） */
.yjg-tbl2 td.np2td { cursor: pointer; border-radius: 6px; }
.yjg-tbl2 tr.me td.np2td { color: #c2255c; }
.yjg-tbl2 td.np2td:hover { background: #eef3fa; box-shadow: inset 0 0 0 1px #c9d8ff; }
.yjg-tbl2 .np2.neg { color: #0ca678; }
.yjg-tbl2 .fc { font-style: normal; font-size: 9.5px; color: #27548c; background: #eef3fa; border-radius: 3px; padding: 0 3px; margin-left: 4px; vertical-align: 1px; }
.yjg-ind-card { border: 1px solid #eef0f4; border-radius:14px; padding: 10px 12px; margin-bottom: 10px; background: #fff; }
.yjg-ind-card .yjg-ind-h { display: flex; align-items: baseline; gap: 7px; font-size: 12.5px; margin-bottom: 8px; }
.yjg-ind-card .yjg-ind-h b { font-weight:700; color: #0a0a0a; }
.yjg-ind-card .yjg-ind-h .tag2 { font-size: 10.5px; padding: 0 6px; border-radius: 4px; line-height: 17px; background: #eef3fa; color: #27548c; }
.yjg-ind-card .yjg-ind-h .yjg-ind-n { margin-left: auto; font-size: 11px; color: #8a93a5; }
.yjg-med-chart { height: 160px; margin-bottom: 6px; }
.yjg-skip { font-size: 11px; color: #8a93a5; line-height: 1.8; margin-top: 8px; background: #fafbfc; border-radius: 8px; padding: 6px 9px; }
.yjg-skip b { color: #5b6478; font-weight: 700; }
.yjg-note2 { font-size: 11px; color: #9aa3b2; line-height: 1.9; margin-top: 10px; border-top: 1px dashed #e9ecf1; padding-top: 9px; }

/* =============================================================
   财报日历视图（2026-10-15 新增）
   -------------------------------------------------------------
   与同页「公告明细」视图并存，由页内分段条切换（#yjgViewSwitch）。
   版式语言对齐 house 基准：靛青 #27548c 主色 / 浅底 #f6f9fd /
   描边 #e3e4e6 / 圆角 10 · 14。红涨绿跌语义色不做改变。
   ============================================================= */

/* ---- 视图切换条（分段控件） ---- */
/* ★保险：视图容器靠 hidden 切换，若未来某个 .card 被改成 display:flex 会压掉
   hidden 的默认 display:none → 这里显式兜底（与 nav.js 弹层同一处置方式）。 */
#yjgCalView[hidden], #yjgListView[hidden], .yjgc-today[hidden] { display: none !important; }

.yjg-vsw {
  display: inline-flex; gap: 4px; padding: 4px; margin-bottom: 14px;
  background: #f2f3f5; border-radius: 12px;
}
.yjg-vsw button {
  border: none; background: transparent; cursor: pointer;
  display: flex; align-items: baseline; gap: 8px;
  padding: 8px 20px; border-radius: 9px; transition: .15s;
}
.yjg-vsw button b { font-size: 13.5px; font-weight: 700; color: #48484a; }
.yjg-vsw button em { font-style: normal; font-size: 11px; color: #9a9aa0; }
.yjg-vsw button.on { background: #fff; box-shadow: 0 1px 3px rgba(0,0,0,.10); }
.yjg-vsw button.on b { color: #27548c; }
.yjg-vsw button:hover:not(.on) b { color: #0a0a0a; }

/* ---- 日历概览徽标条 ---- */
.yjgc-stat { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 12px; }
.yjgc-stat span {
  display: inline-flex; align-items: center; gap: 4px;
  background: #fff; border: 1px solid #e3e4e6; border-radius: 8px;
  padding: 3px 10px; font-size: 11.5px; color: #8a93a5;
  box-shadow: 0 1px 2px rgba(0,0,0,.03);
}
.yjgc-stat span b { color: #27548c; font-weight: 700; font-variant-numeric: tabular-nums; }

/* ---- 今日披露提示 ---- */
.yjgc-today {
  font-size: 12px; line-height: 1.75; color: #b45309;
  background: #fdf4e9; border-left: 3px solid #b45309; border-radius: 7px;
  padding: 7px 12px; margin-bottom: 12px;
}
.yjgc-today b { font-weight: 700; color: #b45309; }

/* ---- 筛选条 ---- */
.yjgc-bar { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; margin-bottom: 10px; }
.yjgc-chipbar { display: inline-flex; gap: 4px; padding: 3px; background: #f2f3f5; border-radius: 10px; }
.yjgc-chip {
  border: 1px solid transparent; background: transparent; cursor: pointer;
  padding: 5px 13px; border-radius: 8px; font-size: 12px; font-weight: 600;
  color: #5b6478; transition: .12s; white-space: nowrap;
}
.yjgc-chip i { font-style: normal; font-size: 10.5px; color: #9aa3b2; margin-left: 3px; }
.yjgc-chip:hover { color: #27548c; }
.yjgc-chip.on { background: #fff; border-color: #dfe3ea; color: #27548c; box-shadow: 0 1px 2px rgba(0,0,0,.05); }
.yjgc-chip.on i { color: #27548c; }
.yjgc-sel, .yjgc-input {
  border: 1px solid #dfe3ea; border-radius: 8px; padding: 6px 11px;
  font-size: 12.5px; background: #fff; color: inherit; outline: none;
  transition: border-color .12s, box-shadow .12s;
}
.yjgc-sel:focus, .yjgc-input:focus { border-color: #4a7cb5; box-shadow: 0 0 0 3px rgba(39,84,140,.10); }
.yjgc-input { width: 160px; }
.yjgc-sel { cursor: pointer; }

/* ---- 日期分组 ---- */
.yjgc-body { border: 1px solid #eef0f4; border-radius: 12px; overflow: hidden; }
.yjgc-grp { border-bottom: 1px solid #f2f5fa; }
.yjgc-grp:last-child { border-bottom: none; }
.yjgc-gh {
  display: flex; align-items: baseline; gap: 10px;
  padding: 9px 14px; background: #f6f8fb; border-bottom: 1px solid #eef0f4;
}
.yjgc-date {
  font-size: 13px; font-weight: 700; color: #27548c;
  font-variant-numeric: tabular-nums; letter-spacing: .3px;
}
.yjgc-wd { font-size: 11.5px; color: #8a93a5; }
.yjgc-rel {
  font-size: 11px; font-weight: 700; color: #b45309;
  background: #fdf4e9; border-radius: 5px; padding: 1px 7px;
}
.yjgc-cnt { margin-left: auto; font-size: 11.5px; color: #8a93a5; }
.yjgc-cnt b { color: #5b6478; font-weight: 700; font-variant-numeric: tabular-nums; }

/* 今日组高亮 */
.yjgc-grp.today .yjgc-gh { background: #fdf4e9; border-bottom-color: #f0ddc3; }
.yjgc-grp.today .yjgc-date { color: #b45309; }
/* 未来组左侧色条 */
.yjgc-grp.fut .yjgc-gh { box-shadow: inset 3px 0 0 #27548c; }

/* ---- 单条记录 ---- */
.yjgc-rows { display: flex; flex-direction: column; }
.yjgc-row {
  display: flex; align-items: center; gap: 10px; flex-wrap: wrap;
  padding: 7px 14px; border-bottom: 1px solid #f7f9fc;
  font-size: 12.5px; cursor: pointer; transition: background .12s;
}
.yjgc-row:last-child { border-bottom: none; }
.yjgc-row:hover { background: #f7fafe; }

.yjgc-b {
  flex: none; font-size: 10.5px; font-weight: 700; line-height: 17px;
  padding: 0 7px; border-radius: 5px; border: 1px solid transparent;
}
.yjgc-b.b-pub { background: #eef3fa; border-color: #d6e2f2; color: #27548c; }
.yjgc-b.b-todo { background: #fdf4e9; border-color: #f0ddc3; color: #b45309; }

.yjgc-code {
  flex: none; width: 60px; font-family: ui-monospace, Menlo, Consolas, monospace;
  font-size: 11.5px; color: #8a93a5; font-variant-numeric: tabular-nums;
}
.yjgc-name { flex: none; width: 92px; font-weight: 700; color: #14181f; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.yjgc-ind { flex: none; font-size: 11.5px; color: #5b6478; min-width: 0; max-width: 180px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }

.yjgc-np { flex: none; font-size: 11.5px; color: #2b3244; font-variant-numeric: tabular-nums; }
.yjgc-np i { font-style: normal; font-size: 10px; color: #9aa3b2; }
.yjgc-np b { font-weight: 700; }
.yjgc-np-p { color: #b45309; font-weight: 600; }

.yjgc-chg {
  flex: none; font-size: 10.5px; font-weight: 600; color: #b45309;
  background: #fdf4e9; border-radius: 5px; padding: 1px 6px; cursor: help;
}
.yjgc-res { flex: none; font-size: 11px; color: #8a93a5; font-variant-numeric: tabular-nums; }

/* 披露后表现 */
.yjgc-perf { margin-left: auto; display: inline-flex; gap: 8px; flex-wrap: wrap; }
.yjgc-perf i {
  font-style: normal; font-size: 11px; font-variant-numeric: tabular-nums;
  color: #8a93a5; cursor: help;
}
.yjgc-perf i.up { color: #e03131; font-weight: 600; }
.yjgc-perf i.dn { color: #0ca678; font-weight: 600; }

/* 涨跌语义色（与全站一致：红涨绿跌） */
.yjgc-np b.up, .yjgc-row .up { color: #e03131; }
.yjgc-np b.dn, .yjgc-row .dn { color: #0ca678; }

/* 展开该日 */
.yjgc-more {
  display: block; width: 100%; border: none; cursor: pointer;
  background: #fafbfc; color: #5b6478; font-size: 11.5px; font-weight: 600;
  padding: 7px 0; border-top: 1px solid #f2f5fa; transition: .12s;
}
.yjgc-more:hover { background: #eef3fa; color: #27548c; }

/* ---- 说明 ---- */
.yjgc-src {
  font-size: 11px; color: #9aa3b2; line-height: 1.9;
  border-top: 1px dashed #e9ecf1; margin-top: 12px; padding: 10px 2px 2px;
}
.yjgc-src b { color: #5b6478; }

/* ===== 财报日历 · 左列表 + 右信息栏 ===== */
.yjgc-cols { display: grid; grid-template-columns: minmax(0, 1fr) 590px; gap: 16px; align-items: start; }
.yjgc-main { min-width: 0; }
.yjgc-rail {
  position: sticky; top: 58px;
  display: flex; flex-direction: column; gap: 10px;
}
.rail-mod {
  background: #fff; border: 1px solid #e3e4e6; border-radius: 12px;
  padding: 10px 13px; box-shadow: 0 1px 2px rgba(0,0,0,.03);
}
.rail-t { font-size: 12.5px; font-weight: 700; color: #14181f; margin-bottom: 7px; }
.rail-t small { font-weight: 400; font-size: 11px; color: #8a93a5; margin-left: 6px; }
.rail-empty { font-size: 12px; color: #9aa3b2; line-height: 1.8; padding: 6px 0 2px; }

/* 披露节奏迷你柱图 */
.rail-rhythm { display: flex; align-items: flex-end; gap: 2px; height: 74px; }
.rail-rhythm .rb { flex: 1; min-width: 4px; display: flex; flex-direction: column; align-items: center; gap: 3px; cursor: pointer; }
.rail-rhythm .rb i {
  display: block; width: 100%; border-radius: 3px 3px 0 0;
  background: linear-gradient(180deg, #4a7cb5, #27548c); min-height: 2px;
  transition: opacity .12s;
}
.rail-rhythm .rb:hover i { opacity: .75; }
.rail-rhythm .rb.today i { background: linear-gradient(180deg, #f0a13c, #b45309); }
.rail-rhythm .rb b {
  font-size: 9px; font-weight: 600; color: #8a93a5; font-variant-numeric: tabular-nums;
}
.rail-rhythm-foot { display: flex; justify-content: space-between; font-size: 10px; color: #9aa3b2; margin-top: 5px; }

/* 本期进度 */
.rail-prog { height: 8px; background: #f0f0f2; border-radius: 5px; overflow: hidden; margin: 4px 0 9px; }
.rail-prog i { display: block; height: 100%; background: linear-gradient(90deg, #27548c, #4a7cb5); border-radius: 5px; }
.rail-kv { display: flex; flex-wrap: wrap; gap: 6px 14px; font-size: 12px; color: #5b6478; }
.rail-kv b { color: #27548c; font-weight: 700; font-variant-numeric: tabular-nums; }
.rail-kv .up { color: #e03131; font-weight: 700; }

/* 本期进度 · 按披露类型分列（预告 / 快报 / 定期报告） */
.rail-tp { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 6px; margin-top: 2px; }
.rail-tp > div {
  border: 1px solid #eef0f4; border-radius: 9px; background: #fafbfc;
  padding: 6px 8px 7px; text-align: center;
}
.rail-tp .k { font-size: 10.5px; color: #8a93a5; line-height: 1.4; }
.rail-tp .v { font-size: 16px; font-weight: 700; color: #27548c; font-variant-numeric: tabular-nums; line-height: 1.25; }
.rail-tp .s { font-size: 10px; color: #9aa3b2; margin-top: 1px; }
.rail-tp > div.is0 .v { color: #c3c9d4; }

/* 本期进度 · 同比 × 盈亏 四象限 */
.rail-q { margin-top: 8px; border-top: 1px dashed #eef0f4; padding-top: 7px; display: flex; flex-direction: column; gap: 4px; }
.rail-q-row { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 9px; font-size: 11.5px; color: #5b6478; }
.rail-q-k { font-weight: 600; color: #2b3244; }
.rail-q-k b { font-size: 13px; font-variant-numeric: tabular-nums; margin-left: 2px; }
.rail-q-i { font-size: 11px; padding: 1px 6px; border-radius: 6px; background: #f4f6f9; color: #5b6478; }
.rail-q-i b { font-weight: 700; font-variant-numeric: tabular-nums; }
.rail-q-i.up { background: #fdeceb; color: #b42323; }
.rail-q-i.warn { background: #fdf4e9; color: #96550a; }
.rail-q-i.dn { background: #eaf8f3; color: #0a7a58; }
.rail-q-i.dn2 { background: #eef0f3; color: #5b6478; }
.rail-q-note { font-size: 10.5px; color: #9aa3b2; line-height: 1.6; }
.rail-tp2 { display: flex; flex-wrap: wrap; gap: 5px 14px; font-size: 11.5px; color: #5b6478; margin-top: 8px;
  border-top: 1px dashed #eef0f4; padding-top: 7px; }
.rail-tp2 b { font-weight: 700; font-variant-numeric: tabular-nums; }
.rail-tp2 .up { color: #e03131; }
.rail-tp2 .dn { color: #0ca678; }

/* 一级行业总览表 */
.rail-indtbl { width: 100%; border-collapse: collapse; font-size: 11px; margin-top: 2px; }
.rail-indtbl th {
  font-weight: 500; color: #8a93a5; font-size: 10px; text-align: right; padding: 0 3px 4px;
  border-bottom: 1px solid #eef0f4; white-space: nowrap;
}
.rail-indtbl th:first-child { text-align: left; }
.rail-indtbl th i { display: block; font-style: normal; font-size: 9px; font-weight: 400; color: #b0b7c2; line-height: 1.2; margin-top: 1px; }
.rail-indtbl th.up { color: #c0392b; }
.rail-indtbl th.up2 { color: #b45309; }
.rail-indtbl th.dn { color: #0a7a58; }
.rail-indtbl th.dn2 { color: #8a93a5; }
.rail-indtbl td.up2 { color: #b45309; }
.rail-indtbl td.dn2 { color: #5b6478; }
.rail-indtbl td { padding: 2.5px 3px; text-align: right; color: #2b3244; font-variant-numeric: tabular-nums;
  border-bottom: 1px solid #f6f7f9; }
.rail-indtbl td:first-child { text-align: left; overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
  max-width: 76px; font-weight: 600; }
.rail-indtbl tr { cursor: pointer; }
.rail-indtbl tbody tr:hover td { background: #f7fafe; }
.rail-indtbl tbody tr.on td { background: #eef4fc; }
.rail-indtbl .up { color: #e03131; }
.rail-indtbl .dn { color: #0ca678; }
.rail-indtbl .mu { color: #b9bfc9; }
.rail-indtbl .pfr { color: #27548c; font-weight: 700; }
.rail-indtbl tfoot td { border-top: 1px solid #e3e4e6; border-bottom: 0; font-weight: 700; color: #14181f; padding-top: 4px; }
.rail-indtbl-foot { display: flex; justify-content: space-between; align-items: center; margin-top: 6px; font-size: 10.5px; color: #9aa3b2; }
.rail-indtbl-foot button {
  border: 1px solid #e3e4e6; background: #fff; color: #33445c; border-radius: 6px;
  height: 20px; padding: 0 7px; font-size: 10.5px; cursor: pointer; font-family: inherit;
}
.rail-indtbl-foot button:disabled { opacity: .35; cursor: default; }

/* 行业分布条 */
.rail-inds { display: grid; grid-template-columns: 1fr 1fr; gap: 3px 10px; }
.rail-ind { display: flex; align-items: center; gap: 7px; cursor: pointer; border-radius: 7px; padding: 2px 6px; transition: .12s; border: 1px solid transparent; }
.rail-ind:hover { background: #f7fafe; border-color: #dfe8f5; }
.rail-ind.on { background: #eef4fc; border-color: #27548c; }
.rail-ind .k { flex: none; width: 78px; font-size: 11.5px; color: #2b3244; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.rail-ind .tr { flex: 1; height: 11px; background: #f0f0f2; border-radius: 3px; overflow: hidden; }
.rail-ind .tr i { display: block; height: 100%; background: linear-gradient(90deg, #27548c, #7b9cc6); border-radius: 3px; }
.rail-ind .v { flex: none; width: 36px; text-align: right; font-size: 11px; font-weight: 700; color: #27548c; font-variant-numeric: tabular-nums; }

/* 个股速览卡 */
.stk-hd { display: flex; align-items: baseline; gap: 8px; margin-bottom: 7px; }
.stk-hd b { font-size: 15px; color: #14181f; }
.stk-hd code { font-family: ui-monospace, Menlo, Consolas, monospace; font-size: 11.5px; color: #8a93a5; }
.stk-hd .yjgc-b { margin-left: auto; }
.stk-kv { display: grid; grid-template-columns: auto 1fr; gap: 5px 12px; font-size: 12px; color: #5b6478; }
.stk-kv dt { color: #9aa3b2; }
.stk-kv dd { margin: 0; color: #2b3244; font-variant-numeric: tabular-nums; }
.stk-kv dd .up { color: #e03131; font-weight: 700; }
.stk-kv dd .dn { color: #0ca678; font-weight: 700; }
.stk-btn {
  display: inline-block; margin-top: 10px; border: 1px solid #dfe3ea; background: #fbfcfe;
  color: #27548c; font-size: 12px; font-weight: 600; border-radius: 8px;
  padding: 6px 14px; cursor: pointer; transition: .12s;
}
.stk-btn:hover { border-color: #4a7cb5; background: #eef4fc; }
.yjgc-row.sel { background: #eef4fc; box-shadow: inset 3px 0 0 #27548c; }

@media (max-width: 1180px) {
  .yjgc-cols { grid-template-columns: 1fr; }
  .yjgc-rail { position: static; max-height: none; }
}

/* 业绩预告速览 */
.rail-yg { display: grid; grid-template-columns: 1fr 1fr; gap: 3px 10px; }
.rail-yg .yg { display: flex; align-items: center; gap: 7px; cursor: pointer; border-radius: 7px; padding: 2px 6px; border: 1px solid transparent; transition: .12s; }
.rail-yg .yg:hover { background: #f7fafe; border-color: #dfe8f5; }
.rail-yg .yg.on { background: #eef4fc; border-color: #27548c; }
.rail-yg .yg .k { flex: none; width: 62px; font-size: 11.5px; font-weight: 600; color: #2b3244; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.rail-yg .yg .tr { flex: 1; height: 10px; background: #f0f0f2; border-radius: 3px; overflow: hidden; }
.rail-yg .yg .tr i { display: block; height: 100%; border-radius: 3px; }
.rail-yg .yg .v { flex: none; width: 40px; text-align: right; font-size: 11px; font-weight: 700; color: #27548c; font-variant-numeric: tabular-nums; }
.stk-note { font-size: 11px; color: #9aa3b2; line-height: 1.7; margin-top: 8px; }

/* 筛选状态条 */
.yjgc-fbar {
  display: flex; align-items: center; gap: 8px; flex-wrap: wrap;
  padding: 8px 14px; background: #f6f8fb; border-bottom: 1px solid #eef0f4;
  font-size: 12px; color: #5b6478;
}
.yjgc-fbar .fb {
  display: inline-flex; align-items: center; gap: 5px;
  background: #fff; border: 1px solid #dfe3ea; border-radius: 20px;
  padding: 2px 4px 2px 10px; font-weight: 600; color: #27548c; font-size: 11.5px;
}
.yjgc-fbar .fb i {
  font-style: normal; cursor: pointer; color: #9aa3b2; font-size: 11px;
  width: 15px; height: 15px; line-height: 15px; text-align: center; border-radius: 50%;
}
.yjgc-fbar .fb i:hover { background: #eef0f4; color: #e03131; }
.yjgc-fbar .fbn { color: #8a93a5; }
.yjgc-fbar .fbn b { color: #27548c; font-weight: 700; }
.yjgc-fbar .fball {
  margin-left: auto; border: none; background: transparent; cursor: pointer;
  color: #8a93a5; font-size: 11.5px; padding: 2px 6px; border-radius: 6px;
}
.yjgc-fbar .fball:hover { background: #eef0f4; color: #27548c; }
