/*
SPDX-FileCopyrightText: 2026 Projex Labs <opensource@projexlabs.com>

SPDX-License-Identifier: LicenseRef-PolyForm-Perimeter-1.0.0
*/

/* The live connectors each plan includes, where the add-on picker was. */
.livegrid.included {
  grid-template-columns: 1fr;
}
.livegrid.included .addons {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}
.livegrid.included .addon .price {
  display: flex;
  align-items: baseline;
  gap: 8px;
}
@media (max-width: 900px) {
  .livegrid.included .addons {
    grid-template-columns: 1fr;
  }
}

/* Cloud or self-hosted. */
.avail {
  margin-top: clamp(14px, 2.2vh, 24px);
  border-radius: 22px;
  padding: clamp(12px, 1.8vh, 18px) clamp(14px, 1.6vw, 22px);
}
.avail table {
  width: 100%;
  border-collapse: collapse;
  font-size: 14px;
  line-height: 1.35;
}
.avail caption {
  text-align: left;
  padding-bottom: 8px;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent, #60a5fa);
}
.avail th,
.avail td {
  padding: 7px 10px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  text-align: left;
  font-weight: 400;
  color: #cbd5e1;
}
.avail thead th {
  border-top: 0;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #94a3b8;
}
.avail thead th + th,
.avail td {
  width: 9.5em;
  text-align: center;
}
.avail td.y {
  color: #fff;
}
.avail td.y svg {
  vertical-align: -3px;
}
.avail td.n {
  color: #94a3b8;
}
.avail .sr {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}

/* The phone page: the same table, folded, inside the live connectors page. */
.pg .avail summary {
  cursor: pointer;
  min-height: 24px;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--accent, #60a5fa);
}
.pg .avail[open] summary {
  margin-bottom: 6px;
}
.pg .avail {
  margin-top: 14px;
  padding: 10px 12px;
  border-radius: 16px;
  background: rgba(15, 23, 42, 0.6);
  border: 1px solid rgba(255, 255, 255, 0.1);
}
.pg .avail table {
  font-size: 12.5px;
}
.pg .avail th,
.pg .avail td {
  padding: 5px 6px;
}
.pg .avail thead th + th,
.pg .avail td {
  width: 4.6em;
}
.pg .addon.included {
  pointer-events: none;
}
