:root {
  --app-header-h: 72px;
  --bg: #edf2f8;
  --surface: rgba(255, 255, 255, 0.92);
  --surface-strong: #ffffff;
  --text: #172033;
  --muted: #5b6780;
  --line: rgba(23, 32, 51, 0.12);
  --accent: #f59e0b;
  --accent-strong: #d97706;
  --shadow: 0 18px 50px rgba(15, 23, 42, 0.12);
  --page-atmosphere:
    radial-gradient(circle at top left, rgba(245, 158, 11, 0.14), transparent 30%),
    radial-gradient(circle at top right, rgba(14, 165, 233, 0.10), transparent 34%),
    linear-gradient(180deg, #f6f8fb 0%, #edf2f8 100%);
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  color: var(--text);
  background: var(--page-atmosphere);
  font: 15px/1.5 "Segoe UI", Tahoma, sans-serif;
  overflow-x: hidden;
}

.bootstrap-workbench {
  --bs-body-bg: transparent;
  --bs-body-color: var(--text);
  --bs-primary: #d97706;
  --bs-primary-rgb: 217, 119, 6;
  --bs-secondary-color: var(--muted);
  --bs-border-color: rgba(23, 32, 51, 0.12);
  --bs-border-radius: 14px;
  --bs-border-radius-lg: 18px;
  --bs-box-shadow-sm: 0 8px 22px rgba(15, 23, 42, 0.08);
  --bs-box-shadow: var(--shadow);
  --bs-card-border-color: rgba(23, 32, 51, 0.10);
}

body.sidebar-lock-scroll,
body.confirm-dialog-open {
  overflow: hidden;
}

.confirm-dialog {
  position: fixed;
  inset: 0;
  z-index: 2000;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
}

.confirm-dialog--open {
  display: flex;
}

.confirm-dialog__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(15, 23, 42, 0.58);
  backdrop-filter: blur(4px);
}

.confirm-dialog__card {
  position: relative;
  z-index: 1;
  width: min(100%, 32rem);
  padding: 1.5rem;
  border: 1px solid rgba(23, 32, 51, 0.12);
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.98);
  box-shadow: 0 24px 60px rgba(15, 23, 42, 0.24);
}

.confirm-dialog__eyebrow {
  margin-bottom: 0.5rem;
  color: var(--muted);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.confirm-dialog__title {
  margin: 0 0 0.75rem;
  font-size: 1.2rem;
  font-weight: 800;
}

.confirm-dialog__message {
  margin: 0;
  color: var(--muted);
}

.confirm-dialog__actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 0.75rem;
  margin-top: 1.5rem;
}

.wb-app {
  min-height: 100vh;
  padding-top: var(--app-header-h);
}

.wb-region-loading {
  position: relative;
  pointer-events: none;
  opacity: 0.72;
  transition: opacity 0.18s ease;
}

.wb-region-loading::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 18px;
  background:
    linear-gradient(90deg, rgba(255, 255, 255, 0.16), rgba(255, 255, 255, 0.34), rgba(255, 255, 255, 0.16));
  animation: wb-region-sheen 0.9s linear infinite;
}

@keyframes wb-region-sheen {
  from {
    transform: translateX(-18%);
  }
  to {
    transform: translateX(18%);
  }
}

.wb-topbar {
  --bs-navbar-padding-y: 0;
  position: fixed;
  top: 0;
  right: 0;
  left: 0;
  padding-block: 0;
  overflow: visible;
  z-index: 1100;
  width: 100%;
  min-height: var(--app-header-h);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  background:
    radial-gradient(circle at left center, rgba(245, 158, 11, 0.18), transparent 20%),
    radial-gradient(circle at 26% 0%, rgba(255, 255, 255, 0.06), transparent 18%),
    radial-gradient(circle at right top, rgba(14, 165, 233, 0.14), transparent 24%),
    linear-gradient(180deg, rgba(11, 19, 35, 0.99), rgba(20, 31, 54, 0.985));
  box-shadow: 0 10px 26px rgba(15, 23, 42, 0.18);
}

.wb-topbar::after {
  content: "";
  position: absolute;
  inset: auto 0 0;
  height: 1px;
  z-index: 0;
  pointer-events: none;
  background: linear-gradient(90deg, rgba(245, 158, 11, 0), rgba(245, 158, 11, 0.42), rgba(125, 211, 252, 0.28), rgba(245, 158, 11, 0));
}

.wb-topbar > .container-fluid {
  position: relative;
  z-index: 1;
  min-height: var(--app-header-h);
}

.wb-topbar__brand {
  display: inline-flex;
  align-items: center;
  margin-right: 0;
  gap: 0.7rem;
  padding: 0.35rem 0.9rem 0.35rem 0.15rem;
  border-radius: 999px;
  background: linear-gradient(90deg, rgba(255, 255, 255, 0.06), rgba(255, 255, 255, 0));
}

.wb-topbar__logo {
  width: 168px;
  max-width: 100%;
  height: auto;
}

.wb-topbar__toggle,
.wb-topbar__plant,
.wb-topbar__user {
  min-height: 42px;
  border-color: rgba(255, 255, 255, 0.14);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.09), rgba(255, 255, 255, 0.05));
  backdrop-filter: blur(16px);
}

.wb-topbar__toggle--desktop {
  min-width: 42px;
  border-radius: 999px;
  justify-content: center;
  padding-inline: 0.75rem;
}

.wb-topbar__toggle:hover,
.wb-topbar__plant:hover,
.wb-topbar__user:hover,
.wb-topbar__user.show,
.wb-topbar__toggle:focus,
.wb-topbar__plant:focus,
.wb-topbar__user:focus {
  background: linear-gradient(180deg, rgba(245, 158, 11, 0.18), rgba(255, 255, 255, 0.08));
  border-color: rgba(245, 158, 11, 0.34);
  box-shadow: 0 0 0 0.2rem rgba(245, 158, 11, 0.12), 0 10px 24px rgba(15, 23, 42, 0.16);
  color: #fff5df;
}

.wb-topbar__plant,
.wb-topbar__user {
  color: #edf3ff;
  border-radius: 999px;
}

.wb-topbar__user {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 7px 12px 7px 8px;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.04);
}

.wb-topbar__avatar {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  border-radius: 999px;
  background: linear-gradient(180deg, rgba(245, 158, 11, 0.34), rgba(217, 119, 6, 0.24));
  color: #fff3d6;
  font-size: 13px;
  font-weight: 800;
  line-height: 1;
}

.wb-topbar__dropdown {
  min-width: 220px;
  position: absolute;
  z-index: 1110;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 16px;
  padding: 8px;
  background:
    radial-gradient(circle at top right, rgba(245, 158, 11, 0.18), transparent 34%),
    linear-gradient(180deg, rgba(20, 31, 54, 0.97), rgba(11, 19, 35, 0.985));
  backdrop-filter: blur(20px);
  box-shadow: 0 18px 36px rgba(15, 23, 42, 0.32);
}

.wb-topbar .dropdown {
  position: relative;
  z-index: 1110;
}

.wb-topbar__dropdown .dropdown-item {
  border-radius: 10px;
  padding: 10px 12px;
  font-weight: 600;
  color: #edf3ff;
}

.wb-topbar__dropdown .dropdown-item:hover,
.wb-topbar__dropdown .dropdown-item:focus {
  background: linear-gradient(180deg, rgba(245, 158, 11, 0.18), rgba(255, 255, 255, 0.08));
  color: #fff8eb;
}

.wb-topbar__dropdown .dropdown-item:active {
  background: rgba(245, 158, 11, 0.22);
  color: #fff8eb;
}

.wb-app__body {
  position: relative;
  min-width: 0;
  z-index: 1;
}

.wb-shell-layout {
  display: flex;
  align-items: flex-start;
  width: 100%;
  min-width: 0;
}

.wb-sidebar-column {
  flex: 0 0 286px;
  max-width: 286px;
  min-width: 0;
  align-self: stretch;
  transition: flex-basis 220ms ease, max-width 220ms ease;
}

.wb-sidebar {
  position: sticky;
  top: var(--app-header-h);
  display: grid;
  gap: 14px;
  align-content: start;
  min-height: calc(100vh - var(--app-header-h));
  max-height: calc(100vh - var(--app-header-h));
  overflow-y: auto;
  margin: 0;
  padding: 20px 16px 22px;
  border: 0;
  border-radius: 0;
  background:
    radial-gradient(circle at top left, rgba(245, 158, 11, 0.12), transparent 26%),
    linear-gradient(180deg, rgba(21, 31, 53, 0.95), rgba(13, 21, 39, 0.94));
  box-shadow: inset -1px 0 0 rgba(255, 255, 255, 0.06);
  backdrop-filter: blur(18px);
  color: #edf3ff;
  transition: transform 220ms ease, opacity 180ms ease, margin 220ms ease;
}

body.sidebar-collapsed .wb-sidebar-column {
  flex-basis: 0;
  max-width: 0;
  overflow: hidden;
}

body.sidebar-collapsed .wb-sidebar {
  margin-left: 0;
  opacity: 0;
  transform: translateX(-120%);
  pointer-events: none;
}

.wb-sidebar-group {
  display: grid;
  gap: 8px;
}

