:root {
  --wb-bg: #f4f6f8;
  --wb-panel: #ffffff;
  --wb-border: #e6e9ef;
  --wb-text: #1f2937;
  --wb-muted: #6b7280;
  --wb-brand-blue: #0085f7;
  --wb-brand-yellow: #ffbc00;
  --wb-blue: #0074d9;
  --wb-blue-hover: #0068c9;
  --wb-blue-soft: #eaf5ff;
  --wb-blue-border: #b8dcff;
  --wb-teal: #0f766e;
  --wb-green: #16a34a;
  --wb-red: #dc2626;
  --wb-amber: #d97706;
  --wb-gray: #64748b;
  --wb-text-secondary: #475569;
  --wb-control-border: #cbd5e1;
  --wb-control-hover: #94a3b8;
  --wb-focus-ring: rgba(0, 133, 247, 0.15);
  --wb-side-bg: #171a21;
  --wb-side-bg-elevated: #1d212a;
  --wb-side-text: #aeb7c5;
  --wb-side-text-strong: #f8fafc;
  --wb-side-icon: #7f8a9b;
}

body.wb-console {
  background: var(--wb-bg);
  color: var(--wb-text);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "PingFang SC", "Microsoft YaHei", "Helvetica Neue", Arial, sans-serif;
  font-size: 14px;
  line-height: 1.5;
  letter-spacing: 0;
}

.wb-console button,
.wb-console input,
.wb-console textarea,
.wb-console select {
  font-family: inherit;
  letter-spacing: 0;
}

.wb-console .layui-input,
.wb-console .layui-textarea {
  border-color: var(--wb-control-border);
  border-radius: 4px;
  color: var(--wb-text);
  font-size: 14px;
  font-weight: 400;
  line-height: 1.5;
  transition: border-color .16s ease, box-shadow .16s ease, background-color .16s ease;
}

.wb-console .layui-input {
  height: 38px;
}

.wb-console .layui-textarea {
  padding: 10px 12px;
}

.wb-console .layui-input:hover,
.wb-console .layui-textarea:hover {
  border-color: var(--wb-control-hover) !important;
}

.wb-console .layui-input:focus,
.wb-console .layui-textarea:focus {
  border-color: var(--wb-blue) !important;
  box-shadow: 0 0 0 3px var(--wb-focus-ring);
}

.wb-console .layui-input::placeholder,
.wb-console .layui-textarea::placeholder {
  color: #9ca3af;
  opacity: 1;
}

.wb-console .layui-input:disabled,
.wb-console .layui-textarea:disabled,
.wb-console .layui-input[readonly] {
  color: var(--wb-muted);
  background: #f8fafc;
  cursor: not-allowed;
}

.wb-console .layui-btn {
  --wb-btn-height: 38px;
  --wb-btn-padding: 14px;
  display: inline-flex;
  appearance: none;
  box-sizing: border-box;
  align-items: center;
  justify-content: center;
  gap: 6px;
  height: var(--wb-btn-height);
  min-height: var(--wb-btn-height);
  margin: 0;
  padding: 0 var(--wb-btn-padding);
  border-width: 1px;
  border-style: solid;
  border-color: var(--wb-blue);
  border-radius: 4px;
  color: #ffffff;
  background: var(--wb-blue);
  font-size: 13px;
  font-weight: 600;
  line-height: 1;
  vertical-align: middle;
  white-space: nowrap;
}

.wb-console .layui-btn + .layui-btn {
  margin-left: 0;
}

.wb-console .layui-btn.layui-btn-sm {
  --wb-btn-height: 34px;
  --wb-btn-padding: 12px;
  font-size: 12px;
}

.wb-console .layui-btn.layui-btn-xs {
  --wb-btn-height: 28px;
  --wb-btn-padding: 9px;
  font-size: 12px;
}

.wb-console .layui-btn.layui-btn-primary,
.wb-console .layui-btn.layui-btn-normal,
.wb-console .layui-btn.layui-btn-danger,
.wb-console .layui-btn.layui-btn-warm {
  height: var(--wb-btn-height);
  min-height: var(--wb-btn-height);
  padding-right: var(--wb-btn-padding);
  padding-left: var(--wb-btn-padding);
}

.wb-console .layui-btn i {
  flex: 0 0 auto;
  margin: 0;
  line-height: 1;
}

.wb-console .layui-btn-primary {
  border-color: var(--wb-control-border);
  color: var(--wb-text-secondary);
  background: #ffffff;
}

.wb-console .layui-btn-primary:hover {
  border-color: var(--wb-blue);
  color: var(--wb-blue);
  background: var(--wb-blue-soft);
}

.wb-console .layui-btn-normal {
  border-color: var(--wb-blue);
  background: var(--wb-blue);
}

.wb-console .layui-btn-normal:hover {
  border-color: var(--wb-blue-hover);
  color: #ffffff;
  background: var(--wb-blue-hover);
}

.wb-console .layui-btn-danger {
  border-color: var(--wb-red);
  color: #ffffff;
  background: var(--wb-red);
}

.wb-console .layui-btn-danger:hover {
  border-color: #b91c1c;
  color: #ffffff;
  background: #b91c1c;
}

.wb-console .layui-btn-warm {
  border-color: var(--wb-amber);
  color: #ffffff;
  background: var(--wb-amber);
}

.wb-console input[type="checkbox"],
.wb-console input[type="radio"] {
  accent-color: var(--wb-blue);
}

.wb-console .layui-btn[disabled],
.wb-console .layui-btn.layui-btn-disabled {
  opacity: .55;
  cursor: not-allowed;
}

.wb-console button:focus-visible,
.wb-console a:focus-visible {
  outline: 2px solid rgba(0, 133, 247, .38);
  outline-offset: 2px;
}

#wb-page-actions {
  display: flex;
  align-items: center;
  gap: 8px;
}

.wb-header .layui-layout-left .layui-nav-item > a,
.wb-header .layui-layout-right .layui-nav-item > a {
  display: flex;
  height: 42px;
  align-items: center;
  gap: 7px;
  line-height: 1;
  box-sizing: border-box;
}

.layui-layout-admin .wb-header {
  height: 70px;
  min-height: 70px;
  background: #ffffff;
  border-bottom: 1px solid var(--wb-border);
  box-shadow: 0 1px 3px rgba(15, 23, 42, 0.045);
}

.wb-header .layui-nav {
  background: transparent;
}

.wb-header .layui-layout-left,
.wb-header .layui-layout-right {
  display: flex;
  height: 70px;
  align-items: center;
}

.wb-header .layui-layout-left {
  gap: 4px;
  padding: 0 24px;
}

.wb-header .layui-layout-left > .layui-nav-item,
.wb-header .layui-layout-right > .layui-nav-item {
  display: flex;
  height: 70px;
  align-items: center;
  line-height: 70px;
}

.wb-header .layui-layout-right > .layui-nav-item {
  margin: 0 2px;
}

.wb-header .layui-layout-left > .layui-nav-item {
  margin: 0 2px;
}

.wb-header .layui-nav .layui-nav-item a,
.wb-header .layui-nav .layui-nav-item a:hover {
  color: var(--wb-text);
}

.wb-header .layui-layout-left > .layui-nav-item > a,
.wb-header .layui-layout-right > .layui-nav-item > a {
  border-radius: 5px;
  transition: color .16s ease, background-color .16s ease;
}

.wb-header .layui-layout-left > .layui-nav-item > a:hover,
.wb-header .layui-layout-right > .layui-nav-item > a:hover {
  background: #f5f8fb;
}

.wb-header .layui-nav .layui-this::after,
.wb-header .layui-nav-bar {
  display: none;
}

.wb-header .layui-nav-child {
  top: 63px;
  border: 1px solid var(--wb-border);
  border-radius: 5px;
  box-shadow: 0 12px 30px rgba(15, 23, 42, .14);
}

.wb-header .layadmin-flexible > a,
.wb-header-icon-link {
  width: 42px;
  justify-content: center;
  padding: 0 !important;
}

.wb-header .layadmin-flexible i,
.wb-header-icon-link i {
  color: var(--wb-text-secondary);
  font-size: 16px;
}

.wb-product-title {
  padding: 0 14px 0 10px;
  cursor: default;
}

.wb-product-copy {
  display: grid;
  min-width: 0;
  line-height: 1.2;
}

.wb-product-copy strong {
  color: var(--wb-text);
  font-size: 14px;
  font-weight: 700;
}

.wb-product-copy small {
  margin-top: 2px;
  color: var(--wb-muted);
  font-size: 11px;
  font-weight: 400;
}

.wb-language-control {
  display: inline-flex;
  position: relative;
  align-items: center;
  height: 34px;
  gap: 8px;
  padding: 0 4px;
}

.wb-language-control > span {
  width: 1px;
  height: 14px;
  background: var(--wb-border);
}

.wb-language-control button {
  display: inline-flex;
  position: relative;
  height: 32px;
  align-items: center;
  justify-content: center;
  padding: 0 2px;
  border: 0;
  color: var(--wb-muted);
  background: transparent;
  cursor: pointer;
  font-size: 12px;
  line-height: 1;
  transition: color .16s ease;
}

.wb-language-control button::after {
  position: absolute;
  right: 2px;
  bottom: 1px;
  left: 2px;
  height: 2px;
  border-radius: 2px;
  background: var(--wb-blue);
  content: "";
  opacity: 0;
  transform: scaleX(.45);
  transition: opacity .16s ease, transform .16s ease;
}

.wb-language-control button:hover {
  color: var(--wb-text);
}

.wb-language-control button.active {
  color: var(--wb-blue);
  font-weight: 700;
}

.wb-language-control button.active::after {
  opacity: 1;
  transform: scaleX(1);
}

.wb-language-control button:focus-visible {
  outline-offset: 1px;
}

.wb-timezone-indicator {
  display: flex;
  height: 36px !important;
  align-items: center;
  gap: 6px;
  padding: 0 10px;
  color: var(--wb-muted) !important;
  font-size: 12px;
  font-weight: 600;
  line-height: 1 !important;
  letter-spacing: 0;
}

.wb-timezone-indicator i,
.wb-timezone-indicator span {
  color: inherit !important;
}

.wb-timezone-indicator i {
  color: var(--wb-blue) !important;
  font-size: 13px;
}

.wb-notification-link {
  position: relative;
  width: 42px;
  justify-content: center;
  padding: 0 !important;
}

.wb-notification-link .fa-bell {
  display: block;
  margin: 0;
  color: var(--wb-text-secondary);
  font-size: 15px;
  line-height: 1;
}

.wb-notification-link .layui-badge-dot {
  position: absolute;
  top: 6px;
  right: 6px;
  width: 6px;
  height: 6px;
  margin: 0;
  border: 2px solid #ffffff;
  box-sizing: content-box;
}

.wb-user-trigger {
  height: 48px !important;
  gap: 10px !important;
  padding: 3px 9px !important;
}

.wb-user-avatar {
  display: inline-grid;
  flex: 0 0 auto;
  width: 34px;
  height: 34px;
  place-items: center;
  border-radius: 50%;
  color: #ffffff;
  background: var(--wb-blue);
  font-size: 13px;
  font-weight: 750;
}

.wb-user-identity {
  display: grid;
  min-width: 0;
  line-height: 1.2;
}

.wb-header [data-current-user] {
  display: block;
  max-width: 150px;
  overflow: hidden;
  color: var(--wb-text);
  font-size: 13px;
  font-style: normal;
  font-weight: 650;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.wb-user-identity small {
  margin-top: 2px;
  color: var(--wb-muted);
  font-size: 11px;
  font-weight: 400;
}

.wb-user-chevron {
  color: #8b98a9;
  font-size: 10px;
}

.wb-user-menu > a .layui-nav-more {
  display: none;
}

.wb-impersonation-banner {
  position: fixed;
  top: 70px;
  left: 220px;
  right: 0;
  z-index: 1000;
  display: flex;
  min-height: 44px;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 6px 20px;
  color: #7a4200;
  background: #fff7e6;
  border-bottom: 1px solid #f4cf8d;
  box-sizing: border-box;
  box-shadow: 0 1px 2px rgba(15, 23, 42, .05);
}

.wb-impersonation-banner[hidden] {
  display: none;
}

.wb-impersonation-message,
.wb-impersonation-banner .layui-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.wb-impersonation-message {
  min-width: 0;
  font-size: 13px;
}

.wb-impersonation-message strong,
.wb-impersonation-admin {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.wb-impersonation-admin {
  color: #8a5b1d;
}

.wb-is-impersonating .layui-layout-admin .wb-body {
  top: 114px !important;
}

.wb-side .layui-logo,
.layui-layout-admin .wb-logo {
  cursor: pointer;
  display: flex;
  height: 80px;
  align-items: center;
  justify-content: center;
  padding: 0 24px;
  line-height: 80px;
  background: var(--wb-side-bg) !important;
  border-bottom: 1px solid rgba(255, 255, 255, .08);
  box-shadow: none;
  transition: width .2s ease, padding .2s ease;
  overflow: hidden;
}

.wb-side {
  overflow: hidden;
  background: var(--wb-side-bg) !important;
  border-right: 1px solid rgba(15, 23, 42, .18);
  box-shadow: 2px 0 10px rgba(15, 23, 42, .08);
}

.wb-side .layui-side-scroll {
  background: var(--wb-side-bg);
  scrollbar-color: #394150 transparent;
  scrollbar-width: thin;
}

.wb-side .layui-nav {
  margin-top: 80px;
  padding: 18px 10px 30px;
  background: transparent !important;
  box-sizing: border-box;
}

.wb-side .layui-nav-tree .layui-nav-item {
  margin: 3px 0;
  background: transparent !important;
}

.wb-side .layui-nav-tree .layui-nav-item > a {
  display: flex;
  align-items: center;
  height: 54px;
  margin: 0;
  padding: 0 34px 0 15px;
  border-radius: 6px;
  color: var(--wb-side-text);
  font-size: 14px;
  font-weight: 500;
  line-height: 54px;
  transition: color .16s ease, background-color .16s ease, box-shadow .16s ease;
}

.wb-side .layui-nav-tree .layui-nav-item > a cite {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.wb-side .layui-nav-tree .layui-nav-item > a:hover {
  color: var(--wb-side-text-strong);
  background: rgba(255, 255, 255, .055);
}

.wb-side .layui-nav-tree > .layui-nav-item.layui-this,
.wb-side .layui-nav-tree .layui-nav-child dd.layui-this {
  background: transparent !important;
}

.wb-side .layui-nav-tree > .layui-nav-item.layui-this > a,
.wb-side .layui-nav-tree .layui-nav-child dd.layui-this > a {
  color: #ffffff !important;
  background: rgba(0, 133, 247, .18) !important;
  box-shadow: inset 3px 0 0 var(--wb-brand-blue);
}

.wb-side .layui-nav-tree > .layui-nav-item.layui-nav-itemed > a {
  color: var(--wb-side-text-strong);
  background: rgba(255, 255, 255, .035);
}

.wb-side .layui-nav-tree .layui-nav-child {
  position: relative;
  margin: 3px 0 8px;
  padding: 4px 0 !important;
  background: transparent !important;
}

.wb-side .layui-nav-tree .layui-nav-child::before {
  content: "";
  position: absolute;
  top: 10px;
  bottom: 10px;
  left: 17px;
  width: 1px;
  background: rgba(255, 255, 255, .1);
}

.wb-side .layui-nav-tree .layui-nav-child dd {
  margin: 1px 0;
  background: transparent !important;
}

.wb-side .layui-nav-tree .layui-nav-child dd > a {
  display: flex;
  align-items: center;
  height: 48px;
  margin-left: 20px;
  padding: 0 12px 0 17px !important;
  border-radius: 6px;
  color: var(--wb-side-text);
  font-size: 14px;
  font-weight: 500;
  line-height: 48px;
}

.wb-side .layui-nav-tree .layui-nav-child dd > a::before {
  content: "";
  flex: 0 0 auto;
  width: 6px;
  height: 6px;
  margin-right: 11px;
  border: 1px solid #667285;
  border-radius: 50%;
  box-sizing: border-box;
}

.wb-side .layui-nav-tree .layui-nav-child dd > a:hover {
  color: #e7edf5;
  background: rgba(255, 255, 255, .045);
}

.wb-side .layui-nav-tree .layui-nav-child dd.layui-this > a::before {
  border-color: var(--wb-brand-blue);
  background: var(--wb-brand-blue);
  box-shadow: 0 0 0 3px rgba(0, 133, 247, .12);
}

.wb-side .layui-nav-tree .layui-nav-more {
  right: 14px;
  border-top-color: #6f7b8c;
}

.wb-side .layui-nav-tree .layui-nav-mored,
.wb-side .layui-nav-tree .layui-nav-itemed > a .layui-nav-more {
  border-color: transparent transparent #aeb7c5;
}

.wb-side .layui-nav-tree .layui-nav-bar {
  display: none;
  background: var(--wb-brand-blue) !important;
}

.wb-logo-img {
  display: block;
  width: 160px;
  height: auto;
  max-height: 30px;
  max-width: none;
  transition: margin .2s ease;
}

.wb-side .layui-nav-item .fa-solid,
.wb-side .layui-nav-item .fa-regular {
  width: 18px;
  margin-right: 8px;
  color: var(--wb-side-icon);
  font-size: 14px;
  text-align: center;
  transition: color .16s ease;
}

.wb-side .layui-nav-item > a:hover .fa-solid,
.wb-side .layui-nav-item > a:hover .fa-regular,
.wb-side .layui-nav-item.layui-this > a .fa-solid,
.wb-side .layui-nav-item.layui-this > a .fa-regular,
.wb-side .layui-nav-item.layui-nav-itemed > a .fa-solid,
.wb-side .layui-nav-item.layui-nav-itemed > a .fa-regular {
  color: var(--wb-brand-blue);
}

.wb-body {
  top: 70px !important;
  background: var(--wb-bg);
  overflow-y: auto;
  overflow-x: hidden;
}

.wb-page-shell {
  padding: 10px 28px 32px;
}

.wb-page-titlebar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  min-height: 68px;
  margin-bottom: 14px;
  padding: 8px 0;
  background: transparent;
  border: 0;
  border-radius: 0;
  box-shadow: none;
  box-sizing: border-box;
}

.wb-page-title-main {
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
}

.wb-page-title-icon {
  display: inline-flex;
  flex: 0 0 auto;
  align-items: center;
  justify-content: center;
  width: 30px;
  height: 30px;
  border-radius: 0;
  color: var(--wb-blue);
  background: transparent;
  font-size: 18px;
}

.wb-page-titlebar h1 {
  margin: 0;
  font-size: 24px;
  line-height: 1.3;
  font-weight: 700;
  color: var(--wb-text);
  overflow-wrap: anywhere;
}

.wb-content {
  padding: 0;
}

.wb-section-gap {
  margin-top: 16px;
}

.wb-grid {
  display: grid;
  gap: 16px;
}

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

.wb-grid.cols-3 {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.wb-grid.cols-4 {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.wb-panel {
  background: var(--wb-panel);
  border: 1px solid var(--wb-border);
  border-radius: 8px;
  box-shadow: 0 1px 2px rgba(15, 23, 42, 0.03);
}

.wb-panel-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 14px 16px;
  border-bottom: 1px solid var(--wb-border);
}

.wb-panel-title {
  color: #111827;
  font-size: 15px;
  font-weight: 700;
  line-height: 1.45;
}

.wb-panel-body {
  padding: 16px;
  color: var(--wb-text);
  font-size: 13px;
  line-height: 1.55;
}

.wb-stat {
  min-height: 112px;
  padding: 16px;
}

.wb-stat-label {
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--wb-muted);
  font-size: 13px;
}

.wb-stat-value {
  margin-top: 10px;
  font-size: 28px;
  line-height: 1.2;
  font-weight: 700;
}

.wb-stat-meta {
  margin-top: 10px;
  color: var(--wb-muted);
  font-size: 12px;
}

.wb-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 14px;
}

.wb-toolbar .layui-btn-sm,
.wb-matrix-tools .layui-btn-sm {
  height: 38px;
}

.wb-filterbar {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
}

.wb-table-wrap {
  overflow-x: auto;
  scrollbar-width: thin;
  scrollbar-color: #b7c0cc transparent;
}

.wb-table {
  width: 100%;
  min-width: 780px;
  border-collapse: collapse;
}

.wb-table.wb-table-compact {
  min-width: 640px;
}

.wb-table th,
.wb-table td {
  padding: 10px;
  border-bottom: 1px solid var(--wb-border);
  text-align: left;
  vertical-align: middle;
}

.wb-table th {
  color: var(--wb-muted);
  background: #f8fafc;
  font-weight: 700;
  font-size: 12px;
  white-space: nowrap;
}

.wb-table th + th {
  border-left: 1px solid #edf0f4;
}

.wb-table td {
  font-size: 13px;
  line-height: 1.45;
}

@media (min-width: 521px) {
  .wb-table tbody tr {
    transition: background-color .14s ease;
  }

  .wb-table tbody tr:hover,
  .wb-table tbody tr:focus-within {
    background: #f8fafc;
  }
}

.wb-row-actions {
  display: inline-flex;
  gap: 6px;
  white-space: nowrap;
}

.wb-row-actions .layui-btn {
  display: inline-flex;
  align-items: center;
  gap: 5px;
}

.wb-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 22px;
  padding: 0 8px;
  border-radius: 4px;
  font-size: 12px;
  line-height: 22px;
  border: 1px solid transparent;
}

