/* menubar.css —— 菜单栏 y23..41（19px，bg #cfcfe6）
 * 实测（a-main-idle.png）：
 *   开始按钮米色底 x21..62, y23..41（beige 实测 (255,231,191)，geometry menu_bg #ffe9c1 为下拉菜单底）
 *   菜单文字墨迹（dark 阈值 sum<200）左边界：
 *     开始 23 / 文件 65 / 编辑 107 / 视图 149 / 插入 192 / 工具 233 / 分析 275 / 窗口 318 / 帮助 359
 *   文字行 y27..38（12px 字号，行高 19px），字色 #000。
 *   打开菜单时父项高亮：b-02-file.png 实测 文件项 = 纯蓝 #0078d7 (0,120,215) + 白字（x63..107）。
 */
#menubar {
  font-family: var(--font-ui);
}

.start-button {
  position: absolute;
  left: 21px;
  top: 0;
  width: 42px;
  height: 19px;
  padding: 0 0 0 2px;
  border: 0;
  background: #ffe7bf;
  text-align: left;
  cursor: default;
  z-index: 2;
}

.start-text {
  display: block;
  height: 19px;
  line-height: 19px;
  font-family: var(--font-ui);
  font-size: 12px;
  color: #000;
  white-space: pre;
}

#menu-items {
  position: absolute;
  left: 0;
  top: 0;
  width: 1920px;
  height: 19px;
}

.menu-btn {
  position: absolute;
  top: 0;
  height: 19px;
  margin: 0;
  padding: 0;
  border: 0;
  background: transparent;
  font-family: var(--font-ui);
  font-size: 12px;
  color: #000;
  line-height: 19px;
  white-space: pre;
  cursor: default;
  z-index: 3;
}

/* 悬停/展开态：CATIA V5 菜单栏项为纯蓝 #0078d7 + 白字（b-02-file.png 实测） */
.menu-btn.is-open,
.menu-btn:hover {
  background: #0078d7;
  color: #fff;
}

.start-button.is-open {
  background: #ffe9c1;
  box-shadow: inset 0 0 0 1px #c8b98d;
}
