:root {
  --ink: #1a2332;
  --muted: #5c6b7a;
  --line: #d8e0e8;
  --panel: #f3f6f8;
  --accent: #0d9488;
  --accent-hover: #0f766e;
  --accent-soft: rgba(13, 148, 136, .12);
  --geo: #0d9488;
  --geo-bright: #14b8a6;
  --probe: #0d9488;
  --video: #0f766e;
  --sidebar: #12242a;
  --sidebar-2: #0d1b20;
  --sidebar-text: #e8eef2;
  --sidebar-muted: #8a9aab;
  --danger: #ef4444;
  --main-bg: #f1f5f9;
  --surface: #ffffff;
  --shadow-sm: 0 1px 2px rgba(15, 23, 42, .04);
  --shadow-md: 0 4px 16px rgba(15, 23, 42, .06);
  --radius-md: 12px;
  --radius-lg: 16px;
  --fs-menu: 14px;
  --fs-menu-sm: 12px;
  --fs-title: 15px;
  --bottom-nav-h: 3.35rem;
  --geo-page-width: 1120px;
}

html, body { height: 100%; }
html { font-size: 16px; }
body {
  margin: 0;
  color: var(--ink);
  background: var(--main-bg);
  font-family: "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei UI", "Microsoft YaHei",
    -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
body.app-body,
body.admin-body {
  overflow: hidden;
  overscroll-behavior: none;
}

.ico {
  width: 1em;
  height: 1em;
  display: inline-block;
  vertical-align: -0.15em;
  fill: none;
  stroke: currentColor;
}

/* ===== GeoDSP brand ===== */
.geo-brand {
  display: inline-flex;
  align-items: center;
  gap: .55rem;
  text-decoration: none;
  color: inherit;
  flex-shrink: 0;
}
.geo-brand:hover {
  text-decoration: none;
  color: inherit;
  opacity: .94;
}
.geo-brand__mark {
  display: block;
  flex-shrink: 0;
  border-radius: 10px;
  box-shadow: 0 2px 10px rgba(13, 148, 136, .22);
}
.geo-brand--dark .geo-brand__mark {
  box-shadow: 0 2px 10px rgba(13, 148, 136, .4);
}
.geo-brand__word {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: .08rem;
  min-width: 0;
}
.geo-brand__name {
  font-weight: 700;
  font-size: 1.05rem;
  letter-spacing: .02em;
  line-height: 1.2;
}
.geo-brand--light .geo-brand__name {
  font-family: "Noto Serif SC", "PingFang SC", "Microsoft YaHei", serif;
  font-size: 1.12rem;
  color: var(--ink);
}
.geo-brand--dark .geo-brand__name {
  color: #fff;
}
.geo-brand__dsp {
  color: var(--geo-bright);
}
.geo-brand--light .geo-brand__dsp {
  color: var(--accent);
}
.geo-brand__tag {
  font-size: .68rem;
  color: var(--muted);
  font-weight: 500;
  letter-spacing: .02em;
  line-height: 1.25;
}
.geo-brand--dark .geo-brand__tag {
  color: var(--sidebar-muted);
}
.auth-portal__logo-wrap .geo-brand__name {
  font-size: 1.08rem;
  letter-spacing: .05em;
}
.admin-sidebar .sidebar-brand__logo {
  display: flex;
  align-items: center;
  gap: .5rem;
  flex-wrap: nowrap;
  max-width: 100%;
  color: #fff;
  text-decoration: none;
  font-weight: 700;
}
.admin-sidebar .sidebar-brand__logo:hover {
  color: #fff;
  opacity: .92;
}
.admin-sidebar .sidebar-brand__logo img {
  width: 30px;
  height: 30px;
  border-radius: 8px;
  flex-shrink: 0;
  box-shadow: 0 2px 10px rgba(13, 148, 136, .35);
}

/* ===== Blank / Login ===== */
.blank-body {
  min-height: 100%;
  min-height: 100dvh;
  display: flex;
  flex-direction: column;
  align-items: stretch;
  justify-content: flex-start;
  background:
    radial-gradient(circle at 15% 10%, rgba(13,148,136,.14), transparent 36%),
    radial-gradient(circle at 85% 80%, rgba(20,184,166,.10), transparent 40%),
    #f3f6f8;
}
.blank-body:not(.blank-body--legal):not(.blank-body--landing) .blank-main {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
}
.blank-body--landing .blank-main {
  flex: none;
  display: block;
  align-items: stretch;
  justify-content: flex-start;
}
.blank-body--legal {
  padding: 0;
  background:
    radial-gradient(circle at 20% 15%, rgba(13, 148, 136, .12), transparent 42%),
    radial-gradient(circle at 80% 85%, rgba(20, 184, 166, .08), transparent 45%),
    rgba(15, 23, 42, .28);
}
.blank-body--legal .blank-site-foot {
  display: none;
}
.blank-body--legal .blank-main {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: clamp(1rem, 3vw, 2rem);
  max-width: none;
  box-sizing: border-box;
}
.blank-main { width: 100%; padding: 1.5rem 1.5rem 0; }
.blank-site-foot {
  text-align: center;
  padding: 1rem 1.5rem 1.5rem;
  font-size: .75rem;
  color: #94a3b8;
}
.login-card {
  max-width: 420px;
  margin: 0 auto;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 1.7rem 1.5rem 1.3rem;
  box-shadow: 0 10px 30px rgba(27,36,53,.06);
}
.login-card.auth-login-card {
  padding: 0;
  overflow: hidden;
}
.auth-page-body {
  padding: 1.25rem 1.5rem 1.35rem;
}
.auth-page-head {
  margin-bottom: 1.15rem;
}
.auth-page-head__title {
  font-size: 1.25rem;
  font-weight: 700;
  margin: 0 0 .35rem;
  color: var(--ink);
  line-height: 1.35;
}
.auth-page-head__lead {
  font-size: .875rem;
  color: var(--muted);
  margin: 0;
  line-height: 1.55;
}
.login-brand {
  color: var(--accent);
  font-weight: 700;
  letter-spacing: .08em;
  margin-bottom: .35rem;
}
.login-title { font-size: 1.5rem; font-weight: 700; margin: 0 0 .25rem; }
.login-sub { color: var(--muted); margin-bottom: 1.1rem; }
.login-hint {
  margin-top: 1rem;
  padding-top: .9rem;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: .85rem;
  line-height: 1.7;
}
.login-hint a { color: var(--accent); text-decoration: none; }
.auth-link { color: var(--accent); text-decoration: none; }
.auth-link:hover { text-decoration: underline; }
.login-card--wide { max-width: 520px; }
.login-card--in-app { box-shadow: none; border: 1px solid var(--line); }
.auth-portal-head { margin-bottom: 1rem; }
.auth-portal {
  padding: 1rem 1.5rem .85rem;
  margin-bottom: 0;
  background: linear-gradient(180deg, #f8fafc 0%, #fff 100%);
  border-bottom: 1px solid var(--line);
}
.auth-portal__row {
  display: flex;
  align-items: center;
  gap: .5rem .75rem;
  margin-bottom: .85rem;
}
.auth-portal__brand {
  display: flex;
  align-items: baseline;
  gap: .65rem;
  flex-wrap: wrap;
  margin-bottom: 1rem;
}
.auth-portal__logo {
  font-size: 1.15rem;
  font-weight: 800;
  letter-spacing: .08em;
  color: var(--accent);
  text-decoration: none;
  line-height: 1.2;
}
.auth-portal__logo:hover {
  color: var(--accent);
  opacity: .88;
}
.auth-portal__tag {
  font-size: .75rem;
  color: #94a3b8;
  font-weight: 500;
}
.auth-portal__tabs {
  display: flex;
  gap: 1rem;
  border-bottom: none;
  margin-bottom: 0;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
}
.auth-portal__tabs::-webkit-scrollbar { display: none; }
.auth-portal__tab {
  position: relative;
  padding: .35rem 0 .45rem;
  font-size: .9rem;
  color: var(--muted);
  text-decoration: none;
  border: none;
  background: none;
  white-space: nowrap;
  flex-shrink: 0;
}
.auth-portal__tab:hover { color: var(--accent); }
.auth-portal__tab.is-on {
  color: var(--accent);
  font-weight: 600;
}
.auth-portal__tab.is-on::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -1px;
  height: 2px;
  background: var(--accent);
  border-radius: 2px 2px 0 0;
}
.auth-form--tight { margin-top: 0; }
.auth-link-muted {
  color: var(--muted);
  text-decoration: none;
  font-size: .875rem;
}
.auth-link-muted:hover { color: var(--accent); }
.auth-partner-hint {
  font-size: .875rem;
  color: #475569;
  line-height: 1.5;
  padding: .5rem 0 0;
}
.auth-page-title {
  font-size: 1.1rem;
  margin: 0 0 1rem;
}
.auth-page-lead {
  font-size: .875rem;
  color: var(--muted);
  margin: 0 0 1rem;
  line-height: 1.5;
}
.auth-section-title {
  font-size: .8125rem;
  font-weight: 600;
  color: #334155;
  margin: 0 0 .75rem;
  letter-spacing: .02em;
}
.legal-doc-card {
  max-width: 42rem;
  text-align: left;
}

/* 独立法律页：居中弹出框 */
.legal-modal-scene {
  width: min(760px, 100%);
  display: flex;
  flex-direction: column;
  margin: 0 auto;
}
.legal-modal-panel {
  display: flex;
  flex-direction: column;
  max-height: min(90dvh, 860px);
  width: 100%;
  background: #fff;
  border: 1px solid rgba(15, 23, 42, .08);
  border-radius: 24px;
  box-shadow:
    0 4px 24px rgba(15, 23, 42, .08),
    0 24px 64px rgba(15, 23, 42, .16);
  overflow: hidden;
  text-align: left;
}
.legal-modal-panel__head {
  flex-shrink: 0;
  padding: 1.5rem 2rem 1.15rem;
  border-bottom: 1px solid var(--line);
  background: linear-gradient(180deg, #fafbfc 0%, #fff 100%);
}
.legal-modal-panel__head-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 0.85rem;
}
.legal-modal-panel__back {
  display: inline-block;
  margin-bottom: 0;
  font-size: 0.8125rem;
  color: var(--muted);
  text-decoration: none;
}
.legal-modal-panel__back:hover {
  color: var(--accent);
}
.legal-modal-panel__close {
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2rem;
  height: 2rem;
  border-radius: 999px;
  font-size: 1.35rem;
  line-height: 1;
  color: var(--muted);
  text-decoration: none;
  border: 1px solid transparent;
}
.legal-modal-panel__close:hover {
  color: var(--ink, #1e293b);
  border-color: var(--line);
  background: #fff;
}
.legal-modal-panel__foot-actions {
  margin-bottom: 0.75rem;
}
.legal-modal-panel__title {
  margin: 0 0 0.35rem;
  font-size: clamp(1.125rem, 2.2vw, 1.375rem);
  font-weight: 700;
  line-height: 1.4;
  color: var(--ink, #1e293b);
}
.legal-modal-panel__meta {
  margin: 0;
  font-size: 0.8125rem;
  color: var(--muted);
}
.legal-modal-panel__body {
  flex: 1 1 auto;
  min-height: 0;
  overflow-y: auto;
  overscroll-behavior: contain;
  padding: 1.35rem 2rem 1.5rem;
  -webkit-overflow-scrolling: touch;
}
.legal-modal-panel__body::-webkit-scrollbar {
  width: 8px;
}
.legal-modal-panel__body::-webkit-scrollbar-thumb {
  background: rgba(15, 23, 42, .15);
  border-radius: 999px;
}
.legal-modal-panel__foot {
  flex-shrink: 0;
  padding: 1rem 2rem 1.35rem;
  border-top: 1px solid var(--line);
  background: #fafbfc;
}

.legal-doc-card--page {
  max-width: 44rem;
  margin: 0 auto 1rem;
  padding: 1.75rem 1.85rem 1.5rem;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 16px;
  box-shadow: 0 12px 40px rgba(27, 36, 53, .07);
}
.legal-doc-head {
  margin-bottom: 1.35rem;
  padding-bottom: 1.1rem;
  border-bottom: 1px solid var(--line);
}
.legal-doc-back {
  font-size: .8125rem;
  color: var(--muted);
  text-decoration: none;
  display: inline-block;
  margin-bottom: .85rem;
}
.legal-doc-back:hover { color: var(--accent); }
.legal-doc-title {
  font-size: clamp(1.15rem, 2.5vw, 1.35rem);
  font-weight: 700;
  margin: 0 0 .4rem;
  line-height: 1.4;
  color: var(--ink, #1e293b);
}
.legal-doc-meta {
  font-size: .8125rem;
  color: var(--muted);
  margin: 0;
}
.legal-doc {
  font-size: .9375rem;
  line-height: 1.75;
  color: #334155;
}
.legal-doc-lead {
  margin-bottom: 1.25rem;
  color: #475569;
}
.legal-doc h2,
.legal-doc h3 {
  font-size: .9375rem;
  font-weight: 700;
  margin: 1.35rem 0 .55rem;
  color: #1e293b;
}
.legal-doc h2:first-child,
.legal-doc h3:first-child { margin-top: 0; }
.legal-doc ol,
.legal-doc ul {
  padding-left: 1.35rem;
  margin: 0 0 .85rem;
}
.legal-doc li { margin-bottom: .45rem; }
.legal-doc li:last-child { margin-bottom: 0; }
.legal-doc p { margin: 0 0 .75rem; }
.legal-doc a {
  color: var(--accent);
  text-decoration: none;
  font-weight: 500;
}
.legal-doc a:hover { text-decoration: underline; }
.legal-doc-footer {
  margin-top: 1.75rem;
  padding-top: 1.1rem;
  border-top: 1px solid var(--line);
  text-align: center;
  color: var(--muted);
  font-size: .8125rem;
}
.legal-doc-nav {
  display: flex;
  flex-wrap: wrap;
  gap: .35rem .65rem;
  align-items: center;
  justify-content: center;
}
.legal-doc-nav a {
  color: var(--accent);
  text-decoration: none;
  font-weight: 500;
}
.legal-doc-nav a:hover { text-decoration: underline; }
.legal-doc-nav__sep {
  color: #cbd5e1;
  user-select: none;
}

/* Agreement modal / inline scroll */
.legal-modal-body {
  font-size: .8125rem;
  line-height: 1.65;
  color: #475569;
}
.legal-modal-body--page {
  max-height: none;
  overflow: visible;
  padding-right: 0;
}
.legal-modal-tip {
  background: rgba(13, 148, 136, .07);
  border: 1px solid rgba(13, 148, 136, .18);
  border-left: 3px solid var(--accent, #0d9488);
  border-radius: 10px;
  padding: 0.85rem 1rem;
  margin: 0 0 1.15rem;
  font-size: 0.8125rem;
  line-height: 1.65;
  color: #334155;
}
.legal-modal-body h3 {
  font-size: .9375rem;
  font-weight: 700;
  color: #1e293b;
  margin: 1.35rem 0 .55rem;
}
.legal-modal-body h3:first-of-type { margin-top: 0; }
.legal-modal-body ol,
.legal-modal-body ul {
  padding-left: 1.35rem;
  margin: 0 0 .85rem;
}
.legal-modal-body li { margin-bottom: .45rem; }
.legal-modal-body p { margin: 0 0 .75rem; }
.legal-modal-body a {
  color: var(--accent);
  text-decoration: none;
  font-weight: 500;
}
.legal-modal-body a:hover { text-decoration: underline; }
.legal-doc-card--page .legal-modal-body {
  font-size: .9375rem;
  line-height: 1.75;
  color: #334155;
}
.legal-modal-panel__body.legal-modal-body {
  font-size: .9375rem;
  line-height: 1.75;
  color: #334155;
}
.modal-dialog-scrollable .modal-body.legal-modal-body {
  max-height: min(70vh, 520px);
}
.auth-portal__title {
  font-size: 1.15rem;
  font-weight: 700;
  margin: 0 0 .2rem;
  line-height: 1.35;
}
.auth-portal__sub {
  color: var(--muted);
  font-size: .875rem;
  margin: 0 0 .25rem;
  line-height: 1.5;
}
.auth-notice--compact {
  font-size: .85rem;
  padding: .5rem .65rem;
}
.auth-footer-dot {
  color: var(--muted);
  margin: 0 .35rem;
}
.auth-portal-tabs {
  display: flex;
  gap: .35rem;
  margin-top: .65rem;
}
.auth-portal-tab {
  flex: 1;
  text-align: center;
  padding: .45rem .75rem;
  border-radius: 8px;
  font-size: .9rem;
  color: var(--muted);
  text-decoration: none;
  border: 1px solid var(--line);
  background: #f8fafc;
}
.auth-portal-tab.is-on {
  color: var(--accent);
  border-color: rgba(47,107,255,.35);
  background: rgba(47,107,255,.08);
  font-weight: 600;
}
.auth-notice {
  padding: .65rem .75rem;
  border-radius: 10px;
  background: #f0f6ff;
  border: 1px solid rgba(47,107,255,.18);
  font-size: .85rem;
  line-height: 1.55;
  color: #334155;
}
.auth-sms-block {
  padding: .75rem;
  border-radius: 10px;
  border: 1px dashed var(--line);
  background: #fafbfc;
}
.auth-sms-block__title {
  font-size: .85rem;
  font-weight: 600;
  margin-bottom: .5rem;
  display: flex;
  align-items: center;
  gap: .5rem;
}
.auth-badge-soon {
  font-size: .72rem;
  font-weight: 500;
  color: #64748b;
  background: #e2e8f0;
  padding: .1rem .45rem;
  border-radius: 999px;
}
.auth-role-guide {
  padding: .65rem .75rem;
  border-radius: 10px;
  background: #f8fafc;
  border: 1px solid var(--line);
}
.auth-role-guide__title { font-weight: 600; margin-bottom: .35rem; }
.auth-role-list {
  padding-left: 1.1rem;
  margin: 0;
  line-height: 1.65;
}
.auth-login-footer {
  text-align: center;
  font-size: .9rem;
}
.auth-page-footer {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: .35rem .5rem;
  padding: .95rem 1.5rem;
  margin: 0;
  border-top: 1px solid var(--line);
  background: #f8fafc;
  font-size: .875rem;
  color: var(--muted);
  line-height: 1.5;
}
.auth-page-footer__hint {
  color: #94a3b8;
}
.auth-page-footer__link {
  color: var(--accent);
  text-decoration: none;
  font-weight: 500;
}
.auth-page-footer__link:hover {
  text-decoration: underline;
}
.auth-footer-dot {
  color: #cbd5e1;
  user-select: none;
}
.auth-login-card .login-title { margin-top: .25rem; }
.auth-demo-details summary {
  cursor: pointer;
  color: var(--muted);
  font-size: .85rem;
}
.auth-demo-details summary:hover { color: var(--accent); }

@media (max-width: 575.98px) {
  .blank-body:not(.blank-body--legal) {
    align-items: stretch;
    justify-content: flex-start;
  }
  .blank-main {
    padding: 0;
    max-width: 100%;
    width: 100%;
  }
  .login-card--wide {
    max-width: 100%;
    width: 100%;
    margin: 0;
    border-radius: 0;
    border-left: none;
    border-right: none;
    min-height: 100dvh;
    box-shadow: none;
  }
  .auth-portal { padding: .85rem 1rem .75rem; }
  .auth-page-body { padding: 1rem 1rem 1.15rem; }
  .auth-page-footer { padding: .85rem 1rem; font-size: .8125rem; }
  .legal-modal-scene {
    width: 100%;
    max-height: none;
  }
  .legal-modal-panel {
    max-height: 94dvh;
    border-radius: 20px;
  }
  .legal-modal-panel__head {
    padding: 1.25rem 1.35rem 1rem;
  }
  .legal-modal-panel__body {
    padding: 1.15rem 1.35rem 1.25rem;
  }
  .legal-modal-panel__foot {
    padding: 0.9rem 1.35rem 1.15rem;
  }
  .legal-doc-card--page {
    padding: 1.35rem 1.15rem 1.2rem;
    border-radius: 12px;
  }
}

/* ===== Auth login modal ===== */
.auth-modal-page {
  background: rgba(15, 23, 42, .52);
  align-items: center;
  justify-content: center;
  min-height: 100dvh;
}
.auth-modal-page .blank-main {
  padding: 1.5rem;
  max-width: none;
}
.auth-modal-page .blank-site-foot {
  color: rgba(255, 255, 255, .55);
}
.auth-modal-scene {
  position: fixed;
  inset: 0;
  z-index: 1080;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.25rem;
}
.auth-modal-scene[hidden] {
  display: none !important;
}
.auth-modal-scene.is-page {
  position: relative;
  inset: auto;
  z-index: auto;
  width: 100%;
  max-width: 480px;
  margin: 0 auto;
}
.auth-modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(15, 23, 42, .52);
  backdrop-filter: blur(2px);
}
.auth-modal-scene.is-page .auth-modal-backdrop {
  display: none;
}
.auth-modal-panel {
  position: relative;
  z-index: 1;
  width: min(420px, 100%);
  background: #fff;
  border-radius: 28px;
  box-shadow: 0 24px 64px rgba(15, 23, 42, .18);
  overflow: hidden;
}
.auth-modal-panel--register {
  width: min(480px, 100%);
  max-height: min(92dvh, 720px);
  overflow-y: auto;
}
.auth-modal-panel--partner {
  width: min(520px, 100%);
}
.auth-modal-head--partner {
  align-items: flex-start;
  padding-bottom: .15rem;
}
.auth-modal-subtitle {
  margin: .2rem 0 0;
  font-size: .8rem;
  color: #64748b;
  line-height: 1.45;
  font-weight: 400;
}
.auth-modal-body--partner {
  padding-top: .25rem;
}
.auth-modal-hint--compact {
  margin-bottom: .65rem;
  font-size: .8125rem;
}
.auth-modal-hint--inline {
  margin: -.15rem 0 .55rem;
  font-size: .78rem;
}
.auth-modal-form--partner {
  gap: .55rem;
}
.auth-modal-card {
  padding: .85rem .95rem;
  border: 1px solid #e8eef4;
  border-radius: 14px;
  background: #fafbfc;
}
.auth-modal-card .auth-modal-section {
  margin-top: 0;
}
.auth-modal-segment {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: .5rem;
  margin-bottom: .7rem;
}
.auth-modal-segment__item {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0;
  padding: .48rem .65rem;
  border: 1px solid #e2e8f0;
  border-radius: 10px;
  background: #fff;
  font-size: .875rem;
  color: #334155;
  cursor: pointer;
  transition: border-color .15s ease, background .15s ease, color .15s ease;
}
.auth-modal-segment__item input {
  position: absolute;
  opacity: 0;
  width: 0;
  height: 0;
  margin: 0;
  pointer-events: none;
}
.auth-modal-segment__item:has(input:checked) {
  border-color: #0d9488;
  background: #f0fdfa;
  color: #0f766e;
  font-weight: 600;
}
.auth-modal-field-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: .55rem;
}
.auth-modal-footer {
  display: flex;
  flex-direction: column;
  gap: .55rem;
  padding-top: .15rem;
}
@media (max-width: 520px) {
  .auth-modal-field-row {
    grid-template-columns: 1fr;
  }
}
.auth-modal-hint {
  margin: 0 0 .85rem;
  font-size: .875rem;
  color: #5c6b7a;
  line-height: 1.5;
}
.auth-modal-tabs {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(0, 1fr));
  gap: 0;
  margin-bottom: .75rem;
  padding: 3px;
  border-radius: 10px;
  background: #f1f5f9;
  border: 1px solid #e2e8f0;
}
.auth-modal-tab {
  appearance: none;
  -webkit-appearance: none;
  font-family: inherit;
  border: 0;
  background: transparent;
  color: #64748b;
  border-radius: 7px;
  padding: .34rem .45rem;
  min-height: 2rem;
  font-size: .78rem;
  font-weight: 600;
  line-height: 1.25;
  text-align: center;
  white-space: nowrap;
  cursor: pointer;
  transition: background .15s ease, color .15s ease, box-shadow .15s ease;
}
.auth-modal-tab:hover:not(.is-active) {
  color: #334155;
  background: rgba(255, 255, 255, .45);
}
.auth-modal-tab.is-active {
  background: #fff;
  color: #0f766e;
  box-shadow: 0 1px 3px rgba(15, 23, 42, .07);
}
.auth-modal-tab:focus-visible {
  outline: 2px solid rgba(13, 148, 136, .45);
  outline-offset: 1px;
  z-index: 1;
}
.auth-modal-login-panel[hidden] {
  display: none !important;
}
.auth-modal-field--sms {
  display: flex;
  gap: .45rem;
  align-items: stretch;
}
.auth-modal-field--sms .auth-modal-input {
  flex: 1;
  min-width: 0;
}
.auth-modal-sms-btn {
  flex: 0 0 auto;
  white-space: nowrap;
  border: 1px solid #c5d3e3;
  background: #fff;
  border-radius: .45rem;
  padding: 0 .75rem;
  font-size: .8125rem;
  color: #2a5ea8;
  cursor: pointer;
}
.auth-modal-sms-btn:disabled {
  opacity: .55;
  cursor: not-allowed;
}
.auth-qr-wrap {
  text-align: center;
  padding: .5rem 0;
}
.auth-qr-img {
  border: 1px solid #e2e8f0;
  border-radius: .5rem;
  background: #fff;
}
.auth-modal-section {
  margin: .35rem 0 .55rem;
  font-size: .8rem;
  font-weight: 700;
  color: #1a2332;
  letter-spacing: .04em;
}
.auth-modal-radios {
  display: flex;
  gap: 1rem;
  margin-bottom: .75rem;
}
.auth-modal-radio {
  display: inline-flex;
  align-items: center;
  gap: .35rem;
  font-size: .9rem;
  color: #1a2332;
  cursor: pointer;
}
.auth-modal-radio input {
  margin: 0;
}
.auth-modal-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.35rem 1.75rem .25rem;
}
.auth-modal-title {
  margin: 0;
  font-size: 1.125rem;
  font-weight: 700;
  color: #111;
  line-height: 1.4;
}
.auth-modal-close {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2rem;
  height: 2rem;
  border: none;
  background: transparent;
  color: #a6a6a6;
  font-size: 1.5rem;
  line-height: 1;
  text-decoration: none;
  border-radius: 999px;
  cursor: pointer;
  padding: 0;
}
.auth-modal-close:hover {
  color: #64748b;
  background: #f1f5f9;
}
.auth-modal-body {
  padding: .5rem 0 1.75rem;
}
.auth-modal-col {
  padding: .75rem 1.75rem 0;
}
.auth-modal-form {
  display: flex;
  flex-direction: column;
  gap: .65rem;
}
.auth-modal-field {
  margin: 0;
}
.auth-modal-input {
  width: 100%;
  border: 1px solid #d8e0e8;
  border-radius: 10px;
  background: #fff;
  padding: .55rem .85rem;
  font-size: .875rem;
  line-height: 1.4;
  color: #111;
  outline: none;
  transition: box-shadow .15s ease, border-color .15s ease;
}
.auth-modal-input::placeholder {
  color: #9aa6b2;
}
.auth-modal-input:focus {
  background: #fff;
  border-color: #0d9488;
  box-shadow: 0 0 0 2px rgba(13, 148, 136, .14);
}
.auth-modal-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: .75rem;
  font-size: .8125rem;
}
.auth-modal-check {
  display: inline-flex;
  align-items: center;
  gap: .4rem;
  margin: 0;
  color: #64748b;
  cursor: pointer;
}
.auth-modal-check input {
  margin: 0;
}
.auth-modal-submit {
  width: 100%;
  border: none;
  border-radius: 10px;
  padding: .6rem .85rem;
  font-size: .875rem;
  font-weight: 600;
  color: #fff;
  background: #d1d5db;
  transition: background .15s ease, transform .15s ease;
}
.auth-modal-submit.is-ready {
  background: #0d9488;
  cursor: pointer;
}
.auth-modal-submit.is-ready:hover {
  filter: brightness(1.04);
}
.auth-modal-submit:disabled {
  cursor: not-allowed;
}
.auth-modal-terms {
  display: flex;
  align-items: flex-start;
  gap: .45rem;
  margin: .15rem 0 0;
  font-size: .75rem;
  line-height: 1.55;
  color: #64748b;
  cursor: pointer;
}
.auth-modal-terms input {
  margin-top: .2rem;
  flex-shrink: 0;
}
.auth-modal-link {
  color: var(--accent);
  text-decoration: none;
}
.auth-modal-link:hover {
  text-decoration: underline;
}
.auth-modal-alt {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: .5rem;
  margin-top: .35rem;
  font-size: .8125rem;
}
.auth-modal-alt-dot {
  color: #cbd5e1;
}
body.auth-modal-open {
  overflow: hidden;
}
body.auth-modal-open .modal {
  z-index: 1100;
}
body.auth-modal-open .modal-backdrop {
  z-index: 1095;
}
@media (max-width: 767.98px) {
  .auth-modal-scene {
    padding: 0;
    align-items: flex-end;
  }
  .auth-modal-scene.is-page {
    padding: 0;
    max-width: none;
  }
  .auth-modal-panel {
    width: 100%;
    border-radius: 24px 24px 0 0;
    max-height: calc(100dvh - 1rem);
    overflow: auto;
  }
  .auth-modal-col {
    padding: .75rem 1.25rem 0;
  }
  .auth-modal-head {
    padding: 1.1rem 1.25rem .15rem;
  }
  .auth-modal-page .blank-main {
    padding: 0;
  }
}

/* ===== App shell ===== */
.app-body { overflow: hidden; background: var(--main-bg); }
.app-shell {
  display: grid;
  grid-template-columns: 280px 1fr;
  height: 100vh;
  height: 100dvh;
  max-height: 100vh;
  max-height: 100dvh;
  overflow: hidden;
}
.app-shell-chat {
  grid-template-columns: 272px 1fr;
}
.app-shell--no-side {
  grid-template-columns: 1fr !important;
}
.app-shell--no-side .geo-side,
.app-shell--no-side .geo-side-backdrop {
  display: none !important;
}
.app-shell--no-side .top-btn-menu {
  display: none !important;
}

/* ===== GEO 助手侧栏 ===== */
.geo-side {
  display: flex;
  flex-direction: column;
  min-height: 0;
  background:
    radial-gradient(ellipse 120% 60% at 0% 0%, rgba(13, 148, 136, .16), transparent 55%),
    linear-gradient(180deg, var(--sidebar) 0%, var(--sidebar-2) 100%);
  color: var(--sidebar-text);
  border-right: 1px solid rgba(13, 148, 136, .12);
}
.geo-side-top {
  flex-shrink: 0;
  padding: 1rem .85rem .75rem;
  display: flex;
  flex-direction: column;
  gap: .5rem;
}
.geo-side-brand {
  display: flex;
  align-items: center;
  gap: .5rem;
  flex-wrap: nowrap;
  max-width: 100%;
  text-decoration: none;
  color: #fff;
  font-weight: 700;
  font-size: 1rem;
  letter-spacing: .01em;
  padding: .15rem .2rem .25rem;
}
.geo-side-brand:hover { color: #fff; }
/* 工作台 / 管理台侧栏品牌标题（统一字号与单行） */
.geo-side-name,
.admin-sidebar .sidebar-brand__logo > span {
  white-space: nowrap;
  font-size: 0.875rem;
  font-weight: 700;
  letter-spacing: 0;
  line-height: 1.25;
  color: #fff;
  flex: 0 1 auto;
  min-width: 0;
}
.geo-side-mark {
  width: 28px;
  height: 28px;
  border-radius: 8px;
  flex-shrink: 0;
  overflow: hidden;
  box-shadow: 0 2px 10px rgba(13, 148, 136, .4);
}
.geo-side-mark img {
  display: block;
  width: 100%;
  height: 100%;
}
.geo-side-home {
  display: inline-flex;
  align-items: center;
  gap: .4rem;
  padding: .42rem .7rem;
  border-radius: 9px;
  border: 1px solid rgba(255,255,255,.1);
  background: rgba(255,255,255,.04);
  color: #cbd5e1;
  text-decoration: none;
  font-size: .8125rem;
  font-weight: 500;
  transition: background .15s ease, border-color .15s ease, color .15s ease;
}
.geo-side-home .ico {
  width: .95rem;
  height: .95rem;
  flex-shrink: 0;
  opacity: .85;
}
.geo-side-home:hover {
  color: #fff;
  background: rgba(20, 184, 166, .18);
  border-color: rgba(20, 184, 166, .4);
}
.geo-side-home:hover .ico { opacity: 1; }
.geo-side-new {
  width: 100%;
  border: 1px solid transparent;
  background: linear-gradient(180deg, #14b8a6 0%, #0d9488 100%);
  color: #fff;
  border-radius: 10px;
  padding: .55rem .75rem;
  font-size: 13px;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .35rem;
  cursor: pointer;
  box-shadow: 0 4px 14px rgba(13, 148, 136, .28);
  transition: background .15s ease, box-shadow .15s ease, transform .12s ease;
}
.geo-side-new .ico { width: .95rem; height: .95rem; }
.geo-side-new:hover {
  background: linear-gradient(180deg, #0d9488 0%, #0f766e 100%);
  border-color: transparent;
  box-shadow: 0 6px 18px rgba(13, 148, 136, .35);
}
.geo-side-new:active {
  transform: translateY(1px);
}
.geo-side-nav {
  flex-shrink: 0;
  padding: 0 .65rem;
  display: flex;
  flex-direction: column;
  gap: 2px;
  overflow-y: auto;
  scrollbar-width: thin;
}
.app-shell-chat:not(.app-shell-agent) .geo-side-nav:not(.geo-side-nav--extras) {
  flex: 1;
  max-height: none;
  overflow-y: auto;
  padding-bottom: .75rem;
}
.geo-link {
  display: block;
  padding: .5rem .7rem;
  border-radius: 9px;
  color: #b6c0ce;
  text-decoration: none;
  font-size: 14px;
  font-weight: 500;
  line-height: 1.35;
  transition: color .12s ease, background .12s ease;
}
.geo-link:hover {
  color: #f8fafc;
  background: rgba(255,255,255,.06);
}
.geo-link.is-on {
  color: #fff;
  background: rgba(13, 148, 136, .28);
  box-shadow: inset 3px 0 0 #14b8a6;
}
.geo-link-hub {
  display: flex;
  align-items: center;
  gap: .55rem;
}
.geo-link-hub .ico {
  width: 1.15rem;
  height: 1.15rem;
  flex-shrink: 0;
  opacity: .9;
}
.geo-side-nav--hub-mob {
  flex-shrink: 0;
  border-bottom: 1px solid rgba(255, 255, 255, .08);
  padding-bottom: .65rem;
  margin-bottom: .2rem;
}
.geo-link-sub {
  font-size: 13px;
  padding: .42rem .7rem .42rem .9rem;
  color: #9aa5b5;
}
.geo-more {
  margin-top: .25rem;
  border-radius: 10px;
  border: 1px solid rgba(255,255,255,.06);
  background: rgba(0,0,0,.14);
  padding: .2rem;
}
.geo-more > summary {
  list-style: none;
  cursor: pointer;
  padding: .48rem .7rem;
  font-size: 13px;
  font-weight: 600;
  color: #a8b4c4;
  border-radius: 8px;
  user-select: none;
}
.geo-more > summary::-webkit-details-marker { display: none; }
.geo-more > summary::after {
  content: "▾";
  float: right;
  font-size: 11px;
  opacity: .7;
  transition: transform .15s ease;
}
.geo-more[open] > summary::after { transform: rotate(180deg); }
.geo-more > summary:hover { color: #e2e8f0; background: rgba(255,255,255,.05); }
.geo-more-body {
  display: flex;
  flex-direction: column;
  gap: 1px;
  padding: 0 .15rem .3rem;
}
.geo-side-console {
  display: block;
  margin: .35rem .65rem .5rem;
  padding: .55rem .75rem;
  border-radius: 10px;
  font-size: 13px;
  font-weight: 600;
  color: #e2e8f0;
  text-decoration: none;
  background: rgba(255, 255, 255, .08);
  border: 1px solid rgba(255, 255, 255, .12);
  transition: background .15s ease, border-color .15s ease, color .15s ease;
}
.geo-side-console:hover {
  color: #fff;
  background: rgba(255, 255, 255, .12);
  border-color: rgba(255, 255, 255, .18);
}
.geo-side-console.is-on {
  color: #fff;
  background: linear-gradient(135deg, rgba(13, 148, 136, .4) 0%, rgba(15, 118, 110, .3) 100%);
  border-color: rgba(20, 184, 166, .4);
  box-shadow: 0 4px 16px rgba(13, 148, 136, .2);
}
.geo-side-recent {
  flex: 1;
  min-height: 0;
  display: flex;
  flex-direction: column;
  margin: .55rem .55rem .65rem;
  padding: .7rem .45rem .7rem;
  border-radius: 12px;
  border: 1px solid rgba(255,255,255,.07);
  background: rgba(0,0,0,.18);
}
.geo-side-recent-hd {
  flex-shrink: 0;
  font-size: 11px;
  font-weight: 700;
  color: #7b8798;
  padding: 0 .55rem .55rem;
  letter-spacing: .06em;
  text-transform: uppercase;
}
.geo-recent-list {
  flex: 1;
  min-height: 0;
  overflow-y: auto;
  padding: 0 .15rem;
  scrollbar-width: thin;
  scrollbar-color: rgba(255,255,255,.15) transparent;
}
.geo-recent-list .hist-tag { display: none; }
.geo-recent-list .hist-row {
  border-radius: 8px;
  margin-bottom: 2px;
}
.geo-recent-list .hist-item-main {
  padding: .48rem .55rem;
  font-size: 13px;
  color: #b8c0cc;
  gap: 0;
}
.geo-recent-list .hist-row:hover .hist-item-main,
.geo-recent-list .hist-row.active .hist-item-main {
  color: #f3f4f6;
}
.geo-recent-list .hist-row.active {
  background: rgba(13, 148, 136, .2);
  box-shadow: inset 2px 0 0 #14b8a6;
}
.geo-recent-list .hist-row:hover {
  background: rgba(255,255,255,.05);
}
.geo-recent-list .hist-label {
  font-weight: 400;
}
.geo-recent-list .hist-actions {
  max-width: 3.5rem;
}
.geo-recent-list:empty::after {
  content: "暂无记录，点「新对话」开始";
  display: block;
  margin: .15rem .35rem;
  padding: .85rem .75rem;
  font-size: 12px;
  color: #8b96a8;
  line-height: 1.55;
  text-align: center;
  border-radius: 8px;
  border: 1px dashed rgba(255,255,255,.12);
  background: rgba(255,255,255,.03);
}

/* 非对话页：侧栏留给菜单，隐藏最近对话（建站模块子页保留聊天记录） */
.app-shell-chat:not(.app-shell-agent):not(.app-shell-site) .geo-side-recent {
  display: none;
}
.geo-nav-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4px;
  margin: .35rem 0 .5rem;
  padding: .35rem;
  border-radius: 10px;
  background: rgba(0,0,0,.15);
}
.geo-nav-grid .geo-link {
  text-align: center;
  font-size: 13px;
  padding: .48rem .35rem;
}
.geo-side-nav > .geo-link-main:nth-child(2) {
  margin-top: .45rem;
  padding-top: .55rem;
  border-top: 1px solid rgba(255, 255, 255, .1);
}
.geo-side-guest {
  padding: .15rem .55rem .55rem;
}
.geo-side-guest-hint {
  margin: 0 0 .45rem;
  font-size: 12px;
  color: #9ca3af;
  line-height: 1.45;
}
.geo-side-guest-actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: .4rem;
}
.geo-side-guest-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: .4rem .5rem;
  border-radius: 8px;
  border: 1px solid rgba(255,255,255,.14);
  background: rgba(255,255,255,.04);
  color: #e2e8f0;
  text-decoration: none;
  font-size: 12px;
  font-weight: 600;
}
.geo-side-guest-btn:hover {
  color: #fff;
  background: rgba(255,255,255,.08);
}
.geo-side-guest-btn--primary {
  border-color: rgba(13, 148, 136, .45);
  background: rgba(13, 148, 136, .22);
  color: #99f6e4;
}
.geo-side-guest-btn--primary:hover {
  background: rgba(13, 148, 136, .32);
  color: #fff;
}
.geo-side-sec-hd {
  margin: .65rem .55rem .25rem;
  padding: 0 .15rem;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: .04em;
  text-transform: uppercase;
  color: #7b8798;
}
.geo-side-sec-hd--shared {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 0.2rem 0.35rem;
  text-transform: none;
  letter-spacing: 0;
  font-size: 12px;
}
.geo-side-sec-hd__meta {
  font-size: 10px;
  font-weight: 500;
  color: #64748b;
  text-transform: none;
  letter-spacing: 0;
}
.geo-side-shared-assets {
  display: flex;
  flex-direction: column;
  gap: 3px;
  margin-bottom: 0.1rem;
}
.geo-side-nav--modules .geo-side-more {
  margin: 0.35rem 0 0.15rem;
}
.geo-side-nav--modules .geo-side-more > summary {
  margin: 0 0.15rem;
  padding: 0.45rem 0.55rem;
  border-radius: 8px;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: #7b8798;
}
.geo-side-nav--modules .geo-side-more .geo-more-body {
  display: flex;
  flex-direction: column;
  gap: 3px;
  padding: 0.15rem 0 0.1rem;
}
.topics-filter__shortcuts a {
  font-weight: 600;
  color: #2563eb;
  text-decoration: none;
}
.topics-filter__shortcuts a:hover {
  color: #1d4ed8;
  text-decoration: underline;
}
.page-head-text > .page-sub--meta .hub-back-link {
  font-weight: 600;
}
.geo-side-nav--modules {
  flex-shrink: 0;
  padding: .15rem .5rem .35rem;
  gap: 3px;
}
.geo-side-module {
  display: flex;
  align-items: center;
  gap: .55rem;
  padding: .5rem .7rem;
  border-radius: 9px;
  color: #b6c0ce;
  text-decoration: none;
  font-size: 14px;
  font-weight: 600;
  line-height: 1.35;
  transition: color .12s ease, background .12s ease;
}
.geo-side-module .ico {
  width: 1.05rem;
  height: 1.05rem;
  flex-shrink: 0;
  opacity: .88;
}
.geo-side-module:hover {
  color: #f8fafc;
  background: rgba(255,255,255,.06);
}
.geo-side-module.is-on {
  color: #fff;
  background: rgba(13, 148, 136, .28);
  box-shadow: inset 3px 0 0 #14b8a6;
}
.geo-side-module.is-on .ico {
  opacity: 1;
}
.geo-side--content-hub .geo-side-new,
.geo-side--content-hub .geo-side-nav--extras,
.geo-side--content-hub .geo-side-recent,
.geo-side--video-studio .geo-side-new,
.geo-side--video-studio .geo-side-nav--extras,
.geo-side--video-studio .geo-side-recent {
  display: none !important;
}
.geo-side--content-hub .content-hub-side-nav,
.geo-side--video-studio .video-studio-side-nav {
  flex: 1;
  min-height: 0;
  overflow-y: auto;
  padding-bottom: .75rem;
}
.geo-side-module--ext .ico {
  opacity: .75;
}
.geo-side-module--hub {
  margin-bottom: .15rem;
}
.geo-side-module--assist {
  border: 0;
  background: transparent;
  width: 100%;
  text-align: left;
  cursor: pointer;
}
.app-shell-chat:not(.app-shell--no-side) {
  --geo-hub-side-width: 272px;
}
/* 带侧栏时 Bootstrap 弹窗在主内容区居中，避免相对整屏居中压到导航上 */
@media (min-width: 992px) {
  .app-shell-chat:not(.app-shell--no-side) .modal {
    padding-left: var(--geo-hub-side-width, 272px);
    box-sizing: border-box;
  }
}
.geo-side-nav--site .geo-link-sub,
.geo-side-nav--extras-flat .geo-link-sub {
  display: flex;
  align-items: center;
  gap: .5rem;
}
.geo-side-nav--site .geo-link-sub .ico,
.geo-side-nav--extras-flat .geo-link-sub .ico {
  width: .95rem;
  height: .95rem;
  flex-shrink: 0;
  opacity: .8;
}
.geo-side-nav--projects {
  flex-shrink: 0;
  padding: 0 .5rem .25rem;
  gap: 1px;
  max-height: 11.5rem;
  overflow-y: auto;
}
.geo-side-project {
  display: flex;
  align-items: center;
  gap: .45rem;
  font-size: 13px;
  padding: .4rem .7rem .4rem .85rem;
}
.geo-side-project .ico {
  width: .9rem;
  height: .9rem;
  flex-shrink: 0;
  opacity: .65;
}
.geo-side-project span {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.geo-side-project.is-on .ico {
  opacity: 1;
}
.geo-side-project--more {
  font-size: 12px;
  color: #8b96a8 !important;
  padding-top: .25rem;
}
.geo-side-nav--extras-flat {
  padding-top: 0;
}
.geo-link-main {
  font-size: 14px;
  font-weight: 600;
}


.workspace-page {
  max-width: var(--geo-page-width);
  margin: 0 auto;
  width: 100%;
}
.workspace-page--fluid {
  max-width: none;
}
.workspace-flash {
  max-width: var(--geo-page-width);
  margin: 0 auto .75rem;
  width: 100%;
  box-sizing: border-box;
}
.workspace-flash.alert {
  margin-bottom: 0;
  overflow: visible;
  word-break: break-word;
  line-height: 1.55;
  border-radius: 10px;
  padding: .7rem 2.85rem .7rem .9rem;
  font-size: .875rem;
}
.workspace-flash.alert.alert-dismissible .btn-close {
  position: absolute;
  top: 50%;
  right: .55rem;
  transform: translateY(-50%);
  padding: .5rem;
  margin: 0;
  opacity: .55;
}
.workspace-flash.alert.alert-dismissible .btn-close:hover {
  opacity: .85;
}
@media (max-width: 991.98px) {
  .app-content > .workspace-flash {
    padding-left: .65rem;
    padding-right: .65rem;
    max-width: none;
  }
  .workspace-flash.alert {
    font-size: .8125rem;
    padding: .65rem 2.65rem .65rem .8rem;
  }
}

.app-sidebar {
  background: linear-gradient(180deg, var(--sidebar) 0%, var(--sidebar-2) 100%);
  color: #fff;
  display: flex;
  flex-direction: column;
  min-width: 0;
  padding: 1rem .9rem 1rem;
}
.app-sidebar-v2 {
  padding: .85rem .75rem .7rem;
  border-right: 1px solid rgba(255,255,255,.06);
  box-shadow: 4px 0 24px rgba(0,0,0,.12);
}
.sb-brand {
  display: flex;
  gap: .75rem;
  align-items: center;
  padding: .15rem .25rem .95rem;
  color: inherit;
  text-decoration: none;
  flex-shrink: 0;
}
.sb-brand:hover { color: #fff; opacity: .95; }
.sb-logo {
  width: 38px;
  height: 38px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  box-shadow: 0 4px 12px rgba(13, 148, 136, .35);
}
.sb-logo img {
  display: block;
  width: 100%;
  height: 100%;
}
.sb-brand strong {
  display: block;
  font-size: var(--fs-title);
  font-weight: 700;
  line-height: 1.25;
  color: #fff;
}
.sb-brand span {
  color: var(--sidebar-muted);
  font-size: var(--fs-menu-sm);
  margin-top: .12rem;
  display: block;
  line-height: 1.35;
}
.sb-nav-scroll {
  flex: 1;
  min-height: 0;
  overflow-y: auto;
  overflow-x: hidden;
  margin: 0 -.15rem;
  padding: 0 .15rem .35rem;
  scrollbar-width: thin;
  scrollbar-color: rgba(255,255,255,.2) transparent;
}
.sb-nav { display: flex; flex-direction: column; gap: .15rem; }
.sb-nav-group { margin-bottom: .85rem; }
.sb-nav-group-muted { margin-top: .25rem; padding-top: .5rem; border-top: 1px solid rgba(255,255,255,.08); }
.sb-nav-label {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: rgba(148, 163, 184, .85);
  padding: .35rem .55rem .4rem;
}
.sb-nav-item {
  display: flex;
  align-items: center;
  gap: .55rem;
  padding: .52rem .6rem;
  border-radius: 10px;
  color: #c9d4e8;
  text-decoration: none;
  font-size: 14px;
  font-weight: 500;
  line-height: 1.3;
  transition: background .12s ease, color .12s ease;
}
.sb-nav-item .ico {
  width: 1.15rem;
  height: 1.15rem;
  flex-shrink: 0;
  opacity: .9;
}
.sb-nav-item:hover {
  background: rgba(255,255,255,.08);
  color: #fff;
}
.sb-nav-item.active {
  background: linear-gradient(90deg, rgba(52,120,246,.35), rgba(52,120,246,.12));
  color: #fff;
  box-shadow: inset 0 0 0 1px rgba(147, 197, 253, .28);
}
.sb-nav-item.active .ico { opacity: 1; }
.sb-nav-item-compact {
  font-size: 13px;
  color: var(--sidebar-muted);
}
.sb-chat-dock {
  flex-shrink: 0;
  display: flex;
  flex-direction: column;
  min-height: 0;
  max-height: 38%;
  margin-top: .35rem;
  padding-top: .65rem;
  border-top: 1px solid rgba(255,255,255,.1);
  background: linear-gradient(180deg, transparent, rgba(0,0,0,.12));
}
.sb-chat-dock-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: .5rem;
  padding: 0 .2rem .45rem;
  flex-shrink: 0;
}
.sb-newchat-sm {
  margin-bottom: 0;
  padding: .38rem .55rem;
  font-size: 12px;
  font-weight: 600;
  border-radius: 8px;
  flex-shrink: 0;
}
.sb-newchat-sm span { display: inline; }
.sb-chat-dock .sb-history {
  flex: 1;
  min-height: 4rem;
  max-height: none;
}
.sb-tabs {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: .4rem;
  margin-bottom: .75rem;
}
.sb-tab {
  border: 0;
  background: rgba(255,255,255,.07);
  color: var(--sidebar-text);
  border-radius: 10px;
  padding: .55rem .2rem .48rem;
  font-size: var(--fs-menu-sm);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: .22rem;
  font-weight: 500;
}
.sb-tab .ico { font-size: 1.15rem; }
.sb-tab.active {
  background: var(--accent);
  color: #fff;
  font-weight: 600;
}
.sb-newchat {
  border: 0;
  background: var(--accent);
  color: #fff;
  border-radius: 10px;
  padding: .72rem .85rem;
  font-weight: 600;
  font-size: var(--fs-menu);
  margin-bottom: .9rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .4rem;
}
.sb-newchat .ico { font-size: 1.05rem; }
.sb-newchat:hover { background: var(--accent-hover); }
.sb-section-title {
  color: var(--sidebar-muted);
  font-size: var(--fs-menu-sm);
  margin: .15rem .4rem .5rem;
  font-weight: 500;
}
.sb-pane { display: none; flex: 1; min-height: 0; flex-direction: column; }
.sb-pane.active { display: flex; }
.sb-history {
  flex: 1;
  overflow: auto;
  padding-right: .1rem;
}
.hist-item {
  display: flex;
  align-items: center;
  gap: .45rem;
  width: 100%;
  text-align: left;
  border: 0;
  background: transparent;
  color: #c9d2e3;
  border-radius: 8px;
  padding: .5rem .55rem;
  margin-bottom: .08rem;
  font-size: 14px;
  line-height: 1.4;
  text-decoration: none;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  font-weight: 400;
}
.hist-item:hover { background: rgba(255,255,255,.09); color: #fff; }
.hist-item.active {
  background: rgba(52, 120, 246, .22);
  color: #fff;
  box-shadow: inset 0 0 0 1px rgba(147, 197, 253, .35);
}
#chatHistory .hist-row {
  display: flex;
  align-items: center;
  gap: .15rem;
  border-radius: 8px;
  margin-bottom: .08rem;
  padding-right: .15rem;
  cursor: pointer;
}
#chatHistory .hist-row:hover { background: rgba(255,255,255,.09); }
#chatHistory .hist-row.active {
  background: rgba(52, 120, 246, .22);
  box-shadow: inset 0 0 0 1px rgba(147, 197, 253, .35);
}
#chatHistory .hist-row .hist-item-main {
  flex: 1;
  min-width: 0;
  width: auto;
  margin-bottom: 0;
}
#chatHistory .hist-row.active .hist-item-main,
#chatHistory .hist-row:hover .hist-item-main { background: transparent; }
#chatHistory .hist-row.active .hist-item-main { color: #fff; box-shadow: none; }
#chatHistory .hist-label {
  flex: 1;
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
#chatHistory .hist-actions {
  flex: 0 0 auto;
  display: flex;
  align-items: center;
  gap: .1rem;
  opacity: 0;
  max-width: 0;
  overflow: hidden;
  pointer-events: none;
  transition: opacity .12s ease, max-width .12s ease;
}
#chatHistory .hist-row:hover .hist-actions,
#chatHistory .hist-row.active .hist-actions,
#chatHistory .hist-row:focus-within .hist-actions {
  opacity: 1;
  max-width: 4rem;
  pointer-events: auto;
}
#chatHistory .hist-act {
  border: 0;
  background: rgba(255,255,255,.1);
  color: #dbe4f5;
  width: 26px;
  height: 26px;
  border-radius: 6px;
  padding: 0;
  font-size: 14px;
  line-height: 1;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
#chatHistory .hist-act:hover {
  background: rgba(255,255,255,.18);
  color: #fff;
}
#chatHistory .hist-act[data-act="delete"]:hover {
  background: rgba(239, 68, 68, .35);
  color: #fecaca;
}
.hist-tag {
  flex: 0 0 auto;
  font-size: 12px;
  border-radius: 4px;
  padding: .12rem .32rem;
  font-weight: 600;
  line-height: 1.3;
}
.tag-diag { background: rgba(13,148,136,.28); color: #5eead4; }
.tag-build { background: rgba(47,107,255,.22); color: #93c5fd; }
.tag-probe { background: rgba(52,120,246,.3); color: #93c5fd; }
.tag-video { background: rgba(124,58,237,.28); color: #d8b4fe; }
.tag-theme { background: rgba(245,158,11,.24); color: #fcd34d; }
.tag-log { background: rgba(148,163,184,.24); color: #cbd5e1; }

.app-main {
  display: flex;
  flex-direction: column;
  min-width: 0;
  min-height: 0;
  overflow: hidden;
  background: var(--main-bg);
}
.app-topbar {
  height: 56px;
  background: rgba(255, 255, 255, .92);
  border-bottom: 1px solid var(--line);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 1rem 0 1.15rem;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}
.app-topbar--hub {
  min-height: 56px;
  height: auto;
  overflow: visible;
  z-index: 20;
}
.app-topbar--hub .top-actions {
  overflow: visible;
}
.geo-top-tabs {
  display: inline-flex;
  align-items: center;
  gap: .12rem;
  flex-wrap: nowrap;
  padding: .28rem;
  border-radius: 12px;
  background: linear-gradient(180deg, #eef7f5 0%, #e8f0f2 100%);
  border: 1px solid #d5e4e1;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .85), 0 1px 2px rgba(26, 35, 50, .05);
}
.geo-top-tab {
  flex-shrink: 0;
  padding: .48rem .95rem;
  border-radius: 9px;
  font-size: 13.5px;
  font-weight: 600;
  color: #64748b;
  text-decoration: none;
  line-height: 1.25;
  white-space: nowrap;
  transition: color .15s ease, background .15s ease, box-shadow .15s ease, transform .12s ease;
}
.geo-top-tab:hover {
  color: #1a2332;
  background: rgba(255, 255, 255, .55);
}
.geo-top-tab.is-on {
  color: var(--accent-hover);
  background: var(--surface);
  font-weight: 700;
  box-shadow: 0 1px 4px rgba(26, 35, 50, .08), 0 0 0 1px rgba(13, 148, 136, .22);
}
.geo-bottom-nav {
  display: none;
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 1040;
  align-items: stretch;
  justify-content: space-around;
  gap: 0;
  min-height: var(--bottom-nav-h);
  padding: .35rem .25rem calc(.35rem + env(safe-area-inset-bottom, 0px));
  background: rgba(255, 255, 255, .94);
  border-top: 1px solid var(--line);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  box-shadow: 0 -4px 20px rgba(15, 23, 42, .06);
}
.geo-bottom-tab {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: .15rem;
  padding: .2rem .15rem;
  border-radius: 10px;
  text-decoration: none;
  color: var(--muted);
  font-size: 11px;
  font-weight: 600;
  line-height: 1.2;
  transition: color .12s ease, background .12s ease;
}
.geo-bottom-tab .ico {
  width: 1.25rem;
  height: 1.25rem;
  opacity: .85;
}
.geo-bottom-tab.is-on {
  color: var(--accent-hover);
  background: var(--accent-soft);
  font-weight: 700;
  box-shadow: inset 0 0 0 1px rgba(13, 148, 136, .16);
}
.geo-bottom-tab.is-on .ico {
  opacity: 1;
}
.geo-side-backdrop {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 1090;
  background: rgba(15, 23, 42, .45);
}
.geo-side-backdrop:not([hidden]) {
  display: block;
}
.top-btn-menu {
  flex-shrink: 0;
}
.geo-mobile-hub-title {
  font-size: 15px;
  font-weight: 700;
  color: var(--ink);
  letter-spacing: -.02em;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  min-width: 0;
}
.geo-mobile-nav {
  display: none;
  align-items: center;
  gap: 0.28rem;
  min-width: 0;
  flex: 1;
}
.geo-query-monitor-billing-bar .geo-billing-strip {
  flex: 1 1 auto;
  min-width: 0;
}
.qm-billing-modal-link {
  font-weight: 600;
  font-size: 0.8125rem;
  color: #0f766e;
  white-space: nowrap;
}
.qm-billing-modal-link:hover,
.qm-billing-modal-link:focus-visible {
  color: #0d9488;
}
@media (min-width: 992px) {
  .app-main--subpage .app-topbar--hub .geo-mobile-nav {
    display: flex;
    flex: 0 0 auto;
    max-width: min(16rem, 36vw);
  }
}
.admin-topbar-back {
  flex-shrink: 0;
  padding: 0.32rem 0.5rem;
  min-height: 2.15rem;
}
.admin-topbar-back .geo-subpage-back__ico {
  font-size: 1.05rem;
  color: #0f766e;
}
/* 全站统一：页头 / 顶栏返回（视频工坊、投稿等子页） */
.geo-hub-back-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.28rem;
  flex-shrink: 0;
  padding: 0.38rem 0.85rem;
  font-size: 0.8125rem;
  font-weight: 600;
  line-height: 1.25;
  color: #475569;
  background: #fff;
  border: 1px solid #e2e8f0;
  border-radius: 0.45rem;
  box-shadow: 0 1px 2px rgba(15, 23, 42, 0.05);
  text-decoration: none;
  white-space: nowrap;
  max-width: 100%;
  transition: color 0.12s ease, border-color 0.12s ease, background 0.12s ease, box-shadow 0.12s ease;
}
.geo-hub-back-btn__ico {
  flex-shrink: 0;
  font-size: 0.95rem;
  line-height: 1;
  color: #0f766e;
}
.geo-hub-back-btn__full {
  overflow: hidden;
  text-overflow: ellipsis;
}
.geo-hub-back-btn__short {
  display: none;
}
.geo-hub-back-btn:hover,
.geo-hub-back-btn:focus-visible {
  color: #0f766e;
  background: #f0fdfa;
  border-color: rgba(15, 118, 110, 0.35);
  box-shadow: 0 2px 6px rgba(15, 118, 110, 0.08);
  text-decoration: none;
}
.geo-subpage-back.geo-hub-back-btn--topbar {
  max-width: min(11rem, 42vw);
}
.geo-subpage-back {
  display: inline-flex;
  align-items: center;
  gap: 0.12rem;
  flex-shrink: 0;
  text-decoration: none;
}
.geo-subpage-back__ico {
  flex-shrink: 0;
  line-height: 1;
}
.geo-subpage-back__text {
  overflow: hidden;
  text-overflow: ellipsis;
}
.page-head-actions .geo-hub-back-btn {
  margin-left: auto;
}
.video-studio-page-head > .page-head-actions,
.content-hub-page-head > .page-head-actions,
.growth-hub-page-head > .page-head-actions {
  margin-left: auto;
  flex: 0 0 auto;
}
.geo-side-nav--extras {
  flex-shrink: 0;
  padding: 0 .5rem .35rem;
}
.geo-side-nav--site {
  flex-shrink: 0;
  padding: 0 .5rem .35rem;
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.app-shell-agent .geo-side-nav--extras {
  padding-top: 0;
}
.app-shell-agent .geo-side-recent {
  margin-top: 0;
}
.top-left {
  display: flex;
  align-items: center;
  gap: .65rem;
  flex-wrap: wrap;
  min-width: 0;
}
.top-crumb {
  font-weight: 500;
  color: #4b5563;
  font-size: 14px;
}
.top-actions {
  display: flex;
  align-items: center;
  gap: .15rem;
}
.top-btn,
.top-link {
  color: #5a6270;
  text-decoration: none;
  font-size: 14px;
  display: inline-flex;
  align-items: center;
  gap: .32rem;
  background: none;
  border: 0;
  padding: .45rem .6rem;
  border-radius: 8px;
  cursor: pointer;
  line-height: 1.2;
  font-weight: 500;
}
.top-btn .ico { font-size: 1.1rem; }
.top-btn:hover,
.top-link:hover { background: #eef1f6; color: var(--accent); }
.top-bell { position: relative; }
.top-bell i {
  position: absolute;
  top: 2px;
  right: 2px;
  background: var(--danger);
  color: #fff;
  border-radius: 999px;
  font-style: normal;
  font-size: .62rem;
  min-width: 15px;
  height: 15px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 3px;
}
.top-avatar {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: linear-gradient(145deg, #dbe8ff, #eaf1ff);
  color: var(--accent);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid #c5d8ff;
  box-shadow: inset 0 1px 0 rgba(255,255,255,.8);
}
.top-avatar .ico {
  font-size: 15px;
  vertical-align: 0;
}

.app-content {
  flex: 1;
  min-height: 0;
  display: flex;
  flex-direction: column;
  overflow: hidden;
}

/* 工坊/详情等长页：主内容区纵向滚动（须高于 .app-content 的 overflow:hidden） */
.app-content.app-content--workspace {
  overflow-x: hidden;
  overflow-y: auto;
  overscroll-behavior: contain;
  padding: 1rem 1.25rem 1.5rem;
  -webkit-overflow-scrolling: touch;
  flex: 1 1 auto;
  min-height: 0;
  display: flex;
  flex-direction: column;
}
.app-shell--growth .app-content--workspace > .workspace-page {
  flex: 1 1 auto;
  min-height: 0;
}
.app-shell--growth .workspace-page .panel-card,
.app-shell--growth .workspace-page .geo-projects-metric {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 12px;
}
.hub-back-link {
  display: inline-flex;
  align-items: center;
  font-size: 13px;
  font-weight: 500;
  color: var(--muted);
  text-decoration: none;
}
.hub-back-link:hover {
  color: var(--accent);
}
.content-hub-page-head,
.video-studio-page-head,
.growth-hub-page-head {
  align-items: flex-start;
  gap: 0.35rem 1rem;
}
.content-hub-page-head .page-head-text > .page-sub:not(.page-sub--meta):not(.text-center),
.video-studio-page-head .page-head-text > .page-sub:not(.page-sub--meta):not(.text-center),
.video-studio-page-head > .page-sub:not(.page-sub--meta):not(.text-center),
.growth-hub-page-head .page-head-text > .page-sub:not(.page-sub--meta):not(.text-center) {
  margin-top: 0.2rem;
  margin-bottom: 0;
  padding: 0;
  border: none;
  background: transparent;
  color: #64748b;
  font-size: 0.8125rem;
  font-weight: 400;
  line-height: 1.5;
  max-width: 42rem;
}
.content-hub-page-head__back,
.video-studio-page-head__back,
.growth-hub-page-head__back {
  margin-left: auto;
  flex-shrink: 0;
  padding-top: 0.35rem;
}
.content-hub-page-head .page-head-actions + .content-hub-page-head__back,
.video-studio-page-head .page-head-actions + .video-studio-page-head__back,
.video-studio-page-head .page-head-actions + .growth-hub-page-head__back,
.growth-hub-page-head .page-head-actions + .growth-hub-page-head__back {
  margin-left: 0.75rem;
}
.content-hub-stats-panel .stat-card--compact {
  padding: 0.75rem 0.9rem;
  border-color: #e8edf2;
  background: #f8fafc;
  box-shadow: none;
}
.content-hub-stats-panel .stat-card--compact .label {
  font-size: 0.78rem;
  margin-bottom: 0.15rem;
}
.content-hub-stats-panel .stat-card--compact .value {
  font-size: 1.35rem;
}
.content-hub-stats-panel__section {
  padding-top: 0.15rem;
  border-top: 1px solid #eef2f6;
}
.content-hub-stats-panel__section:not(:first-child) {
  margin-top: 0.15rem;
  padding-top: 1rem;
}
.content-hub-stats-grid + .content-hub-stats-panel__section {
  margin-top: 0;
  padding-top: 1rem;
  border-top: 1px solid #eef2f6;
}
.content-hub-stats-panel__title {
  margin: 0 0 0.75rem;
  font-size: 0.875rem;
  font-weight: 650;
  color: #334155;
}
.content-hub-stats-panel__lead {
  color: #475569;
  font-size: 0.875rem;
}
.content-hub-stats-panel__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}
.content-hub-stats-signals__item {
  margin-bottom: 0.55rem;
  padding: 0.72rem 0.78rem;
  border: 1px solid #e8edf2;
  border-radius: 0.65rem;
  background: #fff;
  box-shadow: 0 1px 2px rgba(15, 23, 42, 0.04);
}
.content-hub-stats-signals__item:last-child {
  margin-bottom: 0;
}
.content-hub-stats-signals__head {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.35rem 0.5rem;
  margin-bottom: 0.35rem;
}
.content-hub-stats-signals__title {
  flex: 1 1 8rem;
  min-width: 0;
  font-size: 0.8125rem;
  font-weight: 650;
  line-height: 1.45;
  color: #0f172a;
  word-break: break-word;
}
.content-hub-stats-signals__score {
  flex-shrink: 0;
  font-size: 0.72rem;
  font-weight: 600;
  line-height: 1.3;
  padding: 0.18rem 0.5rem;
  border-radius: 999px;
  background: #f1f5f9;
  color: #475569;
  white-space: nowrap;
}
.content-hub-stats-signals__link {
  display: block;
  font-size: 0.75rem;
  line-height: 1.45;
  color: #0f766e;
  text-decoration: none;
  word-break: break-all;
}
.content-hub-stats-signals__link:hover {
  text-decoration: underline;
  color: #0d9488;
}
@media (max-width: 767.98px) {
  .content-hub-stats-page .keyword-library-panel.content-hub-stats-panel {
    padding: 0.75rem 0.65rem;
  }
  .content-hub-stats-page .content-hub-stats-grid.row {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.5rem;
    --bs-gutter-x: 0;
    --bs-gutter-y: 0;
    margin-bottom: 0.75rem !important;
  }
  .content-hub-stats-page .content-hub-stats-grid > [class*="col-"] {
    width: 100%;
    max-width: 100%;
    padding: 0;
  }
  .content-hub-stats-page .content-hub-stats-panel .stat-card--compact {
    height: 100%;
    padding: 0.62rem 0.68rem;
    border-radius: 0.6rem;
    background: #fff;
  }
  .content-hub-stats-page .content-hub-stats-panel .stat-card--compact .label {
    font-size: 0.72rem;
    line-height: 1.35;
    color: #64748b;
  }
  .content-hub-stats-page .content-hub-stats-panel .stat-card--compact .value {
    font-size: 1.2rem;
    font-weight: 700;
    line-height: 1.2;
  }
  .content-hub-stats-page .content-hub-stats-panel__title {
    font-size: 0.8125rem;
    margin-bottom: 0.55rem;
  }
  .content-hub-stats-page .content-hub-stats-panel__actions {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.45rem;
  }
  .content-hub-stats-page .content-hub-stats-panel__actions .btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    min-height: 2.35rem;
    margin: 0;
  }
}
.growth-hub-cross-nav-banner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem 1rem;
  padding: 0.55rem 0.85rem;
  border-radius: 0.55rem;
  border: 1px solid rgba(37, 99, 235, 0.18);
  background: linear-gradient(90deg, #eff6ff 0%, #f8fafc 55%, #f8fafc 100%);
  font-size: 0.8125rem;
  color: #475569;
}
.growth-hub-cross-nav-banner__meta {
  color: #64748b;
}
.growth-hub-cross-nav-banner__link {
  margin-left: auto;
  font-weight: 600;
  color: #2563eb;
  text-decoration: none;
  white-space: nowrap;
}
.growth-hub-cross-nav-banner__link:hover {
  color: #1d4ed8;
  text-decoration: underline;
}
.growth-hub-cross-nav-banner__crumb {
  color: #2563eb;
  font-weight: 600;
  text-decoration: none;
}
.growth-hub-cross-nav-banner__crumb:hover {
  text-decoration: underline;
}
.growth-hub-cross-nav-banner__sep {
  margin: 0 0.35rem;
  color: #94a3b8;
}
.growth-hub-cross-nav-banner--video-media .growth-hub-cross-nav-banner__text {
  max-width: min(100%, 42rem);
}
.geo-side-module.is-cross-context.is-on {
  box-shadow: inset 3px 0 0 #2563eb;
}
.geo-side-module.is-cross-context.is-on::after {
  content: "共用";
  margin-left: auto;
  font-size: 0.625rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  color: #2563eb;
  opacity: 0.85;
}
.growth-hub-theme-sync-banner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem 1rem;
  padding: 0.5rem 0.85rem;
  border-radius: 0.55rem;
  border: 1px solid rgba(245, 158, 11, 0.28);
  background: #fffbeb;
  font-size: 0.8125rem;
  color: #92400e;
}
.growth-hub-theme-sync-banner__link {
  margin-left: auto;
  font-weight: 600;
  color: #b45309;
  text-decoration: none;
  white-space: nowrap;
}
.growth-hub-theme-sync-banner__link:hover {
  color: #92400e;
  text-decoration: underline;
}
.vs-enterprise-media-drawer {
  width: min(420px, 100vw);
}
.vs-media-drawer__grid {
  min-height: 12rem;
}
.vs-media-drawer__card {
  background: #fff;
}
.panel-card--list {
  padding: 1rem;
}
.table-mobile-wrap {
  margin: 0 -.15rem;
}
.cell-clamp {
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  word-break: break-word;
}

/* Agent workspace */
.agent-workspace {
  --hub-content-width: 720px;
  flex: 1;
  min-height: 0;
  height: 100%;
  display: flex;
  flex-direction: column;
  max-width: 920px;
  width: 100%;
  margin: 0 auto;
  padding: 0 1.1rem;
  overflow: hidden;
}

.growth-hub-stack {
  max-width: var(--hub-content-width);
  width: 100%;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}
.growth-hub-stack__toolbar {
  display: flex;
  justify-content: flex-end;
  margin-top: -0.15rem;
}
.growth-hub-stack__link {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--accent, #0d9488);
  text-decoration: none;
  white-space: nowrap;
}
.growth-hub-stack__link .ico {
  width: 14px;
  height: 14px;
}
.growth-hub-stack__link:hover {
  color: var(--accent-hover, #0f766e);
  text-decoration: underline;
}
.growth-hub-stack .cap-grid,
.growth-hub-stack .cap-grid-2,
.growth-hub-stack .cap-grid-3,
.growth-hub-stack .cap-grid-4 {
  max-width: none;
  width: 100%;
  margin-left: 0;
  margin-right: 0;
  margin-bottom: 0;
  align-items: stretch;
}
.growth-hub-stack .cap-card {
  height: 100%;
}
.growth-hub-stack .hub-content-panel,
.growth-hub-stack .hub-site-panel {
  max-width: none;
  width: 100%;
  margin: 0;
}
.growth-hub-stack .geo-site-first-nudge,
.growth-hub-stack .video-hub-meta,
.growth-hub-stack .video-hub-positioning,
.growth-hub-stack .video-hub-ask-hint,
.growth-hub-stack .hub-manage-footnote--compact,
.growth-hub-stack .hub-manage-footnote,
.growth-hub-stack .hub-manage-link-wrap,
.growth-hub-stack .hub-secondary-links {
  max-width: none;
  width: 100%;
  margin-left: 0;
  margin-right: 0;
}
.growth-hub-stack .hub-manage-footnote,
.growth-hub-stack .hub-manage-footnote--compact,
.growth-hub-stack .hub-manage-link-wrap {
  text-align: left;
}
.growth-hub-stack .video-hub-meta {
  margin-top: 0;
  margin-bottom: 0;
  justify-content: flex-start;
}
.growth-hub-stack .video-hub-positioning,
.growth-hub-stack .video-hub-ask-hint {
  margin-top: 0;
  margin-bottom: 0;
}
.growth-hub-stack .hub-secondary-links {
  justify-content: flex-start;
}

.workspace-back-hub {
  border: none;
  background: transparent;
  color: #2563eb;
  font-size: .84rem;
  font-weight: 600;
  padding: .3rem .5rem;
  cursor: pointer;
  border-radius: 6px;
  line-height: 1.3;
  white-space: nowrap;
}

.workspace-back-hub:hover {
  background: #eef3ff;
}
.welcome-view {
  flex: 1;
  min-height: 0;
  overflow-x: hidden;
  overflow-y: auto;
  overscroll-behavior: contain;
  padding: 1.25rem 0 .75rem;
}
.welcome-hero {
  text-align: center;
  margin-bottom: 0.75rem;
}
.welcome-logo {
  width: 52px;
  height: 52px;
  margin: 0 auto .75rem;
  border-radius: 16px;
  background: linear-gradient(145deg, #14b8a6, #0d9488);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.45rem;
  box-shadow: 0 6px 18px rgba(13, 148, 136, .22);
}
.welcome-hero h1 {
  font-size: 1.5rem;
  font-weight: 700;
  margin: 0 0 .4rem;
  color: var(--ink);
  letter-spacing: -.02em;
}
.welcome-hero p {
  color: var(--muted);
  margin: 0 auto;
  max-width: 520px;
  line-height: 1.65;
  font-size: 14px;
}

.geo-growth-philosophy {
  margin: 0;
  max-width: none;
  width: 100%;
  text-align: left;
  border: 1px solid #e2e8f0;
  border-radius: 0.75rem;
  background: #fff;
  box-shadow: 0 6px 24px rgba(15, 23, 42, 0.05);
  padding: 0.75rem 0.9rem;
  overflow: hidden;
  box-sizing: border-box;
}
.geo-growth-philosophy__summary {
  cursor: pointer;
  font-weight: 600;
  color: var(--ink);
  list-style: none;
  display: flex;
  align-items: center;
  gap: 0.4rem;
  user-select: none;
}
.geo-growth-philosophy__summary::-webkit-details-marker { display: none; }
.geo-growth-philosophy__icon { font-size: 0.95rem; flex-shrink: 0; }
.geo-growth-philosophy__title {
  font-size: 0.875rem;
  flex: 1;
  min-width: 0;
}
.geo-growth-philosophy__chevron {
  flex-shrink: 0;
  width: 0.45rem;
  height: 0.45rem;
  margin-left: auto;
  border-right: 1.5px solid #64748b;
  border-bottom: 1.5px solid #64748b;
  transform: rotate(45deg);
  transition: transform 0.15s ease;
}
.geo-growth-philosophy[open] .geo-growth-philosophy__chevron {
  transform: rotate(-135deg);
  margin-top: 0.15rem;
}
.geo-growth-philosophy__body {
  margin-top: 0.5rem;
  padding-top: 0.5rem;
  border-top: 1px solid rgba(13, 148, 136, 0.12);
  font-size: 0.84rem;
  color: var(--muted);
  line-height: 1.55;
}
.geo-growth-philosophy--static {
  display: flex;
  align-items: flex-start;
  gap: 0.45rem;
  background: linear-gradient(135deg, #fffbeb 0%, #fff 55%);
  border-color: #fde68a;
}
.geo-growth-philosophy--static .geo-growth-philosophy__static-body {
  flex: 1;
  min-width: 0;
}
.geo-growth-philosophy--static .geo-growth-philosophy__title {
  display: block;
  font-size: 0.875rem;
  margin-bottom: 0.25rem;
}
.geo-growth-philosophy--static .geo-growth-philosophy__body {
  margin-top: 0;
  padding-top: 0;
  border-top: 0;
}
.geo-site-first-nudge {
  margin: 0;
  padding: 0.85rem 1rem;
  border-radius: 0.75rem;
  border: 1px dashed rgba(234, 88, 12, 0.35);
  background: rgba(255, 247, 237, 0.92);
  font-size: 0.88rem;
  color: var(--ink);
  box-sizing: border-box;
}
.geo-site-first-nudge__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}
.welcome-hero-actions {
  margin-top: .9rem;
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: .5rem;
}

.welcome-hero-link {
  display: inline-flex;
  align-items: center;
  gap: .4rem;
  padding: .42rem .95rem;
  border-radius: 999px;
  border: 1px solid #dbe3f0;
  background: #fff;
  color: #334155;
  font-size: 13px;
  font-weight: 500;
  text-decoration: none;
  box-shadow: 0 2px 8px rgba(27, 36, 53, .04);
  transition: border-color .15s, background .15s, color .15s, box-shadow .15s;
}

.welcome-hero-link .ico {
  width: 16px;
  height: 16px;
  color: #64748b;
}

.welcome-hero-link:hover {
  border-color: rgba(13, 148, 136, .35);
  background: #f0faf8;
  color: var(--accent);
  box-shadow: 0 4px 14px rgba(13, 148, 136, .12);
}

.welcome-hero-link:hover .ico {
  color: var(--accent);
}
.welcome-hero-link--subtle {
  padding: 0;
  border: none;
  background: transparent;
  box-shadow: none;
  color: var(--accent, #0d9488);
  font-size: 13px;
  font-weight: 600;
}
.welcome-hero-link--subtle .ico {
  color: currentColor;
}
.welcome-hero-link--subtle:hover {
  background: transparent;
  color: var(--accent-hover, #0f766e);
  box-shadow: none;
  text-decoration: underline;
}

.hub-manage-link-wrap {
  text-align: center;
  margin: .5rem 0 0;
}

.hub-manage-link {
  font-size: 13px;
  color: var(--muted);
  text-decoration: none;
}

.hub-manage-link:hover {
  color: var(--accent, #2563eb);
}

.hub-manage-link--bridge {
  font-weight: 600;
  color: #0f766e;
}

.hub-manage-link--bridge:hover {
  color: #0d9488;
}

.hub-secondary-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 0.15rem 0.35rem;
  margin: 0.35rem 0 0;
  font-size: 0.78rem;
}

.hub-secondary-links__link {
  color: #64748b;
  text-decoration: none;
}

.hub-secondary-links__link:hover {
  color: #0f172a;
  text-decoration: underline;
}

.hub-secondary-links__sep {
  color: #cbd5e1;
}

.hub-manage-footnote {
  text-align: center;
  color: var(--muted);
  font-size: 13px;
  margin: 0 0 .75rem;
}

.hub-manage-footnote--compact {
  max-width: 520px;
  margin-left: auto;
  margin-right: auto;
}

.hub-manage-footnote--compact summary {
  cursor: pointer;
  list-style: none;
}

.hub-manage-footnote--compact summary::-webkit-details-marker {
  display: none;
}

.hub-manage-footnote--compact[open] summary {
  margin-bottom: .25rem;
}

details.panel-card > summary {
  cursor: pointer;
  padding: .15rem 0;
}

details.panel-card > summary::-webkit-details-marker {
  display: none;
}

.cap-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: .85rem;
  margin-bottom: 1.15rem;
}
.cap-grid-2 {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  justify-content: stretch;
}
.cap-grid-3 {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: .75rem;
}
.cap-grid-4 {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: .7rem;
}
.growth-hub-monitor-section {
  margin-top: 1.35rem;
  padding-top: 1.1rem;
  border-top: 1px solid rgba(15, 23, 42, .08);
}
.growth-hub-monitor-section__title {
  font-size: 1rem;
  font-weight: 600;
  margin: 0 0 .35rem;
  color: #0f172a;
}
.cap-card {
  display: flex;
  gap: .7rem;
  align-items: flex-start;
  text-align: left;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  padding: .9rem .85rem;
  box-shadow: var(--shadow-sm);
  cursor: pointer;
  transition: border-color .15s, box-shadow .15s, transform .15s;
}
a.cap-card {
  text-decoration: none;
  color: inherit;
}
.cap-card:hover {
  border-color: rgba(13, 148, 136, .35);
  box-shadow: var(--shadow-md);
  transform: translateY(-1px);
}
.cap-card-active {
  border-color: #0d9488 !important;
  box-shadow: 0 0 0 2px rgba(13, 148, 136, .22) !important;
  background: #f0faf8;
}
.cap-ico {
  width: 40px;
  height: 40px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  flex: 0 0 auto;
}
.tone-diag { background: #ccfbf1; color: #0d9488; }
.tone-probe { background: #e6fffa; color: #0f766e; }
.tone-video { background: #f0fdfa; color: #0f766e; }
.tone-theme { background: #ccfbf1; color: #115e59; }
.tone-site { background: #e6fffa; color: #0d9488; }
.tone-build { background: #f0fdfa; color: #0f766e; }
.tone-compare { background: #fff7ed; color: #c2410c; }
/* 视频工坊：功能卡图标统一青绿 */
[data-growth-hub="video"] .tone-diag, [data-growth-hub="content"] .tone-diag,
[data-growth-hub="video"] .tone-probe, [data-growth-hub="content"] .tone-probe,
[data-growth-hub="video"] .tone-video, [data-growth-hub="content"] .tone-video,
[data-growth-hub="video"] .tone-theme, [data-growth-hub="content"] .tone-theme,
[data-growth-hub="video"] .tone-site, [data-growth-hub="content"] .tone-site,
[data-growth-hub="video"] .tone-build, [data-growth-hub="content"] .tone-build,
[data-growth-hub="video"] .tone-compare , [data-growth-hub="content"] .tone-compare {
  background: #ccfbf1;
  color: #0f766e;
}
.cap-body { min-width: 0; }
.cap-body strong {
  display: block;
  font-size: 15px;
  margin-bottom: .28rem;
  color: var(--ink);
}
.cap-body span {
  display: block;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.5;
}

.content-readiness-hints {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.35rem;
  margin: 0.65rem auto 0;
  max-width: 28rem;
}
.content-readiness-chip {
  display: inline-flex;
  align-items: center;
  padding: 0.2rem 0.55rem;
  border-radius: 999px;
  font-size: 12px;
  line-height: 1.3;
  color: #64748b;
  background: #f1f5f9;
  border: 1px solid #e2e8f0;
}
.content-readiness-chip.is-ready {
  color: #0f766e;
  background: #f0fdfa;
  border-color: rgba(13, 148, 136, 0.28);
}

/* 内容发布 Hub */
.agent-workspace[data-growth-hub="content"] {
  max-width: 960px;
  --hub-content-width: 880px;
}
[data-growth-hub="content"] .growth-hub-stack {
  gap: 0.65rem;
}
[data-growth-hub="content"] .welcome-view {
  padding-top: 0.85rem;
  padding-bottom: 0.35rem;
}
[data-growth-hub="content"] .welcome-hero {
  margin-bottom: 0.65rem;
}
[data-growth-hub="content"] .welcome-hero h1 {
  font-size: 1.42rem;
  margin-bottom: 0.3rem;
}
[data-growth-hub="content"] .welcome-hero p {
  max-width: none;
  font-size: 13px;
  margin-bottom: 0;
  line-height: 1.45;
}
[data-growth-hub="content"] .welcome-logo {
  width: 2.5rem;
  height: 2.5rem;
  margin-bottom: 0.5rem;
}
[data-growth-hub="content"] .content-readiness-hints {
  margin-top: 0.55rem;
  padding: 0.35rem 0.5rem;
  background: rgba(255, 255, 255, 0.75);
  border: 1px solid #e2e8f0;
  border-radius: 0.55rem;
}
[data-growth-hub="content"] .hub-content-panel {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  padding: 1rem 1.15rem 0.9rem;
  background: linear-gradient(180deg, #fff 0%, #fafbfc 100%);
  border: 1px solid #e2e8f0;
  border-radius: 0.85rem;
  box-shadow: 0 8px 28px rgba(15, 23, 42, 0.06);
  box-sizing: border-box;
}
[data-growth-hub="content"] .hub-content-panel--workflow {
  gap: 0.45rem;
}
[data-growth-hub="content"] .content-hub-hub-panels--compact {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}
[data-growth-hub="content"] .content-hub-flow-board {
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
}
[data-growth-hub="content"] .content-hub-phase {
  padding: 0.55rem 0.7rem;
  border-radius: 0.7rem;
  border: 1px solid #e8eef4;
  background: #fff;
}
[data-growth-hub="content"] .content-hub-phase--prep {
  border-color: #e2e8f0;
  background: linear-gradient(135deg, #f8fafc 0%, #fff 55%);
}
[data-growth-hub="content"] .content-hub-phase--produce {
  border-color: rgba(13, 148, 136, 0.18);
  background: linear-gradient(135deg, #f0fdfa 0%, #fff 50%);
}
[data-growth-hub="content"] .content-hub-phase--publish {
  border-color: #e2e8f0;
  background: linear-gradient(135deg, #f8fafc 0%, #fff 55%);
}
[data-growth-hub="content"] .content-hub-phase__head {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: space-between;
  gap: 0.2rem 0.75rem;
  margin-bottom: 0.38rem;
  padding-bottom: 0.32rem;
  border-bottom: 1px solid rgba(148, 163, 184, 0.2);
}
[data-growth-hub="content"] .content-hub-phase__title {
  margin: 0;
  font-size: 0.8125rem;
  font-weight: 700;
  color: #334155;
  letter-spacing: 0.02em;
}
[data-growth-hub="content"] .content-hub-phase--produce .content-hub-phase__title {
  color: #0f766e;
}
[data-growth-hub="content"] .content-hub-phase__desc {
  margin: 0;
  font-size: 0.72rem;
  color: #94a3b8;
  font-weight: 500;
}
[data-growth-hub="content"] .hub-step-grid--produce-pair {
  grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
  align-items: stretch;
  gap: 0.5rem;
}
[data-growth-hub="content"] .hub-step-flow-arrow {
  display: flex;
  align-items: center;
  justify-content: center;
  color: #94a3b8;
  padding: 0 0.15rem;
  font-size: 1.15rem;
  font-weight: 600;
  line-height: 1;
}
.site-build-requirements-guide {
  margin-bottom: 0.35rem;
  padding: 0.9rem 1rem 0.85rem;
  border-radius: 12px;
  border: 1px solid rgba(15, 118, 110, 0.18);
  background: linear-gradient(165deg, #f0fdfa 0%, #f8fafc 55%, #fff 100%);
  box-shadow: 0 1px 2px rgba(15, 23, 42, 0.04);
}
.site-build-requirements-guide__kicker {
  margin: 0 0 0.35rem;
  font-size: 0.8125rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  color: #0f766e;
}
.site-build-requirements-guide__lead {
  margin: 0 0 0.35rem;
  font-size: 0.875rem;
  font-weight: 600;
  line-height: 1.45;
  color: #134e4a;
}
.site-build-requirements-guide__title {
  margin: 0 0 0.55rem;
  font-size: 0.9rem;
  font-weight: 600;
  color: #134e4a;
}
.site-build-requirements-guide__head {
  margin-bottom: 0.65rem;
  padding-bottom: 0.55rem;
  border-bottom: 1px solid rgba(15, 118, 110, 0.12);
}
.site-build-requirements-guide__tip {
  margin: 0;
  font-size: 0.8125rem;
  font-weight: 400;
  line-height: 1.5;
  color: #475569;
}
.site-build-requirements-guide__tip strong {
  color: #0f766e;
  font-weight: 600;
}
.site-build-progress--welcome {
  margin: 0;
  padding: 0.55rem 0.65rem;
  border-radius: 8px;
  border: 1px solid #e2e8f0;
  background: #fff;
}
.site-build-progress--welcome.site-build-progress--idle {
  padding: 0.5rem 0.65rem;
  border-style: dashed;
  border-color: rgba(148, 163, 184, 0.55);
  background: rgba(255, 255, 255, 0.65);
}
.site-build-progress__idle-hint {
  margin: 0;
  font-size: 0.8125rem;
  line-height: 1.45;
  color: #64748b;
  text-align: center;
}
.site-build-progress--welcome:not(.site-build-progress--idle) {
  border-style: solid;
  border-color: #e2e8f0;
  background: #fff;
}
.site-build-progress .content-wizard-progress__step.is-clickable {
  cursor: pointer;
  border: none;
  font: inherit;
  padding: 0.12rem 0.2rem;
  margin: 0 -0.12rem;
  border-radius: 8px;
  transition: background 0.15s, color 0.15s;
}
.site-build-progress .content-wizard-progress__step.is-clickable:hover {
  background: #f0fdfa;
  color: #0f766e;
}
.site-build-progress .content-wizard-progress__step.is-clickable:focus-visible {
  outline: 2px solid #5eead4;
  outline-offset: 2px;
}
.site-build-progress .content-wizard-progress__sep.is-done {
  background: #99f6e4;
}
[data-growth-hub="site"] .hub-site-panel {
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
  padding: 1rem 1rem 0.9rem;
  background: #fff;
  border: 1px solid #e2e8f0;
  border-radius: 0.75rem;
  box-shadow: 0 6px 24px rgba(15, 23, 42, 0.05);
  box-sizing: border-box;
}
[data-growth-hub="site"] .hub-site-panel__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  flex-wrap: wrap;
}
[data-growth-hub="site"] .hub-site-panel__lead {
  margin: 0;
  text-align: left;
  font-size: 0.8125rem;
  font-weight: 500;
  color: #64748b;
}
[data-growth-hub="site"] .hub-site-panel__manage {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--accent, #0d9488);
  text-decoration: none;
  white-space: nowrap;
}
[data-growth-hub="site"] .hub-site-panel__manage .ico {
  width: 14px;
  height: 14px;
}
[data-growth-hub="site"] .hub-site-panel__manage:hover {
  color: var(--accent-hover, #0f766e);
  text-decoration: underline;
}
[data-growth-hub="site"] .hub-site-panel__cards {
  margin-bottom: 0;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.7rem;
  max-width: none;
  justify-content: stretch;
}
[data-growth-hub="site"] .hub-site-panel .cap-card {
  flex-direction: row;
  align-items: flex-start;
  gap: 0.7rem;
  padding: 1rem 0.95rem;
  min-height: auto;
  border-radius: 0.65rem;
}
[data-growth-hub="site"] .hub-site-panel .cap-card .cap-ico {
  flex: 0 0 auto;
  width: 2.25rem;
  height: 2.25rem;
}
[data-growth-hub="site"] .hub-site-panel .cap-card .cap-body {
  flex: 1;
  min-width: 0;
}
[data-growth-hub="site"] .hub-site-panel .cap-card .cap-body strong {
  display: block;
  font-size: 0.9375rem;
  margin-bottom: 0.35rem;
}
[data-growth-hub="site"] .hub-site-panel .cap-card .cap-body span {
  font-size: 0.8125rem;
  line-height: 1.45;
  color: #64748b;
}
[data-growth-hub="site"] .hub-site-panel .cap-card:hover {
  border-color: rgba(13, 148, 136, 0.42);
  box-shadow: 0 8px 22px rgba(15, 23, 42, 0.07);
}
[data-growth-hub="site"] .hub-site-build-path__track {
  flex-wrap: wrap;
}
[data-growth-hub="content"] .hub-publish-path {
  padding-bottom: 0.65rem;
  margin-bottom: 0.1rem;
  border-bottom: 1px dashed #e2e8f0;
}
[data-growth-hub="content"] .hub-publish-path__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
  margin-bottom: 0.55rem;
}
[data-growth-hub="content"] .hub-publish-path__title {
  font-size: 0.78rem;
  font-weight: 600;
  color: #64748b;
  letter-spacing: 0.02em;
}
[data-growth-hub="content"] .hub-publish-path__badge {
  display: inline-flex;
  align-items: center;
  padding: 0.12rem 0.5rem;
  border-radius: 999px;
  font-size: 0.68rem;
  font-weight: 600;
  line-height: 1.35;
  white-space: nowrap;
}
[data-growth-hub="content"] .hub-publish-path__badge--ok {
  color: #0f766e;
  background: #f0fdfa;
  border: 1px solid rgba(13, 148, 136, 0.22);
}
[data-growth-hub="content"] .hub-publish-path__badge--review {
  color: #b86e00;
  background: #fff4e5;
  border: 1px solid rgba(184, 110, 0, 0.2);
}
[data-growth-hub="content"] .hub-publish-path__track {
  display: grid;
  grid-template-columns: 1fr auto 1fr auto 1fr;
  align-items: start;
  gap: 0.35rem 0.25rem;
}
[data-growth-hub="content"] .hub-publish-path__node {
  display: flex;
  gap: 0.4rem;
  align-items: flex-start;
  min-width: 0;
}
[data-growth-hub="content"] .hub-publish-path__num {
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 1.25rem;
  height: 1.25rem;
  border-radius: 999px;
  background: #e2e8f0;
  color: #64748b;
  font-size: 0.68rem;
  font-weight: 700;
  margin-top: 0.05rem;
}
[data-growth-hub="content"] .hub-publish-path__node.is-current .hub-publish-path__num {
  background: #0d9488;
  color: #fff;
}
[data-growth-hub="content"] .hub-publish-path__node.is-done .hub-publish-path__num {
  background: #e8f7f1;
  color: #1a7a5c;
  border: 1px solid #b8e6d4;
}
[data-growth-hub="content"] .hub-publish-path__body {
  min-width: 0;
  flex: 1;
}
[data-growth-hub="content"] .hub-publish-path__body strong {
  display: block;
  font-size: 0.78rem;
  font-weight: 600;
  color: #334155;
  margin-bottom: 0.28rem;
}
[data-growth-hub="content"] .hub-publish-path__node.is-current .hub-publish-path__body strong,
[data-growth-hub="content"] .hub-publish-path__node.is-done .hub-publish-path__body strong {
  color: #0f766e;
}
[data-growth-hub="content"] .hub-publish-path__chips {
  display: flex;
  flex-wrap: wrap;
  gap: 0.25rem;
}
[data-growth-hub="content"] .hub-publish-path__chip {
  display: inline-flex;
  align-items: center;
  padding: 0.1rem 0.42rem;
  border-radius: 999px;
  font-size: 0.68rem;
  font-weight: 500;
  line-height: 1.35;
  color: #64748b;
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  text-decoration: none;
  cursor: pointer;
  transition: border-color 0.15s, background 0.15s, color 0.15s;
}
[data-growth-hub="content"] .hub-publish-path__chip--action {
  color: #0f766e;
  background: #f0fdfa;
  border-color: rgba(13, 148, 136, 0.25);
  font-weight: 600;
}
[data-growth-hub="content"] .hub-publish-path__chip.is-ready {
  color: #0f766e;
  background: #f0fdfa;
  border-color: rgba(13, 148, 136, 0.28);
}
[data-growth-hub="content"] .hub-publish-path__chip:hover {
  border-color: rgba(13, 148, 136, 0.4);
  color: #0f766e;
}
[data-growth-hub="content"] .hub-publish-path__note {
  font-size: 0.68rem;
  line-height: 1.45;
  color: #94a3b8;
}
[data-growth-hub="content"] .hub-publish-path__arrow {
  align-self: center;
  padding-top: 0.15rem;
  color: #cbd5e1;
  font-size: 0.72rem;
}
[data-growth-hub="content"] .hub-step-grid {
  display: grid;
  gap: 0.6rem;
  min-width: 0;
}
[data-growth-hub="content"] .hub-step-grid--cols-4 {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}
[data-growth-hub="content"] .hub-step-grid--cols-3 {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}
[data-growth-hub="content"] .hub-step-grid--cols-2 {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}
[data-growth-hub="content"] .hub-step-grid--cols-1 {
  grid-template-columns: minmax(0, 1fr);
  max-width: 28rem;
}
[data-growth-hub="content"] .content-hub-assistant__quick .format-chip {
  text-decoration: none;
}
[data-growth-hub="content"] .content-hub-hub-panels--compact .cap-card--step {
  flex-direction: row;
  align-items: flex-start;
  gap: 0.5rem;
  padding: 0.55rem 0.65rem;
  min-height: 3.35rem;
  border-radius: 0.65rem;
  background: #fff;
  border-color: #e2e8f0;
  box-shadow: 0 1px 3px rgba(15, 23, 42, 0.04);
}
[data-growth-hub="content"] .content-hub-hub-panels--compact .cap-card--step:hover {
  border-color: rgba(13, 148, 136, 0.4);
  box-shadow: 0 6px 18px rgba(13, 148, 136, 0.1);
  transform: translateY(-2px);
}
[data-growth-hub="content"] .content-hub-hub-panels--compact .cap-card--step.is-ready {
  border-color: rgba(13, 148, 136, 0.32);
  background: linear-gradient(145deg, #f0fdfa 0%, #fff 65%);
}
[data-growth-hub="content"] .content-hub-hub-panels--compact .cap-card--step .cap-ico {
  flex: 0 0 auto;
  width: 2rem;
  height: 2rem;
  border-radius: 0.55rem;
  font-size: 0.95rem;
}
[data-growth-hub="content"] .content-hub-hub-panels--compact .cap-card--step .cap-body {
  flex: 1;
  min-width: 0;
  text-align: left;
}
[data-growth-hub="content"] .content-hub-hub-panels--compact .cap-card--step .cap-body strong {
  display: block;
  font-size: 0.8125rem;
  font-weight: 650;
  margin-bottom: 0.22rem;
  line-height: 1.35;
  color: #0f172a;
}
[data-growth-hub="content"] .content-hub-hub-panels--compact .cap-card--step .cap-body span {
  display: -webkit-box;
  font-size: 0.72rem;
  line-height: 1.45;
  color: #64748b;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
[data-growth-hub="content"] .content-hub-hub-panels__head {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.35rem 0.75rem;
  margin-bottom: 0.55rem;
  padding-bottom: 0.65rem;
  border-bottom: 1px solid #eef2f6;
}
[data-growth-hub="content"] .content-hub-hub-panels__head-main {
  display: flex;
  align-items: center;
  gap: 0.45rem;
}
[data-growth-hub="content"] .content-hub-hub-panels__title {
  margin: 0;
  font-size: 0.875rem;
  font-weight: 700;
  color: #334155;
}
[data-growth-hub="content"] .content-hub-hub-panels__badge {
  font-size: 0.68rem;
  font-weight: 600;
  color: #c2410c;
  background: #fff7ed;
  border: 1px solid #fed7aa;
  border-radius: 999px;
  padding: 0.1rem 0.45rem;
}
[data-growth-hub="content"] .content-hub-hub-panels__stats {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.25rem;
  font-size: 0.75rem;
}
[data-growth-hub="content"] .content-hub-hub-panels__stats-link {
  color: #64748b;
  font-weight: 600;
  text-decoration: none;
  white-space: nowrap;
}
[data-growth-hub="content"] .content-hub-hub-panels__stats-link--primary,
[data-growth-hub="content"] .content-hub-hub-panels__stats-link:hover {
  color: #0d9488;
}
[data-growth-hub="content"] .content-hub-hub-panels__dot {
  color: #cbd5e1;
}
[data-growth-hub="content"] .hub-footer-bar {
  margin-top: 0.1rem;
  padding: 0.4rem 0.35rem 0.1rem;
  border-top: 1px solid #eef2f6;
  text-align: center;
}
[data-growth-hub="content"] .hub-footer-bar__help {
  margin-bottom: 0.55rem;
  font-size: 0.78rem;
  color: #64748b;
}
[data-growth-hub="content"] .hub-footer-bar__help summary {
  cursor: pointer;
  list-style: none;
  font-weight: 600;
}
[data-growth-hub="content"] .hub-footer-bar__help summary::-webkit-details-marker {
  display: none;
}
[data-growth-hub="content"] .hub-footer-bar__help p {
  font-size: 0.75rem;
  line-height: 1.45;
  color: #64748b;
  text-align: left;
}
[data-growth-hub="content"] .hub-footer-bar__actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 0.45rem 0.65rem;
  margin-bottom: 0.45rem;
}
[data-growth-hub="content"] .hub-footer-bar__link {
  font-size: 0.78rem;
  color: #64748b;
  text-decoration: none;
}
[data-growth-hub="content"] .hub-footer-bar__link:hover {
  color: #0f766e;
  text-decoration: underline;
}
[data-growth-hub="content"] .hub-footer-bar__bridge {
  display: inline-flex;
  align-items: center;
  padding: 0.32rem 0.75rem;
  font-size: 0.78rem;
  font-weight: 600;
  color: #0f766e;
  background: #f0fdfa;
  border: 1px solid rgba(13, 148, 136, 0.28);
  border-radius: 999px;
  text-decoration: none;
  transition: background 0.15s ease, border-color 0.15s ease;
}
[data-growth-hub="content"] .hub-footer-bar__bridge:hover {
  background: #ccfbf1;
  border-color: rgba(13, 148, 136, 0.45);
  color: #115e59;
}
[data-growth-hub="content"] .hub-footer-bar__more {
  font-size: 0.74rem;
  color: #94a3b8;
}
[data-growth-hub="content"] .hub-footer-bar__more a {
  color: #64748b;
  text-decoration: none;
}
[data-growth-hub="content"] .hub-footer-bar__more a:hover {
  color: #0f172a;
  text-decoration: underline;
}
[data-growth-hub="content"] .hub-footer-bar__dot {
  margin: 0 0.2rem;
  color: #cbd5e1;
}

/* 增长 Hub（视频工坊 / 投稿 / 评估 / 官网建站）：内容区与底部输入同宽 */
.agent-workspace[data-growth-hub="video"],
.agent-workspace[data-growth-hub="content"],
.agent-workspace[data-growth-hub="diagnose"],
.agent-workspace[data-growth-hub="site"] {
  max-width: 960px;
  --hub-content-width: 880px;
}
.agent-workspace[data-growth-hub="diagnose"] .composer,
.agent-workspace[data-growth-hub="video"] .composer,
.agent-workspace[data-growth-hub="site"] .composer {
  max-width: var(--hub-content-width);
  width: 100%;
  margin-left: auto;
  margin-right: auto;
}
.agent-workspace[data-growth-hub="diagnose"] .composer-top--with-billing {
  display: flex;
  flex-wrap: nowrap;
  align-items: center;
  gap: 0.25rem 0.4rem;
  padding: 0.4rem 0.5rem;
  background: linear-gradient(180deg, #f8fafc 0%, #fff 100%);
  border-bottom: 1px solid #eef2f6;
  overflow: hidden;
}
.agent-workspace[data-growth-hub="diagnose"] .composer-top--with-billing .composer-help-group {
  flex: 0 1 auto;
  min-width: 0;
  max-width: 42%;
}
.agent-workspace[data-growth-hub="diagnose"] .composer-top--with-billing .composer-top__main {
  display: flex;
  align-items: center;
  gap: 0.35rem;
  min-width: 0;
  flex: 0 1 auto;
}
.agent-workspace[data-growth-hub="diagnose"] .composer-top--with-billing .composer-top__main.d-none {
  display: none !important;
}
.agent-workspace[data-growth-hub="diagnose"] .composer-top--with-billing .composer-top-label {
  font-size: 0.72rem;
  color: #64748b;
  font-weight: 600;
  flex-shrink: 0;
}
.agent-workspace[data-growth-hub="diagnose"] .composer-top--with-billing .mode-pills--video {
  gap: 0.3rem;
}
.agent-workspace[data-growth-hub="diagnose"] .composer-top--with-billing .mode-pill.format-chip {
  padding: 0.28rem 0.55rem;
  font-size: 0.72rem;
  min-height: 1.85rem;
  border-radius: 999px;
}
.agent-workspace[data-growth-hub="diagnose"] .composer-top--with-billing .composer-meta--billing {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  flex-wrap: nowrap;
  gap: 0.3rem 0.45rem;
  flex: 0 0 auto;
  margin-left: auto;
  padding: 0;
  border-top: none;
  font-size: 0.68rem;
  line-height: 1.3;
  color: #64748b;
  background: transparent;
  white-space: nowrap;
}
.agent-workspace[data-growth-hub="diagnose"] .composer-billing-line {
  margin: 0;
  flex: 0 1 auto;
  min-width: 0;
  max-width: 10.5rem;
  padding: 0;
  background: none;
  box-shadow: none;
  border-radius: 0;
  text-align: right;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.agent-workspace[data-growth-hub="diagnose"] .composer-billing-line--warn {
  color: #b45309;
  font-weight: 600;
}
.agent-workspace[data-growth-hub="diagnose"] .composer-meta-link {
  flex-shrink: 0;
  font-weight: 600;
  color: #0f766e;
  text-decoration: none;
  white-space: nowrap;
}
.agent-workspace[data-growth-hub="diagnose"] .composer-meta-link:hover {
  text-decoration: underline;
}

@media (max-width: 767.98px) {
  /* 单行：标题+? | 本地上传/链接 | 配额+扣点说明 */
  .agent-workspace[data-growth-hub="diagnose"] .composer-top--with-billing {
    flex-wrap: nowrap;
    align-items: center;
    gap: 0.2rem 0.3rem;
    overflow: hidden;
  }
  .agent-workspace[data-growth-hub="diagnose"] .composer-top--with-billing .composer-help-group {
    flex: 0 1 auto;
    min-width: 0;
    max-width: 34%;
  }
  .agent-workspace[data-growth-hub="diagnose"] .composer-top--with-billing .composer-feature-label {
    font-size: 0.7rem;
    max-width: 100%;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
  }
  .agent-workspace[data-growth-hub="diagnose"] .composer-top--with-billing .composer-top__main:not(.d-none) {
    flex: 0 1 auto;
    min-width: 0;
    width: auto;
    padding-top: 0;
    border-top: none;
  }
  .agent-workspace[data-growth-hub="diagnose"] .composer-top--with-billing .mode-pills--video {
    flex-wrap: nowrap;
    gap: 0.22rem;
  }
  .agent-workspace[data-growth-hub="diagnose"] .composer-top--with-billing .mode-pill.format-chip {
    padding: 0.22rem 0.42rem;
    font-size: 0.65rem;
    min-height: 1.6rem;
  }
  .agent-workspace[data-growth-hub="diagnose"] .composer-top--with-billing .composer-meta--billing {
    flex: 0 0 auto;
    margin-left: auto;
    align-self: center;
    max-width: none;
    white-space: nowrap;
    text-align: right;
    gap: 0.2rem 0.35rem;
  }
  .agent-workspace[data-growth-hub="diagnose"] .composer-top--with-billing .composer-billing-line {
    max-width: 4.75rem;
    white-space: nowrap;
    text-overflow: ellipsis;
    font-size: 0.62rem;
  }
  .agent-workspace[data-growth-hub="diagnose"] .composer-top--with-billing .composer-meta-link {
    font-size: 0.65rem;
  }
}

/* 输入区左上角：当前能力名 +「?」使用说明 */
.composer-help-group {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  flex-shrink: 0;
  min-width: 0;
  max-width: min(42vw, 14rem);
}
.composer-feature-label {
  font-size: 0.75rem;
  font-weight: 600;
  color: #0f766e;
  line-height: 1.25;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  min-width: 0;
}
.agent-workspace[data-growth-hub="diagnose"] .composer-feature-label {
  max-width: min(38vw, 11.5rem);
}
.composer-help-btn {
  flex-shrink: 0;
  width: 1.625rem;
  height: 1.625rem;
  padding: 0;
  border-radius: 50%;
  border: 1px solid #cbd5e1;
  background: #f8fafc;
  color: #475569;
  font-size: 0.8rem;
  font-weight: 700;
  line-height: 1;
  cursor: pointer;
  transition: background 0.15s ease, border-color 0.15s ease, color 0.15s ease;
}
.composer-help-btn:hover {
  background: #ecfeff;
  border-color: #5eead4;
  color: #0f766e;
}
.composer-help-btn:focus-visible {
  outline: 2px solid #14b8a6;
  outline-offset: 2px;
}
.composer-top--with-billing .composer-help-btn {
  margin-right: 0.15rem;
}
.composer-top--chips .composer-help-btn {
  align-self: center;
}
/* GEO 工作台：? 使用说明 & 扣点说明 — 统一浮层 */
.geo-hub-sheet-scene {
  display: none;
  z-index: 2600;
  padding: 1rem;
  pointer-events: auto;
}
.geo-hub-sheet-scene.is-open {
  display: flex;
}
.support-modal-scene.geo-hub-sheet-scene {
  z-index: 2600;
}
/* 须压过下方 .support-modal-scene { display:flex }，否则未点开也会露出空壳浮层 */
.support-modal-scene.geo-hub-sheet-scene:not(.is-open) {
  display: none !important;
}
.support-modal-scene.geo-hub-sheet-scene.is-open {
  display: flex !important;
  position: fixed;
  inset: 0;
  align-items: center;
  justify-content: center;
  padding: 1rem;
  pointer-events: auto;
}
body.support-modal-open .support-modal-scene.geo-hub-sheet-scene.is-open {
  z-index: 2600;
}
.geo-hub-sheet-panel {
  position: relative;
  width: min(26rem, 100%);
  height: auto;
  max-height: min(88vh, 34rem);
  border-radius: 14px;
  border: 1px solid #e2e8f0;
  box-shadow: 0 20px 50px rgba(15, 23, 42, 0.2);
  background: #fff;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  z-index: 1;
  pointer-events: auto;
}
.support-modal-scene.geo-hub-sheet-scene .support-modal-backdrop {
  pointer-events: auto;
  cursor: pointer;
}
.geo-hub-sheet-head {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  padding: 0.75rem 1rem;
  border-bottom: 1px solid #e2e8f0;
  background: linear-gradient(180deg, #f8fafc 0%, #fff 100%);
}
.geo-hub-sheet-head .support-modal-title {
  margin: 0;
  font-size: 1rem;
  font-weight: 700;
  color: #0f172a;
  line-height: 1.35;
  padding-right: 0.25rem;
}
.geo-hub-sheet-body {
  flex: 0 1 auto;
  min-height: 0;
  padding: 0.75rem 1rem;
  font-size: 0.8125rem;
  line-height: 1.55;
  color: #334155;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
  max-height: calc(min(88vh, 34rem) - 8rem);
}
.geo-hub-sheet-foot {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  flex-shrink: 0;
  gap: 0.5rem;
  padding: 0.65rem 1rem calc(0.75rem + env(safe-area-inset-bottom, 0px));
  border-top: 1px solid #e2e8f0;
  background: #fafbfc;
}
.geo-hub-sheet-foot .btn-accent {
  min-height: 2rem;
  padding: 0.32rem 0.85rem;
  font-size: 0.8125rem;
  font-weight: 600;
  border-radius: 0.45rem;
}
.geo-hub-sheet-foot--links {
  justify-content: flex-start;
  flex-wrap: wrap;
}
.geo-hub-sheet-foot__link {
  font-size: 0.8125rem;
  font-weight: 600;
  color: #0f766e;
  text-decoration: none;
}
.geo-hub-sheet-foot__link:hover {
  text-decoration: underline;
}
.geo-hub-sheet-balance {
  margin: 0 0 0.75rem;
  font-size: 0.72rem;
  line-height: 1.4;
  color: #64748b;
}
.geo-hub-sheet-panel .support-modal-close {
  position: relative;
  z-index: 2;
  pointer-events: auto;
}
.growth-hub-billing-section__title {
  margin: 0 0 0.35rem;
  font-size: 0.8125rem;
  font-weight: 700;
  color: #0f766e;
}
.growth-hub-billing-section__headline {
  margin: 0 0 0.65rem;
  padding: 0.45rem 0.55rem;
  font-size: 0.68rem;
  font-weight: 600;
  line-height: 1.35;
  color: #0f172a;
  border-radius: 0.5rem;
  border: 1px solid #99f6e4;
  background: #f0fdfa;
}
@media (min-width: 380px) {
  .growth-hub-billing-section__headline {
    font-size: 0.72rem;
  }
}
.growth-hub-billing-section__list {
  margin: 0;
  padding-left: 1.1rem;
  color: #475569;
  font-size: 0.8125rem;
}
.growth-hub-billing-section__list li {
  margin-bottom: 0.35rem;
}
.growth-hub-billing-section__foot {
  margin: 0.65rem 0 0;
  padding-top: 0.55rem;
  border-top: 1px solid #eef2f6;
  font-size: 0.75rem;
  color: #64748b;
  line-height: 1.5;
}
.composer-help-section {
  margin-bottom: 0.85rem;
}
.composer-help-section:last-child {
  margin-bottom: 0;
}
.composer-help-section__title {
  margin: 0 0 0.35rem;
  font-size: 0.8125rem;
  font-weight: 700;
  color: #0f766e;
}
.composer-help-section ul {
  margin: 0.25rem 0 0.5rem;
  padding-left: 1.15rem;
}
.composer-help-section li {
  margin-bottom: 0.35rem;
}
.composer-help-section__note {
  margin: 0.35rem 0 0;
  font-size: 0.75rem;
  color: #64748b;
}
[data-growth-hub="video"] .growth-hub-stack,
[data-growth-hub="content"] .growth-hub-stack,
[data-growth-hub="diagnose"] .growth-hub-stack,
[data-growth-hub="site"] .growth-hub-stack {
  gap: 0.85rem;
}
[data-growth-hub="video"] .welcome-view,
[data-growth-hub="content"] .welcome-view,
[data-growth-hub="diagnose"] .welcome-view,
[data-growth-hub="site"] .welcome-view {
  padding-top: 0.85rem;
  padding-bottom: 0.45rem;
}
[data-growth-hub="video"] .welcome-hero,
[data-growth-hub="content"] .welcome-hero,
[data-growth-hub="diagnose"] .welcome-hero,
[data-growth-hub="site"] .welcome-hero {
  margin-bottom: 0.75rem;
}
[data-growth-hub="video"] .welcome-hero h1,
[data-growth-hub="content"] .welcome-hero h1,
[data-growth-hub="diagnose"] .welcome-hero h1,
[data-growth-hub="site"] .welcome-hero h1 {
  font-size: 1.42rem;
  margin-bottom: 0.35rem;
}
[data-growth-hub="video"] .welcome-hero p,
[data-growth-hub="content"] .welcome-hero p,
[data-growth-hub="diagnose"] .welcome-hero p,
[data-growth-hub="site"] .welcome-hero p {
  max-width: none;
  font-size: 13.5px;
  line-height: 1.55;
  margin-bottom: 0;
}
[data-growth-hub="video"] .welcome-logo,
[data-growth-hub="content"] .welcome-logo,
[data-growth-hub="diagnose"] .welcome-logo,
[data-growth-hub="site"] .welcome-logo {
  width: 2.5rem;
  height: 2.5rem;
  margin-bottom: 0.55rem;
}

[data-growth-hub="video"] .hub-content-panel , [data-growth-hub="content"] .hub-content-panel {
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
  padding: 1.25rem 1.35rem 1.15rem;
  background: linear-gradient(180deg, #fff 0%, #fafbfc 100%);
  border: 1px solid #e2e8f0;
  border-radius: 0.9rem;
  box-shadow: 0 8px 28px rgba(15, 23, 42, 0.06);
  box-sizing: border-box;
}
[data-growth-hub="video"] .video-hub-panels--relaxed , [data-growth-hub="content"] .video-hub-panels--relaxed {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}
[data-growth-hub="video"] .content-hub-flow-board , [data-growth-hub="content"] .content-hub-flow-board {
  display: flex;
  flex-direction: column;
  gap: 0.9rem;
}
[data-growth-hub="video"] .content-hub-phase , [data-growth-hub="content"] .content-hub-phase {
  padding: 1rem 1.1rem;
  border-radius: 0.75rem;
  border: 1px solid #e8eef4;
  background: #fff;
}
[data-growth-hub="video"] .content-hub-phase--prep , [data-growth-hub="content"] .content-hub-phase--prep {
  border-color: #e2e8f0;
  background: linear-gradient(135deg, #f8fafc 0%, #fff 55%);
}
[data-growth-hub="video"] .content-hub-phase--produce , [data-growth-hub="content"] .content-hub-phase--produce {
  border-color: rgba(13, 148, 136, 0.18);
  background: linear-gradient(135deg, #f0fdfa 0%, #fff 50%);
}
[data-growth-hub="video"] .content-hub-phase--publish , [data-growth-hub="content"] .content-hub-phase--publish {
  border-color: #e2e8f0;
  background: linear-gradient(135deg, #f8fafc 0%, #fff 55%);
}
[data-growth-hub="video"] .content-hub-phase__head , [data-growth-hub="content"] .content-hub-phase__head {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: space-between;
  gap: 0.25rem 0.85rem;
  margin-bottom: 0.75rem;
  padding-bottom: 0.65rem;
  border-bottom: 1px solid rgba(148, 163, 184, 0.2);
}
[data-growth-hub="video"] .content-hub-phase__title , [data-growth-hub="content"] .content-hub-phase__title {
  margin: 0;
  font-size: 0.9rem;
  font-weight: 700;
  color: #334155;
  letter-spacing: 0.02em;
}
[data-growth-hub="video"] .content-hub-phase--produce .content-hub-phase__title , [data-growth-hub="content"] .content-hub-phase--produce .content-hub-phase__title {
  color: #0f766e;
}
[data-growth-hub="video"] .content-hub-phase__desc , [data-growth-hub="content"] .content-hub-phase__desc {
  margin: 0;
  font-size: 0.8rem;
  color: #94a3b8;
  font-weight: 500;
}
[data-growth-hub="video"] .hub-step-grid , [data-growth-hub="content"] .hub-step-grid {
  display: grid;
  gap: 0.7rem;
  min-width: 0;
}
[data-growth-hub="video"] .hub-step-grid--cols-4 , [data-growth-hub="content"] .hub-step-grid--cols-4 {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}
[data-growth-hub="video"] .hub-step-grid--cols-3 , [data-growth-hub="content"] .hub-step-grid--cols-3 {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}
[data-growth-hub="video"] .hub-step-grid--cols-5 , [data-growth-hub="content"] .hub-step-grid--cols-5 {
  grid-template-columns: repeat(5, minmax(0, 1fr));
}
[data-growth-hub="video"] .hub-step-grid--cols-2 , [data-growth-hub="content"] .hub-step-grid--cols-2 {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}
[data-growth-hub="video"] .hub-step-grid--cols-1 , [data-growth-hub="content"] .hub-step-grid--cols-1 {
  grid-template-columns: minmax(0, 1fr);
  max-width: 22rem;
}
[data-growth-hub="video"] .video-hub-tabs,
[data-growth-hub="content"] .video-hub-tabs {
  padding: 0;
  overflow: hidden;
}
[data-growth-hub="video"] .video-hub-tabs__nav,
[data-growth-hub="content"] .video-hub-tabs__nav {
  padding: 0 0.75rem;
  border-bottom: 1px solid var(--bs-border-color-translucent, rgba(0, 0, 0, 0.1));
  gap: 0.25rem;
  flex-wrap: nowrap;
  overflow-x: auto;
}
[data-growth-hub="video"] .video-hub-tabs__nav .nav-link,
[data-growth-hub="content"] .video-hub-tabs__nav .nav-link {
  font-size: 0.875rem;
  font-weight: 500;
  padding: 0.65rem 0.85rem;
  border: none;
  border-bottom: 2px solid transparent;
  border-radius: 0;
  color: var(--bs-secondary-color);
  white-space: nowrap;
}
[data-growth-hub="video"] .video-hub-tabs__nav .nav-link.active,
[data-growth-hub="content"] .video-hub-tabs__nav .nav-link.active {
  color: var(--bs-body-color);
  border-bottom-color: var(--bs-teal, #0d9488);
  background: transparent;
}
[data-growth-hub="video"] .video-hub-tabs__body,
[data-growth-hub="content"] .video-hub-tabs__body {
  padding: 1rem 1rem 1.1rem;
}
[data-growth-hub="video"] .video-hub-tabs__lead,
[data-growth-hub="content"] .video-hub-tabs__lead {
  margin-bottom: 0.75rem;
}
[data-growth-hub="video"] .video-hub-tabs__slot-filter .btn.active,
[data-growth-hub="content"] .video-hub-tabs__slot-filter .btn.active {
  background: var(--bs-teal, #0d9488);
  border-color: var(--bs-teal, #0d9488);
  color: #fff;
}
[data-growth-hub="video"] .hub-step-grid--cols-md-4,
[data-growth-hub="content"] .hub-step-grid--cols-md-4 {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}
@media (min-width: 768px) {
  [data-growth-hub="video"] .hub-step-grid--cols-md-4,
  [data-growth-hub="content"] .hub-step-grid--cols-md-4 {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}
[data-growth-hub="video"] .video-hub-panels__hero , [data-growth-hub="content"] .video-hub-panels__hero {
  margin-bottom: 0.35rem;
}
[data-growth-hub="video"] .video-hub-panels__learn-prep , [data-growth-hub="content"] .video-hub-panels__learn-prep {
  margin-bottom: 0.85rem;
}
[data-growth-hub="video"] .content-hub-flow-board--nested , [data-growth-hub="content"] .content-hub-flow-board--nested {
  gap: 0.65rem;
  padding-top: 0.35rem;
}
[data-growth-hub="video"] .hub-step-grid--produce-pair , [data-growth-hub="content"] .hub-step-grid--produce-pair {
  grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
  align-items: stretch;
  gap: 0.65rem;
}
[data-growth-hub="video"] .hub-step-flow-arrow , [data-growth-hub="content"] .hub-step-flow-arrow {
  display: flex;
  align-items: center;
  justify-content: center;
  color: #94a3b8;
  font-size: 0.9rem;
  font-weight: 600;
  padding: 0 0.2rem;
}
[data-growth-hub="video"] .cap-card--step , [data-growth-hub="content"] .cap-card--step {
  display: flex;
  flex-direction: row;
  align-items: flex-start;
  gap: 0.7rem;
  padding: 0.9rem 0.95rem;
  min-height: 4.25rem;
  border: 1px solid #e2e8f0;
  border-radius: 0.65rem;
  background: #fff;
  text-decoration: none;
  color: inherit;
  box-shadow: 0 1px 3px rgba(15, 23, 42, 0.04);
  transition: border-color 0.15s, box-shadow 0.15s, transform 0.15s;
}
[data-growth-hub="video"] .cap-card--step:hover , [data-growth-hub="content"] .cap-card--step:hover {
  border-color: rgba(13, 148, 136, 0.4);
  box-shadow: 0 6px 18px rgba(13, 148, 136, 0.1);
  transform: translateY(-1px);
}
[data-growth-hub="video"] .cap-card--step.is-current , [data-growth-hub="content"] .cap-card--step.is-current {
  border-color: rgba(13, 148, 136, 0.45);
  background: linear-gradient(145deg, #f0fdfa 0%, #fff 70%);
}
[data-growth-hub="video"] .cap-card--step.is-ready , [data-growth-hub="content"] .cap-card--step.is-ready {
  border-color: rgba(13, 148, 136, 0.32);
  background: linear-gradient(145deg, #f0fdfa 0%, #fff 65%);
}
[data-growth-hub="video"] .cap-card--step--cta , [data-growth-hub="content"] .cap-card--step--cta {
  min-height: 4.75rem;
  padding: 1rem 1.05rem;
}
[data-growth-hub="video"] .cap-card--step .cap-ico , [data-growth-hub="content"] .cap-card--step .cap-ico {
  flex: 0 0 auto;
  width: 2.35rem;
  height: 2.35rem;
  border-radius: 0.55rem;
}
[data-growth-hub="video"] .cap-card--step .cap-body , [data-growth-hub="content"] .cap-card--step .cap-body {
  flex: 1;
  min-width: 0;
  text-align: left;
}
[data-growth-hub="video"] .cap-card--step .cap-body strong , [data-growth-hub="content"] .cap-card--step .cap-body strong {
  display: block;
  font-size: 0.9rem;
  font-weight: 650;
  line-height: 1.35;
  margin-bottom: 0.25rem;
  color: #0f172a;
}
[data-growth-hub="video"] .cap-card--step .cap-body span , [data-growth-hub="content"] .cap-card--step .cap-body span {
  display: block;
  font-size: 0.8125rem;
  color: #64748b;
  line-height: 1.45;
}
[data-growth-hub="video"] .content-hub-hub-panels__head , [data-growth-hub="content"] .content-hub-hub-panels__head {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.45rem 0.85rem;
  margin-bottom: 0.55rem;
  padding-bottom: 0.7rem;
  border-bottom: 1px solid #eef2f6;
}
[data-growth-hub="video"] .content-hub-hub-panels__title , [data-growth-hub="content"] .content-hub-hub-panels__title {
  margin: 0;
  font-size: 1rem;
  font-weight: 700;
  color: #1e293b;
}
[data-growth-hub="video"] .content-hub-hub-panels__badge , [data-growth-hub="content"] .content-hub-hub-panels__badge {
  font-size: 0.75rem;
  padding: 0.15rem 0.55rem;
  border-radius: 999px;
  background: #f0fdfa;
  color: #0f766e;
  font-weight: 600;
}
[data-growth-hub="video"] .content-hub-hub-panels__stats , [data-growth-hub="content"] .content-hub-hub-panels__stats {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.2rem 0.45rem;
  font-size: 0.8rem;
}
[data-growth-hub="video"] .content-hub-hub-panels__stats-link , [data-growth-hub="content"] .content-hub-hub-panels__stats-link {
  color: #64748b;
  text-decoration: none;
}
[data-growth-hub="video"] .content-hub-hub-panels__stats-link--primary, [data-growth-hub="content"] .content-hub-hub-panels__stats-link--primary,
[data-growth-hub="video"] .content-hub-hub-panels__stats-link:hover , [data-growth-hub="content"] .content-hub-hub-panels__stats-link:hover {
  color: #0f766e;
  font-weight: 600;
}
[data-growth-hub="video"] .content-hub-hub-panels__dot , [data-growth-hub="content"] .content-hub-hub-panels__dot {
  color: #cbd5e1;
}
[data-growth-hub="video"] .video-hub-panels__reason , [data-growth-hub="content"] .video-hub-panels__reason {
  margin: 0 0 0.7rem;
  padding: 0.65rem 0.8rem;
  font-size: 0.8125rem;
  color: #475569;
  line-height: 1.5;
  background: #f8fafc;
  border-radius: 0.55rem;
  border: 1px solid #e8eef4;
}
[data-growth-hub="video"] .video-hub-panels__plan , [data-growth-hub="content"] .video-hub-panels__plan {
  margin-top: 0.65rem;
  padding-top: 0.65rem;
  border-top: 1px solid #e8eef4;
}
[data-growth-hub="video"] .video-hub-panels__plan-title , [data-growth-hub="content"] .video-hub-panels__plan-title {
  margin: 0 0 0.55rem;
  font-size: 0.8125rem;
  font-weight: 700;
  color: #334155;
}
[data-growth-hub="video"] .video-hub-panels__plan .vs-hub-today__progress , [data-growth-hub="content"] .video-hub-panels__plan .vs-hub-today__progress {
  margin-bottom: 0.65rem;
}
[data-growth-hub="video"] .video-hub-panels__plan .vs-plan-review, [data-growth-hub="content"] .video-hub-panels__plan .vs-plan-review,
[data-growth-hub="video"] .video-hub-panels__plan .vs-plan-slots , [data-growth-hub="content"] .video-hub-panels__plan .vs-plan-slots {
  margin-bottom: 0.65rem;
}
[data-growth-hub="video"] .video-hub-panels__foot , [data-growth-hub="content"] .video-hub-panels__foot {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.35rem 0.5rem;
  margin-top: 0.15rem;
  padding-top: 0.7rem;
  border-top: 1px solid #eef2f6;
  font-size: 0.8125rem;
}
[data-growth-hub="video"] .video-hub-panels__foot-link , [data-growth-hub="content"] .video-hub-panels__foot-link {
  color: #0f766e;
  font-weight: 600;
  text-decoration: none;
}
[data-growth-hub="video"] .video-hub-panels__foot-link:hover , [data-growth-hub="content"] .video-hub-panels__foot-link:hover {
  text-decoration: underline;
}
[data-growth-hub="video"] .hub-footer-bar , [data-growth-hub="content"] .hub-footer-bar {
  margin-top: 0.15rem;
  padding-top: 0.65rem;
  border-top: 1px solid #e8edf3;
  font-size: 0.8125rem;
}
[data-growth-hub="video"] .hub-footer-bar__help summary , [data-growth-hub="content"] .hub-footer-bar__help summary {
  cursor: pointer;
  color: #64748b;
  font-weight: 600;
}
[data-growth-hub="video"] .hub-footer-bar__actions , [data-growth-hub="content"] .hub-footer-bar__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 0.85rem;
  margin-top: 0.35rem;
}

/* 视频工坊 / 投稿发文：工作流边距收紧（须在共用 hub 规则之后） */
.agent-workspace[data-growth-hub="video"],
.agent-workspace[data-growth-hub="content"] {
  padding-left: 0.65rem;
  padding-right: 0.65rem;
}
[data-growth-hub="video"] .welcome-view,
[data-growth-hub="content"] .welcome-view {
  padding-top: 0.35rem;
  padding-bottom: 0.12rem;
}
/* 工作流增高后须允许整页滚动（勿用 overflow:hidden 裁切） */
[data-growth-hub="video"] .welcome-view,
[data-growth-hub="content"] .welcome-view {
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
}
[data-growth-hub="video"] .welcome-hero,
[data-growth-hub="content"] .welcome-hero {
  margin-bottom: 0.32rem;
}
[data-growth-hub="video"] .welcome-logo,
[data-growth-hub="content"] .welcome-logo {
  margin-bottom: 0.22rem;
}
[data-growth-hub="video"] .growth-hub-stack,
[data-growth-hub="content"] .growth-hub-stack {
  gap: 0.38rem;
}
[data-growth-hub="video"] .hub-content-panel,
[data-growth-hub="content"] .hub-content-panel {
  gap: 0.38rem;
  padding: 0.62rem 0.78rem 0.55rem;
}
[data-growth-hub="video"] .content-hub-flow-board,
[data-growth-hub="content"] .content-hub-flow-board {
  gap: 0.38rem;
}
[data-growth-hub="video"] .content-hub-phase,
[data-growth-hub="content"] .content-hub-phase {
  padding: 0.52rem 0.68rem;
}
[data-growth-hub="video"] .content-hub-phase__head,
[data-growth-hub="content"] .content-hub-phase__head {
  margin-bottom: 0.32rem;
  padding-bottom: 0.3rem;
}
[data-growth-hub="video"] .hub-step-grid,
[data-growth-hub="content"] .hub-step-grid {
  gap: 0.38rem;
}
[data-growth-hub="video"] .hub-step-grid--produce-pair,
[data-growth-hub="content"] .hub-step-grid--produce-pair {
  gap: 0.4rem;
}
[data-growth-hub="video"] .cap-card--step {
  padding: 0.55rem 0.65rem;
  min-height: 3.25rem;
  gap: 0.55rem;
}
[data-growth-hub="video"] .cap-card--step--cta {
  min-height: 3.55rem;
  padding: 0.58rem 0.68rem;
}
[data-growth-hub="video"] .cap-card--step .cap-ico {
  width: 2rem;
  height: 2rem;
}
[data-growth-hub="video"] .cap-card--step .cap-body strong {
  font-size: 0.84rem;
  margin-bottom: 0.08rem;
}
[data-growth-hub="video"] .cap-card--step .cap-body span {
  font-size: 0.74rem;
  line-height: 1.32;
}
[data-growth-hub="video"] .content-hub-hub-panels__head,
[data-growth-hub="content"] .content-hub-hub-panels__head {
  margin-bottom: 0.25rem;
  padding-bottom: 0.32rem;
}
[data-growth-hub="video"] .video-hub-panels__plan .vs-hub-today__progress {
  margin-top: 0.35rem;
  margin-bottom: 0.5rem;
}
[data-growth-hub="video"] .video-hub-plan-actions__reason {
  margin: 0 0 0.45rem;
  font-size: 0.8rem;
  line-height: 1.45;
  color: #475569;
}
[data-growth-hub="video"] .video-hub-plan-actions__row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.4rem 0.55rem;
}
[data-growth-hub="video"] .video-hub-plan-actions__link {
  font-size: 0.8rem;
  padding-left: 0.15rem;
  padding-right: 0.15rem;
}
[data-growth-hub="video"] .video-hub-panels--relaxed,
[data-growth-hub="content"] .content-hub-hub-panels--compact {
  gap: 0.22rem;
}
[data-growth-hub="video"] .video-hub-panels__produce-more {
  margin-top: 0.28rem;
}
[data-growth-hub="video"] .video-hub-panels__foot,
[data-growth-hub="content"] .video-hub-panels__foot {
  margin-top: 0;
  padding-top: 0.32rem;
}
[data-growth-hub="video"] .hub-footer-bar,
[data-growth-hub="content"] .hub-footer-bar {
  margin-top: 0.08rem;
  padding-top: 0.38rem;
}

[data-growth-hub="video"] .hub-footer-bar__link, [data-growth-hub="content"] .hub-footer-bar__link,
[data-growth-hub="video"] .hub-footer-bar__bridge , [data-growth-hub="content"] .hub-footer-bar__bridge {
  color: #0f766e;
  font-weight: 600;
  text-decoration: none;
}
[data-growth-hub="video"] .hub-footer-bar__link:hover, [data-growth-hub="content"] .hub-footer-bar__link:hover,
[data-growth-hub="video"] .hub-footer-bar__bridge:hover , [data-growth-hub="content"] .hub-footer-bar__bridge:hover {
  text-decoration: underline;
}
@media (max-width: 991.98px) {
  [data-growth-hub="video"] .hub-step-grid--cols-5, [data-growth-hub="content"] .hub-step-grid--cols-5,
  [data-growth-hub="video"] .hub-step-grid--cols-4, [data-growth-hub="content"] .hub-step-grid--cols-4,
  [data-growth-hub="video"] .hub-step-grid--cols-3, [data-growth-hub="content"] .hub-step-grid--cols-3,
  [data-growth-hub="video"] .hub-step-grid--cols-2 , [data-growth-hub="content"] .hub-step-grid--cols-2 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  [data-growth-hub="video"] .hub-step-grid--cols-1 , [data-growth-hub="content"] .hub-step-grid--cols-1 {
    max-width: none;
  }
  [data-growth-hub="video"] .content-hub-flow-board , [data-growth-hub="content"] .content-hub-flow-board {
    gap: 0.7rem;
  }
  [data-growth-hub="video"] .content-hub-phase , [data-growth-hub="content"] .content-hub-phase {
    padding: 0.8rem 0.9rem;
  }
  [data-growth-hub="video"] .content-hub-phase__head , [data-growth-hub="content"] .content-hub-phase__head {
    margin-bottom: 0.55rem;
    padding-bottom: 0.5rem;
  }
  [data-growth-hub="video"] .hub-step-grid , [data-growth-hub="content"] .hub-step-grid {
    gap: 0.5rem;
  }
  [data-growth-hub="video"] .cap-card--step , [data-growth-hub="content"] .cap-card--step {
    gap: 0.55rem;
    padding: 0.65rem 0.75rem;
    min-height: auto;
  }
  [data-growth-hub="video"] .cap-card--step--cta , [data-growth-hub="content"] .cap-card--step--cta {
    min-height: auto;
    padding: 0.7rem 0.8rem;
  }
  [data-growth-hub="video"] .cap-card--step .cap-ico , [data-growth-hub="content"] .cap-card--step .cap-ico {
    width: 2rem;
    height: 2rem;
  }
  [data-growth-hub="video"] .cap-card--step .cap-body strong , [data-growth-hub="content"] .cap-card--step .cap-body strong {
    font-size: 0.8125rem;
    margin-bottom: 0.15rem;
  }
  [data-growth-hub="video"] .cap-card--step .cap-body span , [data-growth-hub="content"] .cap-card--step .cap-body span {
    font-size: 0.75rem;
    line-height: 1.35;
  }
}
@media (max-width: 575.98px) {
  [data-growth-hub="video"] .hub-step-grid--cols-5, [data-growth-hub="content"] .hub-step-grid--cols-5,
  [data-growth-hub="video"] .hub-step-grid--cols-4, [data-growth-hub="content"] .hub-step-grid--cols-4,
  [data-growth-hub="video"] .hub-step-grid--cols-3, [data-growth-hub="content"] .hub-step-grid--cols-3,
  [data-growth-hub="video"] .hub-step-grid--cols-2, [data-growth-hub="content"] .hub-step-grid--cols-2,
  [data-growth-hub="video"] .hub-step-grid--produce-pair , [data-growth-hub="content"] .hub-step-grid--produce-pair {
    grid-template-columns: 1fr;
  }
  [data-growth-hub="video"] .hub-step-flow-arrow , [data-growth-hub="content"] .hub-step-flow-arrow {
    display: none;
  }
  [data-growth-hub="video"] .hub-content-panel , [data-growth-hub="content"] .hub-content-panel {
    padding: 1rem 1.05rem 0.95rem;
  }
  [data-growth-hub="video"] .cap-card--step , [data-growth-hub="content"] .cap-card--step {
    padding: 0.55rem 0.65rem;
    gap: 0.5rem;
  }
  [data-growth-hub="video"] .cap-card--step .cap-ico , [data-growth-hub="content"] .cap-card--step .cap-ico {
    width: 1.85rem;
    height: 1.85rem;
  }
  [data-growth-hub="video"] .cap-card--step .cap-body span , [data-growth-hub="content"] .cap-card--step .cap-body span {
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
  }
  [data-growth-hub="video"] .video-hub-panels__reason , [data-growth-hub="content"] .video-hub-panels__reason {
    margin-bottom: 0.55rem;
    padding: 0.5rem 0.65rem;
    font-size: 0.75rem;
  }
}

[data-growth-hub="content"] .composer {
  padding-top: 0.15rem;
  margin-top: 0;
  border-top: 1px solid #e8edf3;
}
@media (min-width: 768px) {
  [data-growth-hub="content"] .composer-top--chips {
    display: none;
  }
  [data-growth-hub="site"] .composer-top--chips {
    display: none;
  }
}
@media (max-width: 767.98px) {
  [data-growth-hub="content"] .hub-publish-path__track {
    grid-template-columns: 1fr;
    gap: 0.45rem;
  }
  [data-growth-hub="content"] .hub-publish-path__arrow {
    display: none;
  }
  [data-growth-hub="content"] .hub-publish-path__node {
    padding: 0.45rem 0.55rem;
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 0.55rem;
  }
  [data-growth-hub="content"] .hub-publish-path__node.is-current {
    border-color: rgba(13, 148, 136, 0.35);
    background: #f0fdfa;
  }
}
@media (max-width: 991.98px) {
  [data-growth-hub="content"] .hub-step-grid--cols-4 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  [data-growth-hub="content"] .hub-step-grid--cols-3 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
@media (max-width: 575.98px) {
  .agent-workspace[data-growth-hub="content"] {
    --hub-content-width: 100%;
  }
  [data-growth-hub="content"] .hub-step-grid--cols-4,
  [data-growth-hub="content"] .hub-step-grid--cols-3,
  [data-growth-hub="content"] .hub-step-grid--cols-2 {
    grid-template-columns: 1fr;
  }
  [data-growth-hub="content"] .hub-step-grid--produce-pair {
    grid-template-columns: 1fr;
  }
  [data-growth-hub="content"] .hub-step-flow-arrow {
    display: none;
  }
  [data-growth-hub="content"] .content-hub-phase {
    padding: 0.65rem 0.7rem;
  }
  [data-growth-hub="site"] .hub-site-panel {
    margin-left: 0.5rem;
    margin-right: 0.5rem;
    padding: 0.85rem 0.75rem;
  }
  [data-growth-hub="site"] .hub-site-panel__cards {
    grid-template-columns: 1fr !important;
    gap: 0.55rem;
  }
  [data-growth-hub="site"] .hub-site-panel .cap-card {
    padding: 0.85rem 0.8rem;
  }
}

/* 平板竖屏（含 iPad Pro 13 ~1032px）：侧栏略收窄，建站 Hub 占满主栏，顶栏加大触控区 */
@media (min-width: 992px) and (max-width: 1199.98px) {
  .app-shell-chat:not(.app-shell--no-side) {
    --geo-hub-side-width: 232px;
    grid-template-columns: var(--geo-hub-side-width) 1fr;
  }

  .app-shell-chat.app-shell--growth .agent-workspace[data-growth-hub="site"] {
    max-width: none;
    width: 100%;
    margin-left: 0;
    margin-right: 0;
    padding-left: 0.65rem;
    padding-right: 0.65rem;
    --hub-content-width: 100%;
  }

  .app-shell-chat.app-shell--growth [data-growth-hub="site"] .growth-hub-stack {
    max-width: none;
    width: 100%;
  }

  [data-growth-hub="site"] .welcome-hero p {
    max-width: none;
  }

  [data-growth-hub="site"] .site-build-requirements-guide {
    padding: 0.85rem 0.9rem;
  }

  [data-growth-hub="site"] .hub-site-panel {
    padding: 1rem 0.9rem;
  }

  [data-growth-hub="site"] .hub-site-panel__cards {
    gap: 0.65rem;
  }

  .app-topbar--hub .geo-top-tab {
    padding: 0.52rem 0.8rem;
    min-height: 2.5rem;
    font-size: 13px;
  }

  .app-topbar--hub .top-actions {
    gap: 0.35rem;
    flex-wrap: nowrap;
    align-items: center;
  }
  .app-topbar--hub .top-actions .top-btn,
  .app-topbar--hub .top-actions .top-link,
  .app-topbar--hub .top-actions .top-btn.top-bell {
    position: relative;
    flex-direction: row;
    flex-wrap: nowrap;
    white-space: nowrap;
    min-width: 2.65rem;
    min-height: 2.65rem;
    padding: 0.42rem 0.68rem;
    justify-content: center;
    align-items: center;
    gap: 0.35rem;
    border-radius: 999px;
    border: 1px solid #e2e8f0;
    background: #fff;
    color: #475569;
    font-size: 13px;
    font-weight: 600;
    box-shadow: 0 1px 2px rgba(15, 23, 42, 0.04);
  }
  .app-topbar--hub .top-actions .top-btn:hover,
  .app-topbar--hub .top-actions .top-link:hover {
    background: #f8fafc;
    border-color: #cbd5e1;
    color: #0f766e;
  }
  .app-topbar--hub .top-actions .top-btn .ico {
    font-size: 1.18rem;
    flex-shrink: 0;
  }
  .app-topbar--hub .top-actions .top-btn--identity span:not(.top-avatar) {
    max-width: 4.5rem;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
  }
  .app-topbar--hub .top-actions .top-avatar {
    width: 1.85rem;
    height: 1.85rem;
  }
}

/* 窄屏顶栏：图标下常驻短标签（触控/手机模拟无 hover，不依赖悬停提示） */
@media (max-width: 1199.98px) {
  .app-topbar--hub .top-actions .top-btn,
  .app-topbar--hub .top-actions .top-link,
  .app-topbar--hub .top-actions .top-btn.top-bell {
    min-width: 2.65rem;
    min-height: 2.65rem;
    border-radius: 0.55rem;
    border: 1px solid #e2e8f0;
    background: #fff;
    box-shadow: 0 1px 2px rgba(15, 23, 42, 0.04);
  }
  .app-topbar--hub .top-actions .top-btn .ico {
    font-size: 1.2rem;
  }
  .app-topbar--hub .top-actions .top-btn[data-support-help-open],
  .app-topbar--hub .top-actions .top-btn[data-support-install-open],
  .app-topbar--hub .top-actions .top-btn.top-bell,
  .app-topbar--hub .top-actions form .top-btn {
    flex-direction: column;
    gap: 0.08rem;
    padding: 0.26rem 0.32rem 0.2rem;
    min-width: 2.55rem;
    min-height: 2.9rem;
    line-height: 1.1;
  }
  .app-topbar--hub .top-actions .top-btn[data-support-help-open] span,
  .app-topbar--hub .top-actions .top-btn[data-support-install-open] span,
  .app-topbar--hub .top-actions form .top-btn span {
    display: block !important;
    font-size: 10.5px;
    font-weight: 600;
    color: #475569;
    line-height: 1.1;
  }
  .app-topbar--hub .top-actions .top-btn.top-bell::after {
    content: "通知";
    position: static;
    transform: none;
    opacity: 1;
    visibility: visible;
    padding: 0;
    margin: 0;
    background: transparent;
    color: #475569;
    font-size: 10.5px;
    font-weight: 600;
    line-height: 1.1;
    box-shadow: none;
    pointer-events: none;
  }
  .app-topbar--hub .top-actions .top-btn--identity {
    flex-direction: row;
    min-height: 2.65rem;
    padding: 0.42rem 0.58rem;
  }
  .app-topbar--hub .top-actions .top-btn--identity span:not(.top-avatar) {
    display: inline !important;
    font-size: 12px;
  }
}

@media (hover: hover) and (pointer: fine) and (min-width: 1200px) {
  .app-topbar--hub .top-actions .top-btn[title]:not(.top-bell)::after {
    content: attr(title);
    position: absolute;
    left: 50%;
    bottom: calc(100% + 0.35rem);
    transform: translateX(-50%) translateY(2px);
    padding: 0.28rem 0.55rem;
    border-radius: 6px;
    background: rgba(15, 23, 42, 0.92);
    color: #f8fafc;
    font-size: 11px;
    font-weight: 600;
    line-height: 1.25;
    white-space: nowrap;
    pointer-events: none;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.12s ease, transform 0.12s ease, visibility 0.12s ease;
    z-index: 1200;
    box-shadow: 0 4px 12px rgba(15, 23, 42, 0.2);
  }
  .app-topbar--hub .top-actions .top-btn[title]:not(.top-bell):hover::after,
  .app-topbar--hub .top-actions .top-btn[title]:not(.top-bell):focus-visible::after {
    opacity: 1;
    visibility: visible;
    transform: translateX(-50%) translateY(0);
  }
}

.hub-more-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.4rem;
  margin: -0.15rem auto 0.75rem;
  max-width: 42rem;
}
.hub-more-link {
  border: 1px solid rgba(13, 148, 136, 0.22);
  background: #fff;
  color: #0f766e;
  border-radius: 999px;
  padding: 0.28rem 0.75rem;
  font-size: 12.5px;
  font-weight: 500;
  line-height: 1.3;
  cursor: pointer;
  transition: background .15s, border-color .15s;
}
.hub-more-link:hover {
  background: #f0fdfa;
  border-color: rgba(13, 148, 136, 0.4);
}

.hot-block {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: .95rem 1.05rem 1.05rem;
}
.hot-head {
  font-size: 14px;
  color: var(--muted);
  font-weight: 600;
  margin-bottom: .6rem;
}
.hot-list {
  display: flex;
  flex-wrap: wrap;
  gap: .5rem;
}
.hot-chip {
  border: 1px solid var(--line);
  background: #f7f8fb;
  color: #374151;
  border-radius: 999px;
  padding: .4rem .9rem;
  font-size: 14px;
}
.hot-chip:hover {
  border-color: #c9d8ff;
  background: #eef3ff;
  color: var(--accent);
}

.chat-messages {
  flex: 1;
  min-height: 0;
  display: flex;
  flex-direction: column;
  overflow-x: hidden;
  overflow-y: auto;
  overscroll-behavior: contain;
  padding: 1rem .15rem .75rem;
  -webkit-overflow-scrolling: touch;
}
.msg { display: flex; flex-direction: column; margin-bottom: .85rem; max-width: 86%; }
.msg.user { align-self: flex-end; align-items: flex-end; margin-left: auto; }
.msg.bot { align-self: flex-start; align-items: flex-start; }
.msg-bubble {
  border-radius: 14px;
  padding: .75rem .9rem;
  line-height: 1.55;
  white-space: pre-wrap;
  word-break: break-word;
}
.msg.bot .msg-bubble {
  background: #fff;
  border: 1px solid var(--line);
}
.msg.user .msg-bubble {
  background: var(--accent);
  color: #fff;
}
.msg-links { display: flex; flex-wrap: wrap; gap: .4rem; margin-top: .45rem; }
.msg-link {
  display: inline-block;
  background: #fff;
  border: 1px solid var(--line);
  color: var(--accent);
  text-decoration: none;
  border-radius: 999px;
  padding: .2rem .7rem;
  font-size: .82rem;
}
.msg-link:hover { background: #eef3ff; }
.msg-choices {
  display: flex;
  flex-wrap: wrap;
  gap: .35rem;
  margin-top: .5rem;
}
.msg-choice {
  border: 1px solid #c7d2e5;
  background: #fff;
  color: #1e293b;
  border-radius: 999px;
  padding: .28rem .75rem;
  font-size: .82rem;
  cursor: pointer;
  transition: background .15s, border-color .15s;
}
.msg-choice:hover { background: #f1f5f9; border-color: #94a3b8; }
.msg-choice.is-stale,
.msg-choice-card.is-stale {
  opacity: 0.42;
  pointer-events: none;
  cursor: default;
  filter: grayscale(0.35);
}
.msg-choice.is-on {
  background: #eef3ff;
  border-color: var(--accent, #2563eb);
  color: var(--accent, #2563eb);
}

.msg-choice.msg-choice-recommended:not(.msg-choice-confirm) {
  border-color: #93c5fd;
  background: #f8fafc;
  box-shadow: inset 0 0 0 1px rgba(37, 99, 235, .12);
}

.msg-choice-card.msg-choice-recommended {
  border-color: #5eead4;
  box-shadow: 0 0 0 2px rgba(13, 148, 136, .15);
}

.msg-choice-confirm {
  margin-left: .15rem;
  border-color: transparent;
  background: linear-gradient(135deg, #14b8a6, #0d9488);
  color: #fff;
  font-weight: 600;
  padding: .35rem 1rem;
  box-shadow: 0 4px 12px rgba(13, 148, 136, .28);
}

.msg-choice-confirm:hover {
  background: linear-gradient(135deg, #0d9488, #0f766e);
  color: #fff;
  border-color: transparent;
  box-shadow: 0 6px 16px rgba(13, 148, 136, .35);
}

.msg-choices-options {
  margin-top: .5rem;
}

.msg-choices-primary {
  display: flex;
  flex-wrap: wrap;
  gap: .45rem;
  margin-top: .65rem;
  padding-top: .55rem;
  border-top: 1px dashed #cbd5e1;
  width: 100%;
}

.msg-choices-primary .msg-choice-confirm {
  min-width: 8.5rem;
  justify-content: center;
}

.msg-choice-option {
  background: #f8fafc;
  border-color: #cbd5e1;
}

.msg-choice-option:hover {
  background: #eef3ff;
  border-color: #94a3b8;
}

.msg-choices-hint {
  margin: .35rem 0 0;
  font-size: .75rem;
  color: #64748b;
  line-height: 1.45;
}

.composer-bar--wizard-choice .btn-send {
  background: #fff;
  color: #0f766e;
  border: 1px solid #99f6e4;
  box-shadow: none;
}

.composer-bar--wizard-choice .btn-send:hover:not(:disabled) {
  background: #f0fdfa;
  color: #0d9488;
  border-color: #5eead4;
}

.msg-choices-visual {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(148px, 1fr));
  gap: .55rem;
  flex-wrap: unset;
  width: 100%;
  max-width: 520px;
}

.msg-choices-visual-wrap {
  display: flex;
  flex-direction: column;
  gap: .65rem;
  width: 100%;
  margin-top: .5rem;
}

.msg-choices-visual-wrap--templates {
  max-width: 100%;
}

.msg-choices-visual-wrap--templates .msg-choices-visual {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: .55rem;
  max-width: none;
}

@media (max-width: 720px) {
  .msg-choices-visual-wrap--templates .msg-choices-visual {
    grid-template-columns: 1fr;
  }
}

.msg-choices-toolbar {
  display: flex;
  flex-wrap: wrap;
  gap: .45rem;
}

.msg-choice-ref {
  width: 100%;
  border-radius: 10px;
  padding: .55rem .85rem;
  text-align: left;
  border-color: #99f6e4;
  background: linear-gradient(135deg, #f0fdfa, #ecfeff);
  color: #0f766e;
  font-weight: 600;
  line-height: 1.45;
}

.msg-choice-ref:hover {
  background: linear-gradient(135deg, #ccfbf1, #e0f2fe);
  border-color: #5eead4;
}

.msg.bot.msg--template-pick {
  max-width: min(96%, 900px);
}

.msg-choice-card--template {
  position: relative;
  border-radius: 12px;
  border-color: #e2e8f0;
  box-shadow: 0 1px 3px rgba(15, 23, 42, .06);
}

.msg-choice-card-badge {
  position: absolute;
  top: 8px;
  left: 8px;
  z-index: 3;
  padding: .15rem .5rem;
  border-radius: 999px;
  font-size: .68rem;
  font-weight: 700;
  letter-spacing: .02em;
  color: #fff;
  background: linear-gradient(135deg, #14b8a6, #0d9488);
  box-shadow: 0 2px 6px rgba(13, 148, 136, .35);
}

.msg-choice-card--template:hover {
  border-color: #14b8a6;
  box-shadow: 0 8px 24px rgba(13, 148, 136, .12);
}

.msg-choice-card--template.msg-choice-recommended {
  border-color: #2dd4bf;
  box-shadow: 0 0 0 2px rgba(45, 212, 191, .2), 0 8px 24px rgba(13, 148, 136, .1);
}

.msg-choice-card-actions {
  display: flex;
  gap: .4rem;
  padding: .45rem .55rem .55rem;
  border-top: 1px solid #f1f5f9;
  background: #fafbfc;
}

.msg-choice-card-action {
  flex: 1;
  border: 1px solid #e2e8f0;
  background: #fff;
  color: #475569;
  border-radius: 8px;
  padding: .35rem .5rem;
  font-size: .72rem;
  font-weight: 600;
  cursor: pointer;
  transition: border-color .15s, color .15s, background .15s;
}

.msg-choice-card-action:hover {
  border-color: #94a3b8;
  color: #0f172a;
}

.msg-choice-card-action--primary {
  border-color: #99f6e4;
  background: #f0fdfa;
  color: #0f766e;
}

.msg-choice-card-action--primary:hover {
  border-color: #5eead4;
  background: #ccfbf1;
  color: #115e59;
}

.msg-choice-card--template .msg-choice-template-preview {
  aspect-ratio: 5 / 3;
  min-height: 112px;
  background: #f3f6f8;
}

.msg-choices-visual-wrap--templates .msg-choice-card {
  border-radius: 14px;
  border-color: #d8e0e8;
  box-shadow: 0 2px 8px rgba(26, 35, 50, .06);
}

.msg-choices-visual-wrap--templates .msg-choice-card:hover {
  border-color: #14b8a6;
  box-shadow: 0 10px 28px rgba(13, 148, 136, .14);
}

.msg-choice-card--template .msg-choice-card-body {
  padding: .55rem .65rem .35rem;
}

.msg-choice-card--template .msg-choice-card-title {
  font-size: .86rem;
}

.msg-choice-card--template .msg-choice-card-sub {
  -webkit-line-clamp: 2;
  margin-top: .15rem;
}

.msg-choice-card {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  border: 1px solid #c7d2e5;
  background: #fff;
  border-radius: 10px;
  padding: 0;
  cursor: pointer;
  text-align: left;
  overflow: hidden;
  transition: border-color .15s, box-shadow .15s, transform .12s;
}

.msg-choice-card:hover {
  border-color: #2563eb;
  box-shadow: 0 6px 18px rgba(37, 99, 235, .14);
  transform: translateY(-1px);
}

.msg-choice-card.is-picked {
  border-color: #2563eb;
  box-shadow: 0 0 0 2px rgba(37, 99, 235, .25);
}

.msg-choice-card-preview {
  width: 100%;
  line-height: 0;
  background: #f8fafc;
}

.msg-choice-template-preview {
  position: relative;
  aspect-ratio: 8 / 5;
  min-height: 148px;
  max-height: 156px;
  overflow: hidden;
}

.msg-choice-template-zoom {
  position: absolute;
  right: 8px;
  bottom: 8px;
  z-index: 2;
  padding: 4px 10px;
  font-size: 11px;
  line-height: 1.2;
  color: #0f172a;
  background: rgba(255, 255, 255, 0.92);
  border: 1px solid #cbd5e1;
  border-radius: 999px;
  cursor: pointer;
  box-shadow: 0 1px 3px rgba(15, 23, 42, 0.12);
}

.msg-choice-template-zoom:hover {
  background: #fff;
  border-color: #94a3b8;
}

.msg-choice-template-draft {
  position: absolute;
  left: 8px;
  bottom: 8px;
  z-index: 2;
  padding: 4px 10px;
  font-size: 11px;
  line-height: 1.2;
  color: #fff;
  background: var(--bs-primary, #2563eb);
  border: 1px solid rgba(255, 255, 255, 0.35);
  border-radius: 999px;
  cursor: pointer;
  box-shadow: 0 1px 3px rgba(15, 23, 42, 0.2);
}

.msg-choice-template-draft:hover {
  filter: brightness(1.05);
}

.msg-choice-card-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.msg-choice-card--template .msg-choice-card-img {
  object-fit: contain;
  object-position: top center;
  background: #f3f6f8;
}

.msg-choice-card--style .msg-choice-style-preview {
  aspect-ratio: 16 / 10;
  min-height: 132px;
}

.msg-choice-style-preview {
  padding: 0;
  display: flex;
  flex-direction: column;
  overflow: hidden;
}

.style-preview-nav-bar {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 6px 8px;
  min-height: 26px;
  flex-shrink: 0;
}

.style-preview-nav-bar--light {
  background: #fff;
  border-bottom: 1px solid #d8e0e8;
}

.style-preview-nav-bar--dark {
  color: #fff;
}

.style-preview-logo {
  font-size: 9px;
  font-weight: 800;
  letter-spacing: -.02em;
  flex-shrink: 0;
}

.style-preview-logo--inverse {
  color: #fff;
}

.style-preview-nav-links {
  flex: 1;
  height: 4px;
  margin: 0 4px;
  border-radius: 2px;
  background: linear-gradient(90deg, #cbd5e1 0%, #cbd5e1 22%, transparent 22%, transparent 38%, #cbd5e1 38%, #cbd5e1 52%, transparent 52%);
  opacity: .55;
}

.style-preview-nav-bar--dark .style-preview-nav-links {
  background: linear-gradient(90deg, rgba(255, 255, 255, .35) 0%, rgba(255, 255, 255, .35) 24%, transparent 24%, transparent 42%, rgba(255, 255, 255, .28) 42%);
  opacity: 1;
}

.style-preview-nav-cta {
  width: 28px;
  height: 14px;
  border-radius: 999px;
  flex-shrink: 0;
}

.style-preview-hero-v2 {
  padding: 8px 10px 6px;
  flex-shrink: 0;
}

.style-preview-hero-v2--tool {
  min-height: 72px;
}

.style-preview-headline {
  font-size: 10px;
  font-weight: 800;
  line-height: 1.2;
  color: #1a2332;
  margin-bottom: 3px;
}

.style-preview-headline--inverse {
  color: #fff;
}

.style-preview-subline {
  font-size: 7px;
  color: #5c6b7a;
  margin-bottom: 6px;
}

.style-preview-input-row {
  display: flex;
  align-items: center;
  gap: 4px;
  padding: 3px 3px 3px 8px;
  background: #fff;
  border: 1px solid #d8e0e8;
  border-radius: 999px;
  box-shadow: 0 2px 8px rgba(26, 35, 50, .06);
  max-width: 100%;
}

.style-preview-input-ph {
  flex: 1;
  font-size: 7px;
  color: #94a3b8;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.style-preview-input-btn {
  flex-shrink: 0;
  font-size: 7px;
  font-weight: 700;
  color: #fff;
  padding: 4px 8px;
  border-radius: 999px;
}

.style-preview-hero-btns {
  display: flex;
  gap: 5px;
  margin-top: 6px;
}

.style-preview-hero-btn {
  display: block;
  width: 36px;
  height: 12px;
  border-radius: 999px;
}

.style-preview-hero-btn--ghost {
  background: transparent;
  border: 1px solid;
  box-sizing: border-box;
}

.style-preview-hero-btn--white {
  background: #fff;
}

.style-preview-hero-btn--glass {
  background: rgba(255, 255, 255, .18);
  border: 1px solid rgba(255, 255, 255, .35);
  box-sizing: border-box;
}

.style-preview-features {
  display: flex;
  gap: 4px;
  padding: 3px 7px 3px;
  flex: 1;
  min-height: 0;
  align-items: stretch;
}

.style-preview-feature-card {
  flex: 1;
  min-width: 0;
  background: #fff;
  border: 1px solid #e2e8f0;
  border-radius: 5px;
  padding: 4px 4px 3px;
  box-shadow: 0 1px 2px rgba(15, 23, 42, .04);
}

.msg-choice-style-preview--dark-tool {
  background: #0a0e14 !important;
}

.style-preview-nav-bar--tool-dark {
  background: #0f141c;
  border-bottom: 1px solid rgba(148, 163, 184, .12);
}

.style-preview-hero-v2--dark-tool {
  background: linear-gradient(180deg, #0f141c 0%, #0a0e14 100%);
  min-height: 78px;
}

.style-preview-subline--dark {
  color: #94a3b8 !important;
  margin-bottom: 6px;
}

.style-preview-input-row--dark {
  background: #141c28;
  border-color: rgba(148, 163, 184, .2);
  box-shadow: 0 6px 20px rgba(0, 0, 0, .35);
}

.style-preview-input-row--dark .style-preview-input-ph {
  color: #64748b;
}

.style-preview-features--dark {
  background: transparent;
}

.style-preview-feature-card--dark {
  background: #141c28;
  border-color: rgba(148, 163, 184, .14);
  box-shadow: none;
}

.style-preview-feature-bar--dark {
  background: rgba(148, 163, 184, .2);
}

.style-swatch-row--dark {
  background: #0f141c;
  border-top-color: rgba(148, 163, 184, .1);
}

.style-preview-feature-icon {
  display: block;
  width: 12px;
  height: 12px;
  border-radius: 3px;
  margin-bottom: 3px;
  opacity: .92;
}

.style-preview-feature-label {
  display: block;
  font-size: 7px;
  font-weight: 600;
  line-height: 1.2;
  color: #475569;
  margin-bottom: 2px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.style-preview-feature-card--dark .style-preview-feature-label {
  color: #cbd5e1;
}

.style-preview-feature-bar {
  display: block;
  height: 2px;
  width: 72%;
  border-radius: 2px;
  background: #e2e8f0;
}

.style-swatch-row {
  display: flex;
  gap: 4px;
  padding: 5px 8px 7px;
  justify-content: center;
  flex-shrink: 0;
  background: rgba(255, 255, 255, .65);
  border-top: 1px solid rgba(15, 23, 42, .05);
}

.style-swatch-dot {
  width: 11px;
  height: 11px;
  border-radius: 50%;
  border: 1px solid rgba(15, 23, 42, .12);
  box-sizing: border-box;
}

.msg-choice-template-preview.is-fallback {
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(145deg, #e2e8f0, #f8fafc);
}

.msg-choice-template-fallback {
  padding: .5rem .65rem;
  font-size: .72rem;
  line-height: 1.4;
  color: #475569;
  text-align: center;
}

.msg-choice-card-body {
  padding: .45rem .55rem .55rem;
  line-height: 1.35;
}

.msg-choice-card-title {
  font-weight: 600;
  font-size: .82rem;
  color: #1e293b;
}

.msg-choice-card-sub {
  font-size: .72rem;
  line-height: 1.4;
  color: #64748b;
  margin-top: .2rem;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.msg-actions {
  display: flex;
  gap: .35rem;
  margin-top: .35rem;
  opacity: 0;
  pointer-events: none;
  transition: opacity .15s ease;
}
.msg:hover .msg-actions,
.msg:focus-within .msg-actions {
  opacity: 1;
  pointer-events: auto;
}
@media (hover: none) {
  .msg-actions {
    opacity: 1;
    pointer-events: auto;
  }
}
.msg.user .msg-actions { justify-content: flex-end; }
.msg-act {
  border: none;
  background: transparent;
  color: #64748b;
  font-size: .75rem;
  padding: .15rem .45rem;
  border-radius: 6px;
  cursor: pointer;
  transition: color .15s ease, background-color .15s ease;
}
.msg-act:hover {
  color: var(--accent, #2563eb);
  background: rgba(91, 140, 255, .12);
}
.msg-act[data-act="delete"]:hover {
  color: #b91c1c;
  background: rgba(239, 68, 68, .1);
}
.msg-act:focus-visible {
  outline: 2px solid var(--accent, #2563eb);
  outline-offset: 1px;
}
/* 操作条在气泡下方浅底区域，勿用白字（原 hover 会看不见） */
.msg.user .msg-act {
  color: #5c6b82;
}
.msg.user .msg-act:hover {
  color: var(--accent, #2563eb);
  background: rgba(91, 140, 255, .14);
}
.msg.user .msg-act[data-act="delete"]:hover {
  color: #b91c1c;
  background: rgba(239, 68, 68, .1);
}

.composer {
  flex: 0 0 auto;
  padding: .35rem 0 .65rem;
  z-index: 2;
}
.composer-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 14px;
  box-shadow: var(--shadow-sm);
  overflow: hidden;
  transition: box-shadow .25s ease, border-color .25s ease;
}
.composer-card.composer-attn {
  border-color: #5b8cff;
  box-shadow: 0 0 0 3px rgba(91, 140, 255, .22);
}
.composer-card--compact .composer-bar {
  padding: .4rem .5rem .42rem;
}
.composer-top {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: .5rem;
  flex-wrap: nowrap;
  padding: .4rem .6rem .35rem;
  border-bottom: 1px solid #eef1f6;
  background: #fafbfc;
}

.mode-pills {
  display: inline-flex;
  flex-wrap: wrap;
  align-items: center;
  gap: .35rem;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
  min-width: 0;
}
.mode-pill.active {
  background: #ccfbf1;
  border-color: #0d9488;
  color: #0f766e;
  font-weight: 600;
  box-shadow: inset 0 0 0 1px rgba(13, 148, 136, .12);
}
.mode-pill--locked,
.mode-pill:disabled {
  opacity: .45;
  cursor: not-allowed;
}
.mode-pill--locked:hover,
.mode-pill:disabled:hover {
  color: #0f766e;
  background: #fff;
}
.composer-card:not(.intent-video) .btn-upload {
  display: none !important;
}
.composer-card.composer-video--link .btn-upload,
.composer-card.composer-video--link #composerVideoChip {
  display: none !important;
}
.composer-card.composer-video--link .video-file-input {
  position: absolute;
  width: 0;
  height: 0;
  opacity: 0;
  pointer-events: none;
}
.composer-card:not(.intent-video) #composerVideoChip {
  display: none !important;
}
.composer-video-chip {
  flex: 0 1 auto;
  max-width: min(220px, 42vw);
  font-size: 12px;
  font-weight: 600;
  color: #0f766e;
  background: #ecfdf5;
  border: 1px solid #99f6e4;
  border-radius: 999px;
  padding: .22rem .6rem;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  line-height: 1.35;
}
.composer-bar--multiline .composer-video-chip {
  align-self: center;
  margin-bottom: .1rem;
}
.composer-bar--single .composer-video-chip {
  align-self: center;
  order: 2;
}
.viral-benchmark-bar {
  flex-wrap: wrap;
  gap: .35rem .5rem;
  align-items: center;
}
.viral-benchmark-bar.is-hidden {
  display: none !important;
}
.viral-benchmark-toggle {
  display: inline-flex;
  align-items: center;
  gap: .35rem;
  font-size: 12px;
  font-weight: 600;
  color: #334155;
  margin: 0;
  cursor: pointer;
  user-select: none;
}
.viral-benchmark-toggle input {
  accent-color: #0d9488;
}
.viral-industry-chips {
  display: flex;
  flex-wrap: wrap;
  gap: .35rem;
  flex: 1 1 auto;
  min-width: 0;
}
.viral-industry-chip.active {
  color: #0f766e;
  background: #ecfdf5;
  border-color: #5eead4;
}
.composer-bar--single .composer-input {
  order: 3;
}
.composer-bar--single .btn-send {
  order: 4;
}
.video-file-input {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}
.composer-file {
  cursor: pointer;
  font-size: 12px;
  color: #4b5563;
  background: #eef2ff;
  border: 1px solid #dbe4ff;
  border-radius: 999px;
  padding: .28rem .65rem;
  max-width: min(240px, 46vw);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.composer-file::before {
  content: "视频 ";
  color: var(--muted);
  font-weight: 600;
}
.composer-card--hub,
.composer-card--video-hub {
  border-color: rgba(13, 148, 136, 0.22);
  box-shadow: 0 4px 24px rgba(13, 148, 136, .08);
}
.composer-card--hub .composer-top,
.composer-card--hub .composer-top--chips,
.composer-card--hub .composer-top--video,
.composer-card--video-hub .composer-top--video,
.composer-card--video-hub .composer-top--chips {
  border-bottom-color: rgba(13, 148, 136, 0.12);
  background: linear-gradient(180deg, #f0fdfa 0%, #f8fafc 100%);
  align-items: center;
  justify-content: flex-start;
  flex-wrap: nowrap;
}
/* moved to video-studio.css (was lines 2668-2916) */
/* ===== 内容发布 · 文章列表操作 ===== */
.content-hub-list-page .content-hub-table {
  font-size: 0.8125rem;
}
.content-hub-list-page .content-hub-table__title {
  max-width: 22rem;
  line-height: 1.35;
}
.content-hub-list-page .content-hub-table .table-actions {
  display: inline-flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: flex-end;
  gap: 0.35rem 0.7rem;
}
.content-hub-list-page .content-hub-table .table-actions > form {
  display: inline;
  margin: 0;
}
.content-hub-list-page .content-hub-table__action {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  border: 0;
  background: transparent;
  cursor: pointer;
  font-size: 0.75rem;
  font-weight: 600;
  padding: 0;
  line-height: 1.35;
  color: #64748b;
  font-family: inherit;
}
.content-hub-list-page .content-hub-table__action--primary {
  color: #0d9488;
}
.content-hub-list-page .content-hub-table__action--secondary {
  color: #475569;
}
.content-hub-list-page .content-hub-table__action--danger {
  color: #dc2626;
}
.content-hub-list-page .content-hub-table__action:hover {
  text-decoration: underline;
}
.content-hub-list-page .content-hub-table__action--primary:hover {
  color: #0f766e;
}
.content-hub-list-page .content-hub-table__action--danger:hover {
  color: #b91c1c;
}

@media (max-width: 767.98px) {
  .vs-projects-page__head .d-flex {
    width: 100%;
  }
  .vs-projects-page__head .d-flex .btn {
    flex: 1 1 auto;
    min-height: 2.35rem;
  }
  .vs-projects-page__stats .stat-card {
    padding: 0.55rem 0.65rem;
  }
  .vs-projects-page__stats .stat-card .value {
    font-size: 1.15rem;
  }
  .vs-projects-filter .d-flex {
    display: grid !important;
    grid-template-columns: 1fr 1fr;
    gap: 0.55rem 0.65rem;
    align-items: end;
  }
  .vs-projects-filter .flex-grow-1 {
    grid-column: 1 / -1;
    min-width: 0 !important;
  }
  .vs-projects-filter__theme {
    grid-column: 1 / -1;
    min-width: 0;
    width: 100%;
  }
  .vs-projects-filter__theme .theme-picker,
  .vs-projects-filter__theme .theme-picker__input {
    width: 100%;
  }
  .vs-projects-filter .form-control {
    font-size: 16px;
    line-height: 1.25;
    min-height: 2.125rem;
    padding-top: 0.42rem;
    padding-bottom: 0.42rem;
  }
  .vs-projects-filter .form-select {
    font-size: 0.8125rem;
    min-height: 2.25rem;
    padding-top: 0.38rem;
    padding-bottom: 0.38rem;
    padding-left: 0.55rem;
    line-height: 1.35;
  }
  .vs-projects-filter .form-label.small {
    font-size: 0.72rem;
    margin-bottom: 0.15rem !important;
  }
  .vs-projects-filter > .d-flex > .btn {
    min-height: 2.25rem;
    font-size: 0.8125rem;
    padding-top: 0.38rem;
    padding-bottom: 0.38rem;
  }
  .vs-projects-filter > .d-flex > .btn-outline-primary {
    grid-column: 1;
  }
  .vs-projects-filter > .d-flex > .btn-outline-secondary {
    grid-column: 2;
  }

  .vs-projects-page .panel-card--list {
    padding: 0.65rem 0.55rem;
  }
  .vs-projects-page .table-mobile-wrap {
    margin: 0;
    overflow: visible;
  }

  .vs-projects-page .vs-projects-table {
    display: block;
    width: 100%;
    min-width: 0 !important;
    border-collapse: separate;
  }

  .vs-projects-page .vs-projects-table thead {
    display: none;
  }

  .vs-projects-page .vs-projects-table tbody {
    display: block;
  }

  .vs-projects-page .vs-projects-table tbody tr.table-empty-row {
    display: block;
    margin-bottom: 0;
    padding: 0;
    border: none;
    box-shadow: none;
    background: transparent;
  }

  .vs-projects-page .vs-projects-table tbody tr.table-empty-row td {
    display: block;
    width: 100%;
    padding: 0;
  }

  .vs-projects-page .vs-projects-table tbody tr.table-empty-row td::before {
    display: none !important;
  }

  .vs-projects-page .vs-projects-table tbody tr:not(.table-empty-row) {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr);
    grid-template-areas:
      "check title"
      "meta meta"
      "actions actions";
    column-gap: 0.5rem;
    row-gap: 0.35rem;
    margin-bottom: 0.55rem;
    padding: 0.72rem 0.78rem 0.65rem;
    border: 1px solid #e8edf2;
    border-radius: 0.85rem;
    background: #fff;
    box-shadow: 0 1px 3px rgba(15, 23, 42, 0.05);
  }

  .vs-projects-page .vs-projects-table tbody tr:not(.table-empty-row) td {
    display: block;
    padding: 0;
    border: none;
    grid-template-columns: unset;
  }

  .vs-projects-page .vs-projects-table tbody tr:not(.table-empty-row) td::before {
    display: block;
    font-size: 0.68rem;
    font-weight: 600;
    color: #94a3b8;
    line-height: 1.3;
    margin-bottom: 0.12rem;
    content: attr(data-label);
  }

  .vs-projects-page .vs-projects-table .batch-check-col {
    grid-area: check;
    align-self: start;
    margin: 0;
    padding: 0.2rem 0 0;
    border: none;
  }

  .vs-projects-page .vs-projects-table .batch-check-col::before {
    display: none !important;
  }

  .vs-projects-page .vs-projects-table__title {
    grid-area: title;
    max-width: none;
    padding-top: 0.05rem;
  }
  .vs-projects-page .vs-projects-table__title-row .vs-projects-table__title-link {
    flex: 1 1 8rem;
    min-width: 0;
    font-size: 0.9375rem;
    font-weight: 650;
    line-height: 1.4;
    color: #0f172a;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
  }

  .vs-projects-page .vs-projects-table__title::before {
    display: none !important;
  }

  .vs-projects-page .vs-projects-table__stage {
    grid-area: stage;
    padding-top: 0.15rem;
  }

  .vs-projects-page .vs-projects-table__stage::before {
    display: none !important;
  }

  .vs-projects-page .vs-projects-table__stage .badge-soft {
    font-size: 0.72rem;
    padding: 0.22rem 0.55rem;
  }

  .vs-projects-page .vs-projects-table__meta--type,
  .vs-projects-page .vs-projects-table__meta--source,
  .vs-projects-page .vs-projects-table__meta--theme,
  .vs-projects-page .vs-projects-table__meta--platform {
    display: none !important;
  }

  .vs-projects-page .vs-projects-table__meta-line {
    display: flex;
    grid-area: meta;
    flex-direction: column;
    align-items: flex-start;
    gap: 0;
    min-width: 0;
    margin-top: 0;
  }

  .vs-projects-page .vs-projects-table__meta-line::before {
    display: none !important;
  }

  .vs-projects-page .vs-projects-table__meta {
    font-size: 0.78rem;
    color: #475569;
    line-height: 1.35;
    min-width: 0;
    word-break: break-word;
  }

  .vs-projects-page .vs-projects-table__actions {
    grid-area: actions;
    margin-top: 0.35rem;
    padding-top: 0.45rem !important;
    border-top: 1px solid #f1f5f9;
    text-align: left !important;
  }

  .vs-projects-page .vs-projects-table__actions::before {
    display: none !important;
  }

  .vs-projects-page .vs-projects-table .table-actions {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.4rem;
    width: 100%;
  }

  .vs-projects-page .vs-projects-table .vs-projects-table__action {
    min-height: 2.15rem;
    padding: 0.4rem 0.55rem;
    font-size: 0.78rem;
    font-weight: 600;
    border-radius: 0.5rem;
    border: 1px solid #e2e8f0;
    background: #fff;
    text-align: center;
  }

  .vs-projects-page .vs-projects-table .vs-projects-table__action--primary {
    grid-column: 1 / -1;
    color: #fff;
    background: linear-gradient(180deg, #14b8a6 0%, #0d9488 100%);
    border-color: rgba(13, 148, 136, 0.35);
    min-height: 2.35rem;
    font-size: 0.8125rem;
  }

  .vs-projects-page .vs-projects-table .vs-projects-table__action--secondary {
    color: #0f766e;
    background: #f8fafc;
    border-color: #e2e8f0;
  }

  .vs-projects-page .vs-projects-table .vs-projects-table__action--danger {
    grid-column: 1 / -1;
    color: #b91c1c;
    background: #fff;
    border-color: #fecaca;
    min-height: 2rem;
    font-size: 0.75rem;
  }
}

@media (max-width: 575.98px) {
  .app-main--subpage .vs-projects-page__head .page-title {
    font-size: 1.12rem;
  }
  .app-main--subpage .vs-projects-page__head .page-sub {
    font-size: 0.78rem;
  }
}

/* ===== 分析报告 · 诊断任务列表（手机端） ===== */
.diagnosis-table__headline {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 0.35rem 0.5rem;
}
.diagnosis-table__name {
  font-weight: 650;
  color: #0f172a;
  word-break: break-word;
}
.diagnosis-table__status-pill {
  display: none;
  font-size: 0.72rem;
  font-weight: 650;
  padding: 0.12rem 0.45rem;
  border-radius: 999px;
  line-height: 1.35;
  white-space: nowrap;
}
.diagnosis-table__status-pill--0 { color: #64748b; background: #f1f5f9; }
.diagnosis-table__status-pill--1 { color: #2563eb; background: #eff6ff; }
.diagnosis-table__status-pill--2 { color: #0f766e; background: #ecfdf5; }
.diagnosis-table__status-pill--3 { color: #dc2626; background: #fef2f2; }

.diagnosis-table__action {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  border: 0;
  background: transparent;
  cursor: pointer;
  font-size: 0.75rem;
}
.diagnosis-table__action--primary {
  color: #0d9488;
  font-weight: 600;
}
.diagnosis-table__action--danger {
  color: #dc2626;
  font-weight: 600;
}

.diagnosis-table__meta-line {
  display: none;
}
.diagnosis-meta-chip {
  display: inline-flex;
  align-items: center;
  font-size: 0.72rem;
  font-weight: 600;
  color: #475569;
  padding: 0.14rem 0.45rem;
  border-radius: 999px;
  background: #f1f5f9;
  line-height: 1.35;
  max-width: 100%;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.diagnosis-meta-chip--muted {
  font-weight: 500;
  color: #64748b;
  background: #f8fafc;
}

.diagnosis-table__type-chip {
  display: none;
  flex-shrink: 0;
  font-size: 0.72rem;
}

.diagnosis-type-badge {
  display: inline-block;
  white-space: nowrap;
  font-size: 0.72rem;
  font-weight: 600;
  line-height: 1.35;
  padding: 0.14rem 0.5rem;
  border-radius: 999px;
  background: #f1f5f9;
  color: #475569;
}

.diagnosis-table__url-inline a,
.diagnosis-table__url-list a {
  display: inline-block;
  max-width: 100%;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  vertical-align: bottom;
  color: #64748b;
  text-decoration: none;
}

.diagnosis-table__url-inline a:hover,
.diagnosis-table__url-list a:hover {
  color: #0d9488;
  text-decoration: underline;
}

.diagnosis-table__url-text {
  display: inline-block;
  max-width: 100%;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  vertical-align: bottom;
}

.diagnosis-list-page .batch-delete-bar .btn-outline-danger:not(:disabled) {
  border-color: #f87171;
  color: #b91c1c;
  background: #fef2f2;
  font-weight: 600;
}

.diagnosis-list-page .batch-delete-bar .btn-outline-danger:not(:disabled):hover {
  background: #fee2e2;
  border-color: #ef4444;
  color: #991b1b;
}

@media (min-width: 768px) {
  .diagnosis-list-page .table-mobile-wrap {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
  }

  .diagnosis-list-page .diagnosis-table--reports {
    width: 100%;
    min-width: 52rem;
    table-layout: fixed;
  }

  .diagnosis-list-page .diagnosis-table__col-target {
    width: 34%;
  }

  .diagnosis-list-page .diagnosis-table__col-type {
    width: 6.25rem;
  }

  .diagnosis-list-page .diagnosis-table__col-theme {
    width: 11%;
  }

  .diagnosis-list-page .diagnosis-table__col-priority {
    width: 4rem;
  }

  .diagnosis-list-page .diagnosis-table__col-status {
    width: 4.5rem;
  }

  .diagnosis-list-page .diagnosis-table__col-creator {
    width: 6.5rem;
  }

  .diagnosis-list-page .diagnosis-table__col-created {
    width: 5.75rem;
  }

  .diagnosis-list-page .diagnosis-table__col-actions {
    width: 7.5rem;
  }

  .diagnosis-list-page .diagnosis-table__target {
    max-width: none;
    word-break: break-word;
  }

  .diagnosis-list-page .diagnosis-table__meta--type,
  .diagnosis-list-page .diagnosis-table__col-type {
    white-space: nowrap;
    text-align: center;
  }

  .diagnosis-list-page .diagnosis-table__col-priority,
  .diagnosis-list-page .diagnosis-table__meta--priority {
    text-align: center;
  }

  .diagnosis-list-page .diagnosis-table__col-created,
  .diagnosis-list-page .diagnosis-table__meta--created {
    white-space: nowrap;
    font-variant-numeric: tabular-nums;
    font-size: 0.78rem;
  }

  .diagnosis-list-page .diagnosis-table__status {
    white-space: nowrap;
    font-size: 0.8125rem;
  }

  .diagnosis-list-page .diagnosis-table__status-pill {
    display: none !important;
  }

  .diagnosis-list-page .diagnosis-table__actions .table-actions {
    flex-wrap: wrap;
    justify-content: flex-end;
    gap: 0.25rem 0.4rem;
  }

  .diagnosis-list-page .list-toolbar--compact {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 0.5rem 0.75rem;
  }

  .diagnosis-list-page .list-toolbar--compact .list-toolbar-main {
    flex: 1 1 16rem;
    max-width: 28rem;
  }
}

@media (min-width: 768px) and (max-width: 1199.98px) {
  .diagnosis-list-page .diagnosis-table__col-priority,
  .diagnosis-list-page .diagnosis-table__col-creator,
  .diagnosis-list-page .diagnosis-table__meta--priority,
  .diagnosis-list-page .diagnosis-table__meta--creator {
    display: none;
  }
}

@media (max-width: 767.98px) {
  .admin-body .admin-content:has(.diagnosis-list-page) {
    padding-left: 0.55rem;
    padding-right: 0.55rem;
  }

  .diagnosis-list-page .page-head {
    margin-bottom: 0.65rem;
  }
  .diagnosis-list-page .page-head-actions {
    width: 100%;
  }
  .diagnosis-list-page .page-head-actions .btn {
    width: 100%;
    min-height: 2.55rem;
    font-size: 0.88rem;
    justify-content: center;
  }

  .diagnosis-list-page .panel-card {
    padding: 0;
    border: none;
    box-shadow: none;
    background: transparent;
  }
  .diagnosis-list-page .list-toolbar--compact {
    margin-bottom: 0.5rem !important;
    padding-bottom: 0;
    border-bottom: none;
  }
  .diagnosis-list-page .list-toolbar-main {
    flex-wrap: nowrap;
    align-items: stretch;
    gap: 0.45rem;
  }
  .diagnosis-list-page .list-toolbar-main .list-search {
    flex: 1 1 auto;
    min-width: 0;
    font-size: 16px;
    line-height: 1.25;
    min-height: 2.125rem;
    padding-top: 0.42rem;
    padding-bottom: 0.42rem;
  }
  .diagnosis-list-page .list-toolbar-main .btn {
    flex: 0 0 auto;
    min-width: 3.75rem;
    min-height: 2.45rem;
    padding-left: 0.85rem;
    padding-right: 0.85rem;
    align-self: stretch;
  }
  .diagnosis-list-page .list-toolbar-main .btn-link {
    flex: 0 0 auto;
    min-height: 2.45rem;
    display: inline-flex;
    align-items: center;
  }
  .diagnosis-list-page .batch-delete-bar {
    gap: 0.35rem 0.5rem;
    margin-bottom: 0.55rem !important;
    padding: 0.45rem 0.55rem;
    border-radius: 0.5rem;
    background: #f8fafc;
    border: 1px solid #e2e8f0;
  }
  .diagnosis-list-page .batch-delete-bar .btn-outline-danger {
    margin-left: auto;
    min-height: 2.25rem;
    padding-left: 0.75rem;
    padding-right: 0.75rem;
  }
  .diagnosis-list-page .table-mobile-wrap {
    margin: 0;
  }

  .diagnosis-list-page .diagnosis-table thead {
    display: none;
  }

  .diagnosis-list-page .diagnosis-table tbody tr:not(.table-empty-row) {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr);
    grid-template-areas:
      "check target"
      "meta meta"
      "actions actions";
    column-gap: 0.5rem;
    row-gap: 0.2rem;
    margin-bottom: 0.55rem;
    padding: 0.62rem 0.68rem 0.52rem;
    border: 1px solid #e2e8f0;
    border-radius: 0.65rem;
    background: #fff;
    box-shadow: 0 2px 12px rgba(15, 23, 42, 0.04);
  }

  .diagnosis-list-page .diagnosis-table tbody tr:not(.table-empty-row) td {
    display: block;
    padding: 0;
    border: none;
    grid-template-columns: unset;
    text-align: left;
  }

  .diagnosis-list-page .diagnosis-table tbody tr:not(.table-empty-row) td::before {
    display: block;
    font-size: 0.68rem;
    font-weight: 600;
    color: #94a3b8;
    line-height: 1.3;
    margin-bottom: 0.1rem;
    content: attr(data-label);
  }

  .diagnosis-list-page .diagnosis-table .batch-check-col {
    grid-area: check;
    align-self: start;
    margin: 0;
    padding: 0.12rem 0 0;
    border: none;
  }

  .diagnosis-list-page .diagnosis-table .batch-check-col::before {
    display: none !important;
  }

  .diagnosis-list-page .diagnosis-table__target {
    grid-area: target;
    font-size: 0.88rem;
    font-weight: 650;
    line-height: 1.42;
    color: #0f172a;
    word-break: break-word;
  }

  .diagnosis-list-page .diagnosis-table__target::before {
    display: none !important;
  }

  .diagnosis-list-page .diagnosis-table__status-pill {
    display: inline-flex;
    align-items: center;
  }

  .diagnosis-list-page .diagnosis-table__type-chip {
    display: inline-flex;
    align-items: center;
  }

  .diagnosis-list-page .diagnosis-table__status {
    display: none !important;
  }

  .diagnosis-list-page .diagnosis-table__meta--type,
  .diagnosis-list-page .diagnosis-table__meta--priority,
  .diagnosis-list-page .diagnosis-table__meta--creator,
  .diagnosis-list-page .diagnosis-table__meta--created {
    display: none !important;
  }

  .diagnosis-list-page .diagnosis-table__meta-line {
    display: flex;
    grid-area: meta;
    flex-direction: column;
    align-items: flex-start;
    gap: 0;
    min-width: 0;
    margin-top: 0.08rem;
  }

  .diagnosis-list-page .diagnosis-table__theme {
    display: none !important;
  }

  .diagnosis-list-page .diagnosis-table__meta,
  .diagnosis-list-page .diagnosis-table__theme {
    font-size: 0.78rem;
    color: #475569;
    line-height: 1.35;
    min-width: 0;
  }

  .diagnosis-list-page .diagnosis-table__actions {
    grid-area: actions;
    margin-top: 0.35rem;
    padding-top: 0.45rem !important;
    border-top: 1px solid #f1f5f9;
  }

  .diagnosis-list-page .diagnosis-table__actions::before {
    display: none !important;
  }

  .diagnosis-list-page .diagnosis-table .table-actions {
    display: flex;
    gap: 0.45rem;
    width: 100%;
    align-items: stretch;
  }

  .diagnosis-list-page .diagnosis-table .table-actions > form.js-delete-form {
    flex: 1 1 calc(50% - 0.25rem);
    display: flex;
    margin: 0;
    min-width: 0;
  }

  .diagnosis-list-page .diagnosis-table .table-actions > form.js-delete-form .diagnosis-table__action {
    width: 100%;
  }

  .diagnosis-list-page .diagnosis-table .diagnosis-table__action {
    flex: 1 1 calc(50% - 0.25rem);
    min-height: 2.2rem;
    padding: 0.38rem 0.6rem;
    font-size: 0.8rem;
    font-weight: 600;
    border-radius: 0.45rem;
    border: 1px solid #e2e8f0;
    background: #fff;
    text-align: center;
  }

  .diagnosis-list-page .diagnosis-table .diagnosis-table__action--primary {
    color: #fff;
    background: linear-gradient(180deg, #14b8a6 0%, #0d9488 100%);
    border-color: rgba(13, 148, 136, 0.35);
  }

  .diagnosis-list-page .diagnosis-table .diagnosis-table__action--danger {
    color: #dc2626;
    background: #fafafa;
    border-color: #e2e8f0;
  }

  .diagnosis-list-page .diagnosis-table .diagnosis-table__action--danger:hover {
    color: #dc2626 !important;
    text-decoration: none;
  }

  .diagnosis-list-page .pagination-bar,
  .diagnosis-list-page .list-pagination {
    padding: 0.35rem 0.15rem 0;
    font-size: 0.78rem;
  }
}

@media (max-width: 575.98px) {
  .app-main--subpage .diagnosis-list-page__head .page-title {
    font-size: 1.12rem;
  }
}

/* ===== GEO 评估 · 历史分析报告（客户前台） ===== */
.app-shell--growth .app-content--workspace > .workspace-page:has(.evaluate-reports-page) {
  flex: 0 1 auto;
  min-height: 0;
  align-self: stretch;
}
.evaluate-reports-page .evaluate-reports-digest__list a {
  font-weight: 600;
  text-decoration: none;
}
.evaluate-reports-page .evaluate-reports-digest__list a:hover {
  text-decoration: underline;
}

@media (max-width: 767.98px) {
  body.app-body .app-content--workspace:has(.evaluate-reports-page) {
    padding-left: 0.65rem;
    padding-right: 0.65rem;
  }
  .evaluate-reports-page .page-head {
    margin-bottom: 0.65rem;
  }
  .evaluate-reports-page .page-title {
    font-size: 1.2rem;
  }
  .evaluate-reports-page .page-sub {
    font-size: 0.8125rem;
    line-height: 1.5;
    margin-bottom: 0;
  }
  .evaluate-reports-page .evaluate-reports-digest.panel-card {
    padding: 0.75rem 0.8rem;
    margin-bottom: 0.55rem !important;
  }
  .evaluate-reports-page .evaluate-reports-digest__lead {
    font-size: 0.78rem;
    line-height: 1.5;
  }
  .evaluate-reports-page .evaluate-reports-digest__toolbar .btn:not(.btn-link) {
    min-height: 2rem;
    font-size: 0.78rem;
    padding: 0.28rem 0.55rem;
  }
  .evaluate-reports-page .evaluate-reports-digest__toolbar .btn-link {
    min-height: auto;
    padding: 0.15rem 0;
  }
  .evaluate-reports-page .evaluate-reports-list-panel.panel-card {
    padding: 0;
    border: none;
    box-shadow: none;
    background: transparent;
  }
  .evaluate-reports-page .diagnosis-table tbody tr:not(.table-empty-row) {
    grid-template-columns: minmax(0, 1fr);
    grid-template-areas:
      "target"
      "meta"
      "actions";
  }
  .evaluate-reports-page .diagnosis-table__target {
    grid-area: target;
  }
  .evaluate-reports-page .diagnosis-table__meta-line {
    grid-area: meta;
  }
  .evaluate-reports-page .diagnosis-table__actions {
    grid-area: actions;
  }
  .evaluate-reports-page .diagnosis-table__meta--type,
  .evaluate-reports-page .diagnosis-table__meta--creator,
  .evaluate-reports-page .diagnosis-table__status,
  .evaluate-reports-page .diagnosis-table__meta--created {
    display: none !important;
  }
}

/* moved to video-studio.css (was lines 3552-5055) */
/* 选题参谋：筛选条对齐（标签行 + 控件行，说明文字单独一行） */
.topics-filter {
  padding: 0;
  overflow: visible;
}
.topics-filter__bar {
  padding: 0.85rem 1rem 0.75rem;
  align-items: flex-end;
}
.topics-filter__field--industry {
  flex: 0 1 12rem;
  max-width: 16rem;
}
.topics-filter__field--days {
  flex: 0 0 8.5rem;
  max-width: 8.5rem;
}
.topics-filter__readonly {
  display: flex;
  align-items: center;
  min-height: 2.35rem;
  padding: 0.35rem 0.75rem;
  font-size: 0.875rem;
  color: #0f172a;
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 0.375rem;
  line-height: 1.35;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.topics-filter__hint {
  margin: 0;
  padding: 0.45rem 1rem 0.7rem;
  font-size: 0.75rem;
  line-height: 1.4;
  color: #64748b;
  border-top: 1px solid #f1f5f9;
  background: #fcfcfd;
  border-radius: 0 0 0.5rem 0.5rem;
}
.topics-filter .theme-picker {
  width: 100%;
}
@media (max-width: 767.98px) {
  .topics-filter__field--industry,
  .topics-filter__field--days {
    flex: 1 1 100%;
    max-width: none;
  }
}

.content-hub-assistant {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 1040;
  pointer-events: none;
}
.content-hub-assistant.is-dismissed .content-hub-assistant__bar {
  display: none;
}
.content-hub-assistant__fab {
  pointer-events: auto;
  position: fixed;
  right: 1rem;
  bottom: 1rem;
  z-index: 1040;
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.45rem 0.75rem;
  border: 1px solid #bfdbfe;
  border-radius: 999px;
  background: linear-gradient(180deg, #eff6ff 0%, #fff 100%);
  color: #1d4ed8;
  font-size: 0.8125rem;
  font-weight: 600;
  box-shadow: 0 4px 16px rgba(37, 99, 235, 0.2);
  cursor: pointer;
}
.content-hub-assistant__fab .ico {
  width: 1.1rem;
  height: 1.1rem;
}
.content-hub-assistant__fab:hover {
  background: #eff6ff;
}
.content-hub-assistant__float {
  position: fixed;
  z-index: 1041;
  width: min(26rem, calc(100vw - 1.5rem));
  pointer-events: auto;
}
.content-hub-assistant__float.is-dragging,
.content-hub-assistant__float.is-dragging .content-hub-assistant__panel {
  user-select: none;
  cursor: grabbing;
}
body.content-hub-assistant-dragging {
  cursor: grabbing;
}
.content-hub-assistant__bar,
.content-hub-assistant__float {
  pointer-events: auto;
}
.content-hub-assistant__bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  margin: 0 auto;
  max-width: calc(100vw - 2rem);
  padding: 0.45rem 0.75rem;
  background: #fff;
  border: 1px solid #e2e8f0;
  border-radius: 0.65rem 0.65rem 0 0;
  box-shadow: 0 -4px 24px rgba(15, 23, 42, 0.12);
}
.content-hub-assistant.is-expanded .content-hub-assistant__bar {
  display: none;
}
.content-hub-assistant__bar-main {
  flex: 1;
  min-width: 0;
  border: 0;
  background: transparent;
  text-align: left;
  padding: 0.15rem 0;
  cursor: pointer;
}
.content-hub-assistant__bar-title {
  display: block;
  font-weight: 600;
  color: #0f172a;
  font-size: 0.9rem;
}
.content-hub-assistant__bar-sub {
  display: block;
  font-size: 0.75rem;
  color: #64748b;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.content-hub-assistant__bar-actions {
  display: flex;
  align-items: center;
  gap: 0.35rem;
  flex-shrink: 0;
}
.content-hub-assistant__panel {
  width: 100%;
  background: #fff;
  border: 1px solid #e2e8f0;
  border-radius: 0.75rem;
  box-shadow: 0 12px 40px rgba(15, 23, 42, 0.18);
  display: flex;
  flex-direction: column;
  max-height: min(72vh, 520px);
  overflow: hidden;
}
.content-hub-assistant__panel-hd {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
  padding: 0.45rem 0.5rem 0.45rem 0.65rem;
  border-bottom: 1px solid #e2e8f0;
  flex-shrink: 0;
  cursor: grab;
  background: #f8fafc;
  border-radius: 0.75rem 0.75rem 0 0;
}
.content-hub-assistant__float.is-dragging .content-hub-assistant__panel-hd {
  cursor: grabbing;
}
.content-hub-assistant__panel-hd-main {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  min-width: 0;
}
.content-hub-assistant__panel-hd-actions {
  display: flex;
  align-items: center;
  flex-shrink: 0;
  cursor: default;
}
.content-hub-assistant__grip {
  color: #94a3b8;
  font-size: 0.75rem;
  letter-spacing: -0.15em;
  line-height: 1;
  user-select: none;
}
.content-hub-assistant__msgs {
  flex: 1;
  min-height: 12rem;
  max-height: 22rem;
  overflow-y: auto;
  padding: 0.65rem 0.85rem;
  margin: 0;
}
.content-hub-assistant__msgs:not(.d-none) {
  display: block;
}
.content-hub-assistant__composer {
  flex-shrink: 0;
  padding: 0 0.5rem 0.5rem;
}
.content-hub-assistant__composer .composer-card {
  margin: 0;
  box-shadow: none;
  border: 1px solid #e2e8f0;
}
body.content-hub-assistant-open .workspace-page {
  padding-bottom: 0;
}
body:not(.content-hub-assistant-open):not(.content-hub-assistant-dismissed) .workspace-page:has(.content-hub-assistant) {
  padding-bottom: 4.25rem;
}
body.content-hub-assistant-dismissed .workspace-page:has(.content-hub-assistant) {
  padding-bottom: 0;
}
@media (max-width: 575.98px) {
  .content-hub-assistant__bar-sub { display: none; }
}
.content-hub-guide {
  padding: 1rem 1.1rem;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 12px;
  font-size: 13.5px;
  color: var(--muted);
  line-height: 1.55;
  box-shadow: var(--shadow-sm);
}
.content-hub-guide__title {
  font-size: 15px;
  font-weight: 700;
  color: var(--ink);
  margin-bottom: 0.4rem;
  line-height: 1.35;
}
.content-hub-guide__lead {
  font-size: 13.5px;
  color: var(--muted);
  line-height: 1.55;
  margin-bottom: 0;
}
.content-hub-guide__lead strong {
  color: var(--ink);
  font-weight: 600;
}
.content-hub-guide__foot {
  margin-top: 0.75rem;
  padding-top: 0.75rem;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 13.5px;
  line-height: 1.55;
}
.content-hub-guide__foot strong {
  color: var(--ink);
  font-weight: 600;
}
.content-hub-guide__list {
  padding-left: 1.15rem;
  margin: 0.35rem 0 0;
  color: var(--muted);
  font-size: 13.5px;
  line-height: 1.55;
}
.content-hub-guide__block {
  height: 100%;
  padding: 0.65rem 0.75rem;
  background: #f8fafc;
  border: 1px solid var(--line);
  border-radius: 10px;
  font-size: 13px;
  color: var(--muted);
  line-height: 1.5;
}
.content-hub-guide__block ul {
  padding-left: 1.1rem;
  margin: 0.35rem 0 0;
}
.content-hub-guide__block--do {
  border-left: 3px solid #0d9488;
  background: #f0fdfa;
}
.content-hub-guide__block--note {
  border-left: 3px solid #94a3b8;
  background: #f8fafc;
}

/* Content Hub — workflow stepper & status badges */
.content-hub-workflow {
  display: flex;
  align-items: center;
  gap: 0;
  padding: 0.85rem 1rem;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 12px;
  box-shadow: var(--shadow-sm);
  overflow-x: auto;
}
.content-hub-workflow__step {
  display: flex;
  align-items: center;
  gap: 0.45rem;
  flex-shrink: 0;
  color: var(--muted);
  font-size: 13px;
}
.content-hub-workflow__num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 1.5rem;
  height: 1.5rem;
  border-radius: 999px;
  border: 1.5px solid #c8d4dc;
  background: #f6f8fa;
  font-size: 12px;
  font-weight: 700;
  color: var(--muted);
}
.content-hub-workflow__step.is-current .content-hub-workflow__num {
  border-color: var(--accent);
  background: var(--accent);
  color: #fff;
}
.content-hub-workflow__step.is-done .content-hub-workflow__num {
  border-color: #2d9f7a;
  background: #e8f7f1;
  color: #1a7a5c;
}
.content-hub-workflow__step.is-done .content-hub-workflow__label,
.content-hub-workflow__step.is-current .content-hub-workflow__label {
  color: var(--ink);
  font-weight: 600;
}
.content-hub-workflow__line {
  flex: 1 1 1.5rem;
  min-width: 1rem;
  height: 2px;
  margin: 0 0.35rem;
  background: #e2e8ee;
  border-radius: 1px;
}
.content-hub-workflow--direct .content-hub-workflow__line {
  flex: 1 1 2.5rem;
}
.content-hub-status {
  display: inline-block;
  padding: 0.15rem 0.55rem;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 600;
  line-height: 1.4;
  white-space: nowrap;
}
.content-hub-status--draft { background: #f0f2f5; color: #5c6670; }
.content-hub-status--pending { background: #fff4e5; color: #b86e00; }
.content-hub-status--approved { background: #e8f4fd; color: #0b6ba8; }
.content-hub-status--published { background: #e8f7f1; color: #1a7a5c; }
.content-hub-status--failed { background: #fdecea; color: #c0392b; }
.content-hub-status--ok { background: #e8f7f1; color: #1a7a5c; }
.content-hub-status--muted { background: #f0f2f5; color: #8a939c; }
.content-hub-theme-banner {
  border-left: 3px solid var(--accent, #1a7a5c);
}
.content-hub-media-table__thumb {
  width: 64px;
}
.theme-usage-cell__total {
  margin-top: 0.25rem;
}
.theme-usage-cell .content-hub-status + .text-muted,
.theme-usage-cell .content-hub-status + div {
  margin-top: 0.2rem;
}
.content-hub-phase-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
}
.content-hub-phase-chip {
  display: inline-flex;
  align-items: center;
  padding: 0.28rem 0.65rem;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: #fff;
  color: var(--muted);
  font-size: 12px;
  font-weight: 600;
  text-decoration: none;
  white-space: nowrap;
}
.content-hub-phase-chip:hover {
  border-color: #b8d4cc;
  color: var(--ink);
}
.content-hub-phase-chip.is-on {
  border-color: var(--accent);
  background: #e8f7f1;
  color: #1a7a5c;
}
.wi-page .wi-form {
  max-width: 52rem;
}
.wi-section {
  margin-bottom: 1.25rem;
}
.wi-section--content {
  margin-bottom: 1rem;
}
.wi-section--inline {
  padding-top: 0.15rem;
  margin-bottom: 1rem;
}
.wi-type-segment {
  display: inline-flex;
  flex-wrap: wrap;
  gap: 0.35rem;
  padding: 0.25rem;
  border-radius: 12px;
  background: #f4f7f6;
  border: 1px solid var(--line);
}
.wi-type-segment__btn {
  border: 1px solid transparent;
  border-radius: 9px;
  padding: 0.42rem 0.95rem;
  font-size: 0.875rem;
  font-weight: 500;
  color: #5c6b66;
  background: transparent;
  cursor: pointer;
  transition: background 0.15s ease, color 0.15s ease, border-color 0.15s ease, box-shadow 0.15s ease;
}
.wi-type-segment__btn:hover {
  color: var(--ink);
  background: #fff;
}
.wi-type-segment__btn.is-on {
  color: #1a7a5c;
  background: #fff;
  border-color: #b8e6d4;
  box-shadow: 0 1px 3px rgba(26, 122, 92, 0.08);
}
.wi-type-hint {
  margin: 0.55rem 0 0;
  font-size: 0.8125rem;
  color: #6b7c76;
  line-height: 1.5;
}
.wi-content-head {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.35rem 0.75rem;
  margin-bottom: 0.45rem;
}
.wi-help-link {
  border: 0;
  background: none;
  padding: 0;
  font-size: 0.8125rem;
  color: var(--accent);
  cursor: pointer;
  white-space: nowrap;
}
.wi-help-link:hover {
  text-decoration: underline;
}
.wi-content {
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace;
  font-size: 0.8125rem;
  line-height: 1.6;
  resize: vertical;
  min-height: 14rem;
  background: #fff;
  color: var(--ink);
  border-color: #cbd5e1;
}
.wi-content:focus {
  background: #fff;
  border-color: rgba(13, 148, 136, 0.45);
  box-shadow: 0 0 0 0.2rem rgba(13, 148, 136, 0.12);
}
.wi-content.is-invalid {
  border-color: #dc3545;
}
.wi-content-foot {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.5rem 0.75rem;
  margin-top: 0.65rem;
  padding-top: 0.65rem;
  border-top: 1px dashed var(--line);
}
.wi-preset-btn {
  border: 0;
  border-radius: 999px;
  padding: 0.4rem 1rem;
  font-size: 0.8125rem;
  font-weight: 600;
  color: #fff;
  cursor: pointer;
  transition: opacity 0.15s ease, transform 0.15s ease;
  flex-shrink: 0;
}
.wi-preset-btn:hover {
  opacity: 0.92;
  transform: translateY(-1px);
}
.wi-preset-btn--article { background: linear-gradient(135deg, #3b82f6, #2563eb); }
.wi-preset-btn--title { background: linear-gradient(135deg, #ec4899, #db2777); }
.wi-preset-btn--traffic { background: linear-gradient(135deg, #64748b, #475569); }
.wi-preset-hint {
  font-size: 0.75rem;
  color: #8a9691;
  line-height: 1.4;
}
.wi-reminder {
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
  padding: 0.75rem 0.9rem;
  margin-bottom: 1.1rem;
  border-radius: 10px;
  background: #fff5f5;
  border: 1px solid #f5d0d0;
  font-size: 0.8125rem;
  color: #9b3b3b;
  line-height: 1.5;
}
.wi-reminder strong {
  font-size: 0.8125rem;
}
.wi-form-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.5rem;
  padding-top: 0.25rem;
  border-top: 1px solid var(--line);
}
.content-hub-theme-table .content-hub-theme-row.is-idle {
  opacity: 0.88;
}
.content-hub-theme-row__title {
  display: block;
  font-weight: 600;
  color: var(--ink);
  text-decoration: none;
  line-height: 1.35;
  margin-bottom: 0.25rem;
  cursor: inherit;
}
a.content-hub-theme-row__title {
  cursor: pointer;
}
a.content-hub-theme-row__title:hover {
  color: var(--accent);
  text-decoration: underline;
}
.content-hub-theme-row__meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.35rem;
  margin-bottom: 0.15rem;
}
.content-hub-theme-row__kw {
  max-width: 28rem;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.theme-usage-inline {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.2rem;
}
.theme-usage-inline__detail {
  font-size: 12px;
  line-height: 1.4;
}
@media (min-width: 768px) {
  .theme-usage-inline {
    flex-direction: row;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.45rem;
  }
}
@media (max-width: 767.98px) {
  .content-hub-theme-table .content-hub-theme-row__usage {
    padding-top: 0.15rem;
  }
}
.content-hub-theme-table tr.is-idle {
  opacity: 0.88;
}
.content-hub-keyword-steps {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}
.content-hub-keyword-step {
  display: inline-flex;
  align-items: center;
  padding: 0.35rem 0.75rem;
  border-radius: 999px;
  border: 1px dashed var(--line);
  background: #fafbfc;
  color: var(--muted);
  font-size: 12px;
  font-weight: 600;
}
.content-hub-keyword-step.is-on {
  border-style: solid;
  border-color: var(--accent);
  background: #e8f7f1;
  color: #1a7a5c;
}
.content-hub-media-row__main {
  display: flex;
  gap: 0.75rem;
  align-items: flex-start;
}
.content-hub-media-row__preview img {
  width: 56px;
  height: 56px;
  object-fit: cover;
  flex-shrink: 0;
}
.content-hub-media-row__video-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 56px;
  height: 56px;
  border-radius: 0.375rem;
  background: #eef2f6;
  color: var(--muted);
  font-size: 12px;
  font-weight: 600;
  flex-shrink: 0;
}
.content-hub-media-row__text {
  min-width: 0;
  flex: 1;
}
.content-hub-accounts-help summary {
  cursor: pointer;
  list-style: none;
}
.content-hub-accounts-help summary::-webkit-details-marker {
  display: none;
}
.content-hub-filter-banner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.35rem 0.75rem;
  padding: 0.55rem 0.75rem;
  border-radius: 0.55rem;
  background: #fffbeb;
  border: 1px solid #fde68a;
  font-size: 13px;
  color: #92400e;
}
.content-hub-filter-banner__link {
  font-weight: 600;
  color: #0f766e;
  text-decoration: none;
}
.content-hub-filter-banner__link:hover {
  text-decoration: underline;
}
.content-hub-theme-intro {
  border-left: 3px solid var(--accent, #0f766e);
}
.content-hub-theme-intro__head {
  display: flex;
  gap: 0.65rem;
  align-items: flex-start;
}
.content-hub-theme-intro__icon {
  flex-shrink: 0;
  width: 1.75rem;
  height: 1.75rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  background: #e8f7f1;
  color: #0f766e;
  font-size: 13px;
  font-weight: 700;
}
.content-hub-theme-intro__title {
  font-weight: 700;
  font-size: 14px;
  margin-bottom: 0.25rem;
}
.content-hub-theme-intro__lead {
  font-size: 13px;
  color: var(--muted, #64748b);
  line-height: 1.5;
}
.content-hub-theme-intro__fields {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem 1rem;
  padding-top: 0.5rem;
  border-top: 1px dashed var(--line, #e2e8f0);
}
.content-hub-theme-intro__field-item em {
  font-style: normal;
  font-weight: 600;
  color: var(--ink, #0f172a);
}
.content-hub-module-nav-wrap {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}
.content-hub-platform-card__head {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 0.5rem;
  margin-bottom: 0.35rem;
}
.content-hub-platform-card__caps {
  display: flex;
  flex-wrap: wrap;
  gap: 0.25rem;
}
.content-hub-bind-tabs .nav-link {
  font-size: 12px;
  padding: 0.35rem 0.65rem;
  border-radius: 999px;
  color: #64748b;
}
.content-hub-bind-tabs .nav-link.active {
  background: #e8f7f1;
  color: #0f766e;
  font-weight: 600;
}
#channelBindModal .modal-header,
#channelBindModal .modal-footer {
  padding-left: 1.2rem;
  padding-right: 1.2rem;
}
#channelBindModal .modal-body {
  padding: 0.75rem 1.2rem 1rem;
}
#channelBindModal .content-hub-bind-tabs {
  padding: 0.2rem;
  border-radius: 10px;
  background: #f1f5f9;
  gap: 0.2rem;
}
#channelBindModal .content-hub-bind-tabs .nav-item {
  flex: 1;
}
#channelBindModal .content-hub-bind-tabs .nav-link {
  width: 100%;
  border: none;
  background: transparent;
}
#channelBindModal .content-hub-bind-tabs .nav-link.active {
  background: #fff;
  box-shadow: 0 1px 2px rgba(15, 23, 42, 0.06);
}
.content-hub-accounts-flow {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.35rem 0.5rem;
  padding: 0.5rem 0.75rem;
  background: #f8fafc;
  border-radius: 0.55rem;
  font-size: 12px;
}
.content-hub-accounts-flow__step {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  color: #94a3b8;
  font-weight: 500;
}
.content-hub-accounts-flow__step em {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 1.25rem;
  height: 1.25rem;
  border-radius: 999px;
  background: #e2e8f0;
  color: #64748b;
  font-style: normal;
  font-size: 11px;
  font-weight: 700;
}
.content-hub-accounts-flow__step.is-on {
  color: #0f766e;
  font-weight: 600;
}
.content-hub-accounts-flow__step.is-on em {
  background: #0f766e;
  color: #fff;
}
.content-hub-accounts-flow__arrow {
  color: #cbd5e1;
  font-size: 11px;
}
.content-hub-accounts-flow__step--link {
  text-decoration: none;
  color: #64748b;
  transition: color 0.15s ease;
}
.content-hub-accounts-flow__step--link:hover {
  color: #0f766e;
}
.content-hub-segment-tabs,
.content-hub-source-center-tabs {
  display: inline-flex;
  flex-wrap: wrap;
  gap: 0.35rem;
  padding: 0.2rem;
  background: #f8fafc;
  border-radius: 0.6rem;
  box-shadow: inset 0 0 0 1px rgba(15, 23, 42, 0.06);
}
.content-hub-segment-tabs__link,
.content-hub-source-center-tabs__link {
  display: inline-flex;
  align-items: center;
  padding: 0.35rem 0.85rem;
  border-radius: 0.45rem;
  font-size: 0.8125rem;
  font-weight: 500;
  color: #64748b;
  text-decoration: none;
  white-space: nowrap;
  transition: background 0.15s ease, color 0.15s ease, box-shadow 0.15s ease;
}
.content-hub-segment-tabs__link:hover,
.content-hub-source-center-tabs__link:hover {
  color: #0f172a;
  background: #fff;
}
.content-hub-segment-tabs__link.is-on,
.content-hub-source-center-tabs__link.is-on {
  color: #0f766e;
  font-weight: 600;
  background: #fff;
  box-shadow: 0 1px 2px rgba(15, 23, 42, 0.06);
}
.content-hub-source-center-filter-hint {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.35rem 0.5rem;
  padding: 0.5rem 0.75rem;
  font-size: 0.8125rem;
  color: #475569;
  background: #ecfdf5;
  border: 1px solid #a7f3d0;
  border-radius: 0.55rem;
}
.content-hub-source-center-filter-hint a {
  color: #0f766e;
  font-weight: 500;
  text-decoration: none;
}
.content-hub-source-center-filter-hint a:hover {
  text-decoration: underline;
}
.content-hub-source-map-view-toggle {
  display: inline-flex;
  flex-wrap: wrap;
  gap: 0.35rem;
  padding: 0.2rem;
  background: #f8fafc;
  border-radius: 0.6rem;
  box-shadow: inset 0 0 0 1px rgba(15, 23, 42, 0.06);
}
.content-hub-source-map-view-toggle__btn {
  display: inline-flex;
  align-items: center;
  padding: 0.35rem 0.85rem;
  border-radius: 0.45rem;
  font-size: 0.8125rem;
  font-weight: 500;
  color: #64748b;
  text-decoration: none;
  white-space: nowrap;
}
.content-hub-source-map-view-toggle__btn:hover {
  color: #0f172a;
  background: #fff;
}
.content-hub-source-map-view-toggle__btn.is-on {
  color: #0f766e;
  font-weight: 600;
  background: #fff;
  box-shadow: 0 1px 2px rgba(15, 23, 42, 0.06);
}
.content-hub-source-map-groups {
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
}
.content-hub-source-map-group {
  overflow: hidden;
}
.content-hub-source-map-group__sum {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.65rem 1rem;
  padding: 0.75rem 1rem;
  cursor: pointer;
  list-style: none;
}
.content-hub-source-map-group__sum::-webkit-details-marker {
  display: none;
}
.content-hub-source-map-group__main {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  min-width: 0;
}
.content-hub-source-map-group__title {
  font-weight: 600;
  color: #0f172a;
}
.content-hub-source-map-group__meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: flex-end;
  gap: 0.4rem;
}
.content-hub-source-map-group__count {
  font-size: 0.8125rem;
  color: #64748b;
  white-space: nowrap;
}
.content-hub-source-map-group__table {
  border-top: 1px solid #e2e8f0;
}
.content-hub-source-map-group__empty {
  padding: 0 1rem 0.85rem;
}
.content-hub-channel-health {
  display: inline-flex;
  align-items: center;
  padding: 0.1rem 0.45rem;
  border-radius: 999px;
  font-size: 0.75rem;
  font-weight: 600;
  white-space: nowrap;
}
.content-hub-channel-health--ok {
  color: #0f766e;
  background: #ecfdf5;
}
.content-hub-channel-health--muted {
  color: #64748b;
  background: #f1f5f9;
}
.content-hub-channel-health--warn {
  color: #b45309;
  background: #fffbeb;
}
.content-hub-channel-health--alert {
  color: #b91c1c;
  background: #fef2f2;
}
.content-hub-source-map-row-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.25rem;
}
@media (min-width: 768px) {
  .content-hub-source-map-row-actions {
    justify-content: flex-end;
  }
}
.content-hub-source-map-row-actions form {
  margin: 0;
}
.content-hub-distribute-channel.is-highlight {
  background: #ecfdf5;
  border-radius: 0.45rem;
  padding-left: 0.5rem;
  padding-right: 0.5rem;
  box-shadow: inset 0 0 0 1px #a7f3d0;
}
.content-hub-source-map-toolbar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.5rem 0.75rem;
}
.content-hub-source-map-stats {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.5rem;
}
@media (min-width: 768px) {
  .content-hub-source-map-stats {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 0.65rem;
  }
}
.content-hub-source-map-stat {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
  min-height: 3rem;
  padding: 0.55rem 0.7rem;
  border: 1px solid #e8edf2;
  border-radius: 0.65rem;
  background: #fff;
  box-shadow: 0 1px 2px rgba(15, 23, 42, 0.04);
}
.content-hub-source-map-stat--total {
  border-color: #99f6e4;
  background: linear-gradient(135deg, #f0fdfa 0%, #fff 55%);
}
.content-hub-source-map-stat__label {
  font-size: 0.75rem;
  font-weight: 500;
  color: #64748b;
  line-height: 1.3;
  white-space: nowrap;
}
.content-hub-source-map-stat__value {
  font-size: 1.35rem;
  font-weight: 700;
  color: #0f766e;
  line-height: 1;
  font-variant-numeric: tabular-nums;
}
@media (max-width: 380px) {
  .content-hub-source-map-stat {
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
    min-height: 0;
    padding: 0.5rem 0.65rem;
  }
  .content-hub-source-map-stat__value {
    font-size: 1.2rem;
  }
}
.content-hub-source-map-kind {
  display: inline-flex;
  align-items: center;
  padding: 0.12rem 0.5rem;
  border-radius: 999px;
  font-size: 0.6875rem;
  font-weight: 600;
  color: #475569;
  background: #f1f5f9;
  white-space: nowrap;
}
.content-hub-source-map-kind--video {
  color: #5b21b6;
  background: #ede9fe;
}
.content-hub-source-map-kind--article {
  color: #0369a1;
  background: #e0f2fe;
}
.content-hub-source-map-kind--site {
  color: #047857;
  background: #ecfdf5;
}
.content-hub-source-map-row__url {
  display: block;
  max-width: 100%;
  font-size: 0.8125rem;
  line-height: 1.45;
  word-break: break-all;
  overflow-wrap: anywhere;
}
.content-hub-source-map-row__empty {
  font-size: 0.8125rem;
  color: #94a3b8;
}
.content-hub-source-map-row__account-hint {
  margin-top: 0.35rem;
  font-size: 0.78rem;
  line-height: 1.4;
}
.content-hub-link-status {
  display: inline-flex;
  margin-top: 0.2rem;
  padding: 0.05rem 0.35rem;
  border-radius: 999px;
  font-size: 0.6875rem;
  font-weight: 600;
  white-space: nowrap;
}
.content-hub-link-status--ok {
  color: #0f766e;
  background: #ecfdf5;
}
.content-hub-link-status--warn {
  color: #b45309;
  background: #fffbeb;
}
.content-hub-link-status--alert {
  color: #b91c1c;
  background: #fef2f2;
}
.content-hub-link-status--muted {
  color: #64748b;
  background: #f1f5f9;
}
.content-hub-accounts-toolbar {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  justify-content: space-between;
  gap: 0.5rem 1rem;
  margin-bottom: 0.75rem;
  padding-bottom: 0.75rem;
  border-bottom: 1px solid var(--line, #e2e8f0);
}
.content-hub-accounts-toolbar__filters .content-hub-phase-chips {
  margin-bottom: 0;
}
.content-hub-accounts-table__account {
  display: flex;
  align-items: center;
  gap: 0.65rem;
}
.content-hub-accounts-add__sum {
  cursor: pointer;
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 0.35rem 0.75rem;
  padding: 0.15rem 0;
}
.content-hub-accounts-add__sum::-webkit-details-marker { display: none; }
.content-hub-accounts-add__sum::after {
  content: "展开";
  margin-left: auto;
  font-size: 12px;
  color: var(--muted, #64748b);
}
.content-hub-accounts-add[open] > .content-hub-accounts-add__sum::after { content: "收起"; }
.content-hub-accounts-add__body {
  padding-top: 0.75rem;
}
.content-hub-source-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(9.5rem, 1fr));
  gap: 0.5rem;
}
.content-hub-source-grid--modal {
  grid-template-columns: repeat(auto-fill, minmax(10.5rem, 1fr));
  gap: 0.45rem;
}
.content-hub-source-chip {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.35rem;
  padding: 0.55rem 0.65rem;
  border: 1px solid var(--line, #e2e8f0);
  border-radius: 8px;
  background: #fff;
  text-align: left;
  cursor: pointer;
  transition: border-color 0.15s, box-shadow 0.15s, background 0.15s;
}
.content-hub-source-chip__row {
  display: flex;
  align-items: center;
  gap: 0.45rem;
  width: 100%;
  min-width: 0;
}
.content-hub-source-chip--select {
  flex-direction: row;
  align-items: center;
  gap: 0.45rem;
  padding: 0.5rem 0.65rem;
  min-height: 2.5rem;
}
.content-hub-source-chip--select .content-hub-source-chip__name {
  flex: 1;
  min-width: 0;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.content-hub-source-chip:hover {
  border-color: #b8d4cc;
  box-shadow: 0 2px 8px rgba(15, 118, 110, 0.08);
}
.content-hub-source-chip.is-selected,
.content-hub-source-chip--select.is-selected {
  border-color: #0f766e;
  background: #f0fdf9;
  box-shadow: 0 0 0 1px #0f766e;
}
.content-hub-source-chip__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 1.75rem;
  height: 1.75rem;
  border-radius: 0.45rem;
  background: linear-gradient(135deg, #e8f7f1, #d1fae5);
  color: #0f766e;
  font-size: 12px;
  font-weight: 700;
  flex-shrink: 0;
}
.content-hub-source-chip__icon--sm {
  width: 2rem;
  height: 2rem;
  border-radius: 0.5rem;
}
.content-hub-source-chip__name {
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--ink, #0f172a);
  line-height: 1.35;
}
.content-hub-source-chip:not(.content-hub-source-chip--select) .content-hub-source-chip__name {
  flex: 1;
  min-width: 0;
}
.content-hub-source-chip__mode {
  font-size: 10px;
  padding: 0.1rem 0.4rem;
}
.content-hub-source-chip__count {
  position: absolute;
  top: 0.35rem;
  right: 0.35rem;
  min-width: 1.1rem;
  height: 1.1rem;
  padding: 0 0.25rem;
  border-radius: 999px;
  background: #0f766e;
  color: #fff;
  font-size: 10px;
  font-weight: 700;
  line-height: 1.1rem;
  text-align: center;
}
.content-hub-empty-cta--compact {
  padding: 1.25rem 1rem;
}
@media (max-width: 767.98px) {
  .content-hub-accounts-toolbar {
    flex-direction: column;
  }
  .content-hub-accounts-flow__arrow { display: none; }
  .content-hub-source-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

.content-hub-module-nav-wrap > .content-hub-module-nav {
  margin-bottom: 0;
}
.content-hub-module-nav__extras {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem 0.5rem;
  padding: 0.35rem 0.55rem;
  background: #f8fafc;
  border-radius: 0.55rem;
  box-shadow: inset 0 0 0 1px rgba(15, 23, 42, 0.06);
}
.content-hub-module-nav__extra {
  font-size: 12px;
  font-weight: 500;
  color: #64748b;
  text-decoration: none;
  padding: 0.2rem 0.5rem;
  border-radius: 999px;
  border: 1px solid transparent;
  white-space: nowrap;
}
.content-hub-module-nav__extra:hover {
  color: #0f172a;
  background: #fff;
  border-color: #e2e8f0;
}
.content-hub-module-nav__extra.is-on {
  color: #0f766e;
  font-weight: 600;
  background: #e8f7f1;
  border-color: #b8d4cc;
}
.content-hub-module-nav__extra--assist {
  color: #0f766e;
}
.content-hub-module-nav__extras-prefix {
  font-size: 11px;
  font-weight: 600;
  color: #94a3b8;
  padding: 0.2rem 0.15rem 0.2rem 0.35rem;
  flex: 0 0 auto;
}
.content-hub-extra-page .stat-card--hint .value--text {
  font-size: 0.78rem;
  font-weight: 500;
  color: #64748b;
  line-height: 1.4;
}
.content-hub-knowledge-form {
  position: sticky;
  top: 0.75rem;
}

/* 企业知识库档案 */
.content-hub-knowledge-profile-page .content-hub-knowledge-profile {
  padding: 1.25rem 1.35rem 1.5rem;
}
.keyword-library-modal.kb-profile-modal .modal-content > form.kb-profile-form {
  display: flex;
  flex-direction: column;
  max-height: 100%;
  min-height: 0;
  flex: 1 1 auto;
}
.keyword-library-modal.kb-profile-modal .modal-header,
.keyword-library-modal.kb-profile-modal .modal-footer {
  flex-shrink: 0;
}
.keyword-library-modal.kb-profile-modal .modal-body {
  overflow-y: auto;
  flex: 1 1 auto;
  min-height: 0;
  padding: 1rem 1.2rem;
}
.keyword-library-modal.kb-profile-modal .modal-footer {
  gap: 0.4rem;
  padding: 0.85rem 1.2rem 1rem;
}
.keyword-library-modal.kb-profile-modal .kb-field-label .form-label {
  font-size: 0.8125rem;
  font-weight: 600;
  color: #334155;
}

/* 编辑素材弹窗：form 包裹 header/body/footer 时须自行 flex，否则手机端底部按钮被裁切 */
.keyword-library-modal.media-edit-modal .modal-content > form.media-edit-form {
  display: flex;
  flex-direction: column;
  max-height: min(92dvh, 720px);
  min-height: 0;
  flex: 1 1 auto;
}
.keyword-library-modal.media-edit-modal .modal-header,
.keyword-library-modal.media-edit-modal .modal-footer {
  flex-shrink: 0;
}
.keyword-library-modal.media-edit-modal .modal-body {
  overflow-y: auto;
  flex: 1 1 auto;
  min-height: 0;
  -webkit-overflow-scrolling: touch;
}
.keyword-library-modal.media-edit-modal .modal-footer {
  display: flex;
  flex-direction: row;
  flex-wrap: nowrap;
  align-items: stretch;
  gap: 0.5rem;
  justify-content: stretch;
}
.keyword-library-modal.media-edit-modal .modal-footer .btn {
  flex: 1 1 0;
  width: auto !important;
  max-width: none;
  min-height: 2.35rem;
  margin: 0;
}
@media (max-width: 767.98px) {
  .keyword-library-modal.media-edit-modal .modal-dialog {
    margin: 0.5rem auto;
    max-width: calc(100% - 1rem);
    height: calc(100dvh - 1rem);
    max-height: calc(100dvh - 1rem);
  }
  .keyword-library-modal.media-edit-modal .modal-content {
    height: 100%;
    max-height: 100%;
    display: flex;
    flex-direction: column;
  }
  .keyword-library-modal.media-edit-modal .modal-content > form.media-edit-form {
    max-height: 100%;
    height: 100%;
  }
  .keyword-library-modal.media-edit-modal .modal-footer {
    position: sticky;
    bottom: 0;
    z-index: 2;
    padding-bottom: calc(0.75rem + env(safe-area-inset-bottom, 0px));
    box-shadow: 0 -6px 16px rgba(15, 23, 42, 0.08);
  }
  .keyword-library-modal.media-edit-modal .modal-footer .btn {
    flex: 1 1 0;
    min-height: 2.5rem;
    font-weight: 600;
  }
  .keyword-library-modal.media-edit-modal .media-edit-form .col-md-4 img,
  .keyword-library-modal.media-edit-modal .media-edit-form .col-md-4 video {
    max-height: 40vh;
    object-fit: contain;
    width: 100%;
  }
}
.kb-profile-divider {
  margin: 1.25rem 0;
  border-color: #e2e8f0;
  opacity: 1;
}
.kb-field-label {
  display: flex;
  align-items: baseline;
  flex-wrap: wrap;
  gap: 0.35rem 0.75rem;
  margin-bottom: 0.35rem;
}
.kb-field-label .form-label {
  font-weight: 600;
  color: #334155;
}
.kb-field-help-link {
  border: 0;
  background: none;
  padding: 0;
  font-size: 0.78rem;
  cursor: pointer;
}
.kb-multi-select {
  position: relative;
}
.kb-multi-select__toggle {
  cursor: pointer;
  background: #fff;
  color: #64748b;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.kb-multi-select__toggle.has-value {
  color: #0f172a;
}
.kb-multi-select__panel {
  position: absolute;
  z-index: 40;
  left: 0;
  right: 0;
  top: calc(100% + 4px);
  background: #fff;
  border: 1px solid #e2e8f0;
  border-radius: 8px;
  box-shadow: 0 12px 32px rgba(15, 23, 42, 0.12);
  padding: 0.5rem;
  max-height: 280px;
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}
.kb-multi-select__search {
  flex: 0 0 auto;
}
.kb-multi-select__actions {
  font-size: 0.78rem;
  padding: 0 0.15rem;
}
.kb-multi-select__list {
  overflow: auto;
  flex: 1 1 auto;
  min-height: 0;
}
.kb-multi-select__option {
  display: flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.35rem 0.4rem;
  border-radius: 6px;
  font-size: 0.84rem;
  cursor: pointer;
  margin: 0;
}
.kb-multi-select__option:hover {
  background: #f8fafc;
}
.kb-multi-select__option input {
  flex: 0 0 auto;
}
.kb-profile-textarea {
  min-height: 7.5rem;
  resize: vertical;
  line-height: 1.55;
  border-radius: 8px;
}
.kb-profile-section {
  margin-bottom: 0.25rem;
}
.kb-help-modal__header {
  background: linear-gradient(90deg, #6366f1 0%, #3b82f6 100%);
  color: #fff;
}
.kb-help-modal__header .modal-title {
  font-size: 1rem;
  font-weight: 600;
}
.kb-help-modal__body {
  font-size: 0.9rem;
  line-height: 1.65;
  color: #334155;
}
.kb-help-example {
  white-space: pre-wrap;
}
.kb-help-modal__footer {
  justify-content: center;
  padding-top: 0;
  padding-bottom: 1.25rem;
}
.content-hub-extra-list { padding: 0; overflow: hidden; }
.ps-list__head {
  gap: 0.65rem;
  padding: 0.5rem 0.9rem;
  border-bottom: 1px solid #e2e8f0;
  color: #64748b;
  font-size: 0.72rem;
  font-weight: 600;
  grid-template-columns: minmax(0, 2.4fr) 0.55fr 0.5fr 0.65fr 0.65fr 0.45fr;
}
.ps-row {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.5rem;
  padding: 0.85rem 0.9rem;
  border-bottom: 1px solid #f1f5f9;
}
.ps-row:last-child { border-bottom: 0; }
.ps-host {
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 0.75rem;
  color: #64748b;
}
.ps-name {
  font-weight: 600;
  font-size: 0.9rem;
  color: #0f172a;
  line-height: 1.35;
}
.ps-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem;
  margin-top: 0.3rem;
}
.ps-chip {
  font-size: 0.68rem;
  background: #f1f5f9;
  color: #475569;
  padding: 0.1rem 0.45rem;
  border-radius: 999px;
}
.ps-chip--vertical {
  background: #ede9fe;
  color: #5b21b6;
  font-weight: 600;
}
.ps-link { font-size: 0.75rem; color: #0f766e; text-decoration: none; }
.ps-weight { font-size: 1rem; font-weight: 700; color: #0f172a; }
.ps-score { font-weight: 700; font-size: 0.88rem; color: #0f172a; }
.ps-fit { font-size: 0.7rem; font-weight: 600; margin-top: 0.1rem; }
.ps-fit--good { color: #047857; }
.ps-fit--mid { color: #0369a1; }
.ps-fit--warn { color: #b45309; }
.ps-fit--bad { color: #c2410c; }
.ps-advice {
  font-size: 0.78rem;
  color: #64748b;
  line-height: 1.45;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.ps-kind {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 600;
  padding: 0.15rem 0.5rem;
  border-radius: 999px;
  background: #f1f5f9;
  color: #475569;
}
.ps-kind--gov { background: #eff6ff; color: #1d4ed8; }
.ps-kind--baike { background: #ecfdf5; color: #047857; }
.ps-kind--media { background: #fef3c7; color: #b45309; }
.ps-kind--ugc { background: #fce7f3; color: #be185d; }
.ps-kind--official { background: #eef2ff; color: #4338ca; }
@media (min-width: 992px) {
  .ps-list__head--wide {
    grid-template-columns: minmax(0, 2.2fr) 0.55fr minmax(0, 1.4fr) 0.45fr 0.6fr 0.6fr 0.45fr;
  }
  .ps-row {
    grid-template-columns: minmax(0, 2.4fr) 0.55fr 0.5fr 0.65fr 0.65fr 0.45fr;
    gap: 0.65rem;
    align-items: start;
  }
  .ps-list__head--wide ~ .ps-row {
    grid-template-columns: minmax(0, 2.2fr) 0.55fr minmax(0, 1.4fr) 0.45fr 0.6fr 0.6fr 0.45fr;
  }
}
.oc-guide {
  padding: 0.75rem 0.9rem;
  background: linear-gradient(135deg, #f0fdfa 0%, #f8fafc 100%);
  border: 1px solid #ccfbf1;
}
.oc-guide__title {
  font-weight: 700;
  font-size: 0.85rem;
  color: #0f766e;
  margin-bottom: 0.35rem;
}
.oc-guide__text { color: #475569; line-height: 1.55; }
.oc-hint { color: #94a3b8; }
.oc-row__action .btn { white-space: nowrap; }
.oc-link-pool summary {
  cursor: pointer;
  font-weight: 600;
  font-size: 0.88rem;
  list-style: none;
}
.oc-link-pool summary::-webkit-details-marker { display: none; }
.oc-link-pool__sum::before { content: "▸ "; color: #64748b; }
.oc-link-pool[open] .oc-link-pool__sum::before { content: "▾ "; }
.oc-list__head {
  grid-template-columns: minmax(0, 2.2fr) 0.65fr 0.7fr 0.55fr 0.65fr 0.55fr;
  gap: 0.65rem;
  padding: 0.5rem 0.85rem;
  border-bottom: 1px solid #e2e8f0;
  color: #64748b;
  font-size: 0.72rem;
  font-weight: 600;
}
.oc-row {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.45rem;
  padding: 0.8rem 0.85rem;
  border-bottom: 1px solid #f1f5f9;
}
.oc-row:last-child { border-bottom: 0; }
.oc-title {
  font-weight: 600;
  font-size: 0.9rem;
  line-height: 1.4;
  color: #0f172a;
}
.oc-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
  margin-top: 0.3rem;
  font-size: 0.75rem;
  color: #64748b;
}
.oc-meta a { color: #0f766e; text-decoration: none; }
.oc-plat {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 600;
  background: #eff6ff;
  color: #1d4ed8;
  padding: 0.12rem 0.45rem;
  border-radius: 6px;
}
.oc-score { font-weight: 700; color: #0f766e; }
.oc-status {
  display: inline-block;
  font-size: 0.68rem;
  font-weight: 600;
  padding: 0.15rem 0.45rem;
  border-radius: 999px;
  background: #f1f5f9;
  color: #475569;
}
.oc-status--ok { background: #ecfdf5; color: #047857; }
.oc-status--bad { background: #fff7ed; color: #c2410c; }
.oc-status--pool { background: #eff6ff; color: #1d4ed8; }
@media (min-width: 768px) {
  .oc-row {
    grid-template-columns: minmax(0, 2.2fr) 0.65fr 0.7fr 0.55fr 0.65fr 0.55fr;
    gap: 0.65rem;
    align-items: center;
  }
}
.content-hub-keyword-table .content-hub-keyword-row.is-idle {
  opacity: 0.9;
}
.keyword-pack-progress {
  display: inline-flex;
  align-items: center;
  gap: 0.15rem;
  flex-wrap: wrap;
}
.keyword-pack-progress__step {
  font-size: 11px;
  font-weight: 600;
  padding: 0.15rem 0.45rem;
  border-radius: 999px;
  border: 1px dashed #cbd5e1;
  color: #94a3b8;
  background: #f8fafc;
}
.keyword-pack-progress__step.is-done {
  border-style: solid;
  border-color: #86efac;
  background: #ecfdf5;
  color: #15803d;
}
.keyword-pack-progress__step.is-next {
  border-style: solid;
  border-color: #fcd34d;
  background: #fffbeb;
  color: #b45309;
}
.keyword-pack-progress__sep {
  width: 0.35rem;
  height: 1px;
  background: #cbd5e1;
  flex-shrink: 0;
}
@media (max-width: 767.98px) {
  .content-hub-module-nav__extras {
    overflow-x: auto;
    flex-wrap: nowrap;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
  }
  .content-hub-module-nav__extras::-webkit-scrollbar {
    display: none;
  }
}

.content-hub-edit-aside__section {
  margin-bottom: 0.75rem;
}
.content-hub-edit-aside__section-title {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 0.5rem;
}
.content-hub-empty-cta {
  text-align: center;
  padding: 2rem 1rem;
}
.content-hub-empty-cta__title {
  font-size: 1rem;
  font-weight: 600;
  color: var(--ink);
  margin-bottom: 0.35rem;
}
.content-hub-empty-cta__steps {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.5rem;
  margin: 1rem 0;
}
.content-hub-empty-cta__steps a {
  font-size: 13px;
  padding: 0.35rem 0.75rem;
  border: 1px solid var(--line);
  border-radius: 999px;
  text-decoration: none;
  color: var(--ink);
  background: #fafbfc;
}
.content-hub-empty-cta__steps a:hover {
  border-color: var(--accent);
  color: var(--accent);
}

.content-hub-workflow__label-short { display: none; }

.content-hub-guide-fold {
  border: 1px solid var(--line);
  border-radius: 12px;
  background: #fff;
  box-shadow: var(--shadow-sm);
}
.content-hub-guide-fold__sum {
  list-style: none;
  cursor: pointer;
  padding: 0.65rem 0.85rem;
  font-size: 13px;
  font-weight: 600;
  color: var(--ink);
  user-select: none;
  -webkit-tap-highlight-color: transparent;
}
.content-hub-guide-fold__sum::-webkit-details-marker { display: none; }
.content-hub-guide-fold__sum::after {
  content: "展开";
  float: right;
  font-size: 12px;
  font-weight: 500;
  color: var(--muted);
}
.content-hub-guide-fold[open] > .content-hub-guide-fold__sum::after { content: "收起"; }
.content-hub-guide-fold > .content-hub-guide {
  margin: 0;
  border: none;
  border-radius: 0;
  box-shadow: none;
  border-top: 1px solid var(--line);
}

.content-hub-quick-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem;
  width: 100%;
  margin-bottom: 0.15rem;
}
.content-hub-quick-links__item {
  flex: 1 1 calc(50% - 0.2rem);
  text-align: center;
  font-size: 12px;
  font-weight: 600;
  padding: 0.4rem 0.35rem;
  border-radius: 0.45rem;
  border: 1px solid #e2e8f0;
  background: #f8fafc;
  color: #334155;
  text-decoration: none;
}
.content-hub-quick-links__item:hover {
  border-color: var(--accent);
  color: var(--accent);
}

.content-hub-distribute-channel__head {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.35rem 0.5rem;
  margin-bottom: 0.5rem;
}
.content-hub-distribute-channel__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  align-items: center;
}
.content-hub-distribute-channel__actions .form-control {
  flex: 1 1 12rem;
  min-width: 0;
}
.content-hub-distribute-channel__actions .btn {
  flex: 0 0 auto;
  min-width: 4.5rem;
}

.content-hub-mobile-bar {
  position: sticky;
  bottom: 0;
  z-index: 40;
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
  align-items: stretch;
  margin: 0 -0.15rem;
  padding: 0.65rem 0.15rem calc(0.65rem + env(safe-area-inset-bottom, 0px));
  background: linear-gradient(180deg, rgba(248, 250, 252, 0.2) 0%, #f8fafc 28%, #fff 100%);
  border-top: 1px solid #e2e8f0;
  box-shadow: 0 -6px 20px rgba(15, 23, 42, 0.06);
}
.content-hub-mobile-bar .btn,
.content-hub-mobile-bar span.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  line-height: 1.25;
  flex: 1 1 calc(50% - 0.25rem);
  min-height: 2.5rem;
  padding-top: 0.4rem;
  padding-bottom: 0.4rem;
  box-sizing: border-box;
}
.content-hub-mobile-bar .btn-accent {
  flex: 1.2 1 calc(50% - 0.25rem);
}

.content-hub-edit-page__meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.35rem 0.5rem;
}
.content-hub-edit-page__compliance {
  flex: 1 1 12rem;
  min-width: 0;
  word-break: break-word;
}
.content-hub-compliance-hints li {
  margin-bottom: 0.15rem;
}

@media (min-width: 768px) {
  .content-hub-guide-fold {
    border: none;
    background: transparent;
    box-shadow: none;
  }
  .content-hub-guide-fold__sum { display: none; }
  .content-hub-guide-fold > .content-hub-guide {
    border: 1px solid var(--line);
    border-radius: 12px;
    box-shadow: var(--shadow-sm);
  }
}

@media (max-width: 767.98px) {
  .content-hub-workflow__label-full { display: none; }
  .content-hub-workflow__label-short { display: inline; }
  .content-hub-workflow__label { font-size: 11px; }
  .content-hub-workflow { padding: 0.55rem 0.65rem; }
  .content-hub-workflow__num {
    width: 1.35rem;
    height: 1.35rem;
    font-size: 11px;
  }
  .content-hub-workflow__line {
    min-width: 0.35rem;
    margin: 0 0.15rem;
  }

  .content-hub-page-head,
  .video-studio-page-head,
  .growth-hub-page-head {
    flex-wrap: wrap;
    align-items: flex-start;
    gap: 0.35rem 0.75rem;
  }
  .content-hub-page-head .page-head-text,
  .video-studio-page-head .page-head-text,
  .growth-hub-page-head .page-head-text {
    flex: 1 1 auto;
    min-width: min(100%, 10rem);
  }
  .content-hub-page-head__back,
  .video-studio-page-head__back,
  .growth-hub-page-head__back {
    margin-left: auto;
    padding-top: 0.1rem;
  }
  .content-hub-list-page__actions {
    width: 100%;
    flex-direction: column;
    align-items: stretch;
    gap: 0.45rem;
  }
  .content-hub-list-page__create {
    width: 100%;
    min-height: 2.5rem;
    font-weight: 650;
  }

  .content-hub-list-page .content-hub-article-panel .content-hub-table tbody tr:not(.table-empty-row) {
    padding: 0.7rem 0.75rem 0.6rem;
  }
  .content-hub-list-page .content-hub-table__action--secondary.text-muted {
    border-style: dashed;
    color: #94a3b8 !important;
    background: #f8fafc;
  }

  .content-hub-edit-page .panel-card {
    padding: 0.85rem 0.8rem;
  }
  .content-hub-edit-page .md-body-field__preview,
  .content-hub-edit-page .md-body-field__source {
    font-size: 15px;
  }
  .content-hub-edit-page {
    padding-bottom: 0.25rem;
  }

  .content-hub-distribute-page .panel-card {
    padding: 0.85rem 0.8rem;
  }
  .content-hub-distribute-channel__actions {
    flex-direction: column;
    align-items: stretch;
  }
  .content-hub-distribute-channel__actions .btn {
    width: 100%;
    min-height: 2.45rem;
  }

  .content-hub-page .content-hub-assistant__bar {
    margin-bottom: 0.35rem;
  }
  body.content-hub-assistant-open .workspace-page {
    padding-bottom: 0;
  }
  .content-hub-edit-page + .content-hub-mobile-bar,
  .content-hub-page:has(.content-hub-mobile-bar) {
    scroll-padding-bottom: 5rem;
  }

  .app-shell--growth .app-content--workspace:has(.content-hub-edit-page) {
    padding-bottom: 0.25rem;
  }
}

/* 成稿子页：面板标题与提示文案统一 */
.panel-card > .h6,
.panel-card .h6,
.panel-card summary.h6 {
  font-size: 15px;
  font-weight: 700;
  color: var(--ink);
  line-height: 1.35;
  margin-bottom: 0.45rem;
}
.panel-card > .small.text-muted,
.panel-card .small.text-muted,
.panel-card.text-muted {
  font-size: 13.5px;
  color: var(--muted);
  line-height: 1.55;
}
.panel-empty-hint {
  font-size: 13.5px;
  color: var(--muted);
  line-height: 1.55;
  margin: 0;
}
.video-hub-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: flex-start;
  gap: 0.35rem 1.1rem;
  margin: 0;
}
.video-hub-meta .hub-manage-footnote,
.video-hub-meta .hub-manage-footnote--compact {
  margin: 0;
  text-align: left;
}
.video-hub-meta__link {
  font-size: 13px;
  font-weight: 600;
  color: var(--accent, #0d9488);
  text-decoration: none;
  white-space: nowrap;
}
.video-hub-meta__link:hover {
  color: var(--accent-hover, #0f766e);
  text-decoration: underline;
}
.video-hub-positioning {
  text-align: left;
  padding: 0.75rem 0.9rem;
  width: 100%;
  margin: 0;
  box-sizing: border-box;
}
.video-hub-positioning > summary.hub-tip__summary,
.hub-tip__summary {
  cursor: pointer;
  list-style: none;
  font-size: 13px;
  font-weight: 600;
  color: var(--ink, #0f172a);
}
.video-hub-positioning > summary::-webkit-details-marker {
  display: none;
}
.video-hub-positioning[open] {
  padding-bottom: 0.75rem;
}
.video-hub-ask-hint {
  text-align: left;
  margin: 0;
  line-height: 1.45;
}
.video-hub-ask-hint a {
  font-weight: 600;
  white-space: nowrap;
}
.hub-tip {
  border-radius: 0.75rem;
  padding: 0.75rem 0.9rem;
  border: 1px solid #e2e8f0;
  background: #fff;
  box-shadow: 0 6px 24px rgba(15, 23, 42, 0.05);
  box-sizing: border-box;
}
.hub-tip--soft {
  background: #fff;
  border-color: #e2e8f0;
  color: var(--muted);
}
.hub-tip--soft .hub-tip__lead {
  color: var(--muted);
  font-size: 13.5px;
  font-weight: 400;
  margin: 0.35rem 0 0;
  line-height: 1.55;
}
.hub-tip--soft .hub-tip__note {
  color: var(--muted);
  font-weight: 400;
  font-size: 13.5px;
  line-height: 1.55;
  opacity: 0.92;
}
.hub-tip--warning {
  background: #fffbeb;
  border-color: #fde68a;
  border-left: 2px solid #f59e0b;
  color: #57534e;
}
.hub-tip--warning .hub-tip__lead {
  color: #57534e;
  font-size: 13.5px;
  font-weight: 400;
}
.hub-tip--warning .hub-tip__warn {
  color: #92400e;
  font-weight: 600;
  font-size: 13.5px;
}
[data-growth-hub="video"] .welcome-view {
  padding-top: 1rem;
  padding-bottom: 0.5rem;
}
[data-growth-hub="video"] .welcome-hero {
  margin-bottom: 0.65rem;
}
[data-growth-hub="video"] .cap-grid-3 {
  gap: 0.65rem;
}
.composer-top-label,
.composer-top--video .composer-top-label,
.composer-top--chips .composer-top-label {
  font-size: 12px;
  font-weight: 600;
  color: var(--video, #0f766e);
  margin-right: .35rem;
  flex-shrink: 0;
  line-height: 1.2;
  display: inline-flex;
  align-items: center;
  min-height: 1.6rem;
}
.video-format-chips {
  display: flex;
  flex-wrap: wrap;
  gap: .35rem;
  align-items: center;
  min-width: 0;
}
.format-chip {
  border: 1px solid rgba(13, 148, 136, 0.28);
  background: #fff;
  color: #0f766e;
  border-radius: 999px;
  padding: .2rem .65rem;
  font-size: 12px;
  font-weight: 500;
  line-height: 1.25;
  min-height: 1.6rem;
  display: inline-flex;
  align-items: center;
  cursor: pointer;
  transition: background .15s, border-color .15s, box-shadow .15s, color .15s;
}
.format-chip:hover {
  background: #f0fdfa;
  border-color: rgba(13, 148, 136, 0.45);
  color: #0d9488;
}
.format-chip.active,
.format-chip--primary {
  background: #ccfbf1;
  border-color: #0d9488;
  color: #0f766e;
  font-weight: 600;
  box-shadow: inset 0 0 0 1px rgba(13, 148, 136, .12);
}

/* 所有 Growth Hub 输入条 */
.composer-bar {
  display: flex;
  gap: .5rem;
  background: #fff;
  border: 0;
  border-radius: 0;
  padding: .45rem .55rem;
  align-items: center;
  min-height: 0;
  position: relative;
  flex-wrap: nowrap;
  box-sizing: border-box;
}
.composer-bar--single {
  align-items: center;
  min-height: 3rem;
}
.composer-bar--multiline {
  align-items: flex-end;
  padding: .5rem .55rem .55rem;
}
.composer-bar--multiline .composer-textarea {
  flex: 1 1 auto;
  width: auto;
  min-width: 0;
  height: auto;
  min-height: 2.9rem; /* 约两行，避免占位被裁切 */
  max-height: 6.5rem;
  resize: none;
  overflow-y: auto;
  border: 0;
  outline: none;
  background: transparent;
  font-size: 14px;
  line-height: 1.45;
  padding: .15rem 0;
  font-family: inherit;
  color: var(--ink);
  box-sizing: border-box;
  field-sizing: content;
}
.composer-bar--multiline .composer-textarea::placeholder {
  color: #9ca3af;
}
.composer-bar--multiline .btn-send {
  align-self: flex-end;
  margin-bottom: .05rem;
}
.composer-card--compact .composer-bar--single,
.composer-card--hub .composer-bar--single,
.composer-card--video-hub .composer-bar--single {
  padding: .4rem .55rem;
  min-height: 3rem;
}
.composer-card--hub .composer-bar--multiline,
.composer-card--video-hub .composer-bar--multiline {
  padding: .5rem .55rem .55rem;
  min-height: 0;
}

.composer-flash {
  font-size: 12px;
  color: #b45309;
  background: #fffbeb;
  border-top: 1px solid #fde68a;
  padding: .45rem .75rem;
}
.composer-foot {
  margin: .45rem 0 0;
  text-align: center;
  font-size: 12px;
  color: var(--muted);
}
.composer-foot a { color: var(--accent); }
.composer-status {
  font-size: 12px;
  color: #b45309;
  padding: .35rem .75rem .5rem;
  text-align: center;
}
.composer-input.composer-input-error {
  box-shadow: inset 0 0 0 1px #f87171;
}
.msg-typing .msg-bubble {
  color: var(--muted);
  font-size: 14px;
  animation: msg-pulse 1.2s ease-in-out infinite;
}
.video-guide .msg-bubble {
  background: #f8fbff;
  border: 1px dashed #c5d8ff;
  max-width: 100%;
}
.video-guide-title {
  margin: 0 0 .5rem;
  font-weight: 700;
  font-size: 15px;
  color: var(--ink);
}
.video-guide-steps {
  margin: 0 0 .65rem 1.15rem;
  padding: 0;
  font-size: 14px;
  line-height: 1.55;
  color: #4b5563;
}
.video-guide-hint {
  margin: 0 0 .65rem;
  font-size: 13px;
  color: #6b7280;
}
.video-guide-btn {
  border: 0;
  background: var(--accent);
  color: #fff;
  border-radius: 8px;
  padding: .45rem .85rem;
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
}
.video-guide-btn:hover { background: var(--accent-hover); }
@keyframes msg-pulse {
  0%, 100% { opacity: .55; }
  50% { opacity: 1; }
}
.composer-input {
  flex: 1;
  border: 0;
  outline: none;
  background: transparent;
  font-size: 14px;
  line-height: 1.4;
  height: 2.25rem;
  min-height: 2.25rem;
  padding: 0;
  min-width: 0;
  box-sizing: border-box;
}
.btn-send {
  background: var(--accent);
  border: 0;
  color: #fff;
  border-radius: 8px;
  padding: 0 .75rem;
  font-weight: 600;
  font-size: 13px;
  line-height: 1.2;
  height: 2.25rem;
  min-height: 2.25rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .28rem;
  flex: 0 0 auto;
  margin-left: auto;
  cursor: pointer;
  box-sizing: border-box;
}
.btn-send:disabled {
  opacity: .72;
  cursor: not-allowed;
}
.btn-send .ico { font-size: 1rem; }
.btn-send:hover:not(:disabled) { background: var(--accent-hover); color: #fff; }
.btn-upload {
  border: 0;
  background: #eef2f7;
  color: #4b5563;
  width: 34px;
  height: 34px;
  border-radius: 8px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
  cursor: pointer;
  margin: 0;
}
.btn-upload:hover { background: #e8eefc; color: var(--accent); }
.btn-upload .ico { font-size: 1.1rem; }
.msg-report-title {
  font-size: 12px;
  font-weight: 700;
  color: var(--accent);
  margin-bottom: .35rem;
  letter-spacing: .02em;
}
.msg-report {
  max-width: 100%;
  font-size: .92rem;
}
.md-content { line-height: 1.65; }
.md-content .md-h2 { font-size: 1.15rem; font-weight: 700; margin: 0 0 .65rem; }
.md-content .md-h3 { font-size: 1.02rem; font-weight: 700; margin: 1rem 0 .45rem; color: #0f172a; }
.md-content .md-h4 { font-size: .95rem; font-weight: 600; margin: .85rem 0 .35rem; }
.md-content .md-p { margin: 0 0 .45rem; }
.md-content .md-ul, .md-content .md-ol { margin: 0 0 .65rem 1.1rem; padding: 0; }
.md-content .md-ul li, .md-content .md-ol li { margin-bottom: .35rem; }
.md-content .md-table { width: 100%; border-collapse: collapse; margin: .5rem 0 1rem; font-size: .88rem; }
.md-content .md-table th, .md-content .md-table td { border: 1px solid var(--line); padding: .4rem .55rem; text-align: left; vertical-align: top; }
.md-content .md-table th { background: #f8fafc; }
.md-content .md-quote { border-left: 3px solid var(--accent); margin: .65rem 0; padding: .35rem .75rem; background: #f8fafc; color: #475569; font-size: .88rem; }
.md-content code { background: #f1f5f9; padding: .1rem .35rem; border-radius: 4px; font-size: .85em; }
.msg-bubble.md-rendered { white-space: normal; }

/* 内容中心 · 正文：默认预览 / 可切源码 */
.md-body-field__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: .75rem;
  margin-bottom: .35rem;
}
.md-body-field__tabs {
  display: inline-flex;
  padding: 2px;
  border-radius: 8px;
  background: #f1f5f9;
  border: 1px solid #e2e8f0;
}
.md-body-field__tab {
  appearance: none;
  border: 0;
  background: transparent;
  color: #64748b;
  font-size: 12.5px;
  font-weight: 600;
  padding: .28rem .7rem;
  border-radius: 6px;
  cursor: pointer;
  line-height: 1.2;
}
.md-body-field__tab.is-active {
  background: #fff;
  color: #0f172a;
  box-shadow: 0 1px 2px rgba(15, 23, 42, .08);
}
.md-body-field__preview {
  min-height: 22rem;
  max-height: 36rem;
  overflow: auto;
  padding: 1rem 1.1rem;
  border: 1px solid #e2e8f0;
  border-radius: 10px;
  background: #fff;
  color: #1e293b;
  font-size: 14.5px;
}
.md-body-field__preview:focus {
  outline: 2px solid rgba(15, 118, 110, .25);
  outline-offset: 1px;
}
.md-body-field__empty {
  margin: 0;
  color: #94a3b8;
  font-size: 13.5px;
}
.md-body-field__source {
  min-height: 22rem;
}
.md-body-field__preview .md-h2 { font-size: 1.35rem; }
.md-body-field__preview .md-h3 { font-size: 1.1rem; }
.report-page {
  max-width: 920px;
  margin: 0 auto;
  padding: 0 1.1rem 2.5rem;
  width: 100%;
  box-sizing: border-box;
}
@media print {
  .no-print { display: none !important; }
  .report-page { max-width: none; padding: 0; }
}
/* 报告全文页：主区域可纵向滚动（对话页仍用内部 chat-messages 滚动） */
.app-content.app-content--report-scroll,
.app-content:has(.report-page) {
  overflow-x: hidden;
  overflow-y: auto;
  overscroll-behavior: contain;
  -webkit-overflow-scrolling: touch;
  padding: 1rem 0 0;
}
.msg-report.msg-bubble,
.msg-bubble.msg-report {
  border-left: 3px solid var(--accent) !important;
  background: #f8fbff !important;
}

.page-panel {
  padding: 1.25rem 1.4rem 1.6rem;
  overflow: auto;
  height: 100%;
}
.page-panel-center {
  display: flex;
  justify-content: center;
  align-items: flex-start;
  padding-top: 2.2rem;
}
.profile-page {
  padding: 1rem 1.25rem 2rem;
  max-width: 1040px;
  margin: 0 auto;
}
.profile-page-head {
  margin-bottom: 1rem;
  align-items: center;
}
.profile-hero--compact {
  padding: 1.1rem 1.25rem;
  margin-bottom: 1rem;
}
.profile-hero__title-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: .5rem .65rem;
  margin-bottom: .5rem;
}
.profile-hero--compact .profile-hero__name {
  font-size: 1.2rem;
  margin: 0;
}
.profile-hero__facts {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: .35rem;
  font-size: .875rem;
  color: #64748b;
}
.profile-hero__fact-label {
  color: #94a3b8;
  margin-right: .5rem;
}
.profile-code {
  font-size: .8rem;
  padding: .1rem .35rem;
  background: #f1f5f9;
  border-radius: 4px;
}
.profile-stat__link {
  display: inline-block;
  margin-top: .5rem;
  font-size: .8125rem;
  color: var(--accent);
  text-decoration: none;
}
.profile-stat__link:hover { text-decoration: underline; }
.profile-usage-lines {
  display: flex;
  flex-direction: column;
  gap: .55rem;
  margin-top: .15rem;
}
.profile-usage-line__head {
  display: flex;
  justify-content: space-between;
  font-size: .8125rem;
  color: #475569;
  margin-bottom: .25rem;
}
.profile-usage-bar {
  height: 6px;
  background: #e2e8f0;
  border-radius: 999px;
  overflow: hidden;
}
.profile-usage-bar > span {
  display: block;
  height: 100%;
  background: linear-gradient(90deg, #8b5cf6, #a78bfa);
  border-radius: 999px;
  min-width: 2px;
}
.profile-main {
  display: flex;
  flex-direction: column;
  gap: .85rem;
  min-width: 0;
}
.profile-security-list {
  display: flex;
  flex-direction: column;
  gap: .65rem;
}
.profile-security-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: .75rem .85rem;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: #fafbfc;
}
.profile-security-item--muted {
  background: #fff;
}
.profile-security-item__title {
  font-size: .9rem;
  font-weight: 600;
  color: #1e293b;
}
.profile-security-item__desc {
  font-size: .8125rem;
  color: #64748b;
  margin-top: .15rem;
  line-height: 1.45;
}
.profile-links--grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: .5rem;
}
.profile-aside-tip {
  margin-top: .85rem;
  padding-top: .85rem;
  border-top: 1px solid var(--line);
}
.profile-hub {
  width: 100%;
}
.profile-hero {
  display: flex;
  align-items: center;
  gap: 1rem 1.25rem;
  padding: 1.35rem 1.5rem;
  margin-bottom: 1rem;
  border-radius: 16px;
  background: linear-gradient(135deg, #f0f6ff 0%, #fff 48%, #f8fafc 100%);
  border: 1px solid var(--line);
  box-shadow: 0 4px 20px rgba(37, 99, 235, .06);
}
.profile-hero__avatar {
  flex-shrink: 0;
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: var(--accent);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 14px rgba(59, 130, 246, .35);
}
.profile-hero__avatar .ico { font-size: 1.75rem; }
.profile-hero__body { flex: 1; min-width: 0; }
.profile-hero__name {
  font-size: 1.35rem;
  font-weight: 600;
  margin: 0 0 .35rem;
  color: #1b2433;
}
.profile-hero__meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: .5rem .75rem;
  margin: 0 0 .25rem;
  font-size: .9rem;
  color: #64748b;
}
.profile-badge {
  display: inline-block;
  padding: .12rem .55rem;
  border-radius: 999px;
  font-size: .75rem;
  font-weight: 600;
  background: var(--accent-soft);
  color: var(--accent);
}
.profile-hero__actions { flex-shrink: 0; }
.profile-flash { margin-bottom: 1rem; border-radius: 12px; }
.profile-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: .75rem;
  margin-bottom: 1rem;
}
.profile-stat {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 1rem 1.1rem;
  min-height: 100%;
}
.profile-stat--plan { border-top: 3px solid var(--accent); }
.profile-stat--points { border-top: 3px solid #10b981; }
.profile-stat--usage { border-top: 3px solid #8b5cf6; }
.profile-stat__label {
  font-size: .75rem;
  color: #94a3b8;
  margin-bottom: .35rem;
}
.profile-stat__value {
  font-size: 1.15rem;
  font-weight: 600;
  color: #1e293b;
  line-height: 1.3;
}
.profile-stat__value--sm { font-size: .92rem; font-weight: 500; }
.profile-stat__unit { font-size: .85rem; font-weight: 500; color: #64748b; }
.profile-stat__hint {
  font-size: .75rem;
  color: #94a3b8;
  margin-top: .35rem;
}
.profile-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr);
  gap: .85rem;
  align-items: start;
}
.profile-aside {
  padding: 1.15rem 1.2rem;
}
.profile-section {
  padding: 1.25rem 1.35rem !important;
}
.profile-section__title {
  font-size: 1rem;
  font-weight: 600;
  margin: 0 0 .25rem;
}
.profile-section__desc {
  font-size: .85rem;
  color: #64748b;
  margin-bottom: 1rem;
}
.profile-section {
  padding: 1.15rem 1.2rem;
}
.profile-aside .profile-section__title { margin-bottom: .75rem; }
.profile-links {
  display: flex;
  flex-direction: column;
  gap: .5rem;
}
.profile-link-tile {
  display: flex;
  align-items: center;
  gap: .65rem;
  padding: .65rem .75rem;
  border-radius: 12px;
  border: 1px solid var(--line);
  background: #fff;
  color: #334155;
  text-decoration: none;
  font-size: .9rem;
  transition: background .15s, border-color .15s, color .15s;
}
.profile-link-tile:hover {
  background: var(--accent-soft);
  border-color: rgba(59, 130, 246, .35);
  color: var(--accent);
}
.profile-link-tile__icon {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  background: #f1f5f9;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.profile-link-tile__icon .ico { font-size: 1.1rem; color: var(--accent); }
.profile-password-details {
  border: 1px dashed #e2e8f0;
  border-radius: 12px;
  padding: 0 .75rem;
  margin-bottom: 1rem;
  background: #f8fafc;
}
.profile-password-summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: .5rem;
  padding: .65rem 0;
  cursor: pointer;
  font-size: .9rem;
  font-weight: 500;
  list-style: none;
}
.profile-password-summary::-webkit-details-marker { display: none; }
.profile-password-body {
  padding-bottom: .75rem;
  border-top: 1px solid #e2e8f0;
  padding-top: .75rem;
}
.profile-actions--start {
  justify-content: flex-start;
  margin-top: 0;
}
.profile-card {
  width: 100%;
  max-width: 480px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 1.6rem 1.5rem 1.4rem;
  box-shadow: 0 8px 24px rgba(27,36,53,.05);
}
.profile-head {
  text-align: center;
  margin-bottom: 1.2rem;
}
.profile-avatar {
  width: 56px;
  height: 56px;
  margin: 0 auto .75rem;
}
.profile-avatar .ico { font-size: 1.55rem; }
.profile-head .page-title {
  margin-bottom: .3rem;
  font-size: 1.35rem;
}
.profile-head .page-sub { margin-bottom: 0; }
.profile-form .form-label {
  font-weight: 500;
  color: #4b5563;
}
.profile-actions {
  display: flex;
  justify-content: center;
  gap: .6rem;
  margin-top: .35rem;
}
@media (max-width: 991.98px) {
  .profile-stats { grid-template-columns: 1fr; }
  .profile-grid { grid-template-columns: 1fr; }
  .profile-links--grid { grid-template-columns: 1fr; }
  .profile-security-item {
    flex-direction: column;
    align-items: flex-start;
  }
  .profile-hero { flex-wrap: wrap; }
  .profile-hero__actions { width: 100%; }
}
@media (max-width: 575.98px) {
  .profile-page { padding: .75rem .65rem 1.5rem; }
  .profile-hero { padding: 1rem; }
}

/* ===== Profile center (dashboard-style) ===== */
.profile-center-page {
  padding: 0 !important;
  background: #eef1f6;
  height: 100%;
}
.profile-center-shell {
  display: grid;
  grid-template-columns: 220px minmax(0, 1fr);
  gap: 1rem;
  max-width: 1200px;
  margin: 0 auto;
  padding: 1rem 1.25rem 1.5rem;
  min-height: 100%;
  box-sizing: border-box;
}
.profile-center-side {
  background: #fff;
  border-radius: 14px;
  border: 1px solid rgba(15, 23, 42, .06);
  box-shadow: 0 2px 12px rgba(15, 23, 42, .04);
  padding: 1rem .75rem;
  align-self: start;
  position: sticky;
  top: 0;
}
.profile-center-user {
  display: flex;
  gap: .75rem;
  align-items: center;
  padding: .5rem .55rem 1rem;
  border-bottom: 1px solid var(--line);
  margin-bottom: .5rem;
}
.profile-center-user__avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: linear-gradient(145deg, #3b82f6, #2563eb);
  color: #fff;
  font-weight: 700;
  font-size: 1.1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.profile-center-user__name {
  font-weight: 600;
  font-size: .95rem;
  color: #1e293b;
  line-height: 1.3;
}
.profile-center-user__tag {
  font-size: .75rem;
  color: var(--accent);
  margin-top: .15rem;
}
.profile-center-user__meta {
  font-size: .75rem;
  color: #94a3b8;
  margin-top: .2rem;
}
.profile-center-menu {
  display: flex;
  flex-direction: column;
  gap: .15rem;
}
.profile-center-menu__item {
  display: flex;
  align-items: center;
  gap: .55rem;
  padding: .55rem .65rem;
  border-radius: 8px;
  font-size: .875rem;
  color: #475569;
  text-decoration: none;
  border-left: 3px solid transparent;
  transition: background .15s, color .15s;
}
.profile-center-menu__item .ico {
  width: 1.1rem;
  height: 1.1rem;
  opacity: .75;
}
.profile-center-menu__item:hover {
  background: #f1f5f9;
  color: var(--accent);
}
.profile-center-menu__item.is-active {
  background: #eff6ff;
  color: var(--accent);
  border-left-color: var(--accent);
  font-weight: 600;
}
.profile-center-menu__group {
  font-size: .7rem;
  font-weight: 600;
  color: #94a3b8;
  letter-spacing: .04em;
  padding: .65rem .65rem .25rem;
  margin-top: .15rem;
}
.profile-center-menu__group:first-child {
  padding-top: .25rem;
  margin-top: 0;
}
.profile-center-menu__hint {
  font-size: .72rem;
  line-height: 1.45;
  color: #94a3b8;
  padding: 0 .65rem .35rem;
  margin: 0;
}
.profile-center-main {
  min-width: 0;
}
.profile-center-header {
  margin-bottom: 1rem;
}
.profile-center-header__title {
  font-size: 1.35rem;
  font-weight: 700;
  margin: 0 0 .25rem;
  color: #0f172a;
}
.profile-center-header__sub {
  font-size: .875rem;
  color: #64748b;
  margin: 0;
}
.profile-center-flash {
  border-radius: 10px;
  margin-bottom: .75rem;
}
.profile-center-card {
  background: #fff;
  border-radius: 14px;
  border: 1px solid rgba(15, 23, 42, .06);
  box-shadow: 0 2px 12px rgba(15, 23, 42, .04);
  padding: 1.15rem 1.25rem;
  margin-bottom: 1rem;
}
.profile-center-card--narrow {
  max-width: 520px;
}
.profile-center-subnav {
  display: flex;
  flex-wrap: wrap;
  gap: .35rem;
  margin-bottom: 1rem;
}
.profile-center-subnav__item {
  font-size: .8125rem;
  padding: .35rem .75rem;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: #fff;
  color: #475569;
  text-decoration: none;
}
.profile-center-subnav__item:hover {
  border-color: var(--accent);
  color: var(--accent);
}
.profile-center-subnav__item.is-active {
  background: var(--accent);
  border-color: var(--accent);
  color: #fff;
}
.profile-center-card__head {
  margin-bottom: 1rem;
}
.profile-center-card__head--row {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1rem;
}
.profile-center-card__title {
  font-size: 1rem;
  font-weight: 600;
  margin: 0 0 .35rem;
  color: #1e293b;
}
.profile-center-card__desc {
  font-size: .8125rem;
  color: #64748b;
  margin: 0;
  line-height: 1.5;
}
.profile-center-table-wrap {
  overflow-x: auto;
}
.profile-center-table {
  width: 100%;
  border-collapse: collapse;
  font-size: .875rem;
}
.profile-center-table th {
  text-align: left;
  font-size: .75rem;
  font-weight: 600;
  color: #94a3b8;
  padding: .5rem .65rem;
  border-bottom: 1px solid var(--line);
  white-space: nowrap;
}
.profile-center-table td {
  padding: .65rem .65rem;
  border-bottom: 1px solid #f1f5f9;
  vertical-align: middle;
  color: #334155;
}
.profile-center-table tbody tr:last-child td {
  border-bottom: none;
}
.profile-center-table__strong {
  font-weight: 600;
  color: #0f172a;
}
.profile-center-table__col-bar {
  min-width: 140px;
}
.profile-center-table__link {
  font-size: .8125rem;
  color: var(--accent);
  text-decoration: none;
}
.profile-center-table__link:hover { text-decoration: underline; }
.profile-center-rate {
  display: flex;
  align-items: center;
  gap: .5rem;
}
.profile-center-rate__bar {
  flex: 1;
  height: 8px;
  background: #e2e8f0;
  border-radius: 999px;
  overflow: hidden;
  min-width: 60px;
}
.profile-center-rate__bar > span {
  display: block;
  height: 100%;
  background: linear-gradient(90deg, #3b82f6, #60a5fa);
  border-radius: 999px;
}
.profile-center-rate__text {
  font-size: .8125rem;
  font-weight: 600;
  color: #3b82f6;
  white-space: nowrap;
}
.profile-center-kv {
  border-top: 1px solid var(--line);
  padding-top: .75rem;
}
.profile-center-kv__row {
  display: flex;
  gap: 1rem;
  padding: .35rem 0;
  font-size: .875rem;
  color: #475569;
}
.profile-center-kv__label {
  width: 5.5rem;
  flex-shrink: 0;
  color: #94a3b8;
}
@media (max-width: 991.98px) {
  .profile-center-shell {
    grid-template-columns: 1fr;
  }
  .profile-center-side {
    position: static;
  }
  .profile-center-menu {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: .35rem;
  }
  .profile-center-menu__item {
    border-left: none;
    border: 1px solid var(--line);
  }
  .profile-center-menu__item.is-active {
    border-color: var(--accent);
  }
}
@media (max-width: 575.98px) {
  .profile-center-shell { padding: .65rem; }
  .profile-center-menu { grid-template-columns: 1fr; }
}
.help-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: .9rem;
}
.help-item {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 1rem 1.05rem;
}
.help-item h3 { font-size: 1rem; margin: 0 0 .4rem; }
.help-item p {
  margin: 0;
  color: var(--muted);
  line-height: 1.6;
  font-size: .9rem;
}
.help-quick-links {
  display: flex;
  flex-wrap: wrap;
  gap: .65rem;
  justify-content: center;
  margin: 1.25rem 0 0;
}
.help-quick-link {
  display: inline-flex;
  align-items: center;
  gap: .4rem;
  padding: .45rem .85rem;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: #fff;
  color: var(--accent);
  font-size: .88rem;
  text-decoration: none;
}
.help-quick-link:hover { background: #eef4ff; color: var(--accent); }
.help-quick-link .ico { width: 1rem; height: 1rem; }
.help-tips {
  background: #f8fafc;
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: .9rem 1rem;
  color: var(--muted);
  font-size: .9rem;
  line-height: 1.65;
}
.help-tips p { margin: 0 0 .45rem; }
.help-tips ul { margin: 0; padding-left: 1.1rem; }
.help-tips li { margin-bottom: .25rem; }
.help-faq { display: grid; gap: .55rem; }
.help-faq__item {
  border: 1px solid var(--line);
  border-radius: 10px;
  background: #fff;
  padding: .65rem .85rem;
}
.help-faq__item summary {
  cursor: pointer;
  font-weight: 600;
  font-size: .92rem;
}
.help-faq__item p {
  margin: .55rem 0 0;
  color: var(--muted);
  font-size: .88rem;
  line-height: 1.6;
}
.install-pwa-card {
  margin-top: 1.25rem;
  padding: 1rem 1.05rem;
  border: 1px solid #bfdbfe;
  border-radius: 12px;
  background: linear-gradient(180deg, #eff6ff 0%, #fff 100%);
}
.install-pwa-status { margin: .35rem 0 .75rem; font-size: .9rem; }
.install-pwa-status.is-success { color: #15803d; }
.install-pwa-status.is-muted { color: var(--muted); }
.install-pwa-hint { margin: .65rem 0 0; color: var(--muted); font-size: .82rem; line-height: 1.55; }
.geo-notify { position: relative; }
.geo-notify.is-open { z-index: 1250; }
.geo-notify__panel {
  position: absolute;
  top: calc(100% + 8px);
  right: 0;
  width: min(360px, calc(100vw - 1.5rem));
  max-height: min(420px, 70vh);
  display: flex;
  flex-direction: column;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 14px;
  box-shadow: 0 12px 40px rgba(15, 23, 42, .14);
  z-index: 1255;
  overflow: hidden;
}
.geo-notify__sheet-handle {
  display: none;
  flex-shrink: 0;
  width: 2.25rem;
  height: 4px;
  margin: .45rem auto 0;
  border-radius: 999px;
  background: #cbd5e1;
}
.geo-notify__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: .75rem;
  padding: .7rem .85rem;
  border-bottom: 1px solid var(--line);
  background: #fafbfc;
  flex-shrink: 0;
}
.geo-notify__head-main {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: .75rem;
  flex: 1;
  min-width: 0;
}
.geo-notify__head strong { font-size: .92rem; font-weight: 600; color: var(--ink); }
.geo-notify__close {
  flex-shrink: 0;
  border: 0;
  background: #fff;
  color: #64748b;
  width: 2rem;
  height: 2rem;
  border-radius: 8px;
  font-size: 1.35rem;
  line-height: 1;
  padding: 0;
  cursor: pointer;
}
.geo-notify__close:hover { background: #f1f5f9; color: var(--ink); }
.geo-notify__mark-all {
  border: 0;
  background: transparent;
  color: var(--accent);
  font-size: .8rem;
  padding: .2rem .35rem;
  border-radius: 6px;
  cursor: pointer;
}
.geo-notify__mark-all:hover { background: #f0fdfa; }
.geo-notify__body {
  flex: 1 1 auto;
  min-height: 0;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  position: relative;
  background: #fff;
}
.geo-notify__loading {
  flex: 1 1 auto;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.25rem 1rem;
  min-height: 8rem;
  font-size: .82rem;
  color: #64748b;
  background: #fff;
}
.geo-notify__loading[hidden] { display: none !important; }
.geo-notify__panel--loading .geo-notify__list {
  display: none;
}
.geo-notify__list {
  flex: 1 1 auto;
  min-height: 0;
  overflow: auto;
  padding: .5rem .65rem;
  -webkit-overflow-scrolling: touch;
}
.geo-notify__panel--empty .geo-notify__list {
  display: none;
  flex: 0 0 auto;
  padding: 0;
  min-height: 0;
  overflow: hidden;
}
.geo-notify__panel--empty .geo-notify__body {
  justify-content: center;
}
.geo-notify__empty[hidden] { display: none !important; }
.geo-notify__empty:not([hidden]) {
  flex: 1 1 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 1.5rem 1.25rem 1rem;
  text-align: center;
}
.geo-notify__empty-icon {
  width: 2.75rem;
  height: 2.75rem;
  margin-bottom: .65rem;
  border-radius: 50%;
  background: #f1f5f9 url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 24 24' stroke='%2394a3b8' stroke-width='1.5'%3E%3Cpath stroke-linecap='round' stroke-linejoin='round' d='M14.857 17.082a23.848 23.848 0 0 0 5.454-1.31A8.967 8.967 0 0 1 18 9.75V9A6 6 0 0 0 6 9v.75a8.967 8.967 0 0 1-2.312 6.022c1.733.64 3.56 1.085 5.455 1.31m5.714 0a24.255 24.255 0 0 1-5.714 0m5.714 0a3 3 0 1 1-5.714 0'/%3E%3C/svg%3E") center / 1.35rem no-repeat;
}
.geo-notify__empty-title {
  margin: 0 0 .35rem;
  font-size: .9rem;
  font-weight: 600;
  color: #334155;
}
.geo-notify__empty-hint {
  margin: 0;
  max-width: 16rem;
  font-size: .78rem;
  line-height: 1.45;
  color: #94a3b8;
}
.geo-notify__item {
  padding: .65rem .75rem;
  margin-bottom: .4rem;
  border: 1px solid #e8eef4;
  border-radius: 10px;
  background: #fff;
}
.geo-notify__item:last-child { margin-bottom: 0; }
.geo-notify__item.is-unread {
  background: linear-gradient(90deg, #f0f9ff 0%, #fff 100%);
  border-left: 3px solid #60a5fa;
  padding-left: calc(.85rem - 3px);
}
.geo-notify__item-title {
  margin: 0 0 .2rem;
  font-size: .88rem;
  font-weight: 600;
  color: #0f172a;
  line-height: 1.4;
  word-break: break-word;
}
.geo-notify__item-body {
  margin: 0;
  color: #64748b;
  font-size: .8rem;
  line-height: 1.5;
  word-break: break-word;
  overflow: hidden;
  max-height: 3em;
}
.geo-notify__item-foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: .5rem;
  margin-top: .35rem;
  font-size: .72rem;
  color: #94a3b8;
}
.geo-notify__item-link {
  color: var(--accent);
  text-decoration: none;
  font-size: .78rem;
}
.geo-notify__guest[hidden] { display: none !important; }
.geo-notify__guest:not([hidden]) {
  flex: 1 1 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 1.5rem 1.25rem 1rem;
  text-align: center;
}
.geo-notify__guest-btn {
  margin-top: .85rem;
  min-width: 7.5rem;
  min-height: 2.35rem;
  font-weight: 600;
  border-radius: .5rem;
}
.geo-notify__badge[hidden] { display: none !important; }
.geo-notify__foot {
  padding: .55rem .85rem calc(.65rem + env(safe-area-inset-bottom, 0px));
  border-top: 1px solid var(--line);
  text-align: center;
  background: #fff;
  flex-shrink: 0;
}
.geo-notify__center-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  padding: .45rem .75rem;
  border-radius: 8px;
  color: var(--accent);
  font-size: .84rem;
  font-weight: 500;
  text-decoration: none;
  background: #f0fdfa;
  border: 1px solid #ccfbf1;
}
.geo-notify__center-link:hover { background: #ccfbf1; color: var(--accent); }
.geo-notify__item-go {
  color: var(--accent);
  font-size: .72rem;
  white-space: nowrap;
  flex-shrink: 0;
}
a.geo-notify__item {
  display: block;
  text-decoration: none;
  color: inherit;
  transition: background .15s;
}
a.geo-notify__item:hover { background: #f8fafc; }
a.geo-notify__item:active { background: #f1f5f9; }
body.geo-notify-open::before {
  content: '';
  position: fixed;
  inset: 0;
  z-index: 1240;
  background: rgba(15, 23, 42, .38);
  pointer-events: auto;
}
body.geo-notify-open .app-topbar--hub,
body.geo-notify-open .app-topbar,
body.geo-notify-open .member-hub-topbar,
body.geo-notify-open .admin-topbar {
  position: relative;
  z-index: 1260;
}
body.geo-notify-open .notify-center {
  visibility: hidden;
  pointer-events: none;
}
body.geo-notify-open .app-content--workspace,
body.geo-notify-open .app-content {
  overflow: hidden;
}
body.geo-notify-open .geo-bottom-nav {
  visibility: hidden;
  pointer-events: none;
}
.geo-notify__panel--sheet {
  position: fixed !important;
  top: auto !important;
  bottom: 0 !important;
  left: 0 !important;
  right: 0 !important;
  width: 100% !important;
  min-height: min(48vh, 380px);
  max-height: min(85dvh, 620px) !important;
  margin: 0 !important;
  border-radius: 16px 16px 0 0 !important;
  border-bottom: 0 !important;
  z-index: 1270 !important;
  box-shadow: 0 -12px 48px rgba(15, 23, 42, .22) !important;
  animation: geo-notify-sheet-in .22s ease-out;
  isolation: isolate;
  background: #fff !important;
}
.geo-notify__panel--sheet .geo-notify__body {
  flex: 1 1 auto;
  min-height: 10rem;
  background: #fff;
}
.geo-notify__panel--sheet .geo-notify__list {
  background: #fff;
}
.geo-notify__panel--sheet.geo-notify__panel--loading .geo-notify__body,
.geo-notify__panel--sheet.geo-notify__panel--empty .geo-notify__body,
.geo-notify__panel--sheet.geo-notify__panel--guest .geo-notify__body {
  min-height: 11rem;
}
.geo-notify__panel--sheet .geo-notify__item-title {
  display: block;
  -webkit-line-clamp: unset;
  line-clamp: unset;
  overflow: visible;
  white-space: normal;
}
.geo-notify__panel--sheet .geo-notify__item-body {
  display: block;
  -webkit-line-clamp: unset;
  line-clamp: unset;
  max-height: 2.8em;
  overflow: hidden;
}
.geo-notify__panel--sheet .geo-notify__sheet-handle {
  display: block;
}
.geo-notify__panel--sheet .geo-notify__head {
  padding: .35rem .95rem .65rem;
  background: #fff;
  border-bottom-color: #eef2f6;
}
.geo-notify__panel--sheet .geo-notify__head strong {
  font-size: .9375rem;
}
.geo-notify__panel--sheet .geo-notify__list {
  padding: .45rem .75rem .65rem;
}
.geo-notify__panel--sheet .geo-notify__item {
  padding: .72rem .8rem;
  margin-bottom: .45rem;
  border-radius: .65rem;
  border-color: #e8edf2;
}
.geo-notify__panel--sheet .geo-notify__item.is-unread {
  border-left-width: 3px;
  border-left-color: #2dd4bf;
  background: linear-gradient(90deg, #f0fdfa 0%, #fff 55%);
}
.geo-notify__panel--sheet .geo-notify__foot {
  padding: .6rem .85rem calc(.75rem + env(safe-area-inset-bottom, 0px));
  background: #f8fafc;
}
.geo-notify__panel--sheet .geo-notify__center-link {
  min-height: 2.45rem;
  border-radius: .55rem;
  font-size: .875rem;
  font-weight: 600;
}
@keyframes geo-notify-sheet-in {
  from { transform: translateY(100%); }
  to { transform: translateY(0); }
}
@media (max-width: 991.98px) {
  body.geo-notify-open::before {
    background: rgba(15, 23, 42, .52);
  }
}

/* 帮助 / 安装弹窗 */
body.support-modal-open { overflow: hidden; }
.support-modal-scene {
  position: fixed;
  inset: 0;
  z-index: 2500;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1rem;
}
.support-modal-scene[hidden] { display: none !important; }
.support-modal-backdrop {
  position: absolute;
  inset: 0;
  z-index: 0;
  background: rgba(15, 23, 42, .58);
  backdrop-filter: blur(2px);
}
.support-modal-panel,
.geo-hub-sheet-panel {
  z-index: 1;
}
body.support-modal-open .member-hub-shell,
body.support-modal-open .app-shell {
  pointer-events: none;
}
.support-modal-panel {
  position: relative;
  width: min(960px, 100%);
  max-height: min(88vh, 760px);
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 20px 60px rgba(15, 23, 42, .2);
  display: flex;
  flex-direction: column;
  overflow: hidden;
}
.support-modal-panel--install {
  width: min(520px, 100%);
  max-height: min(88vh, 720px);
}
.support-modal-scene--billing.geo-hub-sheet-scene,
.support-modal-scene--help.geo-hub-sheet-scene {
  align-items: center;
  justify-content: center;
}
.support-modal-scene--install {
  align-items: center;
}
.support-modal-panel--install .install-modal-body {
  flex: 1 1 auto;
  min-height: 0;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
}
.support-modal-foot.install-modal-foot {
  flex-shrink: 0;
  padding: .75rem 1rem calc(.85rem + env(safe-area-inset-bottom, 0px));
  border-top: 1px solid var(--line);
  background: #fafbfc;
}
.support-modal-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: .75rem;
  padding: .9rem 1rem;
  border-bottom: 1px solid var(--line);
}
.support-modal-title { margin: 0; font-size: 1.05rem; }
.support-modal-close {
  border: 0;
  background: transparent;
  font-size: 1.5rem;
  line-height: 1;
  color: var(--muted);
  padding: 0 .15rem;
  cursor: pointer;
  flex-shrink: 0;
}
.support-modal-panel--help {
  width: min(900px, calc(100vw - 2rem));
  height: min(88vh, 780px);
  max-height: min(88vh, 780px);
}
.support-modal-panel--help .support-modal-body {
  flex: 1;
  min-height: 0;
  overflow: hidden;
  padding: 0;
  display: flex;
  flex-direction: column;
}
.support-modal-body { padding: 1rem; overflow: auto; }
.support-help-tabs {
  display: flex;
  gap: .25rem;
  padding: .5rem 1rem 0;
  border-bottom: 1px solid var(--line);
  background: linear-gradient(180deg, #fff 0%, #fafbfc 100%);
  flex-shrink: 0;
}
.support-help-tabs__btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .35rem;
  flex: 1;
  max-width: 220px;
  border: 0;
  background: transparent;
  padding: .55rem .75rem;
  margin-bottom: -1px;
  font-size: .86rem;
  font-weight: 500;
  color: var(--muted);
  border-bottom: 2px solid transparent;
  border-radius: 8px 8px 0 0;
  cursor: pointer;
  transition: color .15s, border-color .15s, background .15s;
}
.support-help-tabs__btn:hover { color: var(--text); background: #f8fafc; }
.support-help-tabs__btn.is-active {
  color: var(--accent);
  border-bottom-color: var(--accent);
  background: #f8fbff;
}
.support-help-tabs__icon { font-size: .95rem; line-height: 1; }
.support-help-body {
  flex: 1;
  min-height: 0;
  overflow: hidden;
  padding: 0;
}
.support-help-tab-panel {
  display: none;
  height: 100%;
  min-height: 0;
  overflow: hidden;
}
.support-help-tab-panel.is-active {
  display: grid;
  grid-template-columns: 220px 1fr;
  gap: 0;
  height: 100%;
}
.support-help-tab-panel[data-support-help-panel="ask"] {
  display: none;
  grid-template-columns: 1fr;
}
.support-help-tab-panel[data-support-help-panel="ask"].is-active {
  display: flex;
  flex-direction: column;
}
.support-help-tree {
  border-right: 1px solid var(--line);
  background: #f8fafc;
  display: flex;
  flex-direction: column;
  min-height: 0;
}
.support-help-tree__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
  width: 100%;
  margin: 0;
  padding: .7rem .8rem;
  font-size: .78rem;
  font-weight: 600;
  color: var(--muted);
  border: 0;
  border-bottom: 1px solid var(--line);
  background: transparent;
  text-align: left;
  font-family: inherit;
  cursor: default;
}
.support-help-tree__head-title { font-weight: 600; }
.support-help-tree__head-action {
  flex-shrink: 0;
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--accent);
}
.support-help-tree__list { overflow: auto; padding: .35rem 0 .6rem; }
.support-help-tree__btn {
  display: flex;
  align-items: center;
  gap: .35rem;
  width: 100%;
  border: 0;
  background: transparent;
  text-align: left;
  padding: .35rem .65rem;
  font-size: .84rem;
  color: var(--text);
  line-height: 1.35;
  cursor: pointer;
  border-radius: 6px;
}
.support-help-tree__label {
  flex: 1 1 auto;
  min-width: 0;
  word-break: break-word;
}
.support-help-tree__btn:hover,
.support-help-tree__btn.is-active { background: #e8f0ff; color: var(--accent); }
.support-help-tree__children { padding-left: .55rem; }
.support-help-tree__caret,
.support-help-tree__dot {
  flex: 0 0 auto;
  width: .9rem;
  color: var(--muted);
  text-align: center;
  line-height: 1.2;
}
.support-help-doc {
  min-height: 0;
  padding: .85rem 1rem 1rem;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
}
.support-help-doc__head {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  justify-content: space-between;
  gap: 0.5rem 0.75rem;
  margin-bottom: 0.55rem;
  flex-shrink: 0;
}
.support-help-doc__title { margin: 0; font-size: 1rem; line-height: 1.35; flex: 1 1 auto; min-width: 0; }
.support-help-doc__actions {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  flex-shrink: 0;
}
.support-help-doc__action {
  display: inline-flex;
  align-items: center;
  gap: 0.28rem;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  color: var(--muted);
  font-size: 0.75rem;
  font-weight: 600;
  padding: 0.32rem 0.7rem;
  cursor: pointer;
  transition: background 0.15s ease, border-color 0.15s ease, color 0.15s ease, box-shadow 0.15s ease;
}
.support-help-doc__action-ico {
  font-size: 0.72rem;
  opacity: 0.85;
  line-height: 1;
}
.support-help-doc__action:hover {
  border-color: #b8d4cc;
  color: var(--ink);
  box-shadow: 0 1px 2px rgba(15, 23, 42, 0.05);
}
.support-help-doc__action.is-active {
  border-color: #93c5fd;
  background: #eff6ff;
  color: #1d4ed8;
}
.support-help-doc__action--primary {
  border-color: var(--accent);
  background: var(--accent);
  color: #fff;
}
.support-help-doc__action--primary .support-help-doc__action-ico {
  opacity: 1;
}
.support-help-doc__action--primary:hover {
  opacity: 0.92;
  color: #fff;
}
.support-help-doc__action--primary:disabled {
  opacity: 0.75;
  cursor: default;
}
.support-help-doc__content {
  flex: 1 1 auto;
  min-height: 0;
  overflow-y: auto;
}
.support-help-doc__content.md-content { color: var(--text); font-size: .9rem; line-height: 1.7; }
.support-help-doc__content.is-markdown-source { padding: 0; }
.support-help-doc__intro {
  padding: 0.75rem 0.85rem;
  margin-bottom: 0.85rem;
  border: 1px solid #e2e8f0;
  border-radius: 12px;
  background: linear-gradient(180deg, #fafbfc 0%, #fff 100%);
}
.support-help-doc__intro .md-content {
  font-size: 0.86rem;
  line-height: 1.65;
}
.support-help-doc__intro .md-h3,
.support-help-doc__intro .md-h4 {
  margin-top: 0.35rem;
  font-size: 0.88rem;
}
.support-help-doc__intro .md-ol,
.support-help-doc__intro .md-ul {
  margin-bottom: 0.35rem;
}
.support-help-md-panel {
  border: 1px solid #dbe4ea;
  border-radius: 12px;
  overflow: hidden;
  background: #fff;
  box-shadow: 0 2px 8px rgba(15, 23, 42, 0.04);
}
.support-help-md-panel__label {
  padding: 0.45rem 0.75rem;
  font-size: 0.72rem;
  font-weight: 600;
  color: #64748b;
  background: linear-gradient(180deg, #fff 0%, #f8fafc 100%);
  border-bottom: 1px solid #e2e8f0;
  letter-spacing: 0.02em;
}
.support-help-doc__markdown {
  margin: 0;
  max-height: min(52vh, 420px);
  overflow: auto;
  padding: 0.85rem 0.9rem;
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace;
  font-size: 0.78rem;
  line-height: 1.6;
  color: #1e293b;
  background: #f1f5f9;
  white-space: pre;
  word-break: normal;
  tab-size: 2;
}
.support-help-doc__markdown code {
  background: transparent;
  padding: 0;
  color: inherit;
  font-size: inherit;
  border-radius: 0;
}
.support-help-template-card {
  margin-top: 0.85rem;
  border: 1px solid #dbe4ea;
  border-radius: 12px;
  overflow: hidden;
  background: #f8fafc;
  box-shadow: 0 2px 8px rgba(15, 23, 42, 0.04);
}
.support-help-template-card__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
  padding: 0.45rem 0.75rem;
  background: linear-gradient(180deg, #fff 0%, #f8fafc 100%);
  border-bottom: 1px solid #e2e8f0;
}
.support-help-template-card__label {
  font-size: 0.78rem;
  font-weight: 700;
  color: #334155;
}
.support-help-template-card__tag {
  font-size: 0.68rem;
  font-weight: 600;
  color: #1d4ed8;
  background: #eff6ff;
  border: 1px solid #bfdbfe;
  border-radius: 999px;
  padding: 0.12rem 0.45rem;
}
.support-help-template-card__tag--preview {
  color: #0f766e;
  background: #ecfdf5;
  border-color: #99f6e4;
}
.support-help-template-card__preview {
  max-height: min(46vh, 380px);
  overflow: auto;
  padding: 0.85rem 0.95rem;
  background: #fff;
  color: var(--text);
  font-size: 0.86rem;
  line-height: 1.65;
}
.support-help-template-card__preview .md-content {
  font-family: inherit;
  font-size: 0.86rem;
  line-height: 1.65;
}
.support-help-template-card__preview .md-h3,
.support-help-template-card__preview .md-h4 {
  margin: 0.65rem 0 0.35rem;
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--text);
}
.support-help-template-card__preview .md-h3:first-child,
.support-help-template-card__preview .md-h4:first-child,
.support-help-template-card__preview .md-p:first-child {
  margin-top: 0;
}
.support-help-template-card__preview .md-p {
  margin: 0 0 0.5rem;
  color: var(--text);
}
.support-help-template-card__preview .md-ul,
.support-help-template-card__preview .md-ol {
  margin: 0 0 0.55rem 1.1rem;
  padding: 0;
  color: var(--muted);
}
.support-help-template-card__preview .md-ul li,
.support-help-template-card__preview .md-ol li {
  margin-bottom: 0.35rem;
}
.support-help-template-card__preview .md-quote {
  margin: 0.45rem 0;
  padding: 0.45rem 0.65rem;
  border-left: 3px solid #5eead4;
  background: #f0fdfa;
  color: #475569;
  font-size: 0.84rem;
  border-radius: 0 8px 8px 0;
}
.support-help-template-card__preview code {
  padding: 0.1rem 0.35rem;
  background: #f1f5f9;
  border-radius: 4px;
  font-size: 0.84em;
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace;
}
.support-help-doc__content.is-markdown-source .support-help-template-card {
  display: none;
}
.support-help-doc__content.md-content > .md-content:last-child .md-quote,
.support-help-doc__content > .md-content .md-quote {
  margin-top: 0.65rem;
}
.support-help-doc__content.md-content .md-p { margin: 0 0 .55rem; color: var(--text); }
.support-help-doc__content.md-content .md-ul,
.support-help-doc__content.md-content .md-ol { margin: 0 0 .65rem 1.1rem; padding: 0; color: var(--muted); }
.support-help-doc__content.md-content .md-ul li,
.support-help-doc__content.md-content .md-ol li { margin-bottom: .4rem; }
.support-help-doc__content.md-content .md-h3,
.support-help-doc__content.md-content .md-h4 { margin: .75rem 0 .4rem; font-size: .92rem; font-weight: 700; color: var(--text); }
.support-help-doc__content.md-content .md-quote { margin: .5rem 0; padding: .45rem .65rem; border-left: 3px solid #93c5fd; background: #f0f9ff; color: var(--muted); font-size: .86rem; border-radius: 0 8px 8px 0; }
.support-help-doc__content.md-content .md-table { width: 100%; margin: .5rem 0 .75rem; font-size: .84rem; border-collapse: collapse; }
.support-help-doc__content.md-content .md-table th,
.support-help-doc__content.md-content .md-table td { border: 1px solid var(--line); padding: .35rem .5rem; text-align: left; }
.support-help-doc__content.md-content .md-table th { background: #f8fafc; }
.support-help-doc__content.md-content code { padding: .1rem .35rem; background: #f1f5f9; border-radius: 4px; font-size: .84em; }
.support-help-doc__content.md-content .md-figure {
  margin: .65rem 0 1rem;
  padding: 0;
  border: 1px solid #e2e8f0;
  border-radius: 12px;
  background: linear-gradient(180deg, #f8fafc 0%, #fff 100%);
  overflow: hidden;
  box-shadow: 0 2px 10px rgba(15, 23, 42, .05);
}
.support-help-doc__content.md-content .md-img {
  display: block;
  width: 100%;
  height: auto;
  max-height: 280px;
  object-fit: contain;
  background: #fff;
  padding: .35rem;
}
.support-help-doc__content.md-content .md-figcaption {
  padding: .4rem .65rem .55rem;
  font-size: .78rem;
  color: var(--muted);
  text-align: center;
  border-top: 1px solid #e8edf3;
  background: #f8fafc;
}
.support-help-chat__msg .md-content { font-size: .84rem; line-height: 1.55; }
.support-help-chat__msg .md-content .md-p { margin: 0 0 .35rem; }
.support-help-chat__msg .md-content .md-h3 { font-size: .88rem; margin: .4rem 0 .25rem; }
.support-help-chat__msg .md-content .md-ul { margin: 0 0 .35rem 1rem; padding: 0; }
.support-help-chat {
  flex: 1;
  display: flex;
  flex-direction: column;
  min-height: 0;
  background: linear-gradient(180deg, #f8fafc 0%, #fbfdff 120px);
}
.support-help-chat__inner {
  width: 100%;
  margin: 0 auto;
}
.support-help-chat__toolbar .support-help-chat__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: .75rem;
}
.support-help-chat__form-row {
  display: flex;
  gap: .5rem;
  align-items: center;
}
.support-help-chat__form-row .form-control { flex: 1; min-width: 0; }
.support-help-chat__form-row .btn { flex-shrink: 0; min-width: 4.5rem; }
.support-help-chat__toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: .75rem;
  padding: .55rem 1rem;
  border-bottom: 1px solid var(--line);
  background: #fff;
  flex-shrink: 0;
}
.support-help-chat__toolbar-title { font-size: .84rem; font-weight: 600; color: var(--text); }
.support-help-chat__clear {
  border: 0;
  background: transparent;
  color: var(--muted);
  font-size: .8rem;
  padding: .2rem .35rem;
  cursor: pointer;
  border-radius: 6px;
}
.support-help-chat__clear:hover { color: #dc2626; background: #fef2f2; }
.support-help-chat__intro {
  flex: 0 0 auto;
  padding: .65rem 1rem .4rem;
  border-bottom: 1px solid var(--line);
  background: #fff;
}
.support-help-chat__intro .md-p { margin: 0 0 .45rem; font-size: .84rem; color: var(--muted); }
.support-help-chat__chips {
  display: flex;
  flex-wrap: wrap;
  gap: .4rem;
  margin-bottom: .25rem;
}
.support-help-chat__chip {
  border: 1px solid #bfdbfe;
  background: #eff6ff;
  color: #1d4ed8;
  border-radius: 999px;
  padding: .25rem .7rem;
  font-size: .8rem;
  cursor: pointer;
  transition: background .15s, border-color .15s;
}
.support-help-chat__chip:hover { background: #dbeafe; border-color: #93c5fd; }
.support-help-chat__row {
  display: flex;
  align-items: flex-start;
  gap: .25rem;
  width: 100%;
  margin: 0 auto;
}
.support-help-chat__row--user {
  flex-direction: row-reverse;
  justify-content: flex-start;
}
.support-help-chat__row--bot,
.support-help-chat__row--hint {
  justify-content: flex-start;
}
.support-help-chat__row:hover .support-help-chat__del { opacity: 1; }
.support-help-chat__del {
  flex: 0 0 auto;
  border: 0;
  background: transparent;
  color: #94a3b8;
  font-size: 1rem;
  line-height: 1;
  padding: .35rem .25rem;
  cursor: pointer;
  opacity: 0;
  transition: opacity .15s, color .15s;
}
.support-help-chat__del:hover { color: #dc2626; }
.support-help-chat__typing {
  display: inline-flex;
  align-items: center;
  gap: .25rem;
  padding: .15rem 0;
}
.support-help-chat__typing span {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #94a3b8;
  animation: support-help-typing 1.2s infinite ease-in-out;
}
.support-help-chat__typing span:nth-child(2) { animation-delay: .15s; }
.support-help-chat__typing span:nth-child(3) { animation-delay: .3s; }
@keyframes support-help-typing {
  0%, 80%, 100% { opacity: .35; transform: translateY(0); }
  40% { opacity: 1; transform: translateY(-3px); }
}
.support-help-chat__msg--typing { background: #eef2f7; }
.support-help-chat__messages {
  flex: 1;
  overflow: auto;
  padding: .85rem 1rem 1rem;
  display: flex;
  flex-direction: column;
  gap: .7rem;
  min-height: 0;
}
.support-help-chat__msg--bot { background: #fff; border: 1px solid #e8edf3; box-shadow: 0 1px 2px rgba(15, 23, 42, .04); }
.support-help-chat__msg--user { background: #dbeafe; border: 1px solid #bfdbfe; }
.support-help-chat__msg {
  flex: 0 1 auto;
  min-width: 0;
  max-width: 100%;
  padding: .6rem .8rem;
  border-radius: 14px;
  font-size: .86rem;
  line-height: 1.6;
  word-break: break-word;
}
.support-help-chat__row--user .support-help-chat__msg--user { max-width: 72%; }
.support-help-chat__row--bot .support-help-chat__msg--bot { max-width: 88%; }
.support-help-chat__row .support-help-chat__msg--hint {
  flex: 1;
  max-width: 100%;
  background: transparent;
  border: 0;
  box-shadow: none;
  color: var(--muted);
  font-size: .8rem;
  padding: .1rem .25rem;
}
.support-help-chat__link {
  border: 0;
  background: none;
  color: var(--accent);
  font-size: inherit;
  padding: 0;
  text-decoration: underline;
  cursor: pointer;
}
.support-help-chat__msg .md-content .md-ol {
  margin: .35rem 0 .5rem 1.15rem;
  padding: 0;
  list-style: decimal;
}
.support-help-chat__msg .md-content .md-ol li { margin-bottom: .35rem; }
.support-help-chat__msg .md-content .md-p:last-child { margin-bottom: 0; }
.support-help-chat__form {
  flex: 0 0 auto;
  padding: .65rem 1rem .85rem;
  border-top: 1px solid var(--line);
  background: #fff;
}
.install-device-badge {
  display: inline-block;
  padding: .3rem .7rem;
  border-radius: 999px;
  background: #eff6ff;
  border: 1px solid #bfdbfe;
  color: #1d4ed8;
  font-size: .78rem;
  font-weight: 600;
  margin-bottom: .75rem;
}
.install-modal-status {
  margin: 0 0 .85rem;
  font-size: .9rem;
  line-height: 1.65;
  color: var(--text);
}
.install-modal-actions {
  display: flex;
  flex-direction: column;
  gap: .5rem;
  margin-bottom: .85rem;
}
.install-modal-actions .btn-primary {
  font-weight: 600;
  padding: .55rem 1rem;
}
.install-modal-copy { font-size: .88rem; }
.install-steps {
  list-style: none;
  margin: 0 0 .85rem;
  padding: 0;
  display: grid;
  gap: .45rem;
  counter-reset: install-step;
}
.install-steps > li {
  counter-increment: install-step;
  display: flex;
  align-items: flex-start;
  gap: .65rem;
  padding: .6rem .7rem;
  border: 1px solid #e2e8f0;
  border-radius: 10px;
  background: #f8fafc;
  color: var(--text);
  font-size: .86rem;
  line-height: 1.55;
}
.install-steps > li::before {
  content: counter(install-step);
  flex-shrink: 0;
  width: 1.35rem;
  height: 1.35rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  background: #0d9488;
  color: #fff;
  font-size: .72rem;
  font-weight: 700;
  line-height: 1;
  margin-top: .1rem;
}
.install-modal-hint {
  margin: 0;
  padding: .65rem .75rem;
  border-radius: 10px;
  background: #f1f5f9;
  color: var(--muted);
  font-size: .8rem;
  line-height: 1.55;
}

/* 消息中心 */
.notify-center__toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: .75rem;
  margin-bottom: 1rem;
}
.notify-center__unread {
  margin-left: .5rem;
  color: #dc2626;
  font-size: .85rem;
}
.notify-center__empty {
  padding: 2rem 1rem;
  text-align: center;
  color: var(--muted);
  border: 1px dashed var(--line);
  border-radius: 12px;
}
.notify-center__list { display: grid; gap: .65rem; }
.notify-center__item {
  border: 1px solid var(--line);
  border-radius: 12px;
  background: #fff;
  padding: .85rem 1rem;
}
.notify-center__item.is-unread { border-color: #bfdbfe; background: #f8fbff; }
.notify-center__item.is-active { box-shadow: 0 0 0 2px rgba(37, 99, 235, .25); }
.notify-center__item-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: .75rem;
}
.notify-center__item-title { margin: 0; font-size: .95rem; }
.notify-center__item-time { color: #94a3b8; font-size: .78rem; white-space: nowrap; }
.notify-center__item-body { margin: .45rem 0 0; color: var(--muted); font-size: .88rem; line-height: 1.6; }
.notify-center__item-foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: .75rem;
  margin-top: .55rem;
}
.notify-center__item-link { color: var(--accent); font-size: .84rem; text-decoration: none; }
.notify-center__item-ops { display: flex; gap: .65rem; }

/* 本月复盘 · 配额用量 */
.billing-month-usage__stat {
  padding: .65rem .75rem;
  border: 1px solid #e8edf2;
  border-radius: .55rem;
  background: #f8fafc;
  height: 100%;
}
.billing-month-usage__stat-hint {
  display: block;
  margin-top: .15rem;
  font-size: .68rem;
  font-weight: 500;
  color: #94a3b8;
}
@media (max-width: 767.98px) {
  .billing-month-usage__lead {
    font-size: .72rem;
    line-height: 1.45;
    margin-bottom: .65rem !important;
  }
  .billing-month-usage__table.table-mobile-stack tbody tr.billing-month-usage__row {
    display: block;
    margin-bottom: .5rem;
    padding: .7rem .8rem .65rem;
    border: 1px solid #e8edf2;
    border-radius: .65rem;
    background: #fff;
    box-shadow: 0 1px 3px rgba(15, 23, 42, .04);
  }
  .billing-month-usage__table.table-mobile-stack tbody tr.billing-month-usage__row td {
    display: block;
    padding: 0;
    border: none;
  }
  .billing-month-usage__table.table-mobile-stack tbody tr.billing-month-usage__row td::before {
    display: none !important;
  }
  .billing-month-usage__label {
    display: block;
    font-size: .875rem;
    font-weight: 650;
    line-height: 1.35;
    color: #0f172a;
    margin-bottom: .45rem;
  }
  .billing-month-usage__meter {
    height: .35rem;
    border-radius: 999px;
    background: #e8edf2;
    overflow: hidden;
    margin-bottom: .4rem;
  }
  .billing-month-usage__meter-fill {
    display: block;
    height: 100%;
    border-radius: inherit;
    background: linear-gradient(90deg, #2dd4bf, #14b8a6);
    min-width: 2px;
  }
  .billing-month-usage__meter.is-warn .billing-month-usage__meter-fill {
    background: linear-gradient(90deg, #fbbf24, #f59e0b);
  }
  .billing-month-usage__meter.is-full .billing-month-usage__meter-fill {
    background: linear-gradient(90deg, #f87171, #ef4444);
  }
  .billing-month-usage__figures {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: .5rem;
    font-size: .75rem;
    color: #64748b;
  }
  .billing-month-usage__figures strong {
    color: #0f172a;
    font-weight: 700;
  }
  .billing-month-usage__pct {
    font-size: .8125rem;
    font-weight: 700;
    color: #0f766e;
    font-variant-numeric: tabular-nums;
  }
  .billing-month-usage__meter.is-warn + .billing-month-usage__figures .billing-month-usage__pct {
    color: #b45309;
  }
  .billing-month-usage__meter.is-full + .billing-month-usage__figures .billing-month-usage__pct {
    color: #dc2626;
  }
  .billing-month-usage__figures--muted {
    font-size: .75rem;
    color: #94a3b8;
  }
  .billing-month-usage__totals {
    --bs-gutter-y: .45rem;
    --bs-gutter-x: .45rem;
  }
  .billing-month-usage__totals .billing-month-usage__stat {
    padding: .55rem .65rem;
    border-radius: .5rem;
  }
  .billing-month-usage__totals .billing-month-usage__stat strong {
    font-size: 1rem;
  }
}

@media (max-width: 767.98px) {
  .notify-center {
    padding: 0 .15rem .5rem;
  }
  .notify-center__toolbar {
    flex-wrap: wrap;
    gap: .5rem;
    margin-bottom: .75rem;
    padding: .55rem .65rem;
    border-radius: .65rem;
    border: 1px solid #e8edf2;
    background: #f8fafc;
  }
  .notify-center__stats {
    font-size: .8125rem;
    color: #475569;
  }
  .notify-center__actions .btn {
    min-height: 2.1rem;
    font-size: .78rem;
    font-weight: 600;
    border-radius: .45rem;
  }
  .notify-center__empty {
    padding: 2.5rem 1rem;
    font-size: .875rem;
    border-radius: .75rem;
    background: #f8fafc;
  }
  .notify-center__list {
    gap: .5rem;
  }
  .notify-center__item {
    padding: .75rem .85rem;
    border-radius: .75rem;
    border-color: #e8edf2;
    box-shadow: 0 1px 3px rgba(15, 23, 42, .04);
  }
  .notify-center__item.is-unread {
    border-left: 3px solid #2dd4bf;
    background: linear-gradient(90deg, #f0fdfa 0%, #fff 50%);
  }
  .notify-center__item-head {
    flex-direction: column;
    align-items: flex-start;
    gap: .25rem;
  }
  .notify-center__item-title {
    font-size: .9rem;
    line-height: 1.4;
  }
  .notify-center__item-time {
    font-size: .72rem;
  }
  .notify-center__item-body {
    font-size: .8125rem;
  }
  .notify-center__item-foot {
    flex-wrap: wrap;
    align-items: flex-start;
    margin-top: .65rem;
    padding-top: .55rem;
    border-top: 1px solid #f1f5f9;
  }
  .notify-center__item-ops {
    width: 100%;
    justify-content: flex-end;
    gap: .75rem;
  }
  .notify-center__item-ops .btn-link {
    font-size: .78rem;
    font-weight: 600;
  }
}
@media (max-width: 767.98px) {
  .support-modal-scene { padding: 0; align-items: stretch; }
  .support-modal-scene--install {
    align-items: flex-end;
    justify-content: flex-end;
    padding: 0;
  }
  .support-modal-panel--install {
    width: 100%;
    max-height: min(92dvh, 100%);
    border-radius: 16px 16px 0 0;
    box-shadow: 0 -8px 40px rgba(15, 23, 42, .18);
  }
  .geo-hub-sheet-scene {
    padding: 0;
    align-items: flex-end;
    justify-content: flex-end;
  }
  .support-modal-scene--help.geo-hub-sheet-scene,
  .support-modal-scene--billing.geo-hub-sheet-scene {
    padding: 1rem;
    align-items: center;
    justify-content: center;
  }
  .geo-hub-sheet-scene:not(.support-modal-scene--help):not(.support-modal-scene--billing) .geo-hub-sheet-panel {
    width: 100%;
    max-height: min(90dvh, 100%);
    border-radius: 16px 16px 0 0;
    box-shadow: 0 -8px 40px rgba(15, 23, 42, .18);
  }
  .support-modal-scene--help .geo-hub-sheet-panel,
  .support-modal-scene--billing .geo-hub-sheet-panel {
    width: min(26rem, 100%);
    max-height: min(88vh, 34rem);
    border-radius: 14px;
    box-shadow: 0 20px 50px rgba(15, 23, 42, 0.2);
  }
  .geo-hub-sheet-body {
    max-height: calc(90dvh - 8rem);
  }
  .support-modal-panel--help {
    width: 100%;
    height: 100%;
    max-height: 100%;
    border-radius: 0;
  }
  .support-help-tab-panel.is-active { grid-template-columns: 1fr; grid-template-rows: auto 1fr; }
  .support-help-tree {
    border-right: 0;
    border-bottom: 1px solid var(--line);
    background: #fff;
    flex-shrink: 0;
  }
  .support-help-tree__head {
    padding: 0.65rem 0.85rem;
    background: #f8fafc;
    cursor: pointer;
  }
  .support-help-tree__head-action[hidden] {
    display: none !important;
  }
  .support-help-tree__head-action:not([hidden]) {
    display: inline-block !important;
  }
  .support-help-tree__list {
    padding: 0.35rem 0.5rem 0.55rem;
    max-height: min(42vh, 320px);
    -webkit-overflow-scrolling: touch;
  }
  .support-help-tree.is-collapsed .support-help-tree__list {
    display: none;
  }
  .support-help-tree.is-collapsed {
    border-bottom-color: #e8edf2;
  }
  .support-help-tree__btn {
    min-height: 2.75rem;
    padding: 0.45rem 0.65rem;
    margin-bottom: 0.12rem;
    font-size: 0.875rem;
  }
  .support-help-tree__btn.is-active {
    background: #ecfdf5;
    color: #0f766e;
    font-weight: 600;
  }
  .support-help-tree__node:not(.is-child) > .support-help-tree__btn {
    font-weight: 600;
    color: #0f172a;
  }
  .support-help-tree__children {
    margin: 0 0.35rem 0.25rem 0.5rem;
    padding-left: 0.55rem;
    border-left: 2px solid #e8edf2;
  }
  .support-help-tree__children .support-help-tree__btn {
    min-height: 2.5rem;
    font-size: 0.8125rem;
    font-weight: 500;
  }
  .support-help-doc {
    padding: 0.75rem 0.85rem 1rem;
  }
  .support-help-tabs__btn { max-width: none; flex: 1; justify-content: center; padding: .5rem .55rem; font-size: .82rem; }
  .support-help-doc__content.md-content .md-img { max-height: 200px; }
  .support-help-chat__del { opacity: 1; }
}

/* ===== Admin split ===== */
.admin-body { overflow: hidden;
  --admin-ink: #1e293b;
  --admin-muted: #64748b;
  --admin-line: #e2e8f0;
  --admin-line-soft: #eef2f6;
  --admin-soft: #f8fafc;
  --admin-card: #fff;
  --admin-accent: var(--accent, #0d9488);
  --admin-accent-soft: rgba(13, 148, 136, .12);
  --admin-radius: 12px;
  --admin-radius-sm: 8px;
  --admin-fw: 600;
  --admin-shadow: 0 1px 2px rgba(15, 23, 42, .04);
}
.admin-shell {
  display: grid;
  grid-template-columns: 268px 1fr;
  height: 100vh;
  min-height: 0;
  overflow: hidden;
}
.admin-sidebar {
  background: var(--sidebar);
  color: #fff;
  display: flex;
  flex-direction: column;
  min-width: 0;
  min-height: 0;
  max-height: 100vh;
  height: 100%;
  border-right: 1px solid rgba(255, 255, 255, .06);
}
.sidebar-brand {
  padding: 1.2rem 1rem 1rem;
  border-bottom: 1px solid rgba(255,255,255,.06);
  flex-shrink: 0;
}
.sidebar-brand a {
  color: #fff;
  text-decoration: none;
  font-weight: 600;
  display: block;
  letter-spacing: .02em;
}
.sidebar-brand__meta {
  display: block;
  color: var(--sidebar-muted);
  font-size: 12px;
  margin-top: .35rem;
  font-weight: 400;
  letter-spacing: .01em;
}
.sidebar-nav {
  flex: 1 1 auto;
  min-height: 0;
  overflow-y: auto;
  overflow-x: hidden;
  padding: .5rem .55rem 1.25rem;
  scrollbar-width: thin;
  scrollbar-color: rgba(255, 255, 255, .15) transparent;
}
.sidebar-nav::-webkit-scrollbar {
  width: 5px;
}
.sidebar-nav::-webkit-scrollbar-thumb {
  background: rgba(255, 255, 255, .12);
  border-radius: 4px;
}
.nav-group {
  color: var(--sidebar-muted);
  font-size: 11px;
  letter-spacing: .08em;
  margin: 0;
  padding: 1rem .55rem .35rem;
  font-weight: 600;
  text-transform: uppercase;
}
.sidebar-nav > .nav-group:first-child {
  padding-top: .35rem;
}
.admin-sidebar .nav-link,
.admin-sidebar-nav .nav-link {
  display: block;
  color: rgba(226, 232, 240, .88);
  text-decoration: none;
  border-radius: 8px;
  padding: .42rem .55rem;
  margin: 2px 0 2px .35rem;
  font-size: 13px;
  font-weight: 450;
  line-height: 1.4;
  border: 1px solid transparent;
  transition: background .12s ease, color .12s ease, border-color .12s ease, box-shadow .12s ease;
}
.admin-sidebar .nav-link:hover,
.admin-sidebar-nav .nav-link:hover {
  background: rgba(255, 255, 255, .06);
  color: #fff;
  border-color: rgba(255, 255, 255, .06);
}
.admin-sidebar .nav-link.active,
.admin-sidebar-nav .nav-link.active {
  background: rgba(13, 148, 136, .16);
  color: #fff;
  font-weight: 600;
  border-color: rgba(45, 212, 191, .35);
  box-shadow: inset 3px 0 0 #2dd4bf;
  padding-left: calc(.55rem - 1px);
}
.admin-sidebar-nav .nav-link--sub,
.admin-sidebar-nav .nav-link--config {
  padding: .42rem .55rem;
  margin: 2px 0 2px .35rem;
  font-size: 13px;
  color: rgba(226, 232, 240, .88);
}
.admin-sidebar-nav .nav-link--sub.active,
.admin-sidebar-nav .nav-link--config.active {
  color: #fff;
}

/* 管理台：分组折叠菜单（手风琴） */
.admin-sidebar-nav {
  padding: .35rem .45rem 1.25rem;
}
.admin-nav-fold {
  margin: 0 0 2px;
  border-radius: 10px;
}
.admin-nav-fold__summary {
  list-style: none;
  display: flex;
  align-items: center;
  gap: .55rem;
  padding: .55rem .5rem;
  cursor: pointer;
  border-radius: 10px;
  color: rgba(226, 232, 240, .92);
  font-size: 13.5px;
  font-weight: 600;
  user-select: none;
  transition: background .12s ease, color .12s ease;
}
.admin-nav-fold__summary::-webkit-details-marker {
  display: none;
}
.admin-nav-fold__summary:hover {
  background: rgba(255, 255, 255, .05);
  color: #fff;
}
.admin-nav-fold.is-route-active > .admin-nav-fold__summary,
.admin-nav-fold[open] > .admin-nav-fold__summary {
  color: #fff;
}
.admin-nav-fold[open] > .admin-nav-fold__summary {
  background: rgba(255, 255, 255, .05);
}
.admin-nav-fold.is-route-active > .admin-nav-fold__summary {
  background: rgba(255, 255, 255, .08);
}
.admin-nav-fold__icon {
  width: 28px;
  height: 28px;
  border-radius: 8px;
  flex-shrink: 0;
  background: rgba(255, 255, 255, .08) center / 16px no-repeat;
}
.admin-nav-fold__icon--start {
  background-color: rgba(59, 130, 246, .22);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2393c5fd' stroke-width='2'%3E%3Cpath d='M4 14h7v6H4zM13 4h7v10h-7zM13 16h7v4h-7z'/%3E%3C/svg%3E");
}
.admin-nav-fold__icon--assets {
  background-color: rgba(13, 148, 136, .22);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%235eead4' stroke-width='2'%3E%3Cpath d='M4 6h7v12H4zM13 6h7v5h-7zM13 13h7v5h-7z'/%3E%3C/svg%3E");
}
.admin-nav-fold__icon--eval {
  background-color: rgba(245, 158, 11, .2);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23fcd34d' stroke-width='2'%3E%3Cpath d='M4 18V6l8 4 8-4v12l-8 4-8-4z'/%3E%3C/svg%3E");
}
.admin-nav-fold__icon--growth {
  background-color: rgba(124, 58, 237, .22);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23c4b5fd' stroke-width='2'%3E%3Cpath d='M4 20V9l6-4 6 4v11'/%3E%3Cpath d='M10 13h4v7h-4z'/%3E%3C/svg%3E");
}
.admin-nav-fold__icon--system {
  background-color: rgba(100, 116, 139, .35);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23cbd5e1' stroke-width='2'%3E%3Ccircle cx='12' cy='12' r='3'/%3E%3Cpath d='M12 4v2M12 18v2M6 8l1.5 1.5M16.5 14.5 18 16M4 12h2M18 12h2M6 16l1.5-1.5M16.5 9.5 18 8'/%3E%3C/svg%3E");
}
.admin-nav-fold__icon--account {
  background-color: rgba(59, 130, 246, .22);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2393c5fd' stroke-width='2'%3E%3Ccircle cx='12' cy='9' r='3.2'/%3E%3Cpath d='M6.2 18.5c1.4-2.4 3.4-3.5 5.8-3.5s4.4 1.1 5.8 3.5'/%3E%3C/svg%3E");
}
.admin-nav-fold__icon--billing {
  background-color: rgba(245, 158, 11, .2);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23fcd34d' stroke-width='2'%3E%3Crect x='4' y='6' width='16' height='12' rx='2'/%3E%3Cpath d='M4 10h16'/%3E%3C/svg%3E");
}
.admin-nav-fold__label {
  flex: 1;
  min-width: 0;
  line-height: 1.35;
}
.admin-nav-fold__chev {
  width: 16px;
  height: 16px;
  flex-shrink: 0;
  opacity: .55;
  background: center / 12px no-repeat url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23e2e8f0' stroke-width='2.2' stroke-linecap='round'%3E%3Cpath d='M9 6l6 6-6 6'/%3E%3C/svg%3E");
  transition: transform .18s ease, opacity .12s ease;
}
.admin-nav-fold[open] > .admin-nav-fold__summary .admin-nav-fold__chev {
  transform: rotate(90deg);
  opacity: .85;
}
.admin-nav-fold__body {
  padding: .2rem 0 .5rem .45rem;
  margin: 0 0 .15rem 1.45rem;
  border-left: 1px solid rgba(255, 255, 255, .14);
}
.admin-nav-fold__body .nav-link {
  max-width: 100%;
}
.admin-nav-fold__body .admin-nav-fold__section-label {
  margin-top: .45rem;
  margin-bottom: .15rem;
  padding-top: .5rem;
}
.admin-nav-fold__flow {
  margin: 0 .35rem .35rem .55rem;
  padding: 0 0 .25rem;
  font-size: 10px;
  line-height: 1.35;
  color: rgba(255, 255, 255, .42);
  letter-spacing: .01em;
}
.admin-nav-fold__section-label {
  margin: .55rem .35rem .2rem .55rem;
  padding-top: .35rem;
  border-top: 1px solid rgba(255, 255, 255, .08);
  font-size: 10px;
  font-weight: 600;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, .38);
}
.admin-nav-fold__body .nav-link--config {
  color: rgba(226, 232, 240, .82);
}
.admin-nav-fold__body .nav-link--config:hover {
  color: #fff;
}
.site-advisor-flow-nav {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: .35rem .5rem;
  padding: .55rem .75rem;
  border-radius: 10px;
  background: rgba(13, 148, 136, .06);
  border: 1px solid rgba(13, 148, 136, .14);
  font-size: 13px;
}
.site-advisor-flow-nav__step {
  color: #0f766e;
  text-decoration: none;
  font-weight: 500;
  white-space: nowrap;
}
.site-advisor-flow-nav__step:hover {
  color: #0d9488;
  text-decoration: underline;
}
.site-advisor-flow-nav__step.is-on {
  color: #fff;
  background: #0d9488;
  padding: .2rem .55rem;
  border-radius: 999px;
  text-decoration: none;
}
.site-advisor-flow-nav__sep {
  color: rgba(15, 118, 110, .45);
  font-size: 12px;
  user-select: none;
}
.sidebar-foot {
  flex-shrink: 0;
  padding: .85rem .9rem;
  border-top: 1px solid rgba(255,255,255,.08);
  font-size: 13px;
  display: flex;
  flex-direction: column;
  gap: .5rem;
  background: linear-gradient(180deg, transparent 0%, rgba(0, 0, 0, .12) 100%);
}
.sidebar-foot__cta {
  font-size: 14px;
  font-weight: 600;
}
.sidebar-foot__logout-form {
  margin: 0;
}
.sidebar-foot__logout {
  font-size: 14px;
  font-weight: 600;
  border-color: rgba(255, 255, 255, .45);
  color: #fff;
}
.sidebar-foot__logout:hover {
  background: rgba(255, 255, 255, .1);
  border-color: rgba(255, 255, 255, .55);
  color: #fff;
}
.sidebar-account {
  display: block;
  padding: .55rem .65rem;
  margin-bottom: .15rem;
  border-radius: 10px;
  text-decoration: none;
  background: rgba(255, 255, 255, .06);
  border: 1px solid rgba(255, 255, 255, .1);
  transition: background .15s ease, border-color .15s ease;
}
.sidebar-account:hover {
  background: rgba(255, 255, 255, .1);
  border-color: rgba(255, 255, 255, .16);
}
.sidebar-account__primary {
  display: block;
  color: #fff;
  font-size: 13px;
  font-weight: 600;
  line-height: 1.35;
}
.sidebar-account__meta {
  display: block;
  margin-top: .15rem;
  color: rgba(255, 255, 255, .62);
  font-size: 12px;
  line-height: 1.35;
}
.admin-main {
  display: flex;
  flex-direction: column;
  min-width: 0;
  min-height: 0;
  overflow: hidden;
  background: #f1f5f9;
}
.admin-topbar {
  height: 56px;
  background: #fff;
  border-bottom: 1px solid #e2e8f0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 1.25rem;
  gap: .5rem;
  position: relative;
  z-index: 30;
  overflow: visible;
}
.topbar-left-wrap {
  display: flex;
  align-items: center;
  gap: .5rem;
  min-width: 0;
  flex: 1;
}
.topbar-title {
  font-weight: 600;
  font-size: .9375rem;
  color: #1e293b;
  letter-spacing: -.01em;
}
.admin-topbar .top-actions {
  display: flex;
  align-items: center;
  gap: .15rem;
  position: relative;
  z-index: 31;
  overflow: visible;
  flex-shrink: 0;
}
.admin-ops-identity {
  padding: .85rem 1.1rem;
}
.diag-linked-sites__item {
  padding: .35rem 0;
  border-bottom: 1px solid var(--admin-border, #e2e8f0);
}
.diag-linked-sites__item:last-child {
  border-bottom: 0;
}
.home-hub-lead {
  margin: 0 0 1rem;
  font-size: .875rem;
  color: var(--admin-muted, var(--muted));
  line-height: 1.5;
}
.home-admin-metric {
  color: inherit;
  transition: border-color .15s ease;
}
.home-admin-metric:hover {
  border-color: rgba(13, 148, 136, .35);
}
.home-admin-metric__label {
  font-size: .75rem;
  color: var(--admin-muted, #64748b);
  margin-bottom: .25rem;
}
.home-admin-metric__value {
  font-size: .9375rem;
  font-weight: 600;
  color: var(--admin-ink, var(--ink));
}
.home-workspace-pick {
  padding: 1.25rem 1.35rem;
  max-width: 42rem;
}
.home-workspace-pick--inline {
  margin-top: 0;
}
.home-workspace-pick__head {
  margin-bottom: 1rem;
}
.home-workspace-pick__switcher {
  margin-bottom: 1rem;
  max-width: 28rem;
}
.home-workspace-pick__tips {
  padding-left: 1.1rem;
}
.home-workspace-pick__tips li {
  margin-bottom: .35rem;
}
.home-recent-customers__grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(12rem, 1fr));
  gap: .5rem;
}
.home-recent-customers__item {
  margin: 0;
}
.home-recent-customers__btn {
  width: 100%;
  text-align: left;
  border: 1px solid var(--admin-line, #e2e8f0);
  border-radius: 10px;
  background: #fff;
  padding: .55rem .75rem;
  cursor: pointer;
}
.home-recent-customers__btn:hover {
  border-color: #93c5fd;
  background: #f8fafc;
}
.home-recent-customers__name {
  display: block;
  font-size: .875rem;
  font-weight: 600;
  color: #0f172a;
}
.home-recent-customers__meta {
  display: block;
  font-size: .75rem;
  color: #64748b;
  margin-top: .15rem;
}
.home-geo-quick {
  padding: 1rem 1.15rem;
}
.home-platform-links {
  margin-left: .1rem;
}
.home-platform-page {
  max-width: 72rem;
}
.home-platform-hero {
  padding: 1rem 1.15rem;
}
.home-platform-head {
  padding: 1rem 1.15rem;
}
.home-platform-head__badge,
.home-workspace-pick__badge {
  font-size: .72rem;
  font-weight: 600;
  color: #475569 !important;
}
.home-platform-metrics {
  padding: 1rem 1.1rem 1.05rem;
}
.home-platform-metric {
  padding: .85rem .95rem;
  min-height: 5.5rem;
  color: inherit;
  transition: border-color .15s ease;
}
.home-platform-metric:hover {
  border-color: rgba(13, 148, 136, .35);
}
.home-platform-metric__label {
  font-size: .72rem;
  color: var(--admin-muted, #64748b);
  margin-bottom: .3rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: .02em;
}
.home-platform-metric__value {
  font-size: .95rem;
  font-weight: 650;
  color: var(--admin-ink, var(--ink));
  line-height: 1.35;
}
.home-platform-metric__unit {
  font-size: .8rem;
  font-weight: 500;
  color: var(--admin-muted, #64748b);
}
.home-platform-metric__sub {
  margin-top: .35rem;
  font-size: .75rem;
  color: var(--admin-muted, #64748b);
  line-height: 1.4;
}
.home-platform-metric__warn {
  display: inline-block;
  margin-left: .35rem;
  padding: .05rem .35rem;
  border-radius: 999px;
  background: #fff7ed;
  color: #c2410c;
  font-weight: 600;
}
.home-platform-quicklinks {
  margin-top: 1rem;
  padding-top: .85rem;
  border-top: 1px solid var(--admin-line, #e2e8f0);
  line-height: 1.8;
}
.home-platform-quicklinks a {
  text-decoration: none;
}
.home-platform-quicklinks a:hover {
  text-decoration: underline;
}
.home-platform-recent {
  padding: 1rem 1.1rem 1.05rem;
}
.home-platform-recent__head {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  justify-content: space-between;
  gap: .5rem 1rem;
}
.home-recent-customers--tiles .home-recent-customers__grid {
  grid-template-columns: repeat(auto-fill, minmax(11.5rem, 1fr));
}
.home-recent-customers--tiles .home-recent-customers__btn {
  min-height: 3.75rem;
  transition: border-color .15s ease, box-shadow .15s ease;
}
.home-recent-customers--tiles .home-recent-customers__btn:hover {
  border-color: #0d9488;
  box-shadow: 0 1px 0 rgba(13, 148, 136, .08);
}
.home-workspace-pick__empty {
  padding: 1rem 1.1rem;
  border: 1px dashed var(--admin-line, #e2e8f0);
  border-radius: 10px;
  background: #f8fafc;
}
.home-hub-card {
  padding: 1rem 1.1rem 1.05rem;
  display: flex;
  flex-direction: column;
  min-height: 9.5rem;
}
.home-hub-card__kicker {
  font-size: .6875rem;
  font-weight: 500;
  letter-spacing: .04em;
  color: var(--admin-muted, var(--muted));
  margin-bottom: .2rem;
}
.home-hub-card .h6 {
  margin: 0 0 .45rem;
  font-weight: 600;
  color: var(--admin-ink, var(--ink));
}
.home-hub-card__stat {
  font-size: .8125rem;
  color: var(--admin-muted, var(--muted));
  line-height: 1.45;
  flex: 1 1 auto;
  margin: 0 0 .85rem;
}
.home-hub-card__stat strong {
  color: var(--admin-ink, var(--ink));
  font-weight: 600;
}
.home-hub-card__actions {
  display: flex;
  flex-wrap: wrap;
  gap: .4rem;
  margin-top: auto;
}
#site-pending,
#pending-reports {
  scroll-margin-top: 4rem;
}
#site-pending.admin-scroll-flash,
#pending-reports.admin-scroll-flash {
  animation: admin-scroll-flash 1.2s ease-out;
}
@keyframes admin-scroll-flash {
  0%, 100% { box-shadow: none; }
  20%, 50% { box-shadow: 0 0 0 3px color-mix(in srgb, var(--admin-accent, #0d9488) 45%, transparent); }
}
.home-site-pending__metrics {
  display: flex;
  flex-wrap: wrap;
  gap: .5rem;
}
.home-site-pending__metric {
  display: inline-flex;
  align-items: center;
  gap: .35rem;
  padding: .25rem .65rem;
  border-radius: 999px;
  font-size: .8125rem;
  text-decoration: none;
  background: color-mix(in srgb, var(--admin-accent, #0d9488) 12%, #fff);
  color: var(--admin-text, #0f172a);
  border: 1px solid color-mix(in srgb, var(--admin-accent, #0d9488) 25%, #e2e8f0);
}
.home-site-pending__metric strong {
  font-weight: 700;
}
.home-site-pending__metric--muted {
  background: #f8fafc;
  border-color: #e2e8f0;
  color: #64748b;
}
.home-site-pending__badge {
  display: inline-block;
  padding: .1rem .45rem;
  border-radius: .35rem;
  font-size: .75rem;
  font-weight: 600;
  white-space: nowrap;
}
.home-site-pending__badge--staff {
  background: #fef3c7;
  color: #92400e;
}
.home-site-pending__badge--follow {
  background: #e0f2fe;
  color: #0369a1;
}
.home-hub-card--muted {
  background: color-mix(in srgb, var(--admin-surface, #fff) 92%, var(--admin-muted, #94a3b8) 8%);
}
.home-hub-card--muted.border-start {
  border-left-color: #cbd5e1 !important;
}
.home-hub-card--muted .h6,
.home-hub-card--muted .home-hub-card__stat strong {
  color: var(--admin-muted, var(--muted));
}
.home-hub-card--muted .home-hub-card__stat {
  color: color-mix(in srgb, var(--admin-muted, #94a3b8) 88%, transparent);
}
.content-hub-edit-page--site-advisor .content-hub-site-advisor-hint {
  font-size: .875rem;
}
.content-hub-edit-page--site-advisor .page-title {
  font-size: 1.25rem;
}
.home-hub-table {
  font-size: .875rem;
}
.home-hub-table thead th {
  font-size: .75rem;
  font-weight: 600;
  color: var(--muted);
  border-bottom-color: var(--line);
}
.home-status {
  display: inline-block;
  font-size: .75rem;
  font-weight: 600;
  padding: .1rem .45rem;
  border-radius: 999px;
  line-height: 1.35;
  white-space: nowrap;
}
.home-status--done {
  color: #0f766e;
  background: var(--accent-soft);
}
.home-status--run {
  color: #b45309;
  background: #fff7ed;
}
.home-status--wait {
  color: #64748b;
  background: #f1f5f9;
}
.home-status--fail {
  color: #b91c1c;
  background: #fef2f2;
}

.home-hub-table__action {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  border: 0;
  background: transparent;
  cursor: pointer;
  font-size: 0.75rem;
  font-weight: 600;
}
.home-hub-table__action--primary { color: #0d9488; }
.home-hub-table__action--danger { color: #dc2626; }

@media (max-width: 767.98px) {
  .admin-body .admin-content {
    padding-left: 0.85rem;
    padding-right: 0.85rem;
  }
  .home-hub-lead {
    margin: 0 0 0.75rem;
    padding: 0.55rem 0.7rem;
    border-radius: 0.5rem;
    background: linear-gradient(180deg, #f0fdfa 0%, #f8fafc 100%);
    border: 1px solid #e2e8f0;
    font-size: 0.8rem;
    line-height: 1.55;
  }
  .home-hub-page .home-hub-card {
    min-height: 0;
    padding: 0.85rem 0.9rem;
  }
  .home-hub-recent.panel-card {
    padding: 0.7rem 0.65rem;
  }
  .home-hub-recent .list-toolbar--compact {
    margin-bottom: 0.55rem !important;
  }
  .home-hub-recent .list-toolbar-main {
    flex-wrap: nowrap;
    align-items: stretch;
    gap: 0.45rem;
  }
  .home-hub-recent .list-toolbar-main .list-search {
    flex: 1 1 auto !important;
    width: auto !important;
    max-width: none;
    min-width: 0;
    font-size: 16px;
    font-weight: 400;
    line-height: 1.25;
    min-height: 2.125rem;
    padding: 0.4rem 0.55rem;
  }
  .home-hub-recent .list-toolbar-main .list-search::placeholder {
    color: #94a3b8;
    font-weight: 400;
  }
  .home-hub-recent .list-toolbar-main .btn {
    flex: 0 0 auto;
    min-width: 3.25rem;
    min-height: 2.125rem;
    padding: 0.38rem 0.75rem;
    font-size: 0.8125rem;
    line-height: 1.35;
    font-weight: 600;
    align-self: stretch;
  }
  .home-hub-recent .table-mobile-wrap {
    margin: 0;
  }

  .home-hub-page .home-hub-table tbody tr:not(.table-empty-row) {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    grid-template-areas:
      "target status"
      "creator time"
      "actions actions";
    gap: 0.28rem 0.5rem;
    margin-bottom: 0.65rem;
    padding: 0.75rem 0.8rem 0.65rem;
    border: 1px solid #e2e8f0;
    border-radius: 0.65rem;
    background: #fff;
    box-shadow: 0 2px 12px rgba(15, 23, 42, 0.04);
  }

  .home-hub-page .home-hub-table tbody tr:not(.table-empty-row) td {
    display: block;
    padding: 0;
    border: none;
    grid-template-columns: unset;
    text-align: left;
  }

  .home-hub-page .home-hub-table tbody tr:not(.table-empty-row) td::before {
    display: block;
    font-size: 0.68rem;
    font-weight: 600;
    color: #94a3b8;
    line-height: 1.3;
    margin-bottom: 0.1rem;
    content: attr(data-label);
  }

  .home-hub-page .home-hub-table__target {
    grid-area: target;
    font-size: 0.86rem;
    font-weight: 650;
    line-height: 1.38;
    color: #0f172a;
    word-break: break-word;
  }
  .home-hub-page .home-hub-table__target::before { display: none !important; }

  .home-hub-page .home-hub-table__status {
    grid-area: status;
    justify-self: end;
    align-self: start;
    padding-top: 0;
  }
  .home-hub-page .home-hub-table__status::before { display: none !important; }
  .home-hub-page .home-hub-table__status .home-status {
    font-size: 0.68rem;
    padding: 0.1rem 0.4rem;
  }

  .home-hub-page .home-hub-table__creator {
    grid-area: creator;
    font-size: 0.75rem;
  }
  .home-hub-page .home-hub-table__time {
    grid-area: time;
    text-align: right;
    font-size: 0.75rem;
  }

  .home-hub-page .home-hub-table__actions {
    grid-area: actions;
    margin-top: 0.45rem;
    padding-top: 0.55rem !important;
    border-top: 1px solid #f1f5f9;
    text-align: left !important;
  }
  .home-hub-page .home-hub-table__actions::before { display: none !important; }

  .home-hub-page .home-hub-table .table-actions {
    display: flex;
    gap: 0.45rem;
    width: 100%;
    justify-content: stretch !important;
  }

  .home-hub-page .home-hub-table .home-hub-table__action {
    flex: 1 1 calc(50% - 0.25rem);
    min-height: 2.25rem;
    padding: 0.4rem 0.55rem;
    font-size: 0.8rem;
    font-weight: 650;
    border-radius: 0.45rem;
    border: 1px solid #e2e8f0;
    background: #fff;
    text-align: center;
  }

  .home-hub-page .home-hub-table .home-hub-table__action--primary {
    color: #fff;
    background: linear-gradient(180deg, #14b8a6 0%, #0d9488 100%);
    border-color: rgba(13, 148, 136, 0.35);
  }

  .home-hub-page .home-hub-table .home-hub-table__action--danger {
    color: #dc2626;
    border-color: #fecaca;
  }
}

/* ===== 我的建站项目 ===== */
.geo-projects-page {
  --gp-ink: var(--admin-ink, #1e293b);
  --gp-muted: var(--admin-muted, #64748b);
  --gp-line: var(--admin-line, #e2e8f0);
}
.geo-projects-page__head .page-title { font-size: 1.35rem; }
.geo-projects-page__head .page-sub { font-size: .8125rem; color: var(--gp-muted); }
.geo-projects-metrics {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 12rem));
  gap: .65rem;
}
.geo-projects-metrics--3 {
  grid-template-columns: repeat(3, minmax(0, 10rem));
}
.geo-delivery-board-page {
  --gp-ink: var(--admin-ink, #1e293b);
  --gp-muted: var(--admin-muted, #64748b);
  --gp-line: var(--admin-line, #e2e8f0);
}
.geo-delivery-board-panel {
  padding: 1rem 1.1rem 1.05rem;
}
.geo-delivery-board-tabs {
  margin-bottom: .85rem;
  padding-bottom: .85rem;
  border-bottom: 1px solid var(--gp-line, #e2e8f0);
}
.admin-status-tabs .btn {
  border-radius: 999px;
  font-weight: 500;
}
.geo-delivery-board-status-form__select {
  width: auto;
  min-width: 7.5rem;
}
.geo-delivery-board-empty {
  padding: 1.25rem .25rem .5rem;
  text-align: left;
}
.geo-projects-metric {
  padding: .75rem .9rem;
  background: #fff;
  border: 1px solid var(--gp-line);
  border-radius: 10px;
}
.geo-projects-metric__value {
  font-size: 1.35rem;
  font-weight: 600;
  color: var(--admin-accent, #0d9488);
  font-variant-numeric: tabular-nums;
  line-height: 1.2;
}
.geo-projects-metric__label {
  margin-top: .15rem;
  font-size: .75rem;
  color: var(--gp-muted);
  font-weight: 500;
}
.geo-projects-panel,
.geo-projects-shell {
  padding: 0;
  overflow: hidden;
}
.geo-projects-shell__body {
  padding: .9rem 1rem 1rem;
}
.geo-projects-toolbar {
  margin-bottom: .75rem !important;
  padding-bottom: 0;
  border-bottom: 0;
}
.geo-projects-toolbar__search { flex: 1 1 12rem; max-width: 18rem; }
.geo-projects-toolbar__mode { flex: 0 0 auto; width: auto; min-width: 7rem; }
.geo-projects-table {
  --bs-table-bg: transparent;
  font-size: .8125rem;
  line-height: 1.45;
}
.geo-projects-table > :not(caption) > * > * {
  padding: .72rem .55rem;
  border-bottom-color: #eef2f6;
  vertical-align: middle;
}
.geo-projects-table thead th {
  font-size: .75rem;
  font-weight: 600;
  color: var(--gp-muted);
  background: #f8fafc;
  border-bottom-color: var(--gp-line);
  white-space: nowrap;
  padding: .58rem .55rem;
}
.geo-projects-table tbody tr:hover { background: #f8fafc; }
.geo-projects-col-name { min-width: 10rem; max-width: 18rem; }
.geo-projects-col-actions {
  width: 1%;
  white-space: nowrap;
  text-align: right;
}
.geo-projects-name {
  display: block;
  font-size: .875rem;
  font-weight: 600;
  color: #0f172a;
  text-decoration: none;
  line-height: 1.4;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.geo-projects-name:hover { color: var(--accent); text-decoration: underline; }
.geo-projects-type {
  margin-top: .18rem;
  font-size: .75rem;
  font-weight: 400;
  color: #64748b;
  line-height: 1.35;
}
.geo-projects-mode {
  display: inline-flex;
  align-items: center;
  font-size: .75rem;
  font-weight: 600;
  padding: .18rem .5rem;
  border-radius: 999px;
  white-space: nowrap;
  line-height: 1.3;
}
.geo-projects-mode--optimize {
  background: #eff6ff;
  color: #1d4ed8;
}
.geo-projects-mode--new {
  background: #ecfdf5;
  color: #0f766e;
}
.geo-projects-source-link {
  font-size: .75rem;
  font-weight: 500;
  color: #2563eb;
  text-decoration: none;
}
.geo-projects-source-link:hover { text-decoration: underline; }
.geo-projects-progress {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: .28rem;
  max-width: 10rem;
}
.geo-projects-status {
  display: inline-flex;
  align-items: center;
  max-width: 100%;
  font-size: .6875rem;
  font-weight: 600;
  padding: .16rem .45rem;
  border-radius: 999px;
  line-height: 1.3;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.geo-projects-status--ok { background: #ecfdf5; color: #0f766e; }
.geo-projects-status--pending { background: #fffbeb; color: #b45309; }
.geo-projects-status--progress { background: #eff6ff; color: #1d4ed8; }
.geo-projects-status--warn { background: #fef3c7; color: #b45309; }
.geo-projects-status--muted { background: #f1f5f9; color: #64748b; }
.geo-projects-score-pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 2rem;
  font-size: .75rem;
  font-weight: 600;
  font-variant-numeric: tabular-nums;
  padding: .15rem .4rem;
  border-radius: 6px;
  background: #f8fafc;
  color: var(--gp-ink);
  border: 1px solid #e2e8f0;
}
.geo-projects-score-pill--warn {
  color: #b45309;
  background: #fffbeb;
  border-color: #fde68a;
}
.geo-projects-score-pill--empty {
  color: #cbd5e1;
  border-color: #f1f5f9;
  background: transparent;
}
.geo-projects-empty__actions { margin-top: .25rem; }
.geo-projects-time {
  font-size: .75rem;
  color: #64748b;
  white-space: nowrap;
  font-variant-numeric: tabular-nums;
}
.geo-projects-actions {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: .35rem;
  min-width: 6.5rem;
}
.geo-projects-actions__primary {
  min-width: 4.25rem;
  padding: .2rem .65rem;
  font-size: .75rem;
  font-weight: 600;
}
.geo-projects-actions__links {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: flex-end;
  gap: .15rem .45rem;
  font-size: .75rem;
  line-height: 1.3;
}
.geo-projects-actions__links a {
  color: #64748b;
  text-decoration: none;
  white-space: nowrap;
}
.geo-projects-actions__links a:hover {
  color: var(--accent);
  text-decoration: underline;
}
.geo-projects-actions__delete {
  display: inline;
  margin: 0;
}
.geo-projects-actions__danger {
  border: 0;
  background: none;
  padding: 0;
  font-size: .75rem;
  color: #dc2626;
  opacity: .85;
  cursor: pointer;
}
.geo-projects-actions__danger:hover { opacity: 1; text-decoration: underline; }
.geo-projects-table__actions { text-align: right; }
.geo-projects-page .list-meta {
  margin-top: .65rem;
  font-size: .75rem;
  color: #94a3b8;
}
.site-delivery-steps .content-wizard-progress__step.is-revision em {
  background: #fef3c7;
  color: #b45309;
}
.site-delivery-steps {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.35rem 0.5rem;
  padding: 0.65rem 0.85rem;
  border-radius: 10px;
  background: #fafbfc;
  border: 1px solid #eef1f6;
}
.site-delivery-steps__step {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  font-size: 0.8125rem;
  font-weight: 500;
  color: #94a3b8;
  white-space: nowrap;
}
.site-delivery-steps__step em {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 1.35rem;
  height: 1.35rem;
  border-radius: 999px;
  background: #e2e8f0;
  color: #64748b;
  font-style: normal;
  font-size: 0.6875rem;
  font-weight: 600;
  line-height: 1;
}
.site-delivery-steps__step.is-current {
  color: #0f766e;
  font-weight: 600;
}
.site-delivery-steps__step.is-current em {
  background: #0d9488;
  color: #fff;
}
.site-delivery-steps__step.is-done {
  color: #64748b;
}
.site-delivery-steps__step.is-done em {
  background: #e8f7f1;
  color: #1a7a5c;
  border: 1px solid #b8e6d4;
}
.site-delivery-steps__step.is-revision em {
  background: #fef3c7;
  color: #b45309;
}
.site-delivery-steps__sep {
  flex: 1 1 1.25rem;
  min-width: 1rem;
  max-width: 2.75rem;
  height: 2px;
  background: #dbe3ee;
  border-radius: 1px;
}
@media (max-width: 992px) {
  .geo-projects-toolbar__search { flex: 1 1 100%; max-width: none; }
  .geo-projects-metrics { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .geo-projects-metrics--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}

@media (max-width: 767.98px) {
  .geo-projects-page__head .page-head-actions {
    width: 100%;
    gap: 0.45rem;
  }
  .geo-projects-page__head .page-head-actions .btn {
    flex: 1 1 auto;
    min-height: 2.35rem;
  }
  .geo-projects-metrics {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.5rem;
  }
  .geo-projects-metrics--3 {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
  .geo-projects-metric {
    padding: 0.6rem 0.7rem;
  }
  .geo-projects-panel {
    padding: 0.7rem 0.65rem;
  }
  .geo-projects-toolbar .list-toolbar-main {
    flex-wrap: wrap;
    gap: 0.45rem;
  }
  .geo-projects-page .table-mobile-wrap {
    overflow: visible;
    margin: 0;
  }
  .geo-projects-page .geo-projects-table {
    display: block;
    width: 100%;
    min-width: 0 !important;
  }
  .geo-projects-page .geo-projects-table thead {
    display: none;
  }
  .geo-projects-page .geo-projects-table tbody {
    display: block;
  }
  .geo-projects-page .geo-projects-table tbody tr.geo-projects-empty-row {
    display: block;
    margin: 0;
    padding: 0;
    border: none;
    background: transparent;
    box-shadow: none;
  }
  .geo-projects-page .geo-projects-empty {
    display: block;
    padding: 1.65rem 1rem;
    border: 1px dashed #e2e8f0;
    border-radius: 0.65rem;
    background: #f8fafc;
    text-align: center;
    color: #64748b;
    white-space: normal;
    word-break: keep-all;
  }
  .geo-projects-empty__title {
    font-size: 0.86rem;
    font-weight: 600;
    color: #475569;
    line-height: 1.45;
    margin: 0 0 0.4rem;
  }
  .geo-projects-empty__hint {
    font-size: 0.75rem;
    line-height: 1.5;
  }
  .geo-projects-page .hub-back-link {
    display: inline-flex;
    align-items: center;
    min-height: 2rem;
    padding: 0.15rem 0;
    font-size: 0.82rem;
    font-weight: 600;
  }
  .geo-projects-page .geo-projects-table tbody tr.geo-projects-table__row {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr);
    grid-template-areas:
      "check name"
      "mode source"
      "progress progress"
      "content score"
      "time time"
      "actions actions";
    column-gap: 0.55rem;
    row-gap: 0.28rem;
    margin-bottom: 0.65rem;
    padding: 0.75rem 0.8rem 0.65rem;
    border: 1px solid #e2e8f0;
    border-radius: 0.65rem;
    background: #fff;
    box-shadow: 0 2px 12px rgba(15, 23, 42, 0.04);
  }

  .geo-projects-page .geo-projects-table tbody tr.geo-projects-table__row > td {
    display: block;
    padding: 0;
    border: none;
    grid-template-columns: unset;
    text-align: left;
  }

  .geo-projects-page .geo-projects-table tbody tr.geo-projects-table__row > td::before {
    display: block;
    font-size: 0.68rem;
    font-weight: 600;
    color: #94a3b8;
    line-height: 1.3;
    margin-bottom: 0.1rem;
    content: attr(data-label);
  }

  .geo-projects-page .geo-projects-table .batch-check-col {
    grid-area: check;
    align-self: start;
    margin: 0;
    padding: 0.2rem 0 0;
    border: none;
  }
  .geo-projects-page .geo-projects-table .batch-check-col::before { display: none !important; }

  .geo-projects-page .geo-projects-table__name {
    grid-area: name;
    min-width: 0;
  }
  .geo-projects-page .geo-projects-table__name::before { display: none !important; }

  .geo-projects-page .geo-projects-table__mode { grid-area: mode; }
  .geo-projects-page .geo-projects-table__source { grid-area: source; }
  .geo-projects-page .geo-projects-table__progress { grid-area: progress; }
  .geo-projects-page .geo-projects-table__score {
    grid-area: score;
    text-align: left !important;
  }
  .geo-projects-page .geo-projects-table__content { grid-area: content; }
  .geo-projects-page .geo-projects-table__time { grid-area: time; text-align: right; }

  .geo-projects-page .geo-projects-table__actions {
    grid-area: actions;
    margin-top: 0.45rem;
    padding-top: 0.55rem !important;
    border-top: 1px solid #f1f5f9;
  }
  .geo-projects-page .geo-projects-table__actions::before { display: none !important; }

  .geo-projects-page .geo-projects-table .geo-projects-actions {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    align-items: center;
    justify-content: stretch;
    gap: 0.45rem;
    width: 100%;
  }
  .geo-projects-page .geo-projects-table .geo-projects-actions__primary {
    flex: 1 1 auto;
    min-height: 2.35rem;
  }
  .geo-projects-page .geo-projects-table .geo-projects-actions__links {
    flex: 1 1 100%;
    justify-content: flex-start;
    gap: 0.5rem 0.75rem;
  }
  .geo-projects-page .geo-projects-table .geo-projects-actions__links a,
  .geo-projects-page .geo-projects-table .geo-projects-actions__danger {
    min-height: 2rem;
    padding: 0.35rem 0.5rem;
    border-radius: 0.45rem;
    border: 1px solid #e2e8f0;
    background: #fff;
    text-align: center;
  }
}

/* ===== 建站报价 SKU ===== */
.quote-sku-page {
  --qs-ink: var(--admin-ink, #1e293b);
  --qs-muted: var(--admin-muted, #64748b);
  --qs-line: var(--admin-line, #e2e8f0);
}
.quote-sku-page__head .page-title { font-size: 1.25rem; }
.quote-sku-page__head .page-sub { font-size: .8125rem; color: var(--qs-muted); max-width: 36rem; }

.quote-sku-shell {
  padding: 0;
  overflow: hidden;
}
.quote-sku-perm-bar {
  display: flex;
  align-items: flex-start;
  gap: .55rem;
  padding: .65rem 1rem;
  background: linear-gradient(90deg, #f0fdfa 0%, #f8fafc 100%);
  border-bottom: 1px solid #ccfbf1;
  font-size: .8125rem;
  line-height: 1.45;
  color: #334155;
}
.quote-sku-perm-bar__icon {
  flex: 0 0 auto;
  width: 1.1rem;
  height: 1.1rem;
  margin-top: .1rem;
  border-radius: 50%;
  background: #14b8a6;
  color: #fff;
  font-size: .6875rem;
  font-weight: 700;
  font-style: normal;
  line-height: 1.1rem;
  text-align: center;
}
.quote-sku-perm-bar__text { flex: 1 1 auto; }

.quote-sku-shell__header {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: .65rem 1rem;
  padding: .85rem 1rem;
  border-bottom: 1px solid var(--qs-line);
  background: #fafbfc;
}
.quote-sku-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: .4rem;
  margin: 0;
}
.quote-sku-tabs .btn {
  min-width: 7.5rem;
  border-radius: 999px;
  font-weight: 500;
}
.quote-sku-shell__hint {
  flex: 1 1 14rem;
  font-size: .75rem;
  color: var(--qs-muted);
  line-height: 1.45;
  text-align: right;
}
.quote-sku-shell__body {
  padding: .9rem 1rem 1rem;
}

.quote-sku-toolbar {
  margin-bottom: .75rem !important;
  padding-bottom: 0;
  border-bottom: 0;
}
.quote-sku-toolbar__search { flex: 1 1 12rem; max-width: 18rem; }
.quote-sku-toolbar__rule { flex: 0 1 12rem; max-width: 14rem; min-width: 8rem; }
.quote-sku-toolbar__enabled { flex: 0 0 auto; width: auto; min-width: 6.5rem; }
.quote-sku-table { --bs-table-bg: transparent; font-size: .875rem; }
.quote-sku-table > :not(caption) > * > * {
  padding: .7rem .55rem;
  border-bottom-color: #eef2f6;
  vertical-align: middle;
}
.quote-sku-table thead th {
  font-size: .75rem;
  font-weight: 600;
  color: var(--qs-muted);
  background: #f8fafc;
  border-bottom-color: var(--qs-line);
  white-space: nowrap;
}
.quote-sku-table tbody tr.is-disabled { opacity: .68; }
.quote-sku-table tbody tr:hover { background: #f8fafc; }
.quote-sku-code {
  font-size: .75rem;
  color: #0f766e;
  background: #f0fdfa;
  padding: .15rem .4rem;
  border-radius: 6px;
  white-space: nowrap;
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
}
.quote-sku-name {
  font-weight: 600;
  color: var(--qs-ink);
  line-height: 1.35;
  max-width: 16rem;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.quote-sku-hint {
  margin-top: .2rem;
  font-size: .6875rem;
  color: #94a3b8;
  max-width: 16rem;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.quote-sku-rule {
  display: inline-block;
  max-width: 9rem;
  font-size: .75rem;
  color: #475569;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  vertical-align: bottom;
}
.quote-sku-trigger {
  font-size: .75rem;
  color: #475569;
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  max-width: 8rem;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.quote-sku-num {
  font-variant-numeric: tabular-nums;
  font-weight: 600;
  color: var(--qs-ink);
  white-space: nowrap;
}
.quote-sku-status-wrap {
  display: inline-flex;
  align-items: center;
  flex-wrap: wrap;
  gap: .35rem .45rem;
}
.quote-sku-badge {
  display: inline-block;
  font-size: .6875rem;
  font-weight: 600;
  padding: .16rem .45rem;
  border-radius: 999px;
  line-height: 1.3;
}
.quote-sku-badge--on { background: #ecfdf5; color: #0f766e; }
.quote-sku-badge--off { background: #f1f5f9; color: #64748b; }
.quote-sku-toggle-form { display: inline; margin: 0; }
.quote-sku-toggle-btn {
  border: 1px solid var(--qs-line);
  background: #fff;
  color: var(--qs-muted);
  font-size: .6875rem;
  font-weight: 500;
  padding: .12rem .45rem;
  border-radius: 999px;
  line-height: 1.3;
  cursor: pointer;
  transition: border-color .15s, color .15s, background .15s;
}
.quote-sku-toggle-btn:hover {
  border-color: #cbd5e1;
  color: var(--qs-ink);
  background: #f8fafc;
}
.quote-sku-actions { gap: .45rem; }
.quote-sku-actions .btn-link-action,
.quote-sku-actions .btn-delete-link {
  font-size: .8125rem;
}
.quote-sku-actions .btn-delete-link { opacity: .75; }
.quote-sku-table tbody tr:hover .btn-delete-link { opacity: 1; }
.quote-sku-foot {
  margin: .85rem 0 0;
  padding-top: .75rem;
  border-top: 1px solid #eef2f6;
  font-size: .75rem;
  color: #94a3b8;
  line-height: 1.45;
}
@media (max-width: 992px) {
  .quote-sku-shell__header {
    flex-direction: column;
    align-items: stretch;
  }
  .quote-sku-shell__hint { text-align: left; }
  .quote-sku-toolbar__search,
  .quote-sku-toolbar__rule {
    flex: 1 1 100%;
    max-width: none;
  }
  .quote-sku-tabs .btn {
    flex: 1 1 auto;
    min-width: 0;
  }
}

/* ===== 专家参考库 ===== */
.skills-overview {
  max-width: 44rem;
}
.skills-overview__head .page-title {
  font-size: 1.35rem;
}
.skills-overview__head .page-sub {
  font-size: .8125rem;
  color: #64748b;
  max-width: 32rem;
}
.skills-overview__status {
  padding: 1.15rem 1.2rem 1.1rem;
  background: linear-gradient(180deg, #f7fffd 0%, #fff 48%);
  border-color: #d9ebe7;
}
.skills-overview__status-top {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: flex-start;
  gap: .85rem 1rem;
  margin-bottom: 1rem;
  padding-bottom: .95rem;
  border-bottom: 1px solid #eef2f6;
}
.skills-overview__label {
  font-size: .75rem;
  font-weight: 500;
  color: var(--admin-muted, #64748b);
  margin-bottom: .25rem;
}
.skills-overview__ready {
  font-size: 1.4rem;
  font-weight: 600;
  line-height: 1.2;
  letter-spacing: -.02em;
  margin-bottom: .3rem;
}
.skills-overview__ready.is-ready { color: var(--admin-accent, #0d9488); }
.skills-overview__ready.is-building { color: var(--admin-accent, #0d9488); opacity: .85; }
.skills-overview__hint {
  font-size: .8125rem;
  color: var(--admin-muted, #64748b);
  line-height: 1.45;
  max-width: 26rem;
}
.skills-overview__actions {
  display: flex;
  flex-wrap: wrap;
  gap: .4rem;
  flex-shrink: 0;
}
.skills-overview__metrics {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: .55rem;
}
.skills-overview__metric {
  padding: .7rem .75rem;
  background: #fff;
  border: 1px solid #e8edf2;
  border-radius: 10px;
  text-align: center;
}
.skills-overview__metric--total {
  background: #f0fdfa;
  border-color: #ccfbf1;
}
.skills-overview__metric-value {
  font-size: 1.35rem;
  font-weight: 700;
  color: #1e293b;
  font-variant-numeric: tabular-nums;
  line-height: 1.2;
}
.skills-overview__metric--total .skills-overview__metric-value {
  color: #0f766e;
}
.skills-overview__metric-label {
  margin-top: .2rem;
  font-size: .75rem;
  color: #64748b;
  font-weight: 600;
}
.skills-overview__foot {
  margin: 0;
  font-size: .8125rem;
  color: var(--admin-muted, #64748b);
  line-height: 1.45;
}
@media (max-width: 640px) {
  .skills-overview__metrics {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

/* ===== 经验清单（高级） ===== */
.skills-page {
  --sk-ink: var(--admin-ink, #1e293b);
  --sk-muted: var(--admin-muted, #64748b);
  --sk-line: var(--admin-line, #e2e8f0);
}
.skills-page__head .page-title { font-size: 1.35rem; }
.skills-page__head .page-sub {
  font-size: .8125rem;
  color: var(--sk-muted);
}
.skills-panel { padding: 1rem 1.1rem 1.05rem; }
.skills-toolbar {
  margin-bottom: .85rem !important;
  padding-bottom: .85rem;
  border-bottom: 1px solid var(--sk-line);
}
.skills-toolbar__search {
  flex: 1 1 12rem;
  max-width: 18rem;
}
.skills-toolbar__domain,
.skills-toolbar__status {
  flex: 0 0 auto;
  width: auto;
  min-width: 6.5rem;
}
.skills-batch {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: .5rem .85rem;
  margin-bottom: .75rem;
  padding: .55rem .7rem;
  background: #f8fafc;
  border: 1px solid var(--sk-line);
  border-radius: 8px;
}
.skills-batch__left,
.skills-batch__right {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: .45rem .55rem;
}
.skills-batch__status {
  width: 6.5rem;
}
.skills-table {
  --bs-table-bg: transparent;
  font-size: .875rem;
}
.skills-table > :not(caption) > * > * {
  padding: .65rem .5rem;
  border-bottom-color: #eef2f6;
  vertical-align: middle;
}
.skills-table thead th {
  font-size: .75rem;
  font-weight: 650;
  color: var(--sk-muted);
  background: #f8fafc;
  border-bottom-color: var(--sk-line);
  white-space: nowrap;
}
.skills-col-name {
  min-width: 14rem;
  max-width: 26rem;
}
.skills-name {
  display: inline-block;
  max-width: 100%;
  font-size: .875rem;
  font-weight: 600;
  color: var(--sk-ink);
  line-height: 1.35;
  text-decoration: none;
}
.skills-name:hover {
  color: var(--accent);
  text-decoration: underline;
}
.skills-code {
  margin-top: .12rem;
  font-size: .6875rem;
  color: #94a3b8;
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 22rem;
}
.skills-hint {
  margin-top: .2rem;
  font-size: .6875rem;
  color: #94a3b8;
  line-height: 1.35;
  display: -webkit-box;
  -webkit-line-clamp: 1;
  -webkit-box-orient: vertical;
  overflow: hidden;
  max-width: 24rem;
}
.skills-domain,
.skills-status {
  display: inline-block;
  font-size: .6875rem;
  font-weight: 650;
  padding: .16rem .45rem;
  border-radius: 6px;
  line-height: 1.3;
  white-space: nowrap;
}
.skills-domain--geo { background: #ecfdf5; color: #0f766e; }
.skills-domain--video { background: #f5f3ff; color: #6d28d9; }
.skills-domain--diagnose { background: #eff6ff; color: #1d4ed8; }
.skills-domain--cross { background: #fff7ed; color: #c2410c; }
.skills-status--draft { background: #f1f5f9; color: #64748b; }
.skills-status--trial { background: #eff6ff; color: #1d4ed8; }
.skills-status--official { background: #ecfdf5; color: #0f766e; }
.skills-status--retired { background: #fef2f2; color: #b91c1c; }
.skills-num {
  font-variant-numeric: tabular-nums;
  font-weight: 600;
  color: var(--sk-ink);
  white-space: nowrap;
}
.skills-actions { gap: .55rem; }
.skills-actions .btn-link-action {
  border: 0;
  background: none;
  padding: 0;
  font-size: .8125rem;
  color: var(--accent);
  text-decoration: none;
}
.skills-actions .btn-link-action:hover { text-decoration: underline; }
.skills-actions .btn-delete-link {
  font-size: .8125rem;
  opacity: .7;
}
.skills-table tbody tr:hover { background: #f8fafc; }
.skills-table tbody tr:hover .btn-delete-link { opacity: 1; }
@media (max-width: 992px) {
  .skills-toolbar__search {
    flex: 1 1 100%;
    max-width: none;
  }
}

/* ===== 经验条目详情 ===== */
.skills-detail {
  max-width: 52rem;
}
.skills-detail__head {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: flex-start;
  gap: .85rem 1rem;
  margin-bottom: 1rem;
}
.skills-detail__crumbs {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: .35rem;
  margin-bottom: .45rem;
  font-size: .75rem;
  color: #94a3b8;
}
.skills-detail__crumbs a {
  color: #64748b;
  text-decoration: none;
}
.skills-detail__crumbs a:hover { color: var(--accent); }
.skills-detail__title {
  margin: 0 0 .55rem;
  font-size: 1.35rem;
  font-weight: 700;
  color: #1e293b;
  line-height: 1.35;
  letter-spacing: -.01em;
}
.skills-detail__meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: .4rem .5rem;
  margin-bottom: .55rem;
}
.skills-detail__meta .skills-code {
  margin: 0;
  max-width: none;
  padding: .12rem .4rem;
  background: #f1f5f9;
  border-radius: 4px;
}
.skills-detail__ver {
  font-size: .75rem;
  color: #94a3b8;
}
.skills-detail__stats {
  display: flex;
  flex-wrap: wrap;
  gap: .45rem .75rem;
  margin-bottom: .35rem;
  font-size: .8125rem;
  color: #64748b;
}
.skills-detail__stats strong {
  color: #0f766e;
  font-weight: 700;
  font-variant-numeric: tabular-nums;
}
.skills-detail__advice {
  margin: .35rem 0 0;
  font-size: .8125rem;
  color: #64748b;
  line-height: 1.45;
  max-width: 40rem;
}
.skills-detail__head-actions {
  display: flex;
  flex-wrap: wrap;
  gap: .45rem;
  flex-shrink: 0;
}
.skills-detail__body {
  padding: 1.15rem 1.25rem 1.25rem;
  margin-bottom: 1rem;
}
.skills-detail__summary {
  margin: 0 0 1rem;
  padding-bottom: .85rem;
  border-bottom: 1px solid #eef2f6;
  font-size: .875rem;
  color: #475569;
  line-height: 1.55;
}
.skill-md {
  font-size: .875rem;
  color: #334155;
  line-height: 1.65;
}
.skill-md h2 {
  margin: 0 0 .85rem;
  font-size: 1.05rem;
  font-weight: 700;
  color: #1e293b;
}
.skill-md h3 {
  margin: 1.15rem 0 .5rem;
  padding-top: .35rem;
  border-top: 1px solid #eef2f6;
  font-size: .9375rem;
  font-weight: 650;
  color: #0f766e;
}
.skill-md h3:first-child {
  border-top: 0;
  padding-top: 0;
  margin-top: 0;
}
.skill-md h4 {
  margin: .85rem 0 .4rem;
  font-size: .875rem;
  font-weight: 650;
  color: #475569;
}
.skill-md p {
  margin: 0 0 .65rem;
}
.skill-md code {
  font-size: .8125rem;
  padding: .05rem .3rem;
  background: #f1f5f9;
  border-radius: 4px;
  color: #0f766e;
}
.skill-md__list,
.skill-md__checks {
  margin: 0 0 .85rem;
  padding-left: 1.15rem;
}
.skill-md__list li,
.skill-md__checks li {
  margin-bottom: .35rem;
}
.skill-md__checks {
  list-style: none;
  padding-left: 0;
}
.skill-md__checks li {
  position: relative;
  padding: .4rem .65rem .4rem 2rem;
  margin-bottom: .35rem;
  background: #f8fafc;
  border: 1px solid #eef2f6;
  border-radius: 8px;
}
.skill-md__checks li::before {
  content: "";
  position: absolute;
  left: .65rem;
  top: .55rem;
  width: .85rem;
  height: .85rem;
  border: 1.5px solid #94a3b8;
  border-radius: 3px;
  background: #fff;
}
.skill-md__checks li.is-done {
  background: #f0fdfa;
  border-color: #ccfbf1;
  color: #0f766e;
}
.skill-md__checks li.is-done::before {
  border-color: #0f766e;
  background: #0f766e;
  box-shadow: inset 0 0 0 2px #fff;
}
.skills-detail__footer {
  padding: .85rem 1rem;
  background: #fff;
  border: 1px solid #e2e8f0;
  border-radius: 10px;
}
.skills-detail__footer-main {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: .45rem .55rem;
}
.skills-detail__footer-label {
  font-size: .8125rem;
  color: #94a3b8;
  margin-right: .15rem;
}

/* ===== 竞品样本列表（网站 + 短视频统一） ===== */
.competitor-sample-page {
  --sample-ink: var(--admin-ink, #1e293b);
  --sample-muted: var(--admin-muted, #64748b);
  --sample-line: var(--admin-line, #e2e8f0);
  --sample-soft: #f8fafc;
}
.competitor-sample-page .page-head .page-title {
  font-size: 1.35rem;
  font-weight: 650;
  color: var(--sample-ink);
}
.competitor-sample-page .page-head .page-sub--meta {
  font-size: .8125rem;
  color: var(--sample-muted);
  line-height: 1.5;
  max-width: 42rem;
}
.competitor-sample-page .page-head-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: flex-end;
  gap: 0.45rem;
}
.competitor-sample-page .page-head-actions .btn {
  flex: 0 0 auto !important;
  width: auto !important;
  min-height: 2rem;
  padding-left: 0.75rem;
  padding-right: 0.75rem;
}
.competitor-sample-page .page-head-actions .btn-accent {
  font-weight: 600;
}
.competitor-sample-panel {
  padding: 1rem 1.1rem 1.05rem;
}
.list-view-tabs--segmented {
  padding: .22rem;
  border-radius: 10px;
  background: #f1f5f9;
  border: 1px solid var(--sample-line, #e2e8f0);
  gap: .25rem !important;
  margin-bottom: .65rem !important;
}
.list-view-tabs--segmented .btn {
  border: none !important;
  box-shadow: none !important;
  border-radius: 7px !important;
  font-weight: 600;
  min-height: 2rem;
}
.list-view-tabs--segmented .btn-outline-secondary {
  background: transparent;
  color: #64748b;
}
.list-view-tabs--segmented .btn-outline-secondary:hover {
  background: rgba(255, 255, 255, 0.65);
  color: #475569;
}
.list-view-tabs--segmented .btn-accent {
  box-shadow: 0 1px 3px rgba(13, 148, 136, 0.22);
}
.list-view-tabs__hint {
  font-size: .75rem;
  color: #94a3b8 !important;
  margin-left: .15rem;
  white-space: nowrap;
}
.competitor-sample-toolbar {
  margin-bottom: .85rem !important;
  padding-bottom: .85rem;
  border-bottom: 1px solid var(--sample-line, #e2e8f0);
}
.competitor-sample-page .list-toolbar-main--sample {
  display: flex;
  flex-wrap: nowrap;
  align-items: center;
  gap: 0.45rem;
}
.competitor-sample-page .competitor-sample-search {
  flex: 1 1 11rem;
  max-width: 18rem;
  min-width: 8rem;
  width: auto;
  background: #fff;
}
.competitor-sample-page .competitor-sample-theme {
  flex: 1 1 10rem;
  max-width: 16rem;
  min-width: 8rem;
  width: auto;
  background: var(--sample-soft, #f8fafc);
  border-color: #cbd5e1;
  color: #334155;
  font-weight: 500;
}
.competitor-sample-page .competitor-sample-submit {
  flex: 0 0 auto;
  min-width: 4.25rem;
  font-weight: 600;
  padding-left: .85rem;
  padding-right: .85rem;
}
.competitor-sample-page .competitor-sample-reset {
  flex: 0 0 auto;
  color: #64748b !important;
  text-decoration: none;
  padding-left: .35rem;
  padding-right: .35rem;
}
.competitor-sample-page .competitor-sample-toolbar .list-toolbar-main--sample {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: thin;
  padding-bottom: 0.1rem;
}
.competitor-sample-page .competitor-sample-reset:hover {
  color: #0f766e !important;
}
.competitor-sample-page .table-actions.sites-actions,
.competitor-sample-page .table-actions.video-list-actions {
  display: inline-flex;
  flex-direction: row;
  flex-wrap: wrap;
  align-items: center;
  justify-content: flex-end;
  gap: 0.35rem;
  width: auto;
  max-width: none;
  white-space: nowrap;
}
.competitor-sample-page .table-actions.sites-actions > form,
.competitor-sample-page .table-actions.video-list-actions > form {
  display: inline-flex;
  width: auto;
  margin: 0;
}
.admin-body .admin-content :is(.admin-list-page, .competitor-sample-page) .table-actions .hub-card-action,
.admin-body .admin-content :is(.admin-list-page, .competitor-sample-page) .table-actions a.hub-card-action,
.admin-body .admin-content :is(.admin-list-page, .competitor-sample-page) .table-actions button.hub-card-action {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: auto;
  flex: 0 0 auto;
  box-sizing: border-box;
  padding: 0.28rem 0.55rem;
  min-height: 1.85rem;
  font-size: 0.75rem;
  line-height: 1.2;
  border-radius: 6px;
  border: 1px solid #e2e8f0;
  background: #fff;
  color: #475569 !important;
  text-decoration: none !important;
  font-weight: 600;
  cursor: pointer;
  opacity: 1;
}
.admin-body .admin-content :is(.admin-list-page, .competitor-sample-page) .table-actions .hub-card-action:hover,
.admin-body .admin-content :is(.admin-list-page, .competitor-sample-page) .table-actions a.hub-card-action:hover,
.admin-body .admin-content :is(.admin-list-page, .competitor-sample-page) .table-actions button.hub-card-action:hover {
  text-decoration: none !important;
  background: #f8fafc;
  border-color: #cbd5e1;
}
.admin-body .admin-content :is(.admin-list-page, .competitor-sample-page) .table-actions .hub-card-action--primary,
.admin-body .admin-content :is(.admin-list-page, .competitor-sample-page) .table-actions a.hub-card-action--primary {
  color: #0d9488 !important;
  background: #fff;
  border-color: #99f6e4;
}
.admin-body .admin-content :is(.admin-list-page, .competitor-sample-page) .table-actions .hub-card-action--primary:hover,
.admin-body .admin-content :is(.admin-list-page, .competitor-sample-page) .table-actions a.hub-card-action--primary:hover {
  background: #f0fdfa;
  border-color: #5eead4;
}
.admin-body .admin-content :is(.admin-list-page, .competitor-sample-page) .table-actions .hub-card-action--danger,
.admin-body .admin-content :is(.admin-list-page, .competitor-sample-page) .table-actions .btn-delete-link.hub-card-action--danger {
  color: #dc2626 !important;
  background: #fff;
  border-color: #fecaca;
}
.admin-body .admin-content :is(.admin-list-page, .competitor-sample-page) .table-actions .hub-card-action--danger:hover {
  background: #fef2f2;
  border-color: #fca5a5;
}

/* ===== 竞品网站 ===== */
.sites-page {
  --sites-ink: var(--admin-ink, #1e293b);
  --sites-muted: var(--admin-muted, #64748b);
  --sites-line: var(--admin-line, #e2e8f0);
}
.sites-page__head .page-title {
  font-size: 1.35rem;
}
.sites-page__head .page-sub {
  font-size: .8125rem;
  color: var(--sites-muted);
}
.sites-panel {
  padding: 1rem 1.1rem 1.05rem;
}
.sites-toolbar {
  margin-bottom: .85rem !important;
  padding-bottom: .85rem;
  border-bottom: 1px solid var(--sites-line);
}
.sites-toolbar__search {
  flex: 1 1 14rem;
  max-width: 22rem;
}
.sites-toolbar__theme {
  flex: 0 1 16rem;
  max-width: 18rem;
  min-width: 10rem;
}
.sites-view-tabs {
  display: flex;
  flex-wrap: nowrap;
  gap: 0.35rem;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  padding-bottom: 0.1rem;
  margin-bottom: 0.55rem !important;
  scrollbar-width: none;
}
.sites-view-tabs::-webkit-scrollbar {
  display: none;
}
.sites-view-tabs .btn {
  flex: 0 0 auto;
  white-space: nowrap;
}
.sites-table {
  --bs-table-bg: transparent;
  font-size: .875rem;
}
.sites-table > :not(caption) > * > * {
  padding: .7rem .55rem;
  border-bottom-color: #eef2f6;
  vertical-align: middle;
}
.sites-table thead th {
  font-size: .75rem;
  font-weight: 650;
  color: var(--sites-muted);
  background: #f8fafc;
  border-bottom-color: var(--sites-line);
  white-space: nowrap;
}
.sites-col-title {
  min-width: 12rem;
  max-width: 22rem;
}
.sites-title {
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  font-size: .875rem;
  font-weight: 600;
  color: var(--sites-ink);
  line-height: 1.35;
  text-decoration: none;
}
.sites-title:hover {
  color: var(--accent);
  text-decoration: underline;
}
.sites-host {
  margin-top: .15rem;
  font-size: .75rem;
  color: #94a3b8;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 20rem;
}
.sites-brand {
  font-size: .8125rem;
  font-weight: 600;
  color: #334155;
  max-width: 8.5rem;
  display: inline-block;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  vertical-align: bottom;
}
.sites-theme {
  display: inline-block;
  max-width: 9.5rem;
  padding: .16rem .45rem;
  border-radius: 6px;
  background: #ecfdf5;
  color: #0f766e;
  font-size: .6875rem;
  font-weight: 650;
  line-height: 1.3;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  vertical-align: middle;
}
.sites-industry {
  margin-top: .2rem;
  font-size: .6875rem;
  color: #94a3b8;
}
.sites-muted {
  font-size: .8125rem;
  color: #94a3b8;
}
.sites-num {
  font-variant-numeric: tabular-nums;
  font-weight: 600;
  color: var(--sites-ink);
  white-space: nowrap;
}
.sites-badge {
  display: inline-block;
  font-size: .6875rem;
  font-weight: 650;
  padding: .14rem .4rem;
  border-radius: 999px;
  line-height: 1.3;
}
.sites-badge--yes {
  background: #ecfdf5;
  color: #0f766e;
}
.sites-badge--no {
  background: #f1f5f9;
  color: #64748b;
}
.video-meta-row {
  display: flex;
  flex-wrap: wrap;
  gap: .35rem;
}
.video-meta-badge {
  display: inline-block;
  font-size: .6875rem;
  font-weight: 650;
  padding: .14rem .45rem;
  border-radius: 999px;
  line-height: 1.3;
  white-space: nowrap;
}
.video-meta-badge--form {
  background: #ecfeff;
  color: #0e7490;
}
.video-meta-badge--real {
  background: #ecfdf5;
  color: #047857;
}
.video-meta-badge--template {
  background: #eef2ff;
  color: #4338ca;
}
.video-meta-badge--ai {
  background: #fff7ed;
  color: #c2410c;
}
.video-meta-badge--mixed {
  background: #f5f3ff;
  color: #6d28d9;
}
.video-meta-badge--unknown {
  background: #f1f5f9;
  color: #64748b;
}
.video-meta-badge--bench {
  background: #fef3c7;
  color: #b45309;
}

/* ===== 短视频样本列表 ===== */
.video-list-page {
  --video-ink: var(--admin-ink, #1e293b);
  --video-muted: var(--admin-muted, #64748b);
  --video-line: var(--admin-line, #e2e8f0);
}
.video-list-page__head .page-title {
  font-size: 1.35rem;
}
.video-list-page__head .page-sub {
  font-size: .8125rem;
  color: var(--video-muted);
  max-width: 42rem;
}
.video-list-panel {
  padding: 1rem 1.1rem 1.05rem;
}
.video-list-toolbar {
  margin-bottom: .85rem !important;
  padding-bottom: .85rem;
  border-bottom: 1px solid var(--video-line);
}
.list-view-tabs--segmented .list-view-tabs__hint {
  flex: 1 1 100%;
  text-align: center;
  padding: .15rem 0 0;
  margin: 0;
}
@media (min-width: 576px) {
  .list-view-tabs--segmented .list-view-tabs__hint {
    flex: 0 0 auto;
    text-align: left;
    padding: 0;
    margin-left: .35rem;
  }
}
.video-list-chip {
  display: inline-flex;
  align-items: center;
  max-width: 100%;
  padding: .12rem .42rem;
  border-radius: 6px;
  background: #f1f5f9;
  color: #475569;
  font-size: .6875rem;
  font-weight: 600;
  line-height: 1.35;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.video-list-chip--platform {
  background: #ecfeff;
  color: #0e7490;
}
.video-list-chip--muted {
  background: transparent;
  color: #94a3b8;
  font-weight: 500;
  padding-left: 0;
  padding-right: 0;
}
.video-list-table {
  --vl-gap: .35rem;
  font-size: .875rem;
}
.video-list-table.sites-table thead th {
  background: #f8fafc;
}
.video-list-table__row:hover {
  background: #f8fafc;
}
.video-list-table > thead > tr > th {
  white-space: nowrap;
  font-size: .75rem;
  color: #64748b;
  font-weight: 600;
  border-bottom-width: 1px;
}
.video-list-table > tbody > tr > td {
  vertical-align: top;
  padding-top: .85rem;
  padding-bottom: .85rem;
  border-bottom-color: #eef2f6;
}
.video-list-page .video-list-page__table-wrap.table-mobile-wrap {
  margin-left: 0;
  margin-right: 0;
  max-width: 100%;
  overflow-x: auto;
  overflow-y: visible;
  -webkit-overflow-scrolling: touch;
  padding-right: 0.15rem;
}
.video-list-page__table {
  table-layout: fixed;
  width: 100%;
  min-width: 0;
}
.video-list-page__table .batch-check-col {
  width: 2.25rem;
}
.video-list-page__table .video-list-col-main {
  width: auto;
  min-width: 0;
}
.video-list-page__table .video-list-col-reach {
  width: 7.25rem;
}
.video-list-page__table .video-list-col-insight {
  width: 10.5rem;
}
.video-list-page__table .video-list-col-tag {
  width: 9.25rem;
}
.video-list-page__table .video-list-col-theme,
.video-list-table .sites-table__theme {
  width: 8.5rem;
}
.admin-body .admin-content .video-list-page .video-list-page__table > thead > tr > th {
  background: var(--admin-soft, #f8fafc);
  color: var(--admin-muted, #64748b);
  border-bottom: 1px solid var(--admin-line, #e2e8f0);
  font-weight: 600;
  padding: 0.55rem 0.6rem;
  vertical-align: middle;
}
@media (min-width: 768px) {
  .video-list-page__table > tbody > tr > td {
    border-bottom: 1px solid #eef2f6;
  }
  .video-list-page__table > tbody > tr:nth-child(even):not(.table-empty-row) {
    background: rgba(248, 250, 252, 0.45);
  }
  .video-list-page__table > tbody > tr:hover {
    background: #f8fafc;
  }
  .video-list-page__table > tbody > tr > td.video-list-reach,
  .video-list-page__table > tbody > tr > td.video-list-insight {
    background: rgba(241, 245, 249, 0.55);
  }
  .video-list-page__table > tbody > tr:hover > td.video-list-reach,
  .video-list-page__table > tbody > tr:hover > td.video-list-insight {
    background: #f1f5f9;
  }
  .video-list-page__table .video-reach-compact {
    max-width: none;
    width: 100%;
  }
}
.video-list-insight__row {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: .25rem;
  margin-bottom: .2rem;
}
.video-list-insight__pill {
  max-width: 100%;
  font-size: .68rem;
  font-weight: 600;
  line-height: 1.35;
  padding: .15rem .45rem;
  border-radius: 6px;
  border: 1px solid #e2e8f0;
  background: #f8fafc;
  color: #334155;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: normal;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
}
.video-list-insight__track--breakout {
  background: #fff7ed;
  border-color: #fdba74;
  color: #c2410c;
}
.video-list-insight__track--vertical {
  background: #eff6ff;
  border-color: #93c5fd;
  color: #1d4ed8;
}
.video-list-insight__driver {
  background: #f0fdf4;
  border-color: #86efac;
  color: #166534;
}
.video-list-insight__publish {
  color: #b45309;
  font-weight: 600;
  text-decoration: none;
}
.video-list-insight__publish:hover { text-decoration: underline; }
.video-list-insight__pending {
  display: inline-block;
  margin-top: 0.15rem;
  padding: 0.1rem 0.4rem;
  border-radius: 4px;
  background: #fffbeb;
  border: 1px solid #fcd34d;
  color: #92400e;
  font-weight: 600;
}
.hub-card-action--warn { color: #b45309; font-weight: 600; }
.attr-template-publish--prominent {
  border: 2px solid #fbbf24;
  box-shadow: 0 0 0 1px rgba(251, 191, 36, .25);
  background: #fff;
}
.attr-template-publish__draft-list {
  margin: 0;
  padding: 0;
}
.attr-template-publish__draft-row {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 0.35rem 0.5rem;
  padding: 0.45rem 0;
  border-bottom: 1px solid #e2e8f0;
  color: #0f172a;
  font-size: 0.875rem;
  line-height: 1.45;
}
.attr-template-publish__draft-row:last-child {
  border-bottom: none;
}
.attr-template-publish__type {
  background: #334155 !important;
  color: #fff !important;
  font-weight: 600;
  font-size: 0.72rem;
}
.attr-template-publish__track {
  background: #e0f2fe !important;
  color: #0c4a6e !important;
  border: 1px solid #7dd3fc !important;
  font-weight: 600;
  font-size: 0.72rem;
}
.attr-template-publish__title {
  flex: 1 1 12rem;
  min-width: 0;
  font-weight: 600;
  color: #0f172a;
}
.attr-template-publish--prominent .attr-block__hint {
  color: #475569;
}
.attr-template-publish__verdict-head {
  color: inherit;
  font-weight: 600;
}
.attr-template-publish__rules-summary {
  cursor: pointer;
  color: inherit;
  opacity: 0.9;
}
.attr-layout-morph-plain__row {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 0.35rem 0.5rem;
  padding: 0.35rem 0;
  font-size: 0.875rem;
}
.attr-layout-morph-plain__value {
  font-weight: 650;
  color: #0f172a;
}
.attr-layout-morph-plain__reason {
  font-size: 0.8125rem;
  color: #475569;
  margin-top: 0.25rem;
}
.attr-layout-publish__criteria {
  color: #475569;
  line-height: 1.5;
}
.attr-publish-banner { font-size: .875rem; }
.attr-block--flash {
  animation: attr-block-flash 2s ease-out 1;
}
@keyframes attr-block-flash {
  0% { box-shadow: 0 0 0 3px rgba(13, 148, 136, 0.45); }
  100% { box-shadow: none; }
}
.video-list-page__table .video-list-col-act {
  width: 7.5rem;
  min-width: 7.5rem;
  max-width: 8.5rem;
  vertical-align: middle;
}
.video-list-page__table .video-list-col-case {
  width: 4.5rem;
  min-width: 4.5rem;
  text-align: center;
  vertical-align: middle;
}
.video-list-case-switch .form-check-label {
  font-size: 0.68rem;
  color: #64748b;
}
.competitor-sample-page .table-actions.video-list-actions--inline {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 0.35rem;
  width: 100%;
  min-width: 0;
}
.competitor-sample-page .table-actions.video-list-actions--inline .video-list-actions__form {
  display: block;
  width: 100%;
  margin: 0;
}
.competitor-sample-page .table-actions.video-list-actions--inline .hub-card-action,
.competitor-sample-page .table-actions.video-list-actions--inline a.hub-card-action,
.competitor-sample-page .table-actions.video-list-actions--inline button.hub-card-action,
.competitor-sample-page .table-actions.video-list-actions--inline .btn-delete-link {
  width: 100%;
  min-width: 0;
  justify-content: center;
  text-align: center;
  padding: 0.35rem 0.4rem;
  font-size: 0.72rem;
  line-height: 1.25;
  white-space: nowrap;
}
.competitor-sample-page .table-actions.video-list-actions--inline .hub-card-action--warn {
  width: 100%;
}
.competitor-sample-page .video-list-actions--inline .hub-card-action--primary {
  color: #0f766e !important;
  border-color: #2dd4bf !important;
  background: #ecfdf5 !important;
  font-weight: 600;
}
.competitor-sample-page .video-list-actions--inline .hub-card-action--secondary {
  color: #475569 !important;
  border-color: #cbd5e1 !important;
  background: #fff !important;
}
.competitor-sample-page .video-list-actions--inline .hub-card-action--warn {
  color: #92400e !important;
  border-color: #fbbf24 !important;
  background: #fffbeb !important;
  font-weight: 600;
}
.competitor-sample-page .video-list-actions--inline .btn-delete-link {
  color: #b91c1c !important;
  border-color: #fecaca !important;
  background: #fff !important;
}
.video-list-page__table td.video-list-act {
  padding-left: 0.35rem;
  padding-right: 0.45rem;
  overflow: hidden;
  box-sizing: border-box;
}
.competitor-sample-page .table-actions.video-list-actions--grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.28rem;
  width: 100%;
  max-width: 100%;
  min-width: 0;
  white-space: normal;
}
.competitor-sample-page .table-actions.video-list-actions--grid .video-list-actions__form {
  display: block;
  width: 100%;
  margin: 0;
  min-width: 0;
}
.competitor-sample-page .table-actions.video-list-actions--grid .hub-card-action,
.competitor-sample-page .table-actions.video-list-actions--grid a.hub-card-action,
.competitor-sample-page .table-actions.video-list-actions--grid button.hub-card-action,
.competitor-sample-page .table-actions.video-list-actions--grid .btn-delete-link {
  width: 100%;
  min-width: 0;
  justify-content: center;
  text-align: center;
  padding: 0.3rem 0.25rem;
  font-size: 0.7rem;
  line-height: 1.2;
}
.competitor-sample-page .table-actions.video-list-actions--grid .hub-card-action--warn {
  grid-column: 1 / -1;
}
.video-reach-compact {
  background: #f8fafc;
  border: 1px solid #eef2f6;
  border-radius: 8px;
  padding: 0.35rem 0.45rem;
  font-variant-numeric: tabular-nums;
  line-height: 1.2;
  max-width: 6.5rem;
}
.video-reach-compact__play {
  display: flex;
  align-items: baseline;
  gap: 0.25rem;
  margin-bottom: 0.15rem;
}
.video-reach-compact__play .k {
  font-size: 0.625rem;
  color: #94a3b8;
  font-weight: 650;
}
.video-reach-compact__play .v {
  font-size: 0.8125rem;
  font-weight: 700;
  color: #0f172a;
}
.video-reach-compact__sub {
  display: flex;
  gap: 0.45rem;
  font-size: 0.6875rem;
  color: #475569;
}
.video-reach-compact__sub .k {
  color: #94a3b8;
  margin-right: 0.1rem;
  font-size: 0.625rem;
}
.video-list-title__text {
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  word-break: break-word;
  line-height: 1.35;
}
.video-list-structure-badge {
  display: inline-block;
  vertical-align: middle;
  font-size: 0.6875rem;
  font-weight: 600;
  color: #475569 !important;
}
.video-list-tag-row .video-meta-badge {
  font-size: 0.65rem;
  padding: 0.1rem 0.35rem;
}
.competitor-sample-page .video-list-toolbar .list-toolbar-main--sample,
.competitor-sample-page .video-list-toolbar__row {
  display: flex;
  flex-wrap: nowrap;
  align-items: center;
  gap: 0.4rem;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: thin;
  padding-bottom: 0.05rem;
}
.competitor-sample-page .video-list-toolbar__search {
  flex: 1 1 9rem;
  min-width: 7rem;
  max-width: 14rem;
  width: auto;
}
.competitor-sample-page .video-list-toolbar__theme {
  flex: 0 1 8.5rem;
  min-width: 6.25rem;
  max-width: 10rem;
  width: auto;
}
.competitor-sample-page .video-list-toolbar__filter {
  flex: 0 0 auto;
  width: auto;
  min-width: 5.5rem;
  max-width: 6.75rem;
  padding-left: 0.4rem;
  padding-right: 1.35rem;
  font-size: 0.8125rem;
}
.competitor-sample-page .video-list-toolbar .competitor-sample-submit,
.competitor-sample-page .video-list-toolbar .competitor-sample-reset {
  flex: 0 0 auto;
}
.admin-body .admin-content :is(.admin-list-page, .competitor-sample-page) .table-actions .hub-card-action--secondary {
  color: #475569 !important;
  border-color: #cbd5e1;
}
.video-list-chip--link {
  background: #fff;
  border: 1px solid #e2e8f0;
  color: #0d9488 !important;
  text-decoration: none;
  font-weight: 600;
}
.video-list-chip--link:hover {
  background: #f0fdfa;
  border-color: #99f6e4;
}
.video-list-title {
  font-weight: 650;
  font-size: .9375rem;
  color: var(--video-ink, #0f172a);
  line-height: 1.4;
  margin-bottom: 0;
}
.video-list-main {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  min-width: 0;
}
.video-list-title a {
  color: inherit;
  text-decoration: none;
}
.video-list-title a:hover {
  color: var(--accent, #0d9488);
  text-decoration: underline;
}
.video-list-ext-link {
  font-size: .75rem;
  font-weight: 600;
  padding: .2rem .55rem;
  border-radius: 6px;
}
.video-list-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: .25rem .35rem;
  margin-bottom: 0;
}
.video-list-cover {
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 3;
  line-clamp: 3;
  overflow: hidden;
  margin-top: 0;
  margin-bottom: 0;
  padding: 0.38rem 0.55rem;
  border: 1px solid #e2e8f0;
  border-radius: 6px;
  background: #f8fafc;
  max-width: none;
  font-size: 0.75rem;
  font-weight: 500;
  color: #334155;
  line-height: 1.45;
  word-break: break-word;
}
.admin-body .admin-content .video-list-page .video-list-main .video-list-cover {
  color: #1e293b !important;
  -webkit-text-fill-color: #1e293b;
  background: #f1f5f9;
  border-color: #cbd5e1;
}
.video-list-cover--placeholder {
  color: #64748b !important;
  -webkit-text-fill-color: #64748b;
  font-weight: 500;
}
.video-list-cover:empty {
  display: none;
}
.video-reach-strip {
  display: flex;
  flex-wrap: nowrap;
  max-width: 15rem;
  background: #f8fafc;
  border: 1px solid #eef2f6;
  border-radius: 8px;
  overflow: hidden;
  font-variant-numeric: tabular-nums;
  line-height: 1.2;
}
.video-reach-strip .reach-item {
  flex: 1 1 2.5rem;
  min-width: 2.35rem;
  text-align: center;
  padding: .35rem .2rem .3rem;
  border-right: 1px solid #e2e8f0;
}
.video-reach-strip .reach-item:last-child {
  border-right: 0;
}
.video-reach-strip .k {
  display: block;
  color: #94a3b8;
  font-size: .625rem;
  font-weight: 650;
  letter-spacing: .02em;
  margin-bottom: .1rem;
}
.video-reach-strip .v {
  display: block;
  font-weight: 700;
  color: #0f172a;
  font-size: .75rem;
}
.video-reach-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: .2rem .55rem;
  font-variant-numeric: tabular-nums;
  line-height: 1.25;
}
.video-reach-grid .k {
  color: #94a3b8;
  font-size: .6875rem;
  margin-right: .2rem;
}
.video-reach-grid .v {
  font-weight: 600;
  color: #0f172a;
  font-size: .8125rem;
}
.video-list-tag-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: .3rem;
}
.video-list-score-pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 2.1rem;
  padding: .18rem .5rem;
  border-radius: 8px;
  background: linear-gradient(145deg, #ecfdf5 0%, #f0fdfa 100%);
  border: 1px solid #99f6e4;
  font-weight: 700;
  font-variant-numeric: tabular-nums;
  font-size: .8125rem;
  color: #0f766e;
  margin-right: .2rem;
}
.video-list-score {
  font-weight: 700;
  font-variant-numeric: tabular-nums;
  font-size: .875rem;
  color: #0f172a;
  margin-right: .15rem;
}
.video-list-theme {
  max-width: 11rem;
}
.video-list-theme .sites-theme {
  max-width: 11rem;
  white-space: normal;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.competitor-sample-page .video-list-actions:not(.table-actions) {
  flex-direction: row;
  flex-wrap: wrap;
  align-items: center;
  gap: .45rem .65rem;
  min-width: 5.5rem;
}
.video-list-actions .btn-link-action {
  font-size: .8125rem;
}
.video-list-actions form {
  display: inline;
}
.video-list-actions a,
.video-list-actions .btn-link {
  font-size: .8125rem;
  line-height: 1.3;
  text-decoration: none;
}
.video-list-actions .btn-link {
  border: 0;
  background: none;
  color: var(--bs-primary, #0d6efd);
  vertical-align: baseline;
}
.video-list-actions .btn-delete-link,
.video-list-actions .text-danger {
  color: #dc2626 !important;
}
@media (max-width: 992px) {
  .video-reach-strip {
    max-width: 100%;
  }
  .video-reach-strip .reach-item {
    flex: 1 1 0;
    min-width: 2.1rem;
  }
  .video-reach-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 767.98px) {
  .competitor-sample-page .page-head-actions {
    justify-content: flex-start;
  }
  .competitor-sample-page .page-head-actions .btn,
  .competitor-sample-page .page-head-actions .btn-accent {
    flex: 0 0 auto !important;
    width: auto !important;
    min-width: 0;
  }
  .competitor-sample-page .competitor-sample-panel,
  .competitor-sample-page .sites-panel,
  .competitor-sample-page .video-list-panel {
    padding: 0 !important;
    border: none !important;
    box-shadow: none !important;
    background: transparent !important;
  }
  .competitor-sample-page .competitor-sample-toolbar.list-toolbar--compact {
    margin-bottom: 0.5rem !important;
    padding: 0.55rem 0.65rem;
    border-radius: 0.55rem;
    background: #fff;
    border: 1px solid #e2e8f0;
    border-bottom: 1px solid #e2e8f0 !important;
    box-shadow: 0 1px 4px rgba(15, 23, 42, 0.04);
  }
  .competitor-sample-page.mobile-list-page .competitor-sample-toolbar .list-toolbar-main--sample,
  .competitor-sample-page.mobile-list-page .competitor-sample-toolbar .video-list-toolbar__row {
    display: grid !important;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.45rem;
    align-items: stretch;
    overflow-x: visible !important;
    flex-wrap: wrap !important;
    padding-bottom: 0;
  }
  .competitor-sample-page.mobile-list-page .competitor-sample-toolbar .competitor-sample-search,
  .competitor-sample-page.mobile-list-page .competitor-sample-toolbar input[type="search"].competitor-sample-search,
  .competitor-sample-page.mobile-list-page .competitor-sample-toolbar .video-list-toolbar__search,
  .competitor-sample-page.mobile-list-page .competitor-sample-toolbar .list-search,
  .competitor-sample-page.mobile-list-page .competitor-sample-toolbar .sites-toolbar__search,
  .competitor-sample-page.mobile-list-page .sites-toolbar .list-toolbar-main--sample .competitor-sample-search,
  .competitor-sample-page.mobile-list-page .sites-toolbar input[type="search"] {
    grid-column: 1 / -1;
    width: 100% !important;
    max-width: none !important;
    min-width: 0 !important;
    flex: none !important;
    box-sizing: border-box;
    font-size: 16px;
    min-height: 2.35rem;
  }
  .competitor-sample-page.mobile-list-page .competitor-sample-toolbar .video-list-toolbar__filter,
  .competitor-sample-page.mobile-list-page .competitor-sample-toolbar .competitor-sample-theme,
  .competitor-sample-page.mobile-list-page .competitor-sample-toolbar .form-select.competitor-sample-theme {
    width: 100% !important;
    max-width: none !important;
    min-width: 0 !important;
    flex: none !important;
    min-height: 2.35rem;
  }
  .competitor-sample-page.mobile-list-page .competitor-sample-toolbar .competitor-sample-submit,
  .competitor-sample-page.mobile-list-page .competitor-sample-toolbar .competitor-sample-reset {
    width: 100%;
    min-width: 0 !important;
    min-height: 2.05rem;
    justify-content: center;
    display: inline-flex;
    align-items: center;
  }
  .competitor-sample-page.mobile-list-page .competitor-sample-toolbar .list-toolbar-main--sample:not(:has(.competitor-sample-reset)) .competitor-sample-submit {
    grid-column: 1 / -1;
  }
  body.app-body .competitor-sample-page > .alert.alert-light {
    padding: 0.5rem 0.65rem;
    margin-bottom: 0.65rem;
    font-size: 0.8125rem;
    line-height: 1.55;
  }
  body.app-body .competitor-sample-page .page-head.video-list-page__head {
    margin-bottom: 0.65rem !important;
  }
  body.app-body .competitor-sample-page .page-head .page-sub--meta {
    font-size: 0.78rem;
    line-height: 1.5;
  }
  body.app-body .competitor-sample-page .competitor-sample-panel > p.small.text-muted {
    padding: 0 0.1rem;
    line-height: 1.45;
  }
  body.app-body .competitor-sample-page .table-empty-row td {
    padding: 1.25rem 0.65rem !important;
    font-size: 0.8125rem;
    line-height: 1.55;
  }
  .competitor-sample-page .batch-delete-bar {
    margin-bottom: 0.5rem !important;
    padding: 0.45rem 0.55rem;
    border-radius: 0.5rem;
    background: #f8fafc;
    border: 1px solid #e2e8f0;
  }
  .competitor-sample-page .table-mobile-stack tbody tr.video-list-table__row {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    grid-template-areas:
      "check check"
      "main main"
      "reach insight"
      "tags theme"
      "actions actions";
    gap: 0.35rem 0.5rem;
    margin-bottom: 0.65rem;
    padding: 0.72rem 0.78rem 0.62rem;
    border: 1px solid #e2e8f0;
    border-radius: 0.65rem;
    background: #fff;
    box-shadow: 0 2px 12px rgba(15, 23, 42, 0.04);
  }
  .competitor-sample-page .table-mobile-stack tbody tr.video-list-table__row > td {
    display: block;
    grid-template-columns: unset;
    padding: 0;
    border: none;
  }
  .competitor-sample-page .table-mobile-stack tbody tr.video-list-table__row > td.batch-check-col {
    grid-area: check;
    display: flex;
    align-items: center;
    padding-bottom: 0.35rem;
    margin-bottom: 0.15rem;
    border-bottom: 1px dashed #e2e8f0;
  }
  .competitor-sample-page .table-mobile-stack tbody tr.video-list-table__row > td.batch-check-col::before {
    display: none;
  }
  .competitor-sample-page .table-mobile-stack tbody tr.video-list-table__row > td.video-list-main {
    grid-area: main;
  }
  .competitor-sample-page .table-mobile-stack tbody tr.video-list-table__row > td.video-list-main::before {
    display: none;
  }
  .competitor-sample-page .table-mobile-stack tbody tr.video-list-table__row > td.video-list-reach {
    grid-area: reach;
  }
  .competitor-sample-page .table-mobile-stack tbody tr.video-list-table__row > td.video-list-insight {
    grid-area: insight;
  }
  .competitor-sample-page .table-mobile-stack tbody tr.video-list-table__row > td.video-list-reach::before,
  .competitor-sample-page .table-mobile-stack tbody tr.video-list-table__row > td.video-list-insight::before,
  .competitor-sample-page .table-mobile-stack tbody tr.video-list-table__row > td.video-list-tags::before,
  .competitor-sample-page .table-mobile-stack tbody tr.video-list-table__row > td.video-list-theme::before {
    display: block;
    font-size: 0.68rem;
    font-weight: 600;
    color: #94a3b8;
    margin-bottom: 0.2rem;
  }
  .competitor-sample-page .table-mobile-stack tbody tr.video-list-table__row > td.video-list-tags {
    grid-area: tags;
  }
  .competitor-sample-page .table-mobile-stack tbody tr.video-list-table__row > td.video-list-theme {
    grid-area: theme;
  }
  .competitor-sample-page .table-mobile-stack tbody tr.video-list-table__row > td.video-list-act {
    grid-area: actions;
    padding-top: 0.45rem;
    margin-top: 0.15rem;
    border-top: 1px solid #eef2f6;
  }
  .competitor-sample-page .table-mobile-stack tbody tr.video-list-table__row > td.video-list-act::before {
    display: none;
  }
  .competitor-sample-page .video-reach-strip {
    max-width: 100%;
  }
  .competitor-sample-page .video-list-theme .sites-theme {
    max-width: 100%;
  }
  .competitor-sample-page .video-list-ext-link {
    width: 100%;
    justify-content: center;
  }
  .competitor-sample-page .sites-table tbody tr.sites-table__row .table-actions.sites-actions,
  .competitor-sample-page .table-mobile-stack tbody tr .table-actions.video-list-actions {
    flex-direction: row;
    flex-wrap: nowrap;
    align-items: center;
    justify-content: flex-start;
    gap: 0.4rem;
    width: 100%;
    max-width: none;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    padding-bottom: 0.1rem;
  }
  .competitor-sample-page .sites-table tbody tr.sites-table__row .table-actions.sites-actions > a,
  .competitor-sample-page .sites-table tbody tr.sites-table__row .table-actions.sites-actions > button,
  .competitor-sample-page .sites-table tbody tr.sites-table__row .table-actions.sites-actions > form,
  .competitor-sample-page .table-mobile-stack tbody tr .table-actions.video-list-actions > a,
  .competitor-sample-page .table-mobile-stack tbody tr .table-actions.video-list-actions > form {
    flex: 0 0 auto;
    display: inline-flex;
    margin: 0;
    min-width: 0;
    width: auto;
  }
  .admin-body .admin-content :is(.admin-list-page, .competitor-sample-page) .sites-table .table-actions .hub-card-action,
  .admin-body .admin-content :is(.admin-list-page, .competitor-sample-page) .table-mobile-stack .table-actions .hub-card-action {
    min-height: 2rem;
    font-size: 0.78rem;
    width: auto;
    white-space: nowrap;
  }
  .competitor-sample-page .video-list-ext-link {
    width: auto;
  }
}

@media (min-width: 768px) {
  .competitor-sample-page.video-list-page .video-list-page__table thead {
    display: table-header-group;
  }
  .competitor-sample-page.video-list-page .video-list-page__table .table-actions.video-list-actions,
  .competitor-sample-page.video-list-page .video-list-page__table .table-actions.video-list-actions--grid {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    justify-content: center;
    gap: 0.28rem;
    width: 100%;
    max-width: 100%;
    margin-left: auto;
    white-space: normal;
  }
  .competitor-sample-page.video-list-page .video-list-page__table .table-actions.video-list-actions > form,
  .competitor-sample-page.video-list-page .video-list-page__table .table-actions.video-list-actions--grid > form,
  .competitor-sample-page.video-list-page .video-list-page__table .table-actions.video-list-actions > a,
  .competitor-sample-page.video-list-page .video-list-page__table .table-actions.video-list-actions--grid > a {
    display: flex;
    width: 100%;
    margin: 0;
    min-width: 0;
  }
  .competitor-sample-page.video-list-page .video-list-page__table .table-actions.video-list-actions .video-list-actions__form,
  .competitor-sample-page.video-list-page .video-list-page__table .table-actions.video-list-actions--grid .video-list-actions__form {
    display: flex;
    width: 100%;
  }
  .admin-body .admin-content .competitor-sample-page.video-list-page .video-list-page__table .table-actions .hub-card-action,
  .admin-body .admin-content .competitor-sample-page.video-list-page .video-list-page__table .table-actions a.hub-card-action,
  .admin-body .admin-content .competitor-sample-page.video-list-page .video-list-page__table .table-actions button.hub-card-action,
  .admin-body .admin-content .competitor-sample-page.video-list-page .video-list-page__table .table-actions .btn-delete-link {
    width: 100% !important;
    min-width: 0 !important;
    max-width: 100%;
    box-sizing: border-box;
    padding: 0.32rem 0.35rem;
    font-size: 0.72rem;
    white-space: nowrap;
  }
  .competitor-sample-page.video-list-page .video-list-page__table .table-actions.video-list-actions--grid .hub-card-action--warn {
    grid-column: auto;
  }
  .competitor-sample-page.video-list-page .video-list-page__table tbody td {
    vertical-align: middle;
  }
  .competitor-sample-page.video-list-page .video-list-page__table .video-list-tag-row {
    max-width: 9.5rem;
  }
  .competitor-sample-page.video-list-page .video-list-page__table .video-reach-strip {
    max-width: 13rem;
  }
}

.sites-time {
  font-size: .75rem;
  color: var(--sites-muted);
  white-space: nowrap;
  font-variant-numeric: tabular-nums;
}
.competitor-sample-page .sites-table__actions,
.competitor-sample-page .video-list-act {
  text-align: right;
  vertical-align: middle;
  white-space: normal;
}
.sites-actions {
  gap: .55rem;
}
.sites-actions .btn-link-action {
  border: 0;
  background: none;
  padding: 0;
  font-size: .8125rem;
  color: var(--accent);
  text-decoration: none;
  cursor: pointer;
}
.sites-actions .btn-link-action:hover {
  text-decoration: underline;
}
.sites-actions .btn-delete-link {
  font-size: .8125rem;
  opacity: .7;
}
.sites-table tbody tr:hover {
  background: #f8fafc;
}
.sites-table tbody tr:hover .btn-delete-link {
  opacity: 1;
}
@media (max-width: 992px) {
  .sites-toolbar__search,
  .sites-toolbar__theme {
    flex: 1 1 100%;
    max-width: none;
  }
}

/* ===== 自动学习 ===== */
.agent-loop-page {
  --al-ink: var(--admin-ink, #1e293b);
  --al-muted: var(--admin-muted, #64748b);
  --al-line: var(--admin-line, #e2e8f0);
  --al-soft: var(--admin-soft, #f8fafc);
  --al-tint: #f0fdfa;
}
.agent-loop-head .page-title {
  font-size: 1.35rem;
  letter-spacing: -.01em;
}
.agent-loop-head .page-sub {
  font-size: .8125rem;
  color: var(--al-muted);
  margin-top: .15rem;
}
.agent-loop-meta {
  font-size: .8125rem;
  color: var(--al-muted);
  line-height: 1.4;
}
.agent-loop-meta strong {
  color: var(--al-ink);
  font-weight: 650;
}
.agent-loop-badge {
  font-weight: 650;
  font-size: .75rem;
  padding: .28rem .65rem;
  border-radius: 999px;
  letter-spacing: .02em;
}
.agent-loop-badge--on { background: var(--accent); color: #fff; }
.agent-loop-badge--off { background: #e2e8f0; color: #475569; }

.agent-loop-status {
  background: linear-gradient(180deg, #f7fffd 0%, #fff 42%);
  border-color: #d9ebe7;
  padding: 1rem 1.15rem 1.1rem;
}
.agent-loop-status__meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: .5rem .85rem;
  margin-bottom: .65rem;
}
.agent-loop-status__left {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: .45rem .65rem;
}
.agent-loop-progress {
  height: 7px;
  background: #e6eef2;
  border-radius: 999px;
  overflow: hidden;
  margin-bottom: .9rem;
}
.agent-loop-progress .progress-bar {
  background: var(--accent);
  border-radius: 999px;
}
.agent-loop-step {
  height: 100%;
  padding: .7rem .75rem .65rem;
  border: 1px solid var(--al-line);
  border-radius: 10px;
  background: #fff;
  min-height: 5.25rem;
  box-shadow: 0 1px 0 rgba(15, 23, 42, .03);
}
.agent-loop-step--running {
  border-color: rgba(13, 148, 136, .4);
  background: #f0fdfa;
}
.agent-loop-step--done {
  border-color: rgba(13, 148, 136, .28);
  border-top: 3px solid var(--accent);
}
.agent-loop-step--error {
  border-color: rgba(185, 28, 28, .35);
  background: #fef2f2;
  border-top: 3px solid #dc2626;
}
.agent-loop-step--skipped {
  border-color: #e2e8f0;
  background: var(--al-soft);
  opacity: .92;
}
.agent-loop-step--pending {
  background: var(--al-soft);
}
.agent-loop-step__head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: .35rem;
  margin-bottom: .35rem;
}
.agent-loop-step__title {
  font-size: .875rem;
  font-weight: 650;
  color: var(--al-ink);
  line-height: 1.25;
}
.agent-loop-step__status {
  font-size: .6875rem;
  font-weight: 600;
  color: var(--al-muted);
  white-space: nowrap;
}
.agent-loop-step--done .agent-loop-step__status { color: #0f766e; }
.agent-loop-step--running .agent-loop-step__status { color: #0f766e; }
.agent-loop-step--error .agent-loop-step__status { color: #b91c1c; }
.agent-loop-step__msg {
  font-size: .75rem;
  color: #475569;
  line-height: 1.45;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.agent-loop-step__count {
  font-size: .6875rem;
  color: #94a3b8;
  margin-top: .25rem;
}
.agent-loop-footer {
  margin: .75rem 0 0;
  font-size: .8125rem;
  color: var(--al-muted);
  line-height: 1.45;
}

.agent-loop-expert {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: .65rem 1rem;
  padding: .7rem 1rem;
  background: #fff;
  border: 1px solid var(--al-line);
  border-radius: 10px;
}
.agent-loop-expert__main {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: .4rem .65rem;
}
.agent-loop-expert__label {
  font-size: .875rem;
  font-weight: 650;
  color: var(--al-ink);
}
.agent-loop-expert__actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: .4rem;
}

.agent-loop-logs {
  padding: 1rem 1.15rem 1.1rem;
}
.agent-loop-logs__head {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: .5rem .85rem;
  margin-bottom: .75rem;
  padding-bottom: .65rem;
  border-bottom: 1px solid #eef2f6;
}
.agent-loop-logs__title {
  margin: 0;
  font-size: 1rem;
  font-weight: 650;
  color: var(--al-ink);
}
.agent-loop-logs__links {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: .65rem;
}
.agent-loop-logs__links > a {
  font-size: .8125rem;
  color: var(--al-muted);
  text-decoration: none;
}
.agent-loop-logs__links > a:hover {
  color: var(--accent);
}

.agent-loop-stage {
  display: inline-block;
  font-size: .75rem;
  font-weight: 500;
  line-height: 1.35;
  padding: .16rem .42rem;
  border-radius: 5px;
  white-space: nowrap;
  background: #f1f5f9;
  color: #475569;
}
.agent-loop-stage--scout { background: #ecfdf5; color: #0f766e; }
.agent-loop-stage--dissect { background: #eff6ff; color: #1d4ed8; }
.agent-loop-stage--curate { background: #f5f3ff; color: #6d28d9; }
.agent-loop-stage--feedback { background: #fff7ed; color: #c2410c; }
.agent-loop-stage--diagnose { background: #f0fdfa; color: #0f766e; }
.agent-loop-stage--coach { background: #fdf4ff; color: #a21caf; }

.agent-loop-table {
  --bs-table-bg: transparent;
  color: #334155;
  font-size: .875rem;
  font-weight: 400;
}
.agent-loop-table > :not(caption) > * > * {
  padding: .7rem .55rem;
  vertical-align: middle;
  border-bottom-color: #eef2f6;
}
.agent-loop-table thead th {
  font-size: .8125rem;
  font-weight: 600;
  color: #475569;
  text-transform: none;
  background: var(--al-soft);
  border-bottom-color: var(--al-line);
}
.agent-loop-table__time {
  font-size: .8125rem;
  font-weight: 400;
  color: #64748b;
  white-space: nowrap;
  font-variant-numeric: tabular-nums;
}
.agent-loop-table__title {
  font-size: .875rem;
  font-weight: 500;
  color: #1f2937;
  line-height: 1.4;
}
.agent-loop-table__detail {
  margin-top: .18rem;
  font-size: .8125rem;
  font-weight: 400;
  color: #64748b;
  line-height: 1.45;
  max-width: 32rem;
  display: -webkit-box;
  -webkit-line-clamp: 1;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.agent-loop-table tbody tr:hover {
  background: #f8fafc;
}
.agent-loop-table .btn-delete-link {
  font-size: .8125rem;
  font-weight: 400;
  opacity: .8;
}
.agent-loop-table tbody tr:hover .btn-delete-link {
  opacity: 1;
}

@media (max-width: 767.98px) {
  .agent-loop-logs {
    padding: 0.75rem 0.65rem 0.85rem;
  }
  .agent-loop-logs__head {
    margin-bottom: 0.55rem;
    padding-bottom: 0.5rem;
  }
  .agent-loop-logs__title {
    font-size: 0.92rem;
  }
  .agent-loop-logs__links > a,
  .agent-loop-logs__links .btn {
    font-size: 0.75rem;
  }
  .agent-loop-logs .list-toolbar--compact {
    margin-bottom: 0.5rem !important;
  }
  .agent-loop-logs .list-toolbar-main {
    flex-wrap: wrap;
    gap: 0.45rem;
  }
  .agent-loop-logs .list-toolbar-main .list-search {
    flex: 1 1 100% !important;
    width: 100% !important;
    max-width: none;
    min-width: 0;
    font-size: 16px;
    font-weight: 400;
    line-height: 1.25;
    min-height: 2.125rem;
    padding: 0.4rem 0.55rem;
  }
  .agent-loop-logs .list-toolbar-main .list-search::placeholder {
    color: #94a3b8;
    font-weight: 400;
  }
  .agent-loop-logs .list-toolbar-main .list-filter {
    flex: 1 1 auto;
    min-width: 0;
    font-size: 0.8125rem;
    min-height: 2.125rem;
  }
  .agent-loop-logs .list-toolbar-main .btn {
    flex: 0 0 auto;
    min-height: 2.125rem;
    padding: 0.38rem 0.75rem;
    font-size: 0.8125rem;
    line-height: 1.35;
  }
  .agent-loop-logs .list-toolbar-main .btn-link {
    font-size: 0.8125rem;
    min-height: 2.125rem;
    display: inline-flex;
    align-items: center;
  }
  .agent-loop-logs .table-mobile-wrap {
    margin: 0;
    overflow: visible;
  }
  .agent-loop-logs .agent-loop-table {
    display: block;
    font-size: 0.8125rem;
  }
  .agent-loop-logs .agent-loop-table thead {
    display: none;
  }
  .agent-loop-logs .agent-loop-table tbody {
    display: block;
  }
  .agent-loop-logs .agent-loop-table tbody tr.agent-loop-table__row {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr) auto;
    grid-template-areas:
      "check body stage"
      ". time actions";
    gap: 0.12rem 0.45rem;
    margin-bottom: 0.55rem;
    padding: 0.68rem 0.72rem 0.6rem;
    border: 1px solid #e2e8f0;
    border-radius: 0.65rem;
    background: #fff;
    box-shadow: 0 2px 12px rgba(15, 23, 42, 0.04);
  }
  .agent-loop-logs .agent-loop-table tbody tr.agent-loop-table__row > td {
    display: block;
    padding: 0;
    border: none;
    text-align: left;
  }
  .agent-loop-logs .agent-loop-table tbody tr.agent-loop-table__row > td::before {
    display: none !important;
  }
  .agent-loop-logs .agent-loop-table__check {
    grid-area: check;
    align-self: start;
    margin: 0;
    padding: 0.1rem 0 0;
  }
  .agent-loop-logs .agent-loop-table__body {
    grid-area: body;
    min-width: 0;
  }
  .agent-loop-logs .agent-loop-table__title {
    font-size: 0.86rem;
    font-weight: 650;
    line-height: 1.38;
    color: #0f172a;
  }
  .agent-loop-logs .agent-loop-table__detail {
    margin-top: 0.18rem;
    font-size: 0.75rem;
    line-height: 1.45;
    color: #64748b;
    -webkit-line-clamp: 2;
  }
  .agent-loop-logs .agent-loop-table__stage {
    grid-area: stage;
    justify-self: end;
    align-self: start;
  }
  .agent-loop-logs .agent-loop-table__stage .agent-loop-stage {
    font-size: 0.68rem;
    padding: 0.1rem 0.4rem;
    border-radius: 999px;
  }
  .agent-loop-logs .agent-loop-table__time {
    grid-area: time;
    align-self: center;
    font-size: 0.72rem;
    color: #94a3b8;
    font-variant-numeric: tabular-nums;
    margin-top: 0.35rem;
    padding-top: 0.45rem;
    border-top: 1px solid #f1f5f9;
  }
  .agent-loop-logs .agent-loop-table__actions {
    grid-area: actions;
    justify-self: end;
    align-self: center;
    margin-top: 0.35rem;
    padding-top: 0.45rem;
    border-top: 1px solid #f1f5f9;
    white-space: nowrap;
  }
  .agent-loop-logs .agent-loop-table__actions .btn-delete-link {
    font-size: 0.75rem;
    font-weight: 600;
    padding: 0.15rem 0.35rem;
    opacity: 1;
  }
}

/* 学习日志 / 运行记录：与参考矩阵一致的字重与对比 */
.log-table {
  color: #334155;
  font-size: .875rem;
  font-weight: 400;
}
.log-table > :not(caption) > * > * {
  padding: .72rem .6rem;
  vertical-align: middle;
  border-bottom-color: #e8eef4;
}
.log-table thead th {
  font-size: .8125rem;
  font-weight: 600;
  color: #475569 !important;
  letter-spacing: 0;
}
.log-table__meta {
  font-size: .8125rem;
  font-weight: 400;
  color: #64748b !important;
  font-variant-numeric: tabular-nums;
}
.log-table__title {
  font-size: .875rem;
  font-weight: 500;
  color: #1f2937;
  line-height: 1.4;
}
.log-table__detail {
  margin-top: .18rem;
  max-width: 28rem;
  font-size: .8125rem;
  font-weight: 400;
  color: #64748b !important;
  line-height: 1.45;
}
.log-table__tag {
  display: inline-block;
  font-size: .75rem;
  font-weight: 500;
  line-height: 1.35;
  padding: .16rem .42rem;
  border-radius: 5px;
  white-space: nowrap;
  background: #f1f5f9 !important;
  color: #475569 !important;
}
.log-table__tag--ok {
  background: #ecfdf5 !important;
  color: #0f766e !important;
}
.log-table__tag--fail {
  background: #fef2f2 !important;
  color: #b91c1c !important;
}

/* 角色权限：紧凑勾选网格，不展示权限 Key */
.role-perm-toolbar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: .45rem .65rem;
}
.role-perm-toolbar__select {
  width: auto;
  min-width: 10rem;
  max-width: 16rem;
}
.role-perm-card {
  border-color: #e2e8f0;
  box-shadow: none;
}
.role-perm-card__head {
  padding: .55rem .85rem;
  background: #f8fafc;
  border-bottom-color: #e8eef4;
}
.role-perm-card__title {
  font-size: .875rem;
  font-weight: 600;
  color: #1f2937;
}
.role-perm-card__body {
  padding: .65rem .85rem .35rem;
}
.role-perm-card__foot {
  display: flex;
  flex-wrap: wrap;
  gap: .45rem;
  padding: .55rem .85rem;
  background: #fff;
  border-top-color: #e8eef4;
}
.role-perm-group {
  margin-bottom: .55rem;
}
.role-perm-group:last-child {
  margin-bottom: .15rem;
}
.role-perm-group__title {
  margin: 0 0 .35rem;
  font-size: .75rem;
  font-weight: 600;
  color: #64748b;
  letter-spacing: 0;
}
.role-perm-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: .3rem .45rem;
}
@media (min-width: 992px) {
  .role-perm-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}
@media (min-width: 1400px) {
  .role-perm-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}
.role-perm-item {
  display: flex;
  align-items: flex-start;
  gap: .4rem;
  margin: 0;
  padding: .32rem .45rem;
  border: 1px solid #e8eef4;
  border-radius: 6px;
  background: #fff;
  cursor: pointer;
  min-height: 0;
}
.role-perm-item:hover {
  border-color: #cbd5e1;
  background: #f8fafc;
}
.role-perm-item input {
  margin-top: .15rem;
  flex: 0 0 auto;
}
.role-perm-item__text {
  display: flex;
  flex-direction: column;
  gap: .05rem;
  min-width: 0;
  line-height: 1.3;
}
.role-perm-item__label {
  font-size: .8125rem;
  font-weight: 500;
  color: #1f2937;
}
.role-perm-item__hint {
  font-size: .6875rem;
  font-weight: 400;
  color: #64748b;
}

/* 管理台 / 前台：全屏时间轴编辑器突破统一页宽 */
body.admin-body:has(.hf-tl-page:not(.hf-tl-page--desk)) .admin-content > .workspace-page,
body.app-body:has(.hf-tl-page:not(.hf-tl-page--desk)) .workspace-page {
  flex: 1 1 auto;
  min-height: 0;
  height: 100%;
  max-height: 100%;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  max-width: none !important;
  width: 100% !important;
  margin: 0 !important;
}
body.admin-body:has(.hf-tl-page:not(.hf-tl-page--desk)) .admin-content > .workspace-flash,
body.app-body:has(.hf-tl-page:not(.hf-tl-page--desk)) .workspace-flash {
  max-width: none !important;
  width: 100% !important;
  margin-left: 0 !important;
  margin-right: 0 !important;
}

.admin-content {
  flex: 1 1 auto;
  min-height: 0;
  overflow-x: hidden;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
  padding: 1.1rem 1.25rem 1.75rem;
  background: #f1f5f9;
  color: var(--admin-ink, #1e293b);
  font-size: .875rem;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}

/* ===== 管理台统一视觉（舒适、低对比差、青绿强调） ===== */
.admin-body .admin-content > .alert {
  border-radius: 10px;
  border: 0;
  box-shadow: var(--admin-shadow);
  margin-bottom: .85rem;
  font-size: .875rem;
}
.admin-body .admin-content .page-head {
  margin-bottom: .9rem !important;
  align-items: center;
}
.admin-body .admin-content .page-title,
.admin-body .admin-content h1.h4,
.admin-body .admin-content h1.page-title {
  font-size: 1.25rem;
  font-weight: 600;
  letter-spacing: -.015em;
  color: var(--admin-ink);
  margin-bottom: .2rem;
  line-height: 1.35;
}
.admin-body .admin-content .page-sub--meta {
  font-size: .8125rem;
  font-weight: 400;
  color: var(--admin-muted);
  line-height: 1.5;
  max-width: none;
}
.admin-body .admin-content .page-sub:not(.page-sub--meta) {
  font-size: .8125rem;
  font-weight: 400;
  color: var(--admin-muted);
  line-height: 1.5;
  max-width: 42rem;
}
.admin-body .admin-content :is(
  .admin-list-page,
  .mobile-list-page,
  .hub-card-list-page
) .page-head .page-sub:not(.page-sub--meta):not(.text-center) {
  margin-top: 0.4rem;
  margin-bottom: 0;
  padding: 0.52rem 0.75rem 0.52rem 0.65rem;
  border-radius: 0.5rem;
  border: 1px solid #e2e8f0;
  border-left: 3px solid #2dd4bf;
  background: linear-gradient(90deg, #f0fdfa 0%, #f8fafc 38%, #f8fafc 100%);
  color: #475569;
  line-height: 1.55;
  max-width: 48rem;
  font-size: 0.8125rem;
  font-weight: 400;
}
.admin-body .admin-content .page-head-actions,
.admin-body .admin-content .page-head > .d-flex {
  gap: .45rem;
}
.admin-body .admin-content .page-head-actions .btn,
.admin-body .admin-content .page-head > .d-flex > .btn,
.admin-body .admin-content .page-head > .btn {
  border-radius: var(--admin-radius-sm);
  font-weight: 500;
}

/* 面板 / 指标 / Bootstrap 卡片统一 */
.admin-body .admin-content .stat-card,
.admin-body .admin-content .panel-card,
.admin-body .admin-content .card,
.admin-body .admin-content .role-perm-card {
  background: var(--admin-card);
  border: 1px solid var(--admin-line);
  border-radius: var(--admin-radius);
  box-shadow: var(--admin-shadow);
}
.admin-body .admin-content .stat-card {
  padding: .8rem .95rem;
}
.admin-body .admin-content .stat-card .label {
  font-size: .75rem;
  font-weight: 500;
  color: var(--admin-muted);
}
.admin-body .admin-content .stat-card .value {
  font-size: 1.35rem;
  font-weight: 600;
  color: var(--admin-accent);
  font-variant-numeric: tabular-nums;
}
.admin-body .admin-content .panel-card {
  padding: 1rem 1.1rem 1.05rem;
}
.admin-body .admin-content .panel-card.p-0,
.admin-body .admin-content .panel-card.role-perm-card {
  padding: 0;
}
.admin-body .admin-content .panel-card > .h6,
.admin-body .admin-content .panel-card .h6,
.admin-body .admin-content .panel-card .panel-card__title {
  font-size: .875rem;
  font-weight: 600;
  color: var(--admin-ink);
}
.admin-body .admin-content .card {
  --bs-card-border-color: var(--admin-line);
  --bs-card-border-radius: var(--admin-radius);
  --bs-card-bg: var(--admin-card);
  margin-bottom: .85rem;
}
.admin-body .admin-content .card-header {
  padding: .65rem 1rem;
  background: var(--admin-soft);
  border-bottom: 1px solid var(--admin-line-soft);
  font-size: .875rem;
  font-weight: 600;
  color: var(--admin-ink);
}
.admin-body .admin-content .card-body {
  padding: .85rem 1rem;
}
.admin-body .admin-content .card-footer {
  padding: .65rem 1rem;
  background: #fff;
  border-top: 1px solid var(--admin-line-soft);
}

/* 筛选条 */
.admin-body .admin-content .list-toolbar {
  margin-bottom: .75rem !important;
  padding-bottom: .75rem;
  border-bottom: 1px solid var(--admin-line-soft);
}
.admin-body .admin-content .list-toolbar-main {
  gap: .45rem;
}
.admin-body .admin-content .list-search {
  flex: 1 1 12rem;
  max-width: 20rem;
}
.admin-body .admin-content .list-filter {
  min-width: 7rem;
  max-width: 14rem;
}
.admin-body .admin-content .list-toolbar .form-control-sm,
.admin-body .admin-content .list-toolbar .form-select-sm,
.admin-body .admin-content .form-control,
.admin-body .admin-content .form-select,
.admin-body .admin-content .form-control-sm,
.admin-body .admin-content .form-select-sm {
  border-radius: var(--admin-radius-sm);
  border-color: #d5dee8;
  font-size: .8125rem;
  color: var(--admin-ink);
  background-color: #fff;
}
.admin-body .admin-content .list-toolbar .form-control-sm,
.admin-body .admin-content .list-toolbar .form-select-sm,
.admin-body .admin-content .form-control-sm,
.admin-body .admin-content .form-select-sm {
  min-height: 2.05rem;
}
.admin-body .admin-content .form-control:focus,
.admin-body .admin-content .form-select:focus,
.admin-body .admin-content .form-control-sm:focus,
.admin-body .admin-content .form-select-sm:focus {
  border-color: rgba(13, 148, 136, .45);
  box-shadow: 0 0 0 .2rem rgba(13, 148, 136, .12);
}
.admin-body .admin-content .form-label,
.admin-body .admin-content .form-label.small {
  font-size: .75rem;
  font-weight: 500;
  color: var(--admin-muted);
  margin-bottom: .28rem;
}
.admin-body .admin-content .form-text {
  font-size: .75rem;
  color: var(--admin-muted);
  margin-top: .22rem;
  line-height: 1.45;
}
.admin-body .admin-content .admin-form,
.admin-body .admin-content form.panel-card.admin-form {
  max-width: 32rem;
  padding: 1.15rem 1.2rem 1.2rem;
}
.admin-body .admin-content .admin-form > .mb-3:last-of-type {
  margin-bottom: .9rem !important;
}
.admin-body .admin-content .admin-form-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: .5rem;
  padding-top: .15rem;
}
.admin-body .admin-content .admin-form-actions .btn-link,
.admin-body .admin-content .admin-form-actions .admin-form-actions__link {
  color: var(--admin-muted);
  text-decoration: none;
  font-size: 0.8125rem;
  font-weight: 500;
  padding: 0.35rem 0.15rem;
}
.admin-body .admin-content .admin-form-actions .admin-form-actions__link:hover {
  color: var(--admin-accent);
  text-decoration: underline;
}
.admin-body .admin-content .admin-list-page.admin-account-form-page .admin-form .form-label {
  font-size: 0.8125rem;
  font-weight: 600;
  color: #475569;
  margin-bottom: 0.35rem;
}
.admin-body .admin-content .admin-list-page.admin-account-form-page .admin-form .form-control {
  min-height: 2.125rem;
  font-size: 0.875rem;
  border-color: #d5dee8;
  box-shadow: none;
}
.admin-body .admin-content .admin-list-page.admin-account-form-page .admin-form .form-control:focus {
  border-color: #5eead4;
  box-shadow: 0 0 0 0.2rem rgba(13, 148, 136, 0.12);
}
.admin-body .admin-content .admin-list-page.admin-account-form-page .admin-form-actions .btn {
  min-height: 2.125rem;
  font-weight: 600;
}
.admin-body .admin-content a.btn-link:not(.text-danger):not(.p-0) {
  color: var(--admin-muted);
  text-decoration: none;
}
.admin-body .admin-content a.btn-link:not(.text-danger):hover {
  color: var(--admin-accent);
}
.admin-body .admin-content .page-head--echo .page-title {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
}
.admin-body .admin-content .page-head--echo {
  margin-bottom: .7rem !important;
}
.admin-body .admin-content .form-control,
.admin-body .admin-content .form-select {
  min-height: 2.35rem;
}
.admin-body .admin-content .batch-delete-bar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: .45rem .65rem;
  margin-bottom: .75rem;
  padding: .5rem .7rem;
  background: var(--admin-soft);
  border: 1px solid var(--admin-line);
  border-radius: var(--admin-radius-sm);
}
.admin-body .admin-content .batch-delete-bar .btn-link {
  font-size: .8125rem;
  text-decoration: none;
}

/* 按钮 */
.admin-body .admin-content .btn {
  border-radius: var(--admin-radius-sm);
  font-weight: 500;
  transition: background-color .15s ease, border-color .15s ease, color .15s ease, box-shadow .15s ease;
}
.admin-body .admin-content .btn-sm {
  font-size: .8125rem;
  padding: .28rem .65rem;
}
.admin-body .admin-content .btn-primary,
.admin-body .admin-content .btn-accent {
  --bs-btn-bg: var(--admin-accent);
  --bs-btn-border-color: var(--admin-accent);
  --bs-btn-hover-bg: var(--accent-hover, #0f766e);
  --bs-btn-hover-border-color: var(--accent-hover, #0f766e);
  --bs-btn-active-bg: var(--accent-hover, #0f766e);
  --bs-btn-active-border-color: var(--accent-hover, #0f766e);
  background-color: var(--admin-accent);
  border-color: var(--admin-accent);
  color: #fff;
}
.admin-body .admin-content .btn-primary:hover,
.admin-body .admin-content .btn-primary:focus,
.admin-body .admin-content .btn-primary:focus-visible,
.admin-body .admin-content .btn-accent:hover,
.admin-body .admin-content .btn-accent:focus,
.admin-body .admin-content .btn-accent:focus-visible {
  background-color: var(--accent-hover, #0f766e) !important;
  border-color: var(--accent-hover, #0f766e) !important;
  color: #fff !important;
  box-shadow: 0 0 0 .2rem rgba(13, 148, 136, .18);
}
.admin-body .admin-content .btn-outline-primary {
  --bs-btn-color: #0f766e;
  --bs-btn-border-color: #9ad4cc;
  --bs-btn-hover-bg: #ecfdf5;
  --bs-btn-hover-border-color: #5eead4;
  --bs-btn-hover-color: #0f766e;
  --bs-btn-active-bg: #d1fae5;
  --bs-btn-active-border-color: #0d9488;
  --bs-btn-active-color: #0f766e;
  color: #0f766e;
  background-color: #fff;
  border-color: #9ad4cc;
}
.admin-body .admin-content .btn-outline-primary:hover,
.admin-body .admin-content .btn-outline-primary:focus,
.admin-body .admin-content .btn-outline-primary:focus-visible,
.admin-body .admin-content a.btn-outline-primary:hover {
  color: #0f766e !important;
  background-color: #ecfdf5 !important;
  border-color: #5bb8ae !important;
  box-shadow: 0 0 0 .2rem rgba(13, 148, 136, .12);
}
.admin-body .admin-content .btn-outline-primary:active,
.admin-body .admin-content .btn-outline-primary.active {
  color: #0f766e !important;
  background-color: #d1fae5 !important;
  border-color: #0d9488 !important;
}
.admin-body .admin-content .btn-outline-secondary {
  --bs-btn-color: #475569;
  --bs-btn-border-color: #d5dee8;
  --bs-btn-hover-bg: #f1f5f9;
  --bs-btn-hover-border-color: #cbd5e1;
  --bs-btn-hover-color: #1e293b;
  --bs-btn-active-bg: #e2e8f0;
  --bs-btn-active-border-color: #94a3b8;
  --bs-btn-active-color: #1e293b;
  color: #475569;
  background-color: #fff;
  border-color: #d5dee8;
}
.admin-body .admin-content .btn-outline-secondary:hover,
.admin-body .admin-content .btn-outline-secondary:focus,
.admin-body .admin-content .btn-outline-secondary:focus-visible,
.admin-body .admin-content a.btn-outline-secondary:hover {
  color: #1e293b !important;
  background-color: #f1f5f9 !important;
  border-color: #cbd5e1 !important;
  box-shadow: 0 0 0 .2rem rgba(100, 116, 139, .12);
}
.admin-body .admin-content .btn-outline-secondary:active,
.admin-body .admin-content .btn-outline-secondary.active {
  color: #1e293b !important;
  background-color: #e2e8f0 !important;
  border-color: #94a3b8 !important;
}
.admin-body .admin-content .btn-outline-danger {
  color: #dc2626;
  background-color: #fff;
  border-color: #f5c2c7;
}
.admin-body .admin-content .btn-outline-danger:hover,
.admin-body .admin-content .btn-outline-danger:focus,
.admin-body .admin-content .btn-outline-danger:focus-visible {
  color: #b91c1c !important;
  background-color: #fef2f2 !important;
  border-color: #f87171 !important;
  box-shadow: 0 0 0 .2rem rgba(220, 38, 38, .12);
}

/* 表格 */
.admin-body .admin-content .table {
  --bs-table-bg: transparent;
  --bs-table-striped-bg: transparent;
  --bs-table-border-color: var(--admin-line-soft);
  font-size: .875rem;
  font-weight: 400;
  color: var(--admin-ink);
}
.admin-body .admin-content .table > :not(caption) > * > * {
  padding: .65rem .55rem;
  border-bottom-color: var(--admin-line-soft);
  vertical-align: middle;
}
.admin-body .admin-content .table thead th {
  font-size: .75rem;
  font-weight: 600;
  color: var(--admin-muted);
  background: var(--admin-soft) !important;
  border-bottom: 1px solid var(--admin-line);
  white-space: nowrap;
  letter-spacing: 0;
}
.admin-body .admin-content .table tbody tr:hover {
  background: #f8fafc;
}
.admin-body .admin-content .table tbody td .fw-semibold,
.admin-body .admin-content .table tbody td .fw-bold {
  font-weight: 500;
  color: #1f2937;
}
.admin-body .admin-content .table .small,
.admin-body .admin-content .table .text-muted,
.admin-body .admin-content .text-muted {
  color: var(--admin-muted) !important;
}
.admin-body .admin-content .table-bordered {
  border-color: var(--admin-line);
}
.admin-body .admin-content .table-bordered > :not(caption) > * > * {
  border-color: var(--admin-line-soft);
}
.admin-body .admin-content .table-actions {
  gap: .55rem;
}
.admin-body .admin-content .table-actions a,
.admin-body .admin-content .btn-link-action {
  border: 0;
  background: none;
  padding: 0;
  font-size: .8125rem;
  font-weight: 500;
  color: var(--admin-accent);
  text-decoration: none;
  cursor: pointer;
}
.admin-body .admin-content .table-actions a:hover,
.admin-body .admin-content .btn-link-action:hover {
  text-decoration: underline;
}
.admin-body .admin-content .btn-delete-link,
.admin-body .admin-content .table-actions .text-danger,
.admin-body .admin-content .table-actions .btn-link.text-danger {
  font-size: .8125rem;
  color: #dc2626 !important;
  opacity: .8;
  text-decoration: none;
  border: 0;
  background: none;
  padding: 0;
}
.admin-body .admin-content .table tbody tr:hover .btn-delete-link,
.admin-body .admin-content .table tbody tr:hover .text-danger {
  opacity: 1;
}

/* 管理台 · 列表页统一（主词 / 竞品 / 短视频 / 工作台等） */
.admin-body .admin-content .admin-list-page .page-head .page-title {
  font-size: 1.35rem;
  font-weight: 650;
  color: var(--admin-ink, #1e293b);
  letter-spacing: -0.02em;
}
.admin-body .admin-content .admin-list-page .page-head-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: flex-end;
  gap: 0.45rem;
}
.admin-body .admin-content .admin-list-page .page-head-actions .btn {
  flex: 0 0 auto;
  width: auto;
  min-height: 2rem;
  padding-left: 0.75rem;
  padding-right: 0.75rem;
}
.admin-body .admin-content .admin-list-page .page-head-actions .btn-accent {
  font-weight: 600;
}
.admin-body .admin-content .admin-list-page .page-head .page-sub--meta {
  margin-top: 0.4rem;
  margin-bottom: 0;
  padding: 0.52rem 0.75rem 0.52rem 0.65rem;
  border-radius: 0.5rem;
  border: 1px solid #e2e8f0;
  border-left: 3px solid #2dd4bf;
  background: linear-gradient(90deg, #f0fdfa 0%, #f8fafc 38%, #f8fafc 100%);
  color: #475569;
  font-size: 0.8125rem;
  line-height: 1.55;
  max-width: 48rem;
}
.admin-body .admin-content .admin-list-page > .panel-card,
.admin-body .admin-content .admin-list-page .panel-card.admin-list-panel,
.admin-body .admin-content .admin-list-page .panel-card.competitor-sample-panel {
  padding: 1rem 1.1rem 1.05rem;
}
.admin-body .admin-content .admin-list-page .list-toolbar--compact {
  margin-bottom: 0.85rem;
  padding-bottom: 0.85rem;
  border-bottom: 1px solid var(--admin-line, #e2e8f0);
}
.admin-body .admin-content .admin-list-page .list-toolbar--compact .form-control,
.admin-body .admin-content .admin-list-page .list-toolbar--compact .form-select {
  min-height: 2.125rem;
  font-size: 0.8125rem;
  padding-top: 0.35rem;
  padding-bottom: 0.35rem;
  background-color: #fff;
  border-color: #d5dee8;
  box-shadow: none;
}
.admin-body .admin-content .admin-list-page .list-toolbar--compact .form-control:focus,
.admin-body .admin-content .admin-list-page .list-toolbar--compact .form-select:focus {
  border-color: #5eead4;
  box-shadow: 0 0 0 0.2rem rgba(13, 148, 136, 0.12);
}
.admin-body .admin-content .admin-list-page .list-toolbar--compact .list-toolbar-main {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.45rem;
}
/* 竞品网站 / 短视频：筛选控件单行横向滚动，避免折成多行大输入框 */
.admin-body .admin-content .admin-list-page .list-toolbar-main--sample,
.admin-body .admin-content .admin-list-page .video-list-toolbar__row {
  flex-wrap: nowrap !important;
  align-items: center;
  gap: 0.4rem;
  overflow-x: auto;
  overflow-y: hidden;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: thin;
  padding-bottom: 0.12rem;
  max-height: none;
}
.admin-body .admin-content .admin-list-page .list-toolbar-main--sample .list-search,
.admin-body .admin-content .admin-list-page .list-toolbar-main--sample .competitor-sample-search,
.admin-body .admin-content .admin-list-page .list-toolbar-main--sample input[type="search"],
.admin-body .admin-content .admin-list-page .video-list-toolbar__search {
  flex: 1 1 9rem;
  min-width: 7rem;
  max-width: 14rem;
  width: auto;
}
.admin-body .admin-content .admin-list-page .list-toolbar-main--sample .competitor-sample-theme,
.admin-body .admin-content .admin-list-page .video-list-toolbar__theme {
  flex: 0 1 8.5rem;
  min-width: 6.25rem;
  max-width: 10rem;
  width: auto;
}
.admin-body .admin-content .admin-list-page .video-list-toolbar__filter {
  flex: 0 0 auto;
  width: auto;
  min-width: 5.5rem;
  max-width: 7.25rem;
  padding-right: 1.35rem;
  font-size: 0.8125rem;
}
.admin-body .admin-content .admin-list-page .list-toolbar-main--sample .competitor-sample-submit,
.admin-body .admin-content .admin-list-page .list-toolbar-main--sample .competitor-sample-reset,
.admin-body .admin-content .admin-list-page .list-toolbar-main--sample .btn {
  flex: 0 0 auto;
}
.admin-body .admin-content .admin-list-page .list-toolbar--compact:not(:has(.list-toolbar-main--sample)) .list-search {
  flex: 1 1 11rem;
  max-width: 18rem;
  min-width: 8rem;
}
.admin-body .admin-content .admin-list-page .list-toolbar--compact .list-filter,
.admin-body .admin-content .admin-list-page .list-toolbar--compact .form-select.list-filter {
  flex: 0 1 10rem;
  max-width: 14rem;
  min-width: 7rem;
}
.admin-body .admin-content .admin-list-page .list-toolbar--compact .btn-accent,
.admin-body .admin-content .admin-list-page .list-toolbar--compact .competitor-sample-submit {
  flex: 0 0 auto;
  min-width: 4.25rem;
  font-weight: 600;
}
.admin-body .admin-content .admin-list-page .list-view-tabs--segmented {
  padding: 0.22rem;
  border-radius: 10px;
  background: #f1f5f9;
  border: 1px solid var(--admin-line, #e2e8f0);
  gap: 0.25rem !important;
  margin-bottom: 0.65rem !important;
}
.admin-body .admin-content .admin-list-page .list-view-tabs--segmented .btn {
  border: none !important;
  box-shadow: none !important;
  border-radius: 7px !important;
  font-weight: 600;
  min-height: 2rem;
}
.admin-body .admin-content .admin-list-page .list-view-tabs--segmented .btn-outline-secondary {
  background: transparent;
  color: #64748b;
}
.admin-body .admin-content .admin-list-page .list-view-tabs--segmented .btn-accent {
  box-shadow: 0 1px 3px rgba(13, 148, 136, 0.22);
}
.admin-body .admin-content .theme-list-page .list-toolbar-main {
  flex-wrap: nowrap;
  overflow-x: auto;
  overflow-y: hidden;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: thin;
  padding-bottom: 0.12rem;
}
.admin-body .admin-content .theme-list-page .list-toolbar-main .list-search {
  flex: 1 1 9rem;
  min-width: 7rem;
  max-width: 14rem;
}
.admin-body .admin-content .theme-list-page .list-toolbar-main .list-filter {
  flex: 0 1 8.5rem;
  min-width: 6.5rem;
  max-width: 10rem;
}
.admin-body .admin-content .theme-list-page .list-toolbar-main .btn {
  flex: 0 0 auto;
}
.admin-body .admin-content .admin-list-page .batch-delete-bar .btn-outline-primary {
  color: #0f766e;
  border-color: #9ad4cc;
  background: #fff;
  font-weight: 600;
}
.admin-body .admin-content .admin-list-page .batch-delete-bar .btn-outline-primary:disabled {
  opacity: 0.42;
  color: #64748b;
  border-color: #e2e8f0;
  background: #f8fafc;
}
.admin-body .admin-content .admin-list-page .batch-delete-bar .btn-outline-primary:not(:disabled):hover {
  color: #0f766e !important;
  background: #ecfdf5 !important;
  border-color: #5bb8ae !important;
}
.admin-body .admin-content .admin-list-page .batch-delete-bar .btn-outline-danger:not(:disabled) {
  border-color: #f87171;
  color: #b91c1c;
  background: #fef2f2;
  font-weight: 600;
}
.admin-body .admin-content .home-admin-overview .home-admin-lead {
  margin-top: 0.4rem;
  margin-bottom: 0;
  padding: 0.52rem 0.75rem 0.52rem 0.65rem;
  border-radius: 0.5rem;
  border: 1px solid #e2e8f0;
  border-left: 3px solid #2dd4bf;
  background: linear-gradient(90deg, #f0fdfa 0%, #f8fafc 38%, #f8fafc 100%);
  color: #475569 !important;
  font-size: 0.8125rem;
  line-height: 1.55;
  max-width: 48rem;
}
.admin-body .admin-content .home-admin-overview .home-hub-table thead th {
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--admin-muted, #64748b);
  background: var(--admin-soft, #f8fafc) !important;
  border-bottom: 1px solid var(--admin-line, #e2e8f0);
}
.admin-body .admin-content .home-admin-overview .home-hub-recent a.small {
  font-weight: 600;
  color: var(--admin-accent, #0d9488);
  text-decoration: none;
}
.admin-body .admin-content .home-admin-overview .home-hub-recent a.small:hover {
  text-decoration: underline;
}
.admin-body .admin-content .home-admin-overview .home-hub-table tbody td a {
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--admin-accent, #0d9488);
  text-decoration: none;
}
.admin-body .admin-content .home-admin-overview .home-hub-table tbody td a:hover {
  text-decoration: underline;
}

.admin-body .admin-content .hist-tag,
.admin-body .admin-content .tag-log {
  display: inline-block;
  font-size: .75rem;
  font-weight: 500;
  line-height: 1.35;
  padding: .16rem .42rem;
  border-radius: 5px;
  background: #f1f5f9 !important;
  color: #475569 !important;
  white-space: nowrap;
}
.admin-body .admin-content code {
  font-size: .75rem;
  color: #0f766e;
  background: #f0fdfa;
  padding: .1rem .35rem;
  border-radius: 4px;
}
.admin-body .admin-content .list-pager {
  margin-top: .75rem;
  padding-top: .65rem;
  border-top: 1px solid var(--admin-line-soft);
}
.admin-body .admin-content .list-meta {
  font-size: .8125rem;
  color: var(--admin-muted);
}
.admin-body .admin-content .pagination-sm .page-link {
  border-radius: 6px;
  font-size: .8125rem;
  color: #475569;
  border-color: var(--admin-line);
}
.admin-body .admin-content .pagination-sm .page-item.active .page-link {
  background: var(--admin-accent);
  border-color: var(--admin-accent);
  color: #fff;
}
.admin-body .admin-content .hub-back-link {
  font-size: .8125rem;
  color: var(--admin-muted);
  text-decoration: none;
}
.admin-body .admin-content .hub-back-link:hover {
  color: var(--admin-accent);
}
.admin-body .admin-content .mono {
  background: var(--admin-soft);
  border-color: var(--admin-line);
  border-radius: 10px;
  font-size: .8125rem;
  line-height: 1.55;
}

/* 专属页指标色对齐 accent */
.admin-body .admin-content .geo-projects-metric__value,
.admin-body .admin-content .skills-overview__metric-value {
  color: var(--admin-accent);
  font-weight: 600;
}

/* 角色权限面板对齐 panel */
.admin-body .admin-content .role-perm-card {
  overflow: hidden;
}
.admin-body .admin-content .role-perm-card__head {
  background: var(--admin-soft);
  border-bottom: 1px solid var(--admin-line-soft);
}
.admin-body .admin-content .role-perm-item {
  border-color: var(--admin-line-soft);
  border-radius: 6px;
}
.admin-body .admin-content .role-perm-item:hover {
  border-color: #cbd5e1;
  background: var(--admin-soft);
}
.admin-body .admin-content .role-perm-item__label {
  color: var(--admin-ink);
}
.admin-body .admin-content .role-perm-item__hint,
.admin-body .admin-content .role-perm-group__title {
  color: var(--admin-muted);
}

@media (max-width: 992px) {
  .admin-body .admin-content .list-search,
  .admin-body .admin-content .list-filter {
    flex: 1 1 100%;
    max-width: none;
  }
}

.admin-content .member-hub-form-page,
.admin-content .member-page-narrow {
  max-width: 32rem;
  margin: 0;
}
.admin-content .member-hub-form-page {
  background: var(--admin-card, #fff);
  border: 1px solid var(--admin-line, #e2e8f0);
  border-radius: var(--admin-radius, 12px);
  padding: 1.15rem 1.2rem 1.2rem;
  box-shadow: var(--admin-shadow);
}
.admin-content .member-hub-form-page .form-label {
  font-size: .75rem;
  font-weight: 500;
  color: var(--admin-muted, #64748b);
}
.admin-content .member-hub-form-page .member-input {
  border-radius: 8px;
  border-color: #d5dee8;
}
.admin-content .member-hub-form-page .member-action-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  align-items: center;
}
.admin-content .admin-account-stack {
  max-width: none;
  margin: 0;
  width: 100%;
}
.admin-content .admin-account-stack .member-hub-card,
.admin-content .admin-account-stack .member-panel {
  background: var(--admin-card, #fff);
  border: 1px solid var(--admin-line, #e2e8f0);
  border-radius: var(--admin-radius, 12px);
  padding: 0.85rem 1rem;
  margin-bottom: 0.65rem;
  box-shadow: var(--admin-shadow);
}
.admin-content .admin-account-stack .member-hub-card.member-panel {
  padding: 0.85rem 1rem;
}
.admin-content .admin-account-stack .member-hub-card .card-body,
.admin-content .admin-account-stack .member-panel .card-body {
  padding: 0 !important;
}
.admin-content .admin-account-stack .page-head {
  margin-bottom: 0.65rem;
}
.admin-content .admin-account-stack .member-panel__title {
  margin-bottom: 0.5rem;
}
.admin-content .member-hub-form-page .member-hub-form-page__muted-link {
  font-size: .8125rem;
  color: var(--admin-muted, #64748b);
  text-decoration: none;
  margin-left: .15rem;
}
.admin-content .member-hub-form-page .member-hub-form-page__muted-link:hover {
  color: #0d9488;
}
.admin-content .member-panel.member-hub-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 1.35rem 1.5rem;
  box-shadow: 0 1px 3px rgba(15, 23, 42, 0.05);
}
.member-console-lead {
  color: var(--muted);
  font-size: .875rem;
  margin: 0 0 1rem;
  line-height: 1.5;
}
.member-console-back-work {
  font-size: 14px;
  font-weight: 600;
}
.member-stat-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: .75rem;
}
@media (max-width: 767.98px) {
  .member-stat-grid { grid-template-columns: 1fr; }
}
.member-stat-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 1rem 1.1rem;
  box-shadow: 0 1px 3px rgba(15, 23, 42, .04);
}
.member-stat-card__label {
  font-size: .75rem;
  color: #94a3b8;
  margin-bottom: .25rem;
}
.member-stat-card__value {
  font-size: 1.15rem;
  font-weight: 700;
  color: #0f172a;
  line-height: 1.3;
}
.member-stat-card__value--sm {
  font-size: .9rem;
  font-weight: 600;
}
.member-stat-card__unit {
  font-size: .85rem;
  font-weight: 500;
  color: #64748b;
}
.member-stat-card__hint {
  font-size: .75rem;
  color: #94a3b8;
  margin-top: .35rem;
}
.member-panel {
  border: 1px solid var(--line);
  border-radius: 12px;
  box-shadow: 0 1px 3px rgba(15, 23, 42, .04);
}
.member-panel--narrow {
  max-width: 100%;
  width: 100%;
}
.member-page-focus {
  width: 100%;
  max-width: 420px;
  margin-left: auto;
  margin-right: auto;
}
.member-console-content--focus {
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: stretch;
}
@media (min-width: 768px) {
  .member-console-content--focus {
    justify-content: center;
  }
}
.member-console-content--focus .member-page-focus {
  flex: 0 0 auto;
}
.member-focus-actions {
  display: flex;
  flex-wrap: wrap;
  gap: .5rem .65rem;
  align-items: center;
}
.member-panel__title {
  font-size: 1rem;
  font-weight: 600;
  margin: 0 0 1rem;
  color: #1e293b;
}
.member-info-list {
  border-top: 1px solid var(--line);
  padding-top: 1rem;
}
.member-info-list__row {
  display: grid;
  grid-template-columns: 5.5rem 1fr;
  gap: .5rem;
  padding: .35rem 0;
  font-size: .875rem;
}
.member-info-list__row dt {
  color: #94a3b8;
  font-weight: 500;
}
.member-info-list__row dd {
  margin: 0;
  color: #334155;
}
.member-console-shell .admin-sidebar .nav-link--sub {
  padding: .48rem .75rem .48rem 1.1rem;
  font-size: calc(var(--fs-menu) - 1px);
  color: rgba(226, 232, 240, .88);
}
.member-console-shell .admin-sidebar .nav-link--sub.active {
  color: #fff;
}
.member-form-inline {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  gap: .65rem 1rem;
  max-width: 28rem;
}
.member-form-inline__field {
  flex: 1 1 11rem;
  min-width: 0;
}
.member-form-inline__btn {
  flex: 0 0 auto;
  min-width: 5.25rem;
}
.member-content-heading {
  font-size: 1rem;
  font-weight: 600;
  color: #1e293b;
  margin: 0 0 .5rem;
}

/* ===== 个人中心 Hub（对齐 GEO 青绿） ===== */
.member-hub-body {
  --member-primary: #0d9488;
  --member-primary-hover: #0f766e;
  --member-primary-soft: rgba(13, 148, 136, .12);
  --member-bg: #f1f5f4;
  --member-card: #fff;
  --member-border: #e5e7eb;
  margin: 0;
  background: var(--member-bg);
  color: #1f2937;
  min-height: 100vh;
  min-height: 100dvh;
}
.member-hub-shell {
  display: grid;
  grid-template-columns: 252px minmax(0, 1fr);
  gap: 1.15rem;
  max-width: 1240px;
  margin: 0 auto;
  padding: 1rem 1.15rem 2rem;
  min-height: 100vh;
  min-height: 100dvh;
  box-sizing: border-box;
}
.member-hub-side {
  background: var(--member-card);
  border: 1px solid var(--member-border);
  border-radius: 14px;
  padding: 1.15rem .85rem 1rem;
  align-self: start;
  position: sticky;
  top: 1rem;
  max-height: calc(100vh - 2rem);
  overflow-y: auto;
  box-shadow: 0 1px 2px rgba(15, 23, 42, .04);
}
.member-hub-profile {
  text-align: center;
  padding: 0 .35rem 1rem;
  margin-bottom: .5rem;
  border-bottom: 1px solid #f1f5f9;
}
.member-hub-profile__avatar {
  width: 56px;
  height: 56px;
  margin: 0 auto .65rem;
  border-radius: 50%;
  background: linear-gradient(145deg, #14b8a6 0%, #0d9488 100%);
  color: #fff;
  font-size: 1.35rem;
  font-weight: 700;
  line-height: 56px;
  text-align: center;
}
.member-hub-profile__name {
  font-size: 1rem;
  font-weight: 700;
  color: #111827;
  margin-bottom: .35rem;
}
.member-hub-profile__badge {
  display: inline-block;
  font-size: 11px;
  font-weight: 600;
  color: #64748b;
  background: #f1f5f9;
  border-radius: 999px;
  padding: .15rem .55rem;
  margin-bottom: .35rem;
}
.member-hub-profile__meta {
  font-size: 12px;
  color: #16a34a;
  font-weight: 500;
}
.member-hub-nav {
  display: flex;
  flex-direction: column;
  gap: 2px;
  padding: .35rem 0;
}
.member-hub-nav__group {
  font-size: 11px;
  font-weight: 600;
  color: #94a3b8;
  padding: .85rem .55rem .35rem;
  letter-spacing: .04em;
}
.member-hub-nav__item {
  display: flex;
  align-items: center;
  gap: .6rem;
  padding: .55rem .6rem;
  border-radius: 10px;
  text-decoration: none;
  color: #374151;
  font-size: 14px;
  font-weight: 500;
  transition: background .12s ease, color .12s ease;
}
.member-hub-nav__item:hover {
  background: #f8fafc;
  color: #111827;
}
.member-hub-nav__item.is-active {
  background: var(--member-primary-soft);
  color: var(--member-primary);
  font-weight: 600;
}
.member-hub-nav__ico {
  width: 28px;
  height: 28px;
  border-radius: 8px;
  flex-shrink: 0;
  background: #f1f5f9 center / 16px no-repeat;
}
.member-hub-nav__item.is-active .member-hub-nav__ico {
  background-color: rgba(13, 148, 136, .15);
}
.member-hub-nav__ico--overview { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 24 24' stroke='%230d9488' stroke-width='2'%3E%3Cpath d='M4 6h7v12H4zM13 6h7v5h-7zM13 13h7v5h-7z'/%3E%3C/svg%3E"); }
.member-hub-nav__ico--lock { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 24 24' stroke='%23f59e0b' stroke-width='2'%3E%3Crect x='5' y='11' width='14' height='10' rx='2'/%3E%3Cpath d='M8 11V8a4 4 0 0 1 8 0v3'/%3E%3C/svg%3E"); }
.member-hub-nav__ico--partner { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 24 24' stroke='%2310b981' stroke-width='2'%3E%3Cpath d='M16 11c1.7 0 3-1.3 3-3s-1.3-3-3-3-3 1.3-3 3 1.3 3 3 3zM8 13c1.7 0 3-1.3 3-3S9.7 7 8 7 5 8.3 5 10s1.3 3 3 3zM8 15c-2.8 0-5 1.5-5 3.5V20h10v-1.5C13 16.5 10.8 15 8 15zM16 13c-2.2 0-4 1-4 2.5V20h8v-4.5c0-1.5-1.8-2.5-4-2.5z'/%3E%3C/svg%3E"); }
.member-hub-nav__ico--billing { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 24 24' stroke='%230d9488' stroke-width='2'%3E%3Crect x='4' y='6' width='16' height='12' rx='2'/%3E%3Cpath d='M4 10h16'/%3E%3C/svg%3E"); }
.member-hub-nav__ico--plans { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 24 24' stroke='%230f766e' stroke-width='2'%3E%3Cpath d='M12 3l2.4 4.9 5.4.8-3.9 3.8.9 5.3L12 15.8 7.2 17.8l.9-5.3L4.2 8.7l5.4-.8z'/%3E%3C/svg%3E"); }
.member-hub-nav__ico--usage { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 24 24' stroke='%2314b8a6' stroke-width='2'%3E%3Cpath d='M4 18V6l4 3v9M12 18V4l4 2.5V18M20 18v-8l-4 2v6'/%3E%3C/svg%3E"); }
.member-hub-nav__ico--orders { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 24 24' stroke='%230d9488' stroke-width='2'%3E%3Cpath d='M7 7h10l-1 10H8L7 7zM9 7V5h6v2'/%3E%3C/svg%3E"); }
.member-hub-nav__ico--site { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 24 24' stroke='%230d9488' stroke-width='2'%3E%3Cpath d='M4 20V9l8-5 8 5v11'/%3E%3C/svg%3E"); }
.member-hub-side__foot {
  margin-top: .75rem;
  padding-top: .75rem;
  border-top: 1px solid #f1f5f9;
}
.member-hub-side__link {
  display: block;
  text-align: center;
  font-size: 13px;
  font-weight: 600;
  color: var(--member-primary);
  text-decoration: none;
  padding: .45rem;
  border-radius: 8px;
}
.member-hub-side__link:hover {
  background: var(--member-primary-soft);
}
.member-hub-main {
  min-width: 0;
}
.member-hub-topbar {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: .5rem;
  margin-bottom: .75rem;
  min-height: 2rem;
}
.member-hub-topbar__menu {
  margin-right: auto;
  border: 1px solid var(--member-border);
  background: #fff;
  border-radius: 8px;
  padding: .35rem .5rem;
  line-height: 0;
}
.member-hub-topbar__actions {
  display: flex;
  align-items: center;
  gap: .35rem;
  flex-wrap: wrap;
}
.member-hub-topbar__btn {
  border: none;
  background: transparent;
  color: #64748b;
  font-size: 13px;
  font-weight: 600;
  padding: .35rem .55rem;
  border-radius: 8px;
  text-decoration: none;
  cursor: pointer;
}
.member-hub-topbar__btn:hover {
  background: #fff;
  color: #334155;
}
.member-hub-page-hd {
  margin-bottom: 1.15rem;
}
.member-hub-page-hd__title {
  font-size: 1.5rem;
  font-weight: 700;
  color: #111827;
  margin: 0 0 .35rem;
  letter-spacing: -.02em;
}
.member-hub-page-hd__sub {
  margin: 0;
  font-size: 14px;
  color: #64748b;
  line-height: 1.55;
}
.member-hub-content .member-page {
  max-width: none;
  margin: 0;
  gap: 1rem;
}
.member-hub-card,
.member-hub-body .member-panel,
.member-hub-body .panel-card.member-panel {
  background: var(--member-card);
  border: 1px solid var(--member-border);
  border-radius: 12px;
  padding: 1.15rem 1.25rem;
  box-shadow: 0 1px 2px rgba(15, 23, 42, .04);
}
.member-hub-body .member-panel .card-body {
  padding: 0;
}
.member-hub-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: .5rem;
  margin-bottom: 1.15rem;
}
.member-hub-tabs__link {
  display: inline-flex;
  align-items: center;
  padding: .45rem 1rem;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 600;
  text-decoration: none;
  color: #374151;
  background: #fff;
  border: 1px solid var(--member-border);
}
.member-hub-tabs__link:hover {
  border-color: #cbd5e1;
  color: #111827;
}
.member-hub-tabs__link.is-active {
  background: var(--member-primary);
  border-color: var(--member-primary);
  color: #fff;
}
.member-hub-body .btn-accent {
  background: var(--member-primary);
  border-color: var(--member-primary);
}
.member-hub-body .btn-accent:hover {
  background: var(--member-primary-hover);
  border-color: var(--member-primary-hover);
}
.member-hub-body .member-stat-card {
  background: #fff;
  border: 1px solid var(--member-border);
  border-radius: 12px;
  padding: 1rem 1.1rem;
  box-shadow: 0 1px 2px rgba(15, 23, 42, .04);
  transform: none;
}
.member-hub-body .member-stat-card:hover {
  transform: none;
  box-shadow: 0 2px 8px rgba(15, 23, 42, .06);
}
.member-hub-body .member-stat-card::before {
  display: none;
}
.member-hub-body .member-stat-card__value {
  color: #111827;
  font-size: 1.25rem;
}
.member-hub-body .member-role-badge {
  display: inline-block;
  font-size: 12px;
  font-weight: 600;
  color: var(--member-primary);
  background: var(--member-primary-soft);
  border-radius: 6px;
  padding: .15rem .45rem;
}
.member-hub-body .member-info-list--boxed {
  background: #f8fafc;
  border: 1px solid #f1f5f9;
  border-radius: 10px;
  padding: .75rem 1rem;
}
.member-hub-backdrop {
  display: none;
}
@media (max-width: 991.98px) {
  .member-hub-shell {
    display: flex;
    flex-direction: column;
    grid-template-columns: none;
    padding: 0;
    max-width: none;
    width: 100%;
  }
  .member-hub-side {
    position: fixed;
    z-index: 1040;
    left: 0;
    top: 0;
    width: min(280px, 88vw);
    height: 100vh;
    max-height: none;
    border-radius: 0;
    transform: translateX(-105%);
    transition: transform .2s ease;
    box-shadow: 4px 0 24px rgba(15, 23, 42, .12);
  }
  .member-hub-side.is-open {
    transform: translateX(0);
  }
  .member-hub-backdrop {
    display: block;
    position: fixed;
    inset: 0;
    z-index: 1035;
    background: rgba(15, 23, 42, .35);
  }
  .member-hub-backdrop[hidden] {
    display: none;
  }
  body.member-hub-sidebar-open {
    overflow: hidden;
  }
}

/* ===== Member console — 与管理台同一套壳层 ===== */
.member-console-shell .admin-sidebar .nav-link--sub {
  padding-left: .55rem;
  font-size: 13px;
}
.member-console-content {
  padding: 1.15rem 1.25rem 2rem;
}
.member-page {
  max-width: 960px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}
.member-hub-body .member-page {
  max-width: none;
  margin: 0;
  width: 100%;
}
.member-page-narrow {
  max-width: 520px;
  width: 100%;
}
.member-page-intro {
  margin: 0 0 1rem;
  padding: 0;
  background: none;
  border: none;
  border-radius: 0;
  box-shadow: none;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.55;
}
.member-section-nav {
  display: flex;
  flex-wrap: wrap;
  gap: .25rem;
  padding: .25rem;
  margin-bottom: 1rem;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 10px;
}
.member-section-nav__link {
  display: inline-flex;
  align-items: center;
  padding: .4rem .75rem;
  border-radius: 8px;
  font-size: 13px;
  font-weight: 600;
  color: var(--muted);
  text-decoration: none;
  transition: background .12s ease, color .12s ease;
}
.member-section-nav__link:hover {
  color: var(--ink);
  background: var(--panel);
}
.member-section-nav__link.is-active {
  color: var(--accent);
  background: var(--accent-soft);
  box-shadow: none;
}
.member-panel {
  border: 1px solid var(--line);
  border-radius: 12px;
  box-shadow: var(--shadow-sm);
  background: #fff;
}
.member-panel .card-body {
  padding: 1.15rem 1.25rem;
}
.member-panel__title {
  font-size: 1rem;
  font-weight: 600;
  margin: 0 0 .75rem;
  color: var(--ink);
}
.member-panel__lead {
  color: var(--muted);
  font-size: 14px;
  margin: 0 0 1rem;
  line-height: 1.55;
}
.member-input.form-control {
  font-size: 14px;
  border-radius: 8px;
  border-color: var(--line);
}
.member-console-shell .member-action-bar .btn-accent {
  font-size: 14px;
  font-weight: 600;
  border-radius: 8px;
  padding: .45rem 1rem;
}
.member-callout {
  padding: .65rem 1rem;
  border-radius: 12px;
  font-size: .875rem;
  line-height: 1.5;
  border: 1px solid transparent;
}
.member-callout--success {
  background: rgba(16, 185, 129, .1);
  border-color: rgba(16, 185, 129, .25);
  color: #047857;
}
.member-callout--danger {
  background: rgba(239, 68, 68, .08);
  border-color: rgba(239, 68, 68, .22);
  color: #b91c1c;
}
.member-callout--warning {
  background: rgba(245, 158, 11, .1);
  border-color: rgba(245, 158, 11, .28);
  color: #92400e;
}
.member-stat-grid {
  gap: 1rem;
}
.member-stat-card {
  border: 1px solid rgba(255, 255, 255, .8);
  background: rgba(255, 255, 255, .92);
  border-radius: 16px;
  padding: 1.15rem 1.2rem 1.1rem;
  box-shadow: 0 8px 28px rgba(15, 23, 42, .07);
  position: relative;
  overflow: hidden;
  transition: transform .2s ease, box-shadow .2s ease;
}
.member-stat-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 36px rgba(15, 23, 42, .1);
}
.member-stat-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, #3b82f6, #0ea5e9);
}
.member-stat-card--plan::before {
  background: linear-gradient(90deg, #0ea5e9, #3b82f6);
}
.member-stat-card--points::before {
  background: linear-gradient(90deg, #2dd4bf, #0d9488);
}
.member-stat-card--usage::before {
  background: linear-gradient(90deg, #a78bfa, #6366f1);
}
.member-stat-card__label {
  font-size: .72rem;
  font-weight: 600;
  letter-spacing: .04em;
  color: #64748b;
  text-transform: uppercase;
}
.member-stat-card__value {
  font-size: 1.38rem;
  font-weight: 800;
  color: #0f172a;
  letter-spacing: -.02em;
}
.member-action-bar {
  display: flex;
  flex-wrap: wrap;
  gap: .5rem .65rem;
  margin-bottom: 1.35rem;
}
.member-console-shell .member-action-bar .btn-accent {
  background: linear-gradient(135deg, #0ea5e9 0%, #3b82f6 100%);
  border: none;
  font-weight: 600;
  padding: .4rem 1.1rem;
  border-radius: 10px;
  box-shadow: 0 4px 16px rgba(59, 130, 246, .35);
}
.member-console-shell .member-action-bar .btn-accent:hover {
  background: linear-gradient(135deg, #0284c7 0%, #2563eb 100%);
  box-shadow: 0 6px 20px rgba(59, 130, 246, .4);
}
.member-btn-ghost {
  background: rgba(255, 255, 255, .85);
  border-color: rgba(148, 163, 184, .45);
  border-radius: 10px;
  font-weight: 500;
}
.member-panel {
  background: rgba(255, 255, 255, .94);
  border: 1px solid rgba(148, 163, 184, .22);
  border-radius: 16px;
  box-shadow: 0 10px 40px rgba(15, 23, 42, .06);
}
.member-panel .card-body {
  padding: 1.35rem 1.45rem;
}
.member-panel__title {
  font-size: 1.05rem;
  font-weight: 700;
  color: #0f172a;
  margin: 0 0 1.1rem;
  padding-bottom: .7rem;
  border-bottom: 1px solid rgba(226, 232, 240, .9);
}
.member-panel__head {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: .5rem;
  margin-bottom: 1rem;
  padding-bottom: .7rem;
  border-bottom: 1px solid rgba(226, 232, 240, .9);
}
.member-panel__head .member-panel__title {
  margin: 0;
  padding: 0;
  border: none;
}
.member-panel__lead {
  margin: -.35rem 0 1rem;
  font-size: .875rem;
  color: #64748b;
  line-height: 1.5;
}
.member-panel__subtitle {
  font-size: .9rem;
  font-weight: 700;
  color: #334155;
  margin: 1.25rem 0 .65rem;
}
.member-form-section {
  margin-bottom: 1rem;
}
.member-form-section__title {
  font-size: .8125rem;
  font-weight: 700;
  color: #64748b;
  letter-spacing: .03em;
  margin: 0 0 .5rem;
  text-transform: uppercase;
}
.member-info-list {
  list-style: none;
  padding: 0;
  margin: 0;
}
.member-info-list li {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  padding: .5rem 0;
  border-bottom: 1px solid rgba(226, 232, 240, .85);
  font-size: .875rem;
  color: #475569;
}
.member-info-list li:last-child {
  border-bottom: none;
}
.member-info-list li strong {
  color: #0f172a;
  font-weight: 600;
}
.member-pack-tile {
  border: 1px solid rgba(226, 232, 240, .95);
  border-radius: 14px;
  padding: 1rem 1.1rem;
  height: 100%;
  background: linear-gradient(180deg, #f8fafc 0%, #fff 100%);
}
.member-table-wrap {
  border-radius: 12px;
  border: 1px solid rgba(226, 232, 240, .9);
  overflow: hidden;
}
.member-console-shell .member-table thead th {
  background: #f8fafc;
  font-size: .75rem;
  font-weight: 700;
  color: #64748b;
  border-bottom-color: rgba(226, 232, 240, .95);
}
.member-pay-amount {
  font-size: 1.35rem;
  color: #0f172a;
  margin-bottom: .35rem;
}
.member-dl dt {
  color: #94a3b8;
  font-size: .8125rem;
}
.member-dl dd {
  color: #1e293b;
  font-weight: 500;
}
.member-link {
  color: #0369a1;
  font-weight: 600;
  text-decoration: none;
}
.member-link:hover {
  color: #0284c7;
  text-decoration: underline;
}
.member-profile-split {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.25rem;
  align-items: start;
}
@media (min-width: 768px) {
  .member-profile-split {
    grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr);
    gap: 1.5rem;
  }
}
.member-info-list--boxed {
  border-top: none;
  padding: .75rem 1rem;
  background: linear-gradient(180deg, #f8fafc 0%, #f1f5f9 100%);
  border-radius: 14px;
  border: 1px solid rgba(226, 232, 240, .9);
}
.member-info-list__row {
  padding: .55rem 0;
  border-bottom: 1px solid rgba(226, 232, 240, .75);
}
.member-info-list__row:last-child {
  border-bottom: none;
  padding-bottom: .15rem;
}
.member-info-list__row dt {
  color: #94a3b8;
  font-size: .8125rem;
}
.member-info-list__row dd {
  color: #1e293b;
  font-weight: 500;
}
.member-role-badge {
  display: inline-block;
  font-size: .8125rem;
  font-weight: 600;
  color: #0369a1;
  background: rgba(14, 165, 233, .12);
  padding: .15rem .55rem;
  border-radius: 6px;
}
.member-input {
  border-radius: 10px;
  border-color: #cbd5e1;
  background: #fff;
}
.member-input:focus {
  border-color: #38bdf8;
  box-shadow: 0 0 0 3px rgba(56, 189, 248, .2);
}
.member-console-shell .member-form-inline__btn {
  border-radius: 10px;
  font-weight: 600;
  box-shadow: 0 4px 14px rgba(59, 130, 246, .3);
}

/* ===== Member — upgrade plans ===== */
.member-plans-header {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1rem 1.5rem;
  margin-bottom: 1.25rem;
}
.member-plans-header__title {
  font-size: 1.35rem;
  font-weight: 800;
  color: #0f172a;
  margin: 0 0 .35rem;
  letter-spacing: -.03em;
}
.member-plans-header__sub {
  margin: 0;
  font-size: .875rem;
  color: #64748b;
  line-height: 1.5;
  max-width: 36rem;
}
.member-plans-current {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: .2rem;
  padding: .55rem 1rem;
  background: rgba(255, 255, 255, .85);
  border: 1px solid rgba(148, 163, 184, .35);
  border-radius: 12px;
  box-shadow: 0 4px 16px rgba(15, 23, 42, .06);
}
.member-plans-current__label {
  font-size: .7rem;
  font-weight: 600;
  letter-spacing: .06em;
  color: #94a3b8;
  text-transform: uppercase;
}
.member-plans-current__name {
  font-size: 1rem;
  font-weight: 700;
  color: #0f766e;
}
.member-plans-current--inline {
  margin-bottom: 0;
  align-items: flex-start;
  align-self: flex-start;
  width: auto;
  max-width: 100%;
}
.member-billing-toggle {
  display: inline-flex;
  align-items: center;
  gap: .35rem;
  padding: .35rem;
  margin-bottom: 1.35rem;
  background: rgba(255, 255, 255, .75);
  border: 1px solid rgba(148, 163, 184, .35);
  border-radius: 999px;
  box-shadow: 0 4px 20px rgba(15, 23, 42, .06);
}
.member-billing-toggle__btn {
  border: none;
  background: transparent;
  color: #64748b;
  font-size: .875rem;
  font-weight: 600;
  padding: .45rem 1.15rem;
  border-radius: 999px;
  cursor: pointer;
  transition: background .15s ease, color .15s ease, box-shadow .15s ease;
  display: inline-flex;
  align-items: center;
  gap: .4rem;
}
.member-billing-toggle__btn.is-active {
  background: #0d9488;
  color: #fff;
  box-shadow: none;
}
.member-billing-toggle__tag {
  font-size: .65rem;
  font-weight: 700;
  padding: .12rem .4rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, .25);
  color: #fff;
}
.member-billing-toggle__btn:not(.is-active) .member-billing-toggle__tag {
  background: rgba(16, 185, 129, .15);
  color: #059669;
}
.member-plans-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
}
@media (min-width: 768px) {
  .member-plans-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (min-width: 1100px) {
  .member-plans-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}
.member-plan-card {
  position: relative;
  display: flex;
  flex-direction: column;
  padding: 1.35rem 1.35rem 1.25rem;
  border-radius: 18px;
  background: rgba(255, 255, 255, .94);
  border: 1px solid rgba(148, 163, 184, .28);
  box-shadow: 0 10px 36px rgba(15, 23, 42, .07);
  transition: transform .2s ease, box-shadow .2s ease;
}
.member-plan-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 16px 48px rgba(15, 23, 42, .1);
}
.member-plan-card--featured {
  border-color: rgba(13, 148, 136, .45);
  background:
    linear-gradient(165deg, rgba(255, 255, 255, .98) 0%, rgba(13, 148, 136, .06) 100%);
  box-shadow:
    0 12px 40px rgba(13, 148, 136, .12),
    0 0 0 1px rgba(13, 148, 136, .1);
}
.member-plan-card--featured:hover {
  box-shadow:
    0 18px 52px rgba(13, 148, 136, .16),
    0 0 0 1px rgba(13, 148, 136, .16);
}
.member-plan-card__ribbon {
  position: absolute;
  top: 14px;
  right: 14px;
  font-size: .7rem;
  font-weight: 700;
  letter-spacing: .04em;
  padding: .25rem .55rem;
  border-radius: 8px;
  color: #fff;
  background: #0d9488;
  box-shadow: 0 4px 12px rgba(13, 148, 136, .35);
}
.member-plan-card__current {
  font-size: .72rem;
  font-weight: 600;
  color: #0f766e;
  margin-bottom: .5rem;
}
.member-plan-card__name {
  font-size: 1.15rem;
  font-weight: 800;
  color: #0f172a;
  margin: 0 0 .25rem;
  letter-spacing: -.02em;
}
.member-plan-card__desc {
  font-size: .8125rem;
  color: #64748b;
  margin: 0;
  line-height: 1.45;
}
.member-plan-card__head {
  margin-bottom: 1rem;
}
.member-plan-card__price {
  display: flex;
  align-items: baseline;
  gap: .15rem;
  margin-bottom: 1rem;
}
.member-plan-card__currency {
  font-size: 1.1rem;
  font-weight: 700;
  color: #0d9488;
}
.member-plan-card--featured .member-plan-card__currency {
  color: #0f766e;
}
.member-plan-card__amount {
  font-size: 2.25rem;
  font-weight: 800;
  line-height: 1;
  color: #0f172a;
  letter-spacing: -.04em;
}
.member-plan-card__period {
  font-size: .875rem;
  color: #94a3b8;
  font-weight: 500;
}
.member-plan-card__features {
  list-style: none;
  margin: 0 0 1.15rem;
  padding: 0;
  font-size: .8125rem;
  color: #475569;
  line-height: 1.55;
}
.member-plan-card__features li {
  padding: .35rem 0;
  border-bottom: 1px solid rgba(226, 232, 240, .8);
}
.member-plan-card__features li:last-child {
  border-bottom: none;
}
.member-plan-card__features strong {
  color: #0f172a;
  font-weight: 700;
}
.member-plan-card__form {
  margin: 0;
}
.member-plan-card__cta {
  width: 100%;
  border-radius: 10px;
  font-weight: 700;
  padding: .55rem 1rem;
  border: none;
  background: #0d9488;
  box-shadow: none;
}
.member-plan-card--featured .member-plan-card__cta:not(:disabled) {
  background: #0f766e;
  box-shadow: none;
}
.member-plan-card__cta:disabled {
  opacity: .65;
  background: #e2e8f0;
  color: #64748b;
  box-shadow: none;
}

/* ===== Shared ===== */
.page-title {
  font-size: 1.4rem;
  font-weight: 700;
  margin-bottom: .25rem;
  color: var(--ink);
}
.page-sub {
  color: var(--muted);
  margin-bottom: 1rem;
  font-size: 14px;
}
.stat-card, .panel-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 1rem 1.1rem;
  height: auto;
}
.stat-card.h-100, .panel-card.h-100 {
  height: 100%;
}
.stat-card .label { color: var(--muted); font-size: 14px; }
.stat-card .value { font-size: 1.75rem; font-weight: 700; color: var(--accent); line-height: 1.2; }
.btn-primary-soft {
  background: #e8f5f3;
  color: var(--accent);
  border: 1px solid #b7e4de;
  border-radius: 8px;
  text-decoration: none;
  padding: .35rem .8rem;
  font-size: 14px;
  font-weight: 600;
}
.btn-primary-soft:hover { background: #d5efe9; color: var(--accent-hover); }
.table thead th {
  background: var(--panel);
  color: #64748b;
  font-size: 12.5px;
  font-weight: 600;
  letter-spacing: 0.01em;
  line-height: 1.35;
  padding-top: 0.55rem;
  padding-bottom: 0.55rem;
  border-bottom-color: var(--line);
  white-space: nowrap;
}
.batch-check-col {
  width: 2rem;
  min-width: 2rem;
  max-width: 2rem;
  padding-left: .5rem !important;
  padding-right: .25rem !important;
  text-align: center;
  vertical-align: middle;
}
.batch-check-col .form-check-input {
  margin: 0;
  float: none;
}
.theme-table-wrap {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}
.theme-table {
  table-layout: fixed;
  width: 100%;
  min-width: 52rem;
}
.theme-table .theme-col-check { width: 2rem; }
.theme-table .theme-col-name { width: 14%; }
.theme-table .theme-col-industry { width: 6rem; }
.theme-table .theme-col-keywords { width: 18%; }
.theme-table .theme-col-intent { width: 34%; }
.theme-table .theme-col-date { width: 6.25rem; }
.theme-table .theme-col-actions { width: 5.5rem; }
.theme-table .theme-th-date,
.theme-table .theme-cell-date {
  text-align: right;
}
.theme-table .theme-th-actions,
.theme-table .td-actions {
  text-align: right;
}
.theme-table .theme-cell-name {
  line-height: 1.45;
}
.theme-table .theme-cell-industry {
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  color: var(--muted);
}
.theme-table .theme-cell-keywords {
  color: #64748b;
  line-height: 1.45;
}
.theme-table .theme-cell-intent {
  color: #475569;
  line-height: 1.5;
}
.theme-table .theme-cell-clamp {
  display: -webkit-box;
  -webkit-box-orient: vertical;
  overflow: hidden;
  word-break: break-word;
}
.theme-table .theme-cell-clamp--2 { -webkit-line-clamp: 2; }
.theme-table .theme-cell-clamp--3 { -webkit-line-clamp: 3; }
.theme-table .theme-cell-date {
  white-space: nowrap;
  font-variant-numeric: tabular-nums;
}
.theme-table__meta-line {
  display: none;
  flex-wrap: wrap;
  gap: 0.35rem 0.45rem;
  margin-top: 0.35rem;
}
.theme-table__section-label {
  display: none;
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: #94a3b8;
  margin-bottom: 0.28rem;
}
.theme-table__section-body {
  font-size: 0.8125rem;
  line-height: 1.5;
  color: #475569;
  word-break: break-word;
}
@media (max-width: 991.98px) {
  .theme-table { min-width: 44rem; }
  .theme-table .theme-col-name { width: 13%; }
  .theme-table .theme-col-keywords { width: 16%; }
  .theme-table .theme-col-intent { width: 30%; }
  .theme-table .theme-cell-clamp--3 { -webkit-line-clamp: 2; }
}
.badge-soft {
  background: #e8eefc;
  color: var(--accent);
  border: 1px solid #c9d8ff;
}
/* badge-soft 与 Bootstrap 语义色叠加时勿沿用浅蓝底 + 亮黄字（对比不足） */
.badge-soft.text-warning {
  background: #fff7ed;
  color: #b45309;
  border-color: #f3d5b0;
}
.badge-soft.text-success {
  background: #ecfdf5;
  color: #047857;
  border-color: #a7f3d0;
}
.badge-warn {
  background: #fff7ed;
  color: #b45309;
  border: 1px solid #f3d5b0;
}
.btn-accent {
  background: var(--accent);
  border-color: var(--accent);
  color: #fff;
}
.btn-accent:hover { background: var(--accent-hover); border-color: var(--accent-hover); color: #fff; }

.list-empty {
  max-width: 22rem;
  margin: 0.5rem auto;
  padding: 0.5rem 1rem 0.25rem;
}
.list-empty__title {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--ink);
  margin: 0;
}
.list-empty__desc {
  font-size: 13.5px;
  line-height: 1.55;
  margin: 0;
}
.form-panel {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 1.25rem;
  max-width: 820px;
}
.app-modal {
  border: 1px solid var(--line);
  border-radius: 14px;
  box-shadow: 0 18px 48px rgba(27, 36, 53, .16);
  overflow: hidden;
}
.app-modal .modal-header {
  border-bottom: 1px solid var(--line);
  padding: 1rem 1.15rem;
}
.app-modal .modal-title {
  font-weight: 700;
  color: var(--ink, #1b2435);
}
.app-modal .modal-body {
  padding: 1.15rem;
}
.app-modal .modal-footer {
  border-top: 1px solid var(--line);
  padding: .85rem 1.15rem;
  gap: .5rem;
}
.app-modal .form-label {
  font-weight: 600;
  font-size: 13px;
  color: #4b5568;
}
.btn-delete-link {
  color: #dc3545 !important;
  text-decoration: none;
  font-size: 13px;
  padding: 0;
  border: 0;
  background: none;
  cursor: pointer;
}
.btn-delete-link:hover { color: #a71d2a !important; text-decoration: underline; }
.table-actions {
  display: inline-flex;
  align-items: center;
  gap: .65rem;
  white-space: nowrap;
}
.page-head {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: flex-start;
  gap: .75rem 1rem;
}
.page-head-text {
  flex: 1;
  min-width: min(100%, 16rem);
}
.page-head .page-sub {
  margin-bottom: 0;
}

/* 默认：标题下普通说明文字（表单页、设置页等） */
.page-head .page-sub:not(.page-sub--meta):not(.text-center) {
  margin-top: 0.15rem;
  color: var(--muted);
  font-size: 0.8125rem;
  font-weight: 400;
  line-height: 1.5;
}

/* 列表 / 名录页：说明提示条 */
.page-hint,
.admin-list-page .page-head .page-sub:not(.page-sub--meta):not(.text-center),
.mobile-list-page .page-head .page-sub:not(.page-sub--meta):not(.text-center),
.hub-card-list-page .page-head .page-sub:not(.page-sub--meta):not(.text-center) {
  margin-top: 0.4rem;
  margin-bottom: 0;
  padding: 0.52rem 0.75rem 0.52rem 0.65rem;
  border-radius: 0.5rem;
  border: 1px solid #e2e8f0;
  border-left: 3px solid #2dd4bf;
  background: linear-gradient(90deg, #f0fdfa 0%, #f8fafc 38%, #f8fafc 100%);
  color: #475569;
  font-size: 0.8125rem;
  font-weight: 400;
  line-height: 1.55;
  max-width: 48rem;
}
.page-hint strong,
.admin-list-page .page-head .page-sub:not(.page-sub--meta):not(.text-center) strong,
.mobile-list-page .page-head .page-sub:not(.page-sub--meta):not(.text-center) strong,
.hub-card-list-page .page-head .page-sub:not(.page-sub--meta):not(.text-center) strong {
  color: #334155;
  font-weight: 600;
}
.page-sub--meta,
.page-head .page-sub.page-sub--meta {
  margin-top: 0.15rem;
  padding: 0;
  border: none;
  background: transparent;
  color: var(--muted);
  font-size: 0.8125rem;
  font-weight: 400;
  line-height: 1.5;
  max-width: none;
}
.page-head .page-sub.text-center {
  margin-top: 0.35rem;
  padding: 0;
  border: none;
  background: transparent;
  text-align: center;
}
.page-head-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: .5rem;
}
.list-toolbar {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: .6rem;
}
.list-toolbar-main {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: .5rem;
  flex: 1;
  min-width: 0;
}
.list-toolbar-meta {
  white-space: nowrap;
}
.list-toolbar-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: .4rem;
}
.list-search {
  flex: 1 1 12rem;
  min-width: 0;
  width: auto;
  max-width: 100%;
}
.list-search.form-control,
.list-search.form-control-sm {
  min-height: 2.125rem;
  height: 2.125rem;
  padding-top: .3rem;
  padding-bottom: .3rem;
  line-height: 1.35;
}
.list-toolbar--compact .list-toolbar-main {
  gap: .4rem;
}
.list-toolbar--compact {
  margin-bottom: .65rem !important;
}
.list-filter {
  width: auto;
  min-width: 120px;
  max-width: 180px;
}

/* 列表筛选条：主题 / 搜索 / 操作统一大气布局 */
.filter-bar {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  gap: 0.75rem 1rem;
  padding: 0.95rem 1rem;
}
.filter-bar__field {
  display: flex;
  flex-direction: column;
  gap: 0.3rem;
  min-width: 0;
  flex: 1 1 10rem;
}
.filter-bar__field--theme {
  flex: 1 1 14rem;
  max-width: 22rem;
}
.filter-bar__field--search {
  flex: 1 1 12rem;
  max-width: 20rem;
}
.filter-bar__label {
  margin: 0 0 0.35rem;
  font-size: 13.5px;
  font-weight: 600;
  color: var(--ink);
  letter-spacing: 0;
  line-height: 1.35;
}
.filter-bar__field .form-control,
.filter-bar__field .form-select,
.filter-bar__field .theme-picker,
.filter-bar__field .theme-picker__input {
  width: 100%;
  min-height: 2.35rem;
}
.filter-bar .theme-picker-field .form-label,
.filter-bar .filter-bar__label,
.filter-bar .form-label {
  margin: 0 0 0.35rem;
  font-size: 13.5px;
  font-weight: 600;
  color: var(--ink);
  letter-spacing: 0;
  line-height: 1.35;
}

/* 工作台表单标签统一（筛选条 / 面板内表单） */
.panel-card .form-label,
.panel-card .form-label.small,
.filter-bar .form-label,
.filter-bar .form-label.small {
  font-size: 13.5px;
  font-weight: 600;
  color: var(--ink);
  margin-bottom: 0.35rem;
  line-height: 1.35;
}
.filter-bar__actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.45rem;
  flex: 0 0 auto;
  padding-bottom: 1px;
}
.filter-bar__actions .btn {
  min-height: 2.35rem;
  padding-left: 1rem;
  padding-right: 1rem;
}

@media (max-width: 767.98px) {
  .filter-bar {
    flex-direction: column;
    align-items: stretch;
    gap: 0.75rem;
    padding: 0.9rem 0.85rem;
  }
  .filter-bar__field,
  .filter-bar__field--theme,
  .filter-bar__field--search {
    flex: 1 1 auto;
    max-width: none;
    width: 100%;
  }
  .filter-bar__actions {
    width: 100%;
  }
  .filter-bar__actions .btn {
    flex: 1 1 auto;
  }
}

.list-pager {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: .75rem;
  margin-top: .85rem;
  padding-top: .75rem;
  border-top: 1px solid var(--line);
}
.list-meta {
  color: var(--muted);
  font-size: 13px;
}
.ops-dl {
  display: grid;
  gap: .45rem;
}
.ops-dl > div {
  display: grid;
  grid-template-columns: 5.5rem 1fr;
  gap: .5rem;
  font-size: 13px;
  line-height: 1.4;
}
.ops-dl dt {
  margin: 0;
  color: var(--muted);
  font-weight: 500;
}
.ops-dl dd {
  margin: 0;
  color: var(--ink);
}
.ops-steps {
  margin: 0;
  padding-left: 1.1rem;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.7;
}
.ops-steps strong { color: var(--ink); }
.mono {
  font-family: Consolas, "Courier New", monospace;
  white-space: pre-wrap;
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: .9rem;
}

/* —— 管理台 · 诊断详情（结构化，不依赖原文排版） —— */
.diag-detail {
  padding-bottom: 2rem;
}
.diag-detail__role-hint {
  font-size: .8125rem;
  color: #475569;
  background: #f8fafc;
  border-color: #e2e8f0 !important;
  line-height: 1.5;
}
.diag-detail__role-hint strong {
  color: #0f172a;
  font-weight: 600;
}
.diag-detail__head {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 1rem 1.25rem;
  margin-bottom: 1rem;
  align-items: flex-start;
}
.diag-detail__eyebrow {
  margin: 0 0 .2rem;
  font-size: 12px;
  color: var(--muted);
}
.diag-detail__meta {
  display: flex;
  flex-wrap: wrap;
  gap: .4rem;
  align-items: center;
  margin: .35rem 0 .5rem;
}
.diag-detail__url { font-size: 13px; }
.diag-detail__url a { color: var(--accent); word-break: break-all; text-decoration: none; }
.diag-detail__url a:hover { text-decoration: underline; }
.diag-pill {
  display: inline-flex;
  align-items: center;
  padding: .2rem .55rem;
  border-radius: 999px;
  font-size: 12px;
  background: #f1f5f9;
  color: #334155;
  border: 1px solid #e2e8f0;
}
.diag-pill--muted {
  background: transparent;
  color: var(--muted);
  border-color: transparent;
  padding-left: 0;
}
.diag-detail__actions {
  display: flex;
  flex-direction: column;
  gap: .45rem;
  align-items: flex-end;
}
.diag-action-group {
  display: flex;
  flex-wrap: wrap;
  gap: .35rem;
  justify-content: flex-end;
}
.diag-more-actions { width: 100%; text-align: right; }
.diag-more-actions > summary {
  cursor: pointer;
  list-style: none;
  font-size: 12.5px;
  color: var(--muted);
}
.diag-more-actions > summary::-webkit-details-marker { display: none; }
.diag-more-actions[open] > summary { margin-bottom: .35rem; color: #334155; }
.diag-more-actions .diag-action-group {
  justify-content: flex-end;
  padding: .45rem .55rem;
  border: 1px solid #e2e8f0;
  border-radius: 10px;
  background: #f8fafc;
}
.diag-hero-score {
  display: flex;
  gap: 1rem;
  align-items: center;
  margin-bottom: 1rem;
  padding: 1rem 1.15rem;
  border-radius: 14px;
  background: linear-gradient(135deg, #ecfdf5, #f0fdfa);
  border: 1px solid #99f6e4;
}
.diag-hero-score__num {
  flex: 0 0 auto;
  line-height: 1;
  color: #0f766e;
}
.diag-hero-score__num strong {
  font-size: 2.4rem;
  font-weight: 800;
}
.diag-hero-score__num span {
  font-size: 1rem;
  font-weight: 650;
  opacity: .75;
}
.diag-hero-score__grade {
  font-size: 1.05rem;
  font-weight: 700;
  color: #0f172a;
  margin-bottom: .25rem;
}
.diag-hero-score__note {
  font-size: 13px;
  color: #475569;
  line-height: 1.45;
}
.diag-summary-card__text {
  font-size: 14.5px;
  line-height: 1.65;
  color: #334155;
}
.diag-pages {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: .65rem;
}
.diag-page {
  padding: .7rem .8rem;
  border-radius: 10px;
  border: 1px solid #e2e8f0;
  background: #fff;
}
.diag-page--bad { border-color: #fdba74; background: #fff7ed; }
.diag-page--mid { border-color: #fde68a; background: #fffbeb; }
.diag-page--ok { border-color: #99f6e4; background: #f0fdfa; }
.diag-page__top {
  display: flex;
  justify-content: space-between;
  gap: .5rem;
  margin-bottom: .35rem;
  font-size: 13.5px;
}
.diag-page__top span { font-weight: 750; color: #0f766e; }
.diag-page__url {
  display: block;
  font-size: 12px;
  color: #64748b;
  text-decoration: none;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.diag-page__url:hover { color: var(--accent); }
.diag-page__hint {
  margin-top: .35rem;
  font-size: 12px;
  color: #64748b;
}
.diag-section-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: .75rem;
  margin-bottom: .85rem;
}
.diag-playbook { display: grid; gap: .75rem; }
.diag-play-item {
  padding: .9rem 1rem;
  border: 1px solid #e2e8f0;
  border-radius: 12px;
  background: #fff;
}
.diag-play-item--p0 {
  border-color: #fdba74;
  background: linear-gradient(180deg, #fff7ed 0%, #fff 50%);
}
.diag-play-item__top {
  display: flex;
  flex-wrap: wrap;
  gap: .4rem .65rem;
  align-items: center;
  margin-bottom: .4rem;
}
.diag-play-item__status,
.diag-play-item__meta { font-size: 12px; color: var(--muted); }
.diag-play-item__pts {
  font-size: 12px;
  font-weight: 700;
  color: #0f766e;
  padding: .1rem .4rem;
  border-radius: 4px;
  background: #ecfdf5;
}
.diag-play-item__meta { margin-left: auto; }
.diag-play-item__title {
  margin: 0 0 .4rem;
  font-size: 1rem;
  font-weight: 700;
  color: #0f172a;
}
.diag-play-item__guide {
  margin: 0 0 .45rem;
  font-size: 13.5px;
  color: #334155;
  line-height: 1.55;
}
.diag-play-item__accept {
  margin: 0 0 .55rem;
  font-size: 13px;
  color: #475569;
}
.diag-play-item__accept span,
.diag-k {
  display: inline-block;
  margin-right: .35rem;
  padding: .05rem .4rem;
  border-radius: 4px;
  font-size: 11px;
  font-weight: 700;
  color: #0f766e;
  background: #ecfdf5;
}
.diag-play-item__actions {
  display: flex;
  flex-wrap: wrap;
  gap: .35rem;
  padding-top: .45rem;
  border-top: 1px solid #f1f5f9;
}
.diag-source-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: .75rem;
}
.diag-source-card {
  padding: .75rem .85rem;
  border: 1px solid #e2e8f0;
  border-radius: 10px;
  background: #fafbfc;
}
.diag-source-card__top {
  display: flex;
  flex-wrap: wrap;
  gap: .4rem;
  align-items: center;
  margin-bottom: .4rem;
}
.diag-effect-line {
  font-size: 14px;
  padding: .55rem .7rem;
  border-radius: 8px;
  background: #f8fafc;
}
.diag-archive {
  border: 1px dashed #cbd5e1;
  border-radius: 10px;
  padding: .65rem .85rem;
  background: #f8fafc;
}
.diag-archive > summary {
  cursor: pointer;
  font-size: 13px;
  color: #64748b;
}
.diag-archive__pre {
  margin: .65rem 0 0;
  max-height: 280px;
  overflow: auto;
  padding: .75rem;
  border-radius: 8px;
  background: #fff;
  border: 1px solid #e2e8f0;
  font-size: 12px;
  line-height: 1.5;
  white-space: pre-wrap;
  color: #475569;
}
.diag-tech { padding: .65rem .9rem; }
.diag-tech > summary {
  cursor: pointer;
  font-size: 13px;
  color: var(--muted);
  list-style: none;
}
.diag-tech > summary::-webkit-details-marker { display: none; }
.diag-tech__body { display: grid; gap: .45rem; margin-top: .55rem; font-size: 13px; }
.diag-tech__codes {
  display: block;
  white-space: pre-wrap;
  word-break: break-all;
  font-size: 11.5px;
  background: #f8fafc;
  border: 1px solid var(--line);
  border-radius: 6px;
  padding: .4rem .55rem;
}
@media (max-width: 767.98px) {
  .diag-detail__actions { align-items: stretch; width: 100%; }
  .diag-action-group { justify-content: flex-start; }
  .diag-play-item__meta { margin-left: 0; }
  .diag-hero-score { flex-direction: column; align-items: flex-start; }
}

.timeline-item {
  border-left: 3px solid var(--accent);
  padding-left: .85rem;
  margin-bottom: .9rem;
}

@media (max-width: 991.98px) {
  :root {
    --bottom-nav-h: 3.05rem;
  }

  .app-shell, .app-shell-chat, .admin-shell {
    height: 100vh;
    height: 100dvh;
    overflow: hidden;
  }

  .app-shell-chat.app-shell--growth {
    display: block;
    position: relative;
    grid-template-columns: unset;
  }

  .admin-shell {
    display: block;
    position: relative;
    grid-template-columns: unset;
  }

  .admin-shell .admin-sidebar {
    position: fixed;
    top: 0;
    left: 0;
    bottom: 0;
    width: min(288px, 88vw);
    max-width: 100%;
    z-index: 1100;
    transform: translateX(-105%);
    transition: transform .28s cubic-bezier(.4, 0, .2, 1);
    box-shadow: 8px 0 32px rgba(15, 23, 42, .18);
  }

  .admin-shell .admin-sidebar.is-open {
    transform: translateX(0);
  }

  .admin-shell .admin-main {
    display: flex;
    flex-direction: column;
    width: 100%;
    max-width: 100%;
    min-height: 0;
    height: 100dvh;
    max-height: 100dvh;
    overflow: hidden;
  }

  .admin-sidebar-backdrop {
    display: none;
    position: fixed;
    inset: 0;
    z-index: 1090;
    background: rgba(15, 23, 42, .45);
  }

  .admin-sidebar-backdrop:not([hidden]) {
    display: block;
  }

  body.admin-sidebar-open {
    overflow: hidden;
  }

  .admin-topbar .topbar-left-wrap {
    display: flex;
    align-items: center;
    gap: .45rem;
    min-width: 0;
    flex: 1;
  }

  .admin-topbar .topbar-title {
    font-size: 1.05rem;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
  }

  .admin-topbar {
    padding-left: .65rem;
    padding-right: .5rem;
    gap: .25rem;
  }

  .admin-topbar .top-actions .top-btn span:not(.top-avatar) {
    display: none;
  }

  .admin-content {
    flex: 1 1 0;
    min-height: 0;
    padding: 0.75rem 0.85rem 1.25rem;
    padding-bottom: max(1.25rem, env(safe-area-inset-bottom, 0px));
    background: #f3f4f6;
    overflow-x: hidden;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    touch-action: pan-y;
    overscroll-behavior-y: contain;
  }
  /* 百度等 WebView：100dvh + 内层 flex 滚动易算出 0 高度 → 管理台改页面级滚动 */
  body.admin-body {
    overflow-x: hidden;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
  }
  body.admin-body.admin-sidebar-open {
    overflow: hidden;
  }
  body.admin-body .admin-shell {
    height: auto;
    min-height: 100vh;
    min-height: 100dvh;
    max-height: none;
    overflow: visible;
  }
  body.admin-body .admin-shell .admin-main {
    height: auto;
    min-height: 0;
    max-height: none;
    overflow: visible;
  }
  body.admin-body .admin-shell .admin-topbar {
    position: sticky;
    top: 0;
    z-index: 40;
    flex-shrink: 0;
    background: #fff;
  }
  body.admin-body .admin-shell .admin-content {
    flex: none;
    height: auto;
    min-height: 0;
    overflow: visible;
  }
  /* 客户前台（视频工坊 / 内容中心等）：同样改页面级滚动，避免百度内层高度为 0 */
  body.app-body {
    overflow-x: hidden;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
  }
  body.app-body.geo-side-open {
    overflow: hidden;
  }
  body.app-body .app-shell,
  body.app-body .app-shell-chat {
    height: auto;
    min-height: 100vh;
    min-height: 100dvh;
    max-height: none;
    overflow: visible;
  }
  body.app-body .app-shell--growth .app-main {
    display: flex;
    flex-direction: column;
    height: auto;
    min-height: 0;
    max-height: none;
    overflow: visible;
  }
  body.app-body .app-shell--growth .app-topbar.app-topbar--hub {
    position: sticky;
    top: 0;
    z-index: 40;
    flex-shrink: 0;
    background: rgba(255, 255, 255, 0.96);
  }
  body.app-body .app-shell--growth .app-content,
  body.app-body .app-shell--growth .app-content.app-content--workspace {
    flex: none;
    height: auto;
    min-height: 0;
    overflow: visible;
  }
  body.app-body .app-shell--growth .app-content--workspace > .workspace-page {
    min-height: calc(100vh - 7.5rem);
    min-height: calc(100dvh - 7.5rem);
  }
  body.app-body .app-shell--growth .agent-workspace {
    flex: none;
    height: auto;
    min-height: 0;
    max-height: none;
    overflow: visible;
  }
  body.app-body .app-shell--growth .welcome-view {
    flex: none;
    height: auto;
    min-height: 0;
    overflow: visible;
  }
  .admin-content .member-hub-form-page {
    max-width: none;
    margin: 0;
    border-radius: 0;
    border-left: none;
    border-right: none;
    min-height: calc(100dvh - 56px);
    padding: 1rem 1rem 1.5rem;
    padding-bottom: max(1.5rem, env(safe-area-inset-bottom, 0px));
  }
  .admin-content .admin-account-stack {
    padding: 0;
  }

  .member-panel .table-responsive {
    margin: 0 -.25rem;
  }

  .app-shell--growth .geo-side {
    position: fixed;
    top: 0;
    left: 0;
    bottom: 0;
    width: min(288px, 86vw);
    max-height: none !important;
    z-index: 1100;
    transform: translateX(-105%);
    transition: transform .28s cubic-bezier(.4, 0, .2, 1);
    box-shadow: 8px 0 32px rgba(15, 23, 42, .18);
    overflow: hidden;
  }

  .app-shell--growth .geo-side.is-open {
    transform: translateX(0);
  }

  body.geo-side-open {
    overflow: hidden;
  }

  .app-shell--growth .app-main {
    display: flex;
    flex-direction: column;
    min-height: 0;
    height: auto;
    min-height: 100vh;
    min-height: 100dvh;
    max-height: none;
    width: 100%;
    padding-bottom: env(safe-area-inset-bottom, 0px);
  }

  .app-shell--growth .app-content {
    padding-bottom: .5rem;
  }

  .app-shell--growth .agent-workspace .composer {
    padding-bottom: calc(.35rem + env(safe-area-inset-bottom, 0px));
  }

  .app-shell--growth .app-main--subpage {
    padding-bottom: 0;
  }

  .app-shell--growth .app-content--workspace {
    flex: 1 1 0;
    min-height: 0;
    padding: .85rem 1rem 1.25rem;
    padding-bottom: max(1.25rem, env(safe-area-inset-bottom, 0px));
    overflow-x: hidden;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    touch-action: pan-y;
    overscroll-behavior-y: contain;
  }
  .app-shell--growth .app-main .app-content:not(.app-content--workspace) {
    display: flex;
    flex-direction: column;
    flex: none;
    height: auto;
    min-height: 0;
    overflow: visible;
  }
  .app-shell--growth .agent-workspace {
    flex: none;
    height: auto;
    min-height: 0;
    max-height: none;
    overflow: visible;
  }
  .app-shell--growth .welcome-view {
    flex: none;
    height: auto;
    min-height: 0;
    overflow: visible;
  }

  .page-head {
    flex-direction: column;
    align-items: stretch;
    gap: 0.45rem;
    margin-bottom: 0.75rem;
  }

  .page-head-actions .btn-accent {
    width: auto;
    align-self: flex-start;
    min-height: 2.15rem;
    padding: .35rem .9rem;
  }

  .page-title {
    font-size: 1.18rem;
    margin-bottom: 0.15rem;
  }

  .admin-list-page .page-head .page-sub:not(.page-sub--meta):not(.text-center),
  .mobile-list-page .page-head .page-sub:not(.page-sub--meta):not(.text-center),
  .hub-card-list-page .page-head .page-sub:not(.page-sub--meta):not(.text-center),
  .page-hint {
    font-size: 12.5px;
    line-height: 1.5;
    padding: 0.45rem 0.58rem 0.45rem 0.52rem;
    margin-top: 0.32rem;
  }

  .page-head .page-sub:not(.page-sub--meta):not(.text-center) {
    font-size: 12.5px;
    line-height: 1.45;
  }

  .page-sub.page-sub--meta {
    font-size: 12.5px;
    line-height: 1.45;
  }

  .table thead th {
    font-size: 12px;
    font-weight: 500;
    padding-top: 0.45rem;
    padding-bottom: 0.45rem;
  }

  .panel-card--list {
    padding: .7rem .65rem;
    border-radius: var(--radius-md);
  }

  .list-toolbar-main {
    flex-direction: row;
    align-items: center;
    flex-wrap: nowrap;
  }

  .list-toolbar-main .list-search {
    flex: 1 1 auto;
    min-width: 0;
  }

  .list-toolbar-actions {
    width: auto;
    flex-shrink: 0;
  }

  .list-toolbar-actions .btn {
    flex: 0 0 auto;
    min-width: 3.25rem;
    padding-left: .75rem;
    padding-right: .75rem;
  }

  .table-mobile-stack thead {
    display: none;
  }

  .table-mobile-stack tbody tr.table-empty-row {
    display: table-row;
  }

  .table-mobile-stack tbody tr.table-empty-row td {
    display: table-cell;
  }

  .table-mobile-stack tbody tr:not(.table-empty-row) {
    display: block;
    margin-bottom: .65rem;
    border: 1px solid var(--line);
    border-radius: var(--radius-md);
    padding: .55rem .75rem .45rem;
    background: var(--panel);
    box-shadow: var(--shadow-sm);
  }

  .table-mobile-stack tbody tr:not(.table-empty-row) td {
    display: grid;
    grid-template-columns: 4.75rem minmax(0, 1fr);
    gap: .2rem .55rem;
    padding: .32rem 0;
    border: none;
    vertical-align: top;
    text-align: left;
  }

  .table-mobile-stack tbody tr:not(.table-empty-row) td::before {
    content: attr(data-label);
    font-size: 12px;
    font-weight: 600;
    color: var(--muted);
    line-height: 1.45;
  }

  .table-mobile-stack tbody tr:not(.table-empty-row) td.batch-check-col {
    display: flex;
    align-items: center;
    grid-template-columns: unset;
    padding-bottom: .45rem;
    margin-bottom: .25rem;
    border-bottom: 1px dashed var(--line);
  }

  .table-mobile-stack tbody tr:not(.table-empty-row) td.batch-check-col::before {
    display: none;
  }

  .table-mobile-stack tbody tr:not(.table-empty-row) td.td-actions {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    gap: .5rem;
    padding-top: .4rem;
    margin-top: .2rem;
    border-top: 1px solid var(--line);
  }

  .table-mobile-stack tbody tr:not(.table-empty-row) td.td-actions::before {
    margin-bottom: 0;
    flex: 0 0 auto;
  }

  .table-mobile-stack .table-actions {
    width: auto;
    flex: 0 0 auto;
    justify-content: flex-end;
    gap: .75rem;
  }

  .batch-delete-bar {
    font-size: 13px;
    gap: .35rem .5rem !important;
  }

  .batch-delete-bar .btn-outline-danger {
    margin-left: auto;
  }

  /* —— 通用手机列表页 —— */
  .mobile-list-page:not(.diagnosis-list-page):not(.hub-card-list-page) .panel-card {
    padding: 0.7rem 0.65rem;
  }
  .mobile-list-page .page-head-actions,
  .mobile-list-page .page-head > .d-flex:not(.page-head-text) {
    width: 100%;
    gap: 0.45rem;
  }
  .mobile-list-page .page-head-actions .btn,
  .mobile-list-page .page-head > .d-flex .btn {
    flex: 1 1 calc(50% - 0.25rem);
    min-height: 2.15rem;
    justify-content: center;
  }
  .mobile-list-page .page-head-actions .btn-accent,
  .mobile-list-page .page-head > .d-flex .btn-accent {
    flex: 1 1 100%;
  }
  .mobile-list-page .stat-card {
    padding: 0.55rem 0.6rem;
  }
  .mobile-list-page .stat-card .value {
    font-size: 1.1rem;
  }
  .mobile-list-page:not(.diagnosis-list-page):not(.hub-card-list-page) .filter-bar,
  .mobile-list-page:not(.diagnosis-list-page):not(.hub-card-list-page) .list-toolbar--compact {
    padding: 0.65rem 0.7rem;
  }
  .mobile-list-page:not(.diagnosis-list-page):not(.hub-card-list-page) .filter-bar .form-control:not(.form-select),
  .mobile-list-page:not(.diagnosis-list-page):not(.hub-card-list-page) .filter-bar input[type="search"],
  .mobile-list-page:not(.diagnosis-list-page):not(.hub-card-list-page) .list-toolbar .form-control:not(.form-select),
  .mobile-list-page:not(.diagnosis-list-page):not(.hub-card-list-page) .list-toolbar input[type="search"] {
    font-size: 0.875rem;
    line-height: 1.3;
    min-height: 2rem;
    padding-top: 0.35rem;
    padding-bottom: 0.35rem;
  }
  .mobile-list-page:not(.diagnosis-list-page):not(.hub-card-list-page) .filter-bar .form-select,
  .mobile-list-page:not(.diagnosis-list-page):not(.hub-card-list-page) .list-toolbar .form-select {
    font-size: 0.8125rem;
    line-height: 1.35;
    min-height: 2.125rem;
    padding-top: 0.4rem;
    padding-bottom: 0.4rem;
  }
  .mobile-list-page .table-mobile-wrap {
    margin: 0;
  }

  .mobile-table-action {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    border: 0;
    background: transparent;
    cursor: pointer;
    font-size: 0.75rem;
    font-weight: 600;
    color: #475569;
  }

  /* 我的文章：专用卡片栅格（勿用于 keyword-library-table，避免多列挤成竖条） */
  .content-hub-list-page .content-hub-article-panel .content-hub-table {
    display: block;
    width: 100%;
    min-width: 0 !important;
    border-collapse: separate;
  }
  .content-hub-list-page .content-hub-article-panel .content-hub-table thead {
    display: none;
  }
  .content-hub-list-page .content-hub-article-panel .content-hub-table tbody {
    display: block;
  }
  .content-hub-list-page .content-hub-article-panel .content-hub-table tbody tr.table-empty-row {
    display: block;
    margin-bottom: 0;
    padding: 0;
    border: none;
    box-shadow: none;
    background: transparent;
  }
  .content-hub-list-page .content-hub-article-panel .content-hub-table tbody tr.table-empty-row td {
    display: block;
    width: 100%;
    padding: 0;
  }
  .content-hub-list-page .content-hub-article-panel .content-hub-table tbody tr.table-empty-row td::before {
    display: none !important;
  }

  .content-hub-list-page .content-hub-article-panel .content-hub-table tbody tr:not(.table-empty-row) {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    grid-template-areas:
      "title title"
      "theme theme"
      "actions actions";
    gap: 0.28rem 0.5rem;
    margin-bottom: 0.65rem;
    padding: 0.75rem 0.8rem 0.65rem;
    border: 1px solid #e2e8f0;
    border-radius: 0.65rem;
    background: #fff;
    box-shadow: 0 2px 12px rgba(15, 23, 42, 0.04);
  }

  .content-hub-list-page .content-hub-article-panel .content-hub-table tbody tr:not(.table-empty-row) td:not(.content-hub-table__actions):not(.content-hub-article-actions) {
    display: block;
    padding: 0;
    border: none;
    grid-template-columns: unset;
    text-align: left !important;
  }

  .content-hub-list-page .content-hub-article-panel .content-hub-table tbody tr:not(.table-empty-row) td::before {
    display: none;
  }

  .content-hub-list-page .content-hub-article-panel .content-hub-theme-row__main {
    grid-area: title;
  }

  .content-hub-list-page .content-hub-article-panel .content-hub-table__title {
    grid-area: title;
    font-size: 0.88rem;
    font-weight: 650;
    line-height: 1.42;
    color: #0f172a;
    word-break: break-word;
  }
  .content-hub-list-page .content-hub-article-panel .content-hub-table__title::before { display: none !important; }

  .content-hub-list-page .content-hub-article-panel .content-hub-table__theme { grid-area: theme; }
  .content-hub-list-page .content-hub-article-panel .content-hub-table__pack {
    grid-area: pack;
    text-align: right;
  }
  .content-hub-list-page .content-hub-article-panel .content-hub-table__time { grid-area: time; }

  .content-hub-list-page .content-hub-article-panel .content-hub-table__actions,
  .content-hub-list-page .content-hub-article-panel .content-hub-article-actions {
    grid-area: actions;
    display: grid !important;
    grid-template-columns: 1fr 1fr;
    gap: 0.5rem;
    margin-top: 0.45rem;
    padding-top: 0.55rem !important;
    border-top: 1px solid #f1f5f9;
    text-align: left !important;
  }
  .content-hub-list-page .content-hub-article-panel .content-hub-table__actions::before,
  .content-hub-list-page .content-hub-article-panel .content-hub-article-actions::before { display: none !important; }
  .content-hub-list-page .content-hub-article-panel .content-hub-article-actions > a,
  .content-hub-list-page .content-hub-article-panel .content-hub-article-actions > form {
    margin: 0;
    width: 100%;
    min-width: 0;
    display: flex;
  }
  .content-hub-list-page .content-hub-article-panel .content-hub-article-actions .btn {
    flex: 1;
    width: 100%;
    min-height: 2.05rem;
    font-size: 0.8125rem;
    font-weight: 600;
    border-radius: 0.55rem;
  }

  .content-hub-list-page .content-hub-article-panel .content-hub-table .table-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.45rem;
    width: 100%;
  }

  .content-hub-list-page .content-hub-article-panel .content-hub-table__action {
    flex: 1 1 calc(50% - 0.25rem);
    min-height: 2.45rem;
    padding: 0.45rem 0.55rem;
    font-size: 0.8rem;
    font-weight: 650;
    border-radius: 0.45rem;
    border: 1px solid #e2e8f0;
    background: #fff;
    text-align: center;
    text-decoration: none;
  }

  .content-hub-list-page .content-hub-article-panel .content-hub-table__action:hover {
    text-decoration: none;
  }

  .content-hub-list-page .content-hub-article-panel .content-hub-table__action--primary {
    color: #fff;
    background: linear-gradient(180deg, #14b8a6 0%, #0d9488 100%);
    border-color: rgba(13, 148, 136, 0.35);
  }

  .content-hub-list-page .content-hub-article-panel .content-hub-table__action--primary:hover {
    color: #fff;
  }

  .content-hub-list-page .content-hub-article-panel .content-hub-table__action--danger {
    color: #dc2626;
    border-color: #fecaca;
  }

  /* 内容中心通用列表（主词库、账号、官媒、已发内容等）：标签 + 值 两行卡片 */
  .content-hub-list-page .keyword-library-table,
  .content-hub-list-page .keyword-title-table,
  .content-hub-list-page .content-hub-theme-table {
    display: block;
    width: 100%;
    min-width: 0 !important;
    border-collapse: separate;
  }
  .content-hub-list-page .keyword-library-table thead,
  .content-hub-list-page .keyword-title-table thead,
  .content-hub-list-page .content-hub-theme-table thead {
    display: none;
  }
  .content-hub-list-page .keyword-library-table tbody,
  .content-hub-list-page .keyword-title-table tbody,
  .content-hub-list-page .content-hub-theme-table tbody {
    display: block;
  }
  .content-hub-list-page .keyword-library-table tbody tr.table-empty-row,
  .content-hub-list-page .keyword-title-table tbody tr.table-empty-row,
  .content-hub-list-page .content-hub-theme-table tbody tr.table-empty-row {
    display: block;
    margin-bottom: 0;
    padding: 0;
    border: none;
    box-shadow: none;
    background: transparent;
  }
  .content-hub-list-page .keyword-library-table tbody tr.table-empty-row td,
  .content-hub-list-page .keyword-title-table tbody tr.table-empty-row td,
  .content-hub-list-page .content-hub-theme-table tbody tr.table-empty-row td {
    display: block;
    width: 100%;
    padding: 0;
  }
  .content-hub-list-page .keyword-library-table tbody tr.table-empty-row td::before,
  .content-hub-list-page .keyword-title-table tbody tr.table-empty-row td::before,
  .content-hub-list-page .content-hub-theme-table tbody tr.table-empty-row td::before {
    display: none !important;
  }
  .content-hub-list-page .keyword-library-table tbody tr:not(.table-empty-row),
  .content-hub-list-page .keyword-title-table tbody tr:not(.table-empty-row),
  .content-hub-list-page .content-hub-theme-table tbody tr:not(.table-empty-row) {
    display: flex;
    flex-direction: column;
    gap: 0.32rem;
    margin-bottom: 0.65rem;
    padding: 0.72rem 0.78rem 0.62rem;
    border: 1px solid #e2e8f0;
    border-radius: 0.65rem;
    background: #fff;
    box-shadow: 0 2px 12px rgba(15, 23, 42, 0.04);
  }
  .content-hub-list-page .keyword-library-table tbody tr:not(.table-empty-row) td:not(.content-hub-table__actions),
  .content-hub-list-page .keyword-title-table tbody tr:not(.table-empty-row) td:not(.content-hub-table__actions),
  .content-hub-list-page .content-hub-theme-table tbody tr:not(.table-empty-row) td:not(.content-hub-table__actions) {
    display: grid;
    grid-template-columns: 5.25rem minmax(0, 1fr);
    gap: 0.15rem 0.55rem;
    align-items: start;
    padding: 0;
    border: none;
    width: 100%;
    max-width: 100%;
    text-align: left !important;
    word-break: normal;
    overflow-wrap: anywhere;
  }
  .content-hub-list-page .keyword-library-table tbody tr:not(.table-empty-row) td::before,
  .content-hub-list-page .keyword-title-table tbody tr:not(.table-empty-row) td::before,
  .content-hub-list-page .content-hub-theme-table tbody tr:not(.table-empty-row) td[data-label]::before {
    display: block;
    font-size: 0.68rem;
    font-weight: 600;
    color: #94a3b8;
    line-height: 1.4;
    margin: 0;
    content: attr(data-label);
  }
  .content-hub-list-page .keyword-library-table td.keyword-library-table__check,
  .content-hub-list-page .keyword-title-table td.keyword-library-table__check {
    display: flex;
    align-items: center;
    gap: 0.45rem;
    grid-template-columns: unset;
    padding-bottom: 0.4rem;
    margin-bottom: 0.1rem;
    border-bottom: 1px dashed #e2e8f0;
  }
  .content-hub-list-page .keyword-library-table td.keyword-library-table__check::before,
  .content-hub-list-page .keyword-title-table td.keyword-library-table__check::before {
    display: none !important;
  }
  .content-hub-list-page .keyword-library-table td.keyword-library-table__keyword,
  .content-hub-list-page .keyword-library-table td.content-hub-theme-row__main,
  .content-hub-list-page .keyword-title-table td[data-label="问题"],
  .content-hub-list-page .content-hub-theme-table td.content-hub-theme-row__main {
    display: block;
    grid-template-columns: unset;
  }
  .content-hub-list-page .keyword-library-table td.keyword-library-table__keyword::before,
  .content-hub-list-page .keyword-library-table td.content-hub-theme-row__main::before,
  .content-hub-list-page .keyword-title-table td[data-label="问题"]::before,
  .content-hub-list-page .content-hub-theme-table td.content-hub-theme-row__main::before {
    display: none !important;
  }
  .content-hub-list-page .keyword-library-table .content-hub-theme-row__title,
  .content-hub-list-page .keyword-title-table .keyword-title-table__text,
  .content-hub-list-page .content-hub-theme-table .content-hub-theme-row__title {
    font-size: 0.9rem;
    font-weight: 650;
    line-height: 1.42;
    word-break: break-word;
    overflow-wrap: anywhere;
  }
  .content-hub-list-page .keyword-library-table td.content-hub-table__actions,
  .content-hub-list-page .keyword-title-table td.content-hub-table__actions,
  .content-hub-list-page .content-hub-theme-table td.content-hub-table__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.45rem;
    grid-template-columns: unset;
    margin-top: 0.35rem;
    padding-top: 0.55rem !important;
    border-top: 1px solid #f1f5f9;
    white-space: normal;
  }
  .content-hub-list-page .keyword-library-table td.content-hub-table__actions::before,
  .content-hub-list-page .keyword-title-table td.content-hub-table__actions::before,
  .content-hub-list-page .content-hub-theme-table td.content-hub-table__actions::before {
    display: none !important;
  }
  .content-hub-list-page .keyword-library-table td.content-hub-table__actions > a,
  .content-hub-list-page .keyword-library-table td.content-hub-table__actions > form,
  .content-hub-list-page .keyword-title-table td.content-hub-table__actions > a,
  .content-hub-list-page .keyword-title-table td.content-hub-table__actions > form,
  .content-hub-list-page .content-hub-theme-table td.content-hub-table__actions > a,
  .content-hub-list-page .content-hub-theme-table td.content-hub-table__actions > form {
    flex: 1 1 calc(50% - 0.25rem);
    margin: 0;
    min-width: 0;
  }
  .content-hub-list-page .keyword-library-table td.content-hub-table__actions .btn,
  .content-hub-list-page .keyword-title-table td.content-hub-table__actions .btn,
  .content-hub-list-page .content-hub-theme-table td.content-hub-table__actions .btn {
    width: 100%;
    min-height: 2.05rem;
  }
  .content-hub-list-page .keyword-library-table td[data-label="启用状态"],
  .content-hub-list-page .keyword-library-table td[data-label="问题准备度"],
  .content-hub-list-page .keyword-library-table td[data-label="问题"],
  .content-hub-list-page .keyword-title-table td[data-label="发文状态"] {
    align-items: center;
  }

  /* 信源地图 · 手机端：标题优先，类型角标，链接可换行 */
  .content-hub-extra-page .content-hub-source-map-toolbar {
    flex-direction: column;
    align-items: stretch;
    gap: 0.4rem;
  }
  .content-hub-extra-page .content-hub-source-map-toolbar form {
    width: 100%;
  }
  .content-hub-extra-page .content-hub-source-map-toolbar .btn {
    width: 100%;
    min-height: 2.25rem;
  }
  .content-hub-extra-page .content-hub-source-map-toolbar .text-muted.small {
    line-height: 1.45;
  }
  .content-hub-extra-page .content-hub-source-map-view-toggle {
    display: flex;
    width: 100%;
  }
  .content-hub-extra-page .content-hub-source-map-view-toggle__btn {
    flex: 1 1 0;
    justify-content: center;
    padding-top: 0.45rem;
    padding-bottom: 0.45rem;
  }
  .content-hub-source-map-panel .table-mobile-wrap,
  .content-hub-source-map-group__table.table-mobile-wrap {
    margin: 0;
    overflow: visible;
  }
  .content-hub-source-map-page .content-hub-source-map-table thead {
    display: none;
  }
  .content-hub-source-map-page .content-hub-source-map-group {
    padding: 0;
    overflow: hidden;
  }
  .content-hub-source-map-page .content-hub-source-map-group__table {
    padding: 0 0.65rem 0.65rem;
    border-top: none;
  }
  .content-hub-source-map-page .content-hub-source-map-group__sum {
    padding: 0.72rem 0.85rem;
  }
  /* 覆盖 content-hub-theme-table 通用手机行布局 */
  .content-hub-source-map-page .content-hub-source-map-table.content-hub-theme-table tbody tr.content-hub-source-map-row:not(.table-empty-row) {
    display: grid !important;
    grid-template-columns: 1fr !important;
    grid-template-rows: auto auto !important;
    grid-template-areas: none !important;
    flex-direction: unset !important;
    gap: 0 !important;
    padding: 0.72rem 0.8rem 0.65rem;
    margin-bottom: 0.45rem;
    border: 1px solid #e8edf2;
    border-radius: 0.75rem;
    background: #fff;
    box-shadow: 0 1px 2px rgba(15, 23, 42, 0.04);
  }
  .content-hub-source-map-page .content-hub-source-map-table tbody tr.content-hub-source-map-row:not(.table-empty-row) > td:not(.content-hub-source-map-row__main):not(.content-hub-source-map-row__actions) {
    display: none !important;
  }
  .content-hub-source-map-page .content-hub-source-map-table tbody tr.content-hub-source-map-row:not(.table-empty-row) > td {
    min-width: 0;
    padding: 0 !important;
    border: none !important;
    width: 100% !important;
    max-width: none !important;
    text-align: left !important;
    grid-template-columns: unset !important;
  }
  .content-hub-source-map-page .content-hub-source-map-table tbody tr.content-hub-source-map-row > td::before {
    display: none !important;
    content: none !important;
  }
  .content-hub-source-map-page .content-hub-source-map-table td.content-hub-source-map-row__main {
    grid-row: 1;
    grid-column: 1;
    display: block !important;
  }
  .content-hub-source-map-page .content-hub-source-map-table td.content-hub-source-map-row__actions {
    grid-row: 2;
    grid-column: 1;
    display: grid !important;
  }
  .content-hub-source-map-page .content-hub-source-map-panel .content-hub-source-map-row__header {
    display: flex;
    align-items: flex-start;
    gap: 0.45rem;
    margin-bottom: 0.05rem;
  }
  .content-hub-source-map-panel .content-hub-source-map-row__title-area {
    flex: 1 1 auto;
    min-width: 0;
  }
  .content-hub-source-map-panel .content-hub-source-map-table .content-hub-theme-row__title {
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
    font-size: 0.9375rem;
    font-weight: 650;
    line-height: 1.4;
    color: #0f172a;
    text-decoration: none;
    word-break: break-word;
  }
  .content-hub-source-map-panel .content-hub-source-map-table a.content-hub-theme-row__title:hover {
    color: #0f766e;
    text-decoration: none;
  }
  .content-hub-source-map-panel .content-hub-source-map-row__header .content-hub-source-map-kind {
    flex-shrink: 0;
    margin-top: 0.1rem;
  }
  .content-hub-source-map-panel .content-hub-source-map-row__mobile-meta {
    margin-top: 0.38rem;
    display: flex;
    flex-direction: column;
    gap: 0.28rem;
    min-width: 0;
  }
  .content-hub-source-map-panel .content-hub-source-map-row__mobile-line {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.3rem 0.4rem;
    min-width: 0;
  }
  .content-hub-source-map-panel .content-hub-source-map-row__mobile-hint {
    width: 100%;
    font-size: 0.72rem;
    line-height: 1.4;
    color: #64748b;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
  }
  .content-hub-source-map-panel .content-hub-source-map-row__mobile-line--link {
    gap: 0.35rem;
  }
  .content-hub-source-map-panel .content-hub-source-map-row__mobile-link {
    font-size: 0.75rem;
    font-weight: 600;
    color: #0f766e;
    text-decoration: none;
  }
  .content-hub-source-map-panel .content-hub-source-map-row__mobile-link::after {
    content: " ↗";
    font-size: 0.7em;
  }
  .content-hub-source-map-panel .content-hub-source-map-row__mobile-file {
    font-size: 0.72rem;
    color: #94a3b8;
    display: -webkit-box;
    -webkit-line-clamp: 1;
    -webkit-box-orient: vertical;
    overflow: hidden;
    word-break: break-all;
  }
  .content-hub-source-map-panel .content-hub-source-map-row__mobile-link-status {
    align-self: flex-start;
    margin-top: 0;
  }
  .content-hub-source-map-panel .content-hub-source-map-row__mobile-meta .hub-meta-chip {
    font-size: 0.65rem;
    padding: 0.1rem 0.38rem;
  }
  .content-hub-source-map-page .content-hub-source-map-table td.content-hub-source-map-row__actions.content-hub-source-map-row-actions {
    grid-template-columns: 1fr 1fr;
    gap: 0.4rem;
    margin-top: 0.45rem;
    padding-top: 0.55rem !important;
    border-top: 1px solid #f1f5f9;
    justify-content: stretch !important;
    justify-items: stretch;
    align-items: stretch;
    white-space: normal;
  }
  .content-hub-source-map-page .content-hub-source-map-table td.content-hub-source-map-row__actions > a,
  .content-hub-source-map-page .content-hub-source-map-table td.content-hub-source-map-row__actions > form {
    margin: 0 !important;
    min-width: 0;
    flex: unset !important;
    width: 100%;
    display: flex;
  }
  .content-hub-source-map-page .content-hub-source-map-table td.content-hub-source-map-row__actions .btn {
    width: 100%;
    min-height: 2.35rem;
    font-size: 0.8125rem;
    font-weight: 600;
    border-radius: 0.5rem;
    padding-left: 0.5rem;
    padding-right: 0.5rem;
    justify-content: center;
    align-items: center;
    display: inline-flex;
  }
  .content-hub-source-map-page .content-hub-source-map-table td.content-hub-source-map-row__actions .content-hub-source-map-row__action-primary {
    grid-column: 1 / -1 !important;
    width: 100%;
    border: none;
    box-shadow: 0 1px 2px rgba(15, 118, 110, 0.22);
  }
  .content-hub-source-map-page .content-hub-source-map-table td.content-hub-source-map-row__actions .btn-outline-secondary {
    border-color: #e2e8f0;
    color: #475569;
    background: #fff;
  }

  /* 引用网站库 · 手机卡片 */
  .content-hub-probe-sources-page .content-hub-probe-panel .table-mobile-wrap {
    margin: 0;
    overflow: visible;
  }
  .content-hub-probe-sources-page .content-hub-probe-table tbody tr.content-hub-probe-table__data-row {
    display: grid !important;
    grid-template-areas:
      "site"
      "score"
      "actions";
    flex-direction: unset;
    gap: 0.45rem;
    padding: 0.78rem 0.85rem 0.7rem;
    margin-bottom: 0.55rem;
    border: 1px solid #e8edf2;
    border-radius: 0.85rem;
    box-shadow: 0 1px 3px rgba(15, 23, 42, 0.05);
  }
  .content-hub-probe-sources-page .content-hub-probe-table tbody tr.content-hub-probe-table__data-row > td {
    display: block !important;
    grid-template-columns: unset !important;
    padding: 0;
    border: none;
    width: 100%;
    max-width: none;
    text-align: left !important;
  }
  .content-hub-probe-sources-page .content-hub-probe-table tbody tr.content-hub-probe-table__data-row > td::before {
    display: none !important;
  }
  .content-hub-probe-sources-page .content-hub-probe-row__site {
    grid-area: site;
    max-width: none;
  }
  .content-hub-probe-sources-page .content-hub-probe-row__head {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr);
    gap: 0.25rem 0.5rem;
    align-items: start;
    margin-bottom: 0.15rem;
  }
  .content-hub-probe-sources-page .content-hub-probe-row__host .content-hub-theme-row__title {
    font-size: 0.9375rem;
    font-weight: 700;
    line-height: 1.35;
    color: #0f172a;
    word-break: break-all;
    text-decoration: none;
  }
  .content-hub-probe-sources-page .content-hub-probe-row__desc {
    grid-column: 2;
    grid-row: 1 / span 2;
    text-align: right;
    font-size: 0.7rem;
    line-height: 1.35;
    color: #64748b;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
  }
  .content-hub-probe-sources-page .content-hub-probe-row__kind-mobile {
    grid-column: 1;
    font-size: 0.65rem;
    padding: 0.1rem 0.38rem;
    margin-top: 0.15rem;
    justify-self: start;
  }
  .content-hub-probe-sources-page .content-hub-probe-row__chips {
    margin-top: 0.3rem;
  }
  .content-hub-probe-sources-page .content-hub-probe-advice {
    margin-top: 0.35rem;
    max-width: none;
    white-space: normal;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    font-size: 0.78rem;
    line-height: 1.4;
    color: #64748b;
  }
  .content-hub-probe-sources-page td.content-hub-probe-score {
    grid-area: score;
    white-space: normal;
    padding: 0.5rem 0.65rem !important;
    background: #f8fafc;
    border: 1px solid #f1f5f9;
    border-radius: 0.55rem;
  }
  .content-hub-probe-sources-page .content-hub-probe-score__body {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.65rem;
    width: 100%;
  }
  .content-hub-probe-sources-page .content-hub-probe-score__labels {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 0.28rem;
    min-width: 0;
  }
  .content-hub-probe-sources-page .content-hub-probe-score__caption {
    font-size: 0.68rem;
    font-weight: 600;
    color: #94a3b8;
    letter-spacing: 0.02em;
  }
  .content-hub-probe-sources-page .content-hub-probe-score__num--lead {
    flex-shrink: 0;
    margin: 0;
    font-size: 1.65rem;
    font-weight: 700;
    line-height: 1;
    color: #0f172a;
    font-variant-numeric: tabular-nums;
  }
  .content-hub-probe-sources-page .content-hub-probe-table .content-hub-status--compact {
    font-size: 0.68rem;
    padding: 0.14rem 0.45rem;
  }
  .content-hub-probe-sources-page td.content-hub-probe-row__act {
    grid-area: actions;
    width: auto !important;
    margin-top: 0.1rem;
    padding-top: 0.5rem !important;
    border-top: 1px solid #f1f5f9;
    text-align: center !important;
  }
  .content-hub-probe-sources-page .content-hub-probe-row__act form {
    display: flex;
    width: 100%;
    margin: 0;
  }
  .content-hub-probe-sources-page .content-hub-probe-remove {
    width: 100%;
    min-height: 2.3rem;
    padding: 0.4rem 0.65rem !important;
    font-size: 0.8125rem;
    font-weight: 600;
    border-radius: 0.5rem;
    color: #64748b !important;
  }
  .content-hub-probe-sources-page .content-hub-probe-remove:hover {
    color: #b91c1c !important;
    border-color: #fecaca;
    background: #fef2f2;
    text-decoration: none;
  }

  /* 官媒投稿市场 · 手机卡片 */
  .content-hub-official-market .keyword-library-toolbar {
    flex-direction: column;
    align-items: stretch;
    gap: 0.5rem;
  }
  .content-hub-official-market .keyword-library-toolbar__search {
    flex: 1 1 100%;
    max-width: none;
    flex-wrap: nowrap;
    gap: 0.45rem;
  }
  .content-hub-official-market .keyword-library-toolbar__search-input {
    min-height: 2.45rem;
    font-size: 16px;
  }
  .content-hub-official-market .keyword-library-toolbar__search .btn {
    min-height: 2.45rem;
    padding-left: 0.85rem;
    padding-right: 0.85rem;
    flex-shrink: 0;
  }
  .content-hub-official-market .content-hub-official-market-table-wrap {
    margin: 0;
    overflow: visible;
  }
  .content-hub-official-page .content-hub-official-market .content-hub-official-market-table tbody tr.content-hub-official-market-row {
    display: grid !important;
    grid-template-areas:
      "main"
      "actions";
    flex-direction: unset;
    gap: 0.45rem;
    padding: 0.72rem 0.78rem 0.65rem;
    margin-bottom: 0.5rem;
    border: 1px solid #e8edf2;
    border-radius: 0.75rem;
    background: #fff;
    box-shadow: 0 1px 2px rgba(15, 23, 42, 0.04);
  }
  .content-hub-official-page .content-hub-official-market .content-hub-official-market-table tbody tr.content-hub-official-market-row > td {
    display: block !important;
    grid-template-columns: unset !important;
    padding: 0;
    border: none;
    width: 100%;
    max-width: none;
    text-align: left !important;
  }
  .content-hub-official-page .content-hub-official-market .content-hub-official-market-table tbody tr.content-hub-official-market-row > td::before {
    display: none !important;
  }
  .content-hub-official-market-row__head {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 0.5rem;
    margin-bottom: 0.2rem;
  }
  .content-hub-official-market-row__name {
    font-size: 0.9375rem;
    font-weight: 700;
    line-height: 1.35;
    color: #0f172a;
    min-width: 0;
  }
  .content-hub-official-market-row__hint {
    font-size: 0.78rem;
    line-height: 1.4;
    color: #64748b;
    margin-bottom: 0.35rem;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
  }
  .content-hub-official-market-row__tags {
    margin-bottom: 0.35rem;
  }
  .content-hub-official-market-row__tags .hub-meta-chip {
    font-size: 0.68rem;
    padding: 0.12rem 0.42rem;
  }
  .content-hub-official-market-ref {
    display: flex;
    flex-wrap: wrap;
    gap: 0.35rem;
  }
  .content-hub-official-ref-chip {
    display: inline-flex;
    align-items: baseline;
    flex-wrap: wrap;
    gap: 0.2rem 0.35rem;
    max-width: 100%;
    padding: 0.28rem 0.45rem;
    border-radius: 0.45rem;
    background: #f8fafc;
    border: 1px solid #eef2f6;
    font-size: 0.72rem;
    line-height: 1.35;
    color: #475569;
  }
  .content-hub-official-ref-chip em {
    font-style: normal;
    font-size: 0.65rem;
    font-weight: 600;
    color: #94a3b8;
    flex-shrink: 0;
  }
  .content-hub-official-ref-chip--wide {
    flex: 1 1 100%;
  }
  .content-hub-official-market-tier {
    display: inline-flex;
    align-items: center;
    padding: 0.14rem 0.45rem;
    border-radius: 999px;
    font-size: 0.68rem;
    font-weight: 600;
    white-space: nowrap;
    flex-shrink: 0;
  }
  .content-hub-official-market-tier--high {
    color: #047857;
    background: #ecfdf5;
  }
  .content-hub-official-market-tier--mid {
    color: #0f766e;
    background: #f0fdfa;
  }
  .content-hub-official-market-tier--ok {
    color: #64748b;
    background: #f1f5f9;
  }
  .content-hub-official-page .content-hub-official-market-row__actions {
    grid-area: actions;
    display: grid !important;
    grid-template-columns: 1fr 1fr;
    gap: 0.4rem;
    margin-top: 0.1rem;
    padding-top: 0.5rem !important;
    border-top: 1px solid #f1f5f9;
    text-align: left !important;
  }
  .content-hub-official-page .content-hub-official-market-row__actions > a {
    margin: 0;
    display: flex;
    min-width: 0;
  }
  .content-hub-official-page .content-hub-official-market-row__actions .btn {
    width: 100%;
    min-height: 2.3rem;
    font-size: 0.8125rem;
    font-weight: 600;
    border-radius: 0.5rem;
    justify-content: center;
    align-items: center;
  }
  .content-hub-official-page .content-hub-official-market-row__actions .btn-accent {
    border: none;
    box-shadow: 0 1px 2px rgba(15, 118, 110, 0.2);
  }
  .content-hub-official-page .content-hub-official-market-row__actions > a:only-child,
  .content-hub-official-page .content-hub-official-market-row__actions > a.btn-accent:only-of-type {
    grid-column: 1 / -1;
  }
  .content-hub-official-page .content-hub-official-market-row__actions > a.btn-outline-secondary:only-child {
    grid-column: 1 / -1;
  }

  /* 主词库 · 手机端 App 风格卡片（覆盖上方通用 label 行） */
  .content-hub-keyword-list .keyword-library-table tbody tr.keyword-library-table__data-row {
    display: grid;
    grid-template-columns: 1fr auto;
    grid-template-areas:
      "check toggle"
      "title title"
      "pack count"
      "actions actions";
    gap: 0.35rem 0.55rem;
    padding: 0.78rem 0.85rem 0.72rem;
    margin-bottom: 0.55rem;
    border: 1px solid #e8edf2;
    border-radius: 0.85rem;
    background: #fff;
    box-shadow: 0 1px 2px rgba(15, 23, 42, 0.04);
  }
  .content-hub-keyword-list .keyword-library-table tbody tr.keyword-library-table__row--current {
    border-color: #99f6e4;
    background: linear-gradient(180deg, #f0fdfa 0%, #fff 42%);
  }
  .content-hub-keyword-list .keyword-library-table tbody tr.keyword-library-table__data-row > td:not(.content-hub-table__actions) {
    display: block;
    grid-template-columns: unset;
    padding: 0;
    border: none;
    width: auto;
    max-width: none;
    text-align: left !important;
  }
  .content-hub-keyword-list .keyword-library-table tbody tr.keyword-library-table__data-row > td::before {
    display: none !important;
  }
  .content-hub-keyword-list .keyword-library-table td.keyword-library-table__check {
    grid-area: check;
    display: flex;
    align-items: center;
    gap: 0.45rem;
    padding: 0;
    margin: 0;
    border: none;
  }
  .content-hub-keyword-list .keyword-library-table__index-m {
    font-size: 0.72rem;
    font-weight: 600;
    color: #94a3b8;
    letter-spacing: 0.02em;
  }
  .content-hub-keyword-list .keyword-library-table td.keyword-library-table__toggle {
    grid-area: toggle;
    align-self: center;
    justify-self: end;
  }
  .content-hub-keyword-list .keyword-library-table td.keyword-library-table__keyword {
    grid-area: title;
  }
  .content-hub-keyword-list .keyword-library-table__keyword-link {
    display: block;
    font-size: 1rem;
    font-weight: 700;
    line-height: 1.38;
    color: #0f172a;
    text-decoration: none;
  }
  .content-hub-keyword-list .keyword-library-table__keyword-link:hover {
    color: #0f766e;
  }
  .content-hub-keyword-list .keyword-library-table td.keyword-library-table__pack {
    grid-area: pack;
    display: flex;
    align-items: center;
    min-width: 0;
    align-self: stretch;
    padding: 0.38rem 0.45rem 0.38rem 0.55rem;
    border: 1px solid #eef2f6;
    border-right: none;
    border-radius: 0.45rem 0 0 0.45rem;
    background: #f8fafc;
  }
  .content-hub-keyword-list .keyword-library-table td.keyword-library-table__count {
    grid-area: count;
    display: flex;
    align-items: center;
    justify-content: flex-end;
    align-self: stretch;
    padding: 0.38rem 0.55rem 0.38rem 0.35rem;
    border: 1px solid #eef2f6;
    border-left: none;
    border-radius: 0 0.45rem 0.45rem 0;
    background: #f8fafc;
  }
  .content-hub-keyword-list .keyword-library-table__count-link {
    display: inline-flex;
    align-items: center;
    gap: 0.1rem;
    padding: 0.18rem 0.55rem;
    border-radius: 999px;
    background: #ecfdf5;
    color: #0f766e !important;
    font-size: 0.78rem;
    font-weight: 650;
    text-decoration: none !important;
  }
  .content-hub-keyword-list .keyword-library-table__count-suffix {
    font-weight: 550;
    opacity: 0.92;
  }
  .content-hub-keyword-list .keyword-library-table .keyword-pack-status-badge {
    font-size: 0.72rem;
    padding: 0.2rem 0.55rem;
  }
  .content-hub-keyword-list .keyword-library-table .keyword-library-toggle {
    width: 2.35rem;
    height: 1.28rem;
  }
  .content-hub-keyword-list .keyword-library-table .keyword-library-toggle__thumb {
    width: 1rem;
    height: 1rem;
  }
  .content-hub-keyword-list .keyword-library-table .keyword-library-toggle.is-on .keyword-library-toggle__thumb {
    transform: translateX(1.05rem);
  }
  .content-hub-keyword-list .keyword-library-table td.content-hub-table__actions {
    grid-area: actions;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.5rem;
    margin-top: 0.15rem;
    padding-top: 0.65rem !important;
    border-top: 1px solid #f1f5f9;
  }
  .content-hub-keyword-list .keyword-library-table td.content-hub-table__actions > a,
  .content-hub-keyword-list .keyword-library-table td.content-hub-table__actions > form {
    flex: none;
    width: 100%;
    margin: 0;
    min-width: 0;
    display: flex;
  }
  .content-hub-keyword-list .keyword-library-table td.content-hub-table__actions .btn {
    flex: 1;
    width: 100%;
    min-height: 2.5rem;
    font-size: 0.8125rem;
    font-weight: 600;
    border-radius: 0.55rem;
  }
  .content-hub-keyword-list .keyword-library-panel .keyword-library-toolbar {
    flex-wrap: wrap;
    gap: 0.5rem;
    padding-bottom: 0.15rem;
  }
  .content-hub-keyword-list .keyword-library-panel .keyword-library-toolbar__actions {
    flex: 1 1 100%;
    flex-wrap: wrap;
    gap: 0.45rem;
  }
  .content-hub-keyword-list .keyword-library-panel .keyword-library-toolbar__actions .btn {
    flex: 1 1 calc(50% - 0.25rem);
    min-height: 2.45rem;
  }
  .content-hub-keyword-list .keyword-library-panel .keyword-library-toolbar__search {
    flex: 1 1 100%;
    max-width: none;
    flex-wrap: nowrap;
  }
  .content-hub-keyword-list .keyword-library-panel .keyword-library-toolbar__search-input {
    min-height: 2.45rem;
    font-size: 16px;
  }
  .content-hub-keyword-list .keyword-library-panel .keyword-library-toolbar__search .btn {
    min-height: 2.45rem;
    padding-left: 0.85rem;
    padding-right: 0.85rem;
  }

  /* 我的文章 · 操作区 2×2（避免与通用 keyword 列表样式冲突） */
  .content-hub-list-page .content-hub-article-panel .content-hub-article-table tbody tr:not(.table-empty-row) > td::before {
    display: none !important;
  }

  /* 素材库 · 手机卡片 */
  .content-hub-media-list-page .content-hub-media-panel .table-mobile-wrap {
    margin: 0;
    overflow: visible;
  }
  .content-hub-media-list-page .content-hub-media-table tbody tr.content-hub-media-table__data-row {
    display: grid;
    grid-template-columns: 1fr;
    grid-template-areas:
      "main"
      "usage"
      "actions";
    gap: 0.45rem;
    padding: 0.78rem 0.85rem 0.7rem;
    margin-bottom: 0.55rem;
    border: 1px solid #e8edf2;
    border-radius: 0.85rem;
    background: #fff;
    box-shadow: 0 1px 3px rgba(15, 23, 42, 0.05);
  }
  .content-hub-media-list-page .content-hub-media-table tbody tr.content-hub-media-table__data-row > td:not(.content-hub-table__actions) {
    display: block;
    padding: 0;
    border: none;
    width: 100%;
    text-align: left !important;
  }
  .content-hub-media-list-page .content-hub-media-table tbody tr.content-hub-media-table__data-row > td::before {
    display: none !important;
  }
  .content-hub-media-list-page .content-hub-media-row__main {
    grid-area: main;
    display: flex;
    gap: 0.7rem;
    align-items: flex-start;
  }
  .content-hub-media-list-page .content-hub-media-row__preview {
    flex-shrink: 0;
  }
  .content-hub-media-list-page .content-hub-media-row__preview img,
  .content-hub-media-list-page .content-hub-media-row__video-badge {
    width: 4.5rem;
    height: 4.5rem;
    border-radius: 0.55rem;
    border: 1px solid #e8edf2;
    box-shadow: 0 1px 2px rgba(15, 23, 42, 0.04);
  }
  .content-hub-media-list-page .content-hub-media-row__text {
    padding-top: 0.05rem;
  }
  .content-hub-media-list-page .content-hub-theme-row__title {
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    font-size: 0.9375rem;
    font-weight: 650;
    line-height: 1.4;
    color: #0f172a;
    text-decoration: none;
    margin-bottom: 0.3rem;
  }
  .content-hub-media-list-page .content-hub-theme-row__title:hover {
    color: #0f766e;
    text-decoration: none;
  }
  .content-hub-media-list-page .content-hub-theme-row__meta {
    width: 100%;
    align-items: center;
    gap: 0.28rem 0.35rem;
    margin-bottom: 0.2rem;
  }
  .content-hub-media-list-page .content-hub-theme-row__meta .hub-meta-chip {
    font-size: 0.68rem;
    padding: 0.12rem 0.42rem;
  }
  .content-hub-media-list-page .content-hub-theme-row__meta .text-muted.small {
    margin-left: auto;
    flex-shrink: 0;
    font-size: 0.7rem;
    color: #94a3b8 !important;
  }
  .content-hub-media-list-page .content-hub-theme-row__kw {
    max-width: none;
    white-space: normal;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    font-size: 0.78rem;
    line-height: 1.4;
    color: #64748b;
    margin-top: 0.05rem;
  }
  .content-hub-media-list-page .content-hub-media-row__usage {
    grid-area: usage;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.3rem 0.5rem;
    width: 100%;
    max-width: none;
    min-height: 1.85rem;
    padding: 0.35rem 0.65rem;
    border-radius: 0.5rem;
    background: #f8fafc;
    border: 1px solid #f1f5f9;
    font-size: 0.75rem;
  }
  .content-hub-media-list-page .content-hub-media-table__data-row.is-idle .content-hub-media-row__usage {
    justify-content: center;
    background: #f1f5f9;
    border-color: transparent;
  }
  .content-hub-media-list-page .content-hub-media-row__usage .content-hub-status {
    font-size: 0.72rem;
    padding: 0.15rem 0.45rem;
  }
  .content-hub-media-list-page .content-hub-media-row__usage .text-muted.small {
    font-size: 0.72rem;
    width: 100%;
    line-height: 1.35;
  }
  .content-hub-media-list-page .content-hub-media-table td.content-hub-table__actions {
    grid-area: actions;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.45rem;
    margin-top: 0.05rem;
    padding-top: 0.55rem !important;
    border-top: 1px solid #f1f5f9;
  }
  .content-hub-media-list-page .content-hub-media-table td.content-hub-table__actions > a,
  .content-hub-media-list-page .content-hub-media-table td.content-hub-table__actions > form {
    margin: 0;
    width: 100%;
    display: flex;
  }
  .content-hub-media-list-page .content-hub-media-table td.content-hub-table__actions .btn {
    width: 100%;
    min-height: 2.35rem;
    font-size: 0.8125rem;
    font-weight: 600;
    border-radius: 0.5rem;
  }

  /* 主知识库 · 手机卡片 */
  .content-hub-knowledge-list-page .keyword-library-table tbody tr.knowledge-table__data-row {
    display: grid;
    grid-template-columns: 1fr;
    gap: 0.45rem;
    padding: 0.85rem 0.9rem 0.75rem;
    margin-bottom: 0.55rem;
    border: 1px solid #e8edf2;
    border-radius: 0.85rem;
    background: #fff;
    box-shadow: 0 1px 2px rgba(15, 23, 42, 0.04);
  }
  .content-hub-knowledge-list-page .keyword-library-table tbody tr.knowledge-table__data-row > td:not(.content-hub-table__actions) {
    display: block;
    padding: 0;
    border: none;
    width: 100%;
    text-align: left !important;
  }
  .content-hub-knowledge-list-page .keyword-library-table tbody tr.knowledge-table__data-row > td::before {
    display: none !important;
  }
  .content-hub-knowledge-list-page .knowledge-table__main .content-hub-theme-row__title {
    font-size: 0.95rem;
    font-weight: 700;
    line-height: 1.38;
    display: inline;
  }
  .content-hub-knowledge-list-page .knowledge-table__main .hub-meta-chip {
    vertical-align: middle;
    margin-left: 0.25rem;
  }
  .content-hub-knowledge-list-page .knowledge-table__main .content-hub-theme-row__sub {
    margin-top: 0.4rem;
    font-size: 0.8125rem;
    line-height: 1.5;
    color: #64748b;
  }
  .content-hub-knowledge-list-page .keyword-library-table td.content-hub-table__actions {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.5rem;
    margin-top: 0.15rem;
    padding-top: 0.6rem !important;
    border-top: 1px solid #f1f5f9;
  }
  .content-hub-knowledge-list-page .keyword-library-table td.content-hub-table__actions:has(> :only-child) {
    grid-template-columns: 1fr;
  }
  .content-hub-knowledge-list-page .keyword-library-table td.content-hub-table__actions > a,
  .content-hub-knowledge-list-page .keyword-library-table td.content-hub-table__actions > button,
  .content-hub-knowledge-list-page .keyword-library-table td.content-hub-table__actions > form {
    margin: 0;
    width: 100%;
    display: flex;
  }
  .content-hub-knowledge-list-page .keyword-library-table td.content-hub-table__actions .btn {
    width: 100%;
    min-height: 2.45rem;
    font-weight: 600;
    border-radius: 0.55rem;
  }

  /* 创作指令 · 手机卡片 */
  .content-hub-writing-instructions-page .keyword-library-table tbody tr.wi-instruction-table__data-row {
    display: grid;
    grid-template-columns: 1fr auto;
    grid-template-rows: auto auto auto;
    gap: 0.35rem 0.5rem;
    padding: 0.85rem 0.9rem 0.75rem;
    margin-bottom: 0.55rem;
    border: 1px solid #e8edf2;
    border-radius: 0.85rem;
    background: #fff;
    box-shadow: 0 1px 2px rgba(15, 23, 42, 0.04);
  }
  .content-hub-writing-instructions-page .keyword-library-table tbody tr.wi-instruction-table__data-row > td:not(.content-hub-table__actions) {
    display: block;
    padding: 0;
    border: none;
    text-align: left !important;
  }
  .content-hub-writing-instructions-page .keyword-library-table tbody tr.wi-instruction-table__data-row > td::before {
    display: none !important;
  }
  .content-hub-writing-instructions-page .wi-instruction-table__name {
    grid-column: 1 / -1;
  }
  .content-hub-writing-instructions-page .wi-instruction-table__title-link {
    font-size: 0.95rem;
    font-weight: 700;
    line-height: 1.38;
    color: #0f172a;
  }
  .content-hub-writing-instructions-page .wi-instruction-table__type,
  .content-hub-writing-instructions-page .wi-instruction-table__default {
    grid-row: 2;
    font-size: 0.78rem;
    color: #64748b;
  }
  .content-hub-writing-instructions-page .wi-instruction-table__type::before,
  .content-hub-writing-instructions-page .wi-instruction-table__default::before {
    display: inline !important;
    font-size: 0.68rem;
    font-weight: 600;
    color: #94a3b8;
    margin-right: 0.35rem;
  }
  .content-hub-writing-instructions-page .wi-instruction-table__type {
    grid-column: 1;
  }
  .content-hub-writing-instructions-page .wi-instruction-table__default {
    grid-column: 2;
    justify-self: end;
    text-align: right !important;
  }
  .content-hub-writing-instructions-page .keyword-library-table td.content-hub-table__actions {
    grid-row: 3;
    grid-column: 1 / -1;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.5rem;
    margin-top: 0.2rem;
    padding-top: 0.6rem !important;
    border-top: 1px solid #f1f5f9;
  }
  .content-hub-writing-instructions-page .keyword-library-table td.content-hub-table__actions > a,
  .content-hub-writing-instructions-page .keyword-library-table td.content-hub-table__actions > form {
    margin: 0;
    width: 100%;
    display: flex;
  }
  .content-hub-writing-instructions-page .keyword-library-table td.content-hub-table__actions .btn {
    width: 100%;
    min-height: 2.45rem;
    font-weight: 600;
    border-radius: 0.55rem;
  }

  /* 问题列表 · 手机卡片（与主词库同系） */
  .content-hub-keyword-titles .keyword-title-table tbody tr:not(.table-empty-row) {
    display: grid;
    grid-template-columns: 1fr;
    gap: 0.45rem;
    padding: 0.85rem 0.9rem 0.75rem;
    margin-bottom: 0.55rem;
    border: 1px solid #e8edf2;
    border-radius: 0.85rem;
    background: #fff;
    box-shadow: 0 1px 2px rgba(15, 23, 42, 0.04);
  }
  .content-hub-keyword-titles .keyword-title-table tbody tr:not(.table-empty-row) > td {
    display: block;
    padding: 0;
    border: none;
    width: 100%;
    text-align: left !important;
  }
  .content-hub-keyword-titles .keyword-title-table tbody tr:not(.table-empty-row) > td::before {
    display: none !important;
  }
  .content-hub-keyword-titles .keyword-title-table td.keyword-library-table__check {
    display: flex;
    align-items: center;
    gap: 0.45rem;
    padding-bottom: 0.35rem;
    margin-bottom: 0.1rem;
    border-bottom: 1px dashed #e8edf2;
  }
  .content-hub-keyword-titles .keyword-title-table__text {
    font-size: 0.92rem;
    font-weight: 650;
    line-height: 1.45;
  }
  .content-hub-keyword-titles .keyword-title-table td[data-label="发文状态"] {
    display: flex;
    align-items: center;
    gap: 0.35rem;
  }
  .content-hub-keyword-titles .keyword-title-table td[data-label="发文状态"]::before {
    display: inline !important;
    font-size: 0.68rem;
    font-weight: 600;
    color: #94a3b8;
    margin-right: 0.25rem;
  }
  .content-hub-keyword-titles .keyword-title-table td.content-hub-table__actions {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.5rem;
    margin-top: 0.15rem;
    padding-top: 0.6rem !important;
    border-top: 1px solid #f1f5f9;
  }
  .content-hub-keyword-titles .keyword-title-table td.content-hub-table__actions > a,
  .content-hub-keyword-titles .keyword-title-table td.content-hub-table__actions > form {
    margin: 0;
    width: 100%;
    display: flex;
  }
  .content-hub-keyword-titles .keyword-title-table td.content-hub-table__actions .btn {
    width: 100%;
    min-height: 2.45rem;
    font-weight: 600;
    border-radius: 0.55rem;
  }

  .page-head-actions {
    width: 100%;
  }
  .page-head-actions .btn {
    min-height: 2.35rem;
  }

  .app-content--workspace input.form-control,
  .app-content--workspace textarea.form-control,
  .admin-body .admin-content input.form-control,
  .admin-body .admin-content textarea.form-control {
    font-size: max(16px, 0.875rem);
    line-height: 1.25;
    padding-top: 0.42rem;
    padding-bottom: 0.42rem;
    min-height: 2.125rem;
  }
  .app-content--workspace .form-select,
  .admin-body .admin-content .form-select {
    font-size: 0.8125rem;
    line-height: 1.35;
    padding-top: 0.4rem;
    padding-bottom: 0.4rem;
    min-height: 2.125rem;
  }

  .geo-bottom-nav.d-lg-none {
    display: flex;
    min-height: 3.05rem;
    padding: .25rem .2rem calc(.25rem + env(safe-area-inset-bottom, 0px));
  }

  .geo-bottom-tab {
    padding: .12rem .1rem;
    font-size: 10.5px;
    gap: .1rem;
  }

  .geo-bottom-tab .ico {
    width: 1.15rem;
    height: 1.15rem;
  }

  .cap-grid, .cap-grid-2, .cap-grid-3, .cap-grid-4, .help-grid {
    grid-template-columns: 1fr;
    max-width: none;
  }

  /* —— 全功能 Hub 手机端：大气留白，信息完整 —— */
  .agent-workspace {
    padding: 0 .75rem;
  }

  .agent-workspace .welcome-view {
    padding: 0.85rem 0 0.5rem;
  }

  .agent-workspace .welcome-hero {
    text-align: center;
    margin-bottom: 1rem;
  }

  .agent-workspace .welcome-logo {
    display: flex;
    width: 48px;
    height: 48px;
    margin: 0 auto 0.7rem;
    border-radius: 14px;
    font-size: 1.35rem;
    box-shadow: 0 6px 18px rgba(13, 148, 136, .2);
  }

  .agent-workspace .welcome-hero h1 {
    display: block;
    font-size: 1.45rem;
    margin-bottom: 0.4rem;
    letter-spacing: -0.02em;
  }

  .agent-workspace .welcome-hero p {
    font-size: 13.5px;
    line-height: 1.6;
    max-width: 22rem;
    margin: 0 auto;
    color: var(--muted);
    display: block;
    -webkit-line-clamp: unset;
    overflow: visible;
  }

  .agent-workspace .welcome-hero-actions {
    margin-top: 0.75rem;
    justify-content: center;
    gap: 0.45rem;
  }

  .agent-workspace .welcome-hero-link {
    padding: 0.4rem 0.9rem;
    font-size: 13px;
  }

  .agent-workspace .content-readiness-hints {
    justify-content: center;
    margin: 0.75rem auto 0;
    gap: 0.4rem;
  }

  .agent-workspace .content-readiness-chip {
    font-size: 12px;
    padding: 0.25rem 0.6rem;
  }

  .agent-workspace .cap-grid,
  .agent-workspace .cap-grid-2,
  .agent-workspace .cap-grid-3,
  .agent-workspace .cap-grid-4 {
    gap: 0.7rem;
    margin-bottom: 0.85rem;
  }

  .agent-workspace .cap-card {
    flex-direction: row;
    padding: 0.95rem 0.9rem;
    gap: 0.75rem;
    border-radius: 14px;
    align-items: center;
    box-shadow: var(--shadow-sm);
    border-color: var(--line);
    background: #fff;
  }

  .agent-workspace .cap-ico {
    width: 40px;
    height: 40px;
    border-radius: 12px;
    font-size: 1.15rem;
    flex: 0 0 auto;
  }

  /* 各 Hub 图标色统一为青绿，与成稿页一致 */
  .agent-workspace .tone-diag,
  .agent-workspace .tone-probe,
  .agent-workspace .tone-video,
  .agent-workspace .tone-theme,
  .agent-workspace .tone-site,
  .agent-workspace .tone-build,
  .agent-workspace .tone-compare {
    background: #ccfbf1;
    color: #0f766e;
  }

  .agent-workspace .cap-body {
    min-width: 0;
    flex: 1 1 auto;
    padding-top: 0;
  }

  .agent-workspace .cap-body strong {
    font-size: 15px;
    margin-bottom: 0.28rem;
    line-height: 1.35;
    font-weight: 700;
  }

  .agent-workspace .cap-body span {
    display: -webkit-box;
    font-size: 12.5px;
    line-height: 1.5;
    color: var(--muted);
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
  }

  .agent-workspace .hub-manage-footnote,
  .agent-workspace .hub-manage-footnote--compact,
  .agent-workspace .hub-manage-link-wrap {
    display: block;
    margin: 0.55rem auto 0.65rem;
    font-size: 13px;
    text-align: center;
  }

  .agent-workspace .video-hub-meta {
    display: flex;
    margin: 0.5rem auto 0.7rem;
    gap: 0.35rem 1rem;
    justify-content: center;
  }

  .agent-workspace .hub-more-links {
    display: none;
  }

  .agent-workspace .composer {
    padding: 0.35rem 0 0.55rem;
  }

  .agent-workspace .composer-card {
    border-radius: 14px;
  }

  .agent-workspace .composer-top,
  .agent-workspace .composer-top--video,
  .agent-workspace .composer-top--chips {
    padding: 0.45rem 0.7rem 0.4rem;
    gap: 0.4rem;
  }

  .agent-workspace .composer-bar--single,
  .agent-workspace .composer-card--compact .composer-bar--single,
  .agent-workspace .composer-card--hub .composer-bar--single {
    padding: 0.5rem 0.65rem;
    min-height: 3.25rem;
  }

  .agent-workspace .composer-bar--multiline,
  .agent-workspace .composer-card--hub .composer-bar--multiline {
    padding: 0.55rem 0.65rem 0.6rem;
    min-height: 0;
    align-items: flex-end;
  }

  .agent-workspace .composer-input {
    font-size: 14px;
    height: 2.35rem;
    min-height: 2.35rem;
  }

  .agent-workspace .composer-bar--multiline .composer-textarea {
    font-size: 14px;
    height: auto;
    min-height: 3rem;
    max-height: 6.5rem;
    padding: 0.2rem 0;
    line-height: 1.5;
  }

  .agent-workspace .btn-send {
    height: 2.35rem;
    min-height: 2.35rem;
    padding: 0 0.85rem;
    font-size: 13.5px;
  }

  .agent-workspace .composer-bar--multiline .btn-send {
    height: 2.35rem;
    min-height: 2.35rem;
  }

  .agent-workspace .composer-foot {
    font-size: 12px;
    line-height: 1.4;
    margin-top: 0.4rem;
  }

  /* 对话气泡：手机端略缩小字号与内边距 */
  .agent-workspace .chat-messages {
    padding: 0.65rem 0.1rem 0.55rem;
  }

  .agent-workspace .msg {
    max-width: 92%;
    margin-bottom: 0.65rem;
  }

  .agent-workspace .msg-bubble {
    padding: 0.58rem 0.72rem;
    font-size: 0.875rem;
    line-height: 1.48;
  }

  .agent-workspace .msg-bubble .md-content {
    line-height: 1.48;
  }

  .agent-workspace .msg-bubble .md-content .md-h2 {
    font-size: 0.95rem;
    margin: 0 0 0.42rem;
  }

  .agent-workspace .msg-bubble .md-content .md-h3 {
    font-size: 0.9rem;
    margin: 0.6rem 0 0.32rem;
  }

  .agent-workspace .msg-bubble .md-content .md-p {
    margin: 0 0 0.36rem;
    font-size: 0.875rem;
  }

  .agent-workspace .msg-choice {
    font-size: 0.78rem;
    padding: 0.24rem 0.65rem;
  }

  .agent-workspace .msg-theme-picker {
    padding: 0.55rem 0.62rem;
  }

  .agent-workspace .msg-theme-picker__meta,
  .agent-workspace .msg-theme-picker__heading,
  .agent-workspace .msg-theme-picker__empty,
  .agent-workspace .msg-theme-picker__loading {
    font-size: 0.75rem;
  }

  .agent-workspace .msg-theme-picker__name {
    font-size: 0.8125rem;
  }

  .agent-workspace .msg-theme-picker__industry {
    font-size: 0.75rem;
  }

  .agent-workspace .format-chip,
  .agent-workspace .mode-pill.format-chip {
    padding: 0.28rem 0.7rem;
    font-size: 12.5px;
    min-height: 1.75rem;
  }

  /* 全部 Hub：与成稿一致的单列大气列表 */
  .agent-workspace .cap-grid,
  .agent-workspace .cap-grid-2,
  .agent-workspace .cap-grid-3,
  .agent-workspace .cap-grid-4,
  .agent-workspace[data-growth-hub="diagnose"] .cap-grid.cap-grid-4,
  .agent-workspace[data-growth-hub="video"] .cap-grid.cap-grid-3,
  .agent-workspace[data-growth-hub="site"] .cap-grid.cap-grid-2,
  .agent-workspace[data-growth-hub="content"] .cap-grid.cap-grid-3 {
    grid-template-columns: 1fr !important;
    gap: 0.65rem;
    margin-bottom: 0.85rem;
    max-width: none;
    justify-content: stretch;
  }

  .agent-workspace[data-growth-hub="content"] .cap-card--featured {
    padding: 1rem 0.95rem;
    background: linear-gradient(180deg, #f0fdfa 0%, #fff 72%);
    border-color: rgba(13, 148, 136, 0.28);
  }

  .agent-workspace[data-growth-hub="video"] .video-hub-positioning {
    display: none;
  }
  .agent-workspace[data-growth-hub="video"] .video-hub-ask-hint {
    font-size: 12.5px;
  }
  .growth-hub-stack {
    gap: 0.65rem;
  }
  /* 无对话区时首屏给三卡更多空间 */
  .agent-workspace[data-growth-hub="video"]:not(:has(.composer)) .cap-grid-3 .cap-card {
    min-height: 4.25rem;
  }

  .agent-workspace .video-format-chips,
  .agent-workspace .mode-pills {
    flex-wrap: nowrap;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    max-width: 100%;
  }

  .agent-workspace .video-format-chips::-webkit-scrollbar,
  .agent-workspace .mode-pills::-webkit-scrollbar {
    display: none;
  }

  .agent-workspace .format-chip,
  .agent-workspace .mode-pill {
    flex-shrink: 0;
  }

  .top-btn span:not(.top-avatar) { display: none; }
  .top-crumb { display: none; }
  .top-left { flex: 1; min-width: 0; gap: .4rem; flex-wrap: nowrap; align-items: center; }
  .app-topbar--hub { padding-left: .65rem; padding-right: .35rem; }
  .app-topbar--hub .top-btn-menu {
    min-width: 2.45rem;
    min-height: 2.45rem;
    padding: 0.44rem 0.52rem;
  }
  .app-topbar--hub .top-btn-menu .ico {
    font-size: 1.3rem;
  }
  .app-topbar--hub .geo-mobile-nav {
    display: flex;
  }
  .app-topbar--hub .geo-mobile-nav .geo-subpage-back.geo-hub-back-btn--topbar {
    max-width: min(10rem, 48vw);
    font-size: 0.8rem;
    padding: 0.36rem 0.58rem;
  }
  .top-actions { gap: 0.15rem; }
  /* 顶栏：左侧标题与右侧操作同一行（客户切换器可单独占第二行） */
  .app-topbar--hub:not(.app-topbar--has-workspace) {
    flex-wrap: nowrap;
    gap: 0.25rem;
  }
  .app-topbar--hub:not(.app-topbar--has-workspace) .top-left {
    flex: 1 1 auto;
    min-width: 0;
  }
  .app-topbar--hub:not(.app-topbar--has-workspace) .top-actions {
    flex: 0 0 auto;
    flex-wrap: nowrap;
    max-width: min(62vw, 100%);
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
  }
  .app-topbar--hub:not(.app-topbar--has-workspace) .top-actions::-webkit-scrollbar {
    display: none;
  }
  .app-topbar--hub .geo-mobile-hub-title {
    flex: 1 1 auto;
    min-width: 0;
    font-size: 0.9375rem;
  }
  .app-topbar--hub .top-actions .top-btn--identity span:not(.top-avatar) {
    display: none !important;
  }
  .app-topbar--hub .top-actions .top-btn--identity {
    flex-direction: row;
    min-width: 2.45rem;
    min-height: 2.45rem;
    padding: 0.38rem 0.45rem;
  }
}

@media (max-width: 575.98px) {
  /* 顶栏减负：安装入口可从帮助页进入 */
  .app-topbar--hub .top-actions > a[title="安装"] {
    display: none;
  }
  .app-topbar--hub .geo-mobile-nav .geo-hub-back-btn__full,
  .app-topbar--hub .geo-mobile-nav .geo-subpage-back__text {
    display: none;
  }
  .app-topbar--hub .geo-mobile-nav .geo-subpage-back.geo-hub-back-btn--topbar {
    width: 2.35rem;
    height: 2.35rem;
    max-width: none;
    justify-content: center;
    padding: 0;
    gap: 0;
  }
  .app-topbar--hub .geo-mobile-nav .geo-hub-back-btn__short {
    display: none;
  }
  .app-topbar--hub .geo-mobile-nav .geo-hub-back-btn__ico,
  .app-topbar--hub .geo-mobile-nav .geo-subpage-back__ico {
    font-size: 1.15rem;
    color: #334155;
  }
}

@media (min-width: 992px) {
  .geo-side-backdrop { display: none !important; }
  .admin-sidebar-backdrop { display: none !important; }
}

.site-editor-preview-frame {
  min-height: 480px;
  height: 58vh;
  background: #f1f5f9;
  display: block;
}

@media (max-width: 991.98px) {
  .site-editor-split__aside {
    order: -1;
  }

  .site-editor-preview-frame {
    min-height: 280px;
    height: 42vh;
  }

  .site-editor-precheck-card {
    margin-bottom: 0.75rem;
  }

  .brief-doc-preview {
    max-height: min(320px, 40vh);
  }
}

@media (min-width: 992px) {
  .site-editor-split {
    align-items: stretch;
  }

  .site-editor-split__aside {
    display: flex;
    flex-direction: column;
  }

  .site-editor-split__form .panel-card {
    height: 100%;
  }

  .site-editor-preview-card {
    flex: 1 1 auto;
    display: flex;
    flex-direction: column;
    min-height: 0;
  }

  .site-editor-preview-frame {
    flex: 1 1 auto;
    min-height: 520px;
    height: auto;
  }

  .site-editor-precheck-card {
    flex: 0 0 auto;
  }
}

.brief-doc-preview {
  max-height: min(480px, 55vh);
  overflow: auto;
  white-space: pre-wrap;
  word-break: break-word;
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 8px;
  padding: .75rem 1rem;
}

.brief-doc-preview.md-content {
  white-space: normal;
}

.site-editor-theme-help__summary {
  cursor: pointer;
  color: #64748b;
  font-size: 0.8125rem;
}
.site-editor-theme-help__summary:hover {
  color: #334155;
}

/* Theme picker (searchable combobox) */
.theme-picker-field { min-width: min(100%, 22rem); width: 100%; }
.theme-picker { position: relative; min-width: 0; width: 100%; }
.theme-picker__input { padding-right: 2rem; width: 100%; }
.theme-picker__menu {
  position: absolute; z-index: 1080; left: 0; right: 0; top: calc(100% + 2px);
  max-height: 16rem; overflow: auto; background: #fff; border: 1px solid var(--line, #e2e8f0);
  border-radius: var(--radius-md, 12px); box-shadow: 0 8px 24px rgba(15, 23, 42, .12);
}
.theme-picker__heading, .theme-picker__empty {
  padding: .4rem .75rem; font-size: 12px; color: #64748b; background: #f8fafc;
}
.theme-picker__item {
  display: block; width: 100%; text-align: left; border: 0; background: transparent;
  padding: .55rem .75rem; cursor: pointer;
}
.theme-picker__item:hover, .theme-picker__item:focus { background: #f1f5f9; }
.theme-picker__name { display: block; font-weight: 600; font-size: 13px; color: #1e293b; }
.theme-picker__meta { display: block; font-size: 12px; color: #64748b; }
.theme-picker__kw { display: block; font-size: 11px; color: #94a3b8; margin-top: 2px; }

/* Chat theme picker (内容发布向导) */
.msg-wizard .msg-actions { display: none; }
.msg-wizard--collapsed .msg-choices,
.msg-wizard--collapsed .msg-choices-theme-picker,
.msg-wizard--collapsed .msg-theme-picker {
  display: none !important;
}
.msg-wizard--collapsed .msg-bubble {
  font-size: 0.84rem;
  color: #64748b;
}
.msg-wizard--collapsed .msg-bubble .md-h2,
.msg-wizard--collapsed .msg-bubble .md-h3 {
  font-size: 0.88rem;
  margin-bottom: 0.2rem;
  color: #475569;
}
.msg-wizard--collapsed .msg-bubble .md-p {
  margin-bottom: 0.2rem;
}
.content-wizard-progress {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.25rem 0.2rem;
  padding: 0.5rem 0.7rem 0.55rem;
  margin: -0.15rem -0.15rem 0.35rem;
  border-bottom: 1px solid #eef1f6;
  background: #fafbfc;
  border-radius: 10px 10px 0 0;
}
.content-wizard-progress__step {
  display: inline-flex;
  align-items: center;
  gap: 0.32rem;
  font-size: 0.8125rem;
  font-weight: 500;
  color: #94a3b8;
  white-space: nowrap;
  letter-spacing: 0.01em;
}
.content-wizard-progress__step em {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 1.3rem;
  height: 1.3rem;
  border-radius: 999px;
  background: #e2e8f0;
  color: #64748b;
  font-style: normal;
  font-size: 0.6875rem;
  font-weight: 600;
  line-height: 1;
}
.content-wizard-progress__step.is-current {
  color: #0f766e;
  font-weight: 600;
}
.content-wizard-progress__step.is-current em {
  background: #0d9488;
  color: #fff;
}
.content-wizard-progress__step.is-done {
  color: #64748b;
  font-weight: 500;
}
.site-wizard-progress--optimize .content-wizard-progress__step.is-optional span {
  font-weight: 500;
  opacity: 0.92;
}
.content-wizard-progress__step.is-done em {
  background: #e8f7f1;
  color: #1a7a5c;
  border: 1px solid #b8e6d4;
}
.content-wizard-progress__sep {
  width: 0.45rem;
  height: 1px;
  background: #dbe3ee;
  flex: 0 0 auto;
}
/* 建站 Hub：进度条 / 输入框 / 气泡统一字号阶梯 */
[data-growth-hub="site"] .site-wizard-progress,
[data-growth-hub="site"] .content-wizard-progress.site-wizard-progress {
  margin: 0;
  border-radius: 0;
  border-bottom-color: #eef1f6;
}
[data-growth-hub="site"] .composer-card--hub .composer-bar {
  padding: 0.55rem 0.65rem;
}
[data-growth-hub="site"] .composer-input,
[data-growth-hub="site"] .composer-bar--multiline .composer-textarea {
  font-size: 0.875rem;
  line-height: 1.5;
  color: #1e293b;
}
[data-growth-hub="site"] .composer-input::placeholder,
[data-growth-hub="site"] .composer-bar--multiline .composer-textarea::placeholder {
  color: #94a3b8;
  font-weight: 400;
}
[data-growth-hub="site"] .btn-send {
  font-size: 0.8125rem;
  font-weight: 600;
  letter-spacing: 0.02em;
}
[data-growth-hub="site"] .msg-bubble {
  font-size: 0.875rem;
  line-height: 1.55;
  color: #334155;
}
[data-growth-hub="site"] .msg-bubble .md-content {
  line-height: 1.55;
}
[data-growth-hub="site"] .msg-bubble .md-content .md-h2 {
  font-size: 0.9375rem;
  font-weight: 600;
  margin: 0 0 0.5rem;
  color: #1e293b;
  line-height: 1.45;
}
[data-growth-hub="site"] .msg-bubble .md-content .md-h3 {
  font-size: 0.875rem;
  font-weight: 600;
  margin: 0.7rem 0 0.35rem;
  color: #334155;
  line-height: 1.45;
}
[data-growth-hub="site"] .msg-bubble .md-content .md-p {
  font-size: 0.875rem;
  margin: 0 0 0.45rem;
  color: #475569;
  line-height: 1.55;
}
[data-growth-hub="site"] .msg-bubble .md-content .md-ul,
[data-growth-hub="site"] .msg-bubble .md-content .md-ol {
  font-size: 0.875rem;
  color: #475569;
  margin: 0 0 0.5rem 1rem;
}
[data-growth-hub="site"] .msg-bubble .md-content .md-ul li,
[data-growth-hub="site"] .msg-bubble .md-content .md-ol li {
  margin-bottom: 0.3rem;
  line-height: 1.55;
}
[data-growth-hub="site"] .msg-bubble .md-content strong {
  font-weight: 600;
  color: #1e293b;
}
[data-growth-hub="site"] .msg-choice {
  font-size: 0.8125rem;
  font-weight: 500;
}
[data-growth-hub="site"] .msg--template-pick .msg-choices-visual-wrap--templates {
  margin-top: .65rem;
}
[data-growth-hub="site"] .msg--template-pick .msg-choice-card--template .msg-choice-card-title {
  color: #0f172a;
}
[data-growth-hub="site"] .msg--template-pick .msg-choice-card--template .msg-choice-card-sub {
  color: #64748b;
  font-size: .75rem;
}
[data-growth-hub="site"] .composer-top-label {
  font-size: 0.75rem;
  font-weight: 600;
}
[data-growth-hub="site"] .format-chip {
  font-size: 0.75rem;
  font-weight: 500;
}
@media (max-width: 575.98px) {
  .content-wizard-progress__step span { display: none; }
  .content-wizard-progress__step.is-current span { display: inline; }
  [data-growth-hub="site"] .content-wizard-progress__step {
    font-size: 0.75rem;
  }
}
.msg-choices-theme-picker { flex-direction: column; align-items: stretch; width: 100%; max-width: 36rem; }
.msg-theme-picker {
  width: 100%; border: 1px solid var(--line, #e2e8f0); border-radius: 10px;
  background: #fafbfc; padding: .55rem .65rem;
}
.msg-theme-picker__meta { font-size: 12px; color: #64748b; margin-bottom: .45rem; }
.msg-theme-picker__search { margin-bottom: .45rem; }
.msg-theme-picker__list {
  max-height: 14rem; overflow: auto; border: 1px solid #e2e8f0; border-radius: 8px; background: #fff;
}
.msg-theme-picker__heading, .msg-theme-picker__empty, .msg-theme-picker__loading {
  padding: .4rem .55rem; font-size: 12px; color: #94a3b8;
}
.msg-theme-picker__item {
  display: block; width: 100%; text-align: left; border: 0; border-bottom: 1px solid #f1f5f9;
  background: transparent; padding: .5rem .6rem; cursor: pointer;
  transition: background .12s ease;
}
.msg-theme-picker__item:last-child { border-bottom: 0; }
.msg-theme-picker__item:hover, .msg-theme-picker__item:focus { background: #f0fdfa; }
.msg-theme-picker__name { display: block; font-weight: 600; font-size: 13px; color: #1e293b; }
.msg-theme-picker__industry { display: block; font-size: 12px; color: #64748b; }
.msg-theme-picker__kw { display: block; font-size: 11px; color: #94a3b8; margin-top: 2px; }
.msg-theme-picker__more { text-align: center; margin-top: .3rem; }
.msg-theme-picker__more-btn { font-size: 12px; text-decoration: none; color: #0f766e; }
.msg-theme-picker__footer {
  margin-top: .45rem;
  padding-top: .45rem;
  border-top: 1px dashed #e2e8f0;
  text-align: center;
}
.msg-theme-picker__skip {
  border: 0;
  background: transparent;
  color: #64748b;
  font-size: 12px;
  cursor: pointer;
  padding: .15rem .35rem;
  text-decoration: underline;
  text-underline-offset: 2px;
}
.msg-theme-picker__skip:hover { color: #0f766e; }
.msg-wizard .msg-bubble { padding: .65rem .8rem; }
.msg-wizard .msg-bubble .md-h2, .msg-wizard .msg-bubble .md-h3 { font-size: 0.95rem; margin-bottom: 0.35rem; }
.msg-wizard .msg-bubble .md-p { font-size: 0.84rem; margin-bottom: 0.35rem; }

/* Keyword tags input */
.keyword-tags { border: 1px solid var(--line, #e2e8f0); border-radius: 8px; padding: .35rem .5rem; background: #fff; }
.keyword-tags__chips { display: flex; flex-wrap: wrap; gap: .35rem; margin-bottom: .35rem; }
.keyword-tags__chip {
  display: inline-flex; align-items: center; gap: .25rem; padding: .15rem .45rem;
  background: #eff6ff; color: #1d4ed8; border-radius: 999px; font-size: 12px;
}
.keyword-tags__remove {
  border: 0; background: transparent; color: #64748b; line-height: 1; padding: 0 .1rem; cursor: pointer;
}
.keyword-tags__editor { border: 0; box-shadow: none !important; padding: .2rem .15rem; }

.keyword-pack-picker__list {
  max-height: 14rem; overflow: auto; border: 1px solid var(--line, #e2e8f0); border-radius: 8px; padding: .35rem;
}
.keyword-pack-picker__item {
  display: flex; align-items: center; gap: .5rem; padding: .25rem .35rem; font-size: 13px;
}
.keyword-pack-section summary { cursor: pointer; margin-bottom: .75rem; }
.industry-pack-list { max-height: 18rem; overflow: auto; }

/* 计费目录表：排序 / 启用与前一列拉开间距 */
.admin-body .billing-catalog-col {
  white-space: nowrap;
  vertical-align: middle;
}
.admin-body .billing-catalog-col--sort {
  padding-left: 1.75rem !important;
  padding-right: 1.25rem !important;
  text-align: center;
  min-width: 4.5rem;
}
.admin-body .billing-catalog-col--flag {
  padding-left: 1.5rem !important;
  padding-right: 1rem !important;
  text-align: center;
  min-width: 4rem;
}

/* —— 品牌 AI 可见度探测 · 明细 —— */
.probe-detail {
  max-width: 920px;
  margin: 0 auto;
  padding-bottom: 2rem;
}
.probe-detail__head {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 1rem 1.25rem;
  margin-bottom: 1rem;
  align-items: flex-start;
}
.probe-detail__eyebrow {
  margin: 0 0 .25rem;
  font-size: 12px;
  color: var(--muted);
  letter-spacing: .02em;
}
.probe-detail__meta {
  display: flex;
  flex-wrap: wrap;
  gap: .4rem;
  align-items: center;
  margin-top: .55rem;
}
.probe-detail__actions {
  display: flex;
  flex-wrap: wrap;
  gap: .4rem;
  align-items: center;
  justify-content: flex-end;
}
.probe-pill {
  display: inline-flex;
  align-items: center;
  padding: .22rem .6rem;
  border-radius: 999px;
  font-size: 12px;
  line-height: 1.3;
  background: #f1f5f9;
  color: #334155;
  border: 1px solid #e2e8f0;
}
.probe-pill--accent {
  background: var(--accent-soft);
  color: var(--accent-hover);
  border-color: #b7e4de;
  font-weight: 600;
}
.probe-pill--muted {
  background: transparent;
  border-color: transparent;
  color: var(--muted);
  padding-left: 0;
}

.probe-brief {
  margin-bottom: 1rem;
  display: flex;
  flex-direction: column;
  gap: .75rem;
}
.probe-brief__row {
  display: grid;
  grid-template-columns: 4.5rem 1fr;
  gap: .5rem .85rem;
  align-items: start;
}
.probe-brief__row--meta {
  padding-top: .65rem;
  border-top: 1px dashed #e2e8f0;
}
.probe-brief__label {
  font-size: 12px;
  font-weight: 600;
  color: var(--muted);
  padding-top: .15rem;
  letter-spacing: .04em;
}
.probe-brief__prompt {
  margin: 0;
  font-size: 1.05rem;
  font-weight: 650;
  color: var(--ink);
  line-height: 1.45;
}
.probe-brief__keywords {
  margin: 0;
  font-size: 13.5px;
  color: #475569;
}
.probe-brief__error {
  margin-top: .15rem;
  padding: .55rem .7rem;
  border-radius: 8px;
  background: #fef2f2;
  color: #b91c1c;
  font-size: 13px;
  border: 1px solid #fecaca;
}

.probe-results {
  display: flex;
  flex-direction: column;
  gap: .85rem;
}
.probe-empty {
  text-align: center;
  color: var(--muted);
  padding: 1.5rem 1rem;
}

.probe-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 1rem 1.1rem 1.05rem;
  border-left: 3px solid #cbd5e1;
}
.probe-card--hit {
  border-left-color: var(--accent);
}
.probe-card--wrong {
  border-left-color: #f59e0b;
  background: #fffbeb;
}
.probe-card--amb {
  border-left-color: #94a3b8;
  background: #f8fafc;
}
.probe-card--miss {
  border-left-color: #cbd5e1;
  background: #fcfcfd;
}
.probe-identity {
  display: inline-flex;
  align-items: center;
  padding: .18rem .55rem;
  border-radius: 6px;
  font-size: 12px;
  font-weight: 600;
}
.probe-identity--on {
  background: #ecfdf5;
  color: #047857;
  border: 1px solid #a7f3d0;
}
.probe-identity--wrong {
  background: #fff7ed;
  color: #c2410c;
  border: 1px solid #fed7aa;
}
.probe-identity--amb {
  background: #f1f5f9;
  color: #475569;
  border: 1px solid #e2e8f0;
}
.probe-identity--none {
  background: #fff;
  color: #94a3b8;
  border: 1px solid #e2e8f0;
}
.probe-verdict-hint {
  display: none;
}
.probe-legend {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: .35rem .45rem;
  margin-top: .75rem;
  padding-top: .75rem;
  border-top: 1px dashed #e2e8f0;
  font-size: 12.5px;
  color: #475569;
}
.probe-legend__title {
  font-weight: 650;
  color: #334155;
  margin-right: .25rem;
}
.probe-card__head {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: .55rem .85rem;
  align-items: center;
  margin-bottom: .75rem;
}
.probe-card__engine {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: .45rem .55rem;
}
.probe-card__engine-name {
  font-size: 1rem;
  font-weight: 700;
  color: var(--ink);
}
.probe-mention {
  display: inline-flex;
  align-items: center;
  padding: .18rem .55rem;
  border-radius: 6px;
  font-size: 12px;
  font-weight: 600;
}
.probe-mention--yes {
  background: #ecfdf5;
  color: #047857;
  border: 1px solid #a7f3d0;
}
.probe-mention--no {
  background: #f8fafc;
  color: #64748b;
  border: 1px solid #e2e8f0;
}
.probe-sentiment {
  display: inline-flex;
  align-items: center;
  padding: .18rem .55rem;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 600;
  border: 1px solid transparent;
}
.probe-sentiment--pos {
  background: #ecfdf5;
  color: #047857;
  border-color: #a7f3d0;
}
.probe-sentiment--neu {
  background: #f1f5f9;
  color: #475569;
  border-color: #e2e8f0;
}
.probe-sentiment--neg {
  background: #fef2f2;
  color: #b91c1c;
  border-color: #fecaca;
}
.probe-sentiment--unk {
  background: #fff;
  color: var(--muted);
  border-color: #e2e8f0;
}

.probe-card__facts {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: .55rem .85rem;
  margin-bottom: .85rem;
  padding: .65rem .75rem;
  border-radius: 8px;
  background: #f8fafc;
  border: 1px solid #eef2f7;
}
.probe-fact__label {
  display: block;
  font-size: 11px;
  font-weight: 600;
  color: var(--muted);
  margin-bottom: .2rem;
  letter-spacing: .03em;
}
.probe-fact__value {
  font-size: 13px;
  color: #334155;
  word-break: break-word;
}
.probe-fact__link {
  font-size: 13px;
  color: var(--accent);
  word-break: break-all;
  text-decoration: none;
}
.probe-fact__link:hover { text-decoration: underline; color: var(--accent-hover); }
.probe-fact__empty {
  font-size: 13px;
  color: #94a3b8;
}

.probe-answer__label {
  font-size: 12px;
  font-weight: 600;
  color: var(--muted);
  margin-bottom: .4rem;
  letter-spacing: .03em;
}
.probe-answer__body {
  font-size: 13.5px;
  line-height: 1.65;
  color: #1e293b;
  white-space: pre-wrap;
  word-break: break-word;
  max-height: 22rem;
  overflow: auto;
  padding: .15rem 0;
}
.probe-answer__body strong {
  color: #0f766e;
  font-weight: 700;
}
.probe-answer__empty {
  color: #94a3b8;
}

@media (max-width: 640px) {
  .probe-brief__row {
    grid-template-columns: 1fr;
    gap: .2rem;
  }
  .probe-card__facts {
    grid-template-columns: 1fr;
  }
  .probe-detail__actions {
    width: 100%;
    justify-content: flex-start;
  }
  .probe-answer__body {
    max-height: 16rem;
  }
}

/* ===== 品牌可见度探测 · 列表页（轻量表格） ===== */
.probe-index-table {
  font-size: .875rem;
}
.probe-index-table thead th {
  font-size: .75rem;
  font-weight: 600;
  color: var(--muted);
  border-bottom-color: var(--line);
  white-space: nowrap;
}
.probe-index-table__task {
  min-width: 12rem;
  max-width: 28rem;
}
.probe-index-table__engines {
  max-width: 14rem;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
@media (max-width: 991.98px) {
  .probe-index-table__task {
    max-width: none;
  }
}

/* —— 手机列表：可见度检测 / 主题 / 竞品网站 —— */
@media (max-width: 767.98px) {
  .probe-index-page .probe-index-table { min-width: 0; }
  .probe-index-page .probe-index-table tbody tr:not(.table-empty-row) {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr);
    grid-template-areas:
      "check task"
      "meta meta"
      "actions actions";
    column-gap: 0.5rem;
    row-gap: 0.2rem;
    margin-bottom: 0.55rem;
    padding: 0.62rem 0.68rem 0.52rem;
    border: 1px solid #e2e8f0;
    border-radius: 0.65rem;
    background: #fff;
    box-shadow: 0 2px 12px rgba(15, 23, 42, 0.04);
  }
  .probe-index-page .probe-index-table tbody tr:not(.table-empty-row) td {
    display: block;
    padding: 0;
    border: none;
    grid-template-columns: unset;
    text-align: left;
  }
  .probe-index-page .probe-index-table tbody tr:not(.table-empty-row) td::before {
    display: block;
    font-size: 0.68rem;
    font-weight: 600;
    color: #94a3b8;
    margin-bottom: 0.1rem;
    content: attr(data-label);
  }
  .probe-index-page .probe-index-table .batch-check-col {
    grid-area: check;
    align-self: start;
    margin: 0;
    padding: 0.15rem 0 0;
    border: none;
  }
  .probe-index-page .probe-index-table .batch-check-col::before { display: none !important; }
  .probe-index-page .probe-index-table__task {
    grid-area: task;
    min-width: 0;
  }
  .probe-index-page .probe-index-table__task::before { display: none !important; }
  .probe-index-page .probe-index-table__task .fw-semibold {
    font-size: 0.88rem;
    line-height: 1.42;
    color: #0f172a;
  }
  .probe-index-page .probe-index-table__prompt {
    margin-top: 0.18rem;
    font-size: 0.75rem;
    line-height: 1.42;
    color: #64748b;
    display: -webkit-box;
    -webkit-line-clamp: 1;
    -webkit-box-orient: vertical;
    overflow: hidden;
  }
  .probe-index-page .probe-index-table__engines { grid-area: engines; }
  .probe-index-page .probe-index-table__mentions { grid-area: mentions; text-align: right; }
  .probe-index-page .probe-index-table__status { grid-area: status; }
  .probe-index-page .probe-index-table__time {
    grid-area: time;
    text-align: right;
  }
  .probe-index-page .probe-index-table__meta-line {
    display: none;
  }
  .probe-index-page .probe-index-table__actions {
    grid-area: actions;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.5rem;
    padding-top: 0.45rem;
    margin-top: 0.2rem;
    border-top: 1px solid #e2e8f0;
  }
  .probe-index-page .probe-index-table__actions::before { margin-bottom: 0; }

  .theme-list-page .theme-table-wrap {
    overflow: visible;
    margin: 0;
  }
  .theme-list-page .theme-table {
    display: block;
    width: 100%;
    min-width: 0 !important;
    table-layout: auto;
  }
  .theme-list-page .theme-table colgroup {
    display: none;
  }
  .theme-list-page .theme-table thead {
    display: none;
  }
  .theme-list-page .theme-table tbody {
    display: block;
  }
  .theme-list-page .theme-table tbody tr.theme-table__row {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr);
    grid-template-areas:
      "check name"
      "keywords keywords"
      "intent intent"
      "actions actions";
    column-gap: 0.55rem;
    row-gap: 0;
    margin-bottom: 0.62rem;
    padding: 0.82rem 0.85rem 0.75rem;
    border: 1px solid #e8edf2;
    border-radius: 0.75rem;
    background: linear-gradient(180deg, #fff 0%, #fcfdfe 100%);
    box-shadow: 0 1px 3px rgba(15, 23, 42, 0.04), 0 4px 16px rgba(15, 23, 42, 0.03);
  }
  .theme-list-page .theme-table tbody tr.theme-table__row > td {
    display: block;
    padding: 0;
    border: none;
    grid-template-columns: unset;
    text-align: left;
    min-width: 0;
    width: auto;
    max-width: none;
  }
  .theme-list-page .theme-table tbody tr.theme-table__row > td::before {
    display: none;
  }
  .theme-list-page .theme-table__check {
    grid-area: check;
    align-self: center;
    margin: 0;
    padding: 0;
    border: none;
  }
  .theme-list-page .theme-table__check .form-check-input {
    width: 1.05rem;
    height: 1.05rem;
    margin-top: 0;
  }
  .theme-list-page .theme-table__name {
    grid-area: name;
    font-size: 0.9rem;
    font-weight: 650;
    line-height: 1.4;
    color: #0f172a;
    min-width: 0;
    padding-bottom: 0.55rem;
    margin-bottom: 0.55rem;
    border-bottom: 1px solid #f1f5f9;
  }
  .theme-list-page .theme-table__meta-line {
    display: flex;
    margin-top: 0.32rem;
  }
  .theme-list-page .theme-table__meta-line .hub-meta-chip {
    font-size: 0.68rem;
    padding: 0.1rem 0.45rem;
  }
  .theme-list-page .theme-table__industry,
  .theme-list-page .theme-table__date {
    display: none !important;
  }
  .theme-list-page .theme-table__section-label {
    display: block;
  }
  .theme-list-page .theme-table__keywords {
    grid-area: keywords;
    padding-bottom: 0.5rem;
  }
  .theme-list-page .theme-table__keywords .theme-table__section-body {
    padding: 0.45rem 0.55rem;
    border-radius: 0.5rem;
    background: #f8fafc;
    border: 1px solid #eef2f6;
    font-size: 0.75rem;
    line-height: 1.52;
    color: #64748b;
  }
  .theme-list-page .theme-table__intent {
    grid-area: intent;
    padding-bottom: 0.15rem;
  }
  .theme-list-page .theme-table__intent .theme-table__section-body {
    padding: 0.45rem 0.55rem;
    border-radius: 0.5rem;
    background: #f0fdfa;
    border: 1px solid #ccfbf1;
    font-size: 0.75rem;
    line-height: 1.52;
    color: #334155;
  }
  .theme-list-page .theme-table__intent .theme-table__section-body .text-muted {
    color: #94a3b8 !important;
  }
  .theme-list-page .theme-table__actions {
    grid-area: actions;
    display: block;
    padding-top: 0.55rem !important;
    margin-top: 0.5rem;
    border-top: 1px solid #f1f5f9;
  }
  .theme-list-page .theme-table__actions .table-actions {
    display: flex;
    gap: 0.45rem;
  }
  .theme-list-page .theme-table__actions .table-actions > button,
  .theme-list-page .theme-table__actions .table-actions > form {
    flex: 1 1 calc(50% - 0.25rem);
    margin: 0;
    display: flex;
  }
  .theme-list-page .theme-table__actions .hub-card-action,
  .theme-list-page .theme-table__actions .btn-delete-link {
    flex: 1 1 auto;
    width: 100%;
    min-height: 2.15rem;
    padding: 0.36rem 0.55rem;
    font-size: 0.78rem;
    font-weight: 600;
    border-radius: 0.5rem;
    border: 1px solid #e2e8f0;
    background: #fff;
    opacity: 1;
  }
  .theme-list-page .theme-table__actions .hub-card-action--primary {
    color: #0d9488 !important;
    background: #f0fdfa !important;
    border-color: #99f6e4 !important;
  }
  .theme-list-page .theme-table__actions .hub-card-action--danger,
  .theme-list-page .theme-table__actions .btn-delete-link {
    color: #dc2626 !important;
    background: #fff !important;
    border-color: #fecaca !important;
  }
  .theme-list-page .theme-table .theme-cell-clamp--3 {
    -webkit-line-clamp: 3;
  }

  .sites-page.mobile-list-page .sites-page__head {
    margin-bottom: 0.65rem !important;
  }
  .sites-page.mobile-list-page .sites-page__head .page-sub {
    font-size: 0.72rem;
    line-height: 1.45;
  }
  .sites-page.mobile-list-page .sites-page__head .page-head-actions {
    width: 100%;
    gap: 0.45rem;
  }
  .sites-page.mobile-list-page .sites-page__head .page-head-actions .btn {
    flex: 1 1 calc(50% - 0.25rem);
    min-height: 2.15rem;
    justify-content: center;
    font-size: 0.78rem;
    padding-top: 0.38rem;
    padding-bottom: 0.38rem;
  }
  .sites-page.mobile-list-page .sites-page__head .page-head-actions .btn-accent {
    flex: 1 1 calc(50% - 0.25rem);
    min-height: 2.15rem;
  }
  .competitor-sample-page.sites-page.mobile-list-page .sites-page__head .page-head-actions .btn,
  .competitor-sample-page.sites-page.mobile-list-page .sites-page__head .page-head-actions .btn-accent {
    flex: 0 0 auto !important;
    width: auto !important;
    min-height: 2rem;
  }
  .sites-page.mobile-list-page .sites-panel {
    padding: 0.7rem 0.65rem;
  }
  .sites-page.mobile-list-page .sites-view-tabs:not(.list-view-tabs--segmented) .btn {
    font-size: 0.72rem;
    font-weight: 600;
    padding: 0.32rem 0.62rem;
    border-radius: 999px;
    min-height: 2rem;
  }
  .competitor-sample-page.mobile-list-page .list-view-tabs--segmented .btn {
    font-size: 0.72rem;
    padding: 0.32rem 0.55rem;
    min-height: 2rem;
    border-radius: 7px !important;
  }
  .sites-page.mobile-list-page .sites-toolbar {
    margin-bottom: 0.55rem !important;
    padding-bottom: 0.55rem;
  }
  .sites-page.mobile-list-page .sites-toolbar .list-toolbar-main {
    flex-wrap: wrap;
    align-items: stretch;
    gap: 0.45rem;
  }
  .sites-page.mobile-list-page .sites-toolbar__search,
  .sites-page.mobile-list-page .sites-toolbar input[type="search"] {
    flex: 1 1 100% !important;
    width: 100% !important;
    max-width: none;
    min-width: 0;
    font-size: 0.875rem;
    font-weight: 400;
    line-height: 1.3;
    min-height: 2rem;
    padding: 0.35rem 0.5rem;
  }
  .sites-page.mobile-list-page .sites-toolbar__search::placeholder {
    color: #94a3b8;
    font-weight: 400;
  }
  .sites-page.mobile-list-page .sites-toolbar__theme,
  .sites-page.mobile-list-page .sites-toolbar .form-select {
    flex: 1 1 auto;
    min-width: 0;
    max-width: none;
    font-size: 0.8125rem;
    min-height: 2rem;
    padding-top: 0.34rem;
    padding-bottom: 0.34rem;
    line-height: 1.35;
  }
  .sites-page.mobile-list-page .sites-toolbar .list-toolbar-main .btn {
    flex: 0 0 auto;
    min-height: 2.125rem;
    padding: 0.38rem 0.75rem;
    font-size: 0.8125rem;
    line-height: 1.35;
  }
  .sites-page.mobile-list-page .sites-toolbar .list-toolbar-main .btn-link {
    font-size: 0.8125rem;
    min-height: 2.125rem;
    display: inline-flex;
    align-items: center;
  }
  .competitor-sample-page.mobile-list-page .sites-toolbar .list-toolbar-main--sample,
  .competitor-sample-page.mobile-list-page .competitor-sample-toolbar .list-toolbar-main--sample {
    display: grid !important;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.45rem;
    flex-wrap: wrap !important;
    overflow-x: visible !important;
  }
  .competitor-sample-page.mobile-list-page .sites-toolbar .list-toolbar-main--sample .competitor-sample-search,
  .competitor-sample-page.mobile-list-page .sites-toolbar input[type="search"].competitor-sample-search,
  .competitor-sample-page.mobile-list-page .competitor-sample-toolbar .competitor-sample-search,
  .competitor-sample-page.mobile-list-page .sites-toolbar .list-search,
  .competitor-sample-page.mobile-list-page .sites-toolbar .video-list-toolbar__search {
    grid-column: 1 / -1;
    flex: none !important;
    width: 100% !important;
    max-width: none !important;
    min-width: 0 !important;
    box-sizing: border-box;
  }
  .competitor-sample-page.mobile-list-page .sites-toolbar .list-toolbar-main--sample .competitor-sample-theme,
  .competitor-sample-page.mobile-list-page .sites-toolbar .form-select.competitor-sample-theme,
  .competitor-sample-page.mobile-list-page .sites-toolbar .video-list-toolbar__filter {
    width: 100% !important;
    max-width: none !important;
    min-width: 0 !important;
    flex: none !important;
  }
  .sites-page.mobile-list-page .table-mobile-wrap {
    overflow: visible;
    margin: 0;
  }
  .sites-page.mobile-list-page .sites-table {
    display: block;
    width: 100%;
    min-width: 0 !important;
  }
  .sites-page.mobile-list-page .sites-table thead {
    display: none;
  }
  .sites-page.mobile-list-page .sites-table tbody {
    display: block;
  }
  .sites-page.mobile-list-page .sites-table tbody tr.table-empty-row {
    display: block;
    margin: 0;
    padding: 1.75rem 1rem;
    border: 1px dashed #e2e8f0;
    border-radius: 0.65rem;
    background: #f8fafc;
    box-shadow: none;
  }
  .sites-page.mobile-list-page .sites-table tbody tr.table-empty-row td {
    display: block;
    padding: 0;
    border: none;
    font-size: 0.8rem;
    line-height: 1.55;
    color: #64748b;
  }
  .sites-page.mobile-list-page .sites-table tbody tr.sites-table__row {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr);
    grid-template-areas:
      "check title"
      "brand theme"
      "cite mention"
      "benchmark scout"
      "actions actions";
    column-gap: 0.55rem;
    row-gap: 0.28rem;
    margin-bottom: 0.65rem;
    padding: 0.75rem 0.8rem 0.65rem;
    border: 1px solid #e2e8f0;
    border-radius: 0.65rem;
    background: #fff;
    box-shadow: 0 2px 12px rgba(15, 23, 42, 0.04);
  }
  .sites-page.mobile-list-page .sites-table tbody tr.sites-table__row > td {
    display: block;
    padding: 0;
    border: none;
    grid-template-columns: unset;
    text-align: left;
    min-width: 0;
    width: auto;
    max-width: none;
  }
  .sites-page.mobile-list-page .sites-table tbody tr.sites-table__row > td::before {
    display: block;
    font-size: 0.68rem;
    font-weight: 600;
    color: #94a3b8;
    margin-bottom: 0.1rem;
    content: attr(data-label);
  }
  .sites-page.mobile-list-page .sites-table .batch-check-col {
    grid-area: check;
    align-self: start;
    margin: 0;
    padding: 0.15rem 0 0;
    border: none;
  }
  .sites-page.mobile-list-page .sites-table .batch-check-col::before { display: none !important; }
  .sites-page.mobile-list-page .sites-table__title {
    grid-area: title;
    min-width: 0;
  }
  .sites-page.mobile-list-page .sites-table__title::before { display: none !important; }
  .sites-page.mobile-list-page .sites-host {
    max-width: none;
  }
  .sites-page.mobile-list-page .sites-table__theme { grid-area: theme; }
  .sites-page.mobile-list-page .sites-table tbody tr:not(.table-empty-row) td[data-label="品牌"] {
    grid-area: brand;
  }
  .sites-page.mobile-list-page .sites-table__cite {
    grid-area: cite;
    text-align: left !important;
  }
  .sites-page.mobile-list-page .sites-table__mention {
    grid-area: mention;
    text-align: right !important;
  }
  .sites-page.mobile-list-page .sites-table__benchmark { grid-area: benchmark; }
  .sites-page.mobile-list-page .sites-table__scout {
    grid-area: scout;
    text-align: right;
  }
  .sites-page.mobile-list-page .sites-table__actions {
    grid-area: actions;
    padding-top: 0.45rem;
    margin-top: 0.2rem;
    border-top: 1px solid #e2e8f0;
  }
  .sites-page.mobile-list-page .sites-table__actions::before {
    display: block;
    margin-bottom: 0.35rem;
  }
  .sites-page.mobile-list-page .sites-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.4rem;
    width: 100%;
  }
  .sites-page.mobile-list-page .sites-actions .btn-link-action,
  .sites-page.mobile-list-page .sites-actions .hub-card-action,
  .sites-page.mobile-list-page .sites-actions .btn-delete-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 2rem;
    padding: 0.35rem 0.65rem;
    border: 1px solid #e2e8f0;
    border-radius: 0.45rem;
    background: #f8fafc;
    font-size: 0.75rem;
    font-weight: 600;
    color: #475569;
    text-decoration: none;
    opacity: 1;
  }
  .sites-page.mobile-list-page .sites-actions .btn-link-action:hover {
    text-decoration: none;
    background: #f1f5f9;
  }
  .sites-page.mobile-list-page .sites-actions .btn-delete-link {
    color: #b91c1c;
    background: #fef2f2;
    border-color: #fecaca;
  }
}

.probe-index-table__engines {
  max-width: 14rem;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}



/* Competitor site remark: grow with content */
.sites-remark-field {
  min-height: 4.5rem;
  max-height: 20rem;
  resize: vertical;
  overflow-y: auto;
  white-space: pre-wrap;
  line-height: 1.45;
  field-sizing: content;
}


/* Platform super-admin: customer switcher in ops topbar */
.ops-customer-switch--topbar {
  display: inline-flex;
  align-items: center;
  gap: .35rem;
  margin-right: .35rem;
  padding: .15rem .4rem;
  border: 1px solid rgba(15, 23, 42, .12);
  border-radius: .4rem;
  background: rgba(255, 255, 255, .72);
}
.ops-customer-switch__label {
  margin: 0;
  font-size: .72rem;
  color: #64748b;
  white-space: nowrap;
}
.ops-customer-switch__select {
  max-width: 10.5rem;
  border: 0;
  background: transparent;
  font-size: .82rem;
  font-weight: 600;
  color: #0f172a;
  padding: .1rem .15rem;
}
.ops-customer-switch__select:focus {
  outline: none;
}
.ops-customer-pick {
  position: relative;
}
.ops-customer-pick__toggle {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: .05rem;
  max-width: 14.5rem;
  margin: 0;
  padding: .1rem .2rem;
  border: 0;
  background: transparent;
  text-align: left;
  cursor: pointer;
  color: inherit;
}
.ops-customer-pick__name {
  font-size: .82rem;
  font-weight: 600;
  color: #0f172a;
  line-height: 1.2;
  max-width: 14rem;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.ops-customer-pick__name.is-placeholder {
  font-weight: 500;
  color: #64748b;
}
.ops-customer-pick__brand {
  font-size: .68rem;
  color: #64748b;
  line-height: 1.2;
  max-width: 14rem;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.ops-customer-pick__brand.is-empty {
  color: #b45309;
}
.ops-customer-pick__panel {
  position: absolute;
  top: calc(100% + .35rem);
  left: 0;
  z-index: 1080;
  min-width: 18rem;
  max-width: min(26rem, 92vw);
  max-height: 22rem;
  overflow: auto;
  padding: .45rem;
  background: #fff;
  border: 1px solid rgba(15, 23, 42, .12);
  border-radius: .5rem;
  box-shadow: 0 10px 28px rgba(15, 23, 42, .12);
}
/* 顶栏被 overflow 裁切时，JS 改为 fixed 挂到视口 */
.ops-customer-pick__panel.is-fixed-open {
  position: fixed;
  right: auto;
  z-index: 2000;
  max-width: none;
}
.ops-customer-pick__list {
  display: flex;
  flex-direction: column;
  gap: .1rem;
}
.ops-customer-pick__q {
  display: block;
  width: 100%;
  margin-bottom: .4rem;
  padding: .35rem .5rem;
  border: 1px solid rgba(15, 23, 42, .14);
  border-radius: .35rem;
  font-size: .8rem;
}
.ops-customer-pick__item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: .1rem;
  width: 100%;
  margin: 0;
  padding: .4rem .5rem;
  border: 0;
  border-radius: .35rem;
  background: transparent;
  text-align: left;
  cursor: pointer;
}
.ops-customer-pick__item:hover,
.ops-customer-pick__item.is-on {
  background: rgba(15, 118, 110, .08);
}
.ops-customer-pick__item[hidden] {
  display: none !important;
}
.ops-customer-pick__item-name {
  font-size: .84rem;
  font-weight: 600;
  color: #0f172a;
  max-width: 100%;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.ops-customer-pick__item-brand {
  font-size: .72rem;
  color: #64748b;
  max-width: 100%;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.ops-customer-pick__item-brand.is-empty {
  color: #b45309;
}
.ops-customer-pick__hint {
  margin: 0 0 .4rem;
  padding: 0 .15rem;
  font-size: .72rem;
  line-height: 1.35;
  color: #64748b;
}
.ops-customer-pick__section-label {
  margin: .15rem 0 .2rem;
  padding: 0 .15rem;
  font-size: .72rem;
  font-weight: 600;
  color: #94a3b8;
}
.ops-customer-pick__empty,
.ops-customer-pick__empty-filter {
  margin: .35rem .25rem 0;
  font-size: .78rem;
  color: #64748b;
}
.ops-customer-pick__empty-filter[hidden] {
  display: none !important;
}
.ops-customer-pick__exit {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: .1rem;
  width: 100%;
  margin: .4rem 0 0;
  padding: .45rem .5rem;
  border: 0;
  border-top: 1px solid #e2e8f0;
  border-radius: 0;
  background: transparent;
  text-align: left;
  cursor: pointer;
}
.ops-customer-pick__exit:hover {
  background: rgba(15, 23, 42, .04);
}
.ops-customer-pick__exit-title {
  font-size: .8rem;
  font-weight: 600;
  color: #475569;
}
.ops-customer-pick__exit-sub {
  font-size: .7rem;
  color: #94a3b8;
}
.admin-hub-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: .1rem;
  margin: 0 0 1rem;
  padding: 0;
  border-bottom: 1px solid #e2e8f0;
}
.admin-hub-tabs__link {
  display: inline-flex;
  align-items: center;
  padding: .55rem .85rem;
  margin-bottom: -1px;
  font-size: .84rem;
  font-weight: 600;
  color: #64748b;
  text-decoration: none;
  border-bottom: 2px solid transparent;
}
.admin-hub-tabs__link:hover {
  color: #0f172a;
}
.admin-hub-tabs__link.is-active {
  color: #0f766e;
  border-bottom-color: #0f766e;
}

/* ===== 管理台 · 长尾列表手机端 ===== */
@media (max-width: 767.98px) {
  .admin-list-page .page-head,
  .admin-list-page .page-head.mb-3,
  .mobile-list-page .page-head,
  .mobile-list-page .page-head.mb-3 {
    flex-direction: column;
    align-items: stretch;
    gap: 0.55rem;
  }
  .admin-list-page .page-head > .btn,
  .admin-list-page .page-head-actions,
  .mobile-list-page .page-head > .btn,
  .mobile-list-page .page-head-actions {
    width: 100%;
    display: flex;
    flex-wrap: wrap;
    gap: 0.45rem;
  }
  .admin-list-page .page-head > .btn,
  .admin-list-page .page-head-actions .btn,
  .mobile-list-page .page-head > .btn,
  .mobile-list-page .page-head-actions .btn {
    flex: 1 1 calc(50% - 0.25rem);
    min-height: 2.15rem;
    justify-content: center;
  }
  .admin-list-page .page-head-actions .btn-accent,
  .admin-list-page .page-head > .btn.btn-accent,
  .admin-list-page .page-head > .btn.btn-primary,
  .mobile-list-page .page-head-actions .btn-accent,
  .mobile-list-page .page-head > .btn.btn-accent,
  .mobile-list-page .page-head > .btn.btn-primary {
    flex: 1 1 100%;
  }
  .admin-list-page .admin-hub-tabs {
    flex-wrap: nowrap;
    overflow-x: auto;
    margin-bottom: 0.75rem;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
  }
  .admin-list-page .admin-hub-tabs::-webkit-scrollbar {
    display: none;
  }
  .admin-list-page .admin-hub-tabs__link {
    flex-shrink: 0;
    white-space: nowrap;
    font-size: 0.78rem;
    padding: 0.48rem 0.72rem;
  }
  .admin-list-page .list-toolbar--compact .list-toolbar-main,
  .admin-list-page .admin-filter-row,
  .mobile-list-page:not(.diagnosis-list-page):not(.hub-card-list-page) .list-toolbar--compact .list-toolbar-main,
  .mobile-list-page:not(.diagnosis-list-page):not(.hub-card-list-page) .admin-filter-row {
    flex-wrap: wrap;
    gap: 0.45rem;
  }
  .admin-list-page .list-toolbar .form-control:not(.form-select),
  .admin-list-page .list-toolbar input[type="search"],
  .admin-list-page .admin-filter-row .form-control:not(.form-select),
  .admin-list-page .admin-filter-row input[type="search"],
  .mobile-list-page:not(.diagnosis-list-page):not(.hub-card-list-page) .list-toolbar .form-control:not(.form-select),
  .mobile-list-page:not(.diagnosis-list-page):not(.hub-card-list-page) .list-toolbar input[type="search"] {
    flex: 1 1 100%;
    max-width: none;
    min-width: 0;
    font-size: 0.875rem;
    line-height: 1.3;
    min-height: 2rem;
    padding-top: 0.35rem;
    padding-bottom: 0.35rem;
  }
  .admin-list-page .list-toolbar .form-select,
  .admin-list-page .admin-filter-row .form-select,
  .mobile-list-page:not(.diagnosis-list-page):not(.hub-card-list-page) .list-toolbar .form-select {
    flex: 1 1 100%;
    max-width: none;
    min-width: 0;
    font-size: 0.8125rem;
    line-height: 1.35;
    min-height: 2.125rem;
    padding-top: 0.4rem;
    padding-bottom: 0.4rem;
  }
  .admin-list-page .list-toolbar-meta {
    width: 100%;
    margin-left: 0 !important;
  }
  .admin-list-page .panel-card {
    padding: 0.65rem 0.6rem;
  }
  .admin-list-page .row.g-3 > [class*="col-"],
  .admin-list-page .row.g-2 > [class*="col-"],
  .mobile-list-page .row.g-3 > [class*="col-"],
  .mobile-list-page .row.g-2 > [class*="col-"] {
    width: 100%;
    max-width: 100%;
  }
  .admin-list-page .admin-assign-form .btn[type="submit"] {
    width: 100%;
    min-height: 2.45rem;
  }
  .admin-list-page .admin-status-tabs {
    gap: 0.35rem;
  }
  .admin-list-page .admin-status-tabs .btn {
    flex: 1 1 auto;
    min-height: 2.1rem;
    font-size: 0.78rem;
  }

  .admin-list-page .admin-table,
  .mobile-list-page .admin-table {
    min-width: 0;
  }
  .admin-list-page .admin-table thead,
  .mobile-list-page .admin-table thead {
    display: none;
  }
  .admin-list-page .admin-table tbody tr.table-empty-row,
  .mobile-list-page .admin-table tbody tr.table-empty-row {
    display: table-row;
  }
  .admin-list-page .admin-table tbody tr.table-empty-row td,
  .mobile-list-page .admin-table tbody tr.table-empty-row td {
    display: table-cell;
  }
  .admin-list-page .admin-table tbody tr:not(.table-empty-row),
  .mobile-list-page .admin-table tbody tr:not(.table-empty-row) {
    display: flex;
    flex-direction: column;
    margin-bottom: 0.65rem;
    padding: 0.75rem 0.8rem 0.65rem;
    border: 1px solid #e2e8f0;
    border-radius: 0.65rem;
    background: #fff;
    box-shadow: 0 2px 12px rgba(15, 23, 42, 0.04);
  }
  .admin-list-page .admin-table tbody tr:not(.table-empty-row) td,
  .mobile-list-page .admin-table tbody tr:not(.table-empty-row) td {
    display: grid;
    grid-template-columns: 4.75rem minmax(0, 1fr);
    gap: 0.18rem 0.5rem;
    padding: 0.28rem 0;
    border: none;
    text-align: left;
    vertical-align: top;
  }
  .admin-list-page .admin-table tbody tr:not(.table-empty-row) td::before,
  .mobile-list-page .admin-table tbody tr:not(.table-empty-row) td::before {
    content: attr(data-label);
    font-size: 0.68rem;
    font-weight: 600;
    color: #94a3b8;
    line-height: 1.4;
  }
  .admin-list-page .admin-table tbody tr:not(.table-empty-row) td.batch-check-col,
  .mobile-list-page .admin-table tbody tr:not(.table-empty-row) td.batch-check-col {
    display: flex;
    align-items: center;
    order: -3;
    padding-bottom: 0.4rem;
    margin-bottom: 0.2rem;
    border-bottom: 1px dashed #e2e8f0;
    grid-template-columns: unset;
  }
  .admin-list-page .admin-table tbody tr:not(.table-empty-row) td.batch-check-col::before,
  .mobile-list-page .admin-table tbody tr:not(.table-empty-row) td.batch-check-col::before {
    display: none;
  }
  .admin-list-page .admin-table tbody tr:not(.table-empty-row) td.admin-table__primary,
  .mobile-list-page .admin-table tbody tr:not(.table-empty-row) td.admin-table__primary {
    display: block;
    order: -2;
    padding-bottom: 0.45rem;
    margin-bottom: 0.3rem;
    border-bottom: 1px dashed #e2e8f0;
    grid-template-columns: unset;
  }
  .admin-list-page .admin-table tbody tr:not(.table-empty-row) td.admin-table__primary::before,
  .mobile-list-page .admin-table tbody tr:not(.table-empty-row) td.admin-table__primary::before {
    display: none;
  }
  .admin-list-page .admin-table .log-table__title,
  .mobile-list-page .admin-table .log-table__title {
    font-size: 0.9rem;
    font-weight: 650;
    color: #0f172a;
    line-height: 1.42;
    word-break: break-word;
  }
  .admin-list-page .admin-table tbody tr:not(.table-empty-row) td.td-actions,
  .admin-list-page .admin-table tbody tr:not(.table-empty-row) td.admin-table__actions,
  .mobile-list-page .admin-table tbody tr:not(.table-empty-row) td.td-actions,
  .mobile-list-page .admin-table tbody tr:not(.table-empty-row) td.admin-table__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.4rem;
    order: 99;
    padding-top: 0.45rem;
    margin-top: 0.2rem;
    border-top: 1px solid #e2e8f0;
    grid-template-columns: unset;
    align-items: center;
  }
  .admin-list-page .admin-table tbody tr:not(.table-empty-row) td.admin-table__actions::before,
  .mobile-list-page .admin-table tbody tr:not(.table-empty-row) td.admin-table__actions::before {
    width: 100%;
    flex: 0 0 100%;
    margin-bottom: 0.1rem;
  }
  .admin-list-page .admin-table .admin-table__actions .btn,
  .admin-list-page .admin-table .admin-table__actions .btn-link-action,
  .mobile-list-page .admin-table .admin-table__actions .btn,
  .mobile-list-page .admin-table .admin-table__actions .btn-link-action {
    min-height: 2rem;
    font-size: 0.78rem;
  }
  .admin-list-page .admin-table .admin-table__actions .btn-outline-secondary,
  .admin-list-page .admin-table .admin-table__actions .btn-outline-primary,
  .mobile-list-page .admin-table .admin-table__actions .btn-outline-secondary,
  .mobile-list-page .admin-table .admin-table__actions .btn-outline-primary {
    flex: 1 1 calc(50% - 0.25rem);
    justify-content: center;
  }
  .admin-list-page .admin-table .admin-table__actions form,
  .mobile-list-page .admin-table .admin-table__actions form {
    flex: 1 1 calc(50% - 0.25rem);
  }
  .admin-list-page .admin-table .admin-table__actions form .btn,
  .mobile-list-page .admin-table .admin-table__actions form .btn {
    width: 100%;
  }

  .admin-list-page .admin-rates-table tbody tr {
    display: block;
    margin-bottom: 0.75rem;
    padding: 0.75rem 0.8rem;
    border: 1px solid #e2e8f0;
    border-radius: 0.65rem;
    background: #fff;
    box-shadow: 0 2px 12px rgba(15, 23, 42, 0.04);
  }
  .admin-list-page .admin-rates-table thead {
    display: none;
  }
  .admin-list-page .admin-rates-table tbody td {
    display: block;
    border: none;
    padding: 0;
  }
  .admin-list-page .admin-rates-table tbody td:first-child {
    font-weight: 650;
    color: #0f172a;
    margin-bottom: 0.55rem;
    padding-bottom: 0.45rem;
    border-bottom: 1px dashed #e2e8f0;
  }
  .admin-list-page .admin-rates-table tbody td:not(:first-child) {
    margin-bottom: 0.45rem;
  }
  .admin-list-page .admin-rates-table tbody td:not(:first-child)::before {
    content: attr(data-label);
    display: block;
    font-size: 0.68rem;
    font-weight: 600;
    color: #94a3b8;
    margin-bottom: 0.2rem;
  }
  .admin-list-page .admin-rates-table .form-control {
    font-size: 16px;
    line-height: 1.25;
    min-height: 2.125rem;
    padding-top: 0.42rem;
    padding-bottom: 0.42rem;
  }

  .admin-list-page .role-perm-grid,
  .mobile-list-page .role-perm-grid {
    grid-template-columns: 1fr;
    gap: 0.35rem;
  }
  .admin-list-page .role-perm-item,
  .mobile-list-page .role-perm-item {
    padding: 0.5rem 0.65rem;
  }
  .admin-list-page .role-perm-toolbar,
  .mobile-list-page .role-perm-toolbar {
    display: flex;
    flex-wrap: wrap;
    gap: 0.45rem;
    align-items: center;
  }
  .admin-list-page .role-perm-toolbar__select,
  .mobile-list-page .role-perm-toolbar__select {
    flex: 1 1 100%;
    font-size: 0.8125rem;
    line-height: 1.35;
    min-height: 2.125rem;
    padding-top: 0.4rem;
    padding-bottom: 0.4rem;
  }
  .admin-list-page .role-perm-card__foot .btn,
  .mobile-list-page .role-perm-card__foot .btn {
    width: 100%;
    min-height: 2.45rem;
  }
  .admin-list-page .role-perm-panel > form.d-inline .btn,
  .mobile-list-page .role-perm-panel > form.d-inline .btn {
    width: 100%;
    min-height: 2.35rem;
    margin-top: 0.45rem;
  }
}

.customer-member-company dt {
  font-weight: 500;
  margin-bottom: .35rem;
}
.customer-member-company dd {
  margin-bottom: .35rem;
}
.customers-industry-cell {
  max-width: 14rem;
}
.customers-industry-cell > div:first-child {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.customer-detail-page .page-head--compact {
  margin-bottom: .5rem;
}
.customer-detail-page .stat-card--compact {
  padding: .55rem .7rem;
}
.customer-detail-page .stat-card--compact .value {
  font-size: 1.25rem;
}
.customer-detail-page .panel-card--tight {
  padding: .7rem .85rem;
}
.customer-detail-page .panel-card--tight .h6 {
  margin-bottom: .35rem;
}
.customer-detail-page .panel-card--tight .form-label {
  margin-bottom: .15rem;
  font-size: .76rem;
}
.customer-detail-page .panel-card--tight .form-text {
  font-size: .7rem;
  margin-top: .1rem;
}
.customer-detail-page .customer-detail-industry--tight {
  padding: .3rem .5rem;
  font-size: .78rem;
}
.customer-detail-page .customer-detail-mini-table {
  font-size: .8rem;
}
.customer-detail-page .customer-detail-mini-table td,
.customer-detail-page .customer-detail-mini-table th {
  padding: .28rem .4rem;
}
.customer-detail-page .customer-detail-theme-table {
  font-size: .82rem;
}
.customer-detail-page .customer-detail-theme-table td,
.customer-detail-page .customer-detail-theme-table th {
  padding: .35rem .5rem;
}
.customer-detail-stats__plan {
  font-size: 1.05rem !important;
  line-height: 1.25;
  word-break: break-word;
}
.customer-detail-industry {
  padding: .4rem .65rem;
  font-size: .8125rem;
  line-height: 1.45;
  color: #334155;
  background: #f8fafc;
  border: 1px solid rgba(15, 23, 42, .1);
  border-radius: .35rem;
  white-space: normal;
  word-break: break-word;
}
.customer-detail-themes__breakdown {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(12rem, 1fr));
  gap: .35rem .75rem;
}
.customer-detail-themes__break-row {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: .5rem;
  padding: .3rem .45rem;
  background: #f8fafc;
  border: 1px solid rgba(15, 23, 42, .06);
  border-radius: .3rem;
  font-size: .78rem;
}
.customer-detail-themes__break-name {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  color: #0f172a;
}
.customer-detail-themes__break-count {
  flex-shrink: 0;
  font-weight: 600;
  color: #0f766e;
}
.customer-detail-card-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: .75rem;
}
.customer-detail-card-head a {
  color: #0f766e;
  text-decoration: none;
  white-space: nowrap;
}
.customer-detail-card-head a:hover {
  color: #0d9488;
  text-decoration: underline;
}
.customer-detail-themes > summary {
  list-style: none;
}
.customer-detail-themes > summary::-webkit-details-marker {
  display: none;
}
.customer-detail-themes__sum {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: .75rem;
  cursor: pointer;
  font-size: 1rem;
  font-weight: 600;
  color: #0f172a;
}
.customer-detail-themes__hint {
  font-size: .75rem;
  font-weight: 500;
  color: #94a3b8;
}
.customer-detail-themes__toolbar {
  display: flex;
  align-items: center;
  gap: .75rem;
}
.customer-detail-themes__toolbar .form-control {
  max-width: 18rem;
}
.customer-detail-themes__grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(14rem, 1fr));
  gap: .4rem;
  max-height: 18rem;
  overflow: auto;
  padding-right: .15rem;
}
.customer-detail-themes__item {
  padding: .4rem .55rem;
  border: 1px solid rgba(15, 23, 42, .08);
  border-radius: .35rem;
  background: #f8fafc;
}
.customer-detail-themes__item[hidden] {
  display: none !important;
}
.customer-detail-themes__name {
  font-size: .8rem;
  font-weight: 600;
  color: #0f172a;
  line-height: 1.3;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.customer-detail-themes__ind {
  margin-top: .1rem;
  font-size: .7rem;
  color: #64748b;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.ops-customer-switch--profile {
  max-width: 28rem;
}
.ops-customer-switch--profile .ops-customer-pick__toggle {
  max-width: 100%;
  width: 100%;
  padding: .45rem .65rem;
  border: 1px solid rgba(15, 23, 42, .14);
  border-radius: .4rem;
  background: #fff;
}
.ops-customer-switch--profile .ops-customer-pick__name,
.ops-customer-switch--profile .ops-customer-pick__brand {
  max-width: 100%;
}
.ops-customer-switch--profile .ops-customer-pick__panel {
  position: relative;
  top: auto;
  left: auto;
  margin-top: .4rem;
  max-width: 100%;
  box-shadow: none;
}
.ops-customer-switch--profile .ops-customer-pick__panel:not([hidden]) {
  border: 1px solid rgba(15, 23, 42, .12);
  border-radius: .5rem;
  background: #fff;
  padding: .45rem;
  box-shadow: 0 4px 16px rgba(15, 23, 42, .06);
}
.ops-customer-switch--profile .ops-customer-pick__panel.is-fixed-open {
  position: relative;
  top: auto !important;
  left: auto !important;
  width: auto !important;
  right: auto !important;
}

.admin-topbar__workspace,
.app-topbar__workspace {
  flex: 0 1 auto;
  min-width: 0;
  max-width: min(20rem, 42vw);
}

@media (max-width: 991.98px) {
  .app-topbar--has-workspace {
    flex-wrap: wrap;
    align-items: center;
    height: auto;
    min-height: 56px;
    padding-bottom: 0.42rem;
  }
  .app-topbar--has-workspace .top-left {
    flex: 1 1 auto;
    min-width: 0;
  }
  .app-topbar--has-workspace .top-actions {
    flex-shrink: 0;
  }
  .app-topbar__workspace {
    order: 3;
    flex: 1 1 100%;
    width: 100%;
    max-width: none;
    margin-top: 0.12rem;
    padding-top: 0.38rem;
    border-top: 1px solid #f1f5f9;
  }
  /* GEO 顶栏 + 运营客户切换：第一行固定为「菜单/标题 | 操作」 */
  .app-topbar--hub.app-topbar--has-workspace {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: center;
    column-gap: 0.35rem;
    row-gap: 0.35rem;
    flex-wrap: unset;
  }
  .app-topbar--hub.app-topbar--has-workspace .top-left {
    grid-column: 1;
    grid-row: 1;
    flex: unset;
    min-width: 0;
  }
  .app-topbar--hub.app-topbar--has-workspace .top-actions {
    grid-column: 2;
    grid-row: 1;
    flex-wrap: nowrap;
    margin-left: 0;
  }
  .app-topbar--hub.app-topbar--has-workspace .app-topbar__workspace {
    grid-column: 1 / -1;
    grid-row: 2;
    order: unset;
    margin-top: 0;
  }
  .admin-topbar--has-workspace {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: center;
    column-gap: 0.35rem;
    row-gap: 0.35rem;
    height: auto;
    min-height: 56px;
    padding-bottom: 0.42rem;
    flex-wrap: unset;
  }
  .admin-topbar--has-workspace .topbar-left-wrap {
    grid-column: 1;
    grid-row: 1;
    flex: unset;
    min-width: 0;
  }
  .admin-topbar--has-workspace .top-actions {
    grid-column: 2;
    grid-row: 1;
    flex-shrink: 0;
    flex-wrap: nowrap;
  }
  .admin-topbar__workspace {
    grid-column: 1 / -1;
    grid-row: 2;
    order: unset;
    flex: unset;
    width: 100%;
    max-width: none;
    margin-top: 0;
    padding-top: 0;
    border-top: none;
  }
  .ops-customer-switch--topbar {
    display: flex !important;
    align-items: center;
    gap: 0.4rem;
    width: 100%;
    margin-right: 0;
    padding: 0.38rem 0.5rem;
    border-radius: 0.48rem;
    background: #f8fafc;
    border-color: #e2e8f0;
  }
  .ops-customer-switch__label {
    font-size: 0.68rem;
    font-weight: 650;
    color: #64748b;
  }
  .ops-customer-pick {
    flex: 1;
    min-width: 0;
  }
  .ops-customer-pick__toggle {
    width: 100%;
    max-width: none;
    padding: 0.05rem 0;
  }
  .ops-customer-pick__name {
    font-size: 0.78rem;
    max-width: 100%;
  }
  .ops-customer-pick__brand {
    font-size: 0.66rem;
    max-width: 100%;
  }
  .ops-customer-pick__panel {
    left: 0;
    right: 0;
    min-width: 0;
    width: auto;
    max-width: none;
  }
}

/* ===== 原因分析详情 ===== */
.attr-detail {
  width: 100%;
  max-width: none;
}
.attr-detail__head {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 1rem;
  margin-bottom: 1.15rem;
}
.attr-detail__back {
  display: inline-block;
  font-size: .875rem;
  color: var(--admin-muted, #64748b);
  text-decoration: none;
  margin-bottom: .35rem;
}
.attr-detail__back:hover {
  color: var(--admin-ink, #1e293b);
  text-decoration: underline;
}
.attr-detail__title {
  margin-bottom: .2rem;
}
.attr-video-preview {
  margin-top: .65rem;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: .5rem;
}
.attr-video-player {
  display: block;
  width: 100%;
  max-width: 420px;
  max-height: 74vh;
  border-radius: .5rem;
  background: #0f172a;
}
.attr-score--reach {
  border-color: #6ee7b7;
  background: linear-gradient(180deg, #ecfdf5 0%, #fff 100%);
}
.attr-score--reach-muted {
  border-color: #e2e8f0;
  background: #f8fafc;
}
.attr-score--reach-muted .attr-score__value {
  color: #94a3b8;
  font-size: 1.25rem;
}
.attr-score--reach .attr-score__value {
  color: #047857;
}
.attr-score__sub {
  display: block;
  font-size: .6875rem;
  color: #64748b;
  margin-top: .15rem;
}
.attr-score-note--reach {
  background: #ecfdf5;
  border-color: #a7f3d0;
  color: #065f46;
}
.attr-score-note--theme {
  background: #eff6ff;
  border-color: #bfdbfe;
  color: #1e40af;
}
.attr-dim-scores {
  list-style: none;
  padding: 0;
  margin: .75rem 0 0;
  display: flex;
  flex-direction: column;
  gap: .45rem;
}
.attr-dim-scores__item {
  display: grid;
  grid-template-columns: minmax(8rem, 1.2fr) 3rem 1fr;
  gap: .5rem .75rem;
  align-items: baseline;
  padding: .45rem .55rem;
  border-radius: .35rem;
  background: #f8fafc;
  font-size: .8125rem;
}
.attr-dim-scores__name {
  font-weight: 600;
  color: #334155;
}
.attr-dim-scores__score {
  font-variant-numeric: tabular-nums;
  font-weight: 700;
  color: #0f766e;
  text-align: right;
}
.attr-dim-scores__score::after {
  content: "分";
  font-weight: 500;
  font-size: .75rem;
  margin-left: 1px;
}
.attr-dim-scores__detail {
  grid-column: 1 / -1;
  font-size: .75rem;
  line-height: 1.45;
}
.attr-score-note {
  font-size: .8125rem;
  line-height: 1.55;
  color: #475569;
  padding: .55rem .65rem;
  border-radius: .35rem;
  background: #f8fafc;
  border: 1px solid #e2e8f0;
}
.attr-score-note--warn {
  background: #fffbeb;
  border-color: #fde68a;
  color: #92400e;
}
@media (min-width: 768px) {
  .attr-dim-scores__item {
    grid-template-columns: minmax(10rem, 1fr) 3.5rem 2fr;
  }
  .attr-dim-scores__detail {
    grid-column: auto;
  }
}
.attr-block__title-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: .75rem;
  flex-wrap: wrap;
  margin-bottom: .35rem;
}
.attr-detail__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: .85rem;
  margin-bottom: .85rem;
}
@media (min-width: 768px) {
  .attr-detail__grid {
    grid-template-columns: 1fr 1fr;
  }
  .attr-detail__grid > .attr-block:only-child,
  .attr-detail__grid > .attr-block:first-child:nth-last-child(odd) {
    grid-column: span 1;
  }
}
.attr-block__title {
  font-size: .95rem;
  font-weight: 650;
  margin: 0 0 .2rem;
  color: var(--admin-ink, #1e293b);
}
.attr-block__hint {
  font-size: .78rem;
  color: var(--admin-muted, #64748b);
  margin: 0 0 .65rem;
  line-height: 1.45;
}
.attr-block__body {
  font-size: .9rem;
  line-height: 1.65;
  color: #334155;
  white-space: pre-wrap;
  overflow-wrap: anywhere;
  word-break: break-word;
  max-width: 100%;
}
.attr-structure {
  font-size: 1.05rem;
  font-weight: 600;
  letter-spacing: .02em;
  color: #0f172a;
  line-height: 1.5;
}
.attr-chips {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: .4rem .45rem;
}
.attr-chips li {
  font-size: .8125rem;
  line-height: 1.35;
  padding: .35rem .55rem;
  border-radius: 8px;
  background: #f1f5f9;
  color: #334155;
  max-width: 100%;
}
.attr-block--scores {
  margin-bottom: .85rem;
}
.attr-detail__meta-chips {
  display: flex;
  flex-wrap: wrap;
  gap: .4rem .5rem;
  margin-top: .55rem;
}
.attr-meta-chip {
  font-size: .75rem;
  font-weight: 600;
  padding: .2rem .55rem;
  border-radius: 999px;
  border: 1px solid #e2e8f0;
  background: #f8fafc;
  color: #475569;
  font-variant-numeric: tabular-nums;
}
.attr-meta-chip--reach {
  border-color: #6ee7b7;
  background: #ecfdf5;
  color: #047857;
}
.attr-meta-chip--struct {
  border-color: #93c5fd;
  background: #eff6ff;
  color: #1d4ed8;
}
.attr-meta-chip--model {
  border-color: #fcd34d;
  background: #fffbeb;
  color: #b45309;
}
.attr-meta-chip--driver {
  border-color: #c4b5fd;
  background: #f5f3ff;
  color: #5b21b6;
}
.attr-detail__quick-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: .35rem .5rem;
}
.attr-detail__export-toolbar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: .35rem .65rem;
  margin-top: .65rem;
  padding: .45rem .65rem;
  border: 1px solid #e5e7eb;
  border-radius: .5rem;
  background: #f9fafb;
}
.attr-insight--success {
  border-color: #86efac;
  background: #f0fdf4;
  color: #166534;
}
.attr-transcript-fail-details summary {
  cursor: pointer;
  color: inherit;
}
.video-list-table__row--focus {
  outline: 2px solid rgba(13, 148, 136, 0.5);
  outline-offset: -2px;
}
.attr-detail__sticky-tools {
  margin-top: .35rem;
}
@media (max-width: 1099.98px) {
  .attr-detail__sticky-tools:not(.attr-detail__sticky-tools--static) {
    position: sticky;
    top: .5rem;
    z-index: 20;
    padding-bottom: .35rem;
    background: linear-gradient(to bottom, #fff 85%, rgba(255, 255, 255, 0));
  }
}
.attr-score-contrast {
  padding: .5rem .65rem;
  border-radius: .5rem;
  background: #f8fafc;
  border: 1px solid #e2e8f0;
}
.attr-score-contrast__row {
  display: grid;
  grid-template-columns: 2.5rem 1fr 2rem;
  gap: .35rem .5rem;
  align-items: center;
  margin-bottom: .35rem;
}
.attr-score-contrast__row:last-of-type {
  margin-bottom: 0;
}
.attr-score-contrast__label {
  font-size: .75rem;
  color: #64748b;
}
.attr-score-contrast__track {
  height: .45rem;
  border-radius: 999px;
  background: #e2e8f0;
  overflow: hidden;
}
.attr-score-contrast__bar {
  height: 100%;
  border-radius: 999px;
  min-width: 2px;
}
.attr-score-contrast__bar--reach {
  background: linear-gradient(90deg, #14b8a6, #0d9488);
}
.attr-score-contrast__bar--source {
  background: linear-gradient(90deg, #f59e0b 0%, #d97706 100%);
}
.attr-score-contrast__bar--struct {
  background: linear-gradient(90deg, #60a5fa, #2563eb);
}
.attr-score-contrast__val {
  font-size: .8rem;
  font-weight: 600;
  text-align: right;
}
.attr-reading-conclusions {
  padding: .65rem .75rem;
  border-radius: .5rem;
  border: 1px solid #c7d2fe;
  background: #eef2ff;
}
.attr-reading-conclusions__title {
  font-size: .8rem;
  font-weight: 600;
  margin: 0 0 .35rem;
  color: #3730a3;
}
.attr-reading-conclusions__list {
  padding-left: 1.1rem;
  font-size: .85rem;
  color: #1e293b;
}
.attr-reading-conclusions__list li {
  margin-bottom: .25rem;
}
.attr-reading-conclusions__list li:last-child {
  margin-bottom: 0;
}
.attr-reach-panel {
  margin-bottom: .75rem;
  padding: .65rem .75rem;
  border-radius: .5rem;
  border: 1px solid #bae6fd;
  background: #f0f9ff;
}
.attr-reach-panel__summary {
  font-size: .85rem;
  font-weight: 600;
  margin: 0 0 .5rem;
  color: #0c4a6e;
}
.attr-reach-panel__kv {
  margin: 0;
  display: grid;
  gap: .35rem;
}
.attr-reach-panel__row {
  display: grid;
  grid-template-columns: 2.75rem 1fr;
  gap: .35rem .5rem;
  font-size: .8rem;
}
.attr-reach-panel__row dt {
  margin: 0;
  color: #64748b;
  font-weight: 500;
}
.attr-reach-panel__row dd {
  margin: 0;
  color: #0f172a;
}
.attr-reach-panel__tags {
  display: flex;
  flex-wrap: wrap;
  gap: .25rem;
}
.attr-reach-panel__tag {
  display: inline-block;
  padding: .1rem .45rem;
  border-radius: 999px;
  font-size: .72rem;
  background: #fff;
  border: 1px solid #7dd3fc;
  color: #0369a1;
}
.attr-reach-panel__pre {
  white-space: pre-wrap;
  margin-top: .35rem;
  padding: .5rem;
  background: #fff;
  border-radius: .35rem;
  border: 1px solid #e2e8f0;
  max-height: 14rem;
  overflow: auto;
}
.attr-dim-scores-wrap__summary {
  cursor: pointer;
  font-size: .85rem;
  font-weight: 600;
  color: #334155;
}
.vs-learning-ref--recommended {
  outline: 2px solid rgba(13, 148, 136, 0.45);
  outline-offset: 2px;
  border-radius: .5rem;
}
.attr-detail__score-layout {
  display: flex;
  flex-direction: column;
  gap: .85rem;
  margin-bottom: .85rem;
  align-items: stretch;
}
.attr-conclusion-strip {
  display: flex;
  flex-direction: column;
  gap: .65rem;
  padding: 1rem 1.1rem;
  border-radius: .65rem;
  border: 1px solid #e2e8f0;
  background: #fff;
  box-shadow: 0 1px 2px rgba(15, 23, 42, 0.04);
}
@media (max-width: 1099.98px) {
  .attr-conclusion-strip {
    position: sticky;
    top: .35rem;
    z-index: 19;
    box-shadow: 0 4px 14px rgba(15, 23, 42, 0.08);
  }
}
.attr-conclusion-strip__top {
  display: flex;
  flex-direction: column;
  gap: .75rem;
}
@media (min-width: 768px) {
  .attr-conclusion-strip__top {
    flex-direction: row;
    align-items: flex-start;
    justify-content: space-between;
    gap: 1rem;
  }
}
.attr-conclusion-strip__main {
  flex: 1 1 auto;
  min-width: 0;
}
.attr-conclusion-strip__toolbar {
  display: flex;
  flex-wrap: wrap;
  gap: .35rem .45rem;
  align-items: center;
  flex-shrink: 0;
}
.attr-conclusion-strip__form {
  display: inline;
  margin: 0;
}
.attr-conclusion-strip__driver {
  display: inline-block;
  font-size: .7rem;
  font-weight: 600;
  padding: .15rem .55rem;
  border-radius: 999px;
  background: #f1f5f9;
  border: 1px solid #cbd5e1;
  color: #475569;
  margin-bottom: .4rem;
}
.attr-conclusion-strip__headline {
  font-size: 1rem;
  font-weight: 650;
  color: #0f172a;
  line-height: 1.5;
  margin: 0;
}
.attr-conclusion-strip__meta {
  display: flex;
  flex-wrap: wrap;
  gap: .35rem;
  padding-top: .15rem;
}
.attr-conclusion-strip__pill {
  font-size: .75rem;
  padding: .2rem .55rem;
  border-radius: 999px;
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  color: #334155;
  line-height: 1.3;
}
.attr-conclusion-strip__pill--ok {
  background: #f0fdf4;
  border-color: #bbf7d0;
  color: #166534;
}
.attr-conclusion-strip__pill--warn {
  background: #fffbeb;
  border-color: #fde68a;
  color: #92400e;
}
.attr-conclusion-strip__pill--accent {
  background: #ecfeff;
  border-color: #a5f3fc;
  color: #0e7490;
}
.attr-conclusion-strip__pill--muted {
  background: #f8fafc;
  border-color: #e2e8f0;
  color: #64748b;
}
.attr-conclusion-strip__hint {
  font-size: .8rem;
  color: #64748b;
  line-height: 1.5;
  margin: 0;
  padding: .5rem .65rem;
  border-radius: .4rem;
  background: #f8fafc;
  border-left: 3px solid #94a3b8;
}
.attr-conclusion-strip__points {
  font-size: .8125rem;
  color: #475569;
}
.attr-conclusion-strip__points summary {
  cursor: pointer;
  color: #64748b;
  user-select: none;
}
.attr-ops-checklist {
  border: 1px solid #c7e8e4;
  background: linear-gradient(180deg, #f8fffe 0%, #fff 100%);
}
.attr-ops-checklist__head {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  justify-content: space-between;
  gap: .75rem;
  margin-bottom: .75rem;
}
.attr-ops-checklist__verdict {
  font-size: 1rem;
  font-weight: 600;
  color: #0f766e;
  line-height: 1.55;
  margin: 0 0 .85rem;
  padding: .65rem .85rem;
  border-radius: 10px;
  background: #ecfdf5;
  border: 1px solid #a7f3d0;
}
.attr-ops-checklist__scores {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(11rem, 1fr));
  gap: .5rem .85rem;
  margin: 0 0 1rem;
  font-size: .875rem;
}
.attr-ops-checklist__scores dt {
  font-weight: 600;
  color: #475569;
  margin: 0;
}
.attr-ops-checklist__scores dd {
  margin: .1rem 0 0;
  color: #0f172a;
}
.attr-ops-checklist__block {
  margin-bottom: .85rem;
}
.attr-ops-checklist__h3 {
  font-size: .8125rem;
  font-weight: 700;
  text-transform: none;
  letter-spacing: 0;
  color: #334155;
  margin: 0 0 .35rem;
}
.attr-ops-checklist__tags {
  display: flex;
  flex-wrap: wrap;
  gap: .35rem;
  list-style: none;
  padding: 0;
  margin: 0;
}
.attr-ops-checklist__tags li {
  font-size: .8125rem;
  padding: .2rem .55rem;
  border-radius: 999px;
  background: #f1f5f9;
  color: #334155;
}
.attr-ops-checklist__timeline {
  padding-left: 1.15rem;
  font-size: .875rem;
  line-height: 1.55;
  color: #334155;
}
.attr-ops-checklist__todo {
  list-style: none;
  padding: 0;
  margin: 0;
  font-size: .875rem;
  line-height: 1.6;
}
.sample-cases-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(17rem, 1fr));
  gap: 1rem;
}
.sample-case-card {
  display: flex;
  flex-direction: column;
  gap: .35rem;
  padding: 1rem 1.1rem;
}
.sample-case-card__head {
  display: flex;
  flex-wrap: wrap;
  gap: .35rem;
  align-items: center;
}
.sample-case-badge {
  display: inline-block;
  font-size: .75rem;
  font-weight: 600;
  line-height: 1.35;
  padding: .2rem .55rem;
  border-radius: 999px;
  color: #1e293b;
  background: #e2e8f0;
  border: 1px solid #cbd5e1;
}
.sample-case-badge--industry {
  background: #ecfdf5;
  border-color: #a7f3d0;
  color: #0f766e;
}
.sample-case-badge--track {
  background: #f1f5f9;
  color: #475569;
}
.sample-case-badge--ok {
  background: #dcfce7;
  border-color: #86efac;
  color: #166534;
}
.sample-case-badge--summary {
  background: #fef3c7;
  border-color: #fcd34d;
  color: #92400e;
}
.sample-cases-hero {
  border-left: 4px solid #0d9488;
  background: linear-gradient(90deg, #f0fdfa 0%, #fff 55%);
}
.video-studio-side-nav .geo-side-module--primary .geo-side-module__meta {
  display: block;
  font-size: .7rem;
  font-weight: 500;
  color: var(--muted);
  line-height: 1.2;
  margin-top: .1rem;
}
.video-studio-side-nav .geo-side-module--primary.is-on .geo-side-module__meta {
  color: rgba(255, 255, 255, 0.85);
}
.sample-case-card__title a {
  color: inherit;
  text-decoration: none;
}
.sample-case-card__title a:hover {
  text-decoration: underline;
}
.sample-case-card__tags {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-wrap: wrap;
  gap: .35rem;
}
.sample-case-card__tags li {
  font-size: .8125rem;
  padding: .15rem .5rem;
  border-radius: 999px;
  background: #f1f5f9;
}
.sample-case-lock {
  border: 1px dashed #cbd5e1;
  background: #f8fafc;
}
.sample-case-lock__inner {
  max-width: 36rem;
}
.vs-sample-case-promo a {
  font-weight: 600;
}
.attr-ops-checklist__todo li {
  display: flex;
  gap: .4rem;
  align-items: flex-start;
  margin-bottom: .35rem;
}
.attr-ops-checklist__box {
  flex-shrink: 0;
  color: #0d9488;
  font-weight: 700;
}
@media print {
  .attr-ops-checklist__print { display: none !important; }
  .attr-ops-checklist {
    break-inside: avoid;
    border: 1px solid #ccc;
  }
}
.attr-conclusion-strip__points summary:hover {
  color: #0f172a;
}
.attr-conclusion-strip__points ul {
  margin: .4rem 0 0;
  padding-left: 1.15rem;
  line-height: 1.55;
}
.attr-conclusion-strip__points li {
  margin-bottom: .2rem;
}
.attr-conclusion-strip__sys {
  margin-top: .15rem;
  border-top: 1px dashed #e2e8f0;
  padding-top: .5rem;
}
.attr-conclusion-strip__sys summary {
  cursor: pointer;
  font-size: .75rem;
  color: #64748b;
  user-select: none;
}
.attr-conclusion-strip__sys summary:hover {
  color: #0d9488;
}
.attr-conclusion-strip__pre {
  margin: .5rem 0 0;
  padding: .65rem .75rem;
  font-size: .75rem;
  line-height: 1.45;
  white-space: pre-wrap;
  word-break: break-word;
  max-height: 10rem;
  overflow: auto;
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: .4rem;
  color: #475569;
}
.attr-oral-narrative-details__summary {
  cursor: pointer;
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: .35rem .5rem;
}
.attr-oral-narrative-tag {
  display: inline-block;
  flex-shrink: 0;
  font-size: .7rem;
  font-weight: 600;
  line-height: 1.25;
  padding: .2rem .55rem;
  border-radius: 999px;
  background: #e2e8f0;
  color: #334155;
  border: 1px solid #94a3b8;
}
.attr-oral-narrative-details__summary::-webkit-details-marker {
  display: none;
}
.attr-oral-narrative-details__summary::before {
  content: "▸";
  display: inline-block;
  margin-right: .35rem;
  color: #64748b;
  transition: transform .15s ease;
}
.attr-oral-narrative-details[open] .attr-oral-narrative-details__summary::before {
  transform: rotate(90deg);
}
.attr-block--oral-narrative {
  border-style: dashed;
  background: #fafafa;
}
.attr-oral-narrative-details .attr-md {
  max-height: 32rem;
  overflow: auto;
  padding: .15rem .1rem .15rem 0;
}
.attr-md--oral .attr-md__h {
  font-size: .875rem;
  color: #475569;
  margin-top: .85rem;
}
.attr-md--oral .attr-md__list--excerpt {
  list-style: none;
  padding-left: 0;
  margin: .35rem 0 .75rem;
  display: flex;
  flex-direction: column;
  gap: .4rem;
}
.attr-md--oral .attr-md__list--excerpt li {
  margin: 0;
  padding: .55rem .7rem;
  background: #fff;
  border: 1px solid #e2e8f0;
  border-radius: .45rem;
  font-size: .8125rem;
  line-height: 1.6;
  color: #334155;
  box-shadow: 0 1px 0 rgba(15, 23, 42, 0.03);
}
.attr-md--oral .attr-md__list:not(.attr-md__list--excerpt) li {
  padding: .35rem 0;
  border-bottom: 1px dashed #f1f5f9;
}
.attr-md--oral .attr-md__list:not(.attr-md__list--excerpt) li:last-child {
  border-bottom: none;
}
.attr-oral-narrative-details .attr-md li,
.attr-oral-narrative-details .attr-md p {
  max-width: none;
  line-height: 1.6;
}
@media (min-width: 1100px) {
  .attr-detail__score-layout:has(.attr-detail__score-aside) {
    flex-direction: row;
    flex-wrap: wrap;
    align-items: flex-start;
  }
  .attr-detail__score-layout:has(.attr-conclusion-strip) .attr-conclusion-strip {
    flex: 1 1 100%;
    width: 100%;
  }
  .attr-detail__score-main {
    flex: 1 1 0;
    min-width: 0;
  }
  .attr-detail__score-aside {
    flex: 0 0 min(22rem, 32%);
    min-width: 0;
  }
  .attr-detail__score-aside .vs-learning-ref-panel {
    margin-bottom: 0 !important;
  }
  .attr-detail__score-aside .vs-learning-ref-panel .h6 {
    font-size: .9rem;
  }
}
.attr-insight {
  font-size: .8125rem;
  line-height: 1.55;
  padding: .6rem .75rem;
  border-radius: .4rem;
  border: 1px solid #bae6fd;
  background: #f0f9ff;
  color: #0c4a6e;
}
.attr-insight strong {
  font-weight: 650;
}
.attr-insight--warn {
  border-color: #fde68a;
  background: #fffbeb;
  color: #92400e;
}
.attr-video-stats {
  display: flex;
  flex-direction: column;
  gap: .45rem;
  padding: .55rem .65rem;
  border-radius: .4rem;
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  font-size: .78rem;
  color: #475569;
}
.attr-video-stats__row {
  display: flex;
  flex-wrap: wrap;
  gap: .35rem .65rem;
  align-items: center;
}
.attr-video-stats__reach {
  font-variant-numeric: tabular-nums;
  font-weight: 600;
  color: #334155;
}
.attr-video-stats__reach .k {
  font-weight: 500;
  color: #94a3b8;
  margin-right: .15rem;
  font-size: .7rem;
}
.attr-detail__notes {
  display: flex;
  flex-direction: column;
  gap: .45rem;
  margin-bottom: .65rem;
}
.attr-detail__formula {
  font-size: .78rem;
  color: #64748b;
  border: 1px dashed #e2e8f0;
  border-radius: .35rem;
  padding: .35rem .55rem;
  background: #fafafa;
}
.attr-detail__formula summary {
  cursor: pointer;
  font-weight: 600;
  color: #475569;
  user-select: none;
}
.attr-detail__formula-body {
  margin-top: .45rem;
  line-height: 1.5;
  color: #64748b;
}
.attr-scores--row {
  display: flex;
  flex-wrap: wrap;
  gap: .65rem;
}
/* 综合分：浅底 + 高对比强调色（避免深底被主题盖成浅色后白字看不见） */
.attr-score.attr-score--total {
  background: #eff6ff !important;
  border: 1px solid #93c5fd !important;
  min-width: 7rem;
}
.attr-score.attr-score--total .attr-score__label {
  color: #1d4ed8 !important;
  font-weight: 600;
}
.attr-score.attr-score--total .attr-score__value {
  color: #1e3a8a !important;
  font-size: 1.5rem;
}

.attr-score {
  min-width: 6.5rem;
  padding: .55rem .75rem;
  border-radius: 10px;
  background: #f8fafc;
  border: 1px solid #e2e8f0;
}
.attr-score__label {
  display: block;
  font-size: .75rem;
  color: #64748b;
  margin-bottom: .15rem;
}
.attr-score__value {
  font-size: 1.35rem;
  font-weight: 700;
  color: #0f172a;
  line-height: 1.1;
}
.attr-block--full {
  margin-bottom: 1rem;
}
.attr-md {
  font-size: .9rem;
  line-height: 1.65;
  color: #334155;
  max-width: 100%;
  min-width: 0;
  overflow-wrap: anywhere;
  word-break: break-word;
  white-space: normal;
}
.attr-md__h {
  font-size: .95rem;
  font-weight: 650;
  margin: 1rem 0 .45rem;
  color: #0f172a;
}
.attr-md__h:first-child {
  margin-top: 0;
}
.attr-md p {
  margin: 0 0 .55rem;
  max-width: 100%;
  overflow-wrap: anywhere;
  word-break: break-word;
  white-space: normal;
}
.attr-md__list {
  margin: 0 0 .65rem;
  padding-left: 1.15rem;
  max-width: 100%;
}
.attr-md__list li {
  margin-bottom: .45rem;
  max-width: 100%;
  overflow-wrap: anywhere;
  word-break: break-word;
  white-space: normal;
}
.attr-detail,
.attr-detail .panel-card,
.attr-block--full {
  max-width: 100%;
  min-width: 0;
  overflow-x: hidden;
}
.attr-origins {
  margin-top: .85rem;
  padding-top: .75rem;
  border-top: 1px dashed #e2e8f0;
}
.attr-origins__title {
  font-size: .875rem;
  font-weight: 650;
  margin: 0 0 .45rem;
  color: #334155;
}
.attr-origins__list {
  margin: 0;
  padding-left: 1.1rem;
  font-size: .8125rem;
  line-height: 1.55;
  color: #475569;
}
.attr-origins__list li {
  margin-bottom: .35rem;
  overflow-wrap: anywhere;
  word-break: break-word;
}

/* 分析中遮罩 */
.geo-busy-overlay {
  position: fixed;
  inset: 0;
  z-index: 2000;
  display: none;
  align-items: center;
  justify-content: center;
  background: rgba(15, 23, 42, .45);
  backdrop-filter: blur(2px);
}
.geo-busy-overlay.is-on {
  display: flex;
}
.geo-busy-card {
  background: #fff;
  border-radius: 14px;
  padding: 1.25rem 1.5rem;
  min-width: 16rem;
  max-width: 22rem;
  box-shadow: 0 12px 40px rgba(15, 23, 42, .25);
  text-align: center;
}
.geo-busy-card__title {
  font-size: 1.05rem;
  font-weight: 700;
  color: #0f172a;
  margin: 0 0 .35rem;
}
.geo-busy-card__hint {
  font-size: .8125rem;
  color: #64748b;
  margin: 0;
  line-height: 1.5;
}
.geo-busy-spinner {
  width: 1.75rem;
  height: 1.75rem;
  margin: 0 auto .85rem;
  border: 3px solid #e2e8f0;
  border-top-color: #2563eb;
  border-radius: 50%;
  animation: geo-busy-spin .8s linear infinite;
}
@keyframes geo-busy-spin {
  to { transform: rotate(360deg); }
}

/* 行业覆盖：列表 + 筛选 */
.observe-cov__toolbar {
  display: flex;
  flex-wrap: wrap;
  gap: .5rem .65rem;
  align-items: center;
}
.observe-cov__search {
  flex: 1 1 14rem;
  max-width: 22rem;
}
.observe-cov__lane,
.observe-cov__status,
.observe-cov__pagesize {
  flex: 0 1 11rem;
  max-width: 14rem;
}
.observe-cov__hint {
  margin: 0;
}
.observe-cov__pager {
  display: flex;
  align-items: center;
  gap: .35rem;
  flex-wrap: wrap;
}
.observe-cov__count {
  margin-left: auto;
}
.observe-cov__clear {
  flex: 0 0 auto;
}
.observe-cov__add {
  border: 1px dashed var(--admin-line, #e2e8f0);
  border-radius: 10px;
  padding: .5rem .85rem;
  background: #fafbfc;
}
.observe-cov__add-sum {
  cursor: pointer;
  font-size: .875rem;
  font-weight: 600;
  color: #475569;
  list-style: none;
  user-select: none;
}
.observe-cov__add-sum::-webkit-details-marker {
  display: none;
}
.observe-cov__lane-list {
  max-height: min(70vh, 42rem);
  overflow-y: auto;
  padding-right: .15rem;
}
.observe-cov__layout {
  display: grid;
  grid-template-columns: minmax(10.5rem, 14rem) minmax(0, 1fr);
  gap: .75rem;
  height: min(68vh, 34rem);
  min-height: 18rem;
}
.observe-cov__layout--flat {
  grid-template-columns: minmax(0, 1fr);
}
.observe-cov__layout--flat .observe-cov__detail {
  max-height: min(70vh, 42rem);
  overflow-y: auto;
}
.observe-cov__layout.is-filtered {
  grid-template-columns: minmax(9rem, 11rem) minmax(0, 1fr);
}
.observe-cov__nav {
  display: flex;
  flex-direction: column;
  min-height: 0;
  border: 1px solid var(--admin-line, #e2e8f0);
  border-radius: 10px;
  background: #f8fafc;
  overflow: hidden;
}
.observe-cov__nav-head {
  flex: 0 0 auto;
  padding: .5rem .65rem;
  font-size: .75rem;
  font-weight: 650;
  color: #475569;
  border-bottom: 1px solid var(--admin-line, #e2e8f0);
  background: #fff;
}
.observe-cov__nav-list {
  flex: 1 1 auto;
  min-height: 0;
  overflow-y: auto;
  padding: .35rem;
  display: flex;
  flex-direction: column;
  gap: .25rem;
}
.observe-cov__lane-chip {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: .35rem;
  width: 100%;
  margin: 0;
  padding: .42rem .5rem;
  border: 1px solid transparent;
  border-radius: 8px;
  background: #fff;
  text-align: left;
  cursor: pointer;
  color: inherit;
}
.observe-cov__lane-chip:hover {
  border-color: #cbd5e1;
}
.observe-cov__lane-chip.is-on {
  border-color: #0d9488;
  background: #f0fdfa;
  box-shadow: inset 3px 0 0 #0d9488;
}
.observe-cov__lane-chip.is-dim {
  opacity: .45;
}
.observe-cov__lane-chip.is-dim:hover {
  opacity: .85;
}
.observe-cov__lane-chip-name {
  flex: 1 1 auto;
  min-width: 0;
  font-size: .8125rem;
  font-weight: 600;
  color: #0f172a;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.observe-cov__lane-chip .observe-cov__lane-n {
  flex: 0 0 auto;
}
.observe-cov__detail {
  min-height: 0;
  min-width: 0;
  border: 1px solid var(--admin-line, #e2e8f0);
  border-radius: 10px;
  background: #fff;
  overflow: auto;
}
.observe-cov__detail-empty {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 12rem;
  padding: 1.5rem;
  text-align: center;
}
.observe-cov__pane-head {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: space-between;
  gap: .35rem .75rem;
  padding: .55rem .65rem .35rem;
  border-bottom: 1px solid var(--admin-line, #e2e8f0);
  background: #f8fafc;
  position: sticky;
  top: 0;
  z-index: 1;
}
.observe-cov__pane-title {
  margin: 0;
  font-size: .9rem;
  font-weight: 650;
}
.observe-cov__lane-pane .table-responsive {
  padding: 0 .15rem .35rem;
}
.observe-cov__table tbody tr.observe-cov__row {
  border-bottom: 1px solid #f1f5f9;
}
.observe-cov__table tbody tr.observe-cov__row:hover {
  background: #fafbfc;
}
.observe-cov__table tbody tr.observe-cov__row > td {
  padding-top: .45rem;
  padding-bottom: .45rem;
  vertical-align: middle;
}
.observe-cov__edit-form {
  display: grid;
  grid-template-columns: minmax(6rem, 1fr) minmax(6rem, 1.2fr) auto;
  gap: .3rem .4rem;
  align-items: end;
  max-width: 28rem;
  min-width: 12rem;
}
.observe-cov__field-label {
  display: none;
}
.observe-cov__field-input[name="observeBrandKeywords"] {
  margin-bottom: 0;
}
.observe-cov__keyword-row {
  display: contents;
}
.observe-cov__keyword-row .observe-cov__field-input {
  min-width: 0;
}
.observe-cov__save-btn {
  align-self: end;
  min-width: 2.1rem;
  padding-left: .45rem;
  padding-right: .45rem;
}
.observe-cov__headline {
  gap: .3rem .4rem;
}
.observe-cov__meta-line {
  margin-top: .2rem;
}
.observe-cov__chip {
  padding: .1rem .35rem;
  font-size: .68rem;
}
@media (max-width: 991.98px) {
  .observe-cov__edit-form {
    display: block;
    max-width: none;
  }
  .observe-cov__field-input[name="observeBrandKeywords"] {
    margin-bottom: .35rem;
  }
  .observe-cov__keyword-row {
    display: flex;
    gap: .35rem;
  }
}
.observe-cov__lane-block {
  border: 1px solid var(--admin-line, #e2e8f0);
  border-radius: 10px;
  margin-bottom: .65rem;
  background: #fff;
  overflow: hidden;
}
.observe-cov__lane-sum {
  display: flex;
  align-items: center;
  gap: .5rem;
  padding: .55rem .85rem;
  cursor: pointer;
  list-style: none;
  background: #f8fafc;
  border-bottom: 1px solid transparent;
  user-select: none;
}
.observe-cov__lane-block[open] > .observe-cov__lane-sum {
  border-bottom-color: var(--admin-line, #e2e8f0);
}
.observe-cov__lane-sum::-webkit-details-marker {
  display: none;
}
.observe-cov__lane-sum::before {
  content: "";
  width: .45rem;
  height: .45rem;
  flex: 0 0 auto;
  border-right: 2px solid #475569;
  border-bottom: 2px solid #475569;
  transform: rotate(-45deg);
  margin-right: .15rem;
  transition: transform .15s ease;
}
.observe-cov__lane-block[open] > .observe-cov__lane-sum::before {
  transform: rotate(45deg);
  margin-top: -.15rem;
}
.observe-cov__lane-name {
  font-size: .9rem;
  font-weight: 650;
  color: #0f172a;
}
.observe-cov__lane-n {
  font-weight: 600 !important;
  font-size: .75rem !important;
  color: #1e3a8a !important;
  background: #dbeafe !important;
  border: 1px solid #93c5fd !important;
  padding: .2rem .45rem !important;
}
.observe-cov__table {
  margin: 0;
}
.observe-cov__paused .observe-cov__lane-sum {
  background: #f1f5f9;
}

/* 行业覆盖 · 行内编辑表单（基础控件样式，布局见上方 .observe-cov__edit-form grid） */
.observe-cov__field-label {
  display: none;
  font-size: 0.68rem;
  font-weight: 600;
  color: #94a3b8;
  margin: 0 0 0.2rem;
}
.observe-cov__field-input {
  font-size: 0.8125rem;
  line-height: 1.35;
  min-height: 2rem;
  padding: 0.32rem 0.5rem;
}
.observe-cov__headline {
  display: flex;
  align-items: center;
  gap: 0.45rem;
  min-width: 0;
}
.observe-cov__industry-name {
  font-weight: 650;
  color: #0f172a;
}
.observe-cov__status-badge {
  display: none;
  flex-shrink: 0;
  font-size: 0.68rem !important;
  font-weight: 600;
  padding: 0.12rem 0.42rem !important;
}
.observe-cov__meta-line {
  display: none;
  flex-wrap: wrap;
  gap: 0.35rem 0.45rem;
  margin-top: 0.35rem;
}
.observe-cov__chip {
  display: inline-flex;
  align-items: center;
  font-size: 0.72rem;
  font-weight: 600;
  color: #475569;
  background: #f1f5f9;
  border: 1px solid #e2e8f0;
  border-radius: 999px;
  padding: 0.12rem 0.5rem;
  line-height: 1.3;
}
.observe-cov__chip--muted {
  color: #64748b;
  font-weight: 500;
  background: #f8fafc;
}

@media (max-width: 767.98px) {
  .observe-cov__toolbar {
    flex-direction: column;
    align-items: stretch;
    gap: 0.45rem;
  }
  .observe-cov__search,
  .observe-cov__lane,
  .observe-cov__status,
  .observe-cov__pagesize {
    flex: 1 1 100%;
    max-width: none;
    width: 100%;
  }
  .observe-cov__search {
    font-size: 16px;
    line-height: 1.25;
    min-height: 2.125rem;
    padding-top: 0.42rem;
    padding-bottom: 0.42rem;
  }
  .observe-cov__lane,
  .observe-cov__status,
  .observe-cov__pagesize {
    font-size: 0.8125rem;
    min-height: 2.125rem;
  }
  .observe-cov__hint {
    font-size: 0.72rem;
    line-height: 1.45;
  }
  .observe-cov__layout {
    grid-template-columns: 1fr;
    height: auto;
    min-height: 0;
  }
  .observe-cov__nav {
    max-height: 11rem;
  }
  .observe-cov__nav-list {
    flex-direction: row;
    flex-wrap: wrap;
    align-content: flex-start;
    overflow-y: auto;
  }
  .observe-cov__lane-chip {
    flex: 1 1 calc(50% - .25rem);
    max-width: calc(50% - .125rem);
  }
  .observe-cov__detail {
    min-height: 16rem;
  }
  .observe-cov__lane-block .table-responsive {
    margin: 0;
    padding: 0.45rem 0.5rem 0.55rem;
    border: none;
    overflow: visible;
  }
  .observe-cov__table {
    display: block;
    font-size: 0.8125rem;
  }
  .observe-cov__table thead {
    display: none;
  }
  .observe-cov__table tbody {
    display: block;
  }
  .observe-cov__table tbody tr.observe-cov__row {
    display: grid;
    grid-template-areas:
      "industry"
      "edit"
      "actions";
    grid-template-columns: minmax(0, 1fr);
    gap: 0;
    margin-bottom: 0.55rem;
    padding: 0.72rem 0.75rem 0.65rem;
    border: 1px solid #e2e8f0;
    border-radius: 0.65rem;
    background: #fff;
    box-shadow: 0 2px 12px rgba(15, 23, 42, 0.04);
  }
  .observe-cov__table tbody tr.observe-cov__row > td {
    display: block;
    padding: 0;
    border: none;
    text-align: left;
  }
  .observe-cov__table tbody tr.observe-cov__row > td::before {
    display: none;
  }
  .observe-cov__industry {
    grid-area: industry;
    padding-bottom: 0.45rem;
    margin-bottom: 0.45rem;
    border-bottom: 1px solid #f1f5f9;
  }
  .observe-cov__industry-name {
    font-size: 0.9rem;
    line-height: 1.35;
  }
  .observe-cov__status-badge {
    display: inline-flex;
  }
  .observe-cov__meta-line {
    display: flex;
  }
  .observe-cov__stat,
  .observe-cov__last-run,
  .observe-cov__status-desktop {
    display: none !important;
  }
  .observe-cov__edit {
    grid-area: edit;
  }
  .observe-cov__field-label {
    display: block;
  }
  .observe-cov__field-input {
    font-size: 16px;
    line-height: 1.25;
    min-height: 2.125rem;
    padding: 0.4rem 0.55rem;
    margin-bottom: 0.45rem;
  }
  .observe-cov__field-input[name="observeBrandKeywords"] {
    margin-bottom: 0;
  }
  .observe-cov__keyword-row {
    margin-top: 0.2rem;
  }
  .observe-cov__save-btn {
    min-height: 2.125rem;
    font-size: 0.8125rem;
  }
  .observe-cov__actions {
    grid-area: actions;
    display: flex;
    flex-wrap: wrap;
    gap: 0.45rem;
    padding-top: 0.55rem;
    margin-top: 0.5rem;
    border-top: 1px solid #f1f5f9;
    white-space: normal;
  }
  .observe-cov__actions::before {
    display: none !important;
  }
  .observe-cov__actions form {
    flex: 1 1 calc(50% - 0.25rem);
    margin: 0;
    display: block;
  }
  .observe-cov__actions .btn {
    width: 100%;
    min-height: 2.25rem;
    font-size: 0.8125rem;
    padding: 0.38rem 0.55rem;
  }
}

@media (max-width: 575.98px) {
  .observe-cov__count {
    margin-left: 0;
    width: 100%;
  }
  .observe-cov__actions form {
    flex: 1 1 100%;
  }
}

@media (max-width: 575.98px) {
  .attr-detail__head {
    flex-direction: column;
  }
  .attr-detail__head-actions {
    width: 100%;
  }
}

/* ===== 分析报告 · 诊断任务列表（手机端覆盖，置于文件末尾以确保优先级） ===== */
@media (max-width: 767.98px) {
  .admin-body .admin-content:has(.diagnosis-list-page) {
    padding: 0.5rem 0.4rem 1rem;
  }

  .admin-body .admin-content .diagnosis-list-page .panel-card {
    padding: 0 !important;
    border: none !important;
    box-shadow: none !important;
    background: transparent !important;
  }

  .admin-body .admin-content .diagnosis-list-page .page-head {
    margin-bottom: 0.55rem !important;
  }

  .admin-body .admin-content .diagnosis-list-page .page-sub:not(.page-sub--meta) {
    font-size: 0.78rem;
    line-height: 1.5;
    padding: 0.45rem 0.58rem 0.45rem 0.52rem;
  }

  .admin-body .admin-content .diagnosis-list-page .list-toolbar--compact {
    margin-bottom: 0.45rem !important;
    padding: 0.55rem 0.6rem;
    border-radius: 0.55rem;
    background: #fff;
    border: 1px solid #e2e8f0;
    box-shadow: 0 1px 4px rgba(15, 23, 42, 0.04);
  }

  .admin-body .admin-content .diagnosis-list-page .list-toolbar-main {
    display: flex;
    flex-wrap: nowrap !important;
    align-items: stretch;
    gap: 0.45rem;
  }

  .admin-body .admin-content .diagnosis-list-page .list-toolbar-main .list-search {
    flex: 1 1 auto !important;
    min-width: 0;
    max-width: none;
    font-size: 16px;
    line-height: 1.25;
    min-height: 2.125rem;
    padding-top: 0.42rem;
    padding-bottom: 0.42rem;
  }

  .admin-body .admin-content .diagnosis-list-page .list-toolbar-main .btn {
    flex: 0 0 auto;
    min-width: 3.75rem;
    min-height: 2.25rem;
    font-size: 0.8125rem;
    padding-top: 0.38rem;
    padding-bottom: 0.38rem;
    padding-left: 0.85rem;
    padding-right: 0.85rem;
    align-self: stretch;
    line-height: 1.35;
  }

  .admin-body .admin-content .diagnosis-list-page .batch-delete-bar {
    margin-bottom: 0.5rem !important;
    padding: 0.45rem 0.55rem;
    border-radius: 0.5rem;
    background: #f8fafc;
    border: 1px solid #e2e8f0;
  }

  .admin-body .admin-content .diagnosis-list-page .diagnosis-table__headline {
    flex-direction: row;
    align-items: center;
    gap: 0.35rem 0.45rem;
  }

  .admin-body .admin-content .diagnosis-list-page .diagnosis-table__name {
    flex: 1 1 auto;
    min-width: 0;
  }

  .admin-body .admin-content .diagnosis-list-page .diagnosis-table__status-pill {
    display: inline-flex;
    flex-shrink: 0;
  }

  .admin-body .admin-content .diagnosis-list-page .diagnosis-table__theme {
    display: none !important;
  }

  .admin-body .admin-content .diagnosis-list-page .diagnosis-table__theme-inline {
    margin-top: 0.2rem;
    font-size: 0.75rem;
    line-height: 1.42;
    color: #64748b;
    display: -webkit-box;
    -webkit-line-clamp: 1;
    -webkit-box-orient: vertical;
    overflow: hidden;
  }

  .admin-body .admin-content .diagnosis-list-page .diagnosis-table__meta--type,
  .admin-body .admin-content .diagnosis-list-page .diagnosis-table__meta--priority,
  .admin-body .admin-content .diagnosis-list-page .diagnosis-table__meta--creator,
  .admin-body .admin-content .diagnosis-list-page .diagnosis-table__meta--created {
    display: none !important;
  }

  .admin-body .admin-content .diagnosis-list-page .diagnosis-table__meta-line {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 0;
    min-width: 0;
    margin-top: 0.08rem;
  }

  .admin-body .admin-content .diagnosis-list-page .diagnosis-table__status {
    display: none !important;
  }

  .admin-body .admin-content .diagnosis-list-page .diagnosis-table .table-actions {
    display: flex;
    gap: 0.45rem;
    width: 100%;
    align-items: stretch;
  }

  .admin-body .admin-content .diagnosis-list-page .diagnosis-table .table-actions > form.js-delete-form {
    flex: 1 1 calc(50% - 0.25rem);
    display: flex;
    margin: 0;
    min-width: 0;
  }

  .admin-body .admin-content .diagnosis-list-page .diagnosis-table .table-actions a.diagnosis-table__action,
  .admin-body .admin-content .diagnosis-list-page .diagnosis-table .table-actions button.diagnosis-table__action {
    flex: 1 1 calc(50% - 0.25rem);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 2.2rem;
    padding: 0.38rem 0.6rem;
    font-size: 0.8rem;
    font-weight: 600;
    border-radius: 0.45rem;
    border: 1px solid #e2e8f0;
    background: #fff;
    text-align: center;
    text-decoration: none;
    opacity: 1;
    width: 100%;
  }

  .admin-body .admin-content .diagnosis-list-page .diagnosis-table .table-actions a.diagnosis-table__action--primary {
    color: #fff !important;
    background: linear-gradient(180deg, #14b8a6 0%, #0d9488 100%);
    border-color: rgba(13, 148, 136, 0.35);
  }

  .admin-body .admin-content .diagnosis-list-page .diagnosis-table .table-actions a.diagnosis-table__action--primary:hover {
    text-decoration: none;
    color: #fff !important;
  }

  .admin-body .admin-content .diagnosis-list-page .diagnosis-table .table-actions button.diagnosis-table__action--danger {
    color: #dc2626 !important;
    background: #fafafa;
    border-color: #e2e8f0;
  }

  .admin-body .admin-content .diagnosis-list-page .list-pager {
    padding: 0.35rem 0.1rem 0;
    font-size: 0.78rem;
  }

  .admin-body .admin-content .diagnosis-list-page .list-meta {
    font-size: 0.78rem;
    color: #64748b;
  }
}

@media (max-width: 575.98px) {
  .admin-topbar .top-actions > a[title="安装"] {
    display: none;
  }
  .admin-topbar .top-actions .top-btn {
    padding: 0.38rem 0.42rem;
  }
  .admin-topbar .top-actions .top-btn .ico {
    font-size: 1rem;
  }
}

/* ===== 增长中心 · 卡片列表页（通用手机壳 + 操作按钮） ===== */
.hub-meta-chip {
  display: inline-flex;
  align-items: center;
  font-size: 0.72rem;
  font-weight: 600;
  color: #475569;
  padding: 0.14rem 0.45rem;
  border-radius: 999px;
  background: #f1f5f9;
  line-height: 1.35;
  max-width: 100%;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.hub-meta-chip--muted {
  font-weight: 500;
  color: #64748b;
  background: #f8fafc;
}
.hub-card-action {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  border: 0;
  background: transparent;
  cursor: pointer;
  font-size: 0.75rem;
  font-weight: 600;
}
.hub-card-action--primary { color: #0d9488; }
.hub-card-action--danger { color: #dc2626; }

.probe-index-table__headline {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 0.35rem 0.5rem;
}
.probe-index-table__status-pill {
  display: none;
  font-size: 0.72rem;
  font-weight: 650;
  padding: 0.12rem 0.45rem;
  border-radius: 999px;
  line-height: 1.35;
  white-space: nowrap;
}
.probe-index-table__status-pill--0 { color: #64748b; background: #f1f5f9; }
.probe-index-table__status-pill--1 { color: #2563eb; background: #eff6ff; }
.probe-index-table__status-pill--2 { color: #0f766e; background: #ecfdf5; }
.probe-index-table__status-pill--3 { color: #dc2626; background: #fef2f2; }

@media (max-width: 767.98px) {
  .admin-body .admin-content:has(.hub-card-list-page) {
    padding: 0.5rem 0.4rem 1rem;
  }

  .admin-body .admin-content .hub-card-list-page > .panel-card:not(.filter-bar),
  .admin-body .admin-content .hub-card-list-page .panel-card.probe-index,
  .admin-body .admin-content .hub-card-list-page .panel-card.geo-projects-panel {
    padding: 0 !important;
    border: none !important;
    box-shadow: none !important;
    background: transparent !important;
  }

  .admin-body .admin-content .hub-card-list-page .list-toolbar--compact {
    margin-bottom: 0.45rem !important;
    padding: 0.55rem 0.6rem;
    border-radius: 0.55rem;
    background: #fff;
    border: 1px solid #e2e8f0;
    box-shadow: 0 1px 4px rgba(15, 23, 42, 0.04);
  }

  .admin-body .admin-content .hub-card-list-page .list-toolbar-main {
    display: flex;
    flex-wrap: nowrap !important;
    align-items: stretch;
    gap: 0.45rem;
  }

  .admin-body .admin-content .hub-card-list-page .list-toolbar-main .list-search {
    flex: 1 1 auto !important;
    min-width: 0;
    max-width: none;
    font-size: 16px;
    line-height: 1.25;
    min-height: 2.125rem;
    padding-top: 0.42rem;
    padding-bottom: 0.42rem;
  }

  .admin-body .admin-content .hub-card-list-page .list-toolbar-main .list-filter,
  .admin-body .admin-content .hub-card-list-page .list-toolbar-main .form-select {
    flex: 1 1 auto;
    min-width: 0;
    max-width: none;
    font-size: 0.8125rem;
    min-height: 2.25rem;
    padding-top: 0.38rem;
    padding-bottom: 0.38rem;
    padding-left: 0.55rem;
    line-height: 1.35;
  }

  .admin-body .admin-content .hub-card-list-page .list-toolbar-main .btn {
    flex: 0 0 auto;
    min-width: 3.75rem;
    min-height: 2.05rem;
    font-size: 0.8125rem;
    padding-top: 0.38rem;
    padding-bottom: 0.38rem;
    padding-left: 0.85rem;
    padding-right: 0.85rem;
    align-self: stretch;
    line-height: 1.35;
  }

  .admin-body .admin-content .competitor-sample-page.hub-card-list-page .list-toolbar-main--sample,
  .admin-body .admin-content .competitor-sample-page.hub-card-list-page .video-list-toolbar__row {
    display: grid !important;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.45rem;
    overflow-x: visible !important;
    flex-wrap: wrap !important;
  }
  .admin-body .admin-content .competitor-sample-page.hub-card-list-page .list-toolbar-main--sample .list-search,
  .admin-body .admin-content .competitor-sample-page.hub-card-list-page .list-toolbar-main--sample .competitor-sample-search,
  .admin-body .admin-content .competitor-sample-page.hub-card-list-page .video-list-toolbar__search {
    grid-column: 1 / -1;
    width: 100% !important;
    max-width: none !important;
    min-width: 0 !important;
  }
  .admin-body .admin-content .competitor-sample-page.hub-card-list-page .list-toolbar-main--sample .form-select,
  .admin-body .admin-content .competitor-sample-page.hub-card-list-page .list-toolbar-main--sample .competitor-sample-theme,
  .admin-body .admin-content .competitor-sample-page.hub-card-list-page .video-list-toolbar__filter {
    width: 100% !important;
    max-width: none !important;
    min-width: 0 !important;
  }
  .admin-body .admin-content .competitor-sample-page.hub-card-list-page .competitor-sample-submit,
  .admin-body .admin-content .competitor-sample-page.hub-card-list-page .competitor-sample-reset {
    width: 100%;
    min-width: 0 !important;
    justify-content: center;
  }

  .admin-body .admin-content .hub-card-list-page .batch-delete-bar {
    margin-bottom: 0.5rem !important;
    padding: 0.45rem 0.55rem;
    border-radius: 0.5rem;
    background: #f8fafc;
    border: 1px solid #e2e8f0;
  }

  .admin-body .admin-content .hub-card-list-page .batch-delete-bar .btn-outline-danger {
    margin-left: auto;
    min-height: 2.25rem;
  }

  .admin-body .admin-content .hub-card-list-page .table-mobile-wrap {
    margin: 0;
  }

  .admin-body .admin-content .hub-card-list-page .list-pager,
  .admin-body .admin-content .hub-card-list-page .list-meta {
    padding: 0.35rem 0.1rem 0;
    font-size: 0.78rem;
    color: #64748b;
  }

  /* 操作区：等宽触控按钮 */
  .admin-body .admin-content .hub-card-list-page .table-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.45rem;
    width: 100%;
    align-items: stretch;
  }

  .admin-body .admin-content .hub-card-list-page .table-actions > a,
  .admin-body .admin-content .hub-card-list-page .table-actions > button,
  .admin-body .admin-content .hub-card-list-page .table-actions > form {
    flex: 1 1 calc(50% - 0.25rem);
    display: flex;
    margin: 0;
    min-width: 0;
  }

  .admin-body .admin-content .hub-card-list-page .table-actions > form .hub-card-action,
  .admin-body .admin-content .hub-card-list-page .table-actions > form .btn-delete-link,
  .admin-body .admin-content .hub-card-list-page .table-actions > form button {
    width: 100%;
  }

  .admin-body .admin-content .hub-card-list-page .table-actions .hub-card-action,
  .admin-body .admin-content .hub-card-list-page .table-actions a.hub-card-action,
  .admin-body .admin-content .hub-card-list-page .table-actions .btn-link-action,
  .admin-body .admin-content .hub-card-list-page .table-actions .btn-delete-link,
  .admin-body .admin-content .hub-card-list-page .table-actions .mobile-table-action,
  .admin-body .admin-content .hub-card-list-page .table-actions .sites-actions .btn-link-action,
  .admin-body .admin-content .hub-card-list-page .table-actions .geo-projects-table__action,
  .admin-body .admin-content .hub-card-list-page .table-actions .btn.btn-link {
    flex: 1 1 calc(50% - 0.25rem);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 2rem;
    padding: 0.32rem 0.55rem;
    font-size: 0.78rem;
    font-weight: 600;
    border-radius: 0.45rem;
    border: 1px solid #e2e8f0;
    background: #fff;
    text-align: center;
    text-decoration: none;
    opacity: 1;
    color: #475569;
    width: 100%;
  }

  .admin-body .admin-content .hub-card-list-page .table-actions .hub-card-action--primary,
  .admin-body .admin-content .hub-card-list-page .table-actions a.hub-card-action--primary,
  .admin-body .admin-content .hub-card-list-page .table-actions .btn-link-action.geo-projects-table__action--primary,
  .admin-body .admin-content .hub-card-list-page .table-actions .mobile-table-action--primary,
  .admin-body .admin-content .hub-card-list-page .table-actions .sites-actions .btn-link-action:first-child {
    color: #fff !important;
    background: linear-gradient(180deg, #14b8a6 0%, #0d9488 100%);
    border-color: rgba(13, 148, 136, 0.35);
  }

  .admin-body .admin-content .competitor-sample-page.hub-card-list-page .table-actions .hub-card-action--primary,
  .admin-body .admin-content .competitor-sample-page.hub-card-list-page .table-actions a.hub-card-action--primary {
    color: #0d9488 !important;
    background: #ecfdf5;
    border-color: #99f6e4;
  }

  .admin-body .admin-content .hub-card-list-page .table-actions .hub-card-action--danger,
  .admin-body .admin-content .hub-card-list-page .table-actions .btn-delete-link,
  .admin-body .admin-content .hub-card-list-page .table-actions .mobile-table-action--danger,
  .admin-body .admin-content .hub-card-list-page .table-actions .geo-projects-table__action--danger {
    color: #dc2626 !important;
    background: #fafafa;
    border-color: #e2e8f0;
  }

  .admin-body .admin-content .hub-card-list-page .table-actions a:hover,
  .admin-body .admin-content .hub-card-list-page .table-actions button:hover {
    text-decoration: none;
  }

  .admin-body .admin-content .hub-card-list-page .table-actions td::before,
  .admin-body .admin-content .hub-card-list-page td.td-actions::before,
  .admin-body .admin-content .hub-card-list-page td[class*="__actions"]::before {
    display: none !important;
  }

  /* 客户前台（app-body）卡片列表：与 admin 对齐的紧凑操作钮 */
  body.app-body .hub-card-list-page .list-toolbar-main .btn:not(.btn-link) {
    min-height: 2.05rem;
    padding-top: 0.32rem;
    padding-bottom: 0.32rem;
    font-size: 0.8125rem;
  }
  body.app-body .hub-card-list-page .table-actions .hub-card-action,
  body.app-body .hub-card-list-page .table-actions a.hub-card-action,
  body.app-body .hub-card-list-page .table-actions .btn-link-action,
  body.app-body .hub-card-list-page .table-actions .btn-delete-link,
  body.app-body .hub-card-list-page .table-actions .mobile-table-action,
  body.app-body .hub-card-list-page .table-actions .geo-projects-table__action,
  body.app-body .hub-card-list-page .table-actions .btn:not(.btn-link) {
    min-height: 2rem;
    padding: 0.32rem 0.55rem;
    font-size: 0.78rem;
  }

  /* 品牌可见度检测 */
  .admin-body .admin-content .probe-index-page .probe-index-table thead {
    display: none;
  }

  .admin-body .admin-content .probe-index-page .probe-index-table__headline {
    flex-direction: row;
    align-items: center;
    gap: 0.35rem 0.45rem;
  }

  .admin-body .admin-content .probe-index-page .probe-index-table__name {
    flex: 1 1 auto;
    min-width: 0;
  }

  .admin-body .admin-content .probe-index-page .probe-index-table__status-pill {
    display: inline-flex;
    flex-shrink: 0;
  }

  .admin-body .admin-content .probe-index-page .probe-index-table__engines,
  .admin-body .admin-content .probe-index-page .probe-index-table__mentions,
  .admin-body .admin-content .probe-index-page .probe-index-table__status,
  .admin-body .admin-content .probe-index-page .probe-index-table__time {
    display: none !important;
  }

  .admin-body .admin-content .probe-index-page .probe-index-table__meta-line {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 0;
    grid-area: meta;
    min-width: 0;
    margin-top: 0.08rem;
  }

  .admin-body .admin-content .probe-index-page .probe-index-table__meta-line::before {
    display: none !important;
  }

  .admin-body .admin-content .probe-index-page .probe-index-table__actions {
    grid-area: actions;
    display: block;
    padding-top: 0.45rem !important;
    margin-top: 0.35rem;
    border-top: 1px solid #f1f5f9;
  }

  .admin-body .admin-content .probe-index-page .probe-index-table__actions::before {
    display: none !important;
  }

  /* 主词页：筛选与竞品样本一致，单行横向滚动 */
  .admin-body .admin-content .theme-list-page .list-toolbar-main {
    flex-wrap: nowrap !important;
    overflow-x: auto;
    overflow-y: hidden;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: thin;
    padding-bottom: 0.12rem;
  }
  .admin-body .admin-content .theme-list-page .list-toolbar-main .list-search {
    flex: 1 1 9rem !important;
    min-width: 7rem;
    max-width: 14rem;
    width: auto;
  }
  .admin-body .admin-content .theme-list-page .list-toolbar-main .list-filter {
    flex: 0 1 8rem;
    min-width: 6rem;
    max-width: 10rem;
  }
  .admin-body .admin-content .theme-list-page .list-toolbar-main .btn {
    flex: 0 0 auto;
    min-width: 3.75rem;
  }

  .admin-body .admin-content .theme-list-page .theme-table__actions,
  .admin-body .admin-content .sites-page .sites-table__actions,
  .admin-body .admin-content .geo-projects-page .geo-projects-table__actions,
  .admin-body .admin-content .content-hub-list-page .content-hub-table__actions {
    padding-top: 0.45rem !important;
    margin-top: 0.35rem;
    border-top: 1px solid #f1f5f9;
  }

  .admin-body .admin-content .theme-list-page .theme-table__actions::before,
  .admin-body .admin-content .sites-page .sites-table__actions::before,
  .admin-body .admin-content .geo-projects-page .geo-projects-table__actions::before,
  .admin-body .admin-content .content-hub-list-page .content-hub-table__actions::before {
    display: none !important;
  }
}

/* ===== 卡片列表 · 信息行与勾选框（手机端细调） ===== */
.hub-meta-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.28rem 0.35rem;
  width: 100%;
}
.hub-meta-row + .hub-meta-row {
  margin-top: 0.22rem;
}
.hub-meta-chip--engine {
  max-width: 100%;
  flex: 1 1 auto;
  min-width: 0;
}

@media (max-width: 767.98px) {
  .diagnosis-list-page .diagnosis-table .batch-check-col input[type="checkbox"],
  .probe-index-page .probe-index-table .batch-check-col input[type="checkbox"],
  .hub-card-list-page .batch-check-col input[type="checkbox"] {
    width: 1.05rem;
    height: 1.05rem;
    margin-top: 0.05rem;
  }

  .diagnosis-list-page .diagnosis-table__meta-line::before,
  .probe-index-page .probe-index-table__meta-line::before {
    display: none !important;
  }

  .diagnosis-table__headline,
  .probe-index-table__headline {
    flex-direction: row;
    align-items: center;
    gap: 0.35rem 0.45rem;
  }

  .diagnosis-table__name,
  .probe-index-table__name {
    flex: 1 1 auto;
    min-width: 0;
    font-size: 0.86rem;
    line-height: 1.38;
  }

  .diagnosis-table__status-pill,
  .probe-index-table__status-pill {
    flex-shrink: 0;
    font-size: 0.68rem;
    padding: 0.1rem 0.4rem;
  }
}

/* 手机 · 列表筛选条：搜索 14px，下拉/按钮 13px */
@media (max-width: 767.98px) {
  .list-toolbar--compact .list-toolbar-main .list-filter,
  .list-toolbar--compact .list-toolbar-main select.form-select,
  .list-toolbar--compact .list-toolbar-main .form-select-sm {
    font-size: 0.8125rem !important;
    min-height: 2.25rem;
    padding-top: 0.38rem;
    padding-bottom: 0.38rem;
    padding-left: 0.55rem;
    line-height: 1.35;
  }

  .list-toolbar--compact .list-toolbar-main .btn {
    font-size: 0.8125rem;
    min-height: 2.25rem;
    padding-top: 0.38rem;
    padding-bottom: 0.38rem;
    line-height: 1.35;
  }

  .list-toolbar--compact .list-toolbar-main .list-search,
  .list-toolbar--compact .list-toolbar-main input[type="search"] {
    font-size: 0.875rem !important;
    line-height: 1.3 !important;
    min-height: 2rem !important;
    padding-top: 0.35rem !important;
    padding-bottom: 0.35rem !important;
  }

  .list-toolbar--compact .list-toolbar-main .list-filter,
  .list-toolbar--compact .list-toolbar-main select.form-select,
  .list-toolbar--compact .list-toolbar-main .form-select-sm {
    font-size: 0.8125rem !important;
    min-height: 2rem !important;
    padding-top: 0.34rem !important;
    padding-bottom: 0.34rem !important;
    line-height: 1.35 !important;
  }

  .filter-bar .form-select,
  .filter-bar .form-select-sm,
  .filter-bar__field .form-select {
    font-size: 0.8125rem !important;
    min-height: 2.25rem;
    padding-top: 0.38rem;
    padding-bottom: 0.38rem;
    padding-left: 0.55rem;
    line-height: 1.35;
  }

  .filter-bar .form-control:not(.form-select),
  .filter-bar input[type="search"] {
    font-size: 16px;
    line-height: 1.25;
    min-height: 2.125rem;
    padding-top: 0.42rem;
    padding-bottom: 0.42rem;
  }

  .filter-bar .form-label,
  .filter-bar .form-label.small,
  .filter-bar__label {
    font-size: 0.72rem;
    margin-bottom: 0.15rem;
  }

  .filter-bar__actions .btn {
    min-height: 2.25rem;
    font-size: 0.8125rem;
  }
}

/* 手机 · 全站表单兜底：键盘输入 16px（防 iOS 缩放），下拉 13px，统一行高与内边距 */
@media (max-width: 767.98px) {
  :where(.app-body, .admin-body) :is(
    select.form-control,
    select.form-select,
    .form-select,
    .form-select-sm,
    .list-filter
  ) {
    font-size: 0.8125rem !important;
    line-height: 1.35 !important;
    padding-top: 0.4rem !important;
    padding-bottom: 0.4rem !important;
    min-height: 2.125rem !important;
  }

  :where(.app-body, .admin-body) :is(
    input.form-control:not([type]),
    input.form-control[type="text"],
    input.form-control[type="email"],
    input.form-control[type="url"],
    input.form-control[type="tel"],
    input.form-control[type="number"],
    input.form-control[type="password"],
    textarea.form-control
  ) {
    font-size: 16px !important;
    line-height: 1.25 !important;
    padding-top: 0.42rem !important;
    padding-bottom: 0.42rem !important;
    min-height: 2.125rem !important;
  }

  /* 列表筛选条搜索框由上方 --gh-toolbar-* 统一，此处排除 */
  :where(.app-body, .admin-body) .list-toolbar :is(
    input.form-control[type="search"],
    input.list-search
  ),
  :where(.app-body, .admin-body) .filter-bar input[type="search"] {
    font-size: var(--gh-toolbar-input-fs, 0.875rem) !important;
    line-height: 1.3 !important;
    min-height: var(--gh-toolbar-control-h, 2rem) !important;
    padding-top: var(--gh-toolbar-pad-y, 0.35rem) !important;
    padding-bottom: var(--gh-toolbar-pad-y, 0.35rem) !important;
  }

  /* 对话输入区保持 14px，避免与气泡字号不协调 */
  .agent-workspace .composer-input,
  .agent-workspace .composer-bar--multiline .composer-textarea {
    font-size: 14px !important;
    line-height: 1.4 !important;
    padding-top: 0 !important;
    padding-bottom: 0 !important;
    min-height: unset !important;
  }

  /* 会员/账号资料表单：14px，比全站 16px 更紧凑 */
  :where(.app-body, .admin-body) .member-input.form-control,
  :where(.app-body, .admin-body) .admin-account-stack .form-control {
    font-size: 0.875rem !important;
    line-height: 1.35 !important;
    min-height: 2.125rem !important;
    padding-top: 0.38rem !important;
    padding-bottom: 0.38rem !important;
  }
}

/* 主题列表 · 手机端表格块级布局兜底（防 table/colgroup 挤压竖排） */
@media (max-width: 767.98px) {
  .theme-list-page .theme-table-wrap {
    overflow: visible !important;
  }
  .theme-list-page .theme-table {
    display: block !important;
    min-width: 0 !important;
    width: 100% !important;
  }
  .theme-list-page .theme-table colgroup,
  .theme-list-page .theme-table thead {
    display: none !important;
  }
  .theme-list-page .theme-table tbody {
    display: block !important;
  }
  .theme-list-page .theme-table tbody tr.theme-table__row > td {
    width: auto !important;
    max-width: none !important;
    min-width: 0 !important;
  }

  .admin-body .admin-content .theme-list-page .theme-table__actions .hub-card-action--primary {
    color: #0d9488 !important;
    background: #f0fdfa !important;
    border-color: #99f6e4 !important;
  }
  .admin-body .admin-content .theme-list-page .theme-table__actions .hub-card-action--danger,
  .admin-body .admin-content .theme-list-page .theme-table__actions .btn-delete-link {
    color: #dc2626 !important;
    background: #fff !important;
    border-color: #fecaca !important;
  }

  .sites-page.mobile-list-page .sites-table {
    display: block !important;
    min-width: 0 !important;
    width: 100% !important;
  }
  .sites-page.mobile-list-page .sites-table thead {
    display: none !important;
  }
  .sites-page.mobile-list-page .sites-table tbody {
    display: block !important;
  }
  .sites-page.mobile-list-page .sites-table tbody tr.sites-table__row > td {
    width: auto !important;
    max-width: none !important;
    min-width: 0 !important;
  }
}

/* 手机 · 全站列表筛选条统一：字号 / 行高 / 布局（下拉与按钮 13px） */
@media (max-width: 767.98px) {
  :where(.app-body, .admin-body) {
    --gh-toolbar-input-fs: 0.875rem;
    --gh-toolbar-select-fs: 0.8125rem;
    --gh-toolbar-btn-fs: 0.8125rem;
    --gh-toolbar-control-h: 2rem;
    --gh-toolbar-pad-y: 0.35rem;
    --gh-toolbar-pad-x: 0.5rem;
  }

  :where(.app-body, .admin-body) .list-toolbar .list-toolbar-main {
    display: flex;
    align-items: stretch;
    gap: 0.45rem;
    flex-wrap: wrap;
  }

  /* 仅搜索 + 按钮：单行横排，防止「检索」竖排 */
  :where(.app-body, .admin-body) .list-toolbar .list-toolbar-main:not(:has(.list-filter, .form-select, select)) {
    flex-wrap: nowrap;
  }
  :where(.app-body, .admin-body) .list-toolbar .list-toolbar-main:not(:has(.list-filter, .form-select, select)) :is(
    .list-search,
    input.form-control-sm[type="search"],
    input.list-search[type="search"],
    input[type="search"].form-control
  ) {
    flex: 1 1 auto !important;
    width: auto !important;
    max-width: none !important;
    min-width: 0 !important;
  }
  :where(.app-body, .admin-body) .list-toolbar .list-toolbar-main:not(:has(.list-filter, .form-select, select)) :is(
    .btn,
    .btn-link
  ) {
    flex: 0 0 auto !important;
    white-space: nowrap !important;
    min-width: 3.25rem !important;
    flex-shrink: 0 !important;
  }

  /* 含下拉：搜索独占一行 */
  :where(.app-body, .admin-body) .list-toolbar .list-toolbar-main:has(.list-filter, .form-select, select) :is(
    .list-search,
    input[type="search"]
  ) {
    flex: 1 1 100% !important;
    width: 100% !important;
  }

  :where(.app-body, .admin-body) .list-toolbar :is(
    .list-search,
    input.form-control-sm[type="search"],
    input.list-search[type="search"],
    input[type="search"].form-control:not(.form-select)
  ) {
    font-size: var(--gh-toolbar-input-fs) !important;
    line-height: 1.3 !important;
    min-height: var(--gh-toolbar-control-h) !important;
    height: auto !important;
    padding: var(--gh-toolbar-pad-y) var(--gh-toolbar-pad-x) !important;
    font-weight: 400 !important;
  }

  :where(.app-body, .admin-body) .list-toolbar :is(
    .list-search,
    input[type="search"]
  )::placeholder {
    color: #94a3b8;
    font-weight: 400;
  }

  :where(.app-body, .admin-body) .list-toolbar :is(
    .list-filter,
    select.form-select,
    select.form-select-sm,
    .form-select-sm
  ) {
    font-size: var(--gh-toolbar-select-fs) !important;
    line-height: 1.35 !important;
    min-height: var(--gh-toolbar-control-h) !important;
    height: auto !important;
    padding: 0.34rem 0.5rem !important;
  }

  :where(.app-body, .admin-body) .list-toolbar .list-toolbar-main :is(.btn, .btn-link) {
    font-size: var(--gh-toolbar-btn-fs) !important;
    line-height: 1.35 !important;
    min-height: var(--gh-toolbar-control-h) !important;
    padding: 0.34rem 0.75rem !important;
    white-space: nowrap !important;
  }

  :where(.app-body, .admin-body) .filter-bar :is(
    input[type="search"],
    .form-control:not(.form-select)
  ) {
    font-size: var(--gh-toolbar-input-fs) !important;
    line-height: 1.3 !important;
    min-height: var(--gh-toolbar-control-h) !important;
    padding: var(--gh-toolbar-pad-y) var(--gh-toolbar-pad-x) !important;
  }

  :where(.app-body, .admin-body) .filter-bar :is(
    .form-select,
    .form-select-sm
  ) {
    font-size: var(--gh-toolbar-select-fs) !important;
    min-height: var(--gh-toolbar-control-h) !important;
  }

  .sites-page.hub-card-list-page:not(.competitor-sample-page) .list-toolbar-main.list-toolbar-main--sample {
    flex-wrap: nowrap !important;
    overflow-x: auto;
  }
  .sites-page.hub-card-list-page:not(.competitor-sample-page) .list-toolbar-main--sample .list-search,
  .sites-page.hub-card-list-page:not(.competitor-sample-page) .list-toolbar-main--sample input[type="search"] {
    flex: 1 1 9rem !important;
    max-width: 14rem !important;
    width: auto !important;
  }
  .competitor-sample-page.sites-page.hub-card-list-page .list-toolbar-main--sample,
  .competitor-sample-page.sites-page.hub-card-list-page .video-list-toolbar__row {
    display: grid !important;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.45rem;
    overflow-x: visible !important;
    flex-wrap: wrap !important;
  }
  .competitor-sample-page.sites-page.hub-card-list-page .list-toolbar-main--sample .list-search,
  .competitor-sample-page.sites-page.hub-card-list-page .list-toolbar-main--sample input[type="search"],
  .competitor-sample-page.sites-page.hub-card-list-page .competitor-sample-search,
  .competitor-sample-page.sites-page.hub-card-list-page .video-list-toolbar__search {
    grid-column: 1 / -1;
    width: 100% !important;
    max-width: none !important;
    min-width: 0 !important;
    flex: none !important;
    box-sizing: border-box;
  }
}

/* 建站项目列表 · 手机端表格块级布局兜底 */
@media (max-width: 767.98px) {
  .geo-projects-page .geo-projects-table {
    display: block !important;
    min-width: 0 !important;
    width: 100% !important;
  }
  .geo-projects-page .geo-projects-table thead {
    display: none !important;
  }
  .geo-projects-page .geo-projects-table tbody {
    display: block !important;
  }
  .geo-projects-page .geo-projects-table tbody tr.geo-projects-table__row > td {
    width: auto !important;
    max-width: none !important;
    min-width: 0 !important;
  }
  .geo-projects-toolbar__mode {
    flex: 1 1 auto !important;
    max-width: none;
    min-width: 0;
    width: auto !important;
  }
}

/* 账号设置 · 手机端表单与信息卡 */
@media (max-width: 767.98px) {
  .admin-body .admin-content:has(.admin-account-stack) {
    padding: 0.45rem 0.4rem 1rem;
  }

  .admin-content .admin-account-stack {
    padding: 0;
  }
  .admin-content .admin-account-stack .page-head {
    margin-bottom: 0.55rem;
    padding: 0 0.15rem;
  }
  .admin-content .admin-account-stack .page-sub:not(.page-sub--meta) {
    font-size: 0.72rem;
    line-height: 1.5;
    padding: 0;
    border: none;
    background: transparent;
  }
  .admin-content .admin-account-stack .page-sub.page-sub--meta {
    font-size: 0.72rem;
    line-height: 1.45;
    color: #64748b;
  }
  .admin-content .admin-account-stack .member-hub-card,
  .admin-content .admin-account-stack .member-panel {
    padding: 0.7rem 0.65rem;
    margin-bottom: 0.5rem;
    border-radius: 0.65rem;
  }
  .admin-content .admin-account-stack .member-hub-card .card-body,
  .admin-content .admin-account-stack .member-panel .card-body {
    padding: 0 !important;
  }
  .admin-content .admin-account-stack .member-panel__title,
  .admin-content .admin-account-stack .h6 {
    font-size: 0.92rem;
    margin-bottom: 0.35rem;
  }
  .admin-content .admin-account-stack .mb-3 {
    margin-bottom: 0.65rem !important;
  }
  .admin-content .admin-account-stack .member-profile-split {
    gap: 0.75rem;
  }
  .admin-content .admin-account-stack .form-label {
    font-size: 0.75rem;
    font-weight: 600;
    color: #64748b;
    margin-bottom: 0.28rem;
  }
  .admin-content .admin-account-stack .form-text {
    font-size: 0.68rem;
    line-height: 1.45;
    margin-top: 0.22rem;
  }
  .admin-content .admin-account-stack .member-input.form-control,
  .admin-content .admin-account-stack input.form-control.member-input,
  .admin-content .admin-account-stack .ops-customer-pick__toggle {
    font-size: 0.875rem !important;
    line-height: 1.35 !important;
    min-height: 2.125rem !important;
    height: auto !important;
    padding: 0.38rem 0.55rem !important;
  }
  .admin-content .admin-account-stack .member-info-list--boxed {
    padding: 0.45rem 0.55rem;
    border-radius: 0.55rem;
  }
  .admin-content .admin-account-stack .member-info-list__row {
    padding: 0.4rem 0;
  }
  .admin-content .admin-account-stack .member-info-list__row dt {
    font-size: 0.68rem;
    margin-bottom: 0.12rem;
  }
  .admin-content .admin-account-stack .member-info-list__row dd {
    font-size: 0.8rem;
    line-height: 1.45;
    font-weight: 500;
  }
  .admin-content .admin-account-stack .member-action-bar {
    display: flex;
    flex-wrap: wrap;
    gap: 0.4rem;
  }
  .admin-content .admin-account-stack .member-action-bar .btn {
    flex: 1 1 calc(50% - 0.2rem);
    min-height: 2.15rem;
    font-size: 0.78rem;
    justify-content: center;
  }
  .admin-content .admin-account-stack .member-form-inline__btn {
    width: 100%;
    min-height: 2.25rem;
    margin-top: 0.15rem;
  }
  .admin-content .admin-account-stack .member-form-inline__field {
    width: 100%;
    min-width: 0 !important;
  }
}

/* 脚本画像库（原视频爆款特征） */
.video-studio-admin-page .vsa-form-head {
  margin-bottom: 0.85rem;
  padding-bottom: 0.65rem;
  border-bottom: 1px solid #f1f5f9;
}
.video-studio-admin-page .vsa-form-head__title {
  margin: 0 0 0.2rem;
  font-size: 0.95rem;
  font-weight: 700;
  color: #0f172a;
  line-height: 1.35;
}
.video-studio-admin-page .vsa-form-head__hint {
  margin: 0;
  font-size: 0.75rem;
  color: #94a3b8;
  line-height: 1.45;
}
.video-studio-admin-page .vsa-form-section {
  margin: 0 0 0.85rem;
  padding: 0;
  border: 0;
}
.video-studio-admin-page .vsa-form-section--last {
  margin-bottom: 0.65rem;
}
.video-studio-admin-page .vsa-form-section__label {
  display: block;
  width: 100%;
  margin: 0 0 0.45rem;
  padding: 0;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: #0d9488;
  line-height: 1.3;
  float: none;
}
.video-studio-admin-page .vsa-form-advanced {
  margin: 0 0 0.85rem;
  border: 1px solid #e8edf3;
  border-radius: 0.6rem;
  background: #fafbfc;
  overflow: hidden;
}
.video-studio-admin-page .vsa-form-advanced__toggle {
  display: flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.55rem 0.65rem;
  font-size: 0.78rem;
  font-weight: 600;
  color: #475569;
  cursor: pointer;
  list-style: none;
  user-select: none;
}
.video-studio-admin-page .vsa-form-advanced__toggle::-webkit-details-marker {
  display: none;
}
.video-studio-admin-page .vsa-form-advanced__toggle::before {
  content: "▸";
  font-size: 0.72rem;
  color: #94a3b8;
  transition: transform 0.15s ease;
}
.video-studio-admin-page .vsa-form-advanced[open] .vsa-form-advanced__toggle::before {
  transform: rotate(90deg);
}
.video-studio-admin-page .vsa-form-advanced__body {
  padding: 0 0.65rem 0.65rem;
  border-top: 1px solid #eef2f6;
}
.video-studio-admin-page .vsa-form-flags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
  margin-bottom: 0.75rem;
}
.video-studio-admin-page .vsa-form-flag {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  margin: 0;
  padding: 0.35rem 0.65rem;
  border-radius: 999px;
  border: 1px solid #e2e8f0;
  background: #fff;
  font-size: 0.78rem;
  font-weight: 600;
  color: #334155;
  cursor: pointer;
}
.video-studio-admin-page .vsa-form-flag--warn {
  border-color: #fecaca;
  background: #fffbfb;
  color: #b91c1c;
}
.video-studio-admin-page .vsa-form-flag .form-check-input {
  margin: 0;
  float: none;
}
.video-studio-admin-page .vsa-list-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
  margin-bottom: 0.55rem;
  padding: 0 0.05rem;
}
.video-studio-admin-page .vsa-list-head__title {
  margin: 0;
  font-size: 0.9rem;
  font-weight: 700;
  color: #0f172a;
}
.video-studio-admin-page .vsa-list-head__count {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 1.5rem;
  height: 1.5rem;
  padding: 0 0.4rem;
  border-radius: 999px;
  font-size: 0.72rem;
  font-weight: 700;
  color: #0f766e;
  background: #ecfdf5;
}
.video-studio-admin-page .vsa-feature-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 0.45rem;
}
.video-studio-admin-page .vsa-feature-title {
  font-size: 0.9rem;
  font-weight: 650;
  color: #0f172a;
  line-height: 1.4;
  word-break: break-word;
}
.video-studio-admin-page .vsa-feature-code:not(.vsc-tag) {
  margin-top: 0.15rem;
  font-size: 0.72rem;
  color: #475569;
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
}
.video-studio-admin-page .vsa-feature-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.3rem;
  margin-top: 0.45rem;
}
.video-studio-admin-page .vsa-status-pill {
  flex-shrink: 0;
  font-size: 0.68rem;
  font-weight: 650;
  padding: 0.12rem 0.45rem;
  border-radius: 999px;
  line-height: 1.35;
  white-space: nowrap;
}
.video-studio-admin-page .vsa-status--on {
  color: #0f766e;
  background: #ecfdf5;
}
.video-studio-admin-page .vsa-status--off {
  color: #64748b;
  background: #f1f5f9;
}
.video-studio-admin-page .vsa-status--blocked {
  color: #b91c1c;
  background: #fef2f2;
}
.video-studio-admin-page .video-studio-admin-list--portraits.panel-card {
  background: #fff;
  border-color: #e2e8f0;
}
.video-studio-admin-page .vsa-portrait-list-head {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  padding: 0.95rem 1.25rem;
  border-bottom: 1px solid #e2e8f0;
}
.video-studio-admin-page .vsa-portrait-list-head__title {
  margin: 0;
  font-size: 0.9375rem;
  font-weight: 600;
  color: #0f172a;
}
.video-studio-admin-page .vsa-portrait-list-head__count {
  font-size: 0.8125rem;
  font-weight: 600;
  color: #64748b;
  margin-left: 0.35rem;
}
.video-studio-admin-page .vsa-portrait-list-head__main {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.5rem 0.75rem;
  min-width: 0;
}
.video-studio-admin-page .vsa-portrait-scope {
  margin: 0;
  flex: 0 1 auto;
}
.video-studio-admin-page .vsa-portrait-scope .form-select {
  min-width: 9.5rem;
  max-width: 16rem;
  font-size: 0.8125rem;
}
.video-studio-admin-page .vsa-portrait-scope__current {
  padding: 0.25rem 0.5rem;
  border-radius: 0.375rem;
  background: #f1f5f9;
}
.video-studio-admin-page .vsa-portrait-hint {
  padding: 0.55rem 1.25rem 0.75rem;
  font-size: 0.75rem;
  color: #64748b;
  line-height: 1.45;
  border-bottom: 1px solid #f1f5f9;
}
.video-studio-admin-page .vsa-portrait-table thead th {
  font-size: 0.75rem;
  font-weight: 600;
  color: #64748b;
  background: #fafbfc;
  border-bottom: 1px solid #e2e8f0;
  padding: 0.75rem 1.25rem;
  white-space: nowrap;
}
.video-studio-admin-page .vsa-portrait-table tbody td {
  padding: 0.9rem 1.25rem;
  vertical-align: middle;
}
.video-studio-admin-page .vsa-portrait-table tbody tr:hover {
  background: #f8fafc;
}
.video-studio-admin-page .vsa-actions.table-actions {
  justify-content: flex-end;
  gap: 0.75rem;
}
.video-studio-admin-page .vsa-actions form {
  display: inline;
  margin: 0;
}
.video-studio-admin-page .vsa-actions button.btn-link-action {
  border: 0;
  background: none;
  padding: 0;
  font-size: 0.8125rem;
  font-weight: 500;
  color: var(--admin-accent, #0f766e);
  cursor: pointer;
}
.video-studio-admin-page .vsa-actions button.btn-link-action:hover {
  text-decoration: underline;
}
@media (min-width: 768px) {
  .video-studio-admin-page .vsa-feature-meta {
    display: none;
  }
  .video-studio-admin-page .vsa-feature-head .vsa-status-pill {
    display: none;
  }
}
.video-studio-admin-page .video-studio-admin-empty {
  padding: 1.25rem 0.75rem;
  text-align: center;
}
.video-studio-admin-page .video-studio-admin-empty__title {
  font-size: 0.88rem;
  font-weight: 650;
  color: #64748b;
  margin-bottom: 0.25rem;
}
.video-studio-admin-page .video-studio-admin-empty__hint {
  font-size: 0.72rem;
  color: #94a3b8;
  line-height: 1.45;
}
.video-studio-admin-page .vsa-form-section .vsa-form-admin-ids {
  margin-top: 0.55rem;
  margin-bottom: 0;
}

.video-studio-admin-page .video-studio-admin-scope-bar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.5rem 0.75rem;
  margin-bottom: 0.75rem;
  padding: 0.65rem 0.85rem;
  border-radius: 0.55rem;
  background: #fff;
  border: 1px solid #e8edf3;
  box-shadow: 0 1px 4px rgba(15, 23, 42, 0.03);
}
.video-studio-admin-page .video-studio-admin-scope-bar__label {
  margin: 0;
  font-size: 0.8125rem;
  font-weight: 600;
  color: #475569;
  white-space: nowrap;
}
.video-studio-admin-page .video-studio-admin-scope-bar__select {
  min-width: 11rem;
  max-width: 22rem;
  flex: 1 1 11rem;
}
.video-studio-admin-page .video-studio-admin-scope-bar__current {
  display: inline-flex;
  align-items: center;
  padding: 0.35rem 0.65rem;
  border-radius: 0.375rem;
  background: #f1f5f9;
  color: #0f172a;
  font-size: 0.875rem;
  font-weight: 600;
}
.video-studio-admin-page .video-studio-admin-scope-bar__hint {
  flex: 1 1 100%;
  margin: 0;
  line-height: 1.4;
}
@media (min-width: 768px) {
  .video-studio-admin-page .video-studio-admin-scope-bar__hint {
    flex: 0 1 auto;
    margin-left: auto;
  }
}

@media (max-width: 767.98px) {
  .admin-body .admin-content:has(.video-studio-admin-page) {
    padding: 0.4rem 0.35rem 1rem;
  }

  .video-studio-admin-page .page-head {
    margin-bottom: 0.5rem !important;
    gap: 0.3rem;
  }
  .video-studio-admin-page .page-title {
    font-size: 1rem;
    line-height: 1.35;
  }
  .video-studio-admin-page .page-sub:not(.page-sub--meta) {
    font-size: 0.72rem;
    line-height: 1.5;
    padding: 0.45rem 0.58rem 0.45rem 0.52rem;
  }
  .video-studio-admin-page .page-sub.page-sub--meta {
    font-size: 0.72rem;
    line-height: 1.45;
    color: #64748b;
  }

  .video-studio-admin-page .video-studio-admin-toolbar.list-toolbar--compact {
    margin-bottom: 0.45rem !important;
    padding: 0.5rem 0.55rem !important;
    border-radius: 0.55rem;
    background: #fff;
    border: 1px solid #e8edf3;
    box-shadow: 0 1px 4px rgba(15, 23, 42, 0.03);
  }
  .video-studio-admin-page .video-studio-admin-toolbar .list-toolbar-main {
    flex-direction: column;
    align-items: stretch;
    gap: 0.3rem;
  }
  .video-studio-admin-page .video-studio-admin-toolbar__label {
    font-size: 0.7rem;
    margin-bottom: 0;
    color: #64748b;
    font-weight: 600;
  }
  .video-studio-admin-page .video-studio-admin-toolbar__row {
    display: flex !important;
    flex-direction: row !important;
    flex-wrap: nowrap !important;
    align-items: stretch;
    gap: 0.35rem;
    width: 100%;
  }
  .video-studio-admin-page .video-studio-admin-toolbar__row .video-studio-admin-toolbar__input {
    flex: 1 1 0 !important;
    min-width: 0 !important;
    width: auto !important;
    max-width: none !important;
  }
  .video-studio-admin-page .video-studio-admin-toolbar__btn {
    flex: 0 0 auto;
    align-self: stretch;
    display: inline-flex;
    align-items: center;
    justify-content: center;
  }
  .video-studio-admin-page .video-studio-admin-toolbar__input {
    flex: 1 1 auto;
    min-width: 0;
    max-width: none !important;
    width: auto !important;
    font-size: 0.875rem !important;
    min-height: 2rem !important;
    padding-top: 0.35rem !important;
    padding-bottom: 0.35rem !important;
    border-color: #e2e8f0;
    border-radius: 0.45rem;
  }
  .video-studio-admin-page .video-studio-admin-toolbar__btn {
    flex: 0 0 auto;
    min-height: 2rem !important;
    font-size: 0.8125rem;
    padding-left: 0.8rem;
    padding-right: 0.8rem;
    white-space: nowrap;
    border-radius: 0.45rem;
  }

  .video-studio-admin-page .video-studio-admin-form.panel-card {
    padding: 0.7rem 0.65rem !important;
    margin-bottom: 0.5rem !important;
    border-radius: 0.65rem;
    border-color: #e8edf3;
    box-shadow: 0 2px 10px rgba(15, 23, 42, 0.04);
  }
  .video-studio-admin-page .vsa-form-head {
    margin-bottom: 0.65rem;
    padding-bottom: 0.55rem;
  }
  .video-studio-admin-page .vsa-form-head__title {
    font-size: 0.88rem;
  }
  .video-studio-admin-page .vsa-form-head__hint {
    font-size: 0.68rem;
  }
  .video-studio-admin-page .vsa-form-section {
    margin-bottom: 0.65rem;
    padding: 0.55rem 0.55rem 0.15rem;
    border-radius: 0.55rem;
    background: linear-gradient(180deg, #fafbfc 0%, #fff 100%);
    border: 1px solid #f1f5f9;
  }
  .video-studio-admin-page .vsa-form-section--last {
    margin-bottom: 0.55rem;
  }
  .video-studio-admin-page .vsa-form-section__label {
    font-size: 0.68rem;
    margin-bottom: 0.4rem;
  }
  .video-studio-admin-page .video-studio-admin-form .form-label {
    font-size: 0.7rem;
    margin-bottom: 0.18rem;
    color: #64748b;
    font-weight: 600;
  }
  .video-studio-admin-page .video-studio-admin-form .form-control,
  .video-studio-admin-page .video-studio-admin-form textarea.form-control {
    font-size: 0.875rem !important;
    line-height: 1.35 !important;
    min-height: 2rem !important;
    padding: 0.34rem 0.48rem !important;
    border-color: #e2e8f0;
    border-radius: 0.45rem;
    background: #fff;
  }
  .video-studio-admin-page .video-studio-admin-form .form-control::placeholder {
    color: #cbd5e1;
    font-size: 0.8rem;
  }
  .video-studio-admin-page .video-studio-admin-form .row.g-2,
  .video-studio-admin-page .video-studio-admin-form .vsa-form-grid {
    --bs-gutter-y: 0.4rem;
    --bs-gutter-x: 0.4rem;
  }
  .video-studio-admin-page .vsa-form-advanced {
    margin-bottom: 0.55rem;
  }
  .video-studio-admin-page .vsa-form-flags {
    margin-bottom: 0.6rem;
  }
  .video-studio-admin-page .vsa-form-submit .btn {
    width: 100%;
    min-height: 2.3rem;
    font-size: 0.8125rem;
    font-weight: 650;
    border-radius: 0.5rem;
    box-shadow: 0 2px 8px rgba(13, 148, 136, 0.18);
  }

  .video-studio-admin-page .video-studio-admin-list.panel-card:not(.video-studio-admin-list--portraits) {
    padding: 0.55rem 0.45rem !important;
    background: transparent !important;
    border: none !important;
    box-shadow: none !important;
  }
  .video-studio-admin-page .video-studio-admin-list--portraits.panel-card {
    padding: 0 !important;
    background: #fff !important;
    border: 1px solid #e8edf3 !important;
    box-shadow: 0 2px 10px rgba(15, 23, 42, 0.04) !important;
    border-radius: 0.65rem;
  }
  .video-studio-admin-page .vsa-portrait-list-head {
    padding: 0.85rem 1rem !important;
  }
  .video-studio-admin-page .vsa-portrait-hint {
    padding: 0 1rem 0.65rem !important;
  }
  .video-studio-admin-page .vsa-list-head {
    margin-bottom: 0.45rem;
    padding: 0 0.1rem;
  }
  .video-studio-admin-page .vsa-list-head__title {
    font-size: 0.85rem;
  }
  .video-studio-admin-page .video-studio-admin-table {
    display: block !important;
    min-width: 0 !important;
    width: 100% !important;
  }
  .video-studio-admin-page .video-studio-admin-table colgroup,
  .video-studio-admin-page .video-studio-admin-table thead {
    display: none !important;
  }
  .video-studio-admin-page .video-studio-admin-table tbody {
    display: block !important;
  }
  .video-studio-admin-page .video-studio-admin-table tbody tr.video-studio-admin-feature-row {
    display: flex;
    flex-direction: column;
    margin-bottom: 0.45rem;
    padding: 0.7rem 0.72rem 0.6rem;
    border: 1px solid #e8edf3;
    border-radius: 0.65rem;
    background: #fff;
    box-shadow: 0 2px 10px rgba(15, 23, 42, 0.04);
  }
  .video-studio-admin-page .video-studio-admin-table tbody tr.video-studio-admin-feature-row td.vsa-cell--hide-mobile {
    display: none !important;
  }
  .video-studio-admin-page .video-studio-admin-table tbody tr.video-studio-admin-feature-row td.vsa-cell--title {
    display: block;
    order: -1;
    padding: 0;
    border: none;
    margin-bottom: 0;
  }
  .video-studio-admin-page .video-studio-admin-table tbody tr.video-studio-admin-feature-row td.vsa-cell--title::before {
    display: none;
  }
  .video-studio-admin-page .video-studio-admin-table tbody tr.video-studio-admin-feature-row td.vsa-cell--actions {
    display: block;
    order: 99;
    padding: 0.5rem 0 0;
    margin-top: 0.45rem;
    border-top: 1px solid #f1f5f9;
    grid-template-columns: unset;
  }
  .video-studio-admin-page .video-studio-admin-table tbody tr.video-studio-admin-feature-row td.vsa-cell--actions::before {
    display: none;
  }
  .video-studio-admin-page .video-studio-admin-table .table-actions {
    display: flex;
    gap: 0.4rem;
  }
  .video-studio-admin-page .video-studio-admin-table .table-actions > form {
    flex: 1 1 calc(50% - 0.2rem);
    margin: 0;
    display: flex;
  }
  .video-studio-admin-page .video-studio-admin-table .table-actions .hub-card-action {
    flex: 1 1 auto;
    width: 100%;
    min-height: 2.1rem;
    padding: 0.34rem 0.5rem;
    font-size: 0.78rem;
    font-weight: 600;
    border-radius: 0.48rem;
    border: 1px solid #e2e8f0;
    background: #fff;
    opacity: 1;
  }
  .video-studio-admin-page .video-studio-admin-table .table-actions .hub-card-action--primary {
    color: #0d9488 !important;
    border-color: #ccfbf1;
    background: #f0fdfa;
  }
  .video-studio-admin-page .video-studio-admin-table .table-actions .hub-card-action--danger {
    color: #dc2626 !important;
    border-color: #fecaca;
    background: #fffbfb;
  }
  .video-studio-admin-page .vsa-feature-meta .hub-meta-chip {
    font-size: 0.66rem;
    padding: 0.1rem 0.4rem;
  }

  .video-studio-admin-page .panel-card.video-studio-admin-logs {
    padding: 0.65rem 0.6rem !important;
    margin-top: 0.15rem;
    background: #fff !important;
    border: 1px solid #e8edf3 !important;
    box-shadow: 0 2px 10px rgba(15, 23, 42, 0.04) !important;
    border-radius: 0.65rem;
  }
  .video-studio-admin-page .video-studio-admin-logs .vsa-list-head__count {
    min-width: 0;
    height: auto;
    border-radius: 999px;
    font-weight: 600;
  }
  .video-studio-admin-page .video-studio-admin-table tbody tr:not(.video-studio-admin-feature-row):not(.table-empty-row) {
    display: flex;
    flex-direction: column;
    margin-bottom: 0.45rem;
    padding: 0.65rem 0.7rem 0.55rem;
    border: 1px solid #e8edf3;
    border-radius: 0.6rem;
    background: #fff;
    box-shadow: 0 1px 6px rgba(15, 23, 42, 0.04);
  }
  .video-studio-admin-page .video-studio-admin-table tbody tr:not(.video-studio-admin-feature-row):not(.table-empty-row) td {
    display: grid;
    grid-template-columns: 4rem minmax(0, 1fr);
    gap: 0.15rem 0.4rem;
    padding: 0.22rem 0;
    border: none;
    text-align: left;
  }
  .video-studio-admin-page .video-studio-admin-table tbody tr:not(.video-studio-admin-feature-row):not(.table-empty-row) td::before {
    content: attr(data-label);
    font-size: 0.66rem;
    font-weight: 600;
    color: #94a3b8;
    line-height: 1.4;
  }
  .video-studio-admin-page .video-studio-admin-table tbody tr:not(.video-studio-admin-feature-row):not(.table-empty-row) td.admin-table__primary {
    display: block;
    order: -1;
    padding-bottom: 0.35rem;
    margin-bottom: 0.2rem;
    border-bottom: 1px dashed #e2e8f0;
    font-size: 0.82rem;
    font-weight: 600;
    line-height: 1.42;
  }
  .video-studio-admin-page .video-studio-admin-table tbody tr:not(.video-studio-admin-feature-row):not(.table-empty-row) td.admin-table__primary::before {
    display: none;
  }
  .video-studio-admin-page .video-studio-admin-table tbody tr.table-empty-row,
  .video-studio-admin-page .video-studio-admin-table tbody tr.video-studio-admin-empty-row {
    display: block;
    padding: 0;
    border: 1px dashed #e2e8f0;
    border-radius: 0.65rem;
    background: #fafbfc;
    margin-bottom: 0.45rem;
  }
  .video-studio-admin-page .video-studio-admin-table tbody tr.table-empty-row td,
  .video-studio-admin-page .video-studio-admin-table tbody tr.video-studio-admin-empty-row td {
    display: block;
    border: none;
    padding: 0;
  }
}

/* ===== 管理台 · 手机端统一视觉（边距 / 字号 / 按钮 / 间距）===== */
@media (max-width: 767.98px) {
  .admin-body {
    --gh-admin-pad-x: 0.4rem;
    --gh-admin-pad-y: 0.45rem;
    --gh-admin-title-fs: 1rem;
    --gh-admin-sub-fs: 0.72rem;
    --gh-admin-card-radius: 0.65rem;
    --gh-admin-gap: 0.4rem;
  }

  .admin-body .admin-content:has(.admin-list-page) {
    padding: var(--gh-admin-pad-y) var(--gh-admin-pad-x) 1rem;
    background: #f3f4f6;
  }

  .admin-list-page .page-head,
  .admin-list-page .page-head.mb-3 {
    margin-bottom: 0.5rem !important;
    gap: 0.35rem;
  }
  .admin-list-page .page-title {
    font-size: var(--gh-admin-title-fs);
    line-height: 1.35;
  }
  .admin-list-page .page-sub:not(.page-sub--meta) {
    font-size: var(--gh-admin-sub-fs);
    line-height: 1.5;
    padding: 0.48rem 0.62rem 0.48rem 0.55rem;
    margin-top: 0.35rem;
  }
  .admin-list-page .page-sub.page-sub--meta {
    font-size: var(--gh-admin-sub-fs);
    line-height: 1.45;
    color: #64748b;
  }

  .admin-list-page .admin-hub-tabs {
    margin-bottom: 0.5rem;
    border-bottom-color: #e8edf3;
  }
  .admin-list-page .admin-hub-tabs__link {
    font-size: 0.78rem;
    padding: 0.45rem 0.65rem;
  }

  .admin-list-page .list-toolbar--compact {
    margin-bottom: 0.45rem !important;
    padding: 0.5rem 0.55rem !important;
    border-radius: 0.55rem;
    background: #fff;
    border: 1px solid #e8edf3;
    box-shadow: 0 1px 4px rgba(15, 23, 42, 0.03);
  }
  .admin-list-page .list-toolbar .list-toolbar-main:has(.list-filter, .form-select, select) {
    gap: 0.35rem;
  }
  .admin-list-page .list-toolbar .list-toolbar-main:has(.list-filter, .form-select, select) :is(
    .list-filter,
    .form-select,
    select.form-select
  ) {
    flex: 1 1 0 !important;
    min-width: 4.75rem !important;
    width: auto !important;
    max-width: none !important;
    font-size: 0.8125rem !important;
    min-height: 2rem !important;
  }
  .admin-list-page .list-toolbar .list-toolbar-main:has(.list-filter, .form-select, select) :is(.btn, .btn-link) {
    flex: 0 0 auto !important;
    font-size: 0.8125rem !important;
    min-height: 2rem !important;
    padding-left: 0.7rem !important;
    padding-right: 0.7rem !important;
    border-radius: 0.45rem;
  }
  .admin-list-page .list-toolbar-meta {
    flex: 1 1 100%;
    width: 100%;
    margin: 0.15rem 0 0 !important;
    padding: 0;
    font-size: 0.68rem;
    font-weight: 500;
    color: #94a3b8;
    text-align: right;
    line-height: 1.35;
  }

  .admin-list-page:not(.customer-detail-page) > .panel-card:has(.admin-table),
  .admin-list-page:not(.customer-detail-page) > .customers-panel,
  .admin-list-page.customer-hub-page:not(.customer-detail-page) .customers-panel,
  .admin-list-page.partner-hub-page:not(.partner-detail-page) .partners-panel {
    padding: 0 !important;
    border: none !important;
    box-shadow: none !important;
    background: transparent !important;
  }

  .admin-list-page .admin-table {
    display: block !important;
    min-width: 0 !important;
    width: 100% !important;
  }
  .admin-list-page .admin-table tbody {
    display: block !important;
  }
  .admin-list-page .admin-table tbody tr:not(.table-empty-row) {
    margin-bottom: 0.45rem;
    padding: 0.68rem 0.72rem 0.58rem;
    border-color: #e8edf3;
    border-radius: var(--gh-admin-card-radius);
    box-shadow: 0 2px 10px rgba(15, 23, 42, 0.04);
  }
  .admin-list-page .admin-table tbody tr:not(.table-empty-row) td {
    grid-template-columns: 4.25rem minmax(0, 1fr);
    gap: 0.12rem 0.45rem;
    padding: 0.22rem 0;
  }
  .admin-list-page .admin-table tbody tr:not(.table-empty-row) td::before {
    font-size: 0.66rem;
  }
  .admin-list-page .admin-table .admin-table__actions::before {
    display: none;
  }
  .admin-list-page .admin-table .admin-table__actions .btn,
  .admin-list-page .admin-table .admin-table__actions .hub-card-action {
    width: 100%;
    min-height: 2.1rem;
    font-size: 0.8125rem !important;
    font-weight: 600;
    border-radius: 0.48rem;
    justify-content: center;
  }
  .admin-list-page .admin-table .admin-table__actions .hub-card-action--primary {
    color: #0d9488 !important;
    border: 1px solid #ccfbf1;
    background: #f0fdfa;
  }

  .admin-list-page .page-head-actions .btn {
    min-height: 2.15rem;
    font-size: 0.8125rem;
    border-radius: 0.48rem;
  }
}

/* 客户中心 · 公司名录手机端 */
@media (max-width: 767.98px) {
  .customer-hub-page .customers-table tbody tr.customers-table__row {
    display: flex;
    flex-direction: column;
  }
  .customer-hub-page .customers-table tbody tr.customers-table__row.is-workspace {
    border-color: #99f6e4;
    background: linear-gradient(180deg, #f0fdfa 0%, #fff 100%);
  }
  .customer-hub-page .customers-table__title {
    order: -2;
    padding-bottom: 0.45rem !important;
    margin-bottom: 0.35rem !important;
    border-bottom: 1px dashed #e8edf3 !important;
  }
  .customer-hub-page .customers-table__head {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 0.4rem;
  }
  .customer-hub-page .customers-table__head .log-table__title {
    font-size: 0.9rem;
    font-weight: 650;
    line-height: 1.4;
  }
  .customer-hub-page .customers-status-pill {
    flex-shrink: 0;
    font-size: 0.66rem;
    font-weight: 650;
    padding: 0.1rem 0.42rem;
    border-radius: 999px;
    line-height: 1.35;
    white-space: nowrap;
  }
  .customer-hub-page .customers-status-pill--on {
    color: #0f766e;
    background: #ecfdf5;
  }
  .customer-hub-page .customers-status-pill--off {
    color: #64748b;
    background: #f1f5f9;
  }
  .customer-hub-page .customers-table__meta {
    display: flex;
    flex-wrap: wrap;
    gap: 0.28rem;
    margin-top: 0.38rem;
  }
  .customer-hub-page .customers-table__meta .hub-meta-chip {
    font-size: 0.66rem;
    padding: 0.08rem 0.38rem;
  }
  .customer-hub-page .customers-table__meta-code {
    display: none;
  }
  .customer-hub-page .customers-cell--status-desktop {
    display: none !important;
  }
  .customer-hub-page .customers-table__owner-login {
    display: none;
  }
  .customer-hub-page .customers-industry-cell > div:first-child {
    white-space: normal;
    word-break: break-word;
  }
  .customer-hub-page .customers-table__actions {
    display: block !important;
    order: 99;
    padding-top: 0.45rem !important;
    margin-top: 0.35rem !important;
    border-top: 1px solid #f1f5f9 !important;
    grid-template-columns: unset !important;
  }
  .customer-hub-page .customers-empty {
    padding: 1.1rem 0.65rem;
    text-align: center;
  }
  .customer-hub-page .customers-empty__title {
    font-size: 0.86rem;
    font-weight: 650;
    color: #64748b;
    margin-bottom: 0.2rem;
  }
  .customer-hub-page .customers-empty__hint {
    font-size: 0.7rem;
    color: #94a3b8;
    line-height: 1.45;
  }
  .customer-hub-page .customers-table tbody tr.customers-empty-row,
  .customer-hub-page .customers-table tbody tr.table-empty-row {
    display: block;
    padding: 0;
    border: 1px dashed #e2e8f0;
    border-radius: var(--gh-admin-card-radius);
    background: #fafbfc;
    box-shadow: none;
  }
}

.customer-detail-page .customer-detail-card-head__link {
  border: 0;
  background: transparent;
  padding: 0;
  font-size: 0.78rem;
  font-weight: 600;
  color: #0f766e;
  text-decoration: none;
  white-space: nowrap;
  cursor: pointer;
}
.customer-detail-page .customer-detail-card-head__action-form {
  margin: 0;
  display: inline;
}

/* 客户详情 · 手机端 */
@media (max-width: 767.98px) {
  .admin-body .admin-content:has(.customer-detail-page) {
    padding: var(--gh-admin-pad-y, 0.45rem) var(--gh-admin-pad-x, 0.4rem) 1rem;
    background: #f3f4f6;
  }

  .customer-detail-page .page-head--compact {
    margin-bottom: 0.45rem !important;
    gap: 0.35rem;
  }
  .customer-detail-page .page-title {
    font-size: 1rem;
    line-height: 1.35;
  }
  .customer-detail-page .page-sub.page-sub--meta {
    font-size: 0.72rem;
    line-height: 1.45;
    color: #64748b;
  }
  .customer-detail-page .customer-detail-page__sub-code {
    display: none;
  }
  .customer-detail-page .page-head-actions {
    width: 100%;
    display: flex;
    flex-wrap: wrap;
    gap: 0.35rem;
  }
  .customer-detail-page .page-head-actions .btn {
    flex: 1 1 calc(50% - 0.2rem);
    min-height: 2.1rem;
    font-size: 0.8125rem;
    justify-content: center;
    border-radius: 0.48rem;
  }
  .customer-detail-page .page-head-actions form {
    flex: 1 1 calc(50% - 0.2rem);
    display: flex;
  }
  .customer-detail-page .page-head-actions form .btn {
    width: 100%;
  }
  .customer-detail-page .page-head-actions .small {
    flex: 1 1 100%;
    text-align: center;
    font-size: 0.72rem;
    color: #0f766e;
    padding: 0.25rem 0;
  }

  .customer-detail-page .customer-detail-stats {
    margin-bottom: 0.45rem !important;
    --bs-gutter-x: 0.35rem;
    --bs-gutter-y: 0.35rem;
  }
  .customer-detail-page .stat-card--compact {
    padding: 0.45rem 0.5rem;
    border-radius: 0.55rem;
  }
  .customer-detail-page .stat-card--compact .label {
    font-size: 0.66rem;
    margin-bottom: 0.12rem;
  }
  .customer-detail-page .stat-card--compact .value {
    font-size: 1rem;
    line-height: 1.25;
  }
  .customer-detail-page .customer-detail-stats__plan {
    font-size: 0.82rem !important;
  }

  .customer-detail-page .customer-detail-main {
    --bs-gutter-x: 0;
    --bs-gutter-y: 0.45rem;
  }
  .customer-detail-page .panel-card--tight {
    padding: 0.65rem 0.6rem !important;
    margin-bottom: 0;
    border-radius: 0.65rem;
    border-color: #e8edf3;
    box-shadow: 0 2px 10px rgba(15, 23, 42, 0.04);
  }
  .customer-detail-page .panel-card--tight .h6 {
    font-size: 0.88rem;
    font-weight: 700;
    margin-bottom: 0.45rem !important;
  }
  .customer-detail-page .panel-card--tight .form-label {
    font-size: 0.7rem;
    margin-bottom: 0.18rem;
  }
  .customer-detail-page .panel-card--tight .form-control,
  .customer-detail-page .panel-card--tight .form-select {
    font-size: 0.875rem !important;
    min-height: 2rem;
    border-radius: 0.45rem;
  }
  .customer-detail-page .panel-card--tight .form-text {
    font-size: 0.66rem;
  }
  .customer-detail-page .panel-card--tight .btn-accent {
    width: 100%;
    min-height: 2.2rem;
    font-size: 0.8125rem;
    border-radius: 0.48rem;
    margin-top: 0.15rem;
  }

  .customer-detail-page .customer-detail-card-head {
    margin-bottom: 0.35rem;
  }
  .customer-detail-page .customer-detail-card-head .h6 {
    font-size: 0.86rem;
    margin-bottom: 0 !important;
  }
  .customer-detail-page .customer-detail-card-head a,
  .customer-detail-page .customer-detail-card-head__link {
    font-size: 0.72rem;
    font-weight: 600;
  }

  .customer-detail-page .customer-detail-empty-hint {
    margin: 0.35rem 0 0;
    font-size: 0.75rem;
    color: #94a3b8;
    line-height: 1.45;
  }
  .customer-detail-page .customer-detail-empty-action {
    display: flex;
    width: 100%;
    min-height: 2.1rem;
    padding: 0.36rem 0.55rem;
    font-size: 0.8125rem;
    font-weight: 600;
    border-radius: 0.48rem;
    border: 1px solid #ccfbf1;
    background: #f0fdfa;
    color: #0d9488 !important;
    justify-content: center;
    text-decoration: none;
  }

  /* 注册用户迷你列表 */
  .customer-detail-page .customer-detail-users-table,
  .customer-detail-page .customer-detail-ops-table,
  .customer-detail-page .customer-detail-themes-table {
    display: block !important;
    width: 100% !important;
    min-width: 0 !important;
  }
  .customer-detail-page .customer-detail-users-table thead,
  .customer-detail-page .customer-detail-ops-table thead,
  .customer-detail-page .customer-detail-themes-table thead {
    display: none !important;
  }
  .customer-detail-page .customer-detail-users-table tbody,
  .customer-detail-page .customer-detail-ops-table tbody,
  .customer-detail-page .customer-detail-themes-table tbody {
    display: block !important;
  }
  .customer-detail-page .customer-detail-user-row,
  .customer-detail-page .customer-detail-ops-row,
  .customer-detail-page .customer-detail-theme-row {
    display: flex;
    flex-direction: column;
    margin-bottom: 0.4rem;
    padding: 0.62rem 0.65rem 0.55rem;
    border: 1px solid #eef2f6;
    border-radius: 0.55rem;
    background: #fafbfc;
  }
  .customer-detail-page .customer-detail-user-row:last-child,
  .customer-detail-page .customer-detail-ops-row:last-child,
  .customer-detail-page .customer-detail-theme-row:last-child {
    margin-bottom: 0;
  }
  .customer-detail-page .customer-detail-user-row td,
  .customer-detail-page .customer-detail-ops-row td,
  .customer-detail-page .customer-detail-theme-row td {
    display: block;
    padding: 0;
    border: none;
  }
  .customer-detail-page .customer-detail-user-row td::before,
  .customer-detail-page .customer-detail-ops-row td::before,
  .customer-detail-page .customer-detail-theme-row td::before {
    display: none !important;
  }
  .customer-detail-page .customer-detail-user__head {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 0.4rem;
  }
  .customer-detail-page .customer-detail-user__name {
    font-size: 0.86rem;
    font-weight: 650;
    color: #0f172a;
    line-height: 1.4;
    word-break: break-word;
  }
  .customer-detail-page .customer-detail-user__login {
    margin-top: 0.22rem;
    font-size: 0.68rem;
    color: #94a3b8;
    line-height: 1.4;
    word-break: break-all;
  }
  .customer-detail-page .customer-detail-user__status-desktop,
  .customer-detail-page .customer-detail-ops__role-desktop {
    display: none !important;
  }
  .customer-detail-page .customer-detail-user__actions {
    margin-top: 0.42rem;
    padding-top: 0.42rem !important;
    border-top: 1px solid #eef2f6 !important;
  }
  .customer-detail-page .customer-detail-user__actions .hub-card-action {
    width: 100%;
    min-height: 2.05rem;
    font-size: 0.8125rem;
    border-radius: 0.48rem;
    border: 1px solid #ccfbf1;
    background: #f0fdfa;
    color: #0d9488 !important;
    justify-content: center;
  }
  .customer-detail-page .customers-status-pill {
    flex-shrink: 0;
    font-size: 0.64rem;
    font-weight: 650;
    padding: 0.08rem 0.38rem;
    border-radius: 999px;
    line-height: 1.35;
  }

  .customer-detail-page .customer-detail-ops__title {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.3rem;
  }
  .customer-detail-page .customer-detail-ops__name {
    font-size: 0.84rem;
    font-weight: 600;
    color: #0f172a;
    line-height: 1.4;
  }
  .customer-detail-page .customer-detail-ops__title .hub-meta-chip {
    font-size: 0.64rem;
    padding: 0.06rem 0.35rem;
  }

  /* 启用主题 */
  .customer-detail-page .customer-detail-themes {
    margin-top: 0.45rem !important;
  }
  .customer-detail-page .customer-detail-themes .list-toolbar--compact {
    margin-bottom: 0.45rem !important;
    padding: 0.45rem 0.5rem !important;
    border-radius: 0.5rem;
    background: #fafbfc;
    border: 1px solid #eef2f6;
    box-shadow: none;
  }
  .customer-detail-page .customer-detail-themes .list-toolbar-main {
    flex-wrap: nowrap !important;
    gap: 0.35rem;
  }
  .customer-detail-page .customer-detail-themes .list-search {
    flex: 1 1 auto !important;
    width: auto !important;
    max-width: none !important;
    min-width: 0 !important;
    font-size: 0.875rem !important;
    min-height: 2rem !important;
  }
  .customer-detail-page .customer-detail-themes .list-toolbar-main .btn {
    flex: 0 0 auto !important;
    font-size: 0.8125rem !important;
    min-height: 2rem !important;
    padding-left: 0.65rem !important;
    padding-right: 0.65rem !important;
    border-radius: 0.45rem;
  }
  .customer-detail-page .customer-detail-theme__title {
    font-size: 0.84rem;
    font-weight: 650;
    color: #0f172a;
    line-height: 1.45;
    word-break: break-word;
    padding-bottom: 0.35rem !important;
    margin-bottom: 0.3rem !important;
    border-bottom: 1px dashed #e8edf3;
  }
  .customer-detail-page .customer-detail-theme__industry .hub-meta-chip {
    font-size: 0.66rem;
    padding: 0.08rem 0.38rem;
  }
  .customer-detail-page .list-pager {
    margin-top: 0.55rem !important;
  }
  .customer-detail-page .list-pager .list-meta {
    font-size: 0.68rem;
    color: #94a3b8;
    margin-bottom: 0.35rem;
  }
  .customer-detail-page .list-pager .pagination-sm .page-link {
    font-size: 0.72rem;
    padding: 0.28rem 0.5rem;
  }
}

/* 代运营成本 */
.ops-cost-page {
  --oc-ink: var(--admin-ink, #1e293b);
  --oc-muted: var(--admin-muted, #64748b);
  --oc-line: var(--admin-line, #e2e8f0);
}
.ops-cost-page__head .page-sub { max-width: 36rem; }

.ops-cost-hint-bar {
  display: flex;
  align-items: flex-start;
  gap: .55rem;
  padding: .65rem .9rem;
  margin-bottom: .85rem;
  border-radius: 10px;
  background: linear-gradient(90deg, #f0fdfa 0%, #f8fafc 100%);
  border: 1px solid #ccfbf1;
  font-size: .8125rem;
  line-height: 1.45;
  color: #334155;
}
.ops-cost-hint-bar__icon {
  flex: 0 0 auto;
  width: 1.1rem;
  height: 1.1rem;
  margin-top: .08rem;
  border-radius: 50%;
  background: #14b8a6;
  color: #fff;
  font-size: .6875rem;
  font-weight: 700;
  font-style: normal;
  line-height: 1.1rem;
  text-align: center;
}

.ops-cost-stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: .75rem;
  margin-bottom: .85rem;
}
.ops-cost-stat-card {
  padding: .85rem .95rem;
  border-radius: 12px;
  border: 1px solid var(--oc-line);
  background: #fff;
  box-shadow: 0 1px 3px rgba(15, 23, 42, 0.04);
}
.ops-cost-stat-card__top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: .5rem;
  margin-bottom: .45rem;
}
.ops-cost-stat-card__label {
  font-size: .75rem;
  font-weight: 600;
  color: var(--oc-muted);
}
.ops-cost-stat-card__cap,
.ops-cost-stat-card__link {
  font-size: .6875rem;
  color: #0f766e;
  text-decoration: none;
  white-space: nowrap;
}
.ops-cost-stat-card__link:hover { text-decoration: underline; }
.ops-cost-stat-card__value {
  display: flex;
  align-items: baseline;
  flex-wrap: wrap;
  gap: .15rem .45rem;
  margin-bottom: .35rem;
}
.ops-cost-stat-card__num {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--oc-ink);
  font-variant-numeric: tabular-nums;
  line-height: 1.1;
}
.ops-cost-stat-card__unit {
  font-size: .8125rem;
  font-weight: 600;
  color: var(--oc-muted);
}
.ops-cost-stat-card__money {
  font-size: .875rem;
  font-weight: 600;
  color: #0f766e;
  font-variant-numeric: tabular-nums;
}
.ops-cost-meter {
  height: 4px;
  border-radius: 999px;
  background: #eef2f6;
  overflow: hidden;
  margin-bottom: .4rem;
}
.ops-cost-meter__fill {
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, #2dd4bf, #0d9488);
  min-width: 2px;
  transition: width .2s ease;
}
.ops-cost-meter__fill--warn { background: linear-gradient(90deg, #fcd34d, #f59e0b); }
.ops-cost-meter__fill--danger { background: linear-gradient(90deg, #fca5a5, #ef4444); }
.ops-cost-stat-card__sub {
  font-size: .6875rem;
  color: #94a3b8;
  line-height: 1.4;
}
.ops-cost-policy-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: .35rem .75rem;
  margin: 0 0 .45rem;
}
.ops-cost-policy-grid div {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: .5rem;
  padding: .25rem .45rem;
  border-radius: 8px;
  background: #f8fafc;
}
.ops-cost-policy-grid dt {
  margin: 0;
  font-size: .6875rem;
  font-weight: 500;
  color: var(--oc-muted);
}
.ops-cost-policy-grid dd {
  margin: 0;
  font-size: .8125rem;
  font-weight: 600;
  color: var(--oc-ink);
  font-variant-numeric: tabular-nums;
}

.ops-cost-shell {
  padding: 0;
  overflow: hidden;
}
.ops-cost-shell__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: .5rem;
  padding: .75rem 1rem;
  border-bottom: 1px solid #eef2f6;
  background: #fafbfc;
}
.ops-cost-shell__body {
  padding: .85rem 1rem 1rem;
}
.ops-cost-section__title {
  margin: 0;
  font-size: .875rem;
  font-weight: 600;
  color: var(--oc-ink);
}
.ops-cost-section__count {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 1.5rem;
  height: 1.5rem;
  padding: 0 .4rem;
  border-radius: 999px;
  font-size: .6875rem;
  font-weight: 600;
  color: #64748b;
  background: #f1f5f9;
}
.ops-cost-toolbar {
  margin-bottom: .75rem !important;
  padding-bottom: 0;
  border-bottom: 0;
}
.ops-cost-toolbar__staff,
.ops-cost-toolbar__customer { min-width: 7.5rem; }
.ops-cost-toolbar__action { flex: 1 1 10rem; max-width: 14rem; }

.ops-cost-usage-table thead th,
.ops-cost-ledger-table thead th {
  font-size: .75rem;
  font-weight: 600;
  color: var(--oc-muted);
  background: #f8fafc;
  border-bottom-color: var(--oc-line);
}
.ops-cost-usage-table > :not(caption) > * > *,
.ops-cost-ledger-table > :not(caption) > * > * {
  padding: .65rem .5rem;
  border-bottom-color: #eef2f6;
  vertical-align: middle;
}
.ops-cost-num {
  font-variant-numeric: tabular-nums;
  font-weight: 600;
  color: var(--oc-ink);
}
.ops-cost-num--money { color: #0f766e; }
.ops-cost-action-pill {
  display: inline-flex;
  align-items: center;
  font-size: .6875rem;
  font-weight: 600;
  color: #0f766e;
  background: #ecfdf5;
  border-radius: 999px;
  padding: .14rem .45rem;
  line-height: 1.3;
  white-space: nowrap;
}
.ops-cost-rank-pill {
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 1.25rem;
  height: 1.25rem;
  font-size: .6875rem;
  font-weight: 700;
  color: #64748b;
  background: #f1f5f9;
  border-radius: 50%;
  line-height: 1;
}
.ops-cost-rank-pill--top {
  color: #0f766e;
  background: #ccfbf1;
}
.ops-cost-usage__head {
  display: flex;
  align-items: center;
  gap: .4rem;
  min-width: 0;
}
.ops-cost-usage__name {
  font-weight: 600;
  color: var(--oc-ink);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.ops-cost-ledger__time,
.ops-cost-ledger__customer {
  font-size: .8125rem;
  white-space: nowrap;
}
.ops-cost-ledger__note {
  font-size: .75rem;
  color: var(--oc-muted);
  max-width: 14rem;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.ops-cost-empty {
  padding: 2rem 1rem;
  text-align: center;
}
.ops-cost-empty--schema { padding: 1.5rem 1rem; }
.ops-cost-empty__title {
  font-size: .875rem;
  font-weight: 600;
  color: #64748b;
  margin-bottom: .35rem;
}
.ops-cost-empty__hint {
  font-size: .75rem;
  color: #94a3b8;
  line-height: 1.5;
  max-width: 28rem;
  margin-left: auto;
  margin-right: auto;
}

@media (max-width: 1100px) {
  .ops-cost-stats { grid-template-columns: 1fr; }
}
@media (max-width: 992px) {
  .ops-cost-toolbar__staff,
  .ops-cost-toolbar__customer,
  .ops-cost-toolbar__action {
    flex: 1 1 100%;
    max-width: none;
    min-width: 0;
  }
}

@media (max-width: 767.98px) {
  .admin-body .admin-content:has(.ops-cost-page) {
    padding: var(--gh-admin-pad-y, 0.45rem) var(--gh-admin-pad-x, 0.4rem) 1rem;
    background: #f3f4f6;
  }

  .ops-cost-page .page-head {
    margin-bottom: 0.5rem !important;
  }
  .ops-cost-page .page-head-actions .btn {
    width: 100%;
    min-height: 2.1rem;
    font-size: 0.8125rem;
    border-radius: 0.48rem;
    justify-content: center;
  }

  .ops-cost-page .ops-cost-toolbar.list-toolbar--compact {
    margin-bottom: 0.45rem !important;
    padding: 0.5rem 0.55rem !important;
    border-radius: 0.55rem;
    background: #fff;
    border: 1px solid #e8edf3;
    box-shadow: 0 1px 4px rgba(15, 23, 42, 0.03);
  }
  .ops-cost-page .ops-cost-toolbar .list-toolbar-main {
    flex-wrap: wrap;
    gap: 0.35rem;
  }
  .ops-cost-page .ops-cost-toolbar__staff,
  .ops-cost-page .ops-cost-toolbar__customer {
    flex: 1 1 calc(50% - 0.2rem) !important;
    min-width: 0 !important;
    width: auto !important;
    max-width: none !important;
    font-size: 0.8125rem !important;
    min-height: 2rem !important;
  }
  .ops-cost-page .ops-cost-toolbar__action {
    flex: 1 1 100% !important;
    width: 100% !important;
    max-width: none !important;
    font-size: 0.875rem !important;
    min-height: 2rem !important;
  }
  .ops-cost-page .ops-cost-toolbar .list-toolbar-main .btn {
    flex: 1 1 calc(50% - 0.2rem);
    min-height: 2rem !important;
    font-size: 0.8125rem !important;
    border-radius: 0.45rem;
    justify-content: center;
  }

  .ops-cost-page .ops-cost-usage-table,
  .ops-cost-page .ops-cost-ledger-table {
    display: block !important;
    width: 100% !important;
    min-width: 0 !important;
  }
  .ops-cost-page .ops-cost-usage-table thead,
  .ops-cost-page .ops-cost-ledger-table thead {
    display: none !important;
  }
  .ops-cost-page .ops-cost-usage-table tbody,
  .ops-cost-page .ops-cost-ledger-table tbody {
    display: block !important;
  }

  .ops-cost-page .ops-cost-usage-row,
  .ops-cost-page .ops-cost-ledger-row {
    display: flex;
    flex-direction: column;
    margin-bottom: 0.45rem;
    padding: 0.68rem 0.72rem 0.58rem;
    border: 1px solid #e8edf3;
    border-radius: 0.65rem;
    background: #fff;
    box-shadow: 0 2px 10px rgba(15, 23, 42, 0.04);
  }
  .ops-cost-page .ops-cost-usage-row td,
  .ops-cost-page .ops-cost-ledger-row td {
    display: grid;
    grid-template-columns: 4.5rem minmax(0, 1fr);
    gap: 0.12rem 0.45rem;
    padding: 0.22rem 0;
    border: none;
    text-align: left;
    font-size: 0.78rem;
    line-height: 1.4;
    color: #334155;
  }
  .ops-cost-page .ops-cost-usage-row td::before,
  .ops-cost-page .ops-cost-ledger-row td::before {
    content: attr(data-label);
    font-size: 0.66rem;
    font-weight: 600;
    color: #94a3b8;
    line-height: 1.4;
  }

  .ops-cost-page .ops-cost-usage__title {
    display: block !important;
    order: -1;
    grid-template-columns: unset !important;
    padding-bottom: 0.4rem !important;
    margin-bottom: 0.3rem !important;
    border-bottom: 1px dashed #e8edf3;
  }
  .ops-cost-page .ops-cost-usage__title::before {
    display: none !important;
  }
  .ops-cost-page .ops-cost-usage__head {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 0.4rem;
  }
  .ops-cost-page .ops-cost-usage__name {
    font-size: 0.88rem;
    font-weight: 650;
    color: #0f172a;
    line-height: 1.4;
    word-break: break-word;
  }
  .ops-cost-page .ops-cost-usage__login {
    margin-top: 0.15rem;
    font-size: 0.68rem;
    color: #94a3b8;
    line-height: 1.35;
    word-break: break-all;
  }

  .ops-cost-page .ops-cost-ledger__time {
    display: block !important;
    grid-template-columns: unset !important;
    font-size: 0.68rem;
    font-weight: 600;
    color: #94a3b8;
    padding-bottom: 0.35rem !important;
    margin-bottom: 0.25rem !important;
    border-bottom: 1px dashed #eef2f6;
  }
  .ops-cost-page .ops-cost-ledger__time::before {
    display: none !important;
  }
  .ops-cost-page .ops-cost-ledger__sub {
    margin-top: 0.12rem;
    font-size: 0.66rem;
    color: #94a3b8;
    line-height: 1.35;
    word-break: break-all;
  }
  .ops-cost-page .ops-cost-action-code {
    font-size: 0.64rem;
    color: #94a3b8;
    background: transparent;
    padding: 0;
  }
  .ops-cost-page .ops-cost-ledger__note {
    word-break: break-word;
  }
  .ops-cost-page .ops-cost-ledger__action .ops-cost-action-pill {
    justify-self: start;
  }

  .ops-cost-page .ops-cost-empty-row {
    display: block;
    padding: 0;
    border: 1px dashed #e2e8f0;
    border-radius: 0.65rem;
    background: #fafbfc;
    box-shadow: none;
  }
  .ops-cost-page .ops-cost-empty-row td {
    display: block;
    border: none;
    padding: 0;
  }
}

/* 角色与权限 */
.roles-page .roles-panel {
  padding: 0;
  overflow: hidden;
}
.roles-page .roles-table thead th {
  background: #f8fafc;
  color: #64748b;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  border-bottom: 1px solid #e2e8f0;
  padding: 0.65rem 0.85rem;
  white-space: nowrap;
}
.roles-page .roles-table tbody td {
  padding: 0.85rem;
  border-bottom: 1px solid #f1f5f9;
  vertical-align: top;
}
.roles-page .roles-table__row:last-child td {
  border-bottom: none;
}
.roles-page .roles-table__row:hover td {
  background: #fafbfc;
}
.roles-page .roles-code,
.roles-page .roles-meta-code {
  font-size: 0.78rem;
  color: #475569;
  background: #f1f5f9;
  border-radius: 6px;
  padding: 0.1rem 0.4rem;
}
.roles-page .roles-meta-code {
  font-size: 0.7rem;
}
.roles-page .roles-table__meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.35rem;
  margin-top: 0.3rem;
}
.roles-page .roles-meta-chip {
  font-size: 0.66rem;
  color: #64748b;
  background: #f1f5f9;
  border-radius: 999px;
  padding: 0.06rem 0.42rem;
}
.roles-page .roles-kind-badge {
  display: inline-block;
  font-size: 0.75rem;
  color: #334155;
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 999px;
  padding: 0.12rem 0.5rem;
}
.roles-page .roles-status-pill {
  flex-shrink: 0;
  font-size: 0.66rem;
  font-weight: 650;
  padding: 0.1rem 0.42rem;
  border-radius: 999px;
  line-height: 1.35;
  white-space: nowrap;
}
.roles-page .roles-status-pill--on {
  color: #0f766e;
  background: #ecfdf5;
}
.roles-page .roles-status-pill--off {
  color: #64748b;
  background: #f1f5f9;
}

@media (max-width: 767.98px) {
  .admin-body .admin-content:has(.roles-page) {
    padding: var(--gh-admin-pad-y, 0.45rem) var(--gh-admin-pad-x, 0.4rem) 1rem;
    background: #f3f4f6;
  }

  .roles-page .page-head {
    margin-bottom: 0.5rem !important;
  }
  .roles-page .page-head-actions .btn {
    width: 100%;
    min-height: 2.1rem;
    font-size: 0.8125rem;
    border-radius: 0.48rem;
    justify-content: center;
  }

  .roles-page .roles-table {
    display: block !important;
    width: 100% !important;
    min-width: 0 !important;
  }
  .roles-page .roles-table thead {
    display: none !important;
  }
  .roles-page .roles-table tbody {
    display: block !important;
  }
  .roles-page .roles-table__row {
    display: flex;
    flex-direction: column;
    margin-bottom: 0.45rem;
    padding: 0.68rem 0.72rem 0.58rem;
    border: 1px solid #e8edf3;
    border-radius: 0.65rem;
    background: #fff;
    box-shadow: 0 2px 10px rgba(15, 23, 42, 0.04);
  }
  .roles-page .roles-table__row td {
    display: grid;
    grid-template-columns: 4.25rem minmax(0, 1fr);
    gap: 0.12rem 0.45rem;
    padding: 0.22rem 0;
    border: none;
    text-align: left;
    font-size: 0.78rem;
    line-height: 1.4;
    color: #334155;
  }
  .roles-page .roles-table__row td::before {
    content: attr(data-label);
    font-size: 0.66rem;
    font-weight: 600;
    color: #94a3b8;
    line-height: 1.4;
  }

  .roles-page .roles-table__title {
    display: block !important;
    order: -1;
    grid-template-columns: unset !important;
    padding-bottom: 0.45rem !important;
    margin-bottom: 0.35rem !important;
    border-bottom: 1px dashed #e8edf3;
  }
  .roles-page .roles-table__title::before {
    display: none !important;
  }
  .roles-page .roles-table__head {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 0.4rem;
    margin-bottom: 0.25rem;
  }
  .roles-page .roles-table__name {
    font-size: 0.9rem;
    font-weight: 650;
    color: #0f172a;
    line-height: 1.4;
    word-break: break-word;
  }
  .roles-page .roles-table__badge {
    margin-top: 0.28rem;
    font-size: 0.64rem;
    padding: 0.06rem 0.35rem;
  }
  .roles-page .roles-table__desc {
    margin-top: 0.35rem;
    font-size: 0.72rem;
    line-height: 1.5;
    color: #64748b;
    word-break: break-word;
  }
  .roles-page .roles-table__status-desktop {
    display: none !important;
  }
  .roles-page .roles-table__actions {
    display: block !important;
    order: 99;
    padding-top: 0.45rem !important;
    margin-top: 0.35rem !important;
    border-top: 1px solid #f1f5f9 !important;
    grid-template-columns: unset !important;
  }
  .roles-page .roles-table__actions::before {
    display: none !important;
  }
  .roles-page .roles-table .table-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.4rem;
  }
  .roles-page .roles-table .table-actions > form {
    flex: 1 1 calc(50% - 0.2rem);
    margin: 0;
    display: flex;
  }
  .roles-page .roles-table .table-actions .hub-card-action {
    flex: 1 1 calc(50% - 0.2rem);
    min-height: 2.1rem;
    padding: 0.34rem 0.5rem;
    font-size: 0.8125rem;
    font-weight: 600;
    border-radius: 0.48rem;
    border: 1px solid #e2e8f0;
    background: #fff;
    justify-content: center;
  }
  .roles-page .roles-table .table-actions .hub-card-action--primary {
    color: #0d9488 !important;
    border-color: #ccfbf1;
    background: #f0fdfa;
  }
  .roles-page .roles-table .table-actions .hub-card-action--danger {
    color: #dc2626 !important;
    border-color: #fecaca;
    background: #fffbfb;
  }
  .roles-page .roles-table .table-actions .hub-card-action:disabled {
    opacity: 0.45;
  }
}

/* 管理台表单弹窗 */
body.admin-form-modal-open { overflow: hidden; }
.admin-form-modal-scene {
  position: fixed;
  inset: 0;
  z-index: 1400;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1rem;
}
.admin-form-modal-scene[hidden] { display: none !important; }
.admin-form-modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(15, 23, 42, .42);
}
.admin-form-modal-panel {
  position: relative;
  width: min(480px, 100%);
  max-height: min(90vh, 720px);
  background: #fff;
  border-radius: 14px;
  box-shadow: 0 18px 50px rgba(15, 23, 42, .18);
  display: flex;
  flex-direction: column;
  overflow: hidden;
}
.admin-form-modal-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 0.75rem;
  padding: 1rem 1rem 0.75rem;
  border-bottom: 1px solid #e2e8f0;
}
.admin-form-modal-title {
  margin: 0;
  font-size: 1.05rem;
  font-weight: 650;
  color: #0f172a;
}
.admin-form-modal-sub {
  margin-top: 0.2rem;
  font-size: 0.78rem;
  color: #64748b;
}
.admin-form-modal-close {
  border: 0;
  background: transparent;
  font-size: 1.45rem;
  line-height: 1;
  color: #94a3b8;
  padding: 0 0.1rem;
  cursor: pointer;
}
.admin-form-modal-close:hover { color: #475569; }
.admin-form-modal-body {
  padding: 1rem;
  overflow: auto;
}
.admin-form-modal-foot {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding-top: 0.25rem;
  margin-top: 0.25rem;
}
.admin-form-modal-alert[hidden] { display: none !important; }

/* 顾问分成 · 比例 */
.staff-commission-rates-page .staff-commission-rates-grid {
  display: grid;
  gap: 0.65rem;
}
.staff-commission-rates-page .staff-commission-rate-card {
  padding: 0.85rem 0.95rem;
  margin-bottom: 0;
}
.staff-commission-rates-page .staff-commission-rate-card__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
  margin-bottom: 0.65rem;
  padding-bottom: 0.55rem;
  border-bottom: 1px solid #eef2f6;
}
.staff-commission-rates-page .staff-commission-rate-card__title {
  margin: 0;
  font-size: 0.92rem;
  font-weight: 650;
  color: #0f172a;
  line-height: 1.35;
}
.staff-commission-rates-page .staff-commission-rate-card__lane {
  flex-shrink: 0;
  font-size: 0.68rem;
  font-weight: 600;
  color: #64748b;
  padding: 0.12rem 0.42rem;
  border-radius: 999px;
  background: #f8fafc;
  border: 1px solid #e8edf3;
}
.staff-commission-rates-page .staff-commission-rate-card__body {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.55rem;
}
.staff-commission-rates-page .staff-commission-rate-card__group {
  padding: 0.55rem 0.6rem;
  border-radius: 0.55rem;
  border: 1px solid #e8edf3;
  background: #fafbfc;
}
.staff-commission-rates-page .staff-commission-rate-card__group--geo {
  border-color: #ccfbf1;
  background: linear-gradient(180deg, #f0fdfa 0%, #fafbfc 100%);
}
.staff-commission-rates-page .staff-commission-rate-card__group--site {
  border-color: #e0e7ff;
  background: linear-gradient(180deg, #eef2ff 0%, #fafbfc 100%);
}
.staff-commission-rates-page .staff-commission-rate-card__group-title {
  font-size: 0.72rem;
  font-weight: 650;
  color: #334155;
  margin-bottom: 0.45rem;
}
.staff-commission-rates-page .staff-commission-rate-card__fields {
  display: grid;
  gap: 0.4rem;
}
.staff-commission-rates-page .staff-commission-rate-field {
  display: grid;
  grid-template-columns: minmax(3.2rem, auto) minmax(0, 1fr);
  align-items: center;
  gap: 0.35rem;
  margin: 0;
}
.staff-commission-rates-page .staff-commission-rate-field__label {
  font-size: 0.68rem;
  font-weight: 600;
  color: #64748b;
  white-space: nowrap;
}
.staff-commission-rates-page .staff-commission-rate-field__input-wrap {
  min-width: 0;
}
.staff-commission-rates-page .staff-commission-rate-field__input {
  text-align: right;
  font-size: 0.875rem;
  font-weight: 600;
  color: #0f172a;
  min-height: 2rem;
  padding: 0.28rem 0.45rem;
  border-radius: 0.45rem;
  border-color: #dbe3ec;
  background: #fff;
}
.staff-commission-rates-page .staff-commission-rates-foot {
  margin-top: 0.75rem;
}
.staff-commission-rates-page .staff-commission-rates-foot__hint {
  margin: 0 0 0.55rem;
  font-size: 0.72rem;
  line-height: 1.55;
  color: #94a3b8;
}
.staff-commission-rates-page .staff-commission-rates-foot__save {
  min-width: 6.5rem;
}

@media (min-width: 992px) {
  .staff-commission-rates-page .staff-commission-rates-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.75rem;
  }
}

@media (max-width: 767.98px) {
  .admin-body .admin-content:has(.staff-commission-rates-page) {
    padding-left: 0.4rem;
    padding-right: 0.4rem;
  }
  .staff-commission-rates-page .page-head {
    margin-bottom: 0.55rem !important;
  }
  .staff-commission-rates-page .staff-commission-rate-card {
    padding: 0.7rem 0.75rem;
    border-radius: 0.65rem;
  }
  .staff-commission-rates-page .staff-commission-rate-card__head {
    flex-wrap: wrap;
    align-items: flex-start;
    margin-bottom: 0.55rem;
    padding-bottom: 0.45rem;
  }
  .staff-commission-rates-page .staff-commission-rate-card__title {
    font-size: 0.88rem;
  }
  .staff-commission-rates-page .staff-commission-rate-card__body {
    grid-template-columns: 1fr;
    gap: 0.45rem;
  }
  .staff-commission-rates-page .staff-commission-rate-card__group {
    padding: 0.5rem 0.55rem;
  }
  .staff-commission-rates-page .staff-commission-rate-field {
    grid-template-columns: 3.5rem minmax(0, 1fr);
  }
  .staff-commission-rates-page .staff-commission-rate-field__input {
    font-size: var(--gh-toolbar-input-fs, 0.875rem);
    min-height: 2.05rem;
  }
  .staff-commission-rates-page .staff-commission-rates-foot {
    position: sticky;
    bottom: 0;
    z-index: 2;
    margin-top: 0.55rem;
    padding: 0.55rem 0 0.65rem;
    background: linear-gradient(180deg, rgba(248, 250, 252, 0) 0%, #f8fafc 28%, #f8fafc 100%);
  }
  .staff-commission-rates-page .staff-commission-rates-foot__hint {
    font-size: 0.68rem;
    margin-bottom: 0.45rem;
  }
  .staff-commission-rates-page .staff-commission-rates-foot__save {
    width: 100%;
    min-height: 2.35rem;
    font-size: var(--gh-toolbar-btn-fs, 0.8125rem);
    font-weight: 650;
    border-radius: 0.55rem;
  }
}

/* 伙伴中心 · 名录手机端 */
@media (max-width: 767.98px) {
  .partner-hub-page .partners-table tbody tr.partners-table__row {
    display: flex;
    flex-direction: column;
  }
  .partner-hub-page .partners-table__title {
    order: -2;
    display: block !important;
    padding-bottom: 0.45rem !important;
    margin-bottom: 0 !important;
    border-bottom: 1px dashed #e8edf3 !important;
    grid-template-columns: unset !important;
  }
  .partner-hub-page .partners-table__title::before {
    display: none !important;
  }
  .partner-hub-page .partners-table__head {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 0.4rem;
  }
  .partner-hub-page .partners-table__head .log-table__title {
    font-size: 0.9rem;
    font-weight: 650;
    line-height: 1.4;
  }
  .partner-hub-page .partners-status-pill {
    flex-shrink: 0;
    font-size: 0.66rem;
    font-weight: 650;
    padding: 0.1rem 0.42rem;
    border-radius: 999px;
    line-height: 1.35;
    white-space: nowrap;
  }
  .partner-hub-page .partners-status-pill--on {
    color: #0f766e;
    background: #ecfdf5;
  }
  .partner-hub-page .partners-status-pill--off {
    color: #64748b;
    background: #f1f5f9;
  }
  .partner-hub-page .partners-table__meta {
    display: flex;
    flex-wrap: wrap;
    gap: 0.28rem;
    margin-top: 0.38rem;
  }
  .partner-hub-page .partners-table__meta .hub-meta-chip {
    font-size: 0.66rem;
    padding: 0.08rem 0.38rem;
  }
  .partner-hub-page .partners-table__meta-tenant,
  .partner-hub-page .partners-table__contact-login {
    display: none !important;
  }
  .partner-hub-page .partners-table tbody tr.partners-table__row > td:not(.partners-table__title):not(.partners-table__actions) {
    display: grid !important;
    grid-template-columns: 4.5rem minmax(0, 1fr);
    align-items: center;
    gap: 0.35rem;
    padding: 0.28rem 0 !important;
    border: none;
  }
  .partner-hub-page .partners-table tbody tr.partners-table__row > td:not(.partners-table__title):not(.partners-table__actions)::before {
    font-size: 0.66rem;
    font-weight: 600;
    color: #94a3b8;
    line-height: 1.4;
    align-self: center;
  }
  .partner-hub-page .partners-table__cell-value {
    grid-column: 2;
    justify-self: end;
    text-align: right;
    min-width: 0;
    line-height: 1.45;
    color: #0f172a;
    font-size: 0.78rem;
    font-weight: 550;
  }
  .partner-hub-page .partners-table__cell-value--chips {
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-end;
    gap: 0.28rem;
  }
  .partner-hub-page .partners-table__contact-name {
    word-break: break-word;
  }
  .partner-hub-page .partners-table__contact-phone {
    white-space: nowrap;
    font-variant-numeric: tabular-nums;
    letter-spacing: 0.01em;
    color: #334155;
    font-weight: 600;
  }
  .partner-hub-page .partners-cell--type-desktop,
  .partner-hub-page .partners-cell--code-desktop,
  .partner-hub-page .partners-cell--status-desktop {
    display: none !important;
  }
  .partner-hub-page .partners-table__commission {
    display: grid !important;
  }
  .partner-hub-page .partners-commission-chip {
    display: inline-flex;
    align-items: center;
    font-size: 0.68rem;
    font-weight: 600;
    color: #0f766e;
    padding: 0.1rem 0.38rem;
    border-radius: 999px;
    background: #ecfdf5;
    line-height: 1.35;
    white-space: nowrap;
  }
  .partner-hub-page .partners-commission-chip--muted {
    color: #64748b;
    background: #f1f5f9;
    font-weight: 550;
  }
  .partner-hub-page .partners-table__actions {
    display: block !important;
    order: 99;
    padding-top: 0.45rem !important;
    margin-top: 0.35rem !important;
    border-top: 1px solid #f1f5f9 !important;
    grid-template-columns: unset !important;
  }
  .partner-hub-page .partners-empty {
    padding: 1.1rem 0.65rem;
    text-align: center;
  }
  .partner-hub-page .partners-empty__title {
    font-size: 0.86rem;
    font-weight: 650;
    color: #64748b;
    margin-bottom: 0.2rem;
  }
  .partner-hub-page .partners-empty__hint {
    font-size: 0.7rem;
    color: #94a3b8;
    line-height: 1.45;
  }
  .partner-hub-page .partners-table tbody tr.partners-empty-row,
  .partner-hub-page .partners-table tbody tr.table-empty-row {
    display: block;
    padding: 0;
    border: 1px dashed #e2e8f0;
    border-radius: var(--gh-admin-card-radius);
    background: #fafbfc;
    box-shadow: none;
  }
}

/* 伙伴中心 · 桌面端去重（状态/类型/推荐码列已有时不再堆在首列） */
@media (min-width: 768px) {
  .partner-hub-page .partners-table__head .partners-status-pill {
    display: none;
  }
  .partner-hub-page .partners-table__meta .hub-meta-chip:not(.partners-table__meta-tenant) {
    display: none;
  }
  .partner-hub-page .partners-table__meta {
    margin-top: 0.2rem;
  }
  .partner-hub-page .partners-table__meta-tenant {
    font-size: 0.72rem;
  }
  .partner-hub-page .partners-table tbody tr.partners-table__row > td {
    vertical-align: middle;
    padding-top: 0.65rem;
    padding-bottom: 0.65rem;
  }
  .partner-hub-page .partners-table__head .log-table__title {
    font-size: 0.9rem;
    font-weight: 650;
  }
  .partner-hub-page .partners-panel {
    border-radius: 0.65rem;
    overflow: hidden;
  }
}

/* 伙伴中心 · 佣金胶囊桌面端 */
.partner-hub-page .partners-table__commission {
  display: flex;
  flex-wrap: wrap;
  gap: 0.25rem;
}
.partner-hub-page .partners-commission-chip {
  display: inline-flex;
  align-items: center;
  font-size: 0.72rem;
  font-weight: 600;
  color: #0f766e;
  padding: 0.1rem 0.38rem;
  border-radius: 999px;
  background: #ecfdf5;
  line-height: 1.35;
  white-space: nowrap;
}
.partner-hub-page .partners-commission-chip--muted {
  color: #64748b;
  background: #f1f5f9;
  font-weight: 550;
}
@media (min-width: 768px) {
  .partner-hub-page .partners-cell--phone-mobile {
    display: none !important;
  }
  .partner-hub-page .partners-table__contact .partners-table__cell-value {
    display: inline;
    font-weight: 400;
  }
  .partner-hub-page .partners-table__contact-phone--desktop,
  .partner-hub-page .partners-table__contact-login--desktop {
    display: block;
    margin-top: 0.12rem;
    font-size: 0.75rem;
    color: #64748b;
    line-height: 1.4;
  }
  .partner-hub-page .partners-table__customers .partners-table__cell-value,
  .partner-hub-page .partners-table__commission .partners-table__cell-value {
    display: contents;
  }
}
@media (max-width: 767.98px) {
  .partner-hub-page .partners-table__contact-phone--desktop,
  .partner-hub-page .partners-table__contact-login--desktop {
    display: none !important;
  }
}

/* 官网右下角：回到顶部 + 在线客服 */
.site-float-dock {
  position: fixed;
  right: max(1rem, env(safe-area-inset-right));
  bottom: max(1rem, env(safe-area-inset-bottom));
  z-index: 1040;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 0.65rem;
  pointer-events: none;
}

.site-float-dock > * {
  pointer-events: auto;
}

.site-float-support {
  position: relative;
}

.site-float-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  padding: 0;
  border: none;
  border-radius: 50%;
  background: #fff;
  color: #2563eb;
  box-shadow:
    0 4px 18px rgba(37, 99, 235, 0.14),
    0 2px 8px rgba(15, 23, 42, 0.08);
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease, opacity 0.2s ease;
}

.site-float-btn:hover {
  transform: translateY(-2px);
  box-shadow:
    0 8px 22px rgba(37, 99, 235, 0.18),
    0 3px 10px rgba(15, 23, 42, 0.1);
}

.site-float-btn:focus-visible {
  outline: 2px solid #2563eb;
  outline-offset: 2px;
}

.site-float-btn__icon {
  width: 20px;
  height: 20px;
}

.site-float-btn--support {
  color: var(--accent, #0d9488);
}

.site-float-btn--top {
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  pointer-events: none;
}

.site-float-dock.is-scrolled .site-float-btn--top {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
  pointer-events: auto;
}

.site-float-support-panel {
  position: absolute;
  right: 0;
  bottom: calc(100% + 0.65rem);
  width: min(18rem, calc(100vw - 2rem));
  padding: 0.85rem 0.95rem;
  border-radius: 12px;
  background: #fff;
  border: 1px solid rgba(148, 163, 184, 0.35);
  box-shadow: 0 12px 32px rgba(15, 23, 42, 0.14);
  opacity: 0;
  visibility: hidden;
  transform: translateY(8px) scale(0.98);
  transform-origin: bottom right;
  transition: opacity 0.2s ease, transform 0.2s ease, visibility 0.2s ease;
}

.site-float-chat {
  position: absolute;
  right: 0;
  bottom: calc(100% + 0.65rem);
  width: min(22rem, calc(100vw - 2rem));
  height: min(26rem, calc(100vh - 6rem));
  display: flex;
  flex-direction: column;
  border-radius: 14px;
  background: #fff;
  border: 1px solid rgba(148, 163, 184, 0.35);
  box-shadow: 0 16px 40px rgba(15, 23, 42, 0.16);
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px) scale(0.98);
  transform-origin: bottom right;
  transition: opacity 0.2s ease, transform 0.2s ease, visibility 0.2s ease;
  overflow: hidden;
}

.site-float-chat.is-open,
.site-float-support-panel.is-open {
  opacity: 1;
  visibility: visible;
  transform: translateY(0) scale(1);
}

.site-float-chat__head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 0.5rem;
  padding: 0.8rem 0.85rem 0.65rem;
  border-bottom: 1px solid #f1f5f9;
  background: linear-gradient(180deg, #f8fafc 0%, #fff 100%);
}

.site-float-chat__head-copy {
  display: flex;
  flex-direction: column;
  gap: 0.12rem;
  min-width: 0;
}

.site-float-chat__head strong {
  font-size: 0.95rem;
  color: #0f172a;
}

.site-float-chat__hours,
.site-float-support-panel__hours {
  font-size: 0.75rem;
  color: #64748b;
}

.site-float-chat__close {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  padding: 0;
  border: none;
  border-radius: 8px;
  background: transparent;
  color: #94a3b8;
  cursor: pointer;
  flex-shrink: 0;
}

.site-float-chat__close:hover {
  background: #f1f5f9;
  color: #475569;
}

.site-float-chat__close svg {
  width: 16px;
  height: 16px;
}

.site-float-chat__messages {
  flex: 1;
  min-height: 0;
  overflow-y: auto;
  padding: 0.75rem 0.7rem;
  background: #f8fafc;
}

.site-float-chat__msg {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  margin-bottom: 0.65rem;
}

.site-float-chat__msg--user {
  align-items: flex-end;
}

.site-float-chat__msg--bot {
  align-items: flex-start;
}

.site-float-chat__bubble {
  max-width: 92%;
  padding: 0.55rem 0.7rem;
  border-radius: 12px;
  font-size: 0.82rem;
  line-height: 1.55;
  word-break: break-word;
}

.site-float-chat__msg--user .site-float-chat__bubble {
  background: var(--accent, #0d9488);
  color: #fff;
  border-bottom-right-radius: 4px;
}

.site-float-chat__msg--bot .site-float-chat__bubble {
  background: #fff;
  color: #334155;
  border: 1px solid #e2e8f0;
  border-bottom-left-radius: 4px;
}

.site-float-chat__links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem;
}

.site-float-chat__link {
  display: inline-flex;
  align-items: center;
  padding: 0.2rem 0.55rem;
  border-radius: 999px;
  background: #ecfeff;
  color: #0f766e;
  font-size: 0.72rem;
  font-weight: 600;
  text-decoration: none;
}

.site-float-chat__link:hover {
  background: #ccfbf1;
  color: #115e59;
}

.site-float-chat__actions {
  padding: 0.4rem 0.65rem 0;
  background: #fff;
  border-top: 1px solid #f8fafc;
}

.site-float-chat__human {
  width: 100%;
  border: 1px dashed #99f6e4;
  background: #f0fdfa;
  color: #0f766e;
  border-radius: 10px;
  padding: 0.38rem 0.6rem;
  font-size: 0.78rem;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.15s ease, border-color 0.15s ease;
}

.site-float-chat__human:hover:not(:disabled) {
  background: #ccfbf1;
}

.site-float-chat__human:disabled {
  opacity: 0.65;
  cursor: not-allowed;
}

.site-float-chat__category {
  margin-bottom: 0.45rem;
}

.site-float-chat__category-title {
  margin: 0 0 0.45rem;
  font-size: 0.78rem;
  font-weight: 600;
  color: #0f766e;
}

.site-float-chat__category-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.35rem;
}

.site-float-chat__category-item {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0;
  border: 1px solid #e2e8f0;
  border-radius: 999px;
  padding: 0.32rem 0.5rem;
  font-size: 0.74rem;
  cursor: pointer;
  background: #fff;
  text-align: center;
  transition: border-color 0.15s ease, background 0.15s ease, color 0.15s ease;
}

.site-float-chat__category-item:has(input:checked) {
  border-color: #14b8a6;
  background: #f0fdfa;
  color: #0f766e;
  font-weight: 600;
}

.site-float-chat__category-item input {
  position: absolute;
  opacity: 0;
  width: 0;
  height: 0;
  margin: 0;
  pointer-events: none;
}

.site-float-chat__category-actions {
  display: flex;
  gap: 0.4rem;
  margin-top: 0.5rem;
}

.site-float-chat__category-cancel,
.site-float-chat__category-confirm {
  flex: 1;
  border-radius: 8px;
  padding: 0.38rem 0.5rem;
  font-size: 0.78rem;
  font-weight: 600;
  cursor: pointer;
}

.site-float-chat__category-cancel {
  border: 1px solid #e2e8f0;
  background: #fff;
  color: #64748b;
}

.site-float-chat__category-confirm {
  border: none;
  background: #0f766e;
  color: #fff;
}

.site-float-chat__category-confirm:hover {
  background: #115e59;
}

.site-float-chat__human[hidden] {
  display: none;
}

.site-float-chat__msg--system {
  align-items: center;
}

.site-float-chat__msg--system .site-float-chat__bubble {
  max-width: 100%;
  background: #fffbeb;
  color: #92400e;
  border: 1px solid #fde68a;
  font-size: 0.78rem;
  text-align: center;
}

.site-float-chat__composer {
  display: flex;
  align-items: flex-end;
  gap: 0.45rem;
  padding: 0.5rem 0.65rem 0.65rem;
  border-top: 1px solid #f1f5f9;
  background: #fff;
}

.site-float-chat__composer-shell {
  flex: 1;
  display: flex;
  align-items: flex-end;
  gap: 0.15rem;
  min-height: 40px;
  padding: 0.2rem 0.35rem 0.2rem 0.15rem;
  border: 1px solid #e2e8f0;
  border-radius: 12px;
  background: #f8fafc;
  transition: border-color 0.15s ease, box-shadow 0.15s ease, background 0.15s ease;
}

.site-float-chat__composer-shell:focus-within {
  border-color: #99f6e4;
  background: #fff;
  box-shadow: 0 0 0 3px rgba(13, 148, 136, 0.1);
}

.site-float-chat__input {
  flex: 1;
  min-width: 0;
  min-height: 1.65rem;
  max-height: 5.5rem;
  resize: none;
  border: none;
  border-radius: 0;
  padding: 0.4rem 0.35rem 0.4rem 0.15rem;
  font-size: 0.82rem;
  line-height: 1.45;
  color: #0f172a;
  background: transparent;
}

.site-float-chat__input:focus {
  outline: none;
  box-shadow: none;
}

.site-float-chat__send {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  padding: 0;
  border: none;
  border-radius: 12px;
  background: var(--accent, #0d9488);
  color: #fff;
  cursor: pointer;
  flex-shrink: 0;
  transition: background 0.15s ease, transform 0.1s ease;
}

.site-float-chat__send:active:not(:disabled) {
  transform: scale(0.96);
}

.site-float-chat__send:hover:not(:disabled) {
  background: var(--accent-hover, #0f766e);
}

.site-float-chat__send:disabled {
  opacity: 0.55;
  cursor: not-allowed;
}

.site-float-chat__send svg {
  width: 18px;
  height: 18px;
}

.site-float-chat__attach {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  margin-bottom: 0.05rem;
  padding: 0;
  border: none;
  border-radius: 8px;
  background: transparent;
  color: #94a3b8;
  cursor: pointer;
  flex-shrink: 0;
  transition: color 0.15s ease, background 0.15s ease;
}
.site-float-chat__attach:hover {
  color: #0d9488;
  background: #f0fdfa;
}
.site-float-chat__attach svg {
  width: 18px;
  height: 18px;
}
.site-float-chat__bubble--image {
  padding: 0.2rem;
  background: #fff;
}
.site-float-chat__bubble--image img {
  display: block;
  max-width: min(220px, 100%);
  max-height: 180px;
  border-radius: 8px;
}
.site-float-chat__msg--user .site-float-chat__bubble--image {
  background: rgba(255, 255, 255, 0.12);
}

.site-float-chat__typing .site-float-chat__bubble {
  display: inline-flex;
  align-items: center;
  gap: 0.28rem;
  min-width: 3rem;
  padding: 0.65rem 0.75rem;
}

.site-float-chat__typing .site-float-chat__bubble span {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #94a3b8;
  animation: site-float-chat-typing 1.1s infinite ease-in-out;
}

.site-float-chat__typing .site-float-chat__bubble span:nth-child(2) {
  animation-delay: 0.15s;
}

.site-float-chat__typing .site-float-chat__bubble span:nth-child(3) {
  animation-delay: 0.3s;
}

@keyframes site-float-chat-typing {
  0%, 80%, 100% { transform: translateY(0); opacity: 0.45; }
  40% { transform: translateY(-3px); opacity: 1; }
}

.site-float-chat__static {
  padding: 0.75rem 0.85rem 0.9rem;
}

.site-float-support-panel__head {
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
  margin-bottom: 0.55rem;
}

.site-float-support-panel__head strong {
  font-size: 0.95rem;
  color: #0f172a;
}

.site-float-support-panel__note {
  margin: 0 0 0.55rem;
  font-size: 0.8rem;
  color: #475569;
  line-height: 1.5;
}

.site-float-support-link {
  display: flex;
  flex-direction: column;
  gap: 0.1rem;
  padding: 0.45rem 0;
  border-top: 1px solid #f1f5f9;
  color: inherit;
  text-decoration: none;
}

.site-float-support-link:first-of-type {
  border-top: none;
  padding-top: 0;
}

.site-float-support-link:hover {
  color: var(--accent, #0d9488);
}

.site-float-support-link__label {
  font-size: 0.7rem;
  color: #94a3b8;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.site-float-support-link__value {
  font-size: 0.88rem;
  font-weight: 600;
  color: #0f172a;
}

.site-float-support-link--cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-top: 0.35rem;
  padding: 0.45rem 0.75rem;
  border-radius: 8px;
  background: var(--accent, #0d9488);
  color: #fff !important;
  font-size: 0.85rem;
  font-weight: 600;
  border-top: none;
}

.site-float-support-link--cta:hover {
  background: var(--accent-hover, #0f766e);
  color: #fff !important;
}

@media (max-width: 575.98px) {
  .site-float-dock {
    right: 0.75rem;
    bottom: 0.75rem;
  }

  .site-float-btn {
    width: 42px;
    height: 42px;
  }
}

/* 投稿发文 8 步流程 */
.content-hub-flow-nav {
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
}
.content-hub-flow-nav__group {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.45rem 0.65rem;
}
.content-hub-flow-nav__label {
  font-size: 0.72rem;
  font-weight: 700;
  color: #64748b;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  min-width: 2rem;
}
.content-hub-flow-nav__track {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem;
}
.content-hub-flow-nav__link {
  padding: 0.32rem 0.65rem;
  border-radius: 999px;
  border: 1px solid #e2e8f0;
  background: #fff;
  color: #475569;
  font-size: 0.78rem;
  font-weight: 600;
  text-decoration: none;
}
.content-hub-flow-nav__link.is-on,
.content-hub-flow-nav__link:hover {
  border-color: rgba(13, 148, 136, 0.35);
  color: #0d9488;
  background: #f0fdfa;
}
.hub-publish-path__stats-link {
  margin-left: auto;
  font-size: 0.78rem;
  font-weight: 600;
  color: #0d9488;
  text-decoration: none;
}
.hub-publish-path__track--8 .hub-publish-path__node,
.hub-publish-path__track--10 .hub-publish-path__node {
  min-width: 0;
  flex: 1;
}
.content-hub-phase--verify .content-hub-phase__title {
  color: #0f766e;
}
.content-hub-verify-step {
  max-width: 36rem;
}
.content-hub-hub-section { margin-bottom: 0.85rem; }
.content-hub-hub-section__title {
  font-size: 0.8rem;
  font-weight: 700;
  color: #64748b;
  margin: 0 0 0.45rem;
}
.cap-card.is-ready,
.hub-publish-path__chip.is-ready {
  border-color: rgba(13, 148, 136, 0.35);
  background: linear-gradient(180deg, #f0fdfa 0%, #fff 70%);
}
.hub-content-panel--workflow { max-width: none; }
.publish-control-panel__status {
  font-size: 0.85rem;
  color: #64748b;
}
.publish-control-panel__status.is-running { color: #ea580c; font-weight: 600; }
/* 发布任务 · 发布配置（设置列表，避免被 mobile-list-page 表单样式拉成全宽） */
.publish-config-panel__header {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  justify-content: space-between;
  gap: 0.65rem 1rem;
  margin-bottom: 0.85rem;
  padding-bottom: 0.75rem;
  border-bottom: 1px solid #e2e8f0;
}
.publish-config-panel__title {
  font-size: 1rem;
  font-weight: 700;
  color: #0f172a;
  margin: 0 0 0.2rem;
}
.publish-config-panel__lead {
  font-size: 0.8125rem;
  color: #64748b;
  max-width: 28rem;
  line-height: 1.45;
}
.publish-config-panel__status {
  flex: 0 0 auto;
  font-size: 0.75rem;
  font-weight: 600;
  padding: 0.28rem 0.65rem;
  border-radius: 999px;
  color: #64748b;
  background: #f1f5f9;
  border: 1px solid #e2e8f0;
  white-space: nowrap;
}
.publish-config-panel__status--on {
  color: #0f766e;
  background: #ecfdf5;
  border-color: rgba(13, 148, 136, 0.28);
}
.publish-config-panel__settings {
  border: 1px solid #e2e8f0;
  border-radius: 0.65rem;
  overflow: hidden;
  background: #fff;
}
.publish-config-panel__row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 0.75rem 1rem;
  align-items: center;
  padding: 0.85rem 1rem;
}
.publish-config-panel__row + .publish-config-panel__row {
  border-top: 1px solid #f1f5f9;
}
.publish-config-panel__meta {
  min-width: 0;
}
.publish-config-panel__row-title {
  display: block;
  font-size: 0.9rem;
  font-weight: 600;
  color: #1e293b;
  line-height: 1.35;
}
.publish-config-panel__row-desc {
  display: block;
  margin-top: 0.15rem;
  font-size: 0.75rem;
  color: #94a3b8;
  line-height: 1.4;
}
.publish-config-panel__toggle {
  display: inline-flex;
  align-items: center;
  cursor: pointer;
  margin: 0;
  flex-shrink: 0;
}
.publish-config-panel__toggle-input {
  position: absolute;
  opacity: 0;
  width: 1px;
  height: 1px;
  pointer-events: none;
}
.publish-config-panel__toggle-track {
  width: 2.5rem;
  height: 1.35rem;
  border-radius: 999px;
  background: #cbd5e1;
  position: relative;
  transition: background 0.15s ease;
}
.publish-config-panel__toggle-track::after {
  content: "";
  position: absolute;
  top: 2px;
  left: 2px;
  width: 1.1rem;
  height: 1.1rem;
  border-radius: 50%;
  background: #fff;
  box-shadow: 0 1px 3px rgba(15, 23, 42, 0.15);
  transition: transform 0.15s ease;
}
.publish-config-panel__toggle-input:checked + .publish-config-panel__toggle-track {
  background: #0d9488;
}
.publish-config-panel__toggle-input:checked + .publish-config-panel__toggle-track::after {
  transform: translateX(1.15rem);
}
.publish-config-panel__toggle-input:focus-visible + .publish-config-panel__toggle-track {
  outline: 2px solid rgba(13, 148, 136, 0.45);
  outline-offset: 2px;
}
.publish-config-panel__stepper {
  display: inline-flex;
  align-items: center;
  flex-shrink: 0;
  gap: 0.35rem;
  padding: 0.35rem 0.55rem 0.35rem 0.45rem;
  background: #f8fafc;
  border: 1px solid #cbd5e1;
  border-radius: 0.5rem;
  box-shadow: inset 0 1px 2px rgba(15, 23, 42, 0.04);
}
.publish-config-panel__stepper:focus-within {
  border-color: #0d9488;
  box-shadow: 0 0 0 3px rgba(13, 148, 136, 0.18);
}
.content-hub-list-page .publish-config-panel__stepper-input,
.publish-config-panel__stepper-input {
  width: 3rem !important;
  min-width: 3rem !important;
  max-width: 3rem !important;
  flex: 0 0 3rem !important;
  border: 0 !important;
  background: transparent !important;
  padding: 0 !important;
  margin: 0 !important;
  min-height: 0 !important;
  font-size: 1rem !important;
  font-weight: 700;
  color: #0f172a;
  text-align: center;
  line-height: 1.2;
  -moz-appearance: textfield;
  box-shadow: none !important;
}
.publish-config-panel__stepper-input:focus {
  outline: none;
}
.publish-config-panel__stepper-input::-webkit-outer-spin-button,
.publish-config-panel__stepper-input::-webkit-inner-spin-button {
  -webkit-appearance: none;
  margin: 0;
}
.publish-config-panel__stepper-unit {
  font-size: 0.8125rem;
  font-weight: 500;
  color: #64748b;
  padding-right: 0.1rem;
}
.publish-config-panel__footer {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.75rem 1.25rem;
  margin-top: 0.85rem;
}
.publish-config-panel__note {
  flex: 1 1 14rem;
  font-size: 0.8125rem;
  color: #64748b;
  line-height: 1.5;
  padding: 0.5rem 0.65rem;
  background: #f8fafc;
  border-radius: 0.45rem;
}
@media (max-width: 575.98px) {
  .publish-config-panel__row {
    grid-template-columns: 1fr;
    gap: 0.55rem;
  }
  .publish-config-panel__toggle,
  .publish-config-panel__stepper {
    justify-self: start;
  }
}
.publish-log-box {
  max-height: 220px;
  overflow-y: auto;
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 0.5rem;
  padding: 0.65rem 0.75rem;
  font-size: 0.82rem;
}
.publish-log-line { margin-bottom: 0.35rem; display: flex; flex-wrap: wrap; gap: 0.35rem; align-items: center; }
.publish-log-time { color: #94a3b8; font-family: ui-monospace, monospace; }
.content-hub-official-section__head {
  margin-bottom: 0.85rem;
}
.content-hub-official-section__head--split {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  justify-content: space-between;
  gap: 0.65rem 1rem;
}
.content-hub-official-section__head-main {
  flex: 1 1 14rem;
  min-width: 0;
}
.content-hub-official-section__title {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin: 0 0 0.35rem;
  font-size: 0.9375rem;
  font-weight: 650;
  color: #0f172a;
}
.content-hub-official-section__title--plain {
  display: block;
}
.content-hub-official-section__sub {
  margin: 0;
  font-size: 0.8125rem;
  color: #64748b;
  line-height: 1.45;
}
.content-hub-official-section__badge {
  flex: 0 0 1.35rem;
  width: 1.35rem;
  height: 1.35rem;
  border-radius: 999px;
  background: #0d9488;
  color: #fff;
  font-size: 0.75rem;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
.content-hub-official-section__body {
  padding-top: 0.15rem;
}
.content-hub-official-step2-hint {
  display: flex;
  align-items: flex-start;
  gap: 0.65rem;
  padding: 0.75rem 1rem;
  background: #f8fafc;
  border: 1px solid #e2e8f0;
}
.content-hub-official-step2-hint__text {
  font-size: 0.8125rem;
  color: #475569;
  line-height: 1.5;
}
.content-hub-official-register-panel > summary {
  cursor: pointer;
  list-style: none;
}
.content-hub-official-register-panel > summary::-webkit-details-marker {
  display: none;
}
.content-hub-official-register-panel__summary {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: space-between;
  gap: 0.25rem 0.75rem;
  font-weight: 650;
  font-size: 0.9375rem;
  color: #0f172a;
}
.content-hub-official-register-panel__summary::before {
  content: "▸";
  display: inline-block;
  margin-right: 0.35rem;
  color: #0d9488;
  transition: transform 0.15s ease;
}
.content-hub-official-register-panel[open] > .content-hub-official-register-panel__summary::before {
  transform: rotate(90deg);
}
.content-hub-official-register-panel__title {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
}
.content-hub-official-register-panel__body {
  padding-top: 0.85rem;
  margin-top: 0.75rem;
  border-top: 1px solid #e2e8f0;
}
.content-hub-official-records__aside {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.35rem 0.5rem;
}
.content-hub-official-flow__steps--inline-hint {
  margin-bottom: 0.65rem;
}
.content-hub-probe-metrics-hint__sum {
  cursor: pointer;
  color: #0f766e;
  font-weight: 500;
}
.content-hub-probe-metrics-hint__sum:hover {
  text-decoration: underline;
}
.content-hub-probe-table tbody tr.content-hub-probe-row {
  vertical-align: middle;
}
.content-hub-probe-row__site {
  max-width: 20rem;
}
.content-hub-probe-row__site .content-hub-theme-row__title {
  font-size: 0.875rem;
  word-break: break-all;
}
.content-hub-probe-row__chips {
  display: flex;
  flex-wrap: wrap;
  gap: 0.25rem;
  margin-top: 0.35rem;
}
.content-hub-probe-advice {
  margin-top: 0.35rem;
  max-width: 22rem;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  line-height: 1.35;
}
.content-hub-probe-score {
  white-space: nowrap;
}
.content-hub-probe-score__body {
  display: inline-flex;
  align-items: center;
  justify-content: flex-end;
  flex-wrap: wrap;
  gap: 0.35rem;
}
.content-hub-probe-score__labels {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
}
.content-hub-probe-score__caption {
  display: none;
}
.content-hub-probe-score__num {
  display: inline-block;
  font-weight: 600;
  font-size: 0.8125rem;
  color: #334155;
  margin-right: 0.35rem;
  vertical-align: middle;
}
.content-hub-probe-score__num--lead {
  margin-right: 0;
}
.content-hub-probe-row__head {
  min-width: 0;
}
.content-hub-probe-row__desc {
  line-height: 1.35;
}
.content-hub-probe-table .content-hub-status--compact {
  display: inline-block;
  font-size: 0.65rem;
  padding: 0.12rem 0.4rem;
  margin-top: 0;
  vertical-align: middle;
}
.content-hub-probe-table .hub-meta-chip--muted {
  background: #f1f5f9;
  color: #64748b;
  border-color: #e2e8f0;
}
.content-hub-probe-remove {
  color: #64748b !important;
  text-decoration: none;
  font-size: 0.8125rem;
}
.content-hub-probe-remove:hover {
  color: #0f766e !important;
  text-decoration: none;
}
@media (min-width: 768px) {
  .content-hub-probe-score__body {
    flex-direction: row-reverse;
  }
  .content-hub-probe-remove.btn-outline-secondary {
    border: none;
    background: transparent;
    padding: 0 !important;
    min-height: 0;
    width: auto;
  }
  .content-hub-probe-remove.btn-outline-secondary:hover {
    color: #0f766e !important;
    background: transparent;
    text-decoration: underline;
  }
}
.content-hub-probe-table td.content-hub-probe-row__act {
  width: 3.5rem;
}
.content-hub-table-th-tip {
  cursor: help;
  border-bottom: 1px dotted #94a3b8;
}
.content-hub-score-tip {
  cursor: help;
}
@media (min-width: 768px) {
  .content-hub-official-flow__steps--inline-hint {
    grid-template-columns: repeat(3, 1fr);
  }
}
.content-hub-official-register .form-label {
  font-size: 0.75rem;
  font-weight: 600;
  color: #475569;
  margin-bottom: 0.25rem;
}
.content-hub-official-market .keyword-library-panel__chips--inline {
  flex: 1 1 auto;
  min-width: 0;
}
.content-hub-official-market .keyword-library-toolbar {
  flex-wrap: wrap;
}
.content-hub-official-market-tier {
  display: inline-flex;
  align-items: center;
  padding: 0.12rem 0.45rem;
  border-radius: 999px;
  font-size: 0.72rem;
  font-weight: 600;
}
.content-hub-official-market-tier--high {
  color: #047857;
  background: #ecfdf5;
}
.content-hub-official-market-tier--mid {
  color: #0f766e;
  background: #f0fdfa;
}
.content-hub-official-market-tier--ok {
  color: #64748b;
  background: #f1f5f9;
}
.content-hub-official-ref-chip {
  display: inline-flex;
  align-items: baseline;
  gap: 0.25rem 0.35rem;
  padding: 0.2rem 0.4rem;
  border-radius: 0.4rem;
  background: #f8fafc;
  border: 1px solid #eef2f6;
  font-size: 0.75rem;
  color: #475569;
}
.content-hub-official-ref-chip em {
  font-style: normal;
  font-size: 0.68rem;
  font-weight: 600;
  color: #94a3b8;
}
@media (min-width: 768px) {
  .content-hub-official-market-ref.d-md-none {
    display: none !important;
  }
}
.content-hub-official-url {
  max-width: 16rem;
}
.content-hub-official-page .content-hub-phase-chips {
  margin-bottom: 0;
}
.content-hub-official-flow {
  padding: 1rem 1.1rem;
  background: linear-gradient(135deg, #f0fdfa 0%, #f8fafc 55%);
  border: 1px solid #ccfbf1;
}
.content-hub-knowledge-guide .content-hub-official-flow__steps {
  margin-bottom: 0.5rem;
}
.content-hub-knowledge-guide .content-hub-official-flow__steps li strong {
  font-weight: 600;
  color: #334155;
}
.content-hub-official-flow--compact {
  background: #f8fafc;
  border-color: #e2e8f0;
}
.content-hub-official-flow__title {
  margin: 0 0 0.65rem;
  font-size: 0.9375rem;
  font-weight: 650;
  color: #0f172a;
}
.content-hub-official-flow__steps {
  margin: 0 0 0.75rem;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 0.5rem;
}
@media (min-width: 768px) {
  .content-hub-official-flow__steps {
    grid-template-columns: repeat(3, 1fr);
    gap: 0.65rem;
  }
}
.content-hub-official-flow__steps li {
  display: flex;
  gap: 0.5rem;
  align-items: flex-start;
  font-size: 0.8125rem;
  color: #475569;
  line-height: 1.45;
}
.content-hub-official-flow__n {
  flex: 0 0 1.35rem;
  height: 1.35rem;
  border-radius: 999px;
  background: #0d9488;
  color: #fff;
  font-size: 0.7rem;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
.content-hub-official-flow__links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}
.content-hub-ten-step-bar {
  padding: 0.75rem 1rem;
}
.content-hub-ten-step-bar__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
  margin-bottom: 0.5rem;
}
.content-hub-ten-step-bar__kicker {
  font-size: 0.75rem;
  font-weight: 650;
  color: #64748b;
  text-transform: none;
}
.content-hub-ten-step-bar__toggle {
  font-size: 0.75rem;
  text-decoration: none;
}
.content-hub-ten-step-bar__track {
  display: flex;
  gap: 0.35rem;
  overflow-x: auto;
  padding-bottom: 0.15rem;
  -webkit-overflow-scrolling: touch;
}
.content-hub-ten-step-bar__item {
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.25rem 0.5rem;
  border-radius: 999px;
  border: 1px solid #e2e8f0;
  background: #fff;
  font-size: 0.7rem;
  color: #475569;
  text-decoration: none;
  max-width: 11rem;
}
.content-hub-ten-step-bar__item:hover {
  border-color: #99f6e4;
  color: #0f766e;
}
.content-hub-ten-step-bar__item.is-current {
  border-color: #0d9488;
  background: #f0fdfa;
  color: #0f766e;
  font-weight: 650;
}
.content-hub-ten-step-bar__num {
  width: 1.1rem;
  height: 1.1rem;
  border-radius: 999px;
  background: #e2e8f0;
  color: #334155;
  font-size: 0.65rem;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
.content-hub-ten-step-bar__item.is-current .content-hub-ten-step-bar__num {
  background: #0d9488;
  color: #fff;
}
.content-hub-ten-step-bar__label {
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.content-hub-ten-step-bar__adj-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.35rem 0.75rem;
  margin-top: 0.5rem;
  padding-top: 0.45rem;
  border-top: 1px solid #e2e8f0;
}
.content-hub-ten-step-bar__adj {
  font-size: 0.8125rem;
  font-weight: 500;
  color: #0f766e;
  text-decoration: none;
}
.content-hub-ten-step-bar__adj:hover {
  color: #0d9488;
  text-decoration: underline;
}
.content-hub-ten-step-bar__adj--next {
  margin-left: auto;
}
.content-hub-distribute-copies > summary {
  cursor: pointer;
  list-style: none;
}
.content-hub-distribute-copies > summary::-webkit-details-marker {
  display: none;
}

/* 投稿发文通用列表（与关键词词库同构） */
.keyword-library-panel {
  padding: 1rem;
}
.keyword-library-panel__chips {
  margin-bottom: 0.65rem;
}
.keyword-library-panel__chips .content-hub-phase-chips {
  margin-bottom: 0;
}
.keyword-library-panel__notice {
  margin-bottom: 0.75rem;
  padding: 0.55rem 0.75rem;
  border-radius: 8px;
  background: #fffbeb;
  border: 1px solid #fde68a;
  font-size: 0.8125rem;
  color: #78350f;
}
.content-hub-detail-page .panel-card {
  max-width: 52rem;
}
.content-hub-detail-page .panel-card.content-hub-detail-page__wide,
.content-hub-detail-page .content-hub-detail-page__wide {
  max-width: none;
}
/* 创作指令弹窗（词库 modal 风格） */
.keyword-library-modal.wi-page .modal-content > form.wi-form {
  display: flex;
  flex-direction: column;
  max-height: 100%;
  min-height: 0;
  flex: 1 1 auto;
}
.keyword-library-modal.wi-page .modal-header,
.keyword-library-modal.wi-page .modal-footer {
  flex-shrink: 0;
}
.keyword-library-modal.wi-page .modal-body {
  padding: 1rem 1.2rem 0.75rem;
  overflow-y: auto;
  flex: 1 1 auto;
  min-height: 0;
}
.keyword-library-modal.wi-page .wi-form {
  max-width: none;
}
.keyword-library-modal.wi-page .wi-section {
  margin-bottom: 1rem;
}
.keyword-library-modal.wi-page .wi-section--content {
  margin-bottom: 0.75rem;
}
.keyword-library-modal.wi-page .wi-content {
  min-height: 11rem;
  border-radius: 8px;
}
.keyword-library-modal.wi-page .wi-reminder {
  margin-bottom: 0;
  background: #fff8f0;
  border-color: #fde68a;
  color: #92400e;
}
.keyword-library-modal.wi-page .wi-reminder strong {
  color: #b45309;
}
.keyword-library-modal.wi-page .modal-footer {
  gap: 0.4rem;
  padding: 0.85rem 1.2rem 1rem;
}
.keyword-library-modal .modal-body .form-label {
  font-size: 0.8125rem;
  font-weight: 600;
  color: #334155;
  margin-bottom: 0.35rem;
}
.keyword-library-modal .modal-body .form-control,
.keyword-library-modal .modal-body .form-select {
  border-radius: 8px;
  border-color: #e2e8f0;
  font-size: 0.875rem;
}
.keyword-library-modal .modal-body .form-control:focus,
.keyword-library-modal .modal-body .form-select:focus {
  border-color: #5eead4;
  box-shadow: 0 0 0 3px rgba(13, 148, 136, 0.1);
}
.keyword-library-toolbar,
.content-hub-library-toolbar {
  display: flex;
  flex-wrap: nowrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.65rem;
  margin-bottom: 0.75rem;
}
.keyword-library-toolbar__actions,
.content-hub-library-toolbar__actions {
  display: flex;
  flex-wrap: nowrap;
  align-items: center;
  gap: 0.4rem;
  flex: 0 0 auto;
}
.keyword-library-toolbar__search,
.content-hub-library-toolbar__search {
  display: flex;
  flex-wrap: nowrap;
  align-items: center;
  gap: 0.35rem;
  flex: 0 1 17.5rem;
  min-width: 0;
  margin: 0;
}
.keyword-library-toolbar__search--wide,
.content-hub-library-toolbar__search--wide {
  flex: 1 1 auto;
  max-width: 28rem;
}
.keyword-library-toolbar__search--wide .form-select,
.content-hub-library-toolbar__search--wide .form-select {
  flex: 0 1 8.5rem;
  min-width: 0;
  min-height: 2rem;
}
.keyword-library-toolbar__search-input,
.content-hub-library-toolbar__search-input {
  flex: 1 1 auto;
  min-width: 0;
  min-height: 2rem;
}
.keyword-library-toolbar__search .btn,
.content-hub-library-toolbar__search .btn {
  flex: 0 0 auto;
  white-space: nowrap;
  min-height: 2rem;
}
@media (max-width: 575.98px) {
  .keyword-library-toolbar,
  .content-hub-library-toolbar {
    flex-wrap: wrap;
  }
  .keyword-library-toolbar__actions,
  .content-hub-library-toolbar__actions {
    flex: 1 1 100%;
  }
  .keyword-library-toolbar__search,
  .content-hub-library-toolbar__search {
    flex: 1 1 100%;
    max-width: none;
  }
  .keyword-library-toolbar__search--wide,
  .content-hub-library-toolbar__search--wide {
    flex-wrap: wrap;
  }
  .keyword-library-toolbar__search--wide .form-select,
  .content-hub-library-toolbar__search--wide .form-select {
    flex: 1 1 100%;
  }
}
.content-hub-article-panel .keyword-library-toolbar {
  margin-bottom: 0.5rem;
}
.content-hub-article-stats {
  color: #64748b;
  font-size: 0.8125rem;
  white-space: nowrap;
}
.content-hub-article-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  align-items: center;
  gap: 0.35rem;
}
.content-hub-article-actions form {
  margin: 0;
}
@media (max-width: 767.98px) {
  .content-hub-article-stats {
    flex: 1 1 100%;
    white-space: normal;
  }
}
/* 内容中心 · 手机端操作栏（须放在列表样式之后，避免被 display:block 盖掉） */
@media (max-width: 767.98px) {
  .content-hub-list-page td.content-hub-table__actions,
  .content-hub-list-page td.content-hub-article-actions {
    display: grid !important;
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 0.4rem !important;
    width: 100% !important;
    max-width: 100% !important;
    margin-top: 0.35rem;
    padding-top: 0.55rem !important;
    border-top: 1px solid #eef2f6;
    text-align: left !important;
    white-space: normal;
  }
  .content-hub-list-page td.content-hub-table__actions::before,
  .content-hub-list-page td.content-hub-article-actions::before {
    display: none !important;
  }
  .content-hub-list-page td.content-hub-table__actions > :is(a, form, button),
  .content-hub-list-page td.content-hub-article-actions > :is(a, form) {
    display: flex !important;
    margin: 0 !important;
    width: 100% !important;
    min-width: 0 !important;
  }
  .content-hub-list-page td.content-hub-table__actions > a.btn,
  .content-hub-list-page td.content-hub-article-actions > a.btn {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    text-align: center !important;
    text-decoration: none !important;
  }
  .content-hub-list-page td.content-hub-table__actions .btn,
  .content-hub-list-page td.content-hub-article-actions .btn {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    text-align: center !important;
    flex: 1 1 auto;
    width: 100% !important;
    min-height: 2rem !important;
    padding: 0.32rem 0.45rem !important;
    font-size: 0.8125rem !important;
    font-weight: 600 !important;
    line-height: 1.25 !important;
    border-radius: 0.5rem !important;
    box-shadow: none !important;
  }
  .content-hub-list-page td.content-hub-table__actions .btn-outline-secondary,
  .content-hub-list-page td.content-hub-article-actions .btn-outline-secondary {
    background: #f8fafc !important;
    border-color: #e2e8f0 !important;
    color: #334155 !important;
  }
  .content-hub-list-page td.content-hub-table__actions .btn-outline-danger,
  .content-hub-list-page td.content-hub-article-actions .btn-outline-danger {
    background: #fff !important;
    border-color: #fecdd3 !important;
    color: #e11d48 !important;
  }
  .content-hub-list-page td.content-hub-table__actions:has(> :only-child),
  .content-hub-list-page td.content-hub-article-actions:has(> :only-child) {
    grid-template-columns: minmax(0, 11rem) !important;
  }
  .content-hub-keyword-titles .keyword-title-table tbody tr:not(.table-empty-row) > td:not(.content-hub-table__actions) {
    display: block;
  }
  .content-hub-list-page .keyword-library-panel {
    padding: 0.75rem 0.65rem;
  }
  .content-hub-list-page .table-mobile-wrap {
    margin: 0 -0.05rem;
  }
}
.keyword-library-table__check { width: 2.25rem; }
.keyword-library-table__num { width: 3rem; }
.content-hub-table__link {
  color: var(--accent, #0d9488);
  font-weight: 600;
  text-decoration: none;
}
.content-hub-table__link:hover { text-decoration: underline; }
.keyword-library-toggle-form {
  display: inline-block;
  margin: 0;
  vertical-align: middle;
}
.keyword-library-toggle {
  width: 2.5rem;
  height: 1.35rem;
  border: none;
  border-radius: 999px;
  background: #94a3b8;
  padding: 0.1rem;
  position: relative;
  cursor: pointer;
  transition: background 0.15s ease, box-shadow 0.15s ease, transform 0.1s ease;
  box-shadow: inset 0 0 0 1px rgba(15, 23, 42, 0.08);
}
.keyword-library-toggle:hover {
  background: #64748b;
  box-shadow: inset 0 0 0 1px rgba(15, 23, 42, 0.12), 0 0 0 2px rgba(13, 148, 136, 0.15);
}
.keyword-library-toggle:active {
  transform: scale(0.96);
}
.keyword-library-toggle.is-on {
  background: #22c55e;
}
.keyword-library-toggle.is-on:hover {
  background: #16a34a;
  box-shadow: inset 0 0 0 1px rgba(15, 23, 42, 0.08), 0 0 0 2px rgba(34, 197, 94, 0.2);
}
.keyword-library-toggle__thumb {
  display: block;
  width: 1.05rem;
  height: 1.05rem;
  border-radius: 50%;
  background: #fff;
  box-shadow: 0 1px 3px rgba(0,0,0,0.15);
  transition: transform 0.15s ease;
  pointer-events: none;
}
.keyword-library-toggle.is-on .keyword-library-toggle__thumb {
  transform: translateX(1.1rem);
}
.keyword-library-table td[data-label="启用状态"] {
  position: relative;
  z-index: 1;
}
.keyword-title-table__text {
  display: block;
  line-height: 1.45;
  word-break: break-word;
}
.keyword-pack-status-badge,
.keyword-title-index-badge {
  display: inline-block;
  padding: 0.12rem 0.5rem;
  border-radius: 999px;
  font-size: 0.75rem;
  font-weight: 600;
  white-space: nowrap;
}
.keyword-pack-status-badge.is-ready {
  color: #0f766e;
  background: #ecfdf5;
}
.keyword-pack-status-badge.is-draft {
  color: #b45309;
  background: #fffbeb;
}
.keyword-pack-status-badge.is-empty {
  color: #64748b;
  background: #f1f5f9;
}
.keyword-title-index-badge {
  color: #64748b;
  background: #f1f5f9;
}
.keyword-title-index-badge.is-published {
  color: #0f766e;
  background: #ecfdf5;
}
.content-hub-keyword-titles .keyword-library-toolbar__actions {
  flex-wrap: wrap;
}
.keyword-library-modal .modal-content {
  border: none;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 16px 48px rgba(15, 23, 42, 0.14);
}
.keyword-library-modal .modal-header {
  padding: 0.9rem 1.2rem;
  border-bottom: 1px solid #e2e8f0;
  background: linear-gradient(180deg, #f8fafc 0%, #fff 100%);
}
.keyword-library-modal .modal-title {
  font-size: 1rem;
  font-weight: 650;
  color: #0f172a;
}
.keyword-library-modal .modal-footer {
  padding: 0.7rem 1.2rem;
  border-top: 1px solid #e2e8f0;
  background: #f8fafc;
}
.keyword-library-modal__body {
  padding: 1rem 1.2rem 1.1rem;
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
}
.keyword-library-modal__fields {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.65rem 0.85rem;
}
.keyword-library-modal__fields--single {
  grid-template-columns: minmax(0, 1fr);
}
.keyword-library-modal__label {
  display: block;
  margin-bottom: 0.3rem;
  font-size: 0.8125rem;
  font-weight: 600;
  color: #334155;
}
.keyword-library-modal__hint {
  display: block;
  margin-top: 0.25rem;
  font-size: 0.75rem;
  color: #94a3b8;
  line-height: 1.35;
}
.keyword-library-modal__field .form-control {
  border-radius: 8px;
  border-color: #e2e8f0;
  font-size: 0.875rem;
  min-height: 2.25rem;
  box-shadow: none;
}
.keyword-library-modal__field .form-control:focus {
  border-color: #5eead4;
  box-shadow: 0 0 0 3px rgba(13, 148, 136, 0.12);
}
.keyword-library-modal__panel {
  padding: 0.85rem;
  border: 1px solid #e2e8f0;
  border-radius: 10px;
  background: #fafbfc;
}
.keyword-library-modal__mode-bar {
  display: flex;
  flex-wrap: nowrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.65rem;
  margin-bottom: 0.45rem;
}
.keyword-library-modal__modes {
  display: inline-flex;
  align-items: center;
  padding: 0.18rem;
  border-radius: 9px;
  background: #e2e8f0;
  gap: 0.15rem;
}
.keyword-library-modal__mode {
  border: none;
  background: transparent;
  padding: 0.32rem 0.72rem;
  border-radius: 7px;
  font-size: 0.8125rem;
  font-weight: 600;
  color: #64748b;
  cursor: pointer;
  white-space: nowrap;
  transition: background 0.15s ease, color 0.15s ease, box-shadow 0.15s ease;
}
.keyword-library-modal__mode:hover {
  color: #334155;
}
.keyword-library-modal__mode.is-on {
  background: #fff;
  color: #0f766e;
  box-shadow: 0 1px 3px rgba(15, 23, 42, 0.1);
}
.keyword-library-modal__mode-hint {
  margin: 0 0 0.65rem;
  font-size: 0.75rem;
  color: #94a3b8;
  line-height: 1.45;
}
.keyword-library-modal__ai-btn {
  flex: 0 0 auto;
  border: 1px solid #99f6e4;
  background: #fff;
  color: #0f766e;
  font-weight: 600;
  white-space: nowrap;
}
.keyword-library-modal__ai-btn:hover {
  background: #f0fdfa;
  border-color: #5eead4;
  color: #0d9488;
}
.keyword-library-modal__textarea {
  font-size: 0.8125rem;
  line-height: 1.55;
  border-radius: 8px;
  border-color: #e2e8f0;
  background: #fff;
  min-height: 11rem;
  resize: vertical;
}
.keyword-library-modal__textarea:focus {
  border-color: #5eead4;
  box-shadow: 0 0 0 3px rgba(13, 148, 136, 0.1);
}
.keyword-library-modal__editor-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.65rem 0.85rem;
}
@media (max-width: 767.98px) {
  .keyword-library-modal .modal-dialog {
    margin: 0.5rem auto;
    max-width: calc(100% - 1rem);
  }
  .keyword-library-modal.modal .modal-dialog.modal-dialog-scrollable {
    max-height: calc(100dvh - 1rem);
    display: flex;
  }
  .keyword-library-modal .modal-content {
    max-height: calc(100dvh - 1rem);
    display: flex;
    flex-direction: column;
    border-radius: 14px;
  }
  .keyword-library-modal .modal-header {
    flex-shrink: 0;
    padding: 0.8rem 0.95rem;
  }
  .keyword-library-modal .modal-title {
    font-size: 0.9375rem;
  }
  .keyword-library-modal .modal-body {
    flex: 1 1 auto;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
  }
  .keyword-library-modal__body {
    padding: 0.8rem 0.95rem 0.95rem;
    gap: 0.7rem;
  }
  .keyword-library-modal__fields,
  .keyword-library-modal__editor-grid {
    grid-template-columns: minmax(0, 1fr);
    gap: 0.55rem;
  }
  .keyword-library-modal__label {
    font-size: 0.78rem;
    margin-bottom: 0.25rem;
  }
  .keyword-library-modal__field .form-control {
    min-height: 2.35rem;
    font-size: 0.875rem;
  }
  .keyword-library-modal__panel {
    padding: 0.7rem 0.75rem;
    border-radius: 0.55rem;
    background: #fff;
  }
  .keyword-library-modal__mode-bar {
    flex-direction: column;
    align-items: stretch;
    gap: 0.4rem;
    margin-bottom: 0.35rem;
  }
  .keyword-library-modal__modes {
    display: flex;
    width: 100%;
    flex: none;
    padding: 0.15rem;
    border-radius: 0.5rem;
  }
  .keyword-library-modal__mode {
    flex: 1 1 0;
    min-width: 0;
    padding: 0.36rem 0.35rem;
    font-size: 0.7rem;
    line-height: 1.25;
    white-space: normal;
    text-align: center;
  }
  .keyword-library-modal__mode-hint {
    font-size: 0.72rem;
    margin-bottom: 0.5rem;
    color: #64748b;
  }
  .keyword-library-modal__ai-btn:not(.d-none) {
    width: 100%;
    min-height: 2.35rem;
    border-radius: 0.45rem;
  }
  .keyword-library-modal__textarea {
    min-height: 10rem;
    font-size: 0.8125rem;
    line-height: 1.5;
  }
  .keyword-library-modal .modal-footer {
    flex-shrink: 0;
    display: flex;
    flex-wrap: nowrap;
    gap: 0.5rem;
    padding: 0.65rem 0.95rem calc(0.7rem + env(safe-area-inset-bottom, 0px));
    background: #fff;
    border-top: 1px solid #e8edf2;
  }
  .keyword-library-modal .modal-footer .btn {
    flex: 1 1 0;
    min-width: 0;
    min-height: 2.45rem;
    margin: 0;
    font-size: 0.875rem;
    font-weight: 600;
    border-radius: 0.55rem;
  }
  .keyword-library-modal .modal-footer .btn-accent {
    flex: 1.15 1 0;
  }
}

@media (max-width: 767.98px) {
  .hub-step-grid--produce { grid-template-columns: 1fr; }
  .hub-publish-path__track--8,
  .hub-publish-path__track--10 { flex-direction: column; }
  .hub-publish-path__track--8 .hub-publish-path__arrow,
  .hub-publish-path__track--10 .hub-publish-path__arrow { display: none; }
}

.content-hub-admin-nav {
  padding: 0.85rem 1rem 1rem;
}
.content-hub-admin-nav__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  flex-wrap: wrap;
  margin-bottom: 0.65rem;
}
.content-hub-admin-nav__title {
  font-weight: 600;
  color: var(--geo-text, #0f172a);
}
.content-hub-admin-nav__links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem;
  margin-bottom: 0.5rem;
}
.content-hub-admin-nav__link {
  display: inline-flex;
  align-items: center;
  padding: 0.35rem 0.75rem;
  border-radius: 999px;
  font-size: 0.8125rem;
  text-decoration: none;
  color: var(--geo-muted, #475569);
  background: var(--geo-surface-2, #f1f5f9);
  border: 1px solid transparent;
}
.content-hub-admin-nav__link:hover {
  color: var(--geo-accent, #0d9488);
  border-color: rgba(13, 148, 136, 0.25);
}
.content-hub-admin-nav__link.is-on {
  color: #fff;
  background: var(--geo-accent, #0d9488);
  border-color: var(--geo-accent, #0d9488);
}
.source-platform-cap-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.35rem 0.5rem;
  padding: 0.55rem 0.65rem;
  border: 1px solid #e2e8f0;
  border-radius: 0.375rem;
  background: #f8fafc;
}
.source-platform-cap-grid__item {
  margin: 0;
  min-width: 0;
}
.source-platform-admin .sp-admin-callout {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  gap: 0.5rem 0.65rem;
  padding: 0.65rem 0.85rem;
  border-radius: 0.5rem;
  border: 1px solid #bae6fd;
  background: linear-gradient(135deg, #f0f9ff 0%, #f8fafc 100%);
  color: #334155;
  line-height: 1.55;
}
.source-platform-admin .sp-admin-callout__tag {
  flex-shrink: 0;
  font-size: 0.68rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: #0369a1;
  background: #e0f2fe;
  padding: 0.15rem 0.45rem;
  border-radius: 0.25rem;
}
.source-platform-admin .sp-admin-list-card {
  padding-top: 0.85rem;
}
.source-platform-admin .sp-admin-filter {
  padding-bottom: 0.75rem;
  border-bottom: 1px solid #f1f5f9;
  margin-bottom: 0.65rem !important;
}
.source-platform-admin .sp-admin-list-meta {
  margin-bottom: 0.5rem;
}
.source-platform-admin .sp-admin-form-panel {
  position: sticky;
  top: 0.75rem;
}
.source-platform-admin .sp-admin-form-panel--edit {
  border-color: rgba(13, 148, 136, 0.35);
  box-shadow: 0 0 0 1px rgba(13, 148, 136, 0.12);
}
.source-platform-admin .sp-admin-form-panel__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
  margin-bottom: 0.85rem;
  padding-bottom: 0.65rem;
  border-bottom: 1px solid #f1f5f9;
}
.source-platform-admin .sp-platform-table {
  table-layout: fixed;
  width: 100%;
}
.source-platform-admin .sp-platform-table__caps-col {
  width: 22%;
  min-width: 7rem;
}
.source-platform-admin .sp-platform-table__num-col {
  width: 4.5rem;
  text-align: center;
}
.source-platform-admin .sp-platform-table__status-col {
  width: 4.5rem;
}
.source-platform-admin .sp-platform-table__act-col {
  width: 8.5rem;
}
.source-platform-admin .sp-table__caps {
  word-break: normal;
  overflow-wrap: normal;
}
.source-platform-admin .sp-cap-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 0.25rem;
}
.source-platform-admin .sp-cap-chip {
  display: inline-block;
  font-size: 0.72rem;
  line-height: 1.3;
  padding: 0.12rem 0.45rem;
  border-radius: 999px;
  background: #f1f5f9;
  color: #475569;
  white-space: nowrap;
}
.source-platform-admin .sp-status {
  font-size: 0.72rem;
  font-weight: 600;
  padding: 0.12rem 0.4rem;
  border-radius: 0.25rem;
}
.source-platform-admin .sp-status--on {
  background: #ecfdf5;
  color: #047857;
}
.source-platform-admin .sp-status--off {
  background: #f1f5f9;
  color: #94a3b8;
}
.source-platform-admin .sp-table__row--active {
  background: #f0fdfa !important;
  box-shadow: inset 3px 0 0 var(--geo-accent, #0d9488);
}
.source-platform-admin .sp-table__row--off {
  opacity: 0.72;
}
.source-platform-admin .sp-table__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem;
  justify-content: flex-end;
}
.source-platform-admin .sp-table__actions form {
  margin: 0;
}

/* 投稿发文 · 平台数据：左列表右编辑 */
.ch-admin-name-line {
  display: flex;
  flex-wrap: nowrap;
  align-items: baseline;
  gap: 0.25rem 0.35rem;
  min-width: 0;
  max-width: 100%;
}
.ch-admin-name-line--inline {
  white-space: nowrap;
}
.ch-admin-name-line__title {
  font-weight: 600;
  color: #0f172a;
  overflow: hidden;
  text-overflow: ellipsis;
  min-width: 0;
  flex: 0 1 auto;
}
.ch-admin-name-line__sep {
  flex-shrink: 0;
  color: #cbd5e1;
  font-weight: 400;
}
.ch-admin-name-line__code,
.ch-admin-name-line code {
  flex-shrink: 0;
  display: inline;
  font-size: 0.72rem;
  padding: 0.1rem 0.35rem;
  border-radius: 0.25rem;
  background: #f1f5f9;
  color: #64748b;
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  white-space: nowrap;
}
.source-platform-admin .sp-platform-table th:first-child,
.source-platform-admin .sp-platform-table td:first-child {
  min-width: 13.5rem;
  width: 28%;
}
.source-platform-admin .sp-platform-table .ch-admin-name-line--inline .ch-admin-name-line__title {
  overflow: visible;
  text-overflow: clip;
}
.ch-admin-list-card {
  padding-top: 0.85rem;
}
.ch-admin-list-toolbar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem 0.75rem;
  margin-bottom: 0.65rem;
  padding: 0.45rem 0.65rem;
  background: linear-gradient(180deg, #f8fafc 0%, #fff 100%);
  border: 1px solid #e2e8f0;
  border-radius: 0.5rem;
}
.ch-admin-list-toolbar__form {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.35rem;
  flex: 1 1 auto;
  min-width: 0;
  margin: 0;
}
.ch-admin-list-toolbar__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  width: 1.75rem;
  height: 1.75rem;
  color: #64748b;
  background: #fff;
  border: 1px solid #e2e8f0;
  border-radius: 0.35rem;
}
.ch-admin-list-toolbar__input {
  width: min(14rem, 42vw);
  min-width: 8rem;
  flex: 0 1 auto;
}
.ch-admin-list-toolbar__select {
  width: auto;
  min-width: 6.5rem;
  flex: 0 0 auto;
}
.ch-admin-list-toolbar__meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.35rem 0.65rem;
  font-size: 0.78rem;
  color: #64748b;
  flex-shrink: 0;
}
.ch-admin-list-toolbar__page {
  padding: 0.12rem 0.45rem;
  font-size: 0.72rem;
  font-weight: 600;
  color: #0f766e;
  background: #f0fdfa;
  border-radius: 999px;
  border: 1px solid rgba(13, 148, 136, 0.2);
}
@media (max-width: 575.98px) {
  .ch-admin-list-toolbar {
    flex-direction: column;
    align-items: stretch;
  }
  .ch-admin-list-toolbar__meta {
    justify-content: space-between;
    padding-top: 0.15rem;
    border-top: 1px dashed #e2e8f0;
  }
  .ch-admin-list-toolbar__input {
    flex: 1 1 100%;
    width: 100%;
    min-width: 0;
  }
}
.ch-admin-form-panel {
  position: sticky;
  top: 0.75rem;
}
.ch-admin-form-panel--edit,
.source-platform-admin .sp-admin-form-panel--edit {
  border-color: rgba(13, 148, 136, 0.35);
  box-shadow: 0 0 0 1px rgba(13, 148, 136, 0.12);
}
.ch-admin-form-panel__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
  margin-bottom: 0.85rem;
  padding-bottom: 0.65rem;
  border-bottom: 1px solid #f1f5f9;
}
.ch-admin-form-panel__title {
  padding-bottom: 0.65rem;
  margin-bottom: 0.85rem !important;
  border-bottom: 1px solid #f1f5f9;
}
.ch-admin-table__row--active {
  background: #f0fdfa !important;
  box-shadow: inset 3px 0 0 var(--geo-accent, #0d9488);
}
.ch-admin-table .admin-table__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem;
  justify-content: flex-end;
}
.ch-admin-table .admin-table__actions form {
  margin: 0;
}
.ch-admin-keyword-list {
  max-height: min(50vh, 22rem);
  overflow: auto;
  padding-top: 0.5rem;
  border-top: 1px dashed #e2e8f0;
}
.ch-admin-keyword-list__item {
  padding: 0.28rem 0;
  font-size: 0.82rem;
  border-bottom: 1px solid #f1f5f9;
}
.ch-admin-keyword-list__item:last-child {
  border-bottom: none;
}
@media (max-width: 991.98px) {
  .ch-admin-form-panel,
  .source-platform-admin .sp-admin-form-panel {
    position: static;
  }
  .ch-admin-table .admin-table__actions {
    justify-content: flex-start;
  }
}
@media (min-width: 992px) {
  .source-platform-admin .sp-admin-table-wrap {
    overflow-x: auto;
  }
  .source-platform-admin .sp-platform-table th.sp-platform-table__num-col,
  .source-platform-admin .sp-platform-table td.sp-platform-table__num-col {
    text-align: center;
  }
}
@media (max-width: 991.98px) {
  .source-platform-admin .sp-admin-form-panel {
    position: static;
  }
  .source-platform-admin .sp-table__actions {
    justify-content: flex-start;
  }
}
.admin-table__sort {
  color: inherit;
  text-decoration: none;
  font-weight: inherit;
}
.admin-table__sort:hover {
  color: var(--geo-accent, #0d9488);
}
