:root {
  --mtn-yellow: #ffcc00;
  --mtn-dark: #1a1a1a;
  --mtn-black: #0d0d0d;
}

body {
  font-family: system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  background: #f5f5f5;
}

.guest-bg {
  background: var(--mtn-dark);
  color: #fff;
}

.text-mtn { color: var(--mtn-yellow) !important; }
.text-mtn-dark { color: var(--mtn-dark) !important; }
.bg-mtn { background: var(--mtn-yellow) !important; color: var(--mtn-dark) !important; }

.logo-m {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  background: var(--mtn-yellow);
  color: var(--mtn-dark);
  font-weight: 900;
  font-size: 1.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
}

.logo-m-sm { width: 36px; height: 36px; font-size: 1rem; }

.sidebar {
  position: fixed;
  inset: 0 auto 0 0;
  width: 260px;
  background: var(--mtn-dark);
  color: #fff;
  z-index: 1040;
}

.nav-link-app {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.65rem 0.85rem;
  border-radius: 0.5rem;
  color: rgba(255, 255, 255, 0.8);
  text-decoration: none;
  margin-bottom: 0.25rem;
  font-size: 0.9rem;
}

.nav-link-app:hover {
  background: rgba(255, 255, 255, 0.08);
  color: #fff;
}

.nav-link-app.active {
  background: var(--mtn-yellow);
  color: var(--mtn-dark);
  font-weight: 600;
}

.app-header {
  margin-left: 0;
  background: #fff;
  border-bottom: 1px solid #e5e5e5;
  z-index: 1030;
}

@media (min-width: 768px) {
  .app-header { margin-left: 260px; }
}

.app-main {
  padding: 1.25rem 1rem 5rem;
  margin-left: 0;
  min-height: calc(100vh - 60px);
}

@media (min-width: 768px) {
  .app-main {
    margin-left: 260px;
    padding: 1.5rem 1.5rem 2rem;
  }
}

.card-app {
  background: #fff;
  border-radius: 1rem;
  border: 1px solid #eee;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.04);
}

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

.commission-box {
  background: var(--mtn-yellow);
  border: 2px solid var(--mtn-dark);
  border-radius: 0.75rem;
  color: var(--mtn-dark);
}

.btn-mtn {
  background: var(--mtn-yellow);
  color: var(--mtn-dark);
  font-weight: 700;
  border: none;
}

.btn-mtn:hover {
  filter: brightness(1.05);
  color: var(--mtn-dark);
}

.chat-container {
  height: 70vh;
  display: flex;
  flex-direction: column;
}

.chat-messages {
  flex: 1;
  overflow-y: auto;
  background: #f8f9fa;
}

.bubble-user {
  background: var(--mtn-yellow);
  color: var(--mtn-dark);
  border-radius: 1rem 1rem 0.25rem 1rem;
}

.bubble-bot {
  background: #fff;
  border: 1px solid #dee2e6;
  border-radius: 1rem 1rem 1rem 0.25rem;
}

.bottom-nav { z-index: 1050; }

@media print {
  .sidebar, .app-header, .bottom-nav, .no-print { display: none !important; }
  .app-main { margin: 0 !important; padding: 0 !important; }
}
