/* 嘉信人事薪酬系统：界面整体沿用业务系统 bos 的设计（bos.css 原样复用）。
   这里只补 bos 里没有、人事系统需要的少量样式。 */
:where(input[type=checkbox], input[type=radio]) { width: auto; padding: 0; accent-color: var(--brand); }  /* 零优先级，不盖过 bos 自己的勾选框样式 */
.chk { display: inline-flex; align-items: center; gap: 6px; font-size: 13px; color: var(--ink-600); cursor: pointer; white-space: nowrap; }
.f { display: flex; flex-direction: column; gap: 6px; font-size: 12.5px; color: var(--ink-600); }
.row { display: flex; gap: 10px; flex-wrap: wrap; align-items: center; }
.grow { flex: 1; }
.foot { display: flex; gap: 10px; justify-content: flex-end; align-items: center; margin-top: 14px; padding-top: 14px;
  border-top: 1px solid var(--line-light); }
/* 制度说明：与 bos 的浅蓝底 + 金色强调一致 */
.note { background: rgba(238,244,255,.72); border: 1px solid var(--line); border-left: 3px solid var(--gold);
  border-radius: 8px; padding: 10px 14px; color: var(--ink-600); font-size: 12.5px; line-height: 1.7; margin: 0 0 14px; }
.note.warn { background: var(--gold-bg); }
.toast.err { background: rgba(122,46,31,.92); }
.brand-sys { padding: 0 20px 10px; font-size: 11.5px; color: var(--ink-400); letter-spacing: 3px; }
.page-head .back { margin-bottom: 4px; display: inline-block; }
.table-wrap td.wrap { white-space: normal; min-width: 180px; }
.modal h4 { font-size: 13px; font-weight: 600; margin: 4px 0 10px; color: var(--ink-600); }
.kpi-grid.cols3 { grid-template-columns: repeat(3, 1fr); }
@media (max-width: 860px) { .kpi-grid.cols3 { grid-template-columns: repeat(2, 1fr); } }
/* 人事系统的表格不写 tbody，补上 bos 依赖 tbody 的行样式 */
table > tr.clickable { cursor: pointer; }
table > tr.clickable:hover { background: #EEF4FF; }
table > tr:last-child td { border-bottom: none; }
.desc-grid > div > span:first-child { min-width: 128px; }  /* 人事字段名较长 */
/* 人事表格数字列多：单元格不换行，超宽时左右滑动；长说明列（.wrap）照常换行 */
.table-wrap th, .table-wrap td { white-space: nowrap; }
.table-wrap td.wrap { white-space: normal; }
@media (max-width: 860px) { .main > section { padding: 0 12px; } }
/* 头像与个人设置（头像样式沿用 bos 的 .avatar） */
.avatar-lg { width: 64px !important; height: 64px !important; font-size: 24px !important; }
.profile-row { display: flex; gap: 16px; align-items: center; margin-bottom: 14px; }
.modal-md { max-width: 560px; }
.sidebar-user > a { display: inline-flex; }

/* 多人协助登记：合计不符时标红 */
td.err { color: var(--red); font-weight: 600; }
