/* ====================================================================
 * workbench-shell.css — 学校工作台统一壳子系统
 * 设计源头：course-market.css（UI 风格参考）
 * 目标：统一所有学校端工作台页面（课程市场/机构/运营/创编/仪表盘）
 * 波次：W1 基座（顶栏+侧栏+内容区+卡片+组件库）
 * ====================================================================
 * 使用方式：各页面模板在 <style> 块中引入本文件，然后只需声明页面特有样式
 * 复用：此文件提供 .wb-* 命名空间的全部壳子与通用组件
 * 契约：course-market.css 的 .cop-* 页面特有样式继续在 course-market.css 中
 * ==================================================================== */

/* ═══════════════════════════════════════════════════════════════════
   1. 统一设计令牌
   ═══════════════════════════════════════════════════════════════════ */
:root {
  /* 背景层 */
  --wb-bg: #f7f7f5;
  --wb-surface: #ffffff;
  --wb-sidebar-bg: #f4f3f0;
  --wb-muted: #f2f2ef;

  /* 文字 */
  --wb-text: #1f1f1d;
  --wb-text-secondary: #3f3d39;
  --wb-text-muted: #6f6d68;
  --wb-text-sub: #8c8a83;
  --wb-text-placeholder: #b0aea7;

  /* 边框 */
  --wb-border: #e6e4df;
  --wb-border-light: #f0ede8;
  --wb-border-strong: #d8d5ce;

  /* 品牌/主色（课程市场的青色 + 统一紫） */
  --wb-primary: #5f55d6;
  --wb-primary-hover: #4a42c4;
  --wb-primary-light: #eceaff;
  --wb-primary-ghost: rgba(95, 85, 214, 0.08);

  /* 辅助色 */
  --wb-accent: #0F7B6C;
  --wb-accent-light: #e0f2ee;
  --wb-accent-ghost: rgba(15, 123, 108, 0.08);

  /* 状态色 */
  --wb-success: #16a34a;
  --wb-success-light: #dcfce7;
  --wb-warning: #b7791f;
  --wb-warning-light: #fef3c7;
  --wb-danger: #dc2626;
  --wb-danger-light: #fee2e2;
  --wb-info: #3b82f6;
  --wb-info-light: #dbeafe;

  /* 尺寸 */
  --wb-topbar-h: 48px;
  --wb-sidebar-w: 260px;
  --wb-sidebar-collapsed: 56px;

  /* 圆角 */
  --wb-radius-sm: 8px;
  --wb-radius-md: 12px;
  --wb-radius-lg: 16px;
  --wb-radius-full: 999px;

  /* 阴影 */
  --wb-shadow-sm: 0 1px 3px rgba(31, 31, 29, 0.06);
  --wb-shadow-md: 0 4px 16px rgba(31, 31, 29, 0.08);
  --wb-shadow-lg: 0 12px 32px rgba(31, 31, 29, 0.12);
  --wb-shadow-sidebar: 0 10px 24px rgba(31, 31, 29, 0.06);

  /* 过渡 */
  --wb-transition-fast: 0.15s ease;
  --wb-transition-normal: 0.2s cubic-bezier(0.4, 0, 0.2, 1);
}

/* ═══════════════════════════════════════════════════════════════════
   2. 全局重置
   ═══════════════════════════════════════════════════════════════════ */
.wb-body {
  margin: 0;
  background: var(--wb-bg);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Microsoft YaHei", sans-serif;
  color: var(--wb-text);
  -webkit-font-smoothing: antialiased;
}
.wb-body *,
.wb-body *::before,
.wb-body *::after {
  box-sizing: border-box;
}

/* ═══════════════════════════════════════════════════════════════════
   3. 工作台顶栏（cm-topbar 扩展 · 通用版）
   ═══════════════════════════════════════════════════════════════════ */
