 .screenshot-card {
  transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
}

.screenshot-card::before {
  content: '';
  position: absolute;
  inset: -2px;
  border-radius: 1rem;
  padding: 2px;

  -webkit-mask-composite: xor;
  mask-composite: exclude;
  opacity: 0;
  transition: opacity 0.4s;
}

.screenshot-card:hover::before {
  opacity: 1;
}

.screenshot-card:hover {
  transform: translateY(-8px) scale(1.03);
  filter: brightness(1.1);
  box-shadow: 0 20px 40px -10px rgba(249, 115, 22, 0.15);
  /* Orange glow on hover */
}

.screenshot-card img {
  transition: transform 0.5s ease;
}

.screenshot-card:hover img {
  transform: scale(1.05);
}

/* Subtle glow effect */
.glow-on-hover {
  position: relative;
}

.glow-on-hover::after {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: 1rem;
  opacity: 0;
  box-shadow: 0 0 30px rgba(249, 115, 22, 0.4), inset 0 0 20px rgba(249, 115, 22, 0.2);
  transition: opacity 0.4s;
  pointer-events: none;
}

.glow-on-hover:hover::after {
  opacity: 1;
}


@keyframes float {

  0%,
  100% {
    transform: translateY(0px) rotateX(0deg);
  }

  50% {
    transform: translateY(-20px) rotateX(2deg);
  }
}

.animate-float {
  animation: float 4s ease-in-out infinite;
}

/* Physical Card Styles */
.stat-card {
  perspective: 1000px;
  text-align: center;
  background-color: black;
  border-radius: 15px;
}

.stat-card-inner {
  position: relative;
  width: 100%;
  transition: transform 0.3s ease;
  transform-style: preserve-3d;
}

.stat-card:hover .stat-card-inner {
  transform: translateY(-5px) scale(1.02);
}

.stat-card-face {
  background: #121621;
  border-radius: 20px;
  padding: 2rem 1.5rem;
  border: 2px solid rgba(255, 255, 255, 0.2);
  position: relative;
  overflow: hidden;
}

.stat-card-face::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg,
      transparent,
      rgba(255, 255, 255, 0.1),
      transparent);
  transition: left 0.5s;
}

.stat-card:hover .stat-card-face::before {
  left: 100%;
}

/* Glossy overlay effect */
.stat-card-face::after {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(circle,
      rgba(255, 255, 255, 0.1) 0%,
      transparent 70%);
  opacity: 0;
  transition: opacity 0.3s;
}

.stat-card:hover .stat-card-face::after {
  opacity: 1;
}



@keyframes shield-pulse {

  0%,
  100% {
    transform: scale(1);
    opacity: 1;
  }

  50% {
    transform: scale(1.1);
    opacity: 0.8;
  }
}

.shield-pulse {
  animation: shield-pulse 2s ease-in-out infinite;
}

.dot.active {
  width: 2rem;
}

#dynamicCard {
  transition: opacity 0.3s ease;
}

#dynamicCard.fade {
  opacity: 0.5;
}




