:root {
  --tb-orange: #f5793b;
  --tb-blue: #137dc5;
  --tb-blue-dark: #0b4f82;
  --tb-blue-deep: #08395d;
  --tb-ink: #102536;
  --tb-muted: #586b7b;
  --tb-line: #d9e4ee;
  --tb-paper: #f5f8fb;
  --tb-surface: #ffffff;
  --tb-soft-blue: #e8f4fc;
  --tb-danger: #b84b45;
  --tb-success: #247a53;
  --tb-warning: #9a6719;
  --tb-radius: 10px;
  --tb-radius-sm: 7px;
  --tb-shadow: 0 14px 34px rgba(8, 65, 106, .12);
  --tb-font: "Segoe UI", system-ui, -apple-system, BlinkMacSystemFont, "Helvetica Neue", Arial, sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  max-width: 100%;
  overflow-x: hidden;
}

body.body-vc,
body.text-center {
  min-height: 100vh;
  max-width: 100%;
  overflow-x: hidden;
  color: var(--tb-ink);
  background: var(--tb-paper) !important;
  background-size: auto !important;
  font-family: var(--tb-font);
  font-size: 15px;
  line-height: 1.55;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}

a,
button,
input,
select,
textarea {
  font: inherit;
  touch-action: manipulation;
}

a {
  color: var(--tb-blue);
}

a:hover {
  color: var(--tb-blue-dark);
}

a:focus-visible,
button:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible,
.form-control:focus {
  outline: 3px solid rgba(245, 121, 59, .35);
  outline-offset: 2px;
  box-shadow: 0 0 0 3px rgba(19, 125, 197, .14);
}

.tb-skip-link {
  position: fixed;
  left: 12px;
  top: 12px;
  z-index: 1100;
  transform: translateY(-140%);
  border-radius: var(--tb-radius-sm);
  background: var(--tb-ink);
  color: #fff;
  padding: 8px 12px;
  font-weight: 900;
}

.tb-skip-link:focus {
  transform: translateY(0);
}

.tb-app-shell {
  display: grid;
  grid-template-columns: 74px 304px minmax(0, 1fr);
  min-height: 100vh;
  transition: grid-template-columns .18s ease;
}

body.tb-sidebar-collapsed .tb-app-shell {
  grid-template-columns: 74px 0 minmax(0, 1fr);
}

.tb-rail {
  position: sticky;
  top: 0;
  z-index: 30;
  height: 100vh;
  border-right: 1px solid var(--tb-line);
  background: rgba(255, 255, 255, .88);
  backdrop-filter: blur(12px);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 18px;
  padding: 16px 10px;
}

.tb-brand-mark {
  width: 44px;
  height: 44px;
  border: 2px solid var(--tb-blue);
  border-radius: var(--tb-radius-sm);
  display: grid;
  place-items: center;
  background: var(--tb-surface);
  color: var(--tb-blue);
  font-size: 15px;
  font-weight: 900;
  letter-spacing: 0;
  line-height: 1;
  text-decoration: none;
  box-shadow: inset 0 -4px 0 var(--tb-orange);
}

.tb-brand-mark img {
  max-width: 36px;
  max-height: 36px;
  object-fit: contain;
}

.tb-brand-mark span {
  display: block;
}

.tb-rail-button,
.tb-exit-link {
  position: relative;
  width: 42px;
  height: 42px;
  border: 0;
  border-radius: var(--tb-radius-sm);
  color: var(--tb-muted);
  background: transparent;
  display: grid;
  place-items: center;
  text-decoration: none;
}

.tb-rail-button::after,
.tb-exit-link::after {
  position: absolute;
  left: calc(100% + 10px);
  top: 50%;
  z-index: 80;
  transform: translateY(-50%);
  pointer-events: none;
  opacity: 0;
  content: attr(data-tooltip);
  max-width: 180px;
  white-space: nowrap;
  border-radius: var(--tb-radius-sm);
  background: var(--tb-ink);
  color: #fff;
  padding: 7px 9px;
  font-size: 12px;
  font-weight: 800;
  box-shadow: 0 10px 22px rgba(8, 65, 106, .18);
  transition: opacity .12s ease, transform .12s ease;
}

