/* Only replace the React app's duplicated chrome. No card, typography or content redesigns. */
body.trustlinks-react-bridge #root header,
body.trustlinks-react-bridge #root footer {
  display: none !important;
}
body.trustlinks-react-bridge #root {
  max-width: 100%;
  overflow-x: clip;
}

/* Prevent the server-rendered footer from flashing before the React bridge mounts. */
body.trustlinks-react-bridge.tl-react-pending .tl-main--bridge {
  min-height: calc(100vh - var(--tl-header-h, 76px));
}
body.trustlinks-react-bridge.tl-react-pending .tl-footer {
  visibility: hidden;
}
