/* 「員工 ▾ → SOP 與規章」後台頁(public/team-sop-ui.js)。卡片、表單、按鈕沿用 team-ui.css 與 settings-kit.css,這裡只放這一頁特有的排法。
 * 舊平板 WebView 不靠 grid / gap。 */
.tsop-top { margin: 0 0 10px; }
.tsop-seg { margin: 0 0 10px; }
.tsop-list { list-style: none; margin: 0; padding: 0; }
.tsop-list > li { margin: 0 0 8px; }
.tsop-row-h b { font-size: 15px; }
.tsop-form textarea { width: 100%; box-sizing: border-box; }
.tsop-steps-h { margin: 14px 0 6px; }
.tsop-steps-h .hint { margin-left: 8px; }
.tsop-steps { list-style: none; margin: 0 0 8px; padding: 0; }
.tsop-steps > li { display: flex; padding: 10px 0; border-top: 1px solid var(--line, #e3e6ec); }
.tsop-no { flex: 0 0 26px; width: 26px; height: 26px; margin: 4px 10px 0 0; border-radius: 50%; background: var(--ink, #1c2333); color: #fff; font-size: 13px; font-weight: 700; line-height: 26px; text-align: center; }
.tsop-step-b { flex: 1; min-width: 0; }
.tsop-step-a { margin-top: 6px; }
.tsop-step-a > * { margin: 0 6px 6px 0; }
.tsop-file { display: inline-block; position: relative; overflow: hidden; min-height: 36px; padding: 0 14px; border: 1px solid var(--line, #d0d5dd); border-radius: 9px; background: #f4f5f7; color: var(--ink, #1c2333); font-size: 13px; line-height: 34px; vertical-align: top; cursor: pointer; }
.tsop-file input { position: absolute; top: 0; left: 0; width: 100%; height: 100%; opacity: 0; cursor: pointer; }
.tsop-phs { margin-top: 6px; }
.tsop-ph { position: relative; display: inline-block; width: 84px; height: 84px; margin: 0 8px 8px 0; border: 1px solid var(--line, #e3e6ec); border-radius: 9px; overflow: hidden; vertical-align: top; }
.tsop-ph img { width: 100%; height: 100%; object-fit: cover; display: block; }
.tsop-ph button { position: absolute; top: 2px; right: 2px; width: 28px; height: 28px; border: 0; border-radius: 50%; background: rgba(0, 0, 0, .6); color: #fff; font-size: 17px; line-height: 28px; padding: 0; cursor: pointer; }
.tsop-chk { display: inline-block; margin: 0 14px 8px 0; min-height: 32px; line-height: 32px; }
.tsop-chk input { margin-right: 4px; vertical-align: middle; }
.tsop-must { display: block; margin-top: 12px; }
.tsop-aud-g { margin: 8px 0; }
.tsop-aud-g > b { display: block; margin-bottom: 4px; font-size: 13px; }
.tsop-save { position: sticky; bottom: 0; padding: 10px 0; background: var(--panel, #fff); border-top: 1px solid var(--line, #e3e6ec); }
.tsop-people { margin: 0 0 8px; padding-left: 18px; }
.tsop-people li { margin: 4px 0; }
.tsop-words label { display: block; }
.tsop-preview { max-height: 70vh; overflow: auto; }
