:root {
  --demo-navy: #162044;
  --demo-green: #36a269;
  --demo-border: rgba(22, 32, 68, 0.14);
  --demo-surface: #f6f8fb;
  --demo-danger: #c84747;
}

.demo-command-bar {
  position: sticky;
  top: 58px;
  z-index: 70;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 8px;
  max-width: none;
  border-bottom: 1px solid rgba(15, 23, 42, 0.08);
  background: rgba(248, 250, 252, 0.94);
  padding: 10px 14px;
  backdrop-filter: blur(14px);
}

.demo-command-label {
  color: #64748b;
  font-size: 11px;
  font-weight: 900;
  text-transform: uppercase;
}

.demo-command-bar button,
.demo-action,
.demo-modal button,
.demo-panel button {
  min-height: 38px;
  border-radius: 8px;
  border: 1px solid var(--demo-border);
  background: #fff;
  color: var(--demo-navy);
  padding: 0 12px;
  font-size: 12px;
  font-weight: 700;
  line-height: 1;
  box-shadow: 0 10px 24px rgba(22, 32, 68, 0.1);
  cursor: pointer;
}

.demo-command-bar button:first-child,
.demo-action-primary,
.demo-modal .demo-action-primary,
.demo-panel .demo-action-primary {
  border-color: var(--demo-navy);
  background: var(--demo-navy);
  color: #fff;
}

.demo-command-bar button:hover,
.demo-action:hover,
.demo-modal button:hover,
.demo-panel button:hover {
  transform: translateY(-1px);
}

.demo-toast-stack {
  position: fixed;
  right: 18px;
  top: 82px;
  z-index: 120;
  display: grid;
  gap: 8px;
  max-width: min(360px, calc(100vw - 32px));
}

.demo-toast {
  border: 1px solid rgba(54, 162, 105, 0.25);
  border-left: 4px solid var(--demo-green);
  border-radius: 8px;
  background: #fff;
  color: var(--demo-navy);
  padding: 12px 14px;
  box-shadow: 0 18px 34px rgba(22, 32, 68, 0.14);
  font-size: 13px;
  font-weight: 600;
}

.demo-modal-backdrop {
  position: fixed;
  inset: 0;
  z-index: 110;
  display: none;
  align-items: center;
  justify-content: center;
  background: rgba(12, 17, 36, 0.56);
  padding: 18px;
}

.demo-modal-backdrop.is-open {
  display: none;
}

.demo-inline-workspace {
  margin-bottom: 16px;
  overflow: hidden;
  border: 1px solid rgba(15, 23, 42, 0.1);
  border-radius: 8px;
  background: #fff;
}

.demo-inline-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  border-bottom: 1px solid rgba(15, 23, 42, 0.08);
  padding: 14px;
}

.demo-inline-head h3 {
  margin: 2px 0 0;
  color: var(--demo-navy);
  font-size: 18px;
  font-weight: 900;
}

.demo-inline-body {
  padding: 14px;
}

.demo-modal {
  width: min(760px, 100%);
  max-height: min(720px, calc(100vh - 36px));
  overflow: auto;
  border-radius: 8px;
  border: 1px solid rgba(255, 255, 255, 0.22);
  background: #fff;
  color: var(--demo-navy);
  box-shadow: 0 28px 70px rgba(0, 0, 0, 0.32);
}

.demo-modal-header,
.demo-modal-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 16px 18px;
  border-bottom: 1px solid var(--demo-border);
}

.demo-modal-footer {
  justify-content: flex-end;
  border-top: 1px solid var(--demo-border);
  border-bottom: 0;
}

.demo-modal-title {
  margin: 0;
  font-size: 18px;
  font-weight: 800;
}

.demo-modal-body {
  padding: 18px;
}

.demo-x {
  width: 36px;
  min-width: 36px;
  padding: 0;
  font-size: 18px;
}

.demo-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
}