.wb-topbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: var(--wb-topbar-h);
  background: var(--wb-surface);
  border-bottom: 1px solid var(--wb-border);
  box-shadow: 0 1px 4px rgba(31, 31, 29, 0.06);
  display: flex;
  align-items: center;
  padding: 0 20px;
  z-index: 100;
  gap: 0;
}

.wb-topbar-brand {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-shrink: 0;
}

.wb-topbar-logo {
  width: 24px;
  height: 24px;
  flex-shrink: 0;
}

.wb-topbar-title {
  font-size: 15px;
  font-weight: 700;
  color: var(--wb-text);
  letter-spacing: -0.01em;
}

.wb-topbar-breadcrumb {
  flex: 1;
  display: flex;
  align-items: center;
  gap: 2px;
  padding: 0 20px;
  min-width: 0;
  color: var(--wb-text-muted);
  font-size: 13px;
}

.wb-bc-item {
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.wb-bc-active {
  color: var(--wb-text);
  font-weight: 600;
}

.wb-bc-sep {
  display: flex;
  align-items: center;
  color: var(--wb-border);
  flex-shrink: 0;
}

.wb-topbar-user {
  flex-shrink: 0;
  margin-left: auto;
}

.wb-user-chip {
  display: flex;
  align-items: center;
  gap: 7px;
  padding: 4px 10px 4px 5px;
  border-radius: var(--wb-radius-full);
  background: transparent;
  transition: background var(--wb-transition-fast);
  cursor: default;
}

.wb-user-chip:hover {
  background: var(--wb-accent-light);
}

.wb-user-avatar {
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--wb-accent) 0%, #1a9b8a 100%);
  color: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 13px;
  font-weight: 700;
  flex-shrink: 0;
  user-select: none;
}

.wb-user-name {
  font-size: 13px;
  font-weight: 600;
  color: var(--wb-text);
  max-width: 120px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.wb-user-role {
  font-size: 11px;
  font-weight: 700;
  color: var(--wb-accent);
  background: var(--wb-accent-light);
  padding: 2px 7px;
  border-radius: var(--wb-radius-full);
  white-space: nowrap;
  letter-spacing: 0.02em;
}

.wb-user-logout {
  width: 26px;
  height: 26px;
  border: 0;
  border-radius: 50%;
  background: transparent;
  color: var(--wb-text-muted);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background var(--wb-transition-fast), color var(--wb-transition-fast);
  padding: 0;
  flex-shrink: 0;
}

.wb-user-logout:hover {
  background: var(--wb-danger-light);
  color: var(--wb-danger);
}

/* ═══════════════════════════════════════════════════════════════════
   4. 壳子：侧栏 + 内容区 Grid 布局
   ═══════════════════════════════════════════════════════════════════ */
.wb-shell {
  position: fixed;
  top: var(--wb-topbar-h);
  left: 0;
  right: 0;
  bottom: 0;
  display: grid;
  grid-template-columns: var(--wb-sidebar-w) minmax(0, 1fr);
  background: var(--wb-bg);
  color: var(--wb-text);
  overflow: hidden;
}

/* 带全局 nav（_partial_nav.html）时，顶栏偏移 64px */
.wb-shell.has-global-nav {
  top: calc(var(--wb-topbar-h) + 64px);
}

/* 无顶栏的壳子（仅全局 nav + 侧栏布局） */
.wb-shell.no-topbar {
  top: 64px;
}

/* 无侧栏的壳子（全宽内容区） */
.wb-shell.no-sidebar {
  grid-template-columns: 1fr;
}

/* ═══════════════════════════════════════════════════════════════════
   5. 侧栏
   ═══════════════════════════════════════════════════════════════════ */
.wb-sidebar {
  height: 100%;
  padding: 18px 14px 22px;
  border-right: 1px solid var(--wb-border);
  background: var(--wb-sidebar-bg);
  overflow-y: auto;
  display: flex;
  flex-direction: column;
  gap: 0;
}

.wb-sidebar-brand {
  padding: 10px 10px 14px;
  border-bottom: 1px solid var(--wb-border);
  margin-bottom: 6px;
}

.wb-sidebar-brand h1 {
  margin: 0;
  font-size: 20px;
  line-height: 1.25;
  color: var(--wb-text);
}

.wb-sidebar-brand p {
  margin: 8px 0 0;
  color: var(--wb-text-muted);
  font-size: 13px;
  line-height: 1.55;
}

/* 侧栏品牌带图标 */
.wb-sidebar-brand-icon {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 16px;
  font-weight: 700;
  color: var(--wb-text);
}

.wb-sidebar-brand-icon svg {
  flex-shrink: 0;
}

/* 侧栏导航组 */
.wb-nav-group {
  margin: 14px 0 8px;
  padding: 0 10px;
  color: var(--wb-text-muted);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  user-select: none;
}

.wb-nav-group:first-child {
  margin-top: 6px;
}

/* 侧栏导航按钮 */
.wb-nav-btn {
  width: 100%;
  border: 0;
  border-radius: var(--wb-radius-md);
  background: transparent;
  color: var(--wb-text-secondary);
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 12px;
  text-align: left;
  font-size: 14px;
  font-weight: 500;
  transition: background var(--wb-transition-fast), color var(--wb-transition-fast), box-shadow var(--wb-transition-fast);
  text-decoration: none;
  line-height: 1.4;
}

.wb-nav-btn:hover {
  background: var(--wb-surface);
  color: var(--wb-text);
  box-shadow: var(--wb-shadow-sidebar);
}

.wb-nav-btn.active {
  background: var(--wb-surface);
  color: var(--wb-primary);
  font-weight: 700;
  box-shadow: var(--wb-shadow-sidebar);
  border-left: 3px solid var(--wb-primary);
}

/* 侧栏导航图标牌 */
.wb-nav-token {
  width: 28px;
  height: 28px;
  border-radius: 9px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--wb-muted);
  color: var(--wb-primary);
  font-weight: 800;
  font-size: 13px;
  flex-shrink: 0;
}

