:root {
  --hub-primary: #4827ec;
  --hub-primary-rgb: 72, 39, 236;
  --hub-primary-strong: #371cbf;
  --hub-primary-soft: rgba(72, 39, 236, 0.08);
  --hub-danger: #dc2626;
  --hub-danger-soft: rgba(220, 38, 38, 0.08);
  --hub-success: #16a34a;
  --hub-success-soft: rgba(22, 163, 74, 0.09);
  --hub-warning: #f59e0b;
  --hub-warning-soft: rgba(245, 158, 11, 0.12);
  --hub-bg: #f4f6f8;
  --hub-surface: #fff;
  --hub-ink: #1e293b;
  --hub-muted: #64748b;
  --hub-border: rgba(15, 23, 42, 0.1);
  --hub-border-soft: rgba(15, 23, 42, 0.06);
  --hub-shadow: 0 18px 48px rgba(15, 23, 42, 0.08);
  --hub-shadow-soft: 0 10px 24px rgba(15, 23, 42, 0.04);
  --hub-radius: 8px;
  --hub-radius-lg: 16px;
  --hub-header: 68px;
  --hub-sidebar: 280px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}
html,
body {
  min-height: 100%;
  width: 100%;
  scrollbar-width: none;
  -ms-overflow-style: none;
}
html::-webkit-scrollbar,
body::-webkit-scrollbar,
.hub-sidebar::-webkit-scrollbar,
.hub-main::-webkit-scrollbar,
.oxe-terms-scroll::-webkit-scrollbar {
  width: 0;
  height: 0;
}
html.hub-dialog-open,
body.hub-dialog-open {
  overflow: hidden;
}
body.hub-body {
  margin: 0;
  color: var(--hub-ink);
  background: var(--hub-bg);
  font-family:
    "Inter",
    -apple-system,
    BlinkMacSystemFont,
    "San Francisco",
    "Segoe UI",
    Roboto,
    Helvetica,
    Arial,
    sans-serif;
  font-size: 14px;
  line-height: 1.5;
  overflow-x: hidden;
  touch-action: pan-x pan-y;
}
a {
  color: inherit;
  text-decoration: none;
}
a:hover {
  text-decoration: none;
}
img,
svg {
  vertical-align: middle;
}
button,
input,
select,
textarea {
  font: inherit;
}
button {
  cursor: pointer;
}
svg {
  width: 20px;
  height: 20px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.9;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.text-secondary {
  color: var(--hub-muted) !important;
}
.text-end {
  text-align: right;
}
.w-100 {
  width: 100%;
}
.mb-4 {
  margin-bottom: 16px;
}
.is-disabled {
  opacity: 0.45;
  pointer-events: none;
}

/* Login e primeiro acesso */
.hub-body-login::before,
.hub-body-login::after {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
}
.hub-body-login::before {
  z-index: -2;
  background:
    linear-gradient(135deg, rgba(15, 23, 42, 0.96), rgba(72, 39, 236, 0.88)),
    linear-gradient(45deg, rgba(255, 255, 255, 0.04), transparent);
}
.hub-body-login::after {
  z-index: -1;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.04) 1px, transparent 1px);
  background-size: 32px 32px;
}
.hub-body-magic {
  background: var(--hub-surface);
}
.hub-login-wrap {
  min-height: 100dvh;
  display: grid;
  place-items: center;
  padding: 24px;
}
.hub-login-stage {
  width: min(100%, 430px);
}
.hub-login-card {
  box-shadow: var(--hub-shadow);
  border: 0;
}
.hub-login-brand,
.oxe-acceptance-brand {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 22px;
}
.hub-brand-symbol {
  width: 32px;
  height: 32px;
  flex: 0 0 auto;
  display: block;
}
.hub-login-brand h1,
.oxe-acceptance-brand h1 {
  margin: 0;
  display: inline-flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
  color: var(--hub-ink);
  font-size: 24px;
  font-weight: 600;
  line-height: 32px;
}
.hub-login-helper {
  margin: 0 0 22px;
  color: var(--hub-muted);
  font-size: 14px;
  line-height: 22px;
}
.hub-support-link {
  display: block;
  margin-top: 18px;
  color: var(--hub-muted);
  font-size: 13px;
  text-align: center;
}
.hub-support-link:hover {
  color: var(--hub-primary);
}