.demo-grid-2 {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.demo-card {
  border: 1px solid var(--demo-border);
  border-radius: 8px;
  background: #fff;
  padding: 14px;
  box-shadow: 0 8px 20px rgba(22, 32, 68, 0.06);
}

.demo-card-k {
  color: #66708a;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.demo-card-v {
  margin-top: 4px;
  color: var(--demo-navy);
  font-size: 22px;
  font-weight: 900;
}

.demo-map {
  position: relative;
  min-height: 280px;
  overflow: hidden;
  border: 1px solid var(--demo-border);
  border-radius: 8px;
  background:
    linear-gradient(90deg, rgba(22, 32, 68, 0.08) 1px, transparent 1px) 0 0 / 64px 64px,
    linear-gradient(0deg, rgba(22, 32, 68, 0.08) 1px, transparent 1px) 0 0 / 64px 64px,
    radial-gradient(circle at 20% 30%, rgba(54, 162, 105, 0.28), transparent 24%),
    radial-gradient(circle at 74% 62%, rgba(200, 71, 71, 0.22), transparent 20%),
    #eef4f3;
}

.demo-map-route {
  position: absolute;
  left: 12%;
  top: 48%;
  width: 76%;
  height: 4px;
  border-radius: 999px;
  background: var(--demo-green);
  transform: rotate(-8deg);
  transform-origin: left center;
  box-shadow: 0 0 0 6px rgba(54, 162, 105, 0.14);
}

.demo-map-pin {
  position: absolute;
  z-index: 1;
  width: 18px;
  height: 18px;
  border: 3px solid #fff;
  border-radius: 50%;
  background: var(--demo-green);
  box-shadow: 0 8px 18px rgba(22, 32, 68, 0.24);
}

.demo-map-pin-a {
  left: 18%;
  top: 41%;
}

.demo-map-pin-b {
  left: 52%;
  top: 34%;
}

.demo-map-pin-c {
  left: 78%;
  top: 54%;
  background: var(--demo-danger);
}

.demo-table-wrap {
  overflow: auto;
  border: 1px solid var(--demo-border);
  border-radius: 8px;
  background: #fff;
}

.demo-table {
  width: 100%;
  border-collapse: collapse;
  min-width: 650px;
  font-size: 12px;
}

.demo-table th,
.demo-table td {
  border-bottom: 1px solid var(--demo-border);
  padding: 10px 12px;
  text-align: left;
  vertical-align: middle;
}

.demo-table th {
  background: var(--demo-surface);
  color: #66708a;
  font-size: 10px;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.demo-badge {
  display: inline-flex;
  align-items: center;
  min-height: 22px;
  border-radius: 999px;
  background: rgba(54, 162, 105, 0.13);
  color: var(--demo-green);
  padding: 0 8px;
  font-size: 10px;
  font-weight: 800;
  white-space: nowrap;
}

.demo-badge-danger {
  background: rgba(200, 71, 71, 0.13);
  color: var(--demo-danger);
}

.demo-badge-warn {
  background: rgba(226, 156, 40, 0.14);
  color: #996314;
}

.demo-form {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
}

.demo-form label {
  display: grid;
  gap: 5px;
  color: #66708a;
  font-size: 11px;
  font-weight: 800;
}

.demo-form input,
.demo-form select {
  height: 38px;
  border: 1px solid var(--demo-border);
  border-radius: 8px;
  background: #fff;
  color: var(--demo-navy);
  padding: 0 10px;
  font-size: 13px;
  font-weight: 700;
}

.demo-live-dot {
  display: inline-block;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--demo-green);
  box-shadow: 0 0 0 0 rgba(54, 162, 105, 0.5);
  animation: demoPulse 1.6s infinite;
}

.demo-mobile-nav {
  position: fixed;
  inset: 0;
  z-index: 95;
  display: none;
  background: rgba(12, 17, 36, 0.5);
}

.demo-mobile-nav.is-open {
  display: block;
}

.demo-mobile-nav-panel {
  position: absolute;
  top: 0;
  right: 0;
  display: grid;
  gap: 8px;
  width: min(330px, 92vw);
  height: 100%;
  overflow: auto;
  background: #fff;
  padding: 18px;
  box-shadow: -18px 0 50px rgba(0, 0, 0, 0.22);
}

.demo-mobile-nav-panel button {
  min-height: 42px;
  border-radius: 8px;
  background: var(--demo-surface);
  color: var(--demo-navy);
  padding: 0 12px;
  text-align: left;
  font-size: 13px;
  font-weight: 800;
}

@keyframes demoPulse {
  70% {
    box-shadow: 0 0 0 10px rgba(54, 162, 105, 0);
  }
  100% {
    box-shadow: 0 0 0 0 rgba(54, 162, 105, 0);
  }
}

@media (max-width: 900px) {
  .demo-grid,
  .demo-grid-2,
  .demo-form {
    grid-template-columns: 1fr;
  }

  .demo-command-bar {
    left: 12px;
    right: 12px;
    bottom: 12px;
  }

  .demo-command-bar button {
    flex: 1 1 auto;
  }
}

/* Final premium overrides */
body.deixa-minimal-body .simple-shell {
  grid-template-columns: 236px minmax(0, 1fr) !important;
  background:
    linear-gradient(180deg, rgba(54, 162, 105, 0.09), rgba(54, 162, 105, 0) 300px),
    #0b1020 !important;
  color: #e5e7eb !important;
}

body.deixa-minimal-body .simple-main {
  padding: 28px 30px !important;
}

body.deixa-minimal-body .simple-topline h1,
body.deixa-minimal-body .simple-panel-head h2,
body.deixa-minimal-body .simple-stat strong {
  color: #fff !important;
}

body.deixa-minimal-body .simple-topline h1 {
  font-size: clamp(30px, 4vw, 52px) !important;
}

body.deixa-minimal-body .simple-sidebar {
  background: #0b1020 !important;
  border-right-color: rgba(255, 255, 255, 0.08) !important;
}

body.deixa-minimal-body .simple-sidebar button {
  border-radius: 6px !important;
  background: transparent !important;
  color: #a7b0c0 !important;
}

body.deixa-minimal-body .simple-sidebar button.is-active {
  border-color: rgba(54, 162, 105, 0.32) !important;
  background: rgba(54, 162, 105, 0.14) !important;
  color: #fff !important;
}

body.deixa-minimal-body .simple-stat,
body.deixa-minimal-body .simple-panel {
  border-color: rgba(255, 255, 255, 0.08) !important;
  background: #101827 !important;
  box-shadow: 0 20px 48px rgba(0, 0, 0, 0.2) !important;
}

body.deixa-minimal-body .simple-stat span,
body.deixa-minimal-body .simple-stat small,
body.deixa-minimal-body .simple-panel-head span,
body.deixa-minimal-body .simple-table {
  color: #8f9bad !important;
}

body.deixa-minimal-body .simple-table td {
  border-top-color: rgba(255, 255, 255, 0.07) !important;
}

body.deixa-minimal-body .simple-table td:last-child {
  color: #76d19f !important;
}

body.deixa-minimal-body .simple-topline button,
body.deixa-minimal-body .simple-actions button:first-child {
  border-color: rgba(54, 162, 105, 0.44) !important;
  background: #36a269 !important;
  color: #06110b !important;
}

body.deixa-minimal-body .simple-actions button:not(:first-child) {
  border-color: rgba(255, 255, 255, 0.1) !important;
  background: #111827 !important;
  color: #e5e7eb !important;
}

body.deixa-minimal-body .simple-shell .demo-panel,
body.deixa-minimal-body .simple-shell .demo-card,
body.deixa-minimal-body .simple-shell .demo-table-wrap {
  border-color: rgba(255, 255, 255, 0.08) !important;
  background: #101827 !important;
  color: #e5e7eb !important;
}

body.deixa-minimal-body .simple-shell input,
body.deixa-minimal-body .simple-shell select {
  border-color: rgba(255, 255, 255, 0.12) !important;
  background: #0b1020 !important;
  color: #fff !important;
}

body.deixa-minimal-body {
  background: #0b1020 !important;
}

body.deixa-minimal-body .simple-footer {
  display: grid !important;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
  margin-top: 34px;
  padding: 22px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 8px;
  background:
    linear-gradient(135deg, rgba(54, 162, 105, 0.12), rgba(54, 162, 105, 0) 42%),
    #101827;
}

body.deixa-minimal-body .simple-footer div {
  min-width: 0;
}

body.deixa-minimal-body .simple-footer span,
body.deixa-minimal-body .simple-footer small {
  display: block;
  color: #8f9bad;
  font-size: 12px;
  font-weight: 800;
}

body.deixa-minimal-body .simple-footer strong {
  display: block;
  margin: 7px 0 6px;
  color: #fff;
  font-size: 15px;
  line-height: 1.25;
}

body.deixa-minimal-body .simple-footer span {
  color: #76d19f;
  text-transform: uppercase;
}

@media (max-width: 900px) {
  body.deixa-minimal-body .simple-shell {
    grid-template-columns: 1fr !important;
  }

  body.deixa-minimal-body .simple-main {
    padding: 18px !important;
  }

  body.deixa-minimal-body .simple-footer {
    grid-template-columns: 1fr !important;
  }
}

/* Premium trading-style dashboard */
.deixa-minimal .simple-header {
  background: #0b1020 !important;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08) !important;
  box-shadow: none !important;
}

.deixa-minimal .simple-header img {
  width: 50px !important;
  height: 50px !important;
}

.simple-shell {
  grid-template-columns: 236px minmax(0, 1fr);
  min-height: calc(100vh - 62px);
  background:
    linear-gradient(180deg, rgba(54, 162, 105, 0.08), rgba(54, 162, 105, 0) 280px),
    #0b1020;
  color: #e5e7eb;
}

.simple-sidebar {
  top: 62px;
  border-right: 1px solid rgba(255, 255, 255, 0.08);
  background: #0b1020;
  padding: 22px 14px;
}

.simple-brand {
  min-height: 58px;
  margin-bottom: 14px;
  border-bottom-color: rgba(255, 255, 255, 0.08);
}

.simple-brand img {
  width: 92px;
}

.simple-sidebar button {
  min-height: 44px;
  border-radius: 6px;
  color: #a7b0c0;
  font-size: 13px;
  letter-spacing: 0;
}

.simple-sidebar button:hover {
  background: rgba(255, 255, 255, 0.06);
  color: #fff;
}

.simple-sidebar button.is-active {
  border-color: rgba(54, 162, 105, 0.32);
  background: rgba(54, 162, 105, 0.14);
  color: #fff;
}

.simple-main {
  padding: 28px 30px;
}

.simple-topline {
  margin-bottom: 22px;
}

.simple-topline span {
  color: #36a269;
}

.simple-topline h1 {
  color: #fff;
  font-size: clamp(30px, 4vw, 52px);
  font-weight: 800;
}

.simple-top-actions {
  display: flex;
  align-items: center;
  gap: 12px;
}

.simple-status {
  display: inline-flex;
  align-items: center;
  min-height: 36px;
  border: 1px solid rgba(54, 162, 105, 0.3);
  border-radius: 999px;
  background: rgba(54, 162, 105, 0.11);
  color: #76d19f !important;
  padding: 0 14px;
  font-size: 12px !important;
  font-weight: 900;
}

.simple-topline button,
.simple-actions button {
  border-radius: 6px;
  border-color: rgba(54, 162, 105, 0.44);
  background: #36a269;
  color: #06110b;
  box-shadow: 0 10px 26px rgba(54, 162, 105, 0.18);
}

.simple-actions button:not(:first-child) {
  border-color: rgba(255, 255, 255, 0.1);
  background: #111827;
  color: #e5e7eb;
  box-shadow: none;
}

.simple-content {
  gap: 16px;
}

.simple-grid {
  gap: 14px;
}

.simple-stat,
.simple-panel {
  border-color: rgba(255, 255, 255, 0.08);
  background: #101827;
  box-shadow: 0 20px 48px rgba(0, 0, 0, 0.2);
}

.simple-stat {
  position: relative;
  overflow: hidden;
  padding: 18px;
}

.simple-stat::after {
  content: "";
  position: absolute;
  inset: auto 18px 0 18px;
  height: 3px;
  border-radius: 999px 999px 0 0;
  background: #36a269;
  opacity: 0.85;
}

.simple-stat span,
.simple-stat small,
.simple-panel-head span {
  color: #8f9bad;
}

.simple-stat strong,
.simple-panel-head h2 {
  color: #fff;
}

.simple-stat strong {
  font-size: 30px;
}

.simple-panel {
  padding: 20px;
}

.simple-panel-head {
  padding-bottom: 14px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.07);
}