.wb-nav-token.accent {
  background: var(--wb-accent-light);
  color: var(--wb-accent);
}

/* 侧栏导航徽章 */
.wb-nav-badge {
  margin-left: auto;
  border-radius: var(--wb-radius-full);
  background: var(--wb-primary-light);
  color: var(--wb-primary);
  font-size: 11px;
  font-weight: 700;
  padding: 2px 8px;
  min-width: 20px;
  text-align: center;
}

.wb-nav-badge.warning {
  background: var(--wb-warning-light);
  color: var(--wb-warning);
}

.wb-nav-badge.danger {
  background: var(--wb-danger-light);
  color: var(--wb-danger);
}

/* 侧栏底部 */
.wb-sidebar-footer {
  margin-top: auto;
  padding: 12px 10px 0;
  border-top: 1px solid var(--wb-border);
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.wb-sidebar-footer-status {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  color: var(--wb-text-muted);
}

.wb-status-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--wb-text-sub);
  flex-shrink: 0;
}

.wb-status-dot.running {
  background: var(--wb-success);
  box-shadow: 0 0 6px rgba(22, 163, 74, 0.4);
}

.wb-status-dot.warning {
  background: var(--wb-warning);
  box-shadow: 0 0 6px rgba(183, 121, 31, 0.4);
}

.wb-status-dot.error {
  background: var(--wb-danger);
  box-shadow: 0 0 6px rgba(220, 38, 38, 0.4);
}

/* ═══════════════════════════════════════════════════════════════════
   6. 内容区
   ═══════════════════════════════════════════════════════════════════ */
.wb-content {
  overflow-y: auto;
  overflow-x: hidden;
  background: var(--wb-bg);
}

.wb-content-inner {
  max-width: 1440px;
  margin: 0 auto;
}

/* ═══════════════════════════════════════════════════════════════════
   7. 页面头部
   ═══════════════════════════════════════════════════════════════════ */