.wb-sidebar-group + .wb-sidebar-group {
  padding-top: 12px;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.wb-sidebar-group__title {
  margin: 0;
  color: rgba(221, 230, 248, 0.68);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.wb-sidebar-links {
  display: grid;
  gap: 2px;
}

.wb-sidebar-link {
  display: grid;
  gap: 2px;
  padding: 9px 12px 9px 14px;
  border: 1px solid transparent;
  border-radius: 10px;
  color: #eef4ff;
  text-decoration: none;
  transition: background-color 160ms ease, border-color 160ms ease, box-shadow 160ms ease, transform 160ms ease;
}

.wb-sidebar-link:hover {
  border-color: rgba(255, 255, 255, 0.10);
  background: rgba(255, 255, 255, 0.06);
  color: #fff8eb;
}

.wb-sidebar-link--active {
  border-color: rgba(245, 158, 11, 0.26);
  background: linear-gradient(180deg, rgba(245, 158, 11, 0.16), rgba(245, 158, 11, 0.08));
  box-shadow: inset 4px 0 0 rgba(245, 158, 11, 0.95);
}

.wb-sidebar-link__main {
  display: flex;
  align-items: center;
  gap: 8px;
  min-width: 0;
}

.wb-sidebar-link__dot {
  width: 7px;
  height: 7px;
  flex: 0 0 7px;
  border-radius: 999px;
  background: rgba(223, 231, 246, 0.28);
  transition: background-color 160ms ease;
}

.wb-sidebar-link:hover .wb-sidebar-link__dot {
  background: rgba(255, 248, 235, 0.64);
}

.wb-sidebar-link--active .wb-sidebar-link__dot {
  background: #d97706;
}

.wb-sidebar-link__label {
  font-size: 14px;
  font-weight: 700;
  line-height: 1.25;
}

.wb-sidebar-link__meta {
  color: rgba(221, 230, 248, 0.68);
  font-size: 12px;
  line-height: 1.35;
  padding-left: 18px;
}

.wb-sidebar:not(.wb-sidebar--mobile) .wb-sidebar-link__meta {
  display: none;
}

.wb-sidebar-link--mobile {
  gap: 4px;
  padding: 11px 14px;
}

.wb-sidebar-link--mobile .wb-sidebar-link__meta {
  display: block;
}

.wb-offcanvas-sidebar {
  --bs-offcanvas-width: min(88vw, 340px);
  top: calc(var(--app-header-h) + 1px);
  bottom: 0;
  height: auto;
  max-height: none;
  color: #edf3ff;
  background:
    radial-gradient(circle at top left, rgba(245, 158, 11, 0.10), transparent 24%),
    radial-gradient(circle at bottom right, rgba(125, 211, 252, 0.07), transparent 22%),
    linear-gradient(180deg, rgba(24, 35, 58, 0.96), rgba(14, 23, 41, 0.98));
}

.wb-offcanvas-sidebar .offcanvas-header {
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.wb-offcanvas-sidebar .offcanvas-title {
  color: #edf3ff;
}

.wb-offcanvas-sidebar .btn-close {
  filter: invert(1) opacity(0.9);
}

.wb-page {
  flex: 1 1 auto;
  width: 100%;
  min-width: 0;
  overflow-x: hidden;
  transition: width 220ms ease;
}

.wb-page__inner {
  min-height: calc(100vh - var(--app-header-h));
  min-width: 0;
  overflow-x: hidden;
}

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

.wb-flash-stack .alert {
  margin-bottom: 0.75rem;
  border-radius: 16px;
}

.wb-shell-enabled .wb-flash-stack--shell {
  position: fixed;
  top: calc(var(--app-header-h) + 1rem);
  left: 50%;
  transform: translateX(-50%);
  z-index: 1090;
  width: min(560px, calc(100vw - 2rem));
  height: 0;
  margin: 0 !important;
  padding: 0;
  pointer-events: none;
}

.wb-shell-enabled .wb-flash-stack--shell .wb-shell-flash {
  position: relative;
  margin: 0;
  padding: 0.95rem 1rem;
  border: 1px solid;
  border-radius: 0.75rem;
  box-shadow: 0 16px 38px rgba(15, 23, 42, 0.16);
  pointer-events: auto;
}

.wb-shell-enabled .wb-flash-stack--shell .wb-shell-flash + .wb-shell-flash {
  margin-top: 0.75rem;
}

.wb-shell-enabled .wb-flash-stack--shell .wb-shell-flash--success {
  background: #d1e7dd;
  border-color: #badbcc;
  color: #0f5132;
}

.wb-shell-enabled .wb-flash-stack--shell .wb-shell-flash--danger {
  background: #f8d7da;
  border-color: #f5c2c7;
  color: #842029;
}

.wb-shell-enabled .wb-flash-stack--shell .wb-shell-flash .btn-close {
  opacity: 0.65;
}

.wb-shell-enabled .wb-flash-stack--shell .wb-shell-flash .btn-close:hover {
  opacity: 1;
}

.wb-auth {
  min-height: 100vh;
  background: var(--page-atmosphere);
}

.wb-auth-card {
  min-height: 420px;
  border-radius: 28px;
  background: rgba(255, 255, 255, 0.9);
  box-shadow: 0 24px 70px rgba(15, 23, 42, 0.14);
}

.wb-auth-card__aside {
  background:
    linear-gradient(180deg, rgba(15, 23, 42, 0.99), rgba(23, 35, 60, 0.98)),
    radial-gradient(circle at right top, rgba(245, 158, 11, 0.14), transparent 28%);
  color: #edf3ff;
}

.wb-auth-card__aside-inner {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 18px;
  min-height: 420px;
  padding: 32px 28px;
}

.wb-auth-card .card-body {
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-height: 420px;
}

.auth-form-control {
  min-height: 54px;
  border-radius: 20px;
  padding: 0.8rem 1rem;
}

.auth-btn {
  min-height: 52px;
  border-radius: 18px;
}

.wb-auth-card__brand {
  display: inline-flex;
  align-items: center;
}

.wb-auth-card__logo {
  width: 230px;
  max-width: 100%;
  height: auto;
}

.wb-auth-card__eyebrow {
  align-self: flex-start;
  font-weight: 800;
  letter-spacing: 0.08em;
}

.wb-auth-card__title {
  margin: 0;
  font-size: clamp(28px, 4vw, 42px);
  line-height: 1.08;
}

.wb-auth-card__subtitle {
  margin: 0;
  color: rgba(237, 243, 255, 0.8);
  font-size: 15px;
  line-height: 1.7;
}

.wb-auth-card__nav {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.wb-auth-card__nav .btn {
  min-height: 42px;
  border-color: rgba(255, 255, 255, 0.16);
  background: rgba(255, 255, 255, 0.08);
  color: #edf3ff;
}

.wb-auth-card__nav .btn:hover,
.wb-auth-card__nav .btn:focus {
  background: rgba(255, 255, 255, 0.14);
  border-color: rgba(255, 255, 255, 0.22);
  color: #fff;
}

.wb-page-hero {
  padding: 0;
  border-bottom: 0;
}

.wb-page-hero__eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  margin-bottom: 0.75rem;
  color: var(--muted);
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.wb-page-hero__title {
  margin: 0 0 0.5rem;
  font-size: clamp(1.7rem, 2.6vw, 2.6rem);
  line-height: 1.05;
  font-weight: 800;
}

.wb-page-hero__subtitle {
  max-width: 62rem;
  margin: 0;
  color: var(--muted);
  font-size: 0.95rem;
}

.wb-surface-card {
  border-radius: 18px;
  border: 1px solid rgba(23, 32, 51, 0.08);
  background: rgba(255, 255, 255, 0.9);
  box-shadow: 0 8px 20px rgba(15, 23, 42, 0.06);
}

.wb-dashboard-hero-card {
  overflow: hidden;
  background:
    radial-gradient(circle at top right, rgba(14, 165, 233, 0.10), transparent 30%),
    radial-gradient(circle at top left, rgba(245, 158, 11, 0.13), transparent 28%),
    rgba(255, 255, 255, 0.96);
}

.wb-dashboard-aside-card {
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(248, 251, 255, 0.94)),
    rgba(255, 255, 255, 0.95);
}

.wb-summary-panel {
  padding: 1.25rem;
  border: 1px solid rgba(23, 32, 51, 0.08);
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.85);
}

.wb-summary-panel__grid {
  display: grid;
  gap: 0.85rem;
}

.wb-summary-panel__label {
  display: block;
  margin-bottom: 0.25rem;
  color: var(--muted);
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.wb-stat-chip-group,
.wb-dashboard-inline-meta,
.wb-dashboard-inline-stats {
  display: flex;
  flex-wrap: wrap;
}

.wb-stat-chip-group {
  gap: 0.5rem;
}

.wb-dashboard-inline-meta {
  align-items: center;
  gap: 0.65rem 0.85rem;
}

.wb-dashboard-inline-stats {
  gap: 0.35rem 0.85rem;
  color: var(--muted);
  font-size: 0.9rem;
}

.wb-dashboard-inline-stats strong {
  color: var(--text);
}

.wb-stat-chip {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 32px;
  padding: 0 0.75rem;
  border: 1px solid rgba(23, 32, 51, 0.12);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.9);
  font-size: 0.85rem;
  font-weight: 700;
}

.wb-stat-chip--success {
  color: #0b7a54;
  border-color: rgba(16, 185, 129, 0.35);
  background: rgba(16, 185, 129, 0.12);
}

.wb-stat-chip--neutral {
  color: var(--text);
}

.wb-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 40px;
  padding: 0.6rem 1rem;
  border-radius: 12px;
  border: 1px solid transparent;
  font-weight: 700;
  text-decoration: none;
  transition: background-color 0.18s ease, border-color 0.18s ease, color 0.18s ease, box-shadow 0.18s ease, transform 0.18s ease;
}

.wb-btn:hover,
.wb-btn:focus {
  transform: translateY(-1px);
}

.wb-btn--primary {
  border-color: rgba(201, 111, 5, 0.65);
  background: linear-gradient(135deg, #f5a623, #d97706);
  color: #fffdf8;
  box-shadow: 0 10px 22px rgba(217, 119, 6, 0.18);
}

.wb-btn--primary:hover,
.wb-btn--primary:focus {
  border-color: rgba(201, 111, 5, 0.85);
  background: linear-gradient(135deg, #f0a11b, #c96f05);
  color: #fffdf8;
}

.wb-btn--secondary {
  border-color: rgba(23, 32, 51, 0.12);
  background: rgba(255, 255, 255, 0.88);
  color: var(--text);
}

.wb-btn--secondary:hover,
.wb-btn--secondary:focus {
  border-color: rgba(23, 32, 51, 0.18);
  background: rgba(23, 32, 51, 0.05);
  color: var(--text);
}

.wb-btn--danger {
  border-color: rgba(239, 68, 68, 0.34);
  background: rgba(254, 226, 226, 0.92);
  color: #b91c1c;
}

.wb-btn--danger:hover,
.wb-btn--danger:focus {
  border-color: rgba(220, 38, 38, 0.42);
  background: rgba(254, 202, 202, 0.96);
  color: #991b1b;
}

.wb-btn--sm {
  min-height: 32px;
  padding: 0.35rem 0.7rem;
  border-radius: 10px;
  font-size: 0.9rem;
}

.wb-dashboard-step-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.65rem 1rem;
}

.wb-dashboard-step-list strong {
  color: var(--accent-strong);
}

.wb-dashboard-create-card .card-body {
  padding-top: 1rem !important;
  padding-bottom: 1rem !important;
}

.wb-empty-state {
  padding: 1.25rem;
  border: 1px dashed rgba(23, 32, 51, 0.18);
  border-radius: 14px;
  background: rgba(247, 249, 252, 0.8);
}

.wb-empty-state--compact {
  padding: 1rem 1.1rem;
}

.wb-dashboard-table th {
  white-space: nowrap;
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.wb-dashboard-table td,
.wb-dashboard-table th {
  padding-top: 1rem;
  padding-bottom: 1rem;
  vertical-align: middle;
}

.wb-dashboard-table tbody tr:hover {
  background: rgba(23, 32, 51, 0.025);
}

.wb-dashboard-table code {
  color: var(--accent-strong);
  font-size: 0.88rem;
}

.wb-dashboard-table__actions {
  white-space: nowrap;
}

.wb-energy-stats-table th {
  font-size: 0.72rem;
  letter-spacing: 0.06em;
}

.wb-energy-stats-table td,
.wb-energy-stats-table th {
  padding: 0.45rem 0.75rem;
  line-height: 1.2;
}

.wb-energy-stats-table tbody td {
  font-size: 0.92rem;
  vertical-align: top;
}

.wb-energy-stats-table__metric {
  display: grid;
  gap: 0.05rem;
  min-width: 0;
}

.wb-energy-stats-table__value {
  line-height: 1.15;
}

.wb-energy-stats-table__amount {
  color: var(--muted);
  font-size: 0.76rem;
  line-height: 1.1;
}

.wb-energy-stats-table td:first-child,
.wb-energy-stats-table th:first-child {
  width: 5.75rem;
  min-width: 5.75rem;
  white-space: nowrap;
}

.wb-energy-stats-table__period,
.wb-energy-stats-table__balance {
  display: inline-block;
  white-space: nowrap;
}

.wb-energy-stats-table__period {
  min-width: 4.25rem;
}

.wb-energy-stats-table--details tbody td {
  font-size: 0.86rem;
}

.wb-dashboard-table--metrics {
  min-width: 100%;
}

.wb-list-table--metrics th,
.wb-list-table--metrics td {
  padding: 0.75rem 0.65rem;
  vertical-align: middle;
}

.wb-dashboard-table--metrics td:nth-child(1),
.wb-dashboard-table--metrics th:nth-child(1) {
  width: 56px;
  white-space: nowrap;
}

.wb-dashboard-table--metrics td:nth-child(2) {
  min-width: 180px;
}

.wb-dashboard-table--metrics td:nth-child(3),
.wb-dashboard-table--metrics th:nth-child(3) {
  min-width: 140px;
}

.wb-dashboard-table--metrics td:nth-child(3) .wb-cell-code {
  max-width: 11rem;
}

.wb-dashboard-table--metrics td:nth-child(4),
.wb-dashboard-table--metrics th:nth-child(4) {
  width: 64px;
  white-space: nowrap;
}

.wb-dashboard-table--metrics td:nth-child(5),
.wb-dashboard-table--metrics th:nth-child(5),
.wb-dashboard-table--metrics td:nth-child(6),
.wb-dashboard-table--metrics th:nth-child(6) {
  width: 96px;
  white-space: nowrap;
}

.wb-dashboard-table--metrics td:nth-child(7) {
  min-width: 170px;
}

.wb-dashboard-table--metrics td:nth-child(8),
.wb-dashboard-table--metrics th:nth-child(8) {
  width: 120px;
  white-space: nowrap;
}

.wb-dashboard-table--metrics td:nth-child(8) {
  min-width: 110px;
}

.wb-dashboard-table--metrics td:last-child,
.wb-dashboard-table--metrics th:last-child {
  min-width: 176px;
}

.wb-list-table--metrics .wb-cell-code {
  display: inline-block;
  max-width: 18rem;
  font-size: 0.8rem;
  line-height: 1.35;
  white-space: normal;
  overflow-wrap: anywhere;
}

.wb-list-table--metrics td:nth-child(2) .fw-semibold {
  line-height: 1.3;
}

.wb-list-table--metrics .wb-dashboard-table__actions .btn,
.wb-list-table--metrics .wb-dashboard-table__actions form {
  width: auto;
}

.wb-list-table--metrics .wb-dashboard-table__actions .btn {
  padding: 0.35rem 0.55rem;
  font-size: 0.76rem;
  line-height: 1.2;
}

.wb-dashboard-table--devices td:nth-child(3) {
  min-width: 180px;
}

.wb-dashboard-table--devices td:nth-child(4) {
  min-width: 140px;
}

.wb-dashboard-table--devices td:nth-child(5) {
  min-width: 150px;
}

.wb-dashboard-table--devices td:nth-child(8),
.wb-dashboard-table--devices th:nth-child(8) {
  min-width: 240px;
}

.wb-list-table--devices .wb-dashboard-table__actions .d-flex {
  gap: 0.45rem !important;
}

.wb-list-table--devices .wb-dashboard-table__actions .btn,
.wb-list-table--devices .wb-dashboard-table__actions form {
  width: auto;
}

.wb-list-table--devices .wb-dashboard-table__actions .btn {
  padding: 0.35rem 0.6rem;
  font-size: 0.78rem;
  line-height: 1.2;
}

.wb-dashboard-table--graphs td:nth-child(2) {
  min-width: 180px;
}

.wb-dashboard-table--graphs td:nth-child(3) {
  min-width: 150px;
}

.wb-dashboard-table--graphs td:nth-child(8),
.wb-dashboard-table--graphs th:nth-child(8) {
  min-width: 250px;
}

.wb-graph-preview-row > td {
  padding: 0 !important;
  background: #f6f9f7 !important;
}

.wb-graph-list-preview {
  padding: 1rem 1.25rem 1.1rem;
  border-top: 1px solid rgba(18, 35, 22, 0.08);
}

.wb-graph-list-preview__meta {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 0.5rem;
  margin-bottom: 0.75rem;
}

.wb-graph-list-preview__canvas-wrap {
  border: 1px solid rgba(18, 35, 22, 0.08);
  border-radius: 18px;
  background: linear-gradient(180deg, #ffffff 0%, #f8fbf9 100%);
  padding: 0.75rem;
}

.wb-graph-list-preview__iframe-wrap {
  border: 1px solid rgba(18, 35, 22, 0.08);
  border-radius: 18px;
  overflow: hidden;
  background: #ffffff;
}

.wb-graph-list-preview__canvas {
  display: block;
  width: 100%;
  min-height: 240px;
}

.wb-graph-list-preview__iframe {
  display: block;
  width: 100%;
  min-height: 420px;
  border: 0;
  background: #ffffff;
}

.wb-graph-list-preview__state {
  margin-top: 0.6rem;
}

.wb-dashboard-table--plants td:nth-child(1),
.wb-dashboard-table--plants th:nth-child(1) {
  width: 56px;
  min-width: 56px;
  white-space: nowrap;
  text-align: left;
}

.wb-dashboard-table--plants td:nth-child(2) {
  min-width: 180px;
}

.wb-dashboard-table--plants td:nth-child(3) {
  min-width: 118px;
}

.wb-dashboard-table--plants td:nth-child(4) {
  min-width: 110px;
}

.wb-dashboard-table--plants td:nth-child(5),
.wb-dashboard-table--plants th:nth-child(5) {
  width: 120px;
  min-width: 120px;
  white-space: nowrap;
}

.wb-dashboard-table--plants td:nth-child(6),
.wb-dashboard-table--plants th:nth-child(6) {
  width: 196px;
  min-width: 196px;
  white-space: nowrap;
}

.wb-list-table--plants .wb-dashboard-table__actions {
  gap: 0.45rem !important;
  flex-wrap: nowrap !important;
}

.wb-list-table--plants .wb-dashboard-table__actions .btn,
.wb-list-table--plants .wb-dashboard-table__actions form {
  width: auto;
  flex: 0 0 auto;
}

.wb-list-table--plants .wb-dashboard-table__actions .btn {
  min-height: 30px;
  padding: 0.28rem 0.48rem;
  font-size: 0.72rem;
  line-height: 1.1;
}

.wb-dashboard-table--plant-summary td:nth-child(1),
.wb-dashboard-table--plant-summary th:nth-child(1) {
  min-width: 14rem;
}

.wb-dashboard-table--plant-summary td:nth-child(2),
.wb-dashboard-table--plant-summary th:nth-child(2) {
  min-width: 7.5rem;
  white-space: nowrap;
}

.wb-dashboard-table--plant-summary td:nth-child(3),
.wb-dashboard-table--plant-summary th:nth-child(3) {
  min-width: 10rem;
}

.wb-dashboard-table--plant-summary td:nth-child(4),
.wb-dashboard-table--plant-summary th:nth-child(4) {
  min-width: 10rem;
}

.wb-dashboard-table__cell--actions {
  width: 1%;
  min-width: 18rem;
  white-space: nowrap;
}

.wb-dashboard-table__actions {
  display: inline-flex;
  align-items: center;
  justify-content: flex-end;
  gap: 0.5rem;
  flex-wrap: nowrap;
  width: max-content;
  max-width: 100%;
}

.wb-dashboard-table__actions .btn,
.wb-dashboard-table__actions form {
  flex: 0 0 auto;
}

.wb-list-table .wb-dashboard-table__actions .btn {
  min-height: calc(1.5em + 0.5rem + 2px) !important;
  padding: 0.25rem 0.5rem !important;
  font-size: 0.875rem !important;
  line-height: 1.5 !important;
}

.wb-dashboard-table--users td:last-child,
.wb-dashboard-table--users th:last-child,
.wb-dashboard-table--tariffs td:last-child,
.wb-dashboard-table--tariffs th:last-child,
.wb-dashboard-table--device-templates td:last-child,
.wb-dashboard-table--device-templates th:last-child,
.wb-dashboard-table--graph-templates td:last-child,
.wb-dashboard-table--graph-templates th:last-child,
.wb-dashboard-table--integrations-issues td:last-child,
.wb-dashboard-table--integrations-issues th:last-child,
.wb-dashboard-table--integrations-health td:last-child,
.wb-dashboard-table--integrations-health th:last-child {
  width: 196px;
  min-width: 196px;
  white-space: nowrap;
}

.wb-dashboard-table--audit td:last-child,
.wb-dashboard-table--audit th:last-child {
  width: 108px;
  min-width: 108px;
  white-space: nowrap;
}

.wb-dashboard-table--mqtt td:nth-child(7),
.wb-dashboard-table--mqtt th:nth-child(7),
.wb-dashboard-table--microlog td:nth-child(7),
.wb-dashboard-table--microlog th:nth-child(7) {
  width: 336px;
  min-width: 336px;
}

.wb-list-table--mqtt .wb-dashboard-table__actions--dense,
.wb-list-table--microlog .wb-dashboard-table__actions--dense {
  display: grid !important;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.45rem !important;
  align-items: stretch;
  white-space: normal;
}

.wb-list-table--users .wb-dashboard-table__actions,
.wb-list-table--tariffs .wb-dashboard-table__actions,
.wb-list-table--device-templates .wb-dashboard-table__actions,
.wb-list-table--graph-templates .wb-dashboard-table__actions,
.wb-list-table--integrations-issues .wb-dashboard-table__actions,
.wb-list-table--integrations-health .wb-dashboard-table__actions,
.wb-list-table--audit .wb-dashboard-table__actions,
.wb-list-table--mqtt .wb-dashboard-table__actions,
.wb-list-table--microlog .wb-dashboard-table__actions {
  gap: 0.45rem !important;
  flex-wrap: nowrap !important;
}

.wb-list-table--users .wb-dashboard-table__actions .btn,
.wb-list-table--users .wb-dashboard-table__actions form,
.wb-list-table--tariffs .wb-dashboard-table__actions .btn,
.wb-list-table--tariffs .wb-dashboard-table__actions form,
.wb-list-table--device-templates .wb-dashboard-table__actions .btn,
.wb-list-table--device-templates .wb-dashboard-table__actions form,
.wb-list-table--graph-templates .wb-dashboard-table__actions .btn,
.wb-list-table--graph-templates .wb-dashboard-table__actions form,
.wb-list-table--integrations-issues .wb-dashboard-table__actions .btn,
.wb-list-table--integrations-issues .wb-dashboard-table__actions form,
.wb-list-table--integrations-health .wb-dashboard-table__actions .btn,
.wb-list-table--integrations-health .wb-dashboard-table__actions form,
.wb-list-table--audit .wb-dashboard-table__actions .btn,
.wb-list-table--audit .wb-dashboard-table__actions form,
.wb-list-table--mqtt .wb-dashboard-table__actions .btn,
.wb-list-table--mqtt .wb-dashboard-table__actions form,
.wb-list-table--microlog .wb-dashboard-table__actions .btn,
.wb-list-table--microlog .wb-dashboard-table__actions form {
  width: auto;
  flex: 0 0 auto;
}

.wb-list-table--users .wb-dashboard-table__actions .btn,
.wb-list-table--tariffs .wb-dashboard-table__actions .btn,
.wb-list-table--device-templates .wb-dashboard-table__actions .btn,
.wb-list-table--graph-templates .wb-dashboard-table__actions .btn,
.wb-list-table--integrations-issues .wb-dashboard-table__actions .btn,
.wb-list-table--integrations-health .wb-dashboard-table__actions .btn,
.wb-list-table--audit .wb-dashboard-table__actions .btn {
  min-height: 30px;
  padding: 0.28rem 0.48rem;
  font-size: 0.72rem;
  line-height: 1.1;
}

.wb-list-table--mqtt .wb-dashboard-table__actions .btn,
.wb-list-table--microlog .wb-dashboard-table__actions .btn {
  min-height: 30px;
  padding: 0.25rem 0.45rem;
  font-size: 0.7rem;
  line-height: 1.05;
  justify-content: center;
  text-align: center;
}

.wb-list-table--graphs .wb-dashboard-table__actions > div {
  justify-content: flex-end;
  gap: 0.45rem !important;
}

.wb-list-table--graphs .wb-dashboard-table__actions .btn,
.wb-list-table--graphs .wb-dashboard-table__actions form {
  width: auto;
}

.wb-list-table--graphs .wb-dashboard-table__actions .btn {
  padding: 0.35rem 0.6rem;
  font-size: 0.78rem;
  line-height: 1.2;
}

.wb-metrics-table-wrap,
.wb-datatable-wrap {
  overflow-x: auto;
}

.wb-metrics-table-wrap .dt-container,
.wb-datatable-wrap .dt-container {
  padding: 1rem 1rem 1.1rem;
  display: grid;
  gap: 0.95rem;
}

.wb-datatable-wrap--compact .dt-container {
  padding: 0.85rem 1rem 1rem;
}

.wb-metrics-table-wrap .dt-layout-row,
.wb-datatable-wrap .dt-layout-row {
  margin: 0;
  gap: 0.85rem;
  align-items: center;
}

.wb-metrics-table-wrap .dt-layout-table,
.wb-datatable-wrap .dt-layout-table {
  margin: 0 -1rem;
}

.wb-metrics-table-wrap .dt-length label,
.wb-metrics-table-wrap .dt-search label,
.wb-metrics-table-wrap .dt-info,
.wb-datatable-wrap .dt-length label,
.wb-datatable-wrap .dt-search label,
.wb-datatable-wrap .dt-info {
  color: #64748b;
  font-size: 0.92rem;
}

.wb-metrics-table-wrap .dt-search,
.wb-datatable-wrap .dt-search {
  margin-left: auto;
}

.wb-metrics-table-wrap .dt-search label,
.wb-metrics-table-wrap .dt-length label,
.wb-datatable-wrap .dt-search label,
.wb-datatable-wrap .dt-length label {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  margin: 0;
}

.wb-metrics-table-wrap .dt-search input,
.wb-metrics-table-wrap .dt-length select,
.wb-datatable-wrap .dt-search input,
.wb-datatable-wrap .dt-length select {
  min-height: calc(1.5em + 0.75rem + 2px);
  padding: 0.45rem 0.75rem;
  border: 1px solid rgba(148, 163, 184, 0.38);
  border-radius: 14px;
  background: #fff;
  box-shadow: none;
}

.wb-metrics-table-wrap .dt-search input,
.wb-datatable-wrap .dt-search input {
  min-width: min(360px, 72vw);
}

.wb-metrics-table-wrap table.dataTable,
.wb-datatable-wrap table.dataTable {
  margin: 0 !important;
  width: 100% !important;
}

.wb-metrics-table-wrap table.dataTable thead th,
.wb-datatable-wrap table.dataTable thead th {
  white-space: nowrap;
}

.wb-metrics-table-wrap table.dataTable > thead > tr:first-child > th,
.wb-datatable-wrap table.dataTable > thead > tr:first-child > th {
  padding-top: 0.85rem;
  padding-bottom: 0.85rem;
}

.wb-metrics-table-wrap table.dataTable > tbody > tr > td,
.wb-datatable-wrap table.dataTable > tbody > tr > td {
  padding-top: 0.75rem;
  padding-bottom: 0.75rem;
}

.wb-metrics-table-wrap table.dataTable.dtr-inline.collapsed > tbody > tr > td.dtr-control:first-child,
.wb-metrics-table-wrap table.dataTable.dtr-inline.collapsed > tbody > tr > th.dtr-control:first-child,
.wb-datatable-wrap table.dataTable.dtr-inline.collapsed > tbody > tr > td.dtr-control:first-child,
.wb-datatable-wrap table.dataTable.dtr-inline.collapsed > tbody > tr > th.dtr-control:first-child {
  position: relative;
  padding-left: 1rem;
}

.wb-metrics-table-wrap table.dataTable.dtr-inline.collapsed > tbody > tr > td.dtr-control:first-child::before,
.wb-metrics-table-wrap table.dataTable.dtr-inline.collapsed > tbody > tr > th.dtr-control:first-child::before,
.wb-datatable-wrap table.dataTable.dtr-inline.collapsed > tbody > tr > td.dtr-control:first-child::before,
.wb-datatable-wrap table.dataTable.dtr-inline.collapsed > tbody > tr > th.dtr-control:first-child::before {
  display: none;
}

.wb-metrics-table-wrap .dt-paging,
.wb-datatable-wrap .dt-paging {
  padding: 0.25rem;
  border: 1px solid rgba(148, 163, 184, 0.22);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.9);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.55);
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: flex-end;
  gap: 0.35rem;
}

.wb-metrics-table-wrap .dt-paging .dt-paging-button,
.wb-datatable-wrap .dt-paging .dt-paging-button {
  min-width: 2.4rem;
  padding: 0.45rem 0.7rem;
  border: 0;
  border-radius: 12px;
  background: transparent;
  color: var(--text);
  box-shadow: none;
}

.wb-metrics-table-wrap .dt-paging .dt-paging-button.current,
.wb-metrics-table-wrap .dt-paging .dt-paging-button:hover,
.wb-datatable-wrap .dt-paging .dt-paging-button.current,
.wb-datatable-wrap .dt-paging .dt-paging-button:hover {
  background: rgba(255, 248, 235, 0.96);
  color: #9a5a00;
}

.wb-metrics-table-wrap .dt-processing,
.wb-datatable-wrap .dt-processing {
  padding: 0.65rem 0.9rem;
  border: 1px solid rgba(201, 111, 5, 0.18);
  border-radius: 14px;
  background: rgba(255, 248, 235, 0.95);
  box-shadow: 0 20px 40px rgba(15, 23, 42, 0.08);
}

.wb-datatable-filter-row th {
  padding-top: 0.75rem;
  padding-bottom: 0.75rem;
  background: rgba(247, 249, 252, 0.82);
  border-bottom: 1px solid rgba(23, 32, 51, 0.08);
}

.wb-datatable-filter-row .form-control,
.wb-datatable-filter-row .form-select {
  min-width: 0;
  border-radius: 12px;
  min-height: calc(1.5em + 0.55rem + 2px);
  padding-top: 0.35rem;
  padding-bottom: 0.35rem;
  font-size: 0.9rem;
}

.wb-datatable-filter-row .form-control::placeholder {
  color: #94a3b8;
}

.wb-list-table--plants .wb-datatable-filter-row th:nth-child(3) .form-select {
  width: min(100%, 240px);
}

.wb-list-table--plants .wb-datatable-filter-row th:nth-child(5) .form-select {
  width: min(100%, 96px);
}

.wb-list-table--users .wb-datatable-filter-row th:nth-child(5) .form-select,
.wb-list-table--users .wb-datatable-filter-row th:nth-child(6) .form-select {
  width: min(100%, 132px);
}

.wb-list-table--tariffs .wb-datatable-filter-row th:nth-child(4) .form-select {
  width: min(100%, 92px);
}

.wb-list-table--device-templates .wb-datatable-filter-row th:nth-child(4) .form-select,
.wb-list-table--graph-templates .wb-datatable-filter-row th:nth-child(4) .form-select {
  width: min(100%, 180px);
}

.wb-list-table--device-templates .wb-datatable-filter-row th:nth-child(6) .form-select,
.wb-list-table--device-templates .wb-datatable-filter-row th:nth-child(7) .form-select,
.wb-list-table--graph-templates .wb-datatable-filter-row th:nth-child(6) .form-select,
.wb-list-table--graph-templates .wb-datatable-filter-row th:nth-child(7) .form-select,
.wb-list-table--audit .wb-datatable-filter-row th:nth-child(2) .form-select,
.wb-list-table--audit .wb-datatable-filter-row th:nth-child(3) .form-select,
.wb-list-table--audit .wb-datatable-filter-row th:nth-child(5) .form-select,
.wb-list-table--integrations-issues .wb-datatable-filter-row th:nth-child(1) .form-select,
.wb-list-table--integrations-issues .wb-datatable-filter-row th:nth-child(2) .form-select,
.wb-list-table--integrations-issues .wb-datatable-filter-row th:nth-child(4) .form-select,
.wb-list-table--integrations-health .wb-datatable-filter-row th:nth-child(2) .form-select,
.wb-list-table--integrations-health .wb-datatable-filter-row th:nth-child(3) .form-select,
.wb-list-table--mqtt .wb-datatable-filter-row th:nth-child(5) .form-select,
.wb-list-table--microlog .wb-datatable-filter-row th:nth-child(5) .form-select {
  width: min(100%, 128px);
}

.wb-list-table--mqtt .wb-datatable-filter-row th:nth-child(2) .form-select,
.wb-list-table--microlog .wb-datatable-filter-row th:nth-child(2) .form-select {
  width: min(100%, 180px);
}

.wb-metrics-table-wrap .dtr-bs-modal .modal-content,
.wb-datatable-wrap .dtr-bs-modal .modal-content {
  border: 1px solid rgba(23, 32, 51, 0.08);
  border-radius: 22px;
  box-shadow: 0 24px 60px rgba(15, 23, 42, 0.2);
}

.wb-metrics-table-wrap .dtr-bs-modal .modal-header,
.wb-metrics-table-wrap .dtr-bs-modal .modal-body,
.wb-datatable-wrap .dtr-bs-modal .modal-header,
.wb-datatable-wrap .dtr-bs-modal .modal-body {
  padding: 1rem 1.1rem;
}

#wb-ajax-result-modal .modal-dialog {
  max-width: min(880px, calc(100vw - 32px));
}

#wb-ajax-result-modal .modal-content {
  border: 1px solid rgba(23, 32, 51, 0.1);
  border-radius: 24px;
  background: linear-gradient(180deg, rgba(255, 252, 245, 0.98) 0%, rgba(255, 255, 255, 0.99) 100%);
  box-shadow: 0 24px 60px rgba(15, 23, 42, 0.22);
  overflow: hidden;
}

