*{box-sizing:border-box}html,body,#root{height:100%;margin:0}body{background:#f5f7fb;font-family:Inter,-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,sans-serif}.page-header{flex-wrap:wrap;justify-content:space-between;align-items:center;gap:12px;margin-bottom:16px;display:flex}.page-header h2{margin:0;font-size:20px;font-weight:600}.row-inactive td{opacity:.55}.inbox{background:#fff;border:1px solid #eef0f4;border-radius:10px;height:calc(100vh - 164px);min-height:480px;display:flex;overflow:hidden}.inbox-col{border-right:1px solid #eef0f4;flex-direction:column;min-height:0;display:flex}.inbox-scroll{flex:1;overflow-y:auto}.inbox-item{cursor:pointer;align-items:center;gap:10px;padding:10px 14px;transition:background .15s;display:flex}.inbox-item:hover{background:#f5f6fb}.inbox-item.active{background:#eef0ff}.inbox-item .meta{flex:1;min-width:0}.inbox-item .line{white-space:nowrap;text-overflow:ellipsis;overflow:hidden}.bubble-row{margin:4px 0;display:flex}.bubble-row.me{justify-content:flex-end}.bubble{white-space:pre-wrap;word-break:break-word;background:#f0f2f5;border-radius:16px;max-width:70%;padding:8px 12px;font-size:14px}.bubble-row.me .bubble{color:#fff;background:#4f46e5}.bubble img{border-radius:10px;max-width:240px;margin-top:4px;display:block}.fb-preview{background:#fff;border:1px solid #e4e6eb;border-radius:10px;overflow:hidden}.fb-grid{gap:2px;display:grid}.fb-grid img{object-fit:cover;width:100%;height:100%;display:block}.page-check{cursor:pointer;border:1px solid #e5e7eb;border-radius:8px;align-items:center;gap:10px;padding:8px 12px;display:flex}.page-check.checked{background:#f5f5ff;border-color:#4f46e5}.mono textarea,textarea.mono{font-family:ui-monospace,SFMono-Regular,Menlo,monospace;font-size:12px}.guide-steps{counter-reset:step;margin:0 0 8px;padding:0;list-style:none}.guide-steps li{counter-increment:step;padding:4px 0 4px 36px;line-height:1.6;position:relative}.guide-steps li:before{content:counter(step);color:#4f46e5;background:#eef0ff;border-radius:50%;place-items:center;width:24px;height:24px;font-size:13px;font-weight:600;display:grid;position:absolute;top:4px;left:0}.guide-quick{cursor:pointer;border:1px solid #e5e7eb;border-radius:10px;height:100%;padding:14px;transition:all .15s}.guide-quick:hover{background:#f8f8ff;border-color:#4f46e5}.app-sider{height:100vh;top:0;position:sticky!important}.app-sider .ant-layout-sider-children{flex-direction:column;display:flex}.ellipsis{text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.composer{background:#fff;border-top:1px solid #eef0f4;position:relative}.composer.dragging{background:#f5f7ff}.composer-drop{color:#4f46e5;z-index:2;pointer-events:none;background:#f5f7ffeb;border:2px dashed #4f46e5;border-radius:10px;place-items:center;font-weight:600;display:grid;position:absolute;inset:4px}.composer-file{background:#f8f9fb;border:1px solid #e5e7eb;border-radius:8px;width:64px;height:64px;position:relative;overflow:hidden}.composer-file img{object-fit:cover;width:100%;height:100%}.composer-file-doc{color:#6b7280;flex-direction:column;justify-content:center;align-items:center;gap:2px;height:100%;padding:4px;font-size:18px;display:flex}.composer-file-doc span{text-overflow:ellipsis;white-space:nowrap;max-width:100%;font-size:10px;overflow:hidden}.composer-file-x{color:#fff;cursor:pointer;background:#0009;border:0;border-radius:50%;place-items:center;width:18px;height:18px;padding:0;font-size:10px;display:grid;position:absolute;top:2px;right:2px}.emoji-grid{grid-template-columns:repeat(8,32px);gap:2px;display:grid}.emoji-grid button{cursor:pointer;background:0 0;border:0;border-radius:6px;height:32px;font-size:20px}.emoji-grid button:hover{background:#f2f3f7}.tpl-item{cursor:pointer;border-radius:6px;padding:6px 8px}.tpl-item:hover{background:#f2f3f7}.tpl-preview{color:#6b7280;-webkit-line-clamp:2;-webkit-box-orient:vertical;font-size:12px;display:-webkit-box;overflow:hidden}.sender{color:#65676b;flex-basis:100%;justify-content:flex-end;align-items:center;gap:4px;margin:3px 2px 4px 0;font-size:12px;display:flex}.sender b{color:#1c1e21;font-weight:600}.sender .anticon{color:#8a8d91;cursor:help}.receipt{text-align:right;color:#9ca3af;flex-basis:100%;margin-top:2px;font-size:11px}.receipt-seen{align-items:center;gap:4px;display:inline-flex}.receipt-seen .ant-avatar{font-size:8px!important;line-height:14px!important}.sender.ai,.sender.ai b{color:#7c3aed}.conv-page{color:#8c8b86;min-width:0;margin-top:2px;font-size:11px}.ai-summary{background:linear-gradient(#f5f3ff,#faf9ff);border:1px solid #e4e0fb;border-radius:10px;margin:12px 16px 0;padding:10px 12px}.ai-summary-icon{color:#6d28d9}.ai-summary-body{margin-top:8px;font-size:13px}.ai-summary-topic{font-weight:500;line-height:1.45}.ai-summary-text{line-height:1.45}.ai-summary-text ul{margin:2px 0 0;padding-left:18px}.ai-summary-text li{margin-bottom:2px}.ai-summary-next{color:#166534;background:#ecfdf3;border-radius:6px;margin-top:8px;padding:6px 8px;line-height:1.45}.cm-item{border-bottom:1px solid #f3f4f8;align-items:flex-start}.cm-post{background:#fafbfd;border:1px solid #eef0f4;border-radius:10px;gap:10px;padding:10px;display:flex}.cm-bubble{word-break:break-word;background:#f0f2f5;border-radius:14px;max-width:100%;padding:8px 12px;font-size:13px;line-height:1.45;display:inline-block}.cm-bubble.page{background:#eef0ff}.cm-composer{border-top:1px solid #eef0f4;padding:10px 16px 12px}.cm-tab{border:1px solid #e5e7eb;border-radius:12px;margin:0;padding:2px 8px;font-size:12px}.notify-item{cursor:pointer;border-radius:8px;align-items:center;gap:10px;padding:8px 12px;display:flex}.notify-item:hover{background:#f5f6fb}.notify-item.new{background:#eef2ff}.notify-item .line{white-space:nowrap;text-overflow:ellipsis;overflow:hidden}.notify-type{color:#fff;border:2px solid #fff;border-radius:50%;justify-content:center;align-items:center;width:18px;height:18px;font-size:10px;display:flex;position:absolute;bottom:-4px;right:-4px}.notify-type.message{background:#4f46e5}.notify-type.comment{background:#d97706}.notify-type.email{background:#dc2626}.notify-type.zalo{background:#0068ff}