.wb-badge.ok {
  color: #166534;
  background: #dcfce7;
  border-color: #bbf7d0;
}

.wb-badge.danger {
  color: #991b1b;
  background: #fff8f8;
  border-color: #fecaca;
}

.wb-badge.warn {
  color: #92400e;
  background: #fef3c7;
  border-color: #fde68a;
}

.wb-badge.muted {
  color: #475569;
  background: #f1f5f9;
  border-color: #e2e8f0;
}

.wb-badge.info {
  color: var(--wb-blue);
  background: var(--wb-blue-soft);
  border-color: var(--wb-blue-border);
}

.wb-type {
  font-family: Consolas, Monaco, monospace;
  font-size: 12px;
  color: #334155;
  overflow-wrap: anywhere;
}

.wb-scope-counts {
  display: inline-flex;
  gap: 10px;
  white-space: nowrap;
}

.wb-scope-counts span {
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

.wb-scope-counts i {
  color: #94a3b8;
  font-size: 11px;
}

.wb-scope-counts .wb-pollution-scope {
  justify-content: center;
  min-width: 22px;
}

.wb-scope-counts .wb-pollution-scope i {
  font-size: 13px;
}

.wb-component-overview {
  display: inline-flex;
  align-items: center;
  min-width: 0;
}

.wb-component-overview .wb-badge {
  white-space: nowrap;
}

.wb-progress-badge {
  position: relative;
  width: 148px;
  max-width: 100%;
  padding: 0;
  overflow: hidden;
  isolation: isolate;
  box-sizing: border-box;
  background: #fff1f2;
  border-color: #fca5a5;
}

.wb-progress-badge-fill {
  position: absolute;
  z-index: 0;
  inset: 0 auto 0 0;
  width: var(--wb-progress, 0%);
  background: #fecaca;
  pointer-events: none;
}

.wb-progress-badge-label {
  position: relative;
  z-index: 1;
  display: block;
  width: 100%;
  padding: 0 8px;
  box-sizing: border-box;
  color: #991b1b;
  text-align: center;
  line-height: 22px;
}

.wb-history-toolbar {
  margin-bottom: 16px;
}

.wb-history-toolbar .wb-filter-controls {
  display: grid;
  grid-template-columns: repeat(5, minmax(140px, 1fr)) auto;
  width: 100%;
}

.wb-history-run {
  display: flex;
  flex-direction: column;
  gap: 3px;
}

.wb-history-result-table .wb-cell-meta {
  margin-top: 4px;
}

.wb-history-result-table tr.is-offline td {
  color: var(--wb-muted);
  background: #f8fafc;
}

@media (max-width: 1180px) {
  .wb-history-toolbar .wb-filter-controls {
    grid-template-columns: repeat(3, minmax(150px, 1fr));
  }
}

@media (max-width: 760px) {
  .wb-history-toolbar .wb-filter-controls {
    grid-template-columns: 1fr;
  }

  .wb-component-overview {
    align-items: flex-end;
  }
}

.wb-tabs {
  display: flex;
  gap: 6px;
  border-bottom: 1px solid var(--wb-border);
  margin-bottom: 14px;
}

.wb-tab,
.wb-invoice-tab {
  padding: 10px 12px;
  border: 0;
  background: transparent;
  color: var(--wb-muted);
  cursor: pointer;
}

.wb-tab.active,
.wb-invoice-tab.active {
  color: var(--wb-blue);
  border-bottom: 2px solid var(--wb-blue);
  font-weight: 700;
}

.wb-summary-strip {
  display: grid;
  grid-template-columns: repeat(7, minmax(110px, 1fr));
  gap: 10px;
  margin-bottom: 16px;
}

.wb-summary-item {
  border: 1px solid var(--wb-border);
  border-radius: 8px;
  background: #ffffff;
  padding: 12px;
}

.wb-summary-item > span {
  display: block;
  color: var(--wb-muted);
  font-size: 12px;
}

.wb-summary-item strong {
  display: block;
  margin-top: 6px;
  font-size: 20px;
}

.wb-summary-item.has-danger {
  border-color: #fecaca;
  background: #fffafa;
  box-shadow: inset 3px 0 0 #ef4444;
}

.wb-summary-item.has-danger > span {
  color: #991b1b;
}

.wb-summary-badge {
  min-width: 34px;
  min-height: 30px;
  padding: 0 10px;
  font-size: 18px;
  font-weight: 700;
  line-height: 30px;
}

.wb-matrix-tools {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  align-items: center;
  margin-bottom: 12px;
}

.wb-matrix-note {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 12px;
  color: var(--wb-muted);
  font-size: 13px;
  line-height: 1.5;
}

.wb-matrix-note i {
  color: #64748b;
}

.wb-matrix {
  min-width: 840px;
  border: 1px solid var(--wb-border);
  border-radius: 8px;
  overflow: hidden;
}

.wb-matrix-row {
  display: grid;
  grid-template-columns: 220px 130px 120px repeat(3, minmax(140px, 1fr)) 150px;
  border-bottom: 1px solid var(--wb-border);
}

.wb-matrix-row:last-child {
  border-bottom: 0;
}

.wb-matrix-row.is-offline {
  color: #64748b;
  background: #f8fafc;
}

.wb-matrix-row.is-offline .wb-matrix-cell {
  color: #64748b;
}

.wb-matrix-head {
  background: #f8fafc;
  color: var(--wb-muted);
  font-weight: 700;
  font-size: 12px;
}

.wb-matrix-cell {
  padding: 9px 10px;
  border-right: 1px solid var(--wb-border);
  min-height: 46px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.wb-matrix-cell:last-child {
  border-right: 0;
}

.wb-component {
  width: 100%;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 4px;
  cursor: pointer;
  overflow: hidden;
  text-align: left;
  white-space: normal;
}

.wb-component small {
  color: var(--wb-muted);
  overflow-wrap: anywhere;
}

.wb-node-identity {
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 3px;
}

.wb-node-identity strong,
.wb-node-identity code {
  overflow-wrap: anywhere;
}

.wb-node-identity code {
  color: #64748b;
  font-size: 11px;
}

.wb-node-id-meta {
  display: inline-flex;
  align-items: baseline;
  gap: 4px;
  min-width: 0;
  color: var(--wb-muted);
  font-size: 11px;
}

.wb-node-id-meta code {
  color: inherit;
  font-size: inherit;
}

.wb-node-id-inline {
  margin-left: 6px;
  color: var(--wb-muted);
  font-size: 11px;
  font-weight: 400;
}

.wb-offline-component {
  color: #94a3b8;
  font-weight: 700;
}

.wb-sparkline {
  height: 180px;
  display: flex;
  align-items: end;
  gap: 8px;
  padding: 18px 4px 0;
}

.wb-bar {
  flex: 1;
  min-width: 12px;
  background: var(--wb-brand-blue);
  border-radius: 4px 4px 0 0;
}

.wb-chart {
  width: 100%;
  min-width: 0;
}

.wb-chart-canvas {
  position: relative;
  width: 100%;
  height: 320px;
  min-height: 240px;
}

.wb-chart-canvas canvas {
  display: block;
  width: 100% !important;
  height: 100% !important;
}

.wb-chart-empty,
.wb-chart-unavailable {
  display: grid;
  min-height: 240px;
  place-items: center;
  color: var(--wb-muted);
  font-size: 14px;
}

.wb-chart-unavailable[hidden] {
  display: none;
}

.wb-chart-legend {
  display: flex;
  flex-wrap: wrap;
  gap: 6px 18px;
  min-height: 30px;
  margin-bottom: 10px;
  color: var(--wb-muted);
  font-size: 12px;
}

.wb-chart-legend button {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  height: 28px;
  margin: 0;
  padding: 0;
  border: 0;
  color: inherit;
  background: transparent;
  font: inherit;
  cursor: pointer;
  transition: color .16s ease, opacity .16s ease;
}

.wb-chart-legend button:hover {
  color: var(--wb-text);
}

.wb-chart-legend button.is-muted {
  opacity: .45;
}

.wb-chart-legend i {
  width: 18px;
  height: 3px;
  border-radius: 4px;
  background: var(--wb-chart-series);
}

.wb-stat-filter {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  margin-bottom: 14px;
}

.wb-stat-filter .layui-input {
  width: 190px;
  height: 30px;
}

.wb-stat-filter .layui-form-select {
  flex: 0 0 190px;
  width: 190px;
}

.wb-stat-filter .layui-btn-sm {
  height: 30px;
  padding: 0 10px;
}

.wb-grid.cols-4.wb-recharge-summary {
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
  margin-bottom: 16px;
}

.wb-recharge-summary .wb-stat {
  min-height: 90px;
  padding: 14px;
}

.wb-recharge-summary .wb-stat-value {
  font-size: 24px;
  line-height: 1.25;
}

.wb-recharge-main {
  max-width: 100%;
}

.wb-recharge-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 0;
  margin: -16px -16px 16px;
  border-bottom: 1px solid var(--wb-border);
  background: #f8fafc;
}

.wb-recharge-tab {
  height: 44px;
  padding: 0 18px;
  border: 0;
  border-right: 1px solid var(--wb-border);
  background: transparent;
  color: var(--wb-muted);
  font-size: 13px;
  font-weight: 700;
  cursor: pointer;
}

.wb-recharge-tab.active {
  color: var(--wb-text);
  background: #ffffff;
  box-shadow: inset 0 3px 0 var(--wb-blue);
}

.wb-recharge-notice {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  margin-bottom: 16px;
  padding: 10px 12px;
  border: 1px solid var(--wb-blue-border);
  border-radius: 6px;
  background: var(--wb-blue-soft);
  color: #1e3a8a;
  font-size: 13px;
  line-height: 1.6;
}

.wb-recharge-notice i {
  margin-top: 3px;
}

.wb-recharge-form {
  margin-bottom: 16px;
}

.wb-form-row {
  display: grid;
  grid-template-columns: 130px minmax(0, 1fr);
  gap: 12px;
  align-items: center;
  margin-bottom: 14px;
}

.wb-form-label {
  color: var(--wb-text-secondary);
  font-size: 13px;
  font-weight: 600;
  line-height: 20px;
  text-align: right;
}

.wb-credit-preview {
  font-size: 18px;
  font-weight: 800;
  color: #dc2626;
}

.wb-recharge-currency {
  width: 220px;
  height: 36px;
  padding: 0 10px;
  border: 1px solid var(--wb-border);
  border-radius: 4px;
  background: #ffffff;
  color: var(--wb-text);
}

.wb-amount-line {
  display: flex;
  max-width: 280px;
}

.wb-amount-line .layui-input {
  border-radius: 4px 0 0 4px;
}

.wb-amount-suffix {
  display: inline-flex;
  align-items: center;
  min-width: 58px;
  padding: 0 10px;
  border: 1px solid var(--wb-border);
  border-left: 0;
  border-radius: 0 4px 4px 0;
  background: #f8fafc;
  color: var(--wb-muted);
  font-size: 12px;
}

.wb-form-hint {
  grid-column: 2;
  margin-top: -6px;
  color: var(--wb-muted);
  font-size: 12px;
  font-weight: 400;
  line-height: 1.5;
}

.wb-recharge-minimum-hint {
  color: var(--wb-text-secondary);
}

.wb-recharge-amount-error {
  color: var(--wb-red);
  font-weight: 600;
}

.wb-recharge-amount[aria-invalid="true"] {
  border-color: var(--wb-red) !important;
  box-shadow: 0 0 0 2px rgba(220, 38, 38, .08);
}

.wb-transfer-minimum {
  color: var(--wb-text);
  font-size: 14px;
  font-weight: 700;
}

.wb-pay-card-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  width: min(100%, 560px);
  gap: 12px;
}

.wb-coin-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.wb-pay-card,
.wb-coin-card {
  position: relative;
  display: flex;
  align-items: center;
  gap: 10px;
  min-height: 62px;
  padding: 10px 12px;
  border: 1px solid var(--wb-border);
  border-radius: 6px;
  background: #ffffff;
  cursor: pointer;
  box-sizing: border-box;
}

.wb-pay-card {
  width: auto;
  min-width: 0;
}

.wb-coin-card {
  width: 180px;
  flex-direction: column;
  align-items: flex-start;
  gap: 4px;
}

.wb-pay-card input,
.wb-coin-card input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.wb-pay-card.active,
.wb-coin-card.active {
  border-color: var(--wb-blue);
  box-shadow: 0 0 0 2px var(--wb-focus-ring);
}

.wb-pay-card.active::after,
.wb-coin-card.active::after {
  content: "";
  position: absolute;
  top: 8px;
  right: 8px;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--wb-blue);
}

.wb-pay-logo {
  display: block;
  width: 34px;
  height: 34px;
  object-fit: contain;
  border-radius: 6px;
  background: #f1f5f9;
  padding: 6px;
  box-sizing: border-box;
}

.wb-pay-card > span {
  display: grid;
  min-width: 0;
  gap: 3px;
}

.wb-pay-card .wb-pay-card-title {
  display: flex;
  align-items: center;
  gap: 7px;
}

.wb-pay-icons {
  display: inline-flex;
  gap: 4px;
  align-items: center;
}

.wb-pay-coin-icon {
  display: block;
  width: 19px;
  height: 19px;
  object-fit: contain;
}

.wb-coin-head {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.wb-coin-logo {
  display: block;
  width: 30px;
  height: 30px;
  object-fit: contain;
}

.wb-pay-card small,
.wb-coin-card small {
  color: var(--wb-muted);
  font-size: 12px;
}

.wb-rate-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  margin: 16px 0;
}

.wb-rate-grid div {
  padding: 12px;
  border: 1px solid var(--wb-border);
  border-radius: 6px;
  background: #f8fafc;
}

.wb-rate-grid span {
  display: block;
  margin-bottom: 6px;
  color: var(--wb-muted);
  font-size: 12px;
}

.wb-rate-grid strong {
  color: var(--wb-text);
}

.wb-form-actions {
  margin-left: 142px;
}

.wb-recent-funding-list {
  display: grid;
}

.wb-recent-funding-head,
.wb-recent-funding-item {
  display: grid;
  grid-template-columns: minmax(250px, 1.2fr) minmax(210px, 1fr) minmax(210px, .85fr) 100px 96px;
  gap: 16px;
  align-items: center;
}

.wb-recent-funding-head {
  padding: 0 8px 10px;
  border-bottom: 1px solid var(--wb-border);
  color: var(--wb-muted);
  font-size: 12px;
  font-weight: 700;
}

.wb-recent-funding-item {
  min-height: 66px;
  padding: 12px 8px;
  border-bottom: 1px solid var(--wb-border);
}

.wb-recent-funding-item:last-child {
  border-bottom: 0;
}

.wb-recent-funding-primary {
  display: flex;
  gap: 10px;
  align-items: center;
  min-width: 0;
}

.wb-recent-funding-icon {
  display: inline-flex;
  flex: 0 0 32px;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  border-radius: 6px;
  background: var(--wb-blue-soft);
  color: var(--wb-blue);
  font-size: 13px;
}

.wb-recent-funding-primary > div,
.wb-recent-funding-method,
.wb-recent-funding-amount {
  display: grid;
  gap: 4px;
  min-width: 0;
}

.wb-recent-funding-primary strong,
.wb-recent-funding-method strong,
.wb-recent-funding-amount strong {
  overflow: hidden;
  color: var(--wb-text);
  font-size: 13px;
  font-weight: 700;
  line-height: 1.45;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.wb-recent-funding-primary small,
.wb-recent-funding-method small,
.wb-recent-funding-amount small {
  overflow: hidden;
  color: var(--wb-muted);
  font-size: 12px;
  font-weight: 400;
  line-height: 1.45;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.wb-recent-funding-primary small {
  font-family: Consolas, Monaco, monospace;
}

.wb-recent-funding-amount strong {
  font-size: 14px;
}

.wb-recent-funding-state {
  justify-self: start;
}

.wb-recent-funding-action {
  display: flex;
  justify-self: end;
  width: 96px;
}

.wb-console .wb-recent-funding-action .layui-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  box-sizing: border-box;
  width: 96px;
  min-width: 96px;
  margin: 0;
  white-space: nowrap;
}

.wb-recent-funding-footer {
  display: flex;
  justify-content: flex-end;
  padding-top: 14px;
}

.wb-recent-funding-footer a {
  display: inline-flex;
  gap: 7px;
  align-items: center;
  color: var(--wb-blue);
  font-size: 13px;
  font-weight: 600;
}

.wb-recent-funding-footer a:hover {
  color: var(--wb-blue-hover);
}

@media (max-width: 900px) {
  .wb-recent-funding-head {
    display: none;
  }

  .wb-recent-funding-item {
    display: grid;
    grid-template-areas:
      "primary state"
      "method action"
      "amount action";
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 9px 16px;
    padding: 16px 4px;
  }

  .wb-recent-funding-primary { grid-area: primary; }
  .wb-recent-funding-method { grid-area: method; }
  .wb-recent-funding-amount { grid-area: amount; }
  .wb-recent-funding-state { grid-area: state; }
  .wb-recent-funding-action { grid-area: action; }

  .wb-recent-funding-action {
    align-self: end;
  }
}

@media (max-width: 640px) {
  .wb-recent-funding-item {
    grid-template-areas:
      "primary"
      "state"
      "method"
      "amount"
      "action";
    grid-template-columns: minmax(0, 1fr);
    gap: 10px;
  }

  .wb-recent-funding-state,
  .wb-recent-funding-action {
    justify-self: start;
  }

  .wb-console .wb-recent-funding-action .layui-btn {
    height: 32px;
  }
}

.wb-doc-page {
  border: 1px solid var(--wb-border);
  border-radius: 8px;
  background: #ffffff;
}

.wb-doc-markdown {
  padding: 22px 24px;
  color: var(--wb-text);
  line-height: 1.75;
}

.wb-doc-markdown h1 {
  font-size: 24px;
  font-weight: 800;
  margin: 0 0 16px;
}

.wb-doc-markdown h2 {
  font-size: 20px;
  font-weight: 800;
  margin: 24px 0 12px;
  padding-top: 8px;
  border-top: 1px solid var(--wb-border);
}

.wb-doc-markdown h3,
.wb-doc-markdown h4 {
  font-size: 16px;
  font-weight: 800;
  margin: 18px 0 10px;
}

.wb-doc-markdown p,
.wb-doc-markdown ul,
.wb-doc-markdown ol {
  margin: 8px 0;
}

.wb-doc-markdown code {
  padding: 1px 5px;
  border-radius: 4px;
  background: #f1f5f9;
  color: #0f172a;
  font-family: Consolas, Monaco, monospace;
  font-size: 12px;
}

.wb-doc-markdown pre {
  overflow-x: auto;
  margin: 12px 0;
  padding: 12px;
  border-radius: 6px;
  background: #0f172a;
}

.wb-doc-markdown pre code {
  padding: 0;
  background: transparent;
  color: #e2e8f0;
}

.wb-doc-language-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin: 12px 0 18px;
  padding: 10px 12px;
  border: 1px solid var(--wb-border);
  border-radius: 6px;
  background: #f8fafc;
}

.wb-doc-language-toolbar > span {
  color: #475569;
  font-size: 13px;
  font-weight: 700;
}

.wb-doc-language-toolbar > div {
  display: inline-grid;
  grid-template-columns: repeat(4, minmax(70px, auto));
  overflow: hidden;
  border: 1px solid #cbd5e1;
  border-radius: 5px;
  background: #ffffff;
}

