/* ============================================================================
   The single modal, used by the review to reopen source material.
   ========================================================================== */

/* --------------------------------------------------------------- Modal ---- */

.modal {
  position: fixed;
  inset: 0;
  background: color-mix(in srgb, #0a0e14 62%, transparent);
  display: grid;
  place-items: center;
  padding: var(--sp-5);
  z-index: 40;
}
.modal-box {
  width: min(45rem, 100%);
  max-height: 85vh;
  display: flex;
  flex-direction: column;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  box-shadow: var(--shadow-lg);
}
.modal-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--sp-4);
  padding: var(--sp-4) var(--sp-5);
  border-bottom: 1px solid var(--border);
}
.modal-body { padding: var(--sp-5); overflow-y: auto; }
.modal-body .support-card { box-shadow: none; }
