.c-hero { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr); gap: 56px; align-items: center; margin-bottom: 72px; }
@media (max-width: 900px) { .c-hero { grid-template-columns: 1fr; gap: 20px; margin-bottom: 48px; } }
.facts-inline { list-style: none; padding: 0; margin: 36px 0 0; display: flex; gap: 36px; flex-wrap: wrap; }
.facts-inline li { display: grid; }
.facts-inline strong { font-size: 1.75rem; letter-spacing: -0.03em; font-weight: 700; }
.facts-inline span { font-size: 0.875rem; color: var(--muted); }
.c-embed { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 40px; align-items: start; margin-bottom: 72px; }
@media (max-width: 920px) { .c-embed { grid-template-columns: 1fr; } }
.c-embed h2 { margin-bottom: 10px; }
.c-embed code { font-family: var(--mono); font-size: 0.875em; background: var(--bg-2); padding: 1px 6px; border-radius: 5px; }
.opts { display: grid; grid-template-columns: auto 1fr; gap: 10px 18px; margin: 22px 0; font-size: 0.9375rem; }
.opts dd { margin: 0; color: var(--ink-2); }
.c-snippet { display: grid; gap: 12px; justify-items: start; }
.c-snippet .code { width: 100%; }
.c-how h2 { margin-bottom: 24px; }
.how-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 32px; }
.how-grid h3 { margin-bottom: 6px; }
@media (max-width: 800px) { .how-grid { grid-template-columns: 1fr; gap: 20px; } }
/* admin inbox */
.inbox { overflow: hidden; display: grid; grid-template-columns: 340px minmax(0, 1fr); min-height: calc(100vh - 220px); }
@media (max-width: 900px) { .inbox { grid-template-columns: minmax(0, 1fr); grid-template-rows: auto 1fr; } .conv-list { border-right: 0; border-bottom: 1px solid var(--line); max-height: 40vh; } }
.conv-list { border-right: 1px solid var(--line); overflow: auto; max-height: calc(100vh - 220px); }
.conv { display: grid; gap: 3px; padding: 14px 18px; border-bottom: 1px solid var(--line); cursor: pointer; transition: background var(--t); background: none; border-left: 0; border-right: 0; border-top: 0; text-align: left; width: 100%; font: inherit; color: inherit; }
.conv:hover, .conv.is-active { background: var(--surface-2); }
.conv-top { display: flex; gap: 8px; align-items: center; }
.conv-name { font-weight: 650; flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.conv-last { font-size: 0.875rem; color: var(--muted); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.unread { min-width: 20px; height: 20px; padding: 0 6px; border-radius: 10px; background: var(--accent); color: var(--surface); font-size: 0.75rem; font-weight: 700; display: grid; place-items: center; }
.chat-pane { display: flex; flex-direction: column; min-width: 0; }
.chat-msgs { flex: 1; overflow: auto; padding: 24px; display: flex; flex-direction: column; gap: 10px; background: var(--bg); max-height: calc(100vh - 380px); min-height: 280px; }
.cm { max-width: 72%; padding: 10px 14px; border-radius: 16px; white-space: pre-wrap; overflow-wrap: anywhere; }
.cm.visitor { align-self: flex-start; background: var(--surface); border: 1px solid var(--line); border-bottom-left-radius: 5px; }
.cm.staff { align-self: flex-end; background: var(--brand); color: var(--brand-ink); border-bottom-right-radius: 5px; }
.cm time { display: block; font-size: 0.6875rem; opacity: 0.7; margin-top: 3px; }
.chat-compose { display: flex; align-items: flex-end; gap: 10px; padding: 14px; border-top: 1px solid var(--line); }
.chat-compose .textarea { min-height: 46px; max-height: 160px; field-sizing: content; resize: none; }
@media (max-width: 560px) { .facts-inline { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; margin-top: 28px; } .facts-inline strong { font-size: 1.4rem; } .facts-inline span { font-size: 0.8125rem; } }
