@font-face {
  font-family: "Founders Grotesk";
  src: url("../assets/fonts/FoundersGrotesk-Regular.e5a6f25192c5.ttf") format("truetype");
  font-style: normal;
  font-weight: 400;
  font-display: swap;
}

@font-face {
  font-family: "Founders Grotesk";
  src: url("../assets/fonts/FoundersGrotesk-Medium.9f0952a57174.ttf") format("truetype");
  font-style: normal;
  font-weight: 600;
  font-display: swap;
}

:root {
  /* Keep Bulma and native browser controls on the ESD light theme. */
  color-scheme: only light;
  /* Browser equivalents of the six swatches in EveryDaySelfDefence(3).ase. */
  --esd-white: #ffffff;
  --esd-black: #1f2229;
  --esd-grey: #b7c6c5;
  --esd-lime: #dff469;
  --esd-navy: #1a3852;
  --esd-pale-blue: #c3d6e8;
  --esd-ink: var(--esd-black);
}

html {
  background-color: var(--esd-white);
}

html,
body,
button,
input,
select,
textarea {
  font-family: "Founders Grotesk", Arial, sans-serif;
}

body {
  color: var(--esd-ink);
}

a:not(.button) {
  color: var(--esd-navy);
}

a:not(.button):hover,
a:not(.button):focus {
  color: var(--esd-black);
  text-decoration: underline;
}

.navbar {
  border-bottom: 1px solid var(--esd-pale-blue);
  box-shadow: 0 2px 10px rgb(26 56 82 / 8%);
}

.navbar-item img {
  max-height: 2.5rem;
}

.has-background-info-dark {
  background-color: var(--esd-navy) !important;
  color: var(--esd-white) !important;
}

.has-background-info-dark .title,
.has-background-info-dark .subtitle,
.has-background-info-dark strong,
.has-background-info-dark a:not(.button) {
  color: var(--esd-white) !important;
}

.has-background-info-dark a:not(.button):hover,
.has-background-info-dark a:not(.button):focus {
  color: var(--esd-lime) !important;
}

.has-background-white-bis {
  background-color: rgb(195 214 232 / 28%) !important;
  color: var(--esd-navy) !important;
}

.has-text-grey,
.has-text-success {
  color: var(--esd-navy) !important;
}

.has-text-danger {
  color: var(--esd-black) !important;
  font-weight: 600;
}

.button {
  background-color: var(--esd-white);
  border-color: var(--esd-grey);
  color: var(--esd-navy);
}

.button:hover,
.button:focus,
.button:focus-visible,
.button:active {
  background-color: var(--esd-pale-blue);
  border-color: var(--esd-navy);
  color: var(--esd-navy);
}

.button:focus-visible,
a:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible {
  outline: 3px solid var(--esd-black);
  outline-offset: 2px;
}

.has-background-info-dark .button:focus-visible,
.footer a:focus-visible {
  outline-color: var(--esd-lime);
}

.button[disabled],
fieldset[disabled] .button {
  background-color: var(--esd-grey);
  border-color: var(--esd-grey);
  color: var(--esd-navy);
}

.button.is-primary {
  background-color: var(--esd-lime);
  border-color: var(--esd-lime);
  color: var(--esd-navy);
  font-weight: 600;
}

.button.is-primary:hover,
.button.is-primary:focus,
.button.is-primary:focus-visible,
.button.is-primary:active {
  background-color: var(--esd-pale-blue);
  border-color: var(--esd-navy);
  color: var(--esd-navy);
}

.button.is-link {
  background-color: var(--esd-navy);
  border-color: var(--esd-navy);
  color: var(--esd-white);
}

.button.is-link:not(.is-outlined):hover,
.button.is-link:not(.is-outlined):focus,
.button.is-link:not(.is-outlined):focus-visible,
.button.is-link:not(.is-outlined):active {
  background-color: var(--esd-lime);
  border-color: var(--esd-lime);
  color: var(--esd-navy);
}

.button.is-link.is-outlined {
  background-color: var(--esd-white);
  border-color: var(--esd-navy);
  color: var(--esd-navy);
}

.button.is-link.is-outlined:hover,
.button.is-link.is-outlined:focus,
.button.is-link.is-outlined:focus-visible,
.button.is-link.is-outlined:active {
  background-color: var(--esd-pale-blue);
  border-color: var(--esd-navy);
  color: var(--esd-navy);
}

