/* ================= admin.css =================
 * 后台管理端独有样式（浅色主题）
 * 公共 reset / 字体 / 红色变量已在 global.css 定义
 * =============================================== */

:root {
  --side-bg: #17171D;
  --side-card: #1F1F28;
  --side-line: rgba(255,255,255,.06);
  --side-text: #9DA1AC;
  --side-text-on: #F5F5F7;
  --page-bg: #F2F3F6;
  --card: #FFFFFF;
  --card-line: #E8EAF0;
  --text: #23242B;
  --text-2: #6B7080;
  --text-3: #A0A4B0;
  --amber: #E8A33D;
  --green: #2E9E5B;
  --r: 14px;
  --shadow: 0 1px 2px rgba(20,20,30,.05), 0 6px 20px rgba(20,20,30,.06);
  --shadow-lg: 0 18px 48px rgba(20,20,30,.18);
}

body {
  background: var(--page-bg); color: var(--text); font-size: 13.5px;
  display: flex; min-height: 100vh;
}

/* ============ 侧边栏 ============ */
.sidebar {
  width: 216px; flex: none; background: var(--side-bg); color: var(--side-text);
  display: flex; flex-direction: column; position: sticky; top: 0; height: 100vh;
  border-right: 1px solid rgba(255,255,255,.05);
}
.side-logo { display: flex; align-items: center; gap: 10px; padding: 20px 18px 16px; border-bottom: 1px solid var(--side-line); }
.logo-ic { width: 34px; height: 34px; border-radius: 10px; background: var(--red-grad); display: flex; align-items: center; justify-content: center; color: #fff; box-shadow: 0 4px 12px rgba(217,44,36,.45); flex: none; }
.logo-ic svg { width: 18px; height: 18px; }
.logo-tx { line-height: 1.25; }
.logo-tx b { display: block; font-size: 14px; color: var(--side-text-on); letter-spacing: .3px; }
.logo-tx span { font-size: 10px; color: var(--text-3); letter-spacing: .5px; }
.side-menu { flex: 1; padding: 14px 10px; overflow-y: auto; }
.menu-group { font-size: 10.5px; color: var(--text-3); letter-spacing: .8px; padding: 12px 10px 6px; user-select: none; }
.menu-item {
  display: flex; align-items: center; gap: 10px; padding: 10px 12px; border-radius: 10px;
  cursor: pointer; font-size: 13px; color: var(--side-text); margin-bottom: 3px;
  transition: all .15s ease; user-select: none; position: relative;
}
.menu-item:hover { background: rgba(255,255,255,.05); color: var(--side-text-on); }
.menu-item.on { background: var(--red-grad); color: #fff; box-shadow: 0 6px 14px rgba(217,44,36,.35); }
.menu-item svg { width: 16px; height: 16px; flex: none; opacity: .85; }
.menu-item .badge { margin-left: auto; font-size: 10.5px; background: var(--red); color: #fff; border-radius: 99px; padding: 1px 7px; font-weight: 600; }
.menu-item:not(.on) .badge { background: rgba(255,91,83,.22); color: var(--red-bright); }
.menu-item .badge.amber { background: var(--amber); }
.menu-item:not(.on) .badge.amber { background: rgba(232,163,61,.18); color: var(--amber); }
.side-foot { border-top: 1px solid var(--side-line); padding: 14px 16px; display: flex; align-items: center; gap: 10px; }
.side-ava { width: 30px; height: 30px; border-radius: 50%; background: var(--red-grad); color: #fff; display: flex; align-items: center; justify-content: center; font-size: 12px; font-weight: 700; flex: none; }
.side-ava-tx { line-height: 1.3; min-width: 0; }
.side-ava-tx b { font-size: 12px; color: var(--side-text-on); display: block; }
.side-ava-tx span { font-size: 10px; color: var(--text-3); }

/* ============ 主区域 ============ */
.main { flex: 1; min-width: 0; display: flex; flex-direction: column; }
.topbar { height: 58px; flex: none; background: rgba(255,255,255,.86); backdrop-filter: blur(10px); border-bottom: 1px solid var(--card-line); display: flex; align-items: center; gap: 14px; padding: 0 24px; position: sticky; top: 0; z-index: 40; }
.crumb { font-size: 13px; color: var(--text-2); display: flex; align-items: center; gap: 6px; }
.crumb b { color: var(--text); font-weight: 600; }
.crumb .sep { color: var(--text-3); }
.topbar .spacer { flex: 1; }
.tb-search { display: flex; align-items: center; gap: 7px; background: #F0F1F5; border: 1px solid transparent; border-radius: 9px; padding: 7px 12px; width: 230px; color: var(--text-3); font-size: 12.5px; }
.tb-search svg { width: 14px; height: 14px; flex: none; }
.tb-search input { border: none; outline: none; background: none; flex: 1; font-size: 12.5px; color: var(--text); }
.tb-search input::placeholder { color: var(--text-3); }
.tb-bell { width: 34px; height: 34px; border-radius: 9px; border: 1px solid var(--card-line); background: #fff; display: flex; align-items: center; justify-content: center; cursor: pointer; position: relative; color: var(--text-2); }
.tb-bell svg { width: 16px; height: 16px; }
.tb-bell .dot { position: absolute; top: 7px; right: 8px; width: 7px; height: 7px; border-radius: 50%; background: var(--red); }
.tb-admin { display: flex; align-items: center; gap: 8px; cursor: pointer; }
.tb-admin .ava { width: 30px; height: 30px; border-radius: 50%; background: var(--red-grad); color: #fff; display: flex; align-items: center; justify-content: center; font-size: 12px; font-weight: 700; }
.tb-admin .nm { font-size: 12.5px; font-weight: 600; }
.tb-admin .rl { font-size: 10.5px; color: var(--text-3); }
.content { flex: 1; padding: 20px 24px 40px; overflow-y: auto; }
.page { display: none; }
.page.on { display: block; animation: fadeIn .22s ease; }

/* 页面标题 */
.page-head { display: flex; align-items: flex-end; justify-content: space-between; margin-bottom: 16px; }
.page-head h2 { font-size: 17px; font-weight: 700; letter-spacing: .3px; }
.page-head p { font-size: 12px; color: var(--text-2); margin-top: 5px; }

/* 统计卡 */
.stats { display: grid; grid-template-columns: repeat(4,1fr); gap: 14px; margin-bottom: 16px; }
.stat { background: var(--card); border: 1px solid var(--card-line); border-radius: var(--r); padding: 16px 18px; box-shadow: var(--shadow); position: relative; overflow: hidden; }
.stat::after { content: ""; position: absolute; right: -22px; top: -22px; width: 76px; height: 76px; border-radius: 50%; background: radial-gradient(circle, rgba(232,67,60,.12), transparent 70%); }
.stat .lab { font-size: 12px; color: var(--text-2); display: flex; align-items: center; gap: 7px; }
.stat .lab .ic { width: 24px; height: 24px; border-radius: 7px; background: var(--red-soft); color: var(--red); display: flex; align-items: center; justify-content: center; flex: none; }
.stat .lab .ic svg { width: 13px; height: 13px; }
.stat .num { font-size: 26px; font-weight: 800; margin-top: 9px; letter-spacing: -.5px; color: var(--text); }
.stat .num em { font-style: normal; color: var(--red); }
.stat .num small { font-size: 11px; font-weight: 500; color: var(--text-3); margin-left: 4px; }
.stat .sub { font-size: 11px; color: var(--text-3); margin-top: 5px; }
.stat .sub b { color: var(--red-bright); font-weight: 700; }

/* 卡片 */
.card { background: var(--card); border: 1px solid var(--card-line); border-radius: var(--r); box-shadow: var(--shadow); }
.card-head { display: flex; align-items: center; gap: 10px; padding: 14px 18px; border-bottom: 1px solid var(--card-line); }
.card-head h3 { font-size: 14px; font-weight: 700; display: flex; align-items: center; gap: 7px; }
.card-head h3::before { content: ""; width: 3.5px; height: 14px; border-radius: 2px; background: var(--red-grad); }
.card-head .sub { font-size: 11.5px; color: var(--text-3); }
.card-head .spacer { flex: 1; }

/* 工具栏 */
.toolbar { display: flex; align-items: center; gap: 10px; padding: 14px 18px; border-bottom: 1px solid var(--card-line); flex-wrap: wrap; }
.field { display: flex; align-items: center; gap: 7px; background: #F0F1F5; border: 1px solid var(--card-line); border-radius: 9px; padding: 7px 11px; font-size: 12.5px; color: var(--text-3); cursor: pointer; user-select: none; min-width: 0; }
.field svg { width: 13px; height: 13px; flex: none; }
.field select { border: none; outline: none; background: none; font-size: 12.5px; color: var(--text); cursor: pointer; }
.field input { border: none; outline: none; background: none; font-size: 12.5px; color: var(--text); width: 100%; }
.field input::placeholder { color: var(--text-3); }
.btn-primary svg, .btn-ghost svg { width: 13px; height: 13px; }
.btn-ghost:hover { color: var(--red); border-color: var(--red-line); background: var(--red-soft); }
.btn-danger:hover { background: var(--red); color: #fff; }
.btn-danger:disabled { opacity: .4; cursor: not-allowed; }
.btn-danger:disabled:hover { background: var(--red-soft); color: var(--red); }
.t-chk { width: 15px; height: 15px; accent-color: var(--red); cursor: pointer; vertical-align: middle; }

/* 表格 */
.tbl-wrap { overflow-x: auto; }
table { width: 100%; border-collapse: collapse; font-size: 12.8px; }
thead th { text-align: left; font-size: 11.5px; font-weight: 600; color: var(--text-3); padding: 10px 16px; border-bottom: 1px solid var(--card-line); background: #FAFAFC; white-space: nowrap; }
tbody td { padding: 12px 16px; border-bottom: 1px solid #F1F2F6; vertical-align: middle; white-space: nowrap; }
tbody tr:hover { background: #FBFBFF; }
tbody tr:last-child td { border-bottom: none; }
/* 多标签单元格允许换行，避免机构表格横向滚动 */
td.td-tags { white-space: normal; line-height: 1.7; }
td.td-tags .tag { margin-bottom: 4px; }
.cell-main { font-weight: 600; color: var(--text); }
.cell-sub { font-size: 11px; color: var(--text-3); margin-top: 2px; }
.tag { display: inline-flex; align-items: center; gap: 5px; font-size: 11px; font-weight: 600; border-radius: 6px; padding: 3px 9px; user-select: none; }
.tag::before { content: ""; width: 5px; height: 5px; border-radius: 50%; background: currentColor; }
.tag-red { background: var(--red-soft); color: var(--red); border: 1px solid var(--red-line); }
.tag-amber { background: rgba(232,163,61,.12); color: var(--amber); border: 1px solid rgba(232,163,61,.30); }
.tag-green { background: rgba(46,158,91,.10); color: var(--green); border: 1px solid rgba(46,158,91,.28); }
.tag-gray { background: #F0F1F5; color: var(--text-3); border: 1px solid #E4E6EC; }
.tag-gray::before { background: var(--text-3); }
.tag-mini { font-size: 10.5px; padding: 2px 6px; border-radius: 5px; margin-right: 4px; }
.tag-mini::before { width: 4px; height: 4px; }

/* 机构完成度 */
.comp-wrap { background: var(--card); border: 1px solid var(--card-line); border-radius: var(--r); box-shadow: var(--shadow); padding: 16px 18px 18px; margin-bottom: 16px; }
.comp-head { display: flex; align-items: center; gap: 8px; margin-bottom: 12px; }
.comp-head b { font-size: 13.5px; color: var(--text); position: relative; padding-left: 11px; }
.comp-head b::before { content: ""; position: absolute; left: 0; top: 50%; transform: translateY(-50%); width: 3.5px; height: 14px; border-radius: 2px; background: var(--red-grad); }
.comp-head span { font-size: 11px; color: var(--text-3); }
.comp-row { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px,1fr)); gap: 12px; }
.comp-card { border: 1px solid var(--card-line); border-radius: 12px; padding: 13px 15px; background: #FAFAFC; }
.comp-card .cc-name { display: flex; align-items: center; gap: 8px; margin-bottom: 10px; }
.comp-card .cc-name b { font-size: 13px; color: var(--red); background: var(--red-soft); border: 1px solid var(--red-line); border-radius: 7px; padding: 2px 8px; font-weight: 700; }
.comp-card .cc-name span { font-size: 12px; color: var(--text-2); font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.comp-card .cc-name em { font-style: normal; margin-left: auto; font-size: 11px; color: var(--text-3); flex: none; }
.cc-line { display: flex; align-items: center; justify-content: space-between; font-size: 11.5px; color: var(--text-2); margin: 6px 0 4px; }
.cc-line b { font-weight: 700; color: var(--text); }
.cc-line b.red { color: var(--red); }
.cc-bar { height: 7px; border-radius: 99px; background: #ECEEF2; overflow: hidden; }
.cc-bar i { display: block; height: 100%; border-radius: 99px; background: var(--red-grad); transition: width .3s ease; }
.cc-bar.green i { background: linear-gradient(135deg, #46B978 0%, #2E9E5B 100%); }
.cc-foot { display: flex; justify-content: space-between; margin-top: 10px; padding-top: 9px; border-top: 1px dashed #E4E6EC; font-size: 10.5px; color: var(--text-3); }
.cc-foot .done { color: var(--green); font-weight: 600; }
.cc-foot .todo { color: var(--red); font-weight: 600; }

/* 操作按钮组 */
.op { display: inline-flex; flex-wrap: wrap; justify-content: flex-end; gap: 4px; }
.op-cell { min-width: 170px; text-align: right; }
.op a { color: var(--red); font-size: 12px; cursor: pointer; padding: 3px 7px; border-radius: 6px; white-space: nowrap; }
.op a:hover { background: var(--red-soft); }
.op a.muted { color: var(--text-2); }
.op a.muted:hover { background: #F0F1F5; }

/* 行内下拉 */
.st-sel { font-size: 11px; font-weight: 600; border-radius: 6px; padding: 3px 9px; border: 1px solid #E4E6EC; cursor: pointer; outline: none; background: #fff; color: var(--text); }
.st-sel.opt-on { background: var(--red-soft); color: var(--red); border-color: var(--red-line); }
.st-sel.opt-off { background: #F0F1F5; color: var(--text-3); border-color: #E4E6EC; }

/* 拖拽排序 */
.drag-cell { width: 30px; text-align: center; cursor: grab; color: var(--text-3); user-select: none; }
.drag-cell:active { cursor: grabbing; }
.drag-ic { font-size: 14px; letter-spacing: -1px; opacity: .75; display: inline-block; }
tr.drag-row { draggable: true; }
tr.drag-row.drag-over { background: var(--red-soft) !important; box-shadow: inset 0 0 0 1.5px var(--red-line); }
tr.drag-row.drag-over td { border-bottom-color: transparent; }

/* 分页 */
.pagebar { display: flex; align-items: center; justify-content: space-between; padding: 12px 18px; border-top: 1px solid var(--card-line); font-size: 12px; color: var(--text-3); }
.pagebar .pg { display: flex; gap: 6px; }
.pagebar .pg span { width: 28px; height: 28px; border-radius: 7px; border: 1px solid var(--card-line); display: flex; align-items: center; justify-content: center; cursor: pointer; background: #fff; color: var(--text-2); font-size: 12px; }
.pagebar .pg span.on { background: var(--red-grad); color: #fff; border-color: transparent; font-weight: 700; }
.pagebar .pg span.dis { opacity: .4; cursor: not-allowed; }
.pagebar .pg span.dots { border: none; cursor: default; width: auto; padding: 0 3px; color: var(--text-3); }

/* 提示条 */
.alert { display: flex; align-items: center; gap: 10px; padding: 11px 16px; border-radius: 10px; font-size: 12.5px; margin-bottom: 14px; }
.alert svg { width: 15px; height: 15px; flex: none; }
.alert-red { background: var(--red-soft); border: 1px solid var(--red-line); color: var(--red-deep); }
.alert-red b { font-weight: 700; }
.alert .spacer { flex: 1; }

/* 进度条 */
.pbar { width: 90px; height: 6px; border-radius: 99px; background: #EEF0F4; overflow: hidden; }
.pbar i { display: block; height: 100%; border-radius: 99px; background: var(--red-grad); }

/* ============ 弹层 ============ */
.mask { position: fixed; inset: 0; background: rgba(15,15,22,.55); backdrop-filter: blur(3px); z-index: 100; display: none; align-items: flex-start; justify-content: center; padding: 60px 20px; }
.mask.show { display: flex; animation: maskIn .2s ease; }
.modal { background: #fff; border-radius: 16px; width: 640px; max-width: 100%; max-height: calc(100vh - 120px); box-shadow: var(--shadow-lg); display: flex; flex-direction: column; animation: popIn .22s cubic-bezier(.2,.9,.3,1.2); }
.modal.wide { width: 860px; }
.modal.narrow { width: 440px; }
.od-sec { font-size: 13px; font-weight: 700; color: var(--text); display: flex; align-items: center; gap: 6px; margin: 0 0 10px; }
.od-sec::before { content: ''; width: 3px; height: 12px; border-radius: 2px; background: var(--red); }
.m-head { display: flex; align-items: center; gap: 10px; padding: 16px 20px; border-bottom: 1px solid var(--card-line); }
.m-head h3 { font-size: 15px; font-weight: 700; flex: 1; display: flex; align-items: center; gap: 8px; }
.m-head h3 em { font-style: normal; font-size: 11px; color: var(--text-3); font-weight: 500; }
.m-close { width: 28px; height: 28px; border-radius: 8px; display: flex; align-items: center; justify-content: center; cursor: pointer; color: var(--text-3); border: none; background: #F0F1F5; }
.m-close:hover { background: var(--red-soft); color: var(--red); }
.m-body { padding: 18px 20px; overflow-y: auto; flex: 1; }
.m-foot { display: flex; justify-content: flex-end; gap: 10px; padding: 14px 20px; border-top: 1px solid var(--card-line); }

/* 表单 */
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin-bottom: 14px; }
.f-item label { display: block; font-size: 12px; color: var(--text-2); margin-bottom: 6px; font-weight: 500; }
.f-item label b { color: var(--red); }
.f-item input, .f-item select, .f-item textarea { width: 100%; border: 1px solid var(--card-line); border-radius: 9px; padding: 9px 12px; font-size: 13px; color: var(--text); outline: none; background: #FAFAFC; font-family: inherit; }
.f-item input:focus, .f-item select:focus, .f-item textarea:focus { border-color: var(--red); background: #fff; box-shadow: 0 0 0 3px rgba(232,67,60,.10); }
.f-item textarea { resize: vertical; min-height: 84px; }
.f-item.full { grid-column: 1/-1; }
.f-item .hint { font-size: 11px; color: var(--text-3); margin-top: 5px; }
.f-item .chk { display: flex; flex-wrap: wrap; gap: 8px; padding: 2px 0; }
.f-item .chk label { display: inline-flex; align-items: center; gap: 7px; padding: 7px 12px; border: 1px solid #E4E6EC; border-radius: 8px; background: #fff; cursor: pointer; font-size: 12px; color: var(--text-2); font-weight: 500; transition: all .15s; user-select: none; }
.f-item .chk label:hover { border-color: var(--red-line); }
.f-item .chk input { display: none; }
.f-item .chk .ck { width: 15px; height: 15px; border: 1.5px solid #C9CDD6; border-radius: 4px; display: inline-flex; align-items: center; justify-content: center; font-size: 10px; color: #fff; background: #fff; transition: all .15s; flex: none; line-height: 1; }
.f-item .chk label:has(input:checked) { border-color: var(--red); background: var(--red-soft); color: var(--red); }
.f-item .chk input:checked ~ .ck { background: var(--red); border-color: var(--red); }
.f-item .chk input:checked ~ .ck::after { content: '✓'; font-weight: 700; }
.f-item .chk .tx { line-height: 1; }

/* 批量导入 */
.imp-ways { display: flex; align-items: stretch; gap: 10px; }
.imp-way { flex: 1; border: 1.5px dashed var(--red-line); border-radius: 11px; padding: 16px 14px; text-align: center; background: var(--red-soft); cursor: pointer; transition: all .15s; }
.imp-way:hover { background: rgba(232,67,60,.16); }
.imp-way .imp-ic { font-size: 12.5px; color: var(--red); font-weight: 600; margin-bottom: 6px; }
.imp-way .imp-tx { font-size: 11px; color: var(--text-3); line-height: 1.5; }
.imp-or { align-self: center; font-size: 11px; color: var(--text-3); font-weight: 600; }
.imp-paste { flex: 1.6; min-width: 0; }
.imp-paste textarea { width: 100%; box-sizing: border-box; border: 1px solid var(--card-line); border-radius: 11px; padding: 10px 12px; font-size: 12px; color: var(--text); line-height: 1.7; resize: vertical; font-family: inherit; }
.imp-paste textarea:focus { outline: none; border-color: var(--red); box-shadow: 0 0 0 3px rgba(232,67,60,.10); }

/* 删除确认名单 */
.del-list { max-height: 220px; overflow: auto; margin-top: 10px; }
.del-row { display: flex; justify-content: space-between; align-items: center; padding: 8px 12px; border: 1px solid var(--card-line); border-radius: 9px; margin-bottom: 6px; font-size: 12.5px; color: var(--text); background: #FAFAFC; }
.del-row .cell-sub { font-size: 11px; color: var(--text-3); }
.del-more { text-align: center; font-size: 11.5px; color: var(--text-3); padding: 6px 0 2px; }

/* 开关 */
.switch { position: relative; width: 40px; height: 22px; border-radius: 99px; background: #D9DBE2; cursor: pointer; transition: background .2s; flex: none; }
.switch::after { content: ""; position: absolute; top: 2.5px; left: 3px; width: 17px; height: 17px; border-radius: 50%; background: #fff; transition: left .2s; box-shadow: 0 1px 3px rgba(0,0,0,.2); }
.switch.on { background: var(--red); }

/* 弹层内 tab */
.mtabs { display: flex; gap: 4px; border-bottom: 1px solid var(--card-line); margin: -4px 0 16px; }
.mtab { padding: 8px 14px; font-size: 12.5px; font-weight: 600; color: var(--text-2); cursor: pointer; border-bottom: 2px solid transparent; user-select: none; margin-bottom: -1px; }
.mtab.on { color: var(--red); border-bottom-color: var(--red); }
.mpanel { display: none; }
.mpanel.on { display: block; animation: fadeIn .18s ease; }

/* 下发机构列表 */
.group-list { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-bottom: 14px; }
.group-card { border: 1px solid var(--card-line); border-radius: 11px; padding: 12px 14px; background: #FAFAFC; display: flex; align-items: center; gap: 10px; }
.group-card .g-ic { width: 30px; height: 30px; border-radius: 8px; background: var(--red-grad); color: #fff; display: flex; align-items: center; justify-content: center; font-size: 12px; font-weight: 700; flex: none; }
.group-card .g-tx { flex: 1; min-width: 0; }
.group-card .g-tx b { font-size: 12.5px; display: block; }
.group-card .g-tx span { font-size: 11px; color: var(--text-3); }
.group-card .g-num { font-size: 16px; font-weight: 800; color: var(--red); line-height: 1; }
.group-card .g-num small { font-size: 10.5px; color: var(--text-3); font-weight: 500; }

/* 通知列表（活动详情） */
.nlist { display: flex; flex-direction: column; gap: 8px; }
.nitem { display: flex; align-items: center; gap: 12px; border: 1px solid var(--card-line); border-radius: 11px; padding: 11px 14px; background: #FAFAFC; }
.nitem .n-ic { width: 32px; height: 32px; border-radius: 9px; background: var(--red-soft); color: var(--red); display: flex; align-items: center; justify-content: center; flex: none; }
.nitem .n-ic svg { width: 15px; height: 15px; }
.nitem .n-tx { flex: 1; min-width: 0; }
.nitem .n-tx b { font-size: 12.8px; display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.nitem .n-tx span { font-size: 11px; color: var(--text-3); display: block; margin-top: 2px; }
.nitem .n-pri { font-size: 11px; font-weight: 700; padding: 2px 8px; border-radius: 5px; }
.pri-h { background: rgba(232,67,60,.12); color: var(--red); }
.pri-m { background: rgba(232,163,61,.12); color: var(--amber); }
.pri-l { background: #F0F1F5; color: var(--text-3); }

/* toast */
.toast { position: fixed; top: 26px; left: 50%; transform: translateX(-50%) translateY(-20px); z-index: 200; background: #23242B; color: #fff; font-size: 13px; padding: 10px 20px; border-radius: 10px; box-shadow: 0 10px 30px rgba(0,0,0,.3); opacity: 0; pointer-events: none; transition: all .25s ease; }
.toast.show { opacity: 1; transform: translateX(-50%) translateY(0); }
.toast b { color: var(--red-bright); }

/* 滚动条 */
.scroll::-webkit-scrollbar { width: 6px; height: 6px; }
.scroll::-webkit-scrollbar-thumb { background: #D5D8E0; border-radius: 99px; }
.content::-webkit-scrollbar { width: 8px; }
.content::-webkit-scrollbar-thumb { background: #D5D8E0; border-radius: 99px; }

/* 任务设置：附件 / 提交审核 */
.file-list { display: flex; flex-direction: column; gap: 8px; margin-bottom: 10px; }
.file-row { display: flex; align-items: center; gap: 10px; border: 1px solid var(--card-line); border-radius: 9px; padding: 8px 12px; background: #FAFAFC; font-size: 12.5px; }
.file-row svg { width: 15px; height: 15px; color: var(--red); flex: none; }
.file-row .fr-name { flex: 1; font-weight: 600; color: var(--text); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.file-row .fr-size { font-size: 11px; color: var(--text-3); flex: none; }
.file-row .op { flex: none; }
.sub-name { display: inline-flex; align-items: center; gap: 6px; color: var(--text-2); max-width: 220px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.sub-name svg { width: 13px; height: 13px; color: var(--red); flex: none; }
.task-tip { display: flex; align-items: center; gap: 8px; font-size: 11.5px; color: var(--text-3); margin: 14px 18px 0; }
.task-tip svg { width: 13px; height: 13px; color: var(--red); flex: none; }
