/* ─── JQZK 授权运营台 · 专业后台风格 ─── */

:root {
  --bg: #f5f6f7;
  --bg-soft: #fafbfc;
  --panel: #ffffff;
  --panel-strong: #ffffff;
  --panel-muted: #f8f9fa;
  --line: rgba(0, 0, 0, 0.07);
  --line-strong: rgba(0, 0, 0, 0.12);
  --text: #1a1e24;
  --muted: #6b7280;
  --accent: #0f6b68;
  --accent-strong: #094745;
  --accent-soft: rgba(15, 107, 104, 0.08);
  --highlight: #d58f28;
  --highlight-soft: rgba(213, 143, 40, 0.1);
  --success: #21885b;
  --warning: #b87914;
  --danger: #bc4e3b;
  --shadow-xl: 0 1px 3px rgba(0, 0, 0, 0.06);
  --shadow-lg: 0 1px 2px rgba(0, 0, 0, 0.04);
  --radius-xl: 12px;
  --radius-lg: 8px;
  --radius-md: 6px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }

body.ops-body {
  margin: 0;
  min-height: 100vh;
  color: var(--text);
  background: var(--bg);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Microsoft YaHei UI", sans-serif;
  font-size: 14px;
  line-height: 1.5;
}

a { color: inherit; }

/* ─── 环境装饰（保留类名但隐藏） ─── */
.ops-ambient { display: none; }

/* ─── 页面容器 ─── */
.ops-shell {
  width: min(1440px, calc(100vw - 24px));
  margin: 0 auto;
  padding: 12px 0 32px;
}

/* ─── 顶栏 ─── */
.ops-topbar {
  position: sticky;
  top: 0;
  z-index: 20;
  margin-bottom: 0;
  padding: 12px 20px;
  border-bottom: 1px solid var(--line);
  border-radius: 0;
  background: #ffffff;
  backdrop-filter: none;
  box-shadow: none;
}

.ops-topbar-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
}

.ops-brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
}

.ops-brand-mark {
  width: 32px;
  height: 32px;
  display: inline-flex;
  justify-content: center;
  align-items: center;
  border-radius: 8px;
  font-size: 16px;
  font-weight: 700;
  color: #ffffff;
  background: var(--accent);
}

.ops-brand-kicker {
  font-size: 11px;
  letter-spacing: 0.06em;
  color: var(--muted);
}

.ops-brand-title {
  margin-top: 2px;
  font-size: 16px;
  font-weight: 600;
  letter-spacing: -0.01em;
}

.ops-userbar {
  display: flex;
  align-items: center;
  gap: 10px;
}

.ops-userchip {
  padding: 6px 10px;
  border-radius: 6px;
  background: var(--panel-muted);
  font-size: 13px;
}

.ops-userchip-label {
  display: block;
  margin-bottom: 2px;
  font-size: 10px;
  color: var(--muted);
}

/* ─── 导航 ─── */
.ops-nav-scroll {
  display: flex;
  gap: 0;
  overflow-x: auto;
  padding-top: 10px;
  margin-top: 10px;
  border-top: 1px solid var(--line);
  scrollbar-width: none;
}
.ops-nav-scroll::-webkit-scrollbar { display: none; }

.ops-nav-pill {
  flex: 0 0 auto;
  padding: 6px 14px;
  border-radius: 0;
  text-decoration: none;
  font-weight: 500;
  font-size: 13px;
  color: var(--muted);
  background: transparent;
  border: none;
  border-bottom: 2px solid transparent;
  transition: 150ms ease;
}
.ops-nav-pill:hover { color: var(--text); }
.ops-nav-pill.is-active {
  color: var(--accent);
  font-weight: 600;
  border-bottom-color: var(--accent);
  background: transparent;
  box-shadow: none;
}

/* ─── 主内容 ─── */
.ops-main {
  display: grid;
  gap: 16px;
  padding: 16px 0 0;
}

/* ─── 页面标题行（替代 Hero） ─── */
.ops-hero {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  padding: 12px 0;
  border-radius: 0;
  background: transparent;
  color: var(--text);
  box-shadow: none;
}

.ops-hero-copy {
  max-width: none;
  display: flex;
  align-items: baseline;
  gap: 10px;
  flex-wrap: wrap;
}

.ops-page-kicker {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.04em;
  color: var(--muted);
  text-transform: none;
}

.ops-page-title {
  margin: 0;
  font-size: 20px;
  font-weight: 600;
  line-height: 1.3;
  letter-spacing: -0.01em;
}

.ops-page-subtitle {
  margin: 0;
  font-size: 13px;
  line-height: 1.5;
  color: var(--muted);
  flex-basis: 100%;
}
.ops-page-subtitle:empty { display: none; }

.ops-header-actions {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}

/* ─── 消息 ─── */
.ops-messages {
  display: grid;
  gap: 8px;
}
.ops-message {
  padding: 10px 14px;
  border-radius: var(--radius-md);
  border: 1px solid var(--line);
  background: var(--panel);
  font-size: 13px;
}
.ops-message.is-success {
  border-color: rgba(33, 136, 91, 0.2);
  background: rgba(33, 136, 91, 0.06);
  color: var(--success);
}
.ops-message.is-warning {
  border-color: rgba(184, 121, 20, 0.2);
  background: rgba(184, 121, 20, 0.06);
  color: var(--warning);
}
.ops-message.is-error {
  border-color: rgba(188, 78, 59, 0.2);
  background: rgba(188, 78, 59, 0.06);
  color: var(--danger);
}

/* ─── 底部版本 ─── */
.ops-deploy-footer {
  display: flex;
  flex-wrap: wrap;
  gap: 6px 12px;
  align-items: center;
  justify-content: center;
  margin: 16px 0 0;
  color: var(--muted);
  font-size: 11px;
}
.ops-deploy-footer strong { color: var(--text); }

/* ─── 网格系统 ─── */
.ops-card-grid,
.ops-content-grid,
.ops-detail-grid,
.ops-detail-section,
.ops-series-grid {
  display: grid;
  gap: 12px;
}
.ops-stat-grid,
.ops-dashboard-grid,
.ops-detail-layout,
.ops-stack,
.ops-sidebar-stack,
.ops-info-list {
  display: grid;
  gap: 12px;
}

.ops-card-grid {
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
}
.ops-stat-grid {
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
}
.ops-dashboard-grid {
  grid-template-columns: minmax(0, 2fr) minmax(280px, 1fr);
  align-items: start;
}
.ops-detail-layout {
  grid-template-columns: minmax(0, 1fr) 300px;
  align-items: start;
}
.ops-sidebar-stack { gap: 12px; }
.ops-info-list { gap: 8px; }
.ops-content-grid {
  grid-template-columns: minmax(0, 1.55fr) minmax(280px, 0.95fr);
  align-items: start;
}
.ops-detail-grid {
  grid-template-columns: minmax(0, 1.15fr) minmax(260px, 0.85fr);
}

/* ─── 面板 / 卡片 ─── */
.ops-card,
.ops-panel,
.ops-form-panel {
  border: 1px solid var(--line);
  background: var(--panel);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
}

.ops-stat-card {
  padding: 14px 16px;
  border-radius: var(--radius-lg);
  border: 1px solid var(--line);
  background: var(--panel);
  box-shadow: none;
}

.ops-card {
  padding: 16px;
  overflow: hidden;
  position: relative;
}
.ops-card::after {
  content: "";
  position: absolute;
  inset: auto -20% -45% auto;
  width: 80px;
  height: 80px;
  border-radius: 999px;
  background: rgba(15, 107, 104, 0.04);
}

.ops-card-label {
  position: relative;
  z-index: 1;
  color: var(--muted);
  font-size: 12px;
}

.ops-stat-label {
  display: block;
  color: var(--muted);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.02em;
}

.ops-card-value {
  position: relative;
  z-index: 1;
  margin-top: 8px;
  font-size: 28px;
  font-weight: 700;
  line-height: 1;
  letter-spacing: -0.02em;
}
.tone-warning .ops-card-value { color: var(--warning); }
.tone-danger .ops-card-value { color: var(--danger); }
.tone-success .ops-card-value { color: var(--success); }

.ops-stat-value {
  display: block;
  margin-top: 6px;
  font-size: 24px;
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -0.02em;
  color: var(--text);
  overflow-wrap: anywhere;
}
.ops-stat-value.is-secondary {
  font-size: 16px;
  font-weight: 600;
}
.ops-stat-value.is-primary { color: var(--accent); }
.ops-stat-value.is-warning { color: var(--warning); }
.ops-stat-value.is-danger { color: var(--danger); }

/* ─── 面板标题 ─── */
.ops-panel,
.ops-form-panel {
  padding: 16px;
}

