/* 选作品（book-picker.js，2026-10-25）：各弹窗共用的查找选书。通用组件和设计变量在 app.css；这里只放查找框、结果表和“已选择”块。 */
.book-picker{display:grid;gap:10px;min-width:0}
.book-picker-bar{display:flex;flex-wrap:wrap;align-items:flex-end;gap:10px 14px}
.book-picker-bar>.book-picker-search{flex:2 1 260px;min-width:200px}
.book-picker-bar>label{flex:1 1 140px;min-width:120px}
.book-picker-bar input[type=search]{width:100%}
.book-picker-status{margin:0;min-height:1.4em;color:var(--muted);font-size:13px}
.book-picker-status:empty{display:none}
.book-picker-results{min-width:0}
.book-picker-results>.muted{margin:4px 0}
/* 结果多时表格自己滚动，弹窗里的其他字段和按钮不被推出屏幕 */
.book-picker-table{max-height:min(46vh,420px);overflow:auto}
.book-picker-table tr.is-chosen>td{background:var(--primary-soft)}
.book-picker-book{min-width:180px}
/* 操作列只占按钮的宽度：表格最小 760px，列少时（作品 + 操作）不收窄的话固定在右侧的操作列会盖住整个手机屏幕 */
.book-picker-action{white-space:nowrap;width:1%}
.book-picker-action .table-sub{white-space:normal;min-width:9em;max-width:160px}
.book-picker-pager{padding:8px 0 0;border-top:0}
.book-picker-select{display:grid;gap:10px;min-width:0}
.book-picker-select>.book-picker-finder{padding:12px 14px;border:1px solid var(--border-soft);border-radius:var(--radius);background:var(--surface)}
.book-picker-chosen>.dialog-subject{margin:0}
.book-picker-subject{display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:8px 14px}
.book-picker-subject-text{flex:1 1 220px;min-width:0}
.book-picker-subject-text>span:first-child{display:block}
@media (max-width:760px){
  .book-picker-bar>.book-picker-search,.book-picker-bar>label{min-width:0;flex-basis:100%}
  .book-picker-select>.book-picker-finder{padding:10px}
}
/* 作品更新状态（2026-11-15，docs/admin-book-update-status.md）：状态标签（今天更新 / N 天没更新 / 断更 N 天 / 已完结）；查找表“更新”一格是标签加一行小字“近 7 天 N 章”；列表里在书名那一格下面单独一行。 */
.book-update{white-space:nowrap}
.book-update-cell{display:inline-flex;flex-direction:column;align-items:flex-start;gap:2px;white-space:nowrap}
.book-update-cell>.table-sub{white-space:nowrap}
.book-update-line{display:block;margin-top:4px}
