/* DMP admin refinements kept separate from the generated vendor stylesheet. */
:root {
  --dmp-primary: #2f80ed;
  --dmp-ink: #1f2937;
  --dmp-muted: #667085;
  --dmp-border: #e5eaf2;
  --dmp-surface: rgba(255, 255, 255, 0.96);
}

body.dmp-authenticated-bg {
  background-attachment: fixed;
  background-image: url("/static/png/dmp-travel-bg.jpg");
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
}

body.dmp-authenticated-bg #app,
body.dmp-authenticated-bg .app-wrapper,
body.dmp-authenticated-bg .main-container,
body.dmp-authenticated-bg .main-container .el-scrollbar,
body.dmp-authenticated-bg .main-container .el-scrollbar__wrap,
body.dmp-authenticated-bg .main-container .el-scrollbar__view {
  background-color: transparent !important;
}

body.dmp-authenticated-bg .main-container {
  background-color: rgba(242, 246, 251, 0.62) !important;
}

body.dmp-authenticated-bg .app-main,
body.dmp-authenticated-bg .main-content {
  background: transparent !important;
}

.login-container {
  align-items: center !important;
  background-image: url("/static/png/dmp-travel-bg.jpg");
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
  display: flex !important;
  justify-content: center !important;
  min-height: 100vh;
  overflow: hidden;
  position: relative;
  z-index: 0;
}

.login-container::before {
  background: rgba(21, 49, 79, 0.2);
  content: "";
  inset: 0;
  pointer-events: none;
  position: absolute;
  z-index: 0;
}

.login-container .wave,
.login-container .img {
  display: none !important;
  visibility: hidden;
}

.login-container .login-box {
  align-items: center;
  background: rgba(255, 255, 255, 0.2) !important;
  backdrop-filter: blur(20px) saturate(130%);
  border: 1px solid rgba(255, 255, 255, 0.58);
  border-radius: 18px;
  box-shadow: 0 24px 70px rgba(15, 38, 66, 0.28), inset 0 1px rgba(255, 255, 255, 0.45);
  box-sizing: border-box;
  display: flex;
  justify-content: center;
  left: 50%;
  margin: 0 !important;
  max-width: 420px;
  padding: 32px 30px 34px;
  position: absolute !important;
  top: 50%;
  transform: translate(-50%, -50%);
  width: min(420px, calc(100vw - 32px));
}

.login-container .login-box,
.login-container .login-box > * {
  position: relative;
  z-index: 1;
}

.login-container .login-form {
  width: 100% !important;
}

.login-container .login-form h2 {
  color: #fff !important;
  text-shadow: 0 2px 16px rgba(15, 38, 66, 0.42);
}

.login-container .login-form .el-input__wrapper {
  background: rgba(255, 255, 255, 0.18) !important;
  box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.62) inset !important;
}

.login-container .login-form .el-input__inner,
.login-container .login-form .el-input__prefix,
.login-container .login-form .el-input__suffix {
  color: #fff !important;
}

.login-container .login-form .el-input__inner::placeholder {
  color: rgba(255, 255, 255, 0.78) !important;
}

.dmp-login-avatar-wrap {
  align-items: center;
  display: flex;
  height: 96px;
  justify-content: center;
  margin: 0 auto 12px;
  position: relative;
  width: 96px;
}

.dmp-login-avatar-wrap::before,
.dmp-login-avatar-wrap::after {
  border: 1px solid rgba(255, 255, 255, 0.78);
  border-radius: 50%;
  content: "";
  inset: 5px;
  position: absolute;
}

.dmp-login-avatar-wrap::before {
  animation: dmp-avatar-ring 3.2s linear infinite;
}

.dmp-login-avatar-wrap::after {
  animation: dmp-avatar-ring 2.2s linear infinite reverse;
  border-color: rgba(93, 184, 255, 0.9);
  inset: -4px;
}

.dmp-login-avatar {
  animation: dmp-avatar-float 2.8s ease-in-out infinite;
  border-radius: 18px;
  filter: drop-shadow(0 8px 16px rgba(25, 72, 128, 0.35));
  height: 58px;
  object-fit: contain;
  position: relative;
  width: 58px;
  z-index: 1;
}