.tb-rail-button:hover::after,
.tb-exit-link:hover::after,
.tb-rail-button:focus-visible::after,
.tb-exit-link:focus-visible::after {
  opacity: 1;
  transform: translate(2px, -50%);
}

.tb-rail-button:hover,
.tb-exit-link:hover,
.tb-rail-button.is-active {
  color: var(--tb-blue);
  background: rgba(19, 125, 197, .12);
  box-shadow: inset 0 0 0 1px rgba(19, 125, 197, .24);
}

.tb-icon {
  width: 18px;
  height: 18px;
  display: block;
  fill: none;
  stroke: currentColor;
  stroke-width: 2.2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.tb-rail-spacer {
  flex: 1;
}

.tb-sidebar {
  position: sticky;
  top: 0;
  z-index: 20;
  height: 100vh;
  min-width: 0;
  overflow-y: auto;
  border-right: 1px solid rgba(255, 255, 255, .22);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, .08), transparent 34%),
    linear-gradient(160deg, var(--tb-blue-dark), var(--tb-blue));
  color: #fff;
  padding: 26px 20px;
  box-shadow: 12px 0 26px rgba(8, 65, 106, .14);
}

body.tb-sidebar-collapsed .tb-sidebar {
  visibility: hidden;
  overflow: hidden;
  border-right: 0;
  padding-left: 0;
  padding-right: 0;
  box-shadow: none;
}

.tb-sidebar h2 {
  margin: 0 0 8px;
  color: #fff;
  font-size: 23px;
  font-weight: 900;
}

.tb-sidebar p {
  margin: 0;
  color: rgba(255, 255, 255, .78);
}

.tb-menu-section {
  margin-top: 24px;
}

.tb-menu-section h3 {
  color: rgba(255, 255, 255, .7);
  font-size: 11.5px;
  font-weight: 900;
  margin: 0 0 9px;
  text-transform: uppercase;
}

.tb-menu-list {
  display: grid;
  gap: 7px;
}

.tb-menu-list a {
  border: 1px solid transparent;
  border-radius: var(--tb-radius-sm);
  color: rgba(255, 255, 255, .86);
  padding: 8px 10px;
  text-decoration: none;
  font-size: 13px;
  font-weight: 900;
}

.tb-menu-list a:hover,
.tb-menu-list a.is-active {
  border-color: rgba(255, 255, 255, .28);
  background: rgba(255, 255, 255, .18);
  color: #fff;
}

.tb-main {
  min-width: 0;
  display: grid;
  grid-template-rows: auto minmax(0, 1fr);
}

.tb-topbar {
  position: sticky;
  top: 0;
  z-index: 18;
  min-height: 72px;
  border-bottom: 1px solid var(--tb-line);
  background: rgba(244, 248, 251, .92);
  backdrop-filter: blur(14px);
  display: grid;
  grid-template-columns: minmax(220px, 400px) minmax(0, 1fr) auto;
  align-items: center;
  gap: 14px;
  padding: 0 20px;
}

.tb-search {
  display: grid;
  grid-template-columns: 116px minmax(0, 1fr) 112px;
  min-height: 42px;
  border: 1px solid var(--tb-line);
  background: var(--tb-surface);
  border-radius: var(--tb-radius-sm);
  overflow: hidden;
}

.tb-search span,
.tb-search input,
.tb-search button {
  min-width: 0;
  border: 0;
}

.tb-search span {
  display: grid;
  place-items: center;
  border-right: 1px solid var(--tb-line);
  color: var(--tb-ink);
  font-weight: 900;
}

