/* 运营端 */
.op-hero {
  position: relative;
  padding: 18px 16px 44px;
  background:
    radial-gradient(240px 160px at 90% 10%, rgba(255, 255, 255, .18), transparent 60%),
    linear-gradient(135deg, #1746c7, #2f6bff 62%, #6b9aff);
  color: #fff;
  overflow: hidden;
}
.op-hero::after {
  content: "";
  position: absolute;
  right: -46px;
  bottom: -80px;
  width: 200px;
  height: 200px;
  border-radius: 50%;
  border: 30px solid rgba(255, 255, 255, .07);
}
.op-hero-top { display: flex; align-items: flex-start; justify-content: space-between; gap: 12px; }
.op-hero h1 { margin: 0; font-size: calc(21px * var(--type-scale)); font-weight: 900; letter-spacing: -.04em; }
.op-hero p { margin: 5px 0 0; font-size: calc(10px * var(--type-scale)); color: rgba(255, 255, 255, .68); }
.op-role-chip {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  background: rgba(255, 255, 255, .14);
  border: 1px solid rgba(255, 255, 255, .2);
  border-radius: 999px;
  padding: 5px 8px;
  font-size: calc(9px * var(--type-scale));
  font-weight: 800;
  backdrop-filter: blur(8px);
  white-space: nowrap;
}
.op-role-chip svg { width: 12px; height: 12px; }
.op-stats {
  position: relative;
  z-index: 3;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  margin: -30px 14px 0;
}
.op-stat {
  background: #fff;
  border-radius: 15px;
  padding: 12px;
  box-shadow: 0 8px 20px rgba(30, 74, 150, .08);
  border: 1px solid rgba(234, 242, 253, .8);
}
.op-stat-top { display: flex; align-items: center; justify-content: space-between; gap: 6px; }
.op-stat span { font-size: calc(9.5px * var(--type-scale)); color: #8b99ad; }
.op-stat .stat-ico {
  width: 24px;
  height: 24px;
  border-radius: 8px;
  background: #edf5ff;
  color: var(--brand);
  display: grid;
  place-items: center;
}
.op-stat .stat-ico.orange { background: #fff5e8; color: #f29a2e; }
.op-stat .stat-ico.green { background: #e9faf4; color: #12a87d; }
.op-stat .stat-ico.purple { background: #f2efff; color: #7c5cff; }
.op-stat .stat-ico svg { width: 13px; height: 13px; }
.op-stat strong { display: block; margin-top: 5px; font-size: calc(23px * var(--type-scale)); line-height: 1; font-weight: 900; letter-spacing: -.04em; }
.op-stat small { display: block; margin-top: 4px; font-size: calc(8.5px * var(--type-scale)); color: #9aa8bb; }
.op-stat small b { color: #12a87d; }

.op-section { margin: 15px 14px 0; }
.op-section-head { display: flex; align-items: center; justify-content: space-between; gap: 8px; margin-bottom: 8px; }
.op-section-head h2 { margin: 0; font-size: calc(14px * var(--type-scale)); font-weight: 900; letter-spacing: -.02em; display: flex; align-items: center; gap: 6px; }
.op-section-head h2::before { content: ""; width: 4px; height: 14px; border-radius: 2px; background: linear-gradient(180deg, #ffc46d, #ff9f43); }
.op-section-head .text-btn { color: #8795aa; font-size: calc(9.5px * var(--type-scale)); }
.op-card {
  background: #fff;
  border-radius: 15px;
  padding: 12px;
  box-shadow: var(--shadow-soft);
  border: 1px solid rgba(234, 242, 253, .8);
}
.todo-list { display: flex; flex-direction: column; gap: 8px; }
.todo-item {
  display: flex;
  align-items: center;
  gap: 9px;
  padding: 9px;
  border-radius: 12px;
  background: #f8fbff;
  border: 1px solid #edf3fc;
  width: 100%;
  text-align: left;
}
.todo-dot { width: 7px; height: 7px; border-radius: 50%; background: var(--orange); flex: 0 0 auto; box-shadow: 0 0 0 3px #fff1df; }
.todo-item.draft .todo-dot { background: #aeb9c9; box-shadow: 0 0 0 3px #eef2f8; }
.todo-info { flex: 1; min-width: 0; }
.todo-info h3 { margin: 0; font-size: calc(11.5px * var(--type-scale)); font-weight: 800; line-height: 1.35; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.todo-info p { margin: 3px 0 0; font-size: calc(9px * var(--type-scale)); color: #98a5b8; }
.todo-item .mini-btn { flex: 0 0 auto; }
.quick-actions { display: grid; grid-template-columns: repeat(3, 1fr); gap: 7px; }
.quick-action {
  border: 0;
  border-radius: 13px;
  background: #fff;
  padding: 12px 6px 10px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  box-shadow: var(--shadow-soft);
  border: 1px solid rgba(234, 242, 253, .8);
  font-size: calc(9.5px * var(--type-scale));
  font-weight: 800;
  color: #4f607b;
}
.quick-action .qa-ico {
  width: 32px;
  height: 32px;
  border-radius: 10px;
  display: grid;
  place-items: center;
  color: #fff;
  background: linear-gradient(145deg, #6a9bff, #2f6bff);
}
.quick-action .qa-ico.orange { background: linear-gradient(145deg, #ffc46d, #ff9f43); }
.quick-action .qa-ico.purple { background: linear-gradient(145deg, #b59cff, #7c5cff); }
.quick-action .qa-ico svg { width: 16px; height: 16px; }
.mini-bars { display: flex; align-items: flex-end; gap: 6px; height: 64px; padding-top: 6px; }
.mini-bar { flex: 1; display: flex; flex-direction: column; align-items: center; gap: 4px; height: 100%; justify-content: flex-end; }
.mini-bar i {
  width: 100%;
  max-width: 18px;
  border-radius: 4px 4px 2px 2px;
  background: linear-gradient(180deg, #8db3ff, #2f6bff);
  display: block;
  min-height: 6px;
}
.mini-bar span { font-size: calc(7.5px * var(--type-scale)); color: #a0adbf; }
.recent-list { display: flex; flex-direction: column; gap: 0; }
.recent-item {
  display: flex;
  align-items: center;
  gap: 9px;
  padding: 9px 0;
  border-bottom: 1px solid #f1f6fd;
  width: 100%;
  text-align: left;
  background: transparent;
  border-left: 0;
  border-right: 0;
  border-top: 0;
}
.recent-item:last-child { border-bottom: 0; }
.recent-info { flex: 1; min-width: 0; }
.recent-top { display: flex; align-items: center; gap: 7px; min-width: 0; }
.recent-district {
  flex: 0 0 auto;
  font-style: normal;
  padding: 2px 7px;
  border-radius: 999px;
  background: #eaf3ff;
  color: var(--brand);
  font-size: calc(7.2px * var(--type-scale));
  font-weight: 800;
  line-height: 1.3;
}
.recent-info h3 { flex: 1; min-width: 0; margin: 0; font-size: calc(10px * var(--type-scale)); font-weight: 800; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.recent-meta { display: flex; align-items: center; gap: 6px; margin: 4px 0 0; font-size: calc(8.5px * var(--type-scale)); color: #98a5b8; }
.recent-item .status-dot { width: 6px; height: 6px; border-radius: 50%; background: #22b99b; flex: 0 0 auto; }
.recent-item .status-dot.draft { background: #f2a23a; }

/* 创建选题表单 */
.form-screen { background: #f6f9ff; padding-bottom: 0; }
.form-head {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 14px;
  background: rgba(246, 249, 255, .95);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(230, 239, 251, .7);
}
.form-head h1 { flex: 1; margin: 0; text-align: center; font-size: calc(17px * var(--type-scale)); font-weight: 900; letter-spacing: -.02em; }
.form-head .head-spacer { width: 36px; flex: 0 0 auto; }
.form-card {
  background: #fff;
  border-radius: 17px;
  margin: 10px 14px 0;
  padding: 14px;
  box-shadow: var(--shadow-soft);
  border: 1px solid rgba(234, 242, 253, .8);
}
.field-label {
  display: flex;
  align-items: center;
  gap: 5px;
  margin: 0 0 8px;
  font-size: calc(13px * var(--type-scale));
  font-weight: 900;
  letter-spacing: -.01em;
}
.field-label svg { width: 15px; height: 15px; color: var(--brand); }
.field-label .req { color: #f04444; font-size: calc(12px * var(--type-scale)); }
.input, .textarea {
  width: 100%;
  border: 1px solid #e8f0fb;
  background: #f8fbff;
  border-radius: 11px;
  padding: 11px 12px;
  font-size: calc(12px * var(--type-scale));
  line-height: 1.6;
  outline: none;
  color: var(--ink);
  transition: .18s ease;
}
.input::placeholder, .textarea::placeholder { color: #a9b5c6; }
.input:focus, .textarea:focus { border-color: #bcd4ff; background: #fff; box-shadow: 0 0 0 3px rgba(47, 107, 255, .08); }
.textarea { resize: none; min-height: 92px; }
.form-card textarea[name="requirements"] { min-height: 200px; }
.counter { margin-top: 5px; text-align: right; font-size: calc(9px * var(--type-scale)); color: #a3afc0; }
.video-link-field { margin-top: 14px; padding-top: 12px; border-top: 1px solid #edf3fc; }
.field-error { margin: 6px 0 0; font-size: calc(10px * var(--type-scale)); color: var(--danger); font-weight: 600; }
.district-select { display: grid; grid-template-columns: repeat(3, 1fr); gap: 7px; }
.district-option {
  border: 1px solid #e3edfa;
  background: #f8fbff;
  color: #5f6f88;
  border-radius: 10px;
  padding: 9px 4px;
  font-size: calc(10.5px * var(--type-scale));
  font-weight: 700;
  transition: .15s ease;
}
.district-option.is-selected {
  border-color: #9dc0ff;
  color: var(--brand);
  background: #eaf3ff;
  box-shadow: 0 0 0 2px rgba(47, 107, 255, .06);
}
.select-all {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 6px;
  margin-top: 9px;
  font-size: calc(10px * var(--type-scale));
  color: #7d8ca3;
}
.select-all input { width: 14px; height: 14px; accent-color: var(--brand); }
.upload-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.upload-card {
  border: 1px dashed #cfdff4;
  border-radius: 12px;
  background: #f9fcff;
  padding: 16px 8px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  color: #7b8ba2;
  font-size: calc(10px * var(--type-scale));
  font-weight: 600;
  cursor: pointer;
  transition: .18s ease;
}
.upload-card:hover { border-color: #a9c8f2; background: #f4f9ff; }
.upload-card svg { width: 24px; height: 24px; color: var(--brand); }
.upload-card input { display: none; }
.upload-card small { font-size: calc(8px * var(--type-scale)); color: #a5b1c2; font-weight: 400; }
.upload-previews { display: flex; gap: 6px; flex-wrap: wrap; margin-top: 8px; }
.upload-preview {
  position: relative;
  width: 62px;
  height: 62px;
  border-radius: 9px;
  overflow: hidden;
  background: #dce9f9 center / cover;
  border: 1px solid #e6effb;
}
.upload-preview.video { background: #eef4ff; display: grid; place-items: center; color: var(--brand); }
.upload-preview.video svg { width: 22px; height: 22px; }
.upload-preview button {
  position: absolute;
  top: 2px;
  right: 2px;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  border: 0;
  background: rgba(8, 20, 40, .62);
  color: #fff;
  display: grid;
  place-items: center;
  padding: 0;
}
.upload-preview button svg { width: 10px; height: 10px; }
.from-library {
  border: 0;
  background: transparent;
  color: var(--brand);
  font-size: calc(9.5px * var(--type-scale));
  font-weight: 800;
  padding: 0;
  margin-top: 8px;
  display: inline-flex;
  align-items: center;
  gap: 3px;
}
.from-library svg { width: 12px; height: 12px; }
.form-note {
  margin: 10px 14px 0;
  padding: 10px 12px;
  border-radius: 11px;
  background: #eef6ff;
  border: 1px solid #dcebff;
  font-size: calc(9.5px * var(--type-scale));
  line-height: 1.6;
  color: #657793;
}
.form-actions {
  position: sticky;
  bottom: 0;
  z-index: 20;
  display: flex;
  gap: 8px;
  padding: 9px 14px calc(9px + env(safe-area-inset-bottom));
  background: rgba(255, 255, 255, .96);
  backdrop-filter: blur(16px);
  border-top: 1px solid #e9f1fc;
  margin-top: 12px;
}
.form-actions .secondary-btn { flex: 0 0 34%; }
.form-actions .primary-btn { flex: 1; }

/* 选题管理 */
.manage-screen { padding-bottom: 16px; }
.manage-filters { padding: 10px 16px 2px; display: flex; gap: 6px; overflow-x: auto; }
.manage-filters .chip { font-size: calc(10px * var(--type-scale)); padding: 6px 10px; }
.manage-list { display: flex; flex-direction: column; gap: 9px; padding: 10px 16px 20px; }
.manage-card {
  background: #fff;
  border-radius: 15px;
  padding: 9px;
  display: flex;
  gap: 9px;
  box-shadow: var(--shadow-soft);
  border: 1px solid rgba(234, 242, 253, .8);
  text-align: left;
}
.manage-card .topic-thumb { width: 82px; height: 72px; }
.manage-info { flex: 1; min-width: 0; display: flex; flex-direction: column; justify-content: space-between; padding: 1px 0; }
.manage-title-row { display: flex; align-items: flex-start; gap: 6px; }
.card-topline { display: flex; align-items: center; justify-content: space-between; gap: 8px; margin-bottom: 4px; }
.card-district {
  align-self: flex-start;
  margin-bottom: 0;
  padding: 2px 8px;
  border-radius: 999px;
  background: #eaf3ff;
  color: var(--brand);
  font-size: calc(8px * var(--type-scale));
  font-weight: 800;
  line-height: 1.3;
}
.manage-title-row h3 { margin: 0; flex: 1; font-size: calc(12px * var(--type-scale)); line-height: 1.4; font-weight: 850; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.status-badge {
  flex: 0 0 auto;
  font-size: calc(8px * var(--type-scale));
  font-weight: 800;
  border-radius: 5px;
  padding: 3px 5px;
  line-height: 1;
}
.status-badge.published { color: #0c9b74; background: #e8faf4; }
.status-badge.draft { color: #c27a12; background: #fff5e7; }
.status-badge.offline { color: #7d8ba0; background: #f0f3f8; }
.manage-actions { display: flex; gap: 5px; margin-top: 5px; flex-wrap: wrap; }

/* 卡片外的素材状态 */
.topic-content-preview {
  position: relative;
  margin: 8px 0 0;
  padding: 9px 10px;
  max-height: calc(4 * 1.55em + 20px);
  border: 1px solid #edf4fd;
  border-radius: 10px;
  background: #f8fbff;
  font-size: calc(9.2px * var(--type-scale));
  line-height: 1.55;
  color: #5f6f88;
  overflow: hidden;
}
.topic-content-preview::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 14px;
  background: linear-gradient(180deg, rgba(248, 251, 255, 0), #f8fbff 70%);
  pointer-events: none;
}
.topic-media-status {
  margin-top: 7px;
  padding: 6px;
  border: 1px solid #e9f1fb;
  border-radius: 11px;
  background: #f8fbff;
}
.media-status-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 7px; }
.media-slot {
  position: relative;
  display: block;
  min-height: 96px;
  padding: 0;
  border-radius: 12px;
  border: 1px dashed #cfdff4;
  background: #fff;
  text-align: center;
  color: #5f6f88;
  overflow: hidden;
}
.media-slot-main {
  width: 100%;
  min-height: 94px;
  border: 0;
  background: transparent;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 10px 8px;
  text-align: center;
  color: inherit;
}
.media-slot-edit {
  position: absolute;
  top: 5px;
  right: 5px;
  border: 1px solid #cfe1fa;
  border-radius: 999px;
  background: #fff;
  color: var(--brand);
  padding: 2px 7px;
  font-size: calc(7px * var(--type-scale));
  font-weight: 800;
  line-height: 1.25;
}
.media-slot.pending { border-color: #bcd4f4; background: #f7fbff; }
.media-slot.done { border-style: solid; border-color: #d5f0e7; background: #f2fdf9; }
.media-slot-icon {
  width: 34px;
  height: 34px;
  flex: 0 0 auto;
  border-radius: 10px;
  display: grid;
  place-items: center;
  background: #eaf3ff;
  color: var(--brand);
}
.media-slot.done .media-slot-icon { background: #e2f8f0; color: #0c9b74; }
.media-slot-icon svg { width: 19px; height: 19px; }
.media-slot-info { min-width: 0; display: flex; flex-direction: column; align-items: center; gap: 2px; }
.media-slot-info b { font-size: calc(9px * var(--type-scale)); line-height: 1.15; font-weight: 850; color: #27374f; }
.media-slot-info small { font-size: calc(7.2px * var(--type-scale)); line-height: 1.3; color: #98a5b8; font-weight: 600; }
.media-slot.done .media-slot-info small { color: #0c9b74; }
.ref-image-link {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  margin-top: 7px;
  padding: 5px 10px;
  border: 1px solid #d9e9ff;
  border-radius: 999px;
  background: #f5f9ff;
  color: var(--brand);
  font-size: calc(8px * var(--type-scale));
  font-weight: 800;
}
.ref-image-link svg { width: 14px; height: 14px; }

/* 素材提交弹层 */
.media-submit-body { padding-top: 12px; }
.media-submit-preview {
  width: 100%;
  aspect-ratio: 16 / 9;
  max-height: 220px;
  margin-bottom: 10px;
  border-radius: 14px;
  background: #f2f7ff;
  display: grid;
  place-items: center;
  overflow: hidden;
  color: #a5b8d2;
}
.media-submit-preview img { width: 100%; height: 100%; object-fit: contain; background: #0b1220; }
.media-submit-preview svg { width: 30px; height: 30px; }
.media-upload-card { width: 100%; }
.video-screen {
  position: absolute;
  inset: 0;
  z-index: 90;
  background: #000;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  pointer-events: auto;
}
.video-screen-player {
  display: block;
  width: 100%;
  height: 100%;
  background: #000;
  object-fit: contain;
}
.video-screen-close {
  position: absolute;
  top: calc(14px + env(safe-area-inset-top));
  right: 14px;
  z-index: 2;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, .4);
  background: rgba(0, 0, 0, .42);
  color: #fff;
  display: grid;
  place-items: center;
  backdrop-filter: blur(8px);
}
.video-screen-close svg { width: 18px; height: 18px; }
.ref-image-screen {
  position: absolute;
  inset: 0;
  z-index: 90;
  background: rgba(8, 20, 40, .9);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 14px;
  padding: 18px;
  overflow: hidden;
  pointer-events: auto;
}
.ref-image-screen-img {
  display: block;
  width: auto;
  height: auto;
  max-width: 100%;
  max-height: calc(100% - 78px);
  object-fit: contain;
  border-radius: 12px;
  background: #fff;
}
.ref-image-screen-close {
  width: min(220px, 80%);
  justify-content: center;
}
.ref-image-screen-video { width: 100%; height: auto; max-height: calc(100% - 78px); object-fit: contain; background: #000; }
.media-thumb.image.empty { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 5px; background: #f2f7ff; color: #9bb8dd; }
.media-thumb.image.empty svg { width: 22px; height: 22px; }
.media-thumb.image.empty small { font-size: calc(8px * var(--type-scale)); color: #9bb8dd; }

/* 数据看板 */
.dash-screen { padding-bottom: 20px; }
.dash-range { display: flex; gap: 4px; background: #edf4ff; border-radius: 9px; padding: 3px; }
.dash-range button {
  border: 0;
  background: transparent;
  color: #7d8ca3;
  font-size: calc(9.5px * var(--type-scale));
  font-weight: 700;
  border-radius: 7px;
  padding: 5px 9px;
}
.dash-range button.is-active { background: #fff; color: var(--brand); box-shadow: 0 2px 6px rgba(30, 74, 150, .08); }
.kpi-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; padding: 10px 14px 0; }
.kpi-card {
  background: #fff;
  border-radius: 15px;
  padding: 12px;
  box-shadow: var(--shadow-soft);
  border: 1px solid rgba(234, 242, 253, .8);
}
.kpi-card span { font-size: calc(9.5px * var(--type-scale)); color: #8b99ad; }
.kpi-card strong { display: block; margin-top: 5px; font-size: calc(24px * var(--type-scale)); line-height: 1; font-weight: 900; letter-spacing: -.05em; }
.kpi-card small { display: block; margin-top: 4px; font-size: calc(8.5px * var(--type-scale)); color: #9aa8bb; }
.kpi-card small b { color: #12a87d; }
.chart-card {
  margin: 10px 14px 0;
  background: #fff;
  border-radius: 16px;
  padding: 13px;
  box-shadow: var(--shadow-soft);
  border: 1px solid rgba(234, 242, 253, .8);
}
.chart-title { display: flex; align-items: center; justify-content: space-between; gap: 8px; margin-bottom: 10px; }
.chart-title h2 { margin: 0; font-size: calc(12.5px * var(--type-scale)); font-weight: 900; }
.chart-title span { font-size: calc(8.5px * var(--type-scale)); color: #9aa8bb; }
.bar-chart { display: flex; align-items: flex-end; gap: 5px; height: 116px; padding: 4px 0 0; }
.bar-col { flex: 1; display: flex; flex-direction: column; align-items: center; gap: 5px; height: 100%; justify-content: flex-end; min-width: 0; }
.bar-col i {
  width: 100%;
  max-width: 20px;
  border-radius: 5px 5px 2px 2px;
  background: linear-gradient(180deg, #9dbdff, #2f6bff);
  display: block;
  min-height: 4px;
  transition: height .4s ease;
}
.bar-col span { font-size: calc(7.2px * var(--type-scale)); color: #9aa8bb; white-space: nowrap; }
.line-chart { width: 100%; height: 120px; }
.line-chart text { font-size: calc(7px * var(--type-scale)); fill: #a1aec0; font-family: var(--font); }
.line-chart .grid { stroke: #edf3fc; stroke-width: 1; }
.line-chart .area { fill: url(#areaGradient); }
.line-chart .line { fill: none; stroke: #2f6bff; stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; }
.line-chart .dot { fill: #fff; stroke: #2f6bff; stroke-width: 2; }
.top-list { display: flex; flex-direction: column; gap: 0; }
.top-item { display: flex; align-items: center; gap: 9px; padding: 9px 0; border-bottom: 1px solid #f1f6fd; }
.top-item:last-child { border-bottom: 0; }
.top-rank {
  width: 20px;
  height: 20px;
  border-radius: 7px;
  background: #f1f5fb;
  color: #8392a8;
  font-size: calc(9px * var(--type-scale));
  font-weight: 900;
  display: grid;
  place-items: center;
  flex: 0 0 auto;
}
.top-item:nth-child(1) .top-rank { background: #fff0e6; color: #f08a2e; }
.top-item:nth-child(2) .top-rank { background: #eef3ff; color: #5b7ff0; }
.top-item:nth-child(3) .top-rank { background: #eafaf4; color: #12a87d; }
.top-info { flex: 1; min-width: 0; }
.top-info h3 { margin: 0; font-size: calc(10px * var(--type-scale)); font-weight: 800; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.top-info p { margin: 3px 0 0; font-size: calc(8.5px * var(--type-scale)); color: #9aa8bb; }
.top-value { text-align: right; flex: 0 0 auto; }
.top-value strong { display: block; font-size: calc(12px * var(--type-scale)); font-weight: 900; color: var(--brand); }
.top-value span { display: block; font-size: calc(8px * var(--type-scale)); color: #a0adbf; }

/* 周选题与日期 */
.week-strip {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 10px 14px 0;
  padding: 9px 10px;
  background: #fff;
  border: 1px solid rgba(234, 242, 253, .9);
  border-radius: 14px;
  box-shadow: var(--shadow-soft);
}
.week-strip-center { flex: 1; min-width: 0; text-align: center; }
.week-strip-center strong { display: block; font-size: calc(11.5px * var(--type-scale)); font-weight: 900; letter-spacing: -.02em; white-space: nowrap; }
.week-strip-center span { display: block; margin-top: 3px; font-size: calc(8.5px * var(--type-scale)); color: #8d9bb0; }
.week-now {
  border: 0;
  background: #eaf3ff;
  color: var(--brand);
  font-size: calc(8px * var(--type-scale));
  font-weight: 800;
  border-radius: 999px;
  padding: 3px 7px;
  margin-top: 4px;
}
.week-nav-btn {
  width: 28px;
  height: 28px;
  flex: 0 0 auto;
  border-radius: 9px;
  border: 1px solid #e4eefb;
  background: #f8fbff;
  color: #60718c;
  display: grid;
  place-items: center;
}
.week-nav-btn svg { width: 14px; height: 14px; }
.day-tabs {
  display: grid;
  grid-template-columns: repeat(7, minmax(0, 1fr));
  gap: 4px;
  margin: 8px 14px 0;
}
.day-tab {
  border: 1px solid #e6effb;
  background: #fff;
  border-radius: 9px;
  padding: 6px 2px 5px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2px;
  min-width: 0;
}
.day-tab b { font-size: calc(9px * var(--type-scale)); font-weight: 800; color: #43536c; }
.day-tab span { font-size: calc(7px * var(--type-scale)); color: #9aa8bb; white-space: nowrap; }
.day-tab i { font-style: normal; font-size: calc(7.5px * var(--type-scale)); color: var(--brand); font-weight: 800; }
.day-tab.is-today { border-color: #b9d3ff; background: #f2f7ff; }
.day-tab.is-today b { color: var(--brand); }
.day-section { margin: 0 0 12px; }
.day-head {
  display: flex;
  align-items: center;
  gap: 7px;
  padding: 4px 2px 7px;
}
.day-name {
  font-size: calc(12px * var(--type-scale));
  font-weight: 900;
  color: var(--ink);
}
.day-date { font-size: calc(9px * var(--type-scale)); color: #98a5b8; }
.day-count {
  font-size: calc(8px * var(--type-scale));
  color: var(--brand);
  background: #eaf3ff;
  border-radius: 999px;
  padding: 3px 6px;
  font-weight: 800;
}
.day-add {
  margin-left: auto;
  border: 0;
  background: transparent;
  color: var(--brand);
  font-size: calc(9px * var(--type-scale));
  font-weight: 800;
  padding: 2px 0;
}
.day-list { display: flex; flex-direction: column; gap: 8px; }
.day-empty {
  border: 1px dashed #dce8f8;
  background: rgba(255, 255, 255, .55);
  border-radius: 11px;
  padding: 12px;
  text-align: center;
  font-size: calc(9px * var(--type-scale));
  color: #a0adbf;
}
.week-tag {
  font-size: calc(9px * var(--type-scale));
  color: var(--brand);
  background: #eaf3ff;
  border-radius: 999px;
  padding: 4px 8px;
  font-weight: 800;
}
.week-picker {
  display: flex;
  align-items: center;
  gap: 7px;
}
.week-date {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 3px;
  background: #f8fbff;
  border: 1px solid #e6effb;
  border-radius: 11px;
  padding: 7px 8px;
}
.week-date input {
  border: 0;
  outline: 0;
  background: transparent;
  font-size: calc(12px * var(--type-scale));
  font-weight: 800;
  color: var(--ink);
  text-align: center;
  width: 100%;
}
.week-date span { font-size: calc(8.5px * var(--type-scale)); color: #8e9bb0; }
.week-summary {
  margin: 7px 0 0;
  text-align: center;
  font-size: calc(9px * var(--type-scale));
  color: #98a5b8;
}
.day-select {
  display: grid;
  grid-template-columns: repeat(7, minmax(0, 1fr));
  gap: 4px;
}
.day-option {
  border: 1px solid #e4eefb;
  background: #f8fbff;
  border-radius: 9px;
  padding: 7px 1px 6px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2px;
  color: #66758c;
}
.day-option b { font-size: calc(8.5px * var(--type-scale)); font-weight: 800; }
.day-option span { font-size: calc(7px * var(--type-scale)); color: #9aa8bb; white-space: nowrap; }
.day-option.is-selected {
  border-color: #9dc0ff;
  background: #eaf3ff;
  color: var(--brand);
  box-shadow: 0 0 0 2px rgba(47, 107, 255, .06);
}
.day-option.is-selected span { color: #5f87d9; }

/* 地图 */
.map-card { padding: 7px 8px 8px; }
.map-plain { background: transparent; margin: 0 2px; }
.map-wrap { position: relative; }
.nanchong-map { width: 100%; height: auto; display: block; overflow: visible; outline: none; user-select: none; -webkit-user-select: none; }
.map-district { cursor: pointer; -webkit-tap-highlight-color: transparent; }
.map-district,
.map-district:focus,
.map-district:focus-visible,
.map-district:active,
.map-district path { outline: none; }
.map-district:focus-visible path { filter: brightness(1.08); }
.map-district path { transition: filter .2s ease, opacity .2s ease; }
.map-district:hover path { filter: brightness(1.06); }
.map-label {
  font-size: calc(7.2px * var(--type-scale));
  font-weight: 900;
  fill: #16345f;
  paint-order: stroke;
  stroke: rgba(255, 255, 255, .9);
  stroke-width: 1.8px;
  pointer-events: none;
}
.map-count {
  font-size: calc(6.8px * var(--type-scale));
  font-weight: 900;
  fill: #1d59d8;
  paint-order: stroke;
  stroke: rgba(255, 255, 255, .9);
  stroke-width: 1.8px;
  pointer-events: none;
}
.map-label, .map-count { stroke-linejoin: round; }
@media (max-width: 480px) {
  .map-label { font-size: 11.5px; }
  .map-count { font-size: 10.5px; transform: translateY(4px); }
}
.map-legend {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  padding: 4px 6px 2px;
  font-size: calc(8px * var(--type-scale));
  color: #96a3b6;
}
.map-legend b { color: var(--brand); font-size: calc(9px * var(--type-scale)); }
.map-note { margin: 0 6px 2px; text-align: right; font-size: calc(7.5px * var(--type-scale)); color: #a3afc0; }

/* 周排期 / 区县明细 */
.week-schedule {
  display: grid;
  grid-template-columns: repeat(7, minmax(0, 1fr));
  gap: 3px;
  align-items: end;
  height: 118px;
  padding-top: 4px;
}
.week-schedule-col {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-end;
  gap: 3px;
  height: 100%;
  min-width: 0;
}
.week-schedule-col strong { font-size: calc(9px * var(--type-scale)); color: var(--brand); font-weight: 900; }
.week-schedule-col i {
  width: 100%;
  max-width: 22px;
  display: block;
  border-radius: 5px 5px 2px 2px;
  background: linear-gradient(180deg, #9dbdff, #2f6bff);
}
.week-schedule-col span { font-size: calc(8px * var(--type-scale)); color: #66758c; font-weight: 700; }
.week-schedule-col small { font-size: calc(6.5px * var(--type-scale)); color: #a3afc0; white-space: nowrap; }
.district-rows { display: flex; flex-direction: column; gap: 7px; }
.district-row { display: flex; align-items: center; gap: 8px; }
.district-row-name { width: 58px; flex: 0 0 auto; font-size: calc(9px * var(--type-scale)); color: #56657f; white-space: nowrap; }
.district-row-bar {
  flex: 1;
  height: 6px;
  border-radius: 999px;
  background: #edf3fc;
  overflow: hidden;
}
.district-row-bar i {
  display: block;
  height: 100%;
  border-radius: 999px;
  background: linear-gradient(90deg, #7fa8ff, #2f6bff);
}
.district-row strong { width: 20px; text-align: right; font-size: calc(10px * var(--type-scale)); color: var(--brand); }

/* 拖动排序 */
.manage-week-list { padding: 8px 16px 20px; }
.manage-card {
  position: relative;
  cursor: grab;
}
.manage-card:active { cursor: grabbing; }
.manage-card.is-library, .manage-card.is-library:active { cursor: default; }
.manage-card.dragging { opacity: .45; }
.manage-card.drag-over { outline: 2px dashed #7fa8ff; outline-offset: 2px; }
.drag-handle {
  width: 13px;
  flex: 0 0 auto;
  color: #b3c0d2;
  font-size: calc(14px * var(--type-scale));
  line-height: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  letter-spacing: -2px;
  cursor: grab;
}
.drag-hint { margin-left: auto; font-size: calc(7.5px * var(--type-scale)); color: #b0bccd; }
.manage-card .manage-actions { gap: 4px; flex-wrap: nowrap; align-items: center; }
.manage-card .manage-actions .mini-btn.danger,
.manage-card .manage-actions .mini-btn.push-right { margin-left: auto; }
.manage-card .mini-btn { padding: 4px 6px; font-size: calc(8.5px * var(--type-scale)); }
.form-screen { padding-bottom: 12px; }

/* 周列表与周排期 */
.week-list { display: flex; flex-direction: column; gap: 10px; padding: 12px 14px 20px; }
.week-card {
  width: 100%;
  text-align: left;
  background: #fff;
  border: 1px solid rgba(234, 242, 253, .9);
  border-radius: 17px;
  padding: 13px;
  box-shadow: var(--shadow-soft);
  position: relative;
  cursor: pointer;
  transition: border-color .18s ease, box-shadow .18s ease;
}
.week-card:hover { border-color: #cfe1ff; box-shadow: 0 8px 22px rgba(30, 74, 150, .09); }
.week-card.is-current { border-color: #b9d3ff; background: linear-gradient(180deg, #f8fbff, #fff); }
.week-card-top { display: flex; align-items: flex-start; justify-content: space-between; gap: 10px; }
.week-card-range strong { display: block; font-size: calc(14px * var(--type-scale)); font-weight: 900; letter-spacing: -.02em; }
.week-card-range span { display: block; margin-top: 3px; font-size: calc(9px * var(--type-scale)); color: #8d9bb0; }
.week-card-count { font-size: calc(8.5px * var(--type-scale)); color: #8d9bb0; white-space: nowrap; }
.week-card-count b { font-size: calc(16px * var(--type-scale)); color: var(--brand); margin-right: 2px; }
.week-card-days {
  display: grid;
  grid-template-columns: repeat(7, minmax(0, 1fr));
  gap: 4px;
  margin-top: 11px;
}
.week-day {
  border-radius: 8px;
  background: #f5f9ff;
  border: 1px solid #edf4fd;
  padding: 5px 1px 4px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1px;
}
.week-day b { font-size: calc(7.5px * var(--type-scale)); color: #8d9bb0; font-weight: 700; }
.week-day i { font-style: normal; font-size: calc(9px * var(--type-scale)); color: #aab5c5; font-weight: 900; }
.week-day.has { background: #eaf3ff; border-color: #d5e6ff; }
.week-day.has b { color: var(--brand); }
.week-day.has i { color: var(--brand); }
.week-day.is-today { outline: 1.5px solid #7fa8ff; outline-offset: 1px; }
.week-card-foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  margin-top: 10px;
  padding-top: 8px;
  border-top: 1px solid #f1f6fd;
  font-size: calc(8.5px * var(--type-scale));
  color: #96a3b6;
}
.week-card-enter { display: inline-flex; align-items: center; gap: 2px; color: var(--brand); font-weight: 800; }
.week-card-enter svg { width: 12px; height: 12px; }
.week-card-specials {
  display: flex;
  flex-wrap: wrap;
  gap: 5px;
  margin-top: 7px;
  padding-top: 7px;
  border-top: 1px dashed #edf3fc;
}
.week-card-specials span {
  font-size: calc(7.5px * var(--type-scale));
  color: #d94b4b;
  background: #fff3f3;
  border: 1px solid #ffe2e2;
  border-radius: 5px;
  padding: 2px 5px;
  font-weight: 700;
}

.week-switcher {
  display: flex;
  align-items: center;
  gap: 9px;
  margin: 10px 14px 0;
  padding: 9px 10px;
  background: #fff;
  border: 1px solid rgba(234, 242, 253, .9);
  border-radius: 14px;
  box-shadow: var(--shadow-soft);
}
.week-switcher-center { flex: 1; text-align: center; }
.week-switcher-center strong { display: block; font-size: calc(12.5px * var(--type-scale)); font-weight: 900; }
.week-switcher-center span { display: block; margin-top: 3px; font-size: calc(8.5px * var(--type-scale)); color: #8d9bb0; }
.week-quick-switch { display: flex; justify-content: center; gap: 3px; margin-top: 5px; }
.week-quick-switch button {
  border: 1px solid #e1ecfa;
  background: #f8fbff;
  color: #7d8ca3;
  border-radius: 999px;
  padding: 3px 8px;
  font-size: calc(8px * var(--type-scale));
  font-weight: 700;
}
.week-quick-switch button.is-active { background: var(--brand); border-color: var(--brand); color: #fff; }
.week-detail-days { display: flex; flex-direction: column; gap: 9px; padding: 10px 14px 20px; }
.day-plan-card {
  background: #fff;
  border: 1px solid rgba(234, 242, 253, .9);
  border-radius: 16px;
  padding: 9px;
  box-shadow: var(--shadow-soft);
  transition: border-color .18s ease, background .18s ease;
}
.day-plan-card.drag-over { border-color: #7fa8ff; background: #f6faff; }
.day-plan-head {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  padding: 1px 1px 8px;
}
.day-plan-title {
  flex: 0 1 auto;
  min-width: 0;
  border: 0;
  background: transparent;
  padding: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  text-align: center;
}
.day-plan-district {
  padding: 2px 7px;
  border-radius: 999px;
  background: #eaf3ff;
  color: var(--brand);
  font-size: calc(8.5px * var(--type-scale));
  font-weight: 800;
  line-height: 1.3;
  white-space: nowrap;
}
.day-plan-head .day-add {
  position: absolute;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
  margin-left: 0;
}
.day-plan-name { font-size: calc(13px * var(--type-scale)); font-weight: 900; color: var(--ink); }
.day-plan-date { font-size: calc(9px * var(--type-scale)); color: #96a3b6; }
.day-plan-body { display: flex; flex-direction: column; gap: 7px; }
.day-plan-empty {
  width: 100%;
  border: 1px dashed #d8e5f7;
  background: #f9fcff;
  border-radius: 11px;
  padding: 12px;
  font-size: calc(9.5px * var(--type-scale));
  line-height: 1.5;
  color: #8d9bb0;
  text-align: center;
}
.day-plan-empty:hover { border-color: #b9d3ff; color: var(--brand); background: #f3f8ff; }
.day-plan-card .manage-card { box-shadow: none; border-color: #edf4fd; background: #fbfdff; }
.day-plan-card .manage-card .drag-hint { display: none; }

/* 选题库 */
.library-summary {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
  margin: 10px 14px 0;
}
.library-summary div {
  background: #fff;
  border: 1px solid #eaf2fd;
  border-radius: 13px;
  padding: 10px;
  text-align: center;
  box-shadow: var(--shadow-soft);
}
.library-summary strong { display: block; font-size: calc(20px * var(--type-scale)); font-weight: 900; color: var(--ink); }
.library-summary span { display: block; margin-top: 2px; font-size: calc(8.5px * var(--type-scale)); color: #98a5b8; }
.library-list { display: flex; flex-direction: column; gap: 9px; padding: 10px 14px 20px; }
.library-create-row { display: flex; justify-content: center; margin: 12px 14px 0; }
.library-create-btn {
  min-width: 210px;
  justify-content: center;
  padding: 14px 24px;
  font-size: calc(10.5px * var(--type-scale));
}
.library-card {
  display: flex;
  gap: 10px;
  background: #fff;
  border: 1px solid rgba(234, 242, 253, .9);
  border-radius: 16px;
  padding: 9px;
  box-shadow: var(--shadow-soft);
}
.library-cover {
  width: 92px;
  height: 92px;
  flex: 0 0 auto;
  border-radius: 12px;
  background: #dce9f9 center / cover no-repeat;
}
.library-cover.empty {
  display: grid;
  place-items: center;
  background: linear-gradient(145deg, #edf5ff, #dfeeff);
  color: #9bb8dd;
}
.library-cover.empty svg { width: 26px; height: 26px; }
.library-info { flex: 1; min-width: 0; display: flex; flex-direction: column; }
.library-title-row { display: flex; align-items: flex-start; gap: 6px; }
.library-title-row h3 { margin: 0; flex: 1; font-size: calc(12.5px * var(--type-scale)); line-height: 1.4; font-weight: 850; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.library-meta { margin-top: 4px; font-size: calc(8.5px * var(--type-scale)); color: #98a5b8; }
.library-media { display: flex; gap: 8px; margin-top: 5px; font-size: calc(8px * var(--type-scale)); }
.library-media span { display: inline-flex; align-items: center; gap: 2px; }
.library-media svg { width: 10px; height: 10px; }
.library-media .ok { color: #5b8cff; }
.library-media .miss { color: #d94b4b; }
.library-actions { display: flex; gap: 5px; flex-wrap: wrap; margin-top: auto; padding-top: 6px; }
.status-badge.library { color: #d94b4b; background: #fff0f0; }
.library-strip {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 2px 14px 20px;
  padding: 13px;
  background: linear-gradient(135deg, #f2f8ff, #eaf3ff);
  border: 1px solid #dcebff;
  border-radius: 16px;
}
.library-strip-info { flex: 1; min-width: 0; }
.library-strip-info h3 { margin: 0; font-size: calc(13px * var(--type-scale)); font-weight: 900; }
.library-strip-info p { margin: 4px 0 0; font-size: calc(8.5px * var(--type-scale)); line-height: 1.5; color: #6d80a0; }
.day-plan-actions { display: flex; gap: 7px; }
.day-plan-actions .day-plan-empty { flex: 1; }
.day-plan-new {
  flex: 0 0 32%;
  border: 1px solid #d9e7fa;
  background: #fff;
  border-radius: 11px;
  font-size: calc(9.5px * var(--type-scale));
  color: #64738d;
  font-weight: 700;
}

/* 发布选题 */
.publish-week-switcher {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 10px 14px 0;
  padding: 9px 10px;
  background: #fff;
  border: 1px solid rgba(234, 242, 253, .9);
  border-radius: 14px;
  box-shadow: var(--shadow-soft);
}
.publish-days {
  display: grid;
  grid-template-columns: repeat(7, minmax(0, 1fr));
  gap: 4px;
  margin: 9px 14px 0;
}
.publish-day {
  border: 1px solid #e6effb;
  background: #fff;
  border-radius: 9px;
  min-height: 66px;
  padding: 5px 2px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2px;
  cursor: pointer;
  transition: .18s ease;
}
.publish-day b { font-size: calc(8.5px * var(--type-scale)); color: #56657f; }
.publish-day span { font-size: calc(7px * var(--type-scale)); color: #98a5b8; white-space: nowrap; }
.publish-day i { font-style: normal; font-size: calc(7px * var(--type-scale)); color: #a6b2c3; margin-top: 2px; }
.publish-day em { font-style: normal; font-size: calc(6px * var(--type-scale)); color: #d94b4b; font-weight: 800; }
.publish-day.is-selected { border-color: #7fa8ff; background: #eaf3ff; box-shadow: 0 0 0 2px rgba(47,107,255,.08); }
.publish-day.is-selected b, .publish-day.is-selected i { color: var(--brand); }
.publish-day.is-occupied { background: #f7f8fa; border-color: #eef1f5; cursor: not-allowed; }
.publish-day.is-occupied i { color: #b0b8c4; }
.publish-section-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  margin: 16px 14px 7px;
}
.publish-section-head h2 { margin: 0; font-size: calc(14px * var(--type-scale)); font-weight: 900; display: flex; align-items: center; gap: 6px; }
.publish-section-head h2::before { content: ""; width: 4px; height: 14px; border-radius: 2px; background: var(--brand); }
.publish-section-head span { font-size: calc(8.5px * var(--type-scale)); color: #98a5b8; }
.publish-library-list { display: flex; flex-direction: column; gap: 7px; padding: 0 14px 20px; }
.publish-lib {
  display: flex;
  align-items: center;
  gap: 9px;
  width: 100%;
  text-align: left;
  background: #fff;
  border: 1px solid #eaf2fd;
  border-radius: 13px;
  padding: 8px;
  box-shadow: 0 3px 10px rgba(30, 74, 150, .04);
}
.publish-lib.is-selected { border-color: #7fa8ff; background: #f5f9ff; }
.publish-lib-thumb {
  width: 46px;
  height: 46px;
  flex: 0 0 auto;
  border-radius: 9px;
  background: #dce9f9 center / cover no-repeat;
}
.publish-lib-thumb.empty { display: grid; place-items: center; background: #edf5ff; color: #9bb8dd; }
.publish-lib-thumb.empty svg { width: 18px; height: 18px; }
.publish-lib-info { flex: 1; min-width: 0; }
.publish-lib-info strong { display: block; font-size: calc(10.5px * var(--type-scale)); line-height: 1.4; font-weight: 800; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.publish-lib-info small { display: block; margin-top: 3px; font-size: calc(8px * var(--type-scale)); color: #98a5b8; }
.publish-lib-check { width: 20px; height: 20px; flex: 0 0 auto; border-radius: 50%; background: #eaf3ff; color: var(--brand); display: grid; place-items: center; }
.publish-lib-check svg { width: 12px; height: 12px; }
.publish-summary {
  position: sticky;
  bottom: 0;
  z-index: 15;
  padding: 10px 14px calc(10px + env(safe-area-inset-bottom));
  background: rgba(255, 255, 255, .97);
  backdrop-filter: blur(16px);
  border-top: 1px solid #e9f1fc;
}
.publish-summary-info { margin-bottom: 8px; }
.publish-summary-info span { display: block; font-size: calc(8.5px * var(--type-scale)); color: #8d9bb0; }
.publish-summary-info strong { display: block; margin-top: 2px; font-size: calc(12px * var(--type-scale)); font-weight: 850; }
.publish-summary-info em { display: block; margin-top: 4px; font-style: normal; font-size: calc(8px * var(--type-scale)); color: #d94b4b; }
.publish-summary .primary-btn { width: 100%; }

/* 直接排期 / 待选稿导入弹层 */
.form-target {
  display: flex;
  align-items: center;
  gap: 6px;
  margin: 0 14px 2px;
  padding: 10px 12px;
  border-radius: 12px;
  background: #eaf3ff;
  border: 1px solid #d9e9ff;
  font-size: calc(10px * var(--type-scale));
  color: #5d7090;
}
.form-target svg { width: 14px; height: 14px; color: var(--brand); }
.form-target b { color: var(--brand-deep); }
.library-pick-item {
  display: flex;
  align-items: center;
  gap: 9px;
  width: 100%;
  text-align: left;
  background: #fff;
  border: 1px solid #eaf2fd;
  border-radius: 12px;
  padding: 8px;
}
.library-pick-thumb {
  width: 44px;
  height: 44px;
  flex: 0 0 auto;
  border-radius: 9px;
  background: #dce9f9 center / cover no-repeat;
}
.library-pick-thumb.empty { display: grid; place-items: center; background: #edf5ff; color: #9bb8dd; }
.library-pick-thumb.empty svg { width: 18px; height: 18px; }
.library-pick-info { flex: 1; min-width: 0; }
.library-pick-info strong { display: block; font-size: calc(10.5px * var(--type-scale)); font-weight: 800; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.library-pick-info small { display: block; margin-top: 3px; font-size: calc(8px * var(--type-scale)); color: #98a5b8; }
.library-pick-status { font-size: calc(8px * var(--type-scale)); font-weight: 800; border-radius: 5px; padding: 3px 5px; flex: 0 0 auto; }
.library-pick-status.ready { color: #0c9b74; background: #e8faf4; }
.library-pick-status.miss { color: #c27a12; background: #fff5e7; }

/* 素材后补 / 待定区 */
.status-badge.pending { color: #9a7416; background: #fff6df; }
.media-line {
  display: flex;
  align-items: center;
  gap: 3px;
  margin-top: 3px;
  font-size: calc(8px * var(--type-scale));
  color: #98a5b8;
}
.media-line svg { width: 10px; height: 10px; color: #6d8fc9; }
.media-line span { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; max-width: 92px; }
.media-dot { width: 3px; height: 3px; border-radius: 50%; background: #d3dde9; flex: 0 0 auto; margin: 0 1px; }
.manage-card.is-pending { background: #fffdf7; border-color: #f0e7d2; }
.pending-zone {
  margin: 12px 14px 20px;
  padding: 12px;
  border: 1.5px dashed #d6e4f7;
  border-radius: 16px;
  background: #fbfdff;
  transition: border-color .18s ease, background .18s ease;
}
.pending-zone.drag-over { border-color: #7fa8ff; background: #f4f9ff; }
.pending-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 9px;
}
.pending-head h3 { margin: 0; font-size: calc(13px * var(--type-scale)); font-weight: 900; }
.pending-head p { margin: 3px 0 0; font-size: calc(8.5px * var(--type-scale)); color: #98a5b8; }
.pending-head span { font-size: calc(8px * var(--type-scale)); color: var(--brand); background: #eaf3ff; border-radius: 999px; padding: 3px 7px; font-weight: 800; }
.pending-list { display: flex; flex-direction: column; gap: 7px; }
.pending-empty {
  border: 1px dashed #e0eaf7;
  background: #fff;
  border-radius: 11px;
  padding: 14px;
  text-align: center;
  font-size: calc(9px * var(--type-scale));
  color: #a3afc0;
}
.special-badge {
  font-style: normal;
  font-size: calc(7px * var(--type-scale));
  line-height: 1;
  color: #d94b4b;
  background: #fff0f0;
  border: 1px solid #ffe0e0;
  border-radius: 4px;
  padding: 3px 4px;
  font-weight: 800;
  white-space: nowrap;
  flex: 0 0 auto;
}
.day-tab em {
  font-style: normal;
  font-size: calc(6px * var(--type-scale));
  line-height: 1;
  color: #d94b4b;
  font-weight: 800;
  white-space: nowrap;
}
.day-option em {
  font-style: normal;
  font-size: calc(6px * var(--type-scale));
  line-height: 1;
  color: #d94b4b;
  font-weight: 800;
  white-space: nowrap;
  margin-top: 1px;
}
.week-schedule-col em {
  font-style: normal;
  font-size: calc(6px * var(--type-scale));
  color: #d94b4b;
  font-weight: 800;
  white-space: nowrap;
}
.week-day.has-special { position: relative; }
.week-day.has-special::after {
  content: "";
  position: absolute;
  top: 3px;
  right: 3px;
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: #e35b5b;
}
