/* Copyright 2026 Alessio Mattoccia
 * SPDX-License-Identifier: Apache-2.0 */

.pt-theory-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: .65rem 1.15rem;
  margin-block-start: 1.25rem;
}

.dp-hero .pt-theory-actions .esae-download { margin-block-start: 0; }

.pt-theory-link, .pt-theory-page p a, .pt-theory-sources a {
  color: var(--dp-cert);
  text-decoration: underline;
  text-underline-offset: .18em;
}

.pt-theory-actions .pt-theory-link { padding-block: .5rem; font-weight: 600; }
.pt-model-context .pt-theory-link { display: inline-block; margin-block-start: .9rem; }
.pt-theory-page .pt-model-conditions { border-block-end: 1px solid var(--satin-line); }

.pt-theory-pairs {
  width: min(100%, 33rem);
  margin-block: 1rem;
  border-collapse: collapse;
}

.pt-theory-pairs caption {
  padding-block-end: .4rem;
  text-align: start;
  color: var(--satin-muted);
}

.pt-theory-pairs :is(th, td) {
  border-block-end: 1px solid var(--satin-line);
  padding: .35rem .6rem .35rem 0;
  text-align: start;
}

.pt-theory-pairs th { color: var(--dp-cert); }
.pt-theory-pairs th:nth-child(2) { white-space: nowrap; }
.pt-theory-sources { padding-inline-start: 1.25rem; }
.pt-theory-sources li + li { margin-block-start: .6rem; }