.tb-search input {
  background: transparent;
  color: var(--tb-ink);
  padding: 0 14px;
}

.tb-search button,
.btn-primary,
.btn-secondary.btn-submit,
.btn-submit {
  border-color: var(--tb-blue) !important;
  background: var(--tb-blue) !important;
  color: #fff !important;
  font-weight: 900;
  box-shadow: 0 10px 20px rgba(19, 125, 197, .18);
  min-height: 40px;
}

.btn-primary:hover,
.btn-secondary.btn-submit:hover,
.btn-submit:hover,
.tb-search button:hover {
  background: #0f6ba9 !important;
  border-color: #0f6ba9 !important;
}

.tb-top-tabs {
  display: flex;
  gap: 8px;
  min-width: 0;
  max-width: 100%;
  overflow-x: auto;
  padding: 12px 0;
  scrollbar-width: thin;
}

.tb-top-tabs a {
  flex: 0 0 auto;
  min-height: 34px;
  border: 1px solid var(--tb-line);
  border-radius: 999px;
  background: rgba(255, 255, 255, .82);
  color: var(--tb-muted);
  padding: 7px 12px;
  text-decoration: none;
  font-size: 12px;
  font-weight: 900;
}

.tb-top-tabs a:hover,
.tb-top-tabs a.is-active {
  background: var(--tb-blue);
  border-color: var(--tb-blue);
  color: #fff;
}

.tb-top-actions {
  justify-self: end;
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--tb-muted);
  font-size: 13px;
  white-space: nowrap;
}

.tb-top-actions > span:not(.tb-monitor-toggle) {
  display: none;
}

.tb-top-actions strong {
  max-width: 152px;
  overflow: hidden;
  text-overflow: ellipsis;
}

.tb-sidebar-toggle {
  min-height: 36px;
  border: 1px solid var(--tb-line);
  border-radius: var(--tb-radius-sm);
  background: var(--tb-surface);
  color: var(--tb-ink);
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 10px;
  font-weight: 900;
  box-shadow: 0 8px 18px rgba(8, 65, 106, .08);
}

.tb-sidebar-toggle .tb-icon {
  color: var(--tb-blue);
  flex: 0 0 auto;
}

.tb-sidebar-toggle .tb-open-label {
  display: none;
}

body.tb-sidebar-collapsed .tb-sidebar-toggle {
  color: var(--tb-blue);
  background: rgba(19, 125, 197, .1);
  border-color: rgba(19, 125, 197, .28);
}

body.tb-sidebar-collapsed .tb-sidebar-toggle .tb-close-label {
  display: none;
}

body.tb-sidebar-collapsed .tb-sidebar-toggle .tb-open-label {
  display: inline;
}

.tb-monitor-toggle {
  width: 42px;
  height: 22px;
  border-radius: 999px;
  background: rgba(245, 121, 59, .24);
  padding: 3px;
}

.tb-monitor-toggle::after {
  content: "";
  display: block;
  width: 16px;
  height: 16px;
  margin-left: 18px;
  border-radius: 50%;
  background: var(--tb-blue);
}

.tb-content {
  min-width: 0;
  padding: 26px 28px 40px;
}

.tb-content .container {
  max-width: 100%;
  width: 100%;
}

.tb-content > .container,
.tb-content .container .container {
  padding-left: 0 !important;
  padding-right: 0 !important;
}

.tb-content h1,
.tb-content h2,
.tb-content h3,
.tb-content h4 {
  color: var(--tb-ink) !important;
  font-weight: 900;
  text-wrap: balance;
  letter-spacing: 0;
}

.tb-content h4 {
  font-size: 28px;
  margin-bottom: 18px !important;
}

.letbr,
.letpr,
.label,
.tb-content label {
  color: var(--tb-ink) !important;
}

.tb-content .row {
  min-width: 0;
  margin-left: 0;
  margin-right: 0;
}

.tb-content [class*="col-"] {
  min-width: 0;
  padding-left: 8px;
  padding-right: 8px;
}

