:root { color: #16211f; background: #f6f4ed; font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "PingFang SC", sans-serif; }
* { box-sizing: border-box; } body { margin: 0; min-height: 100vh; } main { min-height: 100vh; display: grid; grid-template-columns: 310px 1fr; }
aside { background: #163b34; color: #fffdf6; padding: 34px 24px; } h1, h2, p { margin: 0; } h1 { font-size: 30px; letter-spacing: -.04em; } h2 { font-size: 25px; letter-spacing: -.03em; } .eyebrow { color: #d7b77b; font-size: 11px; font-weight: 800; letter-spacing: .14em; margin-bottom: 9px; } .muted { margin-top: 12px; color: #bed3cb; font-size: 14px; line-height: 1.55; }
.new-user { display: flex; gap: 8px; margin: 28px 0; } input, textarea, button { font: inherit; } input, textarea { border: 1px solid #d8d7d0; border-radius: 10px; background: white; padding: 11px; } .new-user input { min-width: 0; width: 100%; } button { border: 0; border-radius: 10px; background: #d7b77b; color: #19342f; font-weight: 750; padding: 11px 14px; cursor: pointer; } button:disabled { opacity: .45; cursor: not-allowed; }
.user-list { display: grid; gap: 7px; } .user { width: 100%; text-align: left; background: transparent; color: #e9f1ed; display: flex; align-items: center; gap: 10px; padding: 10px; } .user:hover, .user.selected { background: #2a554c; } .user span { display: grid; place-items: center; width: 28px; height: 28px; border-radius: 50%; background: #e7c987; color: #163b34; }
.workspace { display: grid; grid-template-rows: auto auto 1fr auto auto; min-width: 0; padding: 34px clamp(20px, 5vw, 76px); gap: 16px; } header { display: flex; justify-content: space-between; align-items: center; gap: 20px; } header .eyebrow { color: #9e7654; }.connection { display: flex; gap: 12px; align-items: center; background: #eef1e5; border: 1px solid #cbd5b7; border-radius: 12px; padding: 13px 15px; font-size: 13px; }.connection span { color: #53615c; }.hidden { display: none; }
.chat { min-height: 380px; max-height: calc(100vh - 255px); overflow-y: auto; display: grid; align-content: start; gap: 16px; padding: 12px 0; }.chat.empty { place-items: center; color: #69736e; }.message { display: grid; gap: 5px; max-width: min(680px, 86%); }.message.assistant { justify-self: start; }.message.user { justify-self: end; }.role { font-size: 12px; color: #71827a; }.user .role { text-align: right; }.bubble { white-space: pre-wrap; overflow-wrap: anywhere; padding: 13px 15px; border-radius: 15px 15px 15px 4px; background: #fff; box-shadow: 0 1px 0 #ddd9cf; line-height: 1.55; }.user .bubble { background: #d9ecd8; border-radius: 15px 15px 4px 15px; }
.composer { display: grid; grid-template-columns: auto 1fr auto; gap: 9px; align-items: end; }.attachment { display: grid; place-items: center; width: 42px; height: 42px; background: #e7e6df; border-radius: 10px; font-size: 22px; cursor: pointer; }.attachment input { display: none; } textarea { resize: vertical; min-height: 44px; max-height: 180px; }.image-name { color: #6b746e; font-size: 12px; min-height: 16px; }
.service-test { margin-top: 8px; padding: 18px; border: 1px solid #d8d7d0; border-radius: 14px; background: #fffdf8; display: grid; gap: 12px; }.service-test h3 { margin: 0; font-size: 17px; }.service-test p { color: #68736c; font-size: 13px; line-height: 1.5; }.service-test .eyebrow { margin-bottom: 5px; }.service-test form { display: flex; gap: 8px; }.service-test input { flex: 1; min-width: 0; }.service-result { min-height: 20px; color: #264a3f !important; }
.lead-panel { display: grid; grid-template-columns: 1fr auto; gap: 10px; border-top: 1px solid #e4e0d5; padding-top: 14px; }.lead-panel > div:first-child { display: grid; gap: 3px; }.lead-panel span, .lead-panel small { color: #708078; font-size: 12px; }.lead-actions { display: flex; gap: 7px; align-items: start; }.lead-panel button { padding: 8px 11px; align-self: start; }.lead-list { grid-column: 1 / -1; display: grid; gap: 8px; color: #6b746e; font-size: 13px; }.lead-list article { display: grid; gap: 4px; border: 1px solid #e5e1d6; border-radius: 9px; background: #fff; padding: 10px; color: #314940; }.lead-list article span { color: #52665f; font-size: 13px; }
@media (max-width: 720px) { main { grid-template-columns: 1fr; } aside { padding: 22px; } .user-list { grid-template-columns: repeat(auto-fit, minmax(140px, 1fr)); } .workspace { min-height: 70vh; padding: 24px 18px; } header { align-items: flex-start; flex-direction: column; }.chat { max-height: 52vh; } }
