/* Compatibility pages (/compatibility, jyoti/web/seo/compatibility.py).
   Loaded after /static/seo.css and /static/web/site-base.css. */

.compat .tableScroll { overflow-x: auto; -webkit-overflow-scrolling: touch; }

.compat table { border-collapse: collapse; width: 100%; font-size: 15px; }

.compat th,
.compat td {
  padding: 8px 10px;
  text-align: left;
  vertical-align: top;
  border-bottom: 1px solid rgba(240, 200, 120, .16);
}

.compat thead th { color: var(--on-dark-head, inherit); white-space: nowrap; }
.compat .pts { text-align: center; font-weight: 600; white-space: nowrap; }
.compat .why { min-width: 260px; }
.compat .totalRow th,
.compat .totalRow td { border-top: 1px solid rgba(240, 200, 120, .4); font-weight: 600; }

.compat .compatGrid { font-size: 12px; min-width: 640px; }
.compat .compatGrid caption { caption-side: top; text-align: left; padding: 0 0 8px; opacity: .85; }
.compat .compatGrid th,
.compat .compatGrid td { padding: 4px 5px; text-align: center; white-space: nowrap; }
.compat .compatGrid tbody th { text-align: left; position: sticky; left: 0; background: var(--indigo-2, #1b2150); }
.compat .compatGrid td a { display: block; text-decoration: none; }
.compat .compatGrid td.lv-hi { background: rgba(240, 200, 120, .28); }
.compat .compatGrid td.lv-mid { background: rgba(240, 200, 120, .13); }
.compat .compatGrid td.lv-lo { background: transparent; }

.compat .pairLinks,
.compat .cityGrid {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(190px, 1fr));
  gap: 6px 16px;
}

.compat .factPair { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 16px; }
.compat .factGrid { margin: 0 0 8px; }
.compat .factGrid div { display: grid; grid-template-columns: 9em 1fr; gap: 4px 12px; padding: 3px 0; }
.compat .factGrid dt { opacity: .8; }
.compat .factGrid dd { margin: 0; }
.compat .kootaTable { min-width: 560px; }
