:root {
  --app-bg: #f4f7fb;
  --app-bg-accent: radial-gradient(circle at top left, rgba(52, 211, 153, 0.18), transparent 30%), radial-gradient(circle at top right, rgba(59, 130, 246, 0.14), transparent 35%), linear-gradient(180deg, #f8fbff 0%, #eef3f8 100%);
  --app-surface: rgba(255, 255, 255, 0.92);
  --app-surface-strong: rgba(255, 255, 255, 0.98);
  --app-border: rgba(148, 163, 184, 0.16);
  --app-shadow: 0 22px 60px rgba(15, 23, 42, 0.1);
  --app-shadow-soft: 0 12px 32px rgba(15, 23, 42, 0.07);
  --app-text: #0f172a;
  --app-text-soft: #5b6b82;
  --app-primary: linear-gradient(135deg, #2563eb 0%, #14b8a6 100%);
  --app-primary-solid: #2563eb;
  --app-primary-soft: rgba(37, 99, 235, 0.1);
  --app-success-soft: rgba(16, 185, 129, 0.14);
  --app-danger-soft: rgba(239, 68, 68, 0.14);
  --app-warning-soft: rgba(245, 158, 11, 0.14);
}

.dark {
  --app-bg: #07111f;
  --app-bg-accent: radial-gradient(circle at top left, rgba(20, 184, 166, 0.18), transparent 30%), radial-gradient(circle at top right, rgba(59, 130, 246, 0.12), transparent 35%), linear-gradient(180deg, #08111f 0%, #0d1727 100%);
  --app-surface: rgba(8, 15, 28, 0.76);
  --app-surface-strong: rgba(10, 18, 33, 0.88);
  --app-border: rgba(148, 163, 184, 0.12);
  --app-shadow: 0 24px 64px rgba(2, 6, 23, 0.48);
  --app-shadow-soft: 0 12px 34px rgba(2, 6, 23, 0.34);
  --app-text: #e5eefc;
  --app-text-soft: #9db0ca;
  --app-primary-soft: rgba(96, 165, 250, 0.12);
  --app-success-soft: rgba(16, 185, 129, 0.18);
  --app-danger-soft: rgba(239, 68, 68, 0.2);
  --app-warning-soft: rgba(245, 158, 11, 0.18);
}

html,
body {
  min-height: 100%;
  overflow-x: hidden;
  background: var(--app-bg-accent);
}

body {
  background: var(--app-bg-accent);
  color: var(--app-text);
  min-height: 100vh;
  height: auto;
}

body,
.app-main-shell,
#scrollable_content,
main,
.kt-container-fixed {
  min-width: 0;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  background:
    linear-gradient(90deg, rgba(255, 255, 255, 0.03) 1px, transparent 1px),
    linear-gradient(rgba(255, 255, 255, 0.03) 1px, transparent 1px);
  background-size: 32px 32px;
  mask-image: linear-gradient(180deg, rgba(0, 0, 0, 0.35), transparent 85%);
  opacity: 0.24;
}

.app-mobile-header {
  background: rgba(7, 17, 31, 0.64);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(148, 163, 184, 0.16);
}

.light .app-mobile-header {
  background: rgba(255, 255, 255, 0.76);
}

.app-mobile-header .kt-btn {
  border-radius: 16px;
}

.app-mobile-header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  width: 100%;
}

.app-mobile-header-spacer {
  width: 42px;
  height: 42px;
  flex-shrink: 0;
}

#sidebar {
  margin: 18px;
  border: 1px solid var(--app-border);
  border-radius: 24px;
  background: linear-gradient(180deg, rgba(15, 23, 42, 0.98) 0%, rgba(9, 16, 29, 0.94) 100%);
  box-shadow: var(--app-shadow);
}

.light #sidebar {
  background: linear-gradient(180deg, rgba(14, 23, 40, 0.96) 0%, rgba(30, 41, 59, 0.94) 100%);
}

#sidebar::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: radial-gradient(circle at top, rgba(56, 189, 248, 0.22), transparent 35%);
  pointer-events: none;
}

#sidebar_header,
#sidebar_footer,
#sidebar_menu {
  position: relative;
  z-index: 1;
}