@keyframes fadeIn {
  0% {
    opacity: 0;
    transform: translateY(20px);
  }

  100% {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes slideIn {
  0% {
    opacity: 0;
    transform: translateX(-20px);
  }

  100% {
    opacity: 1;
    transform: translateX(0);
  }
}

.link-card {
  animation: slideIn 0.3s ease-out forwards;
  transition: all 0.3s ease;
}

.link-card:hover {
  transform: translateX(8px);
}

@keyframes shield-pulse {

  0%,
  100% {
    transform: scale(1);
    opacity: 1;
  }

  50% {
    transform: scale(1.1);
    opacity: 0.8;
  }
}

.shield-pulse {
  animation: shield-pulse 2s ease-in-out infinite;
}


.pricing-card {
  transition: transform 0.3s ease, border-color 0.3s ease;
}

.pricing-card:hover {
  transform: translateY(-4px);
  border-color: #f97316;
}

@keyframes fadeIn {
  0% {
    opacity: 0;
    transform: translateY(20px);
  }

  100% {
    opacity: 1;
    transform: translateY(0);
  }
}

.animate-fadeIn {
  animation: fadeIn 0.3s ease-out forwards;
}

.token-category {
  position: relative;
  padding-left: 1rem;
}

.token-category::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0.5rem;
  bottom: 0.5rem;
  width: 3px;
  background: linear-gradient(to bottom, #f97316, #ea580c);
  border-radius: 2px;
}

input[type="number"]::-webkit-inner-spin-button,
input[type="number"]::-webkit-outer-spin-button {
  opacity: 1;
}

.calculator-input:focus {
  box-shadow: 0 0 0 3px rgba(249, 115, 22, 0.1);
}

.result-card {
  background: linear-gradient(135deg, rgba(249, 115, 22, 0.1) 0%, rgba(31, 41, 55, 0.5) 100%);
}

@keyframes pulse-orange {

  0%,
  100% {
    opacity: 1;
  }

  50% {
    opacity: 0.8;
  }
}

.animate-pulse-orange {
  animation: pulse-orange 2s ease-in-out infinite;
}


@keyframes fadeIn {
  0% {
    opacity: 0;
    transform: translateY(20px);
  }

  100% {
    opacity: 1;
    transform: translateY(0);
  }
}

.animate-fadeIn {
  animation: fadeIn 0.3s ease-out forwards;
}

@keyframes fadeInScale {
  0% {
    opacity: 0;
    transform: scale(0.9);
  }

  100% {
    opacity: 1;
    transform: scale(1);
  }
}

.animate-fadeInScale {
  animation: fadeInScale 0.4s ease-out forwards;
}

.pricing-card {
  transition: transform 0.3s ease, border-color 0.3s ease;
}

.pricing-card:hover {
  transform: translateY(-8px);
}

/* Custom Scrollbar */
::-webkit-scrollbar {
  width: 6px;
}

::-webkit-scrollbar-track {
  background: #f1f5f9;
  border-radius: 10px;
}

::-webkit-scrollbar-thumb {
  background: #cbd5e1;
  border-radius: 10px;
  border: 1px solid #f1f5f9;
}

::-webkit-scrollbar-thumb:hover {
  background: #94a3b8;
}




/* Full-screen overlay */
.loader-overlay {
  position: fixed;
  inset: 0;
  background-color: #ffffff;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  z-index: 9999;

  /* Fade overlay out after 2s */
  animation: fadeOut 0.5s ease 2s forwards;
  /* 2s delay, then 0.5s fade */
}

/* GIF respects its natural size */
.loader-gif {
  display: block;
  margin-bottom: 24px;
  animation: fadeInScale 0.6s ease-out forwards;
  height: 80px;
}

@keyframes fadeInScale {
  0% {
    opacity: 0;
    transform: scale(0.95);
  }

  100% {
    opacity: 1;
    transform: scale(1);
  }
}

/* Loading bar container */
.loader-bar-container {
  width: 256px;
  height: 6px;
  background-color: #1e293b;
  border-radius: 3px;
  overflow: hidden;
}

/* Loading bar animation */
.loader-bar {
  height: 100%;
  width: 0;
  background-color: #f97316;
  animation: loadBar 1.5s ease-in-out forwards;
}

@keyframes loadBar {
  0% {
    width: 0;
  }

  50% {
    width: 60%;
  }

  100% {
    width: 100%;
  }
}

/* Fade overlay out */
@keyframes fadeOut {
  0% {
    opacity: 1;
    visibility: visible;
  }

  100% {
    opacity: 0;
    visibility: hidden;

  }
}


/* Base body */
body {
  background-color: #ffffff;
  color: #1f2937;
}

/* Dynamic word transition */
#dynamic-word {
  transition: 0.3s;
}

/* Gradient animation */
@keyframes gradient-shift {
  0% {
    background-position: 0% 50%;
  }

  50% {
    background-position: 100% 50%;
  }

  100% {
    background-position: 0% 50%;
  }
}

.animate-gradient-shift {
  animation: gradient-shift 3s ease infinite;
}

/* Fade In animation */
@keyframes fadeIn {
  0% {
    opacity: 0;
    transform: translateY(20px);
  }

  100% {
    opacity: 1;
    transform: translateY(0);
  }
}

.animate-fadeIn {
  animation: fadeIn 0.3s ease-out forwards;
}

/* Fade In Scale animation */
@keyframes fadeInScale {
  0% {
    opacity: 0;
    transform: scale(0.9);
  }

  100% {
    opacity: 1;
    transform: scale(1);
  }
}

.animate-fadeInScale {
  animation: fadeInScale 0.4s ease-out forwards;
}

/* Shine effect for inputs */
@keyframes shine {
  0% {
    background-position: -200px 0;
  }

  100% {
    background-position: 200px 0;
  }
}

.shine-once {
  background: linear-gradient(90deg,
      rgba(255, 165, 0, 0.1) 0%,
      rgba(255, 255, 255, 0.2) 50%,
      rgba(255, 165, 0, 0.1) 100%);
  background-size: 400px 100%;
  animation: shine 1.2s linear 0.5s 1;
}




/* Custom Scrollbar Styles */
::-webkit-scrollbar {
  width: 6px;
  height: 6px;
}

::-webkit-scrollbar-track {
  background: #f1f5f9;
  border-radius: 10px;
}

::-webkit-scrollbar-thumb {
  background: #cbd5e1;
  border-radius: 10px;
  border: 1px solid #f1f5f9;
}

::-webkit-scrollbar-thumb:hover {
  background: #94a3b8;
}

/* Firefox */
* {
  scrollbar-width: thin;
  scrollbar-color: #cbd5e1 #f1f5f9;
}

/* Modal Pop-in Animation */
@keyframes modalPopIn {
  0% {
    opacity: 0;
    transform: scale(0.8) translateY(-20px);
  }

  50% {
    transform: scale(1.05) translateY(0);
  }

  100% {
    opacity: 1;
    transform: scale(1) translateY(0);
  }
}

@keyframes modalBgFadeIn {
  0% {
    opacity: 0;
  }

  100% {
    opacity: 1;
  }
}

/* Premium Button Glow */
.btn-premium-glow {
  position: relative;
  overflow: hidden;
  box-shadow:
    0 4px 6px -1px rgba(0, 0, 0, 0.1),
    0 2px 4px -1px rgba(0, 0, 0, 0.06),
    inset 0 1px 0 rgba(255, 255, 255, 0.2);
  /* Top highlight */
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.btn-premium-glow:hover {
  box-shadow:
    0 0 15px rgba(249, 115, 22, 0.5),
    /* Exterior glow */
    inset 0 1px 0 rgba(255, 255, 255, 0.3);
  transform: translateY(-1px);
}

#auth-modal:not(.hidden) {
  animation: modalBgFadeIn 0.3s ease-out;
}

#auth-modal:not(.hidden)>div {
  animation: modalPopIn 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
}