.button.is-info,
.button.is-info.is-outlined:hover,
.button.is-info.is-outlined:focus,
.button.is-info.is-outlined:focus-visible {
  background-color: var(--esd-pale-blue);
  border-color: var(--esd-navy);
  color: var(--esd-navy);
}

.button.is-info:not(.is-outlined):hover,
.button.is-info:not(.is-outlined):focus,
.button.is-info:not(.is-outlined):focus-visible,
.button.is-info:not(.is-outlined):active {
  background-color: var(--esd-navy);
  border-color: var(--esd-navy);
  color: var(--esd-white);
}

.button.is-success,
.button.is-success.is-outlined:hover,
.button.is-success.is-outlined:focus,
.button.is-success.is-outlined:focus-visible {
  background-color: var(--esd-lime);
  border-color: var(--esd-navy);
  color: var(--esd-navy);
}

.button.is-success:not(.is-outlined):hover,
.button.is-success:not(.is-outlined):focus,
.button.is-success:not(.is-outlined):focus-visible,
.button.is-success:not(.is-outlined):active {
  background-color: var(--esd-navy);
  border-color: var(--esd-navy);
  color: var(--esd-white);
}

.button.is-warning,
.button.is-warning.is-outlined:hover,
.button.is-warning.is-outlined:focus,
.button.is-warning.is-outlined:focus-visible {
  background-color: var(--esd-grey);
  border-color: var(--esd-black);
  color: var(--esd-black);
}

.button.is-warning:not(.is-outlined):hover,
.button.is-warning:not(.is-outlined):focus,
.button.is-warning:not(.is-outlined):focus-visible,
.button.is-warning:not(.is-outlined):active {
  background-color: var(--esd-black);
  border-color: var(--esd-black);
  color: var(--esd-white);
}

.button.is-danger,
.button.is-dark,
.button.is-black {
  background-color: var(--esd-black);
  border-color: var(--esd-black);
  color: var(--esd-white);
}

.button.is-danger:not(.is-outlined):hover,
.button.is-danger:not(.is-outlined):focus,
.button.is-danger:not(.is-outlined):focus-visible,
.button.is-danger:not(.is-outlined):active,
.button.is-dark:not(.is-outlined):hover,
.button.is-dark:not(.is-outlined):focus,
.button.is-dark:not(.is-outlined):focus-visible,
.button.is-dark:not(.is-outlined):active,
.button.is-black:not(.is-outlined):hover,
.button.is-black:not(.is-outlined):focus,
.button.is-black:not(.is-outlined):focus-visible,
.button.is-black:not(.is-outlined):active {
  background-color: var(--esd-navy);
  border-color: var(--esd-navy);
  color: var(--esd-white);
}

.button.is-danger.is-outlined,
.button.is-dark.is-outlined,
.button.is-black.is-outlined {
  background-color: var(--esd-white);
  border-color: var(--esd-black);
  color: var(--esd-black);
}

.button.is-danger.is-outlined:hover,
.button.is-danger.is-outlined:focus,
.button.is-danger.is-outlined:focus-visible,
.button.is-dark.is-outlined:hover,
.button.is-dark.is-outlined:focus,
.button.is-dark.is-outlined:focus-visible,
.button.is-black.is-outlined:hover,
.button.is-black.is-outlined:focus,
.button.is-black.is-outlined:focus-visible {
  background-color: var(--esd-black);
  border-color: var(--esd-black);
  color: var(--esd-white);
}

.notification.is-info,
.tag.is-info {
  background-color: var(--esd-pale-blue);
  color: var(--esd-navy);
}

.notification,
.tag {
  background-color: rgb(195 214 232 / 28%);
  color: var(--esd-navy);
}

.tag {
  border: 1px solid var(--esd-grey);
}

.notification.is-primary,
.tag.is-primary,
.notification.is-success,
.tag.is-success {
  background-color: var(--esd-lime);
  color: var(--esd-navy);
}

.notification.is-warning,
.tag.is-warning {
  background-color: var(--esd-grey);
  color: var(--esd-black);
}

.notification.is-danger,
.tag.is-danger {
  background-color: var(--esd-black);
  color: var(--esd-white);
}

.notification.is-danger strong,
.notification.is-danger a:not(.button),
.tag.is-danger strong,
.tag.is-danger a:not(.button) {
  color: var(--esd-white) !important;
}

.notification.is-danger a:not(.button) {
  text-decoration: underline;
}