.wb-doc-language-toolbar button {
  min-height: 32px;
  padding: 0 13px;
  border: 0;
  border-right: 1px solid #cbd5e1;
  color: #475569;
  background: #ffffff;
  font: inherit;
  font-size: 13px;
  cursor: pointer;
}

.wb-doc-language-toolbar button:last-child {
  border-right: 0;
}

.wb-doc-language-toolbar button:hover,
.wb-doc-language-toolbar button.active {
  color: var(--wb-blue);
  background: #eef6ff;
}

.wb-doc-language-toolbar button.active {
  font-weight: 700;
  box-shadow: inset 0 -2px 0 var(--wb-blue);
}

.wb-doc-code-example {
  margin: 10px 0 22px;
}

.wb-doc-code-frame {
  overflow: hidden;
  border: 1px solid #1e293b;
  border-radius: 6px;
  background: #0f172a;
}

.wb-doc-code-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 38px;
  padding: 0 10px 0 14px;
  border-bottom: 1px solid #263449;
  color: #94a3b8;
  font-size: 12px;
  font-weight: 700;
}

.wb-doc-code-meta button {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  min-height: 30px;
  padding: 0 8px;
  border: 0;
  color: #cbd5e1;
  background: transparent;
  font: inherit;
  cursor: pointer;
}

.wb-doc-code-meta button:hover {
  color: #ffffff;
}

.wb-doc-markdown .wb-doc-code-frame pre {
  margin: 0;
  border-radius: 0;
  background: transparent;
}

.wb-doc-request-example {
  margin: 12px 0 18px;
  border: 1px solid var(--wb-border);
  border-radius: 6px;
  background: #ffffff;
}

.wb-doc-request-example > summary {
  display: flex;
  align-items: center;
  gap: 9px;
  min-height: 42px;
  padding: 0 13px;
  color: #334155;
  font-size: 13px;
  font-weight: 700;
  cursor: pointer;
  list-style: none;
}

.wb-doc-request-example > summary::-webkit-details-marker {
  display: none;
}

.wb-doc-request-example > summary::after {
  content: "+";
  margin-left: auto;
  color: #64748b;
  font-size: 18px;
  font-weight: 400;
}

.wb-doc-request-example[open] > summary::after {
  content: "−";
}

.wb-doc-request-example .wb-doc-code-example {
  margin: 0;
  padding: 0 12px 12px;
  border-top: 1px solid var(--wb-border);
}

.wb-doc-request-example .wb-doc-language-toolbar {
  margin: 12px 0;
}

.wb-doc-table-wrap {
  overflow: auto;
  margin: 12px 0;
}

.wb-doc-table {
  min-width: 640px;
  width: 100%;
  border-collapse: collapse;
}

.wb-doc-table th,
.wb-doc-table td {
  border: 1px solid var(--wb-border);
  padding: 8px 10px;
  text-align: left;
  vertical-align: top;
}

.wb-doc-table th {
  background: #f8fafc;
  font-weight: 700;
}

.wb-flow {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
}

.wb-flow-step {
  border: 1px solid var(--wb-border);
  border-radius: 8px;
  padding: 14px;
  background: #ffffff;
}

.wb-flow-step i {
  color: var(--wb-teal);
  margin-right: 8px;
}

.wb-json {
  min-height: 190px;
  padding: 14px;
  background: #0f172a;
  color: #d1fae5;
  border-radius: 8px;
  overflow: auto;
  font-family: Consolas, Monaco, monospace;
  font-size: 12px;
  line-height: 1.7;
}

.wb-form-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.wb-empty {
  padding: 36px;
  text-align: center;
  color: var(--wb-muted);
}

.wb-data-state {
  display: flex;
  min-height: 280px;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 12px;
  color: var(--wb-muted);
}

.wb-data-state > i {
  color: var(--wb-blue);
  font-size: 28px;
}

.wb-data-state.error > i {
  color: var(--wb-red);
}

.wb-muted {
  color: var(--wb-muted);
  font-size: 12px;
}

.wb-date-range {
  display: inline-flex;
  align-items: center;
  min-height: 30px;
  gap: 7px;
  color: var(--wb-muted);
  font-size: 12px;
}

.wb-side-mini .layui-side {
  width: 60px;
}

.wb-side-mini .layui-layout-admin .wb-logo {
  width: 60px;
  padding: 0;
  justify-content: flex-start;
}

.wb-side-mini .wb-logo-img {
  width: 208px;
  height: 34px;
  max-height: none;
  margin-left: 8px;
  clip-path: inset(0 166px 0 0);
}

.wb-side-mini .layui-body,
.wb-side-mini .layui-layout-left {
  left: 60px;
}

.wb-side-mini .wb-impersonation-banner {
  left: 60px;
}

.wb-side-mini .layui-side cite,
.wb-side-mini .layui-nav-child {
  display: none;
}

.wb-side-mini .layui-side-menu .layui-nav {
  width: 60px;
  padding: 14px 6px 22px;
}

.wb-side-mini .layui-side-menu .layui-nav-item > a {
  justify-content: center;
  width: 48px;
  height: 54px;
  padding: 0;
  text-align: center;
  box-sizing: border-box;
}

.wb-side-mini .wb-side .layui-nav-item .fa-solid,
.wb-side-mini .wb-side .layui-nav-item .fa-regular {
  width: 18px;
  margin-right: 0;
}

.wb-side-mini .layui-side-menu .layui-nav-more {
  display: none;
}

@media (max-width: 1300px) {
  .wb-alert-table .wb-row-actions span {
    display: none;
  }
}

@media (max-width: 1100px) {
  .wb-header .wb-user-identity {
    display: none;
  }

  .wb-grid.cols-4,
  .wb-grid.cols-3,
  .wb-grid.cols-2,
  .wb-flow {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .wb-summary-strip {
    grid-template-columns: repeat(3, minmax(110px, 1fr));
  }
}

@media (max-width: 992px) {
  .wb-impersonation-banner {
    left: 0;
  }

  .wb-impersonation-admin {
    display: none;
  }

  #LAY_app.layadmin-side-spread-sm .layui-body,
  #LAY_app.layadmin-side-spread-sm .layui-layout-left,
  #LAY_app.layadmin-side-spread-sm .layui-layout-right {
    transform: none;
  }

  #LAY_app.layadmin-side-spread-sm .wb-body {
    overflow: hidden;
  }
}

@media (max-width: 760px) {
  .wb-impersonation-banner {
    height: 44px;
    padding: 5px 8px;
  }

  .wb-impersonation-message > span,
  .wb-impersonation-banner .layui-btn span {
    display: none;
  }

  .wb-impersonation-message strong {
    max-width: min(48vw, 190px);
  }

  .wb-impersonation-banner .layui-btn {
    width: 34px;
    min-width: 34px;
    padding: 0;
    justify-content: center;
  }

  .wb-page-shell {
    padding: 8px 18px 24px;
  }

  .wb-page-titlebar {
    align-items: center;
    flex-direction: row;
    margin-bottom: 14px;
    padding: 8px 0;
  }

  .wb-page-title-main {
    min-width: 0;
  }

  .wb-page-titlebar h1 {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
  }

  #wb-page-actions {
    flex: 0 0 auto;
    margin-left: auto;
  }

  #wb-page-actions .wb-action-label {
    display: none;
  }

  #wb-page-actions .layui-btn {
    width: 38px;
    min-width: 38px;
    padding: 0;
    justify-content: center;
  }

  .wb-content {
    padding: 0;
  }

  .wb-grid.cols-4,
  .wb-grid.cols-3,
  .wb-grid.cols-2,
  .wb-flow,
  .wb-form-grid {
    grid-template-columns: 1fr;
  }

  .wb-summary-strip {
    grid-template-columns: repeat(2, minmax(110px, 1fr));
  }

  .wb-form-row {
    grid-template-columns: 1fr;
    gap: 6px;
  }

  .wb-form-label {
    text-align: left;
  }

  .wb-form-hint {
    grid-column: 1;
    margin-top: 0;
  }

  .wb-form-actions {
    margin-left: 0;
  }

  .wb-recharge-currency,
  .wb-form-row .layui-form-select,
  .wb-amount-line,
  .wb-pay-card,
  .wb-coin-card {
    width: 100%;
    max-width: none;
  }

  .wb-pay-card-grid {
    grid-template-columns: 1fr;
    width: 100%;
  }

  .wb-recharge-tabs {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .wb-recharge-tab {
    width: 100%;
    padding: 0 6px;
    line-height: 1.25;
  }

  .wb-rate-grid {
    grid-template-columns: 1fr;
  }

  .wb-grid.cols-4.wb-recharge-summary {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

/* User-facing workflow surfaces */
.wb-dashboard-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 16px;
  margin-top: 16px;
}

.wb-dashboard-action-grid {
  display: grid;
  grid-template-columns: minmax(0, 2fr) minmax(300px, 1fr);
  gap: 16px;
  margin-top: 16px;
}

.wb-dashboard-action-grid > .wb-panel {
  height: 100%;
}

.wb-dashboard-start-panel .wb-panel-body,
.wb-dashboard-notification-panel .wb-panel-body {
  height: calc(100% - 51px);
  box-sizing: border-box;
}

.wb-dashboard-start-panel .wb-panel-body {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.wb-dashboard-flow {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  min-height: 58px;
}

.wb-dashboard-step {
  display: grid;
  grid-template-columns: 28px 20px minmax(0, 1fr);
  gap: 8px;
  align-items: center;
  min-width: 0;
  padding: 7px 14px;
  border-left: 1px solid var(--wb-border);
}

.wb-dashboard-step:first-child {
  padding-left: 0;
  border-left: 0;
}

.wb-dashboard-step > span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  color: var(--wb-blue);
  background: #eaf4ff;
  font-size: 13px;
  font-weight: 700;
}

.wb-dashboard-step > i {
  color: #64748b;
  font-size: 14px;
  text-align: center;
}

.wb-dashboard-step > strong {
  overflow-wrap: anywhere;
  font-size: 13px;
  line-height: 1.35;
}

.wb-dashboard-flow-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 16px;
}

.wb-dashboard-flow-actions .layui-btn {
  margin: 0;
}

.wb-dashboard-notice-list {
  display: grid;
}

.wb-dashboard-notice-item {
  display: grid;
  grid-template-columns: 36px minmax(0, 1fr) auto;
  gap: 10px;
  align-items: center;
  min-height: 50px;
  padding: 8px 0;
  border-bottom: 1px solid var(--wb-border);
  color: var(--wb-text);
}

.wb-dashboard-notice-item:last-child {
  border-bottom: 0;
}

.wb-dashboard-notice-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  border-radius: 6px;
  color: #475569;
  background: #f1f5f9;
}

.wb-dashboard-notice-icon.telegram {
  color: #087dbb;
  background: #e7f5fd;
}

.wb-dashboard-notice-icon.messages {
  color: #2563eb;
  background: #edf4ff;
}

.wb-dashboard-notice-copy {
  display: grid;
  gap: 3px;
  min-width: 0;
}

.wb-dashboard-notice-copy strong,
.wb-dashboard-notice-copy small {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.wb-dashboard-notice-copy small {
  color: var(--wb-muted);
}

.wb-dashboard-notice-item b {
  min-width: 28px;
  color: var(--wb-muted);
  font-size: 17px;
  text-align: right;
}

.wb-dashboard-notice-item b.has-unread {
  color: var(--wb-blue);
}

.wb-dashboard-notice-action {
  display: flex;
  justify-content: flex-end;
  min-width: 0;
}

.wb-dashboard-notice-action .layui-btn {
  margin: 0;
  white-space: nowrap;
}

.wb-dashboard-balance-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
}

.wb-dashboard-balance-meta strong {
  color: var(--wb-text);
  font-weight: 600;
}

.wb-dashboard-threshold-button {
  display: inline-flex;
  flex: 0 0 auto;
  align-items: center;
  justify-content: center;
  width: 26px;
  height: 26px;
  margin: -5px 0;
  padding: 0;
  border: 1px solid transparent;
  border-radius: 5px;
  color: var(--wb-muted);
  background: transparent;
  cursor: pointer;
}

.wb-dashboard-threshold-button:hover,
.wb-dashboard-threshold-button:focus-visible {
  border-color: #bfdbfe;
  color: var(--wb-blue);
  background: #eff6ff;
  outline: 0;
}

.wb-stat.is-warning {
  border-color: #f0cd78;
  box-shadow: inset 3px 0 0 #eab308, 0 1px 2px rgba(15, 23, 42, .03);
}

.wb-quick-actions {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
  margin-top: 14px;
}

.wb-quick-actions a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 38px;
  border: 1px solid var(--wb-border);
  border-radius: 4px;
  color: var(--wb-text);
  background: #f8fafc;
}

.wb-filter-controls {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
}

.wb-sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.wb-icon-button {
  display: inline-flex;
  flex: 0 0 auto;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  padding: 0;
  border: 1px solid var(--wb-control-border);
  border-radius: 4px;
  color: #475569;
  background: #ffffff;
  cursor: pointer;
  box-sizing: border-box;
}

.wb-icon-button:hover,
.wb-icon-button:focus-visible {
  border-color: var(--wb-control-hover);
  color: var(--wb-blue);
  background: #f8fafc;
}

.wb-icon-button.primary {
  border-color: var(--wb-blue-border);
  color: var(--wb-blue);
  background: var(--wb-blue-soft);
}

.wb-icon-button.danger {
  color: var(--wb-red);
}

.wb-field-action {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 38px;
  gap: 8px;
  align-items: center;
  width: 100%;
}

.wb-field-action .layui-form-select {
  min-width: 0;
}

.wb-table-check {
  display: inline-flex;
  width: 100%;
  align-items: center;
  justify-content: center;
}

.wb-console .wb-table-check input[type="checkbox"] {
  margin: 0;
}

.wb-bulk-bar {
  display: flex;
  min-height: 48px;
  margin: 0 0 10px;
  padding: 8px 10px 8px 14px;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  border: 1px solid var(--wb-blue-border);
  border-radius: 5px;
  color: #1e3a8a;
  background: var(--wb-blue-soft);
  box-sizing: border-box;
}

.wb-bulk-bar[hidden] {
  display: none;
}

.wb-bulk-bar > span {
  flex: 0 0 auto;
  font-size: 13px;
  font-weight: 500;
}

.wb-bulk-bar.is-busy {
  opacity: 0.72;
}

.wb-bulk-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: flex-end;
  gap: 8px;
}

.wb-bulk-task-actions,
.wb-bulk-group-actions {
  display: flex;
  align-items: center;
  gap: 8px;
}

.wb-bulk-task-actions .layui-btn {
  width: 88px;
}

.wb-bulk-group-actions .layui-form-select {
  width: 210px;
}

.wb-bulk-actions .layui-btn {
  display: inline-flex;
  height: 38px;
  margin: 0;
  padding: 0 14px;
  align-items: center;
  justify-content: center;
  gap: 6px;
  line-height: 1;
}

.wb-monitor-list-footer {
  margin-top: 12px;
}

.wb-monitor-list-footer .wb-pagination {
  padding: 0;
}

.wb-bulk-actions button:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}

.wb-filter-controls select,
.wb-field select,
.wb-explorer-form select {
  min-width: 140px;
  height: 38px;
  padding: 0 32px 0 10px;
  border: 1px solid #d7dce3;
  border-radius: 4px;
  color: var(--wb-text);
  background: #ffffff;
}

.wb-content .layui-form-select,
.wb-dialog-content.layui-form .layui-form-select {
  width: 100%;
  min-width: 0;
  color: var(--wb-text);
  font-size: 14px;
}

.wb-content .layui-form-select .layui-select-title,
.wb-dialog-content.layui-form .layui-form-select .layui-select-title {
  position: relative;
}

.wb-content .layui-form-select .layui-select-title::after,
.wb-dialog-content.layui-form .layui-form-select .layui-select-title::after {
  content: "\f078";
  position: absolute;
  top: 50%;
  right: 13px;
  color: var(--wb-muted);
  font-family: "Font Awesome 6 Free";
  font-size: 11px;
  font-weight: 900;
  line-height: 1;
  pointer-events: none;
  transform: translateY(-50%);
  transition: transform .16s ease, color .16s ease;
}

.wb-content .layui-form-selected .layui-select-title::after,
.wb-dialog-content.layui-form .layui-form-selected .layui-select-title::after {
  color: var(--wb-blue);
  transform: translateY(-50%) rotate(180deg);
}

.wb-content .layui-form-select .layui-edge,
.wb-dialog-content.layui-form .layui-form-select .layui-edge {
  display: none;
}

.wb-content .layui-form-select .layui-input,
.wb-dialog-content.layui-form .layui-form-select .layui-input {
  height: 38px;
  padding: 0 38px 0 12px;
  border-color: var(--wb-control-border);
  color: var(--wb-text);
  background: #ffffff;
  cursor: pointer;
}

.wb-content .layui-form-select .layui-input:hover,
.wb-dialog-content.layui-form .layui-form-select .layui-input:hover {
  border-color: var(--wb-control-hover) !important;
}

.wb-content .layui-form-selected .layui-input,
.wb-dialog-content.layui-form .layui-form-selected .layui-input {
  border-color: var(--wb-blue) !important;
  box-shadow: 0 0 0 3px var(--wb-focus-ring);
}

.wb-content .layui-form-select dl,
.wb-dialog-content.layui-form .layui-form-select dl {
  top: 42px;
  max-height: 280px;
  padding: 5px;
  border: 1px solid var(--wb-control-border);
  border-radius: 6px;
  background: #ffffff;
  box-shadow: 0 12px 28px rgba(15, 23, 42, .16);
}

.wb-content .layui-form-selectup dl,
.wb-dialog-content.layui-form .layui-form-selectup dl {
  top: auto;
  bottom: 42px;
}