#wb-ajax-result-modal .modal-header {
  padding: 1.1rem 1.25rem 0.95rem;
  border-bottom: 1px solid rgba(148, 163, 184, 0.2);
  background: rgba(248, 250, 252, 0.86);
}

#wb-ajax-result-modal .modal-title {
  font-size: 1.15rem;
  font-weight: 800;
  color: #1e293b;
}

#wb-ajax-result-modal .modal-body {
  padding: 1.15rem 1.25rem 1.25rem;
  max-height: calc(100vh - 180px);
  overflow-y: auto;
}

#wb-ajax-result-modal .btn-close {
  flex-shrink: 0;
}

#wb-ajax-result-modal .wb-detail-list__item {
  background: rgba(255, 255, 255, 0.92);
}

#wb-ajax-result-modal .form-control,
#wb-ajax-result-modal .form-select {
  background: rgba(255, 255, 255, 0.96);
}

#wb-ajax-result-modal + .modal-backdrop,
.modal-backdrop.show {
  background: rgba(15, 23, 42, 0.5);
}

@media (max-width: 640px) {
  #wb-ajax-result-modal .modal-dialog {
    max-width: calc(100vw - 18px);
    margin: 0.5rem auto;
  }

  #wb-ajax-result-modal .modal-content {
    border-radius: 18px;
  }

  #wb-ajax-result-modal .modal-header {
    padding: 0.95rem 1rem 0.85rem;
  }

  #wb-ajax-result-modal .modal-body {
    padding: 1rem;
    max-height: calc(100vh - 120px);
  }
}

