/* Shared data-list typography. Keep page-specific column widths, status colours and mobile labels. */
body.records-unified {
  --list-line: #dce5ef;
  --list-head: #f2f6fa;
  --list-ink: #17334f;
  --list-muted: #526a81;
  --list-hover: #f3f8fd;
}

body.records-unified.tron-v6 table {
  font-family: inherit;
  font-size: 13px;
  line-height: 1.4;
  color: var(--list-ink);
  font-variant-numeric: tabular-nums;
}

body.records-unified.tron-v6 table > thead > tr > th {
  background: var(--list-head);
  color: var(--list-muted);
  font-size: 12px;
  font-weight: 600;
  line-height: 1.35;
  letter-spacing: 0;
  text-transform: none;
  border-bottom: 1px solid var(--list-line);
}

@media (min-width: 761px) {
  body.records-unified.tron-v6 table:not(.records-v621-cards) > thead > tr > th,
  body.records-unified.tron-v6 table:not(.records-v621-cards) > tbody > tr:not(.cr-detail) > td {
    padding: 8px 10px;
  }
}

body.records-unified.tron-v6 table > tbody > tr:not(.cr-detail) > td {
  border-bottom-color: var(--list-line);
  font-size: 13px;
  line-height: 1.4;
}

@media (hover:hover) {
  body.records-unified table > tbody > tr:not(.cr-detail):hover > td { background-color: var(--list-hover); }
}

body.records-unified :is(.cr-list,.pt-history,.support-ticket-list,.blog-admin-items,.backup-list,.source-list,.earn-flow-list,.tracking-detail-list) {
  --cr-muted: var(--list-muted);
  min-width: 0;
  font-variant-numeric: tabular-nums;
}

body.records-unified :is(.support-ticket-row,.blog-admin-item,.source-row,.earn-flow-item,.np6327-row,.pt-record) {
  padding: 9px 12px;
  border-color: var(--list-line);
  line-height: 1.4;
}
body.records-unified :is(.pt-v6329,.ptr-page) { font-family: inherit; }
body.records-unified .pt-v6329 .pt-card { padding: 14px; }
body.records-unified .pt-v6329 .pt-grid { gap: 12px; align-items: start; }
body.records-unified .pt-v6329 .pt-card :is(.pt-field,.pt-label,.pt-micro,.pt-operation-note),
body.records-unified .ptr-page :is(.tn-muted,.tn-metric small,.ptr-note) {
  font-size: 12px; line-height: 1.45; color: var(--list-muted);
}
body.records-unified .pt-v6329 .pt-history { display: block; background: white; border: 1px solid var(--list-line); border-radius: 10px; }
body.records-unified .pt-v6329 .pt-record { border: 0; border-radius: 0; box-shadow: none; background: transparent; }
body.records-unified .pt-v6329 .pt-record + .pt-record { border-top: 1px solid var(--list-line); }
body.records-unified .pt-v6329 .pt-record-main { display: grid; grid-template-columns: 4em 1fr 1fr minmax(9em,1.5fr) auto; gap: 8px; align-items: baseline; font-size: 13px; }
body.records-unified .pt-record-main > time { color: var(--list-muted); font-size: 12px; }
body.records-unified .pt-code { white-space: normal; overflow-wrap: anywhere; }
body.records-unified :is(.pt-history,.cr-list,.tn-table-wrap,table) :focus-visible { outline: 2px solid #2867a7; outline-offset: 2px; }
body.records-unified .pt-v6329 .pt-record summary { display: list-item; cursor: pointer; }
@media (max-width: 760px) {
  body.records-unified .pt-v6329 .pt-record-main { grid-template-columns: auto minmax(0,1fr) auto; }
  body.records-unified .pt-v6329 .pt-record-status { grid-column: 1 / 3; }
  body.records-unified .pt-record-main > time { text-align: right; }
  body.records-unified .pt-v6329 .pt-grid { grid-template-columns: minmax(0,1fr); }
  body.records-unified :is(.tn-table-wrap,.table-scroll,.pp-table-panel,.earn-orderbook-tablewrap) { max-width: 100%; overflow-x: auto; }
}

body.records-unified .pt-edit-settings { border-top: 1px solid var(--list-line); }
body.records-unified .pt-edit-settings > summary {
  padding: 9px 0;
  cursor: pointer;
  color: var(--list-ink);
  font-size: 13px;
  font-weight: 600;
}
body.records-unified .pt-edit-settings[open] > summary { margin-bottom: 4px; }
body.records-unified .pt-edit-settings .pt-confirm-box { margin-top: 12px; }
body.records-unified .pt-edit-settings [hidden] { display: none; }