.tb-content .table-responsive-sm,
.tb-content .table-responsive {
  border: 1px solid var(--tb-line);
  border-radius: var(--tb-radius);
  background: var(--tb-surface);
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  box-shadow: 0 8px 22px rgba(8, 65, 106, .06);
}

.tb-content .table {
  margin-bottom: 0;
  background: var(--tb-surface);
  color: var(--tb-ink);
}

.tb-content .table th,
.tb-content .table td {
  border-top: 0;
  border-bottom: 1px solid var(--tb-line);
  padding: 13px 14px;
  vertical-align: top;
  font-size: 13px;
}

.tb-content .table thead th {
  color: var(--tb-muted);
  font-size: 11px;
  font-weight: 900;
  text-transform: uppercase;
}

.tb-content .table-hover tbody tr:hover {
  background: rgba(19, 125, 197, .06);
}

.tb-content tr[role="link"]:focus-visible {
  outline: 3px solid rgba(245, 121, 59, .35);
  outline-offset: -3px;
  background: rgba(19, 125, 197, .08);
}

.tb-content form,
.tb-content .fundobr,
.tb-content .dvPesq,
.tb-content .modal-content,
.tb-content div[style*="background-color:#FFFFFF"],
.tb-content div[style*="background-color: white"] {
  border: 1px solid var(--tb-line);
  border-radius: var(--tb-radius);
  background: rgba(255, 255, 255, .94) !important;
  box-shadow: 0 8px 22px rgba(8, 65, 106, .06);
}

.tb-content form {
  padding: 18px;
}

.tb-content .dvPesq form,
.tb-content .modal-body form {
  border: 0;
  box-shadow: none;
  padding: 0;
}

.tb-content label {
  font-size: 12.5px;
  font-weight: 900;
  margin-bottom: 6px;
}

.tb-content .form-control,
.tb-content .custom-select,
.tb-content select,
.tb-content textarea,
.tb-content input[type="text"],
.tb-content input[type="email"],
.tb-content input[type="password"],
.tb-content input[type="date"],
.tb-content input[type="file"] {
  min-height: 40px;
  border: 1px solid var(--tb-line);
  border-radius: var(--tb-radius-sm);
  background-color: #f7fbfe;
  color: var(--tb-ink);
}

.tb-content .form-control:focus,
.tb-content .custom-select:focus,
.tb-content select:focus,
.tb-content textarea:focus,
.tb-content input:focus {
  border-color: rgba(19, 125, 197, .65);
  background-color: #fff;
}

.tb-content textarea.form-control,
.tb-content textarea {
  min-height: 118px;
}

.tb-content .input-group-text {
  border-color: var(--tb-line);
  background: var(--tb-soft-blue);
  color: var(--tb-blue);
}

.toggle-password-button {
  min-width: 44px;
  min-height: 40px;
  border: 1px solid var(--tb-line);
  border-radius: var(--tb-radius-sm);
  background: var(--tb-soft-blue);
  color: var(--tb-blue);
  vertical-align: top;
}

.tb-content .btn {
  border-radius: var(--tb-radius-sm);
  font-weight: 900;
  min-height: 38px;
}

.tb-content .btn-sm {
  min-height: 34px;
  padding: 6px 14px;
  font-size: 13px;
}

.tb-content .btn-secundary,
.tb-content .btn-secondary {
  border-color: var(--tb-line) !important;
  background: #fff !important;
  color: var(--tb-ink) !important;
  box-shadow: none;
}

.tb-content .btn-secundary:hover,
.tb-content .btn-secondary:hover {
  border-color: rgba(19, 125, 197, .36) !important;
  background: var(--tb-soft-blue) !important;
  color: var(--tb-blue-dark) !important;
}

