/* Tema profissional global - azul claro, verde escuro - sem degrade */
:root {
  --tt-pro-primary: #0b1d3a;
  --tt-pro-primary-dark: #08152b;
  --tt-pro-secondary: #22C55E;
  --tt-pro-secondary-dark: #16A34A;
  --tt-pro-warning: #F59E0B;
  --tt-pro-danger: #DC2626;
  --tt-pro-bg: #f5f7fb;
  --tt-pro-surface: #ffffff;
  --tt-pro-surface-2: #f9fafb;
  --tt-pro-text: #172033;
  --tt-pro-muted: #64748b;
  --tt-pro-border: rgba(11, 29, 58, .10);
  --tt-pro-border-strong: rgba(11, 29, 58, .18);
  --tt-pro-shadow: 0 18px 45px rgba(11, 29, 58, .08);
  --tt-pro-shadow-soft: 0 10px 26px rgba(11, 29, 58, .06);
  --tt-pro-radius: 18px;
  --tt-pro-radius-sm: 12px;
}

html[data-bs-theme="dark"] {
  --tt-pro-primary: #22C55E;
  --tt-pro-primary-dark: #16A34A;
  --tt-pro-secondary: #0b1d3a;
  --tt-pro-secondary-dark: #08152b;
  --tt-pro-bg: #07101f;
  --tt-pro-surface: #0f1b2e;
  --tt-pro-surface-2: #111f35;
  --tt-pro-text: #eaf6ef;
  --tt-pro-muted: #a9b7c8;
  --tt-pro-border: rgba(34, 197, 94, .18);
  --tt-pro-border-strong: rgba(34, 197, 94, .34);
  --tt-pro-shadow: 0 18px 45px rgba(0, 0, 0, .28);
  --tt-pro-shadow-soft: 0 10px 26px rgba(0, 0, 0, .22);
}

body.materialize-system,
body.tt-mobile-app,
body.tt-dashboard-body {
  background: var(--tt-pro-bg) !important;
  color: var(--tt-pro-text) !important;
  text-rendering: geometricPrecision;
  -webkit-font-smoothing: antialiased;
}

body.materialize-system .layout-page,
body.materialize-system .content-wrapper,
body.materialize-system .tt-content-container,
body.materialize-system .container-xxl,
body.materialize-system .container-fluid {
  background: transparent !important;
}

/* Remover efeitos de degrade do template sem quebrar as cores solidas */
body.materialize-system .btn,
body.materialize-system .card,
body.materialize-system .dropdown-menu,
body.materialize-system .modal-content,
body.materialize-system .offcanvas,
body.materialize-system .menu-link,
body.materialize-system .tt-next-panel,
body.materialize-system .tt-hero,
body.materialize-system .tt-dashboard-hero,
body.materialize-system .tt-payment-hero-card,
body.materialize-system .tt-performance-hero-card,
body.materialize-system .tt-profile-banner,
body.materialize-system .list-group-item.active,
body.materialize-system .nav-pills .nav-link.active,
body.materialize-system .page-item.active .page-link {
  background-image: none !important;
}

body.materialize-system h1,
body.materialize-system h2,
body.materialize-system h3,
body.materialize-system h4,
body.materialize-system h5,
body.materialize-system h6,
body.materialize-system .card-title,
body.materialize-system .page-title,
body.materialize-system .tt-section-title {
  color: var(--tt-pro-text) !important;
  letter-spacing: -.025em;
}

body.materialize-system .text-muted,
body.materialize-system small,
body.materialize-system .form-text,
body.materialize-system .tt-muted,
body.materialize-system .tt-card-subtitle {
  color: var(--tt-pro-muted) !important;
}

/* Menu lateral */
body.materialize-system #layout-menu,
body.materialize-system .layout-menu {
  background: var(--tt-pro-surface) !important;
  border-right: 1px solid var(--tt-pro-border) !important;
  box-shadow: var(--tt-pro-shadow-soft) !important;
}
body.materialize-system .app-brand,
body.materialize-system .app-brand-link {
  color: #0b1d3a !important;
}
body.materialize-system .app-brand-logo .text-primary,
body.materialize-system .app-brand-logo svg {
  color: #0b1d3a !important;
}
body.materialize-system .menu-header-text {
  color: var(--tt-pro-muted) !important;
  font-size: .72rem !important;
  font-weight: 800 !important;
  letter-spacing: .055em !important;
}
body.materialize-system .menu-link {
  margin: .15rem .75rem !important;
  border-radius: 12px !important;
  color: var(--tt-pro-text) !important;
  font-weight: 650 !important;
  border: 1px solid transparent !important;
  transition: background-color .16s ease, border-color .16s ease, color .16s ease, transform .16s ease !important;
}
body.materialize-system .menu-link:hover {
  background: rgba(34, 197, 94, .08) !important;
  border-color: rgba(34, 197, 94, .14) !important;
  color: #0b1d3a !important;
  transform: translateX(2px);
}
body.materialize-system .menu-link .menu-icon,
body.materialize-system .menu-link i {
  color: #22C55E !important;
}
body.materialize-system .menu-item.active > .menu-link:not(.menu-toggle),
body.materialize-system #layout-menu .menu-item.active > .menu-link:not(.menu-toggle) {
  background: #0b1d3a !important;
  color: #ffffff !important;
  border-color: #0b1d3a !important;
  border-right: 4px solid #22C55E !important;
  box-shadow: 0 14px 24px rgba(11, 29, 58, .16) !important;
}
body.materialize-system .menu-item.active > .menu-link .menu-icon,
body.materialize-system .menu-item.active > .menu-link i {
  color: #22C55E !important;
}

