/**
 * Panels of a multi-contract legal document.
 *
 * Typography lives in legal_body.css; this only handles focus.
 */

.dc-legal-panel:focus-visible {
  outline: 2px solid var(--digicel-red);
  outline-offset: 4px;
}

.dc-legal-panel[hidden] {
  display: none;
}

/* Without JavaScript every panel shows; keep the contracts apart. */
.dc-legal-panel:not([hidden]) ~ .dc-legal-panel:not([hidden]) {
  margin-top: var(--space-16);
}
