/* ==========================================================================
   TKSwarm · Company Portal · White + Multicolor
   主白底 · 多彩按钮/标签/数字 · Aurora 轻渐变（对齐 New API 风格）
   ========================================================================== */

:root {
  --cx-ink: #0f172a;
  --cx-text: #475569;
  --cx-muted: #64748b;
  --cx-faint: #94a3b8;
  --cx-line: #eef2f6;
  --cx-line-soft: #f3f5f8;
  --cx-surface: #ffffff;
  --cx-surface-2: #fafbfc;
  --cx-surface-3: #f5f7fa;
  --cx-page: #ffffff;

  /* 主 CTA：天蓝 */
  --cx-accent: #3b9eff;
  --cx-accent-bright: #5eb0ff;
  --cx-accent-deep: #2b7fd9;
  --cx-accent-soft: #eef7ff;
  --cx-accent-ring: rgba(59, 158, 255, .22);

  /* 多彩色板 */
  --cx-violet: #8b5cf6;
  --cx-violet-soft: #f3e8ff;
  --cx-pink: #ec4899;
  --cx-pink-soft: #fce7f3;
  --cx-teal: #14b8a6;
  --cx-teal-soft: #ccfbf1;
  --cx-cyan: #06b6d4;
  --cx-cyan-soft: #cffafe;
  --cx-orange: #f97316;
  --cx-orange-soft: #ffedd5;
  --cx-amber: #f59e0b;
  --cx-amber-soft: #fef3c7;
  --cx-rose: #f43f5e;
  --cx-rose-soft: #ffe4e6;
  --cx-indigo: #6366f1;
  --cx-indigo-soft: #e0e7ff;
  --cx-emerald: #10b981;
  --cx-emerald-soft: #d1fae5;
  --cx-sky: #0ea5e9;
  --cx-sky-soft: #e0f2fe;

  --cx-danger: #e11d48;
  --cx-danger-soft: #fff1f2;
  --cx-warn: #ea580c;
  --cx-warn-soft: #fff7ed;
  --cx-ok: #059669;
  --cx-ok-soft: #ecfdf5;

  --cx-radius: 10px;
  --cx-radius-md: 12px;
  --cx-radius-lg: 16px;
  --cx-radius-xl: 20px;
  --cx-shadow-xs: 0 1px 2px rgba(15, 23, 42, .03);
  --cx-shadow: 0 1px 2px rgba(15, 23, 42, .03), 0 8px 24px rgba(15, 23, 42, .04);
  --cx-shadow-md: 0 12px 36px rgba(15, 23, 42, .07);
  --cx-shadow-lg: 0 24px 48px rgba(15, 23, 42, .10);
  --cx-ease: cubic-bezier(.22, 1, .36, 1);
  --cx-font: "Outfit", "Noto Sans SC", "PingFang SC", "Microsoft YaHei", sans-serif;
  --cx-font-mono: "JetBrains Mono", ui-monospace, Consolas, monospace;
  --cx-side-w: 240px;

  --el-color-primary: var(--cx-accent);
  --el-color-primary-light-3: #6bb3ff;
  --el-color-primary-light-5: #93c9ff;
  --el-color-primary-light-7: #bddcff;
  --el-color-primary-light-8: #d9ebff;
  --el-color-primary-light-9: var(--cx-accent-soft);
  --el-color-primary-dark-2: var(--cx-accent-deep);
  --el-color-success: var(--cx-ok);
  --el-color-warning: var(--cx-warn);
  --el-color-danger: var(--cx-danger);
  --el-text-color-primary: var(--cx-ink);
  --el-text-color-regular: var(--cx-text);
  --el-text-color-secondary: var(--cx-muted);
  --el-border-color: var(--cx-line);
  --el-border-color-light: var(--cx-line);
  --el-border-color-lighter: var(--cx-line-soft);
  --el-border-radius-base: var(--cx-radius);
  --el-font-family: var(--cx-font);
  --el-bg-color: var(--cx-surface);
  --el-bg-color-page: var(--cx-page);
  --el-fill-color-blank: var(--cx-surface);
  --el-fill-color-light: var(--cx-surface-2);
}

* { box-sizing: border-box; }
html, body, #app { height: 100%; margin: 0; }
html { color-scheme: light; }