@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(20px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fadeOut {
  from {
    opacity: 1;
    transform: translateY(0);
  }

  to {
    opacity: 0;
    transform: translateY(20px);
  }
}

.animate-fadeIn {
  animation: fadeIn 0.4s ease-out;
}

/* Mobile responsive adjustments */
@media (max-width: 640px) {
  #cookie-banner {
    bottom: 1rem;
    right: 1rem;
    left: 1rem;
    max-width: none;
  }

  /* Auth Modal Mobile Optimizations */
  #auth-modal {
    align-items: flex-start;
    padding: 0.5rem;
  }

  #auth-modal>div {
    margin: 0.5rem 0;
    max-height: calc(100vh - 1rem);
    -webkit-overflow-scrolling: touch;
  }

  /* Ensure inputs don't trigger iOS zoom */
  input[type="email"],
  input[type="password"],
  input[type="text"] {
    font-size: 16px !important;
  }

  /* Better touch targets */
  button {
    min-height: 44px;
  }

  /* Reduce modal title size on mobile */
  #modal-title {
    font-size: 1.5rem;
  }

  /* Stack OAuth buttons better on small screens */
  #auth-modal .space-y-3 {
    gap: 0.5rem;
  }
}

/* Tablet breakpoint */
@media (max-width: 768px) {

  /* Better spacing for tablet */
  .max-w-6xl {
    padding-left: 1rem;
    padding-right: 1rem;
  }
}

