/* 财务三表明细独立页（stockfs.html） */
.sfs-hero{display:flex;align-items:center;gap:16px;flex-wrap:wrap;padding:12px 18px;}
.sfs-id{display:flex;align-items:baseline;gap:10px;min-width:0;}
.sfs-id h1{font-size:19px;margin:0;letter-spacing:.3px;}
.sfs-px{display:flex;align-items:baseline;gap:8px;}
.sfs-px b{font-size:19px;font-variant-numeric:tabular-nums;}
.sfs-hint{margin-left:auto;color:#9aa3b2;font-size:11.5px;}
.sfs-tabs{display:flex;align-items:center;gap:6px;padding:8px 12px;margin-bottom:12px;}
.sfs-tabs button{border:0;background:transparent;border-radius:9px;padding:8px 18px;font-size:14px;font-weight:700;color:#5a6478;cursor:pointer;font-family:inherit;}
.sfs-tabs button.on{background:#27548c;color:#fff;}
.sfs-tabs button:hover:not(.on){background:#eef4fc;}
.sfs-search{margin-left:auto;}
.sfs-search input{border:1px solid #e3e4e6;border-radius:8px;padding:6px 10px;font-size:12.5px;width:210px;font-family:inherit;outline:none;}
.sfs-search input:focus{border-color:#27548c;}
.sfs-src{font-size:11.5px;color:#9aa3b2;line-height:1.7;margin-top:10px;}

/* ---- 三表：理杏仁式（当期/单季 × 原值/同比/环比） ---- */
.sh-fs thead tr:nth-child(3) th{top:60px;font-weight:400;font-size:10.5px;color:#8a93a5;padding:3px 6px;}
.sh-fs th.tagc,.sh-fs td.tagc{min-width:34px;text-align:right;font-size:10px;color:#9aa3b2;padding:5px 4px;background:#fff;}
.sh-fs thead th.tagc{background:#f5f8fc;}
.sh-fs tr.sq td{font-size:11px;color:#6b7686;padding:2px 9px;}
.sh-fs tr.sq td.num{color:#6b7686;}
.sh-fs tr.sq td.yoy{font-size:10.5px;}
.sh-fs tr.sq:hover td{background:#fbfcfe;}
.sh-fs tr.sq:hover td.acc-col{background:#fff;}
.sh-fs td.hlu{background:rgba(255,212,0,.22)!important;box-shadow:inset 0 0 0 1px rgba(224,170,0,.35);}
.sh-fs td.hld{color:#c92a2a!important;font-weight:700;}
.sh-fs th.ysep,.sh-fs td.ysep{border-left:2px solid #c9d4e4;}
.sh-fs tr.audit td{font-size:11px;color:#2b8a3e;background:#fbfff9;}
.sh-fsbar button[data-pg]{min-width:26px;padding:3px 8px;}

/* ---- 表格整页展开 + 表头吸顶 + 选中科目行 ---- */
.sfs-wrap .sh-fswrap{max-height:calc((100vh - 150px) * 1.5);}
.sh-fs thead tr:first-child th{top:var(--sfs-nav,0px);}
.sh-fs thead tr:nth-child(2) th{top:calc(var(--sfs-nav,0px) + 29px);}
.sh-fs thead tr:nth-child(3) th{top:calc(var(--sfs-nav,0px) + 57px);}
.sh-fs tr.rowsel td{background:#eef4fc;}
.sh-fs tr.rowsel td.acc-col{box-shadow:inset 3px 0 0 #27548c;}
.sh-fs tr.rowsel:hover td{background:#e2edfb;}

/* ---- 横向滚动条吸底 + 表头居中 ---- */
.sfs-wrap .sh-fswrap{scrollbar-width:none;}
.sfs-wrap .sh-fswrap::-webkit-scrollbar{height:0;width:0;}
.sfs-hbar{position:sticky;bottom:0;height:17px;overflow-x:auto;overflow-y:hidden;z-index:30;background:#fbfcfe;border:1px solid #e3e4e6;border-radius:9px;box-shadow:0 -4px 12px rgba(20,40,80,.10);margin:6px 0 2px;}
.sfs-hbar i{display:block;height:1px;}
.sfs-hbar::-webkit-scrollbar{height:15px;}
.sfs-hbar::-webkit-scrollbar-track{background:#eef1f6;border-radius:8px;}
.sfs-hbar::-webkit-scrollbar-thumb{background:#b9c6d8;border-radius:8px;border:3px solid #eef1f6;}
.sfs-hbar::-webkit-scrollbar-thumb:hover{background:#27548c;}
.sh-fs thead th{text-align:center;}
.sh-fs thead th.acc-col{text-align:left;}

/* ---- 行悬停 / 选中：整行加粗、底色加深（不放大学号） ---- */
.sh-fs tbody tr:not(.grp):not(.audit):hover td{background:#e3edf9;font-weight:700;}
.sh-fs tbody tr:not(.grp):not(.audit):hover td.acc-col{box-shadow:inset 3px 0 0 #27548c;}
.sh-fs tr.rowsel td{font-weight:700;}

/* ---- 嵌入模式（个股360 页签内嵌）：隐藏页头页签，表格随 iframe 视口取高 ---- */
html.sfs-embed .sfs-hero,html.sfs-embed .sfs-tabs,html.sfs-embed .sfs-src{display:none;}
html.sfs-embed body{background:transparent;}
html.sfs-embed .sfs-wrap{max-width:none;padding:0;}
html.sfs-embed .sfs-wrap .sh-fswrap{max-height:calc((100vh - 520px) * 1.5);}
html.sfs-embed .sh-pane{border-radius:0;}

/* ---- 报表读取失败重试链接 ---- */
.sfs-retry{color:#27548c;font-weight:700;text-decoration:none;border-bottom:1px solid #27548c;margin-left:4px;}
.sfs-retry:hover{color:#e03131;border-bottom-color:#e03131;}