.wb-page-header {
  padding: 24px 24px 16px;
  background: var(--wb-surface);
  border-bottom: 1px solid var(--wb-border);
}

.wb-page-header h2 {
  margin: 0;
  font-size: 22px;
  font-weight: 800;
  color: var(--wb-text);
  line-height: 1.3;
}

.wb-page-header p {
  margin: 4px 0 0;
  font-size: 13px;
  color: var(--wb-text-muted);
  line-height: 1.5;
}

.wb-page-header-actions {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: 10px;
}

/* 带 Hero 的页面头（渐变背景，如课程市场） */
.wb-page-hero {
  padding: 32px 24px 24px;
  background: linear-gradient(135deg, #f0f9f7 0%, var(--wb-accent-light) 60%, var(--wb-bg) 100%);
  border-bottom: 1px solid #c8e8e4;
  text-align: center;
}

.wb-page-hero h2 {
  margin: 0 0 8px;
  font-size: 28px;
  color: var(--wb-text);
  font-weight: 800;
}

.wb-page-hero p {
  margin: 0 auto 20px;
  color: var(--wb-text-muted);
  font-size: 14px;
  max-width: 640px;
}

/* ═══════════════════════════════════════════════════════════════════
   8. 统计卡片
   ═══════════════════════════════════════════════════════════════════ */
.wb-stat-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 14px;
  padding: 20px 24px;
}

.wb-stat-card {
  background: var(--wb-surface);
  border: 1px solid var(--wb-border);
  border-radius: var(--wb-radius-lg);
  padding: 20px;
  transition: box-shadow var(--wb-transition-normal), transform var(--wb-transition-normal);
  cursor: default;
}

.wb-stat-card:hover {
  box-shadow: var(--wb-shadow-md);
  transform: translateY(-1px);
}

.wb-stat-card.clickable {
  cursor: pointer;
}

.wb-stat-label {
  font-size: 12px;
  color: var(--wb-text-muted);
  margin-bottom: 8px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.03em;
}

.wb-stat-value {
  font-size: 32px;
  font-weight: 800;
  color: var(--wb-text);
  line-height: 1.1;
}

.wb-stat-change {
  font-size: 12px;
  color: var(--wb-success);
  margin-top: 6px;
  font-weight: 600;
}

.wb-stat-change.negative {
  color: var(--wb-danger);
}

.wb-stat-change.neutral {
  color: var(--wb-text-muted);
}

/* ═══════════════════════════════════════════════════════════════════
   9. 通用卡片
   ═══════════════════════════════════════════════════════════════════ */
.wb-card {
  background: var(--wb-surface);
  border: 1px solid var(--wb-border);
  border-radius: var(--wb-radius-lg);
  padding: 20px;
  transition: box-shadow var(--wb-transition-normal);
}

.wb-card:hover {
  box-shadow: var(--wb-shadow-md);
}

.wb-card-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 16px;
}

.wb-card-header h3 {
  margin: 0;
  font-size: 15px;
  font-weight: 700;
  color: var(--wb-text);
}

.wb-card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 14px;
  padding: 20px 24px;
}

/* ═══════════════════════════════════════════════════════════════════
   10. Chip 组件（标签/筛选/状态）
   ═══════════════════════════════════════════════════════════════════ */
.wb-chip {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: 12px;
  font-weight: 600;
  padding: 4px 12px;
  border-radius: var(--wb-radius-full);
  border: 1.5px solid var(--wb-border);
  background: var(--wb-surface);
  color: var(--wb-text-muted);
  cursor: pointer;
  transition: all var(--wb-transition-fast);
  white-space: nowrap;
  text-decoration: none;
}

.wb-chip:hover {
  background: var(--wb-primary-light);
  color: var(--wb-primary);
  border-color: var(--wb-primary);
}

.wb-chip.active {
  background: var(--wb-primary);
  color: #fff;
  border-color: var(--wb-primary);
}

.wb-chip.accent {
  border-color: var(--wb-accent);
  color: var(--wb-accent);
}