/* Barra superior e busca */
body.materialize-system .layout-navbar,
body.materialize-system .navbar-detached,
body.materialize-system .bg-navbar-theme {
  background: var(--tt-pro-surface) !important;
  color: var(--tt-pro-text) !important;
  border: 1px solid var(--tt-pro-border) !important;
  box-shadow: var(--tt-pro-shadow-soft) !important;
  border-radius: 18px !important;
}
body.materialize-system .tt-nav-search,
body.materialize-system .tt-global-search input,
body.materialize-system .tt-search-results {
  background: var(--tt-pro-surface-2) !important;
  color: var(--tt-pro-text) !important;
  border-color: var(--tt-pro-border) !important;
}
body.materialize-system .tt-nav-search:focus-within {
  border-color: #22C55E !important;
  box-shadow: 0 0 0 .22rem rgba(34, 197, 94, .13) !important;
}
body.materialize-system .tt-nav-icon,
body.materialize-system .tt-navbar-user {
  background: var(--tt-pro-surface-2) !important;
  border: 1px solid var(--tt-pro-border) !important;
  color: var(--tt-pro-text) !important;
}
body.materialize-system .tt-nav-icon:hover,
body.materialize-system .tt-navbar-user:hover {
  background: rgba(34, 197, 94, .12) !important;
  border-color: rgba(34, 197, 94, .26) !important;
  color: #22C55E !important;
}
body.materialize-system .tt-online-dot,
body.materialize-system .tt-badge-dot {
  background: #22C55E !important;
  border-color: var(--tt-pro-surface) !important;
}

/* Cards e blocos */
body.materialize-system .card,
body.materialize-system .dropdown-menu,
body.materialize-system .modal-content,
body.materialize-system .offcanvas,
body.materialize-system .tt-panel,
body.materialize-system .tt-box,
body.materialize-system .tt-card,
body.materialize-system .tt-rules-hero-card,
body.materialize-system .tt-rules-summary-card,
body.materialize-system .tt-rules-list-card,
body.materialize-system .tt-next-panel,
body.materialize-system .tt-kpi,
body.materialize-system .tt-mini-kpi,
body.materialize-system .tt-shortcut-card,
body.materialize-system .tt-notification-menu {
  background: var(--tt-pro-surface) !important;
  color: var(--tt-pro-text) !important;
  border: 1px solid var(--tt-pro-border) !important;
  border-radius: var(--tt-pro-radius) !important;
  box-shadow: var(--tt-pro-shadow) !important;
}
body.materialize-system .card {
  position: relative;
  overflow: hidden;
}
body.materialize-system .card::before {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  left: 0;
  height: 4px;
  background: #22C55E;
}
body.materialize-system .card-header,
body.materialize-system .card-footer,
body.materialize-system .modal-header,
body.materialize-system .modal-footer {
  background: transparent !important;
  border-color: var(--tt-pro-border) !important;
}
body.materialize-system .tt-icon,
body.materialize-system .tt-stat-icon,
body.materialize-system .tt-kpi-icon,
body.materialize-system .tt-mini-kpi-icon,
body.materialize-system .tt-notification-icon,
body.materialize-system .avatar,
body.materialize-system .avatar-initial,
body.materialize-system .tt-rule-avatar,
body.materialize-system .tt-color-swatch-box {
  background: rgba(34, 197, 94, .12) !important;
  color: #22C55E !important;
  border: 1px solid rgba(34, 197, 94, .18) !important;
}