.wb-metrics-table-wrap .dtr-bs-modal .modal-title,
.wb-datatable-wrap .dtr-bs-modal .modal-title {
  font-size: 1rem;
  font-weight: 700;
  color: var(--text);
}

.wb-datatable-modal-table th {
  width: 36%;
  color: #64748b;
  font-size: 0.82rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.wb-datatable-modal-table td {
  font-weight: 500;
}

.wb-table-toolbar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: flex-end;
  gap: 0.75rem;
}

.wb-table-toolbar__group {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.5rem;
}

.wb-table-toolbar--metrics .form-select {
  min-width: 180px;
}

.wb-table-toolbar--metrics .form-control {
  min-width: min(340px, 70vw);
}

.wb-table-toolbar__meta {
  white-space: nowrap;
}

.wb-table-sort {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0;
  border: 0;
  background: transparent;
  color: inherit;
  font: inherit;
  letter-spacing: inherit;
  text-transform: inherit;
}

.wb-table-sort__icon {
  color: rgba(100, 116, 139, 0.9);
  font-size: 0.82rem;
  line-height: 1;
}

.wb-table-sort.is-active {
  color: var(--text);
}

.wb-table-sort.is-active .wb-table-sort__icon {
  color: #c96f05;
}

.wb-table-sort.is-active:not(.is-desc) .wb-table-sort__icon::before {
  content: "↑";
}

.wb-table-sort.is-desc .wb-table-sort__icon::before {
  content: "↓";
}

.wb-table-sort.is-active .wb-table-sort__icon {
  font-size: 0;
}

.wb-table-filter-row th {
  padding-top: 0.55rem;
  padding-bottom: 0.8rem;
  background: rgba(247, 249, 252, 0.78);
  border-bottom: 1px solid rgba(23, 32, 51, 0.08);
}

.wb-table-filter-row .form-control,
.wb-table-filter-row .form-select {
  min-width: 0;
}

.wb-table-filter-row .form-control::placeholder {
  color: #94a3b8;
}

.wb-stat-chip--live,
.wb-stat-chip--table.wb-stat-chip--live {
  color: #0b7a54;
  border-color: rgba(16, 185, 129, 0.35);
  background: rgba(16, 185, 129, 0.12);
}

.wb-stat-chip--derived,
.wb-stat-chip--partial,
.wb-stat-chip--table.wb-stat-chip--partial,
.wb-stat-chip--table.wb-stat-chip--derived {
  color: #9a5a00;
  border-color: rgba(245, 158, 11, 0.38);
  background: rgba(245, 158, 11, 0.12);
}

.wb-stat-chip--legacy,
.wb-stat-chip--empty,
.wb-stat-chip--table.wb-stat-chip--empty,
.wb-stat-chip--table.wb-stat-chip--legacy,
.wb-stat-chip--table.wb-stat-chip--neutral {
  color: #475569;
  border-color: rgba(148, 163, 184, 0.34);
  background: rgba(241, 245, 249, 0.92);
}

.wb-detail-code-block {
  padding: 0.95rem 1rem;
  border: 1px solid rgba(23, 32, 51, 0.08);
  border-radius: 16px;
  background: #0f172a;
  color: #e2e8f0;
  overflow: auto;
}

.wb-detail-code-block pre {
  margin: 0;
  font-size: 0.86rem;
  line-height: 1.55;
  white-space: pre-wrap;
  word-break: break-word;
}

.wb-detail-code-block--compact {
  padding: 0.75rem 0.85rem;
  border-radius: 14px;
}

.wb-detail-code-block--compact pre {
  font-size: 0.8rem;
  line-height: 1.45;
}

.wb-graph-series-table-wrap {
  width: 100%;
  overflow: visible;
  padding-bottom: 0;
}

.wb-graph-series-table {
  width: 100%;
  min-width: 0;
  table-layout: fixed;
}

.wb-graph-series-table th,
.wb-graph-series-table td {
  min-width: 0;
  white-space: normal;
  padding-right: 0.55rem;
  padding-left: 0.55rem;
}

.wb-graph-series-table thead th {
  font-size: 12px;
  line-height: 1.35;
}

#graph-series-table th:nth-child(1),
#graph-series-table td:nth-child(1) {
  width: 88px;
}

#graph-series-table th:nth-child(3),
#graph-series-table td:nth-child(3) {
  width: 14%;
}

#graph-series-table th:nth-child(4),
#graph-series-table td:nth-child(4),
#graph-series-table th:nth-child(5),
#graph-series-table td:nth-child(5),
#graph-series-table th:nth-child(6),
#graph-series-table td:nth-child(6),
#graph-series-table th:nth-child(8),
#graph-series-table td:nth-child(8),
#graph-series-table th:nth-child(9),
#graph-series-table td:nth-child(9) {
  width: 88px;
}

#graph-template-series-table th:nth-child(3),
#graph-template-series-table td:nth-child(3),
#graph-template-series-table th:nth-child(4),
#graph-template-series-table td:nth-child(4),
#graph-template-series-table th:nth-child(5),
#graph-template-series-table td:nth-child(5),
#graph-template-series-table th:nth-child(6),
#graph-template-series-table td:nth-child(6),
#graph-template-series-table th:nth-child(7),
#graph-template-series-table td:nth-child(7) {
  width: 88px;
}

.wb-series-summary-row .form-control,
.wb-series-summary-row .form-select,
.wb-series-summary-row .btn {
  max-width: 100%;
}

.wb-series-summary-row .js-series-health-cell {
  font-size: 12px;
  line-height: 1.35;
}

.wb-graph-series-table .form-control-color {
  min-width: 72px;
  width: 72px;
  padding: 0.25rem;
}

.wb-series-order-controls {
  display: grid;
  gap: 8px;
}

.wb-series-order-controls .btn {
  width: 100%;
}

.wb-series-details-cell {
  padding: 0 !important;
  border-top: 0 !important;
  background: transparent !important;
}

.wb-series-details-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 14px;
  width: 100%;
  padding: 10px 0 14px;
}

.wb-series-detail-section {
  min-width: 0;
  padding: 14px;
  border: 1px solid rgba(148, 163, 184, 0.16);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.84);
  box-shadow: 0 8px 22px rgba(15, 23, 42, 0.04);
}

.wb-series-detail-section-title {
  margin-bottom: 12px;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
}

.wb-series-detail-section-body {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(170px, 1fr));
  gap: 12px;
}

.wb-series-detail-group {
  display: flex;
  flex-direction: column;
  min-width: 0;
}

.wb-series-detail-group .form-control,
.wb-series-detail-group .form-select {
  min-width: 0;
  width: 100%;
}

.wb-graph-detail .wb-dashboard-table td {
  vertical-align: top;
}

.wb-metric-source-picker {
  align-items: stretch;
}

.wb-metric-source-card {
  display: flex;
  align-items: center;
  gap: 0.9rem;
}

.wb-metric-source-card__badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.4rem;
  height: 2.4rem;
  border-radius: 0.9rem;
  background: rgba(245, 158, 11, 0.12);
  color: #b45309;
  font-size: 0.82rem;
  font-weight: 800;
  flex: 0 0 auto;
}

.wb-metric-source-card__content {
  display: grid;
  gap: 0.15rem;
  min-width: 0;
}

.wb-metric-source-card__content strong {
  font-size: 0.98rem;
  line-height: 1.2;
}

.wb-metric-source-card__content small {
  color: var(--muted);
  font-size: 0.78rem;
  line-height: 1.35;
}

.wb-metric-source-panel.is-hidden {
  display: none;
}

.wb-metric-helper-card {
  padding: 0.95rem 1rem;
  border: 1px solid rgba(23, 32, 51, 0.08);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.92);
}

.chip-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.chip-btn {
  display: inline-flex;
  align-items: center;
  min-height: 32px;
  padding: 0.35rem 0.8rem;
  border: 1px solid rgba(23, 32, 51, 0.12);
  border-radius: 999px;
  background: rgba(247, 249, 252, 0.9);
  color: var(--text);
  font-size: 0.86rem;
  font-weight: 700;
}

.chip-btn:hover,
.chip-btn:focus {
  border-color: rgba(245, 158, 11, 0.42);
  background: rgba(245, 158, 11, 0.10);
}

.wb-metric-calc-row {
  display: grid;
  gap: 0.65rem;
  padding: 0.85rem 0.95rem;
  border: 1px solid rgba(23, 32, 51, 0.08);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.94);
}

.wb-metric-calc-row__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  flex-wrap: wrap;
}

.wb-metric-calc-var {
  display: inline-flex;
  align-items: center;
  min-height: 32px;
  padding: 0.2rem 0.75rem;
  border-radius: 999px;
  background: rgba(245, 158, 11, 0.12);
  color: #9a5a00;
  font-weight: 800;
}

.wb-metric-graph-table td:first-child {
  min-width: 220px;
}

@media (max-width: 1100px) {
  .wb-shell-layout {
    display: block;
  }

  .wb-sidebar-column {
    display: none !important;
  }

  .wb-topbar__toggle {
    display: inline-flex !important;
  }

  .wb-topbar__toggle--desktop {
    display: none !important;
  }

  .wb-offcanvas-sidebar {
    top: calc(var(--app-header-h) + 1px);
    bottom: 0;
    height: auto;
  }

  .wb-topbar > .container-fluid {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    min-width: 0;
    flex-wrap: nowrap;
  }

  .wb-topbar > .container-fluid > .d-flex {
    min-width: 0;
  }

  .wb-topbar__brand {
    flex: 0 1 auto;
    min-width: 0;
    padding-right: 0.4rem;
  }

  .wb-topbar__logo {
    width: clamp(118px, 32vw, 150px);
  }

  .wb-topbar__toggle:not(.wb-topbar__toggle--desktop) {
    flex: 0 0 auto;
    min-width: 42px;
    padding-inline: 0.75rem;
  }

  .wb-topbar__plant {
    max-width: min(42vw, 180px);
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    padding-inline: 0.8rem;
  }

  .wb-topbar__user {
    flex: 0 0 auto;
    padding-right: 0.85rem;
  }

  .wb-offcanvas-sidebar {
    --bs-offcanvas-width: min(84vw, 320px);
    display: flex;
    flex-direction: column;
    max-height: calc(100dvh - var(--app-header-h) - 1px);
  }

  .wb-offcanvas-sidebar .offcanvas-header {
    flex: 0 0 auto;
  }

  .wb-offcanvas-sidebar .offcanvas-body {
    flex: 1 1 auto;
    min-height: 0;
    overflow-y: auto;
    overscroll-behavior: contain;
    -webkit-overflow-scrolling: touch;
    padding-bottom: 2rem;
  }

  .wb-metric-source-card__content small {
    font-size: 0.82rem;
  }

  #devices-mobile-cards .mobile-card-actions {
    display: block;
    width: 100%;
  }

  .devices-page .devices-list-surface {
    border-radius: 18px;
    border: 1px solid rgba(23, 32, 51, 0.08);
    background: rgba(255, 255, 255, 0.9);
    box-shadow: 0 8px 20px rgba(15, 23, 42, 0.06);
  }

  .devices-page .devices-list-surface > .card-body {
    padding: 0;
  }

  .devices-page .devices-list-surface .border-bottom {
    padding-left: 0;
    padding-right: 0;
    border-bottom-color: rgba(23, 32, 51, 0.08) !important;
    background: transparent;
  }

  .device-list-table-wrap > .dt-container.devices-mobile-active {
    padding: 0 0 1.1rem;
    gap: 0.85rem;
  }

  .device-list-table-wrap > .dt-container.devices-mobile-active > .dt-layout-row {
    padding-left: 0;
    padding-right: 0;
  }

  .device-list-table-wrap > .dt-container.devices-mobile-active > .dt-layout-row:first-child {
    display: grid;
    grid-template-columns: max-content minmax(0, 1fr);
    align-items: end;
    gap: 0.75rem;
  }

  .device-list-table-wrap > .dt-container.devices-mobile-active > .dt-layout-row:last-child {
    gap: 0.5rem;
  }

  .device-list-table-wrap > .dt-container.devices-mobile-active > .dt-layout-table {
    display: none;
  }

  .device-list-table-wrap > .dt-container.devices-mobile-active .dt-layout-start,
  .device-list-table-wrap > .dt-container.devices-mobile-active .dt-layout-end {
    width: 100%;
  }

  .device-list-table-wrap > .dt-container.devices-mobile-active > .dt-layout-row:first-child .dt-layout-start,
  .device-list-table-wrap > .dt-container.devices-mobile-active > .dt-layout-row:first-child .dt-layout-end {
    min-width: 0;
  }

  .device-list-table-wrap > .dt-container.devices-mobile-active > .dt-layout-row:first-child .dt-length,
  .device-list-table-wrap > .dt-container.devices-mobile-active > .dt-layout-row:first-child .dt-search {
    width: 100%;
    margin: 0;
  }

  .device-list-table-wrap > .dt-container.devices-mobile-active > .dt-layout-row:first-child .dt-length label,
  .device-list-table-wrap > .dt-container.devices-mobile-active > .dt-layout-row:first-child .dt-search label {
    display: grid;
    grid-template-columns: max-content minmax(0, 1fr);
    align-items: center;
    gap: 0.55rem;
    width: 100%;
    white-space: nowrap;
  }

  .device-list-table-wrap > .dt-container.devices-mobile-active > .dt-layout-row:first-child .dt-search input,
  .device-list-table-wrap > .dt-container.devices-mobile-active > .dt-layout-row:first-child .dt-length select {
    min-width: 0;
    width: 100%;
  }

  .device-list-table-wrap > .dt-container.devices-mobile-active > .dt-layout-row:first-child .dt-inline-label__text {
    min-width: 0;
    white-space: nowrap;
  }

  .device-list-table-wrap > .dt-container.devices-mobile-active .dt-paging {
    width: 100%;
    padding: 0;
    border: 0;
    border-radius: 0;
    background: transparent;
    box-shadow: none;
    justify-content: flex-start;
  }

  #devices-mobile-cards {
    padding-left: 0 !important;
    padding-right: 0 !important;
  }

  #devices-mobile-cards .device-mobile-card {
    border: 1px solid rgba(148, 163, 184, 0.18);
    border-radius: 14px;
    background: rgba(255, 255, 255, 0.94);
    box-shadow: 0 10px 20px rgba(15, 23, 42, 0.04);
  }

  #devices-mobile-cards .device-mobile-card__body {
    padding: 1rem;
  }

  #devices-mobile-cards .row.g-3 {
    --bs-gutter-y: 0.9rem;
  }

  #devices-mobile-cards .device-card-top-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 0.75rem;
    width: 100%;
    align-items: start;
    padding: 0;
    border: 0;
    border-radius: 0;
    background: transparent;
    box-shadow: none;
  }

  #devices-mobile-cards .device-card-top-grid__item {
    min-width: 0;
  }

  #devices-mobile-cards .device-card-top-grid__item > :last-child {
    display: flex;
    align-items: center;
    min-height: 2rem;
  }

  #devices-mobile-cards .device-card-top-grid .badge {
    align-self: center;
  }

  #devices-mobile-cards .device-card-top-grid__item:nth-child(2) {
    text-align: center;
  }

  #devices-mobile-cards .device-card-top-grid__item:nth-child(2) > :last-child {
    justify-content: center;
  }

  #devices-mobile-cards .device-card-top-grid__item:nth-child(3) {
    text-align: right;
  }

  #devices-mobile-cards .device-card-top-grid__item:nth-child(3) > :last-child {
    justify-content: flex-end;
  }

  #devices-mobile-cards .small.text-secondary.text-uppercase.fw-semibold {
    letter-spacing: 0.04em;
  }

  #devices-mobile-cards .device-card-readiness {
    display: grid;
    gap: 0.45rem;
  }

  #devices-mobile-cards .device-card-readiness .progress {
    margin-bottom: 0;
  }

  #devices-mobile-cards .device-card-readiness .small {
    margin-bottom: 0;
  }

  #devices-mobile-cards .device-actions {
    display: grid !important;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.4rem;
    width: 100%;
  }

  #devices-mobile-cards .device-actions > * {
    min-width: 0;
  }

  #devices-mobile-cards .device-card-action-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    width: 100%;
    gap: 0.4rem;
  }

  #devices-mobile-cards .device-card-action-grid__cell {
    min-width: 0;
  }

  #devices-mobile-cards .mobile-card-actions form,
  #devices-mobile-cards .mobile-card-actions a,
  #devices-mobile-cards .mobile-card-actions button,
  #devices-mobile-cards .mobile-card-actions .btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    max-width: 100%;
    text-align: center;
  }

  #devices-mobile-cards .mobile-card-actions .btn {
    min-height: 2.55rem;
    line-height: 1.2;
    padding-block: 0.4rem;
    padding-inline: 0.65rem;
  }

  #devices-mobile-cards .mobile-card-actions .btn.btn-sm {
    min-height: 2.35rem !important;
    padding: 0.28rem 0.55rem !important;
    font-size: 0.96rem;
    line-height: 1.15;
    border-radius: 0.55rem;
  }
}