.app-mobile-brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
}

.app-mobile-brand-badge {
  width: 36px;
  height: 36px;
  border-radius: 12px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #f8fafc;
  background: linear-gradient(135deg, rgba(37, 99, 235, 0.9), rgba(20, 184, 166, 0.82));
  box-shadow: 0 10px 24px rgba(37, 99, 235, 0.24);
}

.app-mobile-brand-text {
  color: #f8fafc;
  font-weight: 800;
  font-size: 1rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.app-sidebar-brand {
  display: flex;
  align-items: center;
  gap: 14px;
  width: calc(100% - 28px);
  padding: 18px 18px 16px;
  margin: 18px 14px 0;
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.08);
  text-decoration: none;
  transition: transform 0.2s ease, border-color 0.2s ease, background 0.2s ease;
}

.app-sidebar-brand:hover {
  transform: translateY(-1px);
  border-color: rgba(96, 165, 250, 0.2);
  background: rgba(255, 255, 255, 0.08);
}

.app-sidebar-logo-wrap {
  width: 56px;
  height: 56px;
  border-radius: 20px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(145deg, rgba(37, 99, 235, 0.24), rgba(20, 184, 166, 0.18));
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.08), 0 14px 30px rgba(37, 99, 235, 0.14);
  flex-shrink: 0;
}

.app-sidebar-logo-mark {
  width: 42px;
  height: 42px;
  border-radius: 15px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, rgba(37, 99, 235, 0.95), rgba(20, 184, 166, 0.88));
  color: #ffffff;
  font-size: 1.05rem;
  box-shadow: 0 12px 24px rgba(37, 99, 235, 0.26);
}

.app-sidebar-brand-text {
  display: flex;
  flex-direction: column;
  gap: 5px;
  min-width: 0;
}

.app-sidebar-brand-text strong {
  color: #f8fafc;
  font-size: 1rem;
  line-height: 1.1;
  letter-spacing: 0.02em;
  text-transform: uppercase;
}

.app-section-label {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 0 18px 10px;
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  color: rgba(191, 219, 254, 0.72);
}

.app-section-label::before {
  content: "";
  width: 8px;
  height: 8px;
  border-radius: 999px;
  background: linear-gradient(135deg, #38bdf8, #14b8a6);
  box-shadow: 0 0 0 5px rgba(56, 189, 248, 0.1);
}

.app-menu-stack {
  gap: 10px;
  padding: 0 14px;
}

.app-menu-link {
  min-height: 52px;
  border-radius: 16px;
  padding: 12px 14px;
  color: rgba(226, 232, 240, 0.86);
  background: transparent;
  border: 1px solid transparent;
  transition: transform 0.2s ease, border-color 0.2s ease, background 0.2s ease, box-shadow 0.2s ease;
}

.app-menu-link:hover {
  transform: translateX(4px);
  color: #fff;
  border-color: rgba(96, 165, 250, 0.22);
  background: rgba(255, 255, 255, 0.06);
}

.kt-menu-item.active > .app-menu-link {
  color: #fff;
  border-color: rgba(110, 231, 183, 0.2);
  background: linear-gradient(135deg, rgba(37, 99, 235, 0.28), rgba(20, 184, 166, 0.24));
  box-shadow: 0 18px 35px rgba(2, 6, 23, 0.18);
}

.app-menu-link .kt-menu-icon {
  width: 38px;
  height: 38px;
  border-radius: 14px;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.08);
  color: #dbeafe;
}

.kt-menu-item.active > .app-menu-link .kt-menu-icon {
  background: rgba(255, 255, 255, 0.14);
  color: #fff;
}

.app-menu-link .kt-menu-title {
  color: inherit;
  letter-spacing: -0.01em;
}

.app-menu-link-parent {
  cursor: pointer;
  margin-bottom: 0;
  list-style: none;
}

.app-menu-link-parent::-webkit-details-marker {
  display: none;
}