/* Botoes */
body.materialize-system .btn {
  border-radius: 12px !important;
  font-weight: 800 !important;
  letter-spacing: -.01em;
  box-shadow: none !important;
}
body.materialize-system .btn:hover {
  transform: translateY(-1px);
  box-shadow: 0 12px 22px rgba(11, 29, 58, .12) !important;
}
body.materialize-system .btn-primary,
body.materialize-system .btn-dark,
body.materialize-system .bg-primary,
body.materialize-system .text-bg-primary {
  background: #0b1d3a !important;
  border-color: #0b1d3a !important;
  color: #ffffff !important;
}
body.materialize-system .btn-success,
body.materialize-system .btn-secondary,
body.materialize-system .bg-success,
body.materialize-system .bg-secondary,
body.materialize-system .text-bg-success,
body.materialize-system .text-bg-secondary {
  background: #22C55E !important;
  border-color: #22C55E !important;
  color: #ffffff !important;
}
body.materialize-system .btn-outline-primary {
  color: #0b1d3a !important;
  border-color: #0b1d3a !important;
}
body.materialize-system .btn-outline-primary:hover {
  background: #0b1d3a !important;
  color: #ffffff !important;
}
body.materialize-system .btn-outline-success,
body.materialize-system .btn-outline-secondary {
  color: #16A34A !important;
  border-color: #22C55E !important;
}
body.materialize-system .btn-outline-success:hover,
body.materialize-system .btn-outline-secondary:hover {
  background: #22C55E !important;
  color: #ffffff !important;
}
body.materialize-system .btn-warning { background: #F59E0B !important; border-color: #F59E0B !important; color: #111827 !important; }
body.materialize-system .btn-danger { background: #DC2626 !important; border-color: #DC2626 !important; color: #ffffff !important; }

/* Formularios */
body.materialize-system .form-control,
body.materialize-system .form-select,
body.materialize-system .input-group-text,
body.materialize-system input,
body.materialize-system select,
body.materialize-system textarea {
  background-color: var(--tt-pro-surface) !important;
  color: var(--tt-pro-text) !important;
  border-color: var(--tt-pro-border) !important;
  border-radius: 12px !important;
}
body.materialize-system .form-control:focus,
body.materialize-system .form-select:focus,
body.materialize-system input:focus,
body.materialize-system select:focus,
body.materialize-system textarea:focus {
  border-color: #22C55E !important;
  box-shadow: 0 0 0 .22rem rgba(34, 197, 94, .14) !important;
}
body.materialize-system .form-label,
body.materialize-system label {
  color: var(--tt-pro-text) !important;
  font-weight: 750 !important;
}
body.materialize-system .form-check-input:checked,
body.materialize-system .form-switch .form-check-input:checked {
  background-color: #22C55E !important;
  border-color: #22C55E !important;
}

/* Tabelas, abas e listas */
body.materialize-system .table,
body.materialize-system table {
  color: var(--tt-pro-text) !important;
  border-color: var(--tt-pro-border) !important;
}
body.materialize-system .table thead th,
body.materialize-system table thead th {
  background: var(--tt-pro-surface-2) !important;
  color: var(--tt-pro-text) !important;
  border-color: var(--tt-pro-border) !important;
  font-weight: 850 !important;
}
body.materialize-system .table tbody tr:hover,
body.materialize-system table tbody tr:hover {
  background: rgba(34, 197, 94, .06) !important;
}
body.materialize-system .list-group-item,
body.materialize-system .tt-rule-item,
body.materialize-system .tt-notification-item {
  background: var(--tt-pro-surface) !important;
  color: var(--tt-pro-text) !important;
  border-color: var(--tt-pro-border) !important;
}
body.materialize-system .list-group-item.active,
body.materialize-system .nav-pills .nav-link.active,
body.materialize-system .page-item.active .page-link {
  background: #0b1d3a !important;
  border-color: #0b1d3a !important;
  color: #ffffff !important;
}
body.materialize-system .nav-link,
body.materialize-system .page-link,
body.materialize-system a {
  color: #0b1d3a;
}
body.materialize-system .nav-link:hover,
body.materialize-system .page-link:hover,
body.materialize-system a:hover {
  color: #16A34A;
}

/* Badges, alertas e progresso */
body.materialize-system .badge.bg-label-primary,
body.materialize-system .bg-label-primary {
  background: rgba(11, 29, 58, .10) !important;
  color: #0b1d3a !important;
}
body.materialize-system .badge.bg-label-success,
body.materialize-system .badge.bg-label-secondary,
body.materialize-system .bg-label-success,
body.materialize-system .bg-label-secondary,
body.materialize-system .tt-chip,
body.materialize-system .tt-pill,
body.materialize-system .tt-default-chip {
  background: rgba(34, 197, 94, .12) !important;
  color: #16A34A !important;
  border: 1px solid rgba(34, 197, 94, .18) !important;
}
body.materialize-system .alert-primary {
  background: rgba(11, 29, 58, .08) !important;
  color: #0b1d3a !important;
  border-color: rgba(11, 29, 58, .16) !important;
}
body.materialize-system .alert-success,
body.materialize-system .alert-info {
  background: rgba(34, 197, 94, .12) !important;
  color: #166534 !important;
  border-color: rgba(34, 197, 94, .20) !important;
}
body.materialize-system .progress,
body.materialize-system .tt-progress-wrap,
body.materialize-system .tt-progress-shell {
  background: rgba(11, 29, 58, .08) !important;
}
body.materialize-system .progress-bar,
body.materialize-system .tt-progress-fill,
body.materialize-system .tt-progress-bar,
body.materialize-system .tt-rank-track span {
  background: #22C55E !important;
}

/* Componentes antigos/standalone */
.menu-item,
.atleta-card,
.checkbox-custom,
.proximo-jogo,
.login-container,
.form-container,
.table-container,
.box,
.painel,
.conteudo {
  border-color: var(--tt-pro-border) !important;
  box-shadow: var(--tt-pro-shadow-soft) !important;
  border-radius: var(--tt-pro-radius) !important;
}
.menu-item::before,
.atleta-card::before,
.checkbox-custom::before {
  background: #22C55E !important;
}
.bottom-nav {
  background: #0b1d3a !important;
  border-top: 3px solid #22C55E !important;
}
.bottom-nav a.active,
.bottom-nav a:hover {
  color: #22C55E !important;
}
.btn-custom,
button.btn-primary,
.btn.btn-primary {
  background: #0b1d3a !important;
  border-color: #0b1d3a !important;
}
.btn.btn-success,
.btn.btn-secondary {
  background: #22C55E !important;
  border-color: #22C55E !important;
}

/* SweetAlert/DataTables */
body.materialize-system .swal2-popup {
  background: var(--tt-pro-surface) !important;
  color: var(--tt-pro-text) !important;
  border-radius: var(--tt-pro-radius) !important;
  border: 1px solid var(--tt-pro-border) !important;
}
body.materialize-system .swal2-confirm {
  background: #22C55E !important;
  color: #ffffff !important;
}
body.materialize-system .swal2-cancel {
  background: #0b1d3a !important;
  color: #ffffff !important;
}
body.materialize-system .dataTables_wrapper .dataTables_paginate .paginate_button.current,
body.materialize-system .dataTables_wrapper .dataTables_paginate .paginate_button.current:hover {
  background: #0b1d3a !important;
  border-color: #0b1d3a !important;
  color: #ffffff !important;
}

/* Modo escuro: verde predominante com superficies azuladas */
html[data-bs-theme="dark"] body.materialize-system,
html[data-bs-theme="dark"] body.tt-mobile-app,
html[data-bs-theme="dark"] body.tt-dashboard-body {
  background: #07101f !important;
  color: #eaf6ef !important;
}
html[data-bs-theme="dark"] body.materialize-system #layout-menu,
html[data-bs-theme="dark"] body.materialize-system .layout-menu,
html[data-bs-theme="dark"] body.materialize-system .layout-navbar,
html[data-bs-theme="dark"] body.materialize-system .navbar-detached,
html[data-bs-theme="dark"] body.materialize-system .bg-navbar-theme,
html[data-bs-theme="dark"] body.materialize-system .card,
html[data-bs-theme="dark"] body.materialize-system .dropdown-menu,
html[data-bs-theme="dark"] body.materialize-system .modal-content,
html[data-bs-theme="dark"] body.materialize-system .offcanvas,
html[data-bs-theme="dark"] body.materialize-system .tt-panel,
html[data-bs-theme="dark"] body.materialize-system .tt-box,
html[data-bs-theme="dark"] body.materialize-system .tt-card,
html[data-bs-theme="dark"] body.materialize-system .tt-next-panel,
html[data-bs-theme="dark"] body.materialize-system .tt-kpi,
html[data-bs-theme="dark"] body.materialize-system .tt-mini-kpi,
html[data-bs-theme="dark"] body.materialize-system .tt-shortcut-card,
html[data-bs-theme="dark"] body.materialize-system .tt-notification-menu {
  background: #0f1b2e !important;
  color: #eaf6ef !important;
  border-color: rgba(34, 197, 94, .18) !important;
}
html[data-bs-theme="dark"] body.materialize-system .app-brand,
html[data-bs-theme="dark"] body.materialize-system .app-brand-link,
html[data-bs-theme="dark"] body.materialize-system .app-brand-logo .text-primary,
html[data-bs-theme="dark"] body.materialize-system .app-brand-logo svg,
html[data-bs-theme="dark"] body.materialize-system h1,
html[data-bs-theme="dark"] body.materialize-system h2,
html[data-bs-theme="dark"] body.materialize-system h3,
html[data-bs-theme="dark"] body.materialize-system h4,
html[data-bs-theme="dark"] body.materialize-system h5,
html[data-bs-theme="dark"] body.materialize-system h6,
html[data-bs-theme="dark"] body.materialize-system .card-title {
  color: #eaf6ef !important;
}
html[data-bs-theme="dark"] body.materialize-system a,
html[data-bs-theme="dark"] body.materialize-system .nav-link,
html[data-bs-theme="dark"] body.materialize-system .page-link,
html[data-bs-theme="dark"] body.materialize-system .menu-link .menu-icon,
html[data-bs-theme="dark"] body.materialize-system .menu-link i,
html[data-bs-theme="dark"] body.materialize-system .tt-icon,
html[data-bs-theme="dark"] body.materialize-system .tt-stat-icon,
html[data-bs-theme="dark"] body.materialize-system .tt-kpi-icon,
html[data-bs-theme="dark"] body.materialize-system .tt-mini-kpi-icon,
html[data-bs-theme="dark"] body.materialize-system .avatar,
html[data-bs-theme="dark"] body.materialize-system .avatar-initial {
  color: #22C55E !important;
}
html[data-bs-theme="dark"] body.materialize-system .menu-link {
  color: #eaf6ef !important;
}
html[data-bs-theme="dark"] body.materialize-system .menu-link:hover {
  background: rgba(34, 197, 94, .12) !important;
  color: #22C55E !important;
  border-color: rgba(34, 197, 94, .24) !important;
}
html[data-bs-theme="dark"] body.materialize-system .menu-item.active > .menu-link:not(.menu-toggle),
html[data-bs-theme="dark"] body.materialize-system #layout-menu .menu-item.active > .menu-link:not(.menu-toggle),
html[data-bs-theme="dark"] body.materialize-system .nav-pills .nav-link.active,
html[data-bs-theme="dark"] body.materialize-system .page-item.active .page-link,
html[data-bs-theme="dark"] body.materialize-system .list-group-item.active,
html[data-bs-theme="dark"] body.materialize-system .btn-primary,
html[data-bs-theme="dark"] body.materialize-system .bg-primary,
html[data-bs-theme="dark"] body.materialize-system .text-bg-primary {
  background: #22C55E !important;
  border-color: #22C55E !important;
  color: #07101f !important;
}
html[data-bs-theme="dark"] body.materialize-system .menu-item.active > .menu-link .menu-icon,
html[data-bs-theme="dark"] body.materialize-system .menu-item.active > .menu-link i {
  color: #07101f !important;
}
html[data-bs-theme="dark"] body.materialize-system .btn-success,
html[data-bs-theme="dark"] body.materialize-system .btn-secondary,
html[data-bs-theme="dark"] body.materialize-system .bg-success,
html[data-bs-theme="dark"] body.materialize-system .bg-secondary,
html[data-bs-theme="dark"] body.materialize-system .text-bg-success,
html[data-bs-theme="dark"] body.materialize-system .text-bg-secondary {
  background: #22C55E !important;
  border-color: #22C55E !important;
  color: #07101f !important;
}
html[data-bs-theme="dark"] body.materialize-system .form-control,
html[data-bs-theme="dark"] body.materialize-system .form-select,
html[data-bs-theme="dark"] body.materialize-system .input-group-text,
html[data-bs-theme="dark"] body.materialize-system input,
html[data-bs-theme="dark"] body.materialize-system select,
html[data-bs-theme="dark"] body.materialize-system textarea,
html[data-bs-theme="dark"] body.materialize-system .tt-nav-search,
html[data-bs-theme="dark"] body.materialize-system .tt-global-search input {
  background: #111f35 !important;
  color: #eaf6ef !important;
  border-color: rgba(34, 197, 94, .18) !important;
}
html[data-bs-theme="dark"] body.materialize-system .form-control:focus,
html[data-bs-theme="dark"] body.materialize-system .form-select:focus,
html[data-bs-theme="dark"] body.materialize-system input:focus,
html[data-bs-theme="dark"] body.materialize-system select:focus,
html[data-bs-theme="dark"] body.materialize-system textarea:focus {
  border-color: #22C55E !important;
  box-shadow: 0 0 0 .22rem rgba(34, 197, 94, .20) !important;
}
html[data-bs-theme="dark"] body.materialize-system .table thead th,
html[data-bs-theme="dark"] body.materialize-system table thead th,
html[data-bs-theme="dark"] body.materialize-system .list-group-item,
html[data-bs-theme="dark"] body.materialize-system .tt-rule-item,
html[data-bs-theme="dark"] body.materialize-system .tt-notification-item {
  background: #111f35 !important;
  color: #eaf6ef !important;
  border-color: rgba(34, 197, 94, .18) !important;
}
html[data-bs-theme="dark"] body.materialize-system .alert-success,
html[data-bs-theme="dark"] body.materialize-system .alert-info,
html[data-bs-theme="dark"] body.materialize-system .badge.bg-label-success,
html[data-bs-theme="dark"] body.materialize-system .badge.bg-label-secondary,
html[data-bs-theme="dark"] body.materialize-system .tt-chip,
html[data-bs-theme="dark"] body.materialize-system .tt-pill,
html[data-bs-theme="dark"] body.materialize-system .tt-default-chip {
  background: rgba(34, 197, 94, .16) !important;
  color: #86EFAC !important;
  border-color: rgba(34, 197, 94, .24) !important;
}
html[data-bs-theme="dark"] .bottom-nav {
  background: #0f1b2e !important;
  border-top-color: #22C55E !important;
}

/* === TT MOBILE REMOVE ESPACO MENU CONTEUDO 2026-05-19 ===
   Remove o espaco branco no topo mobile e aproxima o conteudo do menu superior
   em todas as paginas que usam o shell Materialize. */
@media (max-width: 1199.98px) {
  html.layout-navbar-fixed,
  html.layout-menu-fixed,
  html.layout-navbar-fixed.layout-menu-fixed {
    padding-top: 0 !important;
    margin-top: 0 !important;
  }

  html.layout-navbar-fixed body.materialize-system,
  html.layout-menu-fixed body.materialize-system,
  body.materialize-system,
  body.tt-mobile-app {
    padding-top: 0 !important;
    margin-top: 0 !important;
  }

  body.materialize-system .layout-wrapper,
  body.materialize-system .layout-container,
  body.materialize-system .layout-page,
  body.materialize-system .content-wrapper,
  html.layout-navbar-fixed body.materialize-system .layout-wrapper,
  html.layout-navbar-fixed body.materialize-system .layout-container,
  html.layout-navbar-fixed body.materialize-system .layout-page,
  html.layout-navbar-fixed body.materialize-system .content-wrapper {
    padding-top: 0 !important;
    margin-top: 0 !important;
  }

  body.materialize-system #layout-navbar.layout-navbar.navbar-detached,
  html.layout-navbar-fixed body.materialize-system #layout-navbar.layout-navbar.navbar-detached,
  html.layout-navbar-fixed.layout-menu-fixed body.materialize-system #layout-navbar.layout-navbar.navbar-detached {
    position: relative !important;
    top: auto !important;
    left: auto !important;
    right: auto !important;
    inset-block-start: auto !important;
    inset-inline-start: auto !important;
    inset-inline-end: auto !important;
    width: 100% !important;
    inline-size: 100% !important;
    max-width: 100% !important;
    margin: 0 !important;
    border-radius: 0 !important;
    z-index: 20 !important;
  }

  body.materialize-system .content-wrapper,
  html.layout-navbar-fixed body.materialize-system .content-wrapper,
  body.materialize-system .layout-page .content-wrapper {
    padding-top: 0 !important;
  }

  body.materialize-system .tt-content-container,
  body.materialize-system .container-p-y.tt-content-container,
  body.materialize-system .container-xxl.tt-content-container {
    padding-top: .35rem !important;
  }

  body.materialize-system .tt-content-container > *:first-child,
  body.materialize-system .wrap:first-child,
  body.materialize-system .card:first-child,
  body.materialize-system .page-wrap:first-child,
  body.materialize-system .container-fluid:first-child,
  body.materialize-system .tt-dashboard-page:first-child {
    margin-top: 0 !important;
  }

  body.materialize-system .wrap {
    padding-top: 0 !important;
  }

  body.materialize-system > nav.navbar:not(#layout-navbar),
  body.tt-mobile-app > nav.navbar:not(#layout-navbar) {
    display: none !important;
    height: 0 !important;
    min-height: 0 !important;
    margin: 0 !important;
    padding: 0 !important;
    overflow: hidden !important;
  }
}

@media (max-width: 575.98px) {
  body.materialize-system .tt-content-container,
  body.materialize-system .container-p-y.tt-content-container,
  body.materialize-system .container-xxl.tt-content-container {
    padding-top: .25rem !important;
  }
}

/* === TT MOBILE MENU GRUDADO NO TOPO 2026-05-19 v2 ===
   Garante que o menu superior fique colado no topo do viewport mobile
   e que o conteudo acompanhe imediatamente abaixo dele, sem faixa branca. */
@media (max-width: 1199.98px) {
  html,
  html.layout-navbar-fixed,
  html.layout-menu-fixed,
  html.layout-navbar-fixed.layout-menu-fixed,
  body,
  body.materialize-system,
  body.tt-mobile-app,
  body.tt-mobile-app.materialize-system {
    margin-top: 0 !important;
    padding-top: 0 !important;
    scroll-padding-top: 0 !important;
  }

  body.materialize-system .layout-wrapper,
  body.materialize-system .layout-wrapper.layout-content-navbar,
  body.materialize-system .layout-container,
  body.materialize-system .layout-page,
  body.materialize-system .content-wrapper,
  html.layout-navbar-fixed body.materialize-system .layout-wrapper,
  html.layout-navbar-fixed body.materialize-system .layout-container,
  html.layout-navbar-fixed body.materialize-system .layout-page,
  html.layout-navbar-fixed body.materialize-system .content-wrapper {
    margin-top: 0 !important;
    margin-block-start: 0 !important;
    padding-top: 0 !important;
    padding-block-start: 0 !important;
    transform: none !important;
  }

  body.materialize-system .layout-wrapper::before,
  body.materialize-system .layout-container::before,
  body.materialize-system .layout-page::before,
  body.materialize-system .content-wrapper::before,
  body.materialize-system #layout-navbar::before {
    content: none !important;
    display: none !important;
    height: 0 !important;
    min-height: 0 !important;
    margin: 0 !important;
    padding: 0 !important;
  }

  body.materialize-system #layout-navbar.layout-navbar.navbar-detached,
  html.layout-navbar-fixed body.materialize-system #layout-navbar.layout-navbar.navbar-detached,
  html.layout-navbar-fixed.layout-menu-fixed body.materialize-system #layout-navbar.layout-navbar.navbar-detached {
    position: sticky !important;
    top: 0 !important;
    inset-block-start: 0 !important;
    left: 0 !important;
    right: 0 !important;
    inset-inline-start: 0 !important;
    inset-inline-end: 0 !important;
    width: 100% !important;
    inline-size: 100% !important;
    max-width: 100% !important;
    min-height: 3.2rem !important;
    height: auto !important;
    margin: 0 !important;
    margin-block-start: 0 !important;
    margin-inline: 0 !important;
    padding: .34rem .62rem !important;
    border-radius: 0 !important;
    z-index: 1140 !important;
    transform: none !important;
    box-shadow: 0 .18rem .75rem rgba(15,23,42,.10) !important;
  }

  body.materialize-system #layout-navbar .navbar-nav-right {
    width: 100% !important;
    min-height: 2.45rem !important;
    height: auto !important;
    gap: .45rem !important;
  }

  body.materialize-system #layout-navbar + .content-wrapper,
  body.materialize-system .layout-page > .content-wrapper,
  html.layout-navbar-fixed body.materialize-system #layout-navbar + .content-wrapper,
  html.layout-navbar-fixed body.materialize-system .layout-page > .content-wrapper {
    margin-top: 0 !important;
    margin-block-start: 0 !important;
    padding-top: 0 !important;
    padding-block-start: 0 !important;
  }

  body.materialize-system .tt-content-container,
  body.materialize-system .container-p-y.tt-content-container,
  body.materialize-system .container-xxl.tt-content-container,
  body.materialize-system .content-wrapper > .container-xxl,
  body.materialize-system .content-wrapper > .container-fluid {
    margin-top: 0 !important;
    margin-block-start: 0 !important;
    padding-top: .28rem !important;
    padding-block-start: .28rem !important;
  }

  body.materialize-system .tt-content-container > *:first-child,
  body.materialize-system .wrap > *:first-child,
  body.materialize-system .content-wrapper > *:first-child,
  body.materialize-system .container-fluid > *:first-child,
  body.materialize-system .container-xxl > *:first-child,
  body.materialize-system main > *:first-child {
    margin-top: 0 !important;
    margin-block-start: 0 !important;
  }

  body.materialize-system > nav.navbar:not(#layout-navbar),
  body.tt-mobile-app > nav.navbar:not(#layout-navbar),
  body.materialize-system .content-wrapper nav.navbar:not(#layout-navbar) {
    display: none !important;
    height: 0 !important;
    min-height: 0 !important;
    margin: 0 !important;
    padding: 0 !important;
    overflow: hidden !important;
  }
}

@media (max-width: 575.98px) {
  body.materialize-system #layout-navbar.layout-navbar.navbar-detached,
  html.layout-navbar-fixed body.materialize-system #layout-navbar.layout-navbar.navbar-detached,
  html.layout-navbar-fixed.layout-menu-fixed body.materialize-system #layout-navbar.layout-navbar.navbar-detached {
    min-height: 3.05rem !important;
    padding: .3rem .55rem !important;
  }

  body.materialize-system .tt-content-container,
  body.materialize-system .container-p-y.tt-content-container,
  body.materialize-system .container-xxl.tt-content-container,
  body.materialize-system .content-wrapper > .container-xxl,
  body.materialize-system .content-wrapper > .container-fluid {
    padding-top: .22rem !important;
    padding-block-start: .22rem !important;
  }
}

