/* Styles the tables need, which cannot be expressed in a column definition. */

/* A topic that became more significant between two dates, and one that fell
   back. The comparison page leans on this: the whole point of the table is
   which way something moved, and a number alone does not say it. */
.ag-theme-alpine .row-promoted,
.ag-theme-alpine-dark .row-promoted {
  background-color: rgba(47, 158, 68, 0.12);
}

.ag-theme-alpine .row-demoted,
.ag-theme-alpine-dark .row-demoted {
  background-color: rgba(230, 119, 0, 0.12);
}

/* Long representations and queries should wrap in a cell rather than be cut
   at the edge of a column nobody thought to widen. */
.ag-theme-alpine .ag-cell-wrap-text,
.ag-theme-alpine-dark .ag-cell-wrap-text {
  word-break: break-word;
}

/* Reports and maps are documents in their own right; give them a white page
   to sit on whichever theme the interface is in. */
iframe {
  color-scheme: light;
}