@media (min-width: 1101px) {
  .wb-topbar__toggle:not(.wb-topbar__toggle--desktop) {
    display: none !important;
  }

  .wb-topbar__toggle--desktop {
    display: inline-flex !important;
  }

  .wb-sidebar-column {
    display: block !important;
  }
}

.wb-stepper {
  overflow-x: auto;
  padding-bottom: 0.25rem;
}

.wb-stepper__list {
  --wb-stepper-columns: 5;
  display: flex;
  gap: 0.9rem;
  min-width: max-content;
  margin: 0;
  padding: 0;
  list-style: none;
}

.wb-stepper__list--four {
  --wb-stepper-columns: 4;
}

.wb-stepper__item {
  position: relative;
}

.wb-stepper__item:not(:last-child)::after {
  content: "";
  position: absolute;
  top: 1.2rem;
  left: calc(100% + 0.3rem);
  width: 0.6rem;
  height: 1px;
  background: rgba(23, 32, 51, 0.18);
}

.wb-stepper__link {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  min-width: 220px;
  min-height: 72px;
  padding: 0.8rem 0.9rem;
  border: 1px solid rgba(23, 32, 51, 0.08);
  border-radius: 14px;
  background: rgba(247, 249, 252, 0.7);
  color: var(--text);
  text-decoration: none;
}

.wb-stepper__link[aria-disabled="true"] {
  opacity: 0.7;
}

.wb-stepper__index {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 1.9rem;
  height: 1.9rem;
  border-radius: 999px;
  background: rgba(148, 163, 184, 0.2);
  color: var(--text);
  font-weight: 800;
  flex: 0 0 auto;
}

.wb-stepper__content {
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-width: 0;
}

.wb-stepper__content strong {
  font-size: 0.9rem;
  line-height: 1.2;
}

.wb-stepper__content small {
  color: var(--muted);
  font-size: 0.74rem;
  line-height: 1.2;
}

.wb-stepper__item.is-current .wb-stepper__link {
  border-color: rgba(245, 158, 11, 0.45);
  background: rgba(245, 158, 11, 0.08);
  box-shadow: 0 10px 24px rgba(245, 158, 11, 0.12);
}

.wb-stepper__item.is-current .wb-stepper__index {
  background: #f59e0b;
  color: #fff;
}

.wb-stepper__item.is-done .wb-stepper__link {
  background: rgba(16, 185, 129, 0.06);
}

.wb-stepper__item.is-done .wb-stepper__index {
  background: #198754;
  color: #fff;
}

.wb-stepper__item.is-selected .wb-stepper__link {
  border-color: rgba(245, 158, 11, 0.45);
  box-shadow: 0 0 0 0.16rem rgba(245, 158, 11, 0.10);
}

.wb-option-card {
  border: 1px solid rgba(23, 32, 51, 0.08);
  border-radius: 18px;
  background: rgba(247, 249, 252, 0.7);
  color: var(--text);
  transition: background 120ms ease, border-color 120ms ease, box-shadow 120ms ease, transform 120ms ease;
}

.wb-option-card:hover {
  background: rgba(245, 158, 11, 0.08);
  border-color: rgba(245, 158, 11, 0.45);
  box-shadow: inset 0 0 0 1px rgba(245, 158, 11, 0.12);
  transform: translateY(-1px);
}

.wb-option-card.is-active {
  border-color: rgba(245, 158, 11, 0.45);
  background: rgba(245, 158, 11, 0.08);
  box-shadow: 0 10px 24px rgba(245, 158, 11, 0.12);
}

.wb-detail-list__item,
.wb-status-card {
  padding: 1rem 1.1rem;
  border: 1px solid rgba(23, 32, 51, 0.08);
  border-radius: 16px;
  background: rgba(247, 249, 252, 0.72);
}

.wb-status-card.is-ok {
  border-color: rgba(25, 135, 84, 0.24);
  background: rgba(25, 135, 84, 0.06);
}

.wb-code {
  display: inline-block;
  padding: 0.18rem 0.45rem;
  border-radius: 10px;
  background: rgba(15, 23, 42, 0.08);
  color: var(--text);
}

.wb-home-hero {
  background:
    linear-gradient(180deg, rgba(15, 23, 42, 0.99), rgba(23, 35, 60, 0.98)),
    radial-gradient(circle at right top, rgba(245, 158, 11, 0.14), transparent 28%);
}

.wb-home-feature {
  padding: 1.25rem 1.35rem;
  border: 1px solid rgba(23, 32, 51, 0.08);
  border-radius: 20px;
  background: rgba(247, 249, 252, 0.9);
}

.wb-inline-code {
  display: inline-flex;
  align-items: center;
  padding: 0.7rem 0.95rem;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.12);
  color: #fff8e8;
}

[data-live-refresh-pause] {
  position: relative;
}

@media (max-width: 1199.98px) {
  .wb-dashboard-table {
    min-width: 840px;
  }

  .wb-dashboard-table--metrics {
    min-width: 1320px;
  }

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

  .wb-dashboard-table--graphs {
    min-width: 980px;
  }

  .wb-list-table .wb-col--hide-lg {
    display: none;
  }
}

@media (max-width: 767.98px) {
  .wb-shell-enabled .wb-flash-stack--shell {
    width: auto;
    right: 1rem;
    left: 1rem;
    transform: none;
  }

  .wb-dashboard-step-list {
    grid-template-columns: 1fr;
  }

  .wb-stepper__link {
    min-width: 190px;
    padding: 0.75rem 0.85rem;
  }

  .wb-table-toolbar {
    justify-content: stretch;
  }

  .wb-table-toolbar__group,
  .wb-table-toolbar__meta {
    width: 100%;
  }

  .wb-table-toolbar--metrics .form-select,
  .wb-table-toolbar--metrics .form-control {
    width: 100%;
    min-width: 0;
  }

  .wb-list-table--graphs .wb-dashboard-table__actions > div {
    justify-content: flex-start;
  }

  .wb-list-table--metrics .wb-dashboard-table__actions .d-flex,
  .wb-list-table--devices .wb-dashboard-table__actions .d-flex,
  .wb-list-table--plants .wb-dashboard-table__actions,
  .wb-list-table--graphs .wb-dashboard-table__actions > div,
  .wb-list-table--users .wb-dashboard-table__actions,
  .wb-list-table--tariffs .wb-dashboard-table__actions,
  .wb-list-table--device-templates .wb-dashboard-table__actions,
  .wb-list-table--graph-templates .wb-dashboard-table__actions,
  .wb-list-table--integrations-issues .wb-dashboard-table__actions,
  .wb-list-table--integrations-health .wb-dashboard-table__actions,
  .wb-list-table--audit .wb-dashboard-table__actions,
  .wb-list-table--mqtt .wb-dashboard-table__actions,
  .wb-list-table--microlog .wb-dashboard-table__actions {
    display: grid !important;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.4rem !important;
    width: 100%;
  }

  .wb-list-table--metrics .wb-dashboard-table__actions .btn,
  .wb-list-table--devices .wb-dashboard-table__actions .btn,
  .wb-list-table--plants .wb-dashboard-table__actions .btn,
  .wb-list-table--graphs .wb-dashboard-table__actions .btn,
  .wb-list-table--users .wb-dashboard-table__actions .btn,
  .wb-list-table--tariffs .wb-dashboard-table__actions .btn,
  .wb-list-table--device-templates .wb-dashboard-table__actions .btn,
  .wb-list-table--graph-templates .wb-dashboard-table__actions .btn,
  .wb-list-table--integrations-issues .wb-dashboard-table__actions .btn,
  .wb-list-table--integrations-health .wb-dashboard-table__actions .btn,
  .wb-list-table--audit .wb-dashboard-table__actions .btn,
  .wb-list-table--mqtt .wb-dashboard-table__actions .btn,
  .wb-list-table--microlog .wb-dashboard-table__actions .btn {
    width: 100%;
    min-height: 34px;
    padding: 0.35rem 0.45rem;
    font-size: 0.76rem;
    line-height: 1.15;
    justify-content: center;
    text-align: center;
  }

  .wb-list-table--metrics .wb-dashboard-table__actions form,
  .wb-list-table--devices .wb-dashboard-table__actions form,
  .wb-list-table--plants .wb-dashboard-table__actions form,
  .wb-list-table--graphs .wb-dashboard-table__actions form,
  .wb-list-table--users .wb-dashboard-table__actions form,
  .wb-list-table--tariffs .wb-dashboard-table__actions form,
  .wb-list-table--device-templates .wb-dashboard-table__actions form,
  .wb-list-table--graph-templates .wb-dashboard-table__actions form,
  .wb-list-table--integrations-issues .wb-dashboard-table__actions form,
  .wb-list-table--integrations-health .wb-dashboard-table__actions form,
  .wb-list-table--audit .wb-dashboard-table__actions form,
  .wb-list-table--mqtt .wb-dashboard-table__actions form,
  .wb-list-table--microlog .wb-dashboard-table__actions form {
    width: 100%;
  }

  .wb-dashboard-table--metrics td:last-child,
  .wb-dashboard-table--metrics th:last-child,
  .wb-dashboard-table--devices td:nth-child(8),
  .wb-dashboard-table--devices th:nth-child(8),
  .wb-dashboard-table--plants td:nth-child(6),
  .wb-dashboard-table--plants th:nth-child(6),
  .wb-dashboard-table--graphs td:nth-child(8),
  .wb-dashboard-table--graphs th:nth-child(8),
  .wb-dashboard-table--users td:last-child,
  .wb-dashboard-table--users th:last-child,
  .wb-dashboard-table--tariffs td:last-child,
  .wb-dashboard-table--tariffs th:last-child,
  .wb-dashboard-table--device-templates td:last-child,
  .wb-dashboard-table--device-templates th:last-child,
  .wb-dashboard-table--graph-templates td:last-child,
  .wb-dashboard-table--graph-templates th:last-child,
  .wb-dashboard-table--integrations-issues td:last-child,
  .wb-dashboard-table--integrations-issues th:last-child,
  .wb-dashboard-table--integrations-health td:last-child,
  .wb-dashboard-table--integrations-health th:last-child,
  .wb-dashboard-table--audit td:last-child,
  .wb-dashboard-table--audit th:last-child,
  .wb-dashboard-table--mqtt td:nth-child(7),
  .wb-dashboard-table--mqtt th:nth-child(7),
  .wb-dashboard-table--microlog td:nth-child(7),
  .wb-dashboard-table--microlog th:nth-child(7) {
    min-width: 188px;
  }

  .wb-table-filter-row,
  .wb-datatable-filter-row {
    display: none;
  }

  .wb-metrics-table-wrap .dt-layout-row,
  .wb-datatable-wrap .dt-layout-row {
    flex-direction: column;
    align-items: stretch;
  }

  .wb-metrics-table-wrap .dt-search,
  .wb-datatable-wrap .dt-search {
    margin-left: 0;
  }

  .wb-metrics-table-wrap .dt-search input,
  .wb-metrics-table-wrap .dt-length select,
  .wb-datatable-wrap .dt-search input,
  .wb-datatable-wrap .dt-length select {
    width: 100%;
    min-width: 0;
  }

  .wb-metrics-table-wrap .dt-search label,
  .wb-metrics-table-wrap .dt-length label,
  .wb-datatable-wrap .dt-search label,
  .wb-datatable-wrap .dt-length label {
    display: flex;
    width: 100%;
  }
}