.tb-content .btn-secondary.btn-submit,
.tb-content .btn-submit {
  border-color: var(--tb-blue) !important;
  background: var(--tb-blue) !important;
  color: #fff !important;
  box-shadow: 0 10px 20px rgba(19, 125, 197, .18);
}

.tb-content .btn-secondary.btn-submit:hover,
.tb-content .btn-submit:hover {
  background: #0f6ba9 !important;
  border-color: #0f6ba9 !important;
  color: #fff !important;
}

.tb-content .btn-danger {
  border-color: rgba(184, 75, 69, .4);
  background: #fff0ec;
  color: var(--tb-danger);
}

.tb-content .btn-warning {
  border-color: rgba(245, 121, 59, .36) !important;
  background: #fff3e9 !important;
  color: #8a431f !important;
  box-shadow: none !important;
}

.tb-cnj-actions {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  margin-top: 18px;
  padding-top: 16px;
  border-top: 1px solid var(--tb-line);
}

.tb-cnj-count {
  color: var(--tb-muted);
  font-size: 13px;
  font-weight: 800;
}

.tb-cnj-action-buttons {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 8px;
}

.tb-panel-container {
  padding-top: 42px !important;
}

.tb-panel-logo {
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 86px;
  margin-bottom: 22px;
}

.tb-panel-logo img {
  display: block;
  width: min(420px, 72vw);
  max-width: 100%;
  height: auto;
  transform: translateY(-12px);
}

.tb-result-header {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 14px;
  margin-bottom: 20px;
}

.tb-result-title h4 {
  margin-bottom: 4px !important;
}

.tb-result-title p {
  margin: 0;
  color: var(--tb-muted);
  font-size: 13px;
}

.tb-prob-card {
  position: relative;
  display: grid;
  grid-template-columns: auto minmax(220px, 1fr) auto;
  align-items: center;
  gap: 14px;
  border: 1px solid rgba(19, 125, 197, .2);
  border-radius: var(--tb-radius);
  background: linear-gradient(110deg, rgba(232, 244, 252, .96), rgba(255, 243, 233, .92));
  padding: 16px 18px;
  box-shadow: 0 8px 22px rgba(8, 65, 106, .08);
}

.tb-prob-value {
  color: var(--tb-blue);
  font-size: 34px;
  line-height: 1;
  font-weight: 900;
}

.tb-prob-copy {
  grid-column: 1 / 2;
  color: var(--tb-muted);
  font-size: 12.5px;
  font-weight: 800;
}

.tb-prob-meter {
  grid-column: 2 / 3;
  grid-row: 1 / 3;
  height: 11px;
  overflow: hidden;
  border-radius: 999px;
  background: rgba(19, 125, 197, .14);
}

.tb-prob-meter span {
  display: block;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, var(--tb-blue), var(--tb-orange));
}

.tb-prob-badge {
  grid-column: 3 / 4;
  grid-row: 1 / 3;
  border-radius: 999px;
  background: var(--tb-blue);
  color: #fff;
  padding: 8px 14px;
  font-size: 13px;
  font-weight: 900;
}

.tb-prob-help {
  position: absolute;
  right: 8px;
  top: 8px;
  width: 24px;
  height: 24px;
  border: 0;
  border-radius: 999px;
  background: rgba(19, 125, 197, .12);
  color: var(--tb-blue);
  font-weight: 900;
  line-height: 1;
}

.tb-result-analysis {
  padding: 24px 26px !important;
  color: var(--tb-ink);
}

.tb-result-analysis > * {
  max-width: 100%;
}

.tb-result-analysis h1,
.tb-result-analysis h2,
.tb-result-analysis h3,
.tb-result-analysis h4,
.tb-result-analysis h5,
.tb-result-analysis h6,
.tb-result-analysis p > b:first-child,
.tb-result-analysis p > strong:first-child {
  display: block;
  margin: 20px 0 10px;
  border-left: 4px solid var(--tb-orange);
  padding-left: 12px;
  color: var(--tb-ink);
  font-weight: 900;
  letter-spacing: 0;
}