.simple-panel-head h2 {
  font-size: 22px;
}

.simple-table {
  color: #d6dce7;
}

.simple-table td {
  border-top-color: rgba(255, 255, 255, 0.07);
  padding: 13px 0;
}

.simple-table td:last-child {
  color: #76d19f;
}

.simple-shell .demo-panel,
.simple-shell .demo-card,
.simple-shell .demo-table-wrap {
  border-color: rgba(255, 255, 255, 0.08) !important;
  background: #101827 !important;
  color: #e5e7eb !important;
}

.simple-shell .demo-card-k,
.simple-shell .demo-panel h2,
.simple-shell .demo-card-v {
  color: #fff !important;
}

.simple-shell input,
.simple-shell select {
  border-color: rgba(255, 255, 255, 0.12) !important;
  background: #0b1020 !important;
  color: #fff !important;
}

.simple-shell .demo-table th {
  background: #0b1020 !important;
  color: #8f9bad !important;
}

.simple-shell .demo-table td,
.simple-shell .demo-table th {
  border-bottom-color: rgba(255, 255, 255, 0.07) !important;
}

@media (max-width: 900px) {
  .simple-shell {
    grid-template-columns: 1fr;
  }

  .simple-sidebar {
    top: 0;
    flex-direction: row;
    min-height: auto;
    padding: 10px;
  }

  .simple-brand {
    display: none;
  }

  .simple-main {
    padding: 18px;
  }

  .simple-top-actions {
    width: 100%;
    justify-content: space-between;
  }
}

