/* chat.lumieplus.store (chat.html): full-screen inbox. Chat list / thread styles come from admin.css (.lb-*, .ib-*) */
body.cs { margin: 0; min-height: 100dvh; display: block; }
.cs-gate { min-height: 100dvh; display: grid; place-content: center; justify-items: center; gap: 12px; padding: 24px; text-align: center; }
.cs-gate[hidden] { display: none; }
.cs-gate img { border-radius: 50%; box-shadow: var(--shadow); }
.cs-gate h1 { margin: 0; font-size: 22px; }
.cs-gate p { margin: 0; max-width: 46ch; color: var(--muted); }
.cs-app { display: grid; grid-template-rows: auto 1fr; height: 100dvh; }
.cs-app[hidden] { display: none; }
.cs-top { display: flex; align-items: center; gap: 10px; padding: 10px 16px; background: var(--surface); box-shadow: 0 1px 0 var(--line); }
.cs-brand { display: flex; align-items: center; gap: 10px; color: var(--ink); text-decoration: none; }
.cs-brand img { border-radius: 50%; }
.cs-brand b { font-size: 17px; }
.cs-sp { flex: 1; }
.cs-me { display: grid; text-align: right; line-height: 1.25; }
.cs-me small { color: var(--muted); font-size: 12px; }
.cs-line { padding: 6px 12px; border: 0; border-radius: 999px; font: inherit; font-size: 13px; font-weight: 600; cursor: pointer; }
.cs-line--ok { background: var(--ok-soft); color: var(--ok); }
.cs-line--warn { background: var(--warn-soft); color: var(--warn); }
.cs-line--bad { background: var(--bad-soft); color: var(--bad); }
.cs-line--plain { background: var(--bg); color: var(--muted); }
#view-inbox { min-height: 0; padding: 12px 16px 16px; }
#view-inbox #ib-body, #view-inbox .lb-inbox { height: 100%; }
#view-inbox .lb-inbox { margin: 0; }
.cs-dlg { width: min(560px, calc(100vw - 24px)); padding: 22px 24px; border: 0; border-radius: var(--radius); box-shadow: 0 30px 80px rgba(40, 30, 90, .3); }
.cs-dlg::backdrop { background: rgba(30, 25, 60, .35); }
.cs-dlg h2 { margin: 0 0 6px; font-size: 18px; }
.cs-dlg__x { position: absolute; top: 12px; right: 12px; margin: 0; }
.cs-status { display: grid; gap: 8px; margin: 14px 0; padding: 0; list-style: none; font-size: 14px; }
.cs-howto { margin: 10px 0; padding: 10px 14px; border-radius: 12px; background: var(--bg); font-size: 13.5px; }
.cs-howto ol { margin: 6px 0 0; padding-left: 1.2em; display: grid; gap: 4px; }
.cs-acts { display: flex; gap: 8px; margin-top: 14px; }
@media (max-width: 700px) {
  .cs-me { display: none; }
  .cs-top { flex-wrap: wrap; }
  #view-inbox { padding: 8px; }
}
/* inbox fills the screen under the top bar */
.cs #view-inbox { max-width: none; width: auto; margin: 0; }
.cs #view-inbox .lb-inbox { height: calc(100dvh - 84px); max-width: none; }
@media (max-width: 900px) { .cs #view-inbox .lb-inbox { height: auto; min-height: calc(100dvh - 100px); } }