.tb-result-analysis h1:first-child,
.tb-result-analysis h2:first-child,
.tb-result-analysis h3:first-child,
.tb-result-analysis h4:first-child,
.tb-result-analysis h5:first-child,
.tb-result-analysis h6:first-child,
.tb-result-analysis p:first-child > b:first-child,
.tb-result-analysis p:first-child > strong:first-child {
  margin-top: 0;
}

.tb-result-analysis h2,
.tb-result-analysis h3 {
  padding-top: 16px;
  border-top: 1px solid var(--tb-line);
  font-size: 22px;
}

.tb-result-analysis h4,
.tb-result-analysis h5,
.tb-result-analysis h6,
.tb-result-analysis p > b:first-child,
.tb-result-analysis p > strong:first-child {
  font-size: 17px;
}

.tb-result-analysis p {
  margin-bottom: 16px;
  color: #405466;
  font-size: 15px;
  line-height: 1.75;
}

.tb-result-analysis hr {
  border-top: 1px solid var(--tb-line);
  margin: 18px 0;
}

.tb-content .badge,
.tb-content .badge-pill {
  border-radius: 999px;
  font-weight: 800;
}

.tb-content .page-link {
  color: var(--tb-blue);
}

.tb-content .page-link:hover {
  background: var(--tb-soft-blue);
}

.tb-content canvas {
  max-width: 100%;
}

.tb-content div[style*="width:400px"],
.tb-content div[style*="width:800px"] {
  width: 100% !important;
  max-width: 100% !important;
}

.footer {
  border-top: 1px solid var(--tb-line);
  background: rgba(255, 255, 255, .92);
  color: var(--tb-muted);
}

body.text-center {
  display: grid !important;
  place-items: center;
  padding: 30px 14px !important;
}

body.text-center .form-signin {
  width: min(420px, calc(100vw - 28px)) !important;
  max-width: 420px !important;
  margin: auto !important;
  padding: 30px !important;
  border: 1px solid var(--tb-line);
  border-radius: 12px;
  background: rgba(255, 255, 255, .94);
  box-shadow: var(--tb-shadow);
  text-align: left;
}

body.text-center .form-signin img {
  max-width: 100%;
  height: auto;
  margin-left: 0 !important;
}

body.text-center .tb-auth-brand {
  margin-bottom: 24px;
}

body.text-center .tb-auth-brand span {
  display: none;
  color: var(--tb-blue);
  border-bottom: 6px solid var(--tb-orange);
  padding-bottom: 8px;
  font-size: 32px;
  font-weight: 900;
  line-height: 1.1;
}

body.text-center .tb-auth-brand.is-fallback span {
  display: inline-block;
}

body.text-center .form-signin h1 {
  color: var(--tb-ink);
  font-weight: 900;
  letter-spacing: 0;
}

body.text-center .form-signin .form-control {
  width: 100% !important;
  min-height: 42px;
  border-radius: var(--tb-radius-sm) !important;
  border: 1px solid var(--tb-line);
  background: #f7fbfe;
}

body.text-center .form-signin #edPassword {
  display: inline-block !important;
  width: calc(100% - 45px) !important;
  margin-bottom: 0 !important;
  float: left !important;
  border-right: 0 !important;
  border-radius: var(--tb-radius-sm) 0 0 var(--tb-radius-sm) !important;
}

body.text-center #togglePassword {
  display: inline-grid;
  width: 44px;
  height: 42px;
  margin-top: 0 !important;
  padding: 0;
  place-items: center;
  border: 1px solid var(--tb-line);
  border-left: 0;
  border-radius: 0 var(--tb-radius-sm) var(--tb-radius-sm) 0;
  background: var(--tb-soft-blue);
  color: var(--tb-blue);
  vertical-align: top;
  font-weight: 900;
  float: left;
}

body.text-center .form-signin .btn-primary {
  margin-top: 16px;
  clear: both;
}

