:root{--accent: #5d73ff;--accent-soft: color-mix(in srgb, var(--accent) 12%, #fff);--accent-dark: color-mix(in srgb, var(--accent) 72%, #000);--text: #1f2329;--muted: #8a919c;--line: #eef0f3;--bg: #f6f7fb;--mine: var(--accent);font-family:Inter,ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,Segoe UI,sans-serif;color:var(--text)}*{box-sizing:border-box}html,body,#app{height:100%;margin:0}body{background:#fff}button{font:inherit}.ico{background:currentColor;display:inline-block;flex:none;height:18px;-webkit-mask:var(--i) center / contain no-repeat;mask:var(--i) center / contain no-repeat;width:18px}.ico-close{--i: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2.2' stroke-linecap='round'%3E%3Cpath d='M18 6 6 18M6 6l12 12'/%3E%3C/svg%3E")}.ico-back{--i: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m15 18-6-6 6-6'/%3E%3C/svg%3E")}.ico-send{--i: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M12 19V5M5 12l7-7 7 7'/%3E%3C/svg%3E")}.ico-chat{--i: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M21 15a2 2 0 0 1-2 2H7l-4 4V5a2 2 0 0 1 2-2h14a2 2 0 0 1 2 2z'/%3E%3C/svg%3E")}.ico-box{--i: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M21 8 12 3 3 8v8l9 5 9-5z'/%3E%3Cpath d='m3 8 9 5 9-5M12 13v8'/%3E%3C/svg%3E")}.ico-clock{height:12px;width:12px;--i: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2.4' stroke-linecap='round'%3E%3Ccircle cx='12' cy='12' r='9'/%3E%3Cpath d='M12 7v5l3 2'/%3E%3C/svg%3E")}.ico-sent{height:13px;width:13px;--i: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M4 12.5 9 17.5 20 6.5'/%3E%3C/svg%3E")}.ico-clip{--i: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m21.4 11.1-9.2 9.2a6 6 0 0 1-8.5-8.5l9.2-9.2a4 4 0 0 1 5.7 5.7l-9.2 9.2a2 2 0 0 1-2.8-2.8l8.5-8.5'/%3E%3C/svg%3E")}.ico-file{--i: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M14 3H7a2 2 0 0 0-2 2v14a2 2 0 0 0 2 2h10a2 2 0 0 0 2-2V8z'/%3E%3Cpath d='M14 3v5h5'/%3E%3C/svg%3E")}.ico-pdf{--i: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M14 3H7a2 2 0 0 0-2 2v14a2 2 0 0 0 2 2h10a2 2 0 0 0 2-2V8z'/%3E%3Cpath d='M14 3v5h5'/%3E%3Cpath d='M8 17v-4h1.5a1.5 1.5 0 0 1 0 3H8M12.5 13v4h1a2 2 0 0 0 0-4zM17 13h-1.5v4M15.5 15h1.2'/%3E%3C/svg%3E")}.ico-doc{--i: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M14 3H7a2 2 0 0 0-2 2v14a2 2 0 0 0 2 2h10a2 2 0 0 0 2-2V8z'/%3E%3Cpath d='M14 3v5h5M9 12h6M9 15h6M9 18h4'/%3E%3C/svg%3E")}.ico-xls{--i: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M14 3H7a2 2 0 0 0-2 2v14a2 2 0 0 0 2 2h10a2 2 0 0 0 2-2V8z'/%3E%3Cpath d='M14 3v5h5'/%3E%3Crect x='8' y='11' width='8' height='7' rx='.5'/%3E%3Cpath d='M8 14.5h8M12 11v7'/%3E%3C/svg%3E")}.ico-txt{--i: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M14 3H7a2 2 0 0 0-2 2v14a2 2 0 0 0 2 2h10a2 2 0 0 0 2-2V8z'/%3E%3Cpath d='M14 3v5h5M9 13h4M9 16h6'/%3E%3C/svg%3E")}.ico-image{--i: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='3' y='3' width='18' height='18' rx='2'/%3E%3Ccircle cx='9' cy='9' r='2'/%3E%3Cpath d='m21 15-3.1-3.1a2 2 0 0 0-2.8 0L6 21'/%3E%3C/svg%3E")}.ico-read{height:13px;width:17px;--i: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 24' fill='none' stroke='%23000' stroke-width='2.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M2 12.5 7 17.5 18 6.5M13 16l1.5 1.5L25.5 6.5'/%3E%3C/svg%3E")}.app{height:100%}.app-state{align-items:center;color:var(--muted);display:flex;flex-direction:column;gap:10px;height:100%;justify-content:center;padding:24px;text-align:center}.app-state .ico{height:36px;width:36px;color:#c4c9d2}.btn{background:var(--accent-soft);border:0;border-radius:8px;color:var(--accent);cursor:pointer;font-weight:600;padding:8px 16px}.spinner{animation:spin .8s linear infinite;border:3px solid var(--line);border-radius:50%;border-top-color:var(--accent);height:28px;width:28px}@keyframes spin{to{transform:rotate(360deg)}}.badge{background:#f56c6c;border-radius:999px;color:#fff;font-size:11px;font-weight:700;line-height:18px;min-width:18px;padding:0 5px;text-align:center}.cv{background:#fff;display:flex;flex-direction:column;height:100%;min-width:0}.cv-head{align-items:center;background:linear-gradient(135deg,var(--accent),var(--accent-dark));color:#fff;display:flex;flex:none;gap:10px;min-height:60px;padding:10px 12px 10px 16px}.is-inbox .cv-head{background:#fff;border-bottom:1px solid var(--line);color:var(--text)}.cv-avatar{align-items:center;background:#fff;border-radius:10px;color:#fff;display:inline-flex;flex:none;font-weight:700;height:38px;justify-content:center;overflow:hidden;width:38px}.cv-avatar img{height:100%;object-fit:contain;padding:3px;width:100%}.cv-head-text{display:flex;flex:1 1 auto;flex-direction:column;min-width:0}.cv-head-text strong{font-size:15px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.cv-head-text small{font-size:12px;opacity:.7}.cv-icon-btn{align-items:center;background:transparent;border:0;border-radius:8px;color:inherit;cursor:pointer;display:inline-flex;height:34px;justify-content:center;opacity:.85;width:34px}.cv-icon-btn:hover{background:#ffffff1f;opacity:1}.is-inbox .cv-icon-btn:hover{background:var(--bg)}.cv-product{align-items:center;border-bottom:1px solid var(--line);color:inherit;display:flex;flex:none;gap:10px;padding:8px 16px;text-decoration:none}.cv-product:hover{background:#fafbfd}.cv-product img{border:1px solid var(--line);border-radius:6px;flex:none;height:40px;object-fit:contain;width:40px}.cv-product-text{display:flex;flex-direction:column;min-width:0}.cv-product-name{font-size:13px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.cv-product-price{color:var(--muted);font-size:12px;font-weight:600}.cv-messages{background:var(--bg);flex:1 1 auto;overflow-y:auto;padding:12px 14px}.cv-hint{color:var(--muted);font-size:12px;padding:6px;text-align:center}.cv-empty{align-items:center;color:var(--muted);display:flex;flex-direction:column;font-size:14px;gap:6px;height:100%;justify-content:center;padding:0 30px;text-align:center}.cv-empty .ico{color:#c4c9d2;height:34px;width:34px}.cv-day{color:var(--muted);font-size:12px;margin:10px 0 6px;text-align:center}.cv-msg{display:flex;margin:3px 0}.cv-msg.is-mine{justify-content:flex-end}.cv-bubble{border-radius:14px;box-shadow:0 1px 1px #1018280f;max-width:78%;padding:7px 10px 5px 12px}.is-theirs .cv-bubble{background:#fff;border-bottom-left-radius:4px}.is-mine .cv-bubble{background:var(--mine);border-bottom-right-radius:4px;color:#fff}.is-failed .cv-bubble{background:#fde2e2;color:#7a1f1f}.cv-body{font-size:14px;line-height:1.42;overflow-wrap:anywhere;white-space:pre-wrap}.cv-meta{align-items:center;display:flex;font-size:11px;gap:4px;justify-content:flex-end;margin-top:2px;opacity:.7}.cv-failed{cursor:pointer;text-decoration:underline}.cv-compose{align-items:flex-end;border-top:1px solid var(--line);display:flex;flex:none;gap:8px;padding:10px 12px}.cv-compose textarea{border:1px solid #e2e5ea;border-radius:18px;flex:1 1 auto;font:inherit;font-size:14px;line-height:1.4;max-height:140px;outline:none;padding:9px 14px;resize:none}.cv-compose textarea:focus{border-color:#e2e5ea;box-shadow:none}.cv-send{align-items:center;background:var(--accent);border:0;border-radius:50%;color:#fff;cursor:pointer;display:inline-flex;flex:none;height:38px;justify-content:center;transition:opacity .15s;width:38px}.cv-send:disabled{background:#e6e8ee;color:#a0a6b1;cursor:default}.inbox{display:grid;grid-template-columns:340px 1fr;height:100%}.inbox-placeholder{align-items:center;background:var(--bg);color:var(--muted);display:flex;flex-direction:column;gap:8px;justify-content:center}.inbox-placeholder .ico{color:#c4c9d2;height:40px;width:40px}.cl{border-right:1px solid var(--line);display:flex;flex-direction:column;min-height:0;overflow-y:auto}.cl-head{align-items:center;border-bottom:1px solid var(--line);display:flex;flex:none;gap:8px;min-height:60px;padding:0 16px}.cl-head strong{font-size:16px}.cl-hint{color:var(--muted);font-size:13px;padding:16px}.cl-empty{align-items:center;color:var(--muted);display:flex;flex-direction:column;font-size:13px;gap:6px;padding:40px 24px;text-align:center}.cl-empty .ico{color:#c4c9d2;height:34px;width:34px}.cl-item{align-items:flex-start;background:#fff;border:0;border-bottom:1px solid var(--line);cursor:pointer;display:flex;gap:10px;padding:12px 14px;text-align:left;width:100%}.cl-item:hover{background:#fafbfd}.cl-item.is-active{background:var(--accent-soft)}.cl-thumb{align-items:center;background:#fff;border:1px solid var(--line);border-radius:8px;color:#c4c9d2;display:inline-flex;flex:none;height:44px;justify-content:center;overflow:hidden;width:44px}.cl-thumb img{height:100%;object-fit:contain;width:100%}.cl-text{display:flex;flex:1 1 auto;flex-direction:column;gap:2px;min-width:0}.cl-row{align-items:center;display:flex;gap:8px;justify-content:space-between}.cl-name{font-size:14px;font-weight:600;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.cl-time{color:var(--muted);flex:none;font-size:11px}.cl-product{color:var(--muted);font-size:12px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.cl-last{color:#4a5160;font-size:13px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.is-unread .cl-last{color:var(--text);font-weight:600}@media(max-width:759px){.inbox{grid-template-columns:1fr}.inbox .cv,.inbox .inbox-placeholder,.inbox.has-active .cl{display:none}.inbox.has-active .cv{display:flex}}.cv-files{display:flex;flex-direction:column;gap:4px;margin-bottom:4px;max-width:260px}.cv-bubble.has-media{padding:4px}.cv-bubble.has-media .cv-meta{padding:0 6px 2px}.cv-file{flex:1 1 100%}.cv-file:focus-visible{box-shadow:0 0 0 2px var(--accent);outline:none}.cv-file{align-items:center;background:#ffffffd9;border:1px solid #eef0f3;border-radius:10px;color:var(--text);display:flex;gap:10px;min-width:200px;outline:none;padding:8px 10px 8px 8px;text-decoration:none}.cv-file:hover{background:#fff}.cv-file-ico{color:var(--muted);height:22px;margin:0 2px;width:22px}.cv-file-text{display:flex;flex-direction:column;min-width:0}.cv-file-name{font-size:13px;font-weight:500;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.cv-file-size{color:var(--muted);font-size:11px}.cv-error{display:block;font-size:12px;margin-top:2px}.cv-attach{align-items:center;background:transparent;border:0;border-radius:50%;color:var(--muted);cursor:pointer;display:inline-flex;flex:none;height:38px;justify-content:center;width:38px}.cv-attach:hover{background:var(--bg);color:var(--text)}.cv-attach .ico{height:20px;width:20px}.cv-picked{border-top:1px solid var(--line);display:flex;flex-wrap:wrap;gap:6px;padding:8px 12px 0}.cv-chip{align-items:center;background:var(--bg);border-radius:8px;display:inline-flex;font-size:12px;gap:5px;max-width:100%;padding:4px 4px 4px 8px}.cv-chip .ico{color:var(--muted);height:13px;width:13px}.cv-chip-name{max-width:180px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.cv-chip-size{color:var(--muted)}.cv-chip button{align-items:center;background:transparent;border:0;border-radius:6px;color:var(--muted);cursor:pointer;display:inline-flex;height:20px;justify-content:center;width:20px}.cv-chip button:hover{background:#e6e8ee;color:var(--text)}.cv-pick-error{color:#c0392b;font-size:12px;margin:6px 12px 0}.cv-picked+.cv-compose,.cv-pick-error+.cv-compose{border-top:0}