/* Minimal product layout */
.deixa-minimal body,
body.deixa-minimal-body {
  background: #f8fafc;
}

.deixa-minimal header {
  border-bottom: 1px solid rgba(15, 23, 42, 0.08) !important;
  background: rgba(255, 255, 255, 0.94) !important;
  box-shadow: none !important;
  backdrop-filter: blur(14px);
}

.deixa-minimal header img {
  width: 34px !important;
  height: 34px !important;
  object-fit: contain;
}

.deixa-minimal header .font-display,
.deixa-minimal header [class*="font-display"] {
  font-size: 15px !important;
  line-height: 1.05 !important;
}

.deixa-minimal header nav {
  gap: 4px !important;
}

.deixa-minimal header nav button,
.deixa-minimal header button[data-section] {
  min-height: 34px !important;
  border-radius: 8px !important;
  padding: 0 10px !important;
  background: transparent !important;
  box-shadow: none !important;
  color: #475569 !important;
  font-size: 12px !important;
  font-weight: 700 !important;
  letter-spacing: 0 !important;
}

.deixa-minimal header nav button:hover,
.deixa-minimal header button[data-section]:hover {
  background: #f1f5f9 !important;
  color: #0f172a !important;
}

.deixa-minimal header nav button.bg-brand-navy,
.deixa-minimal header button[data-section].bg-brand-navy,
.deixa-minimal header button[data-section][class*="bg-brand-navy"] {
  background: #0f172a !important;
  color: #fff !important;
}