.wb-chip.accent.active {
  background: var(--wb-accent);
  color: #fff;
}

.wb-chip.success {
  border-color: var(--wb-success);
  color: var(--wb-success);
  background: var(--wb-success-light);
}

.wb-chip.warning {
  border-color: var(--wb-warning);
  color: var(--wb-warning);
  background: var(--wb-warning-light);
}

.wb-chip.danger {
  border-color: var(--wb-danger);
  color: var(--wb-danger);
  background: var(--wb-danger-light);
}

/* ═══════════════════════════════════════════════════════════════════
   11. 按钮
   ═══════════════════════════════════════════════════════════════════ */
.wb-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  font-size: 13px;
  font-weight: 700;
  padding: 8px 18px;
  border-radius: var(--wb-radius-full);
  border: 2px solid var(--wb-primary);
  background: var(--wb-surface);
  color: var(--wb-primary);
  cursor: pointer;
  transition: all var(--wb-transition-fast);
  text-decoration: none;
  white-space: nowrap;
  line-height: 1.4;
}

.wb-btn:hover {
  background: var(--wb-primary);
  color: #fff;
}

.wb-btn.primary {
  background: var(--wb-primary);
  color: #fff;
}

.wb-btn.primary:hover {
  background: var(--wb-primary-hover);
}

.wb-btn.secondary {
  background: var(--wb-muted);
  color: var(--wb-text-secondary);
  border-color: var(--wb-border);
}

.wb-btn.secondary:hover {
  background: var(--wb-border);
  color: var(--wb-text);
}

.wb-btn.accent {
  border-color: var(--wb-accent);
  color: var(--wb-accent);
}

.wb-btn.accent:hover {
  background: var(--wb-accent);
  color: #fff;
}

.wb-btn.danger {
  border-color: var(--wb-danger);
  color: var(--wb-danger);
}

.wb-btn.danger:hover {
  background: var(--wb-danger);
  color: #fff;
}

.wb-btn-sm {
  font-size: 11px;
  padding: 5px 12px;
}

.wb-btn-lg {
  font-size: 15px;
  padding: 10px 24px;
}

