@import url("https://fonts.googleapis.com/css2?family=IBM+Plex+Mono:wght@400;500&family=Manrope:wght@400;500;600;700&family=Noto+Sans+SC:wght@400;500;600;700&display=swap");

body.yp-board,
body.yp-board .layout-main-content,
body.yp-board .page-content,
body.yp-board .app-main {
  font-family: Manrope, "Noto Sans SC", "PingFang SC", "Microsoft YaHei", sans-serif;
}
.yp-kpis {
  display: grid;
  grid-template-columns: minmax(0, 1.45fr) minmax(0, 1.2fr) minmax(0, .9fr) minmax(0, .9fr);
  gap: 14px;
  margin: 0 0 16px;
}
.yp-kpi {
  position: relative;
  overflow: hidden;
  min-height: 132px;
  padding: 18px;
  border-radius: 20px;
  display: flex;
  flex-direction: column;
  background: rgba(248, 251, 253, .56);
  border: 1px solid rgba(255, 255, 255, .62);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .55), 0 18px 40px -28px rgba(30, 50, 70, .28);
  backdrop-filter: blur(22px) saturate(1.45);
  -webkit-backdrop-filter: blur(22px) saturate(1.45);
}
html.dark .yp-kpi {
  background: rgba(22, 30, 36, .52);
  border-color: rgba(255, 255, 255, .12);
}
.yp-kpi-hero {
  background:
    radial-gradient(180px 140px at 88% -20%, rgba(255, 255, 255, .5), transparent 60%),
    linear-gradient(165deg, rgba(36, 62, 76, .78), rgba(22, 38, 48, .72));
  color: #eef6fa;
  border: 1px solid rgba(255, 255, 255, .22);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.2), 0 16px 36px -20px rgba(20, 40, 55, .45);
}
html.dark .yp-kpi-hero {
  background:
    radial-gradient(180px 140px at 88% -20%, rgba(143, 203, 224, .22), transparent 60%),
    linear-gradient(165deg, rgba(28, 48, 58, .8), rgba(14, 22, 28, .75));
}
.yp-orb {
  position: absolute; right: -24px; top: -36px; width: 150px; height: 150px; border-radius: 50%;
  background: radial-gradient(circle, rgba(255, 255, 255, .42), rgba(143, 203, 224, 0) 68%);
  animation: yp-pulse 3.6s ease-in-out infinite;
  pointer-events: none;
}
@keyframes yp-pulse {
  0%, 100% { transform: scale(1); opacity: .65; }
  50% { transform: scale(1.12); opacity: 1; }
}
.yp-kpi-top { display: flex; justify-content: space-between; align-items: center; gap: 8px; }
.yp-kpi-lab { margin-top: 10px; color: #7b8c96; font-size: 11.5px; letter-spacing: .04em; }
.yp-kpi-hero .yp-kpi-lab { color: rgba(238, 246, 250, .72); }
.yp-kpi-num {
  margin-top: 2px; font-size: 28px; font-weight: 700; letter-spacing: -.03em; line-height: 1.1;
  font-variant-numeric: tabular-nums; color: #14222b;
}
html.dark .yp-kpi-num, .yp-kpi-hero .yp-kpi-num { color: #eef6fa; }
.yp-kpi-sub { margin-top: auto; padding-top: 8px; color: #7b8c96; font-size: 12px; }
.yp-kpi-hero .yp-kpi-sub { color: rgba(238, 246, 250, .76); }
.yp-delta {
  font-size: 11.5px; font-weight: 650; color: #2F7A62;
  background: rgba(47, 122, 98, .12); padding: 3px 8px; border-radius: 999px;
}
.yp-kpi-hero .yp-delta { background: rgba(255, 255, 255, .14); color: #eef6fa; }
.yp-live-dot {
  width: 8px; height: 8px; border-radius: 50%; background: #8ee0c8;
  box-shadow: 0 0 0 4px rgba(142, 224, 200, .18), 0 0 10px #8ee0c8; display: inline-block;
}
.yp-spark { width: 100%; height: 42px; margin-top: 8px; display: block; }
.yp-spark polyline { fill: none; stroke: #3E6A82; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; filter: drop-shadow(0 0 6px rgba(180, 214, 230, .55)); }
.yp-spark .area { stroke: none; fill: rgba(62, 106, 130, .12); }
.yp-split { display: grid; grid-template-columns: minmax(0, 1fr) 320px; gap: 16px; align-items: start; }
.yp-board-card {
  border-radius: 20px; overflow: hidden;
  background: rgba(248, 251, 253, .56);
  border: 1px solid rgba(255, 255, 255, .62);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .55), 0 18px 40px -28px rgba(30, 50, 70, .28);
  backdrop-filter: blur(22px) saturate(1.45);
}
html.dark .yp-board-card { background: rgba(22, 30, 36, .52); border-color: rgba(255,255,255,.12); }
.yp-board-head {
  display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap;
  padding: 14px 16px 12px; border-bottom: 1px solid rgba(20, 40, 55, .08);
}
.yp-chips {
  position: relative; display: flex; gap: 4px; flex-wrap: wrap;
  padding: 4px; border-radius: 999px;
  background: rgba(255, 255, 255, .28);
  border: 1px solid rgba(255, 255, 255, .5);
}
.yp-chip-thumb {
  position: absolute; top: 4px; left: 0; height: calc(100% - 8px);
  border-radius: 999px; pointer-events: none;
  background: rgba(255, 255, 255, .82);
  box-shadow: 0 6px 16px -8px rgba(30, 50, 70, .35), inset 0 1px 0 rgba(255, 255, 255, .9);
  transition: transform .16s cubic-bezier(.22, 1, .36, 1), width .16s cubic-bezier(.22, 1, .36, 1);
}
html.dark .yp-chip-thumb { background: #8FCBE0; box-shadow: 0 0 16px rgba(143, 203, 224, .28); }
.yp-chip {
  position: relative; z-index: 1;
  border: 0; background: transparent; color: #4b5d68;
  padding: 6px 12px; border-radius: 999px; font-weight: 500; font-size: 12.5px;
}
.yp-chip.on { color: #14222b; font-weight: 650; }
html.dark .yp-chip.on { color: #102026; }
.yp-count { color: #7b8c96; font-size: 12px; font-variant-numeric: tabular-nums; }
.yp-search {
  display: flex; align-items: center; gap: 8px; min-width: 180px; flex: 1;
  background: rgba(255, 255, 255, .38); border: 1px solid rgba(255, 255, 255, .6);
  border-radius: 12px; padding: 0 12px; height: 36px;
}
.yp-search input { border: 0; background: transparent; width: 100%; outline: none; font: inherit; color: inherit; }
.yp-specimen {
  position: sticky; top: 16px; padding: 18px 18px 16px; border-radius: 20px; min-height: 280px;
  background: rgba(248, 251, 253, .56); border: 1px solid rgba(255, 255, 255, .62);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .55), 0 18px 40px -28px rgba(30, 50, 70, .28);
  backdrop-filter: blur(22px) saturate(1.45);
}
html.dark .yp-specimen { background: rgba(22, 30, 36, .52); }
.yp-ticks { position: relative; }
.yp-ticks::before, .yp-ticks::after,
.yp-ticks .yp-ticks-end::before, .yp-ticks .yp-ticks-end::after {
  content: ""; position: absolute; width: 12px; height: 12px; border-color: #3E6A82; border-style: solid;
}
.yp-ticks::before { top: 8px; left: 8px; border-width: 1.5px 0 0 1.5px; }
.yp-ticks::after { top: 8px; right: 8px; border-width: 1.5px 1.5px 0 0; }
.yp-ticks .yp-ticks-end::before { bottom: 8px; left: 8px; border-width: 0 0 1.5px 1.5px; }
.yp-ticks .yp-ticks-end::after { bottom: 8px; right: 8px; border-width: 0 1.5px 1.5px 0; }
.yp-ticks-end { position: absolute; inset: 0; pointer-events: none; }
.yp-sp-kicker { font-family: "IBM Plex Mono", ui-monospace, monospace; font-size: 11px; color: #3E6A82; letter-spacing: .08em; }
.yp-sp-title { margin: 6px 0 4px; font-size: 20px; font-weight: 700; letter-spacing: -.03em; color: #14222b; }
html.dark .yp-sp-title, html.dark .yp-facts b { color: #e8f0f4; }
.yp-sp-model { color: #7b8c96; font-size: 12.5px; }
.yp-sp-status { display: flex; gap: 6px; flex-wrap: wrap; margin: 12px 0 14px; }
.yp-tag {
  display: inline-flex; align-items: center; padding: 3px 8px; border-radius: 999px;
  font-size: 11.5px; font-weight: 600; background: rgba(255,255,255,.4); color: #4b5d68;
}
.yp-tag.ok { background: rgba(47, 122, 98, .12); color: #2F7A62; }
.yp-tag.warn { background: rgba(183, 122, 22, .12); color: #B77A16; }
.yp-facts {
  display: grid; grid-template-columns: minmax(0,1fr) minmax(0,1fr); gap: 10px 12px;
  padding: 12px 0; border-top: 1px solid rgba(20,40,55,.08); border-bottom: 1px solid rgba(20,40,55,.08);
  font-size: 13px; color: #4b5d68;
}
.yp-facts small { display: block; color: #7b8c96; font-size: 11px; margin-bottom: 3px; }
.yp-facts b { color: #14222b; font-weight: 650; word-break: break-all; }
.yp-facts .wide { grid-column: 1 / -1; font-family: "IBM Plex Mono", ui-monospace, monospace; font-size: 11.5px; }
.yp-battery { height: 8px; border-radius: 99px; background: rgba(20, 40, 55, .08); overflow: hidden; margin-top: 6px; }
.yp-battery > i { display: block; height: 100%; background: linear-gradient(90deg, #3E6A82, #9fc3d4); border-radius: inherit; }
.yp-sp-actions { display: flex; flex-direction: column; gap: 8px; margin-top: 14px; }
.yp-sp-actions button, .yp-btn {
  position: relative; overflow: hidden; border: 1px solid rgba(255,255,255,.58);
  background: rgba(255,255,255,.38); border-radius: 12px; padding: 10px 12px;
  font-weight: 650; cursor: pointer; color: #14222b;
}
.yp-sp-actions .primary {
  background: linear-gradient(180deg, rgba(86, 126, 148, .95), #3E6A82);
  color: #f4f8fb; border-color: rgba(255,255,255,.25);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.28), 0 10px 28px rgba(180, 214, 230, .55);
}
body.yp-devices .el-form { display: none !important; }
body.yp-devices .el-table { --el-table-border-color: transparent; background: transparent !important; }
body.yp-devices .el-table th.el-table__cell {
  font-size: 11.5px; letter-spacing: .04em; text-transform: uppercase; color: #7b8c96 !important;
  background: rgba(255,255,255,.22) !important; font-weight: 600;
}
body.yp-devices .el-table .el-table__cell { padding: 12px 14px !important; background: transparent !important; }
body.yp-devices .el-table tbody tr { cursor: pointer; }
body.yp-devices .el-table tbody tr:hover > td { background: rgba(255, 255, 255, .28) !important; }
body.yp-devices .el-table tbody tr.yp-row-on > td { background: rgba(255, 255, 255, .42) !important; }
body.yp-devices .el-table tbody tr.yp-row-on td:first-child { box-shadow: inset 3px 0 0 #3E6A82; }
body.yp-devices .el-table::before, body.yp-devices .el-table::after { display: none !important; }
body.yp-devices .el-card, body.yp-devices .art-table-card {
  background: transparent !important; border: 0 !important; box-shadow: none !important;
}
body.yp-devices tr.yp-row-hide { display: none !important; }
@media (max-width: 1180px) {
  .yp-kpis { grid-template-columns: 1fr 1fr; }
  .yp-split { grid-template-columns: 1fr; }
  .yp-specimen { position: static; }
}
@media (max-width: 760px) {
  .yp-kpis { grid-template-columns: 1fr 1fr; }
}
@media (prefers-reduced-motion: reduce) {
  .yp-orb { animation: none; }
  .yp-chip-thumb { transition: none; }
}