@keyframes dmp-avatar-ring {
  from { transform: rotate(0deg) scale(0.92); }
  50% { opacity: 0.55; transform: rotate(180deg) scale(1.04); }
  to { transform: rotate(360deg) scale(0.92); }
}

@keyframes dmp-avatar-float {
  0%, 100% { transform: translateY(0) rotate(-3deg); }
  50% { transform: translateY(-5px) rotate(3deg); }
}

.fixed-header #header-search,
.fixed-header #full-screen,
.fixed-header #header-notice,
.fixed-header .el-dropdown:has(#header-notice),
.fixed-header .set-icon,
.fixed-header .navbar-bg-hover,
.fixed-header .el-dropdown:has(.el-dropdown-link),
.fixed-header .el-dropdown:has(.arrow-down),
.fixed-header .arrow-down {
  display: none !important;
}

.sidebar-container .dmp-hidden-home {
  display: none !important;
}

.sidebar-container .el-menu > a[href="#/"] {
  display: none !important;
}

.tags-view .dmp-hidden-home {
  display: none !important;
}

.tags-view .scroll-item:first-child {
  display: none !important;
}

.tags-view,
.dmp-hidden-tabs {
  display: none !important;
}

.dashboard-container > .el-row:first-child {
  display: none !important;
}

.dmp-legacy-device-page,
.dmp-dashboard-balance-source {
  display: none !important;
}

#dmp-device-page {
  color: var(--dmp-ink);
  min-height: calc(100vh - 110px);
  padding: 22px 24px 36px;
}

.dmp-page-heading {
  align-items: flex-end;
  display: flex;
  gap: 24px;
  justify-content: space-between;
  margin: 0 auto 18px;
  max-width: 1600px;
}

.dmp-page-heading h1 {
  color: #152238;
  font-size: 26px;
  font-weight: 700;
  line-height: 1.25;
  margin: 4px 0 6px;
}

.dmp-page-heading p {
  color: var(--dmp-muted);
  font-size: 13px;
  margin: 0;
}

.dmp-eyebrow {
  color: var(--dmp-primary);
  font-size: 12px;
  font-weight: 600;
}

.dmp-stats-grid {
  display: grid;
  gap: 14px;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  margin: 0 auto 18px;
  max-width: 1600px;
}

.dmp-stat-card {
  align-items: center;
  background: var(--dmp-surface);
  border: 1px solid rgba(229, 234, 242, 0.96);
  border-radius: 8px;
  box-shadow: 0 5px 18px rgba(44, 62, 80, 0.06);
  display: flex;
  gap: 12px;
  min-height: 92px;
  padding: 16px;
}

.dmp-stat-icon {
  align-items: center;
  border-radius: 12px;
  display: flex;
  flex: 0 0 44px;
  font-size: 20px;
  height: 44px;
  justify-content: center;
}

.dmp-stat-value {
  color: #1f2937;
  font-size: 25px;
  font-weight: 700;
  line-height: 1;
}

.dmp-stat-label {
  color: #7a8492;
  font-size: 13px;
  margin-top: 7px;
}

.dmp-toolbar,
.dmp-table-shell {
  background: var(--dmp-surface);
  border: 1px solid rgba(229, 234, 242, 0.96);
  border-radius: 8px;
  box-shadow: 0 5px 18px rgba(44, 62, 80, 0.05);
  margin: 0 auto 16px;
  max-width: 1600px;
}

.dmp-toolbar {
  align-items: center;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  padding: 14px 16px;
}

.dmp-toolbar label {
  color: #667085;
  font-size: 13px;
  margin-left: 4px;
}

.dmp-toolbar input,
.dmp-toolbar select {
  background: #fff;
  border: 1px solid #d8e0eb;
  border-radius: 5px;
  box-sizing: border-box;
  color: #344054;
  font: inherit;
  height: 34px;
  outline: none;
  padding: 0 10px;
  width: 150px;
}

.dmp-toolbar input[data-filter="device_id"] {
  width: 172px;
}

