

/* Transaction 2 private-release functional additions. Existing EGC CSS is
   served separately and preserved verbatim. */
.egc-runtime-status { opacity: 0.86; }
.egc-chat-form, .egc-admission-form { display: grid; gap: 0.85rem; }
.egc-chat-form textarea { min-height: 8rem; resize: vertical; }
.egc-chat-form textarea,
.egc-admission-form input[type="date"],
.egc-chat-form button,
.egc-admission-form button {
  width: 100%;
  font: inherit;
  color: inherit;
  background: transparent;
  border: 1px solid currentColor;
  border-radius: 0.35rem;
  padding: 0.8rem;
}
.egc-chat-form button,
.egc-admission-form button { cursor: pointer; }
.egc-policy-choice { display: grid; grid-template-columns: auto 1fr; gap: 0.65rem; align-items: start; }
.egc-policy-links { display: flex; flex-wrap: wrap; gap: 0.8rem; }
.egc-policy-links a { color: inherit; }
.egc-exchange { display: grid; gap: 1rem; }
.egc-message { white-space: pre-wrap; }
.egc-message strong { display: block; margin-bottom: 0.35rem; }
.egc-refusal { border-style: solid; }

html, body {
  min-height: 100%;
}

body {
  min-height: 100dvh;
}

main[aria-label="EGC private release"] {
  min-height: 100dvh;
  box-sizing: border-box;
  display: flex;
  flex-direction: column;
}

main[aria-label="EGC private release"] > section[aria-label="EGC chat"] {
  margin-top: auto;
  position: sticky;
  bottom: 0;
  z-index: 20;
}
