/**
 * Telno HT8022026 — product layer only.
 *
 * The shell, cards, tables and controls come from /ui/console.css, which this
 * product serves from the same file as the T54W console. What is left here is
 * specific to an adapter: two ports side by side, and the parameter table hidden
 * inside a disclosure rather than being the first thing an operator reads.
 */

/* Two ports read as a pair, so they keep equal height even when one carries more
   fields than the other. */
.grid.cols-2 > .port-card {
  display: flex;
  flex-direction: column;
}

.grid.cols-2 > .port-card .port-actions {
  margin-top: auto;
}

/* The evidence table sits inside a disclosure; it should stay compact. */
.port-card details > .scroll {
  max-height: 320px;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
}

.port-card details table th {
  background: var(--surface);
}

/* A generated XML file is wide; keep it readable rather than wrapping tags. */
#xml-preview {
  max-height: 520px;
}

/* ── editing a name or a caller ID ─────────────────────────────────────── */

/* `.field` and its label live in /ui/console.css: the T54W, T750 and HT802
   consoles share one form control rather than three that drift apart. */
.port-edit {
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding-top: 0;
}

.port-edit .row-actions {
  display: flex;
  gap: 8px;
}
