:root {
  --ink: #1a2433;
  --muted: #5b6675;
  --line: #e3e8ef;
  --bg: #eef2f6;
  --paper: #ffffff;
  --card: #ffffff;
  --side: #142033;
  --side-2: #1c2d46;
  --primary: #3d6fd8;
  --primary-2: #2f5cbe;
  --primary-soft: #e8f0fb;
  --accent: #3d6fd8;
  --mint: #3d6fd8;
  --mint-2: #2f5cbe;
  --mint-soft: #e8f0fb;
  --gold: #c98a12;
  --danger: #dc2626;
  --warn: #c27a00;
  --ok: #15803d;
  --bad: #dc2626;
  --radius: 18px;
  --shadow: 0 1px 2px rgba(15, 23, 42, .04), 0 14px 36px rgba(15, 23, 42, .06);
  --font: "Plus Jakarta Sans", "Segoe UI", system-ui, -apple-system, sans-serif;
}

html, body {
  min-height: 100%;
}

body.dhru-root,
body.dhru-auth-body {
  font-family: var(--font) !important;
  color: var(--ink);
  background: var(--bg) !important;
  letter-spacing: -.01em;
}

body.dhru-root #page-container {
  background: var(--bg) !important;
}

body.dhru-root #sidebar {
  background: linear-gradient(180deg, #1c2d46 0%, #142033 100%) !important;
}

body.dhru-root #sidebar .content-header,
body.dhru-root #sidebar .nav-main-link,
body.dhru-root #sidebar a {
  color: #cbd5e1;
}

body.dhru-root #page-header {
  background: rgba(255,255,255,.94) !important;
  border-bottom: 1px solid var(--line);
  box-shadow: none !important;
}

body.dhru-root #page-header .content-header {
  min-height: 66px;
  padding: 10px 18px;
}

body.dhru-root #main-container {
  background:
    radial-gradient(900px 280px at 0% 0%, rgba(61,111,216,.08), transparent 55%),
    var(--bg) !important;
}

body.dhru-root #page-header-loader {
  display: none !important;
}

#sidebar .dhru-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  color: #f8fafc !important;
  text-decoration: none !important;
  font-weight: 800;
  font-size: .98rem;
}

.dhru-mark {
  width: 36px;
  height: 36px;
  border-radius: 11px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--mint);
  color: #fff;
  flex-shrink: 0;
}

.dhru-nav {
  padding: 6px 0;
}

.dhru-nav-label {
  margin: 8px 10px 10px;
  font-size: .68rem;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: #94a3b8;
  font-weight: 700;
}

.dhru-nav-link {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 11px 12px;
  border-radius: 12px;
  color: #cbd5e1 !important;
  text-decoration: none !important;
  font-weight: 600;
  font-size: .94rem;
  margin-bottom: 4px;
  transition: background .15s ease, color .15s ease;
}

.dhru-nav-link i {
  width: 18px;
  text-align: center;
  opacity: .9;
}

.dhru-nav-link:hover {
  background: rgba(255,255,255,.06);
  color: #fff !important;
}

.dhru-nav-link.is-on {
  background: var(--primary);
  color: #fff !important;
  box-shadow: 0 8px 18px rgba(61, 111, 216, .22);
}

.dhru-side-user {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 12px;
  padding: 12px;
  border-radius: 14px;
  background: var(--side-2);
}

.dhru-side-user strong {
  display: block;
  font-size: .88rem;
  color: #f8fafc;
}

.dhru-side-user small {
  color: #94a3b8;
  font-size: .75rem;
}

.dhru-side-out {
  margin-left: auto;
  color: #94a3b8 !important;
  padding: 6px;
}

.dhru-avatar {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: #334155;
  color: #dbe7f8;
  font-weight: 800;
  font-size: .8rem;
  flex-shrink: 0;
}

.dhru-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  width: 100%;
}

.dhru-top-left,
.dhru-top-right {
  display: flex;
  align-items: center;
  gap: 12px;
}

.dhru-search {
  display: flex;
  align-items: center;
  gap: 10px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 0 14px;
  min-width: 320px;
  height: 42px;
}