.app-menu-accordion {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.app-menu-accordion > summary {
  display: flex;
  align-items: center;
}

.app-menu-accordion > summary::-webkit-details-marker {
  display: none;
}

.app-submenu-stack {
  display: none;
  flex-direction: column;
  gap: 8px;
  padding: 2px 0 0 18px;
}

.app-menu-accordion[open] > .app-submenu-stack {
  display: flex;
}

.app-submenu-stack .kt-menu-item {
  width: 100%;
}

.app-submenu-link {
  display: flex;
  align-items: center;
  width: 100%;
  box-sizing: border-box;
  min-height: 42px;
  border-radius: 14px;
  padding: 10px 14px;
  color: rgba(226, 232, 240, 0.8);
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid transparent;
  text-decoration: none;
}

.app-submenu-link:hover {
  transform: translateX(4px);
  color: #fff;
  border-color: rgba(96, 165, 250, 0.18);
  background: rgba(255, 255, 255, 0.06);
}

.kt-menu-item.active > .app-submenu-link {
  color: #fff;
  border-color: rgba(110, 231, 183, 0.16);
  background: linear-gradient(135deg, rgba(37, 99, 235, 0.18), rgba(20, 184, 166, 0.18));
}

.app-submenu-dot {
  width: 9px;
  height: 9px;
  border-radius: 999px;
  background: linear-gradient(135deg, #22c55e, #14b8a6);
  box-shadow: 0 0 0 4px rgba(34, 197, 94, 0.1);
  flex: 0 0 auto;
}

.app-menu-caret {
  margin-left: auto;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: rgba(226, 232, 240, 0.7);
  transition: transform 0.2s ease, color 0.2s ease;
}

.app-menu-accordion[open] .app-menu-caret {
  transform: rotate(90deg);
  color: #fff;
}

.app-user-card {
  display: flex;
  align-items: center;
  gap: 12px;
  width: 100%;
  padding: 14px;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.app-user-avatar {
  width: 44px;
  height: 44px;
  border-radius: 16px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, #3b82f6, #14b8a6);
  color: #fff;
  font-weight: 700;
  box-shadow: 0 12px 24px rgba(37, 99, 235, 0.26);
}

.app-user-copy {
  display: flex;
  flex-direction: column;
  gap: 4px;
  min-width: 0;
}

.app-user-copy strong {
  color: #f8fafc;
  font-size: 0.92rem;
}

.app-user-copy span {
  color: rgba(226, 232, 240, 0.68);
  font-size: 0.78rem;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.app-user-card .kt-badge {
  margin-left: auto;
  background: rgba(255, 255, 255, 0.08);
  color: #e2e8f0;
  border-color: rgba(255, 255, 255, 0.12);
}

.app-sidebar-actions {
  display: flex;
  gap: 10px;
  width: 100%;
}

.app-sidebar-actions .kt-btn {
  flex: 1;
}

.app-main-shell {
  position: relative;
  margin: 18px 18px 18px 0;
  border-radius: 24px 0 0 24px;
  background: transparent;
  border: 0;
  min-height: calc(100vh - 36px);
}

#scrollable_content {
  min-height: 100%;
}

.app-topbar {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 20px;
  padding: 16px 18px;
  margin-bottom: 20px;
  border-radius: 24px;
  background: var(--app-surface);
  backdrop-filter: blur(24px);
  border: 1px solid var(--app-border);
  box-shadow: var(--app-shadow-soft);
  position: relative;
  overflow: hidden;
}

.app-topbar::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    radial-gradient(circle at 10% 0%, rgba(59, 130, 246, 0.18), transparent 24%),
    radial-gradient(circle at 100% 0%, rgba(20, 184, 166, 0.14), transparent 28%);
}

.app-topbar-copy {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.app-topbar-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.app-kicker {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--app-text-soft);
}

.app-kicker::before {
  content: "";
  width: 9px;
  height: 9px;
  border-radius: 999px;
  background: linear-gradient(135deg, #14b8a6, #2563eb);
  box-shadow: 0 0 0 6px rgba(37, 99, 235, 0.08);
}

.app-title-row {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
}

.app-title-row h1 {
  margin: 0;
  font-size: clamp(1.5rem, 2vw, 2.2rem);
  line-height: 1.05;
  letter-spacing: -0.04em;
  color: var(--app-text);
}

.app-page-tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 9px 14px;
  border-radius: 999px;
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--app-primary-solid);
  background: var(--app-primary-soft);
}

.dark .app-page-tag {
  color: #93c5fd;
}

.app-toolbar-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.app-stat-chip {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-height: 44px;
  padding: 9px 12px;
  border-radius: 16px;
  background: var(--app-surface-strong);
  border: 1px solid var(--app-border);
  color: var(--app-text-soft);
}

.app-stat-chip i {
  width: 32px;
  height: 32px;
  border-radius: 12px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--app-primary-soft);
  color: var(--app-primary-solid);
}