.deixa-minimal section {
  padding-top: 56px !important;
  padding-bottom: 56px !important;
}

.deixa-minimal section > div {
  max-width: 1180px !important;
}

.deixa-minimal h1,
.deixa-minimal h2,
.deixa-minimal h3 {
  letter-spacing: 0 !important;
}

.deixa-minimal h1 {
  max-width: 820px;
  font-size: clamp(34px, 5vw, 64px) !important;
  line-height: 0.96 !important;
}

.deixa-minimal h2 {
  max-width: 760px;
  font-size: clamp(26px, 3vw, 42px) !important;
  line-height: 1.05 !important;
}

.deixa-minimal p {
  max-width: 680px;
}

.deixa-minimal .rounded-3xl,
.deixa-minimal .rounded-2xl,
.deixa-minimal .rounded-xl,
.deixa-minimal .demo-card,
.deixa-minimal .demo-panel,
.deixa-minimal .demo-table-wrap {
  border-radius: 8px !important;
}

.deixa-minimal [class*="shadow"],
.deixa-minimal .shadow-soft,
.deixa-minimal .shadow-elegant,
.deixa-minimal .shadow-glow {
  box-shadow: none !important;
}

.deixa-minimal .bg-gradient-brand,
.deixa-minimal .bg-gradient-hero,
.deixa-minimal .bg-gradient-green,
.deixa-minimal [class*="bg-gradient"] {
  background-image: none !important;
}