/* Shell */
.hub-topbar {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 50;
  height: var(--hub-header);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 0 24px;
  background: var(--hub-surface);
  border-bottom: 1px solid var(--hub-border-soft);
}
.hub-topbar-left,
.hub-topbar-actions,
.hub-brand {
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
}
.hub-brand-name {
  color: var(--hub-ink);
  font-size: 20px;
  font-weight: 600;
  line-height: 28px;
  white-space: nowrap;
}
.hub-version-badge,
.badge {
  min-height: 24px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 4px 8px;
  border-radius: var(--hub-radius);
  color: var(--hub-primary);
  background: var(--hub-primary-soft);
  font-size: 12px !important;
  font-weight: 600;
  line-height: 16px;
  white-space: nowrap;
}
.hub-topbar-user {
  min-height: 40px;
  display: inline-flex;
  align-items: center;
  padding: 0 14px;
  border: 1px solid var(--hub-border-soft);
  border-radius: var(--hub-radius);
  background: #fff;
  font-weight: 600;
}
.hub-menu-toggle {
  width: 40px;
  height: 40px;
  display: none;
  place-items: center;
  gap: 0;
  padding: 0;
  border: 1px solid var(--hub-border);
  border-radius: var(--hub-radius);
  background: var(--hub-surface);
  color: var(--hub-ink);
}
.hub-menu-toggle span {
  width: 18px;
  height: 2px;
  display: block;
  margin: 2px 0;
  border-radius: 99px;
  background: currentColor;
  transition:
    transform 0.16s ease,
    opacity 0.16s ease;
}
.hub-logout-btn {
  min-height: 40px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 0 12px;
  border: 1px solid rgba(220, 38, 38, 0.18);
  border-radius: var(--hub-radius);
  background: transparent;
  color: var(--hub-danger);
  font-weight: 600;
  transition:
    background-color 0.14s ease,
    color 0.14s ease,
    border-color 0.14s ease,
    transform 0.14s ease;
}
.hub-logout-btn:hover,
.hub-logout-btn.is-clicking {
  background: var(--hub-danger-soft);
  border-color: rgba(220, 38, 38, 0.32);
  color: #b91c1c;
  transform: translateY(-1px);
}
.hub-shell {
  min-height: 100dvh;
  padding-top: var(--hub-header);
}
.hub-sidebar {
  position: fixed;
  top: var(--hub-header);
  left: 0;
  bottom: 0;
  z-index: 40;
  width: var(--hub-sidebar);
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 24px;
  overflow-y: auto;
  background: var(--hub-surface);
  border-right: 1px solid var(--hub-border-soft);
}
.hub-menu {
  display: flex;
  flex: 1 1 auto;
  flex-direction: column;
  gap: 8px;
  min-height: 0;
}
.hub-menu-item {
  min-height: 44px;
  display: flex;
  align-items: center;
  gap: 12px;
  width: 100%;
  padding: 8px 16px;
  border-radius: var(--hub-radius);
  color: var(--hub-ink);
  font-weight: 500;
  overflow: hidden;
  transition:
    background-color 0.14s ease,
    color 0.14s ease,
    transform 0.14s ease;
}
.hub-menu-item:hover,
.hub-menu-item.is-clicking,
.hub-menu-item.is-active {
  background: var(--hub-primary-soft);
  color: var(--hub-primary-strong);
  transform: translateX(1px);
}
.hub-menu-icon {
  flex: 0 0 28px;
  width: 28px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
.hub-menu-icon svg {
  transition: transform 0.16s ease;
}
.hub-menu-item:hover .hub-menu-icon svg,
.hub-menu-item.is-clicking .hub-menu-icon svg {
  transform: translateX(1px);
}
.hub-menu-logout {
  margin-top: auto;
  border-top: 1px solid var(--hub-border-soft);
  padding-top: 16px;
  color: var(--hub-danger);
}
.hub-menu-logout:hover,
.hub-menu-logout.is-clicking {
  background: var(--hub-danger-soft);
  color: #b91c1c;
}
.hub-sidebar-backdrop {
  display: none;
}
.hub-main {
  min-width: 0;
  margin-left: var(--hub-sidebar);
  padding: 24px 0 40px;
}
.container-xl {
  width: 100%;
  max-width: 1320px;
  margin: 0 auto;
  padding: 0 24px;
}
.page-header {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 24px;
}
.page-title {
  margin: 0;
  color: var(--hub-ink);
  font-size: 28px;
  line-height: 40px;
  font-weight: 700;
}
.page-subtitle {
  margin: 4px 0 0;
  color: var(--hub-muted);
  font-size: 14px;
}

/* Componentes */
.card {
  background: var(--hub-surface);
  border: 1px solid var(--hub-border-soft);
  border-radius: var(--hub-radius-lg);
  box-shadow: var(--hub-shadow-soft);
  overflow: hidden;
}
.card-body {
  padding: 24px;
}
.card-header {
  min-height: 64px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 18px 24px;
  border-bottom: 1px solid var(--hub-border-soft);
}
.card-title {
  margin: 0;
  font-size: 16px;
  line-height: 22px;
  font-weight: 600;
}
.hub-welcome-card {
  max-width: 760px;
}
.hub-welcome-card h2 {
  margin: 14px 0 8px;
  font-size: 24px;
  line-height: 32px;
  font-weight: 600;
}
.hub-welcome-card p {
  margin: 0;
  max-width: 620px;
}
.row-cards {
  margin-bottom: 24px;
}
.hub-kpi-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}
.hub-kpi-card .card-body {
  display: grid;
  gap: 4px;
  min-height: 112px;
}
.hub-kpi-label {
  color: var(--hub-muted);
  font-size: 13px;
  font-weight: 600;
}
.hub-kpi-card strong {
  color: var(--hub-ink);
  font-size: 30px;
  line-height: 36px;
  font-weight: 600;
}
.hub-kpi-card small {
  color: var(--hub-muted);
  font-size: 13px;
}
.hub-filter-card,
.hub-table-card,
.hub-two-columns {
  margin-bottom: 24px;
}
.hub-filter-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 16px;
  align-items: end;
}
.hub-filter-actions {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 8px;
  flex-wrap: wrap;
}
.hub-two-columns {
  display: grid;
  grid-template-columns: minmax(0, 1.5fr) minmax(320px, 0.85fr);
  gap: 16px;
  align-items: start;
}
.hub-count {
  min-height: 24px;
  padding: 4px 8px;
  border-radius: var(--hub-radius);
  color: var(--hub-primary);
  background: var(--hub-primary-soft);
  font-size: 12px;
  font-weight: 600;
  white-space: nowrap;
}
.hub-table-primary {
  display: block;
  color: var(--hub-ink);
  font-weight: 600;
}
.hub-table-secondary {
  display: block;
  margin-top: 2px;
  color: var(--hub-muted);
  font-size: 13px;
}
.hub-inline-code {
  display: inline-flex;
  max-width: 100%;
  padding: 2px 6px;
  border-radius: 6px;
  background: rgba(72, 39, 236, 0.08);
  color: var(--hub-primary);
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 12px;
  overflow: hidden;
  text-overflow: ellipsis;
  vertical-align: middle;
}
.bg-primary-lt {
  color: var(--hub-primary);
  background: var(--hub-primary-soft);
}
.bg-secondary-lt {
  color: var(--hub-muted);
  background: rgba(15, 23, 42, 0.05);
}
.bg-success-lt {
  color: var(--hub-success);
  background: var(--hub-success-soft);
}
.bg-warning-lt {
  color: #b45309;
  background: var(--hub-warning-soft);
}
.bg-danger-lt {
  color: var(--hub-danger);
  background: var(--hub-danger-soft);
}

