/* Reset / base */
*, *::before, *::after {
  border-radius: 0 !important;
  box-sizing: border-box;
}

/* Allow border-radius only on these specific utility classes (status dots, scrollbar thumbs) */
.status-dot,
.status-dot::before,
.status-dot::after,
.rounded-allowed,
::-webkit-scrollbar-thumb {
  border-radius: 9999px !important;
}

html, body, #root {
  height: 100%;
  background: #0a0a0a;
  color: #fff;
  font-family: 'Geist', 'DM Sans', system-ui, -apple-system, sans-serif;
}

/* Custom dark scrollbar */
::-webkit-scrollbar { width: 10px; height: 10px; }
::-webkit-scrollbar-track { background: #0a0a0a; }
::-webkit-scrollbar-thumb { background: #262626; border-radius: 9999px; }
::-webkit-scrollbar-thumb:hover { background: #404040; }

/* Hide scrollbar utility for horizontal LP chip row */
.no-scrollbar::-webkit-scrollbar { display: none; }
.no-scrollbar { -ms-overflow-style: none; scrollbar-width: none; }

/* Speak Mode body text — large, readable */
.speak-body {
  font-size: 22px;
  line-height: 1.55;
  color: #f5f5f5;
}
.speak-heading {
  font-size: 14px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #10b981;
  font-weight: 600;
}
.speak-title {
  font-size: clamp(28px, 4vw, 40px);
  line-height: 1.15;
  font-weight: 700;
  letter-spacing: -0.02em;
}
.speak-highlight {
  font-size: 22px;
  line-height: 1.45;
  color: #fff;
  font-weight: 500;
}
.speak-metric-value {
  font-family: 'JetBrains Mono', ui-monospace, monospace;
  font-size: 20px;
  font-weight: 700;
  color: #34d399;
  letter-spacing: -0.01em;
}
.speak-metric-label {
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: #a3a3a3;
}

/* Star rating glyph */
.star {
  display: inline-block;
  font-family: ui-sans-serif;
  color: #525252;
}
.star.filled { color: #10b981; }

/* Focus ring */
:focus-visible {
  outline: 2px solid #10b981;
  outline-offset: 2px;
}

/* Inputs / textareas — squared edges, dark, with emerald focus */
input, textarea, select, button {
  background-color: #111;
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.06);
  font-family: inherit;
}
input:focus, textarea:focus, select:focus {
  border-color: #10b981;
  outline: none;
}

/* Card hover */
.card-hover { transition: background-color 120ms ease, border-color 120ms ease; }
.card-hover:hover { background-color: #141414; border-color: rgba(255, 255, 255, 0.1); }

/* PIN dots */
.pin-cell {
  width: 44px; height: 56px;
  display: flex; align-items: center; justify-content: center;
  background: #111;
  border: 1px solid rgba(255, 255, 255, 0.08);
  font-family: 'JetBrains Mono', ui-monospace, monospace;
  font-size: 24px;
  color: #fff;
}
.pin-cell.active { border-color: #10b981; }

/* Subtle pulse animation for sync indicator dot */
@keyframes pulse-dim {
  0%, 100% { opacity: 0.4; }
  50% { opacity: 1; }
}
.animate-pulse-dim { animation: pulse-dim 1.5s ease-in-out infinite; }
