/* System monospace stack only: no web fonts, so no extra network requests. */
:root { --mono: ui-monospace, SFMono-Regular, Menlo, Consolas, "Liberation Mono", monospace; }
body { font-family: var(--mono); font-size: 14px; line-height: 1.5; margin: 0; overflow-wrap: anywhere; }
button, input, select, textarea { font: inherit; }
h2 { font-size: 16px; margin: 12px 0 4px; }
#signed-out { display: flex; flex-direction: column; align-items: center; justify-content: center; height: 100vh; }
#signed-out[hidden], #signed-in[hidden], #message[hidden] { display: none; }
header { display: flex; justify-content: flex-end; align-items: center; gap: 10px; padding: 10px; font-size: 13px; }
#user { color: #666; }
main { max-width: 900px; margin: 0 auto; padding: 0 16px 32px; }
#messages { list-style: none; padding: 0; margin: 0; }
#messages li { padding: 10px 8px; border-bottom: 1px solid #ddd; cursor: pointer; }
#messages li:hover { background: #f5f5f5; }
.from { font-weight: 600; }
#messages li { overflow-wrap: anywhere; }
#user { min-width: 0; }
.date, .meta { color: #666; font-size: 13px; }
pre { white-space: pre-wrap; overflow-wrap: anywhere; font-family: var(--mono); font-size: 13px; margin: 12px 0; max-width: 100%; }
