html {
  box-sizing: border-box;
  background: #fff;
}

*,
*::before,
*::after {
  box-sizing: inherit;
}

body {
  margin: 0;
  min-height: 100vh;
  color: #111827;
  background: #fff;
  font-family: "Segoe UI", -apple-system, BlinkMacSystemFont, "Helvetica Neue",
    Arial, sans-serif;
  line-height: 1.5;
}

a {
  color: inherit;
  text-decoration: none;
}

img {
  display: block;
  max-width: 100%;
}

main {
  display: block;
}

.min-h-full {
  min-height: 100vh;
}

.h-full {
  min-height: 100%;
}

.mx-auto {
  margin-left: auto;
  margin-right: auto;
}

.max-w-7xl {
  max-width: 80rem;
}

.max-w-6xl {
  max-width: 72rem;
}

.max-w-full {
  max-width: 100%;
}

.px-4 {
  padding-left: 1rem;
  padding-right: 1rem;
}

.px-3\.5 {
  padding-left: 0.875rem;
  padding-right: 0.875rem;
}

.px-6 {
  padding-left: 1.5rem;
  padding-right: 1.5rem;
}

.px-8 {
  padding-left: 2rem;
  padding-right: 2rem;
}

.py-2 {
  padding-top: 0.5rem;
  padding-bottom: 0.5rem;
}

.py-2\.5 {
  padding-top: 0.625rem;
  padding-bottom: 0.625rem;
}

.py-10 {
  padding-top: 2.5rem;
  padding-bottom: 2.5rem;
}

.py-24 {
  padding-top: 6rem;
  padding-bottom: 6rem;
}

.pb-10 {
  padding-bottom: 2.5rem;
}

.mb-1 {
  margin-bottom: 0.25rem;
}

.mb-4 {
  margin-bottom: 1rem;
}

.mb-5 {
  margin-bottom: 1.25rem;
}

.mt-4 {
  margin-top: 1rem;
}

.mt-6 {
  margin-top: 1.5rem;
}

.mt-10 {
  margin-top: 2.5rem;
}

.-mr-2 {
  margin-right: -0.5rem;
}

.block {
  display: block;
}

.hidden {
  display: none;
}

.flex {
  display: flex;
}

.grid {
  display: grid;
}

.items-center {
  align-items: center;
}

.items-baseline {
  align-items: baseline;
}

.justify-between {
  justify-content: space-between;
}

.justify-center {
  justify-content: center;
}

.place-items-center {
  place-items: center;
}

.flex-wrap {
  flex-wrap: wrap;
}

.flex-none {
  flex: none;
}

.flex-shrink-0 {
  flex-shrink: 0;
}

.w-full {
  width: 100%;
}

.w-4 {
  width: 1rem;
}

.w-80 {
  width: 20rem;
}

.h-4 {
  height: 1rem;
}

.h-14 {
  height: 2.5rem;
}

.h-16 {
  height: 4rem;
}

.w-auto {
  width: auto;
}

.grid-cols-1 {
  grid-template-columns: repeat(1, minmax(0, 1fr));
}

.gap-px {
  gap: 1px;
}

.gap-x-4 {
  column-gap: 1rem;
}

.gap-x-6 {
  column-gap: 1.5rem;
}

.gap-y-2 {
  row-gap: 0.5rem;
}

.rounded-full {
  border-radius: 9999px;
}

.rounded-md {
  border-radius: 0.5rem;
}

.border-b {
  border-bottom: 1px solid #e5e7eb;
}

.border-gray-200 {
  border-color: #e5e7eb;
}

.border-gray-300 {
  border: 1px solid #d1d5db;
}

.bg-white {
  background: rgba(255, 255, 255, 0.92);
}

.bg-gray-900\/5 {
  background: rgba(17, 24, 39, 0.05);
}

.bg-green-400 {
  background: #4ade80;
}

.bg-red-400 {
  background: #f87171;
}

.bg-indigo-600 {
  background: #4f46e5;
}

