* { box-sizing: border-box; }
body { margin: 0; background: #f2f5f4; color: #172c29; font: 1rem/1.5 system-ui, sans-serif; }
main { width: min(100% - 2rem, 46rem); margin: 2rem auto; }
header p, h1 { margin: 0; }
h2, h3 { margin: 0 0 .6rem; }
.panel, #login { background: white; padding: 1rem; border: 1px solid #c2d2ce; border-radius: .75rem; margin: 1rem 0; }
form, .row, #issued { display: flex; flex-wrap: wrap; align-items: center; gap: .6rem; margin: .75rem 0; }
.row { justify-content: space-between; }
button, input, select, textarea { font: inherit; border: 1px solid #52736c; border-radius: .35rem; padding: .4rem .65rem; }
button { color: inherit; background: #eef5f2; cursor: pointer; }
button[aria-pressed="true"], #send { background: #175647; color: white; }
button:disabled { opacity: .65; cursor: default; }
input { min-width: 0; flex: 1; }
textarea { width: 100%; }
ul, ol { padding-left: 1.4rem; }
li { margin: .4rem 0; }
#messages { max-height: 22rem; overflow: auto; overflow-wrap: anywhere; }
#messages span { white-space: pre-wrap; }
#notice { color: #972c2c; }
.hint { color: #39564f; }
#issued-status { flex-basis: 100%; margin: 0; }
#notice:empty, #connection:empty, [hidden] { display: none !important; }
button { min-height: 2.75rem; }
.check { display: flex; gap: .5rem; align-items: flex-start; flex-basis: 100%; }
.check input { flex: 0 0 auto; margin-top: .3rem; min-height: auto; }
#join-form label[for], #device-link-box label { flex-basis: 100%; }
.text { line-height: 1.6; }
@media (max-width: 30rem) { main { width: calc(100% - 1rem); margin: .5rem auto; } .panel { padding: .75rem; } }