.dmp-toolbar input[data-filter="ip"] {
  width: 138px;
}

.dmp-toolbar input:focus,
.dmp-toolbar select:focus {
  border-color: var(--dmp-primary);
  box-shadow: 0 0 0 2px rgba(47, 128, 237, 0.12);
}

.dmp-toolbar .dmp-toolbar-actions {
  display: flex;
  gap: 8px;
  margin-left: 2px;
}

.dmp-button {
  background: #fff;
  border: 1px solid #d8e0eb;
  border-radius: 5px;
  color: #475467;
  cursor: pointer;
  font: inherit;
  height: 34px;
  padding: 0 14px;
  transition: border-color 0.15s ease, background-color 0.15s ease;
}

.dmp-button:hover {
  background: #f8fafc;
  border-color: #aebed2;
}

.dmp-button:disabled {
  cursor: wait;
  opacity: 0.62;
}

.dmp-button.primary {
  background: var(--dmp-primary);
  border-color: var(--dmp-primary);
  color: #fff;
}

.dmp-button.primary:hover {
  background: #236fcf;
  border-color: #236fcf;
}

.dmp-button.danger {
  color: #d64545;
}

.dmp-button.danger:hover {
  background: #fff5f5;
  border-color: #ef9a9a;
}

.dmp-table-header {
  align-items: center;
  border-bottom: 1px solid var(--dmp-border);
  display: flex;
  justify-content: space-between;
  padding: 14px 16px;
}

.dmp-table-title {
  color: #25344d;
  font-size: 15px;
  font-weight: 650;
}

.dmp-table-meta {
  color: #8490a0;
  font-size: 12px;
}

.dmp-table-scroll {
  overflow-x: auto;
}

.dmp-device-table {
  border-collapse: collapse;
  min-width: 1040px;
  width: 100%;
}

.dmp-device-table th,
.dmp-device-table td {
  border-bottom: 1px solid #edf1f6;
  padding: 13px 12px;
  text-align: left;
  white-space: nowrap;
}

.dmp-device-table th {
  background: #fbfcfe;
  color: #667085;
  font-size: 12px;
  font-weight: 600;
}

.dmp-device-table td {
  color: #475467;
  font-size: 13px;
}

.dmp-device-table tbody tr:hover {
  background: #f8fbff;
}

.dmp-device-table .device-id-cell {
  color: #25344d;
  font-weight: 600;
  max-width: 220px;
  overflow: hidden;
  text-overflow: ellipsis;
}

.dmp-count-link {
  background: transparent;
  border: 0;
  color: var(--dmp-primary);
  cursor: pointer;
  font: inherit;
  padding: 0;
}

.dmp-count-link.balance {
  color: #55a83a;
}

.dmp-heartbeat.online {
  color: #3a9b4a;
}

.dmp-action-group {
  display: inline-flex;
  gap: 5px;
}

.dmp-action {
  background: transparent;
  border: 0;
  color: var(--dmp-primary);
  cursor: pointer;
  font: inherit;
  padding: 2px 4px;
}

.dmp-action:hover {
  text-decoration: underline;
}

.dmp-action.delete {
  color: #d64545;
}

.dmp-empty,
.dmp-loading {
  color: #98a2b3;
  padding: 42px 16px;
  text-align: center;
}

.dmp-pagination {
  align-items: center;
  color: #667085;
  display: flex;
  font-size: 13px;
  gap: 8px;
  justify-content: flex-end;
  padding: 14px 16px;
}

.dmp-pagination button,
.dmp-pagination select {
  background: #fff;
  border: 1px solid #d8e0eb;
  border-radius: 4px;
  color: #475467;
  font: inherit;
  height: 30px;
  padding: 0 9px;
}

.dmp-pagination button {
  cursor: pointer;
}

.dmp-pagination button:disabled {
  color: #c4ccd7;
  cursor: not-allowed;
}

.dmp-modal-backdrop {
  align-items: center;
  background: rgba(15, 23, 42, 0.42);
  display: flex;
  inset: 0;
  justify-content: center;
  padding: 20px;
  position: fixed;
  z-index: 3000;
}

