@font-face { font-family: "Be Vietnam Pro"; font-weight: 400; font-display: swap; src: url("fonts/BeVietnamPro-Regular.ttf") format("truetype"); }
@font-face { font-family: "Be Vietnam Pro"; font-weight: 500; font-display: swap; src: url("fonts/BeVietnamPro-Medium.ttf") format("truetype"); }
@font-face { font-family: "Be Vietnam Pro"; font-weight: 600; font-display: swap; src: url("fonts/BeVietnamPro-SemiBold.ttf") format("truetype"); }
@font-face { font-family: "Be Vietnam Pro"; font-weight: 800; font-display: swap; src: url("fonts/BeVietnamPro-ExtraBold.ttf") format("truetype"); }

.jv-palette {
  --pv: #7c3aed;
  width: 640px;
  border-radius: 14px;
  overflow: hidden;
  background: rgba(17, 24, 39, 0.96);
  border: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: 0 30px 80px -20px rgba(0, 0, 0, 0.8), 0 0 0 1px rgba(124, 58, 237, 0.15), 0 0 120px -30px rgba(124, 58, 237, 0.55);
  color: #e5e7eb;
  font-family: "Be Vietnam Pro", "Noto Sans", system-ui, sans-serif;
  text-align: left;
  user-select: none;
}
.jv-search { display: flex; align-items: center; gap: 12px; padding: 14px 16px; border-bottom: 1px solid rgba(255, 255, 255, 0.1); }
.jv-search svg { width: 20px; height: 20px; color: #94a3b8; flex: none; }
.jv-input { flex: 1; font-size: 15px; color: #fff; min-height: 22px; display: flex; align-items: center; background: transparent; border: 0; outline: none; font-family: inherit; padding: 0; }
.jv-input::placeholder, .jv-input .ph { color: #64748b; }
.jv-caret { display: inline-block; width: 2px; height: 18px; background: #a78bfa; margin-left: 1px; }
.jv-icons { display: flex; gap: 4px; color: #94a3b8; }
.jv-icons svg { width: 16px; height: 16px; }
.jv-filters { display: flex; gap: 8px; padding: 8px 16px; border-bottom: 1px solid rgba(255, 255, 255, 0.1); font-size: 12px; }
.jv-filters span { background: rgba(255, 255, 255, 0.05); color: #cbd5e1; border: 1px solid rgba(255, 255, 255, 0.1); border-radius: 4px; padding: 3px 22px 3px 8px; position: relative; }
.jv-filters span::after { content: ""; position: absolute; right: 7px; top: 8px; width: 5px; height: 5px; border-right: 1.5px solid #94a3b8; border-bottom: 1.5px solid #94a3b8; transform: rotate(45deg); }
.jv-list { height: 336px; overflow: hidden; }
.jv-row { display: flex; align-items: center; gap: 12px; padding: 10px 16px; height: 56px; box-sizing: border-box; }
.jv-row.sel { background: rgba(124, 58, 237, 0.3); }
.jv-row.child { gap: 8px; height: 40px; padding: 8px 16px; }
.jv-row .ti { width: 16px; height: 16px; flex: none; }
.jv-row .main { flex: 1; min-width: 0; }
.jv-row .name { font-size: 14px; font-weight: 500; color: #fff; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.jv-row .ns { font-size: 10px; padding: 2px 6px; border-radius: 4px; background: rgba(255, 255, 255, 0.1); color: #94a3b8; margin-left: 8px; font-weight: 400; }
.jv-row .desc { font-size: 12px; color: #64748b; margin-top: 2px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.jv-row .tag { font-size: 10px; padding: 2px 5px; border-radius: 4px; background: rgba(139, 92, 246, 0.2); color: #c4b5fd; margin-left: 4px; white-space: nowrap; }
.jv-row .star { width: 14px; height: 14px; color: #475569; flex: none; }
.jv-row .star.on { color: #facc15; }
.jv-row .arrow { color: #475569; font-size: 12px; padding-left: 16px; }
.jv-row .cname { font-size: 14px; color: #cbd5e1; }
.jv-row .parent { font-size: 12px; color: #475569; margin-left: auto; }
.jv-empty { height: 100%; display: flex; align-items: center; justify-content: center; color: #64748b; font-size: 14px; }
.jv-status { display: flex; justify-content: space-between; padding: 6px 16px; border-top: 1px solid rgba(255, 255, 255, 0.1); font-size: 10px; color: #475569; }
