:root {
  --bg: #f4f6f8;
  --panel: #ffffff;
  --ink: #222b35;
  --ink-2: #5c6875;
  --line: #e3e8ee;
  --accent: #2f5d7c;
  --accent-soft: #eaf1f6;
  --ok: #2c7a58;
  --warn: #a86b1f;
  --bad: #a8433a;
}

* { box-sizing: border-box; }

body {
  margin: 0;
  font-family: -apple-system, "Segoe UI", "Microsoft YaHei", sans-serif;
  background: var(--bg);
  color: var(--ink);
  font-size: 14px;
}

/* ---------- 登录 ---------- */
.login-body {
  display: flex; align-items: center; justify-content: center;
  min-height: 100vh;
  background: linear-gradient(160deg, #eef2f6 0%, #dfe7ee 100%);
}
.login-card {
  width: 360px; background: #fff; border: 1px solid var(--line);
  border-radius: 10px; padding: 32px 30px 26px;
  box-shadow: 0 18px 48px rgba(30, 45, 60, .10);
}
.login-brand { font-size: 22px; font-weight: 600; letter-spacing: .5px; }
.login-sub { color: var(--ink-2); font-size: 12px; margin-top: 6px; letter-spacing: 1px; }
.login-card form { margin-top: 22px; }
.login-card label { display: block; font-size: 12px; color: var(--ink-2); margin: 12px 0 6px; }
.login-card input {
  width: 100%; padding: 10px 12px; border: 1px solid var(--line);
  border-radius: 6px; font-size: 14px; outline: none;
}
.login-card input:focus { border-color: var(--accent); }
.login-card button {
  width: 100%; margin-top: 20px; padding: 11px;
  background: var(--accent); color: #fff; border: 0; border-radius: 6px;
  font-size: 14px; cursor: pointer;
}
.login-card button:hover { background: #264e68; }
.login-err { margin-top: 14px; color: var(--bad); font-size: 13px; }
.login-hint { margin-top: 18px; color: #8a959f; font-size: 12px; text-align: center; }

/* ---------- 布局 ---------- */
.shell { display: flex; min-height: 100vh; }
.side {
  width: 208px; flex: 0 0 208px; background: #1f2933; color: #cbd5dd;
  display: flex; flex-direction: column;
}
.side-brand { display: flex; gap: 10px; align-items: center; padding: 20px 18px; border-bottom: 1px solid rgba(255,255,255,.08); }
.brand-dot { width: 9px; height: 9px; border-radius: 50%; background: #5fa38a; }
.brand-name { color: #fff; font-size: 15px; font-weight: 600; letter-spacing: .5px; }
.brand-sub { font-size: 11px; color: #8695a3; margin-top: 2px; }
.nav { padding: 12px 8px; flex: 1; }
.nav-item {
  display: block; padding: 10px 12px; border-radius: 6px; color: #cbd5dd;
  text-decoration: none; font-size: 13.5px; margin-bottom: 2px; cursor: pointer;
}
.nav-item:hover { background: rgba(255,255,255,.06); }
.nav-item.active { background: #2d3b48; color: #fff; }
.side-foot { padding: 14px 18px; border-top: 1px solid rgba(255,255,255,.08); font-size: 12px; }
.side-user { color: #9fb0be; }
.side-logout { color: #7f8f9d; text-decoration: none; display: inline-block; margin-top: 4px; }
.side-logout:hover { color: #fff; }

.main { flex: 1; min-width: 0; display: flex; flex-direction: column; }
.topbar {
  height: 56px; background: var(--panel); border-bottom: 1px solid var(--line);
  display: flex; align-items: center; justify-content: space-between; padding: 0 22px;
}
.topbar-title { font-size: 15px; font-weight: 600; }
.topbar-right { display: flex; align-items: center; gap: 10px; }
.pill { font-size: 12px; color: var(--ok); background: #eaf5ef; padding: 4px 10px; border-radius: 20px; }
.ghost {
  border: 1px solid var(--line); background: #fff; color: var(--ink-2);
  padding: 6px 12px; border-radius: 6px; cursor: pointer; font-size: 13px;
}
.ghost:hover { border-color: var(--accent); color: var(--accent); }

.content { padding: 20px 22px 40px; overflow: auto; }
.loading, .empty { color: #94a0aa; padding: 40px 0; text-align: center; }

/* ---------- 卡片 ---------- */
.cards { display: grid; grid-template-columns: repeat(auto-fill, minmax(168px, 1fr)); gap: 12px; }
.card {
  background: var(--panel); border: 1px solid var(--line); border-radius: 8px; padding: 14px 16px;
}
.card-label { font-size: 12px; color: var(--ink-2); }
.card-value { font-size: 24px; font-weight: 600; margin-top: 6px; letter-spacing: .5px; }
.card-value.small { font-size: 18px; }
.card-foot { font-size: 11.5px; color: #94a0aa; margin-top: 6px; }

.section { background: var(--panel); border: 1px solid var(--line); border-radius: 8px; margin-top: 16px; }
.section-head {
  display: flex; align-items: center; justify-content: space-between;
  padding: 14px 16px; border-bottom: 1px solid var(--line);
}
.section-title { font-weight: 600; font-size: 14px; }
.section-actions { display: flex; gap: 8px; }

.btn {
  border: 0; background: var(--accent); color: #fff; padding: 7px 14px;
  border-radius: 6px; cursor: pointer; font-size: 13px;
}
.btn:hover { background: #264e68; }
.btn.ghost2 { background: #fff; color: var(--accent); border: 1px solid #cbdde8; }
.btn.small { padding: 3px 9px; font-size: 12px; border-radius: 4px; }
.btn.danger { background: #fff; color: var(--bad); border: 1px solid #e6c8c4; }

table { width: 100%; border-collapse: collapse; font-size: 13px; min-width: 100%; }
th {
  text-align: left; font-weight: 500; color: var(--ink-2); font-size: 12px;
  padding: 9px 11px; border-bottom: 1px solid var(--line); background: #fbfcfd; white-space: nowrap;
}
td { padding: 9px 11px; border-bottom: 1px solid #f0f3f6; vertical-align: middle; white-space: nowrap; }
td.wrap { white-space: normal; min-width: 140px; }
.section { overflow-x: auto; }
th.act, td.act {
  position: sticky; right: 0; background: #fff;
  box-shadow: -10px 0 10px -10px rgba(20, 30, 40, .22);
  white-space: nowrap;
}
th.act { background: #fbfcfd; }
tr:last-child td { border-bottom: 0; }
td.mono, .mono { font-family: Consolas, "SFMono-Regular", monospace; font-size: 11.5px; color: #7b8794; }
.num { font-variant-numeric: tabular-nums; }

.tag { display: inline-block; padding: 2px 9px; border-radius: 20px; font-size: 12px; white-space: nowrap; }
.tag.normal, .tag.verified, .tag.published { background: #eaf5ef; color: var(--ok); }
.tag.limited, .tag.queued, .tag.running, .tag.verifying, .tag.manual_pending { background: #fdf3e6; color: var(--warn); }
.tag.need_login, .tag.failed_retryable { background: #fdf1ef; color: #a35a4e; }
.tag.failed_final, .tag.banned, .tag.restricted { background: #f9eaea; color: var(--bad); }
.tag.paused, .tag.cancelled, .tag.draft { background: #eef1f4; color: var(--ink-2); }
.tag.approved { background: #eaf1f6; color: var(--accent); }
.tag.ok { background: #eaf5ef; color: var(--ok); }
.tag.warn { background: #fdf3e6; color: var(--warn); }
.tag.mute { background: #eef1f4; color: var(--ink-2); }

.health { display: flex; align-items: center; gap: 6px; min-width: 62px; }
.health-bar { flex: 1; height: 6px; border-radius: 4px; background: #edf1f4; overflow: hidden; }
.health-bar i { display: block; height: 100%; background: var(--ok); }
.health-bar i.warn { background: #d9a15a; }
.health-bar i.bad { background: #c4675c; }

.thumb { width: 46px; height: 46px; object-fit: cover; border-radius: 5px; border: 1px solid var(--line); background: #f6f8fa; }
.thumbs { display: flex; gap: 6px; flex-wrap: wrap; }

.filters { display: flex; gap: 8px; padding: 12px 16px; border-bottom: 1px solid var(--line); flex-wrap: wrap; }

/* ---------- 账号矩阵（仿易媒） ---------- */
.acc-toolbar { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; margin-top: 16px; }
.acc-toolbar-spacer { flex: 1; }
.acc-toolbar select, .acc-toolbar input[type=text] { height: 34px; }
#acc-search { min-width: 200px; }
.acc-shell { display: grid; grid-template-columns: 196px 1fr; gap: 0; margin-top: 12px; background: var(--panel); border: 1px solid var(--line); border-radius: 8px; min-height: 340px; overflow: hidden; }
.acc-tree { border-right: 1px solid var(--line); padding: 10px 8px; overflow-y: auto; }
.acc-tree-item { display: flex; align-items: center; gap: 8px; padding: 8px 10px; border-radius: 6px; cursor: pointer; font-size: 13px; color: var(--ink-2); margin-bottom: 2px; }
.acc-tree-item:hover { background: #f2f6f9; }
.acc-tree-item.active { background: var(--accent-soft); color: var(--accent); font-weight: 600; }
.acc-tree-ico { width: 24px; height: 24px; border-radius: 50%; color: #fff; font-size: 12px; display: flex; align-items: center; justify-content: center; flex: none; }
.acc-tree-name { flex: 1; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.acc-tree-num { font-family: Consolas, monospace; font-size: 11px; color: #98a2ad; }
.acc-main { padding: 14px; overflow-y: auto; min-width: 0; }
.acc-cards { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 12px; }
.acc-card { border: 1px solid var(--line); border-radius: 8px; padding: 14px; background: #fff; }
.acc-card-head { display: flex; align-items: center; gap: 10px; }
.acc-avatar { width: 38px; height: 38px; border-radius: 50%; color: #fff; font-weight: 600; display: flex; align-items: center; justify-content: center; flex: none; }
.acc-card-id { flex: 1; min-width: 0; }
.acc-nick { font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.acc-card-meta { margin: 12px 0; display: grid; gap: 6px; }
.acc-meta-row { display: flex; align-items: center; gap: 8px; font-size: 12px; color: var(--ink); }
.acc-meta-k { width: 40px; color: var(--ink-2); flex: none; }
.acc-card-actions { display: flex; gap: 8px; border-top: 1px solid var(--line); padding-top: 10px; }
select, input[type=text], input[type=number], input[type=datetime-local], textarea {
  border: 1px solid var(--line); border-radius: 6px; padding: 7px 10px;
  font-size: 13px; font-family: inherit; outline: none; background: #fff; color: var(--ink);
}
select:focus, input:focus, textarea:focus { border-color: var(--accent); }
textarea { width: 100%; resize: vertical; }

/* ---------- 弹窗 ---------- */
.modal-mask {
  position: fixed; inset: 0; background: rgba(20, 28, 36, .45);
  display: flex; align-items: center; justify-content: center; z-index: 40;
}
.modal-mask.hidden { display: none; }
#toast {
  position: fixed; left: 50%; bottom: 36px; transform: translateX(-50%) translateY(8px);
  max-width: 560px; padding: 11px 20px; border-radius: 10px; background: #16212c; color: #fff;
  font-size: 13px; line-height: 1.5; box-shadow: 0 8px 24px rgba(15, 25, 35, .22);
  z-index: 9999; opacity: 0; pointer-events: none; transition: opacity .18s, transform .18s;
}
#toast.show { opacity: 1; transform: translateX(-50%) translateY(0); }
.modal {
  width: 620px; max-width: calc(100vw - 40px); max-height: calc(100vh - 80px);
  background: #fff; border-radius: 10px; display: flex; flex-direction: column;
  box-shadow: 0 24px 60px rgba(15, 25, 35, .28);
}
.modal-head {
  display: flex; align-items: center; justify-content: space-between;
  padding: 16px 18px; border-bottom: 1px solid var(--line); font-weight: 600;
}
.modal-close { border: 0; background: transparent; font-size: 20px; color: #9aa5ae; cursor: pointer; line-height: 1; }
.modal-body { padding: 18px; overflow: auto; }
.modal-foot { padding: 12px 18px; border-top: 1px solid var(--line); display: flex; justify-content: flex-end; gap: 10px; }

.field { margin-bottom: 14px; }
.field label { display: block; font-size: 12px; color: var(--ink-2); margin-bottom: 6px; }
.field input, .field select, .field textarea { width: 100%; }

/* 母稿编辑器：仿易媒助手 */
.modal.wide, #modal .modal.wide { width: 980px; }
#modal .modal.full {
  width: calc(100vw - 32px); max-width: 1320px;
  height: calc(100vh - 48px); max-height: none;
}
#modal .modal.full .modal-body { padding: 0; overflow: hidden; flex: 1; }
#modal .modal.full .modal-head { padding: 12px 18px; background: #fff; }
#modal .modal.full .modal-foot { background: #fff; padding: 10px 18px; gap: 8px; }

.ed-shell { display: grid; grid-template-columns: 132px 1fr 74px 320px; height: 100%; min-height: 0; background: #f5f6f8; }
.ed-shell .ed-rail {
  border-right: 1px solid #e6e9ee; background: #fafbfc; padding: 12px 8px; overflow-y: auto;
}
.ed-rail-title { font-size: 11px; color: #98a2ad; padding: 4px 6px 6px; }
.ed-tool {
  display: block; width: 100%; text-align: left; border: 1px solid transparent; background: #fff;
  border-radius: 6px; padding: 7px 9px; font-size: 12px; color: #3d4852; cursor: pointer; margin-bottom: 5px;
}
.ed-tool:hover { border-color: #d6dbe2; color: #2f6fdd; }
.ed-rail-sel { font-size: 10.5px; color: #6b7683; padding: 2px 6px; line-height: 1.6; word-break: keep-all; }

.ed-main { display: flex; flex-direction: column; min-width: 0; background: #fff; border-right: 1px solid #e6e9ee; }
.ed-kind-tabs {
  display: flex; align-items: center; gap: 14px; padding: 10px 22px 0; font-size: 13px; color: #98a2ad; white-space: nowrap; overflow: hidden;
}
.ed-kind-tabs .on { color: #1f2933; font-weight: 600; border-bottom: 2px solid #2f6fdd; padding-bottom: 6px; }
.ed-kind-tabs .ed-kind-soon { color: #b6bec8; }
.ed-kind-tabs .ed-kind-tip { margin-left: auto; font-size: 11.5px; color: #b6bec8; overflow: hidden; text-overflow: ellipsis; }
.ed-title-row { display: flex; align-items: center; gap: 10px; padding: 16px 22px 10px; border-bottom: 1px solid #f0f2f5; }
#c-title {
  flex: 1; border: 0; outline: none; font-size: 20px; font-weight: 600; color: #1f2933; padding: 4px 0;
}
#c-title::placeholder { color: #b6bec8; font-weight: 400; font-size: 18px; }
.ed-title-count { font-size: 12px; color: #98a2ad; white-space: nowrap; }

.ed-toolbar {
  display: flex; flex-wrap: wrap; align-items: center; gap: 2px; padding: 8px 16px;
  border-bottom: 1px solid #f0f2f5; background: #fff;
}
.ed-toolbar button {
  border: 1px solid transparent; background: transparent; border-radius: 4px; padding: 4px 9px;
  font-size: 12px; color: #4a5560; cursor: pointer; line-height: 1.6;
}
.ed-toolbar button:hover { background: #f2f5f9; color: #2f6fdd; border-color: #e2e8f0; }
.ed-toolbar .sep { width: 1px; height: 16px; background: #e6e9ee; margin: 0 6px; }

.ed-rich {
  flex: 1; overflow-y: auto; padding: 18px 22px 40px; font-size: 15px; line-height: 1.9; color: #2b333b;
  outline: none; min-height: 0;
}
.ed-rich:empty:before { content: attr(data-ph); color: #b6bec8; font-size: 14px; }
.ed-rich p { margin: 0 0 12px; }
.ed-rich h3 { font-size: 17px; margin: 16px 0 10px; font-weight: 600; }
.ed-rich blockquote {
  margin: 12px 0; padding: 8px 14px; border-left: 3px solid #d8e2ef; background: #f7f9fc; color: #55606b;
}
.ed-rich img { max-width: 100%; border-radius: 6px; margin: 6px 0; display: block; }
.ed-rich ul, .ed-rich ol { padding-left: 22px; margin: 0 0 12px; }

.ed-status {
  display: flex; justify-content: space-between; align-items: center; padding: 8px 22px;
  border-top: 1px solid #f0f2f5; font-size: 12px; color: #98a2ad; background: #fff;
}
.ed-status .over { color: var(--bad); }

.ed-platforms {
  border-right: 1px solid #e6e9ee; background: #fafbfc; overflow-y: auto; padding: 12px 0;
  display: flex; flex-direction: column; align-items: center; gap: 10px;
}
.ed-pl-item { display: flex; flex-direction: column; align-items: center; gap: 4px; cursor: pointer; width: 62px; }
.pl-ico {
  width: 34px; height: 34px; border-radius: 8px; color: #fff; display: flex; align-items: center;
  justify-content: center; font-size: 14px; font-weight: 600; opacity: .55; transition: opacity .15s, transform .15s;
}
.ed-pl-item.on .pl-ico { opacity: 1; transform: scale(1.06); box-shadow: 0 3px 10px rgba(15,25,35,.18); }
.pl-name { font-size: 11px; color: #98a2ad; }
.ed-pl-item.on .pl-name { color: #2f6fdd; font-weight: 600; }

.ed-side { background: #fff; display: flex; flex-direction: column; min-height: 0; }
.ed-side-tabs { display: flex; gap: 18px; padding: 14px 18px 10px; border-bottom: 1px solid #f0f2f5; font-size: 13px; }
.ed-side-tabs .on { color: #2f6fdd; font-weight: 600; border-bottom: 2px solid #2f6fdd; padding-bottom: 8px; }
.ed-side-scroll { overflow-y: auto; padding: 14px 18px 24px; }
.ed-sec { font-size: 12px; color: #6b7683; margin: 14px 0 6px; }
.ed-side-scroll .ed-sec:first-child { margin-top: 0; }
.ed-input { width: 100%; border: 1px solid #e2e6eb; border-radius: 6px; padding: 7px 10px; font-size: 13px; color: #2b333b; }
.ed-input:focus { border-color: #2f6fdd; outline: none; }
.ed-side-scroll select.ed-input, .ed-side-scroll input.ed-input, .ed-side-scroll textarea.ed-input { margin-bottom: 8px; }
.ed-hint { font-size: 11px; color: #98a2ad; line-height: 1.6; margin-bottom: 6px; }
.ed-check { display: flex; align-items: center; gap: 6px; font-size: 12.5px; color: #4a5560; margin-bottom: 8px; cursor: pointer; }
.ed-side-tips { margin-top: 16px; padding-top: 12px; border-top: 1px dashed #e6e9ee; font-size: 11px; color: #98a2ad; line-height: 1.8; }

.ed-picker-mask {
  position: absolute; inset: 0; background: rgba(20,28,36,.35); display: flex; align-items: center;
  justify-content: center; z-index: 20;
}
.ed-picker { width: 560px; max-height: 70%; background: #fff; border-radius: 10px; display: flex; flex-direction: column; overflow: hidden; }
.ed-picker-head { padding: 12px 16px; border-bottom: 1px solid #f0f2f5; font-size: 13px; display: flex; justify-content: space-between; }
.ed-picker-x { cursor: pointer; color: #98a2ad; }
.ed-picker-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; padding: 14px; overflow-y: auto; }
.ed-pick-item { cursor: pointer; border: 1px solid #e6e9ee; border-radius: 6px; padding: 4px; font-size: 11px; color: #6b7683; }
.ed-pick-item:hover { border-color: #2f6fdd; }
.ed-pick-item img { width: 100%; height: 74px; object-fit: cover; border-radius: 4px; display: block; margin-bottom: 4px; }
.ed-pick-item div { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }

.pv-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px; }
td.wrap { min-width: 220px; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; margin: 8px 0 12px; }
.chip {
  border: 1px solid #dfe4ea; border-radius: 16px; padding: 5px 12px; font-size: 12.5px;
  color: #5b6673; background: #fff; cursor: pointer; user-select: none;
}
.chip.on { border-color: #2f6fdd; color: #2f6fdd; background: #f2f7ff; }
.ck { display: flex; align-items: center; gap: 6px; margin: 10px 0 6px; font-size: 13px; color: #5b6673; cursor: pointer; }
.ed-preview { width: 780px; max-height: 78%; background: #fff; border-radius: 10px; display: flex; flex-direction: column; overflow: hidden; }
.pv-card { border: 1px solid #e6e9ee; border-radius: 8px; padding: 12px; }
.pv-card-head { font-size: 11px; color: #98a2ad; margin-bottom: 8px; }
.pv-card-title { font-size: 14px; font-weight: 600; margin-bottom: 6px; color: #1f2933; }
.pv-card-body { font-size: 12.5px; color: #55606b; line-height: 1.75; white-space: pre-wrap; }
.pv-imgs { display: grid; grid-template-columns: repeat(3, 1fr); gap: 4px; margin-bottom: 8px; }
.pv-imgs img { width: 100%; height: 58px; object-fit: cover; border-radius: 4px; }

.pre { white-space: pre-wrap; background: #fbfcfd; border: 1px solid var(--line); border-radius: 6px; padding: 12px; font-size: 13px; line-height: 1.7; }

.err { color: var(--bad); font-size: 13px; margin-top: 8px; }
.ok-msg { color: var(--ok); font-size: 13px; margin-top: 8px; }

.preview-hero {
  background: #0f1720; border-radius: 12px; padding: 14px; display: flex; gap: 14px;
}
.preview-hero img { width: 96px; height: 96px; object-fit: cover; border-radius: 8px; }

/* ---------- 概览·网络出口 ---------- */
.net-egress {
  display: flex; align-items: baseline; gap: 14px; flex-wrap: wrap;
  padding: 14px 16px; margin-bottom: 12px;
  background: var(--accent-soft);
  border: 1px solid var(--line);
  border-radius: 8px;
}
.net-egress .net-ip {
  font-size: 22px; font-weight: 600; letter-spacing: .5px; color: var(--accent);
}
.net-egress .net-meta { color: var(--ink-2); }
.net-egress .net-hint { margin-left: auto; color: #9aa5b1; font-size: 12px; }
#netCard .empty { padding: 18px 4px; color: var(--ink-2); }
#netCard .hint { margin-top: 10px; }
.net-sub { color: var(--ink-2); font-size: 12px; line-height: 1.45; white-space: normal; word-break: break-all; }
#netCard .table td, #netCard .table th { vertical-align: middle; }
/* ---------- 发视频（照易媒助手） ---------- */
.v-shell {
  display: grid;
  grid-template-columns: 148px minmax(0, 1fr) 76px 300px;
  gap: 0;
  height: 100%;
  min-height: 0;
  background: #fff;
}
.v-rail {
  border-right: 1px solid var(--line);
  background: #fafbfc;
  padding: 10px 8px;
}
.v-rail-item {
  display: block; width: 100%;
  padding: 10px 10px; margin-bottom: 6px;
  border: 0; background: transparent; text-align: left;
  font-size: 13px; color: var(--ink-2); border-radius: 6px; cursor: pointer;
}
.v-rail-item.on { background: var(--accent-soft); color: var(--accent); font-weight: 600; }
.v-rail-item:hover { background: #f1f4f7; }
.v-main { padding: 14px 20px 18px; overflow: auto; }
.v-addrow { display: flex; gap: 10px; align-items: center; }
.v-tip { margin: 8px 0 14px; color: #8b95a1; font-size: 12px; line-height: 1.6; }
.v-video-box {
  border: 1px dashed var(--line); border-radius: 8px; background: #fbfcfd;
  padding: 12px; margin-bottom: 16px;
}
.v-video-box video { width: 100%; max-height: 300px; border-radius: 6px; background: #000; display: block; }
.v-file-meta { margin-top: 8px; color: var(--ink-2); font-size: 12px; word-break: break-all; }
.v-empty { color: #8b95a1; font-size: 13px; text-align: center; padding: 42px 0; cursor: pointer; }
.v-field { margin-bottom: 14px; position: relative; }
.v-field label { display: block; font-size: 12px; color: var(--ink-2); margin-bottom: 6px; line-height: 1.5; }
.v-field .ed-input { width: 100%; }
.v-counter { position: absolute; right: 8px; bottom: 8px; font-size: 12px; color: #9aa5b1; background: #fff; padding: 0 2px; }
.v-chips-label { font-size: 12px; color: var(--ink-2); margin: 4px 0 6px; }
.v-chips { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 16px; }
.v-chips .chip { cursor: pointer; user-select: none; }
.v-chips .chip.on { background: var(--accent-soft); border-color: var(--accent); color: var(--accent); }
.v-tags { display: flex; flex-wrap: wrap; gap: 8px; margin: -4px 0 14px; }
.v-tag {
  background: #eff3f7; border-radius: 14px; padding: 4px 10px;
  font-size: 12px; color: var(--ink-2); cursor: pointer;
}
.v-tag:hover { background: #e3eaf1; }
.v-note { font-size: 12px; color: #8b95a1; line-height: 1.8; margin-top: 6px; }
.v-platforms { border-left: 1px solid var(--line); border-right: 1px solid var(--line); padding: 8px 6px; overflow: auto; }
.v-platforms .ed-pl-item { padding: 5px 0; }
.v-platforms .ed-pl-item .pl-ico { width: 30px; height: 30px; font-size: 12px; }
.v-platforms .ed-pl-item .pl-name { display: none; }
.v-side { overflow: auto; padding: 0 14px; border-left: 0; }
.v-side-scroll { padding-bottom: 20px; }
.v-tab-mute { color: #b3bcc6; font-size: 12px; margin-left: 12px; }
.v-cover-pick { display: flex; gap: 10px; align-items: flex-start; }
.v-cover-thumb {
  width: 92px; height: 62px; flex: 0 0 92px; border: 1px solid var(--line);
  border-radius: 6px; display: flex; align-items: center; justify-content: center;
  background: #fbfcfd; overflow: hidden;
}
.v-cover-thumb img { width: 100%; height: 100%; object-fit: cover; }
.v-cover-plus { color: #b3bcc6; font-size: 22px; }
.v-cover-ops { flex: 1; font-size: 12px; }
.v-cover-ops .ed-check { margin-bottom: 6px; }
.v-mini { width: 46px; padding: 2px 4px; border: 1px solid var(--line); border-radius: 4px; font-size: 12px; }
.v-pick-list { display: grid; gap: 8px; max-height: 55vh; overflow: auto; }
.v-pick { border: 1px solid var(--line); border-radius: 6px; padding: 8px 10px; cursor: pointer; }
.v-pick:hover { border-color: var(--accent); background: var(--accent-soft); }
.v-pick-name { font-size: 13px; margin-bottom: 2px; }
/* ---------- 发布平台管理（照易媒） ---------- */
.v-shell { position: relative; }
.v-pm {
  position: absolute; right: 0; top: 0; bottom: 0; width: 420px;
  background: #fff; border-left: 1px solid var(--line);
  box-shadow: -8px 0 24px rgba(24, 36, 50, .08);
  display: flex; flex-direction: column; z-index: 40;
}
.v-pm.hidden { display: none; }
.v-pm-head {
  display: flex; align-items: center; justify-content: space-between;
  padding: 14px 16px; border-bottom: 1px solid var(--line);
  font-size: 15px; font-weight: 600;
}
.v-pm-x { border: 0; background: transparent; font-size: 20px; color: #9aa5b1; cursor: pointer; line-height: 1; }
.v-pm-body { flex: 1; overflow: auto; padding: 6px 0; }
.v-pm-pl { border-bottom: 1px solid #f0f2f5; }
.v-pm-pl.off { opacity: .55; }
.v-pm-row { display: flex; align-items: center; gap: 10px; padding: 12px 16px; }
.v-pm-row .pl-ico { width: 28px; height: 28px; font-size: 12px; flex: 0 0 28px; }
.v-pm-name { flex: 1; font-size: 14px; }
.v-pm-en { display: flex; align-items: center; gap: 5px; font-size: 13px; color: var(--ink-2); cursor: pointer; }
.v-pm-order { display: flex; gap: 8px; font-size: 12px; color: #98a2ad; }
.v-pm-order button { border: 0; background: transparent; color: #98a2ad; font-size: 12px; cursor: pointer; padding: 0; }
.v-pm-order button:hover { color: var(--accent); }
.v-pm-acc-list { padding: 0 16px 10px 46px; }
.v-pm-acc { display: flex; align-items: center; gap: 8px; padding: 6px 8px; border-radius: 6px; cursor: pointer; font-size: 13px; }
.v-pm-acc:hover { background: #f6f8fa; }
.v-pm-acc .v-acc-name { flex: 1; }
.v-pm-acc .v-acc-meta { color: #9aa5b1; font-size: 12px; }
.v-pm-noadd { font-size: 12px; color: #b3bcc6; padding: 4px 8px 8px; }
.v-pm-foot { border-top: 1px solid var(--line); padding: 12px 16px; display: flex; justify-content: flex-end; gap: 10px; }
/* ---------- 视频编辑工具箱 ---------- */
.et-hint { font-size: 12px; color: var(--ink-2); margin: 6px 0 14px; }
.et-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); gap: 14px 18px; }
.et-card {
  display: flex; align-items: center; gap: 12px; padding: 14px 16px; text-align: left;
  background: #fff; border: 1px solid var(--line); border-radius: 10px; cursor: pointer;
  transition: box-shadow .15s, transform .15s, border-color .15s;
}
.et-card:hover { border-color: #cfe0ff; box-shadow: 0 6px 18px rgba(47, 107, 255, .10); transform: translateY(-1px); }
.et-ico {
  width: 44px; height: 44px; flex: 0 0 44px; border-radius: 10px; color: #fff;
  display: flex; align-items: center; justify-content: center; font-size: 20px;
}
.et-txt { display: flex; flex-direction: column; gap: 4px; min-width: 0; }
.et-txt b { font-size: 14px; color: var(--ink); font-weight: 600; }
.et-txt i { font-size: 12px; color: #9aa5b1; font-style: normal; }
.et-sec { margin: 22px 0 10px; font-size: 13px; color: var(--ink-2); }
.et-recent { display: flex; flex-wrap: wrap; gap: 8px; }
.et-chip {
  display: inline-flex; align-items: center; gap: 6px; padding: 6px 10px;
  background: #f5f7fa; border-radius: 6px; font-size: 12px; color: var(--ink-2); max-width: 320px;
}
.et-chip-type { background: #e8efff; color: #2f6bff; border-radius: 4px; padding: 0 4px; font-size: 11px; }
.et-chip em { color: #9aa5b1; font-style: normal; }
.et-modal { display: flex; flex-direction: column; gap: 12px; }
.et-f { display: flex; flex-direction: column; gap: 6px; flex: 1; }
.et-f label { font-size: 12px; color: var(--ink-2); }
.et-f input, .et-f select { height: 34px; border: 1px solid var(--line); border-radius: 6px; padding: 0 10px; font-size: 13px; background: #fff; }
.et-row { display: flex; gap: 12px; }
.et-tip { font-size: 12px; color: #9aa5b1; }
.et-pick { max-height: 220px; overflow: auto; border: 1px solid var(--line); border-radius: 8px; padding: 8px; }
.et-pick label { display: flex; align-items: center; gap: 8px; padding: 5px 4px; font-size: 13px; }
.et-pick em { color: #9aa5b1; font-style: normal; font-size: 12px; }
.et-result { margin-top: 6px; }
.et-loading { font-size: 13px; color: #2f6bff; background: #f2f6ff; border-radius: 8px; padding: 14px; }
.et-err { font-size: 13px; color: #d93025; background: #fff1f0; border-radius: 8px; padding: 12px; word-break: break-all; }
.et-done { font-size: 13px; color: #12994a; margin-bottom: 8px; }
.et-preview video, .et-preview img { max-width: 100%; max-height: 320px; border-radius: 8px; background: #000; }
.et-preview audio { width: 100%; }
.et-meta { font-size: 12px; color: #9aa5b1; margin: 8px 0; }
.et-actions { display: flex; gap: 10px; }
.et-note { margin: 6px 0 14px; padding: 8px 12px; border-radius: 8px; background: #fff8e8; border: 1px solid #f6e2b6; color: #8a6212; font-size: 12.5px; line-height: 1.7; }
.et-path { margin-top: 10px; font-size: 12px; color: #6b7783; font-family: ui-monospace, Consolas, monospace; word-break: break-all; }
/* 用户管理 */
.uf label { display:block; margin-bottom:12px; font-size:13px; color:#3c4753; }
.uf input, .uf select { display:block; width:100%; margin-top:6px; padding:8px 10px; border:1px solid #d7dee6; border-radius:6px; font-size:13px; }
.user-ops { white-space:normal; }
.users-table { font-size:12.5px; }
.users-table td, .users-table th { padding:9px 8px; }
.users-table .btn { padding:3px 9px; font-size:12px; margin:0 4px 4px 0; }
.users-table th:last-child, .users-table td:last-child { min-width:190px; }
.user-ops .btn { margin-right:4px; }
.btn.danger { background:#d94a4a; border-color:#d94a4a; color:#fff; }
.side-links { display:flex; gap:12px; }
.side-exp { display:block; font-style:normal; font-size:11px; color:#8fa0b0; margin-top:2px; }
