/* Compiled Tailwind layer for the embedded Next.js thesis app */
:root {
  color-scheme: light;
}

.sta-thesis-shell {
  position: relative;
}

.sta-thesis-hero {
  display: flex;
  flex-direction: column;
}

.sta-thesis-root {
  position: relative;
  min-height: 320px;
}

.sta-thesis-fallback {
  padding: 2.5rem;
  border-radius: 1.25rem;
  border: 1px solid rgba(226, 232, 240, 0.8);
  background: radial-gradient(circle at top, rgba(236, 254, 255, 0.65), rgba(248, 250, 252, 0.95));
  box-shadow: 0 25px 60px rgba(15, 23, 42, 0.08);
}

.sta-thesis-fallback .animate-pulse > div {
  animation: sta-pulse 1.8s ease-in-out infinite;
  transform-origin: center;
}

@keyframes sta-pulse {
  0%, 100% {
    opacity: 0.35;
  }
  50% {
    opacity: 0.75;
  }
}

.sta-thesis-prose {
  color: #0f172a;
  font-size: 1.025rem;
  line-height: 1.75rem;
}

.sta-thesis-prose h1,
.sta-thesis-prose h2,
.sta-thesis-prose h3,
.sta-thesis-prose h4 {
  margin-top: 2.5rem;
  margin-bottom: 1rem;
  font-weight: 700;
  line-height: 1.2;
}

.sta-thesis-prose h1 {
  font-size: 2.6rem;
}

.sta-thesis-prose h2 {
  font-size: 2rem;
}

.sta-thesis-prose h3 {
  font-size: 1.5rem;
}

.sta-thesis-prose h4 {
  font-size: 1.25rem;
}

.sta-thesis-prose p {
  margin-top: 1.25rem;
  margin-bottom: 1.25rem;
}

.sta-thesis-prose ul,
.sta-thesis-prose ol {
  margin: 1.5rem 0;
  padding-left: 1.5rem;
}

.sta-thesis-prose li + li {
  margin-top: 0.6rem;
}

.sta-thesis-prose blockquote {
  border-left: 4px solid rgba(244, 63, 94, 0.35);
  padding-left: 1.5rem;
  margin: 2rem 0;
  font-style: italic;
  color: #475569;
}

.sta-thesis-prose table {
  width: 100%;
  border-collapse: collapse;
  margin: 1.5rem 0;
}

.sta-thesis-prose table th,
.sta-thesis-prose table td {
  border-bottom: 1px solid rgba(148, 163, 184, 0.3);
  padding: 0.75rem 1rem;
  text-align: left;
}

.sta-thesis-prose code {
  font-family: "Fira Code", "SFMono-Regular", Consolas, "Liberation Mono", Menlo, Courier, monospace;
  font-size: 0.95rem;
  background: rgba(15, 23, 42, 0.04);
  padding: 0.25rem 0.45rem;
  border-radius: 0.45rem;
}

.sta-thesis-prose pre {
  background: linear-gradient(135deg, rgba(15, 23, 42, 0.96), rgba(30, 64, 175, 0.9));
  color: #f8fafc;
  padding: 1.5rem;
  border-radius: 1rem;
  overflow-x: auto;
}

.sta-thesis-prose a {
  color: #be185d;
  transition: color 0.2s ease-in-out;
}

.sta-thesis-prose a:hover {
  color: #db2777;
}

.sta-thesis-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  font-size: 0.75rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  border-radius: 9999px;
  padding: 0.35rem 0.8rem;
  background: linear-gradient(120deg, rgba(236, 72, 153, 0.16), rgba(14, 165, 233, 0.18));
  color: #9f1239;
}

.sta-thesis-meter {
  height: 1px;
  background: linear-gradient(90deg, rgba(59, 130, 246, 0) 0%, rgba(59, 130, 246, 0.6) 45%, rgba(14, 165, 233, 0.75) 100%);
  margin: 2rem 0;
}