.deixa-minimal .demo-command-bar {
  right: 14px;
  bottom: 14px;
  max-width: min(520px, calc(100vw - 28px));
  padding: 6px;
  border: 1px solid rgba(15, 23, 42, 0.1);
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.96);
  box-shadow: 0 10px 30px rgba(15, 23, 42, 0.08);
  backdrop-filter: blur(14px);
}

.deixa-minimal .demo-command-bar button,
.deixa-minimal .demo-panel button,
.deixa-minimal .demo-modal button {
  min-height: 34px;
  border-radius: 7px;
  box-shadow: none;
}

.deixa-minimal .demo-panel,
.deixa-minimal .demo-card,
.deixa-minimal .demo-table-wrap,
.deixa-minimal .demo-modal {
  border-color: rgba(15, 23, 42, 0.1);
  background: #fff;
}

.deixa-minimal .demo-card {
  padding: 12px;
}

.deixa-minimal .demo-card-k {
  letter-spacing: 0;
  text-transform: none;
}

.deixa-minimal .demo-card-v {
  font-size: 20px;
}

.deixa-minimal aside {
  background: #0f172a !important;
}

.deixa-minimal #admin .grid {
  gap: 12px !important;
}

.deixa-minimal footer [class*="Aviso"],
.deixa-minimal footer .rounded-xl:last-child {
  display: none !important;
}

@media (max-width: 900px) {
  .deixa-minimal header nav {
    display: none !important;
  }

  .deixa-minimal .demo-command-bar {
    left: 10px;
    right: 10px;
    bottom: 10px;
  }

  .deixa-minimal .demo-command-bar button {
    flex: 1 1 31%;
    padding: 0 8px;
  }
}

/* Simple high-standard operating shell */
.deixa-minimal .simple-header {
  min-height: 62px !important;
}

.deixa-minimal .simple-header img {
  width: 42px !important;
  height: 42px !important;
}

.deixa-minimal .demo-command-bar {
  display: none !important;
}

.simple-shell {
  display: grid;
  grid-template-columns: 220px minmax(0, 1fr);
  gap: 0;
  min-height: calc(100vh - 62px);
  border-bottom: 1px solid rgba(15, 23, 42, 0.08);
  background: #f8fafc;
}