.dmp-modal {
  background: #fff;
  border-radius: 9px;
  box-shadow: 0 22px 60px rgba(15, 23, 42, 0.22);
  max-height: min(88vh, 820px);
  max-width: 1040px;
  overflow: hidden;
  width: min(100%, 1040px);
}

.dmp-modal.detail-modal {
  width: min(100%, 920px);
}

.dmp-modal-head {
  align-items: flex-start;
  border-bottom: 1px solid var(--dmp-border);
  display: flex;
  justify-content: space-between;
  padding: 18px 20px 14px;
}

.dmp-modal-head h2 {
  color: #25344d;
  font-size: 18px;
  margin: 0;
}

.dmp-modal-head p {
  color: #8490a0;
  font-size: 12px;
  margin: 5px 0 0;
}

.dmp-modal-close {
  background: transparent;
  border: 0;
  color: #98a2b3;
  cursor: pointer;
  font-size: 24px;
  line-height: 1;
  padding: 0 2px;
}

.dmp-modal-body {
  max-height: calc(88vh - 84px);
  overflow: auto;
  padding: 18px 20px 22px;
}

.dmp-detail-grid {
  display: grid;
  gap: 0 24px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.dmp-detail-item {
  border-bottom: 1px solid #eef2f6;
  display: grid;
  gap: 12px;
  grid-template-columns: 110px minmax(0, 1fr);
  min-height: 42px;
  padding: 10px 0;
}

.dmp-detail-label {
  color: #8490a0;
  font-size: 12px;
}

.dmp-detail-value {
  color: #344054;
  font-size: 13px;
  overflow-wrap: anywhere;
}

.dmp-section-title {
  color: #25344d;
  font-size: 14px;
  font-weight: 650;
  margin: 22px 0 10px;
}

.dmp-event-table,
.dmp-app-table,
.dmp-count-table {
  border-collapse: collapse;
  width: 100%;
}

.dmp-event-table th,
.dmp-event-table td,
.dmp-app-table th,
.dmp-app-table td,
.dmp-count-table th,
.dmp-count-table td {
  border-bottom: 1px solid #eef2f6;
  font-size: 12px;
  padding: 9px 8px;
  text-align: left;
}

.dmp-event-table th,
.dmp-app-table th,
.dmp-count-table th {
  background: #fbfcfe;
  color: #667085;
  font-weight: 600;
}

.dmp-count-table {
  min-width: 780px;
}

.dmp-count-table td {
  color: #475467;
  white-space: nowrap;
}

.dmp-count-table .dmp-preview-cell {
  max-width: 260px;
  overflow: hidden;
  text-overflow: ellipsis;
}

.dmp-count-table .dmp-amount-cell {
  color: #4d9c3d;
  font-variant-numeric: tabular-nums;
  font-weight: 650;
}

.dmp-dashboard-balance-visual {
  margin: 0 24px 16px;
}

.dmp-balance-visual-grid {
  display: grid;
  gap: 16px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.dmp-balance-chart {
  background: rgba(255, 255, 255, 0.94);
  border: 1px solid rgba(229, 234, 242, 0.96);
  border-radius: 8px;
  box-shadow: 0 5px 18px rgba(44, 62, 80, 0.05);
  min-width: 0;
  padding: 18px 20px 16px;
}

.dmp-balance-chart-head {
  align-items: flex-start;
  border-bottom: 1px solid #eef2f6;
  display: flex;
  gap: 14px;
  justify-content: space-between;
  margin-bottom: 12px;
  padding-bottom: 14px;
}

.dmp-balance-chart h3 {
  color: #25344d;
  font-size: 16px;
  margin: 0;
}

.dmp-balance-chart p {
  color: #98a2b3;
  font-size: 12px;
  margin: 5px 0 0;
}

.dmp-balance-total {
  align-items: flex-end;
  display: flex;
  flex-direction: column;
  flex: 0 0 auto;
}

.dmp-balance-total strong {
  color: #25344d;
  font-size: 18px;
  font-variant-numeric: tabular-nums;
}

.dmp-balance-total span {
  color: #98a2b3;
  font-size: 11px;
  margin-top: 3px;
}

.dmp-balance-list {
  display: grid;
  gap: 12px;
}

.dmp-balance-row-head,
.dmp-balance-row-foot {
  align-items: center;
  display: flex;
  gap: 10px;
  justify-content: space-between;
}

.dmp-balance-row-head {
  color: #475467;
  font-size: 12px;
}

.dmp-balance-row-head strong {
  color: #344054;
  font-size: 12px;
  font-variant-numeric: tabular-nums;
}

.dmp-balance-track {
  background: #edf2f7;
  border-radius: 99px;
  height: 8px;
  margin-top: 6px;
  overflow: hidden;
}

.dmp-balance-bar {
  border-radius: inherit;
  display: block;
  height: 100%;
  min-width: 0;
  transition: width 0.35s ease;
}

.dmp-balance-bar.uncollected {
  background: #e6a23c;
}

.dmp-balance-bar.collected {
  background: #67c23a;
}

.dmp-balance-row-foot {
  color: #98a2b3;
  font-size: 10px;
  margin-top: 4px;
}

.dmp-balance-empty {
  padding: 28px 12px;
}

.dmp-dashboard-error {
  background: rgba(255, 245, 245, 0.95);
  border: 1px solid #f1b5b5;
  border-radius: 8px;
  color: #c83c3c;
  margin: 0 24px 16px;
  padding: 16px;
}

.dmp-data-tabs {
  border-bottom: 1px solid var(--dmp-border);
  display: flex;
  gap: 22px;
  margin: -4px 0 18px;
}

.dmp-data-tab {
  background: transparent;
  border: 0;
  border-bottom: 2px solid transparent;
  color: #667085;
  cursor: pointer;
  font: inherit;
  padding: 0 0 10px;
}

.dmp-data-tab.active {
  border-bottom-color: var(--dmp-primary);
  color: var(--dmp-primary);
  font-weight: 600;
}

.dmp-photo-grid {
  display: grid;
  gap: 12px;
  grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
}

.dmp-photo-item {
  background: #f7f9fc;
  border: 1px solid var(--dmp-border);
  border-radius: 6px;
  overflow: hidden;
}

.dmp-photo-item img {
  background: #f0f3f7;
  display: block;
  height: 130px;
  object-fit: cover;
  width: 100%;
}

.dmp-photo-meta {
  color: #667085;
  font-size: 11px;
  overflow: hidden;
  padding: 8px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.dmp-memo-list {
  display: grid;
  gap: 10px;
}

.dmp-memo-item {
  background: #fbfcfe;
  border: 1px solid var(--dmp-border);
  border-radius: 6px;
  padding: 12px;
}

.dmp-memo-preview {
  color: #344054;
  font-size: 13px;
  line-height: 1.6;
  overflow-wrap: anywhere;
}

.dmp-memo-meta {
  color: #98a2b3;
  font-size: 11px;
  margin-top: 6px;
}

.dmp-toast {
  background: #25344d;
  border-radius: 5px;
  box-shadow: 0 8px 24px rgba(15, 23, 42, 0.18);
  color: #fff;
  font-size: 13px;
  left: 50%;
  max-width: min(90vw, 420px);
  padding: 10px 16px;
  position: fixed;
  top: 76px;
  transform: translateX(-50%);
  z-index: 4000;
}

.dmp-toast.error {
  background: #c83c3c;
}

@media (max-width: 1260px) {
  .dmp-stats-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .dmp-balance-visual-grid {
    grid-template-columns: minmax(0, 1fr);
  }
}

@media (max-width: 760px) {
  #dmp-device-page {
    padding: 16px 12px 28px;
  }

  .dmp-page-heading {
    align-items: flex-start;
    flex-direction: column;
    gap: 8px;
  }

  .dmp-stats-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .dmp-toolbar input,
  .dmp-toolbar select {
    flex: 1 1 140px;
    width: auto;
  }

  .dmp-detail-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .dmp-modal-backdrop {
    align-items: flex-end;
    padding: 0;
  }

  .dmp-modal {
    border-radius: 9px 9px 0 0;
    max-height: 92vh;
  }
}

.sidebar-container .dmp-hidden-unused-menu {
  display: none !important;
}

body.dmp-authenticated-bg .sidebar-container {
  background-color: rgba(3, 28, 52, 0.82) !important;
  background-image: url("/static/png/dmp-travel-bg.jpg") !important;
  background-position: center !important;
  background-repeat: no-repeat !important;
  background-size: cover !important;
  background-blend-mode: multiply;
}

body.dmp-authenticated-bg .sidebar-container .el-menu,
body.dmp-authenticated-bg .sidebar-container .el-sub-menu .el-menu {
  background: transparent !important;
}

body.dmp-authenticated-bg .sidebar-container .el-menu-item,
body.dmp-authenticated-bg .sidebar-container .el-sub-menu__title {
  background-color: rgba(2, 24, 45, 0.3) !important;
}

#dmp-workbench-page {
  color: var(--dmp-ink);
  min-height: calc(100vh - 110px);
  padding: 22px 24px 36px;
}

.dmp-workbench-heading {
  align-items: flex-end;
  display: flex;
  gap: 24px;
  justify-content: space-between;
  margin: 0 auto 18px;
  max-width: 1600px;
}

.dmp-workbench-heading h1 {
  color: #152238;
  font-size: 26px;
  font-weight: 700;
  line-height: 1.25;
  margin: 4px 0 6px;
}

.dmp-workbench-heading p,
.dmp-balance-board-head p {
  color: var(--dmp-muted);
  font-size: 13px;
  margin: 0;
}

.dmp-workbench-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.dmp-balance-board,
.dmp-workbench-visit-shell {
  background: var(--dmp-surface);
  border: 1px solid rgba(229, 234, 242, 0.96);
  border-radius: 8px;
  box-shadow: 0 5px 18px rgba(44, 62, 80, 0.05);
  margin: 0 auto 16px;
  max-width: 1600px;
}

.dmp-balance-board-head {
  align-items: flex-start;
  border-bottom: 1px solid var(--dmp-border);
  display: flex;
  gap: 16px;
  justify-content: space-between;
  padding: 18px 20px 14px;
}

.dmp-balance-board-head h2 {
  color: #25344d;
  font-size: 18px;
  margin: 0 0 5px;
}

.dmp-balance-grand-total {
  align-items: flex-end;
  display: flex;
  flex-direction: column;
  flex: 0 0 auto;
}

.dmp-balance-grand-total strong {
  color: #25344d;
  font-size: 22px;
  font-variant-numeric: tabular-nums;
}

.dmp-balance-grand-total span {
  color: #98a2b3;
  font-size: 11px;
  margin-top: 3px;
}

.dmp-token-grid {
  display: grid;
  gap: 14px;
  grid-template-columns: repeat(auto-fit, minmax(210px, 1fr));
  padding: 16px 20px 20px;
}

.dmp-token-card {
  background: rgba(250, 252, 255, 0.9);
  border: 1px solid #e6ebf2;
  border-radius: 8px;
  min-width: 0;
  padding: 15px;
}

.dmp-token-card-head,
.dmp-token-meta {
  align-items: center;
  display: flex;
  gap: 8px;
  justify-content: space-between;
}

.dmp-token-mark {
  align-items: center;
  border-radius: 50%;
  display: inline-flex;
  flex: 0 0 34px;
  font-size: 10px;
  font-weight: 700;
  height: 34px;
  justify-content: center;
}

.dmp-token-mark.usdt { background: #dff5e9; color: #149458; }
.dmp-token-mark.trx { background: #ffe3e5; color: #dc3b49; }
.dmp-token-mark.eth { background: #e7e9ff; color: #5964c7; }
.dmp-token-mark.other { background: #fff0d8; color: #b87413; }

.dmp-token-chain {
  color: #8490a0;
  font-size: 11px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.dmp-token-amount {
  color: #25344d;
  display: block;
  font-size: 21px;
  font-variant-numeric: tabular-nums;
  margin-top: 18px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.dmp-token-meta {
  color: #98a2b3;
  font-size: 10px;
  margin-top: 8px;
}

.dmp-token-meta span:last-child {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.dmp-token-track {
  background: #edf2f7;
  border-radius: 99px;
  height: 6px;
  margin-top: 13px;
  overflow: hidden;
}

.dmp-token-bar {
  border-radius: inherit;
  display: block;
  height: 100%;
  min-width: 0;
}

.dmp-token-bar.usdt { background: #20a56c; }
.dmp-token-bar.trx { background: #e34e5a; }
.dmp-token-bar.eth { background: #6974dc; }
.dmp-token-bar.other { background: #e1a03a; }

.dmp-token-empty {
  grid-column: 1 / -1;
  padding: 28px 12px;
}

.dmp-visit-stat-grid {
  display: grid;
  gap: 14px;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  margin: 0 auto 16px;
  max-width: 1600px;
}

.dmp-visit-stat-card {
  align-items: center;
  background: rgba(255, 255, 255, 0.96);
  border: 1px solid rgba(229, 234, 242, 0.96);
  border-radius: 8px;
  box-shadow: 0 5px 18px rgba(44, 62, 80, 0.05);
  display: flex;
  gap: 13px;
  min-height: 92px;
  padding: 16px;
}

.dmp-visit-stat-icon {
  align-items: center;
  border-radius: 11px;
  display: flex;
  flex: 0 0 44px;
  font-size: 11px;
  font-weight: 700;
  height: 44px;
  justify-content: center;
}

.dmp-visit-stat-card.blue .dmp-visit-stat-icon { background: #e7efff; color: #3a7be8; }
.dmp-visit-stat-card.green .dmp-visit-stat-icon { background: #e4f7ed; color: #269b65; }
.dmp-visit-stat-card.orange .dmp-visit-stat-icon { background: #fff1dd; color: #c27a1a; }
.dmp-visit-stat-card.red .dmp-visit-stat-icon { background: #ffebeb; color: #d15b63; }

.dmp-visit-stat-card strong,
.dmp-visit-stat-card span {
  display: block;
}

.dmp-visit-stat-card strong {
  color: #25344d;
  font-size: 24px;
  font-variant-numeric: tabular-nums;
  line-height: 1;
}

.dmp-visit-stat-card span {
  color: #7a8492;
  font-size: 12px;
  margin-top: 7px;
}

.dmp-visit-table {
  border-collapse: collapse;
  min-width: 960px;
  width: 100%;
}

.dmp-visit-table th,
.dmp-visit-table td {
  border-bottom: 1px solid #edf1f6;
  max-width: 240px;
  overflow: hidden;
  padding: 13px 12px;
  text-align: left;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.dmp-visit-table th {
  background: #fbfcfe;
  color: #667085;
  font-size: 12px;
  font-weight: 600;
}

.dmp-visit-table td {
  color: #475467;
  font-size: 13px;
}

.dmp-visit-table tbody tr:hover {
  background: #f8fbff;
}

.dmp-visit-table .dmp-visit-domain {
  color: var(--dmp-primary);
  font-weight: 600;
}

@media (max-width: 1260px) {
  .dmp-visit-stat-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 760px) {
  #dmp-workbench-page {
    padding: 16px 12px 28px;
  }

  .dmp-workbench-heading {
    align-items: flex-start;
    flex-direction: column;
    gap: 10px;
  }

  .dmp-workbench-actions {
    width: 100%;
  }

  .dmp-workbench-actions .dmp-button {
    flex: 1 1 140px;
  }

  .dmp-balance-board-head {
    padding-left: 15px;
    padding-right: 15px;
  }

  .dmp-token-grid {
    padding-left: 15px;
    padding-right: 15px;
  }

  .dmp-visit-stat-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .dmp-visit-stat-card {
    gap: 8px;
    min-height: 82px;
    padding: 11px;
  }

  .dmp-visit-stat-icon {
    flex-basis: 36px;
    height: 36px;
  }

  .dmp-visit-stat-card strong {
    font-size: 20px;
  }
}