.ops-panel-title-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  margin-bottom: 12px;
}

.ops-panel-title {
  margin: 0;
  font-size: 15px;
  font-weight: 600;
  letter-spacing: 0;
}

.ops-panel-subtitle {
  margin: 4px 0 0;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.5;
}
.ops-panel-subtitle:empty { display: none; }

/* ─── 表格 ─── */
.ops-table-wrap {
  overflow: auto;
  border-radius: var(--radius-md);
  border: 1px solid var(--line);
  background: var(--panel);
}
.ops-table {
  width: 100%;
  min-width: 720px;
  border-collapse: collapse;
}
.ops-table th,
.ops-table td {
  padding: 8px 10px;
  border-bottom: 1px solid var(--line);
  text-align: left;
  vertical-align: top;
  font-size: 13px;
}
.ops-table th {
  position: sticky;
  top: 0;
  z-index: 1;
  background: var(--panel-muted);
  color: var(--muted);
  font-size: 11px;
  font-weight: 600;
  text-transform: none;
  letter-spacing: 0;
}
.ops-table tbody tr:hover {
  background: rgba(15, 107, 104, 0.03);
}

.ops-mobile-cards { display: none; }

.ops-mobile-card,
.ops-inline-metric,
.ops-series-item,
.ops-empty,
.ops-auth-feature {
  border-radius: var(--radius-md);
  background: var(--panel-muted);
  border: 1px solid var(--line);
}
.ops-mobile-card {
  padding: 12px;
  display: grid;
  gap: 6px;
}
.ops-mobile-card h3 {
  margin: 0;
  font-size: 14px;
  font-weight: 600;
}

.ops-meta {
  color: var(--muted);
  font-size: 12px;
  line-height: 1.5;
}

/* ─── 徽章 ─── */
.ops-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 4px;
  min-height: 22px;
  padding: 2px 8px;
  border-radius: var(--radius-md);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0;
  background: var(--accent-soft);
  color: var(--accent);
}
.ops-badge.status-active,
.ops-badge.mode-licensed,
.ops-badge.mode-allow_direct,
.ops-badge.mode-require_license {
  background: rgba(33, 136, 91, 0.08);
  color: var(--success);
}
.ops-badge.status-suspended,
.ops-badge.mode-public_free,
.ops-badge.mode-allow {
  background: rgba(184, 121, 20, 0.08);
  color: var(--warning);
}
.ops-badge.status-revoked,
.ops-badge.status-expired,
.ops-badge.mode-blocked,
.ops-badge.mode-deny_deprecated {
  background: rgba(188, 78, 59, 0.08);
  color: var(--danger);
}

/* ─── 按钮 ─── */
.ops-button,
.ops-button-secondary,
.ops-button-danger,
.ops-link-button {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  gap: 6px;
  min-height: 32px;
  padding: 6px 14px;
  border-radius: var(--radius-md);
  border: 1px solid transparent;
  font-weight: 500;
  font-size: 13px;
  text-decoration: none;
  transition: 120ms ease;
  cursor: pointer;
}
.ops-button {
  color: #ffffff;
  background: var(--accent);
  box-shadow: none;
}
.ops-button:hover {
  background: var(--accent-strong);
  box-shadow: none;
  transform: none;
}
.ops-button-secondary {
  color: var(--accent);
  background: var(--panel);
  border-color: var(--line-strong);
}
.ops-button-secondary:hover {
  background: var(--panel-muted);
}
.ops-button-danger {
  color: var(--danger);
  background: rgba(188, 78, 59, 0.06);
  border-color: rgba(188, 78, 59, 0.14);
}
.ops-button-danger:hover {
  background: rgba(188, 78, 59, 0.1);
}
.ops-link-button {
  min-height: 0;
  padding: 0;
  border: 0;
  background: transparent;
  color: var(--accent);
  font-weight: 500;
}
.ops-link-button:hover {
  text-decoration: underline;
}

.ops-button-wide { width: 100%; }

/* ─── 设备链接 ─── */
.ops-device-link {
  display: grid;
  gap: 2px;
  min-width: 0;
  padding: 6px 8px;
  margin: -6px -8px;
  border-radius: var(--radius-md);
  text-decoration: none;
  transition: background 120ms ease;
}
.ops-device-link:hover,
.ops-device-link:focus-visible {
  background: rgba(15, 107, 104, 0.04);
  outline: none;
}
.ops-device-link:active { transform: none; }
.ops-device-link-title-row {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}
.ops-device-link-title {
  font-size: 14px;
  font-weight: 600;
  color: var(--accent);
}
.ops-device-link-cta {
  display: inline-flex;
  align-items: center;
  min-height: 20px;
  padding: 0 6px;
  border-radius: 4px;
  font-size: 10px;
  font-weight: 600;
  color: var(--accent);
  background: var(--accent-soft);
}

/* ─── 表单 ─── */
.ops-form-panel { margin-bottom: 0; }

.ops-filter-bar,
.ops-form-grid,
.ops-inline-actions,
.ops-key-value {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}
.ops-form-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
}
.ops-field {
  display: grid;
  gap: 4px;
}
.ops-field-full {
  grid-column: 1 / -1;
}
.ops-field label,
.ops-field span {
  font-size: 12px;
  font-weight: 600;
  color: var(--muted);
}
.ops-field input,
.ops-field select,
.ops-field textarea {
  width: 100%;
  border: 1px solid var(--line-strong);
  border-radius: var(--radius-md);
  padding: 6px 10px;
  background: var(--panel);
  color: var(--text);
  font: inherit;
  font-size: 13px;
  transition: 120ms ease;
}
.ops-field input:focus,
.ops-field select:focus,
.ops-field textarea:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 2px rgba(15, 107, 104, 0.1);
}

.ops-inline-actions { align-items: center; }

.ops-inline-metric {
  padding: 10px 12px;
}
.ops-inline-metric strong {
  display: block;
  margin-top: 4px;
  font-size: 16px;
  font-weight: 600;
  letter-spacing: -0.01em;
}

.ops-code-block {
  margin: 0;
  padding: 12px 14px;
  border-radius: var(--radius-md);
  border: 1px solid var(--line);
  background: #1e2430;
  color: #e2e8f0;
  font-size: 12px;
  line-height: 1.55;
  white-space: pre-wrap;
  overflow: auto;
  font-family: "SF Mono", "Fira Code", "Cascadia Code", monospace;
}

/* ─── Flow Board ─── */
.ops-flow-board {
  display: grid;
  gap: 14px;
  padding: 16px;
  border-radius: var(--radius-lg);
  border: 1px solid var(--line);
  background: var(--panel);
  box-shadow: var(--shadow-lg);
}
.ops-flow-heading {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 12px;
}
.ops-flow-status {
  flex: 0 0 auto;
  min-height: 28px;
  display: inline-flex;
  align-items: center;
  padding: 4px 10px;
  border-radius: var(--radius-md);
  background: var(--accent-soft);
  color: var(--accent);
  font-size: 11px;
  font-weight: 600;
}

/* ════════ 激活流模拟器（新版 af-*） ════════ */

.af-shell {
  display: grid;
  grid-template-columns: minmax(260px, 300px) 1fr;
  gap: 16px;
  align-items: start;
}

