* { box-sizing: border-box; }
body {
  margin: 0;
  font-family: "Microsoft YaHei", "PingFang SC", "Helvetica Neue", Arial, sans-serif;
  background: #f4f6f9;
  color: #1f2329;
  font-size: 14px;
  line-height: 1.6;
}
.nav { background: #fff; border-bottom: 1px solid #e5e8ee; position: sticky; top: 0; z-index: 10; }
.nav-inner { max-width: 1080px; margin: 0 auto; padding: 0 20px; display: flex; align-items: center; gap: 4px; height: 54px; }
.nav .brand { font-weight: 700; font-size: 16px; color: #2b5cd9; margin-right: 18px; text-decoration: none; }
.nav a { color: #4e5969; text-decoration: none; padding: 7px 14px; border-radius: 6px; font-size: 14px; }
.nav a:hover { background: #f0f3f8; color: #2b5cd9; }

.wrap { max-width: 1080px; margin: 0 auto; padding: 24px 20px 60px; }
.foot { text-align: center; color: #a9aeb8; font-size: 12px; padding: 20px; }

h1 { font-size: 20px; margin: 0 0 4px; }
h2 { font-size: 16px; margin: 0 0 12px; }
.sub { color: #86909c; font-size: 13px; margin-bottom: 18px; }

.card { background: #fff; border: 1px solid #e5e8ee; border-radius: 10px; padding: 20px; margin-bottom: 18px; }

label { display: block; font-weight: 600; margin: 14px 0 6px; font-size: 13px; }
label .req { color: #d93026; margin-left: 2px; }
label .opt { color: #a9aeb8; font-weight: 400; margin-left: 4px; }
input[type=text], input[type=date], select, textarea {
  width: 100%; padding: 9px 11px; border: 1px solid #dcdfe6; border-radius: 6px;
  font-size: 14px; font-family: inherit; background: #fff; color: #1f2329;
}
input:focus, select:focus, textarea:focus { outline: none; border-color: #2b5cd9; box-shadow: 0 0 0 3px rgba(43,92,217,.1); }
textarea { min-height: 96px; resize: vertical; line-height: 1.7; }
.hint { color: #86909c; font-size: 12px; margin-top: 5px; }
.row2 { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }

button, .btn {
  display: inline-block; background: #2b5cd9; color: #fff; border: none; padding: 9px 20px;
  border-radius: 6px; font-size: 14px; cursor: pointer; text-decoration: none; font-family: inherit;
}
button:hover, .btn:hover { background: #1e47b0; }
.btn.gray { background: #fff; color: #4e5969; border: 1px solid #dcdfe6; }
.btn.gray:hover { background: #f4f6f9; }
.btn.sm { padding: 5px 12px; font-size: 13px; }
.actions { margin-top: 20px; display: flex; gap: 10px; flex-wrap: wrap; }

.alert { padding: 11px 14px; border-radius: 6px; margin-bottom: 16px; font-size: 13px; }
.alert.ok { background: #eef7ee; color: #1a7f37; border: 1px solid #c6e6c8; }
.alert.err { background: #fdf0ef; color: #c02b2b; border: 1px solid #f5cdc9; }

.stats { display: flex; gap: 12px; flex-wrap: wrap; margin-bottom: 18px; }
.stat { background: #fff; border: 1px solid #e5e8ee; border-radius: 10px; padding: 14px 22px; min-width: 120px; }
.stat .n { font-size: 24px; font-weight: 700; }
.stat .t { color: #86909c; font-size: 12px; }
.stat.ok .n { color: #1a7f37; }
.stat.no .n { color: #c02b2b; }

table { width: 100%; border-collapse: collapse; background: #fff; }
th, td { border: 1px solid #e5e8ee; padding: 10px 12px; text-align: left; vertical-align: top; }
th { background: #f7f8fb; font-weight: 600; font-size: 13px; white-space: nowrap; }
tbody tr:hover { background: #fafbfd; }

.pill { display: inline-block; padding: 2px 9px; border-radius: 11px; font-size: 12px; background: #f0f3f8; color: #4e5969; margin-right: 6px; }
.pill.miss { background: #fdf0ef; color: #c02b2b; }
.pill.ok { background: #eef7ee; color: #1a7f37; }

.filters { display: flex; gap: 10px; flex-wrap: wrap; align-items: flex-end; }
.filters > div { flex: 1 1 140px; }
.filters label { margin-top: 0; }

pre.summary {
  background: #fbfcfe; border: 1px solid #e5e8ee; border-radius: 8px; padding: 16px;
  white-space: pre-wrap; word-break: break-word; font-family: inherit; line-height: 1.9;
  max-height: 560px; overflow: auto; font-size: 13px;
}
.empty { color: #86909c; text-align: center; padding: 36px 0; }
.pager { margin-top: 16px; display: flex; gap: 8px; align-items: center; justify-content: center; font-size: 13px; }
.pager a { padding: 5px 12px; border: 1px solid #dcdfe6; border-radius: 6px; text-decoration: none; color: #4e5969; background: #fff; }
.pager a:hover { border-color: #2b5cd9; color: #2b5cd9; }
.meta { color: #86909c; font-size: 12px; }
.tip { background: #f7f9ff; border: 1px solid #dbe4fb; border-radius: 8px; padding: 12px 14px; font-size: 13px; color: #3a4a6b; margin-bottom: 16px; }

/* 今日状态三选一 */
.status-pick { display: flex; gap: 10px; flex-wrap: wrap; margin: 4px 0 18px; }
.status-pick .st {
  flex: 1 1 160px; display: flex; align-items: center; gap: 10px; cursor: pointer;
  border: 1px solid #dcdfe6; border-radius: 8px; padding: 12px 14px; margin: 0;
  background: #fff; transition: .15s;
}
.status-pick .st input { display: none; }
.status-pick .st .dot { width: 14px; height: 14px; border-radius: 50%; flex: 0 0 14px; }
.status-pick .st .txt b { display: block; font-size: 14px; }
.status-pick .st .txt small { color: #86909c; font-size: 12px; }
.status-pick .st-green .dot { background: #1a7f37; }
.status-pick .st-yellow .dot { background: #e6a700; }
.status-pick .st-red .dot { background: #d93026; }
.status-pick .st-green { border-color: #bfe0c8; }
.status-pick .st-yellow { border-color: #f2dfae; }
.status-pick .st-red { border-color: #f3c6c2; }
.status-pick input:checked + .dot { box-shadow: 0 0 0 4px rgba(0,0,0,.08); }
.status-pick .st:has(input:checked) { box-shadow: inset 0 0 0 2px currentColor; }
.status-pick .st-green:has(input:checked) { background: #f0f9f2; color: #1a7f37; }
.status-pick .st-yellow:has(input:checked) { background: #fffaf0; color: #a67c00; }
.status-pick .st-red:has(input:checked) { background: #fff5f4; color: #c02b2b; }

/* 可填写表格 */
table.fill { margin-bottom: 8px; }
table.fill th { font-size: 12px; }
table.fill td { padding: 6px 8px; }
table.fill input, table.fill select { padding: 7px 9px; font-size: 13px; border-color: #e5e8ee; }
table.fill td.del { width: 60px; text-align: center; }

/* 优先级行 */
.prio { display: flex; gap: 10px; align-items: center; margin-bottom: 10px; }
.prio .pnum {
  flex: 0 0 40px; text-align: center; font-weight: 700; font-size: 13px;
  border-radius: 6px; padding: 9px 0;
}
.prio .p1 { background: #fdeceb; color: #c02b2b; }
.prio .p2 { background: #fff6e6; color: #a67c00; }
.prio .p3 { background: #f0f3f8; color: #4e5969; }
.prio input { flex: 1; }
.prio .eta { flex: 0 0 160px; }

/* 卡点类型多选 */
.checks { display: flex; gap: 14px; flex-wrap: wrap; margin-top: 4px; }
.checks .chk { display: flex; align-items: center; gap: 6px; font-weight: 400; margin: 0; cursor: pointer; }
.checks .chk input { width: auto; }

/* 详情页字段块 */
.field { margin-bottom: 16px; }
.field .lb { font-size: 12px; color: #86909c; margin-bottom: 4px; }
.stbar { display: inline-block; padding: 3px 12px; border-radius: 12px; font-size: 13px; font-weight: 600; }
.stbar.green { background: #eef7ee; color: #1a7f37; }
.stbar.yellow { background: #fff6e0; color: #a67c00; }
.stbar.red { background: #fdf0ef; color: #c02b2b; }
.stbar.none { background: #f0f3f8; color: #86909c; }

/* 图片上传 */
.uploader { display: flex; gap: 10px; flex-wrap: wrap; align-items: flex-start;
  padding: 4px; border-radius: 10px; transition: background .15s; }
.uploader.dragging { background: #eef4ff; outline: 2px dashed #2b5cd9; outline-offset: 4px; }
.up-grid { display: flex; gap: 10px; flex-wrap: wrap; }
.up-item { position: relative; width: 110px; height: 130px; border-radius: 8px; overflow: hidden;
  border: 1px solid #e5e8ee; background: #fff; display: flex; flex-direction: column; }
.up-item img { width: 100%; height: 80px; object-fit: cover; display: block; }
.up-item .up-cap { padding: 4px 6px; font-size: 11px; color: #4e5969; line-height: 1.3;
  overflow: hidden; text-overflow: ellipsis; white-space: nowrap; flex: 1; }
.up-item .up-cap small { color: #a9aeb8; }
.up-del { position: absolute; top: 3px; right: 3px; width: 22px; height: 22px; border-radius: 50%;
  background: rgba(0,0,0,.55); color: #fff; border: none; cursor: pointer; font-size: 15px;
  line-height: 1; padding: 0; }
.up-del:hover { background: rgba(192,43,43,.9); }
.up-open { position: absolute; top: 3px; left: 3px; width: 22px; height: 22px; border-radius: 50%;
  background: rgba(0,0,0,.55); color: #fff; text-decoration: none; font-size: 13px;
  display: flex; align-items: center; justify-content: center; }
.up-open:hover { background: #2b5cd9; }
.up-add { width: 110px; height: 130px; border: 1px dashed #c9cfda; border-radius: 8px; display: flex;
  flex-direction: column; align-items: center; justify-content: center; cursor: pointer;
  color: #86909c; background: #fafbfd; text-align: center; padding: 8px; }
.up-add:hover { border-color: #2b5cd9; color: #2b5cd9; background: #f7f9ff; }
.up-add .plus { font-size: 24px; line-height: 1; }
.up-add .up-txt { font-size: 12px; margin-top: 2px; line-height: 1.4; }
.up-add .up-txt small { color: inherit; opacity: .75; }

/* 文档文件项 */
.up-item.up-doc { background: #f7f9ff; border-color: #dbe4fb; align-items: stretch; }
.up-item .doc-icon { height: 56px; display: flex; align-items: center; justify-content: center;
  background: linear-gradient(135deg, #2b5cd9, #5b8def); color: #fff; font-weight: 700;
  font-size: 14px; letter-spacing: .5px; flex: 0 0 56px; }

/* 文档文件列表（详情页、投屏页）*/
.doc-files { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 6px; }
.doc-files li a { display: flex; align-items: center; gap: 10px; padding: 8px 12px;
  border: 1px solid #e5e8ee; border-radius: 6px; text-decoration: none; color: #1f2329;
  background: #fbfcfe; }
.doc-files li a:hover { border-color: #2b5cd9; background: #f7f9ff; }
.doc-tag { display: inline-block; min-width: 38px; padding: 2px 6px; text-align: center;
  background: #2b5cd9; color: #fff; border-radius: 4px; font-size: 11px; font-weight: 700; }
.doc-name { flex: 1; font-size: 13px; word-break: break-all; }
.doc-size { color: #86909c; font-size: 12px; }

/* 投屏页文档区 */
.wp-docs { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 10px; }
.wp-doc { display: inline-flex; align-items: center; gap: 8px; padding: 6px 10px;
  border: 1px solid #e5e8ee; border-radius: 6px; background: #fbfcfe; text-decoration: none;
  color: #1f2329; font-size: 13px; max-width: 280px; }
.wp-doc:hover { border-color: #2b5cd9; background: #f7f9ff; }
.wp-doc-name { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }

/* 主持人和领导意见文字块 */
.host-body { white-space: pre-wrap; word-break: break-word; line-height: 1.8;
  background: #fbfcfe; border: 1px solid #e5e8ee; border-radius: 6px;
  padding: 14px 18px; margin: 0; font-family: inherit; font-size: 14px; color: #1f2937; }

/* 图片展示网格 */
.img-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(160px, 1fr)); gap: 10px; }
.img-grid a { display: block; aspect-ratio: 4/3; border-radius: 8px; overflow: hidden; border: 1px solid #e5e8ee; background: #f4f6f9; }
.img-grid img { width: 100%; height: 100%; object-fit: cover; }

/* 投屏看图页 */
.wall-head { display: flex; justify-content: space-between; align-items: flex-start; gap: 16px; margin-bottom: 18px; flex-wrap: wrap; }
.wh-actions { display: flex; gap: 10px; align-items: center; }
.wall-person { background: #fff; border: 1px solid #e5e8ee; border-radius: 10px; padding: 16px 20px; margin-bottom: 16px; }
.wp-head { display: flex; align-items: center; gap: 10px; margin-bottom: 8px; flex-wrap: wrap; }
.wp-name { font-size: 16px; }
.wp-line { color: #4e5969; background: #f7f8fb; border-radius: 6px; padding: 8px 12px; margin-bottom: 12px; font-size: 14px; }
.wp-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(180px, 1fr)); gap: 12px; }
.wp-img { aspect-ratio: 4/3; border-radius: 8px; overflow: hidden; border: 1px solid #e5e8ee;
  cursor: zoom-in; background: #f4f6f9; }
.wp-img img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .2s; }
.wp-img:hover img { transform: scale(1.05); }

/* 全屏灯箱 */
.lightbox { display: none; position: fixed; inset: 0; background: rgba(16,20,28,.93); z-index: 100; }
.lightbox.on { display: flex; align-items: center; justify-content: center; }
.lb-stage { display: flex; flex-direction: column; align-items: center; }
.lb-stage img { max-width: 84vw; max-height: 74vh; object-fit: contain; border-radius: 6px; }
.lb-cap { color: #e8ecf3; text-align: center; margin-top: 14px; font-size: 15px; }
.lb-cap #lbName { font-weight: 700; margin-right: 10px; }
.lb-text { color: #a9b2c3; font-size: 13px; margin-top: 6px; max-width: 70vw; }
.lb-close { position: absolute; top: 14px; right: 22px; background: none; border: none;
  color: #e8ecf3; font-size: 34px; cursor: pointer; line-height: 1; }
.lb-nav { position: absolute; top: 50%; transform: translateY(-50%); background: rgba(255,255,255,.12);
  border: none; color: #fff; font-size: 36px; width: 52px; height: 80px; border-radius: 8px; cursor: pointer; }
.lb-prev { left: 18px; }
.lb-next { right: 18px; }
.lb-nav:hover { background: rgba(255,255,255,.24); }

@media (max-width: 720px) {
  .row2, .filters, .prio { grid-template-columns: 1fr; display: grid; gap: 10px; }
  .prio .eta { width: 100%; }
  .status-pick .st { flex: 1 1 100%; }
  .lb-nav { width: 42px; height: 66px; font-size: 28px; }
  .lb-prev { left: 6px; }
  .lb-next { right: 6px; }
}
