/* 一件事情的单子（thing-menu.js）：右键，或一行上那颗「⋯」。原来是看板的 .pb-menu（10-21），10-31 跟着事情去了
   主页的人卡和项目页的进展。11-02 业主：「菜单改成亮色主题，统一」——跟主页卡上那几行一个样子：白纸、一圈墨线、
   底下一道影子，字是墨色，删除是红字；不随系统深浅变，在项目页上也是这一张。颜色写死，跟主页那几行同一套
   （workplace-scene.css 的 --wp-ink #151515、白纸）：单子挂在 body 上，读不到主页那几个变量。 */

/* 带单子的那一行（data-thing）在手机上按住出这张单子（thing-menu.js，2026-11-03）：iPhone 自己那张「打开链接」
   预览单和按住选字都关掉，不然它跟这张一起出来。 */
[data-thing] {
  -webkit-touch-callout: none;
  -webkit-user-select: none;
  user-select: none;
}

.thing-menu {
  position: fixed;
  z-index: 90;
  display: flex;
  flex-direction: column;
  min-width: 8.5rem;
  padding: 6px;
  border-radius: 12px;
  background: #fff;
  box-shadow:
    inset 0 0 0 1.5px #151515,
    0 3px 0 rgba(0, 0, 0, 0.35);
}

.thing-menu-item {
  box-sizing: border-box;
  height: var(--control-md);
  margin-top: 2px;
  padding: 0 var(--space-3);
  border: 0;
  border-radius: 8px;
  background: none;
  color: #151515;
  font: inherit;
  font-size: var(--text-sm);
  font-weight: var(--weight-semi);
  text-align: left;
  white-space: nowrap;
  cursor: pointer;
}

.thing-menu-item:first-child {
  margin-top: 0;
}

.thing-menu-item:hover,
.thing-menu-item:focus {
  background: #f0f0f0;
  color: #151515;
  outline: none;
}

.thing-menu-item.is-danger {
  color: var(--red-mark);
}

.thing-menu-item.is-danger:hover,
.thing-menu-item.is-danger:focus {
  background: rgba(255, 69, 58, 0.1);
  color: var(--red-mark);
}

.thing-menu-line {
  height: 1.5px;
  margin: var(--space-1) var(--space-2);
  background: rgba(21, 21, 21, 0.12);
}