.app-stat-chip strong {
  display: block;
  color: var(--app-text);
  font-size: 0.95rem;
}

.app-stat-chip-wa {
  background: linear-gradient(135deg, rgba(37, 211, 102, 0.18), rgba(20, 184, 166, 0.14));
  border-color: rgba(37, 211, 102, 0.22);
}

.app-stat-chip-wa i {
  background: rgba(37, 211, 102, 0.16);
  color: #16a34a;
}

.app-topbar-actions {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
  justify-content: flex-end;
}

.app-topbar-actions .kt-btn {
  min-height: 48px;
}

.app-topbar-actions-compact {
  gap: 8px;
  flex-wrap: nowrap;
  margin-left: auto;
}

.app-topbar-actions-compact .kt-btn {
  min-height: 34px;
  width: 34px;
  border-radius: 10px;
  padding: 0;
}

.app-topbar-actions-compact .kt-btn i {
  font-size: 0.9rem;
}

.app-content-grid {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.app-whatsapp-hero {
  position: relative;
  overflow: hidden;
  border-color: rgba(37, 211, 102, 0.18);
  background:
    radial-gradient(circle at top right, rgba(37, 211, 102, 0.16), transparent 30%),
    radial-gradient(circle at bottom left, rgba(20, 184, 166, 0.14), transparent 35%),
    var(--app-surface);
}

.app-whatsapp-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(37, 211, 102, 0.05), transparent 42%);
  pointer-events: none;
}

.app-highlights-card {
  background:
    linear-gradient(180deg, rgba(8, 15, 28, 0.08), rgba(8, 15, 28, 0.02)),
    var(--app-surface);
}

.dark .app-highlights-card {
  background:
    linear-gradient(180deg, rgba(15, 23, 42, 0.24), rgba(8, 15, 28, 0.08)),
    var(--app-surface);
}

.app-metric-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 8px;
  padding: 11px 13px;
  border-radius: 16px;
  border: 1px solid rgba(148, 163, 184, 0.08);
  background: rgba(255, 255, 255, 0.03);
}

.app-quick-actions-card .kt-card-content {
  gap: 12px;
}

.app-quick-action-item {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 13px;
  border-radius: 16px;
  border: 1px solid rgba(148, 163, 184, 0.08);
  background: rgba(255, 255, 255, 0.03);
  transition: transform 0.18s ease, border-color 0.18s ease, background 0.18s ease;
}

.app-quick-action-item:hover {
  transform: translateY(-2px);
  border-color: rgba(96, 165, 250, 0.18);
  background: rgba(255, 255, 255, 0.05);
}

.app-quick-action-icon {
  width: 44px;
  height: 44px;
  border-radius: 16px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.app-admin-stat-card {
  position: relative;
  overflow: hidden;
}

.app-admin-stat-card::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(135deg, rgba(59, 130, 246, 0.08), transparent 45%);
}

.app-whatsapp-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 9px 14px;
  border-radius: 999px;
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #15803d;
  background: rgba(37, 211, 102, 0.14);
  border: 1px solid rgba(37, 211, 102, 0.22);
}

.dark .app-whatsapp-badge {
  color: #86efac;
  background: rgba(37, 211, 102, 0.12);
}

.kt-card {
  border: 1px solid var(--app-border);
  background: var(--app-surface);
  backdrop-filter: blur(18px);
  border-radius: 24px;
  box-shadow: var(--app-shadow-soft);
  overflow: hidden;
}

.kt-card-header,
.kt-card-footer {
  padding-inline: 20px;
  border-color: var(--app-border);
}