@media (min-width: 1200px) {
  .wb-stepper {
    overflow-x: visible;
    padding-bottom: 0;
  }

  .wb-stepper__list {
    display: grid;
    grid-template-columns: repeat(var(--wb-stepper-columns), minmax(0, 1fr));
    min-width: 0;
  }

  .wb-stepper__item:not(:last-child)::after {
    width: 0.9rem;
  }

  .wb-stepper__link {
    min-width: 0;
  }
}

/* Device detail responsive tables */
.table--detail-metrics .metric-card-title-mobile {
  display: none;
}

.table--detail-metrics .metric-card-name-desktop {
  display: inline;
  font-weight: 700;
}

.table--detail-pins .pin-card-title-mobile {
  display: none;
}

.table--detail-pins .pin-card-id-desktop {
  display: inline-block;
  font-weight: 700;
}

.table--detail-pins .pin-card-mapped-metrics {
  display: grid;
  gap: 4px;
  align-content: start;
}

.table--detail-requests .request-card-title-mobile {
  display: none;
}

.table--detail-samples .sample-card-title-mobile {
  display: none;
}

.table--detail-topics .topic-card-title-mobile {
  display: none;
}

.table--detail-messages .message-card-title-mobile {
  display: none;
}

.table--detail-graphs .graph-card-title-mobile {
  display: none;
}

.table--detail-graphs .graph-card-name-desktop {
  display: inline;
  font-weight: 700;
}

.table-shell .table--detail-responsive,
.table-responsive .table--detail-responsive {
  width: 100% !important;
  table-layout: fixed;
}

.table-shell .table--detail-responsive th,
.table-shell .table--detail-responsive td,
.table-responsive .table--detail-responsive th,
.table-responsive .table--detail-responsive td {
  min-width: 0;
  white-space: normal;
  overflow-wrap: anywhere;
  word-break: break-word;
}

.table-shell .table--detail-responsive code,
.table-shell .table--detail-responsive pre,
.table-shell .table--detail-responsive .wb-code,
.table-responsive .table--detail-responsive code,
.table-responsive .table--detail-responsive pre,
.table-responsive .table--detail-responsive .wb-code {
  white-space: pre-wrap;
  overflow-wrap: anywhere;
  word-break: break-word;
}

.table-shell .table--detail-responsive .actions.actions--table,
.table-responsive .table--detail-responsive .actions.actions--table {
  justify-content: flex-start;
}

.table-shell .table--detail-responsive .wb-dashboard-table__actions,
.table-responsive .table--detail-responsive .wb-dashboard-table__actions {
  white-space: normal;
}

.table-shell .table--detail-responsive .wb-dashboard-table__actions > .d-flex,
.table-responsive .table--detail-responsive .wb-dashboard-table__actions > .d-flex {
  justify-content: flex-start;
  gap: 0.45rem !important;
}

.table-shell .table--detail-responsive .wb-dashboard-table__actions .btn,
.table-shell .table--detail-responsive .wb-dashboard-table__actions form,
.table-responsive .table--detail-responsive .wb-dashboard-table__actions .btn,
.table-responsive .table--detail-responsive .wb-dashboard-table__actions form {
  width: auto;
  flex: 0 0 auto;
}

.table-shell .table--detail-responsive .wb-dashboard-table__actions .btn,
.table-responsive .table--detail-responsive .wb-dashboard-table__actions .btn {
  min-height: 30px;
  padding: 0.28rem 0.48rem;
  font-size: 0.72rem;
  line-height: 1.1;
}

.table-shell .table--mqtt-topics-picker td:nth-child(1),
.table-shell .table--mqtt-topics-picker th:nth-child(1) {
  width: 27%;
}

.table-shell .table--mqtt-topics-picker td:nth-child(2),
.table-shell .table--mqtt-topics-picker th:nth-child(2) {
  width: 23%;
}

.table-shell .table--mqtt-topics-picker td:nth-child(3),
.table-shell .table--mqtt-topics-picker th:nth-child(3) {
  width: 12%;
}

.table-shell .table--mqtt-topics-picker td:nth-child(4),
.table-shell .table--mqtt-topics-picker th:nth-child(4) {
  width: 8%;
}

.table-shell .table--mqtt-topics-picker td:nth-child(5),
.table-shell .table--mqtt-topics-picker th:nth-child(5) {
  width: 12%;
}

.table-shell .table--mqtt-topics-picker td:nth-child(6),
.table-shell .table--mqtt-topics-picker th:nth-child(6) {
  width: 1%;
  white-space: nowrap;
}

.table-shell .table--mqtt-topics-picker .mqtt-topics-picker__actions,
.table-responsive .table--mqtt-topics-picker .mqtt-topics-picker__actions {
  white-space: nowrap;
}

.table-shell .table--mqtt-topics-picker .mqtt-topics-picker__actions > div,
.table-responsive .table--mqtt-topics-picker .mqtt-topics-picker__actions > div {
  gap: 0.35rem !important;
}

.wb-topic-payload-panel {
  margin-top: 12px;
  padding: 12px;
  border: 1px solid rgba(148, 163, 184, 0.25);
  border-radius: 14px;
  background: rgba(248, 250, 252, 0.9);
}

.wb-topic-payload-item {
  padding: 10px 12px;
  border: 1px solid rgba(148, 163, 184, 0.18);
  border-radius: 12px;
  background: #fff;
}

.table-shell .table--detail-responsive td:last-child,
.table-shell .table--detail-responsive th:last-child,
.table-responsive .table--detail-responsive td:last-child,
.table-responsive .table--detail-responsive th:last-child {
  width: 144px;
}

.table-shell .wb-dashboard-table--plants td:last-child,
.table-shell .wb-dashboard-table--plants th:last-child,
.table-responsive .wb-dashboard-table--plants td:last-child,
.table-responsive .wb-dashboard-table--plants th:last-child {
  width: 196px;
  min-width: 196px;
}

.table-shell .wb-dashboard-table--users td:last-child,
.table-shell .wb-dashboard-table--users th:last-child,
.table-shell .wb-dashboard-table--tariffs td:last-child,
.table-shell .wb-dashboard-table--tariffs th:last-child,
.table-shell .wb-dashboard-table--device-templates td:last-child,
.table-shell .wb-dashboard-table--device-templates th:last-child,
.table-shell .wb-dashboard-table--graph-templates td:last-child,
.table-shell .wb-dashboard-table--graph-templates th:last-child,
.table-shell .wb-dashboard-table--integrations-issues td:last-child,
.table-shell .wb-dashboard-table--integrations-issues th:last-child,
.table-shell .wb-dashboard-table--integrations-health td:last-child,
.table-shell .wb-dashboard-table--integrations-health th:last-child,
.table-responsive .wb-dashboard-table--users td:last-child,
.table-responsive .wb-dashboard-table--users th:last-child,
.table-responsive .wb-dashboard-table--tariffs td:last-child,
.table-responsive .wb-dashboard-table--tariffs th:last-child,
.table-responsive .wb-dashboard-table--device-templates td:last-child,
.table-responsive .wb-dashboard-table--device-templates th:last-child,
.table-responsive .wb-dashboard-table--graph-templates td:last-child,
.table-responsive .wb-dashboard-table--graph-templates th:last-child,
.table-responsive .wb-dashboard-table--integrations-issues td:last-child,
.table-responsive .wb-dashboard-table--integrations-issues th:last-child,
.table-responsive .wb-dashboard-table--integrations-health td:last-child,
.table-responsive .wb-dashboard-table--integrations-health th:last-child {
  width: 196px;
  min-width: 196px;
}

.table-shell .wb-dashboard-table--audit td:last-child,
.table-shell .wb-dashboard-table--audit th:last-child,
.table-responsive .wb-dashboard-table--audit td:last-child,
.table-responsive .wb-dashboard-table--audit th:last-child {
  width: 108px;
  min-width: 108px;
}

.table-shell .wb-dashboard-table--mqtt td:nth-child(7),
.table-shell .wb-dashboard-table--mqtt th:nth-child(7),
.table-shell .wb-dashboard-table--microlog td:nth-child(7),
.table-shell .wb-dashboard-table--microlog th:nth-child(7),
.table-responsive .wb-dashboard-table--mqtt td:nth-child(7),
.table-responsive .wb-dashboard-table--mqtt th:nth-child(7),
.table-responsive .wb-dashboard-table--microlog td:nth-child(7),
.table-responsive .wb-dashboard-table--microlog th:nth-child(7) {
  width: 336px;
  min-width: 336px;
}

.table-shell .table--detail-topics td:first-child,
.table-shell .table--detail-topics th:first-child,
.table-shell .table--detail-messages td:first-child,
.table-shell .table--detail-messages th:first-child {
  width: 15%;
}

.table-shell .table--detail-topics td:nth-child(2),
.table-shell .table--detail-topics th:nth-child(2),
.table-shell .table--detail-topics td:nth-child(3),
.table-shell .table--detail-topics th:nth-child(3),
.table-shell .table--detail-messages td:nth-child(2),
.table-shell .table--detail-messages th:nth-child(2),
.table-shell .table--detail-messages td:nth-child(3),
.table-shell .table--detail-messages th:nth-child(3) {
  width: 24%;
}

.table-shell .table--detail-messages td:nth-child(4),
.table-shell .table--detail-messages th:nth-child(4) {
  width: 29%;
}

.table-shell .table--detail-topics td:nth-child(4),
.table-shell .table--detail-topics th:nth-child(4) {
  width: 12%;
}