.dhru-search i { color: var(--muted); }
.dhru-search input {
  border: 0;
  outline: none;
  width: 100%;
  background: transparent;
  font-family: inherit;
  font-size: .92rem;
}

.dhru-credit {
  background: var(--primary-soft);
  border: 1px solid #c5d6f0;
  border-radius: 999px;
  padding: 8px 14px;
  font-size: .85rem;
  color: #2f5cbe;
}

.dhru-credit b { color: var(--mint-2); font-weight: 800; }

.dhru-userbtn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  border: 1px solid var(--line);
  background: #fff;
  border-radius: 999px;
  padding: 5px 10px 5px 5px;
  font-family: inherit;
  font-weight: 600;
}

.dhru-userbtn i { font-size: .65rem; color: var(--muted); }

.dhru-menu {
  border: 1px solid var(--line) !important;
  border-radius: 14px !important;
  box-shadow: var(--shadow) !important;
  padding: 8px !important;
}

.dhru-wrap {
  width: min(1180px, calc(100% - 36px));
  margin: 0 auto;
  padding: 24px 0 40px;
  overflow-x: hidden;
}

.dhru-wrap-wide {
  width: min(1280px, calc(100% - 28px));
}

.dhru-page-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 16px;
  flex-wrap: wrap;
  margin: 0 0 24px;
}

.dhru-page-head h1 {
  font-size: 1.5rem;
  font-weight: 700;
  letter-spacing: -.03em;
  margin: 0 0 4px;
  color: var(--ink);
}

.dhru-page-head p {
  margin: 0;
  color: var(--muted);
  font-size: .95rem;
}

.dhru-btn,
.btn,
.btn-primary,
.btn-alt-primary,
.btn-alt-secondary,
.btn-sm {
  border-radius: 11px !important;
  font-weight: 700 !important;
  font-family: inherit !important;
  box-shadow: none !important;
}

.btn-primary,
.btn-alt-primary,
.dhru-btn-primary {
  background: var(--primary) !important;
  border: 0 !important;
  color: #fff !important;
  padding: .62rem 1rem;
}

.btn-primary:hover,
.dhru-btn-primary:hover {
  background: var(--primary-2) !important;
  color: #fff !important;
}

.btn-alt-secondary,
.dhru-btn-ghost {
  background: #fff !important;
  border: 1px solid var(--line) !important;
  color: var(--ink) !important;
}

.btn-danger { background: var(--danger) !important; border: 0 !important; }

.form-control,
.form-control-alt,
.form-select,
select.form-control,
.form-control-lg {
  border-radius: 12px !important;
  border: 1px solid #cbd5e1 !important;
  background: #fff !important;
  min-height: 46px;
  font-family: inherit !important;
  color: var(--ink) !important;
  box-shadow: none !important;
}

.form-control:focus {
  border-color: var(--primary) !important;
  box-shadow: 0 0 0 4px rgba(61, 111, 216, .16) !important;
}

.form-label {
  font-weight: 700;
  color: var(--ink);
  font-size: .86rem;
}

.block,
.block-rounded,
.dhru-panel {
  background: var(--card) !important;
  border: 1px solid var(--line) !important;
  border-radius: var(--radius) !important;
  box-shadow: var(--shadow) !important;
  overflow: hidden;
}

.block-header,
.block-header-default,
.dhru-panel-head {
  background: transparent !important;
  border-bottom: 1px solid var(--line) !important;
  padding: 16px 20px !important;
}

.block-title {
  font-weight: 800 !important;
  letter-spacing: -.02em;
  color: var(--ink) !important;
}

.block-content { padding: 20px !important; }

