/* jobs.js（招聘职位，2026-11-11，docs/join-us.md）专用样式。编辑器、预览沿用 site-content.css 的 .site-editor、.site-preview；这里只放本页独有的类。 */

/* 列表：职位名一行、类别/地点/性质/薪资做成同一行的小标签（docs/admin-page-layout.md 第 2 条）；短列不折行 */
[data-testid=jobs-result]>.card+.card{margin-top:20px}
[data-testid=jobs-result] td:first-child{min-width:260px}
[data-testid=jobs-result] td:first-child .table-title{display:block;max-width:520px}
[data-testid=jobs-result] td:nth-child(2),[data-testid=jobs-result] td:nth-child(4),[data-testid=jobs-result] td:nth-child(5){white-space:nowrap}
[data-testid=jobs-result] td:nth-child(3){overflow-wrap:anywhere;min-width:160px}
[data-testid=jobs-result] .table-actions{flex-wrap:nowrap}
.job-tags{display:flex;flex-wrap:wrap;gap:6px;margin-top:6px}
/* 2026-11-24 iOS 风格：灰色填充的小胶囊，不描边（同全站徽标） */
.job-tag{display:inline-flex;align-items:center;padding:1px 9px;border:0;border-radius:999px;background:var(--fill);color:var(--text-2);font-size:12px;line-height:1.7;white-space:nowrap}

/* 详情弹窗：键值面板与预览卡片之间留 20px（同公告详情） */
#action-dialog[data-view=jobs] .dialog-body>.site-preview{margin:20px 0 4px}

/* 预览：职位名下面一排标签，再是职位描述 */
.job-preview h3{margin-bottom:0}
.job-preview .job-tags{margin:8px 0 16px}
.job-preview h3+.site-body,.job-preview h3+.muted{margin-top:14px}
.job-editor .site-editor-fields>.form-grid{margin-top:18px}
