
/* ============================================================
   轩辕财务系统 v3.0 — 全局主题样式补丁
   修复：前台菜单点击 + 响应式显示
   ============================================================ */

/* ---------- 响应式显示类（补丁）---------- */
@media (min-width: 768px) {
  .mobile-only { display: none !important; }
  .desktop-only { display: block !important; }
  .drawer-desktop { display: flex !important; }
}

@media (max-width: 767px) {
  .desktop-only { display: none !important; }
  .mobile-only { display: block !important; }
  .drawer-mobile { display: flex !important; }
}

/* ---------- 前台菜单点击修复 ---------- */
.drawer-item {
  pointer-events: auto !important;
  cursor: pointer !important;
  position: relative;
  z-index: 1;
}

.drawer-menu {
  pointer-events: auto !important;
}

.drawer {
  pointer-events: auto !important;
}

/* 防止任何覆盖层拦截点击 */
.drawer-desktop {
  pointer-events: auto !important;
}

/* 确保菜单项可点击 */
.drawer-item span,
.drawer-item .drawer-text {
  pointer-events: none !important; /* 让点击穿透到li元素 */
  user-select: none;
}
