/* taskbar.css —— Windows 11 任务栏 y1032..1079（48px，golden 内必须复刻，不掩膜）
 * 实测（a-main-idle.png）：
 *   y1032 顶部 1px 线 ≈ #bfc1c2；y1033 #f4f6f7；y1034..1036 #eef0f1..#f0f2f1；y1037.. #f1f1f3
 *   （任务栏是半透明亚克力，左右有 ±7 的色偏；单色 #f1f1f3 与实测最大通道差 < 24，落在容差内）
 *   钉钉项悬停底：粉色圆角块 页面 x133..204, y1036..1075（实测 (231,175,167)），底部红线 x?；标签「钉钉」x165..196
 *   微信项：图标 x64..90（含 y1072..1074 的运行指示点），标签「微信」墨迹 x98..120, y1051..1062
 *   CATIA 任务按钮：白色圆角块 页面 x737..900, y1038..1074；「CATIA V5 - [Product1]」墨迹 x778..890, y1052..1062；
 *     底部蓝色运行指示条 x749..764, y1072..1074（实测 (0,119,209)）
 *   时钟「14:46」墨迹 x1874..1899, y1043..1051；日期「2026/11/24」墨迹 y1056..1068
 *   右侧系统区图标：^ x1642..1651 / info x1671..1686 / 中 x1705..1717 / S x1741..1756 /
 *     显示器 x1779..1794 / 扬声器 x1809..1822（逐像素 PNG 由 asset-builder 提供）
 * PENDING MEASUREMENT：任务栏图标逐像素 rect 以 docs/reference/taskbar-ref-assets.json 为准。
 */
#taskbar {
  top: 1032px;
  width: 1920px;
  height: 48px;
  background: linear-gradient(180deg,
    #bfc1c2 0px, #bfc1c2 1px,
    #f4f6f7 1px, #f4f6f7 2px,
    #eef0f2 2px, #eef0f2 3px,
    #edefef 3px, #edefef 4px,
    #f0f2f1 4px, #f0f2f1 5px,
    #f1f1f3 5px, #f1f1f3 48px);
  z-index: 10;
}

#taskbar-items {
  position: absolute;
  left: 0;
  top: 0;
  width: 960px;
  height: 48px;
}

.task-item {
  position: absolute;
  top: 0;
  height: 48px;
}

/* 微信任务项（图标由资产层画；这里只放标签） */
.task-item-wechat { left: 64px; width: 60px; }
.task-item-wechat .task-label { position: absolute; left: 33px; top: 19px; }

/* 钉钉任务项：悬停粉色块 + 标签 */
.task-item-dingtalk {
  left: 133px;
  top: 4px;
  width: 72px;
  height: 40px;
  background: #e7afa7;
  border-radius: 6px;
}
.task-item-dingtalk .task-label { position: absolute; left: 39px; top: 14px; }
.task-item-dingtalk::after {
  content: "";
  position: absolute;
  left: 4px;
  top: 36px;
  width: 32px;
  height: 3px;
  background: #cb3320;
  border-radius: 2px;
}

/* CATIA 任务按钮（当前活动窗口） */
.task-item-catia {
  left: 737px;
  top: 6px;
  width: 164px;
  height: 38px;
  background: #f9f9f9;
  border: 1px solid #e6e6e6;
  border-radius: 5px;
  box-sizing: border-box;
}
.task-item-catia .task-label {
  position: absolute;
  left: 39px;
  top: 13px;
  font-family: var(--font-win);
  font-size: 12px;
  line-height: 12px;
  color: #1a1a1a;
  white-space: pre;
}
.task-item-catia::after {
  content: "";
  position: absolute;
  left: 12px;
  top: 33px;
  width: 16px;
  height: 3px;
  background: #0077d2;
  border-radius: 2px;
}

.task-label {
  font-family: var(--font-ui);
  font-size: 12px;
  line-height: 12px;
  color: #000;
  white-space: pre;
}

#taskbar-clock {
  position: absolute;
  left: 1841px;
  top: 0;
  width: 70px;
  height: 48px;
  font-family: var(--font-win);
  color: #1a1a1a;
  text-align: right;
}

.clock-time {
  position: absolute;
  left: 31px;
  top: 9px;
  font-family: var(--font-win);
  font-size: 12px;
  line-height: 12px;
}

.clock-date {
  position: absolute;
  left: -1px;
  top: 25px;
  font-family: var(--font-win);
  font-size: 12px;
  line-height: 12px;
  white-space: pre;
}