.wb-content .layui-form-select dl dd,
.wb-dialog-content.layui-form .layui-form-select dl dd {
  min-height: 36px;
  margin: 1px 0;
  padding: 0 10px;
  border-radius: 4px;
  color: var(--wb-text-secondary);
  font-size: 13px;
  line-height: 36px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.wb-content .layui-form-select dl dd:hover,
.wb-dialog-content.layui-form .layui-form-select dl dd:hover {
  color: var(--wb-blue);
  background: var(--wb-blue-soft);
}

.wb-content .layui-form-select dl dd.layui-this,
.wb-dialog-content.layui-form .layui-form-select dl dd.layui-this {
  color: #ffffff;
  background: var(--wb-blue);
}

.wb-content select[aria-invalid="true"] + .layui-form-select .layui-input {
  border-color: var(--wb-red) !important;
  box-shadow: 0 0 0 3px rgba(220, 38, 38, .08);
}

.wb-content .layui-select-disabled .layui-input,
.wb-dialog-content.layui-form .layui-select-disabled .layui-input {
  color: var(--wb-muted);
  background: #f8fafc;
  cursor: not-allowed;
}

.wb-filter-controls .layui-form-select {
  width: auto;
  min-width: 168px;
}

.wb-filter-controls.compact .layui-form-select {
  min-width: 145px;
}

.wb-form-row .layui-form-select {
  width: 220px;
}

.wb-doc-mobile-select .layui-form-select {
  flex: 1;
  min-width: 0;
}

.wb-monitor-table,
.wb-batch-table,
.wb-order-table,
.wb-alert-table {
  table-layout: fixed;
}

.wb-monitor-table {
  min-width: 960px;
}

.wb-monitor-table th:nth-child(1) { width: 4%; }
.wb-monitor-table th:nth-child(2) { width: 17%; }
.wb-monitor-table th:nth-child(3) { width: 15%; }
.wb-monitor-table th:nth-child(4) { width: 9%; }
.wb-monitor-table th:nth-child(5) { width: 8%; }
.wb-monitor-table th:nth-child(6) { width: 8%; }
.wb-monitor-table th:nth-child(7) { width: 11%; }
.wb-monitor-table th:nth-child(8) { width: 10%; }
.wb-monitor-table th:nth-child(9) { width: 9%; }
.wb-monitor-table th:nth-child(10) { width: 9%; }

.wb-monitor-table td:nth-child(2) .wb-type,
.wb-monitor-table td:nth-child(3) .wb-type {
  font-size: 11px;
  white-space: normal;
}

.wb-batch-table {
  min-width: 1180px;
}

.wb-batch-table th:nth-child(1) { width: 10%; }
.wb-batch-table th:nth-child(2) { width: 12%; }
.wb-batch-table th:nth-child(3) { width: 13%; }
.wb-batch-table th:nth-child(4) { width: 14%; }
.wb-batch-table th:nth-child(5) { width: 24%; }
.wb-batch-table th:nth-child(6) { width: 7%; }
.wb-batch-table th:nth-child(7) { width: 8%; }
.wb-batch-table th:nth-child(8) { width: 8%; }
.wb-batch-table th:nth-child(9) { width: 4%; }

.wb-order-table {
  min-width: 680px;
}

.wb-order-table th:nth-child(1) { width: 17%; }
.wb-order-table th:nth-child(2) { width: 13%; }
.wb-order-table th:nth-child(3) { width: 17%; }
.wb-order-table th:nth-child(4) { width: 12%; }
.wb-order-table th:nth-child(5) { width: 10%; }
.wb-order-table th:nth-child(6) { width: 19%; }
.wb-order-table th:nth-child(7) { width: 12%; }

.wb-alert-table {
  min-width: 880px;
}

.wb-alert-table th:nth-child(1) { width: 13%; }
.wb-alert-table th:nth-child(2) { width: 18%; }
.wb-alert-table th:nth-child(3) { width: 16%; }
.wb-alert-table th:nth-child(4) { width: 13%; }
.wb-alert-table th:nth-child(5) { width: 7%; }
.wb-alert-table th:nth-child(6) { width: 8%; }
.wb-alert-table th:nth-child(7) { width: 7%; }
.wb-alert-table th:nth-child(8) { width: 18%; }

.wb-domain-summary-table {
  min-width: 980px;
  table-layout: fixed;
}

.wb-domain-summary-table th {
  line-height: 1.35;
  white-space: normal;
}

.wb-domain-summary-table th:nth-child(1) { width: 18%; }
.wb-domain-summary-table th:nth-child(2) { width: 22%; }
.wb-domain-summary-table th:nth-child(3),
.wb-domain-summary-table th:nth-child(4),
.wb-domain-summary-table th:nth-child(5) { width: 12%; }
.wb-domain-summary-table th:nth-child(6) { width: 12%; }
.wb-domain-summary-table th:nth-child(7) { width: 12%; }

.wb-domain-summary-table .wb-component-overview.has-abnormal {
  width: 100%;
}

.wb-domain-summary-table .wb-progress-badge {
  width: 100%;
}

.wb-domain-summary-table .wb-progress-badge-label {
  padding: 0 4px;
  overflow: hidden;
  font-size: 11px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.wb-domain-name {
  display: grid;
  gap: 5px;
  min-width: 0;
}

.wb-domain-name strong {
  overflow-wrap: anywhere;
}

.wb-domain-name > span,
.wb-current-domain-badge {
  display: inline-flex;
  width: fit-content;
  align-items: center;
  gap: 5px;
  color: var(--wb-blue);
  font-size: 12px;
  font-weight: 700;
}

.wb-domain-name.is-current strong {
  color: var(--wb-blue);
}

.wb-domain-report-progress {
  display: grid;
  gap: 4px;
  width: min(100%, 170px);
  margin-top: 2px;
}

.wb-domain-report-meta {
  display: flex;
  align-items: center;
  gap: 5px;
  color: var(--wb-muted);
  font-size: 11px;
  line-height: 1.3;
}

.wb-domain-report-meta strong {
  margin-left: auto;
  color: var(--wb-text);
  font-size: 11px;
}

.wb-domain-report-meta em {
  min-width: 27px;
  color: var(--wb-muted);
  font-size: 10px;
  font-style: normal;
  text-align: right;
}

.wb-domain-report-bar {
  display: block;
  height: 4px;
  overflow: hidden;
  border-radius: 2px;
  background: #e6edf5;
}

.wb-domain-report-bar i {
  display: block;
  height: 100%;
  border-radius: inherit;
  background: var(--wb-brand-blue);
  transition: width .2s ease;
}

.wb-node-verdict-distribution {
  display: grid;
  gap: 8px;
  width: 100%;
  min-width: 0;
}

.wb-node-verdict-state {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  min-height: 32px;
  padding: 6px 9px;
  border: 1px solid #e2e8f0;
  border-radius: 4px;
  color: #64748b;
  background: #f8fafc;
  font-size: 12px;
  line-height: 1.4;
}

.wb-node-verdict-state.is-checking {
  color: var(--wb-blue);
  border-color: var(--wb-blue-border);
  background: var(--wb-blue-soft);
}

.wb-node-verdict-bar {
  display: flex;
  width: 100%;
  height: 10px;
  overflow: hidden;
  border-radius: 5px;
  background: #e6edf5;
}

.wb-node-verdict-bar i {
  display: block;
  height: 100%;
  transition: width .2s ease;
}

.wb-node-verdict-bar .is-normal { background: #63c98a; }
.wb-node-verdict-bar .is-inconclusive { background: #f0c766; }
.wb-node-verdict-bar .is-abnormal { background: #ee7c86; }

.wb-node-verdict-counts {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 5px 8px;
  color: var(--wb-muted);
  font-size: 11px;
  line-height: 1.35;
}

.wb-node-verdict-counts > span {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  white-space: nowrap;
}

.wb-node-verdict-counts > span > i {
  width: 7px;
  height: 7px;
  flex: 0 0 7px;
  border-radius: 50%;
  background: currentColor;
}

.wb-node-verdict-counts strong {
  color: var(--wb-text);
  font-size: 11px;
}

.wb-node-verdict-counts .is-normal { color: #16834a; }
.wb-node-verdict-counts .is-inconclusive { color: #a96500; }
.wb-node-verdict-counts .is-abnormal { color: #c82434; }

.wb-monitor-result-state {
  display: grid;
  justify-items: center;
  gap: 7px;
  min-height: 150px;
  padding: 32px 20px;
  color: #64748b;
  text-align: center;
}

.wb-monitor-result-state > i {
  color: #94a3b8;
  font-size: 24px;
}

.wb-monitor-result-state > strong {
  color: var(--wb-text);
  font-size: 15px;
}

.wb-monitor-result-state > span {
  max-width: 480px;
  line-height: 1.6;
}

.wb-monitor-result-state.is-checking > i,
.wb-monitor-result-state.is-checking > strong {
  color: var(--wb-blue);
}

.wb-domain-summary-table button:disabled {
  opacity: .55;
  cursor: not-allowed;
}

.wb-current-domain-badge {
  min-height: 28px;
  padding: 0 8px;
  border: 1px solid var(--wb-blue-border);
  border-radius: 4px;
  background: var(--wb-blue-soft);
}

.wb-alert-result {
  display: grid;
  gap: 6px;
}

.wb-alert-result > small {
  color: var(--wb-muted);
}

.wb-alert-result > div {
  display: flex;
  flex-wrap: wrap;
  gap: 5px;
}

.wb-pollution-table,
.wb-recent-order-table,
.wb-billing-entry-table,
.wb-invoice-table {
  table-layout: fixed;
}

.wb-pollution-table,
.wb-recent-order-table,
.wb-billing-entry-table {
  min-width: 670px;
}

.wb-usage-summary-table th:nth-child(1) { width: 12%; }
.wb-usage-summary-table th:nth-child(2) { width: 13%; }
.wb-usage-summary-table th:nth-child(3) { width: 24%; }
.wb-usage-summary-table th:nth-child(4) { width: 12%; }
.wb-usage-summary-table th:nth-child(5) { width: 13%; }
.wb-usage-summary-table th:nth-child(6) { width: 13%; }
.wb-usage-summary-table th:nth-child(7) { width: 13%; }

.wb-usage-summary-table th:nth-child(n+4):nth-child(-n+6),
.wb-usage-summary-table td:nth-child(n+4):nth-child(-n+6) {
  text-align: right;
}

.wb-usage-source {
  display: inline-flex;
  min-height: 26px;
  align-items: center;
  gap: 7px;
  color: var(--wb-text);
  font-weight: 700;
  white-space: nowrap;
}

.wb-usage-source i {
  width: 18px;
  color: var(--wb-blue);
  text-align: center;
}

.wb-finance-ledger-body {
  display: grid;
  gap: 16px;
  padding-top: 18px;
}

.wb-table.wb-finance-ledger-table {
  min-width: 680px;
}

.wb-finance-ledger-table th:nth-child(1) { width: 23%; }
.wb-finance-ledger-table th:nth-child(2) { width: 31%; }
.wb-finance-ledger-table th:nth-child(3) { width: 13%; }
.wb-finance-ledger-table th:nth-child(4) { width: 16%; }
.wb-finance-ledger-table th:nth-child(5) { width: 17%; }

.wb-ledger-reference {
  overflow-wrap: anywhere;
}

.wb-invoice-table {
  min-width: 620px;
}

.wb-table.wb-invoice-detail-table {
  min-width: 0;
  table-layout: fixed;
}

.wb-invoice-detail-table th:nth-child(1) { width: 58%; }
.wb-invoice-detail-table th:nth-child(2) { width: 21%; }
.wb-invoice-detail-table th:nth-child(3) { width: 21%; }

.wb-invoice-detail-table th:nth-child(n+2),
.wb-invoice-detail-table td:nth-child(n+2) {
  text-align: right;
}

.wb-invoice-table th:nth-child(1) { width: 12%; }
.wb-invoice-table th:nth-child(2) { width: 17%; }
.wb-invoice-table th:nth-child(3) { width: 17%; }
.wb-invoice-table th:nth-child(4) { width: 16%; }
.wb-invoice-table th:nth-child(5) { width: 38%; }

.wb-legacy-invoice-table th:nth-child(1) { width: 14%; }
.wb-legacy-invoice-table th:nth-child(2) { width: 24%; }
.wb-legacy-invoice-table th:nth-child(3) { width: 24%; }
.wb-legacy-invoice-table th:nth-child(4) { width: 38%; }

.wb-invoice-breakdown {
  display: grid;
  gap: 3px;
}

.wb-invoice-breakdown small {
  color: var(--wb-muted);
}

.wb-receipt-button {
  display: inline-flex;
  align-items: center;
  gap: 5px;
}

.wb-search-field {
  position: relative;
  display: block;
}

.wb-search-field i {
  position: absolute;
  top: 50%;
  left: 11px;
  z-index: 1;
  color: #94a3b8;
  transform: translateY(-50%);
}

.wb-search-field .layui-input {
  width: 250px;
  padding-left: 34px;
}

.wb-cell-meta {
  display: block;
  margin-top: 3px;
  color: var(--wb-muted);
  font-size: 11px;
}

.wb-action-menu {
  position: relative;
}

.wb-action-menu summary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 28px;
  border: 1px solid var(--wb-border);
  border-radius: 3px;
  color: #475569;
  background: #ffffff;
  cursor: pointer;
  list-style: none;
}

.wb-action-menu summary:hover,
.wb-action-menu summary:focus-visible,
.wb-action-menu[open] summary {
  border-color: var(--wb-blue-border);
  color: var(--wb-blue);
  background: var(--wb-blue-soft);
  outline: none;
}

.wb-action-menu summary::-webkit-details-marker {
  display: none;
}

.wb-action-menu-list {
  position: absolute;
  top: 30px;
  right: 0;
  z-index: 1200;
  width: 160px;
  max-width: calc(100vw - 16px);
  padding: 5px;
  border: 1px solid var(--wb-border);
  border-radius: 5px;
  background: #ffffff;
  box-shadow: 0 10px 24px rgba(15, 23, 42, 0.14);
  box-sizing: border-box;
}

.wb-action-menu-list.is-positioned {
  position: fixed;
  right: auto;
}

.wb-action-menu-list button {
  display: flex;
  align-items: center;
  gap: 9px;
  width: 100%;
  padding: 8px 9px;
  border: 0;
  border-radius: 3px;
  color: var(--wb-text);
  background: transparent;
  text-align: left;
  cursor: pointer;
}

.wb-action-menu-list button:hover {
  background: #f1f5f9;
}

.wb-action-menu-list button.danger {
  color: var(--wb-red);
}

.wb-pagination {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 6px;
  padding: 13px 16px;
  color: var(--wb-muted);
  font-size: 12px;
}

.wb-pagination button {
  min-width: 32px;
  height: 32px;
  border: 1px solid var(--wb-border);
  border-radius: 3px;
  background: #ffffff;
  cursor: pointer;
}

.wb-pagination button.active {
  color: #ffffff;
  border-color: var(--wb-blue);
  background: var(--wb-blue);
}

.wb-create-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 320px;
  gap: 16px;
  align-items: start;
}

.wb-create-form {
  padding: 2px 24px 0;
}

.wb-form-section {
  padding: 24px 0;
  border-bottom: 1px solid var(--wb-border);
}

.wb-form-section:last-of-type {
  border-bottom: 0;
}

.wb-form-section-head {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 18px;
}

.wb-form-section-index {
  display: inline-flex;
  flex: 0 0 auto;
  width: 24px;
  height: 24px;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  color: var(--wb-blue);
  background: var(--wb-blue-soft);
  font-size: 12px;
  font-weight: 700;
}

.wb-form-section h2 {
  margin: 0;
  color: #111827;
  font-size: 15px;
  font-weight: 700;
  line-height: 1.45;
}

.wb-form-section-content {
  display: grid;
  gap: 20px;
}

.wb-create-form .wb-form-grid {
  column-gap: 16px;
  row-gap: 18px;
}

.wb-monitor-port-fields[hidden] {
  display: none;
}

.wb-port-update-hint {
  grid-column: 1 / -1;
  margin: -5px 0 2px;
  color: var(--wb-muted);
  font-size: 12px;
  line-height: 1.5;
}

.wb-field {
  display: flex;
  flex-direction: column;
  gap: 7px;
  min-width: 0;
  color: var(--wb-text-secondary);
  font-size: 13px;
  font-weight: 600;
}

.wb-field > span:first-child {
  line-height: 20px;
}

.wb-field-span-2 {
  grid-column: 1 / -1;
}

.wb-domain-input {
  min-height: 124px;
  font-family: Consolas, Monaco, monospace;
}

.wb-field-foot {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  color: var(--wb-muted);
  font-size: 12px;
  font-weight: 400;
}

.wb-field-foot .error {
  color: var(--wb-red);
}

.wb-field-hint,
.wb-field-error,
.wb-field > small {
  color: var(--wb-muted);
  font-size: 12px;
  font-weight: 400;
  line-height: 1.5;
}

.wb-field-error {
  color: var(--wb-red);
}

.wb-field [aria-invalid="true"] {
  border-color: var(--wb-red) !important;
  box-shadow: 0 0 0 2px rgba(220, 38, 38, .08);
}

.wb-choice-row,
.wb-contact-picks {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  min-height: 38px;
  align-items: center;
  color: var(--wb-text);
  font-weight: 400;
}

.wb-monitor-recipients {
  overflow: hidden;
  display: grid;
  border: 1px solid var(--wb-border);
  border-radius: 6px;
  background: #ffffff;
}

.wb-monitor-recipient {
  display: grid;
  grid-template-columns: 18px 36px minmax(0, 1fr) auto;
  gap: 11px;
  min-width: 0;
  min-height: 64px;
  padding: 11px 13px;
  align-items: center;
  border-bottom: 1px solid var(--wb-border);
  cursor: pointer;
  transition: background-color .16s ease;
}

.wb-monitor-recipient:last-child {
  border-bottom: 0;
}

.wb-monitor-recipient:hover {
  background: #f8fbfe;
}

.wb-monitor-recipient > input[type="checkbox"] {
  margin: 0;
}

.wb-monitor-recipient-icon {
  display: inline-flex;
  width: 34px;
  height: 34px;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  color: #2563a8;
  background: #eaf3fb;
  font-size: 14px;
}

.wb-monitor-recipient-copy {
  display: grid;
  min-width: 0;
  gap: 3px;
}

.wb-monitor-recipient-copy strong,
.wb-monitor-recipient-copy small {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.wb-monitor-recipient-copy strong {
  color: var(--wb-text);
  font-size: 14px;
  font-weight: 600;
  line-height: 1.4;
}

.wb-monitor-recipient-copy small {
  color: var(--wb-muted);
  font-size: 12px;
  font-weight: 400;
}

.wb-monitor-recipient-channels {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  justify-content: flex-end;
}

.wb-recipient-channel {
  display: inline-flex;
  min-height: 24px;
  padding: 2px 7px;
  align-items: center;
  gap: 5px;
  border: 1px solid #dbe3ec;
  border-radius: 4px;
  color: var(--wb-text-secondary);
  background: #f8fafc;
  font-size: 12px;
  font-weight: 500;
  line-height: 1.4;
  white-space: nowrap;
}

.wb-recipient-channel.telegram.active {
  border-color: #b9d9f6;
  color: #147caf;
  background: #eff8ff;
}

.wb-recipient-channel.telegram.inactive {
  color: var(--wb-muted);
}

.wb-monitor-recipient-empty {
  display: grid;
  grid-template-columns: 34px minmax(0, 1fr) auto;
  gap: 11px;
  min-height: 64px;
  padding: 11px 13px;
  align-items: center;
  color: var(--wb-muted);
  background: #fbfcfd;
}

.wb-monitor-recipient-empty > i {
  color: #7b8ca3;
  font-size: 18px;
  text-align: center;
}

.wb-monitor-recipient-empty > span {
  display: grid;
  gap: 2px;
}

.wb-monitor-recipient-empty strong {
  color: var(--wb-text-secondary);
  font-size: 13px;
  font-weight: 600;
}

.wb-monitor-recipient-empty small {
  color: var(--wb-muted);
  font-size: 12px;
  font-weight: 400;
  line-height: 1.45;
}

.wb-monitor-recipient-empty a {
  color: var(--wb-blue);
  font-size: 13px;
  font-weight: 600;
  white-space: nowrap;
}

.wb-continuous-notify {
  display: grid;
  gap: 12px;
  padding: 14px 16px;
  border: 1px solid #b9d9f6;
  border-radius: 6px;
  background: #f7fbff;
  transition: border-color .16s ease, background-color .16s ease;
}

.wb-continuous-notify-main,
.wb-continuous-notify-copy,
.wb-continuous-notify-rule,
.wb-continuous-notify-rule > span {
  display: flex;
  align-items: center;
}

.wb-continuous-notify-main {
  justify-content: space-between;
  gap: 16px;
}

.wb-continuous-notify-copy {
  min-width: 0;
  gap: 11px;
}

.wb-continuous-notify-copy > i {
  display: inline-flex;
  flex: 0 0 auto;
  width: 34px;
  height: 34px;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  color: #ffffff;
  background: #229ed9;
  font-size: 17px;
}

.wb-continuous-notify-copy > span {
  display: grid;
  min-width: 0;
  gap: 3px;
}

.wb-continuous-notify-copy strong {
  color: var(--wb-text);
  font-size: 14px;
  line-height: 1.4;
}

.wb-continuous-notify-copy small {
  color: var(--wb-text-secondary);
  font-size: 12px;
  font-weight: 400;
  line-height: 1.5;
}

.wb-toggle-button {
  position: relative;
  display: inline-flex;
  flex: 0 0 auto;
  width: 44px;
  height: 24px;
  padding: 2px;
  border: 0;
  border-radius: 12px;
  align-items: center;
  background: #94a3b8;
  cursor: pointer;
  transition: background-color .16s ease;
}

.wb-toggle-button > span {
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: #ffffff;
  box-shadow: 0 1px 3px rgba(15, 23, 42, .24);
  transform: translateX(0);
  transition: transform .16s ease;
}

.wb-toggle-button[aria-checked="true"] {
  background: var(--wb-blue);
}

.wb-toggle-button[aria-checked="true"] > span {
  transform: translateX(20px);
}

.wb-toggle-button:focus-visible {
  outline: 2px solid rgba(0, 133, 247, .38);
  outline-offset: 2px;
}

.wb-toggle-button:disabled {
  background: #cbd5e1;
  cursor: not-allowed;
}

.wb-continuous-notify-rule {
  flex-wrap: wrap;
  gap: 9px;
  padding-top: 10px;
  border-top: 1px solid #dbeafe;
  color: var(--wb-text-secondary);
  font-size: 12px;
  font-weight: 500;
}

.wb-continuous-notify-rule > span {
  gap: 6px;
}

.wb-continuous-notify-rule > span i {
  color: #229ed9;
}

.wb-continuous-notify-rule > i {
  color: #94a3b8;
  font-size: 10px;
}

.wb-continuous-notify > .wb-field-hint {
  margin-top: -3px;
}

.wb-continuous-notify-interval {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(180px, 240px);
  gap: 14px;
  align-items: center;
  padding-top: 10px;
  border-top: 1px solid #dbeafe;
  color: var(--wb-text-secondary);
  font-size: 13px;
  font-weight: 500;
}

.wb-continuous-notify-interval .layui-form-select,
.wb-continuous-notify-interval select {
  width: 100%;
}

.wb-continuous-notify.is-disabled {
  border-color: var(--wb-border);
  background: #f8fafc;
}

.wb-continuous-notify.is-disabled .wb-continuous-notify-copy > i {
  background: #94a3b8;
}

.wb-continuous-notify.is-disabled .wb-continuous-notify-rule {
  border-top-color: var(--wb-border);
  color: var(--wb-muted);
}

.wb-continuous-notify.is-disabled .wb-continuous-notify-rule > span i {
  color: #94a3b8;
}

.wb-choice-segmented {
  display: inline-grid;
  align-self: flex-start;
  grid-auto-flow: column;
  grid-auto-columns: minmax(0, auto);
  gap: 3px;
  min-height: 38px;
  padding: 3px;
  border: 1px solid var(--wb-control-border);
  border-radius: 5px;
  background: #f8fafc;
  box-sizing: border-box;
}

.wb-choice-segmented label {
  position: relative;
  min-width: 0;
  cursor: pointer;
}

.wb-choice-segmented input[type="radio"] {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: 0;
  opacity: 0;
}

.wb-choice-segmented label > span {
  display: inline-flex;
  min-height: 30px;
  align-items: center;
  justify-content: center;
  gap: 7px;
  padding: 0 12px;
  border-radius: 3px;
  color: var(--wb-text-secondary);
  background: transparent;
  font-size: 13px;
  font-weight: 500;
  line-height: 1.35;
  box-sizing: border-box;
  transition: color .16s ease, background-color .16s ease, box-shadow .16s ease;
}

.wb-choice-segmented label > span i {
  color: var(--wb-muted);
}

.wb-choice-segmented input[type="radio"]:checked + span {
  color: var(--wb-blue);
  background: #ffffff;
  box-shadow: 0 1px 3px rgba(15, 23, 42, .12);
  font-weight: 600;
}

.wb-choice-segmented input[type="radio"]:checked + span i {
  color: var(--wb-blue);
}

.wb-choice-segmented input[type="radio"]:focus-visible + span {
  outline: 2px solid rgba(0, 133, 247, .38);
  outline-offset: 1px;
}

.wb-choice-row label,
.wb-contact-picks label,
.wb-node-picker label,
.wb-check-line {
  display: inline-flex;
  align-items: center;
  line-height: 1.45;
  cursor: pointer;
}

.wb-console input[type="checkbox"],
.wb-console input[type="radio"] {
  flex: 0 0 auto;
  width: 16px;
  height: 16px;
  margin: 0 6px 0 0;
  accent-color: var(--wb-blue);
  vertical-align: middle;
}

.wb-console input[type="checkbox"]:focus-visible,
.wb-console input[type="radio"]:focus-visible {
  outline: 2px solid rgba(0, 133, 247, .36);
  outline-offset: 2px;
}

.wb-console input[type="checkbox"]:disabled,
.wb-console input[type="radio"]:disabled {
  cursor: not-allowed;
  opacity: .58;
}

.wb-inline-control {
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--wb-text);
  font-weight: 400;
}

.wb-inline-control .layui-input {
  width: 76px;
}

.wb-policy-note,
.wb-policy-value {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  color: #334155;
}

.wb-policy-note {
  margin-top: 14px;
  padding: 11px 12px;
  border: 1px solid #dbe4ef;
  border-radius: 5px;
  background: #f8fafc;
}

.wb-policy-note > i,
.wb-policy-value > i {
  margin-top: 2px;
  color: var(--wb-blue);
}

.wb-policy-note > span {
  display: grid;
  gap: 2px;
}

.wb-policy-note small {
  color: var(--wb-muted);
  font-weight: 400;
  line-height: 1.45;
}

.wb-policy-value {
  min-height: 38px;
  align-items: center;
  padding: 0 11px;
  border: 1px solid var(--wb-border);
  border-radius: 4px;
  background: #f8fafc;
  box-sizing: border-box;
}

.wb-node-picker {
  margin-top: 2px;
  border: 1px solid var(--wb-border);
  border-radius: 5px;
  background: #ffffff;
}

.wb-node-picker[aria-disabled="true"] {
  opacity: .56;
}

.wb-node-picker details + details {
  border-top: 1px solid var(--wb-border);
}

.wb-node-picker summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 12px;
  cursor: pointer;
  list-style: none;
}

.wb-node-picker summary::-webkit-details-marker {
  display: none;
}

.wb-node-picker summary small {
  margin-left: 6px;
  color: var(--wb-muted);
}

.wb-node-picker details > div {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
  padding: 10px 14px;
  border-top: 1px solid var(--wb-border);
  background: #f8fafc;
}

.wb-node-picker code {
  margin-left: 5px;
  color: var(--wb-muted);
  font-size: 11px;
}

.wb-inline-notice {
  display: flex;
  gap: 11px;
  align-items: flex-start;
  padding: 12px;
  border: 1px solid var(--wb-blue-border);
  border-radius: 5px;
  color: #1e3a8a;
  background: var(--wb-blue-soft);
}

.wb-inline-notice span {
  display: grid;
  gap: 3px;
}

.wb-inline-notice small {
  font-weight: 400;
}

.wb-console .layui-layer-page .layui-layer-title {
  padding-right: 58px;
}

.wb-console .layui-layer-page .layui-layer-setwin {
  top: 7px;
  right: 10px;
}

.wb-console .layui-layer-page .layui-layer-close1,
.wb-console .layui-layer-page .layui-layer-close2 {
  display: inline-flex;
  width: 36px;
  height: 36px;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--wb-border);
  border-radius: 4px;
  color: #475569;
  background: #ffffff !important;
  font-size: 0;
  text-indent: 0;
  box-sizing: border-box;
}

.wb-console .layui-layer-page .layui-layer-close2 {
  top: 0 !important;
  right: 0 !important;
}

.wb-console .layui-layer-page .layui-layer-close1::before,
.wb-console .layui-layer-page .layui-layer-close2::before {
  content: "\00d7";
  font-size: 22px;
  font-weight: 400;
  line-height: 1;
}

.wb-console .layui-layer-page .layui-layer-close1:hover,
.wb-console .layui-layer-page .layui-layer-close2:hover,
.wb-console .layui-layer-page .layui-layer-close1:focus-visible,
.wb-console .layui-layer-page .layui-layer-close2:focus-visible {
  border-color: var(--wb-control-hover);
  color: var(--wb-blue);
  background: #f8fafc !important;
}

.wb-form-submit {
  display: flex;
  justify-content: flex-end;
  gap: 8px;
  padding: 14px 0 16px;
}

.wb-create-form > .wb-form-submit {
  margin: 0 -24px;
  padding: 16px 24px;
  border-top: 1px solid var(--wb-border);
  background: #f8fafc;
}

.wb-form-submit.left {
  justify-content: flex-start;
}

.wb-estimate-panel {
  position: sticky;
  top: 106px;
}

.wb-estimate-head {
  display: flex;
  gap: 11px;
  align-items: flex-start;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--wb-border);
}

.wb-estimate-head > i {
  margin-top: 2px;
  color: var(--wb-blue);
  font-size: 18px;
}

.wb-estimate-head div {
  display: grid;
  gap: 4px;
}

.wb-estimate-head span {
  color: var(--wb-muted);
  font-size: 12px;
  line-height: 1.45;
}

.wb-estimate-list {
  margin: 12px 0;
}

.wb-estimate-list div,
.wb-detail-list div {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding: 8px 0;
}

.wb-estimate-list dt,
.wb-detail-list dt {
  color: var(--wb-muted);
}

.wb-estimate-list dd,
.wb-detail-list dd {
  margin: 0;
  text-align: right;
}

.wb-estimate-totals {
  display: grid;
  gap: 10px;
  padding-top: 14px;
  border-top: 1px solid var(--wb-border);
}

.wb-estimate-totals > div {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
}

.wb-estimate-totals strong {
  color: var(--wb-blue);
  font-size: 18px;
}

.wb-estimate-totals > div:last-child strong {
  font-size: 23px;
}

.wb-task-context {
  display: flex;
  justify-content: space-between;
  gap: 22px;
  margin-bottom: 16px;
  padding: 16px;
  border: 1px solid var(--wb-border);
  border-radius: 8px;
  background: #ffffff;
}

.wb-task-context h2 {
  margin: 5px 0 4px;
  font-size: 18px;
}

.wb-task-context p {
  margin: 0;
  color: var(--wb-muted);
}

.wb-selected-domain-title {
  display: grid;
  gap: 3px;
}

.wb-selected-domain-title small {
  color: var(--wb-blue);
  font-size: 11px;
  font-weight: 700;
}

.wb-selected-domain-title strong {
  color: var(--wb-text);
  font-size: 16px;
  overflow-wrap: anywhere;
}

.wb-node-history-intro {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 14px;
  padding: 10px 12px;
  border: 1px solid var(--wb-blue-border);
  border-radius: 5px;
  color: var(--wb-text-secondary);
  background: var(--wb-blue-soft);
}

.wb-node-history-intro i {
  color: var(--wb-blue);
}

.wb-node-history-table {
  min-width: 650px;
}

.wb-task-facts {
  display: grid;
  grid-template-columns: repeat(5, minmax(90px, auto));
  gap: 10px;
  align-items: center;
}

.wb-task-facts > div {
  display: grid;
  gap: 5px;
  padding-left: 12px;
  border-left: 1px solid var(--wb-border);
}

.wb-task-facts span {
  color: var(--wb-muted);
  font-size: 11px;
}

.wb-task-facts strong {
  font-size: 13px;
}

.wb-summary-strip-4 {
  grid-template-columns: repeat(4, minmax(110px, 1fr));
}

.wb-settings-list {
  display: grid;
}

.wb-setting-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 16px;
  align-items: center;
  min-height: 52px;
  border-bottom: 1px solid var(--wb-border);
}

.wb-setting-row:last-child {
  border-bottom: 0;
}

.wb-setting-row > div {
  display: grid;
  grid-template-columns: minmax(130px, 190px) minmax(0, 1fr);
  gap: 16px;
  align-items: center;
}

.wb-setting-row > div > span {
  color: var(--wb-muted);
}

.wb-setting-row > div > strong {
  min-width: 0;
  overflow-wrap: anywhere;
}

.wb-setting-value {
  display: grid;
  min-width: 0;
  gap: 3px;
}

.wb-setting-value strong {
  color: var(--wb-text);
  font-size: 14px;
  font-weight: 700;
}

.wb-setting-value small {
  color: var(--wb-muted);
  font-size: 12px;
  font-weight: 400;
  line-height: 1.5;
}

.wb-setting-row-preference {
  padding: 10px 0;
}

.wb-account-form {
  display: grid;
  gap: 16px;
}

.wb-account-form > label {
  display: grid;
  gap: 7px;
  color: #334155;
  font-size: 13px;
  font-weight: 600;
}

.wb-account-form > label > small {
  color: var(--wb-muted);
  font-size: 12px;
  font-weight: 400;
  line-height: 1.5;
}

.wb-account-code-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 128px;
  gap: 10px;
}

.wb-account-code-row .layui-btn {
  width: 128px;
  margin: 0;
}

.wb-account-form .wb-dialog-actions {
  margin-top: 4px;
}

.wb-telegram-identity {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  min-width: 0;
  color: var(--wb-text);
  line-height: 1.35;
  vertical-align: middle;
}

.wb-telegram-identity > span:last-child {
  display: grid;
  min-width: 0;
  gap: 2px;
}

.wb-telegram-identity strong {
  overflow: hidden;
  font-size: 14px;
  font-weight: 600;
  line-height: 1.35;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.wb-telegram-identity small,
.wb-inline-muted {
  color: var(--wb-muted);
  font-size: 12px;
  font-weight: 400;
}

.wb-telegram-icon {
  display: inline-flex;
  flex: 0 0 auto;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  border: 1px solid transparent;
  box-sizing: border-box;
  color: #ffffff;
  background: #168acd;
  font-size: 14px;
}

.wb-telegram-icon i {
  display: block;
  line-height: 1;
}

.wb-telegram-identity.unbound .wb-telegram-icon {
  border-color: #c8e4f4;
  color: #168acd;
  background: #edf7fc;
}

.wb-telegram-identity.unavailable .wb-telegram-icon {
  border-color: var(--wb-border);
  color: var(--wb-muted);
  background: var(--wb-surface-muted);
}

.wb-telegram-identity.unavailable strong {
  color: var(--wb-muted);
}

.wb-telegram-identity.unbound strong {
  color: var(--wb-text-secondary);
  font-weight: 500;
}

.wb-telegram-actions,
.wb-telegram-dialog-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
}

.wb-telegram-actions .layui-btn {
  min-width: 96px;
}

.wb-profile-telegram {
  display: flex;
  min-width: 0;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.wb-profile-telegram > div:first-child {
  min-width: 0;
}

.wb-profile-telegram > .wb-telegram-actions {
  flex: 0 0 auto;
  flex-wrap: nowrap;
}

.wb-setting-row-telegram {
  padding: 10px 0;
}

.wb-telegram-dialog {
  display: grid;
  grid-template-columns: 208px minmax(0, 1fr);
  gap: 24px;
  align-items: center;
  padding: 28px;
}

.wb-telegram-dialog > * {
  min-width: 0;
}

.wb-telegram-qr {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 208px;
  height: 208px;
  padding: 15px;
  border: 1px solid var(--wb-border);
  border-radius: 6px;
  box-sizing: border-box;
  background: #ffffff;
}

.wb-telegram-qr img,
.wb-telegram-qr canvas {
  display: block;
  width: 176px;
  height: 176px;
}

.wb-telegram-qr > i {
  color: var(--wb-text-secondary);
  font-size: 80px;
}

.wb-telegram-dialog-copy {
  display: grid;
  align-content: center;
  align-self: stretch;
  gap: 14px;
}

.wb-telegram-dialog-copy h3,
.wb-telegram-dialog-copy p {
  margin: 0;
}

.wb-telegram-dialog-copy h3 {
  color: var(--wb-text);
  font-size: 17px;
  line-height: 1.4;
}

.wb-telegram-dialog-copy p,
.wb-telegram-expiry {
  color: var(--wb-muted);
  font-size: 13px;
  line-height: 1.65;
}

.wb-telegram-dialog-actions .layui-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  margin: 0;
}

.wb-telegram-expiry {
  display: flex;
  align-items: center;
  gap: 7px;
}

.wb-telegram-expiry i {
  flex: 0 0 14px;
  color: var(--wb-text-secondary);
  text-align: center;
}

.wb-telegram-binding-state {
  display: flex;
  align-items: center;
  gap: 8px;
  width: 100%;
  min-height: 40px;
  padding: 9px 11px;
  border: 1px solid var(--wb-blue-border);
  border-radius: 4px;
  box-sizing: border-box;
  color: var(--wb-blue);
  background: var(--wb-blue-soft);
  font-size: 13px;
  font-weight: 600;
  line-height: 1.4;
}

.wb-telegram-binding-state.error {
  border-color: #fecaca;
  color: #b42318;
  background: #fef2f2;
}

.wb-contact-channel-icon {
  margin-left: auto;
  color: #168acd;
  font-size: 14px;
}

.wb-matrix-row {
  grid-template-columns: minmax(180px, 1.5fr) 100px repeat(3, minmax(110px, 1fr)) 140px 104px;
}

.wb-matrix-row .js-node-history {
  width: 100%;
}

button.wb-component {
  padding: 0;
  border: 0;
  color: inherit;
  background: transparent;
  text-align: left;
}

.wb-doc-layout {
  display: grid;
  grid-template-columns: 230px minmax(0, 1fr);
  gap: 16px;
  align-items: start;
}

.wb-doc-layout > *,
.wb-doc-page,
.wb-doc-markdown,
.wb-doc-table-wrap {
  min-width: 0;
  max-width: 100%;
  box-sizing: border-box;
}

.wb-doc-nav {
  position: sticky;
  top: 0;
  z-index: 30;
  margin-bottom: 14px;
  border: 1px solid var(--wb-border);
  border-radius: 6px;
  background: #ffffff;
  box-shadow: 0 2px 8px rgba(15, 23, 42, .05);
}

.wb-doc-tabs {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(112px, 1fr));
}