/* Forms e botões */
.form-label {
  display: block;
  margin-bottom: 7px;
  color: var(--hub-muted);
  font-size: 13px;
  font-weight: 500;
}
.form-control {
  width: 100%;
  min-height: 40px;
  padding: 8px 12px;
  border: 1px solid var(--hub-border);
  border-radius: var(--hub-radius);
  background: #fff;
  color: var(--hub-ink);
  outline: 0;
  transition:
    border-color 0.15s ease,
    box-shadow 0.15s ease;
}
.form-control:focus {
  border-color: rgba(72, 39, 236, 0.55);
  box-shadow: 0 0 0 3px rgba(72, 39, 236, 0.1);
}
.form-control-lg {
  min-height: 48px;
  padding-inline: 16px;
  font-size: 15px;
}
.hub-textarea {
  min-height: 180px;
  resize: vertical;
}
.hub-field + .hub-field {
  margin-top: 14px;
}
.btn {
  min-height: 40px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 8px 16px;
  border: 1px solid transparent;
  border-radius: var(--hub-radius);
  background: #fff;
  color: var(--hub-ink);
  font-weight: 600;
  line-height: 22px;
  text-align: center;
  transition:
    background-color 0.14s ease,
    border-color 0.14s ease,
    color 0.14s ease,
    transform 0.14s ease,
    box-shadow 0.14s ease;
}
.btn:hover,
.btn.is-clicking {
  transform: translateY(-1px);
}
.btn svg {
  width: 18px;
  height: 18px;
}
.btn-sm {
  min-height: 34px;
  padding: 5px 12px;
  font-size: 13px;
}
.btn-lg {
  min-height: 48px;
  padding: 11px 18px;
  font-size: 15px;
}
.btn-primary {
  border-color: var(--hub-primary);
  background: linear-gradient(
    135deg,
    var(--hub-primary),
    var(--hub-primary-strong)
  );
  color: #fff;
}
.btn-primary:hover,
.btn-primary.is-clicking {
  box-shadow: 0 12px 24px rgba(72, 39, 236, 0.18);
}
.btn-outline-secondary {
  border-color: var(--hub-border);
  background: #fff;
  color: var(--hub-ink);
}
.btn-outline-secondary:hover,
.btn-outline-secondary.is-clicking {
  border-color: rgba(15, 23, 42, 0.2);
  background: rgba(15, 23, 42, 0.02);
}
.hub-inline-form {
  display: inline-flex;
  margin: 0;
}