@media (max-width: 640px) {
  .plant-summary-table-wrap > .dt-container {
    display: none;
  }

  .plant-summary-table-wrap [data-mobile-cards-target="plants"],
  .plant-summary-table-wrap [data-mobile-cards-target="plants-admin"] {
    display: block !important;
  }

  .table-responsive .plant-summary-table.table--detail-responsive td:last-child,
  .table-shell .plant-summary-table.table--detail-responsive td:last-child {
    width: 100%;
    min-width: 0;
    text-align: left !important;
  }

  .table-responsive .plant-summary-table.table--detail-responsive td:last-child[data-label]::before,
  .table-shell .plant-summary-table.table--detail-responsive td:last-child[data-label]::before {
    text-align: left;
  }

  .plant-summary-cta-row {
    display: grid !important;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    width: 100%;
  }

  .plant-summary-cta-row > .btn {
    width: 100%;
    min-width: 0;
    justify-content: center;
  }

  .table-responsive .plant-summary-table.table--detail-responsive td[data-label]::before,
  .table-shell .plant-summary-table.table--detail-responsive td[data-label]::before {
    margin-bottom: 6px;
  }

  .table-responsive .plant-summary-table.table--detail-responsive td:nth-child(2) .badge,
  .table-shell .plant-summary-table.table--detail-responsive td:nth-child(2) .badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    vertical-align: top;
  }

  .table-responsive .plant-summary-table.table--detail-responsive td .small.text-secondary,
  .table-shell .plant-summary-table.table--detail-responsive td .small.text-secondary {
    margin-top: 4px;
    display: block;
  }

  .table-responsive .plant-summary-table.table--detail-responsive .plant-summary-actions,
  .table-shell .plant-summary-table.table--detail-responsive .plant-summary-actions {
    display: grid !important;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
    width: 100%;
  }

  .table-responsive .plant-summary-table.table--detail-responsive .plant-summary-actions > *,
  .table-shell .plant-summary-table.table--detail-responsive .plant-summary-actions > * {
    min-width: 0;
    width: 100%;
  }

  .table-responsive .plant-summary-table.table--detail-responsive .plant-summary-actions .btn,
  .table-shell .plant-summary-table.table--detail-responsive .plant-summary-actions .btn {
    display: flex;
    width: 100%;
    min-height: 40px;
    justify-content: center;
    align-items: center;
    white-space: nowrap;
  }

  .table-shell .table--detail-responsive,
  .table-shell .table--detail-responsive tbody,
  .table-shell .table--detail-responsive tr,
  .table-shell .table--detail-responsive td,
  .table-responsive .table--detail-responsive,
  .table-responsive .table--detail-responsive tbody,
  .table-responsive .table--detail-responsive tr,
  .table-responsive .table--detail-responsive td {
    display: block;
    width: 100%;
  }

  .table-shell .table--detail-responsive thead,
  .table-responsive .table--detail-responsive thead {
    display: none;
  }

  .table-shell .table--detail-responsive tbody,
  .table-responsive .table--detail-responsive tbody {
    display: grid;
    gap: 12px;
  }

  .table-shell .table--detail-responsive tbody tr,
  .table-responsive .table--detail-responsive tbody tr {
    display: grid;
    padding: 12px;
    border: 1px solid rgba(148, 163, 184, 0.18);
    border-radius: 14px;
    background: rgba(255, 255, 255, 0.94);
    box-shadow: 0 10px 20px rgba(15, 23, 42, 0.04);
  }

  .table-shell .table--detail-responsive td,
  .table-responsive .table--detail-responsive td {
    padding: 0;
    border-top: 0;
    min-width: 0;
  }

  .table-shell .table--detail-responsive td + td,
  .table-responsive .table--detail-responsive td + td {
    margin-top: 10px;
  }

  .table-shell .table--detail-responsive td[data-label]::before,
  .table-responsive .table--detail-responsive td[data-label]::before {
    content: attr(data-label);
    display: block;
    margin-bottom: 4px;
    color: var(--muted);
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
  }

  .table-shell .table--detail-responsive .actions.actions--table,
  .table-responsive .table--detail-responsive .actions.actions--table {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
  }

  .table-shell .table--detail-responsive .wb-dashboard-table__actions > .d-flex,
  .table-responsive .table--detail-responsive .wb-dashboard-table__actions > .d-flex {
    display: grid !important;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px !important;
    width: 100%;
  }

  .table-shell .table--detail-responsive .actions.actions--table .btn,
  .table-responsive .table--detail-responsive .actions.actions--table .btn,
  .table-shell .table--detail-responsive .wb-dashboard-table__actions .btn,
  .table-responsive .table--detail-responsive .wb-dashboard-table__actions .btn {
    width: 100%;
    justify-content: center;
  }

  .table-shell .table--detail-responsive th,
  .table-shell .table--detail-responsive td,
  .table-responsive .table--detail-responsive th,
  .table-responsive .table--detail-responsive td {
    overflow-wrap: break-word;
    word-break: normal;
  }

  .table-shell .table--detail-responsive .wb-code,
  .table-shell .table--detail-responsive code,
  .table-shell .table--detail-responsive pre,
  .table-shell .table--detail-responsive .device-card-name,
  .table-shell .table--detail-responsive .metric-card-name-desktop,
  .table-shell .table--detail-responsive .topic-card-topic-desktop,
  .table-responsive .table--detail-responsive .wb-code,
  .table-responsive .table--detail-responsive code,
  .table-responsive .table--detail-responsive pre,
  .table-responsive .table--detail-responsive .device-card-name,
  .table-responsive .table--detail-responsive .metric-card-name-desktop,
  .table-responsive .table--detail-responsive .topic-card-topic-desktop {
    overflow-wrap: anywhere;
    word-break: break-word;
  }

  .table--detail-compact tbody {
    gap: 8px;
  }

  .table--detail-compact tbody tr {
    padding: 8px 10px;
    gap: 4px 8px;
  }

  .table--detail-compact tbody tr td + td {
    margin-top: 0;
  }

  .table--detail-compact td[data-label]::before {
    margin-bottom: 2px;
    font-size: 10px;
    line-height: 1.1;
  }

  .table--detail-compact .actions.actions--table {
    gap: 4px;
  }

  .table--detail-compact .actions.actions--table .btn {
    min-height: 32px;
    padding: 0 6px;
    font-size: 11px;
  }

  .table-responsive #devices-datatable.table--detail-responsive td:last-child,
  .table-responsive #devices-datatable.table--detail-responsive th:last-child,
  .table-shell #devices-datatable.table--detail-responsive td:last-child,
  .table-shell #devices-datatable.table--detail-responsive th:last-child {
    width: 100% !important;
    min-width: 0 !important;
    max-width: none !important;
  }

  .table-responsive #devices-datatable.table--detail-responsive tbody tr td:last-child,
  .table-shell #devices-datatable.table--detail-responsive tbody tr td:last-child {
    display: block;
    width: 100% !important;
  }

  .table-responsive #devices-datatable.table--detail-responsive .device-actions,
  .table-shell #devices-datatable.table--detail-responsive .device-actions {
    display: grid !important;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.5rem;
    width: 100% !important;
  }

  .table-responsive #devices-datatable.table--detail-responsive .device-actions > *,
  .table-shell #devices-datatable.table--detail-responsive .device-actions > * {
    min-width: 0;
    width: 100%;
  }

  .table-responsive #devices-datatable.table--detail-responsive .device-actions form,
  .table-responsive #devices-datatable.table--detail-responsive .device-actions a,
  .table-responsive #devices-datatable.table--detail-responsive .device-actions .btn,
  .table-shell #devices-datatable.table--detail-responsive .device-actions form,
  .table-shell #devices-datatable.table--detail-responsive .device-actions a,
  .table-shell #devices-datatable.table--detail-responsive .device-actions .btn {
    display: block;
    width: 100% !important;
    max-width: 100%;
    margin: 0;
  }

  .table--detail-metrics tbody tr td:nth-child(4),
  .table--detail-metrics tbody tr td:nth-child(5),
  .table--detail-metrics tbody tr td:nth-child(6),
  .table--detail-graphs tbody tr td:nth-child(2),
  .table--detail-graphs tbody tr td:nth-child(3),
  .table--detail-graphs tbody tr td:nth-child(4),
  .table--detail-pins tbody tr td:nth-child(1),
  .table--detail-pins tbody tr td:nth-child(2),
  .table--detail-pins tbody tr td:nth-child(3),
  .table--detail-pins tbody tr td:nth-child(4),
  .table--detail-requests tbody tr td:nth-child(2),
  .table--detail-requests tbody tr td:nth-child(3),
  .table--detail-requests tbody tr td:nth-child(4),
  .table--detail-requests tbody tr td:nth-child(7),
  .table--detail-samples tbody tr td:nth-child(2),
  .table--detail-samples tbody tr td:nth-child(3),
  .table--detail-samples tbody tr td:nth-child(4),
  .table--detail-topics tbody tr td:nth-child(2),
  .table--detail-topics tbody tr td:nth-child(3),
  .table--detail-topics tbody tr td:nth-child(4),
  .table--detail-messages tbody tr td:nth-child(3) {
    display: grid;
    grid-template-columns: max-content minmax(0, 1fr);
    align-items: baseline;
    gap: 0 8px;
  }

  .table--detail-metrics tbody tr td:nth-child(4)::before,
  .table--detail-metrics tbody tr td:nth-child(5)::before,
  .table--detail-metrics tbody tr td:nth-child(6)::before,
  .table--detail-graphs tbody tr td:nth-child(2)::before,
  .table--detail-graphs tbody tr td:nth-child(3)::before,
  .table--detail-graphs tbody tr td:nth-child(4)::before,
  .table--detail-pins tbody tr td:nth-child(1)::before,
  .table--detail-pins tbody tr td:nth-child(2)::before,
  .table--detail-pins tbody tr td:nth-child(3)::before,
  .table--detail-pins tbody tr td:nth-child(4)::before,
  .table--detail-requests tbody tr td:nth-child(2)::before,
  .table--detail-requests tbody tr td:nth-child(3)::before,
  .table--detail-requests tbody tr td:nth-child(4)::before,
  .table--detail-requests tbody tr td:nth-child(7)::before,
  .table--detail-samples tbody tr td:nth-child(2)::before,
  .table--detail-samples tbody tr td:nth-child(3)::before,
  .table--detail-samples tbody tr td:nth-child(4)::before,
  .table--detail-topics tbody tr td:nth-child(2)::before,
  .table--detail-topics tbody tr td:nth-child(3)::before,
  .table--detail-topics tbody tr td:nth-child(4)::before,
  .table--detail-messages tbody tr td:nth-child(3)::before {
    display: inline;
    margin-bottom: 0;
  }

  .table--detail-metrics .metric-card-meta-mobile {
    display: none;
  }

  .table--detail-metrics .metric-card-title-mobile {
    display: grid;
    grid-template-columns: minmax(0, 1fr) max-content max-content;
    align-items: baseline;
    gap: 6px 8px;
  }

  .table--detail-metrics .metric-card-title-mobile .device-card-code {
    padding: 2px 8px;
  }

  .table--detail-metrics .metric-card-title-mobile .device-card-pill {
    justify-self: end;
  }

  .table--detail-metrics .metric-card-name-desktop {
    display: none;
  }

  .table--detail-metrics tbody tr td:nth-child(1)::before,
  .table--detail-pins tbody tr td:nth-child(1)::before,
  .table--detail-pins tbody tr td:nth-child(6)::before,
  .table--detail-metrics tbody tr td:nth-child(7)::before {
    display: none;
  }

  .table--detail-pins tbody tr td:nth-child(1) {
    display: block;
    padding-right: 0;
  }

  .table--detail-metrics tbody tr,
  .table--detail-graphs tbody tr {
    grid-template-columns: 1fr;
  }

  .table--detail-metrics .metric-card-title-mobile,
  .table--detail-graphs .graph-card-title-mobile {
    grid-template-columns: 1fr;
  }

  .table--detail-metrics .metric-card-title-mobile .device-card-pill,
  .table--detail-graphs .graph-card-title-mobile .device-card-pill {
    justify-self: start;
  }

  .table--detail-metrics tbody tr td:nth-child(4),
  .table--detail-metrics tbody tr td:nth-child(5),
  .table--detail-metrics tbody tr td:nth-child(6),
  .table--detail-graphs tbody tr td:nth-child(2),
  .table--detail-graphs tbody tr td:nth-child(3),
  .table--detail-graphs tbody tr td:nth-child(4) {
    display: block;
  }

  .table--detail-metrics tbody tr td:nth-child(4)::before,
  .table--detail-metrics tbody tr td:nth-child(5)::before,
  .table--detail-metrics tbody tr td:nth-child(6)::before,
  .table--detail-graphs tbody tr td:nth-child(2)::before,
  .table--detail-graphs tbody tr td:nth-child(3)::before,
  .table--detail-graphs tbody tr td:nth-child(4)::before {
    display: block;
    margin-bottom: 2px;
  }

  .table-shell .table--detail-pins tbody tr td:first-child {
    padding-left: 0 !important;
  }

  .table-shell .table--detail-metrics tbody tr td:first-child {
    padding-left: 0 !important;
  }

  .table-shell .table--detail-requests tbody tr td:first-child {
    padding-left: 0 !important;
  }

  .table-shell .table--detail-samples tbody tr td:first-child {
    padding-left: 0 !important;
  }

  .table-shell .table--detail-topics tbody tr td:first-child {
    padding-left: 0 !important;
  }

  .table-shell .table--detail-messages tbody tr td:first-child {
    padding-left: 0 !important;
  }

  .table-shell .table--detail-graphs tbody tr td:first-child {
    padding-left: 0 !important;
  }

  .table-shell .table--detail-responsive td:last-child,
  .table-shell .table--detail-responsive th:last-child,
  .table-shell .table--detail-topics td:first-child,
  .table-shell .table--detail-topics th:first-child,
  .table-shell .table--detail-messages td:first-child,
  .table-shell .table--detail-messages th:first-child,
  .table-shell .table--detail-topics td:nth-child(2),
  .table-shell .table--detail-topics th:nth-child(2),
  .table-shell .table--detail-topics td:nth-child(3),
  .table-shell .table--detail-topics th:nth-child(3),
  .table-shell .table--detail-topics td:nth-child(4),
  .table-shell .table--detail-topics th:nth-child(4),
  .table-shell .table--detail-messages td:nth-child(2),
  .table-shell .table--detail-messages th:nth-child(2),
  .table-shell .table--detail-messages td:nth-child(3),
  .table-shell .table--detail-messages th:nth-child(3),
  .table-shell .table--detail-messages td:nth-child(4),
  .table-shell .table--detail-messages th:nth-child(4) {
    width: auto;
  }

  .table--detail-metrics tbody tr td:nth-child(2),
  .table--detail-metrics tbody tr td:nth-child(3),
  .table--detail-pins tbody tr td:nth-child(2),
  .table--detail-pins tbody tr td:nth-child(3),
  .table--detail-pins tbody tr td:nth-child(4) {
    display: none;
  }

  .table--detail-requests tbody tr td:nth-child(1)::before {
    display: none;
  }

  .table--detail-requests tbody tr td:nth-child(1) {
    display: block;
    padding-right: 0;
  }

  .table--detail-requests tbody tr td:nth-child(2),
  .table--detail-requests tbody tr td:nth-child(3),
  .table--detail-requests tbody tr td:nth-child(4),
  .table--detail-requests tbody tr td:nth-child(5),
  .table--detail-requests tbody tr td:nth-child(6),
  .table--detail-requests tbody tr td:nth-child(7) {
    display: none;
  }

  .table--detail-requests .request-card-received-desktop {
    display: none;
  }

  .table--detail-requests .request-card-title-mobile {
    display: grid;
    gap: 6px;
    width: 100%;
  }

  .table--detail-requests .request-card-title-mobile__top,
  .table--detail-requests .request-card-title-mobile__meta {
    display: flex;
    flex-wrap: wrap;
    align-items: flex-start;
    justify-content: space-between;
    gap: 6px;
  }

  .table--detail-requests .request-card-title-mobile__top .device-card-name {
    min-width: 0;
    flex: 1 1 auto;
  }

  .table--detail-requests .request-card-title-mobile__badges {
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-end;
    align-self: flex-start;
    margin-top: -2px;
    gap: 6px;
  }

  .table--detail-requests .request-card-title-mobile__meta {
    gap: 6px 10px;
    justify-content: flex-start;
    font-size: 11px;
    line-height: 1.35;
    color: #334155;
    text-transform: uppercase;
    letter-spacing: 0.04em;
  }

  .table--detail-requests .request-card-meta-item {
    display: inline-flex;
    align-items: baseline;
    gap: 4px;
  }

  .table--detail-requests .request-card-meta-item--wide {
    min-width: 0;
  }

  .table--detail-requests .request-card-meta-pair {
    display: inline-flex;
    align-items: baseline;
    gap: 12px;
    flex-wrap: wrap;
  }

  .table--detail-requests .request-card-meta-label {
    color: #64748b;
  }

  .table--detail-requests .request-card-meta-value {
    font-size: 13px;
    font-weight: 600;
    line-height: 1.2;
    letter-spacing: 0;
    text-transform: none;
    color: #0f172a;
  }

  .table--detail-requests .request-card-meta-item code {
    margin: 0;
    padding: 1px 8px;
    font-size: 13px;
    font-weight: 600;
    line-height: 1.2;
    letter-spacing: 0;
    text-transform: none;
    color: #0f172a;
    background: #f8fafc;
  }

  .table--detail-requests .request-card-title-mobile .device-card-pill,
  .table--detail-requests .request-card-title-mobile .device-card-state {
    margin: 0;
  }

  .table--detail-requests .request-card-title-mobile .device-card-state {
    border-color: rgba(52, 211, 153, 0.4);
    background: rgba(16, 185, 129, 0.12);
    color: #047857;
  }

  .table--detail-requests .request-card-title-mobile .device-card-state--inactive {
    border-color: rgba(148, 163, 184, 0.35);
    background: rgba(148, 163, 184, 0.12);
    color: #475569;
  }

  .table--detail-requests tbody tr td:nth-child(8)::before {
    display: none;
  }

  .table--detail-samples tbody tr td:nth-child(1)::before,
  .table--detail-samples tbody tr td:nth-child(5)::before,
  .table--detail-samples tbody tr td:nth-child(6)::before {
    display: none;
  }

  .table--detail-samples tbody tr td:nth-child(1) {
    display: block;
    padding-right: 0;
  }

  .table--detail-samples tbody tr td:nth-child(2),
  .table--detail-samples tbody tr td:nth-child(3),
  .table--detail-samples tbody tr td:nth-child(4) {
    display: none;
  }

  .table--detail-samples .sample-card-received-desktop {
    display: none;
  }

  .table--detail-samples .sample-card-title-mobile {
    display: grid;
    gap: 6px;
    width: 100%;
  }

  .table--detail-samples .sample-card-title-mobile__meta {
    display: flex;
    flex-wrap: wrap;
    align-items: baseline;
    gap: 6px 10px;
    justify-content: flex-start;
    font-size: 11px;
    line-height: 1.35;
    color: #334155;
    text-transform: uppercase;
    letter-spacing: 0.04em;
  }

  .table--detail-samples .sample-card-meta-item {
    display: inline-flex;
    align-items: baseline;
    gap: 4px;
  }

  .table--detail-samples .sample-card-meta-pair {
    display: inline-flex;
    align-items: baseline;
    gap: 12px;
    flex-wrap: wrap;
  }

  .table--detail-samples .sample-card-meta-label {
    color: #64748b;
  }

  .table--detail-samples .sample-card-meta-value {
    font-size: 13px;
    font-weight: 600;
    line-height: 1.2;
    letter-spacing: 0;
    text-transform: none;
    color: #0f172a;
  }

  .table--detail-samples tbody tr td:nth-child(5) {
    grid-column: 1 / -1;
    margin-top: 2px;
  }

  .table--detail-samples tbody tr td:nth-child(6)::before {
    display: none;
  }

  .table--detail-topics tbody tr td:nth-child(1)::before,
  .table--detail-topics tbody tr td:nth-child(5)::before {
    display: none;
  }

  .table--detail-topics tbody tr td:nth-child(1) {
    display: block;
    padding-right: 0;
  }

  .table--detail-topics tbody tr td:nth-child(2),
  .table--detail-topics tbody tr td:nth-child(3),
  .table--detail-topics tbody tr td:nth-child(4) {
    display: none;
  }

  .table--detail-topics .topic-card-topic-desktop {
    display: none;
  }

  .table--detail-topics .topic-card-title-mobile {
    display: grid;
    gap: 6px;
    width: 100%;
  }

  .table--detail-topics .topic-card-title-mobile .device-card-name {
    min-width: 0;
    text-align: left;
    word-break: break-word;
  }

  .table--detail-topics .topic-card-meta-mobile {
    display: flex;
    flex-wrap: wrap;
    align-items: baseline;
    gap: 6px 12px;
    margin-top: 6px;
    font-size: 11px;
    line-height: 1.35;
    color: #334155;
    text-transform: uppercase;
    letter-spacing: 0.04em;
  }

  .table--detail-topics .topic-card-meta-item {
    display: inline-flex;
    align-items: baseline;
    gap: 4px;
  }

  .table--detail-topics .topic-card-meta-label {
    color: #64748b;
  }

  .table--detail-topics .topic-card-meta-value {
    font-size: 13px;
    font-weight: 600;
    line-height: 1.2;
    letter-spacing: 0;
    text-transform: none;
    color: #0f172a;
  }

  .table--detail-topics tbody tr td:nth-child(5) {
    grid-column: 1 / -1;
    margin-top: 2px;
  }

  .wb-topic-payload-panel {
    padding: 10px;
  }

  .wb-topic-payload-item {
    padding: 10px;
  }

  .table--detail-messages tbody tr td:nth-child(1)::before,
  .table--detail-messages tbody tr td:nth-child(4)::before,
  .table--detail-messages tbody tr td:nth-child(5)::before {
    display: none;
  }

  .table--detail-messages tbody tr td:nth-child(1) {
    display: block;
    padding-right: 0;
  }

  .table--detail-messages tbody tr td:nth-child(2),
  .table--detail-messages tbody tr td:nth-child(3) {
    display: none;
  }

  .table--detail-messages .message-card-received-desktop {
    display: none;
  }

  .table--detail-messages .message-card-title-mobile {
    display: grid;
    gap: 6px;
    width: 100%;
  }

  .table--detail-messages .message-card-title-mobile .request-card-title-mobile__meta {
    display: flex;
    flex-wrap: wrap;
    align-items: baseline;
    gap: 6px 10px;
    justify-content: flex-start;
    font-size: 11px;
    line-height: 1.35;
    color: #334155;
    text-transform: uppercase;
    letter-spacing: 0.04em;
  }

  .table--detail-messages tbody tr td:nth-child(4) {
    grid-column: 1 / -1;
    margin-top: 2px;
  }

  .table--detail-graphs tbody tr td:nth-child(1)::before,
  .table--detail-graphs tbody tr td:nth-child(5)::before {
    display: none;
  }

  .table--detail-graphs tbody tr td:nth-child(1) {
    display: block;
    padding-right: 0;
  }

  .table--detail-graphs tbody tr td:nth-child(2),
  .table--detail-graphs tbody tr td:nth-child(3) {
    display: none;
  }

  .table--detail-graphs .graph-card-name-desktop {
    display: none;
  }

  .table--detail-graphs .graph-card-title-mobile {
    display: grid;
    grid-template-columns: minmax(0, 1fr) max-content max-content;
    align-items: baseline;
    gap: 6px 8px;
  }

  .table--detail-graphs .graph-card-title-mobile .device-card-code {
    padding: 2px 8px;
  }

  .table--detail-graphs .graph-card-title-mobile .device-card-pill {
    justify-self: end;
  }

  .table--detail-pins .pin-card-title-mobile {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    width: 100%;
  }

  .table--detail-pins .pin-card-title-mobile .device-card-name {
    margin-right: auto;
    flex: 1 1 auto;
    text-align: left;
  }

  .table--detail-pins .pin-card-id-desktop {
    display: none;
  }

  .table--detail-pins .pin-card-title-mobile__badges {
    display: flex;
    margin-left: auto;
    justify-content: flex-end;
    gap: 6px;
    flex-wrap: wrap;
    flex: 0 0 auto;
  }

  .table--detail-pins .pin-card-title-mobile .device-card-id,
  .table--detail-pins .pin-card-title-mobile .device-card-pill,
  .table--detail-pins .pin-card-title-mobile .device-card-state {
    margin: 0;
  }

  .table--detail-pins .pin-card-title-mobile .device-card-state {
    border-color: rgba(52, 211, 153, 0.4);
    background: rgba(16, 185, 129, 0.12);
    color: #047857;
  }

  .table--detail-pins .pin-card-title-mobile .device-card-state--inactive {
    border-color: rgba(148, 163, 184, 0.35);
    background: rgba(148, 163, 184, 0.12);
    color: #475569;
  }

  .table--detail-pins .pin-card-name-mobile {
    display: grid;
    gap: 4px;
  }

  .table--detail-pins tbody tr td:nth-child(7),
  .table--detail-pins tbody tr td:nth-child(8) {
    display: grid;
    grid-template-columns: max-content minmax(0, 1fr);
    align-items: baseline;
    gap: 0 8px;
    border-top: 0;
  }

  .table--detail-pins tbody tr td:nth-child(7)::before,
  .table--detail-pins tbody tr td:nth-child(8)::before {
    display: inline;
    margin-bottom: 0;
  }

  .table--detail-metrics .actions.actions--table {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .table--detail-metrics .actions.actions--table .btn:first-child {
    grid-column: 1 / -1;
  }

  .table--detail-graphs .actions.actions--table,
  .table--detail-pins .actions.actions--table {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .table--detail-requests .actions.actions--table,
  .table--detail-samples .actions.actions--table,
  .table--detail-messages .actions.actions--table {
    grid-template-columns: 1fr;
  }

  .table--detail-metrics tbody tr td:nth-child(1),
  .table--detail-metrics tbody tr td:nth-child(7),
  .table--detail-pins tbody tr td:nth-child(1),
  .table--detail-graphs tbody tr td:nth-child(1),
  .table--detail-graphs tbody tr td:nth-child(5),
  .table--detail-pins tbody tr td:nth-child(5),
  .table--detail-pins tbody tr td:nth-child(6),
  .table--detail-pins tbody tr td:nth-child(8),
  .table--detail-requests tbody tr td:nth-child(1),
  .table--detail-requests tbody tr td:nth-child(5),
  .table--detail-requests tbody tr td:nth-child(6),
  .table--detail-requests tbody tr td:nth-child(8),
  .table--detail-samples tbody tr td:nth-child(1),
  .table--detail-samples tbody tr td:nth-child(5),
  .table--detail-samples tbody tr td:nth-child(6),
  .table--detail-topics tbody tr td:nth-child(1),
  .table--detail-topics tbody tr td:nth-child(5),
  .table--detail-messages tbody tr td:nth-child(1),
  .table--detail-messages tbody tr td:nth-child(2),
  .table--detail-messages tbody tr td:nth-child(4),
  .table--detail-messages tbody tr td:nth-child(5) {
    grid-column: 1 / -1;
  }

  .table--detail-metrics tbody tr td:nth-child(1),
  .table--detail-graphs tbody tr td:nth-child(1),
  .table--detail-pins tbody tr td:nth-child(1) {
    padding-bottom: 2px;
  }

  .table--detail-metrics tbody tr td:nth-child(1)::before,
  .table--detail-graphs tbody tr td:nth-child(1)::before,
  .table--detail-pins tbody tr td:nth-child(5)::before,
  .table--detail-pins tbody tr td:nth-child(6)::before,
  .table--detail-pins tbody tr td:nth-child(8)::before,
  .table--detail-requests tbody tr td:nth-child(1)::before,
  .table--detail-requests tbody tr td:nth-child(5)::before,
  .table--detail-requests tbody tr td:nth-child(6)::before,
  .table--detail-requests tbody tr td:nth-child(8)::before,
  .table--detail-samples tbody tr td:nth-child(1)::before,
  .table--detail-samples tbody tr td:nth-child(5)::before,
  .table--detail-samples tbody tr td:nth-child(6)::before,
  .table--detail-topics tbody tr td:nth-child(1)::before,
  .table--detail-topics tbody tr td:nth-child(5)::before,
  .table--detail-messages tbody tr td:nth-child(1)::before,
  .table--detail-messages tbody tr td:nth-child(2)::before,
  .table--detail-messages tbody tr td:nth-child(4)::before,
  .table--detail-messages tbody tr td:nth-child(5)::before {
    margin-bottom: 3px;
  }
}

@media (max-width: 340px) {
  .table--detail-metrics .metric-card-title-mobile {
    grid-template-columns: 1fr;
  }

  .table--detail-metrics .metric-card-title-mobile .device-card-pill {
    justify-self: start;
  }

  .table--detail-compact tbody tr {
    grid-template-columns: 1fr;
  }

  .table--detail-compact .actions.actions--table {
    grid-template-columns: 1fr;
  }
}

.metric-card-meta-mobile {
  display: none;
}

.device-credential-panel {
  display: grid;
  gap: 16px;
}

.device-credential-panel__primary {
  display: grid;
  gap: 8px;
  padding: 18px 20px;
  border: 1px solid rgba(245, 158, 11, 0.22);
  border-radius: 18px;
  background:
    linear-gradient(135deg, rgba(255, 251, 235, 0.96), rgba(255, 237, 213, 0.9));
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.55);
}