.wb-doc-tabs a {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 0 10px;
  color: var(--wb-muted);
  text-align: center;
  line-height: 1.35;
}

.wb-doc-tabs a::after {
  content: "";
  position: absolute;
  right: 10px;
  bottom: -1px;
  left: 10px;
  height: 2px;
  background: transparent;
}

.wb-doc-tabs a:hover,
.wb-doc-tabs a.active {
  color: var(--wb-blue);
}

.wb-doc-tabs a.active {
  font-weight: 700;
}

.wb-doc-tabs a.active::after {
  background: var(--wb-blue);
}

.wb-doc-mobile-select {
  display: none;
}

.wb-doc-toc {
  position: sticky;
  top: 62px;
  padding: 14px;
  border: 1px solid var(--wb-border);
  border-radius: 6px;
  background: #ffffff;
}

.wb-doc-toc strong {
  display: block;
  margin-bottom: 10px;
}

.wb-doc-toc a,
.wb-doc-toc button {
  display: block;
  width: 100%;
  padding: 7px 8px;
  border: 0;
  border-left: 3px solid transparent;
  border-radius: 3px;
  color: #475569;
  background: transparent;
  font-size: 12px;
  line-height: 1.4;
  text-align: left;
  cursor: pointer;
  box-sizing: border-box;
}

.wb-doc-toc a.level-3,
.wb-doc-toc button.sub {
  padding-left: 20px;
}

.wb-doc-toc a:hover,
.wb-doc-toc button:hover,
.wb-doc-toc a.active {
  color: var(--wb-blue);
  background: var(--wb-blue-soft);
}

.wb-doc-toc a.active {
  border-left-color: var(--wb-blue);
  font-weight: 700;
}

.wb-doc-toc-group + .wb-doc-toc-group {
  margin-top: 14px;
  padding-top: 12px;
  border-top: 1px solid var(--wb-border);
}

.wb-doc-toc-group > span {
  display: block;
  margin: 0 8px 6px;
  color: var(--wb-muted);
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
}

.wb-doc-toc-group a,
.wb-doc-toc a.with-meta {
  display: grid;
  gap: 2px;
}

.wb-doc-toc-group a b,
.wb-doc-toc a.with-meta b {
  font-weight: 600;
}

.wb-doc-toc-group a code,
.wb-doc-toc a.with-meta code {
  overflow: hidden;
  color: var(--wb-muted);
  font-family: Consolas, Monaco, monospace;
  font-size: 10px;
  font-weight: 400;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.wb-doc-markdown h2,
.wb-doc-markdown h3 {
  scroll-margin-top: 72px;
}

.wb-doc-heading-action {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.wb-doc-heading-tools {
  display: inline-flex;
  flex: 0 0 auto;
  align-items: center;
  gap: 8px;
}

.wb-doc-endpoint {
  padding: 5px 8px;
  border: 1px solid var(--wb-border);
  border-radius: 4px;
  color: var(--wb-text-secondary);
  background: #f8fafc;
  font-family: Consolas, Monaco, monospace;
  font-size: 11px;
  font-weight: 500;
  line-height: 18px;
  white-space: nowrap;
}

.wb-doc-explorer-link {
  display: inline-flex;
  flex: 0 0 auto;
  align-items: center;
  gap: 6px;
  min-height: 30px;
  padding: 0 9px;
  border: 1px solid var(--wb-blue-border);
  border-radius: 4px;
  color: var(--wb-blue);
  background: var(--wb-blue-soft);
  font-size: 12px;
  font-weight: 600;
  white-space: nowrap;
}

.wb-doc-pagination {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
  gap: 14px;
  align-items: center;
  padding: 16px 24px;
  border-top: 1px solid var(--wb-border);
}

.wb-doc-pagination > a {
  display: flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
  color: var(--wb-text);
}

.wb-doc-pagination > a.next {
  justify-content: flex-end;
  text-align: right;
}

.wb-doc-pagination a span {
  display: grid;
  min-width: 0;
}

.wb-doc-pagination small {
  color: var(--wb-muted);
}

.wb-doc-pagination strong {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.wb-doc-pagination > b {
  color: var(--wb-muted);
  font-size: 12px;
  font-weight: 600;
}

.wb-code-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin: 14px 0 8px;
  font-weight: 700;
}

.wb-code-heading button,
.wb-link-button {
  padding: 0;
  border: 0;
  color: var(--wb-blue);
  background: transparent;
  cursor: pointer;
}

.wb-code-heading button {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-weight: 400;
}

.wb-key-layout,
.wb-account-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.5fr) minmax(260px, .7fr);
  gap: 22px;
}