.company-body {
  font-family: var(--cx-font);
  color: var(--cx-ink);
  letter-spacing: -.01em;
  -webkit-font-smoothing: antialiased;
  background: #ffffff;
  min-height: 100%;
  position: relative;
}
/* Aurora 多彩光斑 */
.company-body::before {
  content: '';
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  background:
    radial-gradient(720px 420px at 8% -4%, rgba(59, 158, 255, .18), transparent 60%),
    radial-gradient(640px 380px at 92% 6%, rgba(236, 72, 153, .12), transparent 58%),
    radial-gradient(560px 360px at 70% 100%, rgba(139, 92, 246, .10), transparent 55%),
    radial-gradient(480px 300px at 20% 85%, rgba(20, 184, 166, .10), transparent 50%);
}
.company-body::after {
  content: '';
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  opacity: .4;
  background-image:
    linear-gradient(rgba(15, 23, 42, .012) 1px, transparent 1px),
    linear-gradient(90deg, rgba(15, 23, 42, .012) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: radial-gradient(ellipse 80% 70% at 50% 20%, #000 18%, transparent 78%);
}
#app { position: relative; z-index: 1; min-height: 100%; }

/* ---------- Layout ---------- */
.layout {
  display: flex;
  min-height: 100vh;
}
.side {
  width: var(--cx-side-w);
  flex-shrink: 0;
  background: rgba(255, 255, 255, .82);
  backdrop-filter: blur(18px);
  border-right: 1px solid var(--cx-line);
  display: flex;
  flex-direction: column;
  padding: 18px 14px;
  position: sticky;
  top: 0;
  height: 100vh;
  z-index: 20;
}
.side-brand {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 8px 10px 18px;
  border-bottom: 1px solid var(--cx-line);
  margin-bottom: 14px;
}
.side-brand .brand-mark {
  width: 36px;
  height: 36px;
  border-radius: 12px;
  object-fit: cover;
  box-shadow: 0 0 0 2px #fff, 0 0 0 4px rgba(59, 158, 255, .35), 0 8px 16px rgba(236, 72, 153, .15);
}
.side-brand .brand-title {
  font-weight: 700;
  font-size: 15px;
  color: var(--cx-ink);
  letter-spacing: -.02em;
}
.side-brand .brand-sub {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .04em;
  margin-top: 2px;
  background: linear-gradient(90deg, #3b9eff, #8b5cf6, #ec4899);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.side-nav-label {
  font-size: 11px;
  font-weight: 600;
  color: var(--cx-faint);
  letter-spacing: .08em;
  text-transform: uppercase;
  padding: 4px 12px 10px;
}
.side .el-menu {
  border-right: none !important;
  background: transparent !important;
}
.side .el-menu-item {
  border-radius: 12px !important;
  margin: 3px 0 !important;
  height: 44px !important;
  color: var(--cx-text) !important;
}
.side .el-menu-item:hover {
  background: var(--cx-accent-soft) !important;
  color: var(--cx-accent-deep) !important;
}
.side .el-menu-item.is-active {
  background: linear-gradient(135deg, rgba(59, 158, 255, .12), rgba(139, 92, 246, .08)) !important;
  color: var(--cx-accent-deep) !important;
  font-weight: 650;
  box-shadow: inset 3px 0 0 var(--cx-accent);
}

.main-wrap {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
}
.topbar {
  height: 60px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 28px;
  background: rgba(255, 255, 255, .78);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--cx-line);
  position: sticky;
  top: 0;
  z-index: 15;
}
.topbar-title {
  font-size: 16px;
  font-weight: 700;
  color: var(--cx-ink);
  letter-spacing: -.02em;
}
.user-chip {
  display: flex;
  align-items: center;
  gap: 10px;
}
.user-chip-trigger {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  border: 1px solid var(--cx-line);
  background: #fff;
  border-radius: 999px;
  padding: 4px 12px 4px 4px;
  cursor: pointer;
  font: inherit;
  transition: border-color .2s var(--cx-ease), box-shadow .2s var(--cx-ease);
}
.user-chip-trigger:hover {
  border-color: rgba(59, 158, 255, .45);
  box-shadow: 0 4px 14px rgba(59, 158, 255, .12);
}
.user-chip-avatar {
  width: 32px;
  height: 32px;
  border-radius: 999px;
  background: linear-gradient(135deg, #3b9eff, #8b5cf6 50%, #ec4899);
  color: #fff;
  display: grid;
  place-items: center;
  font-weight: 700;
  font-size: 13px;
  box-shadow: 0 4px 12px rgba(59, 158, 255, .28);
}
.user-chip-name {
  font-size: 13px;
  font-weight: 600;
  color: var(--cx-text);
}
.user-chip-caret {
  color: var(--cx-faint);
  font-size: 12px;
}
.user-chip-dot {
  width: 8px;
  height: 8px;
  border-radius: 999px;
  background: #f43f5e;
  box-shadow: 0 0 0 2px #fff;
}
.user-dd-item {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-width: 132px;
}
.user-dd-item.is-danger { color: #e11d48; }
.user-dd-badge {
  margin-left: auto;
  min-width: 18px;
  height: 18px;
  padding: 0 5px;
  border-radius: 999px;
  background: #f43f5e;
  color: #fff;
  font-size: 11px;
  font-weight: 700;
  display: inline-grid;
  place-items: center;
}
.notice-list { display: grid; gap: 10px; }
.notice-card {
  border: 1px solid var(--cx-line);
  border-radius: 14px;
  padding: 12px 14px;
  background: #fff;
}
.notice-card.level-warn { border-color: rgba(249, 115, 22, .28); background: #fffaf5; }
.notice-card.level-success { border-color: rgba(16, 185, 129, .28); background: #f4fdf8; }
.notice-card.level-info { border-color: rgba(59, 158, 255, .22); background: #f7fbff; }
.notice-title { font-size: 14px; font-weight: 700; color: var(--cx-ink); }
.notice-body { margin-top: 6px; font-size: 13px; color: var(--cx-text); line-height: 1.55; }
.notice-time { margin-top: 8px; font-size: 11px; color: var(--cx-faint); }
.notice-empty {
  padding: 48px 12px;
  text-align: center;
  color: var(--cx-faint);
  font-size: 13px;
}
.content {
  padding: 24px 28px 40px;
  flex: 1;
}

/* ---------- Page primitives ---------- */
.page-view { animation: cxFade .35s var(--cx-ease); }
@keyframes cxFade {
  from { opacity: 0; transform: translateY(8px); }
  to { opacity: 1; transform: translateY(0); }
}
.page-head { margin-bottom: 20px; }
.page-head h1 {
  margin: 0 0 6px;
  font-size: 22px;
  font-weight: 750;
  letter-spacing: -.03em;
  color: var(--cx-ink);
}
.page-head h1 .grad {
  background: linear-gradient(90deg, #3b9eff, #8b5cf6);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.page-head p {
  margin: 0;
  font-size: 13.5px;
  color: var(--cx-muted);
}
.panel {
  background: #ffffff;
  border: 1px solid var(--cx-line);
  border-radius: var(--cx-radius-xl);
  box-shadow: var(--cx-shadow);
  padding: 18px 20px;
}
.panel-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 14px;
  gap: 12px;
}
.panel-head h3 {
  margin: 0;
  font-size: 15px;
  font-weight: 700;
  color: var(--cx-ink);
}
.page-toolbar {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
  margin-bottom: 14px;
}

/* 多彩统计卡 */
.stat-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
  margin-bottom: 18px;
}
.stat-grid-5 {
  grid-template-columns: repeat(5, minmax(0, 1fr));
}
.stat-card {
  position: relative;
  overflow: hidden;
  background: #ffffff;
  border: 1px solid var(--cx-line);
  border-radius: var(--cx-radius-xl);
  padding: 18px 20px;
  box-shadow: var(--cx-shadow);
  transition: transform .25s var(--cx-ease), box-shadow .25s var(--cx-ease);
}
.stat-card:hover {
  transform: translateY(-2px);
  box-shadow: var(--cx-shadow-md);
}
.stat-card::after {
  content: '';
  position: absolute;
  right: -18px;
  top: -18px;
  width: 90px;
  height: 90px;
  border-radius: 50%;
  pointer-events: none;
  opacity: .9;
}
.stat-card .label {
  font-size: 12px;
  font-weight: 650;
  letter-spacing: .02em;
}
.stat-card .value {
  margin-top: 8px;
  font-size: 28px;
  font-weight: 800;
  letter-spacing: -.04em;
  font-variant-numeric: tabular-nums;
}
.stat-card .hint {
  margin-top: 6px;
  font-size: 12px;
  color: var(--cx-faint);
}
.stat-card.tone-sky .label { color: #0284c7; }
.stat-card.tone-sky .value { color: #0ea5e9; }
.stat-card.tone-sky::after { background: radial-gradient(circle, rgba(14, 165, 233, .22), transparent 70%); }
.stat-card.tone-violet .label { color: #7c3aed; }
.stat-card.tone-violet .value { color: #8b5cf6; }
.stat-card.tone-violet::after { background: radial-gradient(circle, rgba(139, 92, 246, .22), transparent 70%); }
.stat-card.tone-pink .label { color: #db2777; }
.stat-card.tone-pink .value { color: #ec4899; }
.stat-card.tone-pink::after { background: radial-gradient(circle, rgba(236, 72, 153, .2), transparent 70%); }
.stat-card.tone-teal .label { color: #0f766e; }
.stat-card.tone-teal .value { color: #14b8a6; }
.stat-card.tone-teal::after { background: radial-gradient(circle, rgba(20, 184, 166, .22), transparent 70%); }
.stat-card.tone-orange .label { color: #c2410c; }
.stat-card.tone-orange .value { color: #f97316; }
.stat-card.tone-orange::after { background: radial-gradient(circle, rgba(249, 115, 22, .2), transparent 70%); }
.stat-card.tone-emerald .label { color: #047857; }
.stat-card.tone-emerald .value { color: #10b981; }
.stat-card.tone-emerald::after { background: radial-gradient(circle, rgba(16, 185, 129, .22), transparent 70%); }
.stat-card.tone-pink .label { color: #db2777; }
.stat-card.tone-pink .value { color: #ec4899; }
.stat-card.tone-pink::after { background: radial-gradient(circle, rgba(236, 72, 153, .2), transparent 70%); }

/* 兼容旧 class */
.stat-card.accent-a { /* sky */ }
.stat-card.accent-a .label { color: #0284c7; }
.stat-card.accent-a .value { color: #0ea5e9; }
.stat-card.accent-a::after { background: radial-gradient(circle, rgba(14, 165, 233, .22), transparent 70%); }
.stat-card.accent-b .label { color: #047857; }
.stat-card.accent-b .value { color: #10b981; }
.stat-card.accent-b::after { background: radial-gradient(circle, rgba(16, 185, 129, .22), transparent 70%); }
.stat-card.accent-c .label { color: #7c3aed; }
.stat-card.accent-c .value { color: #8b5cf6; }
.stat-card.accent-c::after { background: radial-gradient(circle, rgba(139, 92, 246, .22), transparent 70%); }
.stat-card.accent-d .label { color: #c2410c; }
.stat-card.accent-d .value { color: #f97316; }
.stat-card.accent-d::after { background: radial-gradient(circle, rgba(249, 115, 22, .2), transparent 70%); }

/* ---------- 多彩标签 / 药丸 ---------- */
.pill-row { display: flex; flex-wrap: wrap; gap: 8px; }
.pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 12px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 650;
  border: 1px solid transparent;
}
.pill .n { font-variant-numeric: tabular-nums; font-weight: 750; }
.pill-sky { background: var(--cx-sky-soft); color: #0369a1; border-color: rgba(14, 165, 233, .2); }
.pill-violet { background: var(--cx-violet-soft); color: #6d28d9; border-color: rgba(139, 92, 246, .2); }
.pill-pink { background: var(--cx-pink-soft); color: #be185d; border-color: rgba(236, 72, 153, .2); }
.pill-teal { background: var(--cx-teal-soft); color: #0f766e; border-color: rgba(20, 184, 166, .25); }
.pill-orange { background: var(--cx-orange-soft); color: #c2410c; border-color: rgba(249, 115, 22, .22); }
.pill-emerald { background: var(--cx-emerald-soft); color: #047857; border-color: rgba(16, 185, 129, .22); }
.pill-amber { background: var(--cx-amber-soft); color: #b45309; border-color: rgba(245, 158, 11, .25); }
.pill-indigo { background: var(--cx-indigo-soft); color: #4338ca; border-color: rgba(99, 102, 241, .22); }

/* Element Plus 按钮多彩增强 */
.company-body .el-button--primary {
  --el-button-bg-color: var(--cx-accent);
  --el-button-border-color: var(--cx-accent);
  --el-button-hover-bg-color: var(--cx-accent-bright);
  --el-button-hover-border-color: var(--cx-accent-bright);
  border-radius: 999px !important;
  font-weight: 650;
  box-shadow: 0 6px 16px rgba(59, 158, 255, .28);
}
.company-body .el-button--success {
  border-radius: 999px !important;
  font-weight: 650;
}
.company-body .el-button--warning {
  border-radius: 999px !important;
  font-weight: 650;
}
.company-body .el-button--danger {
  border-radius: 999px !important;
  font-weight: 650;
}
.company-body .el-button.is-plain,
.company-body .el-button--default {
  border-radius: 999px !important;
  background: #fff !important;
  border-color: #e5e7eb !important;
  color: var(--cx-ink) !important;
}
.company-body .el-button.is-plain:hover,
.company-body .el-button--default:hover {
  border-color: var(--cx-accent) !important;
  color: var(--cx-accent-deep) !important;
  background: var(--cx-accent-soft) !important;
}
.company-body .el-tag {
  border-radius: 999px !important;
  font-weight: 650;
  border: none !important;
}
.company-body .el-tag--success { background: var(--cx-emerald-soft) !important; color: #047857 !important; }
.company-body .el-tag--info { background: var(--cx-sky-soft) !important; color: #0369a1 !important; }
.company-body .el-tag--warning { background: var(--cx-amber-soft) !important; color: #b45309 !important; }
.company-body .el-tag--danger { background: var(--cx-rose-soft) !important; color: #be123c !important; }
.company-body .el-tag--primary { background: var(--cx-violet-soft) !important; color: #6d28d9 !important; }

.company-body .el-pagination.is-background .el-pager li.is-active {
  background: var(--cx-accent) !important;
  border-radius: 8px;
}

/* ---------- Login（保留背景图；面板纯白） ---------- */
.auth-gate {
  position: fixed;
  inset: 0;
  width: 100vw;
  height: 100vh;
  background-color: #070c18;
  background-image: url('/images/login-bg.png');
  background-repeat: no-repeat;
  background-position: center center;
  background-size: cover;
  background-attachment: fixed;
  display: grid;
  place-items: center;
  z-index: 50;
  padding: 40px 24px;
}
.auth-gate::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    linear-gradient(105deg, rgba(7, 12, 24, .55) 0%, rgba(7, 12, 24, .22) 48%, rgba(59, 158, 255, .14) 100%);
  pointer-events: none;
}
.auth-split {
  position: relative;
  z-index: 1;
  width: min(1180px, 94vw);
  min-height: 560px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 72px;
  animation: authFadeUp .4s var(--cx-ease);
}
@keyframes authFadeUp {
  from { opacity: 0; transform: translateY(18px) scale(.98); }
  to { opacity: 1; transform: translateY(0) scale(1); }
}
.auth-hero {
  flex: 1 1 55%;
  min-width: 300px;
  color: #fff;
  display: flex;
  flex-direction: column;
  justify-content: center;
  text-shadow: 0 2px 10px rgba(0, 0, 0, .55);
}
.auth-hero .brand {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 14px;
}
.auth-hero .brand-logo {
  height: 48px;
  width: auto;
  filter: drop-shadow(0 4px 12px rgba(0, 0, 0, .35));
}
.auth-hero .brand-tag {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: #7dd3fc;
  text-shadow: 0 0 12px rgba(125, 211, 252, .45);
}
.auth-hero h1 {
  font-size: 36px;
  font-weight: 800;
  line-height: 1.25;
  margin: 0 0 14px;
  letter-spacing: -.02em;
}
.auth-hero > p {
  font-size: 15px;
  line-height: 1.75;
  color: rgba(241, 245, 249, .9);
  margin: 0 0 26px;
  max-width: 520px;
}
.auth-hero ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 12px;
}
.auth-hero li {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 14px;
  color: rgba(255, 255, 255, .95);
}
.auth-hero li::before {
  content: '✓';
  display: inline-grid;
  place-items: center;
  width: 22px;
  height: 22px;
  border-radius: 999px;
  background: rgba(59, 158, 255, .28);
  color: #7dd3fc;
  border: 1px solid rgba(125, 211, 252, .45);
  font-size: 11px;
  font-weight: 800;
  flex-shrink: 0;
}
.auth-panel {
  flex: 0 0 440px;
  max-width: 100%;
  padding: 40px 36px;
  background: #fff;
  border-radius: 20px;
  box-shadow: 0 25px 60px -10px rgba(0, 0, 0, .45), 0 0 0 1px rgba(255, 255, 255, .12);
}
.auth-panel h2 {
  font-size: 22px;
  font-weight: 700;
  color: var(--cx-ink);
  margin: 0 0 6px;
}
.auth-panel .muted {
  font-size: 13.5px;
  color: var(--cx-muted);
  margin: 0 0 22px;
}
.captcha-box {
  display: flex;
  gap: 12px;
  align-items: center;
  width: 100%;
}
.captcha-box img {
  height: 40px;
  width: 118px;
  border-radius: 8px;
  border: 1px solid var(--cx-line);
  cursor: pointer;
  background: #f8fafc;
  object-fit: fill;
  flex-shrink: 0;
}
.login-meta-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin: 4px 0 16px;
}
.auth-panel .el-button--primary {
  border-radius: 999px !important;
  height: 44px;
  font-size: 15px;
}

/* ---------- Video grid ---------- */
.video-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 14px;
}
.video-card {
  background: #fff;
  border: 1px solid var(--cx-line);
  border-radius: 16px;
  overflow: hidden;
  box-shadow: var(--cx-shadow-xs);
  transition: transform .22s var(--cx-ease), box-shadow .22s var(--cx-ease);
}
.video-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--cx-shadow-md);
}
.video-card .cover {
  aspect-ratio: 9/12;
  background: linear-gradient(160deg, #e0f2fe, #fce7f3 55%, #ede9fe);
  object-fit: cover;
  width: 100%;
  display: block;
}
.video-card .cover-ph {
  aspect-ratio: 9/12;
  display: grid;
  place-items: center;
  background: linear-gradient(160deg, #e0f2fe, #fce7f3 55%, #ede9fe);
  color: #8b5cf6;
  font-size: 28px;
  font-weight: 800;
}
.video-card .body { padding: 12px 14px 14px; }
.video-card .title-row {
  display: flex;
  align-items: flex-start;
  gap: 8px;
}
.video-card .title {
  flex: 1;
  min-width: 0;
  font-size: 13px;
  font-weight: 650;
  color: var(--cx-ink);
  line-height: 1.4;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  min-height: 2.8em;
}
.pub-badge {
  flex-shrink: 0;
  font-size: 11px;
  font-weight: 700;
  padding: 2px 8px;
  border-radius: 999px;
  line-height: 1.6;
}
.pub-badge.is-success {
  background: var(--cx-emerald-soft);
  color: #047857;
}
.pub-badge.is-progress {
  background: var(--cx-amber-soft);
  color: #b45309;
}
.dash-pub-toolbar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  width: 100%;
}
.dash-pub-actions {
  margin-left: auto;
  display: inline-flex;
  align-items: center;
  gap: 10px;
}
.dash-tabs {
  display: inline-flex;
  gap: 6px;
  padding: 4px;
  background: #f5f7fa;
  border-radius: 999px;
  border: 1px solid var(--cx-line);
}
.dash-tab {
  border: none;
  background: transparent;
  cursor: pointer;
  font: inherit;
  font-size: 13px;
  font-weight: 650;
  color: var(--cx-muted);
  padding: 7px 14px;
  border-radius: 999px;
  transition: background .2s var(--cx-ease), color .2s var(--cx-ease), box-shadow .2s var(--cx-ease);
}
.dash-tab:hover { color: var(--cx-ink); }
.dash-tab.is-active {
  background: #fff;
  color: #0284c7;
  box-shadow: var(--cx-shadow-xs);
}
.dash-tab-progress.is-active {
  color: #c2410c;
}
.empty-pub {
  text-align: center;
  color: var(--cx-faint);
  padding: 48px 16px;
  font-size: 14px;
}

.chart-panel { margin-top: 18px; }
.chart-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
  width: 100%;
}
.chart-grid > .chart-box {
  width: 100%;
}
.chart-box {
  background: #fff;
  border: 1px solid var(--cx-line);
  border-radius: 16px;
  padding: 14px 14px 10px;
}
.chart-box-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 8px;
}
.chart-box-head h4 {
  margin: 0;
  font-size: 14px;
  font-weight: 700;
  color: var(--cx-ink);
}
.chart-hint {
  font-size: 11px;
  font-weight: 650;
  color: #b45309;
  background: var(--cx-amber-soft);
  border-radius: 999px;
  padding: 2px 8px;
}
.cx-chart-wrap { width: 100%; }
.cx-chart-svg {
  width: 100%;
  height: auto;
  display: block;
  overflow: visible;
  shape-rendering: geometricPrecision;
}
.cx-chart-svg .cx-chart-line,
.cx-chart-svg .cx-chart-dot,
.cx-chart-svg .cx-chart-grid {
  vector-effect: non-scaling-stroke;
}
.cx-chart-legend {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 8px;
}
.cx-legend-item {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  border: 1px solid var(--cx-line);
  background: #fff;
  border-radius: 999px;
  padding: 4px 10px;
  font-size: 12px;
  font-weight: 650;
  color: var(--cx-text);
  cursor: pointer;
}
.cx-legend-item i {
  width: 8px;
  height: 8px;
  border-radius: 999px;
  display: inline-block;
}
.cx-legend-item.is-off {
  opacity: .45;
  text-decoration: line-through;
}
.cx-chart-empty {
  min-height: 180px;
  display: grid;
  place-items: center;
  color: var(--cx-faint);
  font-size: 13px;
}

/* account / material cards */
.account-card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 14px;
}
.account-card {
  background: #fff;
  border: 1px solid var(--cx-line);
  border-radius: 16px;
  overflow: hidden;
  box-shadow: var(--cx-shadow-xs);
  transition: transform .22s var(--cx-ease), box-shadow .22s var(--cx-ease);
  display: flex;
  flex-direction: column;
}
.account-card:hover {
  transform: translateY(-2px);
  box-shadow: var(--cx-shadow-md);
}
.account-card-hero {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 16px;
  background: linear-gradient(135deg, #eef7ff 0%, #f5f0ff 55%, #fff5fb 100%);
  border-bottom: 1px solid var(--cx-line);
}
.account-card-avatar,
.account-card-avatar-ph {
  width: 56px;
  height: 56px;
  border-radius: 999px;
  flex-shrink: 0;
  border: 2px solid #fff;
  box-shadow: 0 4px 14px rgba(59, 158, 255, .22);
}
.account-card-avatar {
  object-fit: cover;
  background: #e2e8f0;
}
.account-card-avatar-ph {
  display: grid;
  place-items: center;
  font-size: 20px;
  font-weight: 800;
  color: #fff;
  background: linear-gradient(135deg, #3b9eff, #8b5cf6);
}
.account-card-main { min-width: 0; flex: 1; }
.account-card-name {
  font-size: 16px;
  font-weight: 750;
  color: var(--cx-ink);
  word-break: break-all;
  line-height: 1.3;
}
.account-card-sub {
  margin-top: 3px;
  font-size: 12px;
  color: var(--cx-muted);
}
.account-card-tags {
  margin-top: 8px;
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}
.account-card-body {
  flex: 1;
  padding: 12px 16px 14px;
  display: grid;
  gap: 8px;
}
.account-card-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
}
.account-card-stat {
  background: var(--cx-surface-2);
  border-radius: 10px;
  padding: 8px 6px;
  text-align: center;
}
.account-card-stat small {
  display: block;
  font-size: 11px;
  color: var(--cx-faint);
  margin-bottom: 2px;
}
.account-card-stat b {
  font-size: 14px;
  font-weight: 750;
  color: var(--cx-ink);
  font-variant-numeric: tabular-nums;
}
.account-card-meta {
  font-size: 12px;
  color: var(--cx-muted);
  line-height: 1.55;
}
.account-card-meta span { color: var(--cx-ink); font-weight: 600; }

.material-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 14px;
}
.material-card {
  border: 1px solid var(--cx-line);
  border-radius: 14px;
  overflow: hidden;
  background: #fff;
  box-shadow: var(--cx-shadow-xs);
  transition: transform .22s var(--cx-ease), box-shadow .22s var(--cx-ease);
  display: flex;
  flex-direction: column;
}
.material-card:hover {
  transform: translateY(-2px);
  box-shadow: var(--cx-shadow-md);
}
.material-thumb {
  height: 148px;
  background: #0f172a;
  display: grid;
  place-items: center;
  overflow: hidden;
}
.material-thumb img,
.material-thumb-img {
  width: 100%;
  height: 148px;
  object-fit: cover;
  display: block;
  background: #0f172a;
}
.material-thumb-empty {
  color: rgba(255, 255, 255, .55);
  font-size: 13px;
  font-weight: 650;
}
.material-body {
  padding: 12px 14px 14px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  flex: 1;
}
.material-title {
  font-size: 13px;
  font-weight: 700;
  color: var(--cx-ink);
  line-height: 1.4;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  min-height: 2.8em;
}
.material-meta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  font-size: 11.5px;
  font-variant-numeric: tabular-nums;
}
.material-meta-row span:nth-child(1) { color: #0284c7; font-weight: 650; }
.material-meta-row span:nth-child(2) { color: #db2777; font-weight: 650; }
.material-meta-row span:nth-child(3) { color: #7c3aed; font-weight: 650; }
.material-acct {
  font-size: 11px;
  color: var(--cx-faint);
  margin-top: auto;
}

.card-detail-bar {
  border-top: 1px solid var(--cx-line);
  margin-top: auto;
}
.card-detail-btn {
  display: block;
  width: 100%;
  border: none;
  background: transparent;
  color: var(--cx-accent-deep);
  font: inherit;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: .02em;
  padding: 12px 14px;
  cursor: pointer;
  text-align: center;
  text-decoration: none;
  transition: background .2s var(--cx-ease), color .2s var(--cx-ease);
}
.card-detail-btn:hover {
  background: var(--cx-accent-soft);
  color: var(--cx-accent);
}
.card-detail-btn.is-ghost {
  color: var(--cx-text);
}
.card-detail-btn.is-ghost:hover {
  background: var(--cx-surface-2);
}

.detail-page .detail-topbar {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 16px;
}
.detail-topbar-title {
  font-size: 16px;
  font-weight: 750;
  color: var(--cx-ink);
}
.detail-hero-panel { padding: 0; overflow: hidden; }
.detail-hero {
  display: flex;
  align-items: center;
  gap: 18px;
  padding: 22px 24px;
  background: linear-gradient(135deg, #eef7ff 0%, #f5f0ff 50%, #fff5fb 100%);
  flex-wrap: wrap;
}
.detail-hero-avatar,
.detail-hero-avatar-ph {
  width: 72px;
  height: 72px;
  border-radius: 999px;
  flex-shrink: 0;
  border: 3px solid #fff;
  box-shadow: 0 8px 20px rgba(59, 158, 255, .22);
}
.detail-hero-avatar { object-fit: cover; background: #e2e8f0; }
.detail-hero-avatar-ph {
  display: grid;
  place-items: center;
  font-size: 28px;
  font-weight: 800;
  color: #fff;
  background: linear-gradient(135deg, #3b9eff, #8b5cf6);
}
.detail-hero-main { min-width: 0; flex: 1; }
.detail-hero-name {
  font-size: 22px;
  font-weight: 800;
  letter-spacing: -.03em;
  color: var(--cx-ink);
  word-break: break-all;
}
.detail-hero-sub {
  margin-top: 4px;
  font-size: 13px;
  color: var(--cx-muted);
}
.detail-hero-stats {
  display: flex;
  gap: 18px;
  margin-left: auto;
}
.detail-hero-stat {
  text-align: center;
  min-width: 64px;
}
.detail-hero-stat b {
  display: block;
  font-size: 20px;
  font-weight: 800;
  color: var(--cx-ink);
  font-variant-numeric: tabular-nums;
}
.detail-hero-stat small {
  font-size: 11px;
  color: var(--cx-faint);
  font-weight: 650;
}
.detail-grid-2 {
  display: grid;
  grid-template-columns: 1.05fr 1.2fr;
  gap: 16px;
}
.detail-kv-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}
.detail-kv small {
  display: block;
  font-size: 11px;
  color: var(--cx-faint);
  font-weight: 650;
  margin-bottom: 4px;
}
.detail-kv > div {
  font-size: 13px;
  color: var(--cx-ink);
  line-height: 1.5;
  word-break: break-word;
  white-space: pre-wrap;
}
.video-detail-cover-panel { padding: 0; overflow: hidden; }
.video-detail-cover {
  width: 100%;
  max-height: 420px;
  object-fit: cover;
  display: block;
  background: #0f172a;
}
.video-detail-cover-ph {
  height: 280px;
  display: grid;
  place-items: center;
  background: linear-gradient(160deg, #e0f2fe, #fce7f3);
  color: var(--cx-muted);
  font-weight: 700;
}
.video-detail-actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  border-top: 1px solid var(--cx-line);
}
.video-detail-actions .card-detail-btn {
  border-right: 1px solid var(--cx-line);
}
.video-detail-actions .card-detail-btn:last-child { border-right: none; }
.video-detail-title {
  font-size: 18px;
  font-weight: 800;
  letter-spacing: -.02em;
  color: var(--cx-ink);
  line-height: 1.4;
}
.shot-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
  gap: 12px;
}
.shot-card {
  border: 1px solid var(--cx-line);
  border-radius: 12px;
  overflow: hidden;
  background: #fff;
}
.shot-card img {
  width: 100%;
  aspect-ratio: 9/16;
  object-fit: cover;
  display: block;
  background: #0f172a;
}
.shot-empty {
  aspect-ratio: 9/16;
  display: grid;
  place-items: center;
  color: var(--cx-faint);
  background: var(--cx-surface-2);
}
.shot-meta {
  padding: 8px 10px;
  font-size: 11px;
  color: var(--cx-faint);
}

@media (max-width: 960px) {
  .detail-grid-2 { grid-template-columns: 1fr; }
  .detail-hero-stats { margin-left: 0; width: 100%; justify-content: space-between; }
  .detail-kv-grid { grid-template-columns: 1fr; }
}
.video-card .meta {
  margin-top: 8px;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  font-size: 11.5px;
  font-variant-numeric: tabular-nums;
}
.video-card .meta span:nth-child(1) { color: #0284c7; font-weight: 650; }
.video-card .meta span:nth-child(2) { color: #db2777; font-weight: 650; }
.video-card .meta span:nth-child(3) { color: #7c3aed; font-weight: 650; }
.video-card .acct {
  margin-top: 6px;
  font-size: 11px;
  color: var(--cx-faint);
}

.chart-bars {
  display: flex;
  align-items: flex-end;
  gap: 6px;
  height: 160px;
  padding: 8px 0 0;
}
.chart-bars .bar-col {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  min-width: 0;
  height: 100%;
  justify-content: flex-end;
}
.chart-bars .bar {
  width: 100%;
  max-width: 28px;
  border-radius: 6px 6px 2px 2px;
  background: linear-gradient(180deg, #5eb0ff, #8b5cf6);
  min-height: 4px;
  transition: height .4s var(--cx-ease);
}
.chart-bars .bar-label {
  font-size: 10px;
  color: var(--cx-faint);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 100%;
}

.pager-row {
  display: flex;
  justify-content: flex-end;
  margin-top: 16px;
}

.status-online { color: #059669; font-weight: 650; }
.status-offline { color: var(--cx-muted); }

/* 表格行轻微分隔 */
.company-body .el-table {
  --el-table-border-color: var(--cx-line);
  --el-table-header-bg-color: #fafbfc;
  --el-table-row-hover-bg-color: #f8fbff;
}
.company-body .el-table th.el-table__cell {
  color: var(--cx-muted);
  font-weight: 650;
}

.placeholder-panel {
  text-align: center;
  padding: 64px 24px;
}
.placeholder-panel .placeholder-icon {
  font-size: 42px;
  line-height: 1;
  margin-bottom: 12px;
}
.placeholder-panel h3 {
  margin: 0 0 8px;
  font-size: 18px;
  color: var(--cx-ink);
}
.publish-form-panel { margin-bottom: 18px; }
.publish-form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px 18px;
}
.publish-form-grid .field.full { grid-column: 1 / -1; }
.publish-form-grid .field label {
  display: block;
  margin-bottom: 6px;
  font-size: 13px;
  color: var(--cx-muted);
  font-weight: 600;
}
.publish-form-actions {
  margin-top: 18px;
  display: flex;
  justify-content: flex-end;
}
.publish-file-row {
  margin-top: 8px;
  display: flex;
  align-items: center;
  gap: 10px;
}
.publish-hint {
  margin: 0 0 14px;
  padding: 10px 12px;
  border-radius: 10px;
  background: #f0f7ff;
  border: 1px solid #d6e8ff;
  color: #334155;
  font-size: 13px;
  line-height: 1.55;
}
.publish-hint code {
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 12px;
  background: #e8f1ff;
  padding: 1px 6px;
  border-radius: 4px;
}
.publish-cover-box { margin-top: 4px; }
.publish-cover-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) minmax(180px, 0.8fr);
  gap: 16px;
  align-items: start;
}
.publish-scrub {
  display: flex;
  align-items: center;
  margin-top: 10px;
}
.publish-cover-actions {
  margin-top: 10px;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
}
.publish-cover-preview img {
  width: 100%;
  max-height: 280px;
  object-fit: cover;
  border-radius: 10px;
  border: 1px solid #e2e8f0;
  display: block;
}
.publish-cover-empty {
  min-height: 160px;
  display: grid;
  place-items: center;
  border: 1px dashed #cbd5e1;
  border-radius: 10px;
  color: #94a3b8;
  background: #f8fafc;
  font-size: 13px;
}
@media (max-width: 900px) {
  .publish-cover-grid { grid-template-columns: 1fr; }
}

@media (max-width: 1280px) {
  .stat-grid-5 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (max-width: 900px) {
  .publish-form-grid { grid-template-columns: 1fr; }
}
/* ---------- Company chat seat (readonly) ---------- */
.support-page { display: flex; flex-direction: column; gap: 12px; min-height: calc(100vh - 120px); }
.support-page .page-head { margin-bottom: 0; }
.cx-chat-shell {
  flex: 1;
  display: grid;
  grid-template-columns: 260px 300px 1fr;
  min-height: 560px;
  height: calc(100vh - 180px);
  background: #fff;
  border: 1px solid var(--cx-line);
  border-radius: var(--cx-radius-xl);
  overflow: hidden;
  box-shadow: var(--cx-shadow-xs);
}
.cx-chat-shell.is-loading { opacity: .72; pointer-events: none; }
.cx-chat-col {
  min-width: 0;
  min-height: 0;
  display: flex;
  flex-direction: column;
  border-right: 1px solid var(--cx-line);
  background: #fff;
}
.cx-chat-col:last-child { border-right: 0; }
.cx-chat-col-head {
  padding: 12px 14px;
  border-bottom: 1px solid var(--cx-line);
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 8px;
}
.cx-chat-col-head h3 { margin: 0; font-size: 14px; font-weight: 700; color: var(--cx-ink); }
.cx-chat-stats {
  display: flex;
  gap: 12px;
  padding: 8px 14px;
  font-size: 12px;
  color: var(--cx-muted);
  border-bottom: 1px solid var(--cx-line-soft);
}
.cx-chat-stats b { color: var(--cx-ink); font-variant-numeric: tabular-nums; }
.cx-chat-search {
  display: flex;
  gap: 6px;
  padding: 8px 12px;
  border-bottom: 1px solid var(--cx-line-soft);
}
.cx-chat-tabs {
  display: flex;
  border-bottom: 1px solid var(--cx-line);
  background: #fff;
}
.cx-chat-tabs button {
  flex: 1;
  border: 0;
  border-bottom: 2px solid transparent;
  background: transparent;
  padding: 10px 6px;
  font: inherit;
  font-size: 13px;
  font-weight: 600;
  color: var(--cx-muted);
  cursor: pointer;
}
.cx-chat-tabs button:hover { color: var(--cx-accent-deep); }
.cx-chat-tabs button.is-active {
  color: var(--cx-accent-deep);
  border-bottom-color: var(--cx-accent);
  background: var(--cx-accent-soft);
}
.cx-chat-tab-note {
  padding: 8px 12px;
  font-size: 11.5px;
  line-height: 1.45;
  color: #b45309;
  background: var(--cx-amber-soft);
  border-bottom: 1px solid rgba(245, 158, 11, .18);
}
.cx-chat-list { flex: 1; overflow: auto; }
.cx-chat-item {
  width: 100%;
  display: flex;
  gap: 10px;
  padding: 10px 12px;
  border: 0;
  border-bottom: 1px solid #f1f5f9;
  background: transparent;
  text-align: left;
  cursor: pointer;
  font: inherit;
}
.cx-chat-item:hover,
.cx-chat-item.is-active { background: var(--cx-accent-soft); }
.cx-chat-avatar {
  width: 36px;
  height: 36px;
  border-radius: 999px;
  flex-shrink: 0;
  display: grid;
  place-items: center;
  font-size: 13px;
  font-weight: 750;
  color: #fff;
  background: linear-gradient(135deg, #3b9eff, #8b5cf6);
}
.cx-chat-meta { min-width: 0; flex: 1; }
.cx-chat-meta b {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 13px;
  font-weight: 700;
  color: var(--cx-ink);
  line-height: 1.3;
}
.cx-chat-meta small {
  display: flex;
  align-items: center;
  gap: 6px;
  margin-top: 3px;
  font-size: 11.5px;
  color: var(--cx-muted);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.cx-dot {
  width: 7px;
  height: 7px;
  border-radius: 999px;
  background: #cbd5e1;
  display: inline-block;
}
.cx-dot.on { background: #10b981; box-shadow: 0 0 0 3px rgba(16, 185, 129, .16); }
.cx-chat-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 18px;
  height: 18px;
  padding: 0 5px;
  border-radius: 999px;
  background: #e11d48;
  color: #fff;
  font-size: 10px;
  font-weight: 700;
}
.cx-chat-empty {
  padding: 28px 16px;
  text-align: center;
  color: var(--cx-faint);
  font-size: 13px;
  line-height: 1.55;
}
.cx-chat-pager {
  padding: 8px;
  border-top: 1px solid var(--cx-line-soft);
  display: flex;
  justify-content: center;
}
.cx-chat-messages {
  flex: 1;
  overflow: auto;
  padding: 16px;
  background: #f7f8fa;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.cx-bubble-wrap { max-width: 72%; display: flex; flex-direction: column; }
.cx-bubble-wrap.is-out { align-self: flex-end; margin-left: auto; }
.cx-bubble {
  padding: 10px 12px;
  border-radius: 10px;
  background: #fff;
  border: 1px solid #e4e7ed;
  color: var(--cx-ink);
  font-size: 13.5px;
  line-height: 1.5;
  word-break: break-word;
}
.cx-bubble.is-out {
  background: #3b9eff;
  border-color: #3b9eff;
  color: #fff;
}
.cx-bubble-time {
  display: block;
  margin-top: 4px;
  font-size: 11px;
  opacity: .55;
}
.cx-chat-img {
  max-width: 220px;
  border-radius: 8px;
  display: block;
}
.cx-chat-readonly-bar {
  border-top: 1px solid var(--cx-line);
  padding: 10px 14px;
  font-size: 12px;
  color: var(--cx-muted);
  background: #fff;
}

@media (max-width: 1100px) {
  .stat-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .stat-grid-5 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .cx-chat-shell { grid-template-columns: 1fr; height: auto; }
  .cx-chat-accounts,
  .cx-chat-friends { max-height: 280px; border-right: 0; border-bottom: 1px solid var(--cx-line); }
  .cx-chat-thread { min-height: 420px; }
}
@media (max-width: 960px) {
  .auth-split { flex-direction: column; gap: 28px; min-height: auto; }
  .auth-panel { flex: 1 1 auto; width: 100%; }
  .auth-hero h1 { font-size: 28px; }
  .auth-hero ul { display: none; }
  .side { display: none; }
  .content { padding: 16px; }
}
@media (max-width: 640px) {
  .stat-grid { grid-template-columns: 1fr; }
  .topbar { padding: 0 16px; }
}
