/* 与 Healthcare RTLS Aggregation Page/src/index.css 对齐的设计令牌 */

@import url("https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700;800;900&display=swap");
@import url("https://fonts.googleapis.com/css2?family=DM+Mono:wght@400;500&display=swap");

/*
 * 令牌写在作用域内，避免与站点 / 主题 :root 的 --primary 等冲突。
 * 同时保留 :root 别名，供 Tailwind @theme 的 var(--*) 解析回退。
 */
.bh-healthcare-rtls-tracking-system,
:root {
  color-scheme: light;

  --navy: #0b1f3a;
  --navy-800: #132d52;
  --navy-700: #1a3a6b;
  --teal: #4285f4;
  --teal-light: #5b9bff;
  --teal-50: #eff4fe;
  --amber: #f59e0b;
  --slate-50: #f7f9fc;
  --slate-100: #eef2f7;
  --slate-200: #dde5f0;
  --slate-500: #64748b;
  --slate-600: #475569;
  --slate-700: #334155;
}

.bh-healthcare-rtls-tracking-system {
  font-family: "Inter", sans-serif;
  background-color: #ffffff;
  color: #0b1f3a;
  -webkit-font-smoothing: antialiased;
  box-sizing: border-box;
}

.bh-healthcare-rtls-tracking-system *,
.bh-healthcare-rtls-tracking-system *::before,
.bh-healthcare-rtls-tracking-system *::after {
  box-sizing: border-box;
}

.bh-healthcare-rtls-tracking-system .font-mono {
  font-family: "DM Mono", ui-monospace, monospace;
}

/* 对抗主题 .flex { flex-wrap: wrap } */
.bh-healthcare-rtls-tracking-system .flex:not(.flex-wrap) {
  flex-wrap: nowrap;
}
.bh-healthcare-rtls-tracking-system .flex-wrap {
  flex-wrap: wrap;
}

/* SVG 不被全局 * color 染黑 */
.bh-healthcare-rtls-tracking-system svg {
  display: block;
  flex: none;
}

.bh-healthcare-rtls-tracking-system a {
  text-decoration: none;
}

.bh-healthcare-rtls-tracking-system button {
  font: inherit;
}

/* 作用域滚动条（不改站点全局） */
.bh-healthcare-rtls-tracking-system ::-webkit-scrollbar {
  width: 6px;
}
.bh-healthcare-rtls-tracking-system ::-webkit-scrollbar-track {
  background: transparent;
}
.bh-healthcare-rtls-tracking-system ::-webkit-scrollbar-thumb {
  background: #dde5f0;
  border-radius: 3px;
}
.bh-healthcare-rtls-tracking-system ::-webkit-scrollbar-thumb:hover {
  background: #00a896;
}