.wb-key-credential {
  display: grid;
  gap: 16px;
  padding-bottom: 20px;
  border-bottom: 1px solid var(--wb-border);
}

.wb-key-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.wb-key-label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--wb-text);
}

.wb-key-label i {
  color: var(--wb-brand-blue);
  font-size: 15px;
}

.wb-key-label strong {
  font-size: 14px;
  font-weight: 700;
}

.wb-key-state {
  display: flex;
  flex: 0 0 auto;
  align-items: center;
  gap: 8px;
  color: var(--wb-muted);
  font-size: 12px;
}

.wb-key-state-value {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--wb-text-secondary);
  font-size: 13px;
  font-weight: 600;
}

.wb-key-state-value i {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--wb-gray);
}

.wb-key-state-value.enabled {
  color: #15803d;
}

.wb-key-state-value.enabled i {
  background: var(--wb-green);
}

.wb-key-state-value.disabled {
  color: var(--wb-muted);
}

.wb-key-field {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 12px;
  align-items: center;
}

.wb-key-field code {
  min-width: 0;
  min-height: 44px;
  padding: 11px 14px;
  overflow: hidden;
  border: 1px solid var(--wb-blue-border);
  border-radius: 4px;
  color: #172033;
  background: #f5faff;
  font-size: 15px;
  line-height: 20px;
  box-sizing: border-box;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.wb-key-actions {
  display: flex;
  align-items: center;
  gap: 8px;
}

.wb-key-actions .layui-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  width: auto;
  min-width: 82px;
  height: 40px;
  margin: 0;
  padding: 0 14px;
  border-radius: 4px;
  font-size: 13px;
  white-space: nowrap;
}

.wb-copy-id,
.wb-address-field button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  width: 38px;
  height: 38px;
  border: 1px solid var(--wb-border);
  border-radius: 4px;
  color: #475569;
  background: #ffffff;
  cursor: pointer;
}

.wb-metric-row {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  border: 1px solid var(--wb-border);
  border-radius: 6px;
  background: #ffffff;
}

.wb-api-batch-metrics {
  grid-template-columns: repeat(6, minmax(0, 1fr));
}

.wb-key-metrics {
  gap: 12px;
  margin-top: 20px;
  border: 0;
  background: transparent;
}

.wb-key-metrics .wb-metric {
  padding: 14px;
  border: 1px solid var(--wb-border);
  border-radius: 6px;
  background: #f8fafc;
}

.wb-metric {
  min-width: 0;
  padding: 14px;
  border-right: 1px solid var(--wb-border);
}

.wb-metric:last-child {
  border-right: 0;
}

.wb-key-metrics .wb-metric:last-child {
  border-right: 1px solid var(--wb-border);
}

.wb-metric span,
.wb-metric small {
  display: block;
  color: var(--wb-muted);
  font-size: 12px;
}

.wb-metric strong {
  display: block;
  margin: 5px 0 2px;
  font-size: 20px;
}

.wb-switch {
  display: flex;
  align-items: center;
  gap: 8px;
}

.wb-explorer-grid {
  display: grid;
  grid-template-columns: minmax(520px, 1.15fr) minmax(360px, .85fr);
  gap: 16px;
  align-items: start;
}

.wb-explorer-response-panel {
  position: sticky;
  top: 106px;
  min-width: 0;
}

.wb-explorer-form {
  display: grid;
  gap: 16px;
}

.wb-explorer-form [hidden] {
  display: none !important;
}

.wb-explorer-form .wb-form-grid {
  gap: 14px;
}

.wb-explorer-endpoint-field {
  width: 100%;
}

.wb-explorer-parameter-section {
  display: grid;
  gap: 16px;
  padding-top: 16px;
  border-top: 1px solid var(--wb-border);
}

.wb-explorer-parameter-heading {
  display: grid;
  gap: 3px;
}

.wb-explorer-parameter-heading strong {
  color: var(--wb-text);
  font-size: 14px;
}

.wb-explorer-parameter-heading small {
  color: var(--wb-muted);
  line-height: 1.45;
}

.wb-explorer-no-parameters {
  display: flex;
  align-items: flex-start;
  gap: 11px;
  padding: 14px;
  border: 1px solid #bfdbfe;
  border-radius: 5px;
  color: #075ea8;
  background: #f7fbff;
}

.wb-explorer-no-parameters > i {
  margin-top: 2px;
}

.wb-explorer-no-parameters > span {
  display: grid;
  gap: 3px;
}

.wb-explorer-no-parameters small {
  color: var(--wb-muted);
  line-height: 1.45;
}

.wb-explorer-submit {
  display: flex;
  justify-content: flex-end;
  margin-top: 16px;
  padding-top: 16px;
  border-top: 1px solid var(--wb-border);
}

.wb-explorer-submit .layui-btn {
  min-width: 128px;
  margin: 0;
}

#wb-explorer-type-fields:empty {
  display: none;
}

#wb-explorer-type-fields + .wb-form-grid {
  padding-top: 16px;
  border-top: 1px solid var(--wb-border);
}

.wb-api-response-summary,
.wb-response-summary {
  display: flex;
  gap: 10px;
  align-items: center;
  margin-bottom: 10px;
  padding: 10px 12px;
  border: 1px solid #bbf7d0;
  border-radius: 5px;
  color: #166534;
  background: #f0fdf4;
}

.wb-api-response-summary span,
.wb-response-summary span {
  display: grid;
  gap: 2px;
}

.wb-api-response-summary small,
.wb-response-summary small {
  color: #15803d;
}

.wb-response-summary.error {
  border-color: #fecaca;
  color: #991b1b;
  background: #fef2f2;
}

.wb-response-summary.error small {
  color: #b91c1c;
}

.wb-period-buttons {
  display: inline-flex;
  gap: 6px;
}

.wb-request-cost {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  min-height: 42px;
  padding: 10px 12px;
  border: 1px solid #dbe4ef;
  border-radius: 5px;
  color: var(--wb-text-secondary);
  background: #f8fafc;
  box-sizing: border-box;
}

.wb-request-cost strong {
  color: var(--wb-text);
}

.wb-segmented {
  display: inline-flex;
  padding: 3px;
  border: 1px solid var(--wb-border);
  border-radius: 5px;
  background: #f8fafc;
}

.wb-segmented button {
  min-height: 30px;
  padding: 0 12px;
  border: 0;
  border-radius: 3px;
  color: var(--wb-muted);
  background: transparent;
  cursor: pointer;
}

.wb-segmented button.active {
  color: var(--wb-text);
  background: #ffffff;
  box-shadow: 0 1px 2px rgba(15, 23, 42, .1);
}

.wb-api-batch-id {
  display: inline-flex;
  align-items: center;
  gap: 5px;
}

.wb-batch-table .wb-copy-id {
  justify-content: flex-start;
  width: auto;
  height: auto;
  padding: 0;
  border: 0;
  color: #334155;
  background: transparent;
  font-family: Consolas, Monaco, monospace;
}

.wb-batch-scale {
  display: grid;
  gap: 3px;
}

.wb-batch-scale strong {
  color: var(--wb-text);
  font-size: 13px;
  font-weight: 600;
  white-space: nowrap;
}

.wb-batch-scale strong span {
  font-size: 15px;
}

.wb-batch-scale strong b {
  margin: 0 2px;
  color: #94a3b8;
  font-weight: 500;
}

.wb-batch-scale small {
  color: var(--wb-muted);
  font-size: 12px;
}

.wb-batch-result-summary {
  display: grid;
  gap: 6px;
  min-width: 210px;
}

.wb-batch-result-progress {
  display: flex;
  align-items: baseline;
  gap: 6px;
  color: var(--wb-muted);
  font-size: 12px;
}

.wb-batch-result-progress strong {
  color: var(--wb-text);
  font-size: 13px;
}

.wb-batch-result-progress em {
  margin-left: auto;
  color: var(--wb-muted);
  font-size: 11px;
  font-style: normal;
}

.wb-batch-result-bar {
  height: 4px;
  overflow: hidden;
  border-radius: 2px;
  background: #e9eef4;
}

.wb-batch-result-bar > span {
  display: block;
  height: 100%;
  background: var(--wb-brand-blue);
  transition: width .2s ease;
}

.wb-result-stats,
.wb-api-target-counts {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 5px;
}

.wb-result-breakdown {
  display: grid;
  gap: 5px;
}

.wb-result-line {
  display: grid;
  grid-template-columns: 42px minmax(0, 1fr);
  align-items: start;
  gap: 6px;
}

.wb-result-line-label {
  padding-top: 3px;
  color: var(--wb-muted);
  font-size: 11px;
  line-height: 1.5;
  white-space: nowrap;
}

.wb-api-batch-detail-results {
  margin-top: 12px;
  padding: 12px;
  border: 1px solid var(--wb-line);
  border-radius: 6px;
  background: #f8fafc;
}

.wb-api-batch-detail-results .wb-result-line {
  grid-template-columns: 64px minmax(0, 1fr);
}

.wb-result-stat {
  display: inline-flex;
  align-items: center;
  gap: 3px;
  padding: 2px 5px;
  border-radius: 3px;
  color: #475569;
  background: #f1f5f9;
  font-size: 11px;
  line-height: 1.5;
  white-space: nowrap;
}

.wb-result-stat strong {
  color: inherit;
  font-weight: 700;
}

.wb-result-stat.ok {
  color: #15803d;
  background: #f0fdf4;
}

.wb-result-stat.warn {
  color: #b45309;
  background: #fffbeb;
}

.wb-result-stat.danger {
  color: #b91c1c;
  background: #fff1f2;
}

.wb-result-stat.muted {
  color: #64748b;
  background: #f1f5f9;
}

.wb-retention-countdown {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  color: #334155;
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
}

.wb-retention-countdown > i {
  color: var(--wb-brand-blue);
}

.wb-retention-countdown strong {
  min-width: 54px;
  color: inherit;
  font-family: Consolas, Monaco, monospace;
  font-weight: 600;
}

.wb-retention-countdown.expired {
  color: var(--wb-red);
}

.wb-node-scope {
  display: inline-flex !important;
  align-items: center;
  flex-wrap: wrap;
  gap: 5px;
}

.wb-batch-retention {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 8px 20px;
  margin: 14px 0;
  color: var(--wb-muted);
  font-size: 12px;
}

.wb-batch-retention strong {
  color: var(--wb-text);
  font-weight: 500;
}

.wb-batch-master-detail {
  display: grid;
  grid-template-columns: minmax(280px, .85fr) minmax(0, 1.55fr);
  gap: 14px;
  margin: 18px 0;
  align-items: start;
}

.wb-api-target-pane,
.wb-api-target-detail {
  min-width: 0;
  border: 1px solid var(--wb-border);
  border-radius: 6px;
  background: #ffffff;
}

.wb-api-target-pane > header {
  display: grid;
  gap: 10px;
  padding: 14px;
  border-bottom: 1px solid var(--wb-border);
  background: #f8fafc;
}

.wb-api-target-pane > header > div {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 10px;
}

.wb-api-target-pane h3 {
  margin: 0;
  font-size: 15px;
}

.wb-api-target-pane header span {
  color: var(--wb-muted);
  font-size: 12px;
}

.wb-api-target-search {
  position: relative;
  display: block;
}

.wb-api-target-search > i {
  position: absolute;
  top: 50%;
  left: 11px;
  z-index: 1;
  color: #94a3b8;
  transform: translateY(-50%);
}

.wb-api-target-search .layui-input {
  height: 34px;
  padding-left: 33px;
  background: #ffffff;
}

.wb-api-target-list {
  max-height: 560px;
  overflow-y: auto;
  scrollbar-width: thin;
  scrollbar-color: #cbd5e1 transparent;
}

.wb-api-target-row {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 12px;
  align-items: center;
  gap: 9px;
  width: 100%;
  min-height: 68px;
  padding: 10px 12px;
  border: 0;
  border-bottom: 1px solid #edf0f4;
  color: var(--wb-text);
  background: #ffffff;
  text-align: left;
  cursor: pointer;
}

.wb-api-target-row:last-of-type {
  border-bottom: 0;
}

.wb-api-target-row:hover {
  background: #f8fbff;
}

.wb-api-target-row.active {
  background: var(--wb-blue-soft);
  box-shadow: inset 3px 0 0 var(--wb-brand-blue);
}

.wb-api-target-row:focus-visible {
  z-index: 1;
  outline: 3px solid var(--wb-focus-ring);
  outline-offset: -3px;
}

.wb-api-target-copy {
  display: grid;
  grid-column: 1;
  grid-row: 1;
  gap: 4px;
  min-width: 0;
}

.wb-api-target-copy > strong {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.wb-api-target-copy > small {
  display: flex;
  align-items: center;
  gap: 5px;
  min-width: 0;
}

.wb-api-target-copy > small.wb-cell-meta {
  display: block;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.wb-api-target-chevron {
  grid-column: 2;
  grid-row: 1 / span 2;
  color: #94a3b8;
  font-size: 11px;
}

.wb-api-target-counts {
  grid-column: 1;
  grid-row: 2;
}

.wb-api-target-row.active .wb-api-target-chevron {
  color: var(--wb-brand-blue);
}

.wb-api-target-empty {
  padding: 28px 16px;
  color: var(--wb-muted);
  text-align: center;
}

.wb-api-target-pagination {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  min-height: 44px;
  padding: 6px 10px;
  border-top: 1px solid var(--wb-border);
  background: #f8fafc;
}

.wb-api-target-pagination > span {
  color: var(--wb-muted);
  font-size: 12px;
}

.wb-api-target-pagination > div {
  display: inline-flex;
  gap: 5px;
}

.wb-api-target-pagination button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 30px;
  height: 30px;
  padding: 0;
  border: 1px solid var(--wb-control-border);
  border-radius: 4px;
  color: #475569;
  background: #ffffff;
  cursor: pointer;
}

.wb-api-target-pagination button:hover:not(:disabled) {
  border-color: var(--wb-brand-blue);
  color: var(--wb-brand-blue);
}

.wb-api-target-pagination button:disabled {
  color: #cbd5e1;
  cursor: not-allowed;
}

.wb-api-target-detail {
  min-height: 360px;
  padding: 16px;
  overflow-x: auto;
}

.wb-api-target-detail > .wb-drawer-section {
  margin: 0;
}

.wb-drawer-section {
  margin: 18px 0;
}

.wb-drawer-section > h3 {
  margin: 0 0 10px;
  font-size: 15px;
  line-height: 1.45;
}

.wb-inline-notice {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin: 16px 0;
  padding: 12px 14px;
  border-left: 3px solid #94a3b8;
  color: #334155;
  background: #f8fafc;
}

.wb-inline-notice > i {
  margin-top: 2px;
  color: #64748b;
}

.wb-inline-notice span,
.wb-inline-notice small {
  display: block;
}

.wb-inline-notice small {
  margin-top: 3px;
  color: var(--wb-muted);
  line-height: 1.5;
}

.wb-node-tree {
  display: grid;
  gap: 12px;
}

.wb-node-group {
  border: 1px solid var(--wb-border);
  border-radius: 6px;
  background: #ffffff;
}

.wb-node-group > summary,
.wb-node-group > header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 13px 16px;
  cursor: pointer;
  list-style: none;
}

.wb-node-group > summary::-webkit-details-marker {
  display: none;
}

.wb-node-group > summary span,
.wb-node-group > header > div {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.wb-node-group .wb-node-group-name {
  display: grid;
  gap: 2px;
}

.wb-node-group > summary small,
.wb-node-group > header > span {
  color: var(--wb-muted);
}

.wb-node-list {
  border-top: 1px solid var(--wb-border);
}

.wb-node-row {
  display: grid;
  grid-template-columns: minmax(230px, 1.4fr) minmax(90px, .65fr) minmax(120px, .8fr) 100px 150px 100px;
  gap: 12px;
  align-items: center;
  min-height: 48px;
  padding: 0 16px 0 34px;
  border-bottom: 1px solid var(--wb-border);
}

.wb-node-row.wb-node-row-live {
  grid-template-columns: minmax(230px, 1.5fr) minmax(110px, .5fr) minmax(150px, .7fr) minmax(110px, .45fr);
}

.wb-node-row > div:first-child {
  display: grid;
  gap: 3px;
  min-width: 0;
}

.wb-node-row .wb-copy-id {
  justify-content: flex-start;
  width: auto;
  height: auto;
  padding: 0;
  border: 0;
  color: var(--wb-muted);
  background: transparent;
  font-family: inherit;
  font-size: 11px;
}

.wb-node-row .wb-copy-id code {
  color: inherit;
  font-family: Consolas, Monaco, monospace;
  font-size: inherit;
}

.wb-node-id-label {
  white-space: nowrap;
}

.wb-node-row:last-child {
  border-bottom: 0;
}

.wb-node-row code {
  color: var(--wb-muted);
  font-size: 11px;
}

.wb-node-status {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.wb-node-status::before,
.wb-unread-marker {
  content: "";
  display: inline-block;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #94a3b8;
}

.wb-node-status.available::before,
.wb-unread-marker.active {
  background: var(--wb-blue);
}

.wb-pay-card.disabled,
.wb-coin-card.disabled {
  opacity: .5;
  cursor: not-allowed;
}

.wb-pay-card.disabled input,
.wb-coin-card.disabled input {
  pointer-events: none;
}

.wb-pay-card em {
  color: var(--wb-muted);
  font-size: 11px;
  font-style: normal;
  line-height: 1.4;
  overflow-wrap: anywhere;
}

.wb-payment-dialog {
  padding: 28px;
  text-align: center;
}

.wb-payment-dialog > i {
  color: var(--wb-blue);
  font-size: 30px;
}

.wb-payment-coin {
  width: 40px;
  height: 40px;
  object-fit: contain;
}

.wb-payment-qr {
  display: flex;
  width: 208px;
  height: 208px;
  align-items: center;
  justify-content: center;
  margin: 18px auto;
  padding: 12px;
  border: 1px solid var(--wb-border);
  border-radius: 6px;
  background: #ffffff;
  box-sizing: border-box;
}

.wb-payment-qr img,
.wb-payment-qr canvas {
  display: block;
  max-width: 100%;
}

.wb-payment-summary {
  display: grid;
  gap: 0;
  margin: 18px 0;
  overflow: hidden;
  border: 1px solid var(--wb-border);
  border-radius: 6px;
  background: #f8fafc;
  text-align: left;
}

.wb-payment-summary > div {
  display: flex;
  min-height: 42px;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 0 14px;
  border-bottom: 1px solid var(--wb-border);
}

.wb-payment-summary > div:last-child {
  border-bottom: 0;
}

.wb-payment-summary span {
  color: var(--wb-muted);
  font-size: 13px;
}

.wb-payment-summary strong {
  color: var(--wb-text);
  font-size: 15px;
}

.wb-payment-summary .is-credit strong {
  color: var(--wb-blue);
}

.wb-payment-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px;
  margin: 18px 0 8px;
}

.wb-payment-actions .layui-btn {
  margin: 0;
}

.wb-payment-status-hint {
  margin: 0 0 14px;
  color: var(--wb-muted);
  font-size: 12px;
}

.wb-qr-placeholder {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 150px;
  height: 150px;
  margin: 16px auto;
  border: 1px solid var(--wb-border);
  background: #ffffff;
  font-size: 110px;
}

.wb-address-field {
  display: flex;
  gap: 6px;
  margin: 16px 0;
}

.wb-address-field code {
  flex: 1;
  min-width: 0;
  padding: 10px;
  overflow: hidden;
  border: 1px solid var(--wb-border);
  border-radius: 4px;
  background: #f8fafc;
  text-overflow: ellipsis;
}

.wb-default-tag {
  display: inline-block;
  margin-left: 8px;
  padding: 2px 5px;
  border-radius: 3px;
  color: var(--wb-blue);
  background: #dbeafe;
  font-size: 10px;
}

.wb-contact-actions {
  display: flex;
  min-width: max-content;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px;
}

.wb-contact-table th:nth-child(3),
.wb-contact-table td:nth-child(3) {
  width: 180px;
  min-width: 170px;
}

.wb-contact-table td:nth-child(3) .wb-telegram-identity {
  max-width: 220px;
  white-space: nowrap;
}

.wb-contact-actions .wb-telegram-actions {
  gap: 6px;
}

.wb-contact-actions .layui-btn {
  margin: 0;
}

.wb-contact-form {
  display: grid;
  gap: 18px;
}

.wb-contact-form-field {
  display: grid;
  gap: 7px;
}

.wb-contact-form-field > label {
  color: var(--wb-text-secondary);
  font-size: 13px;
  font-weight: 700;
}

.wb-contact-form-help {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  margin: 0;
  padding: 11px 12px;
  border-radius: 4px;
  color: var(--wb-text-secondary);
  background: #f8fafc;
  font-size: 12px;
  line-height: 1.6;
}

.wb-contact-form-help i {
  flex: 0 0 auto;
  margin-top: 3px;
  color: var(--wb-blue);
}

.wb-contact-form-actions {
  display: flex;
  justify-content: flex-end;
  gap: 8px;
  padding-top: 4px;
}

.wb-message-table td:first-child > div {
  display: grid;
  max-width: 520px;
  vertical-align: middle;
  white-space: normal;
}

.wb-notification-toolbar {
  margin-bottom: 14px;
}

.wb-notification-bulk-actions {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 8px;
}

.wb-notification-summary {
  display: inline-flex;
  align-items: center;
  min-height: 38px;
  gap: 7px;
  color: var(--wb-muted);
  font-size: 12px;
  white-space: nowrap;
}

.wb-notification-summary i {
  color: var(--wb-blue);
}

.wb-notification-message {
  grid-template-columns: 8px minmax(0, 1fr);
  align-items: start;
  gap: 9px;
}

.wb-notification-message .wb-unread-marker {
  margin-top: 7px;
}

.wb-message-preview {
  display: -webkit-box;
  max-width: 520px;
  overflow: hidden;
  padding: 0;
  border: 0;
  color: var(--wb-text-secondary);
  background: transparent;
  font: inherit;
  line-height: 1.55;
  text-align: left;
  overflow-wrap: anywhere;
  cursor: pointer;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

.wb-notification-message.unread .wb-message-preview {
  color: var(--wb-text);
  font-weight: 600;
}

.wb-message-preview:hover {
  color: var(--wb-blue);
}

.wb-notification-actions {
  min-width: max-content;
}

.wb-notification-detail {
  display: grid;
  gap: 18px;
  padding: 22px;
}

.wb-notification-detail-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px 16px;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--wb-border);
}

