/* The panels over the panes (support, paste). */
/* ---------------------------------------------------------------- panels */
.grid {
  width: 100%;
  border-collapse: collapse;
  font-size: 14px;
}
.grid th {
  position: sticky;
  top: 0;
  z-index: 1;
  padding: 10px 18px;
  background: var(--surface);
  border-bottom: 1px solid var(--line-strong);
  color: var(--muted);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-align: left;
  text-transform: uppercase;
  white-space: nowrap;
}
.grid td {
  padding: 9px 18px;
  border-bottom: 1px solid var(--line);
  vertical-align: top;
}
.grid tbody tr:hover {
  background: var(--surface-2);
}
.grid td:nth-child(n + 2):not(:last-child) {
  white-space: nowrap;
}
.grid .yes {
  color: var(--ok);
  font-weight: 600;
}
.grid .no {
  color: var(--bad);
  font-weight: 700;
}
#support-table td:last-child {
  color: var(--muted);
}
.tag-status {
  display: inline-block;
  padding: 1px 10px;
  border-radius: 999px;
  background: var(--surface-2);
  color: var(--muted);
  font-size: 12px;
  font-weight: 600;
  white-space: nowrap;
}
.tag-status.supported {
  background: var(--ok-soft);
  color: var(--ok);
}
.tag-status.partial {
  background: var(--accent-soft);
  color: var(--accent);
}
.filters {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}
.filters button {
  height: 30px;
  padding: 0 12px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: transparent;
  color: var(--muted);
  font-size: 13px;
  font-weight: 500;
  cursor: pointer;
  transition:
    background-color var(--fast),
    color var(--fast);
}
.filters button:hover {
  color: var(--fg);
}
.filters button[aria-pressed="true"] {
  border-color: transparent;
  background: var(--accent-soft);
  color: var(--accent);
}
.filters b {
  margin-left: 4px;
  font-family: var(--mono);
  font-size: 12px;
}
.paste {
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: 14px 18px 18px;
}
.paste textarea {
  flex: 1;
  min-height: 0;
  padding: 12px 14px;
  border: 1px solid var(--line-strong);
  border-radius: 12px;
  background: var(--surface-2);
  font: 13px / 1.55 var(--mono);
  resize: none;
}
.paste .btn {
  align-self: flex-start;
}