.notification.is-light,
.tag.is-light {
  background-color: var(--esd-white);
  border: 1px solid var(--esd-grey);
  color: var(--esd-navy);
}

.help.is-danger {
  color: var(--esd-black);
  font-weight: 600;
}

.message.is-danger .message-body {
  background-color: var(--esd-white);
  border-color: var(--esd-black);
  color: var(--esd-black);
}

.input.is-danger,
.textarea.is-danger,
.select.is-danger select {
  border-color: var(--esd-black);
}

.input:focus,
.select select:focus,
.textarea:focus {
  border-color: var(--esd-navy);
  box-shadow: 0 0 0 0.125em rgb(26 56 82 / 20%);
}

.box {
  border-radius: 0.5rem;
}

.error-page {
  margin: 2rem auto;
  max-width: 44rem;
  padding: 3rem;
}

.dashboard-app-grid {
  display: grid;
  gap: 1rem;
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.dashboard-app-card {
  border: 1px solid var(--esd-ink);
  display: flex;
  flex-direction: column;
  margin-bottom: 0 !important;
  min-width: 0;
  padding: 1.5rem;
}

.dashboard-app-card h2 {
  color: var(--esd-navy);
  margin-bottom: 0.35rem;
}

.dashboard-app-card hr {
  margin: 1rem 0;
}

.dashboard-app-actions {
  align-items: center;
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  justify-content: center;
  margin-top: 1.25rem;
}

.dashboard-app-actions .button {
  height: auto;
  min-height: 2.5em;
  white-space: normal;
}

.client-report-grid {
  display: grid;
  gap: 1rem;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.client-report-card {
  border-top: 0.4rem solid var(--esd-lime);
  display: flex;
  flex-direction: column;
  height: 100%;
}

.client-report-card .client-report-actions {
  margin-top: auto;
  padding-top: 1.25rem;
}

.client-metric-grid {
  display: grid;
  gap: 0.75rem;
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.client-metric {
  background: rgb(195 214 232 / 28%);
  border-radius: 0.5rem;
  padding: 1rem 0.75rem;
  text-align: center;
}

.client-metric-value {
  color: var(--esd-navy);
  font-size: 1.75rem;
  font-weight: 600;
  line-height: 1;
}

.client-metric-label {
  color: var(--esd-navy);
  font-size: 0.85rem;
  margin-top: 0.4rem;
}

.client-feedback-comment {
  border-left: 0.3rem solid var(--esd-pale-blue);
  padding-left: 1rem;
}

@media screen and (max-width: 1023px) {
  .dashboard-app-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media screen and (max-width: 768px) {
  .dashboard-app-grid {
    grid-template-columns: 1fr;
  }

  .dashboard-app-card {
    padding: 1.25rem;
  }

  .client-report-grid,
  .client-metric-grid {
    grid-template-columns: 1fr;
  }
}

.table thead th {
  color: var(--esd-navy);
}

.table tbody tr:hover {
  background-color: rgb(195 214 232 / 28%) !important;
}

.footer {
  background-color: var(--esd-navy);
  color: var(--esd-white);
  padding: 2rem 1.5rem;
}

.course-card {
  border-top: 0.4rem solid var(--esd-lime);
  height: 100%;
}

.delivery-table td {
  vertical-align: middle;
}

.bulk-participant-status {
  align-items: center;
  background: rgb(195 214 232 / 28%);
  border: 1px solid var(--esd-pale-blue);
  border-radius: 0.6rem;
  display: flex;
  gap: 1rem;
  justify-content: space-between;
  padding: 1rem;
}

.participant-select-column,
.participant-select-cell {
  text-align: center !important;
  width: 3.75rem;
}

.participant-bulk-choice {
  align-items: center;
  display: inline-flex;
  justify-content: center;
  min-height: 2.75rem;
  min-width: 2.75rem;
}

.participant-bulk-checkbox {
  height: 1.25rem;
  width: 1.25rem;
}

.delivery-status-fields {
  min-width: 0;
  width: 14rem;
  max-width: 100%;
}

@media screen and (min-width: 769px) {
  .course-console .delivery-table .delivery-checkin-cell {
    min-width: 18rem;
    width: 30%;
  }

  .course-console .delivery-table .delivery-completion-cell {
    width: 14rem;
  }

  .course-console .delivery-status-fields {
    gap: 0.5rem;
  }

  .course-console .delivery-status-fields .control {
    margin-right: 0;
  }

  .course-console .delivery-completion-select {
    width: 9.5rem;
  }
}

.course-console .delivery-checkin-cell .control.is-expanded {
  min-width: 0;
}

.feedback-summary-table th {
  color: var(--esd-navy);
  width: 16rem;
}

.feedback-star-rating {
  color: var(--esd-grey);
  display: inline-block;
  font-size: 1.35rem;
  letter-spacing: 0.08rem;
  line-height: 1;
  margin-right: 0.6rem;
  position: relative;
}

.feedback-star-rating::before {
  color: var(--esd-navy);
  content: "★★★★★";
  left: 0;
  overflow: hidden;
  position: absolute;
  top: 0;
  white-space: nowrap;
  width: calc(var(--rating) / 5 * 100%);
}

.feedback-star-rating.is-small {
  font-size: 1rem;
}

.feedback-library-mobile-warning {
  display: none;
}

.feedback-library-table {
  min-width: 70rem;
}

.feedback-library-table td {
  vertical-align: top;
}

.feedback-library-table .feedback-response-cell {
  min-width: 22rem;
  white-space: normal;
}

.feedback-library-table tr.feedback-non-marketable td {
  background-color: rgb(183 198 197 / 28%);
}

.feedback-library-table tr.feedback-non-marketable:hover td {
  background-color: rgb(183 198 197 / 45%) !important;
}

.venue-assessment-shell {
  margin: 0 auto;
  max-width: 58rem;
}

.venue-assessment-meta {
  display: grid;
  gap: 1rem;
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.venue-assessment-meta span {
  color: var(--esd-navy);
  display: block;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  margin-bottom: 0.25rem;
  text-transform: uppercase;
}

.venue-check-grid {
  display: grid;
  gap: 0.85rem;
}

.venue-check-card {
  align-items: flex-start;
  background: var(--esd-white);
  border: 2px solid var(--esd-pale-blue);
  border-radius: 0.75rem;
  cursor: pointer;
  display: flex;
  gap: 1rem;
  padding: 1.15rem;
  transition: background-color 120ms ease, border-color 120ms ease;
}

.venue-check-card:hover,
.venue-check-card:focus-within {
  border-color: var(--esd-navy);
}

.venue-check-card:has(.venue-check-input:checked) {
  background: rgb(223 244 105 / 20%);
  border-color: var(--esd-lime);
}

.venue-check-control {
  flex: 0 0 2.75rem;
  height: 2.75rem;
  position: relative;
}

.venue-check-input {
  height: 100%;
  inset: 0;
  margin: 0;
  opacity: 0;
  position: absolute;
  width: 100%;
  z-index: 2;
}

.venue-check-box {
  align-items: center;
  background: var(--esd-white);
  border: 2px solid var(--esd-navy);
  border-radius: 0.45rem;
  color: transparent;
  display: flex;
  font-size: 1.25rem;
  height: 100%;
  justify-content: center;
  width: 100%;
}

.venue-check-input:checked + .venue-check-box {
  background: var(--esd-navy);
  color: var(--esd-white);
}

.venue-check-input:focus-visible + .venue-check-box {
  outline: 3px solid var(--esd-black);
  outline-offset: 2px;
}

.venue-check-copy strong,
.venue-check-copy span {
  display: block;
}

.venue-check-copy strong {
  color: var(--esd-navy);
  font-size: 1.1rem;
  margin-bottom: 0.25rem;
}

.venue-check-copy > span {
  line-height: 1.35;
}

.venue-signature-panel {
  border-top: 0.4rem solid var(--esd-lime);
}

.venue-declaration {
  align-items: flex-start;
  color: var(--esd-navy);
  display: flex;
  font-size: 1.05rem;
  font-weight: 600;
  gap: 0.8rem;
  line-height: 1.35;
}

.venue-declaration input {
  flex: 0 0 auto;
  height: 1.5rem;
  margin-top: 0.05rem;
  width: 1.5rem;
}

@media screen and (max-width: 1023px) {
  .feedback-library-mobile-warning {
    display: block;
  }
}

@media screen and (max-width: 768px) {
  .venue-assessment-page {
    padding: 0.5rem;
  }

  .venue-assessment-heading {
    padding: 1.5rem !important;
  }

  .venue-assessment-heading .title {
    font-size: 2rem !important;
  }

  .venue-assessment-meta {
    grid-template-columns: 1fr 1fr;
  }

  .venue-check-card {
    padding: 1rem;
  }

  .venue-assessment-actions,
  .venue-assessment-actions .button {
    width: 100%;
  }

  .venue-assessment-list-table thead {
    display: none;
  }

  .venue-assessment-list-table,
  .venue-assessment-list-table tbody,
  .venue-assessment-list-table tr,
  .venue-assessment-list-table td {
    display: block;
    width: 100%;
  }

  .venue-assessment-list-table tr {
    border: 1px solid var(--esd-pale-blue);
    margin-bottom: 1rem;
  }

  .venue-assessment-list-table td {
    border: 0;
    display: grid;
    gap: 0.75rem;
    grid-template-columns: 7rem minmax(0, 1fr);
  }

  .venue-assessment-list-table td::before {
    color: var(--esd-navy);
    content: attr(data-label);
    font-weight: 600;
  }

  .feedback-summary-heading,
  .feedback-library-toolbar {
    align-items: stretch !important;
    flex-direction: column;
    gap: 1rem;
  }

  .feedback-summary-table th {
    width: auto;
  }

  .feedback-library-page {
    padding: 0.5rem;
  }

  .feedback-library-page > .has-background-info-dark {
    padding: 1.5rem !important;
  }

  .feedback-library-page > .has-background-info-dark .title {
    font-size: 2rem !important;
  }

  .feedback-library-toolbar .buttons,
  .feedback-library-toolbar .button {
    width: 100%;
  }

  .feedback-library-table-container {
    overflow: visible;
  }

  .feedback-library-table {
    min-width: 0;
  }

  .feedback-library-table thead {
    display: none;
  }

  .feedback-library-table,
  .feedback-library-table tbody,
  .feedback-library-table tr,
  .feedback-library-table td {
    display: block;
    width: 100%;
  }

  .feedback-library-table tr {
    border: 1px solid var(--esd-pale-blue);
    border-radius: 0.5rem;
    margin-bottom: 1rem;
    overflow: hidden;
  }

  .feedback-library-table td {
    border: 0;
    display: grid;
    gap: 0.75rem;
    grid-template-columns: 7.5rem minmax(0, 1fr);
    padding: 0.9rem;
  }

  .feedback-library-table td::before {
    color: var(--esd-navy);
    content: attr(data-label);
    font-weight: 600;
  }

  .feedback-library-table .feedback-response-cell {
    min-width: 0;
  }
}

.public-checkin-body {
  background: linear-gradient(
    160deg,
    rgb(195 214 232 / 28%) 0%,
    var(--esd-white) 58%,
    rgb(223 244 105 / 18%) 100%
  );
  min-height: 100vh;
}

.public-checkin-header {
  padding: 1.25rem;
  text-align: center;
}

.public-checkin-header img {
  max-height: 3.25rem;
  max-width: 15rem;
}

.public-checkin-main {
  display: flex;
  justify-content: center;
  min-height: calc(100vh - 10rem);
  padding: 1rem;
}

.public-checkin-panel {
  align-self: flex-start;
  background: var(--esd-white);
  border: 1px solid rgb(195 214 232 / 75%);
  border-radius: 1rem;
  box-shadow: 0 1rem 3rem rgb(26 56 82 / 12%);
  max-width: 46rem;
  padding: 3rem;
  width: 100%;
}

.public-checkin-footer {
  color: var(--esd-navy);
  font-size: 0.8rem;
  padding: 1rem;
  text-align: center;
}

.public-access-result {
  border-left: 0.4rem solid currentColor;
}

.public-checkin-confirmed {
  background: rgb(223 244 105 / 24%);
  border: 2px solid var(--esd-lime);
  border-radius: 1rem;
  padding: 2rem;
}

.public-confirmed-icon {
  align-items: center;
  background: var(--esd-lime);
  border-radius: 50%;
  color: var(--esd-navy);
  display: inline-flex;
  font-size: 1.75rem;
  height: 4rem;
  justify-content: center;
  margin-bottom: 1rem;
  width: 4rem;
}

.public-form-separator {
  align-items: center;
  color: var(--esd-navy);
  display: flex;
  font-size: 0.8rem;
  font-weight: 600;
  gap: 1rem;
  margin: 2rem 0;
  text-transform: uppercase;
}

.public-form-separator::before,
.public-form-separator::after {
  background: var(--esd-pale-blue);
  content: "";
  flex: 1;
  height: 1px;
}

.public-form-status {
  background: var(--esd-navy);
  border-radius: 0.5rem;
  bottom: 1rem;
  color: var(--esd-white);
  display: none;
  font-weight: 600;
  left: 50%;
  max-width: calc(100% - 2rem);
  padding: 0.9rem 1.2rem;
  position: fixed;
  text-align: center;
  transform: translateX(-50%);
  width: max-content;
  z-index: 50;
}

.public-form-status.is-visible {
  display: block;
}

.public-form-status.is-error {
  background: #8d2131;
}

.eyebrow {
  color: var(--esd-navy);
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  margin-bottom: 0.75rem;
  text-transform: uppercase;
}

.public-step-mark {
  display: inline-flex;
  height: 3rem;
  margin-bottom: 1.5rem;
  width: 7.9rem;
}

.public-step-mark img {
  display: block;
  height: 100%;
  width: 100%;
}

.public-checkin-panel .button,
.public-checkin-panel .button.is-primary,
.public-checkin-panel .button.is-link,
.public-checkin-panel .button.is-info,
.public-checkin-panel .button.is-success,
.public-checkin-panel .button.is-warning {
  background-color: var(--esd-navy);
  border-color: var(--esd-navy);
  color: var(--esd-white);
}

.public-checkin-panel .button:hover,
.public-checkin-panel .button:focus,
.public-checkin-panel .button:focus-visible,
.public-checkin-panel .button:active,
.public-checkin-panel .button.is-primary:hover,
.public-checkin-panel .button.is-primary:focus,
.public-checkin-panel .button.is-link:hover,
.public-checkin-panel .button.is-link:focus {
  background-color: var(--esd-lime);
  border-color: var(--esd-lime);
  color: var(--esd-navy);
}

.public-course-list {
  display: grid;
  gap: 1rem;
}

.public-course-card {
  align-items: center;
  border: 2px solid var(--esd-pale-blue);
  border-radius: 0.75rem;
  color: var(--esd-navy);
  display: flex;
  font-size: 1.2rem;
  justify-content: space-between;
  padding: 1.25rem;
}

.public-course-card:hover,
.public-course-card:focus {
  background: rgb(195 214 232 / 25%);
  border-color: var(--esd-navy);
  color: var(--esd-navy);
}

.public-course-card small {
  display: block;
  font-size: 0.9rem;
  font-weight: 400;
  margin-top: 0.25rem;
}

.public-course-time {
  align-items: center;
  display: flex;
  gap: 1rem;
  white-space: nowrap;
}

.public-back-link {
  color: var(--esd-navy);
  display: inline-block;
  margin-bottom: 2rem;
}

.public-privacy-note {
  color: var(--esd-navy);
  font-size: 0.9rem;
  margin: 1.5rem auto 0;
  max-width: 34rem;
  text-align: center;
}

.public-progress::-webkit-progress-value {
  background-color: var(--esd-lime);
}

.public-progress::-moz-progress-bar {
  background-color: var(--esd-lime);
}

.answer-card-grid {
  display: grid;
  gap: 1rem;
  grid-template-columns: 1fr 1fr;
}

.answer-card {
  align-items: center;
  border: 2px solid var(--esd-pale-blue);
  border-radius: 0.75rem;
  cursor: pointer;
  display: flex;
  font-size: 1.25rem;
  font-weight: 600;
  gap: 0.75rem;
  padding: 1.25rem;
}

.answer-card:has(input:checked) {
  background: rgb(223 244 105 / 28%);
  border-color: var(--esd-navy);
}

.answer-card input {
  height: 1.2rem;
  width: 1.2rem;
}

.answer-card-icon {
  align-items: center;
  background: var(--esd-pale-blue);
  border-radius: 50%;
  color: var(--esd-navy);
  display: inline-flex;
  height: 2.25rem;
  justify-content: center;
  width: 2.25rem;
}

.rating-card-grid {
  display: grid;
  gap: 0.75rem;
  grid-template-columns: repeat(5, 1fr);
}

.rating-card {
  align-items: center;
  border: 2px solid var(--esd-pale-blue);
  border-radius: 0.75rem;
  cursor: pointer;
  display: flex;
  flex-direction: column;
  font-size: 1.25rem;
  font-weight: 600;
  gap: 0.4rem;
  padding: 1rem 0.5rem;
}

.rating-card:has(input:checked) {
  background: rgb(223 244 105 / 28%);
  border-color: var(--esd-navy);
}

.rating-card i {
  color: var(--esd-navy);
}

.declaration-confirmation {
  align-items: flex-start;
  border: 2px solid var(--esd-pale-blue);
  border-radius: 0.75rem;
  cursor: pointer;
  display: flex;
  font-size: 1.1rem;
  gap: 1rem;
  padding: 1.25rem;
}

.declaration-confirmation input {
  flex: 0 0 auto;
  height: 1.4rem;
  margin-top: 0.15rem;
  width: 1.4rem;
}

table.form-table {
  table-layout: auto;
  width: 100%;
}

table.form-table th {
  white-space: nowrap;
  width: 1%;
  text-align: left;
  vertical-align: middle;
}

table.form-table td {
  width: auto;
}

@media screen and (max-width: 768px) {
  main.section,
  section.section {
    padding: 1rem 0.75rem;
  }

  .box.p-6,
  .box.m-3 {
    margin: 0 0 1rem !important;
    padding: 1.5rem !important;
  }

  .title.is-size-1 {
    font-size: 2rem !important;
  }

  .table-container {
    overflow-x: auto;
  }

  .delivery-status-fields {
    display: block;
    min-width: 15rem;
  }

  .delivery-status-fields .control {
    margin: 0 0 0.75rem !important;
  }

  .course-console {
    padding: 0 !important;
  }

  .course-console > .box {
    border-radius: 0.6rem;
    padding: 1rem;
  }

  .course-console > .has-background-info-dark {
    padding: 1.25rem !important;
  }

  .course-console > .has-background-info-dark .title {
    font-size: 1.8rem !important;
    overflow-wrap: anywhere;
  }

  .course-console .feedback-summary-heading,
  .course-console .risk-linked-course {
    align-items: stretch !important;
    flex-direction: column;
    gap: 0.75rem;
  }

  .course-console .table-container {
    overflow: visible;
  }

  .course-console .delivery-table,
  .course-console .delivery-table tbody,
  .course-console .delivery-table tr,
  .course-console .delivery-table td {
    display: block;
    width: 100%;
  }

  .course-console .delivery-table thead {
    display: none;
  }

  .course-console .delivery-table tr {
    background: var(--esd-white);
    border: 1px solid var(--esd-pale-blue);
    border-radius: 0.6rem;
    box-shadow: 0 0.25rem 0.75rem rgb(26 56 82 / 8%);
    margin-bottom: 1rem;
    overflow: hidden;
  }

  .course-console .delivery-table td {
    border: 0;
    border-bottom: 1px solid rgb(195 214 232 / 55%);
    padding: 0.9rem;
  }

  .course-console .delivery-table td:last-child {
    border-bottom: 0;
  }

  .course-console .delivery-table td::before {
    color: var(--esd-navy);
    content: attr(data-label);
    display: block;
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.04em;
    margin-bottom: 0.55rem;
    text-transform: uppercase;
  }

  .course-console .bulk-participant-status {
    align-items: stretch;
    flex-direction: column;
  }

  .course-console .bulk-participant-status .buttons,
  .course-console .bulk-participant-status .button {
    width: 100%;
  }

  .course-console .bulk-participant-status .buttons {
    flex-direction: column;
  }

  .course-console .participant-select-cell {
    text-align: left !important;
    width: 100%;
  }

  .course-console .delivery-status-fields {
    min-width: 0;
  }

  .course-console .delivery-status-fields .button,
  .course-console > .buttons .button,
  .course-console .risk-linked-course .button {
    width: 100%;
  }

  .public-checkin-main {
    padding: 0.5rem;
  }

  .public-checkin-panel {
    border-radius: 0.75rem;
    padding: 1.5rem;
  }

  .public-checkin-panel .title.is-2 {
    font-size: 1.8rem;
  }

  .answer-card-grid {
    grid-template-columns: 1fr;
  }

  .rating-card-grid {
    gap: 0.4rem;
  }

  .rating-card {
    padding: 0.75rem 0.25rem;
  }

  table.form-table,
  table.form-table tbody,
  table.form-table tr,
  table.form-table th,
  table.form-table td {
    display: block;
    width: 100%;
  }

  table.form-table th {
    padding-bottom: 0.25rem;
    white-space: normal;
  }
}

.risk-page-header {
  align-items: center;
  display: flex;
  gap: 1.5rem;
  justify-content: space-between;
  padding: 2rem;
}

.risk-header-status,
.risk-action-bar,
.risk-bulk-actions,
.risk-quick-buttons {
  align-items: center;
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
}

.risk-action-bar {
  background: rgb(195 214 232 / 28%);
  border: 1px solid var(--esd-pale-blue);
  border-radius: 0.5rem;
  margin-bottom: 1.5rem;
  padding: 1rem;
}

.risk-action-bar form,
.risk-quick-buttons form {
  margin: 0;
}

.risk-detail-grid,
.risk-form-grid {
  display: grid;
  gap: 1rem;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.risk-detail-grid > div {
  background: rgb(195 214 232 / 20%);
  border-left: 0.25rem solid var(--esd-pale-blue);
  padding: 0.85rem 1rem;
}

.risk-detail-grid span {
  color: var(--esd-navy);
  display: block;
  font-size: 0.8rem;
  margin-bottom: 0.2rem;
  text-transform: uppercase;
}

.risk-section {
  border: 1px solid var(--esd-pale-blue);
  margin-top: 1.25rem;
  padding: 1.5rem;
}

.risk-section-heading,
.risk-card-title-row {
  align-items: flex-start;
  display: flex;
  gap: 1rem;
  justify-content: space-between;
}

.risk-section-heading {
  border-bottom: 1px solid rgb(195 214 232 / 55%);
  margin-bottom: 1rem;
  padding-bottom: 1rem;
}

.risk-card-list {
  display: grid;
  gap: 0.75rem;
}

.risk-item-card {
  align-items: center;
  background: var(--esd-white);
  border: 1px solid rgb(195 214 232 / 75%);
  border-radius: 0.5rem;
  display: grid;
  gap: 1rem;
  grid-template-columns: auto minmax(0, 1fr) auto;
  padding: 1rem;
}

.risk-item-card:focus-within {
  border-color: var(--esd-navy);
  box-shadow: 0 0 0 0.125em rgb(26 56 82 / 12%);
}

.risk-select-control input {
  height: 1.4rem;
  width: 1.4rem;
}

.risk-hazard-card {
  align-items: flex-start;
}

.risk-bulk-actions {
  border-top: 1px solid rgb(195 214 232 / 55%);
  margin-top: 1rem;
  padding-top: 1rem;
}

.risk-mobile-form {
  padding: 1.5rem;
}

.risk-form-wide {
  grid-column: 1 / -1;
}

.risk-mobile-form .select,
.risk-mobile-form .select select,
.risk-mobile-form select {
  width: 100%;
}

.risk-sticky-actions {
  align-items: center;
  background: var(--esd-white);
  border-top: 1px solid rgb(195 214 232 / 75%);
  bottom: 0;
  display: flex;
  gap: 0.75rem;
  margin-top: 1.5rem;
  padding: 1rem 0 0;
  position: sticky;
  z-index: 5;
}

.risk-history summary {
  cursor: pointer;
}

.risk-linked-course {
  align-items: center;
  display: flex;
  gap: 1rem;
  justify-content: space-between;
}

@media screen and (max-width: 768px) {
  .risk-assessment-page,
  .risk-form-page {
    padding: 0.5rem;
  }

  .risk-page-header {
    align-items: flex-start;
    flex-direction: column;
    padding: 1.25rem;
  }

  .risk-page-header .title {
    font-size: 1.75rem !important;
  }

  .risk-detail-grid,
  .risk-form-grid {
    grid-template-columns: 1fr;
  }

  .risk-form-wide {
    grid-column: auto;
  }

  .risk-section {
    padding: 1rem;
  }

  .risk-section-heading,
  .risk-card-title-row {
    align-items: stretch;
    flex-direction: column;
  }

  .risk-item-card {
    align-items: stretch;
    grid-template-columns: auto minmax(0, 1fr);
  }

  .risk-item-card > .button,
  .risk-quick-buttons {
    grid-column: 1 / -1;
  }

  .risk-quick-buttons .button,
  .risk-quick-buttons form {
    flex: 1 1 5.5rem;
  }

  .risk-quick-buttons form .button {
    min-height: 2.75rem;
    width: 100%;
  }

  .risk-action-bar .button,
  .risk-action-bar form,
  .risk-action-bar form .button,
  .risk-bulk-actions .button {
    width: 100%;
  }

  .risk-sticky-actions .button {
    flex: 1;
  }

  .risk-linked-course {
    align-items: stretch;
    flex-direction: column;
  }
}

