/*
  Loaded after the GOV.UK Frontend stylesheet. This service is not on GOV.UK, so it must never use the GDS Transport
  font (or any other GOV.UK branding): everything renders in the system font stack instead.
*/
:root {
  --govuk-font-family: Helvetica, Arial, sans-serif;
}

body,
[class^="govuk-"],
[class*=" govuk-"] {
  font-family: Helvetica, Arial, sans-serif !important;
}

/* Check answers: show the visitor's own line breaks in a long request or an address. */
.app-multiline {
  white-space: pre-line;
  overflow-wrap: anywhere;
}

/* A warning above an input (the input's beforeInput option, used on the name page): GOV.UK Frontend puts it in the
   input's flex wrapper, beside the input. Give it a line of its own, above the input. */
.govuk-input__wrapper:has(> .govuk-warning-text) {
  display: block;
}

/* Demo inbox: one email per block, a rule between them. */
.app-inbox__message {
  border-bottom: 1px solid #b1b4b6;
  margin-bottom: 30px;
  padding-bottom: 10px;
}

/* Disclosure log: keep a date on one line. */
.app-nowrap {
  white-space: nowrap;
}

/* One of two layouts of the same content, either side of GOV.UK's tablet breakpoint (641px): for example a table on
   wider screens and summary cards on a phone. Hidden with display: none, so only one is read out or tabbed through. */
@media (max-width: 40.0525em) {
  .app-show-from-tablet {
    display: none;
  }
}

@media (min-width: 40.0625em) {
  .app-show-until-tablet {
    display: none;
  }
}
