.cm-global-search{display:flex;align-items:center;gap:10px;margin:0 0 18px}.cm-global-search input:not(.admin-element-input):not(.el-input__inner){width:360px}.cm-note, .cm-hint{color:#8a756b;font-size:12px}.cm-layout{display:grid;grid-template-columns:310px minmax(0,1fr);gap:18px;align-items:stretch}.cm-tree, .cm-detail, .node-grid, .special-card{background:#fff;border:1px solid #eadfd8;border-radius:14px;box-shadow:0 8px 20px rgba(78,43,24,.05)}.cm-tree{padding:14px 0;overflow:hidden}.cm-tree-head{display:flex;justify-content:space-between;align-items:center;padding:0 16px 12px;border-bottom:1px solid #f0e8e3}.cm-cat, .cm-sub{position:relative;display:grid;grid-template-columns:20px 1fr auto;gap:5px;align-items:center;padding:11px 16px;font-size:13px;cursor:pointer}.cm-cat small, .cm-sub small{grid-column:2/-1;color:#9a887f;font-size:11px}.cm-cat admin-button{grid-column:3;grid-row:1}.cm-sub{padding-left:38px;grid-template-columns:16px 1fr}.cm-cat.sel, .cm-sub.sel{background:#fff1e8;color:#b25d37}.cm-detail{padding:20px;min-width:0}.cm-detail-head{display:flex;align-items:flex-start;justify-content:space-between;gap:16px;margin-bottom:16px}.cm-detail-head h2{margin:4px 0;font-size:20px}.cm-detail-head p{margin:0;color:#917d73;font-size:12px}.cm-detail-head .actions{display:flex;gap:8px;white-space:nowrap}.cm-active .data-table small{display:block;color:#a18c82;font-size:11px;margin-top:4px}.h5-cell{word-break:break-all;color:#846b5d;font-size:12px}.cm-status{display:inline-block;border-radius:99px;padding:4px 8px;font-size:11px}.cm-status.on{background:#e8f6ec;color:#38824c}.cm-status.off{background:#f4eee9;color:#89766d}.cm-active .empty{text-align:center;color:#a18c82;padding:36px!important}.cm-config-actions{display:flex;justify-content:space-between;margin-top:20px}.node-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:10px;padding:14px;background:#fffaf7}.node-card{border:1px solid #efdfd5;border-radius:10px;padding:13px;display:flex;flex-direction:column;gap:7px;min-height:72px}.node-card span, .special-card span{font-size:12px;color:#927d72}.special-card{display:flex;align-items:center;gap:14px;margin-top:14px;padding:15px}.special-card span{flex:1}.config-summary{display:flex;justify-content:space-between;padding:10px 0 16px;color:#7f6a60}.config-summary span{font-size:12px}
.cm-active .cm-global-search{padding:14px 16px;border:1px solid var(--line);border-radius:10px;background:#fff;box-shadow:var(--shadow);margin-bottom:16px}
.cm-active .cm-global-search input:not(.admin-element-input):not(.el-input__inner){width:300px}

.cm-active .cm-tree, .cm-active .cm-detail, .cm-active .node-grid, .cm-active .special-card{border-color:var(--line);border-radius:13px;box-shadow:var(--shadow)}
.cm-active .cm-tree{padding:0 0 10px}.cm-active .cm-tree-head{padding:16px 18px 13px;border-color:var(--line);color:var(--ink)}
.cm-active .cm-tree-head b{font-size:14px}.cm-active .cm-cat, .cm-active .cm-sub{color:#50617d}.cm-active .cm-cat small, .cm-active .cm-sub small{color:var(--muted)}.cm-active .cm-cat.sel, .cm-active .cm-sub.sel{background:#eef2ff;color:#315be8}
.cm-active .cm-detail-head h2{color:var(--ink)}.cm-active .cm-detail-head p, .cm-active .cm-hint, .cm-active .cm-note{color:var(--muted)}
.cm-active .h5-cell{color:#4b6fe8;font-size:11px;word-break:break-all}.cm-active .cm-status{font-size:10px;padding:4px 8px;font-weight:700}.cm-active .cm-status.on{background:#eaf8f3;color:var(--green)}.cm-active .cm-status.off{background:#f1f3f6;color:#8c98ab}
.cm-active .node-grid{padding:13px;background:#f8faff;box-shadow:none;border-color:#e3e9f8}.cm-active .node-card{border-color:#e3e9f8;background:#fff;border-radius:10px}.cm-active .node-card span, .cm-active .special-card span{color:var(--muted)}.cm-active .special-card{box-shadow:none;border-color:#e3e9f8;background:#f8faff}.cm-active .special-card b{color:var(--ink)}
.cm-active .cm-empty-map{grid-column:1/-1;padding:24px 18px;border:1px dashed #cfdcff;border-radius:10px;background:#fbfcff;color:var(--muted);font-size:12px;line-height:1.6;text-align:center}
@media(max-width:1200px){.cm-active .cm-layout{grid-template-columns:1fr}.cm-active .node-grid{grid-template-columns:repeat(2,1fr)}.cm-active .cm-global-search input:not(.admin-element-input):not(.el-input__inner){width:260px}}
@media(max-width:760px){.cm-active .node-grid{grid-template-columns:1fr}.cm-active .cm-global-search{align-items:stretch;flex-wrap:wrap}.cm-active .cm-global-search input:not(.admin-element-input):not(.el-input__inner){flex:1;min-width:200px}}

/* 搜索结果页：与内容库、用户管理保持同一套蓝灰信息层级。 */
.cm-active .cm-search-page{display:flex;flex-direction:column;gap:16px}
.cm-active .cm-search-toolbar{padding:14px 16px;background:#fff;border:1px solid var(--line);border-radius:13px;box-shadow:var(--shadow)}
.cm-active .cm-search-label{font-size:12px;color:var(--ink);white-space:nowrap}

.cm-active .cm-search-results{padding:0;overflow:hidden}
.cm-active .cm-search-head{display:grid;grid-template-columns:minmax(0,1fr) auto auto;align-items:center;gap:18px;padding:22px 24px 18px;border-bottom:1px solid var(--line)}
.cm-active .cm-search-head h2{margin:5px 0 4px;color:var(--ink);font-size:22px}
.cm-active .cm-search-head p{margin:0;color:var(--muted);font-size:12px}
.cm-active .cm-search-count{display:flex;align-items:baseline;gap:6px;padding:0 18px;border-left:1px solid var(--line);border-right:1px solid var(--line)}
.cm-active .cm-search-count b{color:var(--blue);font-size:26px;line-height:1}
.cm-active .cm-search-count span{color:var(--muted);font-size:11px}
.cm-active .cm-search-table-wrap{padding:0 18px 18px}
.cm-active .cm-path{display:flex;align-items:center;gap:7px;color:var(--ink);font-size:12px;white-space:nowrap}
.cm-active .cm-path i{font-style:normal;color:#536b98}
.cm-active .cm-path em{font-style:normal;color:#a5b0c1}
.cm-active .cm-search-results .empty{padding:58px 20px!important}
.cm-active .cm-search-results .empty b{display:block;color:var(--ink);font-size:14px;margin-bottom:5px}
.cm-active .cm-search-results .empty small{display:block;color:var(--muted)}
@media(max-width:760px){.cm-active .cm-search-label{width:100%}.cm-active .cm-search-head{grid-template-columns:1fr auto;gap:12px}.cm-active .cm-search-count{grid-column:2;grid-row:1}}

/* 图片字段使用上传卡片，避免把封面误做成普通文本输入。 */
.cm-active .cm-upload{display:grid;grid-template-columns:64px minmax(0,1fr) auto;align-items:center;gap:12px;padding:12px;border:1px dashed #cfdcff;border-radius:10px;background:#f8faff}
.cm-active .cm-upload-preview{width:64px;height:64px;display:grid;place-items:center;border-radius:9px;background:#eef2ff;color:#315be8;overflow:hidden}
.cm-active .cm-upload-preview span{max-width:58px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:20px}
.cm-active .cm-upload-copy{display:flex;flex-direction:column;gap:4px;min-width:0}
.cm-active .cm-upload-copy b{font-size:12px;color:var(--ink)}
.cm-active .cm-upload-copy small{color:var(--muted);font-size:10px;line-height:1.45}
.cm-active .cm-upload [type=file]{display:none}
@media(max-width:760px){.cm-active .cm-upload{grid-template-columns:52px minmax(0,1fr)}.cm-active .cm-upload-preview{width:52px;height:52px}.cm-active .cm-client-entry-control{grid-template-columns:1fr}.cm-active .cm-entry-upload{justify-self:start}}
.cm-active .cm-field-label{display:block;color:var(--muted);font-size:12px;margin-bottom:7px}
.cm-active .cm-client-entry-field{display:flex;flex-direction:column;gap:7px;color:var(--muted);font-size:12px;min-width:0}
.cm-active .cm-client-entry-control{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:8px;align-items:center}
.cm-active .cm-entry-upload{height:36px;white-space:nowrap}
.cm-active .cm-client-entry-field small{color:#8c9ab0;font-size:10px;line-height:1.45}
.cm-active .cm-client-entry-field small+small{color:#a3aec0}
.cm-active .cm-platform-field{grid-column:1/-1;border:1px solid #e3e9f8;border-radius:10px;padding:12px 14px;margin:0;background:#fbfcff}
.cm-active .cm-platform-field legend{padding:0 4px;color:var(--ink);font-size:12px;font-weight:700}
.cm-active .cm-platform-field legend span{font-weight:400;color:var(--muted);margin-left:6px}
.cm-active .cm-platform-options{display:flex;gap:10px;margin-top:8px}
.cm-active .cm-platform-option{display:flex!important;flex-direction:row!important;align-items:center;gap:7px!important;padding:9px 12px;border:1px solid #dfe6f1;border-radius:8px;background:#fff;color:var(--ink)!important;cursor:pointer}
.cm-active .cm-platform-option input:not(.admin-element-input):not(.el-input__inner){width:auto!important;margin:0}
.cm-active .cm-platform-warning{display:flex;align-items:center;gap:8px;flex-wrap:wrap;margin-top:10px;padding:10px 12px;border:1px solid #f1d4a2;border-radius:8px;background:#fff8eb;color:#8b5d23;font-size:12px;line-height:1.5}
.cm-active .cm-platform-warning span{flex:1 1 260px}

/* 层级卡片：用分组和导线表达“一级 → 二级”，避免所有文字挤在同一层。 */
.cm-active .cm-tree{padding-bottom:14px;background:#fff}
.cm-active .cm-cat{margin:10px 10px 0;border:1px solid #e3e9f8;border-radius:10px;background:#fbfcff;padding:12px 12px;grid-template-columns:18px minmax(0,1fr) auto;}
.cm-active .cm-cat:first-of-type{margin-top:12px}
.cm-active .cm-cat b{font-size:13px;font-weight:750}
.cm-active .cm-cat small{display:flex;align-items:center;gap:7px;font-size:10px}
.cm-active .cm-cat small:before, .cm-active .cm-sub small:before{content:"";display:inline-block;width:5px;height:5px;border-radius:50%;background:#b8c4d9}
.cm-active .cm-cat.sel{border-color:#cfdcff;background:#eef2ff;box-shadow:0 4px 10px rgba(59,108,255,.08)}
.cm-active .cm-cat.sel small:before{background:var(--blue)}
.cm-active .cm-sub{margin:0 10px 0 27px;padding:10px 12px 10px 24px;border-left:2px solid #e3e9f8;border-radius:0 8px 8px 0;grid-template-columns:14px minmax(0,1fr);font-size:12px;position:relative}
.cm-active .cm-sub:before{content:"";position:absolute;left:-5px;top:50%;width:8px;height:8px;border-radius:50%;background:#c8d3e5;border:2px solid #fff;transform:translateY(-50%)}
.cm-active .cm-sub.sel{border-left-color:var(--blue);background:#f5f8ff;color:var(--blue);font-weight:650}
.cm-active .cm-sub.sel:before{background:var(--blue)}
.cm-active .cm-sub small{display:flex;align-items:center;gap:5px;font-size:10px}
.cm-active .cm-sub small:before{width:4px;height:4px;background:#b8c4d9}
.cm-active .cm-cat{grid-template-columns:18px minmax(0,1fr) auto auto;column-gap:8px}
.cm-active .cm-cat .cm-cat-sub-add{grid-column:3;grid-row:1;line-height:1;white-space:nowrap}
.cm-active .cm-cat .cm-edit-cat{grid-column:4;grid-row:1;white-space:nowrap}
.cm-active .cm-cat [data-cm="cat-detail"]{grid-column:4;grid-row:1;border:0;background:transparent;color:var(--blue);padding:5px 2px;font-size:11px;white-space:nowrap}
.pa-avatar{width:56px;height:56px;border-radius:12px;object-fit:contain;background:#f3f6ff;border:1px solid #e4eafa}
.pa-search{padding:0 24px 20px}
.pa-upload{margin-top:10px}.pa-upload .cm-upload-preview{width:88px;height:88px;flex:0 0 88px}.pa-upload img{width:100%;height:100%;object-fit:contain;border-radius:10px}
.pa-required{font-size:11px;color:#8b98af;margin-left:8px}.pa-error{color:#d64747;font-size:13px;min-height:20px}.pa-warning{padding:12px 16px;background:#fff7eb;border:1px solid #f4d9ad;border-radius:10px;color:#8d5b22;line-height:1.8}.pa-warning p{margin:4px 0}
.pa-ref-title{font-size:14px;margin:20px 0 10px}.pa-ref-list{border:1px solid #e1e8f5;border-radius:10px;max-height:250px;overflow:auto}.pa-ref-list>div{display:grid;gap:5px;padding:13px 16px;border-bottom:1px solid #e8edf6}.pa-ref-list>div:last-child{border-bottom:0}.pa-ref-list span, .pa-ref-list small{font-size:12px;color:#70819e}.pa-log{max-width:320px;word-break:break-word;font-size:12px}
.pa-panel>.cm-detail-head{padding:22px 24px 18px}.pa-panel>.cm-detail-head h2{margin:0 0 8px}.pa-panel>.cm-detail-head p{margin:0;color:#70819e;font-size:13px}
.cm-active .cm-upload.pa-upload{grid-template-columns:88px minmax(0,1fr) auto}
.cm-active .pa-audio-upload{grid-template-columns:64px minmax(0,1fr) auto}.cm-active .pa-audio-upload .cm-upload-preview{width:64px;height:64px;font-size:24px}.cm-active .pa-audio-upload audio{display:block;width:min(100%,320px);height:30px;margin-top:6px}.cm-active .pa-audio-upload audio[hidden]{display:none}

/* 生产接口适配：保留最终原型布局，并让原型模态框可作为原生 dialog 使用。 */
.cm-active .cm-upload-preview img{width:100%;height:100%;object-fit:cover}
.cm-active .cm-upload-preview img[hidden], .cm-active .cm-upload-preview span[hidden]{display:none}
.cm-active .pa-avatar:not(img){display:grid;place-items:center;color:#6c89ee}
.cm-active .pa-panel{overflow:hidden}
.cm-active .cm-sub-empty{padding:14px 28px;color:var(--muted);font-size:11px}
.cm-active .table-wrap{width:100%;max-width:100%}
.cm-active .split-content>.panel:last-child .panel-body{display:grid;gap:14px;align-content:start}
.cm-active .split-content>.panel:last-child .panel-body>label{display:flex;flex-direction:column;gap:7px;color:var(--ink);font-size:12px}
.cm-active .split-content>.panel:last-child .panel-body input:not(.admin-element-input):not(.el-input__inner){width:100%;box-sizing:border-box}
.cm-active .cm-status{white-space:nowrap}
/* 页面只调整内容布局；共享外壳由 admin-shell.css 管理。 */
@media (min-width:701px) and (max-width:1400px){
  body.cm-active .cm-layout{grid-template-columns:minmax(250px,28%) minmax(0,1fr);gap:14px}
  body.cm-active .cm-tree{width:auto}
}
@media (min-width:701px) and (max-width:1100px){
  body.cm-active .cm-layout{grid-template-columns:minmax(0,1fr)}
  body.cm-active .cm-tree{width:100%}
}
@media (max-width:900px){
  body.cm-active .cm-detail-head{flex-direction:column}
  body.cm-active .cm-detail-head .actions{width:100%;flex-wrap:wrap;white-space:normal}
  body.cm-active .cm-global-search{flex-wrap:wrap}
  body.cm-active .cm-global-search input:not(.admin-element-input):not(.el-input__inner){width:min(100%,360px)}
}

/* 内容库的工作台版式：分类树负责定位，右侧只承载当前分类的工作内容。 */
.cm-active .cm-library-toolbar{display:flex;align-items:center;justify-content:space-between;gap:18px;min-height:64px;padding:12px 16px;border-radius:13px;background:linear-gradient(110deg,#fff 0%,#fbfcff 100%)}
.cm-search-scope{color:var(--muted);font-size:10px;white-space:nowrap;align-self:center}
.cm-active .cm-library-tools{display:flex;align-items:center;gap:8px;padding-left:16px;border-left:1px solid #e7edf6}
.cm-active .cm-layout{grid-template-columns:minmax(290px,320px) minmax(0,1fr);gap:20px}
.cm-active .cm-tree{grid-auto-rows:max-content;align-content:start;padding:12px;background:#fbfcff;border-color:#e1e8f4;box-shadow:0 12px 28px rgba(42,61,93,.055)}
.cm-active .cm-tree-head{padding:5px 6px 13px;border-bottom:1px solid #e6edf7}
.cm-active .cm-tree-head b{font-size:14px;letter-spacing:.01em}
.cm-active .cm-tree-head>span{display:inline-flex;align-items:center;justify-content:flex-end;min-width:58px;min-height:30px}
.cm-active .cm-subcategory-filter{padding:10px 6px 2px}
.cm-active .cm-sub-search-empty{padding:26px 8px;text-align:center;color:#8a98ad;font-size:11px}
.cm-active .cm-tree-group{margin:10px 0 0;border:1px solid #e2e9f5;border-radius:11px;background:#fff;overflow:hidden}
.cm-active .cm-cat{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:8px;margin:0;padding:12px 12px 10px;border:0;border-radius:0;background:transparent;box-shadow:none}
.cm-active .cm-cat.sel{background:linear-gradient(125deg,#f0f4ff,#f8faff);box-shadow:inset 3px 0 0 var(--blue)}
.cm-active .cm-cat-name{display:grid;grid-template-columns:13px minmax(0,1fr);align-items:center;gap:7px;min-width:0}
.cm-active .cm-tree-caret{color:#7790bd;font-size:14px;line-height:1}
.cm-active .cm-cat b{overflow:hidden;font-size:13px;font-weight:760;line-height:1.35;text-overflow:ellipsis;white-space:nowrap}
.cm-active .cm-cat-actions{display:flex;align-items:center;gap:3px;min-width:0}
.cm-active .cm-cat-actions:empty{min-width:18px;min-height:24px}
.cm-active .cm-cat .cm-cat-sub-add, .cm-active .cm-cat .cm-edit-cat{position:static;grid-column:auto;grid-row:auto;margin:0;line-height:1.1;white-space:nowrap}
.cm-active .cm-cat-meta{grid-column:1/-1;display:flex;align-items:center;justify-content:space-between;gap:8px;min-width:0;padding-left:20px;color:#8290a7;font-size:10px}
.cm-active .cm-cat-meta>span:first-child{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.cm-active .cm-cat-meta .cm-status{flex:0 0 auto}
.cm-active .cm-sub-list{display:grid;gap:2px;margin:0;padding:6px 8px 8px 19px;border-top:1px solid #eef2f8}
.cm-active .cm-sub-list:before{display:none}
.cm-active .cm-sub{display:grid;grid-template-columns:9px minmax(0,1fr) auto;align-items:center;gap:8px;margin:0;padding:9px 8px;border:0;border-radius:8px;background:transparent;color:#465773}
.cm-active .cm-sub:before{display:none}
.cm-active .cm-sub.sel{border:0;background:#f1f5ff;color:#315be8;box-shadow:none}
.cm-active .cm-sub-dot{width:6px;height:6px;border-radius:50%;background:#bdc9dc;box-shadow:0 0 0 3px #f7f9fc}
.cm-active .cm-sub.sel .cm-sub-dot{background:var(--blue);box-shadow:0 0 0 3px #e6edff}
.cm-active .cm-sub-copy{min-width:0}
.cm-active .cm-sub-copy strong{display:block;overflow:hidden;font-size:12px;font-weight:650;line-height:1.35;text-overflow:ellipsis;white-space:nowrap}
.cm-active .cm-sub .cm-sub-copy small{display:block;margin:3px 0 0;overflow:hidden;color:#8593aa;font-size:10px;line-height:1.3;text-overflow:ellipsis;white-space:nowrap}
.cm-active .cm-sub .cm-sub-copy small:before{display:none}
.cm-active .cm-sub>.cm-status{justify-self:end;white-space:nowrap}
.cm-active .cm-sub-empty{padding:11px 8px 11px 20px;color:#93a0b4}
.cm-active .cm-detail{padding:0;overflow:hidden;border-color:#e1e8f4;box-shadow:0 12px 28px rgba(42,61,93,.055)}
.cm-active .cm-detail-head{align-items:center;gap:22px;margin:0;padding:19px 22px 16px}
.cm-active .cm-detail-head h2{margin:4px 0 6px;font-size:20px;line-height:1.25;letter-spacing:-.015em}
.cm-active .cm-detail-meta{display:flex;align-items:center;gap:0;max-width:740px;margin:0!important;color:#7e8da5!important}
.cm-active .cm-detail-meta span{min-width:0;padding:0 9px;border-left:1px solid #e2e9f3;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.cm-active .cm-detail-meta span:first-child{max-width:290px;padding-left:0;border-left:0}
.cm-active .cm-detail-head>.actions{align-items:center;justify-content:flex-end}
.cm-active .cm-detail>.table-wrap{width:100%!important;margin:0!important;border-top:1px solid #e9eef6}

.cm-active .cm-exploration-list{overflow:hidden;border-color:#e1e8f4;box-shadow:0 12px 28px rgba(42,61,93,.055)}
.cm-active .cm-exploration-list-head{padding:20px 22px 17px}
.cm-active .cm-list-entry{display:inline-flex;align-items:center;gap:4px;padding:7px 9px;border:1px solid #e1e8f4;border-radius:8px;background:#fafcff;color:#8290a5;font-size:11px;white-space:nowrap}
.cm-active .cm-exploration-list .table-wrap{border-top:1px solid #e9eef6}
@media (min-width:1101px){.cm-active .cm-tree{position:sticky;top:72px;max-height:calc(100vh - 96px);overflow-y:auto}}
@media (min-width:701px) and (max-width:1400px){.cm-active .cm-layout{grid-template-columns:minmax(270px,29%) minmax(0,1fr);gap:16px}.cm-active .cm-detail-head{align-items:flex-start}.cm-active .cm-detail-head>.actions{flex-wrap:wrap}}
@media (max-width:900px){.cm-active .cm-library-toolbar{align-items:stretch;flex-direction:column;gap:10px}.cm-active .cm-library-tools{justify-content:flex-end;padding:10px 0 0;border-top:1px solid #e7edf6;border-left:0}.cm-active .cm-detail-meta{flex-wrap:wrap;row-gap:5px}.cm-active .cm-detail-meta span{padding:0 7px}.cm-active .cm-detail-meta span:first-child{max-width:100%}.cm-active .cm-exploration-list-head .actions{align-items:flex-start}.cm-active .cm-list-entry{white-space:normal}}
@media (max-width:520px){.cm-active .cm-cat{grid-template-columns:1fr}.cm-active .cm-cat-actions{padding-left:20px}.cm-active .cm-cat-meta{padding-left:20px}.cm-active .cm-sub{grid-template-columns:8px minmax(0,1fr)}.cm-active .cm-sub>.cm-status{grid-column:2;justify-self:start}.cm-active .cm-detail-head{padding:17px}.cm-active .cm-list-entry{align-items:flex-start;flex-direction:column}}

/* 视频审核只定义内容布局，控件与弹窗滚动沿用公共实现。 */
.cm-video-package{min-width:0;line-height:1.6}
.cm-video-context,.cm-video-expression{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px 24px;margin:0}
.cm-video-context{padding-bottom:16px}
.cm-video-context div,.cm-video-expression div{min-width:0}
.cm-video-context dt,.cm-video-expression dt,.cm-video-note{color:var(--el-text-color-secondary)}
.cm-video-context dd,.cm-video-expression dd{margin:4px 0 0;overflow-wrap:anywhere;color:var(--el-text-color-primary)}
.cm-video-section{padding:16px 0;border-top:1px solid var(--el-border-color-light)}
.cm-video-section h3{margin:0 0 12px;font-size:var(--el-font-size-base);color:var(--el-text-color-primary)}
.cm-video-upload,.cm-video-status{display:flex;align-items:center;gap:12px}
.cm-video-upload{flex-wrap:wrap}
.cm-video-file{flex:1;min-width:100px;overflow-wrap:anywhere}
.cm-video-note{margin:8px 0 0;font-size:var(--el-font-size-extra-small);line-height:1.6;overflow-wrap:anywhere}
.cm-video-status{margin-top:12px}
.cm-video-status p{flex:1;min-width:0;margin:0;overflow-wrap:anywhere}
.cm-video-expression-wide{grid-column:1/-1}
.cm-video-source{margin:0;white-space:pre-wrap;overflow-wrap:anywhere;font:inherit;color:var(--el-text-color-primary)}
.cm-video-footer{display:flex;align-items:center;justify-content:space-between;flex:1;gap:16px;min-width:0;text-align:left}
.cm-video-review{flex:1;min-width:0}
.cm-video-confirm{display:flex;align-items:flex-start;gap:8px;line-height:1.6}
.cm-video-confirm admin-choice{flex:none}
.cm-video-confirm span{padding-top:5px;overflow-wrap:anywhere}
.cm-video-actions{display:flex;align-items:center;justify-content:flex-end;gap:12px;flex-wrap:wrap;flex:none}
@media(max-width:640px){.cm-video-footer{align-items:stretch;flex-direction:column;gap:12px}.cm-video-context,.cm-video-expression{grid-template-columns:minmax(0,1fr)}.cm-video-file{order:1;flex-basis:100%}}

/* 人像完整等比展示，覆盖通用封面的 cover 裁切规则。 */
.cm-active .pa-upload .cm-upload-preview img{object-fit:contain}

.cm-role-binding { display: grid; grid-template-columns: minmax(0,1fr) minmax(0,1fr); gap: 20px; padding: 16px 0; border-bottom: 1px solid #e2e8f0; align-items: center; }
.cm-role-binding details { margin-top: 6px; color: #64748b; font-size: 12px; }
.cm-role-binding .field-help { display: block; }
@media(max-width: 640px) { .cm-role-binding { grid-template-columns: 1fr; gap: 8px; } }
.cm-map-admin{min-width:0;color:var(--ink)}
.cm-map-admin-panel{background:#fff;border:1px solid var(--line);border-radius:13px;box-shadow:var(--shadow);overflow:hidden}
.cm-map-admin-toolbar, .cm-map-admin-section-head, .cm-map-admin-row-head, .cm-map-admin-actions{display:flex;align-items:center;justify-content:space-between;gap:12px}
.cm-map-admin-toolbar{padding:18px 20px;flex-wrap:wrap;border-bottom:1px solid var(--line)}
.cm-map-admin-filter{flex:1 1 340px;max-width:480px}
.cm-map-admin-toolbar h2{margin:0 0 4px;font-size:18px;line-height:1.3}


.cm-map-admin-table td strong{font-size:13px;font-weight:650;color:var(--ink)}
.cm-map-admin-id{font-family:monospace;font-size:11px;color:var(--muted);overflow-wrap:anywhere}
.cm-map-admin-empty{text-align:center;color:var(--muted);padding:42px!important}
.cm-map-admin-section{padding:20px 24px;border-bottom:1px solid var(--line)}
.cm-map-admin-section h3{margin:0 0 16px;font-size:14px}
.cm-map-admin-section-head h3{margin-bottom:0}
.cm-map-admin-fields{display:grid;gap:14px 16px}
.cm-map-admin-fields label{display:flex;flex-direction:column;gap:7px;min-width:0;color:var(--muted);font-size:12px}
.cm-map-admin-template-fields{grid-template-columns:repeat(2,minmax(0,1fr))}
.cm-map-admin-row{margin-top:16px;padding:16px;background:#f8faff;border:1px solid #e3e9f8;border-radius:8px}
.cm-map-admin-row-head{margin-bottom:14px;color:var(--ink);font-size:13px}
.cm-map-admin-model-fields, .cm-map-admin-node-fields{grid-template-columns:repeat(3,minmax(0,1fr))}
.cm-map-admin-wide{grid-column:1/-1}
.cm-map-admin-actions{justify-content:flex-end;padding:18px 24px}
@media(max-width:760px){.cm-map-admin-toolbar{align-items:stretch}.cm-map-admin-template-fields, .cm-map-admin-model-fields, .cm-map-admin-node-fields{grid-template-columns:1fr}.cm-map-admin-section{padding:18px 16px}}
