:root {
  color-scheme: light;
  font-family: Inter, Arial, Helvetica, sans-serif;
  background: #ffffff;
  color: #171717;
}

html,
body {
  width: 100%;
  min-width: 0;
  min-height: 100%;
  margin: 0;
  background: #ffffff;
}

body {
  overflow: hidden;
}

.eeagli-embed-root {
  position: relative;
  width: 100vw;
  height: 100vh;
  min-height: 240px;
  background: #ffffff;
}

.eeagli-embed-status,
.eeagli-embed-error {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  padding: 24px;
  color: #4b5563;
  font-size: 14px;
  line-height: 1.4;
  text-align: center;
}

.eeagli-embed-error {
  color: #991b1b;
}

.eeagli-embed-chart {
  display: block;
  width: 100%;
  height: 100%;
  background: #ffffff;
}

.eeagli-embed-tooltip {
  position: absolute;
  z-index: 2;
  min-width: 120px;
  max-width: min(260px, calc(100vw - 32px));
  padding: 8px 10px;
  border: 1px solid rgba(17, 24, 39, 0.12);
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.96);
  box-shadow: 0 12px 28px rgba(17, 24, 39, 0.16);
  color: #111827;
  font-size: 12px;
  line-height: 1.35;
  pointer-events: none;
  transform: translate(-50%, calc(-100% - 14px));
}

.eeagli-embed-tooltip[hidden] {
  display: none;
}

.eeagli-embed-tooltip strong {
  display: block;
  margin-bottom: 3px;
  font-size: 12px;
}

.eeagli-embed-tooltip span {
  display: block;
  color: #4b5563;
}