.simple-sidebar {
  position: sticky;
  top: 62px;
  align-self: start;
  display: flex;
  flex-direction: column;
  gap: 8px;
  min-height: calc(100vh - 62px);
  border-right: 1px solid rgba(15, 23, 42, 0.08);
  background: #0f172a;
  padding: 18px 12px 14px;
}

.simple-brand {
  display: flex;
  align-items: center;
  min-height: 46px;
  margin-bottom: 8px;
  padding: 0 10px 12px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.simple-brand img {
  width: 78px;
  height: auto;
  object-fit: contain;
}

.simple-sidebar button,
.simple-actions button,
.simple-topline button {
  min-height: 40px;
  border: 1px solid rgba(15, 23, 42, 0.1);
  border-radius: 8px;
  background: #fff;
  color: #162044;
  padding: 0 13px;
  font-size: 13px;
  font-weight: 800;
  text-align: left;
  cursor: pointer;
}

.simple-sidebar button {
  width: 100%;
  background: transparent;
  color: rgba(255, 255, 255, 0.82);
  border-color: transparent;
}

.simple-sidebar button.is-active,
.simple-actions button:first-child,
.simple-topline button {
  border-color: #162044;
  background: #162044;
  color: #fff;
}

.simple-sidebar button.is-active {
  background: #fff;
  color: #162044;
}

.simple-sidebar button:hover,
.simple-actions button:hover,
.simple-topline button:hover {
  transform: translateY(-1px);
}

.simple-main {
  padding: 22px;
}

.simple-topline {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 18px;
}

.simple-topline span {
  color: #36a269;
  font-size: 11px;
  font-weight: 900;
  text-transform: uppercase;
}

.simple-topline h1 {
  margin: 2px 0 0;
  color: #162044;
  font-size: clamp(24px, 3vw, 34px);
  line-height: 1;
}

.simple-content {
  display: grid;
  gap: 14px;
}

.simple-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
}

.simple-stat,
.simple-panel {
  border: 1px solid rgba(15, 23, 42, 0.1);
  border-radius: 8px;
  background: #fff;
}

.simple-stat {
  padding: 15px;
}

.simple-stat span,
.simple-stat small {
  display: block;
  color: #64748b;
  font-size: 12px;
  font-weight: 800;
}

.simple-stat strong {
  display: block;
  margin: 6px 0 2px;
  color: #162044;
  font-size: 26px;
  line-height: 1;
}

.simple-panel {
  padding: 16px;
}

.simple-panel-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 14px;
}

.simple-panel-head h2 {
  margin: 0;
  color: #162044;
  font-size: 18px;
}

.simple-panel-head span {
  color: #64748b;
  font-size: 12px;
  font-weight: 800;
}

.simple-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.simple-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 13px;
}

.simple-table td {
  border-top: 1px solid rgba(15, 23, 42, 0.08);
  padding: 11px 0;
}

.simple-table td:last-child {
  color: #36a269;
  font-weight: 900;
  text-align: right;
}

.simple-shell .demo-panel,
.simple-shell .demo-card,
.simple-shell .demo-table-wrap {
  box-shadow: none !important;
}

body.deixa-minimal-body section:not(.simple-shell),
body.deixa-minimal-body footer {
  display: none !important;
}

body.deixa-minimal-body .simple-shell {
  display: grid !important;
}

body.deixa-minimal-body header {
  display: block !important;
}

@media (max-width: 900px) {
  .simple-shell {
    grid-template-columns: 1fr;
  }

  .simple-sidebar {
    position: static;
    display: flex;
    min-height: auto;
    overflow-x: auto;
    border-right: 0;
    border-bottom: 1px solid rgba(15, 23, 42, 0.08);
    padding: 10px;
  }

  .simple-sidebar button {
    flex: 0 0 auto;
  }

  .simple-main {
    padding: 14px;
  }

  .simple-topline {
    align-items: flex-start;
    flex-direction: column;
  }

  .simple-grid,
  .simple-shell .demo-grid,
  .simple-shell .demo-form {
    grid-template-columns: 1fr;
  }
}