/* ── 侧边栏表单 ── */
.af-sidebar {
  position: sticky;
  top: 76px;
  max-height: calc(100vh - 90px);
  overflow-y: auto;
  scrollbar-width: thin;
}
.af-form {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.af-fieldset {
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 10px 12px;
  background: var(--panel);
}
.af-fieldset-legend {
  font-size: 11px;
  font-weight: 700;
  color: var(--accent);
  letter-spacing: 0.04em;
  text-transform: uppercase;
  padding: 0 4px;
}
.af-inline-fields {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
}
.af-details {
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: var(--panel);
}
.af-details-summary {
  padding: 8px 12px;
  cursor: pointer;
  user-select: none;
  list-style: none;
  font-weight: 600;
  font-size: 13px;
  color: var(--muted);
}
.af-details-summary::-webkit-details-marker { display: none; }
.af-details-body { padding: 0 12px 12px; }
.af-check {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 10px;
  border-radius: var(--radius-md);
  border: 1px solid var(--line-strong);
  background: var(--panel);
  cursor: pointer;
  font-size: 13px;
}
.af-submit-btn {
  margin-top: 4px;
  justify-content: center;
  letter-spacing: 0.02em;
}
.af-submit-icon { margin-right: 6px; font-size: 12px; }
.af-status-text {
  display: block;
  text-align: center;
  margin-top: 8px;
  font-size: 12px;
}
.af-tips { display: flex; flex-direction: column; gap: 8px; }
.af-tip {
  padding: 9px 12px;
  border-radius: var(--radius-md);
  border: 1px solid var(--line);
  background: var(--panel-muted);
}
.af-tip strong { display: block; font-size: 11px; color: var(--text); margin-bottom: 2px; }
.af-tip span { display: block; font-size: 11px; color: var(--muted); line-height: 1.5; }

/* ── 右侧主区域 ── */
.af-main { display: grid; gap: 12px; }

/* 图表面板 */
.af-chart-panel { padding: 16px; }
.af-panel-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  margin-bottom: 8px;
}
.af-head-right {
  display: flex;
  align-items: center;
  gap: 8px;
}
.af-reset-btn {
  font-size: 12px !important;
}
.af-legend-bar {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
  margin-bottom: 6px;
}
.af-legend-item {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 3px 9px;
  border-radius: 999px;
  background: rgba(105, 120, 135, 0.06);
  color: var(--muted);
  font-size: 11px;
  font-weight: 500;
}
.af-legend-item i {
  width: 7px; height: 7px;
  border-radius: 50%;
  background: currentColor;
}
.af-legend-item.is-pass   { background: rgba(33,136,91,0.08); color: #21885b; }
.af-legend-item.is-fail   { background: rgba(188,78,59,0.08); color: #bc4e3b; }
.af-legend-item.is-active { background: rgba(15,107,104,0.08); color: #0f6b68; }
.af-legend-item.is-idle   { background: rgba(196,205,213,0.15); color: #94a3b8; }

/* 图表容器 */
.af-chart {
  width: 100%;
  height: 400px;
  border-radius: var(--radius-lg);
  border: 1px solid var(--line);
  background:
    linear-gradient(rgba(0,0,0,0.015) 1px, transparent 1px),
    linear-gradient(90deg, rgba(0,0,0,0.015) 1px, transparent 1px),
    var(--panel);
  background-size: 20px 20px, 20px 20px, 100% 100%;
}

/* ── 底部双列：节点详情 + 步骤流 ── */
.af-bottom-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  align-items: start;
}
.af-detail-card, .af-steps-card { padding: 14px 16px; }
.af-card-title {
  display: flex;
  align-items: center;
  gap: 6px;
  margin: 0 0 12px;
  font-size: 14px;
  font-weight: 600;
  color: var(--text);
}
.af-card-title svg { opacity: 0.55; flex-shrink: 0; }

/* 节点详情结构化卡片 */
.af-detail-header {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 8px;
}
.af-detail-status {
  padding: 3px 10px;
  border-radius: 999px;
  font-size: 11px;
  font-weight: 600;
}
.af-detail-status.is-pass   { background: rgba(33,136,91,0.1); color: #21885b; }
.af-detail-status.is-fail   { background: rgba(188,78,59,0.1); color: #bc4e3b; }
.af-detail-status.is-active { background: rgba(15,107,104,0.1); color: #0f6b68; }
.af-detail-status.is-idle   { background: rgba(196,205,213,0.15); color: #94a3b8; }
.af-detail-node-id {
  font-family: "SF Mono", "Fira Code", monospace;
  font-size: 11px;
  color: var(--muted);
  padding: 2px 7px;
  border-radius: 4px;
  background: var(--panel-muted);
}
.af-detail-summary {
  font-size: 13px;
  color: var(--text);
  line-height: 1.55;
  margin-bottom: 10px;
}
.af-detail-rows {
  display: grid;
  gap: 6px;
}
.af-detail-row {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 12px;
  padding: 6px 10px;
  border-radius: var(--radius-md);
  background: var(--panel-muted);
  font-size: 12px;
}
.af-detail-row span {
  color: var(--muted);
  white-space: nowrap;
}
.af-detail-row strong {
  color: var(--text);
  font-weight: 600;
  word-break: break-all;
  text-align: right;
}
.af-meta-text {
  color: var(--muted);
  font-size: 12px;
  padding: 8px 0;
}
.af-empty-hint {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 28px 16px;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.5;
  text-align: center;
}
.af-empty-hint span { font-size: 24px; opacity: 0.35; }

/* JSON 网格 */
.af-json-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}
.af-json-label {
  font-size: 11px;
  font-weight: 600;
  color: var(--muted);
  margin: 0 0 6px;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

/* ── 步骤流时间线 ── */
.af-step-list {
  display: flex;
  flex-direction: column;
  position: relative;
}
.af-step {
  display: flex;
  gap: 10px;
  position: relative;
  padding: 8px 0;
}
.af-step-index {
  flex: 0 0 auto;
  width: 26px;
  height: 26px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  font-size: 12px;
  font-weight: 700;
  color: #fff;
  background: #c4cdd5;
}
.af-step.is-pass .af-step-index   { background: #21885b; }
.af-step.is-fail .af-step-index   { background: #bc4e3b; }
.af-step.is-active .af-step-index { background: #0f6b68; }
.af-step.is-idle .af-step-index   { background: #d1d5db; color: #fff; }
.af-step-content {
  flex: 1;
  min-width: 0;
  padding-bottom: 4px;
  border-bottom: 1px solid var(--line);
}
.af-step-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 8px;
  margin-bottom: 3px;
}
.af-step-head strong { font-size: 13px; font-weight: 600; }
.af-step-tag {
  flex: 0 0 auto;
  padding: 1px 7px;
  border-radius: 4px;
  font-size: 10px;
  font-weight: 600;
}
.af-step.is-pass .af-step-tag   { background: rgba(33,136,91,0.1); color: #21885b; }
.af-step.is-fail .af-step-tag   { background: rgba(188,78,59,0.1); color: #bc4e3b; }
.af-step.is-active .af-step-tag { background: rgba(15,107,104,0.1); color: #0f6b68; }
.af-step.is-idle .af-step-tag   { background: rgba(196,205,213,0.15); color: #94a3b8; }
.af-step p { margin: 0; color: var(--muted); font-size: 12px; line-height: 1.45; }
/* 步骤间连接线 */
.af-step-line {
  position: absolute;
  left: 12px;
  bottom: 0;
  width: 2px;
  height: 100%;
  background: linear-gradient(to bottom, var(--line), var(--line));
  z-index: 0;
}

/* ═════ 向后兼容：保留旧类名映射 ═════ */
.activation-sim-shell { display: grid; grid-template-columns: minmax(280px,320px) 1fr; gap: 14px; align-items: start; }
.activation-sim-main { display: grid; gap: 14px; }
.activation-sim-sidebar { position: sticky; top: 80px; }
.activation-sim-form { display: flex; flex-direction: column; gap: 10px; }
.activation-sim-check { display:flex; align-items:center; gap:8px; min-height:36px; padding:8px 12px; border:1px solid var(--line-strong); border-radius:var(--radius-md); background:var(--panel); color:var(--text); font-weight:600; font-size:13px; }
.activation-sim-actions { display:grid; gap:8px; }
.activation-sim-note { padding:10px 12px; border-radius:var(--radius-md); border:1px solid var(--line); background:var(--panel-muted); }
.activation-sim-note strong{display:block;font-size:12px;}
.activation-sim-note span{display:block;margin-top:4px;color:var(--muted);font-size:12px;line-height:1.5;}
.activation-sim-legend{display:flex;flex-wrap:wrap;gap:8px;margin-bottom:8px;}
.activation-sim-legend-item{display:inline-flex;align-items:center;gap:6px;padding:4px 10px;border-radius:var(--radius-md);background:rgba(105,120,135,0.08);color:var(--muted);font-size:11px;font-weight:600;}
.activation-sim-legend-item::before{content:"";width:8px;height:8px;border-radius:999px;background:currentColor;}
.activation-sim-legend-item.is-pass{background:rgba(33,136,91,0.08);color:var(--success);}
.activation-sim-legend-item.is-fail{background:rgba(188,78,59,0.08);color:var(--danger);}
.activation-sim-legend-item.is-skipped{background:rgba(105,120,135,0.08);color:var(--muted);}
.activation-sim-legend-item.is-active{background:var(--accent-soft);color:var(--accent);}
.activation-sim-chart{height:420px;margin:0 0 12px;border-radius:var(--radius-lg);border:1px solid var(--line);background:var(--panel);}
.activation-sim-node-card{display:grid;gap:8px;margin-top:4px;}
.activation-sim-step-stream{display:grid;gap:8px;}
.activation-sim-step{padding:10px 12px;border-radius:var(--radius-md);border:1px solid var(--line);background:var(--panel);}
.activation-sim-step-head{display:flex;justify-content:space-between;gap:10px;align-items:center;}
.activation-sim-step-head strong{font-size:13px;}
.activation-sim-step-head span{flex:0 0 auto;padding:2px 8px;border-radius:4px;background:rgba(105,120,135,0.08);color:var(--muted);font-size:10px;font-weight:600;}
.activation-sim-step p{margin:6px 0 0;color:var(--muted);font-size:12px;line-height:1.5;}
.activation-sim-step.is-pass{border-color:rgba(33,136,91,0.18);background:rgba(33,136,91,0.03);}
.activation-sim-step.is-pass .activation-sim-step-head span{background:rgba(33,136,91,0.1);color:var(--success);}
.activation-sim-step.is-fail{border-color:rgba(188,78,59,0.18);background:rgba(188,78,59,0.03);}
.activation-sim-step.is-fail .activation-sim-step-head span{background:rgba(188,78,59,0.1);color:var(--danger);}
.activation-sim-step.is-active{border-color:rgba(15,107,104,0.18);background:rgba(15,107,104,0.03);}
.activation-sim-step.is-active .activation-sim-step-head span{background:var(--accent-soft);color:var(--accent);}
.activation-sim-step.is-skipped .activation-sim-step-head span{background:rgba(105,120,135,0.08);color:var(--muted);}
.activation-sim-json-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;}
.activation-sim-empty{padding:14px 16px;border-radius:var(--radius-md);border:1px dashed var(--line-strong);background:var(--panel-muted);color:var(--muted);font-size:12px;line-height:1.5;}

.activation-sim-legend {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 8px;
}
.activation-sim-legend-item {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 10px;
  border-radius: var(--radius-md);
  background: rgba(105, 120, 135, 0.08);
  color: var(--muted);
  font-size: 11px;
  font-weight: 600;
}
.activation-sim-legend-item::before {
  content: "";
  width: 8px;
  height: 8px;
  border-radius: 999px;
  background: currentColor;
}
.activation-sim-legend-item.is-pass {
  background: rgba(33, 136, 91, 0.08);
  color: var(--success);
}
.activation-sim-legend-item.is-fail {
  background: rgba(188, 78, 59, 0.08);
  color: var(--danger);
}
.activation-sim-legend-item.is-skipped {
  background: rgba(105, 120, 135, 0.08);
  color: var(--muted);
}
.activation-sim-legend-item.is-active {
  background: var(--accent-soft);
  color: var(--accent);
}

.activation-sim-chart {
  height: 420px;
  margin: 0 0 12px;
  border-radius: var(--radius-lg);
  border: 1px solid var(--line);
  background: var(--panel);
}

.activation-sim-node-card {
  display: grid;
  gap: 8px;
  margin-top: 4px;
}

.activation-sim-step-stream { gap: 8px; }

.activation-sim-step {
  padding: 10px 12px;
  border-radius: var(--radius-md);
  border: 1px solid var(--line);
  background: var(--panel);
}
.activation-sim-step-head {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  align-items: center;
}
.activation-sim-step-head strong { font-size: 13px; }
.activation-sim-step-head span {
  flex: 0 0 auto;
  padding: 2px 8px;
  border-radius: 4px;
  background: rgba(105, 120, 135, 0.08);
  color: var(--muted);
  font-size: 10px;
  font-weight: 600;
}
.activation-sim-step p {
  margin: 6px 0 0;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.5;
}

.activation-sim-step.is-pass {
  border-color: rgba(33, 136, 91, 0.18);
  background: rgba(33, 136, 91, 0.03);
}
.activation-sim-step.is-pass .activation-sim-step-head span {
  background: rgba(33, 136, 91, 0.1);
  color: var(--success);
}
.activation-sim-step.is-fail {
  border-color: rgba(188, 78, 59, 0.18);
  background: rgba(188, 78, 59, 0.03);
}
.activation-sim-step.is-fail .activation-sim-step-head span {
  background: rgba(188, 78, 59, 0.1);
  color: var(--danger);
}
.activation-sim-step.is-active {
  border-color: rgba(15, 107, 104, 0.18);
  background: rgba(15, 107, 104, 0.03);
}
.activation-sim-step.is-active .activation-sim-step-head span {
  background: var(--accent-soft);
  color: var(--accent);
}
.activation-sim-step.is-skipped .activation-sim-step-head span {
  background: rgba(105, 120, 135, 0.08);
  color: var(--muted);
}

.activation-sim-json-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.activation-sim-empty {
  padding: 14px 16px;
  border-radius: var(--radius-md);
  border: 1px dashed var(--line-strong);
  background: var(--panel-muted);
  color: var(--muted);
  font-size: 12px;
  line-height: 1.5;
}

/* ─── Flow Strip ─── */
.ops-flow-strip {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
  margin: 0;
  padding: 4px 0 0;
  list-style: none;
}
.ops-flow-node {
  position: relative;
  display: grid;
  align-content: start;
  gap: 8px;
  min-height: 100%;
  padding: 14px;
  border-radius: var(--radius-md);
  border: 1px solid var(--line);
  background: var(--panel);
}
.ops-flow-node:not(:last-child)::after {
  content: "→";
  position: absolute;
  top: 28px;
  right: -18px;
  width: 14px;
  height: 14px;
  display: grid;
  place-items: center;
  border-radius: 999px;
  background: var(--accent);
  color: #ffffff;
  font-size: 10px;
  font-weight: 700;
  line-height: 1;
  z-index: 2;
}
.ops-flow-index {
  width: 32px;
  height: 32px;
  display: grid;
  place-items: center;
  border-radius: 8px;
  background: var(--accent-soft);
  color: var(--accent);
  font-weight: 700;
  font-size: 13px;
}
.ops-flow-kicker {
  color: var(--muted);
  font-size: 11px;
  font-weight: 600;
}
.ops-flow-node h3 {
  margin: 0;
  font-size: 16px;
  font-weight: 600;
  letter-spacing: 0;
}
.ops-flow-node p,
.ops-result-item p {
  margin: 0;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.5;
}

.ops-flow-list {
  display: grid;
  gap: 4px;
  margin: 0;
  padding: 0;
  list-style: none;
}
.ops-flow-list li {
  position: relative;
  padding-left: 14px;
  color: var(--text);
  font-size: 12px;
  line-height: 1.5;
}
.ops-flow-list li::before {
  content: "";
  position: absolute;
  top: 0.6em;
  left: 0;
  width: 5px;
  height: 5px;
  border-radius: 999px;
  background: var(--accent);
}

.node-entry .ops-flow-index {
  background: rgba(105, 120, 135, 0.08);
  color: var(--muted);
}
.node-version .ops-flow-index,
.node-version .ops-flow-list li::before {
  background: var(--highlight-soft);
  color: var(--warning);
}
.node-version .ops-flow-list li::before { background: var(--warning); }
.node-license .ops-flow-index,
.node-license .ops-flow-list li::before {
  background: rgba(33, 136, 91, 0.08);
  color: var(--success);
}
.node-license .ops-flow-list li::before { background: var(--success); }

.ops-result-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
}
.ops-result-item {
  padding: 12px 14px;
  border-radius: var(--radius-md);
  border: 1px solid var(--line);
  background: var(--panel);
}
.ops-result-item span {
  display: inline-flex;
  margin-bottom: 4px;
  color: var(--muted);
  font-size: 11px;
  font-weight: 600;
}
.ops-result-item strong {
  display: block;
  margin-bottom: 4px;
  font-size: 16px;
}
.result-allow {
  border-color: rgba(33, 136, 91, 0.14);
  background: rgba(33, 136, 91, 0.03);
}
.result-license {
  border-color: rgba(184, 121, 20, 0.14);
  background: rgba(184, 121, 20, 0.03);
}
.result-deny {
  border-color: rgba(188, 78, 59, 0.14);
  background: rgba(188, 78, 59, 0.03);
}

.ops-series-item { padding: 14px; }
.ops-series-bars {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(8px, 1fr));
  gap: 4px;
  align-items: end;
  min-height: 72px;
  margin-top: 10px;
}
.ops-series-bar {
  min-height: 6px;
  border-radius: 999px 999px 2px 2px;
  background: var(--accent);
}
.ops-series-labels {
  display: flex;
  justify-content: space-between;
  margin-top: 6px;
  color: var(--muted);
  font-size: 10px;
}

.ops-key-value {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: 8px;
}

.ops-empty {
  padding: 16px;
  color: var(--muted);
  text-align: center;
  font-size: 13px;
}

.ops-chart-container {
  width: 100%;
  height: 320px;
  margin-top: 12px;
}
.ops-chart-container.is-compact { height: 220px; }

.ops-panel + .ops-panel { margin-top: 0; }

/* ─── 紧凑统计条 ─── */
.ops-metric-strip {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}
.ops-metric-chip {
  flex: 1 1 0;
  min-width: 120px;
  display: grid;
  gap: 2px;
  padding: 10px 14px;
  border-radius: var(--radius-lg);
  border: 1px solid var(--line);
  background: var(--panel);
}
.ops-metric-chip-label {
  color: var(--muted);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.02em;
}
.ops-metric-chip-value {
  font-size: 22px;
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.2;
  color: var(--text);
}
.ops-metric-chip.is-primary .ops-metric-chip-value { color: var(--accent); }
.ops-metric-chip.is-warning .ops-metric-chip-value { color: var(--warning); }
.ops-metric-chip.is-danger .ops-metric-chip-value { color: var(--danger); }

/* ─── 双列图表网格（地域 · 版本分布） ─── */
.ops-dual-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  align-items: start;
}
.ops-chart-container--md { height: 260px; }

/* ─── 版本观察卡片网格 ─── */
.ops-version-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 10px;
}
.ops-version-card {
  padding: 14px 16px;
  border-radius: var(--radius-lg);
  border: 1px solid var(--line);
  background: var(--panel);
  box-shadow: var(--shadow-lg);
  transition: border-color 120ms ease;
}
.ops-version-card:hover {
  border-color: rgba(15, 107, 104, 0.25);
}
.ops-version-card-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 8px;
  margin-bottom: 10px;
}
.ops-version-code {
  font-family: "SF Mono", "Fira Code", "Cascadia Code", monospace;
  font-size: 13px;
  font-weight: 600;
  color: var(--accent);
  letter-spacing: -0.01em;
}
.ops-version-card-body {
  display: flex;
  gap: 20px;
}
.ops-version-stat-label {
  display: block;
  font-size: 11px;
  color: var(--muted);
  font-weight: 500;
}
.ops-version-card-body strong {
  display: block;
  margin-top: 2px;
  font-size: 15px;
  font-weight: 700;
  color: var(--text);
}

/* ─── 可折叠面板 ─── */
.ops-collapsible-panel {
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: var(--panel);
  box-shadow: var(--shadow-lg);
  overflow: hidden;
}
.ops-collapsible-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  padding: 14px 16px;
  cursor: pointer;
  user-select: none;
  list-style: none;
}
.ops-collapsible-header::-webkit-details-marker { display: none; }
.ops-collapsible-header::marker { content: ''; }
.ops-collapsible-toggle {
  flex: 0 0 auto;
  width: 20px;
  height: 20px;
  display: grid;
  place-items: center;
  border-radius: 4px;
  background: var(--panel-muted);
  color: var(--muted);
  font-size: 12px;
  transition: transform 150ms ease;
}
.ops-collapsible-toggle::after {
  content: "▸";
}
.ops-collapsible-panel[open] .ops-collapsible-toggle {
  transform: rotate(90deg);
}
.ops-collapsible-body {
  padding: 0 16px 16px;
  border-top: 1px solid var(--line);
}
.ops-collapsible-body .ops-form-panel {
  border: none;
  box-shadow: none;
  padding: 16px 0 0;
}
.ops-stat-grid--inline {
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
}

/* ═══════════════════════════════════════════
   总览页 (Overview) 专用布局 — 首屏优先增长+地域
   ═══════════════════════════════════════════ */

/* ─── KPI 紧凑横排条（单行，最小化高度，让图表上移） ─── */
.ov-kpi-compact {
  display: flex;
  flex-wrap: wrap;
  gap: 0;
  margin-bottom: 14px;
  border-radius: 12px;
  background: #ffffff;
  border: 1px solid rgba(0,0,0,0.06);
  box-shadow: 0 1px 3px rgba(0,0,0,0.04);
  overflow: hidden;
}
.ov-kpi-compact-item {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 11px 18px;
  border-right: 1px solid rgba(0,0,0,0.06);
  position: relative;
  transition: background 150ms ease;
}
.ov-kpi-compact-item:last-child { border-right: none; }
.ov-kpi-compact-item:hover { background: #fafbfc; }

/* 左侧色条 */
.ov-kpi-compact-item::before {
  content: '';
  position: absolute;
  left: 0; top: 0; bottom: 0;
  width: 3px;
  background: #d1d5db;
}
.ov-kpi-compact-item.tone-primary::before { background: linear-gradient(180deg, #14b8a6, #0f6b68); }
.ov-kpi-compact-item.tone-warning::before { background: linear-gradient(180deg, #fbbf24, #d58f28); }
.ov-kpi-compact-item.tone-danger::before { background: linear-gradient(180deg, #f87171, #bc4e3b); }

.ov-kci-label {
  font-size: 12px;
  font-weight: 500;
  color: #9ca3af;
  white-space: nowrap;
  font-style: normal;
}
.ov-kci-value {
  font-size: 20px;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: #1a1e24;
  line-height: 1;
}
.ov-kpi-compact-item.tone-primary .ov-kci-value { color: #0f6b68; }
.ov-kpi-compact-item.tone-warning .ov-kci-value { color: #b87914; }
.ov-kpi-compact-item.tone-danger .ov-kci-value { color: #bc4e3b; }

/* ─── 面板通用 ─── */
.ov-panel-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 12px;
  margin-bottom: 16px;
}
.ov-panel-header-left { min-width: 0; }

.ov-panel-title {
  margin: 0;
  font-size: 15px;
  font-weight: 700;
  letter-spacing: -0.01em;
  color: #1a1e24;
}
.ov-panel-desc {
  margin: 4px 0 0;
  font-size: 12px;
  line-height: 1.5;
  color: #9ca3af;
}

.ov-badge {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 4px 10px;
  border-radius: 999px;
  font-size: 11px;
  font-weight: 600;
  white-space: nowrap;
  flex-shrink: 0;
  background: rgba(15,107,104,0.08);
  color: #0f6b68;
}
.ov-badge.badge-success { background: rgba(33,136,91,0.08); color: #21885b; }
.ov-badge.badge-warning { background: rgba(184,121,20,0.08); color: #b87914; }

.ov-time-badge {
  padding: 3px 10px;
  border-radius: 6px;
  background: #f3f4f6;
  color: #6b7280;
  font-size: 11px;
  font-weight: 600;
  flex-shrink: 0;
}
.ov-count-badge {
  padding: 3px 10px;
  border-radius: 6px;
  background: rgba(15,107,104,0.06);
  color: #0f6b68;
  font-size: 11px;
  font-weight: 600;
  flex-shrink: 0;
}

/* ─── 增长面板内的统计指标行 ─── */
.ov-growth-stats {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 12px;
}
.ov-stat-chip {
  padding: 8px 14px;
  border-radius: 10px;
  background: #f8fafc;
  border: 1px solid #f1f5f9;
}
.ov-stat-chip-label {
  display: block;
  font-size: 11px;
  color: #9ca3af;
  font-weight: 500;
}
.ov-stat-chip-value {
  display: block;
  margin-top: 2px;
  font-size: 16px;
  font-weight: 700;
  color: #374151;
  letter-spacing: -0.01em;
}
.ov-stat-chip.chip-primary .ov-stat-chip-value { color: #0f6b68; }
.ov-stat-chip.chip-warning .ov-stat-chip-value { color: #b87914; }
.ov-stat-chip.chip-danger .ov-stat-chip-value { color: #bc4e3b; }
.ov-stat-chip.chip-muted {
  opacity: 0.55;
}
.ov-stat-chip.chip-muted .ov-stat-chip-value {
  color: #9ca3af;
}

/* 图表元信息 */
.ov-chart-meta {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 6px;
  margin-bottom: 8px;
}
.ov-chart-meta-item {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: 11px;
  color: #9ca3af;
}

/* 图表容器 */
.ov-chart-wrap {
  width: 100%;
  height: 340px;
  border-radius: 10px;
  background: #fafbfc;
}
.ov-chart-wrap.ov-chart--sm { height: 280px; }
.ov-chart-wrap.ov-chart--md { height: 260px; }

/* 空图表占位 */
.ov-empty-chart,
.ov-empty-state {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 8px;
  height: 100%;
  min-height: 160px;
  color: #9ca3af;
  font-size: 13px;
}
.ov-empty-state p { margin: 0; text-align: center; }

/* ─── 首屏主区域：增长统计(左大) + 地域分布(右小) 并排 ─── */
.ov-hero-row {
  display: grid;
  grid-template-columns: 1fr 340px;
  gap: 14px;
  align-items: start;
}
.ov-growth-panel.ov-panel-star {
  border-color: rgba(15,107,104,0.1);
}

/* 图表容器 — 新增首屏专用尺寸 */
.ov-chart-wrap {
  width: 100%;
  height: 320px;
  border-radius: 10px;
  background: #fafbfc;
}
.ov-chart-wrap.ov-chart--hero { height: 360px; }   /* 增长图（首屏主角） */
.ov-chart-wrap.ov-chart--geo { height: 320px; }     /* 地域图（首屏右侧） */
.ov-chart-wrap.ov-chart--sm { height: 240px; }       /* 趋势图 */
.ov-chart-wrap.ov-chart--md { height: 260px; }       /* 占比/分布图 */

/* ─── 双列图表区 ─── */
.ov-dual-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
  align-items: start;
}

/* ─── 底部行：版本观察 + 策略面板 ─── */
.ov-bottom-row {
  display: grid;
  grid-template-columns: 1fr 360px;
  gap: 14px;
  align-items: start;
}
.ov-bottom-main { min-width: 0; }

.ov-section-title {
  margin: 0 0 14px;
  font-size: 16px;
  font-weight: 700;
  color: #1a1e24;
  letter-spacing: -0.01em;
}

/* 版本卡片网格 */
.ov-version-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 12px;
}
.ov-version-card {
  padding: 16px 18px;
  border-radius: 12px;
  border: 1px solid rgba(0,0,0,0.06);
  background: #ffffff;
  box-shadow: 0 1px 3px rgba(0,0,0,0.03);
  transition: all 180ms ease;
}
.ov-version-card:hover {
  border-color: rgba(15,107,104,0.2);
  box-shadow: 0 4px 12px rgba(0,0,0,0.06);
  transform: translateY(-1px);
}
.ov-version-card-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 8px;
  margin-bottom: 12px;
}
.ov-version-code {
  font-family: "SF Mono", "Fira Code", "Cascadia Code", "Consolas", monospace;
  font-size: 13px;
  font-weight: 700;
  color: #0f6b68;
  background: rgba(15,107,104,0.07);
  padding: 2px 8px;
  border-radius: 5px;
  letter-spacing: -0.01em;
}
.ov-device-badge {
  padding: 2px 8px;
  border-radius: 5px;
  background: rgba(33,136,91,0.08);
  color: #21885b;
  font-size: 11px;
  font-weight: 600;
}
.ov-version-card-body {
  display: flex;
  gap: 24px;
}
.ov-ver-stat-label {
  display: block;
  font-size: 11px;
  color: #9ca3af;
  font-weight: 500;
}
.ov-ver-stat-val {
  display: block;
  margin-top: 3px;
  font-size: 16px;
  font-weight: 700;
  color: #1a1e24;
}

/* 侧边策略面板 */
.ov-bottom-side {
  position: sticky;
  top: 80px;
}
.ov-strategy-stats {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  margin-bottom: 16px;
}
.ov-strategy-stat {
  padding: 10px 12px;
  border-radius: 10px;
  background: #f8fafc;
  border: 1px solid #f1f5f9;
}
.ov-strategy-stat-label {
  display: block;
  font-size: 11px;
  color: #9ca3af;
  font-weight: 500;
  margin-bottom: 3px;
}
.ov-strategy-stat-value {
  display: block;
  font-size: 13px;
  font-weight: 600;
  color: #1a1e24;
  word-break: break-word;
}

/* 可折叠面板 */
.ov-collapsible {
  border: 1px solid #f1f5f9;
  border-radius: 12px;
  background: #fafbfc;
  overflow: hidden;
}
.ov-collapsible-summary {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 8px;
  padding: 12px 16px;
  cursor: pointer;
  user-select: none;
  list-style: none;
  font-size: 12px;
  font-weight: 600;
  color: #6b7280;
  transition: background 150ms ease;
}
.ov-collapsible-summary::-webkit-details-marker { display: none; }
.ov-collapsible-summary::marker { content: ''; }
.ov-collapsible-summary svg {
  flex-shrink: 0;
  transition: transform 200ms ease;
  color: #c4cdd5;
}
.ov-collapsible[open] .ov-collapsible-summary svg {
  transform: rotate(90deg);
}
.ov-collapsible-summary:hover {
  background: #f1f5f9;
}
.ov-collapsible-content {
  padding: 16px;
  border-top: 1px solid #f1f5f9;
  background: #fff;
}
.ov-form-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 10px;
}
.ov-form-field label {
  display: block;
  font-size: 11px;
  font-weight: 600;
  color: #9ca3af;
  margin-bottom: 4px;
}
.ov-form-field input,
.ov-form-field select,
.ov-form-field textarea {
  width: 100%;
  border: 1px solid #e5e7eb;
  border-radius: 8px;
  padding: 7px 10px;
  font: inherit;
  font-size: 13px;
  color: #1a1e24;
  background: #fff;
  transition: border-color 150ms ease, box-shadow 150ms ease;
}
.ov-form-field input:focus,
.ov-form-field select:focus,
.ov-form-field textarea:focus {
  outline: none;
  border-color: #0f6b68;
  box-shadow: 0 0 0 3px rgba(15,107,104,0.1);
}
.ov-field-error {
  margin-top: 4px;
  font-size: 11px;
  color: #bc4e3b;
}
.ov-save-btn {
  margin-top: 14px;
  justify-content: center;
}

.ops-table.ops-table-compact { min-width: 0; }
.ops-table.ops-table-compact th,
.ops-table.ops-table-compact td { padding: 8px 8px; }

.ops-ip-item,
.ops-info-item {
  padding: 10px 12px;
  border-radius: var(--radius-md);
  border: 1px solid var(--line);
  background: var(--panel);
}
.ops-ip-item strong,
.ops-info-item strong {
  display: block;
  margin-top: 4px;
  font-size: 14px;
  font-weight: 600;
  line-height: 1.4;
  overflow-wrap: anywhere;
}
.ops-info-item code {
  font-size: 11px;
  color: var(--accent);
}

.ops-device-headline {
  display: grid;
  gap: 12px;
}
.ops-device-headline-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.ops-code {
  display: inline-flex;
  align-items: center;
  min-height: 24px;
  padding: 0 6px;
  border-radius: 4px;
  background: var(--accent-soft);
  color: var(--accent);
  font-size: 11px;
  font-weight: 600;
}

/* ─── 登录页 ─── */
.ops-auth-body {
  display: grid;
  place-items: center;
  min-height: 100vh;
  background: var(--bg);
}

.ops-auth-shell {
  position: relative;
  z-index: 1;
  width: min(420px, calc(100vw - 24px));
  display: grid;
  gap: 0;
}

.ops-auth-story {
  display: none;
}

.ops-auth-card {
  border-radius: var(--radius-xl);
  padding: 28px;
  border: 1px solid var(--line);
  background: var(--panel);
  box-shadow: var(--shadow-xl);
  display: grid;
  align-content: center;
  gap: 16px;
}

.ops-auth-title {
  margin: 0 0 4px;
  font-size: 22px;
  font-weight: 600;
  letter-spacing: -0.01em;
  color: var(--text);
}

.ops-auth-subtitle {
  margin: 0;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.5;
}

.ops-auth-grid { display: none; }
.ops-auth-feature { display: none; }

.ops-auth-card-head h2 {
  margin: 8px 0 6px;
  font-size: 22px;
  font-weight: 600;
  letter-spacing: -0.01em;
}
.ops-auth-card-head p {
  margin: 0;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.5;
}

.ops-auth-form {
  display: grid;
  gap: 12px;
}
.ops-auth-form .ops-field { gap: 4px; }

/* ─── 激活流（旧版布局） ─── */
.activation-flow-shell {
  display: grid;
  grid-template-columns: minmax(240px, 0.78fr) minmax(620px, 1.55fr) minmax(280px, 0.82fr);
  gap: 14px;
  align-items: start;
}
.activation-flow-controls,
.activation-flow-detail {
  position: sticky;
  top: 80px;
}
.activation-flow-form-grid { grid-template-columns: 1fr; }
.activation-flow-check {
  display: flex;
  align-items: center;
  gap: 8px;
  min-height: 36px;
  padding: 8px 12px;
  border: 1px solid var(--line-strong);
  border-radius: var(--radius-md);
  background: var(--panel);
  color: var(--text);
  font-weight: 600;
  font-size: 13px;
}
.activation-flow-actions { margin-top: 12px; }
.activation-flow-board { overflow: hidden; }
.activation-flow-board-head {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  align-items: flex-start;
  margin-bottom: 10px;
}
.activation-flow-graph {
  position: relative;
  min-height: 520px;
  overflow: auto;
  border-radius: var(--radius-md);
  border: 1px solid var(--line);
  background:
    linear-gradient(rgba(0, 0, 0, 0.02) 1px, transparent 1px),
    linear-gradient(90deg, rgba(0, 0, 0, 0.02) 1px, transparent 1px),
    var(--panel);
  background-size: 20px 20px, 20px 20px, 100% 100%;
}
.activation-flow-edges {
  position: absolute;
  inset: 0;
  width: 1280px;
  height: 560px;
  pointer-events: none;
}
.activation-flow-edges path {
  fill: none;
  stroke: rgba(105, 120, 135, 0.2);
  stroke-width: 2;
  stroke-linecap: round;
  transition: 150ms ease;
}
.activation-flow-edges path.is-active {
  stroke: var(--accent);
  stroke-width: 3;
}
.activation-flow-edges path.is-warning { stroke: var(--warning); }
.activation-flow-edges path.is-error { stroke: var(--danger); }
.activation-flow-edges path.is-success { stroke: var(--success); }

.activation-node {
  position: absolute;
  z-index: 2;
  width: 140px;
  min-height: 76px;
  padding: 10px 12px;
  border-radius: var(--radius-md);
  border: 1px solid var(--line);
  background: var(--panel);
  box-shadow: var(--shadow-lg);
  cursor: pointer;
  transition: 120ms ease;
}
.activation-node:hover {
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}
.activation-node strong {
  display: block;
  margin-left: 18px;
  font-size: 12px;
  font-weight: 600;
  line-height: 1.35;
}
.activation-node p {
  margin: 6px 0 0;
  color: var(--muted);
  font-size: 11px;
  line-height: 1.45;
}
.activation-node-dot {
  position: absolute;
  top: 12px;
  left: 10px;
  width: 10px;
  height: 10px;
  border-radius: 999px;
  background: var(--muted);
}
.activation-node.is-success {
  border-color: rgba(33, 136, 91, 0.3);
  background: rgba(33, 136, 91, 0.03);
}
.activation-node.is-success .activation-node-dot { background: var(--success); }
.activation-node.is-warning,
.activation-node.is-active {
  border-color: rgba(184, 121, 20, 0.3);
  background: rgba(184, 121, 20, 0.03);
}
.activation-node.is-warning .activation-node-dot,
.activation-node.is-active .activation-node-dot { background: var(--warning); }
.activation-node.is-error {
  border-color: rgba(188, 78, 59, 0.3);
  background: rgba(188, 78, 59, 0.03);
}
.activation-node.is-error .activation-node-dot { background: var(--danger); }

.pos-client   { left: 18px;  top: 190px; }
.pos-register { left: 198px; top: 190px; }
.pos-request  { left: 378px; top: 190px; }
.pos-device   { left: 558px; top: 88px; }
.pos-version  { left: 558px; top: 292px; }
.pos-need     { left: 770px; top: 190px; }
.pos-code     { left: 972px; top: 88px; }
.pos-lease    { left: 972px; top: 292px; }
.pos-offline  { left: 378px; top: 394px; }
.pos-final    { left: 1120px; top: 190px; }

.activation-flow-summary {
  display: grid;
  gap: 8px;
}
.activation-flow-summary div,
.activation-flow-message {
  padding: 10px 12px;
  border-radius: var(--radius-md);
  border: 1px solid var(--line);
  background: var(--panel-muted);
}
.activation-flow-summary span {
  display: block;
  color: var(--muted);
  font-size: 11px;
  font-weight: 600;
}
.activation-flow-summary strong {
  display: block;
  margin-top: 3px;
  overflow-wrap: anywhere;
  font-size: 14px;
}
.activation-flow-message {
  margin-top: 8px;
  color: var(--text);
  font-size: 13px;
  line-height: 1.5;
}
.activation-flow-detail-title {
  margin: 12px 0 6px;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0;
}
.activation-flow-json {
  max-height: 240px;
  overflow: auto;
  margin: 0;
  padding: 10px;
  border-radius: var(--radius-md);
  border: 1px solid var(--line);
  background: #1e2430;
  color: #e2e8f0;
  font-size: 11px;
  line-height: 1.5;
  white-space: pre-wrap;
  font-family: "SF Mono", "Fira Code", "Cascadia Code", monospace;
}
.activation-flow-steps {
  display: grid;
  gap: 6px;
  margin: 0;
  padding: 0;
  list-style: none;
}
.activation-flow-steps li {
  padding: 8px 10px;
  border-radius: var(--radius-md);
  border: 1px solid var(--line);
  background: var(--panel);
}
.activation-flow-steps strong,
.activation-flow-steps span { display: block; }
.activation-flow-steps strong { font-size: 12px; }
.activation-flow-steps span {
  margin-top: 3px;
  color: var(--muted);
  font-size: 11px;
  line-height: 1.45;
}
.activation-flow-steps li.is-success { border-color: rgba(33, 136, 91, 0.18); }
.activation-flow-steps li.is-warning,
.activation-flow-steps li.is-active { border-color: rgba(184, 121, 20, 0.18); }
.activation-flow-steps li.is-error { border-color: rgba(188, 78, 59, 0.18); }

/* ─── 更多徽章变体 ─── */
.ops-badge.mode-allow-offline {
  background: rgba(33, 136, 91, 0.08);
  color: var(--success);
}
.ops-badge.mode-deny-invalid-code,
.ops-badge.mode-deny-device-limit,
.ops-badge.mode-deny-device-mismatch,
.ops-badge.mode-deny-no-lease,
.ops-badge.mode-deny {
  background: rgba(188, 78, 59, 0.08);
  color: var(--danger);
}

.ops-grid-two {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 16px;
}

.ops-json-preview {
  max-width: 520px;
  max-height: 180px;
  overflow: auto;
  white-space: pre-wrap;
  word-break: break-word;
  margin: 0;
  padding: 8px;
  border-radius: 8px;
  background: rgba(31, 42, 51, 0.05);
  color: var(--muted);
  font-size: 12px;
  line-height: 1.45;
}

.ops-badge.mode-info {
  background: rgba(38, 166, 154, 0.1);
  color: var(--primary);
}

.ops-badge.mode-warning {
  background: rgba(197, 138, 22, 0.12);
  color: #9a6a0a;
}

.ops-badge.mode-error {
  background: rgba(188, 78, 59, 0.1);
  color: var(--danger);
}

/* ─── 响应式 ─── */
@media (max-width: 1100px) {
  .ops-shell {
    width: min(100vw - 16px, 1440px);
    padding-top: 8px;
  }
  .ops-content-grid,
  .ops-detail-grid,
  .ops-dashboard-grid,
  .ops-detail-layout,
  .ops-auth-shell,
  .activation-flow-shell,
  .activation-sim-shell,
  .af-shell,
  .activation-sim-json-grid,
  .af-json-grid,
  .af-bottom-grid,
  .ops-dual-grid,
  .ov-dual-grid,
  .ov-hero-row,
  .ov-bottom-row {
    grid-template-columns: 1fr;
  }
  .ov-kpi-compact {
    flex-wrap: wrap;
  }
  .ov-kpi-compact-item {
    flex: 0 0 auto;
    border-right: 1px solid rgba(0,0,0,0.06);
    border-bottom: 1px solid rgba(0,0,0,0.06);
  }
  .ov-bottom-side {
    position: static;
  }
  .ops-grid-two {
    grid-template-columns: 1fr;
  }
  .activation-flow-controls,
  .activation-flow-detail,
  .activation-sim-sidebar,
  .af-sidebar {
    position: static;
  }
  .ops-flow-strip,
  .ops-result-grid {
    grid-template-columns: 1fr;
  }
  .ops-flow-node:not(:last-child)::after {
    content: "\2193";
    top: auto;
    right: 50%;
    bottom: -18px;
    transform: translateX(50%);
  }
  .ops-flow-node:nth-child(2)::after { display: grid; }
  .ops-auth-grid { grid-template-columns: 1fr; }
}

@media (max-width: 860px) {
  .ops-topbar {
    top: 0;
    padding: 10px 14px;
    border-radius: 0;
  }
  .ops-topbar-inner,
  .ops-hero {
    flex-direction: column;
    align-items: stretch;
  }
  .ops-userbar { justify-content: space-between; }
  .ops-main { gap: 10px; }
  .ops-hero {
    padding: 8px 0;
    border-radius: 0;
  }
  .ops-page-title { font-size: 18px; }
  .ops-flow-heading { display: grid; }
  .ops-flow-status { justify-self: start; }
  .ops-flow-strip,
  .ops-result-grid { grid-template-columns: 1fr; }
  .ops-flow-node:not(:last-child)::after {
    content: "\2193";
    top: auto;
    right: 50%;
    bottom: -18px;
    transform: translateX(50%);
  }
  .ops-flow-node:nth-child(2)::after { display: grid; }
  .ops-desktop-table { display: none; }
  .ops-mobile-cards {
    display: grid;
    gap: 8px;
  }
  .ops-panel,
  .ops-form-panel,
  .ops-card,
  .ops-stat-card,
  .ops-flow-board {
    border-radius: var(--radius-lg);
    padding: 12px;
  }
  .ops-chart-container, .af-chart, .activation-sim-chart,
  .ov-chart--md, .ov-chart-wrap, .ov-chart--hero, .ov-chart--geo { height: 260px; }
  .ov-kpi-compact {
    flex-direction: column;
  }
  .ov-kpi-compact-item {
    border-right: none !important;
    border-bottom: 1px solid rgba(0,0,0,0.06);
    padding: 10px 16px;
  }
  .ov-kci-value {
    font-size: 18px;
  }
  .ov-strategy-stats {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 560px) {
  .ops-shell,
  .ops-auth-shell {
    width: min(100vw - 12px, 1440px);
  }
  .ops-topbar { margin-bottom: 0; }
  .ops-brand-title { font-size: 14px; }
  .ops-brand-mark {
    width: 28px;
    height: 28px;
    font-size: 14px;
    border-radius: 6px;
  }
  .ops-userbar {
    flex-direction: column;
    align-items: stretch;
  }
  .ops-auth-card,
  .ops-auth-story {
    padding: 18px;
    border-radius: var(--radius-lg);
  }
  .ops-auth-title { font-size: 20px; }
  .ov-kpi-compact-item {
    padding: 10px 14px;
  }
  .ov-kci-value {
    font-size: 20px;
  }
  .ov-version-grid {
    grid-template-columns: 1fr;
  }
  .ov-strategy-stats {
    grid-template-columns: 1fr;
  }
  .ov-form-grid {
    grid-template-columns: 1fr;
  }
}

/* ═══════════════ 公告页面专用样式 ═══════════════ */

/* ─── 筛选栏优化 ─── */
.ops-filter-bar {
  padding: 12px 16px !important;
}
.ops-ann-filter-row {
  display: flex;
  align-items: flex-end;
  gap: 10px;
  flex-wrap: wrap;
}
.ops-ann-filter-row .ops-field-grow {
  flex: 1 1 200px;
  min-width: 180px;
}
.ops-ann-filter-row .ops-field-btn {
  display: flex;
  align-items: flex-end;
  padding-bottom: 0;
}
.ops-ann-filter-row .ops-field-btn label {
  display: none;
}

.ops-ann-selection-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin: 10px 0 12px;
}

.ops-ann-selection-wrap {
  max-height: 360px;
  overflow: auto;
}

.ops-ann-selection-table th,
.ops-ann-selection-table td {
  vertical-align: middle;
}

.ops-ann-check-col {
  width: 78px;
  white-space: nowrap;
}

/* ─── 表单容器 ─── */
.ops-ann-form {
  display: grid;
  gap: 8px;
}

/* ─── 基本信息区（主区域，始终展开） ─── */
.ops-ann-section {
  border: none;
  margin: 0;
  padding: 18px 16px;
  background: var(--panel-muted);
  border-radius: var(--radius-lg);
}
.ops-ann-section-primary {
  background: linear-gradient(135deg, rgba(15,107,104,0.03) 0%, rgba(15,107,104,0.01) 100%);
  border: 1px solid rgba(15,107,104,0.1);
}
.ops-ann-legend {
  all: unset;
  display: block;
  font-size: 13px;
  font-weight: 700;
  color: var(--accent);
  margin-bottom: 14px;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  padding: 0 2px;
}

/* ─── 行布局 ─── */
.ops-ann-row {
  display: grid;
  gap: 12px;
}
.ops-ann-row-2col {
  grid-template-columns: 1fr 1fr;
}
.ops-ann-row-3col {
  grid-template-columns: 1fr 1fr 1fr;

}
.ops-ann-row .ops-field {
  min-width: 0;
}

/* ─── Checkbox 内联样式 ─── */
.ops-ann-field-inline {
  display: flex !important;
  align-items: center !important;
  gap: 6px;
  padding-top: 22px; /* 与其他字段 label 对齐 */
}
.ops-checkbox-wrap {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  cursor: pointer;
  user-select: none;
}
.ops-checkbox-wrap input[type="checkbox"] {
  width: 17px;
  height: 17px;
  accent-color: var(--accent);
  cursor: pointer;
  flex-shrink: 0;
}
.ops-checkbox-wrap label {
  font-size: 13px;
  font-weight: 500;
  color: var(--text);
  cursor: pointer;
  white-space: nowrap;
}

.ops-ann-severity-hints {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 10px;
}

.ops-ann-help-chip {
  position: relative;
  display: inline-flex;
  align-items: center;
  padding: 4px 10px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: #fff;
  color: var(--text);
  font-size: 12px;
}

.ops-ann-help-chip::after {
  content: attr(data-tooltip);
  position: absolute;
  left: 50%;
  bottom: calc(100% + 10px);
  transform: translateX(-50%);
  min-width: 220px;
  max-width: 280px;
  padding: 10px 12px;
  border-radius: 10px;
  background: rgba(25, 35, 52, 0.96);
  color: #fff;
  font-size: 12px;
  line-height: 1.5;
  box-shadow: 0 10px 24px rgba(15, 23, 42, 0.24);
  opacity: 0;
  pointer-events: none;
  transition: opacity 120ms ease, transform 120ms ease;
  z-index: 30;
}

.ops-ann-help-chip::before {
  content: "";
  position: absolute;
  left: 50%;
  bottom: calc(100% + 4px);
  width: 10px;
  height: 10px;
  transform: translateX(-50%) rotate(45deg);
  background: rgba(25, 35, 52, 0.96);
  opacity: 0;
  pointer-events: none;
  transition: opacity 120ms ease;
  z-index: 29;
}

.ops-ann-help-chip:hover::after,
.ops-ann-help-chip:hover::before {
  opacity: 1;
}

.ops-ann-help-chip:hover::after {
  transform: translateX(-50%) translateY(-2px);
}

/* ─── 可折叠面板（公告表单用） ─── */
.ops-ann-details {
  border-radius: var(--radius-lg);
  overflow: hidden;
}
.ops-ann-details[open] .ops-collapsible-toggle {
  transform: rotate(90deg);
}
.ops-collapsible-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  padding: 11px 16px;
  cursor: pointer;
  user-select: none;
  list-style: none;
  background: var(--panel);
  border: 1px solid var(--line);
  border-bottom: none;
  border-radius: var(--radius-lg) var(--radius-lg) 0 0;
  transition: background 120ms ease, border-color 120ms ease;
}
.ops-collapsible-header::-webkit-details-marker { display: none; }
.ops-collapsible-header::marker { content: ''; }
.ops-collapsible-header:hover {
  background: var(--panel-muted);
}
.ops-collapsible-label {
  font-weight: 600;
  font-size: 13px;
  color: var(--text);
}
.ops-collapsible-body {
  padding: 14px 16px 4px;
  background: var(--panel-muted);
  border: 1px solid var(--line);
  border-top: 1px solid var(--line);
  border-radius: 0 0 var(--radius-lg) var(--radius-lg);
}
.ops-ann-details:not([open]) .ops-collapsible-header {
  border-radius: var(--radius-lg);
  background: var(--panel);
}
.ops-ann-details:not([open]) .ops-collapsible-header:hover {
  background: var(--panel-muted);
}

/* ─── 操作按钮栏 ─── */
.ops-ann-actions {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
  padding: 16px 0 4px;
  border-top: 1px solid var(--line);
  margin-top: 4px;
}
.ops-ann-submit {
  padding: 8px 24px;
  font-weight: 600;
  letter-spacing: 0.01em;
}
.ops-ann-btn-danger:hover {
  color: var(--danger);
  border-color: var(--danger);
  background: rgba(188,78,59,0.06);
}

/* ─── 非字段错误区 ─── */
.ops-ann-nonfield-errors {
  display: grid;
  gap: 6px;
  padding: 8px 0;
}

/* ─── 公告页面响应式 ─── */
@media (max-width: 900px) {
  .ops-ann-row-2col,
  .ops-ann-row-3col {
    grid-template-columns: 1fr;
  }
  .ops-ann-filter-row {
    flex-direction: column;
    align-items: stretch;
  }
  .ops-ann-filter-row .ops-field-grow {
    flex: auto;
  }
  .ops-ann-filter-row .ops-field-btn {
    align-items: stretch;
  }
  .ops-ann-filter-row .ops-field-btn button {
    width: 100%;
  }
  .ops-ann-field-inline {
    padding-top: 0 !important;
    align-items: center !important;
  }
  .ops-ann-selection-toolbar {
    flex-direction: column;
    align-items: flex-start;
  }
}

@media (max-width: 560px) {
  .ops-ann-section,
  .ops-collapsible-body {
    padding-left: 12px;
    padding-right: 12px;
  }
  .ops-collapsible-header {
    padding: 10px 12px;
  }
}