.kt-card-content {
  padding: 20px;
}

.kt-card-title {
  color: var(--app-text);
  font-size: 1rem;
}

.kt-btn {
  min-height: 44px;
  border-radius: 14px;
  padding: 0 16px;
  border: 1px solid transparent;
  box-shadow: none;
  transition: transform 0.18s ease, box-shadow 0.2s ease, border-color 0.2s ease, background-color 0.2s ease;
}

.kt-btn:hover {
  transform: translateY(-1px);
}

.kt-btn-primary,
.kt-btn:not(.kt-btn-outline):not(.kt-btn-ghost):not(.kt-btn-dim):not(.kt-btn-secondary):not(.kt-btn-light):not(.kt-btn-mono):not(.kt-btn-destructive) {
  background: var(--app-primary);
  color: #fff;
  box-shadow: 0 10px 24px rgba(37, 99, 235, 0.16);
}

.kt-btn-whatsapp {
  background: linear-gradient(135deg, #25d366 0%, #16a34a 100%);
  color: #fff;
  border-color: rgba(37, 211, 102, 0.3);
  box-shadow: 0 10px 24px rgba(37, 211, 102, 0.18);
}

.kt-btn-whatsapp:hover {
  color: #fff;
  border-color: rgba(37, 211, 102, 0.4);
}

.kt-btn-outline,
.kt-btn-secondary,
.kt-btn-dim,
.kt-btn-ghost {
  background: var(--app-surface-strong);
  border-color: var(--app-border);
  color: var(--app-text-soft);
}

.kt-btn-outline:hover,
.kt-btn-secondary:hover,
.kt-btn-dim:hover,
.kt-btn-ghost:hover {
  color: var(--app-text);
  border-color: rgba(37, 99, 235, 0.24);
}

.kt-btn-icon {
  width: 46px;
  padding: 0;
}

.kt-btn-sm {
  min-height: 38px;
  border-radius: 12px;
}

.kt-table th {
  color: var(--app-text-soft);
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
}

.kt-table td,
.kt-table th {
  border-color: var(--app-border);
}

.kt-table tbody tr {
  transition: background-color 0.2s ease;
}

.kt-table tbody tr:hover {
  background: rgba(37, 99, 235, 0.04);
}

.dark .kt-table tbody tr:hover {
  background: rgba(96, 165, 250, 0.05);
}

.kt-dropdown-menu,
#notifications_drawer {
  border-radius: 24px;
  border: 1px solid var(--app-border);
  background: var(--app-surface-strong);
  box-shadow: var(--app-shadow);
  backdrop-filter: blur(24px);
}

.kt-input,
input:not([type="checkbox"]):not([type="radio"]),
select,
textarea {
  border-radius: 16px;
  min-height: 44px;
}

.footer {
  margin-top: 18px;
  padding-bottom: 8px;
}

.footer .kt-container-fixed {
  border-radius: 22px;
  background: var(--app-surface);
  border: 1px solid var(--app-border);
  backdrop-filter: blur(24px);
}

.app-login-shell {
  position: relative;
  min-height: 100vh;
  overflow: hidden;
  background: radial-gradient(circle at top left, rgba(20, 184, 166, 0.22), transparent 28%), radial-gradient(circle at top right, rgba(37, 99, 235, 0.22), transparent 32%), linear-gradient(160deg, #06111f 0%, #08172a 48%, #0a1f37 100%);
}

.app-login-shell::before,
.app-login-shell::after {
  content: "";
  position: absolute;
  border-radius: 999px;
  filter: blur(24px);
  opacity: 0.65;
}

.app-login-shell::before {
  width: 320px;
  height: 320px;
  top: -80px;
  right: -80px;
  background: rgba(20, 184, 166, 0.32);
}

.app-login-shell::after {
  width: 260px;
  height: 260px;
  bottom: 8%;
  left: -100px;
  background: rgba(37, 99, 235, 0.3);
}

.app-auth-link {
  color: #8ec5ff;
  text-decoration: none;
}

.app-auth-link:hover {
  color: #d8ebff;
}

@media (max-width: 1279px) {
  #sidebar {
    margin: 0;
    border-radius: 0;
    height: 100%;
  }

  .app-main-shell {
    margin: 0;
    border-radius: 0;
    min-height: 100vh;
  }
}