.dhru-stat {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 20px 18px;
  height: 100%;
  text-decoration: none !important;
  color: inherit;
  transition: transform .16s ease, box-shadow .16s ease;
}
.dhru-stat:hover {
  transform: translateY(-2px);
  box-shadow: 0 16px 32px rgba(11, 21, 19, .08);
}
.dhru-stat.is-balance .icon { background: var(--primary-soft); color: var(--primary-2); }
.dhru-stat.is-today .icon { background: #dbeafe; color: var(--accent); }
.dhru-stat.is-pending .icon { background: #fff4e0; color: var(--warn); }
.dhru-stat.is-rate .icon { background: #dbeafe; color: var(--accent); }

.dhru-stat .label {
  color: var(--muted);
  font-size: .75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .08em;
}

.dhru-stat .value {
  font-size: 1.7rem;
  font-weight: 800;
  margin-top: 6px;
  letter-spacing: -.04em;
}

.dhru-stat .icon {
  width: 42px;
  height: 42px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #e8f0fb;
  color: var(--mint);
}

.dhru-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 14px;
}

.dhru-tabs a {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 14px;
  border-radius: 999px;
  background: #fff;
  border: 1px solid var(--line);
  color: var(--ink);
  font-weight: 700;
  text-decoration: none;
  font-size: .9rem;
}

.dhru-tabs a em {
  font-style: normal;
  background: #e2e8f0;
  border-radius: 999px;
  padding: 1px 8px;
  font-size: .75rem;
  color: var(--muted);
}

.dhru-tabs a.is-on,
.dhru-tabs a.active {
  background: var(--side);
  border-color: var(--side);
  color: #fff;
}

.dhru-tabs a.is-on em,
.dhru-tabs a.active em {
  background: rgba(255,255,255,.12);
  color: #fff;
}

.dhru-toolbar {
  display: flex;
  gap: 10px;
  margin-bottom: 16px;
}

.dhru-toolbar .form-control { flex: 1; }

.table,
.dhru-table {
  --bs-table-bg: transparent;
  --bs-table-striped-bg: transparent;
}

.dhru-table thead th {
  font-size: .72rem;
  text-transform: uppercase;
  letter-spacing: .08em;
  color: var(--muted);
  font-weight: 800;
  background: #f8fafc;
  border-bottom: 1px solid var(--line) !important;
  padding: .9rem 1rem !important;
}

.dhru-table td {
  padding: 1rem !important;
  vertical-align: middle;
  border-color: var(--line) !important;
  background: #fff;
}

.dhru-muted { color: var(--muted); font-size: .82rem; }
.dhru-mono {
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: .88rem;
}

.dhru-code {
  display: block;
  max-width: 100%;
  overflow: visible;
  text-overflow: unset;
  white-space: normal;
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  background: #f1f5f9;
  color: var(--ink);
  border-radius: 8px;
  padding: 8px 10px;
  font-weight: 400;
  line-height: 1.5;
  word-break: break-word;
}

.dhru-result-wait { color: var(--warn); font-weight: 500; }
.dhru-result-bad { color: var(--danger); font-weight: 500; word-break: break-word; }

.dhru-icon-btn {
  width: 34px;
  height: 34px;
  border: 1px solid var(--line);
  background: #fff;
  border-radius: 10px;
  color: var(--ink);
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.dhru-badge {
  display: inline-flex;
  align-items: center;
  border-radius: 999px;
  padding: .28rem .7rem;
  font-size: .74rem;
  font-weight: 800;
}

.dhru-badge-ok { background: var(--primary-soft); color: var(--primary-2); }
.dhru-badge-pending { background: #f8edd3; color: #8a5a12; }
.dhru-badge-new { background: #e7eef8; color: #294a73; }
.dhru-badge-reject { background: #fde8e6; color: #9b2c28; }

.dhru-empty {
  text-align: center;
  padding: 64px 24px;
}

.dhru-empty .dhru-empty-art {
  width: 72px;
  height: 72px;
  margin: 0 auto 16px;
  border-radius: 22px;
  background: #e8f0fb;
  color: var(--mint);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.6rem;
}

.dhru-empty h3 { font-weight: 800; margin-bottom: 6px; }
.dhru-empty p { color: var(--muted); }

.dhru-pager {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  padding: 14px 18px;
  border-top: 1px solid var(--line);
  color: var(--muted);
}

.dhru-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 22px;
  height: 100%;
}

.dhru-card h3 { font-size: 1.08rem; font-weight: 800; margin: 0; }
.dhru-card-price { font-size: 1.55rem; font-weight: 800; letter-spacing: -.03em; margin-top: 8px; }
.dhru-card-price small { font-size: .78rem; color: var(--muted); font-weight: 700; }
.dhru-card-actions { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 18px; }

.dhru-kv > div {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding: 11px 0;
  border-bottom: 1px solid var(--line);
}

.dhru-kv span { color: var(--muted); font-weight: 600; }

.dhru-price-box {
  display: flex;
  justify-content: space-between;
  background: #f1f5f9;
  border-radius: 14px;
  padding: 16px;
}

.dhru-steps { padding-left: 18px; margin: 0; }
.dhru-steps li { margin: 0 0 12px; color: #334155; }

.dhru-help { color: var(--muted); font-size: .9rem; }

.dhru-foot {
  display: flex !important;
  justify-content: space-between;
  gap: 12px;
  padding: 16px 28px 28px !important;
  background: transparent !important;
  border: 0 !important;
  color: var(--muted);
  font-size: .82rem;
}

.dhru-copy { display: flex; gap: 8px; }
.dhru-copy input { flex: 1; }

body.dhru-root .dhru-wrap a:not(.btn):not(.dhru-nav-link) {
  color: var(--mint-2);
  font-weight: 700;
  text-decoration: none;
}

body.dhru-root .dhru-tabs a {
  color: var(--ink) !important;
}

body.dhru-root .dhru-tabs a.is-on,
body.dhru-root .dhru-tabs a.active {
  color: #fff !important;
}

body.dhru-auth-body #page-container,
body.dhru-auth-body #main-container,
body.dhru-auth-shell {
  padding: 0 !important;
  margin: 0 !important;
  min-height: 100vh;
  background: var(--side) !important;
}

.dhru-auth {
  min-height: 100vh;
  display: grid;
  grid-template-columns: 1.05fr .95fr;
}

.dhru-auth-side {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 72px;
  color: #e2e8f0;
  background:
    radial-gradient(circle at 20% 20%, rgba(61,111,216,.28), transparent 32%),
    linear-gradient(180deg, #1c2d46 0%, #142033 100%);
}

.dhru-auth-side h2 {
  font-size: 3rem;
  font-weight: 800;
  letter-spacing: -.05em;
  line-height: 1.05;
  max-width: 480px;
}

.dhru-auth-side p { color: #94a3b8; font-size: 1.08rem; max-width: 420px; }

.dhru-auth-points {
  list-style: none;
  padding: 0;
  margin: 36px 0 0;
}

.dhru-auth-points li {
  display: flex;
  gap: 12px;
  margin-bottom: 14px;
  color: #cbd5e1;
  font-weight: 600;
}

.dhru-auth-points i {
  color: var(--mint);
  margin-top: 3px;
}

.dhru-auth-panel {
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--paper);
  padding: 40px 24px;
}

.dhru-auth-card a {
  color: var(--mint-2);
  font-weight: 700;
  text-decoration: none;
}

.dhru-panel-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.dhru-auth-card h1 {
  font-weight: 800;
  letter-spacing: -.04em;
}

.modal-content {
  border: 0 !important;
  border-radius: 18px !important;
  overflow: hidden;
}

.modal .block,
.modal .block-rounded {
  box-shadow: none !important;
  border: 0 !important;
}

.btn-block-option {
  background: transparent !important;
  border: 0 !important;
}

@media (max-width: 991px) {
  .dhru-auth { grid-template-columns: 1fr; }
  .dhru-auth-side { display: none; }
  .dhru-search { min-width: 0; width: 160px; }
  .dhru-wrap { width: calc(100% - 24px); }
}

@media (max-width: 767px) {
  .dhru-table thead { display: none; }
  .dhru-table tbody tr {
    display: block;
    margin: 12px;
    border: 1px solid var(--line);
    border-radius: 14px;
  }
  .dhru-table tbody td {
    display: flex;
    justify-content: space-between;
    gap: 10px;
    border: 0 !important;
  }
  .dhru-table tbody td::before {
    content: attr(data-label);
    color: var(--muted);
    font-weight: 800;
    font-size: .72rem;
    text-transform: uppercase;
    letter-spacing: .04em;
    flex: 0 0 76px;
  }
  .dhru-pager { flex-direction: column; align-items: flex-start; }
  .dhru-search { display: none; }
}

.dhru-hist {
  background: transparent;
  border: 0;
  overflow: visible;
}

.dhru-hist-head {
  display: none !important;
}

.dhru-ticket,
.dhru-hist-row {
  display: block !important;
  grid-template-columns: none !important;
  grid-template-areas: none !important;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 16px;
  box-shadow: 0 1px 2px rgba(20, 32, 51, .05);
  padding: 18px 20px 16px !important;
  margin: 0 0 14px;
}

.dhru-ticket:last-child,
.dhru-hist-row:last-child {
  border-bottom: 1px solid var(--line) !important;
}

.dhru-ticket.is-pending,
.dhru-hist-row.is-pending {
  background: #fffdf6;
  border-color: #ead9b3;
}

.dhru-ticket-top {
  display: flex;
  flex-wrap: wrap;
  gap: 16px 28px;
  align-items: flex-start;
  padding-bottom: 14px;
  margin-bottom: 14px;
  border-bottom: 1px solid #edf1f6;
}

.dhru-hist-ref {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--primary-2);
  min-width: 56px;
  padding-top: 2px;
}

.dhru-hist-meta {
  display: grid;
  grid-template-columns: repeat(3, minmax(118px, 1fr));
  gap: 8px 18px;
  flex: 1 1 320px;
}

.dhru-hist-meta > div {
  margin-bottom: 0;
}

.dhru-hist-meta span {
  display: block;
  font-size: .68rem;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: #7a8492;
  font-weight: 600;
}

.dhru-hist-meta b {
  font-size: .86rem;
  font-weight: 600;
  color: var(--ink);
}

.dhru-hist-service {
  flex: 1 1 200px;
  min-width: 160px;
}

.dhru-hist-name {
  font-weight: 600;
  margin-bottom: 6px;
  line-height: 1.35;
}

.dhru-hist-price {
  font-weight: 700;
  padding-top: 2px;
}

.dhru-ticket-aside {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 8px;
  margin-left: auto;
  text-align: right;
}

.dhru-hist-result {
  margin-top: 0;
}

.dhru-result-box {
  position: relative;
  width: 100%;
  background: #f6f8fb;
  border: 1px solid #dbe3ee;
  border-radius: 12px;
  padding: 14px 16px;
  min-height: 46px;
  font-size: .9rem;
  line-height: 1.6;
  color: var(--ink);
}

.dhru-result-box.is-wait {
  color: #8a6d3b;
  font-weight: 500;
}

.dhru-result-toolbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 10px;
  margin-bottom: 8px;
}

.dhru-result-toolbar > span {
  font-size: .68rem;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: #7a8492;
}

.dhru-result-lines {
  padding-right: 0;
  word-break: break-word;
}
.dhru-result-lines > div {
  display: block;
  line-height: 1.6;
}

.dhru-copy-pill {
  position: static;
  margin: 0;
  border: 1px solid var(--line);
  background: #fff;
  border-radius: 8px;
  font-size: .75rem;
  font-weight: 600;
  padding: 4px 8px;
  color: #334155;
}

.dhru-ok { color: #15803d !important; font-weight: 500 !important; }
.dhru-bad { color: #dc2626 !important; font-weight: 500 !important; }
.dhru-warn { color: #c27a00 !important; font-weight: 500 !important; }

.dhru-dot {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-weight: 700;
  font-size: .88rem;
  white-space: nowrap;
}

.dhru-dot i {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: currentColor;
  display: inline-block;
}

.dhru-dot-pending { color: #d97706; }
.dhru-dot-done { color: var(--primary); }
.dhru-dot-reject { color: #dc2626; }

.dhru-details {
  width: 100%;
  border: 1px solid var(--line);
  background: #fff;
  border-radius: 10px;
  padding: 8px 10px;
  font-weight: 600;
  font-size: .84rem;
  color: #334155;
}

.dhru-hist-actions .dhru-details + .dhru-details {
  margin-top: 8px;
}

@media (max-width: 900px) {
  .dhru-hist-meta {
    grid-template-columns: 1fr 1fr 1fr;
    flex-basis: 100%;
  }
}

@media (max-width: 700px) {
  .dhru-hist-meta {
    grid-template-columns: 1fr;
  }
  .dhru-ticket-aside,
  .dhru-hist-actions .dhru-details {
    width: 100%;
    align-items: stretch;
    text-align: left;
  }
}

.dhru-livebar {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--primary-soft);
  color: var(--primary-2);
  border: 1px solid #c5d6f0;
  border-radius: 999px;
  padding: 6px 12px;
  font-size: .78rem;
  font-weight: 800;
}
.dhru-livebar em {
  font-style: normal;
}
.dhru-livebar.is-idle {
  background: #f3f6f9;
  color: #64748b;
  border-color: #e5e7eb;
}
.dhru-hist-row.is-pending {
  background: #fffdf8;
}
.dhru-result-box.is-wait {
  display: flex;
  align-items: center;
  gap: 8px;
}
.dhru-result-wait {
  display: inline-flex;
  align-items: center;
  gap: 7px;
}
.dhru-live-pulse {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--primary);
  display: inline-block;
  box-shadow: 0 0 0 0 rgba(61, 111, 216, .45);
  animation: dhru-pulse 1.4s ease-out infinite;
}
.dhru-livebar.is-idle .dhru-live-pulse,
.dhru-result-box.is-wait .dhru-live-pulse {
  background: #d97706;
  box-shadow: 0 0 0 0 rgba(217, 119, 6, .55);
}
.is-fresh {
  animation: dhru-fresh .9s ease;
}
@keyframes dhru-pulse {
  0% { transform: scale(.9); box-shadow: 0 0 0 0 currentColor; opacity: 1; }
  70% { transform: scale(1); box-shadow: 0 0 0 8px transparent; }
  100% { transform: scale(.9); box-shadow: 0 0 0 0 transparent; }
}
@keyframes dhru-fresh {
  from { background: #e8f0fb; }
  to { background: transparent; }
}

.dhru-mode {
  display: inline-flex;
  background: #f1f5f9;
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 4px;
  gap: 4px;
  margin-bottom: 18px;
}
.dhru-mode button {
  border: 0;
  background: transparent;
  color: var(--muted);
  font-weight: 800;
  font-size: .82rem;
  padding: 7px 16px;
  border-radius: 999px;
  cursor: pointer;
}
.dhru-mode button.is-on {
  background: #fff;
  color: var(--ink);
  box-shadow: var(--shadow);
}
.dhru-toolbar-filters {
  display: grid;
  grid-template-columns: minmax(180px, 1.4fr) minmax(140px, 1fr) 150px 150px auto auto;
  gap: 10px;
  align-items: center;
  margin-bottom: 18px;
}
.dhru-bars {
  display: flex;
  align-items: stretch;
  gap: 10px;
  height: 190px;
  padding: 8px 4px 0;
}
.dhru-bar {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  min-width: 0;
  height: 100%;
}
.dhru-bar-track {
  flex: 1;
  width: 100%;
  display: flex;
  align-items: flex-end;
  justify-content: center;
}
.dhru-bar-track span {
  display: block;
  width: 100%;
  max-width: 36px;
  border-radius: 10px 10px 4px 4px;
  background: linear-gradient(180deg, #7aa0ea, #3d6fd8);
  min-height: 6px;
}
.dhru-bar b {
  display: block;
  margin-top: 8px;
  font-size: .78rem;
}
.dhru-bar small {
  color: var(--muted);
  font-size: .72rem;
}
.dhru-kpi-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  margin-top: 18px;
  padding-top: 16px;
  border-top: 1px solid var(--line);
}
.dhru-kpi-row span {
  display: block;
  color: var(--muted);
  font-size: .75rem;
  font-weight: 700;
}
.dhru-kpi-row b {
  font-size: 1.1rem;
}
.dhru-bulk-head {
  font-weight: 800;
  margin-bottom: 10px;
}
.dhru-bulk-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.dhru-bulk-row {
  display: grid;
  grid-template-columns: minmax(120px, .8fr) auto minmax(140px, 1.4fr);
  gap: 10px;
  align-items: center;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 10px 12px;
}
.dhru-bulk-row.is-pending {
  background: #fffdf8;
}
.dhru-bulk-imei small {
  display: block;
  color: var(--muted);
  font-weight: 700;
}
.dhru-bulk-result {
  min-width: 0;
}
@media (max-width: 900px) {
  .dhru-toolbar-filters {
    grid-template-columns: 1fr 1fr;
  }
  .dhru-bulk-row,
  .dhru-kpi-row {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 575px) {
  .dhru-toolbar-filters {
    grid-template-columns: 1fr;
  }
  .dhru-page-head h1 {
    font-size: 1.45rem;
  }
}

.dhru-auth-card {
  width: min(400px, 100%);
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 28px 26px;
  box-shadow: var(--shadow);
}

.dhru-flash {
  border-radius: 12px;
  padding: 12px 14px;
  margin-bottom: 16px;
  font-weight: 700;
  font-size: .9rem;
}
.dhru-flash.is-bad {
  background: #fde8e6;
  color: #9b2c28;
}
.dhru-flash.is-ok {
  background: var(--primary-soft);
  color: var(--primary-2);
}

.dhru-hist-row > * {
  min-width: 0;
}

.dhru-result-cell,
.dhru-bulk-result,
.dhru-result-box,
.dhru-result-mini {
  overflow-wrap: anywhere;
  word-break: break-word;
}

.dhru-result-mini {
  font-size: .8rem;
  line-height: 1.55;
}
.dhru-result-mini > div {
  display: block;
}

.dhru-live-card .dhru-result-box {
  margin-top: 2px;
}

.dhru-bulk-list {
  max-height: 70vh;
  overflow: auto;
}

.dhru-inline-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  justify-content: flex-end;
}

#page-container.sidebar-mini .dhru-side-user {
  display: none;
}

.dhru-hist {
  overflow-x: hidden;
}

@media (max-width: 767px) {
  .dhru-copy-pill {
    position: static;
    margin: 0 0 8px;
  }
  .dhru-result-lines {
    padding-right: 0;
  }
  .dhru-page-head {
    align-items: flex-start;
  }
}

.dhru-table tbody tr.is-pending {
  background: #fffdf8;
}

.btn:disabled,
.dhru-details:disabled {
  opacity: .65;
  pointer-events: none;
}

.dhru-kv b.dhru-mono {
  text-align: right;
  word-break: break-all;
}

.dhru-kvline {
  display: grid;
  grid-template-columns: minmax(92px, 118px) 1fr;
  gap: 8px 12px;
  align-items: start;
  padding: 6px 0;
  border-bottom: 1px dashed var(--line);
}
.dhru-kvline:last-child {
  border-bottom: 0;
  padding-bottom: 0;
}
.dhru-kvline:first-child {
  padding-top: 0;
}
.dhru-kvline span {
  color: var(--muted);
  font-weight: 700;
  font-size: .72rem;
  letter-spacing: .04em;
  text-transform: uppercase;
  padding-top: 2px;
}
.dhru-kvline b {
  font-weight: 600;
  color: var(--ink);
  font-size: .88rem;
  line-height: 1.45;
}
.dhru-kvline-plain {
  grid-template-columns: 1fr;
}
.dhru-result-mini .dhru-kvline {
  grid-template-columns: 88px 1fr;
  padding: 3px 0;
}
.dhru-result-mini .dhru-kvline span {
  font-size: .64rem;
}
.dhru-result-mini .dhru-kvline b {
  font-size: .8rem;
}

.dhru-card {
  transition: transform .16s ease, box-shadow .16s ease;
}
.dhru-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 16px 32px rgba(11, 21, 19, .08);
}

.dhru-steps {
  list-style: none;
  padding: 0;
  margin: 0;
  counter-reset: dhru-step;
}
.dhru-steps li {
  counter-increment: dhru-step;
  display: flex;
  gap: 12px;
  margin: 0 0 14px;
  color: #334155;
  line-height: 1.45;
}
.dhru-steps li:last-child { margin-bottom: 0; }
.dhru-steps li::before {
  content: counter(dhru-step);
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: var(--mint-soft);
  color: var(--mint-2);
  font-weight: 800;
  font-size: .78rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  margin-top: 1px;
}

.dhru-menu .dropdown-item {
  border-radius: 10px;
  font-weight: 600;
  padding: 8px 12px;
}
.dhru-menu .dropdown-item:hover {
  background: var(--mint-soft);
  color: var(--mint-2);
}

body.dhru-root #sidebar .content-side {
  padding: 8px 12px 20px;
}

.dhru-copy-pill:hover,
.dhru-copy-pill.is-copied {
  background: var(--mint-soft);
  border-color: #c5d6f0;
  color: var(--mint-2);
}

[data-notify="container"] {
  border-radius: 12px !important;
  box-shadow: var(--shadow) !important;
  font-family: var(--font) !important;
}

.dhru-hist-row {
  transition: background .15s ease;
}
.dhru-hist-row:hover {
  background: #f7f9fc;
}
.dhru-hist-row.is-pending:hover {
  background: #fff8ea;
}

@media (max-width: 700px) {
  .dhru-kvline,
  .dhru-result-mini .dhru-kvline {
    grid-template-columns: 1fr;
    gap: 2px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .dhru-live-pulse,
  .is-fresh,
  .dhru-stat,
  .dhru-card {
    animation: none;
    transition: none;
  }
}

.dhru-hist .dhru-empty {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 16px;
}
.dhru-rline {
  display: block;
  padding: 4px 0;
  line-height: 1.6;
  font-size: .92rem;
  color: var(--ink);
}
.dhru-rlabel {
  color: #5b6675;
  font-weight: 500;
}
.dhru-ok,
.dhru-result-box .dhru-ok,
.dhru-result-lines .dhru-ok { color: #15803d !important; font-weight: 500 !important; }
.dhru-bad,
.dhru-result-box .dhru-bad,
.dhru-result-lines .dhru-bad { color: #dc2626 !important; font-weight: 500 !important; }
.dhru-warn,
.dhru-result-box .dhru-warn,
.dhru-result-lines .dhru-warn { color: #c27a00 !important; font-weight: 500 !important; }
.dhru-result-mini .dhru-rline {
  font-size: .82rem;
  padding: 2px 0;
}
.dhru-pager {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 16px;
  margin-top: 4px;
  padding: 14px 18px;
}

.dhru-note {
  background: #eef4fc;
  border: 1px solid #d3e0f2;
  color: #2f4a73;
  border-radius: 12px;
  padding: 10px 14px;
  font-size: .88rem;
  line-height: 1.45;
  margin: 0 0 18px;
}
.dhru-imei {
  display: inline-block;
  background: #f3f6fa;
  border: 1px solid #e3e8ef;
  border-radius: 8px;
  padding: 3px 8px;
  font-size: .82rem;
  letter-spacing: .02em;
}
.dhru-queue {
  margin-top: 18px;
  background: #f7f9fc;
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 14px;
}
.dhru-queue-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 10px;
  margin-bottom: 10px;
}
.dhru-queue-head strong {
  font-size: .92rem;
}
.dhru-queue-head span {
  font-size: .75rem;
  color: var(--muted);
  font-weight: 600;
}
.dhru-toolbar-filters {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 12px;
}
.dhru-price-box {
  border: 1px solid var(--line);
}
.dhru-mode {
  width: 100%;
  max-width: 280px;
}
.dhru-mode button {
  flex: 1;
}