.sta-ticker-table {
  width: 100%;
  border-collapse: collapse;
  border-radius: 1rem;
  overflow: hidden;
}

.sta-ticker-table th {
  background: rgba(15, 23, 42, 0.96);
  color: #f8fafc;
  letter-spacing: 0.08em;
  font-size: 0.7rem;
  text-transform: uppercase;
  border-bottom: 1px solid rgba(148, 163, 184, 0.25);
}

.sta-ticker-table td,
.sta-ticker-table th {
  padding: 0.85rem 1rem;
}

.sta-ticker-table tbody tr:nth-child(odd) {
  background: rgba(248, 250, 252, 0.9);
}

.sta-ticker-table tbody tr:hover {
  background: rgba(236, 72, 153, 0.08);
}

.sta-thesis-chip {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.75rem;
  font-weight: 600;
  padding: 0.4rem 0.75rem;
  border-radius: 9999px;
  background: rgba(244, 114, 182, 0.15);
  color: #be123c;
}

.sta-glow-card {
  position: relative;
  border-radius: 1.5rem;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.9);
  box-shadow: 0 45px 120px rgba(15, 23, 42, 0.18);
}

.sta-glow-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 10% -10%, rgba(124, 58, 237, 0.15), transparent 45%),
              radial-gradient(circle at 90% 20%, rgba(244, 63, 94, 0.18), transparent 40%);
  pointer-events: none;
  opacity: 0.8;
}

.sta-glow-card > * {
  position: relative;
  z-index: 1;
}

.sta-variant-track {
  position: relative;
  height: 5px;
  border-radius: 9999px;
  background: linear-gradient(90deg, rgba(56, 189, 248, 0.35), rgba(16, 185, 129, 0.4));
}

.sta-variant-track::after {
  content: "";
  position: absolute;
  inset: -8px;
  border-radius: 9999px;
  background: radial-gradient(circle, rgba(14, 165, 233, 0.22), transparent 70%);
  filter: blur(8px);
  opacity: 0;
  transition: opacity 0.25s ease;
}

.sta-variant-track[data-active="true"]::after {
  opacity: 1;
}

.sta-variant-label {
  cursor: pointer;
  padding: 0.35rem 0.75rem;
  border-radius: 9999px;
  font-size: 0.75rem;
  font-weight: 600;
  transition: all 0.2s ease;
}

.sta-variant-label[data-selected="true"] {
  color: #0f172a;
  background: rgba(59, 130, 246, 0.2);
  box-shadow: inset 0 0 0 1px rgba(59, 130, 246, 0.35);
}

.sta-variant-label:hover {
  color: #0f172a;
  background: rgba(59, 130, 246, 0.15);
}

.sta-impacter-card {
  border-top: 6px solid rgba(59, 130, 246, 0.65);
  border-radius: 1.25rem;
  background: rgba(15, 23, 42, 0.02);
  backdrop-filter: blur(8px);
}

.sta-impacter-card ul {
  list-style: none;
  padding-left: 0;
  margin: 0;
}

.sta-impacter-card li + li {
  margin-top: 0.65rem;
}

.sta-impacter-pill {
  font-size: 0.7rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  border-radius: 9999px;
  background: rgba(59, 130, 246, 0.15);
  color: rgba(30, 64, 175, 1);
  padding: 0.3rem 0.65rem;
}

.sta-empty-state {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.75rem;
  text-align: center;
  padding: 3rem 1.5rem;
  border-radius: 1.25rem;
  border: 1px dashed rgba(226, 232, 240, 0.75);
  background: rgba(248, 250, 252, 0.5);
  color: #64748b;
}

@media (max-width: 640px) {
  .sta-thesis-fallback {
    padding: 1.75rem;
  }

  .sta-thesis-prose h1 {
    font-size: 2.15rem;
  }

  .sta-thesis-prose h2 {
    font-size: 1.75rem;
  }

  .sta-glow-card {
    border-radius: 1.25rem;
  }
}