.wb-btn-icon {
  width: 36px;
  height: 36px;
  padding: 0;
  border-radius: var(--wb-radius-md);
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

/* ═══════════════════════════════════════════════════════════════════
   12. 空态
   ═══════════════════════════════════════════════════════════════════ */
.wb-empty {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 60px 24px;
  text-align: center;
  min-height: 300px;
}

.wb-empty-icon {
  font-size: 48px;
  margin-bottom: 16px;
  opacity: 0.35;
  line-height: 1;
}

.wb-empty h3 {
  margin: 0 0 8px;
  font-size: 18px;
  font-weight: 700;
  color: var(--wb-text);
}

.wb-empty p {
  margin: 0 0 24px;
  font-size: 14px;
  color: var(--wb-text-muted);
  max-width: 420px;
  line-height: 1.6;
}

/* ═══════════════════════════════════════════════════════════════════
   13. 骨架屏
   ═══════════════════════════════════════════════════════════════════ */
.wb-skeleton {
  background: var(--wb-border);
  border-radius: var(--wb-radius-sm);
  animation: wb-skeleton-pulse 1.5s ease-in-out infinite;
}

@keyframes wb-skeleton-pulse {
  0%   { background-color: #e8e6e1; }
  50%  { background-color: #f0eeea; }
  100% { background-color: #e8e6e1; }
}

.wb-skeleton-line {
  height: 14px;
  border-radius: 4px;
}

.wb-skeleton-line.w30  { width: 30%; }
.wb-skeleton-line.w50  { width: 50%; }
.wb-skeleton-line.w70  { width: 70%; }
.wb-skeleton-line.w100 { width: 100%; }

.wb-skeleton-card {
  border-radius: var(--wb-radius-lg);
  background: var(--wb-surface);
  border: 1px solid var(--wb-border);
  padding: 20px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.wb-skeleton-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 14px;
  padding: 20px 24px;
}

/* ═══════════════════════════════════════════════════════════════════
   14. Toolbar（过滤器/排序栏）
   ═══════════════════════════════════════════════════════════════════ */
.wb-toolbar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  padding: 12px 24px;
  background: var(--wb-surface);
  border-bottom: 1px solid var(--wb-border);
  position: sticky;
  top: 0;
  z-index: 10;
}

.wb-toolbar-filters {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px;
  flex: 1;
}

.wb-toolbar-label {
  font-size: 12px;
  color: var(--wb-text-sub);
  margin-right: 2px;
  font-weight: 600;
}

.wb-toolbar-right {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-shrink: 0;
}

/* ═══════════════════════════════════════════════════════════════════
   15. Tab 组件
   ═══════════════════════════════════════════════════════════════════ */
.wb-tabs {
  display: flex;
  gap: 4px;
  padding: 12px 24px 0;
  flex-wrap: wrap;
  border-bottom: 1px solid var(--wb-border);
}

.wb-tab {
  padding: 8px 18px;
  border-radius: var(--wb-radius-full);
  border: 1.5px solid var(--wb-border);
  background: var(--wb-surface);
  color: var(--wb-text-secondary);
  font-size: 13px;
  font-weight: 700;
  cursor: pointer;
  transition: all var(--wb-transition-fast);
}

.wb-tab:hover {
  background: var(--wb-muted);
}

.wb-tab.active {
  background: var(--wb-primary);
  color: #fff;
  border-color: var(--wb-primary);
}

.wb-tab-count {
  font-size: 11px;
  opacity: 0.7;
  margin-left: 4px;
}

/* ═══════════════════════════════════════════════════════════════════
   16. 页面内容区通用 Spacing
   ═══════════════════════════════════════════════════════════════════ */
.wb-section {
  padding: 24px;
}

.wb-section-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 16px;
}

.wb-section-header h3 {
  margin: 0;
  font-size: 16px;
  font-weight: 700;
  color: var(--wb-text);
}

.wb-section-header p {
  margin: 2px 0 0;
  font-size: 12px;
  color: var(--wb-text-muted);
}

/* ═══════════════════════════════════════════════════════════════════
   17. 响应式（移动端 < 768px）
   ═══════════════════════════════════════════════════════════════════ */
@media (max-width: 768px) {
  .wb-topbar {
    padding: 0 12px;
  }
  .wb-topbar-breadcrumb {
    display: none;
  }
  .wb-shell {
    grid-template-columns: 1fr;
  }
  .wb-sidebar {
    position: relative;
    height: auto;
    border-right: 0;
    border-bottom: 1px solid var(--wb-border);
    flex-direction: row;
    overflow-x: auto;
    padding: 10px;
    gap: 6px;
  }
  .wb-sidebar-brand,
  .wb-sidebar-footer {
    display: none;
  }
  .wb-nav-group {
    display: none;
  }
  .wb-nav-btn {
    width: auto;
    flex-shrink: 0;
    padding: 8px 14px;
  }
  .wb-page-header {
    padding: 16px;
  }
  .wb-page-header h2 {
    font-size: 18px;
  }
  .wb-stat-grid {
    grid-template-columns: repeat(2, 1fr);
    padding: 12px 16px;
    gap: 10px;
  }
  .wb-stat-value {
    font-size: 24px;
  }
  .wb-card-grid {
    grid-template-columns: 1fr;
    padding: 12px 16px;
  }
  .wb-page-hero {
    padding: 20px 12px 16px;
  }
  .wb-page-hero h2 {
    font-size: 22px;
  }
  .wb-toolbar {
    flex-direction: column;
    align-items: flex-start;
    padding: 10px 16px;
  }
  .wb-toolbar-filters {
    overflow-x: auto;
    width: 100%;
    flex-wrap: nowrap;
  }
  .wb-section {
    padding: 16px;
  }
}
