/* ============================
   DAULSEN 3D 管理后台样式
   ============================ */

:root {
  --bg-primary: #121212;
  --bg-secondary: #1a1a2e;
  --bg-card: #1e1e32;
  --bg-hover: #2a2a44;
  --bg-input: #252540;
  --border: #2e2e4a;
  --border-light: #3a3a5a;
  --text-primary: #e8e8f0;
  --text-secondary: #9898b0;
  --text-muted: #6a6a80;
  --accent: #6366f1;
  --accent-hover: #5558e6;
  --accent-light: rgba(99,102,241,0.15);
  --success: #22c55e;
  --warning: #eab308;
  --danger: #ef4444;
  --info: #3b82f6;
  --radius: 8px;
  --radius-sm: 4px;
  --shadow: 0 2px 12px rgba(0,0,0,0.3);
}

* { margin: 0; padding: 0; box-sizing: border-box; }

body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, "Noto Sans SC", sans-serif;
  background: var(--bg-primary);
  color: var(--text-primary);
  line-height: 1.5;
  min-height: 100vh;
}

input, select, button, textarea { font-family: inherit; font-size: 14px; }

/* ===== 登录页 ===== */
.login-overlay {
  position: fixed; inset: 0; z-index: 9999;
  display: flex; align-items: center; justify-content: center;
  background: linear-gradient(135deg, #0f0f1a 0%, #1a1a2e 50%, #0f0f1a 100%);
}

.login-box {
  width: 380px; padding: 40px 36px;
  background: var(--bg-card); border-radius: var(--radius);
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
}

.login-logo { text-align: center; margin-bottom: 32px; }
.login-logo h1 {
  font-size: 28px; font-weight: 800;
  background: linear-gradient(135deg, var(--accent), #a78bfa);
  -webkit-background-clip: text; -webkit-text-fill-color: transparent;
  background-clip: text;
  letter-spacing: 2px;
}
.login-logo p { color: var(--text-secondary); margin-top: 6px; font-size: 14px; }

.login-error {
  background: rgba(239,68,68,0.12); border: 1px solid rgba(239,68,68,0.3);
  color: #fca5a5; padding: 8px 12px; border-radius: var(--radius-sm);
  margin-bottom: 16px; font-size: 13px; display: none;
}
.login-error.visible { display: block; }

.login-field { margin-bottom: 20px; }
.login-field label {
  display: block; margin-bottom: 6px; font-size: 13px; color: var(--text-secondary);
}
.login-field input {
  width: 100%; padding: 10px 14px; border-radius: var(--radius-sm);
  border: 1px solid var(--border); background: var(--bg-input); color: var(--text-primary);
  outline: none; transition: border-color 0.2s;
}
.login-field input:focus { border-color: var(--accent); }
.login-field input::placeholder { color: var(--text-muted); }

.login-btn {
  width: 100%; padding: 11px; border: none; border-radius: var(--radius-sm);
  background: var(--accent); color: #fff; font-size: 15px; font-weight: 600;
  cursor: pointer; transition: background 0.2s;
}
.login-btn:hover { background: var(--accent-hover); }
.login-btn:disabled { opacity: 0.6; cursor: not-allowed; }

/* ===== 顶部栏 ===== */
.topbar {
  height: 56px; display: flex; align-items: center; justify-content: space-between;
  padding: 0 24px; background: var(--bg-secondary);
  border-bottom: 1px solid var(--border);
  position: sticky; top: 0; z-index: 100;
}

.topbar-brand { display: flex; align-items: center; gap: 10px; font-weight: 700; font-size: 16px; }
.topbar-icon { color: var(--accent); font-size: 20px; }
.topbar-right { display: flex; align-items: center; gap: 16px; }
.topbar-user { color: var(--text-secondary); font-size: 13px; }
.topbar-logout {
  padding: 6px 14px; border: 1px solid var(--border); border-radius: var(--radius-sm);
  background: transparent; color: var(--text-secondary); cursor: pointer; font-size: 12px;
  transition: all 0.2s;
}
.topbar-logout:hover { border-color: var(--danger); color: var(--danger); }

/* ===== 布局 ===== */
.layout { display: flex; min-height: calc(100vh - 56px); }

/* ===== 侧边栏 ===== */
.sidebar {
  width: 200px; background: var(--bg-secondary); border-right: 1px solid var(--border);
  min-height: calc(100vh - 56px); padding: 16px 0; flex-shrink: 0;
  display: flex; flex-direction: column;
}

.sidebar-nav { display: flex; flex: 1; min-height: 0; flex-direction: column; gap: 2px; }
.sidebar-nav-secondary {
  margin-top: auto; padding-top: 12px;
  border-top: 1px solid rgba(255,255,255,0.06);
}
.sidebar-nav-secondary .nav-item { color: var(--text-muted); }
.sidebar-nav-secondary .nav-item:hover { color: var(--text-primary); }
.sidebar-nav-secondary .nav-item.active { color: var(--accent); }
.sidebar-nav-secondary .nav-icon {
  min-width: 22px; font-size: 12px; font-weight: 700; letter-spacing: 0.02em;
}

.nav-item {
  display: flex; align-items: center; gap: 10px;
  padding: 11px 20px; border: none; background: transparent; color: var(--text-secondary);
  font-size: 14px; cursor: pointer; transition: all 0.15s;
  text-align: left; width: 100%;
}
.nav-item:hover { background: var(--bg-hover); color: var(--text-primary); }
.nav-item.active { background: var(--accent-light); color: var(--accent); border-right: 3px solid var(--accent); }
.nav-icon { font-size: 16px; }

/* ===== 主内容区 ===== */
.main-content {
  flex: 1; padding: 28px 32px; overflow-y: auto;
  background: var(--bg-primary);
}

.page-title { font-size: 22px; font-weight: 700; margin-bottom: 24px; }
.page-header { display: flex; align-items: center; justify-content: space-between; margin-bottom: 20px; flex-wrap: wrap; gap: 12px; }

.site-switcher { display: flex; gap: 0; border: 1px solid var(--border); border-radius: var(--radius); overflow: hidden; }
.site-switch-btn { padding: 6px 16px; border: none; background: var(--bg-input); color: var(--text-secondary); cursor: pointer; font-size: 13px; transition: all 0.2s; }
.site-switch-btn:first-child { border-right: 1px solid var(--border); }
.site-switch-btn:hover { background: var(--bg-hover); color: var(--text-primary); }
.site-switch-btn.active { background: var(--accent); color: #fff; }
.site-switcher { display: flex; gap: 4px; background: rgba(255,255,255,0.05); border-radius: 8px; padding: 3px; }
.site-switch-btn { border-radius: 6px; border: none; color: rgba(255,255,255,0.5); background: transparent; font-size: 12px; font-weight: 600; padding: 6px 12px; cursor: pointer; transition: all 0.15s; }
.site-switch-btn.active { background: #6366f1; color: #fff; }
.site-switch-btn:hover:not(.active) { color: rgba(255,255,255,0.8); }

.tab-panel { display: none; }
.tab-panel.active { display: block; }

/* ===== 统计卡片 ===== */
.stats-grid {
  display: grid; grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
  gap: 16px; margin-bottom: 24px;
}

.stat-card {
  padding: 24px 20px; border-radius: var(--radius); border: 1px solid var(--border);
  background: var(--bg-card); text-align: center;
}
.stat-card.stat-users { border-left: 3px solid var(--info); }
.stat-card.stat-keys { border-left: 3px solid var(--accent); }
.stat-card.stat-active { border-left: 3px solid var(--success); }
.stat-card.stat-trial { border-left: 3px solid var(--warning); }
.stat-card.stat-paid { border-left: 3px solid #a78bfa; }

.stat-number { font-size: 32px; font-weight: 800; margin-bottom: 4px; }
.stat-users .stat-number { color: var(--info); }
.stat-keys .stat-number { color: var(--accent); }
.stat-active .stat-number { color: var(--success); }
.stat-trial .stat-number { color: var(--warning); }
.stat-paid .stat-number { color: #a78bfa; }
.stat-label { font-size: 13px; color: var(--text-secondary); }

/* 财务卡片 */
.stat-revenue-total .stat-number { color: #f59e0b; }
.stat-revenue-month .stat-number { color: #10b981; }
.stat-revenue-today .stat-number { color: #3b82f6; }
.stat-orders-total .stat-number { color: var(--accent); }
.stat-orders-pending .stat-number { color: var(--warning); }

/* 增长与导出卡片 */
.stat-reg-today .stat-number { color: #34d399; }
.stat-reg-month .stat-number { color: #2dd4bf; }
.stat-export-today .stat-number { color: #f472b6; }
.stat-export-total .stat-number { color: #a78bfa; }
.stat-key-inactive .stat-number { color: #9ca3af; }
.stat-key-expired .stat-number { color: #f87171; }

/* 套餐分布卡片 */
.stat-plan-trial .stat-number { color: var(--warning); }
.stat-plan-monthly .stat-number { color: var(--accent); }
.stat-plan-quarterly .stat-number { color: #a78bfa; }
.stat-plan-yearly .stat-number { color: var(--info); }
.stat-plan-lifetime .stat-number { color: var(--success); }

/* 支付分析卡片 */
.stat-payment-count .stat-number { color: var(--info); }
.stat-payment-revenue .stat-number { color: #f59e0b; }

/* 左侧边框颜色 */
.stat-card.stat-revenue-total { border-left: 3px solid #f59e0b; }
.stat-card.stat-revenue-month { border-left: 3px solid #10b981; }
.stat-card.stat-revenue-today { border-left: 3px solid #3b82f6; }
.stat-card.stat-orders-total { border-left: 3px solid var(--accent); }
.stat-card.stat-orders-pending { border-left: 3px solid var(--warning); }
.stat-card.stat-reg-today { border-left: 3px solid #34d399; }
.stat-card.stat-reg-month { border-left: 3px solid #2dd4bf; }
.stat-card.stat-export-today { border-left: 3px solid #f472b6; }
.stat-card.stat-export-total { border-left: 3px solid #a78bfa; }
.stat-card.stat-key-inactive { border-left: 3px solid #9ca3af; }
.stat-card.stat-key-expired { border-left: 3px solid #f87171; }
.stat-card.stat-plan-trial { border-left: 3px solid var(--warning); }
.stat-card.stat-plan-monthly { border-left: 3px solid var(--accent); }
.stat-card.stat-plan-quarterly { border-left: 3px solid #a78bfa; }
.stat-card.stat-plan-yearly { border-left: 3px solid var(--info); }
.stat-card.stat-plan-lifetime { border-left: 3px solid var(--success); }
.stat-card.stat-payment-count { border-left: 3px solid var(--info); }
.stat-card.stat-payment-revenue { border-left: 3px solid #f59e0b; }

/* 区域标题 */
.section-title {
  font-size: 16px;
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: 14px;
  margin-top: 4px;
  padding-bottom: 8px;
  border-bottom: 1px solid var(--border);
}

/* 最近活动面板布局 */
.recent-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  margin-top: 4px;
}

.recent-panel {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
}

.recent-panel-title {
  font-size: 14px;
  font-weight: 600;
  padding: 14px 16px;
  background: var(--bg-secondary);
  border-bottom: 1px solid var(--border);
  color: var(--text-primary);
}

.recent-panel .table-wrapper {
  border: none;
  border-radius: 0;
}

.recent-panel .data-table th {
  font-size: 11px;
  padding: 8px 12px;
}

.recent-panel .data-table td {
  padding: 7px 12px;
  font-size: 12px;
}

@media (max-width: 1024px) {
  .recent-grid {
    grid-template-columns: 1fr;
  }
}

/* ===== 表格 ===== */
.table-wrapper {
  overflow-x: auto; border: 1px solid var(--border); border-radius: var(--radius);
  background: var(--bg-card);
}

.data-table { width: 100%; border-collapse: collapse; font-size: 13px; }
.data-table th {
  padding: 12px 14px; text-align: left; font-weight: 600; font-size: 12px;
  color: var(--text-secondary); background: var(--bg-secondary);
  border-bottom: 1px solid var(--border); white-space: nowrap; text-transform: uppercase; letter-spacing: 0.5px;
}
.data-table td {
  padding: 10px 14px; border-bottom: 1px solid var(--border-light);
  color: var(--text-primary);
}
.data-table tr:last-child td { border-bottom: none; }
.data-table tr:hover td { background: var(--bg-hover); }
.data-table .empty { text-align: center; color: var(--text-muted); padding: 40px; }

.muted-text {
  color: var(--text-muted);
  font-size: 12px;
  line-height: 1.45;
}

.export-task-hero {
  position: relative;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 18px;
  padding: 22px 24px;
  border: 1px solid rgba(99, 102, 241, 0.28);
  border-radius: 12px;
  background:
    linear-gradient(135deg, rgba(99, 102, 241, 0.18), rgba(34, 211, 238, 0.06) 48%, rgba(17, 17, 24, 0.86)),
    var(--bg-card);
  box-shadow: 0 18px 44px rgba(0, 0, 0, 0.28);
  overflow: hidden;
}

.export-task-hero::after {
  content: "";
  position: absolute;
  right: 26px;
  top: -52px;
  width: 210px;
  height: 210px;
  border: 1px solid rgba(99, 102, 241, 0.16);
  border-radius: 50%;
  background: radial-gradient(circle, rgba(99, 102, 241, 0.16), rgba(99, 102, 241, 0));
  pointer-events: none;
}

.export-task-eyebrow {
  color: #8ea0ff;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 8px;
}

.export-task-hero .page-title {
  margin-bottom: 6px;
  font-size: 28px;
}

.export-task-hero p {
  margin: 0;
  color: var(--text-secondary);
  font-size: 13px;
}

.export-task-controls {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  flex-wrap: wrap;
  gap: 10px;
}

.export-task-user-search {
  min-height: 40px;
  min-width: 260px;
}

.filter-select {
  min-height: 40px;
  padding: 0 36px 0 12px;
  border: 1px solid rgba(148, 163, 184, 0.18);
  border-radius: 8px;
  background: rgba(15, 23, 42, 0.78);
  color: var(--text-primary);
  outline: none;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.03);
}

.export-task-refresh {
  min-height: 40px;
  padding-inline: 18px;
}

.export-task-summary {
  display: grid;
  grid-template-columns: repeat(5, minmax(120px, 1fr));
  gap: 12px;
  margin: 0 0 18px;
}

#tabTaskCenter .export-task-summary {
  grid-template-columns: repeat(6, minmax(110px, 1fr));
}

.export-task-stat {
  position: relative;
  min-height: 92px;
  padding: 16px;
  border: 1px solid rgba(148, 163, 184, 0.13);
  border-radius: 12px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.055), rgba(255, 255, 255, 0.02)),
    var(--bg-card);
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.22);
  overflow: hidden;
}

.export-task-stat::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  width: 4px;
  height: 100%;
  background: #6366f1;
}

.export-task-stat.stat-queued::before { background: #eab308; }
.export-task-stat.stat-running::before { background: #8b5cf6; }
.export-task-stat.stat-done::before { background: #22c55e; }
.export-task-stat.stat-failed::before { background: #ef4444; }

.export-task-stat span {
  display: block;
  color: var(--text-secondary);
  font-size: 12px;
  font-weight: 700;
  margin-bottom: 12px;
}

.export-task-stat strong {
  color: var(--text-primary);
  font-size: 31px;
  line-height: 1;
  letter-spacing: 0;
}

.export-task-table-panel {
  border-radius: 12px;
  border-color: rgba(148, 163, 184, 0.12);
  background: rgba(30, 30, 50, 0.72);
  box-shadow: 0 16px 36px rgba(0, 0, 0, 0.24);
}

.export-task-table-panel .data-table th {
  background: rgba(18, 18, 34, 0.88);
  color: #aeb9df;
}

.export-task-table-panel .data-table td {
  padding-top: 14px;
  padding-bottom: 14px;
}

.export-task-file {
  max-width: 440px;
  overflow-wrap: anywhere;
}

.export-task-file strong {
  color: #f8fafc;
}

.order-countdown {
  display: inline-flex;
  align-items: center;
  min-height: 24px;
  padding: 3px 9px;
  border-radius: 999px;
  background: rgba(234, 179, 8, 0.14);
  color: #facc15;
  font-size: 12px;
  font-weight: 800;
}

.muted-text {
  color: var(--text-muted);
  font-size: 11px;
  line-height: 1.45;
  margin-top: 4px;
}

.data-table code {
  color: #cbd5e1;
  font-family: Consolas, Monaco, monospace;
  font-size: 11px;
  white-space: normal;
}

.audit-action-name {
  color: var(--text-primary);
  font-size: 13px;
  font-weight: 800;
  margin-bottom: 3px;
}

.audit-detail-list,
.task-result-summary {
  display: flex;
  flex-direction: column;
  gap: 6px;
  color: var(--text-secondary);
  font-size: 12px;
}

.audit-detail-list div,
.task-result-file {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 10px;
  border-bottom: 1px solid rgba(148, 163, 184, 0.08);
  padding-bottom: 5px;
}

.task-result-file {
  align-items: center;
}

.audit-detail-list div:last-child,
.task-result-file:last-child {
  border-bottom: none;
  padding-bottom: 0;
}

.audit-detail-list span,
.task-result-file span {
  color: #9aa6c7;
  flex: 0 0 auto;
}

.task-result-file span {
  flex: 0 1 auto;
  min-width: 0;
  overflow-wrap: anywhere;
}

.audit-detail-list strong,
.task-result-file em {
  color: #e5e7eb;
  font-style: normal;
  font-weight: 700;
  min-width: 0;
  overflow-wrap: anywhere;
  text-align: right;
}

.task-result-summary > strong {
  color: var(--text-primary);
  font-size: 12px;
}

.task-file-download {
  flex: 0 0 auto;
  border-color: rgba(96, 165, 250, 0.35);
  color: #bfdbfe;
}

.task-file-download:hover {
  border-color: #60a5fa;
  color: #eff6ff;
}

.task-file-download:disabled {
  opacity: 0.55;
  cursor: wait;
}

.task-credit-summary {
  display: flex;
  flex-direction: column;
  gap: 6px;
  min-width: 0;
  color: #b9c2dc;
  font-size: 12px;
}

.task-credit-head {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}

.task-credit-head strong {
  color: #f8fafc;
  font-size: 12px;
}

.task-credit-head span {
  color: #aab5d3;
}

.task-credit-head em {
  border-radius: 999px;
  background: rgba(148, 163, 184, 0.12);
  color: #dbe4ff;
  font-style: normal;
  font-weight: 800;
  padding: 2px 7px;
}

.task-credit-summary.is-matched .task-credit-head em,
.task-credit-summary.is-deducted .task-credit-head em {
  background: rgba(34, 197, 94, 0.16);
  color: #4ade80;
}

.task-credit-summary.is-pending .task-credit-head em {
  background: rgba(234, 179, 8, 0.16);
  color: #facc15;
}

.task-credit-summary.is-partial .task-credit-head em {
  background: rgba(239, 68, 68, 0.15);
  color: #f87171;
}

.task-credit-row {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 10px;
  border-bottom: 1px solid rgba(148, 163, 184, 0.08);
  padding-bottom: 5px;
}

.task-credit-row:last-child {
  border-bottom: none;
  padding-bottom: 0;
}

.task-credit-row span {
  color: #9aa6c7;
  min-width: 0;
  overflow-wrap: anywhere;
}

.task-credit-row em {
  color: #e5e7eb;
  flex: 0 0 auto;
  font-style: normal;
  font-weight: 800;
  text-align: right;
}

.task-credit-row.is-deducted em {
  color: #93c5fd;
}

.task-credit-more {
  color: #8793b7;
  font-size: 11px;
  font-weight: 700;
}

.export-task-state {
  min-height: 170px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 9px;
  color: var(--text-secondary);
  text-align: center;
}

.export-task-state::before {
  content: "";
  width: 42px;
  height: 42px;
  border-radius: 12px;
  border: 1px solid rgba(99, 102, 241, 0.28);
  background: linear-gradient(135deg, rgba(99,102,241,0.28), rgba(34,211,238,0.08));
}

.export-task-state strong {
  color: var(--text-primary);
  font-size: 15px;
}

.export-task-state span {
  color: var(--text-muted);
  font-size: 13px;
}

.export-task-state.is-error::before {
  border-color: rgba(239, 68, 68, 0.3);
  background: rgba(239, 68, 68, 0.12);
}

.export-task-state.is-error strong {
  color: #fca5a5;
}

/* 复选框列 */
.col-check { width: 40px; text-align: center; }
.col-check input[type="checkbox"] { width: 16px; height: 16px; cursor: pointer; accent-color: var(--accent); }

/* 状态徽章 */
.badge {
  display: inline-flex; align-items: center; justify-content: center; min-height: 20px; padding: 0 8px; border-radius: 10px; font-size: 11px; font-weight: 600; line-height: 1; text-align: center;
}
.badge-active { background: rgba(34,197,94,0.15); color: var(--success); }
.badge-inactive { background: rgba(156,163,175,0.15); color: #9ca3af; }
.badge-expired { background: rgba(239,68,68,0.15); color: var(--danger); }
.badge-pending { background: rgba(234,179,8,0.15); color: var(--warning); }
.badge-paid { background: rgba(34,197,94,0.15); color: var(--success); }
.badge-cancelled { background: rgba(156,163,175,0.15); color: #9ca3af; }
.badge-refunded { background: rgba(239,68,68,0.15); color: var(--danger); }

/* 套餐标签 */
.plan-tag {
  display: inline-flex; align-items: center; justify-content: center; min-height: 20px; padding: 0 8px; border-radius: 4px; font-size: 11px; font-weight: 600; line-height: 1; text-align: center;
}
.plan-trial { background: rgba(234,179,8,0.15); color: var(--warning); }
.plan-monthly { background: rgba(99,102,241,0.15); color: var(--accent); }
.plan-quarterly { background: rgba(167,139,250,0.15); color: #a78bfa; }
.plan-yearly { background: rgba(59,130,246,0.15); color: var(--info); }
.plan-lifetime { background: rgba(34,197,94,0.15); color: var(--success); }

/* ===== 批量操作栏 ===== */
.batch-bar {
  display: flex; align-items: center; gap: 12px;
  padding: 10px 16px; margin-bottom: 12px;
  background: var(--accent-light); border: 1px solid rgba(99,102,241,0.3);
  border-radius: var(--radius-sm);
  flex-wrap: wrap;
}
.batch-info { font-size: 13px; color: var(--accent); font-weight: 600; }
.batch-actions { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; flex: 1; }
.batch-actions select {
  padding: 6px 10px; border-radius: var(--radius-sm); border: 1px solid var(--border);
  background: var(--bg-input); color: var(--text-primary); outline: none;
  min-width: 110px;
}

/* ===== 搜索输入框 ===== */
.search-input {
  padding: 7px 12px; border-radius: var(--radius-sm); border: 1px solid var(--border);
  background: var(--bg-input); color: var(--text-primary); outline: none;
  min-width: 200px; transition: border-color 0.2s;
}
.search-input:focus { border-color: var(--accent); }
.search-input::placeholder { color: var(--text-muted); }

/* ===== 分页 ===== */
.pagination {
  display: flex; align-items: center; justify-content: center; gap: 6px;
  padding: 16px 0; flex-wrap: wrap;
}
.page-btn {
  padding: 6px 12px; border: 1px solid var(--border); border-radius: var(--radius-sm);
  background: var(--bg-card); color: var(--text-secondary); cursor: pointer; font-size: 13px;
  transition: all 0.15s;
}
.page-btn:hover { border-color: var(--accent); color: var(--accent); }
.page-btn.active { background: var(--accent); border-color: var(--accent); color: #fff; }
.page-btn:disabled { opacity: 0.4; cursor: not-allowed; }
.page-info { color: var(--text-muted); font-size: 13px; margin: 0 8px; }

/* ===== 筛选栏 ===== */
.filter-bar {
  display: flex; align-items: center; gap: 8px; flex-wrap: wrap;
}
.filter-bar select,
.filter-bar input {
  padding: 7px 10px; border-radius: var(--radius-sm); border: 1px solid var(--border);
  background: var(--bg-input); color: var(--text-primary); outline: none;
  min-width: 120px;
}
.filter-bar select:focus,
.filter-bar input:focus { border-color: var(--accent); }

/* ===== 按钮 ===== */
.btn {
  padding: 8px 18px; border: none; border-radius: var(--radius-sm); font-size: 13px; font-weight: 600;
  cursor: pointer; transition: all 0.15s; display: inline-flex; align-items: center; gap: 6px;
}
.btn-primary { background: var(--accent); color: #fff; }
.btn-primary:hover { background: var(--accent-hover); }
.btn-primary:disabled { opacity: 0.5; cursor: not-allowed; }
.btn-secondary { background: rgba(99, 102, 241, 0.18); color: var(--text-primary); border: 1px solid rgba(99, 102, 241, 0.35); }
.btn-secondary:hover { background: rgba(99, 102, 241, 0.28); }
.btn-sm { padding: 6px 14px; font-size: 12px; }
.btn-outline { background: transparent; border: 1px solid var(--border); color: var(--text-secondary); }
.btn-outline:hover { border-color: var(--accent); color: var(--accent); }
.btn-danger { background: var(--danger); color: #fff; }
.btn-danger:hover { background: #dc2626; }
.btn-success { background: var(--success); color: #fff; }
.btn-success:hover { background: #16a34a; }
.btn-warning { background: var(--warning); color: #000; }
.btn-warning:hover { background: #d97706; }

/* ===== 操作按钮组 ===== */
.action-btns { display: flex; gap: 4px; flex-wrap: nowrap; }
.action-btn {
  padding: 3px 8px; border: 1px solid var(--border); border-radius: 3px;
  background: transparent; color: var(--text-secondary); cursor: pointer;
  font-size: 11px; transition: all 0.15s; white-space: nowrap;
}
.action-btn:hover { border-color: var(--accent); color: var(--accent); }
.action-btn-success:hover { border-color: var(--success); color: var(--success); }
.action-btn-danger:hover { border-color: var(--danger); color: var(--danger); }

/* ===== 生成密钥卡 ===== */
.generate-card {
  max-width: 480px; padding: 24px; background: var(--bg-card);
  border: 1px solid var(--border); border-radius: var(--radius);
  margin-bottom: 24px;
}
.generate-field { margin-bottom: 16px; }
.generate-field label {
  display: block; margin-bottom: 6px; font-size: 13px; color: var(--text-secondary);
  font-weight: 500;
}
.generate-field select, .generate-field input {
  width: 100%; padding: 9px 12px; border-radius: var(--radius-sm);
  border: 1px solid var(--border); background: var(--bg-input); color: var(--text-primary);
  outline: none; transition: border-color 0.2s;
}
.generate-field select:focus, .generate-field input:focus { border-color: var(--accent); }
.field-hint { display: block; margin-top: 4px; font-size: 12px; color: var(--text-muted); }

/* 生成结果 */
.gen-result {
  max-width: 640px; padding: 20px; background: var(--bg-card);
  border: 1px solid var(--border); border-radius: var(--radius);
}
.gen-result h3 { font-size: 16px; margin-bottom: 12px; }
.gen-summary { font-size: 14px; color: var(--success); margin-bottom: 12px; font-weight: 600; }
.gen-keys {
  background: var(--bg-primary); border: 1px solid var(--border);
  border-radius: var(--radius-sm); padding: 12px 16px; max-height: 300px; overflow-y: auto;
  font-family: "SF Mono", "Fira Code", "Consolas", monospace; font-size: 12px; line-height: 1.8;
  color: var(--text-secondary); margin-bottom: 16px;
}
.gen-keys .key-line { padding: 2px 0; white-space: nowrap; }
.gen-keys .key-line:hover { color: var(--text-primary); }
.gen-actions { display: flex; gap: 10px; }

/* ===== 加载动画 ===== */
.loading-dots::after {
  content: ''; animation: dots 1.5s steps(4, end) infinite;
}
@keyframes dots {
  0% { content: ''; }
  25% { content: '.'; }
  50% { content: '..'; }
  75% { content: '...'; }
  100% { content: ''; }
}

/* ===== 套餐管理弹窗 ===== */
.plan-form-overlay {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(3, 6, 18, 0.72);
  backdrop-filter: blur(10px);
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
}

.plan-form-modal {
  background: linear-gradient(180deg, #1b202b 0%, #171b24 100%);
  border: 1px solid rgba(148, 163, 184, 0.16);
  border-radius: 14px;
  width: 100%;
  max-width: 560px;
  max-height: 85vh;
  overflow-y: auto;
  box-shadow: 0 28px 90px rgba(0, 0, 0, 0.58), 0 0 0 1px rgba(255, 255, 255, 0.03) inset;
}

.plan-form-modal::-webkit-scrollbar {
  width: 6px;
}

.plan-form-modal::-webkit-scrollbar-thumb {
  background: #333;
  border-radius: 3px;
}

.plan-form-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 22px 28px 14px;
  border-bottom: 1px solid rgba(148, 163, 184, 0.1);
}

.plan-form-header h3 {
  margin: 0;
  font-size: 19px;
  font-weight: 700;
  color: #f4f7fb;
  letter-spacing: 0;
}

.plan-form-close {
  width: 32px;
  height: 32px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: rgba(148, 163, 184, 0.08);
  border: 1px solid rgba(148, 163, 184, 0.12);
  border-radius: 8px;
  color: #9ca3af;
  font-size: 22px;
  cursor: pointer;
  padding: 0;
  line-height: 1;
  transition: all 0.15s;
}

.plan-form-close:hover {
  color: #fff;
  background: rgba(239, 68, 68, 0.14);
  border-color: rgba(239, 68, 68, 0.32);
}

.plan-form-body {
  padding: 22px 28px 26px;
}

.plan-form-field {
  margin-bottom: 18px;
}

.plan-form-field label {
  display: block;
  font-size: 12px;
  font-weight: 700;
  color: #aeb7c7;
  margin-bottom: 8px;
  letter-spacing: 0;
}

.plan-form-field .required {
  color: #e74c3c;
}

.plan-form-field input[type="text"],
.plan-form-field input[type="email"],
.plan-form-field input[type="password"],
.plan-form-field input[type="number"],
.plan-form-field select,
.plan-form-field textarea {
  width: 100%;
  min-height: 44px;
  padding: 10px 12px;
  background: #202632;
  border: 1px solid #303849;
  border-radius: 8px;
  color: #eef2f7;
  font-size: 14px;
  box-sizing: border-box;
  transition: border-color 0.18s, box-shadow 0.18s, background 0.18s;
}

.plan-form-field input[type="text"]:focus,
.plan-form-field input[type="email"]:focus,
.plan-form-field input[type="password"]:focus,
.plan-form-field input[type="number"]:focus,
.plan-form-field select:focus,
.plan-form-field textarea:focus {
  outline: none;
  border-color: #6ea8ff;
  background: #242b38;
  box-shadow: 0 0 0 3px rgba(110, 168, 255, 0.14);
}

.plan-form-field input::placeholder,
.plan-form-field textarea::placeholder {
  color: #687386;
}

.plan-form-field textarea {
  resize: vertical;
  min-height: 80px;
  font-family: inherit;
}

.plan-form-field .field-hint {
  display: block;
  font-size: 11px;
  color: #666;
  margin-top: 4px;
}

.plan-form-row {
  display: flex;
  gap: 16px;
}

.plan-form-row .plan-form-field {
  flex: 1;
}

.plan-form-footer {
  display: flex;
  justify-content: flex-end;
  gap: 10px;
  padding: 16px 24px 20px;
  border-top: 1px solid #2a2d35;
}

.plan-form-actions {
  display: flex;
  justify-content: flex-end;
  gap: 10px;
  padding-top: 6px;
}

.plan-form-actions .btn,
.plan-form-footer .btn {
  min-width: 84px;
  justify-content: center;
  border-radius: 8px;
}

.plan-features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 6px;
  margin-top: 6px;
}
.plan-features-grid label {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 13px;
  color: var(--text-secondary);
  cursor: pointer;
  padding: 6px 8px;
  border-radius: 6px;
  border: 1px solid var(--border-color);
  transition: border-color 0.15s;
}
.plan-features-grid label:hover { border-color: var(--accent-purple); }
.plan-features-grid label input[type="checkbox"] { accent-color: var(--accent-purple); }

.plan-form-message {
  display: none;
  margin: 0 24px 16px;
  padding: 8px 12px;
  border-radius: 6px;
  font-size: 13px;
}

.plan-form-message.success {
  display: block;
  background: rgba(46, 204, 113, 0.15);
  color: #2ecc71;
  border: 1px solid rgba(46, 204, 113, 0.3);
}

.plan-form-message.error {
  display: block;
  background: rgba(231, 76, 60, 0.15);
  color: #e74c3c;
  border: 1px solid rgba(231, 76, 60, 0.3);
}

/* ===== 沟通报价弹窗 ===== */
.plan-form-card.co-comm-card {
  width: min(1420px, calc(100vw - 180px));
  max-width: none;
  height: min(740px, calc(100vh - 126px));
  max-height: calc(100vh - 72px);
  display: flex;
  flex-direction: column;
  overflow: hidden;
  background: linear-gradient(180deg, #1b202b 0%, #171b24 100%);
  border: 1px solid rgba(148, 163, 184, 0.16);
  border-radius: 14px;
  box-shadow: 0 28px 90px rgba(0, 0, 0, 0.58), 0 0 0 1px rgba(255, 255, 255, 0.03) inset;
}
.co-comm-header { display: flex; align-items: center; gap: 12px; }
.co-comm-header-left { display: flex; align-items: center; gap: 8px; }
.co-comm-icon { font-size: 20px; }
.co-comm-header h3 { font-size: 16px; margin: 0; }
.co-comm-order-id { font-size: 12px; color: rgba(255,255,255,0.48); margin-left: 4px; margin-right: auto; background: rgba(255,255,255,0.06); padding: 2px 10px; border-radius: 99px; }
.co-comm-status { font-size: 12px; font-weight: 800; color: #c4b5fd; background: rgba(139,92,246,0.16); border: 1px solid rgba(139,92,246,0.28); padding: 5px 12px; border-radius: 99px; }
.co-comm-body {
  flex: 1 1 auto;
  min-height: 0;
  overflow: hidden;
  padding: 12px;
}
.co-comm-workspace {
  min-height: 0;
  height: 100%;
  display: grid;
  grid-template-columns: minmax(300px, 350px) minmax(0, 1fr);
  gap: 12px;
}
.co-comm-info-pane,
.co-comm-chat-pane {
  min-height: 0;
  padding: 14px;
  border-radius: 14px;
  border: 1px solid rgba(255,255,255,0.08);
  background: rgba(255,255,255,0.045);
}
.co-comm-info-pane {
  overflow-y: auto;
}
.co-comm-chat-pane {
  display: grid;
  grid-template-rows: minmax(0, 1fr) auto;
  gap: 10px;
  overflow: hidden;
}
.co-comm-thumb {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 148px;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  border-radius: 12px;
  border: 1px solid rgba(255,255,255,0.1);
  background:
    radial-gradient(circle at 50% 20%, rgba(139,92,246,0.16), transparent 38%),
    rgba(0,0,0,0.32);
  background-size: cover;
  background-position: center;
  color: rgba(255,255,255,0.3);
  font-size: 42px;
  font-weight: 900;
}
.co-comm-thumb.has-image span { display: none; }
.co-comm-info {
  margin-top: 12px;
  display: grid;
  gap: 6px;
}
.co-comm-info-title {
  color: rgba(255,255,255,0.92);
  font-size: 15px;
  font-weight: 900;
  word-break: break-word;
}
.co-comm-info-note {
  color: rgba(255,255,255,0.5);
  font-size: 11px;
  line-height: 1.45;
}
.co-comm-info-block {
  margin-top: 4px;
  padding: 10px;
  border-radius: 12px;
  background: rgba(0,0,0,0.16);
  border: 1px solid rgba(255,255,255,0.07);
}
.co-comm-info-row {
  display: grid;
  grid-template-columns: 90px minmax(0, 1fr);
  gap: 12px;
  padding: 7px 0;
  border-bottom: 1px solid rgba(255,255,255,0.06);
  color: rgba(255,255,255,0.72);
  font-size: 12px;
}
.co-comm-info-row:last-child { border-bottom: 0; }
.co-comm-info-row span:first-child { color: rgba(255,255,255,0.42); }
.co-comm-info-row strong {
  color: rgba(255,255,255,0.9);
  font-weight: 800;
  text-align: left;
  word-break: break-word;
}
.co-comm-section { margin-bottom: 8px; }
.co-comm-dialog {
  min-height: 0;
  display: grid;
  grid-template-rows: minmax(0, 1fr) auto;
  gap: 10px;
  padding: 14px;
  border-radius: 14px;
  border: 1px solid rgba(255,255,255,0.08);
  background: rgba(0,0,0,0.16);
  overflow: hidden;
}
.co-comm-compose {
  min-height: 0;
  padding: 12px 14px;
  border-radius: 14px;
  border: 1px solid rgba(255,255,255,0.08);
  background: rgba(0,0,0,0.16);
}
.co-comm-bottom-bar {
  display: grid;
  grid-template-columns: minmax(150px, 0.85fr) minmax(260px, 1.15fr) 150px 140px;
  grid-template-areas:
    "quote image send update"
    "preview preview preview preview"
    "message message message message";
  gap: 8px 12px;
  align-items: end;
}
.co-comm-bottom-bar .co-comm-row {
  display: contents;
}
.co-comm-bottom-bar .co-comm-row .co-comm-half:first-child {
  grid-area: quote;
}
.co-comm-bottom-bar .co-comm-row .co-comm-half:last-child {
  grid-area: image;
}
.co-comm-bottom-bar .co-comm-section {
  margin-bottom: 0;
  align-self: end;
}
.co-comm-bottom-bar .co-comm-footer {
  display: contents;
}
.co-comm-bottom-bar .co-comm-preview {
  grid-area: preview;
}
.co-comm-bottom-bar .plan-form-message {
  grid-area: message;
}
.co-comm-label { display: block; color: rgba(255,255,255,0.65); font-size: 12px; font-weight: 600; margin-bottom: 6px; letter-spacing: 0.3px; }
.co-comm-row { display: flex; gap: 12px; }
.co-comm-half { flex: 1; min-width: 0; }
.co-chat-thread {
  min-height: 0;
  overflow-y: auto;
  display: grid;
  align-content: start;
  gap: 10px;
  margin-bottom: 0;
  padding: 12px;
  border-radius: 14px;
  background: rgba(0,0,0,0.14);
  border: 1px solid rgba(255,255,255,0.07);
}
.co-comm-info-pane,
.co-chat-thread {
  scrollbar-width: thin;
  scrollbar-color: rgba(148, 163, 184, 0.34) rgba(15, 23, 42, 0.28);
}
.co-comm-info-pane::-webkit-scrollbar,
.co-chat-thread::-webkit-scrollbar {
  width: 8px;
}
.co-comm-info-pane::-webkit-scrollbar-track,
.co-chat-thread::-webkit-scrollbar-track {
  border-radius: 999px;
  background: rgba(15, 23, 42, 0.28);
}
.co-comm-info-pane::-webkit-scrollbar-thumb,
.co-chat-thread::-webkit-scrollbar-thumb {
  border-radius: 999px;
  border: 2px solid rgba(15, 23, 42, 0.28);
  background: rgba(148, 163, 184, 0.42);
}
.co-comm-info-pane::-webkit-scrollbar-thumb:hover,
.co-chat-thread::-webkit-scrollbar-thumb:hover {
  background: rgba(167, 139, 250, 0.62);
}
.co-chat-empty { color: rgba(255,255,255,0.35); font-size: 12px; }
.co-chat-message {
  display: grid;
  grid-template-columns: 34px minmax(0, 1fr);
  gap: 10px;
  max-width: min(560px, 78%);
}
.co-chat-message.is-designer {
  justify-self: end;
  grid-template-columns: minmax(0, 1fr) 34px;
}
.co-chat-avatar {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  font-weight: 900;
  color: #fff;
  background: linear-gradient(135deg, #8b5cf6, #4f46e5);
}
.co-chat-message.is-user .co-chat-avatar {
  background: linear-gradient(135deg, #0ea5e9, #2563eb);
}
.co-chat-message.is-designer .co-chat-avatar {
  grid-column: 2;
  background: linear-gradient(135deg, #8b5cf6, #4f46e5);
}
.co-chat-bubble {
  min-width: 0;
  padding: 10px 12px;
  border-radius: 12px;
  border: 1px solid rgba(255,255,255,0.09);
  background: rgba(255,255,255,0.06);
}
.co-chat-message.is-designer .co-chat-bubble {
  grid-column: 1;
  grid-row: 1;
  background: rgba(139,92,246,0.13);
  border-color: rgba(167,139,250,0.24);
}
.co-chat-message.is-user .co-chat-bubble {
  background: rgba(37,99,235,0.13);
  border-color: rgba(96,165,250,0.22);
}
.co-chat-head {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 6px;
  color: rgba(255,255,255,0.42);
  font-size: 11px;
  font-weight: 700;
}
.co-chat-role { color: rgba(255,255,255,0.75); }
.co-chat-text {
  margin: 0;
  color: rgba(255,255,255,0.86);
  font-size: 13px;
  line-height: 1.55;
  white-space: pre-wrap;
  word-break: break-word;
}
.co-chat-image {
  display: block;
  width: min(220px, 100%);
  max-height: 150px;
  object-fit: contain;
  margin-top: 10px;
  border-radius: 10px;
  background: rgba(0,0,0,0.3);
}
.co-comm-section textarea,
.co-comm-section input[type="number"],
.co-comm-section input[type="file"] {
  width: 100%; height: 44px; min-height: 44px; padding: 10px 12px; border-radius: 8px; border: 1px solid rgba(255,255,255,0.12);
  background: rgba(0,0,0,0.25); color: #fff; font-size: 13px; box-sizing: border-box;
  transition: border-color .15s;
}
.co-comm-text-section {
  margin-bottom: 0;
}
.co-comm-text-section textarea {
  resize: vertical;
  min-height: 86px;
  max-height: 140px;
}
.co-comm-bottom-bar textarea {
  min-height: 56px;
}
.co-comm-section textarea { resize: vertical; min-height: 76px; max-height: 130px; }
.co-comm-text-section textarea { min-height: 86px; max-height: 140px; }
.co-comm-section input:focus, .co-comm-section textarea:focus { border-color: rgba(139,92,246,0.6); outline: none; }
.co-comm-section input[type="file"] {
  padding: 5px 10px;
  cursor: pointer;
  color: rgba(255,255,255,0.58);
  line-height: 32px;
}
.co-comm-section input[type="file"]::file-selector-button {
  height: 32px;
  margin-right: 10px;
  padding: 0 14px;
  border: 1px solid rgba(139,92,246,0.36);
  border-radius: 8px;
  background: rgba(139,92,246,0.18);
  color: rgba(255,255,255,0.86);
  font-weight: 800;
  cursor: pointer;
  transition: background .15s, border-color .15s, transform .15s;
}
.co-comm-section input[type="file"]::file-selector-button:hover {
  background: rgba(139,92,246,0.28);
  border-color: rgba(167,139,250,0.55);
}
.co-comm-preview {
  display: grid;
  grid-template-columns: 118px minmax(0, 1fr);
  gap: 10px;
  align-items: center;
  margin-bottom: 10px;
  padding: 10px;
  border-radius: 12px;
  border: 1px solid rgba(255,255,255,0.1);
  background: rgba(0,0,0,0.18);
}
.co-comm-preview img {
  width: 118px;
  height: 72px;
  object-fit: contain;
  border-radius: 8px;
  background: rgba(0,0,0,0.35);
}
.co-comm-preview span {
  min-width: 0;
  color: rgba(255,255,255,0.62);
  font-size: 12px;
  font-weight: 700;
  word-break: break-word;
}
.co-comm-footer { display: flex; gap: 10px; justify-content: flex-end; align-items: stretch; padding: 0; margin: 0; border-top: 0; }
.co-comm-footer .btn {
  width: 100%;
  min-width: 0;
  height: 44px;
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  box-sizing: border-box;
  padding: 0 14px;
  font-size: 13px;
  line-height: 1;
  white-space: nowrap;
}
#coCommSendBtn {
  grid-area: send;
}
#coCommUpdateBtn {
  grid-area: update;
}

@media (max-width: 760px) {
  .plan-form-card.co-comm-card {
    width: calc(100vw - 24px);
    height: min(860px, calc(100vh - 48px));
    max-height: min(92vh, 920px);
  }

  .co-comm-workspace {
    grid-template-columns: 1fr;
    overflow-y: auto;
  }

  .co-comm-info-pane,
  .co-comm-chat-pane {
    overflow: visible;
  }

  .co-comm-row {
    flex-direction: column;
    gap: 0;
  }

  .co-comm-bottom-bar {
    grid-template-columns: 1fr;
    grid-template-areas:
      "quote"
      "image"
      "send"
      "update"
      "preview"
      "message";
  }

  .co-comm-section textarea {
    min-height: 120px;
  }

  .co-chat-message,
  .co-chat-message.is-designer {
    max-width: 100%;
  }

  .co-comm-preview {
    grid-template-columns: 1fr;
  }

  .co-comm-preview img {
    width: 100%;
  }
}

/* ===== 支付配置管理 ===== */
.payment-config-container {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.payment-config-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 10px;
  overflow: hidden;
  transition: box-shadow 0.2s;
}

.payment-config-card:hover {
  box-shadow: 0 2px 12px rgba(0,0,0,0.3);
}

.payment-config-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 16px 20px;
  background: var(--bg-secondary);
  border-bottom: 1px solid var(--border);
}

.payment-config-header-left {
  display: flex;
  align-items: center;
  gap: 12px;
}

.payment-config-icon {
  font-size: 24px;
  line-height: 1;
}

.payment-config-title {
  font-size: 16px;
  font-weight: 600;
  color: var(--text-primary);
}

.payment-config-desc {
  font-size: 12px;
  color: var(--text-muted);
  margin-top: 2px;
}

.payment-config-toggle {
  position: relative;
  display: inline-block;
  min-width: 44px;
  height: 24px;
}

.payment-config-toggle input {
  opacity: 0;
  width: 0;
  height: 0;
}

.payment-config-toggle .slider {
  position: absolute;
  cursor: pointer;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: var(--text-muted);
  transition: 0.3s;
  border-radius: 24px;
}

.payment-config-toggle .slider:before {
  position: absolute;
  content: '';
  height: 18px;
  width: 18px;
  left: 3px;
  bottom: 3px;
  background-color: white;
  transition: 0.3s;
  border-radius: 50%;
}

.payment-config-toggle input:checked + .slider {
  background-color: var(--success);
}

.payment-config-toggle input:checked + .slider:before {
  transform: translateX(20px);
}

.payment-config-body {
  padding: 20px;
}

.payment-config-fields {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.payment-config-fields .full-width {
  grid-column: 1 / -1;
}

.payment-config-field {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.payment-config-field label {
  font-size: 13px;
  font-weight: 500;
  color: var(--text-secondary);
}

.payment-config-field input,
.payment-config-field textarea {
  padding: 8px 12px;
  border: 1px solid var(--border);
  border-radius: 6px;
  font-size: 13px;
  font-family: 'Consolas', 'Monaco', monospace;
  transition: border-color 0.2s;
  background: var(--bg-input);
  color: var(--text-primary);
}

.payment-config-field input:focus,
.payment-config-field textarea:focus {
  outline: none;
  border-color: var(--accent);
  background: var(--bg-input);
}

.payment-config-field textarea {
  resize: vertical;
  min-height: 60px;
}

.payment-config-field .field-hint {
  font-size: 11px;
  color: var(--text-muted);
  font-family: sans-serif;
}

.payment-config-actions {
  display: flex;
  justify-content: flex-end;
  gap: 10px;
  margin-top: 16px;
  padding-top: 16px;
  border-top: 1px solid var(--border);
}

.payment-status-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 22px;
  padding: 0 10px;
  border-radius: 12px;
  font-size: 11px;
  font-weight: 500;
  line-height: 1;
  text-align: center;
}

.payment-status-badge.enabled {
  background: rgba(34,197,94,0.15);
  color: var(--success);
}

.payment-status-badge.disabled {
  background: rgba(156,163,175,0.15);
  color: var(--text-muted);
}

.payment-config-field input::placeholder,
.payment-config-field textarea::placeholder {
  color: var(--text-muted);
  opacity: 0.6;
}

/* ===== 客服管理 ===== */
.cs-config-container {
  max-width: 800px;
}

.cs-config-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 24px;
}

.cs-config-section {
  margin-bottom: 28px;
  padding-bottom: 28px;
  border-bottom: 1px solid var(--border);
}

.cs-config-section:last-child {
  margin-bottom: 0;
  padding-bottom: 0;
  border-bottom: none;
}

.cs-config-section h3 {
  font-size: 16px;
  font-weight: 600;
  color: var(--text-primary);
  margin: 0 0 6px 0;
}

.cs-config-desc {
  font-size: 13px;
  color: var(--text-muted);
  margin: 0 0 16px 0;
  line-height: 1.5;
}

.cs-qrcode-upload {
  display: flex;
  gap: 24px;
  align-items: flex-start;
}

.cs-qrcode-preview {
  width: 150px;
  height: 150px;
  border: 2px dashed var(--border);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  flex-shrink: 0;
  background: var(--bg-secondary);
}

.cs-qrcode-preview img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.cs-qrcode-placeholder {
  color: var(--text-muted);
  font-size: 14px;
  text-align: center;
}

.cs-qrcode-actions {
  flex: 1;
  min-width: 0;
}

.cs-form-field {
  margin-bottom: 12px;
}

.cs-form-field label {
  display: block;
  font-size: 13px;
  color: var(--text-secondary);
  margin-bottom: 4px;
  font-weight: 500;
}

.cs-input, .cs-textarea {
  width: 100%;
  padding: 10px 12px;
  border: 1px solid var(--border);
  border-radius: 8px;
  font-size: 14px;
  color: var(--text-primary);
  background: var(--bg-input);
  transition: border-color 0.2s;
  box-sizing: border-box;
}

.cs-input:focus, .cs-textarea:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(99, 102, 241, 0.15);
}

.cs-textarea {
  resize: vertical;
  min-height: 60px;
  font-family: inherit;
}

.cs-file-upload-group {
  display: flex;
  align-items: center;
  gap: 12px;
}

.cs-file-name {
  font-size: 12px;
  color: var(--text-muted);
  max-width: 200px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.cs-save-message {
  margin-top: 16px;
  padding: 10px 16px;
  border-radius: 8px;
  font-size: 14px;
  display: none;
}

.cs-save-message.success {
  display: block;
  background: rgba(34, 197, 94, 0.1);
  color: var(--success);
  border: 1px solid rgba(34, 197, 94, 0.3);
}

.cs-save-message.error {
  display: block;
  background: rgba(239, 68, 68, 0.1);
  color: var(--danger);
  border: 1px solid rgba(239, 68, 68, 0.3);
}

/* ===== 站点设置 - 富文本编辑器 ===== */
.site-editor-toolbar {
  display: flex;
  align-items: center;
  gap: 4px;
  padding: 8px 10px;
  background: var(--bg-secondary);
  border: 1px solid var(--border);
  border-bottom: none;
  border-radius: var(--radius-sm) var(--radius-sm) 0 0;
  flex-wrap: wrap;
}

.editor-btn {
  padding: 4px 10px;
  border: 1px solid transparent;
  border-radius: 3px;
  background: transparent;
  color: var(--text-secondary);
  cursor: pointer;
  font-size: 13px;
  transition: all 0.15s;
  min-width: 32px;
  text-align: center;
}

.editor-btn:hover {
  background: var(--bg-hover);
  color: var(--text-primary);
  border-color: var(--border-light);
}

.editor-sep {
  color: var(--border);
  font-size: 14px;
  margin: 0 2px;
  user-select: none;
}

.site-rich-editor {
  min-height: 120px;
  padding: 12px 14px;
  border: 1px solid var(--border);
  border-radius: 0 0 var(--radius-sm) var(--radius-sm);
  background: var(--bg-input);
  color: var(--text-primary);
  font-size: 14px;
  line-height: 1.6;
  outline: none;
  transition: border-color 0.2s;
  overflow-y: auto;
  cursor: text;
}

.site-rich-editor:focus {
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(99, 102, 241, 0.15);
}

.site-rich-editor[contenteditable="true"]:empty:before {
  content: attr(data-placeholder);
  color: var(--text-muted);
  pointer-events: none;
}

.site-rich-editor a {
  color: var(--accent);
  text-decoration: underline;
}

.site-rich-editor b, .site-rich-editor strong {
  font-weight: 700;
}

.site-rich-editor u {
  text-decoration: underline;
}

.user-form-modal {
  max-width: 560px;
}

.user-form-modal .plan-form-header {
  position: relative;
}

.user-form-modal .plan-form-header::before {
  content: '';
  width: 4px;
  height: 22px;
  border-radius: 999px;
  background: #22d3ee;
  margin-right: 10px;
}

.user-form-modal .plan-form-header h3 {
  flex: 1;
}

.user-form-modal .btn-primary {
  background: #6366f1;
  box-shadow: 0 10px 24px rgba(99, 102, 241, 0.24);
}

.user-form-modal .btn-primary:hover {
  background: #7477ff;
  transform: translateY(-1px);
}

.user-form-modal .btn-outline {
  background: rgba(148, 163, 184, 0.06);
  border-color: rgba(148, 163, 184, 0.16);
  color: #c7ceda;
}

.user-form-modal .btn-outline:hover {
  background: rgba(148, 163, 184, 0.11);
  border-color: rgba(148, 163, 184, 0.28);
  color: #fff;
}

.user-key-modal {
  max-width: min(1120px, calc(100vw - 40px));
}

.user-key-create {
  display: grid;
  grid-template-columns: 150px 130px minmax(180px, 1fr) 160px auto;
  gap: 8px;
  align-items: center;
  margin-bottom: 14px;
}

.user-key-create select,
.user-key-create input,
.user-key-table select,
.user-key-table input {
  width: 100%;
  padding: 7px 9px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border);
  background: var(--bg-input);
  color: var(--text-primary);
  outline: none;
  font-size: 12px;
}

.user-key-table-wrap {
  max-height: 56vh;
  overflow: auto;
}

.user-key-table th,
.user-key-table td {
  font-size: 12px;
  vertical-align: middle;
}

.user-key-table td:first-child {
  min-width: 190px;
}

@media (max-width: 900px) {
  .user-key-create {
    grid-template-columns: 1fr;
  }
}

/* ===== 响应式 ===== */
@media (max-width: 768px) {
  .sidebar { display: none; }
  .main-content { padding: 20px 16px; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .export-task-hero { align-items: stretch; flex-direction: column; padding: 18px; }
  .export-task-controls { width: 100%; flex-direction: column; align-items: stretch; }
  .export-task-user-search { width: 100%; min-width: 0; }
  .export-task-summary { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  #tabTaskCenter .export-task-summary { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .page-header { flex-direction: column; align-items: flex-start; }
  .filter-bar { width: 100%; }
  .filter-bar select { flex: 1; min-width: 0; }
  .data-table { font-size: 12px; }
  .data-table th, .data-table td { padding: 8px 10px; }
  .batch-bar { flex-direction: column; align-items: flex-start; }
  .batch-actions { width: 100%; }
}

/* ========== 积分配置卡片 ========== */
.credit-config-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 16px;
}

.credit-config-card {
  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(255,255,255,0.06);
  border-radius: 12px;
  padding: 20px;
  transition: all 0.2s;
}

.credit-config-card:hover {
  border-color: rgba(255,255,255,0.12);
  background: rgba(255,255,255,0.05);
}

.credit-config-card.disabled {
  opacity: 0.5;
}

.cc-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 8px;
}

.cc-key {
  font-family: 'Courier New', monospace;
  font-size: 12px;
  color: rgba(255,255,255,0.35);
  background: rgba(255,255,255,0.05);
  padding: 2px 8px;
  border-radius: 4px;
}

.cc-cost {
  font-size: 12px;
  font-weight: 700;
  color: #fff;
  padding: 3px 12px;
  border-radius: 99px;
}

.cc-name {
  display: block;
  font-size: 16px;
  font-weight: 600;
  color: #fff;
  margin-bottom: 16px;
}

.cc-actions {
  display: flex;
  align-items: flex-end;
  gap: 12px;
}

.cc-field {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.cc-field label {
  font-size: 11px;
  color: rgba(255,255,255,0.35);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.cc-field input[type="number"] {
  width: 72px;
  padding: 6px 10px;
  border-radius: 8px;
  border: 1px solid rgba(255,255,255,0.1);
  background: rgba(0,0,0,0.2);
  color: #fff;
  font-size: 14px;
  font-weight: 600;
  text-align: center;
  outline: none;
  transition: border-color 0.2s;
}

.cc-field input[type="number"]:focus {
  border-color: rgba(255,255,255,0.3);
}

.cc-save-btn {
  margin-left: auto;
  align-self: flex-end;
}

/* ========== 模型定制卡片 ========== */
.custom-orders-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}

@media (max-width: 1400px) { .custom-orders-grid { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 1000px) { .custom-orders-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 640px)  { .custom-orders-grid { grid-template-columns: 1fr; } }

.co-card {
  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(255,255,255,0.06);
  border-radius: 14px;
  padding: 0;
  transition: border-color 0.2s;
  display: flex;
  flex-direction: column;
  overflow: hidden;
}

.co-card:hover { border-color: rgba(255,255,255,0.12); }

.co-thumb {
  width: 100%;
  aspect-ratio: 3 / 2;
  background: rgba(0,0,0,0.3);
  background-size: cover;
  background-position: center;
  position: relative;
  overflow: hidden;
}

.co-thumb-fallback {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 28px;
  font-weight: 700;
  color: rgba(255,255,255,0.1);
}

.co-card-body {
  padding: 16px;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.co-card-top {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 8px;
  margin-bottom: 12px;
}

.co-id {
  font-family: 'Courier New', monospace;
  font-size: 10px;
  color: rgba(255,255,255,0.2);
  margin-right: 4px;
}

.co-user {
  font-size: 14px;
  font-weight: 600;
  color: #fff;
}

.co-status {
  font-size: 10px;
  font-weight: 600;
  color: #fff;
  padding: 3px 12px;
  border-radius: 99px;
  white-space: nowrap;
  flex-shrink: 0;
}

.co-params {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 6px 10px;
  margin-bottom: 10px;
  font-size: 11px;
  color: rgba(255,255,255,0.35);
}

.co-params span {
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.co-params b {
  color: rgba(255,255,255,0.75);
  margin-left: 2px;
  font-weight: 600;
}

.co-meta {
  display: flex;
  justify-content: space-between;
  font-size: 10px;
  color: rgba(255,255,255,0.2);
  padding-top: 10px;
  margin-top: auto;
  border-top: 1px solid rgba(255,255,255,0.04);
  margin-bottom: 12px;
}

.co-actions {
  display: flex;
  gap: 6px;
  align-items: center;
  flex-wrap: wrap;
}

.co-actions .btn-sm {
  padding: 5px 10px;
  border-radius: 6px;
  font-size: 11px;
  border: 1px solid rgba(255,255,255,0.1);
  background: rgba(255,255,255,0.06);
  color: rgba(255,255,255,0.7);
  cursor: pointer;
  text-decoration: none;
  white-space: nowrap;
  transition: background 0.2s;
}

.co-actions .btn-sm:hover { background: rgba(255,255,255,0.1); }

.co-actions .btn-sm.primary {
  background: rgba(22,119,255,0.12);
  border-color: rgba(22,119,255,0.25);
  color: #1677ff;
}

.co-actions select {
  padding: 5px 6px;
  border-radius: 6px;
  border: 1px solid rgba(255,255,255,0.1);
  background: rgba(0,0,0,0.2);
  color: #fff;
  font-size: 10px;
  cursor: pointer;
  margin-left: auto;
}

/* 教程弹窗 */
.modal-overlay { position: fixed; inset: 0; z-index: 9999; display: flex; align-items: center; justify-content: center; background: rgba(0,0,0,.6); }
.modal-dialog { background: #1a1a2e; border-radius: 10px; width: 92vw; max-height: 85vh; overflow-y: auto; box-shadow: 0 8px 40px rgba(0,0,0,.5); }
.modal-header { display: flex; justify-content: space-between; align-items: center; padding: 14px 18px; border-bottom: 1px solid #2a2a3a; }
.modal-header h3 { margin: 0; font-size: 16px; color: #fff; }
.modal-close { background: none; border: none; color: #aaa; font-size: 22px; cursor: pointer; }
.modal-body { padding: 14px 18px; }
.modal-footer { display: flex; justify-content: flex-end; gap: 8px; padding: 12px 18px; border-top: 1px solid #2a2a3a; }
.cs-form-field { margin-bottom: 10px; }
.cs-form-field label { display: block; font-size: 12px; color: #888; margin-bottom: 3px; }
.cs-input { width: 100%; background: #111; border: 1px solid #333; border-radius: 4px; color: #e0e0e0; padding: 6px 10px; font-size: 13px; box-sizing: border-box; }
.cs-input:focus { border-color: var(--accent); outline: none; }
select.cs-input { appearance: auto; }
.cs-file-upload-group { display: flex; align-items: center; gap: 8px; }
.cs-file-name { font-size: 11px; color: #888; }

/* 教程管理优化 */
.tutorial-admin-table {
  overflow: hidden;
  border-radius: 10px;
  border: 1px solid rgba(255,255,255,0.06);
}
.tutorial-admin-table th,
.tutorial-admin-table td {
  vertical-align: middle;
}
.tutorial-admin-thumb {
  width: 104px;
  aspect-ratio: 16/9;
  border-radius: 8px;
  overflow: hidden;
  background: linear-gradient(135deg, rgba(99,102,241,0.16), rgba(250,204,21,0.08));
  display: flex;
  align-items: center;
  justify-content: center;
  color: #facc15;
  font-weight: 900;
}
.tutorial-admin-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.tutorial-admin-title {
  color: #f8fafc;
  font-weight: 800;
  margin-bottom: 4px;
}
.tutorial-admin-sub {
  max-width: 420px;
  color: #81818f;
  font-size: 12px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.tutorial-source-badge,
.tutorial-status {
  display: inline-flex;
  align-items: center;
  min-height: 24px;
  padding: 0 9px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 800;
  border: 1px solid transparent;
}
.source-uploaded { color: #4ade80; background: rgba(34,197,94,0.12); border-color: rgba(34,197,94,0.22); }
.source-external { color: #60a5fa; background: rgba(59,130,246,0.12); border-color: rgba(59,130,246,0.22); }
.source-embed { color: #c4b5fd; background: rgba(139,92,246,0.14); border-color: rgba(139,92,246,0.26); }
.tutorial-status.is-active { color: #4ade80; background: rgba(34,197,94,0.12); }
.tutorial-status.is-hidden { color: #f87171; background: rgba(239,68,68,0.12); }
.tutorial-admin-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}
.tutorial-admin-actions .btn-xs {
  padding: 5px 8px;
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 7px;
  background: rgba(255,255,255,0.05);
  color: #d7d7e0;
}
.tutorial-admin-actions .btn-xs:hover { background: rgba(255,255,255,0.1); }
.tutorial-admin-actions .btn-xs.danger { color: #f87171; border-color: rgba(239,68,68,0.24); }
.tutorial-admin-empty {
  min-height: 160px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 8px;
  color: #8d8d99;
}
.tutorial-admin-empty strong { color: #f8fafc; font-size: 16px; }

.tutorial-admin-overlay {
  background: rgba(0,0,0,.72);
  backdrop-filter: blur(4px);
}
.tutorial-admin-dialog {
  width: min(1040px, 94vw);
  max-width: none;
  background: #191927;
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 14px;
  box-shadow: 0 24px 80px rgba(0,0,0,.55);
  overflow: hidden;
}
.tutorial-admin-header {
  min-height: 72px;
  background: rgba(255,255,255,0.02);
  padding: 20px 22px;
}
.tutorial-admin-header p {
  margin: 4px 0 0;
  color: #8d8d9a;
  font-size: 12px;
}
.tutorial-admin-body {
  max-height: min(68vh, 680px);
  overflow-y: auto;
  padding: 22px;
}
.tutorial-admin-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(360px, 0.92fr);
  gap: 22px;
}
.tutorial-form-column {
  padding: 18px;
  border: 1px solid rgba(255,255,255,0.06);
  border-radius: 12px;
  background: rgba(0,0,0,0.12);
}
.tutorial-source-column {
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.tutorial-form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}
.tutorial-field-label {
  display: block;
  margin-bottom: 7px;
  color: #9b9baa;
  font-size: 12px;
  font-weight: 700;
}
.tutorial-source-tabs {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 6px;
  padding: 4px;
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 10px;
  background: rgba(0,0,0,0.18);
  margin-bottom: 2px;
}
.tutorial-source-tab {
  min-height: 34px;
  border: none;
  border-radius: 8px;
  color: #a7a7b4;
  background: transparent;
  cursor: pointer;
  font-weight: 800;
}
.tutorial-source-tab.active {
  color: #fff;
  background: linear-gradient(135deg, rgba(99,102,241,0.95), rgba(124,58,237,0.9));
}
.tutorial-url-field textarea {
  min-height: 92px;
  resize: vertical;
}
.tutorial-help {
  margin: 6px 0 0;
  color: #777784;
  font-size: 11px;
}
.tutorial-dropzone {
  min-height: 104px;
  padding: 18px;
  border: 1px dashed rgba(255,255,255,0.18);
  border-radius: 12px;
  background: rgba(255,255,255,0.035);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  gap: 5px;
  cursor: pointer;
}
.tutorial-upload-field {
  margin-top: 0;
}
.tutorial-dropzone:hover {
  border-color: rgba(99,102,241,0.55);
  background: rgba(99,102,241,0.08);
}
.tutorial-dropzone input { display: none; }
.tutorial-dropzone-title {
  color: #f8fafc;
  font-weight: 900;
}
.tutorial-dropzone-desc {
  color: #8b8b99;
  font-size: 12px;
  word-break: break-all;
}
.tutorial-thumb-dropzone {
  min-height: 136px;
  align-items: center;
  text-align: center;
}
.tutorial-thumb-preview {
  width: 150px;
  aspect-ratio: 16/9;
  border-radius: 9px;
  background: rgba(0,0,0,0.28);
  background-size: cover;
  background-position: center;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #777;
  font-size: 12px;
}
.tutorial-check {
  align-self: end;
  min-height: 38px;
  display: flex;
  align-items: center;
  gap: 8px;
  color: #d4d4dd;
  font-size: 13px;
}
.tutorial-admin-footer {
  position: sticky;
  bottom: 0;
  background: #191927;
  padding: 14px 22px;
  border-top: 1px solid rgba(255,255,255,0.07);
}

@media (max-width: 980px) {
  .tutorial-admin-grid { grid-template-columns: 1fr; }
  .tutorial-form-row { grid-template-columns: 1fr; }
}

/* ===== 创意广场管理 ===== */
.page-subtitle {
  margin: 6px 0 0;
  color: var(--text-secondary);
  font-size: 13px;
}

.page-actions {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}

.creative-admin-grid {
  display: grid;
  grid-template-columns: minmax(360px, 0.85fr) minmax(560px, 1.65fr);
  gap: 16px;
  align-items: start;
  margin-top: 18px;
}

#creativeCreatorPanel {
  grid-column: 1;
  grid-row: 1;
}

#creativeSubmissionPanel {
  grid-column: 2;
  grid-row: 1;
}

#creativeProjectPanel {
  grid-column: 1 / -1;
  grid-row: 2;
}

.creative-admin-panel-full {
  grid-column: 1 / -1;
}

.creative-admin-panel {
  min-width: 0;
  border: 1px solid var(--border);
  border-radius: 8px;
  background: var(--bg-card);
  overflow: hidden;
}

.creative-admin-panel-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 14px 16px;
  border-bottom: 1px solid var(--border);
}

.creative-admin-panel-head h3 {
  margin: 0;
  color: var(--text-primary);
  font-size: 16px;
}

.creative-admin-panel-head span {
  color: var(--accent);
  font-weight: 900;
}

.creative-admin-panel-head p {
  margin: 5px 0 0;
  color: rgba(255,255,255,0.48);
  font-size: 12px;
  line-height: 1.5;
}

.creative-admin-head-actions {
  display: inline-flex;
  align-items: center;
  justify-content: flex-end;
  gap: 10px;
  padding: 6px;
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 12px;
  background: rgba(8,8,14,0.42);
  flex-wrap: wrap;
}

.creative-admin-filter {
  width: 152px;
  height: 40px;
  padding: 0 44px 0 12px;
  border-color: rgba(139,92,246,0.26);
  border-radius: 10px;
  background-color: rgba(10,10,18,0.86);
  background-image: url("data:image/svg+xml,%3Csvg width='14' height='14' viewBox='0 0 24 24' fill='none' stroke='%23f5f7ff' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
  background-position: right 16px center;
  background-repeat: no-repeat;
  background-size: 14px 14px;
  color: #f6f7ff;
  font-weight: 800;
  cursor: pointer;
  appearance: none;
  -webkit-appearance: none;
}

.creative-admin-count-badge {
  min-width: 36px;
  height: 40px;
  padding: 0 10px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(139,92,246,0.26);
  border-radius: 10px;
  background: rgba(10,10,18,0.86);
  box-sizing: border-box;
}

select.cs-input.creative-admin-filter {
  appearance: none;
  -webkit-appearance: none;
  -moz-appearance: none;
}

select.cs-input.creative-admin-filter::-ms-expand {
  display: none;
}

.creative-admin-table {
  margin: 0;
  width: 100%;
  min-width: 760px;
  table-layout: fixed;
}

.creative-admin-table th,
.creative-admin-table td {
  vertical-align: middle;
  white-space: normal;
  overflow: hidden;
}

.creative-admin-table .creative-admin-title,
.creative-admin-table .creative-admin-sub,
.creative-admin-table .creative-admin-note {
  white-space: normal;
  overflow-wrap: anywhere;
  word-break: break-word;
}

.creative-admin-table .creative-admin-title,
.creative-admin-table .creative-admin-sub {
  display: -webkit-box;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.creative-admin-table .creative-admin-title {
  -webkit-line-clamp: 2;
}

.creative-admin-table .creative-admin-sub {
  -webkit-line-clamp: 2;
}

.creative-admin-table-scroll {
  width: 100%;
  overflow-x: auto;
  overflow-y: hidden;
  scrollbar-color: rgba(139, 92, 246, 0.55) rgba(255,255,255,0.05);
  scrollbar-width: thin;
}

.creative-admin-table-scroll::-webkit-scrollbar {
  height: 8px;
}

.creative-admin-table-scroll::-webkit-scrollbar-track {
  background: rgba(255,255,255,0.04);
}

.creative-admin-table-scroll::-webkit-scrollbar-thumb {
  border-radius: 999px;
  background: rgba(139,92,246,0.56);
}

.creative-admin-table-creators {
  min-width: 0;
}

#creativeCreatorPanel .creative-admin-table-scroll {
  overflow-x: hidden;
}

.creative-admin-table-projects {
  min-width: 820px;
}

.creative-admin-table-submissions {
  min-width: 720px;
}

.creative-admin-table-creators th:nth-child(1),
.creative-admin-table-creators td:nth-child(1),
.creative-admin-table-projects th:nth-child(1),
.creative-admin-table-projects td:nth-child(1),
.creative-admin-table-submissions th:nth-child(1),
.creative-admin-table-submissions td:nth-child(1) {
  width: 86px;
}

.creative-admin-table-creators th:nth-child(1),
.creative-admin-table-creators td:nth-child(1) {
  width: 76px;
}

.creative-admin-table-creators th:nth-child(3),
.creative-admin-table-creators td:nth-child(3),
.creative-admin-table-projects th:nth-child(5),
.creative-admin-table-projects td:nth-child(5),
.creative-admin-table-submissions th:nth-child(4),
.creative-admin-table-submissions td:nth-child(4) {
  width: 120px;
}

.creative-admin-table-creators th:nth-child(3),
.creative-admin-table-creators td:nth-child(3) {
  width: 92px;
}

.creative-admin-table-creators th:nth-child(4),
.creative-admin-table-creators td:nth-child(4),
.creative-admin-table-projects th:nth-child(6),
.creative-admin-table-projects td:nth-child(6),
.creative-admin-table-submissions th:nth-child(5),
.creative-admin-table-submissions td:nth-child(5) {
  width: 190px;
}

.creative-admin-table-creators th:nth-child(4),
.creative-admin-table-creators td:nth-child(4) {
  width: 158px;
}

.creative-admin-table-projects th:nth-child(3),
.creative-admin-table-projects td:nth-child(3),
.creative-admin-table-projects th:nth-child(4),
.creative-admin-table-projects td:nth-child(4),
.creative-admin-table-submissions th:nth-child(3),
.creative-admin-table-submissions td:nth-child(3) {
  width: 150px;
}

.creative-admin-panel.is-collapsed .creative-admin-table-scroll {
  display: none;
}

.creative-admin-panel.is-collapsed .creative-admin-panel-head {
  border-bottom: none;
}

.creative-admin-collapse {
  height: 30px;
  padding: 0 12px;
  border: 1px solid rgba(139,92,246,0.34);
  border-radius: 8px;
  background: rgba(139,92,246,0.12);
  color: #d8ccff;
  font-size: 12px;
  font-weight: 800;
  line-height: 1;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.creative-admin-thumb,
.creative-admin-avatar {
  width: 62px;
  height: 46px;
  border-radius: 8px;
  background: rgba(255,255,255,0.05);
  background-size: cover;
  background-position: center;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #77778a;
  font-size: 12px;
  overflow: hidden;
}

.creative-admin-avatar {
  width: 42px;
  height: 42px;
  border-radius: 50%;
}

.creative-admin-title {
  color: #f8fafc;
  font-weight: 900;
  line-height: 1.35;
}

.creative-admin-sub {
  max-width: 100%;
  margin-top: 4px;
  color: var(--text-secondary);
  font-size: 12px;
  line-height: 1.4;
}

.creative-status-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 22px;
  padding: 0 8px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 800;
  line-height: 1;
  text-align: center;
}

.creative-status-badge.is-published,
.creative-status-badge.is-active {
  color: #4ade80;
  background: rgba(34,197,94,0.12);
}

.creative-status-badge.is-draft,
.creative-status-badge.is-hidden {
  color: #fbbf24;
  background: rgba(245,158,11,0.13);
}

.creative-status-badge.is-pending_review {
  background: rgba(250,204,21,0.15);
  color: #facc15;
}

.creative-status-badge.is-rejected {
  background: rgba(239,68,68,0.15);
  color: #fca5a5;
}

.creative-status-badge.is-user-submission {
  background: rgba(14,165,233,0.15);
  color: #7dd3fc;
}

.creative-status-badge.is-admin-created {
  background: rgba(139,92,246,0.16);
  color: #c4b5fd;
}

.creative-admin-actions {
  display: flex;
  align-items: center;
  gap: 6px;
  flex-wrap: wrap;
  min-width: 0;
}

.creative-admin-actions .btn-xs {
  min-height: 28px;
  padding: 0 9px;
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 6px;
  background: rgba(255,255,255,0.04);
  color: #c7c7d8;
  font-size: 12px;
  line-height: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

#creativeCreatorPanel .creative-admin-actions {
  gap: 4px;
}

#creativeCreatorPanel .creative-admin-actions .btn-xs {
  min-height: 26px;
  padding: 0 7px;
}

.creative-admin-actions .btn-xs.danger {
  color: #f87171;
  border-color: rgba(239,68,68,0.24);
}

.creative-admin-actions .btn-xs.success {
  color: #86efac;
  border-color: rgba(34,197,94,0.24);
  background: rgba(34,197,94,0.08);
}

.creative-admin-note {
  margin-top: 8px;
  padding: 8px 10px;
  border-radius: 8px;
  background: rgba(239,68,68,0.08);
  color: #fca5a5;
  font-size: 11px;
  line-height: 1.5;
}

.creative-admin-empty {
  padding: 32px 16px;
  color: var(--text-secondary);
  text-align: center;
}

.creative-admin-dialog {
  width: min(1040px, calc(100vw - 42px));
  max-height: min(800px, calc(100vh - 56px));
  max-width: calc(100vw - 42px);
  overflow: hidden;
}

.creative-admin-dialog-small {
  width: min(760px, calc(100vw - 42px));
}

.creative-admin-form {
  overflow-y: auto;
  overflow-x: hidden;
  scrollbar-color: rgba(139, 92, 246, 0.62) rgba(255,255,255,0.06);
  scrollbar-width: thin;
}

.creative-admin-form::-webkit-scrollbar {
  width: 8px;
}

.creative-admin-form::-webkit-scrollbar-track {
  background: rgba(255,255,255,0.05);
  border-radius: 999px;
}

.creative-admin-form::-webkit-scrollbar-thumb {
  border: 2px solid rgba(20,20,30,0.9);
  border-radius: 999px;
  background: linear-gradient(180deg, rgba(167,139,250,0.85), rgba(250,204,21,0.58));
}

.creative-project-form-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.06fr) minmax(330px, 0.94fr);
  gap: 18px;
}

.creative-creator-form-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(250px, 0.55fr);
  gap: 18px;
}

.creative-form-panel {
  min-width: 0;
  overflow: hidden;
  padding: 18px;
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 14px;
  background:
    linear-gradient(180deg, rgba(255,255,255,0.045), rgba(255,255,255,0.018)),
    rgba(12,12,20,0.28);
}

.creative-section-label {
  display: flex;
  align-items: center;
  gap: 9px;
  margin-bottom: 16px;
  color: #f2f2ff;
  font-size: 14px;
  font-weight: 900;
}

.creative-section-label::before {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #8b5cf6;
  box-shadow: 0 0 16px rgba(139,92,246,0.72);
  content: "";
}

.creative-upload-column {
  min-width: 0;
  overflow: hidden;
  padding: 18px;
  border: 1px solid rgba(255,255,255,0.07);
  border-radius: 14px;
  background: rgba(255,255,255,0.03);
}

.creative-upload-note {
  margin-top: 14px;
  padding: 10px 12px;
  border-radius: 8px;
  background: rgba(99,102,241,0.12);
  color: #c4b5fd;
  font-size: 12px;
  line-height: 1.5;
}

.creative-admin-overlay {
  padding: 24px;
  background: rgba(3, 3, 10, 0.74);
  backdrop-filter: blur(8px);
}

.creative-admin-dialog {
  border: 1px solid rgba(139, 92, 246, 0.34);
  border-radius: 18px;
  background:
    linear-gradient(180deg, rgba(255,255,255,0.045), rgba(255,255,255,0.012)),
    #19192b;
  box-shadow: 0 32px 90px rgba(0, 0, 0, 0.62);
}

.creative-admin-dialog .modal-header {
  align-items: flex-start;
  padding: 24px 28px 18px;
  border-bottom-color: rgba(255,255,255,0.08);
}

.creative-admin-dialog .modal-header h3 {
  font-size: 21px;
  line-height: 1.2;
}

.creative-admin-dialog .modal-header p {
  margin: 8px 0 0;
  color: var(--text-secondary);
  font-size: 13px;
  line-height: 1.5;
}

.creative-admin-dialog .modal-close {
  width: 34px;
  height: 34px;
  border-radius: 10px;
  color: #b8b8c8;
}

.creative-admin-dialog .modal-close:hover {
  background: rgba(255,255,255,0.08);
  color: #fff;
}

.creative-admin-dialog .modal-body {
  padding: 22px 28px 18px;
}

.creative-admin-dialog .modal-footer {
  padding: 18px 28px;
  border-top-color: rgba(255,255,255,0.08);
  background: rgba(10,10,18,0.22);
}

.creative-admin-dialog .cs-form-field {
  min-width: 0;
  margin-bottom: 16px;
}

.creative-admin-dialog .tutorial-form-row {
  align-items: end;
}

.creative-admin-dialog .tutorial-form-row .cs-form-field {
  margin-bottom: 0;
}

.creative-admin-dialog .cs-form-field label {
  margin-bottom: 7px;
  color: #b9bad0;
  font-size: 13px;
  font-weight: 700;
}

.creative-admin-dialog .required {
  color: #fb7185;
}

.creative-admin-dialog .cs-input,
.creative-admin-dialog .cs-textarea,
.creative-admin-dialog .cs-form-field textarea.cs-input,
.creative-admin-dialog .cs-form-field select.cs-input {
  min-height: 42px;
  padding: 10px 12px;
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 10px;
  background: rgba(8, 8, 14, 0.86);
  color: #f5f7ff;
  font-size: 14px;
  line-height: 1.45;
}

.creative-admin-dialog .cs-form-field textarea.cs-input,
.creative-admin-dialog .cs-textarea {
  min-height: 112px;
  resize: vertical;
}

.creative-admin-dialog .cs-input:focus,
.creative-admin-dialog .cs-textarea:focus,
.creative-admin-dialog .cs-form-field textarea.cs-input:focus,
.creative-admin-dialog .cs-form-field select.cs-input:focus {
  border-color: rgba(139, 92, 246, 0.86);
  outline: none;
  box-shadow: 0 0 0 3px rgba(139, 92, 246, 0.18);
}

.creative-admin-dialog .cs-input::placeholder,
.creative-admin-dialog .cs-textarea::placeholder {
  color: rgba(184,184,205,0.55);
}

.creative-file-input {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}

.creative-upload-card {
  position: relative;
  display: grid;
  grid-template-columns: 58px minmax(0, 1fr);
  grid-template-rows: auto auto;
  column-gap: 14px;
  row-gap: 5px;
  align-items: center;
  min-height: 86px;
  min-width: 0;
  margin-top: 12px;
  padding: 16px;
  border: 1px dashed rgba(139,92,246,0.42);
  border-radius: 14px;
  background:
    linear-gradient(135deg, rgba(139,92,246,0.13), rgba(255,255,255,0.025)),
    rgba(6,6,12,0.5);
  color: #e9e9ff;
  cursor: pointer;
  transition: border-color .18s, background .18s, transform .18s;
}

.creative-upload-card:hover {
  border-color: rgba(167,139,250,0.72);
  background:
    linear-gradient(135deg, rgba(139,92,246,0.19), rgba(255,255,255,0.035)),
    rgba(6,6,12,0.56);
  transform: translateY(-1px);
}

.creative-upload-card strong {
  min-width: 0;
  font-size: 14px;
  font-weight: 900;
  overflow-wrap: anywhere;
}

.creative-upload-card span:last-child {
  min-width: 0;
  color: #aeb0c9;
  font-size: 12px;
  line-height: 1.5;
  overflow-wrap: anywhere;
  word-break: break-word;
}

.creative-admin-preview-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 10px;
  min-width: 0;
  margin-top: 12px;
}

.creative-admin-preview-cell {
  position: relative;
  display: flex;
  min-width: 0;
  min-height: 0;
  aspect-ratio: 1 / 1;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  border: 1px dashed rgba(255,255,255,0.15);
  border-radius: 8px;
  background:
    linear-gradient(135deg, rgba(255,255,255,0.055), rgba(255,255,255,0.018)),
    rgba(0,0,0,0.18);
  color: rgba(255,255,255,0.28);
  font-size: 12px;
  font-weight: 900;
}

.creative-admin-preview-cell.has-image {
  border-style: solid;
  border-color: rgba(250,204,21,0.36);
  background: #0d0e12;
}

.creative-admin-preview-cell img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.creative-admin-preview-index {
  position: absolute;
  left: 50%;
  top: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 22px;
  height: 22px;
  padding: 0 6px;
  border-radius: 999px;
  background: rgba(0,0,0,0.58);
  color: #fff;
  font-size: 10px;
  line-height: 1;
  text-align: center;
  transform: translate(-50%, -50%);
}

.creative-admin-preview-cell.has-image .creative-admin-preview-index {
  left: 5px;
  top: 5px;
  min-width: 18px;
  height: 18px;
  padding: 0 5px;
  transform: none;
}

.creative-admin-preview-tools {
  position: absolute;
  inset: auto 5px 5px 5px;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 3px;
  opacity: 0;
  transform: translateY(4px);
  transition: opacity .16s ease, transform .16s ease;
}

.creative-admin-preview-cell.has-image:hover .creative-admin-preview-tools,
.creative-admin-preview-cell.has-image:focus-within .creative-admin-preview-tools {
  opacity: 1;
  transform: translateY(0);
}

.creative-admin-preview-tool {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 0;
  height: 22px;
  padding: 0;
  border: 1px solid rgba(255,255,255,0.16);
  border-radius: 6px;
  background: rgba(8,8,14,0.78);
  color: #f7f7ff;
  font-size: 11px;
  font-weight: 900;
  line-height: 1;
  text-align: center;
  cursor: pointer;
}

.creative-admin-preview-tool:hover:not(:disabled) {
  border-color: rgba(250,204,21,0.55);
  color: #facc15;
}

.creative-admin-preview-tool.is-danger {
  color: #fca5a5;
}

.creative-admin-preview-tool:disabled {
  opacity: 0.38;
  cursor: not-allowed;
}

.creative-upload-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  grid-row: 1 / span 2;
  width: 54px;
  height: 54px;
  border-radius: 14px;
  background: linear-gradient(135deg, #6d5dfc, #9f7aea);
  color: #fff;
  font-size: 13px;
  font-weight: 1000;
  box-shadow: 0 12px 26px rgba(109,93,252,0.26);
}

.creative-upload-card-package .creative-upload-icon {
  background: linear-gradient(135deg, #f59e0b, #ef4444);
  box-shadow: 0 12px 26px rgba(245,158,11,0.2);
}

.creative-upload-card-stl .creative-upload-icon {
  background: linear-gradient(135deg, #38bdf8, #6366f1);
  box-shadow: 0 12px 26px rgba(56,189,248,0.2);
}

.creative-upload-card-avatar .creative-upload-icon {
  border-radius: 50%;
}

.creative-avatar-preview {
  background-size: cover;
  background-position: center;
  overflow: hidden;
}

.creative-avatar-preview.has-image {
  color: transparent;
}

.creative-ratio-card {
  margin-bottom: 14px;
  padding: 14px 16px;
  border: 1px solid rgba(250,204,21,0.22);
  border-radius: 14px;
  background: linear-gradient(135deg, rgba(250,204,21,0.12), rgba(139,92,246,0.07));
}

.creative-ratio-card strong,
.creative-ratio-card span {
  display: block;
}

.creative-ratio-card strong {
  color: #fde68a;
  font-size: 13px;
  font-weight: 900;
}

.creative-ratio-card span {
  margin-top: 6px;
  color: #c8c4df;
  font-size: 12px;
  line-height: 1.6;
}

.creative-admin-dialog .tutorial-check {
  display: flex;
  align-items: center;
  gap: 8px;
  align-self: end;
  min-height: 42px;
  margin-top: 0;
  padding: 0 12px;
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 8px;
  background: rgba(255,255,255,0.04);
}

.creative-admin-dialog .creative-upload-column {
  padding: 18px;
  border-color: rgba(139, 92, 246, 0.18);
  border-radius: 14px;
  background:
    linear-gradient(180deg, rgba(255,255,255,0.045), rgba(255,255,255,0.018)),
    rgba(12,12,20,0.28);
}

.creative-submission-row-clickable {
  cursor: pointer;
}

.creative-submission-row-clickable:hover {
  background: rgba(139, 92, 246, 0.08);
}

.creative-submission-detail-dialog {
  width: min(1080px, calc(100vw - 42px));
}

.creative-submission-detail-body {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(330px, 0.95fr);
  gap: 18px;
}

.creative-submission-detail-gallery {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.creative-submission-detail-gallery img,
.creative-submission-detail-empty-image {
  width: 100%;
  aspect-ratio: 4 / 3;
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 12px;
  background:
    linear-gradient(135deg, rgba(255,255,255,0.055), rgba(255,255,255,0.018)),
    rgba(0,0,0,0.22);
  object-fit: cover;
}

.creative-submission-detail-empty-image {
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255,255,255,0.38);
  font-weight: 900;
}

.creative-submission-detail-file {
  margin-top: 14px;
  padding: 14px 16px;
  border: 1px solid rgba(250,204,21,0.18);
  border-radius: 12px;
  background: rgba(250,204,21,0.07);
  color: #f8fafc;
  line-height: 1.7;
  overflow-wrap: anywhere;
}

.creative-submission-detail-status {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 14px;
}

.creative-submission-detail-desc {
  min-height: 92px;
  padding: 14px;
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 12px;
  background: rgba(0,0,0,0.22);
  color: #e8e8f5;
  line-height: 1.7;
  white-space: pre-wrap;
  overflow-wrap: anywhere;
}

.creative-submission-detail-meta {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  margin-top: 14px;
}

.creative-submission-detail-meta-item {
  padding: 11px 12px;
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 10px;
  background: rgba(255,255,255,0.035);
  min-width: 0;
}

.creative-submission-detail-meta-label {
  display: block;
  color: #9fa0b8;
  font-size: 11px;
  font-weight: 800;
}

.creative-submission-detail-meta-value {
  display: block;
  margin-top: 5px;
  color: #f6f7ff;
  font-size: 13px;
  font-weight: 800;
  overflow-wrap: anywhere;
}

.creative-submission-detail-note {
  margin-top: 14px;
}

.creative-submission-detail-footer {
  gap: 10px;
}

.creative-submission-detail-footer .danger {
  border-color: rgba(248,113,113,0.28);
  background: rgba(127,29,29,0.35);
  color: #fecaca;
}

.creative-reject-overlay {
  z-index: 10020;
}

.creative-reject-dialog {
  width: min(520px, calc(100vw - 42px));
}

.creative-reject-body {
  display: grid;
  gap: 14px;
}

.creative-reject-target {
  padding: 12px 14px;
  border: 1px solid rgba(248,113,113,0.18);
  border-radius: 12px;
  background: rgba(127,29,29,0.2);
  color: #fecaca;
  font-size: 13px;
  font-weight: 800;
  line-height: 1.5;
  overflow-wrap: anywhere;
}

.creative-reject-field {
  display: block;
  margin-bottom: 0;
}

.creative-reject-field span {
  display: block;
  margin-bottom: 7px;
  color: #b9bad0;
  font-size: 13px;
  font-weight: 700;
}

.creative-reject-textarea {
  width: 100%;
  min-height: 128px;
  box-sizing: border-box;
}

@media (max-width: 1100px) {
  .creative-admin-grid {
    grid-template-columns: 1fr;
  }

  #creativeCreatorPanel,
  #creativeSubmissionPanel,
  #creativeProjectPanel {
    grid-column: 1;
    grid-row: auto;
  }

  .creative-project-form-grid,
  .creative-creator-form-grid,
  .creative-submission-detail-body {
    grid-template-columns: 1fr;
  }

  .creative-admin-dialog .tutorial-check {
    margin-top: 0;
  }

  .creative-admin-preview-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}
