body {
  background-color: #f0fbf4 !important;
  font-family: system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  color: #0f2d1e;
  overflow-x: hidden;
}

.fw-black { font-weight: 900; }

.bento-sidebar {
  width: 280px;
  height: 100vh;
  position: fixed;
  top: 0;
  left: 0;
  background-color: #064e3b;
  z-index: 1000;
  padding: 2rem 1.5rem;
  box-shadow: 4px 0 15px rgba(0, 0, 0, 0.05);
}

.main-content-wrapper {
  margin-left: 280px;
  padding: 2.5rem;
  transition: all 0.3s ease;
}

@media (max-width: 991.98px) {
  .bento-sidebar {
    display: none !important;
  }
  .main-content-wrapper {
    margin-left: 0 !important;
    padding: 1rem;
  }
}

.bento-card {
  background: #ffffff;
  border: 1px solid #d1fae5;
  border-radius: 24px;
  padding: 2rem;
  box-shadow: 0 8px 20px rgba(4, 120, 87, 0.02);
  height: 100%;
}

.bento-card-green {
  background: linear-gradient(135deg, #e6fdf0 0%, #ccfbf1 100%);
  border: 1px solid #a7f3d0;
  border-radius: 24px;
  padding: 2rem;
  height: 100%;
}

.v-badge {
  font-family: monospace;
  background-color: #d1fae5;
  color: #065f46;
  padding: 4px 8px;
  border-radius: 6px;
  font-weight: bold;
}

.carousel-bento-container {
  background: #ffffff;
  border-radius: 28px;
  border: 1px solid #a7f3d0;
  overflow: hidden;
}

.video-bento {
  border-radius: 20px;
  overflow: hidden;
}

.btn-bento-green {
  background-color: #10b981;
  color: white;
  border-radius: 14px;
  font-weight: 600;
  padding: 0.6rem 1.3rem;
  border: none;
}

.btn-bento-green:hover {
  background-color: #059669;
  color: white;
}

.formula-bento-premium {
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-left: 6px solid #10b981;
  border-radius: 18px;
  padding: 1.5rem;
  margin: 0.5rem 0;
}

.formula-title {
  display: block;
  font-size: 0.75rem;
  text-transform: uppercase;
  color: #64748b;
  font-weight: 700;
  letter-spacing: 0.5px;
  margin-bottom: 0.2rem;
}

.math-render {
  color: #047857;
  overflow-x: auto;
  overflow-y: hidden;
}

.math-render mjx-container {
  margin: 0.5rem 0 !important;
  font-size: 1.3rem !important;
}

.math-inline {
  font-size: 1.1rem;
  color: #065f46;
  font-weight: 600;
}

.custom-bento-table {
  border-collapse: separate !important;
  border-spacing: 0 10px !important;
  background-color: transparent !important;
}

.custom-bento-table thead th {
  background-color: #064e3b !important;
  color: #ffffff !important;
  border: none !important;
  padding: 14px;
  font-weight: 700;
}

.custom-bento-table territories:first-child { border-radius: 12px 0 0 12px; }
.custom-bento-table territories:last-child { border-radius: 0 12px 12px 0; }

.custom-bento-table tbody tr {
  background-color: #ffffff !important;
  box-shadow: 0 4px 10px rgba(0,0,0,0.02);
}

.custom-bento-table tbody td {
  padding: 16px !important;
  background-color: #ffffff !important;
  border-top: 1px solid #eafaf1 !important;
  border-bottom: 1px solid #eafaf1 !important;
  border-left: none !important;
  border-right: none !important;
  color: #1e3a1e;
}

.custom-bento-table tbody tr td:first-child {
  border-left: 1px solid #eafaf1 !important;
  border-radius: 16px 0 0 16px !important;
}

.custom-bento-table tbody tr td:last-child {
  border-right: 1px solid #eafaf1 !important;
  border-radius: 0 16px 16px 0 !important;
}

.custom-radio-bento {
  padding: 10px 14px;
  border-radius: 12px;
  background-color: #ffffff;
  border: 1px solid #e2e8f0;
  transition: all 0.2s ease;
}

.custom-radio-bento:hover {
  border-color: #10b981;
  background-color: #f0fbf4;
  cursor: pointer;
}

.custom-radio-bento .form-check-input:checked + .form-check-label {
  color: #047857 !important;
  font-weight: 700;
}

.custom-radio-bento .form-check-input:checked {
  background-color: #10b981 !important;
  border-color: #10b981 !important;
}