/* chapter-errors.js（无人接收的章节报错，2026-11-18）专用样式。通用组件和设计变量在 app.css；这里只放作品详情“章节报错”一节独有的类。 */

/* 作品详情里的一节，放在作品资料上面；有待处理的报错时一圈红色细框（docs/admin-page-layout.md：要人处理的放最上面）。
   2026-11-24 iOS 风格：细线圆角的分组（同 glass.css 的 .ios-list），待处理时的红框同 app.css 的 card.attention，不再是左边的竖条 */
.chapter-errors{margin:0 0 20px;padding:4px 18px 14px;border:0;border-radius:14px;background:var(--surface);box-shadow:0 0 0 1px var(--separator)}
.chapter-errors.is-waiting{box-shadow:0 0 0 1.5px var(--danger-border)}
.book-detail .chapter-errors>h3{margin:14px 0 4px}
.chapter-errors-intro{margin:0 0 8px}
.chapter-errors-body>*+*{margin-top:10px}
/* 待处理 / 已处理 / 已忽略：分段控件（2026-11-24，画法同 glass.css 的页签栏；弹窗里的页签 glass.css 不管，所以在这里写） */
.chapter-errors-bar{display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:8px 14px}
.chapter-errors-tabs{display:flex;width:fit-content;max-width:100%;gap:2px;padding:3px;border-radius:999px;background:var(--fill);overflow-x:auto;scrollbar-width:none}
.chapter-errors-tabs::-webkit-scrollbar{display:none}
.chapter-errors-tab{position:relative;flex:none;min-height:30px;padding:4px 14px;border:0;border-radius:999px;background:transparent;color:var(--text-2);font-size:13px;font-weight:500;white-space:nowrap;cursor:pointer;transition:background-color .2s,color .2s,box-shadow .2s}
.chapter-errors-tab:hover{color:var(--text)}
.chapter-errors-tab[aria-selected=true]{background:var(--segment-on);color:var(--text);font-weight:600;box-shadow:var(--segment-shadow)}
.chapter-errors-tab:disabled{cursor:default}
.chapter-errors-tab:focus-visible{outline:none;box-shadow:var(--focus)}
.chapter-errors-empty{margin:0;font-size:13px}
/* 一条报错一行，约三行文字高：说明和段落快照各截成一行，全文在悬停提示里 */
.chapter-errors-place{min-width:120px}
.chapter-errors-words{min-width:240px;max-width:520px}
.chapter-errors-head{display:block;overflow-wrap:anywhere}
.chapter-errors-head .table-title{display:inline;max-width:none}
.chapter-errors-fix,.chapter-errors-note{font-size:13px;line-height:1.55;overflow-wrap:anywhere}
.chapter-errors-fix{margin-left:8px;color:var(--text)}
.chapter-errors-note{display:block}
.chapter-errors-note{color:var(--text-2);overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.chapter-errors-words .chapter-errors-snapshot{max-width:none;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.chapter-errors-pager{display:flex;align-items:center;gap:10px;font-size:13px}
