/* CBA-76 -- the Room page. Tokens and components come from app.css. No inline styles anywhere (the page's CSP forbids them). */

.room-form { display: grid; gap: 12px; }
.room-input-row { display: flex; gap: 8px; }
.room-input-row .input { flex: 1; min-width: 0; }
#room-msg:empty, #room-result:empty { display: none; }

.room-card .card-head { padding-bottom: 0; }
.room-state { gap: 8px; }
.room-state .word { font-size: 12.5px; }
.room-kv { align-items: baseline; display: grid; grid-template-columns: max-content minmax(0, 1fr); gap: 8px 20px; margin: 0; }
.room-kv dt { color: var(--ink-2); font-size: 13px; }
.room-kv dd { margin: 0; overflow-wrap: anywhere; }
.room-kv .big { font-size: 18px; font-weight: 650; letter-spacing: -0.01em; }
.room-note { margin-top: 14px; }
.room-actions { margin-top: 14px; }

@media (max-width: 520px) {
  .room-input-row { flex-direction: column; }
  .room-input-row .btn { width: 100%; }
  .room-kv { grid-template-columns: minmax(0, 1fr); gap: 2px; }
  .room-kv dd { margin-bottom: 8px; }
  .input { font-size: 16px; }   /* no zoom on focus in iOS */
}
