/* ============================================================
   zone-b.css — CHEFSMART 编辑器 v7
   包含：B区内容面板（.panel-b / .zb）及其子元素
         Level-1 项目卡、Level-2 模块列表、模块配置面板、
         顶部工具栏、拖拽效果、M01 折叠栏、手卡/文章选择器、
         文件管理器视图、底部栏
   ============================================================ */

/* ── B栏 — 主容器 ── */
.panel-b, .zb {
  flex: 0 0 24%;
  display: flex; flex-direction: column;
  background: #FFFFFF;
  overflow: hidden;
  border-left: 1px solid #F0F0F0;
}

/* ============================================================
   LEVEL-1 — 6 项目卡 (3×2 grid)
   ============================================================ */
.pb-l1-section, .zb__l1-section {
  flex-shrink: 0;
  border-bottom: 1px solid var(--ui-border);
}
.pb-l1-header, .zb__l1-header {
  display: flex; align-items: center; justify-content: space-between;
  padding: 8px 12px 6px;
}
.pb-l1-label, .zb__l1-label {
  font-size: 11px; color: #6B7280;
  letter-spacing: 1.5px; text-transform: uppercase; font-weight: 600;
}
.pb-l1-hint, .zb__l1-hint { font-size: 10px; color: #9CA3AF; }
.pb-l1-grid, .zb__l1-grid {
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: 4px; padding: 0 8px 8px;
}

/* ── 项目卡 — V6 深色画布 UI 风格 ── */
.pb-l1-card, .zb__l1-card {
  background: #FFFFFF;
  display: flex; flex-direction: column;
  align-items: center; justify-content: center;
  gap: 2px; padding: 8px 2px;
  cursor: pointer; position: relative;
  user-select: none;
  border: 1px solid #E5E7EB;
  border-radius: 0;
}
.pb-l1-card:hover, .zb__l1-card:hover { border-color: #0ABAB5; background: #FAFBFC; }
.pb-l1-card.active, .zb__l1-card--active {
  border-color: #0ABAB5;
  background: #F0FDFA;
}
.pb-l1-card.dragging, .zb__l1-card--dragging { opacity: 0.3; }
.pb-l1-card.drag-insert-before, .zb__l1-card--drag-insert-before {
  box-shadow: 0 -3px 0 0 var(--color-primary), 0 -1px 8px 0 rgba(10,186,181,0.3);
}
.pb-l1-card.drag-insert-after, .zb__l1-card--drag-insert-after {
  box-shadow: 0 3px 0 0 var(--color-primary), 0 1px 8px 0 rgba(10,186,181,0.3);
}
.pb-l1-icon, .zb__l1-icon {
  width: 20px; height: 20px;
  display: flex; align-items: center; justify-content: center;
  color: #4B5563;
}
.pb-l1-icon svg, .zb__l1-icon svg { width: 20px; height: 20px; }
.pb-l1-name, .zb__l1-name {
  font-size: 12px; color: #111827;
  text-align: center; font-weight: 600;
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
  max-width: 100%;
}
.pb-l1-card.active .pb-l1-icon, .zb__l1-card--active .zb__l1-icon { color: #0ABAB5; }
.pb-l1-card.active .pb-l1-name, .zb__l1-card--active .zb__l1-name { color: #0ABAB5; font-weight: 600; }

/* ============================================================
   LEVEL-2 — 动态内容
   ============================================================ */
.pb-l2-section, .zb__l2-section {
  flex: 1; display: flex; flex-direction: column;
  overflow: hidden;
  min-height: 0;
}
.pb-l2-header, .zb__l2-header {
  display: none; align-items: center; justify-content: space-between;
  padding: 10px 12px 8px; flex-shrink: 0;
  background: #1A1A1A;
  border-bottom: 1px solid #333333;
}
.pb-l2-label, .zb__l2-label {
  font-size: 13px; color: #1F2937;
  letter-spacing: 0; text-transform: none; font-weight: 700;
}
.pb-l2-hint, .zb__l2-hint { font-size: 13px; color: #9CA3AF; font-weight: 400; }
.pb-l2-content, .zb__l2-content {
  flex: 0 1 auto; min-height: 0;
  overflow-y: auto;
  background: #F7F7F8;
  padding: 8px;
  display: grid; grid-template-columns: repeat(5, 1fr);
  gap: 3px;
  align-content: start;
}

/* ── Level-3: AI Assistant panel ── */
.pb-l3-section, .zb__l3-section { display:flex; flex-direction:column; min-height:0; border-top:1px solid #F0F0F0; flex:0 0 180px; }
.pb-l3-header, .zb__l3-header { padding:12px 16px; display:flex; align-items:center; justify-content:space-between; border-bottom:1px solid #F0F0F0; flex-shrink:0; background:#FFFFFF; }
.pb-l3-label, .zb__l3-label { font-size:12px; color:#1A1A1A; letter-spacing:1.5px; text-transform:uppercase; font-weight:700; }
.pb-l3-hint, .zb__l3-hint { font-size:11px; color:#999999; }
.pb-l3-content, .zb__l3-content { flex:1; overflow-y:auto; background:#FFFFFF; padding:16px; display:flex; align-items:center; justify-content:center; }
.l3-placeholder { display:flex; flex-direction:column; align-items:center; gap:8px; color:var(--ui-text-secondary); }
.l3-placeholder-text { font-size:14px; color:var(--ui-text); }
.l3-placeholder-hint { font-size:12px; color:var(--ui-text-secondary); }

/* ── 模块卡图标/名称 ── */
.mod-card-icon svg, .zb__module-card-icon svg { width: 20px; height: 20px; }
.mod-card-grid.active .mod-card-icon, .zb__module-card--active .zb__module-card-icon { color: #0ABAB5; }
.mod-card-grid.fixed .mod-card-icon, .zb__module-card--fixed .zb__module-card-icon { color: #0ABAB5; }
.mod-card-name, .zb__module-card-name { font-size: 11px; max-width: none; }

/* ── L2 占位符（非详情页项目）── */
.pb-l2-placeholder, .zb__l2-placeholder {
  flex: 1; display: flex; flex-direction: column;
  align-items: center; justify-content: center;
  gap: 10px; color: var(--ui-muted);
}
.pb-l2-placeholder-icon, .zb__l2-placeholder-icon { color: #D1D5DB; opacity: 1; display:flex; }
.pb-l2-placeholder-text, .zb__l2-placeholder-text { font-size: 13px; color: var(--ui-gold); }
.pb-l2-placeholder-sub, .zb__l2-placeholder-sub { font-size: 11px; color: var(--ui-muted); }

/* ============================================================
   MODULE CONFIG PANEL — B区字段管理
   ============================================================ */
.module-config-panel, .zb__config-panel {
  flex: 1;
  min-height: 0;
  background: #1E1E20;
  border: 1px solid #3A3A3C;
  padding: 0;
  display: none;
}
.module-config-panel.open, .zb__config-panel--open {
  display: flex; flex-direction: column;
}
.mcp-header, .zb__config-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 14px;
  border-bottom: 1px solid #3A3A3C;
}
.mcp-title, .zb__config-title {
  font-size: 12px;
  font-weight: 700;
  color: #FFFFFF;
  letter-spacing: 0.5px;
}
.mcp-close, .zb__config-close {
  width: 22px;
  height: 22px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #9CA3AF;
  cursor: pointer;
  font-size: 14px;
  background: transparent;
  border: none;
}
.mcp-close:hover, .zb__config-close:hover {
  color: #FFFFFF;
}
.mcp-body, .zb__config-body {
  padding: 10px 14px;
  flex: 1;
  min-height: 0;
  overflow-y: auto;
}
.mcp-row, .zb__config-row {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 6px;
  padding: 6px 8px;
  background: #2C2C2E;
  border-radius: 6px;
}
.mcp-row-label, .zb__config-row-label {
  flex: 1;
  font-size: 12px;
  color: #E5E7EB;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  min-width: 0;
}
.mcp-row-type, .zb__config-row-type {
  font-size: 9px;
  color: #6B7280;
  background: #3A3A3C;
  padding: 1px 6px;
  border-radius: 3px;
  white-space: nowrap;
  flex-shrink: 0;
  margin-left: 0;
  padding-left: 0;
}
.mcp-row-del, .zb__config-row-del {
  width: 22px;
  height: 22px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #6B7280;
  cursor: pointer;
  font-size: 14px;
  background: transparent;
  border: none;
  border-radius: 4px;
  flex-shrink: 0;
  margin-left: 0;
  padding-left: 0;
}
.mcp-row-del:hover, .zb__config-row-del:hover {
  color: #EF4444;
  background: rgba(239,68,68,0.1);
}
.mcp-row-fixed, .zb__config-row--fixed {
  opacity: 0.5;
}
.mcp-row-fixed .mcp-row-del, .zb__config-row--fixed .zb__config-row-del {
  visibility: hidden;
}
.mcp-footer, .zb__config-footer {
  padding: 8px 14px;
  border-top: 1px solid #3A3A3C;
  display: flex;
  gap: 8px;
}
.mcp-add-btn, .zb__config-add-btn {
  flex: 1;
  height: 36px;
  background: transparent;
  border: 1px dashed #4B5563;
  color: #0ABAB5;
  font-size: 12px;
  font-weight: 600;
  cursor: pointer;
  font-family: inherit;
  border-radius: 6px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 4px;
}
.mcp-add-btn:hover, .zb__config-add-btn:hover {
  background: rgba(10,186,181,0.10);
  border-color: #0ABAB5;
}
.mcp-empty, .zb__config-empty {
  text-align: center;
  padding: 20px;
  color: #6B7280;
  font-size: 11px;
}

/* ============================================================
   M01 卡片 — B区深色风格
   ============================================================ */
.pb-l2-content .mod-card-grid.m01-card,
.zb__l2-content .zb__module-card--m01 {
  flex-direction: column !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 3px !important;
  padding: 8px 4px !important;
  background: #1A1A1A !important;
}
.pb-l2-content .mod-card-grid.m01-card .mod-card-check,
.zb__l2-content .zb__module-card--m01 .mod-card-check {
  display: none;
}
.pb-l2-content .mod-card-grid.m01-card.panel-open,
.zb__l2-content .zb__module-card--m01.panel-open {
  box-shadow: 0 0 0 2px #0ABAB5;
}
.mod-card-grid.m01-card, .zb__module-card--m01 {
  cursor: pointer;
}
.mod-card-grid.m01-card:hover, .zb__module-card--m01:hover {
  background: #2C2C2E;
  box-shadow: 0 2px 8px rgba(0,0,0,0.15);
}
.mod-card-grid.m01-card.panel-open, .zb__module-card--m01.panel-open {
  background: #2C2C2E;
  box-shadow: 0 0 0 2px #0ABAB5;
}

/* ============================================================
   PREMIUM DARK CARD SYSTEM — v7.23
   ============================================================ */

/* ── m01 固定卡片（折叠头部） ── */
.pb-l2-content .mod-card-grid.fixed,
.pb-l2-content .mod-card-grid.hero-card,
.zb__l2-content .zb__module-card--fixed,
.zb__l2-content .zb__module-card--hero {
  height: 44px;
  background: #1A1A1A;
  border: none;
  border-radius: 0;
  cursor: default;
  flex-direction: row;
  gap: 10px;
  justify-content: flex-start;
  padding: 0 16px;
  grid-column: 1 / -1;
  box-shadow: 0 2px 8px rgba(0,0,0,0.15);
}
.pb-l2-content .mod-card-grid.fixed .mod-card-num-top,
.pb-l2-content .mod-card-grid.hero-card .mod-card-num-top,
.zb__l2-content .zb__module-card--fixed .mod-card-num-top,
.zb__l2-content .zb__module-card--hero .mod-card-num-top {
  font-size: 16px; font-weight: 800;
  color: #0ABAB5 !important;
  font-family: 'SF Mono', 'Fira Code', monospace;
}
.pb-l2-content .mod-card-grid.fixed .mod-card-name,
.pb-l2-content .mod-card-grid.hero-card .mod-card-name,
.zb__l2-content .zb__module-card--fixed .mod-card-name,
.zb__l2-content .zb__module-card--hero .mod-card-name {
  font-size: 13px; color: #FFFFFF !important; font-weight: 600;
  letter-spacing: 0.5px;
}
.pb-l2-content .mod-card-grid.fixed .mod-card-icon,
.pb-l2-content .mod-card-grid.hero-card .mod-card-icon,
.zb__l2-content .zb__module-card--fixed .mod-card-icon,
.zb__l2-content .zb__module-card--hero .mod-card-icon {
  width: 18px; height: 18px;
  color: #0ABAB5 !important;
  margin-bottom: 0 !important;
}
.pb-l2-content .mod-card-grid.fixed .mod-card-check,
.pb-l2-content .mod-card-grid.hero-card .mod-card-check,
.zb__l2-content .zb__module-card--fixed .mod-card-check,
.zb__l2-content .zb__module-card--hero .mod-card-check {
  display: none;
}

/* ── 模块卡片（深色主题）5列 ── */
.pb-l2-content .mod-card-grid:not(.fixed),
.pb-l2-content .mod-card-grid.m01-card,
.zb__l2-content .zb__module-card:not(.fixed),
.zb__l2-content .zb__module-card--m01 {
  background: #2C2C2E;
  border: none;
  border-radius: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 1px;
  padding: 2px 2px;
  position: relative;
  box-shadow: 0 2px 8px rgba(0,0,0,0.12);
  cursor: grab;
  user-select: none;
  min-height: 36px;
}

/* 激活态 — 金色点缀 */
.pb-l2-content .mod-card-grid:not(.fixed).active,
.zb__l2-content .zb__module-card:not(.fixed).active {
  background: #1A1A1A;
  box-shadow: 0 2px 8px rgba(0,0,0,0.2);
}
.pb-l2-content .mod-card-grid:not(.fixed).active::after,
.zb__l2-content .zb__module-card:not(.fixed).active::after {
  content: '';
  position: absolute;
  bottom: 0; left: 20%; right: 20%;
  height: 2px;
  background: #0ABAB5;
  border-radius: 2px 2px 0 0;
}

/* 未激活态 — 半透明暗灰 */
.pb-l2-content .mod-card-grid:not(.fixed):not(.active),
.zb__l2-content .zb__module-card:not(.fixed):not(.active) {
  background: #3A3A3C !important;
  box-shadow: 0 1px 4px rgba(0,0,0,0.08) !important;
  opacity: 0.65;
}

/* hover */
.pb-l2-content .mod-card-grid:not(.fixed):hover,
.zb__l2-content .zb__module-card:not(.fixed):hover {
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(0,0,0,0.18);
}

/* 勾选框 */
.pb-l2-content .mod-card-grid:not(.fixed) .mod-card-check,
.zb__l2-content .zb__module-card:not(.fixed) .mod-card-check {
  position: absolute;
  top: 3px; right: 3px;
  width: 10px; height: 10px;
  border-radius: 2px;
  font-size: 7px;
  display: flex; align-items: center; justify-content: center;
  background: #4A4A4C;
  color: transparent;
}
.pb-l2-content .mod-card-grid:not(.fixed) .mod-card-check.checked,
.zb__l2-content .zb__module-card:not(.fixed) .mod-card-check.checked {
  background: #0ABAB5;
  color: #1A1A1A;
}

/* 数字 */
.pb-l2-content .mod-card-grid:not(.fixed) .mod-card-num-top,
.zb__l2-content .zb__module-card:not(.fixed) .mod-card-num-top {
  font-size: 7px !important;
  font-weight: 800 !important;
  line-height: 1 !important;
  font-family: 'SF Mono', 'Fira Code', monospace;
}
.pb-l2-content .mod-card-grid:not(.fixed) .mod-card-num-top .num-badge,
.zb__l2-content .zb__module-card:not(.fixed) .mod-card-num-top .num-badge {
  display: flex; align-items: center; justify-content: center;
  width: 18px; height: 18px;
  background: #FFFFFF; color: #1A1A1A;
  border-radius: 50%;
  font-size: 10px; font-weight: 900;
}
.pb-l2-content .mod-card-grid:not(.fixed):not(.active) .mod-card-num-top .num-badge,
.zb__l2-content .zb__module-card:not(.fixed):not(.active) .mod-card-num-top .num-badge {
  background: rgba(255,255,255,0.25); color: rgba(255,255,255,0.6);
}

/* 名称 */
.pb-l2-content .mod-card-grid:not(.fixed) .mod-card-name,
.zb__l2-content .zb__module-card:not(.fixed) .mod-card-name {
  font-size: 10px !important;
  color: rgba(255,255,255,0.85) !important;
  font-weight: 600 !important;
  text-align: center !important;
  letter-spacing: 0.3px;
}
.pb-l2-content .mod-card-grid:not(.fixed).active .mod-card-name,
.zb__l2-content .zb__module-card:not(.fixed).active .mod-card-name {
  color: #FFFFFF !important;
  font-weight: 700 !important;
}
.pb-l2-content .mod-card-grid:not(.fixed):not(.active) .mod-card-name,
.zb__l2-content .zb__module-card:not(.fixed):not(.active) .mod-card-name {
  color: rgba(255,255,255,0.4) !important;
}

/* icon styles */
.pb-l2-content .mod-card-grid:not(.fixed) .mod-card-icon svg,
.zb__l2-content .zb__module-card:not(.fixed) .mod-card-icon svg {
  width: 13px !important;
  height: 13px !important;
}

/* moduleList fills l2Content grid as pass-through */
#moduleList { display: contents; }

/* ============================================================
   通用模块卡样式（非 B区 dark scoped）
   ============================================================ */
.mod-card-grid, .zb__module-card {
  width: 100%; height: 64px;
  background: #F0FBFA;
  border: 1.5px solid #0ABAB5;
  display: flex; flex-direction: column;
  align-items: center; justify-content: center;
  gap: 2px;
  cursor: pointer;
  position: relative;
  user-select: none;
  border-radius: 0;
}
.mod-card-grid:hover, .zb__module-card:hover {
  border-color: #08A09B;
  background: #E5F8F6;
}
.mod-card-grid.active, .zb__module-card--active {
  border-color: #0ABAB5;
  background: #D5F3F1;
  box-shadow: 0 2px 8px rgba(10,186,181,0.25);
}
.mod-card-grid.fixed, .zb__module-card--fixed {
  background: #1A1A1A !important;
  border: none !important;
  border-radius: 0 !important;
  cursor: default;
  flex-direction: row !important;
  justify-content: flex-start !important;
  padding: 0 16px !important;
  gap: 10px !important;
  height: 44px !important;
  flex: 0 0 100% !important;
}

/* ── Card number ── */
.mod-card-num-top, .zb__module-card-num {
  font-size: 18px; font-weight: 700;
  color: #0ABAB5;
  letter-spacing: 0;
  line-height: 1;
}

/* ── Card check — top right ── */
.mod-card-check, .zb__module-card-check {
  position: absolute; top: 4px; right: 4px;
  width: 14px; height: 14px;
  border: none;
  background: #4A4A4C;
  display: flex; align-items: center; justify-content: center;
  font-size: 9px; color: transparent;
  font-weight: bold;
  cursor: pointer;
  border-radius: 4px;
}
.mod-card-check.checked, .zb__module-card-check--checked {
  background: #0ABAB5;
  color: #1A1A1A;
}
.mod-card-check:not(.checked), .zb__module-card-check:not(.checked) {
  background: #4A4A4C;
  color: transparent;
}
.mod-card-grid.fixed .mod-card-check, .zb__module-card--fixed .mod-card-check {
  display: none;
}

/* ── Card name ── */
.mod-card-name, .zb__module-card-name {
  font-size: 11px;
  color: #0ABAB5;
  font-weight: 500;
  text-align: center;
  line-height: 1.2;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 100%;
  padding: 0 4px;
}

/* ── Dragging states ── */
.mod-card-grid.dragging, .zb__module-card--dragging { opacity: 0.3; }
.mod-card-grid.drag-insert-before, .zb__module-card--drag-insert-before {
  box-shadow: 0 -3px 0 0 var(--color-primary), 0 -1px 8px 0 rgba(10,186,181,0.3);
}
.mod-card-grid.drag-insert-after, .zb__module-card--drag-insert-after {
  box-shadow: 0 3px 0 0 var(--color-primary), 0 1px 8px 0 rgba(10,186,181,0.3);
}

/* ============================================================
   旧版 mod-card（折叠面板风格）
   ============================================================ */
.mod-card, .zb__module-card-legacy {
  margin-bottom: 8px; border: 1px solid var(--ui-border);
  display: none; box-shadow: var(--shadow-card);
}
.mod-card.open, .zb__module-card-legacy--open { display: block; }
.mod-card-header, .zb__module-card-legacy-header {
  padding: 10px 14px;
  display: flex; align-items: center; gap: 10px;
  cursor: pointer; background: var(--ui-white);
}
.mod-card-num, .zb__module-card-legacy-num {
  width: 22px; height: 22px;
  background: var(--ui-primary); color: #FFF;
  display: flex; align-items: center; justify-content: center;
  font-size: 9px; font-weight: 700; flex-shrink: 0;
}
.mod-card-title, .zb__module-card-legacy-title { font-size: 13px; font-weight: 600; color: var(--ui-text); flex: 1; }
.mod-card-toggle, .zb__module-card-legacy-toggle { font-size: 10px; color: var(--ui-muted); }
.mod-card-body, .zb__module-card-legacy-body { padding: 14px; border-top: 1px solid var(--ui-border); }

/* ── mc-field（模块编辑字段）── */
.mc-field { margin-bottom: 12px; }
.mc-field:last-child { margin-bottom: 0; }
.mc-field label {
  display: block; font-size: 11px; color: var(--ui-sub);
  margin-bottom: 4px; font-weight: 500;
}
.mc-field input, .mc-field textarea, .mc-field select {
  display: block; width: 100%;
  border: 1px solid var(--ui-border);
  background: var(--ui-surface); padding: 8px 12px;
  font-size: 12px; color: var(--ui-text);
  font-family: inherit; outline: none; resize: vertical;
}
.mc-field input:focus, .mc-field textarea:focus, .mc-field select:focus {
  border-color: var(--ui-primary);
  box-shadow: 0 0 0 3px rgba(10,186,181,0.1);
}
.mc-field textarea { min-height: 56px; line-height: 1.6; }
.mc-upload {
  width: 100%; height: 56px;
  border: 1px dashed var(--ui-border); background: var(--ui-surface);
  display: flex; align-items: center; justify-content: center;
  font-size: 11px; color: var(--ui-gold); cursor: pointer;
}
.mc-upload:hover { border-color: var(--ui-primary); color: var(--ui-primary); }

/* ============================================================
   PLATFORM SELECTOR
   ============================================================ */
.platform-bar, .zb__platform-bar {
  display: none; flex-shrink: 0;
  padding: 8px 20px; border-bottom: 1px solid var(--ui-border);
  align-items: center; gap: 10px;
}
.platform-bar.show, .zb__platform-bar--show { display: flex; }
.platform-bar label, .zb__platform-bar label {
  font-size: 10px; color: var(--ui-muted); letter-spacing: 1px;
  text-transform: uppercase; flex-shrink: 0; font-weight: 600;
}
.platform-bar select, .zb__platform-bar select {
  height: 28px; border: 1px solid var(--ui-border); background: var(--ui-white);
  padding: 0 10px; font-size: 12px; color: var(--ui-text); outline: none;
  font-family: inherit;
}

/* ── AI Area (within B区) ── */
.ai-area { flex: 1; overflow-y: auto; padding: 16px 20px; }

/* ============================================================
   B区 TOP TOOLBAR
   ============================================================ */
.pb-top-toolbar, .zb__topbar {
  flex-shrink: 0;
  background: #FFFFFF;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 8px 12px;
  border-radius: 0;
  border-bottom: 1px solid #F0F0F0;
}
.pb-top-toolbar-left, .zb__topbar-left {
  display: flex;
  align-items: center;
  gap: 8px;
}
.pb-top-toolbar-btn, .zb__topbar-btn {
  padding: 8px 16px;
  font-size: 12px;
  font-weight: 600;
  color: #FFFFFF;
  background: #1A1A1A;
  border: none;
  border-radius: 0;
  cursor: pointer;
  font-family: inherit;
  text-align: left;
  line-height: 1.4;
}
.pb-top-toolbar-btn:hover, .zb__topbar-btn:hover {
  background: #2C2C2E;
  color: #0ABAB5;
}

/* ── Border-radius slider in B区 toolbar ── */
.pb-top-toolbar-radius, .zb__topbar-radius {
  display: flex;
  align-items: center;
  gap: 6px;
}
.pb-top-toolbar-radius-label, .zb__topbar-radius-label {
  font-size: 11px;
  color: #6B7280;
  white-space: nowrap;
}
.pb-radius-slider, .zb__radius-slider {
  -webkit-appearance: none;
  appearance: none;
  width: 80px;
  height: 4px;
  background: #E5E7EB;
  outline: none;
  border-radius: 2px;
  cursor: pointer;
}
.pb-radius-slider::-webkit-slider-thumb, .zb__radius-slider::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  width: 14px;
  height: 14px;
  background: #0ABAB5;
  border-radius: 50%;
  cursor: pointer;
}
.pb-radius-slider::-moz-range-thumb, .zb__radius-slider::-moz-range-thumb {
  width: 14px;
  height: 14px;
  background: #0ABAB5;
  border-radius: 50%;
  cursor: pointer;
  border: none;
}
.pb-radius-value, .zb__radius-value {
  font-size: 10px;
  color: #9CA3AF;
  min-width: 28px;
  text-align: center;
  font-family: 'SF Mono', 'Fira Code', monospace;
}

.pb-top-toolbar-save, .zb__topbar-save {
  font-size: 10px;
  color: #999999;
  white-space: nowrap;
  letter-spacing: 0.3px;
}
.pb-top-toolbar-right, .zb__topbar-right {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
}

/* ============================================================
   M01 COLLAPSIBLE — B区折叠栏
   ============================================================ */
.m01-flat-bar, .zb__m01-flat-bar {
  flex-shrink: 0;
  margin-bottom: 8px;
  padding: 0 12px;
}
.m01-flat-bar-inner, .zb__m01-flat-bar-inner {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 16px;
  background: #1A1A1A;
  border: none;
  border-radius: 0;
  box-shadow: 0 2px 8px rgba(0,0,0,0.15);
  cursor: pointer;
  user-select: none;
}
.m01-flat-bar-inner:hover, .zb__m01-flat-bar-inner:hover {
  background: #2C2C2E;
}
.m01-flat-bar-inner .m01-num, .zb__m01-flat-bar-inner .m01-num {
  width: 24px; height: 24px;
  background: #FFFFFF; color: #1A1A1A;
  display: flex; align-items: center; justify-content: center;
  font-size: 11px; font-weight: 800;
  border-radius: 50%;
  flex-shrink: 0;
  margin-left: 0;
  padding-left: 0;
}
.m01-flat-bar-inner .m01-label, .zb__m01-flat-bar-inner .m01-label {
  font-size: 13px; font-weight: 700; color: #FFFFFF;
  white-space: nowrap; flex-shrink: 0;
}
.m01-flat-bar-inner .m01-input, .zb__m01-flat-bar-inner .m01-input {
  flex: 1;
  background: #2C2C2E;
  border: none;
  border-radius: 6px;
  padding: 6px 10px;
  font-size: 12px;
  color: #FFFFFF;
  outline: none;
  min-width: 0;
}
.m01-flat-bar-inner .m01-input::placeholder, .zb__m01-flat-bar-inner .m01-input::placeholder {
  color: rgba(255,255,255,0.3);
}
.m01-flat-bar-inner .m01-input:focus, .zb__m01-flat-bar-inner .m01-input:focus {
  box-shadow: 0 0 0 2px rgba(10,186,181,0.3);
}
.m01-field-row:last-child {
  margin-bottom: 0;
}
.m01-field-row label {
  display: block;
  font-size: 10px;
  color: #999999;
  margin-bottom: 4px;
  font-weight: 600;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  text-align: left;
}
.m01-field-row input,
.m01-field-row textarea {
  display: block;
  width: 100%;
  border: none;
  background: #2C2C2E;
  padding: 7px 10px;
  font-size: 12px;
  color: #FFFFFF;
  font-family: inherit;
  outline: none;
  border-radius: 8px;
  resize: vertical;
}
.m01-field-row input:focus,
.m01-field-row textarea:focus {
  box-shadow: 0 0 0 2px rgba(10,186,181,0.3);
}
.m01-field-row input::placeholder,
.m01-field-row textarea::placeholder {
  color: rgba(255,255,255,0.3);
}

/* ============================================================
   HANDCARD SELECTOR — 形态选择
   ============================================================ */
.hc-selector, .zb__hc-selector {
  padding: 16px 12px;
  background: #FFFFFF;
  flex: 1;
}
.hc-selector-title, .zb__hc-selector-title {
  font-size: 14px;
  font-weight: 700;
  color: #1F2937;
  margin-bottom: 4px;
  text-align: left;
}
.hc-selector-sub, .zb__hc-selector-sub {
  font-size: 11px;
  color: #6B7280;
  margin-bottom: 16px;
  text-align: left;
}
.hc-options, .zb__hc-options {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.hc-option, .zb__hc-option {
  padding: 16px 14px;
  background: #FFFFFF;
  border: 1px solid #E5E7EB;
  border-radius: 0;
  cursor: pointer;
  text-align: left;
}
.hc-option:hover, .zb__hc-option:hover {
  border-color: #0ABAB5;
  background: #F9FAFB;
}
.hc-option.selected, .zb__hc-option--selected {
  border-color: #0ABAB5;
  background: #F0FDFA;
}
.hc-option-top, .zb__hc-option-top {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 6px;
}
.hc-option-radio, .zb__hc-option-radio {
  width: 16px; height: 16px;
  border: 2px solid #D1D5DB;
  border-radius: 0;
  flex-shrink: 0;
  display: flex; align-items: center; justify-content: center;
}
.hc-option.selected .hc-option-radio, .zb__hc-option--selected .zb__hc-option-radio {
  border-color: #0ABAB5;
}
.hc-option-radio-dot, .zb__hc-option-radio-dot {
  width: 8px; height: 8px;
  background: #0ABAB5;
  display: none;
}
.hc-option.selected .hc-option-radio-dot, .zb__hc-option--selected .zb__hc-option-radio-dot {
  display: block;
}
.hc-option-name, .zb__hc-option-name {
  font-size: 14px;
  font-weight: 700;
  color: #1F2937;
}
.hc-option-desc, .zb__hc-option-desc {
  font-size: 11px;
  color: #6B7280;
  padding-left: 26px;
}
.hc-option-tag, .zb__hc-option-tag {
  display: inline-block;
  padding: 2px 8px;
  font-size: 9px;
  font-weight: 600;
  border-radius: 0;
  margin-left: 8px;
}
.hc-option-tag.price, .zb__hc-option-tag--price {
  background: #0ABAB5;
  color: #FFFFFF;
}
.hc-option-tag.no-price, .zb__hc-option-tag--no-price {
  background: #E5E7EB;
  color: #6B7280;
}

/* ============================================================
   ARTICLE SELECTOR — 文章类型 + 发布平台
   ============================================================ */
.art-selector, .zb__art-selector {
  padding: 16px 12px;
  background: #FFFFFF;
  flex: 1;
}
.art-group, .zb__art-group {
  margin-bottom: 20px;
}
.art-group:last-child, .zb__art-group:last-child {
  margin-bottom: 0;
}
.art-group-label, .zb__art-group-label {
  font-size: 10px;
  color: #6B7280;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  font-weight: 700;
  margin-bottom: 10px;
  text-align: left;
}
.art-pills, .zb__art-pills {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}
.art-pill, .zb__art-pill {
  padding: 8px 16px;
  font-size: 12px;
  color: #4B5563;
  background: #FFFFFF;
  border: 1px solid #E5E7EB;
  border-radius: 0;
  cursor: pointer;
  font-family: inherit;
  text-align: left;
  font-weight: 500;
}
.art-pill:hover, .zb__art-pill:hover {
  border-color: #0ABAB5;
  color: #1F2937;
  background: #F9FAFB;
}
.art-pill.selected, .zb__art-pill--selected {
  border-color: #0ABAB5;
  background: #F0FDFA;
  color: #0ABAB5;
  font-weight: 600;
}
.art-pill-icon, .zb__art-pill-icon {
  margin-right: 6px;
}

/* ── Hero placeholder in B区 ── */
.hero-b-placeholder, .zb__hero-placeholder {
  padding: 24px 12px;
  background: #FFFFFF;
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 8px;
}
.hero-b-placeholder-icon, .zb__hero-placeholder-icon {
  color: #9CA3AF;
  margin-bottom: 4px;
}
.hero-b-placeholder-title, .zb__hero-placeholder-title {
  font-size: 14px;
  font-weight: 700;
  color: #1F2937;
  text-align: left;
}
.hero-b-placeholder-desc, .zb__hero-placeholder-desc {
  font-size: 11px;
  color: #6B7280;
  text-align: left;
  line-height: 1.6;
}

/* ============================================================
   DRAG & DROP — v7.26 拖拽开口效果
   ============================================================ */

/* 被拖走的卡片：塌缩成坑 */
.pb-l2-content .mod-card-grid:not(.fixed).is-dragging,
.zb__l2-content .zb__module-card:not(.fixed).is-dragging {
  opacity: 0.1 !important;
  transform: scale(0.75) !important;
  box-shadow: none !important;
}

/* 开口空槽 */
.pb-l2-content .drop-gap,
.zb__l2-content .drop-gap {
  min-height: 72px;
  border-radius: 0;
  background: rgba(10,186,181,0.1);
  border: 2px dashed var(--color-primary);
  display: flex; align-items: center; justify-content: center;
  animation: gapPulse 2s ease-in-out infinite;
}
.pb-l2-content .drop-gap span,
.zb__l2-content .drop-gap span {
  font-size: 9px; font-weight: 700; color: var(--color-primary);
  letter-spacing: 0.5px; opacity: 0.9;
}
@keyframes gapPulse {
  0%,100% { border-color:rgba(10,186,181,0.4); background:rgba(10,186,181,0.10); }
  50% { border-color:rgba(10,186,181,1); background:rgba(10,186,181,0.18); }
}

/* 浮动克隆 */
.drag-ghost {
  position: fixed; pointer-events: none; z-index: 10000;
  opacity: 0.92; transform: scale(1.1) rotate(2deg);
  box-shadow: 0 12px 32px rgba(0,0,0,0.3), 0 0 0 2.5px var(--color-primary);
  border-radius: 0; background: #1A1A1A;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  gap: 2px; padding: 6px 4px;
}
.drag-ghost .num-badge { background: #FFF; color: #1A1A1A; }
.drag-ghost .mod-card-name { color: #FFF; font-weight: 600; font-size: 11px; }

/* 底部提示条 */
.drag-hint {
  font-size: 9px; color: #9CA3AF;
  letter-spacing: 0.5px; text-align: right;
  margin-top: 2px;
}
.drag-hint.active { color: var(--color-primary); font-weight: 600; }

/* ============================================================
   FILE MANAGER VIEW — B区默认视图
   ============================================================ */
.file-manager, .zb__file-manager {
  display: flex; flex-direction: column;
  height: 100%; overflow: hidden;
  background: var(--ui-white);
}
.file-manager.hidden, .zb__file-manager--hidden { display: none; }

/* FM Header */
.fm-header, .zb__fm-header {
  height: 52px; flex-shrink: 0;
  display: flex; align-items: center; justify-content: space-between;
  padding: 0 16px;
  border-bottom: 1px solid var(--ui-border);
}
.fm-header-left, .zb__fm-header-left {
  display: flex; align-items: center; gap: 8px;
}
.fm-back-btn, .zb__fm-back-btn {
  display: none; align-items: center; gap: 4px;
  height: 32px; padding: 0 14px;
  font-size: 12px; color: var(--ui-sub);
  border: 1px solid var(--ui-border); background: var(--ui-white);
  cursor: pointer; font-family: inherit;
}
.fm-back-btn:hover, .zb__fm-back-btn:hover { background: var(--ui-surface); }
.fm-back-btn.show, .zb__fm-back-btn--show { display: flex; }
.fm-title, .zb__fm-title {
  font-size: 14px; font-weight: 600; color: var(--ui-text);
  display: flex; align-items: center; gap: 6px;
}
.fm-title-icon, .zb__fm-title-icon {
  width: 18px; height: 18px;
  display: flex; align-items: center; justify-content: center;
  font-size: 15px;
}
.fm-header-actions, .zb__fm-header-actions {
  display: flex; align-items: center; gap: 6px;
}
.fm-btn-new, .zb__fm-btn-new {
  height: 32px; padding: 0 16px;
  font-size: 12px; font-weight: 500; color: var(--ui-sub);
  border: 1px solid var(--ui-border); background: var(--ui-white);
  cursor: pointer; font-family: inherit;
  display: flex; align-items: center; gap: 4px;
}
.fm-btn-new:hover, .zb__fm-btn-new:hover { background: var(--ui-surface); border-color: #D0D5DD; }
.fm-btn-new.primary, .zb__fm-btn-new--primary {
  background: var(--color-primary); color: #FFF;
  border-color: var(--color-primary);
}
.fm-btn-new.primary:hover, .zb__fm-btn-new--primary:hover { background: var(--color-primary-hover); }

/* FM Search */
.fm-search, .zb__fm-search {
  flex-shrink: 0; padding: 10px 16px;
  border-bottom: 1px solid var(--ui-border);
}
.fm-search-input, .zb__fm-search-input {
  display: block; width: 100%; height: 32px;
  border: 1px solid var(--ui-border); background: var(--ui-surface);
  padding: 0 12px 0 32px;
  font-size: 12px; color: var(--ui-text); outline: none;
  font-family: inherit;
  background-image: url("data:image/svg+xml,%3Csvg width='14' height='14' viewBox='0 0 24 24' fill='none' stroke='%239CA3AF' stroke-width='2' xmlns='http://www.w3.org/2000/svg'%3E%3Ccircle cx='11' cy='11' r='8'/%3E%3Cline x1='21' y1='21' x2='16.65' y2='16.65'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: 10px center;
}
.fm-search-input::placeholder, .zb__fm-search-input::placeholder { color: var(--ui-muted); }
.fm-search-input:focus, .zb__fm-search-input:focus {
  border-color: var(--color-primary);
  box-shadow: 0 0 0 3px rgba(10,186,181,0.10);
}

/* FM Tree */
.fm-tree, .zb__fm-tree {
  flex: 1; overflow-y: auto;
  padding: 8px 0;
}

/* Tree node */
.fm-node { user-select: none; }
.fm-node-row {
  display: flex; align-items: center;
  height: 34px; padding: 0 16px;
  cursor: pointer;
  border-left: 3px solid transparent;
}
.fm-node-row:hover {
  background: #F8F9FA;
}
.fm-node-row.selected {
  background: var(--color-primary-light);
  border-left-color: var(--color-primary);
}
.fm-node-indent {
  flex-shrink: 0;
  margin-left: 0;
  padding-left: 0;
}
.fm-node-toggle {
  width: 18px; height: 18px; flex-shrink: 0;
  display: flex; align-items: center; justify-content: center;
  font-size: 9px; color: var(--ui-muted);
  cursor: pointer; margin-right: 2px;
}
.fm-node-toggle:hover { color: var(--ui-text); }
.fm-node-toggle.empty { visibility: hidden; }
.fm-node-icon {
  width: 18px; height: 18px; flex-shrink: 0;
  display: flex; align-items: center; justify-content: center;
  margin-right: 8px; font-size: 14px;
}
.fm-node-icon.folder { color: #F59E0B; }
.fm-node-icon.file { color: var(--ui-muted); font-size: 12px; }
.fm-node-icon.file-detail { color: var(--color-primary); }
.fm-node-icon.file-hero { color: #8B5CF6; }
.fm-node-icon.file-card { color: #EC4899; }
.fm-node-icon.file-origin { color: #10B981; }
.fm-node-icon.file-review { color: #F97316; }
.fm-node-icon.file-science { color: #3B82F6; }

.fm-node-name {
  flex: 1; font-size: 12px; color: var(--ui-text);
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.fm-node-meta {
  font-size: 10px; color: var(--ui-muted);
  margin-left: 8px; flex-shrink: 0;
}
.fm-node-children {
  display: none;
}
.fm-node-children.open {
  display: block;
}

/* FM Stats bar */
.fm-stats, .zb__fm-stats {
  flex-shrink: 0;
  padding: 8px 16px;
  border-top: 1px solid var(--ui-border);
  font-size: 10px; color: var(--ui-muted);
  display: flex; justify-content: space-between;
}

/* FM New-file dropdown */
.fm-dropdown, .zb__fm-dropdown {
  display: none;
  position: absolute; z-index: 200;
  background: var(--ui-white);
  border: 1px solid var(--ui-border);
  box-shadow: 0 4px 16px rgba(0,0,0,0.12);
  min-width: 160px;
  padding: 4px 0;
}
.fm-dropdown.open, .zb__fm-dropdown--open { display: block; }
.fm-dropdown-item, .zb__fm-dropdown-item {
  display: flex; align-items: center; gap: 8px;
  padding: 7px 14px;
  font-size: 12px; color: var(--ui-text);
  cursor: pointer;
}
.fm-dropdown-item:hover, .zb__fm-dropdown-item:hover {
  background: var(--color-primary-light);
  color: var(--color-primary);
}
.fm-dropdown-item .dd-icon, .zb__fm-dropdown-item .dd-icon {
  width: 16px; text-align: center; font-size: 11px;
}

/* Edit view wrapper */
.edit-view { display: none; flex-direction: column; height: 100%; overflow: hidden; }
.edit-view.active { display: flex; }

/* ============================================================
   BOTTOM BAR — v6 style
   ============================================================ */
.bottombar {
  height: 36px; flex-shrink: 0;
  background: var(--ui-white); border-top: 1px solid var(--ui-border);
  display: flex; align-items: center; justify-content: space-between;
  padding: 0 24px;
}
.bottombar-left { font-size: 11px; color: var(--ui-muted); }
.bottombar-right { display: flex; gap: 8px; }
.bb-btn {
  height: 32px; padding: 0 16px;
  font-size: 12px; font-weight: 500; border: 1px solid var(--ui-border);
  background: var(--ui-white); color: var(--ui-sub);
  cursor: pointer; font-family: inherit;
}
.bb-btn:hover { background: #F3F4F6; border-color: #D0D5DD; }
.bb-btn.primary {
  background: var(--color-primary); border-color: var(--color-primary); color: #FFF;
}
.bb-btn.primary:hover { background: var(--color-primary-hover); }

/* ============================================================
   LEFT SIDEBAR — icon nav (narrow) — B区编辑器内的旧版样式
   ============================================================ */
.left-panel {
  width: 72px; min-width: 72px; max-width: 72px;
  background: var(--ui-white);
  display: flex; flex-direction: column;
  align-items: center; overflow: hidden;
  flex-shrink: 0;
  margin-left: 0;
  padding-left: 0;
}
.sidebar-brand {
  width: 100%; padding: 14px 0 12px;
  text-align: center;
  font-size: 9px; font-weight: 700; letter-spacing: 3px;
  color: var(--ui-primary);
  border-bottom: 1px solid var(--ui-border);
  flex-shrink: 0;
  margin-left: 0;
  padding-left: 0;
}
.sidebar-nav {
  flex: 1; width: 100%;
  display: flex; flex-direction: column;
  align-items: center; padding: 8px 0;
  overflow-y: auto;
}
.nav-item {
  width: 100%; height: 52px;
  padding: 0;
  display: flex; flex-direction: column;
  align-items: center; justify-content: center;
  gap: 3px; cursor: pointer; position: relative;
  color: var(--ui-muted);
  border-left: 3px solid transparent;
  margin-bottom: 1px;
}
.nav-item:hover {
  color: var(--ui-sub);
  background: var(--ui-sidebar-hover);
}
.nav-item.active {
  color: var(--ui-primary);
  border-left-color: var(--ui-primary);
  background: var(--ui-primary-tint);
}
.nav-icon { width: 20px; height: 20px; flex-shrink: 0; }
.nav-label { font-size: 9px; letter-spacing: 0.3px; white-space: nowrap; font-weight: 500; }
.nav-item .nav-tip {
  display: none;
  position: absolute; left: 60px; top: 50%;
  background: var(--ui-white); color: var(--ui-text);
  padding: 5px 12px; font-size: 11px;
  white-space: nowrap; z-index: 100;
  box-shadow: var(--shadow-md); pointer-events: none;
  border: 1px solid var(--ui-border);
}
.nav-item:hover .nav-tip { display: block; }
.nav-divider {
  width: 32px; height: 1px;
  background: var(--ui-border);
  margin: 6px 0;
}
.sidebar-bottom {
  flex-shrink: 0; padding: 8px 0 12px;
  width: 100%;
  display: flex; flex-direction: column;
  align-items: center;
  border-top: 1px solid var(--ui-border);
}

/* ============================================================
   CENTER PANEL — 50%, white (旧版布局)
   ============================================================ */
.center-panel {
  width: 50%; display: flex; flex-direction: column;
  background: var(--ui-white);
  overflow: hidden;
  flex-shrink: 0;
  margin-left: 0;
  padding-left: 0;
}
.context-bar {
  height: 44px; flex-shrink: 0;
  display: flex; align-items: center; justify-content: space-between;
  padding: 0 20px; border-bottom: 1px solid var(--ui-border);
}
.context-title { font-size: 14px; font-weight: 600; color: var(--ui-text); }
.context-actions { display: flex; gap: 6px; }
.ctx-btn {
  height: 32px; padding: 0 14px;
  font-size: 12px; font-weight: 500; color: var(--ui-sub);
  border: 1px solid var(--ui-border); background: var(--ui-white);
  cursor: pointer; font-family: inherit;
}
.ctx-btn:hover { background: var(--ui-surface); }

/* Module grid — v6 dark card style */
.module-section {
  flex-shrink: 0; border-bottom: 1px solid var(--ui-border);
  background: var(--ui-white);
}
.module-section-header {
  display: flex; align-items: center; justify-content: space-between;
  padding: 14px 16px 10px;
}
.module-section-label {
  font-size: 10px; color: var(--ui-muted); letter-spacing: 1.5px;
  text-transform: uppercase; font-weight: 600;
}
.module-section-hint { font-size: 10px; color: var(--ui-gold); }
.module-list {
  padding: 0 12px 14px;
  max-height: 480px; overflow-y: auto;
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 6px;
}

/* ============================================================
   MODULE PANEL — module grid cards (between icon-sidebar and editor)
   ============================================================ */
.module-panel {
  width: 340px; min-width: 280px;
  background: #FFFFFF;
  border-left: 1px solid var(--ui-border);
  display: flex; flex-direction: column;
  overflow: hidden;
  flex-shrink: 0;
  margin-left: 0;
  padding-left: 0;
}
.content-type-bar {
  display: flex; align-items: center; gap: 2px;
  padding: 8px 10px;
  border-bottom: 1px solid var(--ui-border);
  flex-wrap: wrap;
  flex-shrink: 0;
  margin-left: 0;
  padding-left: 0;
}
.ct-tab {
  display: flex; align-items: center; gap: 4px;
  padding: 4px 8px;
  font-size: 10px; color: var(--ui-sub);
  cursor: pointer; border: 1px solid transparent;
  white-space: nowrap;
}
.ct-tab:hover { color: var(--ui-text); background: var(--ui-bg); }
.ct-tab.active {
  color: var(--color-primary);
  background: rgba(10,186,181,0.12);
  border-color: rgba(10,186,181,0.2);
}
.ct-tab svg { flex-shrink: 0; }
.ct-sep { width: 1px; height: 16px; background: var(--ui-border); margin: 0 3px; flex-shrink: 0; }
.module-panel .module-section-label { color: var(--ui-sub); }
.module-panel .module-section-hint { color: var(--ui-muted); }
