/* 运营中心：账号 / 视频 双标签单入口，与灵感库/对标库同一视觉语言。
   运营驾驶舱已移除：#/operations → #/account-matrix；
   视频监控已并入：#/ad-videos → #/account-matrix?view=videos，侧边栏两个旧入口隐藏，
   「账号矩阵」入口文字由 ops-hub.js 改为「运营中心」。 */
a[href="#/operations"],
a[href="#/ad-videos"] { display: none !important; }
body.ops-hub-active .operations-workspace,
body.ops-hub-active .account-pool,
body.ops-hub-active .ad-videos { display: none !important; }

#ops-hub {
  min-height: calc(100dvh - 150px);
  padding: 24px 26px 64px;
  background: var(--ih-bg, #f5f0ee);
  color: var(--ih-text, #24202b);
}
#ops-hub[hidden] { display: none; }

.oh-icon { width: 15px; height: 15px; flex: none; }

.oh-heading { display: flex; align-items: flex-end; justify-content: space-between; gap: 16px; flex-wrap: wrap; }
.oh-kicker { margin: 0; color: var(--ih-faint, #a39799); font-size: 9px; letter-spacing: .14em; }
.oh-heading h1 { margin: 4px 0 0; font-size: 26px; font-weight: 640; }
.oh-heading-actions { display: flex; gap: 10px; }

.oh-tabs { display: inline-flex; gap: 4px; margin-top: 16px; padding: 3px; border: 1px solid var(--ih-line, #e3d9d5); border-radius: 999px; background: var(--ih-surface, #fffdfb); }
.oh-tabs button { padding: 7px 22px; border: 0; border-radius: 999px; background: transparent; color: var(--ih-muted, #81777b); font-size: 13px; font-weight: 560; cursor: pointer; }
.oh-tabs button.is-active { background: var(--ih-text, #24202b); color: var(--ih-bg, #f5f0ee); }

.oh-button { display: inline-flex; align-items: center; gap: 7px; padding: 9px 16px; border: 1px solid var(--ih-line-strong, #cfc2bd); border-radius: 999px; background: var(--ih-surface, #fffdfb); color: var(--ih-text, #24202b); font-size: 12px; font-weight: 560; cursor: pointer; text-decoration: none; }
.oh-button:hover { border-color: var(--ih-accent, #df655b); color: var(--ih-accent, #df655b); }

.oh-filters { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 18px; }
.oh-filters select,
.oh-filters input[type="date"],
.oh-filters input[type="number"],
.oh-filters input[type="search"] { padding: 9px 12px; border: 1px solid var(--ih-line-strong, #cfc2bd); border-radius: 10px; background: var(--ih-surface, #fffdfb); color: var(--ih-text, #24202b); font-size: 12px; font-family: inherit; }
.oh-filters input[type="number"] { width: 110px; }
.oh-filters select:focus, .oh-filters input:focus { outline: 2px solid var(--ih-accent-soft, #fbe9e5); border-color: var(--ih-accent, #df655b); }
.oh-search { display: inline-flex; align-items: center; gap: 7px; padding: 0 12px; border: 1px solid var(--ih-line-strong, #cfc2bd); border-radius: 10px; background: var(--ih-surface, #fffdfb); color: var(--ih-faint, #a39799); }
.oh-search input { border: 0 !important; background: none !important; padding: 9px 0 !important; width: 150px; }
.oh-search input:focus { outline: none !important; }

.oh-sort-bar { display: flex; gap: 8px; margin-top: 20px; }
.oh-sort-bar button { padding: 6px 14px; border: 1px solid var(--ih-line, #e3d9d5); border-radius: 999px; background: var(--ih-surface, #fffdfb); color: var(--ih-muted, #81777b); font-size: 11px; cursor: pointer; }
.oh-sort-bar button.is-active { background: var(--ih-text, #24202b); border-color: var(--ih-text, #24202b); color: var(--ih-bg, #f5f0ee); }

.oh-table { width: 100%; margin-top: 14px; border-collapse: collapse; }
.oh-table th { padding: 0 12px 10px; color: var(--ih-faint, #a39799); font-size: 10px; font-weight: 560; text-align: left; border-bottom: 1px solid var(--ih-line-strong, #cfc2bd); }
.oh-table td { padding: 12px; border-bottom: 1px solid var(--ih-line, #e3d9d5); font-size: 13px; }
.oh-table tbody tr:hover { background: var(--ih-muted-surface, #f9f5f2); }
.oh-table td small { color: var(--ih-faint, #a39799); font-size: 10px; }
.oh-handle { display: block; color: inherit; text-decoration: none; }
.oh-handle:hover strong { color: var(--ih-accent, #df655b); }
.oh-handle strong { display: block; font-size: 13px; font-weight: 620; }
.oh-handle small { display: block; margin-top: 2px; }
.oh-video-desc { display: block; max-width: 380px; color: inherit; text-decoration: none; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.oh-video-desc:hover { color: var(--ih-accent, #df655b); }
.oh-none { text-align: center; color: var(--ih-faint, #a39799); padding: 36px 0 !important; }
.oh-footnote { margin-top: 10px; color: var(--ih-faint, #a39799); font-size: 10px; }
.oh-more { display: block; margin: 16px auto 0; padding: 8px 22px; border: 1px solid var(--ih-line-strong, #cfc2bd); border-radius: 999px; background: var(--ih-surface, #fffdfb); color: var(--ih-text, #24202b); font-size: 12px; cursor: pointer; }
.oh-more:hover { border-color: var(--ih-accent, #df655b); }

.oh-empty { padding: 70px 20px; text-align: center; }
.oh-empty strong { font-size: 15px; font-weight: 620; }
.oh-empty p { margin: 8px 0 18px; color: var(--ih-muted, #81777b); font-size: 12px; }

.oh-loading { display: flex; gap: 8px; justify-content: center; padding: 80px 0; }
.oh-loading span { width: 8px; height: 8px; border-radius: 50%; background: var(--ih-accent, #df655b); animation: oh-pulse 1s infinite ease-in-out; }
.oh-loading span:nth-child(2) { animation-delay: .15s; }
.oh-loading span:nth-child(3) { animation-delay: .3s; }
@keyframes oh-pulse { 0%, 100% { opacity: .25; transform: scale(.8); } 50% { opacity: 1; transform: scale(1); } }

.oh-toast { position: fixed; left: 50%; bottom: 34px; z-index: 4000; transform: translate(-50%, 16px); padding: 10px 18px; border-radius: 999px; background: var(--ih-text, #24202b); color: var(--ih-bg, #f5f0ee); font-size: 12px; opacity: 0; pointer-events: none; transition: opacity .25s, transform .25s; }
.oh-toast.is-success, .oh-toast.is-error { opacity: 1; transform: translate(-50%, 0); }
.oh-toast.is-error { background: var(--ih-danger, #a7443e); color: #fff; }

@media (max-width: 900px) {
  #ops-hub { padding: 16px 14px 48px; }
  .oh-table th:nth-child(7), .oh-table td:nth-child(7) { display: none; }
}