.wb-notification-detail-meta > span:not(.wb-badge) {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--wb-muted);
  font-size: 12px;
}

.wb-notification-detail-body {
  color: var(--wb-text);
  font-size: 14px;
  line-height: 1.8;
  overflow-wrap: anywhere;
}

.wb-account-summary {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  padding: 20px;
  border-left: 1px solid var(--wb-border);
  text-align: center;
}

.wb-account-balance {
  color: var(--wb-blue);
  font-weight: 600;
}

.wb-avatar {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 64px;
  height: 64px;
  border-radius: 50%;
  color: #ffffff;
  background: #334155;
  font-size: 26px;
  font-weight: 700;
}

.wb-security-summary {
  display: grid;
  gap: 14px;
}

.wb-security-summary > div {
  display: flex;
  align-items: flex-start;
  gap: 11px;
}

.wb-security-summary i {
  width: 24px;
  color: var(--wb-green);
  font-size: 18px;
}

.wb-security-summary span {
  display: grid;
  gap: 3px;
}

.wb-security-summary small {
  color: var(--wb-muted);
}

.wb-drawer-content,
.wb-dialog-content {
  padding: 22px;
  box-sizing: border-box;
}

.wb-group-manager {
  min-height: 100%;
  padding: 0 22px 24px;
  color: var(--wb-text);
  background: #ffffff;
  box-sizing: border-box;
}

.wb-group-manager.is-busy {
  cursor: progress;
}

.wb-group-manager.is-busy .wb-group-create,
.wb-group-manager.is-busy .wb-group-list {
  pointer-events: none;
  opacity: .64;
}

.wb-group-manager-head {
  display: grid;
  grid-template-columns: 38px minmax(0, 1fr);
  gap: 12px;
  align-items: center;
  padding: 24px 38px 20px 0;
  border-bottom: 1px solid var(--wb-border);
}

.wb-group-manager-head > span {
  display: inline-flex;
  width: 38px;
  height: 38px;
  align-items: center;
  justify-content: center;
  border-radius: 5px;
  color: var(--wb-blue);
  background: var(--wb-blue-soft);
}

.wb-group-manager-head h2 {
  margin: 0;
  font-size: 18px;
  line-height: 1.35;
}

.wb-group-manager-head p {
  margin: 4px 0 0;
  color: var(--wb-muted);
  font-size: 12px;
  line-height: 1.5;
}

.wb-group-create {
  display: grid;
  gap: 8px;
  padding: 20px 0;
  border-bottom: 1px solid var(--wb-border);
}

.wb-group-create > label {
  color: var(--wb-text-secondary);
  font-size: 13px;
  font-weight: 700;
}

.wb-group-create > div {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 8px;
}

.wb-group-create .layui-btn {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  margin: 0;
}

.wb-group-list {
  display: grid;
}

.wb-group-row {
  min-width: 0;
  border-bottom: 1px solid var(--wb-border);
}

.wb-group-row-view {
  display: grid;
  grid-template-columns: 32px minmax(0, 1fr) auto;
  gap: 10px;
  min-height: 64px;
  align-items: center;
}

.wb-group-row-fixed .wb-group-row-view {
  grid-template-columns: 32px minmax(0, 1fr);
}

.wb-group-icon {
  display: inline-flex;
  width: 30px;
  height: 30px;
  align-items: center;
  justify-content: center;
  border-radius: 4px;
  color: #64748b;
  background: #f1f5f9;
}

.wb-group-copy {
  display: grid;
  min-width: 0;
  gap: 3px;
}