/* Landscape mobile - reduce modal height */
@media (max-width: 896px) and (orientation: landscape) {
  #auth-modal>div {
    max-height: 85vh;
    padding: 0.75rem;
  }

  #auth-modal .space-y-3 {
    gap: 0.25rem;
  }

  #auth-modal .space-y-4 {
    gap: 0.5rem;
  }
}

/* iOS safe area support */
@supports (padding: env(safe-area-inset-bottom)) {
  body {
    padding-left: env(safe-area-inset-left);
    padding-right: env(safe-area-inset-right);
    padding-bottom: env(safe-area-inset-bottom);
  }
}

/* Custom Loader */
.loader {
  width: 16px;
  aspect-ratio: 1;
  border-radius: 50%;
  border: 3px solid #fff;
  animation:
    l20-1 0.8s infinite linear alternate,
    l20-2 1.6s infinite linear;
  display: inline-block;
  vertical-align: middle;
  margin-right: 8px;
}

@keyframes l20-1 {
  0% {
    clip-path: polygon(50% 50%, 0 0, 50% 0%, 50% 0%, 50% 0%, 50% 0%, 50% 0%)
  }

  12.5% {
    clip-path: polygon(50% 50%, 0 0, 50% 0%, 100% 0%, 100% 0%, 100% 0%, 100% 0%)
  }

  25% {
    clip-path: polygon(50% 50%, 0 0, 50% 0%, 100% 0%, 100% 100%, 100% 100%, 100% 100%)
  }

  50% {
    clip-path: polygon(50% 50%, 0 0, 50% 0%, 100% 0%, 100% 100%, 50% 100%, 0% 100%)
  }

  62.5% {
    clip-path: polygon(50% 50%, 100% 0, 100% 0%, 100% 0%, 100% 100%, 50% 100%, 0% 100%)
  }

  75% {
    clip-path: polygon(50% 50%, 100% 100%, 100% 100%, 100% 100%, 100% 100%, 50% 100%, 0% 100%)
  }

  100% {
    clip-path: polygon(50% 50%, 50% 100%, 50% 100%, 50% 100%, 50% 100%, 50% 100%, 0% 100%)
  }
}

@keyframes l20-2 {
  0% {
    transform: scaleY(1) rotate(0deg)
  }

  49.99% {
    transform: scaleY(1) rotate(135deg)
  }

  50% {
    transform: scaleY(-1) rotate(0deg)
  }

  100% {
    transform: scaleY(-1) rotate(-135deg)
  }
}

/* Floating CTA Bubble */
.floating-cta-bubble {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  z-index: 999;
  background: rgba(255, 255, 255, 0.8);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(249, 115, 22, 0.2);
  border-radius: 9999px;
  padding: 12px 24px;
  display: flex;
  align-items: center;
  gap: 12px;
  box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.1), 0 8px 10px -6px rgba(0, 0, 0, 0.1);
  color: #1f2937;
  text-decoration: none;
  font-weight: 600;
  font-size: 15px;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  animation: bubbleSlideIn 0.8s cubic-bezier(0.34, 1.56, 0.64, 1) forwards;
}

