/* The page deliberately inherits the site's normal white canvas, Avenir
   typography, headline, search-bar and items/large list rules from styles.css. */
.blue-room-start { margin-bottom: 40px; }
.blue-room-start[hidden] { display: none; }
.blue-room-start fieldset {
  border: 0;
  margin: 0;
  padding: 0;
  display: flex;
  align-items: flex-start;
  gap: 14px;
}
.blue-room-start textarea {
  box-sizing: border-box;
  width: min(800px, calc(100vw - 60px));
  min-height: 2.7em;
  resize: vertical;
  font: 24pt Avenir;
}
.blue-room-start button:disabled,
.blue-room-header-controls button:disabled { color: #ccc; cursor: default; }
#notice:empty, #history-notice:empty { display: none; }
#notice { color: #b55; }
.blue-room-session-link { display: block; }
.blue-room-context-more { color: inherit; text-decoration: underline; }
.blue-room-header-controls { display: inline-flex; align-items: center; gap: 10px; }
.blue-room-header-controls[hidden] { display: none; }
.blue-room-controls { min-height: 1.5em; }
#progress { margin: 0; color: #999; font: 14pt Avenir; }
#transcript { margin-top: 28px; padding-bottom: 40px; }
.blue-room-message { margin: 0 0 28px; }
.blue-room-message-person-1 {
  margin-left: -20px;
  margin-right: -20px;
  padding: 20px;
  background: #f0f5ff;
}
.blue-room-speaker {
  padding: 0;
  background: none;
  border: 0;
  color: black;
  cursor: pointer;
  font: 24pt Avenir;
  text-decoration: underline;
  text-underline-offset: 3px;
}
.blue-room-meta { font: 14pt Avenir; color: #999; margin-left: 10px; }
.blue-room-message-text,
.blue-room-verbatim { white-space: pre-wrap; overflow-wrap: anywhere; margin: 5px 0 0; }
.blue-room-message-text { font: 24pt Avenir; line-height: 1.35; color: #999; }
.blue-room-back { cursor: pointer; }
#persona-dialog {
  position: fixed;
  top: 72px;
  width: min(760px, calc(100vw - 48px));
  max-width: none;
  max-height: calc(100vh - 104px);
  box-sizing: border-box;
  overflow: auto;
  margin: 0 auto;
  padding: 28px 30px 30px;
  border: 1px solid rgba(0,0,0,.08);
  border-radius: 34px;
  background: rgba(255,255,255,.97);
  box-shadow: 0 28px 80px rgba(0,0,0,.15);
  color: black;
  font: 16pt/1.35 Avenir;
}
#persona-dialog::backdrop { background: rgba(255,255,255,.72); backdrop-filter: blur(10px); }
#persona-dialog h2 { margin: 0 0 6px; font: 28pt Avenir; }
.dialog-close {
  float: right;
  padding: 8px 18px;
  border: 1px solid rgba(0,0,0,.12);
  border-radius: 999px;
  background: transparent;
  color: #666;
  cursor: pointer;
  font: 16pt Avenir;
}
.blue-room-verbatim { font: 16pt/1.35 Avenir; }
@media (prefers-color-scheme: dark) {
  .blue-room-message-person-1 { background: #132039; }
  .blue-room-speaker { color: white; }
  .blue-room-message-text { color: #666; }
  #persona-dialog { background: #111; color: white; border-color: #333; }
}