.wb-group-copy strong {
  overflow: hidden;
  font-size: 13px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.wb-group-copy small {
  color: var(--wb-muted);
  font-size: 11px;
}

.wb-group-actions {
  display: inline-flex;
  gap: 5px;
}

.wb-group-actions .wb-icon-button,
.wb-group-row-edit .wb-icon-button {
  width: 32px;
  height: 32px;
}

.wb-group-row-edit {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 32px 32px;
  gap: 6px;
  align-items: center;
  min-height: 64px;
}

.wb-group-row-edit[hidden] {
  display: none;
}

.wb-group-empty {
  padding: 30px 12px;
  color: var(--wb-muted);
  font-size: 12px;
  text-align: center;
}

.wb-drawer-heading {
  padding-bottom: 16px;
  border-bottom: 1px solid var(--wb-border);
}

.wb-drawer-heading h2 {
  margin: 10px 0 5px;
  font-size: 20px;
}

.wb-drawer-heading p {
  margin: 0;
  color: var(--wb-muted);
}

.wb-result-summary {
  display: flex;
  justify-content: space-between;
  gap: 14px;
  margin-top: 16px;
  padding: 13px;
  border-radius: 5px;
  background: #f8fafc;
}

.wb-technical-details {
  margin-top: 16px;
}

.wb-technical-details summary {
  color: var(--wb-blue);
  cursor: pointer;
}

.wb-json-compact {
  min-height: 0;
  max-height: 260px;
  margin-top: 10px;
}

.wb-invoice-total {
  display: flex;
  justify-content: flex-end;
  gap: 18px;
  padding: 16px 12px 0;
  font-size: 16px;
}

@media (max-width: 1100px) {
  .wb-chart-canvas {
    height: 280px;
  }

  .wb-dashboard-grid,
  .wb-dashboard-action-grid,
  .wb-create-layout,
  .wb-explorer-grid,
  .wb-doc-layout,
  .wb-key-layout,
  .wb-account-layout {
    grid-template-columns: minmax(0, 1fr);
  }

  .wb-estimate-panel,
  .wb-explorer-response-panel,
  .wb-doc-toc {
    position: static;
  }

  .wb-doc-toc {
    max-height: none;
  }

  .wb-task-context {
    flex-direction: column;
  }

  .wb-task-facts {
    grid-template-columns: repeat(5, minmax(0, 1fr));
  }

  .wb-account-summary {
    border-top: 1px solid var(--wb-border);
    border-left: 0;
  }

  .wb-node-row {
    grid-template-columns: minmax(180px, 1.5fr) 70px 95px 90px 140px;
    gap: 8px;
    padding: 0 12px;
  }

  .wb-node-row.wb-node-row-live {
    grid-template-columns: minmax(180px, 1.4fr) 100px 140px 100px;
  }

  .wb-node-row.wb-node-row-live > span:last-child {
    display: inline;
  }

  .wb-node-row > span:last-child {
    display: none;
  }
}

@media (max-width: 900px) {
  .wb-toolbar {
    align-items: stretch;
    flex-direction: column;
  }

  .wb-toolbar > .wb-filter-controls {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    width: 100%;
  }

  .wb-toolbar .wb-search-field {
    grid-column: 1 / -1;
  }

  .wb-toolbar .wb-filter-controls select,
  .wb-toolbar .wb-filter-controls .layui-form-select,
  .wb-toolbar .wb-search-field,
  .wb-toolbar .wb-search-field .layui-input {
    width: 100%;
    min-width: 0;
  }

  .wb-toolbar > button {
    align-self: flex-end;
  }

  .wb-profile-telegram {
    align-items: flex-start;
    flex-direction: column;
  }

  .wb-profile-telegram > .wb-telegram-actions {
    flex-wrap: wrap;
  }

  .wb-notification-bulk-actions {
    width: 100%;
  }

  .wb-monitor-table {
    min-width: 640px;
  }

  .wb-monitor-table th:nth-child(5),
  .wb-monitor-table td:nth-child(5),
  .wb-monitor-table th:nth-child(9),
  .wb-monitor-table td:nth-child(9) {
    display: none;
  }

  .wb-monitor-table th:nth-child(1) { width: 5%; }
  .wb-monitor-table th:nth-child(2) { width: 18%; }
  .wb-monitor-table th:nth-child(3) { width: 18%; }
  .wb-monitor-table th:nth-child(4) { width: 10%; }
  .wb-monitor-table th:nth-child(6) { width: 10%; }
  .wb-monitor-table th:nth-child(7) { width: 14%; }
  .wb-monitor-table th:nth-child(8) { width: 11%; }
  .wb-monitor-table th:nth-child(10) { width: 14%; }

  .wb-batch-table {
    min-width: 700px;
  }

  .wb-alert-table {
    min-width: 660px;
  }

  .wb-alert-table th:nth-child(6),
  .wb-alert-table td:nth-child(6) {
    display: none;
  }

  .wb-monitor-table th {
    white-space: normal;
  }

  .wb-domain-summary-table {
    min-width: 670px;
  }

  .wb-domain-summary-table th:nth-child(6),
  .wb-domain-summary-table td:nth-child(6) {
    display: none;
  }

  .wb-summary-strip {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }

  .wb-order-table .wb-receipt-button span {
    display: none;
  }

  .wb-recent-order-table .wb-receipt-button span,
  .wb-invoice-actions span,
  .wb-alert-table .wb-row-actions span {
    display: none;
  }
}

@media (max-width: 760px) {
  .wb-chart-canvas {
    height: 240px;
  }

  .wb-chart-legend {
    gap: 4px 14px;
  }

  .wb-dashboard-flow {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .wb-dashboard-step {
    padding: 9px 10px;
    border-left: 0;
  }

  .wb-dashboard-step:nth-child(even) {
    border-left: 1px solid var(--wb-border);
  }

  .wb-dashboard-step:nth-child(n + 3) {
    border-top: 1px solid var(--wb-border);
  }

  .wb-toolbar,
  .wb-matrix-tools {
    align-items: stretch;
    flex-direction: column;
  }

  .wb-bulk-bar {
    align-items: stretch;
    flex-direction: column;
  }

  .wb-bulk-actions {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 38px;
    width: 100%;
  }

  .wb-bulk-task-actions {
    grid-column: 1;
    grid-row: 1;
  }

  .wb-bulk-group-actions {
    grid-column: 1 / -1;
    grid-row: 2;
    min-width: 0;
  }

  .wb-bulk-group-actions .layui-form-select {
    flex: 1;
    width: auto;
    min-width: 0;
  }

  #js-monitor-clear-selection {
    grid-column: 2;
    grid-row: 1;
  }

  .wb-filter-controls,
  .wb-filter-controls select,
  .wb-filter-controls .layui-form-select,
  .wb-search-field,
  .wb-search-field .layui-input {
    width: 100%;
  }

  .wb-matrix-wrap {
    overflow-x: auto;
    scrollbar-width: thin;
    scrollbar-color: #b7c0cc transparent;
  }

  .wb-create-form {
    padding: 0 14px;
  }

  .wb-form-section {
    padding: 20px 0;
  }

  .wb-form-section-head {
    margin-bottom: 16px;
  }

  .wb-form-section-content {
    gap: 16px;
  }

  .wb-choice-segmented {
    width: 100%;
    grid-auto-columns: minmax(0, 1fr);
  }

  .wb-choice-segmented label > span {
    width: 100%;
    padding: 0 8px;
  }

  .wb-continuous-notify {
    padding: 13px;
  }

  .wb-monitor-recipient {
    grid-template-columns: 18px 34px minmax(0, 1fr);
    align-items: start;
  }

  .wb-monitor-recipient > input[type="checkbox"],
  .wb-monitor-recipient-icon {
    margin-top: 2px;
  }

  .wb-monitor-recipient-channels {
    grid-column: 2 / -1;
    justify-content: flex-start;
  }

  .wb-monitor-recipient-empty {
    grid-template-columns: 30px minmax(0, 1fr);
  }

  .wb-monitor-recipient-empty a {
    grid-column: 2;
    justify-self: start;
  }

  .wb-continuous-notify-main {
    align-items: flex-start;
  }

  .wb-continuous-notify-copy {
    align-items: flex-start;
  }

  .wb-continuous-notify-rule {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: 8px;
  }

  .wb-continuous-notify-interval {
    grid-template-columns: minmax(0, 1fr);
    gap: 7px;
  }

  .wb-continuous-notify-rule > i {
    display: none;
  }

  .wb-create-form > .wb-form-submit {
    margin: 0 -14px;
    padding: 12px 14px;
  }

  .wb-stat-filter .layui-input-inline,
  .wb-stat-filter .layui-input,
  .wb-stat-filter .layui-form-select {
    flex-basis: 100%;
    width: 100%;
  }

  .wb-node-picker details > div,
  .wb-quick-actions,
  .wb-summary-strip-4,
  .wb-task-facts {
    grid-template-columns: 1fr;
  }

  .wb-metric-row {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .wb-summary-strip {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .wb-metric {
    border-right: 1px solid var(--wb-border);
    border-bottom: 1px solid var(--wb-border);
  }

  .wb-metric:nth-child(2n) {
    border-right: 0;
  }

  .wb-metric:nth-last-child(-n+2) {
    border-bottom: 0;
  }

  .wb-key-metrics .wb-metric,
  .wb-key-metrics .wb-metric:nth-child(2n),
  .wb-key-metrics .wb-metric:nth-last-child(-n+2) {
    border: 1px solid var(--wb-border);
  }

  .wb-task-facts > div {
    grid-template-columns: 120px 1fr;
    border-left: 0;
    border-top: 1px solid var(--wb-border);
    padding: 8px 0 0;
  }

  .wb-setting-row {
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 6px;
    padding: 10px 0;
  }

  .wb-setting-row > div {
    grid-template-columns: 1fr;
    gap: 4px;
  }

  .wb-node-row {
    grid-template-columns: 1fr 1fr;
    padding: 10px 14px;
  }

  .wb-node-row.wb-node-row-live {
    grid-template-columns: 1fr 1fr;
  }

  .wb-node-row > div:first-child {
    grid-column: 1 / -1;
  }

  .wb-node-group > header {
    align-items: flex-start;
    flex-wrap: wrap;
  }

  .wb-field-foot,
  .wb-address-field {
    align-items: stretch;
    flex-direction: column;
  }

  .wb-address-field button {
    width: 100%;
  }

  .wb-key-field {
    grid-template-columns: minmax(0, 1fr);
  }

  .wb-key-actions {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .wb-key-actions .layui-btn {
    width: 100%;
  }

  .wb-key-actions .layui-btn:last-child {
    grid-column: 1 / -1;
  }
}

@media (max-width: 520px) {
  .wb-dashboard-flow {
    grid-template-columns: minmax(0, 1fr);
  }

  .wb-dashboard-step,
  .wb-dashboard-step:nth-child(even) {
    padding: 10px 0;
    border-left: 0;
  }

  .wb-dashboard-step:nth-child(n + 2) {
    border-top: 1px solid var(--wb-border);
  }

  .wb-dashboard-flow-actions {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
  }

  .wb-dashboard-flow-actions .layui-btn {
    width: 100%;
  }

  .wb-dashboard-notice-item {
    grid-template-columns: 34px minmax(0, 1fr) auto;
    gap: 8px;
  }

  .wb-dashboard-notice-action .layui-btn span {
    display: none;
  }

  .wb-header .layui-layout-left {
    width: 52px;
    box-sizing: border-box;
    gap: 0;
    padding: 0 !important;
  }

  .wb-header .layui-layout-left > .layui-nav-item {
    margin: 0;
  }

  .wb-header .layui-layout-left .layui-nav-item > a {
    padding: 0 !important;
  }

  .wb-page-titlebar {
    gap: 10px;
  }

  .wb-page-titlebar h1 {
    font-size: 21px;
  }

  #wb-page-actions {
    gap: 6px;
  }

  #wb-page-actions .layui-btn {
    width: 36px;
    min-width: 36px;
    height: 36px;
  }

  .wb-header .layui-layout-right {
    left: auto;
    right: 0;
    width: auto;
    white-space: nowrap;
  }

  .wb-header .layui-layout-right .layui-nav-item {
    display: inline-block;
  }

  .wb-header .layui-layout-right .layui-nav-item > a {
    padding: 0 7px;
  }

  .wb-header .layui-layout-right .wb-notification-link {
    width: 40px;
    padding: 0 !important;
  }

  .wb-notification-link .layui-badge-dot {
    right: 6px;
  }

  .wb-header [data-current-user] {
    display: none;
  }

  .wb-toolbar > .wb-filter-controls {
    grid-template-columns: 1fr;
  }

  .wb-toolbar .wb-search-field {
    grid-column: 1;
  }

  .wb-bulk-task-actions .layui-btn {
    flex: 1;
    width: auto;
    justify-content: center;
  }

  .wb-bulk-group-actions {
    align-items: stretch;
    flex-direction: column;
  }

  .wb-bulk-group-actions .layui-form-select,
  .wb-bulk-group-actions .layui-btn {
    width: 100%;
  }

  .wb-group-manager {
    padding: 0 16px 20px;
  }

  .wb-group-create > div {
    grid-template-columns: 1fr;
  }

  .wb-group-create .layui-btn {
    justify-content: center;
  }

  .wb-grid.cols-4 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .wb-table-wrap {
    overflow: visible;
  }

  .wb-table-wrap.wb-matrix-wrap {
    overflow-x: auto;
    scrollbar-width: thin;
    scrollbar-color: #b7c0cc transparent;
  }

  .wb-table,
  .wb-table.wb-table-compact,
  .wb-monitor-table,
  .wb-batch-table,
  .wb-order-table,
  .wb-alert-table,
  .wb-domain-summary-table,
  .wb-pollution-table,
  .wb-recent-order-table,
  .wb-billing-entry-table,
  .wb-finance-ledger-table,
  .wb-invoice-table {
    display: block;
    width: 100%;
    min-width: 0;
  }

  .wb-table thead {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip: rect(0 0 0 0);
    white-space: nowrap;
  }

  .wb-table tbody,
  .wb-table tr {
    display: block;
    width: 100%;
  }

  .wb-table tr {
    padding: 5px 0;
    border-bottom: 7px solid #eef2f6;
  }

  .wb-table tr:last-child {
    border-bottom: 0;
  }

  .wb-table td[data-label] {
    display: block;
    width: 100%;
    padding: 7px 10px;
    box-sizing: border-box;
    white-space: normal;
  }

  .wb-table td[data-label]::before {
    content: attr(data-label);
    display: block;
    margin-bottom: 3px;
    color: var(--wb-muted);
    font-size: 11px;
    font-weight: 700;
  }

  .wb-table td:last-child {
    border-bottom: 0;
  }

  .wb-table td:not([data-label]) {
    display: block;
  }

  .wb-monitor-table td:first-child {
    display: flex;
    align-items: center;
    justify-content: space-between;
  }

  .wb-monitor-table td:first-child::before {
    margin-bottom: 0;
  }

  .wb-monitor-table td:first-child .wb-table-check {
    width: auto;
  }

  .wb-table .wb-row-actions {
    flex-wrap: wrap;
    gap: 8px;
  }

  .wb-console .wb-table .layui-btn.layui-btn-xs,
  .wb-table .wb-action-menu summary,
  .wb-table .wb-receipt-button {
    min-height: 36px;
    height: 36px;
  }

  .wb-console .wb-notification-bulk-actions .layui-btn {
    min-height: 38px;
    height: 38px;
  }

  .wb-table .wb-action-menu summary {
    width: 36px;
  }

  .wb-action-menu-list {
    right: auto;
    left: 0;
  }

  .wb-action-menu-list button {
    min-height: 38px;
  }

  .wb-batch-table .wb-copy-id,
  .wb-node-row .wb-copy-id {
    min-height: 36px;
    padding: 0 8px;
    border: 1px solid var(--wb-border);
    border-radius: 4px;
    background: #f8fafc;
  }

  .wb-pagination {
    flex-wrap: wrap;
  }

  .wb-pagination button {
    min-width: 36px;
    height: 36px;
  }

  .wb-node-row > span[data-label]::before {
    content: attr(data-label);
    display: block;
    margin-bottom: 3px;
    color: var(--wb-muted);
    font-size: 10px;
    font-weight: 700;
  }

  .wb-invoice-actions span,
  .wb-receipt-button span,
  .wb-recent-order-table .wb-receipt-button span,
  .wb-order-table .wb-receipt-button span,
  .wb-alert-table .wb-row-actions span {
    display: inline;
  }

  .wb-monitor-table th:nth-child(5),
  .wb-monitor-table td:nth-child(5),
  .wb-monitor-table th:nth-child(9),
  .wb-monitor-table td:nth-child(9),
  .wb-alert-table th:nth-child(6),
  .wb-alert-table td:nth-child(6),
  .wb-domain-summary-table th:nth-child(6),
  .wb-domain-summary-table td:nth-child(6) {
    display: none;
  }

  .wb-batch-master-detail {
    grid-template-columns: 1fr;
  }

  .wb-api-target-list {
    max-height: 320px;
  }

  .wb-api-target-detail {
    min-height: 0;
    padding: 12px;
  }

  .wb-api-target-counts {
    grid-column: 1;
  }
}

.wb-api-version-switch {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
  margin-bottom: 14px;
  padding: 6px;
  border: 1px solid var(--wb-border);
  border-radius: 6px;
  background: #ffffff;
}

.wb-api-version-switch a,
.wb-api-version-switch button {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  min-height: 46px;
  padding: 7px 14px;
  border: 1px solid transparent;
  border-radius: 5px;
  color: var(--wb-muted);
  background: transparent;
  cursor: pointer;
}

.wb-api-version-switch a:hover,
.wb-api-version-switch button:hover {
  color: var(--wb-blue);
  background: #f8fafc;
}

.wb-api-version-switch a.active,
.wb-api-version-switch button.active {
  border-color: #bfdbfe;
  color: #075ea8;
  background: #eff7ff;
  box-shadow: inset 3px 0 0 var(--wb-blue);
}

.wb-api-version-switch strong {
  font-size: 15px;
}

.wb-api-version-switch small {
  color: inherit;
  font-size: 12px;
  font-weight: 400;
}

.wb-endpoint-value {
  display: flex;
  align-items: center;
  min-height: 44px;
  overflow: hidden;
  border: 1px solid var(--wb-border);
  border-radius: 5px;
  background: #f8fafc;
}

.wb-endpoint-value .wb-method {
  align-self: stretch;
  display: inline-flex;
  align-items: center;
  padding: 0 13px;
  color: #ffffff;
  background: #0876cf;
  font-size: 12px;
  font-weight: 700;
}

.wb-endpoint-value code {
  padding: 0 13px;
  color: var(--wb-text);
  font-size: 14px;
}

.wb-explorer-context {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

.wb-explorer-context > div {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  padding: 12px;
  border: 1px solid var(--wb-border);
  border-radius: 5px;
  background: #f8fafc;
}

.wb-explorer-context i {
  margin-top: 2px;
  color: var(--wb-blue);
}

.wb-explorer-context span {
  display: grid;
  gap: 3px;
}

.wb-explorer-context small {
  color: var(--wb-muted);
  line-height: 1.45;
}

.wb-explorer-billing-context {
  grid-template-columns: minmax(0, 1fr);
}

.wb-api-version-tag {
  display: inline-flex;
  align-items: center;
  width: max-content;
  min-height: 22px;
  padding: 0 7px;
  border: 1px solid #bfdbfe;
  border-radius: 4px;
  color: #075ea8;
  background: #eff7ff;
  font-size: 11px;
  font-weight: 700;
  line-height: 1;
}

.wb-api-version-tag.v1 {
  border-color: #99f6e4;
  color: #0f766e;
  background: #f0fdfa;
}

.wb-api-type-cell {
  display: grid;
  gap: 6px;
}

.wb-v1-result-summary {
  display: grid;
  justify-items: start;
  gap: 5px;
  min-width: 130px;
}

.wb-v1-result-summary small {
  color: var(--wb-muted);
}

.wb-privacy-notice {
  margin: 14px 0;
}

@media (max-width: 680px) {
  .wb-api-version-switch a,
  .wb-api-version-switch button {
    flex-direction: column;
    gap: 2px;
  }

  .wb-explorer-context {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 360px) {
  .wb-grid.cols-4 {
    grid-template-columns: 1fr;
  }
}

/* Authentication */
.wb-auth-page {
  min-height: 100vh;
  margin: 0;
  color: var(--wb-text);
  background: #f4f6f8;
  letter-spacing: 0;
}

.wb-auth-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 64px;
  padding: 0 28px;
  border-bottom: 1px solid var(--wb-border);
  background: #ffffff;
  box-sizing: border-box;
}

.wb-auth-header img {
  display: block;
  width: 154px;
  height: auto;
}

.wb-auth-language {
  display: inline-flex;
  gap: 4px;
}

.wb-auth-language button {
  height: 32px;
  padding: 0 10px;
  border: 0;
  border-radius: 3px;
  color: var(--wb-muted);
  background: transparent;
  cursor: pointer;
}

.wb-auth-language button.active {
  color: var(--wb-blue);
  background: var(--wb-blue-soft);
  font-weight: 700;
}

.wb-auth-main {
  display: grid;
  min-height: calc(100vh - 64px);
  place-items: center;
  padding: 32px 16px;
  box-sizing: border-box;
}

.wb-auth-panel {
  width: min(420px, 100%);
  border: 1px solid var(--wb-border);
  border-radius: 8px;
  background: #ffffff;
  box-shadow: 0 8px 24px rgba(15, 23, 42, .08);
  overflow: hidden;
}

.wb-auth-panel.wide {
  width: min(480px, 100%);
}

.wb-auth-tabs {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  border-bottom: 1px solid var(--wb-border);
}

.wb-auth-tabs button,
.wb-auth-tabs a {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 48px;
  border: 0;
  border-bottom: 2px solid transparent;
  color: var(--wb-muted);
  background: transparent;
  cursor: pointer;
  text-decoration: none;
  box-sizing: border-box;
}

.wb-auth-tabs button.active,
.wb-auth-tabs a.active {
  color: var(--wb-blue);
  border-bottom-color: var(--wb-blue);
  font-weight: 700;
}

.wb-auth-form {
  padding: 26px 30px 30px;
}

.wb-auth-form[hidden] {
  display: none;
}

.wb-auth-form h1 {
  margin: 0 0 22px;
  font-size: 21px;
  text-align: center;
}

.wb-auth-form > label:not(.wb-auth-check) {
  display: grid;
  gap: 7px;
  margin-bottom: 15px;
  color: #475569;
  font-size: 13px;
  font-weight: 600;
}

.wb-auth-form > label > .wb-field-hint {
  color: var(--wb-muted);
  font-size: 12px;
  font-weight: 400;
  line-height: 1.5;
}

.wb-auth-code-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 126px;
  gap: 10px;
}

.wb-auth-code-row .layui-btn {
  width: 126px;
  margin: 0;
}

.wb-turnstile {
  min-height: 65px;
  margin: 2px 0 16px;
  overflow: hidden;
}

.wb-turnstile .cf-turnstile {
  display: flex;
  justify-content: center;
}

.wb-auth-form-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin: 2px 0 16px;
}

.wb-auth-check {
  color: #475569;
  font-size: 12px;
  line-height: 1.5;
}

.wb-auth-link {
  padding: 0;
  border: 0;
  color: var(--wb-blue);
  background: transparent;
  cursor: pointer;
}

.wb-security-check {
  display: grid;
  grid-template-columns: 24px minmax(0, 1fr) 28px;
  gap: 10px;
  align-items: center;
  min-height: 62px;
  margin: 16px 0;
  padding: 0 13px;
  border: 1px solid #cbd5e1;
  border-radius: 4px;
  background: #f8fafc;
  cursor: pointer;
  box-sizing: border-box;
}

.wb-security-box {
  width: 20px;
  height: 20px;
  border: 2px solid #94a3b8;
  border-radius: 3px;
  background: #ffffff;
  box-sizing: border-box;
}

.wb-security-check.checked .wb-security-box {
  border-color: var(--wb-green);
  background: var(--wb-green);
  box-shadow: inset 0 0 0 4px #ffffff;
}

.wb-security-check > span:nth-child(2) {
  display: grid;
  gap: 2px;
}

.wb-security-check small {
  color: var(--wb-muted);
  font-size: 11px;
}

.wb-security-check i {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 27px;
  height: 27px;
  border-radius: 4px;
  color: #ffffff;
  background: #334155;
  font-style: normal;
  font-weight: 700;
}

.wb-auth-error {
  margin: 0 0 12px;
  color: var(--wb-red);
  font-size: 12px;
}

.wb-auth-status {
  margin: 0 0 12px;
  padding: 9px 11px;
  border: 1px solid #a7f3d0;
  border-radius: 4px;
  color: #047857;
  background: #ecfdf5;
  font-size: 12px;
  line-height: 1.5;
}

.wb-auth-agreement {
  display: flex;
  align-items: flex-start;
  gap: 7px;
  margin: 2px 0 16px;
}

.wb-auth-submit {
  width: 100%;
  margin: 0;
}

.wb-auth-hint {
  margin: -8px 0 20px;
  color: var(--wb-muted);
  line-height: 1.6;
}

.wb-auth-back {
  display: block;
  margin: 16px auto 0;
}

.wb-auth-legacy {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 18px;
  align-items: center;
  min-height: 70px;
  padding: 13px 30px 14px;
  border-top: 1px solid var(--wb-border);
  background: #f8fafc;
  box-sizing: border-box;
}

.wb-auth-legacy-copy {
  min-width: 0;
}

.wb-auth-legacy-title {
  display: flex;
  align-items: center;
  gap: 7px;
  color: #334155;
  font-size: 13px;
  line-height: 1.4;
}

.wb-auth-legacy-title strong {
  font-weight: 700;
}

.wb-auth-legacy-badge {
  display: inline-flex;
  align-items: center;
  min-height: 20px;
  padding: 1px 6px;
  border: 1px solid #cbd5e1;
  border-radius: 3px;
  color: #64748b;
  background: #ffffff;
  font-size: 11px;
  font-weight: 600;
  line-height: 1.3;
  box-sizing: border-box;
}

.wb-auth-legacy-copy small {
  display: block;
  margin-top: 3px;
  overflow-wrap: anywhere;
  color: var(--wb-muted);
  font-size: 12px;
  line-height: 1.45;
}

.wb-auth-legacy-link {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  min-height: 32px;
  color: var(--wb-blue);
  font-size: 13px;
  font-weight: 600;
  line-height: 1.4;
  text-decoration: none;
  white-space: nowrap;
}

.wb-auth-legacy-link::after {
  content: "\2197";
  font-size: 12px;
}

.wb-auth-legacy-link:hover {
  text-decoration: underline;
}

.wb-auth-legacy-link:focus-visible {
  outline: 2px solid var(--wb-blue);
  outline-offset: 3px;
  border-radius: 2px;
}

@media (max-width: 520px) {
  .wb-auth-header {
    padding: 0 16px;
  }

  .wb-auth-header img {
    width: 132px;
  }

  .wb-auth-main {
    align-items: start;
    padding: 20px 12px;
  }

  .wb-auth-form {
    padding: 22px 18px 24px;
  }

  .wb-auth-code-row {
    grid-template-columns: minmax(0, 1fr) 112px;
  }

  .wb-auth-code-row .layui-btn {
    width: 112px;
    padding: 0 8px;
  }

  .wb-auth-legacy {
    grid-template-columns: minmax(0, 1fr);
    gap: 9px;
    padding: 14px 18px 16px;
  }

  .wb-auth-legacy-link {
    justify-self: start;
  }
}

@media (min-width: 761px) and (max-width: 1100px) {
  .wb-doc-layout {
    grid-template-columns: 190px minmax(0, 1fr);
  }

  .wb-doc-toc {
    position: sticky;
    top: 62px;
  }
}

@media (max-width: 760px) {
  .wb-doc-nav {
    padding: 8px;
  }

  .wb-doc-tabs {
    display: none;
  }

  .wb-doc-mobile-select {
    display: flex;
    align-items: center;
    gap: 8px;
  }

  .wb-doc-mobile-select i {
    width: 24px;
    color: var(--wb-blue);
    text-align: center;
  }

  .wb-doc-mobile-select select {
    flex: 1;
    min-width: 0;
    height: 38px;
    padding: 0 32px 0 10px;
    border: 1px solid var(--wb-border);
    border-radius: 4px;
    color: var(--wb-text);
    background: #ffffff;
  }

  .wb-doc-toc {
    position: static;
  }

  .wb-doc-heading-action {
    align-items: flex-start;
    flex-direction: column;
  }

  .wb-doc-heading-tools {
    flex-wrap: wrap;
    width: 100%;
  }

  .wb-doc-pagination {
    gap: 8px;
    padding: 14px;
  }

  .wb-doc-pagination > b {
    white-space: nowrap;
  }

  .wb-doc-language-toolbar {
    align-items: stretch;
    flex-direction: column;
    gap: 8px;
  }

  .wb-doc-language-toolbar > div {
    width: 100%;
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }

  .wb-doc-language-toolbar button {
    min-width: 0;
    padding: 0 6px;
  }

  .wb-doc-markdown .wb-doc-code-frame pre {
    padding: 12px;
  }

  .wb-telegram-dialog {
    grid-template-columns: minmax(0, 1fr);
    justify-items: center;
    gap: 18px;
    padding: 22px 18px;
  }

  .wb-telegram-dialog-copy {
    width: 100%;
    text-align: center;
  }

  .wb-telegram-dialog-actions {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    width: 100%;
  }

  .wb-telegram-dialog-actions .layui-btn {
    width: 100%;
  }

  .wb-telegram-actions {
    align-items: stretch;
    flex-direction: column;
  }

  .wb-profile-telegram > .wb-telegram-actions,
  .wb-profile-telegram > .layui-btn {
    width: 100%;
  }

  .wb-console .wb-telegram-actions .layui-btn {
    min-height: 36px;
    height: 36px;
  }

  .js-telegram-bind,
  .js-telegram-test,
  .js-telegram-unbind {
    min-height: 36px;
    height: 36px;
  }
}

.wb-alert-detail-dialog {
  padding-top: 18px;
  padding-bottom: 20px;
}

.wb-alert-detail-list {
  margin: 0;
}

.wb-alert-detail-list > div {
  display: grid;
  grid-template-columns: 112px minmax(0, 1fr);
  align-items: start;
  gap: 22px;
  padding: 11px 0;
  border-bottom: 1px solid var(--wb-border);
}

.wb-alert-detail-list > div:last-child {
  border-bottom: 0;
}

.wb-alert-detail-list dt {
  color: var(--wb-muted);
  line-height: 28px;
}

.wb-alert-detail-list dd {
  min-width: 0;
  margin: 0;
  line-height: 28px;
  text-align: right;
  overflow-wrap: anywhere;
}

.wb-alert-detail-list .wb-alert-result {
  justify-items: end;
}

.wb-alert-detail-list .wb-alert-result > div {
  justify-content: flex-end;
}

.wb-pricing-shortcut {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 8px;
  min-height: 24px;
  margin: 12px 0;
  color: var(--wb-muted);
  font-size: 14px;
}

.wb-pricing-shortcut a {
  color: var(--wb-primary);
  font-weight: 600;
}

.wb-pricing-intro {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 16px;
  padding: 16px 18px;
  border: 1px solid var(--wb-border);
  border-left: 4px solid var(--wb-primary);
  border-radius: 6px;
  background: #fff;
}

.wb-pricing-intro > div {
  display: grid;
  gap: 4px;
}

.wb-pricing-intro strong {
  color: var(--wb-text);
  font-size: 16px;
}

.wb-pricing-intro span {
  color: var(--wb-muted);
  line-height: 1.5;
}

.wb-pricing-currency {
  flex: 0 0 auto;
  font-weight: 600;
}

.wb-pricing-channels {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.wb-pricing-channel {
  display: inline-flex;
  align-items: center;
  min-height: 26px;
  padding: 3px 8px;
  border: 1px solid #d8e5f2;
  border-radius: 4px;
  background: #f4f8fc;
  color: #35506b;
  font-size: 13px;
  white-space: nowrap;
}

.wb-pricing-price {
  color: var(--wb-text);
  font-variant-numeric: tabular-nums;
}

.wb-pricing-calculator-fields {
  display: grid;
  grid-template-columns: repeat(2, minmax(190px, 1.25fr)) repeat(3, minmax(130px, 1fr));
  gap: 16px;
  align-items: end;
}

.wb-pricing-calculator-result {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin-top: 20px;
  border: 1px solid var(--wb-border);
  border-radius: 6px;
  background: #f8fafc;
}

.wb-pricing-calculator-result > div {
  display: grid;
  gap: 5px;
  padding: 16px 18px;
  border-right: 1px solid var(--wb-border);
}

.wb-pricing-calculator-result > div:last-child {
  border-right: 0;
}

.wb-pricing-calculator-result span {
  color: var(--wb-muted);
  font-size: 13px;
}

.wb-pricing-calculator-result strong {
  color: var(--wb-text);
  font-size: 20px;
  font-variant-numeric: tabular-nums;
}

.wb-pricing-calculator-hint {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  margin: 12px 0 0;
  color: var(--wb-muted);
  font-size: 13px;
  line-height: 1.5;
}

.wb-pricing-calculator-hint i {
  margin-top: 3px;
  color: var(--wb-primary);
}

@media (max-width: 980px) {
  .wb-pricing-calculator-fields {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 520px) {
  .wb-pricing-intro,
  .wb-pricing-calculator-result {
    align-items: stretch;
    grid-template-columns: 1fr;
  }

  .wb-pricing-intro {
    display: grid;
  }

  .wb-pricing-calculator-fields {
    grid-template-columns: 1fr;
  }

  .wb-pricing-calculator-result > div {
    border-right: 0;
    border-bottom: 1px solid var(--wb-border);
  }

  .wb-pricing-calculator-result > div:last-child {
    border-bottom: 0;
  }

  .wb-alert-detail-list > div {
    grid-template-columns: 1fr;
    gap: 3px;
    padding: 10px 0;
  }

  .wb-alert-detail-list dt,
  .wb-alert-detail-list dd {
    line-height: 1.5;
    text-align: left;
  }

  .wb-alert-detail-list .wb-alert-result {
    justify-items: start;
  }

  .wb-alert-detail-list .wb-alert-result > div {
    justify-content: flex-start;
  }
}