.floating-cta-bubble:hover {
  transform: translateY(-4px) scale(1.02);
  border-color: rgba(249, 115, 22, 0.4);
  box-shadow: 0 20px 25px -5px rgba(249, 115, 22, 0.1), 0 10px 10px -5px rgba(249, 115, 22, 0.04);
  background: white;
}

.cta-icon-wrapper {
  width: 32px;
  height: 32px;
  background: linear-gradient(135deg, #f97316 0%, #ea580c 100%);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  box-shadow: 0 4px 12px rgba(249, 115, 22, 0.3);
}

.cta-text {
  background: linear-gradient(90deg, #1f2937 0%, #4b5563 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.scroll-indicator-container {
  height: 24px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  margin-left: 8px;
  border-left: 1px solid rgba(0,0,0,0.1);
  padding-left: 12px;
}

.scroll-dot {
  width: 4px;
  height: 4px;
  background: #f97316;
  border-radius: 50%;
  animation: scrollMove 2s infinite ease-in-out;
}

@keyframes bubbleSlideIn {
  from {
    opacity: 0;
    transform: translateY(40px) scale(0.9);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

@keyframes scrollMove {
  0%, 100% {
    transform: translateY(-6px);
    opacity: 0.3;
  }
  50% {
    transform: translateY(6px);
    opacity: 1;
  }
}

@media (max-width: 640px) {
  .floating-cta-bubble {
    bottom: 1.5rem;
    right: 1.5rem;
    left: 1.5rem;
    justify-content: center;
    padding: 10px 20px;
  }
}

/* --- Channel Performance Graph --- */
.channel-graph-wrapper {
  background: #ffffff;
  border: 1px solid #e5e7eb;
  border-radius: 20px;
  padding: 32px;
  box-shadow: 0 20px 40px -10px rgba(0, 0, 0, 0.05);
  display: flex;
  flex-direction: column;
  gap: 28px;
  width: 100%;
}

.channel-row {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.channel-info {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
}

.channel-name {
  color: #1f2937;
  font-weight: 600;
  font-size: 1.125rem;
  display: flex;
  align-items: center;
  gap: 12px;
}

.channel-url {
  font-size: 0.875rem;
  color: #64748b;
  font-family: monospace;
  background: #f8fafc;
  padding: 4px 8px;
  border-radius: 6px;
  border: 1px solid #e2e8f0;
}

.channel-stats {
  display: flex;
  gap: 16px;
  font-size: 0.875rem;
  font-weight: 500;
}

.stat-real {
  color: #16a34a;
  display: flex;
  align-items: center;
}

.stat-bot {
  color: #dc2626;
  display: flex;
  align-items: center;
}

.channel-bar-bg {
  width: 100%;
  height: 24px;
  background: #f1f5f9;
  border-radius: 8px;
  overflow: hidden;
  display: flex;
  border: 1px solid #e2e8f0;
}

.channel-bar-fill {
  height: 100%;
  background: linear-gradient(90deg, #f97316, #ea580c);
  position: relative;
  display: flex;
  align-items: center;
  overflow: hidden;
  width: 0%;
  animation: animateWidth 1.5s cubic-bezier(0.1, 0.8, 0.2, 1) forwards;
  animation-delay: var(--delay, 0s);
  border-right: 1px solid rgba(0,0,0,0.1);
}

.channel-bar-fill::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.15), transparent);
  animation: shine 2.5s infinite linear;
}

.channel-bar-bot {
  height: 100%;
  background: #ef4444;
  width: 0%;
  animation: animateWidth 1.5s cubic-bezier(0.1, 0.8, 0.2, 1) forwards;
  animation-delay: calc(var(--delay, 0s) + 0.3s);
  position: relative;
  display: flex;
  align-items: center;
}

.bar-url-label {
  position: absolute;
  left: 12px;
  color: rgba(255, 255, 255, 0.95);
  font-family: monospace;
  font-size: 0.8rem;
  z-index: 2;
  white-space: nowrap;
  opacity: 0;
  animation: fadeIn 0.5s ease calc(var(--delay, 0s) + 0.8s) forwards;
  text-shadow: 0 1px 2px rgba(0,0,0,0.3);
}

@keyframes animateWidth {
  from { width: 0%; }
  to { width: var(--target-width); }
}

@media (max-width: 640px) {
  .channel-info {
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
  }
  .bar-url-label {
    display: none;
  }
}
/* --- Dashboard UI --- */
.dash-wrapper {
  background: #ffffff;
  border-radius: 16px;
  padding: 32px;
  box-shadow: 0 10px 40px -10px rgba(0,0,0,0.1);
  width: 100%;
  color: #111827;
  font-family: 'Inter', sans-serif;
  text-align: left;
}

.dash-header {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 1.25rem;
  font-weight: 700;
  color: #111827;
  margin-bottom: 24px;
}

.dash-icon {
  width: 20px;
  height: 20px;
}

.transparency-wrap {
  display: flex !important;
  flex-direction: column !important;
  gap: 40px !important;
  width: 100% !important;
}
.transparency-top, .transparency-bottom {
  width: 100% !important;
  max-width: 100% !important;
}

.dash-cards-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  margin-bottom: 32px;
}

.dash-card {
  background: #ffffff;
  border: 1px solid #e5e7eb;
  border-radius: 12px;
  padding: 16px;
  display: flex;
  flex-direction: column;
  box-shadow: 0 2px 4px rgba(0,0,0,0.02);
  transition: transform 0.2s, box-shadow 0.2s;
  text-align: left;
}

.dash-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 15px -3px rgba(0,0,0,0.05);
}

.dash-card-header {
  font-size: 0.70rem;
  font-weight: 600;
  color: #6b7280;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 12px;
}

.dash-card-val {
  font-size: 1.75rem;
  font-weight: 700;
  color: #111827;
  margin-bottom: 4px;
  line-height: 1;
}

.dash-card-sub {
  font-size: 0.8rem;
  color: #10b981;
}
.dash-card-sub.sub-neutral { color: #6b7280; }
.dash-card-sub.sub-purple { color: #a855f7; }

.dash-country-wrap {
  display: flex;
  align-items: center;
  gap: 8px;
}
.dash-country-flag {
  font-size: 1.5rem;
}

.dash-table-wrap {
  border: 1px solid #e5e7eb;
  border-radius: 12px;
  overflow-x: auto;
  background: #ffffff;
}

.dash-table {
  width: 100%;
  border-collapse: collapse;
  text-align: left;
  font-size: 0.85rem;
  min-width: 450px;
}

.dash-table th {
  background: #f9fafb;
  padding: 12px;
  color: #6b7280;
  font-weight: 600;
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.dash-table td {
  padding: 12px;
  border-top: 1px solid #e5e7eb;
  color: #111827;
  vertical-align: middle;
  white-space: nowrap;
}

.dash-table tr:hover td {
  background: #f8fafc;
}

.dash-tr-primary {
  font-weight: 500;
  color: #111827;
}

.dash-tr-secondary {
  font-size: 0.7rem;
  color: #6b7280;
  display: block;
  margin-top: 4px;
}

.td-rank { font-weight: 600; color: #4b5563; }
.td-clicks { color: #10b981; font-weight: 600; }
.td-real-bot { color: #10b981; }
.td-bot-count { color: #ef4444; }
.td-geo { display: flex; align-items: center; gap: 6px; }

@media (max-width: 1024px) {
  .dash-cards-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 640px) {
  .dash-cards-grid { grid-template-columns: 1fr; }
  .dash-table th, .dash-table td { padding: 10px; font-size: 0.75rem; }
  .dash-wrapper { padding: 20px; }
}
