.business-history-drawer {
  position: fixed;
  inset: 0 0 0 auto;
  z-index: 1200;
  display: flex;
  width: min(430px, 94vw);
  height: 100dvh;
  flex-direction: column;
  background: #fff;
  box-shadow: -16px 0 48px rgba(15, 23, 42, 0.18);
  transform: translateX(calc(100% + 50px));
  transition: transform 180ms ease;
  visibility: hidden;
}

.business-history-drawer.is-open {
  transform: translateX(0);
  visibility: visible;
}

.business-history-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 20px;
  padding: 24px;
  border-bottom: 1px solid #e2e8f0;
}

.business-history-header h2 {
  margin: 2px 0 4px;
  color: #0f172a;
  font-size: 1.25rem;
}

.business-history-eyebrow,
.business-history-document,
.business-history-source,
.business-history-description {
  margin: 0;
}

.business-history-eyebrow {
  color: #64748b;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.business-history-document {
  color: #475569;
  font-size: 0.88rem;
}

.business-history-close {
  width: 36px;
  height: 36px;
  border: 0;
  border-radius: 50%;
  background: #f1f5f9;
  color: #334155;
  cursor: pointer;
  font-size: 1.6rem;
  line-height: 1;
}

.business-history-close:hover,
.business-history-close:focus-visible {
  background: #e2e8f0;
  outline: 2px solid #2563eb;
  outline-offset: 2px;
}

.business-history-content {
  flex: 1;
  overflow-y: auto;
  padding: 24px;
}

.business-history-timeline {
  margin: 0;
  padding: 0;
  list-style: none;
}

.business-history-event {
  position: relative;
  margin-left: 7px;
  padding: 0 0 26px 24px;
  border-left: 2px solid #dbeafe;
}

.business-history-event::before {
  position: absolute;
  top: 4px;
  left: -7px;
  width: 12px;
  height: 12px;
  border: 2px solid #fff;
  border-radius: 50%;
  background: #2563eb;
  box-shadow: 0 0 0 1px #93c5fd;
  content: "";
}

.business-history-event:last-child {
  padding-bottom: 0;
}

.business-history-time,
.business-history-source {
  color: #64748b;
  font-size: 0.76rem;
}

.business-history-action {
  margin: 4px 0 7px;
  color: #0f172a;
  font-size: 0.98rem;
}

.business-history-attribution {
  display: grid;
  gap: 2px;
  color: #1e293b;
  font-size: 0.86rem;
  font-weight: 600;
}

.business-history-muted {
  color: #64748b;
  font-weight: 400;
}

.business-history-description {
  margin-top: 8px;
  color: #475569;
  font-size: 0.84rem;
  line-height: 1.45;
}

.business-history-source {
  margin-top: 7px;
  overflow-wrap: anywhere;
}

.business-history-loading,
.business-history-empty,
.business-history-error {
  margin: 24px 0;
  color: #64748b;
  line-height: 1.5;
  text-align: center;
}

.business-history-error {
  color: #b91c1c;
}

@media (prefers-reduced-motion: reduce) {
  .business-history-drawer {
    transition: none;
  }
}
