/* Shared static styling for Crew Signal merger-history pages.
   Load after /assets/css/main.css. */

.cs-report__main {
  margin-top: 2rem;
}

.aw-ua-report {
  color: var(--cs-text-main);
}

.aw-ua-report h2,
.aw-ua-report h3,
.aw-ua-report h4 {
  color: var(--cs-heading);
  scroll-margin-top: 1.5rem;
}

.aw-ua-report p,
.aw-ua-report li,
.aw-ua-report td,
.aw-ua-report th,
.aw-ua-report div,
.aw-ua-report section {
  color: var(--cs-text-main);
}

.aw-ua-report a {
  color: var(--cs-accent);
  text-decoration: none;
}

.aw-ua-report a:hover {
  text-decoration: underline;
}

.aw-ua-report__callout,
.aw-ua-report__toc,
.aw-ua-report__meta {
  margin: 1rem 0 1.5rem;
  padding: 1rem 1.1rem;
  border: 1px solid var(--cs-border-subtle);
  border-radius: 1rem;
  background: rgba(15, 23, 42, 0.55);
}

.aw-ua-report__meta {
  color: var(--cs-text-muted);
  font-size: 0.92rem;
}

.aw-ua-report__toc h2 {
  margin: 0 0 0.6rem;
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--cs-text-muted);
  border: 0;
  padding: 0;
}

.aw-ua-report__toc ul {
  margin: 0;
  padding-left: 1.15rem;
}

.aw-ua-report__toc li {
  margin: 0.18rem 0;
}

.aw-ua-report__toc-subitem {
  margin-left: 0.9rem;
}

.aw-ua-report__table-wrap {
  width: 100%;
  overflow-x: auto;
  margin: 1rem 0 1.5rem;
  -webkit-overflow-scrolling: touch;
}

.aw-ua-report table {
  width: 100%;
  min-width: 760px;
  border-collapse: collapse;
}

.aw-ua-report th,
.aw-ua-report td {
  padding: 0.75rem 0.85rem;
  vertical-align: top;
  border: 1px solid rgba(148, 163, 184, 0.22);
}

.aw-ua-report th {
  text-align: left;
  background: rgba(255, 255, 255, 0.04);
  font-size: 0.82rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--cs-heading);
}

.aw-ua-report__sources {
  margin-top: 2.2rem;
  padding-top: 1.15rem;
  border-top: 1px solid var(--cs-border-subtle);
}

.aw-ua-report__sources ol {
  padding-left: 1.25rem;
}

.aw-ua-report__sources li,
.aw-ua-report__tight li {
  margin-bottom: 0.45rem;
  overflow-wrap: anywhere;
}

.aw-ua-report__small {
  color: var(--cs-text-muted);
  font-size: 0.9rem;
}

@media (max-width: 640px) {
  .aw-ua-report table {
    min-width: 640px;
  }
}