.device-credential-panel__grid {
  display: grid;
  gap: 14px;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
}

.device-credential-panel__card,
.device-credential-panel__note {
  display: grid;
  gap: 8px;
  padding: 16px 18px;
  border: 1px solid rgba(203, 213, 225, 0.75);
  border-radius: 16px;
  background: #ffffff;
}

.device-credential-panel__label {
  font-size: 12px;
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #9a3412;
}

.device-credential-panel__secret,
.device-credential-panel__code {
  display: inline-block;
  width: 100%;
  overflow-wrap: anywhere;
  word-break: break-word;
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace;
  color: #0f172a;
  background: #f8fafc;
  border-radius: 12px;
}

.device-credential-panel__secret {
  padding: 14px 16px;
  font-size: 18px;
  font-weight: 700;
  line-height: 1.4;
}

.device-credential-panel__code {
  padding: 10px 12px;
  font-size: 15px;
  font-weight: 600;
  line-height: 1.45;
}

.device-credential-panel__note strong {
  font-size: 14px;
  color: #0f172a;
}

.device-credential-panel__note span {
  font-size: 14px;
  line-height: 1.5;
  color: #475569;
}

.wb-admin-hub-card {
  display: grid;
  align-content: start;
  gap: 0;
  min-height: 100%;
  padding: 18px 20px;
  border: 1px solid rgba(203, 213, 225, 0.75);
  border-radius: 16px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(248, 251, 255, 0.94));
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.72);
  overflow: hidden;
}

.wb-admin-hub-card .h6 {
  font-size: 1rem;
  line-height: 1.35;
}

.wb-admin-hub-card .d-flex {
  min-width: 0;
}

.wb-admin-hub-card .d-flex > :first-child {
  min-width: 0;
}

.wb-admin-hub-card .text-secondary,
.wb-admin-hub-card .small,
.wb-admin-hub-card .h6 {
  overflow-wrap: anywhere;
}

.wb-admin-hub-card .wb-stat-chip {
  flex-shrink: 0;
  max-width: 100%;
}

@media (max-width: 991.98px) {
  .wb-admin-hub-card {
    padding: 16px 18px;
  }
}

@media (max-width: 640px) {
  .wb-auth main.container {
    padding-top: 0.75rem !important;
    padding-bottom: 0.9rem !important;
  }

  .wb-auth-card {
    border-radius: 20px;
  }

  .wb-auth-card__aside-inner {
    gap: 10px;
    padding: 18px 18px 14px;
  }

  .wb-auth-card .card-body {
    padding: 1rem 1rem 1.15rem !important;
  }

  .wb-auth-card__logo {
    width: 150px;
  }

  .wb-auth-card__eyebrow {
    margin-bottom: 0.35rem;
    font-size: 0.68rem;
  }

  .wb-auth-card__title {
    font-size: clamp(1.2rem, 5vw, 1.7rem);
    line-height: 1.1;
  }

  .wb-auth-card__subtitle {
    font-size: 0.9rem;
    line-height: 1.35;
  }

  .wb-auth-card__nav .btn {
    min-height: 34px;
    padding: 0.35rem 0.75rem;
    border-radius: 12px;
    font-size: 0.95rem;
  }

  .auth-card .h3 {
    margin-bottom: 0.9rem !important;
    font-size: 1.55rem;
  }

  .auth-card .row.g-3 {
    --bs-gutter-y: 0.7rem;
  }

  .auth-card .form-label {
    margin-bottom: 0.35rem;
    font-size: 0.95rem;
  }

  .auth-form-control {
    min-height: 46px;
    border-radius: 16px;
    padding: 0.65rem 0.9rem;
    font-size: 1rem;
  }

  .auth-btn {
    min-height: 44px;
    border-radius: 15px;
    font-size: 1rem;
  }

  .auth-footnote {
    margin-top: 1rem !important;
    font-size: 0.95rem;
    line-height: 1.45;
  }

  .device-credential-panel {
    gap: 12px;
  }

  .device-credential-panel__primary,
  .device-credential-panel__card,
  .device-credential-panel__note {
    padding: 14px 16px;
    border-radius: 14px;
  }

  .device-credential-panel__secret {
    padding: 12px 14px;
    font-size: 16px;
  }

  .device-credential-panel__code {
    font-size: 14px;
  }

  .wb-admin-hub-card {
    padding: 16px;
    border-radius: 14px;
  }
}

.plant-summary-cta-row {
  display: flex !important;
  width: auto;
}

.plant-summary-cta-row > .btn {
  width: auto;
}

@media (max-width: 640px) {
  .plant-summary-cta-row {
    display: grid !important;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    width: 100%;
  }

  .plant-summary-cta-row > .btn {
    width: 100%;
    min-width: 0;
    justify-content: center;
  }
}

@media (max-width: 991.98px) {
  .wb-auth main.container {
    min-height: auto !important;
    align-items: flex-start !important;
    padding-top: 1.25rem !important;
    padding-bottom: 1.25rem !important;
  }

  .wb-auth-card {
    min-height: 0;
    border-radius: 24px;
  }

  .wb-auth-card__aside-inner,
  .wb-auth-card .card-body {
    min-height: 0;
  }

  .wb-auth-card__aside-inner {
    justify-content: flex-start;
    gap: 14px;
    padding: 24px 22px 18px;
  }

  .wb-auth-card .card-body {
    padding: 1.25rem 1.25rem 1.4rem !important;
  }

  .wb-auth-card__logo {
    width: 190px;
  }

  .wb-auth-card__title {
    font-size: clamp(2rem, 8vw, 2.4rem);
  }

  .wb-auth-card__subtitle {
    font-size: 1rem;
    line-height: 1.5;
  }

  .wb-auth-card__nav .btn {
    min-height: 38px;
    border-radius: 14px;
  }
}