.text-center {
  text-align: center;
}

.text-xs {
  font-size: 0.75rem;
}

.text-sm {
  font-size: 0.875rem;
}

.text-base {
  font-size: 1rem;
}

.text-2xl {
  font-size: 1.5rem;
}

.text-3xl {
  font-size: 1.875rem;
}

.font-medium {
  font-weight: 500;
}

.font-semibold {
  font-weight: 600;
}

.font-bold {
  font-weight: 700;
}

.leading-6 {
  line-height: 1.5rem;
}

.leading-7 {
  line-height: 1.75rem;
}

.leading-10 {
  line-height: 2.5rem;
}

.tracking-tight {
  letter-spacing: -0.025em;
}

.text-white {
  color: #fff;
}

.text-gray-500 {
  color: #6b7280;
}

.text-gray-600 {
  color: #4b5563;
}

.text-gray-700 {
  color: #374151;
}

.text-gray-900 {
  color: #111827;
}

.text-emerald-600 {
  color: #45c478;
}

.text-rose-600 {
  color: #e11d48;
}

.text-indigo-600 {
  color: #4f46e5;
}

.shadow-sm,
.shadow-lg {
  box-shadow: 0 18px 45px rgba(15, 23, 42, 0.08);
}

.min-h-\[400px\] {
  min-height: 400px;
}

.candle-chart,
#value-stocks,
.stats-card,
.empty-state {
  background: rgba(255, 255, 255, 0.95);
  border: 1px solid rgba(148, 163, 184, 0.2);
  border-radius: 1rem;
  box-shadow: 0 20px 40px rgba(15, 23, 42, 0.08);
}

nav.bg-white {
  position: sticky;
  top: 0;
  z-index: 10;
  backdrop-filter: blur(12px);
}

header .text-2xl {
  padding-top: 1rem;
}

dl.grid {
  overflow: hidden;
  border-radius: 1rem;
}

select,
button,
.btn,
input {
  font: inherit;
}

select {
  padding: 0.7rem 0.9rem;
  background: #fff;
}

#value-stocks {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0;
  overflow: hidden;
}

#value-stocks thead th {
  padding: 0.9rem 1rem;
  background: #fff;
  text-align: left;
  font-size: 0.875rem;
}

#value-stocks tbody td {
  padding: 0.9rem 1rem;
  background: #fff;
  border-top: 1px solid #e5e7eb;
}

#value-stocks tbody tr {
  cursor: pointer;
}

#value-stocks tbody tr:hover {
  background: #fff;
}

.rounded-md.bg-indigo-600,
.btn.btn-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.7rem 1rem;
  color: #fff;
  font-weight: 600;
}

.rounded-md.bg-indigo-600:hover,
.btn.btn-primary:hover {
  background: #4338ca;
}

.empty-state {
  max-width: 36rem;
  margin: 4rem auto;
  padding: 3rem 2rem;
}

@media (min-width: 640px) {
  .sm\:flex {
    display: flex;
  }

  .sm\:hidden {
    display: none;
  }

  .sm\:ml-6 {
    margin-left: 1.5rem;
  }

  .sm\:ml-10 {
    margin-left: 2.0rem;
  }

  .sm\:items-center {
    align-items: center;
  }

  .sm\:px-6 {
    padding-left: 1.5rem;
    padding-right: 1.5rem;
  }

  .sm\:py-32 {
    padding-top: 8rem;
    padding-bottom: 8rem;
  }

  .sm\:text-5xl {
    font-size: 3rem;
    line-height: 1;
  }
}

@media (min-width: 1024px) {
  .lg\:block {
    display: block;
  }

  .lg\:hidden {
    display: none;
  }

  .lg\:px-8 {
    padding-left: 2rem;
    padding-right: 2rem;
  }

  .lg\:grid-cols-2 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (min-width: 1280px) {
  .xl\:px-8 {
    padding-left: 2rem;
    padding-right: 2rem;
  }
}
