/* ============================================================
 * remark-patch.css —— 备注（v25：加粗 + 明显，点击由 gs-remark.js 弹真输入框）
 * ============================================================ */

/* 状态标签那一行允许换行，备注永远不被裁掉 */
.devrow .nm .sub {
  flex-wrap: wrap;
  overflow: visible;
  white-space: normal;
  row-gap: 5px;
}

/* ---------- 1) 设备列表行 ---------- */
.devrow .sub .gs-note {
  order: 9;
  flex: 0 0 auto;
  box-sizing: border-box;
  min-width: 140px;
  max-width: 300px;
  height: 26px;
  line-height: 24px;
  font-size: 13.5px;
  font-weight: 700;              /* 加粗 */
  letter-spacing: .2px;
  color: var(--ink, #e9eef4);
  padding: 0 13px;
  margin-left: 7px;
  border: 1px solid var(--line-2, #3a434f);
  border-radius: 999px;
  background: rgba(255, 255, 255, .07);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  cursor: text;
  transition: border-color .14s ease, background .14s ease, box-shadow .14s ease;
}
.devrow .sub .gs-note:hover {
  border-color: var(--accent, #ff5a2b);
  background: rgba(255, 255, 255, .11);
  box-shadow: 0 0 0 3px #ff5a2b1f;
}
/* 空备注：常显「＋ 添加备注」，不加粗、灰一点，以免抢设备名 */
.devrow .sub .gs-note:empty {
  font-weight: 400;
  color: var(--ink-3, #a4aeb9);
  background: rgba(255, 255, 255, .03);
  border-style: dashed;
}
.devrow .sub .gs-note:empty::before {
  content: "＋ 添加备注";
  font-size: 12.5px;
  font-weight: 400;
  opacity: .95;
  pointer-events: none;
}

/* ---------- 2) 控制台 → 设备档案 ---------- */
.gs-note-lg {
  display: inline-block;
  box-sizing: border-box;
  min-width: 280px;
  max-width: 400px;
  min-height: 34px;
  padding: 6px 13px;
  font-size: 14px;
  font-weight: 700;              /* 加粗 */
  line-height: 1.5;
  color: var(--ink, #e9eef4);
  border: 1px solid var(--line-2, #3a434f);
  border-radius: 10px;
  background: rgba(255, 255, 255, .07);
  white-space: pre-wrap;
  word-break: break-word;
  cursor: text;
  transition: border-color .14s ease, background .14s ease, box-shadow .14s ease;
}
.gs-note-lg:hover {
  border-color: var(--accent, #ff5a2b);
  background: rgba(255, 255, 255, .11);
  box-shadow: 0 0 0 3px #ff5a2b1f;
}
.gs-note-lg:empty {
  font-weight: 400;
  color: var(--ink-3, #a4aeb9);
  border-style: dashed;
}
.gs-note-lg:empty::before {
  content: "＋ 添加备注";
  font-weight: 400;
  opacity: .95;
  pointer-events: none;
}
