* { box-sizing: border-box; }
:root { font-family: 'Segoe UI', system-ui, sans-serif; color: #1d302b; font-synthesis: none; --green: #16866b; --dark: #234d42; --muted: #74847f; }
body { margin: 0; background: #e6eae7; }
button, textarea { font: inherit; }
button { cursor: pointer; -webkit-tap-highlight-color: transparent; }
button:disabled { cursor: default; }
button:focus-visible, a:focus-visible, textarea:focus-visible { outline: 3px solid #31a88c; outline-offset: 3px; }
button, a { touch-action: manipulation; }
svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 1.65; stroke-linecap: round; stroke-linejoin: round; flex-shrink: 0; }
.svg-defs { position: absolute; width: 0; height: 0; }
[hidden] { display: none !important; }
.page-shell { max-width: 1490px; margin: 0 auto; padding: 0 42px; }
.masthead { height: 83px; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.nv-brand { display: flex; align-items: center; gap: 10px; color: #263e35; text-decoration: none; }
.nv-brand strong { font-size: 28px; letter-spacing: -3px; font-weight: 850; }
.nv-brand strong span { display: inline-block; font-size: 19px; margin-left: 4px; color: #16866b; vertical-align: top; }
.nv-brand > span { font-size: 9px; font-weight: 700; letter-spacing: 2px; border-left: 1px solid #b7c3bc; padding: 9px 0 9px 13px; }
.masthead-note { display: flex; align-items: center; gap: 9px; font-size: 12px; color: #536960; }
.live-dot { width: 6px; height: 6px; background: #239977; border-radius: 50%; }
.demo-tag { font-size: 9px; letter-spacing: 1.8px; color: #65786f; border: 1px solid #c8d0cb; padding: 7px 10px; border-radius: 4px; }
.messenger { display: grid; grid-template-columns: 305px minmax(0, 1fr); height: calc(100dvh - 128px); min-height: 540px; max-height: 1060px; background: white; border: 1px solid #d4ddd6; border-radius: 12px; overflow: hidden; box-shadow: 0 16px 45px -28px #1c3c365e; }
.sidebar { display: flex; flex-direction: column; background: #fff; border-right: 1px solid #e0e5e2; min-height: 0; }
.sidebar-top { height: 73px; display: flex; align-items: center; justify-content: space-between; padding: 0 24px; background: #f0f2f5; flex-shrink: 0; }
.small-brand { font-weight: 850; font-size: 19px; letter-spacing: -1px; }
.small-brand span { font-weight: 400; color: #82918a; font-size: 14px; letter-spacing: 0; }
.sidebar-caption { font-size: 11px; color: #72867c; }
.sidebar-title { display: flex; align-items: center; justify-content: space-between; padding: 24px 23px 16px; }
.sidebar-title h1 { font-size: 22px; letter-spacing: -.7px; margin: 0; font-weight: 650; }
.count { color: #5b7a6b; background: #eef4ef; width: 21px; height: 21px; display: grid; place-items: center; font-size: 11px; border-radius: 50%; }
.filter { display: flex; align-items: center; gap: 9px; color: #577064; margin: 0 23px 20px; font-size: 11px; }
.filter svg { width: 16px; height: 16px; }
.contact { padding: 19px 18px; display: flex; align-items: center; gap: 12px; background: #edf4ee; border-left: 3px solid #319b75; }
.avatar { width: 44px; height: 44px; border-radius: 50%; flex-shrink: 0; }
.contact-copy { min-width: 0; flex: 1; }
.contact-line { display: flex; align-items: center; justify-content: space-between; gap: 6px; }
.contact-line strong { font-size: 13px; font-weight: 650; }
.contact-line > span { font-size: 9px; color: #74847f; }
.contact-copy p { color: #7b8880; font-size: 11px; margin: 6px 0 8px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.contact-label { font-size: 9px; color: #567e64; background: #dfece1; border-radius: 3px; padding: 3px 6px; }
.sidebar-about { margin-top: auto; padding: 28px 26px 25px; }
.thin-rule { width: 30px; border-top: 1px solid #b2c4b7; margin-bottom: 21px; }
.eyebrow { font-size: 9px; letter-spacing: 1.65px; color: #718778; font-weight: 650; }
.sidebar-about h2 { font-size: 23px; font-weight: 450; line-height: 1.3; letter-spacing: -.7px; margin: 13px 0 11px; }
.sidebar-about p { font-size: 12px; line-height: 1.85; color: #88918c; margin: 0 0 22px; }
.about-item { display: flex; align-items: center; gap: 10px; font-size: 11px; color: #7b8c81; margin: 13px 0; }
.about-item svg { width: 16px; height: 16px; }
.sidebar-footer { border-top: 1px solid #edf0ec; padding: 20px 26px; display: flex; flex-direction: column; gap: 6px; }
.partner-name { font-size: 11px; font-weight: 600; color: #63796a; }
.sidebar-footer small { font-size: 9px; color: #a0aaa3; }
.chat-panel { display: flex; flex-direction: column; min-width: 0; min-height: 0; background: #efeae2; }
.chat-header { height: 73px; background: #f0f2f5; padding: 0 27px; display: flex; align-items: center; gap: 13px; flex-shrink: 0; }
.header-copy { flex: 1; min-width: 0; }
.header-copy h2 { font-weight: 600; font-size: 14px; letter-spacing: -.15px; margin: 0; }.header-copy h2 span { font-weight: 400; color: #687972; margin-left: 3px; }
.header-copy p { color: #7b8a81; font-size: 11px; margin: 4px 0 0; }
.header-copy p.is-typing { color: #16866b; }
.header-actions { display: flex; gap: 12px; }
.icon-button { display: grid; place-items: center; width: 36px; height: 36px; border: none; border-radius: 50%; background: transparent; color: #758078; }
.icon-button:hover { background: #e1e7e3; color: #244d42; }
.demo-notice { display: flex; align-items: center; justify-content: center; gap: 7px; padding: 10px 15px; font-size: 10px; color: #8a816e; background: #f8f3e8; border-bottom: 1px solid #e9e4d9; flex-shrink: 0; }
.demo-notice svg { width: 12px; height: 12px; }
.conversation { flex: 1; overflow-y: auto; overscroll-behavior: contain; min-height: 0; padding: 22px 6.5% 24px; scrollbar-width: thin; scrollbar-color: #cbcfc3 transparent; background-color: #efeae2; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='170' height='170' viewBox='0 0 170 170'%3E%3Cg fill='none' stroke='%23c9c7b9' stroke-width='1' opacity='.32'%3E%3Cpath d='M20 24h21v15H28l-7 5v-5h-1zM104 109h19v13h-12l-6 4v-4h-1zM109 26l7-10 7 10-7 10zM27 115l5-7 5 7-5 7zM63 67l13-4 5 17-13 4zM69 71l9-3m-8 7 9-3M139 66c-8-14-19 2 0 12 19-10 8-26 0-12zM55 140h14m-7-7v14M15 75h8m-4-4v8M149 146l5 5m-5 0 5-5'%3E%3C/path%3E%3Ccircle cx='88' cy='123' r='5'/%3E%3Ccircle cx='53' cy='18' r='2'/%3E%3Ccircle cx='153' cy='20' r='2'/%3E%3C/g%3E%3C/svg%3E"); }
.day-label { width: fit-content; margin: 0 auto 24px; padding: 6px 11px; background: #fffcf7e8; box-shadow: 0 1px 2px #11261a0f; border-radius: 6px; font-size: 9px; color: #8a9087; }
.welcome { text-align: center; max-width: 440px; margin: clamp(0px, 2vh, 20px) auto 12px; }
.welcome-emblem { display: inline-flex; padding: 7px; border: 1px solid #d6d6c5; border-radius: 50%; margin-bottom: 20px; box-shadow: 0 7px 20px #3c57400c; }
.welcome-emblem img { width: 67px; height: 67px; border-radius: 50%; }
.welcome > .eyebrow { display: block; color: #788370; font-size: 9px; letter-spacing: 2px; }
.welcome h2 { font-family: Georgia, 'Times New Roman', serif; font-weight: 400; font-size: clamp(28px, 2.8vw, 38px); line-height: 1.16; letter-spacing: -1.2px; margin: 14px 0; color: #304e40; }
.welcome p { color: #8c9080; font-size: 12px; line-height: 1.8; margin: 0; }
.welcome-divider { width: 29px; height: 1px; background: #c2c7b2; margin: 22px auto 19px; }
.suggestion-label { font-size: 11px; color: #7a806e; }
.starters { display: grid; gap: 8px; max-width: 340px; margin: 13px auto 14px; }
.starters button { display: flex; justify-content: space-between; align-items: center; gap: 9px; text-align: left; border: 1px solid #dadccc; border-radius: 8px; padding: 12px 14px; color: #66745e; background: #fcfcf5de; font-size: 11px; transition: background .15s, transform .15s; }
.starters button:hover { background: #fff; transform: translateY(-1px); border-color: #a8bba4; }.starters svg { width: 14px; height: 14px; color: #819578; }
.welcome > small { font-size: 10px; color: #919783; }
.messages { display: flex; flex-direction: column; gap: 8px; }
.message { max-width: min(80%, 590px); padding: 10px 12px 6px; box-shadow: 0 1px 1px #17291a17; border-radius: 0 9px 9px 9px; position: relative; background: #fff; align-self: flex-start; animation: appear .18s ease-out; }
.message::before { content: ''; position: absolute; top: 0; left: -7px; border-top: 8px solid #fff; border-left: 8px solid transparent; }
.message.outgoing { align-self: flex-end; background: #d9fdd3; border-radius: 9px 0 9px 9px; }
.message.outgoing::before { left: auto; right: -7px; border-left: 0; border-right: 8px solid transparent; border-top-color: #d9fdd3; }
.message-text { margin: 0; color: #29362e; font-size: 14px; line-height: 1.55; white-space: pre-wrap; overflow-wrap: anywhere; }
.message-meta { display: flex; justify-content: flex-end; gap: 5px; align-items: center; margin-top: 4px; color: #8a9689; font-size: 9px; }.message-meta svg { width: 15px; height: 15px; }.message-meta .delivered { color: #52a2b7; }.message.failed .message-meta { color: #a4553b; }
.typing { width: 61px; padding: 15px 13px; margin-top: 10px; background: white; border-radius: 0 9px 9px 9px; box-shadow: 0 1px 1px #17291a17; }
.typing span { display: inline-block; width: 5px; height: 5px; background: #a0afa2; border-radius: 50%; margin-right: 3px; animation: pulse 1.3s infinite; }.typing span:nth-child(2) { animation-delay: .16s; }.typing span:nth-child(3) { animation-delay: .32s; margin: 0; }
.composer { display: flex; align-items: flex-end; gap: 12px; background: #f0f2f5; padding: 14px 25px 8px; flex-shrink: 0; }
.composer textarea { width: 100%; resize: none; min-height: 46px; max-height: 116px; border: 1px solid #e4e9e3; padding: 12px 16px; font-size: 14px; line-height: 20px; border-radius: 10px; color: #33493c; background: #fff; scrollbar-width: thin; }.composer textarea::placeholder { color: #9aa69e; }
.composer button { display: grid; place-items: center; width: 45px; height: 45px; flex-shrink: 0; border: none; border-radius: 50%; color: white; background: #1b8d70; transition: background .15s; }.composer button:hover:not(:disabled) { background: #126f56; }.composer button:disabled { background: #d5ddd6; color: #93a497; }.composer button svg { width: 22px; height: 22px; }
.composer-footnote { display: flex; justify-content: space-between; gap: 8px; padding: 0 28px 11px; background: #f0f2f5; font-size: 9px; color: #97a197; flex-shrink: 0; }
.error-bar { background: #fff3e9; border-top: 1px solid #ead5c5; padding: 12px 23px; font-size: 12px; color: #8e5039; display: flex; gap: 12px; align-items: center; justify-content: space-between; }.error-bar button { border: 1px solid #d8b198; border-radius: 5px; padding: 8px 10px; background: white; white-space: nowrap; font-size: 11px; color: #8e5039; }
.page-footer { display: flex; justify-content: space-between; color: #8d9a90; font-size: 9px; padding: 15px 1px; }
dialog { border: 1px solid #d3dfd5; border-radius: 16px; width: min(420px, calc(100% - 32px)); padding: 28px; color: #234d42; box-shadow: 0 20px 100px #16261c33; }dialog::backdrop { background: #142c2a66; backdrop-filter: blur(3px); }dialog h2 { font-size: 20px; letter-spacing: -.5px; }dialog p { color: #738074; font-size: 13px; line-height: 1.8; }.dialog-icon { background: #ecf4ed; width: 44px; height: 44px; display: grid; place-items: center; border-radius: 50%; }.dialog-actions { display: flex; gap: 10px; justify-content: flex-end; margin-top: 23px; }.dialog-actions button { border-radius: 7px; padding: 11px 12px; font-size: 12px; }.primary-button { border: 1px solid #16866b; background: #16866b; color: white; }.secondary-button { border: 1px solid #dbe2d9; background: white; color: #657e6c; }
.toast { position: fixed; bottom: 30px; left: 50%; transform: translateX(-50%); max-width: calc(100% - 32px); padding: 13px 20px; border-radius: 8px; background: #234d42; color: white; font-size: 12px; box-shadow: 0 4px 15px #13221922; z-index: 5; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }
.no-script { position: fixed; inset: 30%; background: white; padding: 30px; }
@keyframes appear { from { opacity: 0; transform: translateY(5px); } to { opacity: 1; transform: translateY(0); } }
@keyframes pulse { 0%, 60%, 100% { opacity: .45; transform: translateY(0); } 30% { opacity: 1; transform: translateY(-3px); } }
@media (max-height: 780px) and (min-width: 761px) { .welcome { margin-top: 0; }.welcome-emblem { margin-bottom: 12px; }.welcome-emblem img { width: 48px; height: 48px; }.welcome h2 { font-size: 31px; margin: 10px 0; }.welcome-divider { margin: 15px auto; }.day-label { margin-bottom: 12px; }.sidebar-about { padding-top: 20px; }.sidebar-about h2 { font-size: 21px; } }
@media (max-width: 1100px) { .page-shell { padding: 0 22px; }.messenger { grid-template-columns: 265px minmax(0, 1fr); }.contact { padding-left: 13px; padding-right: 13px; gap: 9px; }.contact .avatar { width: 37px; height: 37px; }.contact-line strong { font-size: 12px; }.chat-header { padding: 0 20px; }.header-copy h2 span { display: none; } }
@media (max-width: 760px) {
  body { background: #efeae2; }.page-shell { padding: 0; }.masthead, .sidebar, .page-footer { display: none; }.messenger { display: block; height: 100dvh; min-height: 0; max-height: none; border: 0; border-radius: 0; box-shadow: none; }.chat-panel { height: 100%; }.chat-header { padding: calc(10px + env(safe-area-inset-top)) 16px 10px; height: auto; min-height: 72px; gap: 11px; }.header-copy h2 { font-size: 14px; }.header-copy h2 span { display: none; }.header-copy p { font-size: 11px; }.chat-header .avatar { width: 42px; height: 42px; }.header-actions { gap: 5px; }.icon-button { width: 34px; height: 38px; }.demo-notice { padding: 9px 10px; font-size: 9px; gap: 5px; }.conversation { padding: 17px 21px 22px; }.day-label { margin-bottom: 22px; }.welcome { margin-top: clamp(0px, 3vh, 20px); }.welcome-emblem img { width: 62px; height: 62px; }.welcome h2 { font-size: 35px; }.welcome > .eyebrow { font-size: 8px; }.welcome p { font-size: 12px; }.welcome-divider { margin: 24px auto 20px; }.starters button { font-size: 11px; padding: 14px; }.message { max-width: 88%; }.message-text { font-size: 14px; }.composer { padding: 10px 12px 6px; gap: 8px; }.composer textarea { font-size: 16px; padding: 12px; }.composer-footnote { justify-content: center; padding: 2px 10px calc(9px + env(safe-area-inset-bottom)); font-size: 8px; }.keyboard-hint { display: none; }.error-bar { padding: 10px 13px; font-size: 11px; }.toast { bottom: 100px; }
}
@media (max-width: 380px) { .chat-header { padding-left: 12px; padding-right: 9px; gap: 8px; }.header-copy h2 { font-size: 13px; }.header-actions { gap: 0; }.welcome h2 { font-size: 31px; }.welcome-emblem { margin-bottom: 16px; } }
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; } }