/* === TT MOBILE TOP GLUED FINAL 2026-05-19 v3 === */
@media (max-width: 1199.98px) {
  html.layout-navbar-fixed,
  html.layout-menu-fixed,
  html.layout-navbar-fixed.layout-menu-fixed,
  body.materialize-system,
  body.tt-mobile-app,
  body.tt-mobile-app.materialize-system { margin: 0 !important; padding: 0 !important; margin-top: 0 !important; padding-top: 0 !important; scroll-padding-top: 0 !important; }
  body.materialize-system .layout-wrapper,
  body.materialize-system .layout-wrapper.layout-content-navbar,
  body.materialize-system .layout-container,
  body.materialize-system .layout-page { margin: 0 !important; margin-top: 0 !important; padding: 0 !important; padding-top: 0 !important; transform: none !important; width: 100% !important; max-width: 100% !important; }
  body.materialize-system #layout-navbar.layout-navbar.navbar-detached,
  html.layout-navbar-fixed body.materialize-system #layout-navbar.layout-navbar.navbar-detached,
  html.layout-navbar-fixed.layout-menu-fixed body.materialize-system #layout-navbar.layout-navbar.navbar-detached { position: fixed !important; inset: 0 0 auto 0 !important; top: 0 !important; right: 0 !important; bottom: auto !important; left: 0 !important; inset-block-start: 0 !important; inset-inline-start: 0 !important; inset-inline-end: 0 !important; width: 100% !important; inline-size: 100% !important; max-width: 100% !important; min-height: 56px !important; height: 56px !important; margin: 0 !important; margin-block: 0 !important; margin-inline: 0 !important; padding: 8px 12px !important; border-radius: 0 !important; z-index: 1200 !important; transform: translate3d(0,0,0) !important; box-shadow: 0 .25rem .9rem rgba(15,23,42,.10) !important; }
  body.materialize-system #layout-navbar .navbar-nav-right { width: 100% !important; min-height: 40px !important; height: 40px !important; gap: .45rem !important; }
  body.materialize-system .content-wrapper,
  html.layout-navbar-fixed body.materialize-system .content-wrapper,
  body.materialize-system .layout-page > .content-wrapper { margin: 0 !important; margin-top: 0 !important; padding-top: 56px !important; transform: none !important; width: 100% !important; max-width: 100% !important; }
  body.materialize-system .tt-content-container,
  body.materialize-system .container-p-y.tt-content-container,
  body.materialize-system .container-xxl.tt-content-container,
  body.materialize-system .content-wrapper > .container-xxl,
  body.materialize-system .content-wrapper > .container-fluid { margin-top: 0 !important; padding-top: 8px !important; padding-block-start: 8px !important; }
  body.materialize-system .tt-content-container > *:first-child,
  body.materialize-system .wrap > *:first-child,
  body.materialize-system .content-wrapper > *:first-child,
  body.materialize-system .container-fluid > *:first-child,
  body.materialize-system .container-xxl > *:first-child,
  body.materialize-system main > *:first-child { margin-top: 0 !important; margin-block-start: 0 !important; }
  body.materialize-system .menu-mobile-toggler { display: none !important; height: 0 !important; min-height: 0 !important; margin: 0 !important; padding: 0 !important; overflow: hidden !important; }
  body.materialize-system #layout-menu.layout-menu.menu-vertical { top: 0 !important; bottom: 0 !important; inset-block: 0 !important; height: 100dvh !important; }
  body.materialize-system > nav.navbar:not(#layout-navbar),
  body.tt-mobile-app > nav.navbar:not(#layout-navbar),
  body.materialize-system .content-wrapper nav.navbar:not(#layout-navbar) { display: none !important; height: 0 !important; min-height: 0 !important; margin: 0 !important; padding: 0 !important; overflow: hidden !important; }
}
@media (max-width: 575.98px) {
  body.materialize-system #layout-navbar.layout-navbar.navbar-detached,
  html.layout-navbar-fixed body.materialize-system #layout-navbar.layout-navbar.navbar-detached,
  html.layout-navbar-fixed.layout-menu-fixed body.materialize-system #layout-navbar.layout-navbar.navbar-detached { min-height: 54px !important; height: 54px !important; padding: 7px 10px !important; }
  body.materialize-system #layout-navbar .navbar-nav-right { min-height: 40px !important; height: 40px !important; }
  body.materialize-system .content-wrapper,
  html.layout-navbar-fixed body.materialize-system .content-wrapper,
  body.materialize-system .layout-page > .content-wrapper { padding-top: 54px !important; }
  body.materialize-system .tt-content-container,
  body.materialize-system .container-p-y.tt-content-container,
  body.materialize-system .container-xxl.tt-content-container,
  body.materialize-system .content-wrapper > .container-xxl,
  body.materialize-system .content-wrapper > .container-fluid { padding-top: 6px !important; padding-block-start: 6px !important; }
}