@media (max-width: 991px) {
  body {
    background-attachment: scroll;
  }

  .kt-container-fixed {
    padding-inline: 14px;
  }

  .app-topbar {
    flex-direction: column;
    align-items: stretch;
    gap: 14px;
  }

  .app-topbar-head {
    align-items: flex-start;
  }

  .app-topbar-actions-compact {
    margin-left: 0;
  }

  .app-main-shell {
    margin: 0;
    border-radius: 0;
    min-height: 100vh;
  }

  #sidebar_footer {
    gap: 10px;
    padding-inline: 14px;
    padding-bottom: 14px;
  }

  .app-sidebar-actions {
    flex-direction: column;
  }
}

@media (max-width: 767px) {
  #sidebar_menu {
    margin-block: 12px;
  }

  #sidebar_footer {
    gap: 8px;
    padding-inline: 12px;
    padding-bottom: 12px;
  }

  .kt-card,
  .app-topbar,
  .footer .kt-container-fixed {
    border-radius: 18px;
  }

  .footer {
    margin-top: 12px;
    padding-bottom: 0;
  }

  .footer .kt-container-fixed {
    overflow: hidden;
  }

  .app-toolbar-meta,
  .app-topbar-actions {
    width: 100%;
  }

  .app-stat-chip {
    width: 100%;
    justify-content: flex-start;
  }

  .app-topbar,
  .kt-card-content,
  .kt-card-header,
  .kt-card-footer,
  .footer .kt-container-fixed {
    padding-inline: 14px;
  }

  .kt-card-content {
    padding-block: 14px;
  }

  .app-metric-row,
  .app-quick-action-item {
    padding: 11px 12px;
  }

  .app-quick-action-icon {
    width: 40px;
    height: 40px;
    border-radius: 14px;
  }

  .kt-btn,
  .kt-btn-sm,
  .kt-btn-icon {
    min-height: 42px;
  }

  .kt-btn-icon {
    width: 42px;
  }

  .kt-table th,
  .kt-table td {
    white-space: nowrap;
    font-size: 0.8rem;
  }

  .kt-table td {
    padding-block: 10px;
  }

  .kt-card-table .kt-scrollable-x-auto {
    margin-inline: -6px;
    padding-inline: 6px;
  }

  .kt-dropdown-menu,
  #notifications_drawer {
    border-radius: 18px;
  }

  #notifications_drawer {
    top: 10px;
    bottom: 10px;
    right: 10px;
    width: calc(100vw - 20px);
    max-width: calc(100vw - 20px);
  }

  .app-mobile-brand-text {
    font-size: 0.92rem;
    letter-spacing: 0.08em;
  }

  .app-title-row h1 {
    font-size: 1.35rem;
  }

  .app-page-tag,
  .app-whatsapp-badge {
    font-size: 0.72rem;
    padding: 8px 12px;
  }

  .app-toolbar-meta,
  .app-topbar-actions {
    width: 100%;
  }

  .app-topbar-head {
    align-items: center;
  }

  .app-topbar-actions-compact {
    width: auto;
    flex: 0 0 auto;
  }

  .app-topbar-actions-compact .kt-btn {
    width: 38px;
  }

  .app-user-card {
    gap: 10px;
    padding: 10px 12px;
    border-radius: 16px;
  }

  .app-user-avatar {
    width: 40px;
    height: 40px;
    border-radius: 14px;
  }

  .app-user-copy {
    gap: 2px;
  }

  .app-user-card .kt-badge,
  .app-user-copy span,
  .app-sidebar-footer-note {
    display: none;
  }

  .app-sidebar-actions {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
    width: 100%;
  }

  .app-sidebar-actions .kt-btn {
    min-height: 36px;
    padding-inline: 10px;
    border-radius: 12px;
    font-size: 0.78rem;
    line-height: 1.1;
  }

  .app-sidebar-actions .kt-btn i {
    font-size: 0.95rem;
  }

  .app-user-copy span {
    max-width: 150px;
  }
}