body.text-center .toggle-icon {
  color: var(--tb-blue);
  cursor: pointer;
}

body.text-center .tb-eye-label {
  color: var(--tb-blue);
  font-size: 12px;
  font-weight: 900;
}

.tb-legacy-icon {
  display: inline-grid;
  width: 1.1em;
  height: 1.1em;
  place-items: center;
  color: var(--tb-blue);
  vertical-align: -0.12em;
}

.tb-legacy-icon-search::before {
  content: "";
  width: .9em;
  height: .9em;
  border: .16em solid currentColor;
  border-radius: 999px;
  box-shadow: .42em .42em 0 -.28em currentColor;
  transform: rotate(-10deg);
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    scroll-behavior: auto !important;
    transition-duration: .01ms !important;
  }
}

@media (min-width: 1181px) and (max-width: 1500px) {
  .tb-topbar {
    grid-template-columns: minmax(280px, 1fr) auto;
    grid-template-areas:
      "search actions"
      "tabs tabs";
    gap: 8px 14px;
    padding: 10px 20px;
  }

  .tb-search {
    grid-area: search;
  }

  .tb-top-tabs {
    grid-area: tabs;
    padding: 0 0 4px;
  }

  .tb-top-actions {
    grid-area: actions;
  }
}

@media (max-width: 1180px) {
  .tb-app-shell,
  body.tb-sidebar-collapsed .tb-app-shell {
    grid-template-columns: 74px minmax(0, 1fr);
  }

  .tb-sidebar {
    display: none;
  }

  .tb-topbar {
    grid-template-columns: minmax(0, 1fr);
    gap: 10px;
    padding: 12px 18px;
  }

  .tb-top-tabs {
    order: 3;
  }

  .tb-top-actions {
    justify-self: start;
  }
}

@media (max-width: 820px) {
  body.body-vc,
  body.text-center {
    background-size: auto !important;
  }

  .tb-app-shell,
  body.tb-sidebar-collapsed .tb-app-shell {
    grid-template-columns: minmax(0, 1fr);
    max-width: 100vw;
    overflow-x: hidden;
  }

  .tb-rail {
    position: sticky;
    top: 0;
    height: 64px;
    flex-direction: row;
    justify-content: space-between;
    border-right: 0;
    border-bottom: 1px solid var(--tb-line);
    padding: 10px 14px;
    gap: 8px;
    overflow-x: auto;
    scrollbar-width: none;
  }

  .tb-rail::-webkit-scrollbar {
    display: none;
  }

  .tb-rail-spacer {
    display: none;
  }

  .tb-brand-mark,
  .tb-rail-button,
  .tb-exit-link {
    flex: 0 0 auto;
    width: 42px;
    height: 42px;
  }

  .tb-rail-button::after,
  .tb-exit-link::after {
    display: none;
  }

  .tb-topbar {
    position: static;
    max-width: 100vw;
    overflow-x: hidden;
    padding: 10px 12px;
  }

  .tb-search {
    width: 100%;
    grid-template-columns: minmax(0, 1fr) 72px;
  }

  .tb-search span {
    display: none;
  }

  .tb-search input,
  .tb-search button {
    font-size: 12.5px;
  }

  .tb-top-tabs {
    width: 100%;
    padding: 4px 0;
    flex-wrap: wrap;
    overflow: visible;
  }

  .tb-top-tabs a {
    flex: 1 1 calc(50% - 8px);
    min-width: 0;
    min-height: 30px;
    padding: 6px 10px;
    font-size: 12px;
    justify-content: center;
    text-align: center;
    white-space: normal;
  }

  .tb-top-actions {
    display: none;
  }

  .tb-content {
    max-width: 100vw;
    overflow-x: hidden;
    padding: 16px 12px 28px;
  }

  .tb-content h4 {
    font-size: 23px;
  }

  .tb-content form,
  .tb-content .fundobr,
  .tb-content .dvPesq,
  .tb-content .modal-content {
    padding: 14px;
  }

  .tb-content .heading-button {
    text-align: left !important;
  }

  .tb-content .heading-button .btn,
  .tb-content .btn-block {
    width: 100%;
  }

  .tb-content .pagination {
    justify-content: flex-start !important;
    overflow-x: auto;
    padding-bottom: 4px;
  }

  .tb-cnj-actions {
    align-items: stretch;
    flex-direction: column;
  }

  .tb-cnj-action-buttons {
    justify-content: stretch;
  }

  .tb-cnj-action-buttons .btn {
    flex: 1 1 calc(50% - 8px);
  }

  .tb-panel-container {
    padding-top: 22px !important;
  }

  .tb-panel-logo {
    min-height: 72px;
    margin-bottom: 14px;
  }

  .tb-panel-logo img {
    transform: translateY(-8px);
  }

  .tb-result-header {
    grid-template-columns: minmax(0, 1fr);
    gap: 12px;
  }

  .tb-prob-card {
    grid-template-columns: minmax(0, 1fr) auto;
    padding: 15px;
  }

  .tb-prob-value {
    font-size: 32px;
  }

  .tb-prob-copy {
    grid-column: 1 / 2;
  }

  .tb-prob-meter {
    grid-column: 1 / 3;
    grid-row: auto;
  }

  .tb-prob-badge {
    grid-column: 2 / 3;
    grid-row: 1 / 3;
    align-self: center;
  }

  .tb-result-analysis {
    padding: 18px !important;
  }

  .tb-result-analysis h2,
  .tb-result-analysis h3 {
    font-size: 19px;
  }
}