/* Final premium overrides */
body.deixa-minimal-body .simple-shell {
  grid-template-columns: 236px minmax(0, 1fr) !important;
  background:
    linear-gradient(180deg, rgba(54, 162, 105, 0.09), rgba(54, 162, 105, 0) 300px),
    #0b1020 !important;
  color: #e5e7eb !important;
}

body.deixa-minimal-body .simple-main {
  padding: 28px 30px !important;
}

body.deixa-minimal-body .simple-topline h1,
body.deixa-minimal-body .simple-panel-head h2,
body.deixa-minimal-body .simple-stat strong {
  color: #fff !important;
}

body.deixa-minimal-body .simple-topline h1 {
  font-size: clamp(30px, 4vw, 52px) !important;
}

body.deixa-minimal-body .simple-sidebar {
  background: #0b1020 !important;
  border-right-color: rgba(255, 255, 255, 0.08) !important;
}

body.deixa-minimal-body .simple-sidebar button {
  border-radius: 6px !important;
  background: transparent !important;
  color: #a7b0c0 !important;
}

body.deixa-minimal-body .simple-sidebar button.is-active {
  border-color: rgba(54, 162, 105, 0.32) !important;
  background: rgba(54, 162, 105, 0.14) !important;
  color: #fff !important;
}

body.deixa-minimal-body .simple-stat,
body.deixa-minimal-body .simple-panel {
  border-color: rgba(255, 255, 255, 0.08) !important;
  background: #101827 !important;
  box-shadow: 0 20px 48px rgba(0, 0, 0, 0.2) !important;
}

body.deixa-minimal-body .simple-stat span,
body.deixa-minimal-body .simple-stat small,
body.deixa-minimal-body .simple-panel-head span,
body.deixa-minimal-body .simple-table {
  color: #8f9bad !important;
}

body.deixa-minimal-body .simple-table td {
  border-top-color: rgba(255, 255, 255, 0.07) !important;
}

body.deixa-minimal-body .simple-table td:last-child {
  color: #76d19f !important;
}

body.deixa-minimal-body .simple-topline button,
body.deixa-minimal-body .simple-actions button:first-child {
  border-color: rgba(54, 162, 105, 0.44) !important;
  background: #36a269 !important;
  color: #06110b !important;
}

body.deixa-minimal-body .simple-actions button:not(:first-child) {
  border-color: rgba(255, 255, 255, 0.1) !important;
  background: #111827 !important;
  color: #e5e7eb !important;
}

body.deixa-minimal-body .simple-shell .demo-panel,
body.deixa-minimal-body .simple-shell .demo-card,
body.deixa-minimal-body .simple-shell .demo-table-wrap {
  border-color: rgba(255, 255, 255, 0.08) !important;
  background: #101827 !important;
  color: #e5e7eb !important;
}

body.deixa-minimal-body .simple-shell input,
body.deixa-minimal-body .simple-shell select {
  border-color: rgba(255, 255, 255, 0.12) !important;
  background: #0b1020 !important;
  color: #fff !important;
}

@media (max-width: 900px) {
  body.deixa-minimal-body .simple-shell {
    grid-template-columns: 1fr !important;
  }

  body.deixa-minimal-body .simple-main {
    padding: 18px !important;
  }
}

/* Remove legacy white brand area */
html,
body,
body.deixa-minimal-body,
body.deixa-minimal-body > div {
  background: #0b1020 !important;
}

body.deixa-minimal-body header,
body.deixa-minimal-body > div:not(.demo-toast-stack):not(.demo-mobile-nav):not(.demo-modal-backdrop) {
  display: none !important;
}

body.deixa-minimal-body .simple-shell {
  min-height: 100vh !important;
}

body.deixa-minimal-body .simple-sidebar {
  top: 0 !important;
  min-height: 100vh !important;
}