/* Tabela e paginação */
.table-responsive {
  width: 100%;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}
.table {
  width: 100%;
  border-collapse: collapse;
}
.table th,
.table td {
  padding: 14px 12px;
  border-bottom: 1px solid var(--hub-border-soft);
  text-align: left;
  vertical-align: middle;
}
.table th {
  color: var(--hub-muted);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}
.table td {
  color: var(--hub-ink);
}
.card-table th:first-child,
.card-table td:first-child {
  padding-left: 24px;
}
.card-table th:last-child,
.card-table td:last-child {
  padding-right: 24px;
}
.hub-pagination {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 10px;
  border-top: 1px solid var(--hub-border-soft);
}

/* Modais */
.hub-modal {
  position: fixed;
  inset: 0;
  z-index: 90;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 24px;
}
.hub-modal.is-open {
  display: flex;
}
.hub-modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(15, 23, 42, 0.46);
  backdrop-filter: blur(5px);
}
.hub-modal-dialog {
  position: relative;
  z-index: 1;
  width: min(100%, 520px);
  max-height: min(760px, calc(100dvh - 48px));
  display: flex;
  flex-direction: column;
  border-radius: 18px;
  background: #fff;
  box-shadow: 0 24px 64px rgba(15, 23, 42, 0.2);
  overflow: hidden;
  animation: hubModalIn 0.18s ease-out;
}
.hub-modal-dialog.is-large {
  width: min(100%, 760px);
}
.hub-modal-header {
  padding: 22px 24px 16px;
  border-bottom: 1px solid var(--hub-border-soft);
}
.hub-modal-header h3 {
  margin: 0;
  font-size: 18px;
  line-height: 24px;
  font-weight: 600;
}
.hub-modal-header p {
  margin: 6px 0 0;
  color: var(--hub-muted);
}
.hub-modal .hub-form {
  padding: 20px 24px 0;
  overflow-y: auto;
}
.hub-modal-footer {
  position: sticky;
  bottom: 0;
  display: flex;
  justify-content: flex-end;
  gap: 8px;
  margin: 20px -24px 0;
  padding: 16px 24px;
  border-top: 1px solid var(--hub-border-soft);
  background: #fff;
}
.hub-modal-close {
  position: absolute;
  top: 14px;
  right: 14px;
  z-index: 3;
  width: 36px;
  height: 36px;
  display: grid;
  place-items: center;
  border: 1px solid var(--hub-border-soft);
  border-radius: var(--hub-radius);
  background: #fff;
  color: var(--hub-muted);
}
.hub-modal-close:hover {
  color: var(--hub-ink);
  background: rgba(15, 23, 42, 0.03);
}
.hub-modal-handle {
  display: none;
}
@keyframes hubModalIn {
  from {
    opacity: 0;
    transform: translateY(12px) scale(0.985);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

/* Toasts */
.hub-toast-stack {
  position: fixed;
  top: 14px;
  left: 50%;
  z-index: 120;
  width: min(100% - 28px, 520px);
  display: grid;
  gap: 8px;
  transform: translateX(-50%);
  pointer-events: none;
}
.hub-toast {
  min-height: 44px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 10px 12px 10px 14px;
  border: 1px solid var(--hub-border-soft);
  border-radius: var(--hub-radius);
  background: #fff;
  box-shadow: var(--hub-shadow);
  color: var(--hub-ink);
  font-weight: 600;
  pointer-events: auto;
  animation: hubToastIn 0.18s ease-out;
}
.hub-toast.is-success {
  color: #15803d;
  background: #ecfdf3;
  border-color: rgba(22, 163, 74, 0.18);
}
.hub-toast.is-danger {
  color: #b91c1c;
  background: #fef2f2;
  border-color: rgba(220, 38, 38, 0.18);
}
.hub-toast.is-warning {
  color: #a16207;
  background: #fffbeb;
  border-color: rgba(245, 158, 11, 0.22);
}
.hub-toast.is-info {
  color: #1d4ed8;
  background: #eff6ff;
  border-color: rgba(37, 99, 235, 0.18);
}
.hub-toast-close {
  width: 28px;
  height: 28px;
  display: grid;
  place-items: center;
  border: 0;
  border-radius: 6px;
  background: rgba(15, 23, 42, 0.06);
  color: currentColor;
  font-size: 18px;
  line-height: 1;
}
.hub-toast.is-hiding {
  opacity: 0;
  transform: translateY(-6px);
  transition:
    opacity 0.18s ease,
    transform 0.18s ease;
}
@keyframes hubToastIn {
  from {
    opacity: 0;
    transform: translateY(-8px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Aceite */
.oxe-acceptance-page {
  min-height: 100dvh;
  display: grid;
  place-items: center;
  padding: 24px;
}
.oxe-acceptance-card {
  width: min(100%, 760px);
  border-radius: var(--hub-radius-lg);
  background: #fff;
  box-shadow: var(--hub-shadow);
  padding: 24px;
}
.oxe-version-line {
  margin: 2px 0 0;
  color: var(--hub-muted);
}
.oxe-terms-panel {
  border: 1px solid var(--hub-border);
  border-radius: var(--hub-radius);
  overflow: hidden;
  background: #fff;
}
.oxe-terms-scroll {
  max-height: 44dvh;
  padding: 18px;
  overflow-y: auto;
  color: var(--hub-ink);
}
.oxe-terms-scroll h2,
.oxe-terms-scroll h3 {
  margin: 18px 0 8px;
  font-size: 16px;
  line-height: 22px;
}
.oxe-terms-scroll h2:first-child {
  margin-top: 0;
}
.oxe-terms-scroll p {
  margin: 0 0 12px;
  color: var(--hub-muted);
}
.oxe-acceptance-form {
  margin-top: 16px;
}
.oxe-acceptance-check {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin-bottom: 16px;
  color: var(--hub-ink);
  font-weight: 500;
}
.oxe-acceptance-check input {
  width: 18px;
  height: 18px;
  margin-top: 2px;
  accent-color: var(--hub-primary);
}

@media (max-width: 1100px) {
  .hub-two-columns {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 900px) {
  :root {
    --hub-sidebar: 280px;
    --hub-header: 64px;
  }
  .hub-menu-toggle {
    display: grid;
  }
  .hub-brand-name {
    font-size: 18px;
  }
  .hub-version-badge {
    max-width: 110px;
  }
  .hub-topbar {
    padding: 0 14px;
  }
  .hub-topbar-user {
    display: none;
  }
  .hub-logout-btn span {
    display: none;
  }
  .hub-sidebar {
    transform: translateX(-101%);
    transition: transform 0.2s ease;
    box-shadow: var(--hub-shadow);
  }
  body.hub-sidebar-open .hub-sidebar {
    transform: translateX(0);
  }
  body.hub-sidebar-open .hub-sidebar-backdrop {
    display: block;
    position: fixed;
    inset: var(--hub-header) 0 0 0;
    z-index: 35;
    background: rgba(15, 23, 42, 0.32);
  }
  body.hub-sidebar-open .hub-menu-toggle span:nth-child(1) {
    transform: translateY(6px) rotate(45deg);
  }
  body.hub-sidebar-open .hub-menu-toggle span:nth-child(2) {
    opacity: 0;
  }
  body.hub-sidebar-open .hub-menu-toggle span:nth-child(3) {
    transform: translateY(-6px) rotate(-45deg);
  }
  .hub-main {
    margin-left: 0;
    padding: 20px 0 32px;
  }
  .container-xl {
    padding: 0 16px;
  }
  .page-header {
    margin-bottom: 18px;
  }
  .page-title {
    font-size: 24px;
    line-height: 32px;
  }
  .hub-kpi-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
  }
  .card-body {
    padding: 18px;
  }
  .card-header {
    padding: 16px 18px;
  }
  .hub-filter-grid {
    grid-template-columns: 1fr;
  }
  .hub-filter-actions {
    justify-content: stretch;
  }
  .hub-filter-actions .btn,
  .hub-filter-actions a {
    flex: 1 1 auto;
  }
  .card-table th:first-child,
  .card-table td:first-child {
    padding-left: 18px;
  }
  .card-table th:last-child,
  .card-table td:last-child {
    padding-right: 18px;
  }
  .hub-pagination {
    justify-content: center;
    flex-wrap: wrap;
  }
  .hub-modal {
    align-items: flex-end;
    padding: 0;
  }
  .hub-modal-dialog,
  .hub-modal-dialog.is-large {
    width: 100%;
    max-height: 88dvh;
    border-radius: 18px 18px 0 0;
    animation: hubSheetIn 0.22s cubic-bezier(0.2, 0.8, 0.2, 1);
  }
  .hub-modal-handle {
    display: block;
    width: 46px;
    height: 5px;
    margin: 10px auto 0;
    border-radius: 999px;
    background: rgba(15, 23, 42, 0.18);
  }
  .hub-modal-header {
    padding-top: 16px;
  }
  .hub-modal .hub-form {
    padding-inline: 18px;
  }
  .hub-modal-footer {
    margin-inline: -18px;
    padding-inline: 18px;
  }
  @keyframes hubSheetIn {
    from {
      transform: translateY(100%);
    }
    to {
      transform: translateY(0);
    }
  }
}

@media (max-width: 640px) {
  .hub-login-wrap,
  .oxe-acceptance-page {
    padding: 16px;
  }
  .hub-login-brand h1,
  .oxe-acceptance-brand h1 {
    font-size: 20px;
    line-height: 28px;
  }
  .hub-brand-symbol {
    width: 30px;
    height: 30px;
  }
  .hub-kpi-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .hub-kpi-card .card-body {
    min-height: 96px;
  }
  .hub-kpi-card strong {
    font-size: 25px;
    line-height: 30px;
  }
  .hub-welcome-card h2 {
    font-size: 20px;
    line-height: 28px;
  }
  .hub-topbar-actions {
    gap: 8px;
  }
  .hub-brand {
    gap: 8px;
  }
  .hub-version-badge {
    font-size: 11px !important;
    padding-inline: 6px;
  }
  .table th,
  .table td {
    padding-block: 12px;
  }
}