@media (max-width: 640px) {
  body.body-vc,
  body.text-center {
    font-size: 14.5px;
  }

  .tb-content [class*="col-"] {
    padding-left: 0;
    padding-right: 0;
  }

  .tb-content .row {
    gap: 10px;
  }

  .tb-content .table-responsive-sm.tb-card-table,
  .tb-content .table-responsive.tb-card-table {
    border: 0;
    border-radius: 0;
    background: transparent;
    overflow: visible;
    box-shadow: none;
  }

  .tb-content .tb-card-table table,
  .tb-content .tb-card-table thead,
  .tb-content .tb-card-table tbody,
  .tb-content .tb-card-table tr,
  .tb-content .tb-card-table td,
  .tb-content .tb-card-table th {
    display: block;
    width: 100%;
  }

  .tb-content .tb-card-table table {
    min-width: 0;
    background: transparent;
  }

  .tb-content .tb-card-table thead {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
  }

  .tb-content .tb-card-table tbody tr {
    margin-bottom: 12px;
    border: 1px solid var(--tb-line);
    border-radius: var(--tb-radius);
    background: var(--tb-surface);
    box-shadow: 0 8px 20px rgba(8, 65, 106, .06);
    overflow: hidden;
  }

  .tb-content .tb-card-table tbody td,
  .tb-content .tb-card-table tbody th {
    min-height: 42px;
    display: grid;
    grid-template-columns: minmax(92px, 34%) minmax(0, 1fr);
    gap: 10px;
    align-items: start;
    border-bottom: 1px solid var(--tb-line);
    padding: 10px 12px;
    font-size: 13px;
  }

  .tb-content .tb-card-table tbody td:last-child,
  .tb-content .tb-card-table tbody th:last-child {
    border-bottom: 0;
  }

  .tb-content .tb-card-table tbody td::before,
  .tb-content .tb-card-table tbody th::before {
    content: attr(data-label);
    color: var(--tb-muted);
    font-size: 11px;
    font-weight: 900;
    letter-spacing: .02em;
    text-transform: uppercase;
  }

  .tb-content .modal-dialog {
    margin: 10px;
  }

  body.text-center .form-signin {
    padding: 22px !important;
  }
}
