.sidebar-card.care-card{display:flex;flex-direction:column;gap:8px}.care-card-header{display:flex;align-items:center;justify-content:space-between;gap:6px}.care-card-header strong{display:inline-flex;align-items:center;gap:5px;font-size:13px;color:#0f172a}.care-status-badge{display:inline-flex;align-items:center;padding:2px 7px;border-radius:999px;font-size:11px;font-weight:700;white-space:nowrap}.care-status-badge.is-complaint{background:#fef2f2;border:1px solid #fecaca;color:#b91c1c}.care-status-badge.is-overdue{background:#fff7ed;border:1px solid #fdba74;color:#c2410c}.care-status-badge.is-due{background:#fefce8;border:1px solid #fde047;color:#a16207}.care-status-badge.is-scheduled{background:#f1f5f9;border:1px solid #cbd5e1;color:#475569}.care-status-badge.is-snoozed{background:#eff6ff;border:1px solid #bfdbfe;color:#1d4ed8}.care-status-badge.is-won{background:#ecfdf5;border:1px solid #86efac;color:#15803d}.care-status-badge.is-paused{background:#f8fafc;border:1px solid #cbd5e1;color:#64748b}.care-track-row{display:flex;flex-direction:column;gap:4px}.care-track-select{width:100%;font-size:12px;padding:5px 8px;border-radius:7px;border:1px solid #cbd5e1;background:#fff;color:#0f172a}.care-track-meta{display:flex;align-items:center;justify-content:space-between;gap:6px}.care-source-tag{font-size:10.5px;font-weight:600;padding:1px 6px;border-radius:5px}.care-source-tag.is-auto{background:#f0f9ff;color:#0369a1}.care-source-tag.is-manual{background:#fef3c7;color:#92400e}.care-reset-btn{display:inline-flex;align-items:center;gap:3px;background:transparent;border:1px solid #cbd5e1;border-radius:5px;padding:1px 6px;font-size:10.5px;color:#334155;cursor:pointer}.care-step-box{background:#f8fafc;border:1px solid #e2e8f0;border-radius:8px;padding:7px 9px;display:flex;flex-direction:column;gap:3px}.care-step-line{display:flex;align-items:center;gap:5px;font-size:12px;color:#0f172a}.care-step-desc{font-size:11.5px;color:#334155;line-height:1.35}.care-reason-hint{font-size:11px;color:#64748b;line-height:1.35;margin-top:2px}.care-reason-hint .is-highlight{display:inline-flex;align-items:center;gap:4px;color:#b45309;font-weight:600}.care-actions-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:6px}.care-btn{display:inline-flex;align-items:center;justify-content:center;gap:4px;padding:6px 8px;border-radius:7px;border:1px solid #cbd5e1;background:#fff;color:#0f172a;font-size:11.5px;font-weight:600;cursor:pointer}.care-btn:hover:not(:disabled){background:#f1f5f9}.care-btn.is-primary{background:#2563eb;border-color:#2563eb;color:#fff}.care-btn.is-primary:hover:not(:disabled){background:#1d4ed8}.care-btn.is-won{border-color:#86efac;background:#f0fdf4;color:#15803d}.care-btn.is-active{border-color:#2563eb;background:#eff6ff;color:#1d4ed8}.care-btn.is-active-warn{border-color:#f59e0b;background:#fffbeb;color:#b45309}.care-subform{display:flex;flex-direction:column;gap:6px;padding:8px;background:#f8fafc;border:1px solid #cbd5e1;border-radius:8px}.care-quick-chips{display:flex;flex-wrap:wrap;gap:4px}.care-quick-chips button{padding:2px 7px;font-size:11px;border-radius:999px;border:1px solid #cbd5e1;background:#fff;color:#334155;cursor:pointer}.care-subform input,.care-subform select{width:100%;font-size:12px;padding:5px 8px;border-radius:6px;border:1px solid #cbd5e1;background:#fff}.care-subform-label{display:flex;flex-direction:column;gap:4px;font-size:11.5px;font-weight:600;color:#334155}.care-subform-footer{display:flex;justify-content:flex-end;gap:6px}.care-subform-footer button{font-size:11.5px;padding:4px 10px}.care-alert{display:flex;align-items:center;gap:4px;margin:0;font-size:11.5px;padding:4px 7px;border-radius:6px}.care-alert.is-err{background:#fef2f2;color:#b91c1c}.care-alert.is-ok{background:#ecfdf5;color:#15803d}.care-card-muted{margin:0;font-size:11.5px;color:#64748b}.care-logs-details{border-top:1px solid #e2e8f0;padding-top:6px}.care-logs-details summary{display:flex;align-items:center;justify-content:space-between;font-size:11.5px;font-weight:600;color:#475569;cursor:pointer;list-style:none}.care-logs-list{margin:6px 0 0;padding:0;list-style:none;display:flex;flex-direction:column;gap:5px;max-height:150px;overflow-y:auto}.care-logs-list li{font-size:11px;padding-bottom:4px;border-bottom:1px dashed #e2e8f0}.care-log-head{display:flex;justify-content:space-between;gap:6px;color:#475569}.care-log-note{color:#0f172a;line-height:1.35}.care-draft-trigger-btn{display:inline-flex;align-items:center;justify-content:center;gap:6px;width:100%;padding:6px 10px;border-radius:7px;border:1px solid #fdba74;background:linear-gradient(135deg,#fff7ed,#fefce8);color:#9a3412;font-size:12px;font-weight:700;cursor:pointer}.care-draft-trigger-btn:hover:not(:disabled){border-color:#f97316;background:#ffedd5}.vsc.sidebar-card{display:block;box-sizing:border-box;width:100%;min-width:0;padding:12px;background:#fff;border:1px solid #dbe4f0;border-radius:12px;color:#263750;font:13px/1.4 system-ui,sans-serif}.vsc header,.vsc .vsc-summary,.vsc .vsc-when{display:flex;align-items:center;justify-content:space-between;gap:6px;flex-wrap:wrap}.vsc header{margin-bottom:8px}.vsc header strong{font-size:15px}.vsc a{color:#2158c6}.vsc button{cursor:pointer;background:#fff;color:inherit;border:1px solid #d6deeb;border-radius:6px;padding:3px 6px;font:inherit}.vsc .vsc-scope{display:flex;gap:4px;margin:6px 0}.vsc button[aria-pressed=true]{background:#eaf1ff;color:#1647aa;border-color:#729aef}.vsc .vsc-days{display:grid;grid-template-columns:repeat(6,minmax(0,1fr));gap:3px;margin:9px 0}.vsc .vsc-days button{min-width:0;display:flex;align-items:center;flex-direction:column;gap:2px;padding:4px 0}.vsc button[aria-current=date]{box-shadow:inset 0 2px #2563eb}.vsc small{font-size:11px}.vsc .vsc-dots{min-height:6px;display:flex;align-items:center;justify-content:center;gap:2px}.vsc i.open,.vsc i.done{display:inline-block;box-sizing:border-box;width:5px;height:5px;min-width:5px;border-radius:50%}.vsc i.open{background:#d32b35}.vsc i.done{border:1px solid #8392a5;background:#f5f7fa}.vsc .vsc-when span,.vsc footer,.vsc li small{color:#546780}.vsc .vsc-when span{font-size:11px}.vsc .vsc-staff{margin:7px 0}.vsc summary{cursor:pointer}.vsc p{margin:6px 0}.vsc .vsc-summary{padding-top:6px;border-top:1px solid #e2e8f0}.vsc .vsc-summary span{font-size:11px}.vsc-creators{max-height:220px;overflow-y:auto;margin:4px 0}.vsc-creator h4{display:flex;align-items:baseline;justify-content:space-between;gap:6px;margin:0;padding:4px 5px;background:#f0f4fa;border-radius:4px;color:#354963;font-size:12px;overflow-wrap:anywhere}.vsc-creator h4 small{white-space:nowrap;font-weight:400}.vsc .vsc-creator ul{list-style:none;padding:0;margin:0}.vsc li{border-bottom:1px solid #f1f4f8;overflow-wrap:anywhere}.vsc li small{display:block}.vsc a.vsc-task{display:flex;align-items:baseline;gap:7px;padding:5px 2px;color:inherit;text-decoration:none;border-radius:4px}.vsc-task strong{color:#2158c6;white-space:nowrap}.vsc-task:hover,.vsc-task:focus-visible{background:#f1f6ff}.vsc-task:hover strong,.vsc-task:focus-visible strong{text-decoration:underline}.vsc-task:focus-visible{outline:2px solid #2158c6;outline-offset:-2px}.vsc footer{margin-top:6px;font-size:10px}.staff-profile-details{display:grid;gap:16px;min-width:0}.staff-profile-details header{display:flex;align-items:center;gap:12px}.staff-profile-details h2,.staff-profile-details h3{margin:0 0 8px}.staff-profile-details dl{display:grid;grid-template-columns:130px minmax(0,1fr);gap:10px;margin:0}.staff-profile-details dt{color:#64748b}.staff-profile-details dd{margin:0;overflow-wrap:anywhere}.staff-profile-details label{display:grid;gap:6px}.staff-profile-details select{width:100%;padding:8px}.staff-profile-details small{display:block;color:#64748b}.sidebar .profile-link{color:inherit;text-align:left;background:transparent;border:0;padding:0;min-width:0;flex:1;cursor:pointer}.sidebar .profile-link small{display:block}.sidebar .profile-link:hover{text-decoration:underline}@media(max-width:480px){.staff-profile-details dl{grid-template-columns:105px minmax(0,1fr)}}.sidebar .staff-profile-top{display:flex;align-items:center;gap:10px;flex-shrink:0;width:calc(100% - 20px);margin:10px;padding:10px 8px;text-align:left;border:1px solid #36506c;border-radius:10px;background:#1a304b;color:#fff}.staff-profile-top-text{min-width:0;display:grid;gap:4px}.staff-profile-top-text strong{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:13px}.staff-profile-top-text small{font-size:11px;color:#b8cce0}.staff-kpi-score{font-size:11px;color:#d3e8ff}.staff-avatar{overflow:hidden}.staff-avatar img{width:100%;height:100%;object-fit:cover}.staff-profile-details header .staff-avatar{width:64px;height:64px;font-size:20px}.avatar-editor{display:flex;align-items:center;gap:10px;flex-wrap:wrap}.avatar-editor label{position:relative;cursor:pointer}.avatar-editor input{position:absolute;inset:0;opacity:0;width:100%;cursor:pointer}.avatar-editor p{color:#b42318}.sidebar .profile-brand-bottom{display:flex;align-items:center;gap:8px;padding:6px 10px}.sidebar .profile-brand-bottom .brand{flex:1;min-width:0;padding:4px!important}.sidebar .profile-brand-bottom .brand-logo{width:40px;height:30px}.sidebar .profile-brand-bottom .brand small{display:none}@media(max-width:800px){.sidebar .staff-profile-top{margin:6px 2px;width:calc(100% - 4px);padding:7px 2px;flex-direction:column;gap:5px;text-align:center}.staff-profile-top-text strong,.staff-profile-top-text small{display:none}.staff-kpi-score{font-size:9px;line-height:13px}.sidebar .profile-brand-bottom{flex-direction:column;padding:4px}.sidebar .profile-brand-bottom .brand{padding:0!important}}.web-inbox{padding:18px;height:calc(100dvh - 66px);display:flex;flex-direction:column;gap:12px}.web-inbox h1{font-size:22px}.web-inbox header p{font-size:12px;color:#64748b;margin:6px 0}.web-inbox-layout{display:grid;grid-template-columns:260px minmax(0,1fr);flex:1;min-height:0;border:1px solid #dce5f0;border-radius:10px;background:#fff;overflow:hidden}.web-inbox-layout>aside{border-right:1px solid #dce5f0;overflow:auto}.web-inbox-tabs{display:flex;gap:3px;padding:8px;flex-wrap:wrap}.web-inbox-tabs button{padding:7px;border-radius:5px;background:#f1f5f9;color:#475569;font-size:12px}.web-inbox-tabs button[aria-pressed=true]{background:#2563eb;color:#fff}.web-chat-row{display:block;width:100%;text-align:left;padding:12px;background:#fff;border-bottom:1px solid #edf2f7}.web-chat-row.selected{background:#eff6ff}.web-chat-row small{font-size:11px;margin:5px 0;color:#64748b}.web-chat-row p{white-space:nowrap;overflow:hidden;text-overflow:ellipsis;font-size:12px}.web-chat-conversation{display:flex;flex-direction:column;min-height:0;min-width:0}.web-chat-conversation>header{padding:14px;border-bottom:1px solid #edf2f7}.web-chat-conversation h2{font-size:17px}.web-chat-messages{flex:1;overflow:auto;padding:16px;display:flex;flex-direction:column;gap:10px}.web-chat-bubble{max-width:85%;padding:10px 13px;background:#f1f5f9;border-radius:10px;align-self:flex-start;overflow-wrap:anywhere}.web-chat-bubble.staff{align-self:flex-end;background:#e6f0ff}.web-chat-bubble p{white-space:pre-wrap}.web-chat-bubble small{font-size:10px;color:#64748b;margin:4px 0}.web-chat-conversation form{display:flex;gap:8px;padding:12px;border-top:1px solid #e2e8f0}.web-chat-conversation textarea{flex:1;min-width:0;min-height:65px;border:1px solid #cbd5e1;border-radius:6px;padding:9px}.web-chat-hint{padding:14px;color:#64748b;font-size:12px}@media(max-width:700px){.web-inbox{padding:8px}.web-inbox-layout{grid-template-columns:150px minmax(240px,1fr);overflow:auto}.web-chat-row{padding:8px}}.web-inbox.web-inbox-embedded{grid-column:2 / -1;padding:0;height:100%;min-height:0;min-width:0}.web-inbox-embedded>header,.web-inbox-embedded .web-inbox-layout>.web-inbox-list{display:none}.web-inbox-embedded .web-inbox-layout{grid-template-columns:minmax(0,1fr);border:0;border-radius:0}.web-inbox-layout{grid-template-columns:240px minmax(0,1fr) 290px}.web-inbox-embedded .web-inbox-layout{grid-template-columns:minmax(0,1fr) 290px}.web-customer-detail{display:flex;flex-direction:column;gap:10px;border-left:1px solid #e2e8f0;padding:18px;min-width:0;overflow:auto;overflow-wrap:anywhere}.web-customer-detail>a{color:#168653}.web-customer-detail details{border-top:1px solid #e2e8f0;padding-top:12px}.web-customer-detail summary{cursor:pointer}.web-chat-messages{background:#f6f8fc}.web-chat-bubble.visitor{background:#fff;border:1px solid #e3eaf4}.web-chat-bubble.ai{background:#edf5ff}.web-chat-conversation form{background:#fff;flex-shrink:0}.web-customer-detail .detail-block{padding:12px 0}@media(max-width:1000px){.web-inbox-embedded .web-inbox-layout{grid-template-columns:minmax(0,1fr) 235px}}@media(max-width:700px){.web-inbox-embedded .web-inbox-layout{display:flex;flex-direction:column;overflow:auto}.web-inbox-embedded .web-chat-conversation{min-height:65dvh;flex-shrink:0}.web-inbox-embedded .web-customer-detail{overflow:visible;border-top:1px solid #e2e8f0}.web-inbox-embedded .web-chat-messages{max-height:50dvh}}.chat-workspace .web-customer-detail{grid-column:auto;max-height:none;display:flex}.web-customer-detail>strong,.web-customer-detail>a{display:block}@media(max-width:1000px){.web-inbox-embedded .web-inbox-layout{display:flex;flex-direction:column;overflow:auto}.web-inbox-embedded .web-chat-conversation{min-height:65dvh;flex-shrink:0}.web-inbox-embedded .web-chat-messages{max-height:50dvh}.chat-workspace .web-customer-detail{flex-shrink:0;border-top:1px solid #e2e8f0;overflow:visible}}.web-file-card{display:block;max-width:100%;background:#fff;border:1px solid #dce5f0;border-radius:8px;padding:10px;color:#2463a5;text-align:left;overflow-wrap:anywhere}.web-file-preview{width:min(850px,94vw);padding-bottom:16px}.web-file-preview>header{gap:12px;overflow-wrap:anywhere}.web-file-preview>header button{font-size:25px;background:transparent}.web-file-content{padding:16px}.web-file-content img{max-width:100%;max-height:65vh;object-fit:contain}.web-file-content iframe{width:100%;height:65vh;border:0}.web-file-preview>a{display:block;margin:0 16px;text-align:center}.web-ai-controls{display:flex;align-items:center;gap:8px;padding:8px 12px;border-bottom:1px solid #e2e8f0;flex-wrap:wrap;background:#f8fafc;font-size:12px}.web-ai-controls>span{color:#168653}.web-ai-controls button{padding:6px 10px;font-size:12px}.web-ai-controls small{width:100%;color:#64748b;font-size:10px}.pcb-estimate form{display:grid;gap:8px;margin:10px 0}.pcb-estimate label{display:grid;gap:3px;font-size:12px}.pcb-estimate input{width:100%;padding:7px;border:1px solid #dce5f0;border-radius:5px}.web-needs{width:100%;padding-bottom:12px;border-bottom:1px solid #e2e8f0}.web-needs>form{display:grid;gap:7px}.web-needs label{display:grid;gap:3px;font-size:12px}.web-needs input,.web-needs textarea{width:100%;min-width:0;box-sizing:border-box;padding:7px;border:1px solid #dce5ef;border-radius:6px}.web-needs textarea{min-height:65px}.web-needs .modal{max-width:500px}.web-needs .modal form{padding:16px}.web-needs button{font-size:12px}.channel-history{width:100%;border:1px solid #dce5ef;padding:8px;border-radius:6px;margin-bottom:8px;font-size:12px}.channel-history section{max-height:300px;overflow:auto}.channel-history section p{border-bottom:1px solid #edf1f6;padding:6px 0;white-space:pre-wrap}.cms-kh-header-pill{display:inline-flex;align-items:center;gap:3px;padding:2px 7px;border-radius:6px;background:#dcfce7;color:#166534;border:1px solid #86efac;font-size:11px;font-weight:750;font-family:ui-monospace,SFMono-Regular,Menlo,Consolas,monospace;cursor:pointer;white-space:nowrap}.cms-kh-header-pill:hover{background:#bbf7d0}.ccr-backdrop{position:fixed;inset:0;z-index:1250;background:#0f172a8f;-webkit-backdrop-filter:blur(2px);backdrop-filter:blur(2px);display:flex;align-items:center;justify-content:center;padding:16px}.ccr-modal{width:min(1040px,96vw);max-height:91vh;background:#fff;border-radius:14px;border:1px solid #cbd5e1;box-shadow:0 26px 64px #0f172a4d;display:flex;flex-direction:column;overflow:hidden}.ccr-head{display:flex;align-items:center;justify-content:space-between;gap:12px;flex-wrap:wrap;padding:14px 20px;border-bottom:1px solid #e2e8f0;background:#fff}.ccr-head-left{display:flex;align-items:center;gap:10px;flex-wrap:wrap;min-width:0}.ccr-code-badge{display:inline-flex;align-items:center;padding:4px 10px;border-radius:8px;background:#ecfdf5;color:#047857;border:1px solid #a7f3d0;font-size:13px;font-weight:800;letter-spacing:.02em}.ccr-code-badge.unlinked{background:#fef3c7;color:#b45309;border-color:#fde68a}.ccr-head-title{margin:0;font-size:17px;font-weight:800;color:#0f172a}.ccr-head-actions{display:flex;align-items:center;gap:8px;flex-wrap:wrap}.ccr-btn{display:inline-flex;align-items:center;gap:5px;padding:6px 12px;border-radius:8px;border:1px solid #cbd5e1;background:#fff;color:#1e293b;font-size:12.5px;font-weight:650;cursor:pointer;text-decoration:none}.ccr-btn:hover:not(:disabled){background:#f8fafc;border-color:#94a3b8}.ccr-btn.primary{background:#2563eb;border-color:#1d4ed8;color:#fff}.ccr-btn.primary:hover:not(:disabled){background:#1d4ed8}.ccr-btn.close-danger{border-color:#fecaca;color:#dc2626;background:#fff}.ccr-btn.close-danger:hover{background:#fef2f2}.ccr-tabs{display:flex;align-items:center;gap:4px;overflow-x:auto;padding:8px 20px 0;background:#f8fafc;border-bottom:1px solid #e2e8f0}.ccr-tab{padding:9px 14px;border:0;border-bottom:2.5px solid transparent;background:transparent;color:#475569;font-size:13px;font-weight:650;cursor:pointer;white-space:nowrap;border-radius:8px 8px 0 0;transition:color .14s,background .14s}.ccr-tab:hover{color:#0f172a;background:#ffffffa6}.ccr-tab.active{background:#fff;color:#2563eb;border-bottom-color:#2563eb;font-weight:750}.ccr-body{padding:18px 20px;overflow-y:auto;flex:1;display:flex;flex-direction:column;gap:14px}.ccr-alert{margin:0;padding:9px 12px;border-radius:9px;font-size:12.5px;line-height:1.45}.ccr-alert.error{background:#fef2f2;border:1px solid #fecaca;color:#b91c1c}.ccr-alert.success{background:#ecfdf5;border:1px solid #a7f3d0;color:#065f46}.ccr-alert.info{background:#eff6ff;border:1px solid #bfdbfe;color:#1e40af}.ccr-facts-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px}.ccr-fact-card{padding:11px 13px;border-radius:10px;border:1px solid #e2e8f0;background:#f8fafc;display:flex;flex-direction:column;gap:3px}.ccr-fact-card.wide{grid-column:span 2}.ccr-fact-card small{font-size:11px;color:#64748b;font-weight:600}.ccr-fact-card strong{font-size:13.5px;color:#0f172a;word-break:break-word}.ccr-fact-card strong.debt{color:#dc2626}.ccr-fact-card strong.money{color:#047857}.ccr-edit-box{padding:15px;border-radius:11px;border:1px solid #bfdbfe;background:#f8fbff}.ccr-edit-box h4{margin:0 0 12px;font-size:14px;color:#1e3a8a}.ccr-form-grid{display:grid;grid-template-columns:1fr 1fr;gap:11px}.ccr-field{display:flex;flex-direction:column;gap:4px}.ccr-field.full{grid-column:1 / -1}.ccr-field label{font-size:12px;font-weight:650;color:#334155}.ccr-field input,.ccr-field select,.ccr-field textarea{width:100%;box-sizing:border-box;padding:7px 10px;border:1px solid #cbd5e1;border-radius:8px;font:inherit;font-size:13px;color:#0f172a;background:#fff}.ccr-section-title{margin:0 0 4px;font-size:15px;font-weight:750;color:#0f172a}.ccr-summary-line{margin:0 0 10px;font-size:12.5px;color:#475569}.ccr-table-wrap{border:1px solid #e2e8f0;border-radius:10px;overflow-x:auto;background:#fff}.ccr-table{width:100%;min-width:660px;border-collapse:collapse;font-size:12.5px}.ccr-table th{background:#f8fafc;color:#475569;font-weight:700;padding:10px 12px;text-align:left;border-bottom:1px solid #e2e8f0;white-space:nowrap}.ccr-table td{padding:10px 12px;border-bottom:1px solid #f1f5f9;color:#0f172a;vertical-align:middle}.ccr-table tr:last-child td{border-bottom:0}.ccr-table th.num,.ccr-table td.num{text-align:right;font-variant-numeric:tabular-nums}.ccr-table td.is-debt{color:#dc2626;font-weight:700}.ccr-ext-link{color:#047857;font-weight:700;text-decoration:none;white-space:nowrap}.ccr-ext-link:hover{text-decoration:underline}.ccr-kpis{display:grid;grid-template-columns:repeat(auto-fit,minmax(195px,1fr));gap:10px}.ccr-kpi-card{padding:12px 14px;border-radius:10px;border:1px solid #e2e8f0;background:#f8fafc;display:flex;flex-direction:column;gap:3px}.ccr-kpi-card.danger{background:#fef2f2;border-color:#fecaca}.ccr-kpi-card small{font-size:11px;color:#64748b;font-weight:600}.ccr-kpi-card strong{font-size:16px;color:#0f172a}.ccr-kpi-card span{font-size:11px;color:#475569}.ccr-contact-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(260px,1fr));gap:10px}.ccr-contact-card{padding:11px 13px;border-radius:10px;border:1px solid #e2e8f0;background:#fff;display:flex;flex-direction:column;gap:4px;font-size:12.5px}.ccr-empty{padding:24px 14px;border-radius:10px;border:1px dashed #cbd5e1;background:#f8fafc;color:#64748b;text-align:center;font-size:13px}@media(max-width:720px){.ccr-facts-grid,.ccr-form-grid{grid-template-columns:1fr}.ccr-fact-card.wide{grid-column:span 1}}.cwc-section{padding:12px 0 14px;border-bottom:1px solid #e2e8f0;margin-bottom:12px}.cwc-header{display:flex;align-items:center;justify-content:space-between;gap:8px;margin-bottom:8px}.cwc-header-title{display:flex;align-items:center;gap:6px;margin:0;font-size:14px;font-weight:700;color:#0f172a}.cwc-count-badge{display:inline-flex;align-items:center;justify-content:center;min-width:20px;height:19px;padding:0 6px;border-radius:999px;background:#eff6ff;color:#1d4ed8;border:1px solid #bfdbfe;font-size:11px;font-weight:700}.cwc-sync-pill{font-size:10px;font-weight:600;padding:1px 6px;border-radius:999px;background:#f0fdf4;color:#15803d;border:1px solid #bbf7d0}.cwc-head-actions{display:flex;align-items:center;gap:5px}.cwc-create-btn{display:inline-flex;align-items:center;gap:4px;padding:4px 9px!important;font-size:11.5px!important;font-weight:650!important;border-radius:7px!important;background:#2563eb!important;color:#fff!important;border:1px solid #1d4ed8!important;cursor:pointer;white-space:nowrap}.cwc-create-btn:hover:not(:disabled){background:#1d4ed8!important}.cwc-icon-btn{display:inline-flex;align-items:center;justify-content:center;width:26px;height:26px;padding:0;border:1px solid #e2e8f0;border-radius:7px;background:#fff;color:#475569;cursor:pointer}.cwc-icon-btn:hover:not(:disabled){background:#f8fafc;color:#0f172a}.cwc-spin{animation:cwc-rotate .9s linear infinite}@keyframes cwc-rotate{0%{transform:rotate(0)}to{transform:rotate(360deg)}}.cwc-warning{margin:0 0 8px;padding:6px 8px;border-radius:7px;background:#fffbeb;border:1px solid #fde68a;color:#92400e;font-size:11px;line-height:1.4}.cwc-error{margin:0 0 8px;padding:6px 8px;border-radius:7px;background:#fef2f2;border:1px solid #fecaca;color:#b91c1c;font-size:11.5px;line-height:1.4}.cwc-empty{margin:4px 0;padding:10px;border-radius:8px;background:#f8fafc;border:1px dashed #cbd5e1;color:#64748b;font-size:11.5px;text-align:center}.cwc-card-list{display:flex;flex-direction:column;gap:8px}.cwc-card{border:1px solid #dbe4ef;border-radius:10px;padding:9px 10px;background:#fff;cursor:pointer;transition:border-color .14s,box-shadow .14s,transform .1s;display:flex;flex-direction:column;gap:5px}.cwc-card:hover{border-color:#60a5fa;box-shadow:0 4px 12px #2563eb17}.cwc-card.is-rush{border-left:3px solid #dc2626;background:#fffdfd}.cwc-card.is-overdue{border-color:#fca5a5}.cwc-card.is-done{background:#f8fafc;opacity:.9}.cwc-card-top{display:flex;align-items:center;justify-content:space-between;gap:6px;flex-wrap:wrap}.cwc-badges{display:flex;align-items:center;gap:4px;flex-wrap:wrap}.cwc-col-pill{font-size:10px;font-weight:700;padding:1.5px 6px;border-radius:5px;white-space:nowrap}.cwc-col-1{background:#dbeafe;color:#1e40af}.cwc-col-2{background:#ede9fe;color:#5b21b6}.cwc-col-3{background:#fef3c7;color:#92400e}.cwc-col-4{background:#dcfce7;color:#166534}.cwc-rush-pill{font-size:10px;font-weight:750;padding:1.5px 6px;border-radius:5px;background:#dc2626;color:#fff;white-space:nowrap}.cwc-order-pill{font-size:10px;font-weight:750;padding:1.5px 6px;border-radius:5px;background:#ecfdf5;color:#047857;border:1px solid #a7f3d0;text-decoration:none;white-space:nowrap}.cwc-order-pill:hover{background:#d1fae5}.cwc-card-id-link{font-size:10.5px;font-weight:650;color:#64748b;text-decoration:none;display:inline-flex;align-items:center;gap:2px;margin-left:auto}.cwc-card-id-link:hover{color:#2563eb;text-decoration:underline}.cwc-card-title{font-size:12.5px;font-weight:700;color:#0f172a;line-height:1.35;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden;word-break:break-word}.cwc-process-sub{font-size:10.5px;color:#475569;display:flex;align-items:center;justify-content:space-between;gap:6px}.cwc-step-box{background:#f1f5f9;border:1px solid #e2e8f0;border-radius:7px;padding:5px 7px;font-size:11px;color:#1e293b;line-height:1.35}.cwc-step-box.active-doing{background:#ecfdf5;border-color:#a7f3d0;color:#065f46}.cwc-step-box.all-done{background:#f0fdf4;border-color:#bbf7d0;color:#15803d}.cwc-progress-bar{height:4px;border-radius:999px;background:#e2e8f0;overflow:hidden;margin-top:4px}.cwc-progress-fill{height:100%;background:#10b981;border-radius:999px;transition:width .2s ease}.cwc-card-foot{display:flex;align-items:center;justify-content:space-between;gap:6px;flex-wrap:wrap;font-size:10.5px;color:#64748b;margin-top:1px}.cwc-members-line{white-space:nowrap;overflow:hidden;text-overflow:ellipsis;max-width:175px;color:#334155;font-weight:500}.cwc-foot-right{display:inline-flex;align-items:center;gap:5px;margin-left:auto}.cwc-due-tag{padding:1px 5px;border-radius:5px;background:#f1f5f9;color:#475569;font-weight:600}.cwc-due-tag.overdue{background:#fee2e2;color:#b91c1c;border:1px solid #fecaca}.cwc-comment-tag{display:inline-flex;align-items:center;gap:3px;padding:1px 5px;border-radius:5px;background:#eff6ff;color:#1d4ed8;font-weight:650}.cwc-toggle-done{margin-top:7px;width:100%;padding:5px 8px;border:1px dashed #cbd5e1;border-radius:7px;background:#f8fafc;color:#334155;font-size:11px;font-weight:600;cursor:pointer;text-align:center}.cwc-toggle-done:hover{background:#f1f5f9;color:#0f172a}.cwc-modal-backdrop{position:fixed;inset:0;z-index:1200;background:#0f172a8f;-webkit-backdrop-filter:blur(2px);backdrop-filter:blur(2px);display:flex;align-items:center;justify-content:center;padding:16px}.cwc-modal{width:min(780px,96vw);max-height:90vh;background:#fff;border-radius:14px;border:1px solid #cbd5e1;box-shadow:0 24px 60px #0f172a47;display:flex;flex-direction:column;overflow:hidden}.cwc-modal-head{display:flex;align-items:flex-start;justify-content:space-between;gap:12px;padding:14px 18px;border-bottom:1px solid #e2e8f0;background:#f8fafc}.cwc-modal-head h3{margin:0;font-size:16px;font-weight:750;color:#0f172a;line-height:1.35}.cwc-modal-sub{margin:4px 0 0;font-size:12px;color:#64748b;display:flex;align-items:center;gap:8px;flex-wrap:wrap}.cwc-modal-close{width:32px;height:32px;border-radius:8px;border:1px solid #cbd5e1;background:#fff;color:#475569;display:inline-flex;align-items:center;justify-content:center;cursor:pointer;flex-shrink:0}.cwc-modal-close:hover{background:#f1f5f9;color:#0f172a}.cwc-tabs{display:flex;gap:6px;padding:8px 18px 0;background:#f8fafc;border-bottom:1px solid #e2e8f0}.cwc-tab{padding:8px 13px;border:1px solid transparent;border-bottom:0;border-radius:9px 9px 0 0;background:transparent;color:#475569;font-size:12.5px;font-weight:650;cursor:pointer;position:relative;top:1px}.cwc-tab.active{background:#fff;color:#1d4ed8;border-color:#e2e8f0}.cwc-modal-body{padding:16px 18px;overflow-y:auto;flex:1;display:flex;flex-direction:column;gap:12px}.cwc-form-grid{display:grid;grid-template-columns:1fr 1fr;gap:11px}.cwc-field{display:flex;flex-direction:column;gap:4px}.cwc-field.full{grid-column:1 / -1}.cwc-field label{font-size:12px;font-weight:650;color:#334155}.cwc-field input[type=text],.cwc-field input[type=date],.cwc-field input[type=url],.cwc-field select,.cwc-field textarea{width:100%;box-sizing:border-box;padding:7px 10px;border:1px solid #cbd5e1;border-radius:8px;font:inherit;font-size:12.5px;color:#0f172a;background:#fff}.cwc-field textarea{min-height:68px;resize:vertical}.cwc-quick-chips{display:flex;flex-wrap:wrap;gap:5px;margin-top:3px}.cwc-chip-btn{padding:3px 8px;border-radius:999px;border:1px solid #cbd5e1;background:#f8fafc;color:#334155;font-size:11px;font-weight:600;cursor:pointer}.cwc-chip-btn:hover{background:#eff6ff;border-color:#93c5fd;color:#1d4ed8}.cwc-preview-steps{background:#f8fafc;border:1px solid #e2e8f0;border-radius:9px;padding:9px 11px;font-size:11.5px}.cwc-preview-steps strong{display:block;margin-bottom:5px;color:#0f172a}.cwc-preview-step-list{display:flex;flex-wrap:wrap;gap:5px}.cwc-preview-step-pill{padding:2px 8px;border-radius:6px;background:#fff;border:1px solid #cbd5e1;color:#334155;font-size:11px}.cwc-staff-picker{display:flex;flex-wrap:wrap;gap:5px;max-height:112px;overflow-y:auto;padding:7px;border:1px solid #e2e8f0;border-radius:8px;background:#f8fafc}.cwc-staff-chip{display:inline-flex;align-items:center;gap:4px;padding:3px 8px;border-radius:999px;border:1px solid #cbd5e1;background:#fff;color:#334155;font-size:11.5px;cursor:pointer;-webkit-user-select:none;user-select:none}.cwc-staff-chip.selected{background:#dbeafe;border-color:#3b82f6;color:#1e40af;font-weight:650}.cwc-modal-foot{display:flex;align-items:center;justify-content:space-between;gap:10px;padding:12px 18px;border-top:1px solid #e2e8f0;background:#f8fafc}.cwc-foot-right-btns{display:flex;align-items:center;gap:8px;margin-left:auto}.cwc-quick-bar{display:flex;align-items:center;justify-content:space-between;gap:8px;flex-wrap:wrap;padding:9px 11px;border-radius:9px;background:#f8fafc;border:1px solid #e2e8f0}.cwc-steps-list{display:flex;flex-direction:column;gap:7px}.cwc-step-row{display:flex;align-items:flex-start;justify-content:space-between;gap:10px;padding:9px 11px;border-radius:9px;border:1px solid #e2e8f0;background:#fff}.cwc-step-row.lvl-3{margin-left:18px;border-left:3px solid #93c5fd}.cwc-step-row.doing{background:#ecfdf5;border-color:#6ee7b7}.cwc-step-row.done{background:#f8fafc;border-color:#bbf7d0}.cwc-step-info{display:flex;flex-direction:column;gap:3px;min-width:0;flex:1}.cwc-step-title{font-size:12.5px;font-weight:650;color:#0f172a}.cwc-step-row.done .cwc-step-title{color:#15803d}.cwc-step-meta{font-size:11px;color:#64748b;display:flex;flex-wrap:wrap;gap:8px}.cwc-step-actions{display:flex;align-items:center;gap:5px;flex-shrink:0}.cwc-step-btn{padding:4px 9px;border-radius:6px;font-size:11px;font-weight:650;cursor:pointer;border:1px solid #cbd5e1;background:#fff;color:#334155}.cwc-step-btn.begin{background:#eff6ff;border-color:#93c5fd;color:#1d4ed8}.cwc-step-btn.complete{background:#16a34a;border-color:#15803d;color:#fff}.cwc-step-btn:disabled{opacity:.55;cursor:not-allowed}.cwc-comment-composer{display:flex;flex-direction:column;gap:7px;padding:10px;border-radius:9px;background:#f8fafc;border:1px solid #dbe4ef}.cwc-comment-composer textarea{width:100%;box-sizing:border-box;min-height:60px;padding:8px 10px;border:1px solid #cbd5e1;border-radius:8px;font:inherit;font-size:12.5px;resize:vertical}.cwc-comment-list{display:flex;flex-direction:column;gap:8px}.cwc-comment-item{padding:9px 11px;border-radius:9px;border:1px solid #e2e8f0;background:#fff;font-size:12.5px}.cwc-comment-head{display:flex;align-items:center;justify-content:space-between;gap:8px;margin-bottom:4px;font-size:11.5px}.cwc-comment-head strong{color:#0f172a}.cwc-comment-head time{color:#64748b;font-size:11px}.cwc-comment-body{margin:0;color:#1e293b;white-space:pre-wrap;word-break:break-word;line-height:1.45}@media(max-width:640px){.cwc-form-grid{grid-template-columns:1fr}}.cwc-note-box{padding:9px 11px;border-radius:8px;background:#fffbeb;border:1px solid #fde68a;font-size:12px;color:#78350f;line-height:1.45}.cwc-note-box .cwc-note-body{margin-top:3px;white-space:pre-wrap;word-break:break-word}.cwc-steps-toolbar{display:flex;align-items:center;justify-content:space-between;gap:10px;flex-wrap:wrap;padding:6px 2px 2px}.cwc-steps-progress-wrap{display:flex;align-items:center;gap:8px;flex:1 1 200px;min-width:180px}.cwc-steps-progress-text{font-size:11.5px;color:#334155;white-space:nowrap}.cwc-steps-progress-track{flex:1;height:6px;max-width:180px;border-radius:999px;background:#e2e8f0;overflow:hidden}.cwc-steps-progress-bar{height:100%;border-radius:999px;background:#10b981;transition:width .2s ease}.cwc-steps-filter-group{display:inline-flex;align-items:center;gap:4px;flex-wrap:wrap}.cwc-steps-filter-btn{padding:4px 9px;border-radius:999px;border:1px solid #cbd5e1;background:#fff;color:#475569;font-size:11.5px;font-weight:600;cursor:pointer}.cwc-steps-filter-btn:hover{background:#f8fafc;color:#0f172a}.cwc-steps-filter-btn.active{background:#eff6ff;border-color:#3b82f6;color:#1d4ed8}.cwc-combobox{position:relative;width:100%}.cwc-combobox-control{display:flex;align-items:center;gap:6px;padding:2px 6px 2px 10px;border:1px solid #cbd5e1;border-radius:8px;background:#fff;transition:border-color .14s,box-shadow .14s}.cwc-combobox-control.open,.cwc-combobox-control:focus-within{border-color:#3b82f6;box-shadow:0 0 0 3px #3b82f624}.cwc-combobox-icon{color:#64748b;flex-shrink:0}.cwc-field .cwc-combobox-input{flex:1;min-width:0;border:0!important;outline:none!important;box-shadow:none!important;padding:6px 2px!important;background:transparent!important;font-size:12.5px;font-weight:550;color:#0f172a}.cwc-combobox-btn{display:inline-flex;align-items:center;justify-content:center;width:24px;height:24px;padding:0;border:0;border-radius:6px;background:transparent;color:#64748b;cursor:pointer;flex-shrink:0}.cwc-combobox-btn:hover{background:#f1f5f9;color:#0f172a}.cwc-combobox-menu{position:absolute;top:calc(100% + 4px);left:0;right:0;z-index:40;max-height:268px;overflow-y:auto;background:#fff;border:1px solid #cbd5e1;border-radius:10px;box-shadow:0 14px 32px #0f172a29;padding:4px}.cwc-combobox-meta{padding:4px 8px 6px;font-size:11px;font-weight:600;color:#64748b;border-bottom:1px solid #f1f5f9;margin-bottom:3px}.cwc-combobox-empty{padding:14px 10px;text-align:center;font-size:12px;color:#64748b}.cwc-combobox-option{width:100%;display:flex;align-items:center;justify-content:space-between;gap:8px;padding:7px 8px;border:0;border-radius:7px;background:transparent;text-align:left;cursor:pointer;font:inherit;font-size:12.5px;color:#0f172a}.cwc-combobox-option.highlighted{background:#f1f5f9}.cwc-combobox-option.selected{background:#eff6ff;color:#1d4ed8;font-weight:650}.cwc-combobox-opt-main{display:inline-flex;align-items:center;gap:6px;min-width:0;flex:1}.cwc-combobox-opt-title{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.cwc-combobox-opt-right{display:inline-flex;align-items:center;gap:6px;flex-shrink:0}.cwc-wf-badge{font-size:10px;font-weight:700;padding:1.5px 6px;border-radius:5px;background:#e0f2fe;color:#0369a1;white-space:nowrap}.cwc-wf-badge.is-default{background:#fef3c7;color:#92400e}.cwc-wf-steps-count{font-size:11px;color:#64748b;font-weight:600;white-space:nowrap}.cwc-wf-hint{margin-top:5px;font-size:11.5px;color:#475569;background:#f8fafc;border:1px solid #e2e8f0;border-radius:7px;padding:6px 9px;line-height:1.4}.cwc-preview-step-pill.sub-step{background:#f8fafc;color:#475569;border-style:dashed}.chat-support{padding:16px 0;border-bottom:1px solid #e2e8f0;margin-bottom:16px}.chat-support header,.support-control header{display:flex;justify-content:space-between;align-items:center;gap:10px}.chat-support h3,.support-control h2{display:flex;gap:7px;align-items:center;margin:0;font-size:16px}.chat-support header>button{border:0;background:none;color:#64748b;cursor:pointer}.chat-support-proposal{background:#f2f6ff;border:1px solid #dfE8fa;border-radius:9px;padding:12px;margin-top:12px}.chat-support p{font-size:12px;line-height:1.65;margin:6px 0}.chat-support small{display:block;font-size:10px;color:#64748b;line-height:1.6}.chat-support details{font-size:11px;margin-top:9px}.chat-support summary{cursor:pointer;color:#2563eb}.chat-support-actions{display:flex;flex-wrap:wrap;gap:6px;margin-top:10px}.chat-support-actions button{font-size:11px;padding:7px 9px}.chat-support h4{font-size:13px;margin:16px 0 8px}.chat-support h4 span{background:#e2e8f0;border-radius:10px;padding:2px 6px}.chat-support-task{border:1px solid #e2e8f0;border-radius:8px;padding:10px;margin-bottom:8px;font-size:12px}.chat-support-task strong{font-weight:600}.chat-support-task select{font:inherit;padding:5px;max-width:100%;margin-top:8px;border:1px solid #dce4ef;border-radius:5px;background:#fff}.chat-support-task.overdue{border-color:#fca5a5;background:#fff5f5}.support-widget-error{color:#b91c1c}.support-control{padding:20px;margin:20px 0}.support-control header p{font-size:12px;color:#64748b;margin:8px 0}.support-control-counts{display:flex;gap:24px;flex-wrap:wrap;padding:16px 0;font-size:12px}.support-control-counts b{font-size:23px;margin-right:6px}.support-control .danger{color:#b91c1c}.support-control>label{font-size:12px}.support-control select{padding:6px;border:1px solid #e2e8f0;border-radius:6px;margin-left:8px}.support-control-table{overflow:auto;margin-top:12px;max-height:350px}.support-control-table table{width:100%;min-width:620px;border-collapse:collapse}.support-control-table th,.support-control-table td{padding:10px;border-bottom:1px solid #e2e8f0;text-align:left;font-size:12px}.support-control-table th{background:#f1f5f9;position:sticky;top:0}.support-control-table .overdue{background:#fff5f5}.support-control details{font-size:12px;margin-top:15px}.support-pending{display:flex;gap:12px;padding:10px 0;border-bottom:1px solid #e2e8f0}.support-control summary{cursor:pointer}.support-control h2{font-size:18px}@media(max-width:650px){.support-control{padding:12px}.support-control header{align-items:start}.support-control-counts{gap:12px}.support-pending{flex-direction:column}}:root{font-family:Inter,Segoe UI,Arial,sans-serif;color:#263447;background:#f5f7fb;font-synthesis:none;font-size:14px}*{box-sizing:border-box}body{margin:0}button,input,textarea,select{font:inherit}button,a,input,textarea,select{outline-color:#3679ed}button{cursor:pointer}button:disabled{opacity:.6;cursor:wait}a{color:inherit;text-decoration:none}button{border:0}h1,h2,h3,p{margin:0}small{display:block}.app{display:flex;min-height:100vh}.sidebar{width:244px;flex-shrink:0;background:#102138;color:#aebfd2;display:flex;flex-direction:column;position:fixed;inset:0 auto 0 0;z-index:5}.brand{display:flex;gap:10px;align-items:center;padding:25px 20px;color:#fff;font-size:11px;letter-spacing:.4px;font-weight:750;line-height:1.6}.brand small{font-size:8px;letter-spacing:1.4px;color:#8badcb;margin-top:4px}.brand-mark{width:37px;height:39px;border-radius:10px;background:#3478f6;display:flex;align-items:center;justify-content:center;font-size:19px;font-weight:800;color:#fff;flex-shrink:0}.workspace{margin:6px 16px 29px;padding:12px 10px;background:#1a304b;border:1px solid #29415d;border-radius:9px;display:flex;align-items:center;gap:9px;color:#e6eef9;font-size:11px}.workspace small{color:#98abc0;font-size:10px;margin-top:5px}.workspace-icon{background:#294a6c;padding:7px;border-radius:6px;font-size:10px;color:#badcff}.workspace>svg{margin-left:auto}.nav-caption{font-size:9px;font-weight:700;letter-spacing:1.2px;margin:0 24px 14px;color:#6f87a1}nav{padding:0 12px}nav button{display:flex;align-items:center;gap:12px;width:100%;padding:13px 14px;color:#abbcd0;background:transparent;text-align:left;border-radius:7px;margin:3px 0;font-size:12px}nav button:hover{background:#1a304b}nav button.selected{color:#fff;background:#2768d9;box-shadow:0 5px 18px #031a3b40}nav button.selected svg{color:#fff}.nav-count{margin-left:auto;font-size:10px;background:#ffffff30;padding:2px 5px;border-radius:4px}.sidebar-bottom{margin-top:auto;padding:25px 18px 18px}.secure{display:flex;gap:10px;padding:13px 0 22px;font-size:10px;color:#a5bbd1}.secure svg{color:#7b9cba}.secure small{color:#67819a;margin-top:5px;font-size:9px}.profile{display:flex;align-items:center;gap:9px;border-top:1px solid #263b55;padding-top:18px;font-size:11px;color:#ecf2fa}.profile small{font-size:10px;margin-top:4px;color:#8098b0}.avatar{display:flex;align-items:center;justify-content:center;background:#e8eef9;color:#617797;width:36px;height:36px;border-radius:50%;font-size:11px;font-weight:700;flex-shrink:0}.avatar.blue{background:#e3eeff;color:#3473d6}.avatar.large{width:68px;height:68px;font-size:23px;background:#e7effc;color:#3874d6}.profile .avatar{background:#2b4160;color:#d8e6fa}main{margin-left:244px;flex:1;min-width:0}.topbar{height:66px;border-bottom:1px solid #e7ebf2;display:flex;align-items:center;justify-content:space-between;padding:0 32px;background:#fff}.breadcrumb{display:flex;align-items:center;gap:10px;font-size:12px;color:#8a96a8}.breadcrumb strong{color:#3f5065;font-weight:600}.top-right{display:flex;align-items:center;gap:20px}.clock{font-size:10px;color:#8996a9}.pill{display:flex;align-items:center;gap:7px;color:#53697f;border:1px solid #e5ebf3;padding:7px 9px;border-radius:6px;font-size:10px}.pill i,.badge i{width:5px;height:5px;border-radius:50%;background:currentColor}.icon-btn{background:transparent;display:inline-flex;align-items:center;justify-content:center;padding:6px;border-radius:5px;color:#8291a5}.icon-btn:hover{background:#eef3fc}.demo-banner{display:flex;align-items:center;justify-content:space-between;gap:10px;background:#eef4ff;border-bottom:1px solid #dde8fd;color:#53749c;padding:9px 32px;font-size:10px}.demo-banner span,.demo-banner a{display:flex;align-items:center;gap:8px}.page{padding:30px 32px 45px;max-width:1800px;margin:auto}.page-title{display:flex;align-items:center;justify-content:space-between;gap:20px;margin-bottom:28px}.page-title small{font-size:9px;color:#6b8cac;letter-spacing:1.5px;font-weight:750;margin-bottom:10px}.page-title h1{font-size:26px;letter-spacing:-.6px;line-height:1.2;color:#1d304b;font-weight:700}.page-title p{font-size:12px;margin-top:10px;color:#8391a4}.primary,.secondary{display:inline-flex;align-items:center;justify-content:center;gap:8px;border-radius:7px;padding:10px 14px;font-size:11px;font-weight:650;white-space:nowrap}.primary{background:#286de4;color:#fff;box-shadow:0 3px 8px #296ddd17}.primary:hover{background:#1e5fcf}.secondary{background:#fff;color:#586e89;border:1px solid #dfe6f0}.secondary:hover{background:#f3f7fc}.text-btn{color:#427acf;display:inline-flex;align-items:center;gap:4px;background:transparent;font-size:10px;padding:5px}.stats{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:17px;margin-bottom:25px}.stat{background:#fff;border:1px solid #e4eaf2;padding:20px 19px;border-radius:10px;box-shadow:0 3px 8px #142d4c03}.stat>div{display:flex;justify-content:space-between;align-items:center;font-size:11px;color:#718299}.stat svg{color:#4e80c3}.stat strong{display:block;font-size:28px;color:#213752;margin:17px 0 12px;letter-spacing:-.8px}.stat small{font-size:9px;color:#8d9caf}.dashboard-grid{display:grid;grid-template-columns:minmax(0,1.7fr) minmax(300px,1fr);gap:22px}.panel{background:#fff;border:1px solid #e4eaf2;border-radius:10px;overflow:hidden;box-shadow:0 3px 8px #142d4c03}.panel-head{padding:21px 22px;display:flex;justify-content:space-between;align-items:center;border-bottom:1px solid #edf0f5}.panel-head h3{font-size:14px;font-weight:650;color:#253d59}.panel-head p{font-size:10px;color:#94a0af;margin-top:6px}table{border-collapse:collapse;width:100%;text-align:left;font-size:11px}th{background:#fafbfd;font-size:9px;letter-spacing:.2px;color:#8b98a9;font-weight:650;padding:13px 20px;border-bottom:1px solid #eef1f5}td{padding:15px 20px;border-bottom:1px solid #edf1f5;color:#60718a}td strong{font-size:11px;color:#334b68;font-weight:600}td small{font-size:9px;color:#9aa6b5;margin-top:5px;max-width:270px}.badge{display:inline-flex;align-items:center;gap:6px;font-size:9px;border-radius:5px;padding:5px 7px;white-space:nowrap}.badge.muted{background:#f1f3f7;color:#8e99a9}.badge.good{background:#e7f7f0;color:#289d74}.badge.warm{background:#fff5dd;color:#b28a2b}.table-more{display:flex;align-items:center;gap:6px;justify-content:center;width:100%;background:#fff;padding:15px;color:#4f7cac;font-size:10px}.connections{padding:3px 21px}.connection{display:flex;align-items:center;gap:11px;border-bottom:1px solid #edf1f5;padding:17px 0;font-size:11px;font-weight:600;color:#455c78}.connection:last-child{border:0}.connection small{font-size:9px;font-weight:400;color:#97a4b4;margin-top:5px}.connection-icon{background:#eff4fc;border-radius:7px;display:flex;padding:9px;color:#6090cb}.dot{height:7px;width:7px;background:#cdd5df;border-radius:50%;margin-left:auto}.dot.on{background:#2ac895}.callout{margin:16px 21px 21px;padding:17px 15px;background:#f3f6fc;border-radius:7px;display:flex;align-items:flex-start;gap:11px;color:#547cac;font-size:11px}.callout>svg{flex-shrink:0}.callout p{font-size:10px;line-height:1.8;color:#8a9ab0;margin:6px 0}.activity{margin-top:22px}.empty{padding:33px 25px;text-align:center;color:#bac5d3}.empty svg{stroke-width:1.5}.empty h3{font-size:13px;color:#74859a;margin:11px 0 7px}.empty p{font-size:11px;color:#95a3b5;line-height:1.7}.audit-list{padding:4px 22px}.audit-list>div{display:flex;gap:12px;align-items:center;padding:15px 0;border-bottom:1px solid #eef1f5;font-size:10px}.audit-list strong{font-weight:550;color:#526984}.audit-list span{color:#94a3b5}.audit-list time{color:#97a5b4;margin-left:auto}.audit-dot{height:6px;width:6px;background:#5890df;border-radius:50%}.account-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:18px}.account-card{padding:20px}.account-card-top{display:flex;justify-content:space-between;align-items:center}.account-card h3{font-size:15px;color:#354c68;margin-top:14px}.account-card>p{font-size:10px;margin-top:6px;color:#97a4b4}.account-meta{display:grid;grid-template-columns:1fr 1fr;gap:10px;margin:20px 0;font-size:9px;color:#96a4b6}.account-meta strong{display:block;font-size:10px;color:#627790;font-weight:500;margin-top:7px}.account-card footer{display:flex;gap:6px;align-items:center;border-top:1px solid #eff2f7;padding-top:15px}.account-card footer .secondary{flex:1}.chat-layout{display:grid;grid-template-columns:280px minmax(320px,1fr) 285px;height:calc(100vh - 99px);min-height:610px}.chat-list{border-right:1px solid #e3e9f2;display:flex;flex-direction:column;background:#fff}.chat-list-header{padding:23px 19px 15px;display:flex;align-items:center;justify-content:space-between}.chat-list-header h2{font-size:16px;color:#29425d}.chat-list-header h2 span{font-size:9px;margin-left:7px;background:#edf2fa;color:#6e8ab0;padding:3px 6px;border-radius:5px}.search{display:flex;align-items:center;gap:8px;border:1px solid #e5eaf3;background:#f9fbfd;padding:9px 11px;border-radius:7px;color:#94a3b6}.search input{border:0;background:transparent;min-width:0;width:100%;font-size:10px;color:#4b607a;outline:none}.chat-list>.search{margin:0 18px}.tabs{display:flex;border-bottom:1px solid #eef1f6;margin:13px 18px 0;gap:18px}.tabs button{background:#fff;padding:11px 0;color:#8999ae;font-size:10px;border-bottom:2px solid transparent}.tabs button.active{color:#3678e1;border-color:#3678e1;font-weight:650}.conversation-items{flex:1;overflow:auto}.conversation{padding:18px 17px;display:flex;gap:11px;text-align:left;width:100%;background:#fff;border-bottom:1px solid #f0f3f7;border-left:3px solid transparent}.conversation.active{background:#edf4ff;border-left-color:#3378e6}.conversation>div:last-child{min-width:0;flex:1}.conversation strong{font-size:12px;color:#365171}.conversation small{font-size:9px;color:#8a9ab1;margin:4px 0}.conversation p{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;max-width:190px;font-size:10px;color:#8999ae;margin:8px 0}.mini-channel{font-size:8px;padding:3px 6px;background:#e6eefb;color:#6186bc;border-radius:3px}.list-foot{font-size:8px;color:#99a8bc;display:flex;align-items:center;gap:6px;padding:17px;border-top:1px solid #e9edf4}.chat-main{display:flex;flex-direction:column;min-width:0;background:#f7f9fd}.conversation-head{padding:20px 23px;background:#fff;border-bottom:1px solid #e5ebf2;display:flex;align-items:center;gap:11px}.conversation-head h2{font-size:13px;color:#304969}.conversation-head h2 span{font-size:11px;font-weight:500;margin-left:6px;color:#8395ad}.conversation-head p{font-size:9px;color:#9aabc0;margin-top:5px}.conversation-head .secondary{margin-left:auto;font-size:9px;padding:8px 10px}.messages{overflow:auto;flex:1;padding:23px 25px;display:flex;flex-direction:column;gap:19px}.date-divider{align-self:center;font-size:8px;color:#a7b4c5;background:#edf1f7;padding:5px 10px;border-radius:20px;margin-bottom:9px}.message{max-width:85%;font-size:12px;line-height:1.8}.message.in{align-self:flex-start}.message.out{align-self:flex-end;text-align:right}.bubble{border-radius:10px;padding:13px 16px;background:#fff;border:1px solid #e7ecf4;color:#4c6380;white-space:pre-wrap;text-align:left;box-shadow:0 2px 3px #1b3e6b02}.message.out .bubble{background:#e7effe;border-color:#dfe9fd;color:#4771ad}.message small{font-size:8px;color:#a3afbf;padding:5px 2px}.composer{padding:17px 23px;background:#fff;border-top:1px solid #e8edf4}.ai-strip{display:flex;align-items:center;justify-content:space-between;gap:12px;background:#f3f0ff;border:1px solid #e8e0fb;padding:12px;border-radius:8px;margin-bottom:13px}.ai-strip>span{display:flex;align-items:center;gap:8px;flex-wrap:wrap;font-size:10px;color:#8762c5}.ai-strip small{font-size:8px;width:100%;padding-left:25px;color:#a394c2}.ai-strip .primary{background:#8156cb;padding:9px 10px;font-size:9px}.composer form{display:flex;align-items:center;border:1px solid #e4eaf3;border-radius:8px;padding:10px;gap:10px}.composer textarea{resize:none;background:transparent;border:0;outline:none;flex:1;min-width:0;height:40px;font-size:11px;padding:7px}.composer .secondary{font-size:9px}.composer-note{font-size:8px;color:#9cabbf;margin-top:8px}.customer-detail{border-left:1px solid #e3e9f2;background:#fff;padding:22px 20px;overflow:auto}.customer-detail>h3{font-size:12px;color:#5f7590}.detail-avatar{display:flex;align-items:center;flex-direction:column;padding:23px 0 24px;border-bottom:1px solid #edf1f6}.detail-avatar h3{font-size:14px;color:#3b5270;margin:12px 0 5px}.detail-avatar span{color:#8fa0b7;font-size:11px}.detail-block{padding:22px 0;border-bottom:1px solid #edf1f6}.detail-block label{display:block;font-size:8px;letter-spacing:.6px;color:#9babc0;margin-bottom:8px;margin-top:19px}.detail-block label:first-child{margin-top:0}.detail-block strong,.detail-block p{font-size:10px;line-height:1.8;color:#667e9b}.detail-block h3{font-size:11px;color:#627d9d}.detail-block h3 span{margin-left:5px;font-size:9px;color:#a2b0c3}.tags{display:flex;gap:4px;flex-wrap:wrap}.tags span{background:#edf3fc;color:#6f8db4;border-radius:4px;padding:4px 7px;font-size:8px}.order-mini{border:1px solid #e5ecf6;border-radius:7px;padding:12px;margin-top:12px;font-size:10px}.order-mini>span{display:block;font-size:11px;color:#3678ce;margin:5px 0}.flow{display:flex;align-items:center;gap:14px;padding:19px;background:#edf3fe;border:1px solid #e1eafa;border-radius:8px;margin-bottom:25px;color:#8297b5;font-size:10px}.flow svg{width:14px}.flow .active{color:#4978c5;font-weight:650}.table-tools{display:flex;align-items:center;justify-content:space-between;padding:17px 20px;border-bottom:1px solid #edf1f6;color:#95a5b8;font-size:10px}.table-tools .search{width:320px}.info-banner{display:flex;align-items:center;gap:12px;background:#edf4ff;border:1px solid #e0eafb;border-radius:8px;padding:17px 20px;color:#6b88ae;font-size:11px;line-height:1.7;margin-bottom:25px}.rule-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:20px}.rule-card{padding:22px}.rule-card header{display:flex;align-items:center;justify-content:space-between;color:#648bbc}.rule-card h3{font-size:15px;margin:20px 0 7px;color:#36516e}.rule-card>small{font-size:10px;color:#95a5ba}.rule-card blockquote{margin:22px 0;background:#f6f8fb;padding:17px;border-radius:6px;min-height:85px;color:#7d91ac;line-height:1.8;font-size:11px}.toggle{width:34px;height:20px;border-radius:20px;background:#d8e0eb;position:relative}.toggle i{position:absolute;width:14px;height:14px;left:3px;top:3px;border-radius:50%;background:#fff}.toggle.on{background:#4084e1}.toggle.on i{left:17px}.oa-grid,.data-grid{display:grid;grid-template-columns:1fr 1.3fr;gap:24px}.oa-card{padding:35px}.oa-icon{width:72px;height:72px;background:#edf3ff;color:#397fe1;display:flex;align-items:center;justify-content:center;border-radius:16px;margin-bottom:25px}.oa-card h2{font-size:21px;color:#365270}.oa-card>p{font-size:12px;color:#8a9bb1;line-height:1.9;margin:14px 0 16px}.setup-list{display:flex;flex-direction:column;gap:19px;padding:26px 0}.setup-list>span{display:flex;align-items:center;gap:10px;font-size:11px;color:#7d93af}.number{font-size:9px;border:1px solid #ccd9ea;border-radius:50%;width:20px;height:20px;display:inline-flex;align-items:center;justify-content:center}.folder-list{padding:12px 22px}.folder-list>div{display:flex;align-items:center;gap:11px;padding:15px 0;color:#85a3ca;border-bottom:1px solid #edf1f6;font-size:11px}.folder-list span{flex:1;color:#6c819e}.folder-link{margin:10px 22px}.knowledge-list{padding:4px 22px}.knowledge-list a{display:flex;align-items:center;gap:12px;padding:15px 0;border-bottom:1px solid #edf1f5;font-size:11px;color:#6b8bb5}.knowledge-list a>span{flex:1;color:#59708d}.knowledge-list small{font-size:9px;margin-top:5px;color:#98a8be}.query{margin:22px;padding:20px;background:#f7f9fc;border:1px solid #e8edf5;border-radius:8px}.query h3{font-size:12px;color:#5b7696;margin-bottom:13px}.query form{display:flex;gap:8px}.query input{flex:1;min-width:0;border:1px solid #dfe7f3;border-radius:5px;background:#fff;padding:10px;font-size:10px}.answer{font-size:11px;line-height:1.9;color:#667d99;margin-top:15px}.answer p{white-space:pre-wrap}.answer a{display:flex;align-items:center;gap:4px;color:#4480cf;font-size:10px;margin-top:8px}.footnote{font-size:9px;line-height:1.8;color:#9aabc0;padding:0 23px 22px}.overlay{position:fixed;inset:0;background:#09203b88;z-index:100;display:flex;align-items:center;justify-content:center;padding:25px;-webkit-backdrop-filter:blur(3px);backdrop-filter:blur(3px)}.modal{width:760px;max-width:100%;max-height:90vh;overflow:auto;background:#fff;border-radius:12px;box-shadow:0 20px 70px #0d274c50}.modal>header{position:sticky;top:0;background:#fff;z-index:1;display:flex;justify-content:space-between;align-items:center;padding:20px 25px;border-bottom:1px solid #e9edf4}.modal>header h2{font-size:19px;color:#314c6c}.form{padding:24px;display:flex;flex-direction:column;gap:17px}.form-grid{display:grid;grid-template-columns:1fr 1fr;gap:18px}.form label{font-size:11px;color:#7389a4;display:flex;flex-direction:column;gap:8px}.form input,.form textarea,.form select,.login input{width:100%;border:1px solid #dce5f1;border-radius:6px;padding:10px 12px;color:#47617e;background:#fcfdff}.form textarea{resize:vertical;min-height:80px}.form footer{display:flex;justify-content:flex-end;gap:10px;margin-top:10px}.form .check{flex-direction:row;align-items:center}.form .check input{width:auto}.subtle{color:#98a8bd;font-size:10px;line-height:1.9}.editable td,.editable th{padding:10px 5px}.editable input{font-size:11px;padding:8px 5px}.editable td:nth-child(2){width:70px}.editable td:nth-child(3){width:110px}.editable td:nth-child(4){width:120px}.order-total{display:flex;justify-content:space-between;background:#eff5ff;border-radius:6px;padding:16px;color:#6b8dbd;font-size:12px}.order-total strong{font-size:20px;color:#397ae1}.modal pre{padding:24px;font-size:11px;color:#667e9a;white-space:pre-wrap;line-height:1.8}.qr{display:block;max-width:320px;margin:25px auto}.modal>p{padding:0 25px 25px;font-size:12px;color:#7187a3}.alert{display:flex;align-items:center;gap:8px;margin:15px 32px 0;padding:12px 16px;border-radius:7px;font-size:12px}.alert.error,.error{color:#b14949;background:#fff0f0}.alert.success{color:#368969;background:#e7f6ef}.alert button{margin-left:auto;display:flex;background:transparent;color:inherit}.busy-dot{position:fixed;bottom:25px;right:25px;width:10px;height:10px;border-radius:50%;background:#4b8ae7;box-shadow:0 0 0 7px #4b8ae722;animation:pulse 1s infinite}.loading{padding:50px;color:#7890af}.login{width:380px;max-width:90%;margin:12vh auto;background:#fff;border:1px solid #e3eaf5;border-radius:12px;padding:30px}.login h1{font-size:21px;margin:20px 0 8px;color:#375372}.login p{font-size:12px;color:#8398b3}.login form{display:flex;flex-direction:column;gap:17px;margin-top:25px}.login label{font-size:11px;color:#7d93af}.login input{margin-top:8px}.login .error{padding:12px;margin-top:15px}@keyframes pulse{50%{opacity:.4}}@media(min-width:1700px){.chat-layout{grid-template-columns:325px minmax(320px,1fr) 330px}.page{padding:38px 45px}.topbar{padding:0 45px}}@media(max-width:1280px){.sidebar{width:215px}main{margin-left:215px}.brand{padding:24px 15px;font-size:10px}.chat-layout{grid-template-columns:245px minmax(300px,1fr)}.customer-detail{display:none}.dashboard-grid{grid-template-columns:1fr}.connections{display:grid;grid-template-columns:1fr 1fr;gap:0 25px}.account-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.stat strong{font-size:24px}.stat{padding:16px 13px}.stats{gap:12px}.rule-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}@media(max-width:800px){.sidebar{width:68px}.brand{padding:20px 15px}.brand>span:last-child,.workspace,.nav-caption,.sidebar-bottom,nav button:not(.selected) span{display:none}nav{padding:6px}nav button{font-size:0;justify-content:center;padding:14px 4px;gap:0}nav button svg{width:22px;height:22px}.nav-count{display:none}main{margin-left:68px}.topbar{padding:0 18px}.clock{display:none}.demo-banner{padding:10px 18px}.demo-banner a{display:none}.page{padding:24px 18px}.page-title{align-items:flex-start;flex-direction:column}.page-title h1{font-size:24px}.stats{grid-template-columns:1fr 1fr}.dashboard-grid{grid-template-columns:1fr}table{display:block;overflow:auto;white-space:nowrap}.account-grid,.rule-grid,.oa-grid,.data-grid{grid-template-columns:1fr}.chat-layout{grid-template-columns:180px minmax(260px,1fr);overflow:auto}.chat-list-header{padding:20px 12px}.chat-list>.search{margin:0 10px}.conversation{padding:15px 9px;gap:6px}.conversation .avatar{display:none}.conversation p{max-width:150px}.tabs{margin:10px 10px 0;gap:10px}.conversation-head{padding:18px 12px}.conversation-head .secondary{display:none}.conversation-head h2 span{display:block;margin:5px 0}.messages{padding:18px 12px}.composer{padding:13px 12px}.ai-strip{flex-direction:column;align-items:stretch}.ai-strip .primary{justify-content:center}.form-grid{grid-template-columns:1fr}.flow{overflow:auto;white-space:nowrap;gap:8px}.form{padding:18px}.modal{max-height:95vh}.overlay{padding:10px}.editable td:first-child{min-width:150px}.panel-head{padding:18px}.stat strong{font-size:23px}.connections{grid-template-columns:1fr}.top-right{gap:7px}.breadcrumb{font-size:10px}.alert{margin:10px 18px 0}}.account-note{margin-bottom:16px}.account-list{overflow-x:auto}.account-list-head,.account-list-row{display:grid;grid-template-columns:minmax(180px,1.2fr) minmax(125px,.8fr) minmax(220px,1.3fr) minmax(155px,1fr) minmax(150px,1fr);gap:14px;align-items:center;min-width:900px;padding:16px 20px}.account-list-head{background:#edf2fa;font-size:11px;font-weight:700;color:#657891}.account-list-row{border-top:1px solid #edf1f6}.account-list-row input,.account-list-row select{width:100%;border:1px solid #dce4ef;border-radius:6px;padding:9px;background:#fff;color:#263447}.account-list-row>div>select{margin-top:7px}.account-actions{display:flex;align-items:center;gap:5px;margin-top:10px}.account-actions .primary,.account-actions .secondary{padding:8px 12px}.staff-list{margin-top:24px;padding:20px;overflow:auto}.staff-list h3{margin-bottom:8px}.staff-list table{margin-top:18px;width:100%;border-collapse:collapse}.staff-list th,.staff-list td{text-align:left;padding:12px;border-bottom:1px solid #edf1f6}.login.vinafe-login{position:relative;min-height:100vh;padding:40px 20px;display:flex;justify-content:center;align-items:center;background:radial-gradient(ellipse at 15% 15%,#214c6c 0,transparent 48%),radial-gradient(ellipse at 85% 90%,#32263d 0,transparent 45%),#0b1c30;overflow:hidden}.login-circuit{position:absolute;inset:0;background:url(/circuit.svg) center/600px;opacity:.62;pointer-events:none}.login-card{position:relative;width:440px;max-width:100%;padding:35px 38px;background:#fff;border:1px solid #d5e0eb;border-radius:20px;box-shadow:0 28px 90px #0005;text-align:center}.login-logo{width:155px;height:100px;object-fit:contain;margin:0 auto 24px}.login-kicker{display:block;font-size:10px;letter-spacing:2.4px;font-weight:750;color:#a9242b;margin-bottom:13px}.login.vinafe-login h1{font-size:25px;color:#153457}.login.vinafe-login p{font-size:12px;line-height:1.7;margin:12px 0 26px;color:#738397}.login.vinafe-login form{width:100%;margin:0;text-align:left}.login.vinafe-login input{width:100%;padding:13px;border:1px solid #d8e1eb;border-radius:8px;background:#f8fafc;margin-top:8px}.login.vinafe-login label{display:block;font-size:12px;font-weight:600;margin-bottom:18px;color:#263c56}.login.vinafe-login button.primary{width:100%;padding:14px;border-radius:8px;background:#153457;margin-top:5px}.login-foot{margin-top:26px;padding-top:18px;border-top:1px solid #eef1f5;font-size:10px;color:#8190a1}.login.vinafe-login p.error{color:#a9242b;margin:15px 0 0}@media(max-width:500px){.login-card{padding:28px 24px}}.login.vinafe-login{width:100%;max-width:none;margin:0;border:0;border-radius:0}.login.vinafe-login form{gap:0}.login.vinafe-login h1{margin:0 0 8px}.gateway-note{margin-bottom:18px;padding:16px 18px;border:1px solid #e7c98b;background:#fff8e8;border-radius:10px;color:#755629}.gateway-note p{font-size:12px;line-height:1.7;margin-top:6px}.account-actions button:disabled,.text-btn:disabled{cursor:not-allowed}.staff-position{display:flex;gap:6px;align-items:center}.staff-position select{border:1px solid #dce4ef;border-radius:6px;padding:8px}.staff-list table{min-width:950px}.qr-login-content{padding:16px 20px;text-align:center}.qr-login-content p{margin-bottom:12px}.qr-login-screen{display:block;width:300px;height:auto;max-width:100%;margin:12px auto;background:#fff;padding:12px;box-sizing:content-box;max-width:calc(100% - 24px);image-rendering:pixelated}.modal:has(.qr-login-content){width:460px;max-height:calc(100dvh - 24px);overflow:auto}.qr-login-content .secondary{margin-top:8px}.inbox-status{padding:18px 24px;background:#fff;border-bottom:1px solid #dce4ef;display:flex;gap:12px;flex-wrap:wrap;align-items:center}.inbox-status>div:first-child{flex:1}.inbox-status p{font-size:12px;color:#60718a;margin-top:6px}.inbox-account-status{width:100%;display:flex;gap:12px;flex-wrap:wrap}.inbox-account-status>div{padding:10px;border:1px solid #dce4ef;border-radius:8px;display:flex;gap:10px;align-items:center;flex-wrap:wrap}.inbox-account-status span{font-size:12px}.order-summary{display:grid;grid-template-columns:repeat(4,1fr);gap:12px;margin-bottom:20px}.order-summary>span{background:#fff;border:1px solid #e1e7ef;border-radius:10px;padding:16px;color:#697b90}.order-summary strong{display:block;color:#173554;font-size:24px;margin-bottom:4px}.order-customer-picker{padding:20px;margin-bottom:20px}.order-customer-picker .form{padding:16px 0}.order-actions{display:flex;flex-wrap:wrap;gap:8px}.order-progress{display:inline-block;background:#edf3fd;color:#285f9c;padding:5px 9px;border-radius:6px;white-space:nowrap}.order-progress.completed{background:#e5f5ed;color:#206642}.order-progress.cancelled{background:#fbecec;color:#a83232}.order-table-scroll{overflow:auto}.orders-page .table-tools input,.orders-page .table-tools select{padding:10px;border:1px solid #dce4ef;border-radius:7px;max-width:100%}.order-actions .secondary{padding:7px 10px}@media(max-width:650px){.order-summary{grid-template-columns:repeat(2,1fr)}.orders-page .table-tools{align-items:stretch;flex-direction:column}.orders-page .action-group{flex-wrap:wrap}}.account-name-code{display:flex;align-items:center;gap:8px}.account-name-code input{min-width:0;flex:1}.account-slot-code{flex:0 0 34px;height:34px;display:grid;place-items:center;border-radius:8px;background:#e7efff;color:#175cd3;font-weight:700;font-variant-numeric:tabular-nums}.admin-section-tabs{display:flex;gap:10px;margin:0 0 20px;flex-wrap:wrap}.admin-accounts.section-staff>.gateway-note,.admin-accounts.section-staff>.account-list,.admin-accounts.section-zalo>.staff-list{display:none}.permission-workspace{min-width:300px;max-width:650px;white-space:normal}.permission-workspace>input{width:100%}.permission-workspace fieldset{border:1px solid #dae4ef;border-radius:10px;padding:12px;margin:12px 0}.permission-workspace legend{font-weight:700;padding:0 6px}.permission-group-actions{display:flex;gap:12px;margin-bottom:10px}.permission-group-actions button{font-size:12px;background:transparent;color:#175cd3;border:0;cursor:pointer}.permission-editor[open]{min-width:340px}.permission-checks label{white-space:normal}.password-target{display:flex;align-items:center;justify-content:space-between;padding:16px;border-bottom:1px solid #e5eaf0}.password-target small{display:block}.credential-slip{padding:20px;border:1px solid #dae4ef;border-radius:10px;color:#162b45}.credential-slip dt{font-size:12px;margin-top:12px}.credential-slip dd{margin:4px 0;font-weight:700;overflow-wrap:anywhere}@media print{body *{visibility:hidden!important}.credential-slip,.credential-slip *{visibility:visible!important}.credential-slip{position:fixed!important;inset:0!important;width:100%!important;height:auto!important;background:#fff!important;padding:24px!important;border:0!important;color:#000!important}.credential-slip *{color:#000!important}}.desktop-notice-toggle{position:fixed;right:12px;top:6px;z-index:40;font-size:11px;padding:5px 8px;border:1px solid #dae4ef;border-radius:6px;background:#fff;color:#526579}.incoming-notices{position:fixed;right:16px;bottom:16px;z-index:1100;display:grid;gap:8px;width:320px;max-width:calc(100vw - 24px)}.incoming-notices section{position:relative;background:#fff;border:1px solid #b8d9ca;border-left:4px solid #15945e;border-radius:9px;box-shadow:0 5px 24px #0002}.incoming-notice-open{display:grid;gap:4px;text-align:left;width:100%;padding:12px 34px 12px 12px;background:transparent;border:0;color:#173b55}.incoming-notice-open span{font-size:12px;overflow-wrap:anywhere}.incoming-notice-open small{color:#15803d}.incoming-notice-close{position:absolute;right:5px;top:5px;background:transparent;border:0;font-size:20px;color:#6b7c8e}.image-preview-trigger{padding:0;border:0;background:transparent;cursor:zoom-in}.clipboard-preview{max-width:120px;max-height:90px;object-fit:contain;border-radius:8px}.crm-image-overlay{position:fixed;inset:0;z-index:3000;background:#071425cc;display:flex;align-items:center;justify-content:center;padding:30px}.crm-image-dialog{position:relative;max-width:95vw;max-height:90vh}.crm-image-dialog>img{display:block;max-width:90vw;max-height:85vh;object-fit:contain}.crm-image-close{position:absolute;right:0;top:-30px;background:#fff;border:0;border-radius:50%;width:30px;height:30px;display:grid;place-items:center}.zalo-menu-alert{margin:4px 8px}.zalo-alert-toggle{display:flex;align-items:center;gap:7px;width:100%;padding:8px 7px;border:1px solid #ffffff22;background:#ffffff08;color:#d3e0ef;font-size:12px;text-align:left;border-radius:7px}.zalo-alert-toggle.lost{color:#ff777e;border-color:#ff777e55;background:#b91c1c20}.zalo-alert-toggle.unknown{color:#ffcf7e}.connection-e{width:19px;height:19px;border-radius:50%;display:grid;place-items:center;font-weight:800;border:1px solid currentColor}.zalo-alert-toggle.lost .connection-e{background:#ef4444;color:#fff;border-color:#ef4444}.zalo-alert-toggle b{margin-left:auto}.zalo-alert-list{padding:8px;background:#11283e;border:1px solid #ffffff22;border-radius:7px;max-height:300px;overflow:auto;color:#e1e9f3}.zalo-alert-list>div{border-top:1px solid #ffffff22;padding:9px 0;display:grid;gap:4px}.zalo-alert-list small{display:block;color:#c3d1e2;font-size:11px}.zalo-alert-list .mail-warning{color:#ffbd8c}.zalo-alert-list button{font-size:11px;padding:5px 8px;border-radius:5px;border:1px solid #ff8c8c88;background:transparent;color:#faa;justify-self:start}.daily-report-header{display:flex;justify-content:space-between;align-items:center;gap:16px;flex-wrap:wrap;margin-bottom:20px}.daily-report-header h1{font-size:23px;margin:6px 0}.daily-report-filters{display:flex;align-items:end;gap:8px;flex-wrap:wrap}.daily-report-filters label{display:grid;gap:5px;font-size:12px}.daily-report-table{overflow:auto;margin:16px 0;padding:16px}.daily-report-table table{min-width:720px;width:100%}.daily-report-table h2{font-size:17px}.daily-report-definition{font-size:12px;color:#536681;line-height:1.6}.daily-report-warning{background:#fff4d8;border:1px solid #ebd48c;padding:10px;border-radius:8px}.daily-contacts .stats .card{padding:20px}.daily-contacts .stats h2{font-size:30px;margin:8px 0}.daily-contacts .stats{grid-template-columns:repeat(3,minmax(0,1fr))}.daily-contacts .stats{grid-template-columns:repeat(4,minmax(0,1fr))}.employee-account-breakdown{font-size:11px;margin-top:5px}.employee-account-breakdown>div{padding:6px 0;border-top:1px solid #e9edf5}.daily-report-channel-details>summary{cursor:pointer;font-size:13px;color:#536681}.daily-contacts .paid-green{color:#13925e;font-weight:600}@media(max-width:1100px){.daily-contacts .stats{grid-template-columns:repeat(2,minmax(0,1fr))}}@media(max-width:650px){.daily-contacts .stats{grid-template-columns:1fr}}.staff-zalo-qr{display:flex;align-items:center;gap:8px;margin:4px 0}.staff-zalo-qr .secondary{padding:5px 8px;white-space:nowrap;font-size:12px}.attachment-file-heading{display:flex;gap:10px;align-items:center;max-width:320px}.attachment-file-heading strong{display:block;overflow-wrap:anywhere;font-size:13px}.attachment-file-heading small{display:block;color:#64748b}.attachment-kind{font-size:10px;font-weight:700;background:#e8efff;color:#245ad0;border-radius:6px;padding:8px;flex-shrink:0}.attachment-card{gap:8px;padding:10px;border:1px solid #dbe3ef;border-radius:10px;background:#fff}.chat-screen .conversation-head .customer-transfer-btn{display:inline-flex}.brand{position:relative;padding-left:18px!important;gap:12px}.brand:before{display:none}.brand-logo{width:62px;height:48px;object-fit:contain;border-radius:4px;background:#fff}.brand-mark{display:none}.staff-security{display:flex;align-items:center;gap:6px;flex-wrap:wrap;margin-top:8px}.account-active,.account-locked{font-size:9px;padding:4px 6px;border-radius:4px;font-weight:650}.account-active{background:#e7f7f0;color:#288660}.account-locked{background:#fff0f0;color:#b84646}.permission-editor{width:100%;margin-top:6px;color:#60718a}.permission-editor summary{cursor:pointer;font-size:10px;color:#427acf}.permission-editor>div{display:grid;grid-template-columns:repeat(2,minmax(150px,1fr));gap:5px;margin:8px 0}.permission-editor label{font-size:9px;display:flex;gap:5px;align-items:center}.permission-editor .secondary{padding:6px 9px;font-size:9px}.worker-ready,.worker-waiting{display:inline-flex;align-items:center;gap:6px;margin-top:7px;font-size:12px;font-weight:650}.worker-ready{color:#087a51}.worker-waiting{color:#8d5a06}.worker-ready:before,.worker-waiting:before{content:"";width:7px;height:7px;border-radius:50%;background:currentColor}.gateway-plan{display:grid;grid-template-columns:repeat(auto-fit,minmax(190px,1fr));gap:10px;margin:14px 0}.gateway-plan div{border:1px solid #dce6f2;border-radius:9px;padding:11px;background:#fbfdff}.gateway-plan strong{display:block;color:#102f58;margin-bottom:4px}.gateway-plan span{font-size:12px;color:#6a7d94}.permission-presets{display:flex;gap:7px;flex-wrap:wrap;margin:8px 0}.permission-presets button{font-size:12px;padding:6px 8px}.permission-summary{display:block;margin:5px 0 8px;color:#66798f;font-size:12px}.chat-workspace{height:calc(100dvh - 66px);display:flex;flex-direction:column;min-height:0}.compact-inbox{flex:none;margin:0;padding:8px 16px;border-bottom:1px solid #e3e9f2;background:#fff;font-size:12px;max-height:170px;overflow:auto}.compact-inbox summary{cursor:pointer;color:#53697f}.compact-inbox>div,.compact-inbox>button{margin-top:8px}.chat-workspace .chat-layout{flex:1;height:auto;min-height:0;grid-template-columns:240px minmax(280px,1fr) 260px}.chat-main,.chat-list{min-height:0}.chat-main .messages{min-height:0;overscroll-behavior:contain;padding:16px 20px;gap:12px}.conversation-head{padding:10px 16px;flex-wrap:wrap;flex:none}.conversation-head .ai-launch{display:inline-flex;margin-left:auto}.composer{padding:10px 16px;flex:none}.composer form.reply-composer{display:flex;flex-direction:column;align-items:stretch;gap:7px;padding:10px}.reply-composer label{font-size:12px;color:#365171;overflow-wrap:anywhere}.composer .reply-composer textarea{display:block;width:100%;height:76px;min-height:60px;max-height:150px;flex:none;resize:vertical;font-size:14px;line-height:1.5;padding:8px;background:#f8fafc;border:1px solid #dce5ef;border-radius:6px}.reply-actions{display:flex;align-items:center;justify-content:space-between;gap:10px}.reply-actions span{font-size:11px;color:#789}.reply-composer p{font-size:12px}.reply-composer [role=alert]{color:#b42318}.internal-notes{padding-bottom:18px;margin-bottom:18px;border-bottom:1px solid #dce5ef}.internal-notes textarea{width:100%;min-height:80px;margin:8px 0}.internal-notes>p{padding:6px 0;overflow-wrap:anywhere}@media(max-width:1280px){.chat-workspace .chat-layout{grid-template-columns:210px minmax(280px,1fr) 220px}.chat-workspace .customer-detail{display:block;padding:12px}}@media(max-width:1000px){.chat-workspace .chat-layout{grid-template-columns:180px minmax(260px,1fr)}.chat-workspace .customer-detail{grid-column:1/-1;max-height:240px}.chat-workspace .chat-layout{overflow:auto}.chat-main{min-height:440px}.reply-actions span{display:none}}.inbox-filters{display:grid;gap:8px;padding:8px 14px}.inbox-filters label{display:grid;gap:4px;font-size:12px;color:#526782}.inbox-filters select{width:100%;min-width:0;padding:8px;border:1px solid #dce5f1;border-radius:8px;background:#fff;color:#173656}.emoji-tools{position:relative;margin:6px 0}.emoji-picker{display:grid;grid-template-columns:repeat(10,minmax(24px,1fr));gap:4px;padding:8px;background:#f1f5fb;border-radius:8px}.emoji-picker button{font-size:22px;border:0;background:transparent;padding:4px;cursor:pointer}.emoji-picker button:hover{background:#dbeafe}.forward-message{display:block;border:0;background:transparent;color:#42658a;font-size:11px;padding:3px 0;cursor:pointer}.forward-preview{white-space:pre-wrap;max-height:160px;overflow:auto;border-left:3px solid #2563eb;padding:10px;background:#f3f6fb;margin:0}.composer form.compact-composer{padding:8px;gap:5px}.compact-composer .composer-label{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap}.composer-toolbar{display:flex;align-items:center;justify-content:space-between;position:relative;gap:8px}.composer-tool-group{display:flex;gap:3px}.composer-tool{display:inline-flex;align-items:center;justify-content:center;width:32px;height:30px;border:0;border-radius:6px;background:transparent;color:#526782;cursor:pointer}.composer-tool:hover,.composer-tool[aria-expanded=true]{background:#e8f0fe;color:#2563eb}.composer-tool:disabled{opacity:.4;cursor:not-allowed}.compact-send{padding:6px 12px!important;min-height:30px!important;font-size:12px!important}.compact-composer .emoji-picker{position:absolute;bottom:calc(100% + 8px);left:0;z-index:20;width:min(340px,100%);box-shadow:0 5px 24px #16376126;border:1px solid #dce5f1}.composer .compact-composer textarea{height:70px;min-height:58px;max-height:130px;margin:0}.composer-hint{font-size:10px;color:#8390a3;text-align:right}.composer{padding:8px 12px}.message-attachment{display:flex;gap:6px;align-items:center;margin-top:8px;color:#195fcc;font-weight:600}.bubble>small{display:block;margin-top:6px;color:#65758a}.conversation.unread{background:#f0fdf8;border-left:3px solid #16a66a}.conversation.unread strong{color:#126844}.unread-count{display:inline-flex;align-items:center;justify-content:center;margin-left:6px;min-width:19px;height:19px;border-radius:12px;padding:0 5px;background:#16a66a;color:#fff;font-size:10px;vertical-align:middle}.conversation.unread .avatar{position:relative}.conversation.unread .avatar:after{content:"";position:absolute;right:-2px;top:-2px;width:9px;height:9px;border-radius:50%;background:#16a66a;border:2px solid white}.message-sender{display:flex;align-items:center;gap:7px;margin-bottom:5px;font-size:12px;color:#526580}.sender-avatar{width:28px;height:28px;display:flex;align-items:center;justify-content:center;background:#e4edfb;border-radius:50%;flex-shrink:0;font-size:10px}.sender-avatar img{width:100%;height:100%;object-fit:cover;border-radius:50%}.message.out .message-sender{justify-content:flex-end}.message-sender strong{overflow-wrap:anywhere}.attachment-card{margin-top:8px;min-width:0}.attachment-preview{display:block;max-width:100%;width:auto;max-height:300px;border-radius:8px;object-fit:contain;background:#edf2f8}.attachment-card audio{max-width:100%;width:260px}.attachment-card small{color:#8c5520;margin:8px 0}.message-actions{position:relative;display:flex;gap:4px;align-items:center;flex-wrap:wrap;margin-top:4px}.message-actions>button{background:transparent;border-radius:5px;color:#57708c;padding:3px 8px;font-size:16px}.message-actions>button:hover{background:#e4edfb}.message-options{position:absolute;bottom:100%;background:#fff;border:1px solid #dce5f0;box-shadow:0 3px 12px #18304b20;padding:6px;border-radius:7px;z-index:3;white-space:nowrap}.message-options button{background:#fff;padding:8px}.message-options span{font-size:11px}.message-actions>small{width:100%;color:#a13e33}.message{display:grid;grid-template-columns:minmax(0,1fr) 60px;column-gap:6px;align-items:center;min-width:0}.message>.message-sender{grid-column:1 / -1}.message>.bubble{grid-column:1;grid-row:2;min-width:0;overflow-wrap:anywhere}.message>.message-actions{grid-column:2;grid-row:2;margin:0;align-self:center;flex-wrap:nowrap;gap:2px;width:60px}.message>.message-actions>button{padding:3px;width:29px;height:29px;line-height:1;flex-shrink:0;font-size:15px}.message>small{grid-column:1 / -1}.message-actions>.message-options{right:0;bottom:calc(100% + 4px)}.message-actions>small{position:absolute;right:0;top:100%;width:220px;background:#fff4f1;border:1px solid #f0c8bf;padding:8px;border-radius:6px;z-index:4;font-size:11px}.attachment-selected{padding:6px 10px;background:#edf4ff;border-radius:6px;font-size:12px;overflow-wrap:anywhere}.attachment-selected button{margin-left:10px;background:transparent;color:#a13e33}.attachment-selected small{font-size:10px;color:#63758c}.message-actions>button:disabled{cursor:default}.message-actions>button[aria-pressed=true]{opacity:1;background:#dcecff;color:#195fcc}.message-actions>button[aria-busy=true]{cursor:progress;opacity:1}.reaction-heart{position:absolute;left:3px;bottom:20px;pointer-events:none;font-size:24px;z-index:5;animation:reaction-heart-pop .85s ease-out forwards}@keyframes reaction-heart-pop{0%{transform:translateY(0) scale(.5);opacity:0}20%{transform:translateY(-5px) scale(1.2);opacity:1}65%{transform:translateY(-20px) scale(1);opacity:1}to{transform:translateY(-35px) scale(.9);opacity:0}}@media(prefers-reduced-motion:reduce){.reaction-heart{animation:none;opacity:1}}.message-actions>button[aria-pressed]{color:#64748b;font-size:20px;opacity:1;background:transparent;transition:color .15s ease,transform .15s ease}.message-actions>button[aria-pressed=true]{color:#e32645;background:#fff0f3}.message-actions>button[aria-pressed=false]:disabled{color:#87929f;opacity:.55}.message-actions>button[aria-busy=true]{cursor:default;opacity:1;animation:heart-wait .7s ease-in-out infinite}@keyframes heart-wait{50%{transform:scale(1.15)}}@media(prefers-reduced-motion:reduce){.message-actions>button[aria-busy=true]{animation:none}}.workspace-nav{flex:1;min-height:0;overflow-y:auto;padding:0 12px 12px;scrollbar-width:thin}.workspace-nav .nav-group{margin:0 0 14px}.workspace-nav .nav-caption{margin:10px 12px 6px;font-size:9px;letter-spacing:1px}.workspace-nav button{padding:10px 12px;min-height:38px;margin:2px 0}.workspace-nav button>span:not(.nav-count){flex:1}.sidebar .workspace{margin-bottom:12px}.sidebar .sidebar-bottom{margin-top:0;padding:10px 18px 14px}.sidebar .secure{padding:4px 0 10px}.sidebar .profile{padding-top:10px}.data-grid:has(>section:only-child){grid-template-columns:1fr}.workspace-nav summary.nav-caption{display:flex;align-items:center;justify-content:space-between;cursor:pointer;list-style:none;padding:8px 0;color:#aebfd2}.workspace-nav summary::-webkit-details-marker{display:none}.workspace-nav details[open]>summary svg{transform:rotate(90deg)}.workspace-nav summary:hover{color:#fff}.phone-reminder{display:flex;align-items:center;justify-content:space-between;gap:8px;flex-wrap:wrap;padding:8px 16px;background:#fff8e5;border-bottom:1px solid #f1dfa3;font-size:12px;flex-shrink:0}.profile-contact-form{display:flex;flex-direction:column;gap:10px;padding:12px;border:1px solid #e2e8f0;border-radius:10px;margin:12px 0}.profile-contact-form label{display:flex;flex-direction:column;gap:5px;font-size:12px}.profile-contact-form input{width:100%;min-width:0;box-sizing:border-box}.profile-contact-form.missing-phone{border-color:#ef4444;background:#fff5f5}.profile-contact-form .contact-required{color:#b91c1c;font-size:12px;margin:0}.profile-contact-form.missing-phone label:first-of-type{color:#b91c1c}.profile-contact-form.missing-phone input[name=phone]{border-color:#ef4444}.profile-contact-form.missing-phone button{background:#b91c1c}.profile-contact-form{padding:8px;gap:7px;background:#fff}.profile-contact-form.missing-phone{border-color:#e2e8f0;background:#fff}.profile-contact-form .contact-phone-row{display:flex;align-items:center;gap:6px}.profile-contact-form .contact-phone-row input{height:32px;padding:5px 8px;font-size:13px;width:150px;max-width:calc(100% - 34px);border-radius:6px}.profile-contact-form .contact-phone-row input.phone-missing{border:1px solid #ef4444;background:#fff;color:#b91c1c}.profile-contact-form .contact-phone-row input.phone-valid{border:1px solid #16a34a;background:#fff;color:#15803d}.profile-contact-form button.contact-add-phone{display:inline-flex;align-items:center;justify-content:center;width:26px;height:26px;min-width:26px;padding:0;border:1px solid #dbe1e8;border-radius:5px;background:#fff;color:#475569;font-size:19px;line-height:1}.profile-contact-form input[type=email]{height:32px;padding:5px 8px;font-size:13px}.profile-contact-form .contact-phone-row input[readonly]{cursor:copy}.customer-info-disclosure{margin-top:12px}.customer-info-disclosure>summary{display:flex;align-items:center;justify-content:center;width:28px;height:28px;list-style:none;cursor:pointer;border:1px solid #cbd5e1;border-radius:50%;background:#fff;color:#475569;font:700 17px Georgia,serif}.customer-info-disclosure>summary::-webkit-details-marker{display:none}.customer-info-disclosure>summary:hover,.customer-info-disclosure[open]>summary{color:#2563eb;border-color:#93b4ed;background:#eff6ff}.customer-info-disclosure>summary:focus-visible{outline:2px solid #2563eb;outline-offset:3px}.customer-info-content{margin-top:12px}.customer-name-phone{display:flex;align-items:center;gap:10px;flex-wrap:wrap}.conversation-identity{min-width:0}.customer-name-phone h2{margin:0}.profile-contact-form.compact-contact{border:0;padding:0;margin:0;display:flex;flex-direction:row;align-items:center;flex-wrap:wrap;gap:6px;background:transparent}.compact-contact label:not([hidden]){font-size:0;gap:0}.profile-contact-form.compact-contact label[hidden]{display:none}.compact-contact .contact-phone-row input{width:128px;max-width:128px;height:28px;font-size:12px}.compact-contact .compact-save-status{position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%)}.compact-contact small{font-size:11px}.customer-name-phone .header-phone-readonly{font-size:13px;color:#15803d}.compact-order .order-code-date,.compact-order .order-money-row,.compact-order .order-product-row{display:flex;align-items:center;justify-content:space-between;gap:8px}.compact-order .order-money-row{align-items:flex-start;margin:8px 0}.compact-order .order-money-row>div{display:flex;flex-direction:column;gap:3px;min-width:0}.compact-order .order-money-row strong{font-size:13px;white-space:nowrap}.compact-order .order-money-row .payment-paid{color:#16a34a}.compact-order .order-money-row .payment-unknown{color:#64748b;font-size:11px}.compact-order .order-products{border-top:1px solid #eef2f6;padding-top:7px}.compact-order .order-product-row{font-size:12px;margin:4px 0}.compact-order .order-product-row>span{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;min-width:0}.compact-order .order-product-row>b{flex-shrink:0;white-space:nowrap}.compact-order .order-code-date small{white-space:nowrap;font-size:10px}.customer-rename-button{display:inline-flex;align-items:center;justify-content:center;width:26px;height:26px;padding:0;border:1px solid #dbe1e8;border-radius:5px;background:#fff;color:#64748b;flex-shrink:0}.customer-rename-button:hover{color:#2563eb;background:#eff6ff}.customer-rename-button:focus-visible{outline:2px solid #2563eb;outline-offset:2px}.customer-info-letter{display:inline-flex;align-items:center;justify-content:center;width:17px;height:17px;border:1.4px solid currentColor;border-radius:50%;font-family:Georgia,serif;font-style:italic;font-weight:700;font-size:14px;line-height:1;color:#526681;box-sizing:border-box}.modal>.customer-info-content{padding:0 24px 24px;margin:0}.modal>.customer-info-content .detail-block p{overflow-wrap:anywhere}.modal>.customer-info-content .detail-avatar{margin:16px 0}main.chat-screen{height:100dvh;display:flex;flex-direction:column;min-height:0;overflow:hidden}.chat-screen>.chat-workspace{height:auto;flex:1;min-height:0}.chat-screen>.alert,.chat-screen>.demo-banner{flex-shrink:0}.chat-list .chat-list-header{padding:12px 14px}.chat-list>.search{margin:0 10px 6px}.chat-list .inbox-filters{gap:6px;padding:6px 10px}.chat-list .inbox-filters label{font-size:11px;gap:3px}.chat-list .inbox-filters select{padding:6px;font-size:12px;border-radius:6px}.chat-list .tabs{margin:6px 10px 0;padding-bottom:6px;gap:14px}.conversation-items{overflow-x:hidden}.chat-list .conversation{padding:10px;gap:8px;align-items:center;width:100%;min-width:0}.chat-list .conversation>.avatar{width:30px;height:30px;min-width:30px;font-size:11px}.chat-list .conversation-copy{flex:1;min-width:0;overflow:hidden}.chat-list .conversation-title{display:flex;align-items:center;gap:5px;font-size:12px;line-height:1.4;overflow-wrap:anywhere}.chat-list .conversation-meta{display:flex;gap:5px;align-items:center;justify-content:space-between;margin:4px 0;min-width:0}.chat-list .conversation-meta small{font-size:10px;white-space:nowrap}.chat-list .conversation-meta .mini-channel{font-size:10px;max-width:105px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;padding:2px 5px;margin:0;border-radius:4px}.chat-list .conversation-preview{font-size:11px;line-height:1.4;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;max-width:100%;margin:0}.chat-list .list-foot{padding:8px 10px;font-size:10px}.sidebar .brand{padding-top:12px;padding-bottom:12px;gap:9px}.sidebar .brand-logo{width:50px;height:38px}.sidebar .workspace{margin:2px 12px 8px;padding:7px 9px;gap:7px}.sidebar .workspace small{margin-top:2px}.sidebar .workspace-icon{padding:5px}.sidebar .workspace-nav{padding:0 10px 6px}.sidebar .workspace-nav .nav-group{margin:0 0 6px}.sidebar .workspace-nav .nav-caption{margin:4px 8px 2px;padding:4px 0;min-height:24px;line-height:16px;letter-spacing:.7px}.sidebar .workspace-nav button{min-height:32px;padding:6px 10px;margin:1px 0;gap:9px;line-height:18px;border-radius:6px}.sidebar .workspace-nav button>svg{width:16px;height:16px;flex-shrink:0}.sidebar .sidebar-bottom{padding:6px 14px 8px}.sidebar .secure{padding:2px 0 6px}.sidebar .secure small{margin-top:2px}.sidebar .profile{padding-top:7px;gap:7px}.sidebar .profile small{margin-top:2px}@media(max-width:800px){.sidebar .workspace-nav{padding:0 6px 6px}.sidebar .workspace-nav button{min-height:34px;padding:6px 4px;gap:0}.sidebar .workspace-nav .nav-caption{margin:3px 2px;padding:3px 0;letter-spacing:.2px}.sidebar .brand{padding-left:9px!important}.sidebar .brand-logo{width:48px;height:36px}}.message-options a{display:flex;align-items:center;gap:5px;padding:8px;color:#25476a;text-decoration:none;border-radius:4px}.message-options a:hover{background:#eef4fc}.attachment-download-menu{position:relative;float:right;margin-left:6px}.attachment-download-menu summary{list-style:none;cursor:pointer;padding:2px 8px;border-radius:5px;color:#57708c}.attachment-download-menu summary::-webkit-details-marker{display:none}.attachment-download-menu a{position:absolute;right:0;top:100%;z-index:5;white-space:nowrap;background:#fff;border:1px solid #dce5f0;border-radius:6px;padding:8px 14px;box-shadow:0 3px 12px #18304b20;color:#25476a;text-decoration:none}.send-failure{color:#b42318;font-size:12px}.send-failure button{margin:4px;padding:4px 8px;color:#b42318;background:#fff1f0}.chat-screen{--inbox-border:#e2e8f0;--inbox-muted:#64748b;--inbox-blue:#2563eb;color:#1e293b;background:#fff}.chat-screen .chat-workspace .chat-layout{grid-template-columns:280px minmax(300px,1fr) 280px;gap:0}.chat-screen .chat-list{background:#f8fafc;border-right:1px solid var(--inbox-border)}.chat-screen .chat-list-header{padding:18px 16px 12px;align-items:center}.chat-screen .chat-list-header h2{font-size:17px;letter-spacing:-.4px;color:#0f172a}.chat-screen .chat-list-header h2 span{background:#e2e8f0;color:#475569;border-radius:7px;padding:3px 6px;font-size:11px}.chat-screen .chat-list>.search{margin:0 12px 10px;border:1px solid #e2e8f0;background:#fff;border-radius:10px;padding:9px 10px;box-shadow:0 1px 2px #0f172a03}.chat-screen .chat-list>.search input{font-size:12px;background:transparent}.chat-screen .chat-list .inbox-filters{grid-template-columns:1fr 1fr;padding:0 12px 10px;gap:8px}.chat-screen .inbox-filters label{font-size:10px;font-weight:600;color:#64748b}.chat-screen .inbox-filters select{height:32px;padding:5px 6px;font-size:11px;border-radius:8px;color:#334155;border:1px solid #e2e8f0}.chat-screen .chat-list .tabs{display:flex;gap:3px;margin:0 12px 10px;padding:4px;background:#e9eef5;border:0;border-radius:10px}.chat-screen .chat-list .tabs button{flex:1;padding:7px 3px;border:0;border-radius:7px;font-size:11px;color:#64748b;background:transparent;font-weight:600}.chat-screen .chat-list .tabs button.active{background:#fff;color:#1d4ed8;box-shadow:0 1px 4px #0f172a14}.chat-screen .conversation-items{padding:2px 8px 10px;scrollbar-width:thin;scrollbar-color:#cbd5e1 transparent}.chat-screen .chat-list .conversation{width:100%;margin:3px 0;padding:12px 10px;gap:11px;border:1px solid transparent;border-left:4px solid transparent;border-radius:12px;background:transparent;transition:background .12s,border-color .12s;align-items:flex-start;text-align:left}.chat-screen .chat-list .conversation:hover{background:#eef2f7}.chat-screen .chat-list .conversation.active{background:#eff6ff;border-color:#dbeafe;border-left-color:#2563eb}.chat-screen .chat-list .conversation>.avatar{position:relative;width:36px;height:36px;min-width:36px;font-size:12px;background:#e0e7ff;color:#4338ca;box-shadow:0 0 0 2px #fff;margin-top:2px}.chat-screen .conversation>.avatar:before{position:absolute;content:"Z";right:-4px;bottom:-3px;display:grid;place-items:center;width:15px;height:15px;background:#2563eb;color:#fff;border:2px solid #f8fafc;border-radius:50%;font-size:8px;font-weight:800}.chat-screen .channel-website>.avatar:before{content:"W";background:#0d9488}.chat-screen .chat-list .channel-website>.avatar{background:#ccfbf1;color:#0f766e}.chat-screen .conversation-title{color:#1e293b;font-size:13px!important;font-weight:650;line-height:1.4}.chat-screen .conversation.active .conversation-title{color:#1d4ed8}.chat-screen .chat-list .conversation-meta{display:flex;flex-wrap:wrap;justify-content:flex-start;gap:5px;margin:5px 0}.chat-screen .chat-list .conversation-meta small{font-size:10px;color:#64748b}.chat-screen .chat-list .mini-channel{background:#eef2f6;color:#475569;border-radius:5px;padding:2px 6px;max-width:160px}.chat-screen .chat-list .channel-website .mini-channel{background:#fff1db;color:#9a5807}.chat-screen .chat-list .conversation-preview{font-size:12px;color:#64748b;line-height:1.5}.chat-screen .unread-count{background:#2563eb;min-width:18px;height:18px;font-size:10px}.chat-screen .chat-list .list-foot{display:flex;flex-wrap:wrap;align-items:center;justify-content:center;gap:7px;border-top:1px solid #e2e8f0;padding:10px;background:#f8fafc;color:#64748b;font-size:10px}.chat-screen .list-foot button{background:#fff;color:#475569;border:1px solid #e2e8f0;padding:6px 10px;border-radius:8px;font-size:11px}.chat-screen .list-foot button:first-child:before{content:"‹";margin-right:5px;font-size:15px}.chat-screen .list-foot button:nth-of-type(2):after{content:"›";margin-left:5px;font-size:15px}.chat-screen .conversation-head,.chat-screen .web-chat-conversation>header{background:#fff;border-bottom:1px solid #e2e8f0;padding:15px 20px;gap:12px;box-shadow:0 1px 2px #0f172a02}.chat-screen .conversation-head h2,.chat-screen .web-chat-conversation h2{font-size:17px;font-weight:700;letter-spacing:-.35px;color:#0f172a;line-height:1.4}.chat-screen .conversation-head p,.chat-screen .web-chat-conversation>header p{font-size:11px;color:#64748b;margin-top:5px;line-height:1.5}.chat-screen .primary{background:#2563eb;color:#fff;border-radius:8px;padding:9px 12px;box-shadow:0 2px 3px #2563eb15}.chat-screen .primary:hover{background:#1d4ed8}.chat-screen .secondary{border:1px solid #e2e8f0;color:#475569;background:#fff;border-radius:8px;padding:8px 11px}.chat-screen .web-chat-conversation>header label{display:flex;align-items:center;gap:10px;font-size:11px;color:#64748b;margin-top:12px}.chat-screen .web-chat-conversation>header select{max-width:220px;height:32px;border:1px solid #e2e8f0;background:#f8fafc;border-radius:8px;padding:4px 9px;color:#334155}.chat-screen .web-ai-controls{padding:10px 18px;gap:8px;background:#fff;border-bottom:1px solid #eef2f6;font-size:11px}.chat-screen .web-ai-controls>span{padding:5px 8px;border-radius:6px;background:#f0fdf4;color:#15803d}.chat-screen .web-ai-controls small{font-size:10px;color:#64748b;line-height:1.5}.chat-screen .messages,.chat-screen .web-chat-messages{background:#f8fafc;padding:24px;gap:18px;scrollbar-width:thin;scrollbar-color:#cbd5e1 transparent}.chat-screen .message .bubble,.chat-screen .web-chat-bubble{border-radius:16px;padding:12px 15px;line-height:1.5;font-size:13px;box-shadow:0 1px 3px #0000000f;border:1px solid #edf0f4;background:#fff;color:#334155}.chat-screen .message.out .bubble,.chat-screen .web-chat-bubble.staff{background:#eff6ff;border-color:#dbeafe;border-bottom-right-radius:5px}.chat-screen .message.in .bubble,.chat-screen .web-chat-bubble.visitor{border-bottom-left-radius:5px;background:#fff}.chat-screen .web-chat-bubble.ai{align-self:flex-end;background:#f0fdf4;border-color:#dcfce7;border-bottom-right-radius:5px}.chat-screen .message>small,.chat-screen .web-chat-bubble small{font-size:10px;color:#64748b;line-height:1.5;margin-top:6px}.chat-screen .date-divider{font-size:10px;color:#64748b;letter-spacing:.15px}.chat-screen .composer{padding:14px 18px;background:#fff;border-top:1px solid #e2e8f0}.chat-screen .composer textarea,.chat-screen .web-chat-conversation textarea{border:1px solid #e2e8f0;border-radius:10px;background:#f8fafc;padding:12px;color:#1e293b;line-height:1.5;font-size:13px;resize:vertical}.chat-screen textarea:focus,.chat-screen select:focus-visible,.chat-screen input:focus-visible{outline:2px solid #93c5fd;outline-offset:2px}.chat-screen .web-chat-conversation form{padding:14px 18px;align-items:flex-end}.chat-screen .web-chat-hint{margin:12px 16px;padding:12px 14px;background:#fffbeb;border:1px solid #fde68a;border-radius:10px;color:#92400e;display:flex;align-items:center;justify-content:space-between;gap:12px;font-size:12px;line-height:1.5;flex-shrink:0}.chat-screen .customer-detail,.chat-screen .web-customer-detail{background:#fff;padding:18px;border-left:1px solid #e2e8f0;scrollbar-width:thin;scrollbar-color:#cbd5e1 transparent}.chat-screen .customer-detail h3,.chat-screen .web-customer-detail h3{font-size:13px;color:#334155;letter-spacing:-.15px}.chat-screen .channel-history{border:1px solid #e2e8f0;border-radius:10px;padding:11px;background:#f8fafc;color:#475569;font-size:11px}.chat-screen .internal-notes textarea{width:100%;border:1px solid #e2e8f0;border-radius:10px;background:#f8fafc;padding:10px;font-size:12px;min-height:90px;margin:10px 0}.chat-screen>.alert,.chat-screen .web-inbox>.error{position:fixed;right:20px;top:18px;z-index:60;width:max-content;max-width:min(390px,calc(100vw - 32px));margin:0;padding:12px 15px;border-radius:12px;border:1px solid #fecaca;background:#fff;color:#9f3b36;box-shadow:0 8px 30px #0f172a18;font-size:12px;line-height:1.5;display:flex;gap:12px;align-items:center;overflow-wrap:anywhere}.chat-screen>.alert.success{border-color:#bbf7d0;color:#166534;top:80px}.chat-screen>.alert button{display:grid;place-items:center;background:#fff1f2;color:#9f3b36;border-radius:6px;padding:5px;flex-shrink:0}.chat-screen button:focus-visible{outline:2px solid #2563eb;outline-offset:2px}@media(max-width:1400px){.chat-screen .chat-workspace .chat-layout{grid-template-columns:250px minmax(280px,1fr) 240px}.chat-screen .messages,.chat-screen .web-chat-messages{padding:18px}.chat-screen .customer-detail,.chat-screen .web-customer-detail{padding:13px}}@media(max-width:1100px){.chat-screen .chat-workspace .chat-layout{grid-template-columns:230px minmax(260px,1fr)}.chat-screen .customer-detail{grid-column:1/-1;max-height:260px}.chat-screen .conversation-head{padding:12px}.chat-screen .web-inbox-embedded .web-inbox-layout{display:flex;flex-direction:column}}@media(max-width:700px){.chat-screen .chat-workspace .chat-layout{grid-template-columns:150px minmax(0,1fr)}.chat-screen .chat-list .inbox-filters{grid-template-columns:1fr;padding:0 8px 8px}.chat-screen .chat-list-header{padding:12px 8px}.chat-screen .chat-list-header h2{font-size:14px}.chat-screen .chat-list .tabs{margin:0 6px 6px}.chat-screen .chat-list .conversation{padding:10px 6px;gap:6px}.chat-screen .chat-list .conversation>.avatar{width:25px;height:25px;min-width:25px;font-size:9px}.chat-screen .conversation-title{font-size:11px!important}.chat-screen .chat-list .conversation-meta small{white-space:normal}.chat-screen .conversation-head,.chat-screen .messages,.chat-screen .web-chat-messages{padding:10px}.chat-screen .conversation-head h2{font-size:14px}.chat-screen .web-chat-hint{flex-direction:column;align-items:flex-start;margin:8px;font-size:11px}.chat-screen .web-chat-bubble{max-width:95%}.chat-screen .composer{padding:8px}.chat-screen .chat-main{min-width:0}.chat-screen .web-chat-conversation>header{padding:10px}.chat-screen .conversation-head .ai-launch{white-space:normal;font-size:10px}.chat-screen .customer-detail{grid-column:1/-1}}@media(prefers-reduced-motion:reduce){.chat-screen .conversation{transition:none}}@media(max-width:700px){.chat-screen .chat-workspace .chat-layout{display:flex;flex-direction:column;overflow:auto}.chat-screen .chat-list{width:100%;max-height:320px;flex:none;border-right:0;border-bottom:1px solid #e2e8f0}.chat-screen .chat-list .inbox-filters{grid-template-columns:1fr 1fr}.chat-screen .chat-list .conversation-items{min-height:85px;max-height:130px}.chat-screen .chat-list .list-foot{padding:5px;font-size:9px;gap:5px}.chat-screen .chat-list .conversation{padding:8px 10px}.chat-screen .chat-main{width:100%;min-width:0;min-height:620px;height:80dvh;flex:none}.chat-screen .conversation-head{gap:8px}.chat-screen .conversation-head .ai-launch{margin-left:0}.chat-screen .composer{width:100%;min-width:0}.chat-screen .composer form,.chat-screen .reply-composer{min-width:0;width:100%}.chat-screen .customer-detail{width:100%;flex:none;max-height:none}.chat-screen .web-inbox.web-inbox-embedded{width:100%;height:auto;flex:none}.chat-screen .web-chat-conversation{min-height:620px}}.chat-screen .inbox-unified-label{margin:0 12px 10px;padding:8px 10px;background:#eef2f6;border-radius:8px;color:#64748b;font-size:11px}.chat-screen .inbox-unified-label b{display:inline-grid;place-items:center;border-radius:5px;background:#2563eb;color:#fff;width:17px;height:17px;font-size:10px}.chat-screen .inbox-unified-label b:last-child{background:#0d9488}.sidebar-toggle{display:flex;align-items:center;justify-content:center;align-self:flex-end;margin:6px 10px;padding:7px;border-radius:8px;color:#dbeafe;background:#243d59}.app.sidebar-mini>.sidebar{width:60px!important}.app.sidebar-mini>main{margin-left:60px!important}.sidebar-mini .sidebar .workspace-nav{padding:4px 6px}.sidebar-mini .sidebar .workspace-nav button{justify-content:center;padding:10px 5px;min-height:38px}.sidebar-mini .sidebar .workspace-nav button span,.sidebar-mini .sidebar .nav-caption,.sidebar-mini .staff-profile-top-text,.sidebar-mini .staff-kpi-score,.sidebar-mini .brand>span{display:none!important}.sidebar-mini .sidebar .staff-profile-top{width:44px;margin:4px 8px;padding:5px;justify-content:center}.sidebar-mini .sidebar .profile-brand-bottom{flex-direction:column;padding:4px}.sidebar-mini .sidebar .brand-logo{width:32px;height:24px}.cms-order-card{margin:10px 0 14px;padding:12px;border:1px solid #dbe5ef;border-radius:12px;background:linear-gradient(180deg,#f8fbff,#fff 44px);box-shadow:0 2px 10px #0f172a0a;min-width:0}.cms-order-card h3{font-size:13.5px;font-weight:700;color:#0f172a;margin-bottom:2px;letter-spacing:-.15px}.cms-order-card>small{font-size:10.5px;color:#64748b;margin-bottom:8px}.cms-order-card .cms-draft-restored,.cms-order-card .cms-item-hint{font-size:10.5px;color:#64748b;margin-top:4px}.cms-order-card .form{padding:0;gap:8px}.cms-order-card .form-grid{display:grid;grid-template-columns:minmax(0,1fr);gap:6px}.cms-order-card .cms-contact-row{display:grid;grid-template-columns:minmax(96px,.9fr) minmax(0,1.1fr);gap:6px;min-width:0}.cms-order-card .cms-location-row{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:5px;min-width:0;padding:6px;background:#f8fafc;border:1px solid #e2e8f0;border-radius:8px}.cms-order-card input,.cms-order-card select{width:100%;min-width:0;height:30px;padding:4px 8px;font-size:11.5px;border:1px solid #cbd5e1;border-radius:6px;color:#0f172a;background:#fff;box-sizing:border-box;transition:border-color .15s,box-shadow .15s}.cms-order-card .cms-location-row select{height:28px;padding:2px 4px;font-size:11px;text-overflow:ellipsis}.cms-order-card input:focus,.cms-order-card select:focus{border-color:#2563eb;box-shadow:0 0 0 2px #2563eb24;outline:none}.cms-order-card label{display:grid;gap:3px;font-size:10.5px;font-weight:600;color:#475569;min-width:0}.cms-order-card .cms-location-field>span{font-size:10px;color:#475569;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.cms-order-card .form-grid+.form-grid{border-top:1px solid #e2e8f0;margin-top:10px;padding-top:8px}.cms-order-card p{font-size:11px;line-height:1.5;margin:6px 0}.ai-schedule{padding:16px;margin:12px;border:1px solid #e2e8f0;border-radius:12px;background:#fff}.ai-schedule label{display:inline-flex;gap:8px;align-items:center;margin:8px}.ai-schedule p{margin:8px 0;font-size:12px}.sidebar-mini .zalo-menu-alert{margin:4px 6px}.sidebar-mini .zalo-alert-toggle{padding:7px;justify-content:center}.sidebar-mini .zalo-alert-toggle>span:not(.connection-e),.sidebar-mini .zalo-alert-toggle>b{display:none}.sidebar-mini .zalo-alert-list{position:fixed;left:60px;top:110px;width:260px;z-index:100;background:#102138;padding:12px;border-radius:10px}.chat-support-actions button{white-space:normal}.cms-order-card button{white-space:normal;max-width:100%}.cms-order-card fieldset{border:0;padding:0;margin:0;min-width:0}.cms-form-section{padding:8px 0;border-bottom:1px solid #eef2f6}.cms-form-section:last-child{border-bottom:0;padding-bottom:2px}.cms-form-section h4{font-size:11px;font-weight:700;color:#1e3a8a;text-transform:uppercase;letter-spacing:.25px;margin:0 0 7px}.cms-order-card .cms-vat-toggle{display:flex;gap:7px;align-items:center}.cms-order-card .cms-vat-toggle input{width:16px}.cms-order-actions{position:sticky;top:0;bottom:0;background:#f8fafc;padding:7px 9px;border:1px solid #e2e8f0;border-radius:8px;z-index:2;display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:6px}.cms-order-actions strong{font-size:12px;color:#0f172a;font-weight:700}.cms-order-actions>div{display:flex;flex-wrap:wrap;gap:5px;margin-left:auto}.cms-order-actions button{padding:5px 10px;font-size:11px;border-radius:6px;height:28px}.cms-order-card details{padding:8px 0}.cms-order-card summary{cursor:pointer;font-size:12px}.cms-product-line{padding-bottom:10px}.cms-order-card .form label.cms-vat-toggle{flex-direction:row;justify-content:flex-start;align-items:center;text-align:left}.cms-mini-products{max-height:220px;overflow-y:auto;overflow-x:hidden;scrollbar-gutter:stable}.cms-order-card .cms-mini-row,.cms-mini-heading{display:grid;grid-template-columns:minmax(0,1fr) 58px 74px 22px;gap:4px;align-items:center;min-width:0}.cms-mini-heading{font-size:10px;font-weight:600;color:#64748b;padding:2px 0 4px}.cms-order-card .cms-mini-row{margin:0 0 5px;padding:0}.cms-order-card .cms-mini-row input{min-width:0;width:100%;height:30px;padding:4px 6px;font-size:11.5px;box-sizing:border-box}.cms-order-card .cms-mini-row .cms-mini-remove{min-width:0;width:22px;height:28px;padding:0;border:0;background:transparent;color:#dc2626;font-size:13px;border-radius:4px}.cms-order-card .cms-mini-row .cms-mini-remove:hover:not(:disabled){background:#fee2e2}.cms-order-card .cms-mini-row input[type=number]{appearance:textfield;-moz-appearance:textfield}.cms-mini-row input::-webkit-inner-spin-button,.cms-mini-row input::-webkit-outer-spin-button{-webkit-appearance:none;margin:0}.cms-mini-remove:disabled{opacity:.3}.cms-order-card .cms-add-item-btn{margin-top:3px;padding:5px 10px;font-size:11px;font-weight:600;color:#2563eb;background:#eff6ff;border:1px dashed #93c5fd;border-radius:6px;width:100%;transition:background-color .15s}.cms-order-card .cms-add-item-btn:hover:not(:disabled){background:#dbeafe}@media(min-width:1101px){.chat-screen .chat-workspace .chat-layout{grid-template-columns:230px minmax(260px,1fr) 340px}.chat-screen .web-inbox-embedded .web-inbox-layout{grid-template-columns:minmax(0,1fr) 340px}}@media(min-width:1401px){.chat-screen .chat-workspace .chat-layout{grid-template-columns:280px minmax(300px,1fr) 360px}.chat-screen .web-inbox-embedded .web-inbox-layout{grid-template-columns:minmax(0,1fr) 360px}}.cms-order-card [aria-invalid=true]{border:1px solid #dc2626;background:#fff5f5;box-shadow:0 0 0 1px #dc2626}.cms-feedback{position:sticky;top:0;z-index:3;padding:10px;border-radius:8px;font-size:12px;line-height:1.5}.cms-feedback.error{background:#fff1f2;color:#9f1239;border:1px solid #fecdd3}.cms-feedback.success{background:#ecfdf5;color:#065f46;border:1px solid #a7f3d0}.cms-feedback button{display:block;margin-top:8px}.cms-ai-box{background:linear-gradient(180deg,#f0f7ff,#f8fafc);border:1px solid #bfdbfe;border-radius:9px;padding:8px 10px;margin:2px 0 4px;display:grid;gap:6px}.cms-ai-head{display:flex;align-items:center;justify-content:space-between;gap:6px;flex-wrap:wrap}.cms-ai-head strong{font-size:11.5px;color:#1e3a8a;font-weight:700;letter-spacing:-.1px}.cms-ai-badges{display:flex;align-items:center;gap:5px;flex-wrap:wrap}.cms-ai-badges small{font-size:10px;color:#64748b;margin:0}.cms-ai-priority{font-size:10px;font-weight:700;padding:1px 6px;border-radius:999px;background:#dbeafe;color:#1d4ed8}.cms-ai-priority.high{background:#fef3c7;color:#b45309}.cms-ai-priority.urgent{background:#fee2e2;color:#b91c1c}.cms-ai-trigger{font-size:9.5px;font-weight:600;padding:1px 6px;border-radius:999px;background:#e0f2fe;color:#0369a1}.cms-ai-stale{font-size:9.5px;font-weight:600;padding:1px 6px;border-radius:999px;background:#fef3c7;color:#92400e}.cms-ai-error{color:#b91c1c;font-size:10.5px}.cms-ai-steps{list-style:none;margin:0;padding:0;display:grid;gap:4px}.cms-ai-steps li{display:grid;grid-template-columns:18px minmax(0,1fr);gap:6px;align-items:start;font-size:11px;line-height:1.45;color:#1e293b;background:#fff;border:1px solid #e2e8f0;border-radius:6px;padding:5px 7px}.cms-ai-steps li .cms-step-num{display:inline-grid;place-items:center;width:18px;height:18px;border-radius:50%;background:#dbeafe;color:#1d4ed8;font-size:10px;font-weight:700;margin-top:1px}.cms-ai-steps li.cms-step-warn{border-color:#fde68a;background:#fffbeb}.cms-ai-steps li.cms-step-warn .cms-step-num{background:#fef3c7;color:#b45309}.cms-ai-steps li.cms-step-info{border-color:#bae6fd;background:#f0f9ff}.cms-ai-steps li.cms-step-info .cms-step-num{background:#e0f2fe;color:#0369a1}.cms-ai-steps li.cms-step-ready{border-color:#a7f3d0;background:#ecfdf5;color:#065f46}.cms-ai-steps li.cms-step-ready .cms-step-num{background:#10b981;color:#fff}.cms-ai-steps li.cms-step-hint{color:#475569;background:#f8fafc;border-style:dashed}.cms-order-card .cms-ai-details{padding:2px 0 0;border-top:1px dashed #cbd5e1;margin-top:2px}.cms-order-card .cms-ai-details summary{font-size:10.5px;font-weight:600;color:#2563eb;cursor:pointer}.cms-order-card .cms-ai-details p{font-size:11px;color:#334155;margin:4px 0}.cms-order-card .cms-ai-evidence{display:block;font-size:10px;color:#64748b;line-height:1.4;margin:2px 0}.chat-support-count{background:#e2e8f0;color:#334155;border-radius:999px;padding:1px 7px;font-size:11px;font-weight:600}.chat-support-head-actions{display:flex;align-items:center;gap:6px}.chat-support-head-actions .chat-support-assign-btn{font-size:11px;padding:4px 8px;height:26px;border-radius:6px}.cms-sync-status{font-size:11px;padding:5px 8px;border-radius:6px;margin:4px 0 6px;border:1px solid #e2e8f0;background:#f8fafc;color:#475569}.cms-sync-status.status-linked{background:#f0fdf4;border-color:#bbf7d0;color:#166534}.cms-sync-status.status-ambiguous,.cms-sync-status.status-cms_unavailable{background:#fffbeb;border-color:#fde68a;color:#92400e}.cms-phone-candidates{background:#fffbeb;border:1px solid #fcd34d;border-radius:8px;padding:8px;margin:4px 0 8px;display:grid;gap:6px}.cms-phone-candidates>strong{font-size:11px;color:#92400e}.cms-phone-candidate-row{display:flex;flex-direction:column;gap:5px;padding:6px;background:#fff;border:1px solid #fde68a;border-radius:6px}.cms-phone-candidate-info{display:flex;flex-direction:column;gap:2px;min-width:0}.cms-phone-candidate-info b{font-size:12.5px;color:#0f172a}.cms-phone-candidate-info small{font-size:10px;color:#64748b;overflow-wrap:anywhere}.cms-phone-candidate-actions{display:flex;flex-wrap:wrap;gap:4px;align-items:center}.cms-phone-candidate-actions button{font-size:10.5px;padding:4px 7px;height:25px;border-radius:5px}.cms-shipping-split{display:block;font-size:10.5px;color:#0369a1;background:#f0f9ff;border:1px solid #bae6fd;border-radius:6px;padding:4px 7px;margin-bottom:6px}.attachment-status-warn,.attachment-status-local{display:block;font-size:11px;line-height:1.4;padding:5px 8px;border-radius:6px;margin-top:6px;background:#fffbeb;border:1px solid #fde68a;color:#92400e}.chat-screen .chat-list .conversation-title,.web-chat-row .conversation-title{display:block;width:100%;min-width:0;line-height:1.4;font-size:12.5px!important;overflow-wrap:break-word;word-break:normal}.chat-screen .conversation-name-text,.web-chat-row .conversation-name-text{overflow-wrap:break-word}.chat-screen .conversation-time,.web-chat-row .conversation-time{display:inline;font-size:11.5px;font-weight:600;color:#2563eb;line-height:1.35;font-variant-numeric:tabular-nums;overflow-wrap:normal;word-break:keep-all}.chat-screen .conversation.active .conversation-time,.web-chat-row.selected .conversation-time{color:#1d4ed8}.chat-screen .conversation.unread .conversation-time{color:#15803d;font-weight:700}.message{grid-template-columns:minmax(0,1fr) auto;max-width:min(82%,640px)}.message.out{grid-template-columns:auto minmax(0,1fr)}.message-actions{display:inline-flex;align-items:center;gap:4px;position:relative;align-self:center;z-index:2}.message-actions .msg-reply-btn{display:inline-flex;align-items:center;gap:4px;width:auto!important;height:28px!important;padding:0 9px!important;border-radius:999px!important;border:1px solid #cbd5e1!important;background:#fff!important;color:#1e3a8a!important;font-size:11.5px!important;font-weight:600!important;line-height:1;cursor:pointer;white-space:nowrap;box-shadow:0 1px 2px #0f172a0d;transition:background-color .15s,border-color .15s,color .15s}.message-actions .msg-reply-btn:hover,.message-actions .msg-reply-btn:focus-visible{background:#eff6ff!important;border-color:#60a5fa!important;color:#1d4ed8!important;outline:none}.message-actions .msg-reply-btn:focus-visible,.message-actions .msg-like-btn:focus-visible,.message-actions .msg-more-btn:focus-visible{box-shadow:0 0 0 2px #2563eb47}.message-options{min-width:176px;padding:5px;border-radius:10px;border:1px solid #dbe5ef;box-shadow:0 12px 28px #0f172a26;z-index:20}.message-options button,.message-options a{display:flex;align-items:center;gap:7px;width:100%;padding:7px 10px;border-radius:7px;font-size:12px;font-weight:500;color:#1e293b;text-align:left}.message-options button:hover,.message-options a:hover,.message-options button:focus-visible,.message-options a:focus-visible{background:#eff6ff;color:#1d4ed8;outline:none}@media(max-width:960px){.message-actions .msg-reply-btn span{display:none}.message-actions .msg-reply-btn{width:28px!important;padding:0!important;justify-content:center}}.bubble-quote-block{display:flex;align-items:center;gap:8px;width:100%;margin:0 0 7px;padding:6px 9px;border-radius:8px;border:1px solid rgba(37,99,235,.22);background:#eff6ffeb;color:#0f172a;text-align:left;cursor:pointer;transition:background-color .15s,border-color .15s,transform .1s}.bubble-quote-block:hover,.bubble-quote-block:focus-visible{background:#dbeafe;border-color:#60a5fa;outline:none}.message.out .bubble-quote-block{background:#ffffffe0;border-color:#2563eb47;color:#0f172a}.message.out .bubble-quote-block:hover,.message.out .bubble-quote-block:focus-visible{background:#fff;border-color:#2563eb}.bubble-quote-bar{width:3px;align-self:stretch;min-height:28px;border-radius:999px;background:#2563eb;flex-shrink:0}.message.out .bubble-quote-bar{background:#1d4ed8}.bubble-quote-thumb{width:36px;height:36px;border-radius:6px;object-fit:cover;flex-shrink:0;border:1px solid rgba(148,163,184,.35);background:#f8fafc}.bubble-quote-body{display:flex;flex-direction:column;gap:2px;min-width:0;flex:1}.bubble-quote-sender{font-size:11.5px;font-weight:700;color:#1e40af;line-height:1.25;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.message.out .bubble-quote-sender{color:#1d4ed8}.bubble-quote-excerpt{font-size:11.5px;line-height:1.35;color:#334155;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden;overflow-wrap:anywhere}.message.out .bubble-quote-excerpt{color:#1e293b}.bubble-body-text{white-space:pre-wrap;overflow-wrap:anywhere}@keyframes crmMessageHighlightPulse{0%{box-shadow:0 0 #2563eb73;transform:translateY(-1px)}30%{box-shadow:0 0 0 4px #2563eb47}to{box-shadow:0 0 #2563eb00;transform:none}}.message.message-highlight-target>.bubble{outline:2px solid #2563eb;outline-offset:2px;animation:crmMessageHighlightPulse 2.4s ease-out;background:#eff6ff!important;color:#0f172a!important}.message.out.message-highlight-target>.bubble{background:#1d4ed8!important;color:#fff!important;outline-color:#f59e0b}.composer-context-preview{display:flex;align-items:center;flex-wrap:wrap;gap:6px;padding:4px 8px;border-radius:7px;background:#f8fafc;border:1px solid #e2e8f0;font-size:11px;color:#475569;line-height:1.35}.composer-context-preview strong{color:#0f172a;font-weight:700}.composer-context-divider{color:#94a3b8}.composer-draft-pill{margin-left:auto;padding:1px 7px;border-radius:999px;background:#dbeafe;color:#1d4ed8;font-size:10px;font-weight:700}.reply-quote-banner{display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:center;gap:6px;padding:6px 8px;border-radius:9px;background:#eff6ff;border:1px solid #93c5fd;box-shadow:0 1px 3px #2563eb14}.reply-quote-main{display:flex;align-items:center;gap:8px;min-width:0;padding:2px 4px;border:0;background:transparent;text-align:left;cursor:pointer;border-radius:6px;color:#0f172a}.reply-quote-main:hover,.reply-quote-main:focus-visible{background:#2563eb14;outline:none}.reply-quote-accent{width:3.5px;align-self:stretch;min-height:30px;border-radius:999px;background:#2563eb;flex-shrink:0}.reply-quote-thumb{width:38px;height:38px;border-radius:6px;object-fit:cover;flex-shrink:0;border:1px solid #cbd5e1;background:#fff}.reply-quote-copy{display:flex;flex-direction:column;gap:2px;min-width:0;flex:1}.reply-quote-heading{display:inline-flex;align-items:center;gap:5px;font-size:11.5px;font-weight:700;color:#1d4ed8;line-height:1.25}.reply-quote-snippet{font-size:11.5px;color:#334155;line-height:1.35;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.reply-quote-cancel{display:inline-grid;place-items:center;width:26px;height:26px;padding:0;border-radius:999px;border:1px solid #bfdbfe;background:#fff;color:#1e3a8a;font-size:16px;font-weight:700;line-height:1;cursor:pointer;flex-shrink:0}.reply-quote-cancel:hover,.reply-quote-cancel:focus-visible{background:#fee2e2;border-color:#fca5a5;color:#b91c1c;outline:none}.reply-quote-fallback-box{display:flex;flex-direction:column;gap:6px;padding:7px 9px;border-radius:8px;background:#fffbeb;border:1px solid #fcd34d;color:#92400e;font-size:11.5px;line-height:1.4}.reply-quote-fallback-reason{font-weight:600}.reply-quote-fallback-actions{display:flex;flex-wrap:wrap;gap:6px}.reply-quote-fallback-actions .compact-fallback-btn{padding:3px 9px!important;height:26px!important;border-radius:6px!important;font-size:11px!important;font-weight:600!important;background:#fff!important;border:1px solid #f59e0b!important;color:#92400e!important;cursor:pointer}.reply-quote-fallback-actions .compact-fallback-btn.active,.reply-quote-fallback-actions .compact-fallback-btn:hover,.reply-quote-fallback-actions .compact-fallback-btn:focus-visible{background:#2563eb!important;border-color:#1d4ed8!important;color:#fff!important;outline:none}.message-meta-line{display:inline-flex;align-items:center;flex-wrap:wrap;gap:4px}.msg-delivery-badge{display:inline-flex;align-items:center;gap:3px;padding:1px 6px;border-radius:999px;font-size:10.5px;font-weight:600;line-height:1.3}.msg-delivery-badge.sending{background:#fef3c7;color:#b45309}.msg-delivery-badge.sent{background:#dcfce7;color:#166534}.msg-delivery-badge.failed{background:#fee2e2;color:#b91c1c}.msg-delivery-badge.uncertain{background:#ffedd5;color:#c2410c}.send-failure{display:flex;align-items:center;justify-content:space-between;flex-wrap:wrap;gap:8px;padding:7px 10px;border-radius:8px;font-size:11.5px}.send-failure.uncertain{background:#fff7ed;border:1px solid #fdba74;color:#9a3412}.send-failure-actions{display:inline-flex;align-items:center;gap:6px;margin-left:auto}.send-failure-actions button{padding:4px 9px;border-radius:6px;font-size:11px;font-weight:600;background:#fff;border:1px solid currentColor;cursor:pointer}.composer-permission-reason{display:flex;align-items:center;justify-content:space-between;flex-wrap:wrap;gap:8px;padding:6px 10px;border-radius:8px;background:#fffbeb;border:1px solid #fde68a;color:#92400e;font-size:11.5px;font-weight:500;line-height:1.4}.composer-permission-reason.zalo_disconnected,.composer-permission-reason.zalo_disabled{background:#fff1f2;border-color:#fecdd3;color:#9f1239}.composer-permission-reason.unclaimed_handoff{background:#eff6ff;border-color:#93c5fd;color:#1e40af}.composer-permission-reason .compact-claim-btn{padding:4px 10px;font-size:11px;height:26px;border-radius:6px;background:#2563eb;color:#fff;border:0;font-weight:600}.composer-error-alert{margin:0;padding:6px 10px;border-radius:8px;background:#fff1f2;border:1px solid #fecdd3;color:#be123c;font-size:11.5px;font-weight:500}.composer-uncertain-bar{display:flex;align-items:center;justify-content:space-between;flex-wrap:wrap;gap:8px;padding:6px 10px;border-radius:8px;background:#fff7ed;border:1px solid #fdba74;color:#9a3412;font-size:11.5px}.chat-workspace-topbar{display:flex;align-items:center;gap:10px;flex-wrap:wrap;padding:5px 156px 5px 14px;background:#fff;border-bottom:1px solid #e2e8f0;flex-shrink:0;min-height:36px;position:relative;z-index:35}.chat-workspace-topbar .compact-inbox{position:relative;flex:0 0 auto;margin:0;padding:0 10px 0 0;border:0;border-right:1px solid #cbd5e1;background:transparent;font-size:12px;max-height:none;overflow:visible}.chat-workspace-topbar .compact-inbox summary{cursor:pointer;color:#475569;font-weight:500;white-space:nowrap;line-height:24px;-webkit-user-select:none;user-select:none}.chat-workspace-topbar .compact-inbox summary:hover{color:#1d4ed8}.chat-workspace-topbar .compact-inbox-dropdown{position:absolute;top:calc(100% + 6px);left:0;z-index:85;width:min(680px,calc(100vw - 280px));max-height:280px;overflow:auto;background:#fff;border:1px solid #cbd5e1;border-radius:10px;padding:12px 14px;box-shadow:0 12px 28px #0f172a29;margin-top:0}.chat-workspace-topbar .compact-inbox-dropdown-head{display:flex;align-items:flex-start;justify-content:space-between;gap:12px;margin-bottom:10px}.chat-workspace-topbar .compact-inbox-dropdown-head p{margin-top:4px;font-size:11.5px;color:#64748b}.chat-screen .chat-list .inbox-filters{position:relative;grid-template-columns:minmax(0,1fr) minmax(0,1fr);padding:0 12px 8px;gap:8px;align-items:end}.inbox-multiselect{display:grid;gap:4px;min-width:0}.inbox-multiselect-label{display:flex;align-items:center;justify-content:space-between;gap:4px;font-size:10px;font-weight:600;color:#64748b;line-height:1.2}.inbox-multiselect-count-pill{display:inline-flex;align-items:center;justify-content:center;padding:1px 5px;border-radius:999px;background:#dbeafe;color:#1d4ed8;font-size:9.5px;font-weight:700;line-height:1.2;white-space:nowrap}.inbox-multiselect-count-pill.active{background:#2563eb;color:#fff}.inbox-multiselect-btn{display:flex;align-items:center;justify-content:space-between;gap:4px;width:100%;min-width:0;height:32px;padding:4px 8px;font-size:11px;font-weight:600;border-radius:8px;color:#1e293b;background:#fff;border:1px solid #cbd5e1;cursor:pointer;text-align:left;transition:border-color .15s,box-shadow .15s,background-color .15s}.inbox-multiselect-btn:hover:not(:disabled){border-color:#93c5fd;background:#f8fafc}.inbox-multiselect-btn.open,.inbox-multiselect-btn:focus-visible{border-color:#2563eb;box-shadow:0 0 0 2px #2563eb2e;outline:none}.inbox-multiselect-btn.filtered{border-color:#60a5fa;background:#eff6ff;color:#1e3a8a}.inbox-multiselect-btn:disabled{opacity:.65;cursor:not-allowed;background:#f8fafc;color:#64748b}.inbox-multiselect-btn-text{flex:1;min-width:0;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.inbox-multiselect-caret{font-size:10px;color:#64748b;flex-shrink:0;transition:transform .15s}.inbox-multiselect-btn.open .inbox-multiselect-caret{transform:rotate(180deg);color:#2563eb}.inbox-multiselect-menu{position:absolute;top:calc(100% - 2px);left:10px;right:10px;min-width:min(280px,calc(100vw - 24px));z-index:75;background:#fff;border:1px solid #cbd5e1;border-radius:10px;box-shadow:0 14px 32px #0f172a33;padding:8px;display:flex;flex-direction:column;gap:6px}.inbox-multiselect-head{display:flex;align-items:center;justify-content:space-between;gap:6px;padding:2px 4px 6px;border-bottom:1px solid #f1f5f9;flex-wrap:wrap}.inbox-multiselect-head strong{font-size:11px;color:#0f172a;font-weight:700;white-space:nowrap}.inbox-multiselect-head-actions{display:inline-flex;align-items:center;gap:4px;flex-shrink:0}.inbox-multiselect-action-btn{padding:2px 7px!important;height:22px!important;min-height:22px!important;border-radius:5px!important;font-size:10px!important;font-weight:600!important;border:1px solid #cbd5e1!important;background:#f8fafc!important;color:#334155!important;cursor:pointer;white-space:nowrap}.inbox-multiselect-action-btn:hover{background:#eff6ff!important;border-color:#93c5fd!important;color:#1d4ed8!important}.inbox-multiselect-list{display:flex;flex-direction:column;gap:2px;max-height:280px;overflow-y:auto;scrollbar-width:thin}.inbox-multiselect-row{display:flex;flex-direction:row;align-items:center;justify-content:space-between;gap:6px;padding:6px 7px;border-radius:7px;cursor:pointer;transition:background-color .12s;-webkit-user-select:none;user-select:none}.inbox-multiselect-row:hover{background:#f1f5f9}.inbox-multiselect-row.checked{background:#eff6ff}.chat-screen .inbox-filters .inbox-multiselect-row-main,.inbox-multiselect-row-main{display:flex!important;flex-direction:row!important;align-items:center!important;gap:8px!important;min-width:0;flex:1;cursor:pointer;font-size:11.5px;color:#1e293b;font-weight:500;margin:0!important}.inbox-multiselect-row.checked .inbox-multiselect-row-main{color:#1e3a8a;font-weight:600}.chat-screen .inbox-filters .inbox-multiselect-row-main input[type=checkbox],.inbox-multiselect-row-main input[type=checkbox]{width:15px!important;height:15px!important;min-width:15px!important;margin:0!important;padding:0!important;accent-color:#2563eb;cursor:pointer;flex:0 0 15px!important}.inbox-multiselect-item-copy{display:flex;flex-direction:column;min-width:0;flex:1;line-height:1.3}.inbox-multiselect-item-title{display:flex;align-items:center;gap:5px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.inbox-multiselect-item-sub{font-size:10px;color:#64748b;font-weight:400;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.inbox-multiselect-only-btn{padding:2px 6px!important;height:21px!important;min-height:21px!important;border-radius:4px!important;font-size:9.5px!important;font-weight:600!important;border:1px solid transparent!important;background:transparent!important;color:#64748b!important;cursor:pointer;flex-shrink:0;opacity:.8}.inbox-multiselect-row:hover .inbox-multiselect-only-btn{opacity:1;border-color:#cbd5e1!important;background:#fff!important;color:#1d4ed8!important}.inbox-multiselect-only-btn:hover{background:#dbeafe!important;border-color:#93c5fd!important}@media(hover:none),(max-width:760px){.inbox-multiselect-only-btn{opacity:1;border-color:#cbd5e1!important;background:#fff!important;color:#1d4ed8!important}.chat-screen .chat-list .inbox-filters{padding:0 8px 6px;gap:6px}.inbox-multiselect-menu{left:6px;right:auto;width:min(310px,calc(100vw - 20px))}}.inbox-multiselect-dot{width:7px;height:7px;border-radius:50%;flex-shrink:0;display:inline-block}.inbox-multiselect-dot.active{background:#16a34a}.inbox-multiselect-dot.warn{background:#f59e0b}.inbox-multiselect-dot.off{background:#94a3b8}.inbox-multiselect-foot{display:flex;align-items:center;justify-content:space-between;gap:6px;padding-top:4px;border-top:1px solid #f1f5f9;font-size:10px;color:#64748b;line-height:1.35}.chat-screen .inbox-unified-bar{display:flex;align-items:center;justify-content:space-between;gap:6px;margin:0 12px 10px;padding:6px 9px;background:#eef2f6;border-radius:8px;flex-wrap:wrap}.chat-screen .inbox-unified-bar .inbox-unified-label{margin:0;padding:0;background:transparent;display:inline-flex;align-items:center;gap:6px;flex:1;min-width:0;color:#475569;font-size:11px;font-weight:600}.chat-screen .inbox-unified-bar .inbox-unified-label select{height:26px;padding:2px 6px;font-size:11px;border-radius:6px;border:1px solid #cbd5e1;background:#fff;color:#1e293b;font-weight:600}.inbox-reset-filter-btn{padding:3px 8px!important;height:24px!important;min-height:24px!important;border-radius:6px!important;font-size:10.5px!important;font-weight:700!important;background:#fff!important;color:#1d4ed8!important;border:1px solid #93c5fd!important;cursor:pointer;white-space:nowrap;width:auto!important}.inbox-reset-filter-btn:hover{background:#dbeafe!important}.inbox-empty-filter-card{padding:14px 12px;margin:8px 10px;border-radius:10px;background:#f8fafc;border:1px dashed #cbd5e1;font-size:11.5px;color:#475569;line-height:1.5}.inbox-empty-filter-card strong{display:block;color:#0f172a;font-size:12px}.inbox-empty-filter-card p{margin:4px 0 10px;white-space:normal}@media(max-width:700px){.chat-screen .inbox-unified-bar{margin:0 8px 8px;padding:5px 7px}}.chat-screen .chat-list .conversation{display:flex;flex-direction:column;align-items:stretch;gap:4px;padding:9px 10px}.chat-screen .chat-list .conversation-head-row{display:flex;align-items:center;gap:7px;width:100%;min-width:0}.chat-screen .chat-list .conversation-head-row .avatar{position:relative;width:26px;height:26px;min-width:26px;font-size:10px;font-weight:700;background:#e0e7ff;color:#4338ca;box-shadow:0 0 0 1.5px #fff;margin:0;flex-shrink:0}.chat-screen .chat-list .conversation-head-row .avatar:before{position:absolute;content:"Z";right:-3px;bottom:-2px;display:grid;place-items:center;width:12px;height:12px;background:#2563eb;color:#fff;border:1.5px solid #f8fafc;border-radius:50%;font-size:7px;font-weight:800;line-height:1}.chat-screen .chat-list .channel-website .conversation-head-row .avatar{background:#ccfbf1;color:#0f766e}.chat-screen .chat-list .channel-website .conversation-head-row .avatar:before{content:"W";background:#0d9488}.chat-screen .chat-list .conversation-head-row .conversation-title{flex:1;min-width:0;width:auto;margin:0;line-height:1.35}.chat-screen .chat-list .conversation-copy{display:flex;flex-direction:column;gap:2px;width:100%;min-width:0;flex:none;overflow:hidden}.chat-screen .chat-list .conversation-meta{display:flex;flex-wrap:nowrap;align-items:center;justify-content:space-between;gap:6px;margin:0;width:100%;min-width:0}.chat-screen .chat-list .conversation-meta small{min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.chat-screen .chat-list .conversation-preview{width:100%;max-width:100%!important;margin:1px 0 0;font-size:12px;line-height:1.4;color:#475569;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}@media(max-width:700px){.chat-screen .chat-list .conversation-head-row .avatar{width:22px;height:22px;min-width:22px;font-size:8.5px}}.chat-screen .conversation-head,.chat-screen .web-chat-conversation>header{padding:8px 14px;gap:8px}.chat-screen .messages,.chat-screen .web-chat-messages{padding:10px 14px;gap:6px}.chat-screen .date-divider{padding:2px 9px;margin-bottom:2px;font-size:9.5px}.chat-screen .composer{padding:8px 14px}.chat-screen .message{display:grid;column-gap:7px;row-gap:4px;align-items:center;min-width:0;max-width:min(86%,680px)}.chat-screen .message.in{grid-template-columns:26px minmax(0,auto) auto;justify-content:start;align-self:flex-start}.chat-screen .message.out{grid-template-columns:auto minmax(0,auto);justify-content:end;align-self:flex-end}.chat-screen .message.in>.msg-row-avatar{grid-column:1;grid-row:1;align-self:flex-start;margin-top:2px;width:26px;height:26px;min-width:26px;border-radius:50%;background:#e0e7ff;color:#4338ca;display:inline-flex;align-items:center;justify-content:center;font-size:9.5px;font-weight:700;overflow:hidden;box-shadow:0 0 0 1.5px #fff}.chat-screen .message.in>.msg-row-avatar img{width:100%;height:100%;object-fit:cover;border-radius:50%}.chat-screen .message.in>.bubble{grid-column:2;grid-row:1;min-width:0;border-radius:4px 11px 11px;padding:6px 10px;line-height:1.42;font-size:13px}.chat-screen .message.in>.message-actions{grid-column:3;grid-row:1;width:auto;margin:0;align-self:center;opacity:.75;transition:opacity .12s}.chat-screen .message.out>.message-actions{grid-column:1;grid-row:1;width:auto;margin:0;align-self:center;opacity:.75;transition:opacity .12s}.chat-screen .message.out>.bubble{grid-column:2;grid-row:1;min-width:0;border-radius:11px 4px 11px 11px;padding:6px 10px;line-height:1.42;font-size:13px}.chat-screen .message:hover>.message-actions,.chat-screen .message:focus-within>.message-actions{opacity:1}.chat-screen .message.out>.send-failure{grid-column:1 / -1;grid-row:2}.chat-screen .web-chat-bubble{border-radius:11px;padding:6px 10px;line-height:1.42;font-size:13px}.bubble-head-inline{display:flex;align-items:center;justify-content:space-between;flex-wrap:wrap;gap:8px;margin-bottom:2px;line-height:1.2}.bubble-sender-wrap{display:inline-flex;align-items:center;gap:4px;min-width:0}.sender-avatar-inline{width:15px;height:15px;min-width:15px;border-radius:50%;background:#dbeafe;color:#1d4ed8;display:inline-flex;align-items:center;justify-content:center;font-size:8px;font-weight:700;overflow:hidden;flex-shrink:0}.sender-avatar-inline img{width:100%;height:100%;object-fit:cover;border-radius:50%}.bubble-sender-label{font-size:10.5px;font-weight:650;color:#475569;line-height:1.2}.message.out .bubble-sender-label,.web-chat-bubble.staff .bubble-sender-label{color:#1d4ed8}.bubble-meta-inline{display:inline-flex;align-items:center;gap:5px;font-size:10px;color:#64748b;white-space:nowrap;margin-left:auto}.bubble-meta-inline time{font-variant-numeric:tabular-nums}.bubble-handoff-tag{color:#b45309;font-weight:600}.bubble-head-inline .msg-delivery-badge{padding:0 5px;font-size:9.5px;line-height:1.25}.bubble-reactions-inline{display:inline-flex;align-items:center;gap:3px}.bubble-reaction-pill{display:inline-flex;align-items:center;gap:2px;background:#fff;border:1px solid #dbe4ef;border-radius:999px;padding:0 5px;font-size:10px;line-height:1.3;color:#334155}.chat-screen .message-actions .msg-reply-btn{height:24px!important;padding:0 7px!important;font-size:11px!important}.chat-screen .message>.message-actions>button:not(.msg-reply-btn){width:24px;height:24px;padding:2px;font-size:14px}.composer-ghost-wrap{position:relative;width:100%}.composer-ghost-overlay{position:absolute;inset:1px;padding:7px 10px;display:block;pointer-events:none;overflow:hidden;border-radius:9px}.composer-ghost-text-inline{font-size:13px;line-height:1.42;color:#64748b;word-break:break-word}.ai-ghost-keycap{pointer-events:auto;display:inline-flex;align-items:center;justify-content:center;min-width:24px;height:18px;padding:0 5px;border-radius:5px;background:linear-gradient(180deg,#fff,#eff6ff);border:1px solid #93c5fd;box-shadow:0 1.5px #93c5fd,0 1px 2px #2563eb1f;color:#1d4ed8;cursor:pointer;vertical-align:middle;transition:transform .08s,background .12s,border-color .12s}.ai-ghost-tail-btn{margin-left:6px;transform:translateY(-1px)}.ai-ghost-keycap:hover{background:#dbeafe;border-color:#3b82f6;color:#1e40af}.ai-ghost-keycap:active{transform:translateY(0);box-shadow:0 .5px #93c5fd}.chat-screen .message-actions .msg-reply-btn{width:26px!important;height:26px!important;padding:0!important;justify-content:center;border-radius:50%!important}.chat-screen .message.out>.message-actions{opacity:0;transition:opacity .14s}.chat-screen .message.out:hover>.message-actions,.chat-screen .message.out:focus-within>.message-actions{opacity:.85}.bubble-sender-btn{all:unset;display:inline-flex;align-items:center;cursor:pointer;border-radius:4px;padding:0 2px;margin:0 -2px;transition:color .12s,background .12s}.bubble-sender-btn .bubble-sender-label{color:#1e3a8a;font-weight:700;transition:color .12s}.bubble-sender-btn:hover{background:#eff6ff}.bubble-sender-btn:hover .bubble-sender-label{color:#0068ff;text-decoration:underline}.bubble-sender-btn:focus-visible{outline:2px solid #3b82f6;outline-offset:1px}.msg-avatar-clickable{border:none;padding:0;cursor:pointer;transition:transform .12s,box-shadow .12s}.msg-avatar-clickable:hover{transform:scale(1.07);box-shadow:0 0 0 2px #3b82f6!important}.header-avatar-btn{border:none;cursor:pointer;transition:transform .12s,box-shadow .12s}.header-avatar-btn:hover{transform:scale(1.05);box-shadow:0 0 0 2px #93c5fd}.header-customer-name-btn{all:unset;cursor:pointer;font:inherit;color:inherit;border-radius:5px;padding:1px 4px;margin:-1px -4px;transition:color .12s,background .12s}.header-customer-name-btn:hover{color:#0068ff;background:#eff6ff;text-decoration:underline}.header-customer-name-btn:focus-visible{outline:2px solid #3b82f6}.zalo-profile-overlay{z-index:1200;-webkit-backdrop-filter:blur(2px);backdrop-filter:blur(2px)}.zalo-member-modal{width:min(440px,94vw);max-height:90vh;background:#fff;border-radius:16px;overflow:hidden;box-shadow:0 24px 56px #0f172a42;display:flex;flex-direction:column;border:1px solid #dbe4f0}.zalo-member-cover{height:112px;background:linear-gradient(135deg,#0068ff,#1d4ed8 58%,#0f172a);position:relative;flex-shrink:0}.zalo-member-cover-top{display:flex;align-items:center;justify-content:space-between;padding:10px 14px;background:linear-gradient(180deg,#0f172a7a,#0f172a00)}.zalo-member-modal-title{color:#fff;font-size:13.5px;font-weight:700;letter-spacing:.01em;text-shadow:0 1px 2px rgba(0,0,0,.35)}.zalo-member-close-btn{width:28px;height:28px;border-radius:50%;border:none;background:#0f172a6b;color:#fff;display:inline-flex;align-items:center;justify-content:center;cursor:pointer;padding:0;transition:background .14s}.zalo-member-close-btn:hover{background:#0f172ab8}.zalo-member-hero{display:flex;align-items:flex-start;gap:13px;padding:10px 18px 2px;position:relative;flex-shrink:0;background:#fff}.zalo-member-avatar-ring{width:72px;height:72px;min-width:72px;margin-top:-42px;border-radius:50%;background:linear-gradient(135deg,#dbeafe,#e0e7ff);border:3.5px solid #ffffff;box-shadow:0 4px 14px #0f172a26;display:flex;align-items:center;justify-content:center;overflow:hidden;font-size:21px;font-weight:800;color:#1d4ed8}.zalo-member-avatar-ring img{width:100%;height:100%;object-fit:cover}.zalo-member-identity{padding-bottom:2px;min-width:0;flex:1}.zalo-member-identity h3{margin:0;font-size:17.5px;font-weight:800;color:#0f172a;line-height:1.25;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.zalo-member-subname{font-size:12px;color:#64748b;margin-top:1px}.zalo-member-badges{display:flex;flex-wrap:wrap;gap:5px;margin-top:5px}.zalo-friendship-pill{display:inline-flex;align-items:center;gap:4px;font-size:11px;font-weight:600;padding:2px 8px;border-radius:999px;background:#f1f5f9;color:#475569;border:1px solid #e2e8f0}.zalo-friendship-pill.is-friend{background:#dcfce7;color:#166534;border-color:#86efac}.zalo-group-origin-pill{display:inline-flex;align-items:center;gap:4px;font-size:11px;font-weight:600;padding:2px 8px;border-radius:999px;background:#eff6ff;color:#1d4ed8;border:1px solid #bfdbfe;max-width:190px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.zalo-member-actions-bar{display:flex;gap:8px;padding:12px 18px 10px;border-bottom:1px solid #eef2f7;flex-shrink:0}.zalo-dm-primary-btn{flex:1;justify-content:center;background:#0068ff!important;border-color:#0068ff!important;font-weight:700;height:36px;border-radius:8px;font-size:13.5px}.zalo-dm-primary-btn:hover:not(:disabled){background:#0054d1!important}.zalo-friend-btn,.zalo-edit-crm-btn{width:auto!important;height:36px;padding:0 12px;border-radius:8px;font-size:12.5px;font-weight:600;display:inline-flex;align-items:center;gap:5px}.zalo-member-scroll-body{padding:12px 18px 18px;overflow-y:auto;display:flex;flex-direction:column;gap:12px}.zalo-member-alert{padding:8px 11px;border-radius:8px;font-size:12.5px;display:flex;align-items:center;gap:6px}.zalo-member-alert.error{background:#fef2f2;border:1px solid #fecaca;color:#991b1b}.zalo-member-alert.success{background:#f0fdf4;border:1px solid #86efac;color:#166534}.zalo-quick-dm-box{background:#f8fbff;border:1px solid #dbeafe;border-radius:10px;padding:9px 11px;display:flex;flex-direction:column;gap:6px}.zalo-quick-dm-box label{font-size:11.5px;color:#334155;margin:0}.zalo-quick-dm-row{display:flex;gap:7px;align-items:flex-end}.zalo-quick-dm-row textarea{flex:1;min-height:44px;max-height:92px;resize:vertical;font-size:12.5px;padding:6px 9px;border-radius:8px;border:1px solid #cbd5e1;background:#fff}.zalo-quick-dm-send{width:auto!important;height:36px;padding:0 11px;font-size:12.5px;border-radius:8px;white-space:nowrap}.zalo-member-loading{padding:18px 0;text-align:center;font-size:13px;color:#64748b}.zalo-member-bio{font-size:12.5px;font-style:italic;color:#475569;background:#f8fafc;padding:7px 10px;border-radius:8px;border-left:3px solid #3b82f6}.zalo-member-section{border-top:1px solid #f1f5f9;padding-top:10px}.zalo-member-section h4{margin:0 0 8px;font-size:12px;font-weight:700;text-transform:uppercase;letter-spacing:.04em;color:#64748b}.zalo-member-dl{margin:0;display:grid;gap:7px}.zalo-member-dl>div{display:grid;grid-template-columns:125px minmax(0,1fr);gap:8px;align-items:baseline;font-size:12.5px}.zalo-member-dl dt{color:#64748b;font-weight:500}.zalo-member-dl dd{margin:0;color:#0f172a;word-break:break-word}.muted-val{color:#94a3b8}.mono-val{font-family:ui-monospace,SFMono-Regular,Menlo,monospace;font-size:11.5px;color:#475569}.zalo-phone-chips{display:inline-flex;flex-wrap:wrap;gap:5px}.zalo-phone-chip{display:inline-flex;align-items:center;gap:4px;padding:2px 8px;border-radius:999px;background:#eff6ff;border:1px solid #bfdbfe;color:#1d4ed8;font-size:12px;font-weight:600;cursor:pointer}.zalo-phone-chip:hover{background:#dbeafe}.zalo-tag-row{display:flex;flex-wrap:wrap;gap:4px}.zalo-crm-tag{font-size:11px;padding:1px 7px;border-radius:999px;background:#f1f5f9;color:#334155;border:1px solid #e2e8f0}.zalo-recent-orders{margin-top:8px;display:flex;flex-direction:column;gap:5px}.zalo-recent-order-item{display:flex;justify-content:space-between;align-items:center;gap:8px;padding:6px 9px;border-radius:8px;background:#f8fafc;border:1px solid #e2e8f0;font-size:12px}.zalo-recent-order-item div{display:flex;flex-direction:column;min-width:0}.zalo-recent-order-item span{color:#64748b;font-size:11px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.zalo-other-channels{margin-top:9px;padding-top:8px;border-top:1px dashed #e2e8f0;display:flex;flex-direction:column;gap:6px}.zalo-other-channels small{display:inline-flex;align-items:center;gap:4px;color:#475569;font-size:11.5px}.zalo-other-channel-btns{display:flex;flex-wrap:wrap;gap:6px}.zalo-other-channel-btns button{width:auto!important;padding:4px 10px;font-size:11.5px}.customer-name-phone{gap:7px!important}.header-view-members-btn{display:inline-flex!important;align-items:center;gap:5px;height:29px;padding:0 10px!important;border-radius:7px;font-size:12px!important;font-weight:650;color:#1e3a8a!important;background:#f0f7ff!important;border:1px solid #bfdbfe!important;white-space:nowrap;width:auto!important;flex-shrink:0}.header-view-members-btn:hover{background:#dbeafe!important;border-color:#93c5fd!important;color:#1d4ed8!important}.header-members-count-badge{display:inline-flex;align-items:center;justify-content:center;min-width:19px;height:18px;padding:0 5px;border-radius:999px;background:#2563eb;color:#fff;font-size:11px;font-weight:750;line-height:1}.header-create-group-btn{height:29px;padding:0 11px!important;font-size:12px!important;border-radius:7px;white-space:nowrap;width:auto!important;flex-shrink:0}.zalo-group-members-modal{width:min(520px,94vw);max-height:86vh;background:#fff;border-radius:16px;overflow:hidden;box-shadow:0 24px 56px #0f172a42;display:flex;flex-direction:column;border:1px solid #dbe4f0}.zalo-grp-modal-head{display:flex;align-items:flex-start;justify-content:space-between;gap:12px;padding:14px 18px 12px;border-bottom:1px solid #eef2f7;background:linear-gradient(180deg,#f8fbff,#fff)}.zalo-grp-modal-head h3{margin:0;font-size:16.5px;font-weight:800;color:#0f172a;display:flex;align-items:center;gap:7px}.zalo-grp-modal-head p{margin:3px 0 0;font-size:12px;color:#64748b}.zalo-grp-search-wrap{display:flex;align-items:center;gap:8px;margin:10px 16px 2px;padding:7px 11px;border-radius:9px;background:#f8fafc;border:1px solid #e2e8f0;color:#64748b}.zalo-grp-search-wrap input{border:0;background:transparent;width:100%;font-size:13px;color:#0f172a;outline:none}.zalo-grp-members-list{padding:10px 16px 16px;overflow-y:auto;display:flex;flex-direction:column;gap:6px}.zalo-grp-member-row{display:flex;align-items:center;justify-content:space-between;gap:8px;padding:7px 9px;border-radius:10px;border:1px solid #eef2f7;background:#fff;transition:background .12s,border-color .12s}.zalo-grp-member-row:hover{background:#f8fbff;border-color:#dbeafe}.zalo-grp-member-main{all:unset;display:flex;align-items:center;gap:10px;min-width:0;flex:1;cursor:pointer}.zalo-grp-member-main:disabled{cursor:default}.zalo-grp-mem-avatar{width:38px;height:38px;min-width:38px;border-radius:50%;background:#dbeafe;color:#1d4ed8;font-size:12.5px;font-weight:800;display:inline-flex;align-items:center;justify-content:center;overflow:hidden;border:1.5px solid #ffffff;box-shadow:0 1px 4px #0f172a1a}.zalo-grp-mem-avatar.self{background:#dcfce7;color:#166534}.zalo-grp-mem-avatar img{width:100%;height:100%;object-fit:cover}.zalo-grp-member-copy{display:flex;flex-direction:column;min-width:0}.zalo-grp-member-copy strong{font-size:13.5px;color:#0f172a;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.zalo-grp-member-main:not(:disabled):hover .zalo-grp-member-copy strong{color:#0068ff;text-decoration:underline}.zalo-grp-member-copy small{display:flex;align-items:center;gap:4px;font-size:11.5px;color:#64748b;margin-top:2px}.grp-role-pill{display:inline-flex;align-items:center;gap:3px;padding:1px 7px;border-radius:999px;font-size:10.5px;font-weight:700}.grp-role-pill.creator{background:#fef3c7;color:#b45309;border:1px solid #fde68a}.grp-role-pill.admin{background:#e0e7ff;color:#4338ca;border:1px solid #c7d2fe}.grp-role-pill.self{background:#dcfce7;color:#166534;border:1px solid #86efac}.grp-role-pill.member{background:#f1f5f9;color:#475569;border:1px solid #e2e8f0}.zalo-grp-member-actions{display:flex;align-items:center;gap:6px;flex-shrink:0}.grp-row-btn{width:auto!important;height:28px;padding:0 9px!important;font-size:11.5px!important;border-radius:7px;display:inline-flex;align-items:center;gap:4px}.grp-row-btn.dm{background:#0068ff!important}.zalo-shared-groups-box{margin-top:8px;padding-top:10px;border-top:1px dashed #dbe4f0;display:flex;flex-direction:column;gap:6px}.zalo-shared-groups-box h4{margin:0 0 2px;font-size:11.5px;text-transform:uppercase;color:#64748b;letter-spacing:.04em}.zalo-shared-group-row{display:flex;align-items:center;justify-content:space-between;gap:8px;padding:7px 10px;border-radius:9px;background:#f8fafc;border:1px solid #e2e8f0}.zalo-shared-group-row strong{font-size:13px;color:#0f172a}.zalo-shared-group-row small{font-size:11.5px;color:#64748b}.zalo-grp-modal-foot{display:flex;align-items:center;justify-content:space-between;gap:10px;padding:11px 18px;background:#f8fafc;border-top:1px solid #eef2f7;font-size:12px;color:#475569}.composer-sender-select{appearance:auto;padding:2px 7px;border-radius:999px;font-size:11.5px;font-weight:700;cursor:pointer;max-width:230px;line-height:1.35;transition:border-color .15s,background .15s}.composer-sender-select.own{background:#ecfdf5;color:#065f46;border:1px solid #6ee7b7}.composer-sender-select.own:hover{background:#d1fae5;border-color:#34d399}.composer-sender-select.other{background:#fffbeb;color:#92400e;border:1px solid #fcd34d}.composer-sender-select.other:hover{background:#fef3c7;border-color:#f59e0b}.composer-sender-static.own{color:#0f172a;font-weight:700}.composer-sender-static.other{background:#fffbeb;color:#92400e;border:1px solid #fde68a;border-radius:999px;padding:1px 7px;font-size:11px;font-weight:700}.attachment-status-sending{display:inline-flex;align-items:center;gap:5px;padding:4px 9px;border-radius:8px;background:#ffffff2e;font-size:12px;font-weight:600}.chat-screen .customer-detail,.chat-screen .web-customer-detail{background:#f8fafc;padding:12px;display:flex;flex-direction:column;gap:10px}@media(max-width:1100px){.chat-screen .customer-detail{max-height:360px}}@media(max-width:700px){.chat-screen .customer-detail{max-height:none}}.sidebar-card{background:#fff;border:1px solid #e2e8f0;border-radius:12px;padding:12px;box-shadow:0 1px 2px #0f172a0a;min-width:0}.customer-detail .chat-support,.web-customer-detail .chat-support{background:#fff;border:1px solid #e2e8f0;border-radius:12px;padding:12px;margin-bottom:0;box-shadow:0 1px 2px #0f172a0a}.customer-detail .chat-support h3,.web-customer-detail .chat-support h3{font-size:13.5px;color:#0f172a;font-weight:700}.sih-header{display:flex;align-items:center;justify-content:space-between;gap:8px;margin-bottom:8px}.sih-title-wrap{display:flex;align-items:center;gap:6px;min-width:0;flex-wrap:wrap}.sih-title-wrap h3{display:inline-flex;align-items:center;gap:6px;margin:0;font-size:13.5px;font-weight:700;color:#0f172a}.sih-count-pill{display:inline-flex;align-items:center;gap:4px;font-size:10.5px;font-weight:700;padding:2px 7px;border-radius:999px;line-height:1.3}.sih-count-pill.active{background:#ecfdf5;color:#047857;border:1px solid #a7f3d0}.sih-count-pill.saved{background:#eff6ff;color:#1d4ed8;border:1px solid #bfdbfe}.sih-count-pill.empty{background:#f1f5f9;color:#64748b;border:1px solid #e2e8f0}.sih-head-actions{display:flex;align-items:center;gap:4px;flex-shrink:0}.sih-icon-btn{display:inline-flex;align-items:center;justify-content:center;width:26px;height:26px;border-radius:7px;border:1px solid #e2e8f0;background:#fff;color:#475569;cursor:pointer;padding:0;transition:background .15s,border-color .15s}.sih-icon-btn:hover:not(:disabled){background:#f1f5f9;border-color:#cbd5e1;color:#0f172a}.sih-icon-btn:disabled{opacity:.5;cursor:not-allowed}.sih-manage-link{display:inline-flex;align-items:center;gap:3px;padding:4px 8px;border-radius:7px;border:1px solid #dbe4ef;background:#f8fafc;color:#1d4ed8;font-size:11px;font-weight:600;text-decoration:none}.sih-manage-link:hover{background:#eff6ff;border-color:#93c5fd}@keyframes sihSpin{0%{transform:rotate(0)}to{transform:rotate(360deg)}}.sih-spin{animation:sihSpin .8s linear infinite}.sih-meta-strip{display:flex;flex-wrap:wrap;gap:5px;margin-bottom:9px}.sih-pill{display:inline-flex;align-items:center;gap:4px;font-size:11px;font-weight:600;padding:2px 8px;border-radius:999px;text-decoration:none;line-height:1.4}.sih-pill.ok{background:#f0fdf4;color:#166534;border:1px solid #bbf7d0}.sih-pill.muted{background:#f8fafc;color:#64748b;border:1px solid #e2e8f0}.sih-pill.drive{background:#ecfeff;color:#0e7490;border:1px solid #a5f3fc}.sih-pill.drive:hover{background:#cffafe}.sih-pill.file{background:#eff6ff;color:#1d4ed8;border:1px solid #bfdbfe}.sih-alert{margin:0 0 8px;padding:7px 9px;border-radius:8px;font-size:11.5px;line-height:1.45}.sih-alert.error{background:#fef2f2;color:#b91c1c;border:1px solid #fecaca}.sih-alert.info{background:#eff6ff;color:#1d4ed8;border:1px solid #bfdbfe}.sih-loading{font-size:12px;color:#64748b;padding:10px 4px;text-align:center}.sih-cards-list{display:flex;flex-direction:column;gap:8px}.sidebar-intake-card{width:100%;text-align:left;background:#fff;border:1px solid #dbe4ef;border-radius:10px;padding:10px 11px;cursor:pointer;display:flex;flex-direction:column;gap:5px;transition:border-color .15s,box-shadow .15s,transform .12s,background .15s;color:#0f172a}.sidebar-intake-card.is-active{border-color:#6ee7b7;background:linear-gradient(180deg,#f0fdf9,#fff)}.sidebar-intake-card.is-saved{border-color:#bfdbfe;background:#fff}.sidebar-intake-card:hover{border-color:#0284c7;box-shadow:0 4px 12px #0284c71f;transform:translateY(-1px)}.sidebar-intake-card.is-active:hover{border-color:#059669;box-shadow:0 4px 12px #05966924}.sic-top{display:flex;align-items:center;justify-content:space-between;gap:6px;width:100%}.sic-name{display:inline-flex;align-items:center;gap:5px;font-size:12px;font-weight:700;color:#0f172a;min-width:0}.sic-name>span:last-child{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.sic-ico{font-size:13px;flex-shrink:0}.sic-badge{display:inline-flex;align-items:center;gap:4px;font-size:10px;font-weight:700;padding:2px 6px;border-radius:999px;flex-shrink:0;white-space:nowrap}.sic-badge.active{background:#dcfce7;color:#15803d}.sic-badge.saved{background:#eff6ff;color:#1d4ed8}.sic-badge.draft{background:#f1f5f9;color:#475569}@keyframes sicPulse{0%{box-shadow:0 0 #10b9818c}70%{box-shadow:0 0 0 6px #10b98100}to{box-shadow:0 0 #10b98100}}.sic-pulse{display:inline-block;width:6px;height:6px;border-radius:50%;background:#10b981;animation:sicPulse 1.8s infinite;flex-shrink:0}.sic-title{font-size:12.5px;font-weight:650;color:#1e293b;line-height:1.35;overflow-wrap:anywhere}.sic-preview{font-size:11.5px;color:#64748b;line-height:1.4;overflow-wrap:anywhere}.sic-foot{display:flex;align-items:center;justify-content:space-between;gap:6px;margin-top:2px;padding-top:5px;border-top:1px dashed #e2e8f0}.sic-tags{display:flex;flex-wrap:wrap;gap:4px;min-width:0}.sic-tag{display:inline-flex;align-items:center;gap:3px;font-size:10.5px;font-weight:600;padding:1px 6px;border-radius:6px}.sic-tag.price{background:#fff7ed;color:#c2410c;border:1px solid #fed7aa}.sic-tag.ai{background:#f5f3ff;color:#6d28d9;border:1px solid #ddd6fe}.sic-cta{display:inline-flex;align-items:center;gap:2px;font-size:11px;font-weight:700;color:#0369a1;flex-shrink:0;margin-left:auto}.sidebar-intake-card:hover .sic-cta{color:#0284c7;text-decoration:underline}.sidebar-intake-chips{margin-top:9px;padding-top:8px;border-top:1px dashed #e2e8f0}.sic-chips-label{display:block;font-size:10.5px;font-weight:600;color:#64748b;margin-bottom:5px}.sic-chips-wrap{display:flex;flex-wrap:wrap;gap:5px}.sic-chip-btn{display:inline-flex;align-items:center;gap:4px;padding:3px 8px;border-radius:999px;border:1px solid #dbe4ef;background:#f8fafc;color:#334155;font-size:11px;font-weight:600;cursor:pointer;transition:background .15s,border-color .15s}.sic-chip-btn:hover{background:#eff6ff;border-color:#93c5fd;color:#1d4ed8}.sidebar-intake-empty{background:#f8fafc;border:1px dashed #cbd5e1;border-radius:10px;padding:10px;display:flex;flex-direction:column;gap:8px}.sih-empty-text{margin:0;font-size:12px;color:#475569;line-height:1.45}.sih-empty-controls{display:flex;flex-direction:column;gap:7px}.sih-empty-controls select{width:100%;height:34px;border:1px solid #cbd5e1;border-radius:8px;padding:4px 8px;font-size:12px;background:#fff;color:#0f172a}.sih-create-btn{display:inline-flex;align-items:center;justify-content:center;gap:6px;width:100%;padding:8px 11px;border-radius:8px;border:0;background:linear-gradient(135deg,#0f766e,#0369a1);color:#fff;font-size:12.5px;font-weight:700;cursor:pointer;box-shadow:0 2px 6px #0f766e38}.sih-create-btn:hover:not(:disabled){filter:brightness(1.06)}.sih-create-btn:disabled{opacity:.6;cursor:not-allowed}.sih-empty-note{margin:0;font-size:11px;color:#64748b;line-height:1.4}.cms-order-history{display:flex;flex-direction:column;gap:8px}.coh-head{display:flex;align-items:center;justify-content:space-between;gap:6px}.coh-toggle{display:inline-flex;align-items:center;gap:6px;background:none;border:0;padding:0;margin:0;cursor:pointer;font-size:13.5px;font-weight:700;color:#0f172a;text-align:left}.coh-toggle:hover{color:#0369a1}.coh-count{display:inline-flex;align-items:center;justify-content:center;min-width:18px;height:18px;padding:0 6px;border-radius:999px;font-size:11px;font-weight:700}.coh-count.has{background:#eff6ff;color:#1d4ed8}.coh-count.empty{background:#f1f5f9;color:#64748b}.coh-list{display:flex;flex-direction:column;gap:6px;max-height:220px;overflow-y:auto;scrollbar-width:thin;padding-right:2px}.coh-row{border:1px solid #e2e8f0;border-radius:8px;padding:8px 9px;background:#f8fafc;display:flex;flex-direction:column;gap:4px}.coh-row-top{display:flex;align-items:center;justify-content:space-between;gap:6px}.coh-code{display:inline-flex;align-items:center;gap:3px;font-size:12px;font-weight:700;color:#1d4ed8;text-decoration:none}.coh-code:hover{text-decoration:underline}.coh-code-text{font-size:12px;color:#334155}.coh-badge{font-size:10px;font-weight:700;padding:2px 6px;border-radius:999px;white-space:nowrap;max-width:58%;overflow:hidden;text-overflow:ellipsis}.coh-badge.good{background:#dcfce7;color:#166534}.coh-badge.muted{background:#e2e8f0;color:#475569}.coh-row-bot{display:flex;align-items:center;justify-content:space-between;gap:6px;font-size:11.5px;color:#64748b}.coh-row-bot strong{color:#0f172a;font-size:12px}.coh-empty{margin:0;font-size:12px;color:#64748b}.internal-notes-collapse{padding:10px 12px}.internal-notes-collapse>summary{cursor:pointer;font-size:12.5px;font-weight:700;color:#334155;display:flex;align-items:center;gap:6px;list-style:none}.internal-notes-collapse>summary::-webkit-details-marker{display:none}.internal-notes-collapse .internal-notes{border-bottom:0;margin-bottom:0;padding-bottom:0;margin-top:8px}@keyframes crmDrawerSlideIn{0%{opacity:0;transform:translate(26px)}to{opacity:1;transform:translate(0)}}.crm-intake-drawer-backdrop{position:fixed;inset:0;z-index:95;background:#0f172a85;-webkit-backdrop-filter:blur(2px);backdrop-filter:blur(2px);display:flex;justify-content:flex-end}.crm-intake-drawer-panel{width:min(1180px,96vw);height:100vh;background:#f8fafc;box-shadow:-12px 0 38px #0f172a42;overflow-y:auto;animation:crmDrawerSlideIn .18s ease-out;scrollbar-width:thin}.crm-intake-drawer-loading{padding:48px 24px;text-align:center;font-size:14px;color:#475569;font-weight:600}.composer-attach-wrap{position:relative;display:inline-flex}.composer-attach-menu{position:absolute;bottom:calc(100% + 8px);left:0;z-index:60;min-width:255px;background:#fff;border:1px solid #cbd5e1;border-radius:11px;box-shadow:0 14px 32px #0f172a2e;padding:5px;display:flex;flex-direction:column;gap:3px}.composer-attach-menu button{width:100%;display:flex;align-items:center;gap:9px;padding:9px 11px;border:0;border-radius:8px;background:transparent;color:#0f172a;font-size:12.5px;font-weight:600;cursor:pointer;text-align:left;transition:background .12s,color .12s}.composer-attach-menu button:hover:not(:disabled){background:#eff6ff;color:#1d4ed8}.composer-attach-menu button:disabled{opacity:.5;cursor:not-allowed}.attachment-queue{background:#f8fafc;border:1px solid #dbe4ef;border-radius:10px;padding:8px 10px;margin:4px 0 6px;display:flex;flex-direction:column;gap:6px}.attachment-queue-list{display:flex;flex-wrap:wrap;gap:7px;max-height:132px;overflow-y:auto}.attachment-chip{display:inline-flex;align-items:center;gap:8px;background:#fff;border:1px solid #cbd5e1;border-radius:9px;padding:5px 8px;max-width:260px}.attachment-chip .clipboard-preview{width:34px;height:34px;object-fit:cover;border-radius:6px;flex-shrink:0}.attachment-chip-meta{display:flex;flex-direction:column;min-width:0}.attachment-chip-meta strong{font-size:12px;color:#0f172a;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.attachment-chip-meta small{font-size:10.5px;color:#64748b;white-space:nowrap}.attachment-chip>button{border:0;background:#f1f5f9;color:#475569;width:20px;height:20px;border-radius:50%;cursor:pointer;font-size:14px;line-height:1;display:inline-flex;align-items:center;justify-content:center;flex-shrink:0;padding:0}.attachment-chip>button:hover{background:#fee2e2;color:#dc2626}.attachment-queue-foot{display:flex;align-items:center;justify-content:space-between;gap:8px;font-size:11px;color:#64748b}.cfp-backdrop{position:fixed;inset:0;z-index:250;background:#0f172a8f;-webkit-backdrop-filter:blur(2px);backdrop-filter:blur(2px);display:flex;align-items:center;justify-content:center;padding:16px}.cfp-modal{width:min(940px,96vw);max-height:90vh;background:#fff;border-radius:14px;border:1px solid #cbd5e1;box-shadow:0 24px 60px #0f172a4d;display:flex;flex-direction:column;overflow:hidden}.cfp-head{display:flex;align-items:flex-start;justify-content:space-between;gap:12px;padding:14px 18px;border-bottom:1px solid #e2e8f0;background:#fff}.cfp-head-copy h3{margin:0;font-size:15.5px;font-weight:750;color:#0f172a;display:flex;align-items:center;gap:7px}.cfp-head-copy p{margin:3px 0 0;font-size:12px;color:#64748b}.cfp-close-btn{border:1px solid #e2e8f0;background:#f8fafc;color:#475569;width:32px;height:32px;border-radius:8px;display:inline-flex;align-items:center;justify-content:center;cursor:pointer;flex-shrink:0}.cfp-close-btn:hover:not(:disabled){background:#f1f5f9;color:#0f172a}.cfp-tabs{display:flex;gap:8px;padding:9px 18px 0;background:#f8fafc;border-bottom:1px solid #e2e8f0}.cfp-tab{display:inline-flex;align-items:center;gap:6px;padding:8px 13px;border:1px solid transparent;border-bottom:0;border-radius:9px 9px 0 0;background:transparent;color:#475569;font-size:12.5px;font-weight:650;cursor:pointer;position:relative;top:1px}.cfp-tab.active{background:#fff;color:#0f766e;border-color:#e2e8f0}.cfp-tab-badge{font-size:11px;padding:1px 6px;border-radius:999px;background:#e2e8f0;color:#334155;font-weight:700}.cfp-tab.active .cfp-tab-badge{background:#ccfbf1;color:#0f766e}.cfp-toolbar{display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:10px;padding:10px 18px;background:#f8fafc;border-bottom:1px solid #e2e8f0}.cfp-filter-group{display:flex;flex-wrap:wrap;gap:6px}.cfp-chip{padding:4px 10px;border-radius:999px;border:1px solid #cbd5e1;background:#fff;color:#334155;font-size:11.5px;font-weight:600;cursor:pointer}.cfp-chip.active{background:#0f766e;border-color:#0f766e;color:#fff}.cfp-search-actions{display:flex;align-items:center;gap:10px;flex-wrap:wrap}.cfp-search-box{display:inline-flex;align-items:center;gap:6px;background:#fff;border:1px solid #cbd5e1;border-radius:8px;padding:4px 9px;min-width:210px}.cfp-search-box input{border:0;outline:0;background:transparent;font-size:12px;color:#0f172a;width:100%}.cfp-search-clear{border:0;background:none;color:#64748b;cursor:pointer;padding:0;display:inline-flex}.cfp-quick-select{display:inline-flex;align-items:center;gap:10px}.cfp-link-btn{border:0;background:none;padding:0;color:#0369a1;font-size:11.5px;font-weight:650;cursor:pointer}.cfp-link-btn:hover:not(:disabled){text-decoration:underline}.cfp-link-btn.muted{color:#64748b}.cfp-body{padding:14px 18px;overflow-y:auto;flex:1;min-height:220px;background:#fff}.cfp-error{margin:0 0 10px;padding:8px 10px;border-radius:8px;background:#fef2f2;color:#b91c1c;border:1px solid #fecaca;font-size:12px}.cfp-empty{padding:40px 16px;text-align:center;color:#64748b;font-size:13px}.cfp-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(168px,1fr));gap:11px}.cfp-card{border:1.5px solid #e2e8f0;border-radius:11px;overflow:hidden;background:#fff;display:flex;flex-direction:column;cursor:pointer;transition:border-color .14s,box-shadow .14s,transform .1s;-webkit-user-select:none;user-select:none}.cfp-card:hover:not(.disabled){border-color:#0284c7;box-shadow:0 4px 14px #0284c71f;transform:translateY(-1px)}.cfp-card.selected{border-color:#0f766e;background:#f0fdf9;box-shadow:0 0 0 2px #0f766e29}.cfp-card.disabled{opacity:.55;cursor:not-allowed;background:#f8fafc}.cfp-thumb-wrap{position:relative;height:112px;background:#f1f5f9;display:flex;align-items:center;justify-content:center;overflow:hidden}.cfp-thumb{width:100%;height:100%;object-fit:cover}.cfp-file-placeholder{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:6px;width:100%;height:100%;color:#475569}.cfp-file-placeholder.archive{background:#fffbeb;color:#b45309}.cfp-file-placeholder.pdf{background:#fef2f2;color:#dc2626}.cfp-file-placeholder.sheet{background:#ecfdf5;color:#047857}.cfp-file-placeholder.cad{background:#eef2ff;color:#4338ca}.cfp-file-placeholder.img{background:#eff6ff;color:#1d4ed8}.cfp-ext-pill{font-size:10.5px;font-weight:800;padding:2px 7px;border-radius:6px;background:#ffffffe0;border:1px solid rgba(148,163,184,.35);letter-spacing:.03em}.cfp-check{position:absolute;top:7px;left:7px;width:21px;height:21px;border-radius:6px;border:1.5px solid #cbd5e1;background:#ffffffeb;display:inline-flex;align-items:center;justify-content:center;color:#fff}.cfp-check.checked{background:#0f766e;border-color:#0f766e}.cfp-zoom-btn{position:absolute;top:7px;right:7px;width:26px;height:26px;border-radius:7px;border:0;background:#0f172aa8;color:#fff;display:inline-flex;align-items:center;justify-content:center;cursor:pointer}.cfp-zoom-btn:hover{background:#0f172ae0}.cfp-attached-badge{position:absolute;bottom:6px;right:6px;display:inline-flex;align-items:center;gap:3px;padding:2px 6px;border-radius:999px;background:#dcfce7f2;color:#166534;font-size:10px;font-weight:700;border:1px solid #86efac}.cfp-card-info{padding:8px 9px;display:flex;flex-direction:column;gap:4px}.cfp-card-name{font-size:12px;font-weight:650;color:#0f172a;line-height:1.3;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden;word-break:break-word}.cfp-card-meta{display:flex;align-items:center;flex-wrap:wrap;gap:5px;font-size:10.5px;color:#64748b}.cfp-sender{font-size:10px;font-weight:700;padding:1px 5px;border-radius:5px}.cfp-sender.cust{background:#dcfce7;color:#166534}.cfp-sender.sale{background:#dbeafe;color:#1d4ed8}.cfp-sender.intake{background:#ccfbf1;color:#0f766e}.cfp-card-code{font-size:10px;font-weight:700;color:#1d4ed8;font-family:ui-monospace,SFMono-Regular,Menlo,Consolas,monospace;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.cfp-card-disabled-note{font-size:10.5px;color:#b91c1c;font-weight:600}.cfp-more-wrap{display:flex;justify-content:center;margin-top:14px}.cfp-foot{display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:10px;padding:12px 18px;border-top:1px solid #e2e8f0;background:#f8fafc}.cfp-foot-left{display:flex;align-items:center;gap:10px;flex-wrap:wrap}.cfp-sel-summary{font-size:12.5px;font-weight:700;color:#0f172a}.cfp-pc-btn{display:inline-flex;align-items:center;gap:5px;font-size:12px;padding:6px 10px}.cfp-foot-actions{display:flex;align-items:center;gap:8px;margin-left:auto}.cfp-confirm-btn{background:#0f766e}.cfp-lightbox{z-index:3000}.composer-toolbar{gap:6px;min-height:34px}.quick-reply-bar{position:relative;display:flex;align-items:center;gap:6px;flex:1;min-width:0}.qr-bar-lead{display:inline-flex;align-items:center;justify-content:center;width:22px;height:22px;border-radius:999px;background:#eef2ff;color:#4f46e5;flex-shrink:0}.qr-pill-list{display:flex;align-items:center;gap:5px;flex:1;min-width:0;overflow-x:auto;scrollbar-width:none;padding:1px 0}.qr-pill-list::-webkit-scrollbar{display:none}.qr-pill{display:inline-flex;align-items:center;gap:4px;max-width:155px;flex:0 1 auto;min-width:0;padding:4px 9px;border-radius:999px;border:1px solid #cbd5e1;background:#f8fafc;color:#1e293b;font-size:11.5px;font-weight:600;line-height:1.25;white-space:nowrap;cursor:pointer;transition:background .15s,border-color .15s,color .15s}.qr-pill:hover:not(:disabled),.qr-pill.open{background:#eff6ff;border-color:#3b82f6;color:#1d4ed8}.qr-pill:disabled{opacity:.5;cursor:not-allowed}.qr-pill.needs-data{border-style:dashed;border-color:#f59e0b;background:#fffbeb}.qr-pill-label{overflow:hidden;text-overflow:ellipsis}.qr-pill-warn{color:#d97706;flex-shrink:0}.qr-all-btn{display:inline-flex;align-items:center;gap:4px;padding:4px 9px;border-radius:999px;border:1px solid #bfdbfe;background:#eff6ff;color:#1e40af;font-size:11.5px;font-weight:700;white-space:nowrap;cursor:pointer;flex-shrink:0;transition:background .15s}.qr-all-btn:hover:not(:disabled){background:#dbeafe}.qr-all-btn:disabled{opacity:.5;cursor:not-allowed}.qr-status-hint{font-size:11px;color:#64748b;white-space:nowrap}.qr-status-hint.error{color:#b91c1c}.composer-send-cluster{display:inline-flex;align-items:center;gap:6px;flex-shrink:0;margin-left:auto}.composer-sender-compact{display:inline-flex;align-items:center;flex-shrink:0}.composer-sender-static.compact,.composer-sender-select.compact{padding:3px 8px;border-radius:999px;font-size:11px;font-weight:700;max-width:125px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.composer-sender-static.compact.own{background:#ecfdf5;color:#065f46;border:1px solid #6ee7b7}.composer-sender-static.compact.other{background:#fffbeb;color:#92400e;border:1px solid #fcd34d}.composer-draft-pill.compact{margin-left:0}.qr-preview-popover{position:absolute;bottom:calc(100% + 10px);left:0;width:min(540px,92vw);z-index:35;background:#fff;border:1px solid #cbd5e1;border-radius:12px;box-shadow:0 16px 40px #0f172a38;padding:12px 14px;display:flex;flex-direction:column;gap:8px}.qr-preview-head{display:flex;align-items:center;justify-content:space-between;gap:8px}.qr-preview-title{display:flex;align-items:center;gap:8px;flex-wrap:wrap;min-width:0}.qr-preview-title strong{font-size:13px;color:#0f172a}.qr-badge{font-size:10.5px;font-weight:700;padding:2px 7px;border-radius:999px}.qr-badge.ready{background:#dcfce7;color:#166534}.qr-badge.needs_data{background:#fef3c7;color:#92400e}.qr-icon-close{display:inline-flex;align-items:center;justify-content:center;width:26px;height:26px;border-radius:6px;border:0;background:transparent;color:#64748b;cursor:pointer}.qr-icon-close:hover{background:#f1f5f9;color:#0f172a}.qr-preview-reason{margin:0;font-size:11.5px;color:#475569}.qr-preview-missing{margin:0;font-size:11.5px;color:#92400e;background:#fffbeb;border:1px solid #fde68a;border-radius:8px;padding:6px 9px}.qr-preview-body{font-size:12.5px;line-height:1.5;color:#0f172a;background:#f8fafc;border:1px solid #e2e8f0;border-radius:8px;padding:9px 11px;white-space:pre-wrap;max-height:190px;overflow-y:auto}.qr-preview-actions{display:flex;align-items:center;gap:8px;flex-wrap:wrap}.qr-act-btn{display:inline-flex;align-items:center;gap:5px;padding:5px 11px!important;min-height:28px!important;font-size:12px!important;border-radius:7px}.qr-modal-backdrop{position:fixed;inset:0;z-index:2500;background:#0f172a85;display:flex;align-items:center;justify-content:center;padding:16px}.qr-modal{width:min(860px,96vw);max-height:88vh;background:#fff;border-radius:14px;border:1px solid #cbd5e1;box-shadow:0 24px 60px #0f172a4d;display:flex;flex-direction:column;overflow:hidden}.qr-modal-head{display:flex;align-items:flex-start;justify-content:space-between;gap:12px;padding:14px 18px;border-bottom:1px solid #e2e8f0}.qr-modal-head h3{margin:0;font-size:15.5px;color:#0f172a}.qr-modal-head p{margin:3px 0 0;font-size:12px;color:#64748b}.qr-modal-filters{display:flex;align-items:center;gap:12px;flex-wrap:wrap;padding:10px 18px;border-bottom:1px solid #f1f5f9;background:#f8fafc}.qr-search-wrap{display:flex;align-items:center;gap:7px;flex:1;min-width:240px;background:#fff;border:1px solid #cbd5e1;border-radius:8px;padding:6px 10px;color:#64748b}.qr-search-wrap input{border:0;outline:0;width:100%;font-size:13px;color:#0f172a;background:transparent}.qr-inactive-toggle{display:inline-flex;align-items:center;gap:6px;font-size:12px;color:#475569;cursor:pointer;-webkit-user-select:none;user-select:none}.qr-cat-tabs{display:flex;align-items:center;gap:6px;padding:8px 18px;border-bottom:1px solid #e2e8f0;overflow-x:auto;flex-shrink:0}.qr-cat-tab{padding:5px 10px;border-radius:999px;border:1px solid #e2e8f0;background:#fff;color:#475569;font-size:11.5px;font-weight:600;white-space:nowrap;cursor:pointer}.qr-cat-tab.active{background:#1d4ed8;border-color:#1d4ed8;color:#fff}.qr-modal-body{padding:14px 18px;overflow-y:auto;display:flex;flex-direction:column;gap:10px}.qr-lib-card{border:1px solid #e2e8f0;border-radius:10px;padding:11px 13px;background:#fff;display:flex;flex-direction:column;gap:7px}.qr-lib-card.inactive{background:#f8fafc;border-style:dashed;opacity:.88}.qr-lib-head{display:flex;align-items:flex-start;justify-content:space-between;gap:10px}.qr-lib-title{display:flex;align-items:center;gap:6px;flex-wrap:wrap}.qr-lib-title strong{font-size:13px;color:#0f172a}.qr-cat-chip,.qr-manual-chip,.qr-inactive-chip{font-size:10.5px;font-weight:600;padding:1px 7px;border-radius:999px}.qr-cat-chip{background:#f1f5f9;color:#334155}.qr-manual-chip{background:#e0e7ff;color:#3730a3}.qr-inactive-chip{background:#fee2e2;color:#991b1b}.qr-alias-tag{font-size:10.5px;color:#64748b;font-family:monospace;background:#f8fafc;padding:2px 6px;border-radius:6px;border:1px solid #e2e8f0;flex-shrink:0}.qr-lib-text{font-size:12.5px;line-height:1.5;color:#1e293b;white-space:pre-wrap;background:#f8fafc;border-radius:8px;padding:8px 10px;border:1px solid #f1f5f9}.qr-lib-foot{display:flex;align-items:center;justify-content:space-between;gap:10px;flex-wrap:wrap}.qr-lib-note{font-size:11px;color:#64748b;flex:1;min-width:180px}.qr-lib-btns{display:flex;align-items:center;gap:6px;margin-left:auto}.qr-empty-state{margin:24px 0;text-align:center;color:#64748b;font-size:13px}.qr-empty-state.error{color:#b91c1c}body.crm-intake-split-active{overflow:hidden}body.crm-split-resizing{cursor:col-resize!important;-webkit-user-select:none!important;user-select:none!important}body.crm-split-resizing *{cursor:col-resize!important}body.crm-intake-split-active .app>.sidebar{display:none!important}body.crm-intake-split-active .app>main{margin-left:0!important;width:var(--crm-split-chat-w,42vw)!important;max-width:var(--crm-split-chat-w,42vw)!important;flex:0 0 var(--crm-split-chat-w,42vw)!important;min-width:0!important;padding:0!important}body.crm-intake-split-active .chat-workspace{height:100vh!important;padding:0!important;gap:0!important}body.crm-intake-split-active .chat-workspace .conv-stats-bar,body.crm-intake-split-active .chat-workspace .chat-list,body.crm-intake-split-active .chat-workspace .customer-detail{display:none!important}body.crm-intake-split-active .chat-workspace .chat-layout{grid-template-columns:minmax(0,1fr)!important;height:100vh!important}body.crm-intake-split-active .chat-main{height:100vh;min-width:0}.crm-intake-split-dock{position:fixed;top:0;right:0;bottom:0;width:calc(100vw - var(--crm-split-chat-w,42vw));z-index:65;background:#f8fafc;border-left:1px solid #cbd5e1;box-shadow:-6px 0 24px #0f172a1f;display:flex;container-type:inline-size;container-name:intake-dock}.crm-split-resizer{width:9px;flex:0 0 9px;cursor:col-resize;background:linear-gradient(90deg,#e2e8f0 0,#f8fafc 4px,#e2e8f0 9px);display:flex;align-items:center;justify-content:center;transition:background .15s}.crm-split-resizer:hover,body.crm-split-resizing .crm-split-resizer{background:linear-gradient(90deg,#93c5fd,#bfdbfe,#93c5fd)}.crm-split-resizer-grip{width:3px;height:44px;border-radius:999px;background:#94a3b8}.crm-split-resizer:hover .crm-split-resizer-grip{background:#1d4ed8}.crm-intake-split-body{flex:1;min-width:0;height:100vh;overflow-y:auto;scrollbar-width:thin}.chat-split-banner{display:flex;align-items:center;justify-content:space-between;gap:10px;padding:7px 14px;background:linear-gradient(90deg,#ecfdf5,#eff6ff);border-bottom:1px solid #a7f3d0;color:#065f46;font-size:12px;flex:none}.chat-split-banner-text{display:flex;align-items:center;gap:6px;min-width:0;line-height:1.35}.chat-split-banner-close{flex-shrink:0;padding:4px 10px!important;min-height:26px!important;font-size:11.5px!important;border-radius:999px;border:1px solid #94a3b8;background:#fff;color:#0f172a;font-weight:700;cursor:pointer}.chat-split-banner-close:hover{background:#f1f5f9}.chat-transfer-toast{display:flex;align-items:center;justify-content:space-between;gap:8px;padding:6px 14px;font-size:12px;font-weight:600;border-bottom:1px solid #e2e8f0;flex:none}.chat-transfer-toast.ok{background:#f0fdf4;color:#166534;border-color:#bbf7d0}.chat-transfer-toast.err{background:#fef2f2;color:#b91c1c;border-color:#fecaca}.chat-transfer-btn-wrap{position:relative;display:inline-flex;align-items:center;gap:2px;flex-shrink:0;align-self:center}.chat-transfer-btn{display:inline-flex;align-items:center;gap:3px;padding:4px 7px;border-radius:999px;border:1px solid #99f6e4;background:#f0fdfa;color:#0f766e;font-size:11px;font-weight:700;cursor:pointer;line-height:1.1;transition:background .15s,border-color .15s}.chat-transfer-btn:hover:not(:disabled){background:#ccfbf1;border-color:#14b8a6}.chat-transfer-btn.done{background:#dcfce7;border-color:#86efac;color:#15803d}.chat-transfer-btn:disabled{opacity:.6;cursor:wait}.chat-transfer-more-btn{display:inline-flex;align-items:center;justify-content:center;width:20px;height:22px;border-radius:999px;border:1px solid #cbd5e1;background:#fff;color:#475569;font-size:10px;cursor:pointer}.chat-transfer-more-btn:hover{background:#eff6ff;color:#1d4ed8;border-color:#93c5fd}.chat-transfer-menu{position:absolute;top:calc(100% + 4px);right:0;z-index:45;min-width:170px;background:#fff;border:1px solid #cbd5e1;border-radius:10px;box-shadow:0 12px 28px #0f172a2e;padding:4px;display:flex;flex-direction:column;gap:2px}.chat-transfer-menu button{text-align:left;border:0;background:transparent;padding:6px 9px;border-radius:6px;font-size:12px;color:#0f172a;font-weight:600;cursor:pointer;white-space:nowrap}.chat-transfer-menu button:hover{background:#eff6ff;color:#1d4ed8}.chat-att-transfer-row{display:flex;align-items:center;gap:6px;flex-wrap:wrap;margin-top:5px;padding:4px 6px;border-radius:8px;background:#f0fdfa;border:1px solid #99f6e4}.chat-att-select-label{display:inline-flex;align-items:center;gap:4px;font-size:11px;font-weight:700;color:#0f172a;cursor:pointer;-webkit-user-select:none;user-select:none}.chat-att-select-label input{margin:0;cursor:pointer}.chat-att-xfr-btn{display:inline-flex;align-items:center;gap:3px;padding:3px 8px;border-radius:999px;border:1px solid #5eead4;background:#fff;color:#0f766e;font-size:11px;font-weight:700;cursor:pointer}.chat-att-xfr-btn:hover:not(:disabled){background:#ccfbf1}.chat-att-xfr-btn.desc{border-color:#93c5fd;color:#1d4ed8}.chat-att-xfr-btn.desc:hover:not(:disabled){background:#dbeafe}.chat-att-xfr-btn.done{background:#dcfce7;border-color:#86efac;color:#15803d}.chat-att-xfr-btn:disabled{opacity:.6;cursor:wait}.chat-batch-transfer-bar{display:flex;align-items:center;justify-content:space-between;gap:8px;flex-wrap:wrap;padding:7px 14px;background:#ecfdf5;border-top:1px solid #6ee7b7;font-size:12px;color:#065f46;flex:none}.chat-batch-transfer-actions{display:flex;align-items:center;gap:6px;flex-wrap:wrap}.chat-batch-transfer-actions button{padding:5px 10px!important;min-height:28px!important;font-size:11.5px!important;border-radius:7px;font-weight:700;cursor:pointer}.chat-selection-transfer-pop{position:fixed;z-index:85;transform:translate(-50%,-100%);display:inline-flex;align-items:center;gap:4px;padding:4px 6px;background:#0f172a;color:#fff;border-radius:999px;box-shadow:0 8px 22px #0f172a47;border:1px solid #334155}.chat-selection-transfer-pop button{border:0;border-radius:999px;padding:4px 9px;background:#1e293b;color:#f8fafc;font-size:11px;font-weight:700;cursor:pointer;white-space:nowrap}.chat-selection-transfer-pop button:hover{background:#2563eb;color:#fff}@media(max-width:960px){body.crm-intake-split-active .app>main{width:100vw!important;max-width:100vw!important;flex:0 0 100vw!important;height:46vh!important}body.crm-intake-split-active .chat-workspace,body.crm-intake-split-active .chat-workspace .chat-layout,body.crm-intake-split-active .chat-main{height:46vh!important}.crm-intake-split-dock{top:46vh;left:0;width:100vw!important;border-left:0;border-top:2px solid #cbd5e1}.crm-split-resizer{display:none}}body.crm-intake-split-active .chat-workspace .chat-workspace-topbar{display:none!important}body.crm-intake-split-active .conversation-head{padding:7px 12px!important;gap:6px!important}body.crm-intake-split-active .composer{padding:6px 10px!important}body.crm-intake-split-active .composer-toolbar{flex-wrap:wrap!important;gap:5px!important}body.crm-intake-split-active .composer-send-cluster{margin-left:auto}body.crm-intake-split-active .quick-reply-bar{order:3;flex:1 1 100%!important;max-width:100%}body.crm-intake-split-active .message .bubble{overflow:visible!important}.chat-bubble-transfer-bar{display:flex;align-items:center;justify-content:flex-end;gap:4px;margin-top:6px;padding-top:5px;border-top:1px dashed #cbd5e1}.chat-bubble-transfer-bar .chat-transfer-btn-wrap{position:relative;display:inline-flex;align-items:center;gap:3px}.chat-bubble-transfer-bar .chat-transfer-btn{padding:4px 10px;border-radius:999px;border:1px solid #5eead4;background:#f0fdfa;color:#0f766e;font-size:11.5px;font-weight:700;cursor:pointer;white-space:nowrap}.chat-bubble-transfer-bar .chat-transfer-btn:hover:not(:disabled){background:#ccfbf1;border-color:#0d9488}.chat-bubble-transfer-bar .chat-transfer-btn.done{background:#dcfce7;border-color:#86efac;color:#15803d}.chat-bubble-transfer-bar .chat-transfer-more-btn{width:24px;height:24px;border-radius:999px;border:1px solid #cbd5e1;background:#fff;color:#475569;font-size:11px;cursor:pointer}.chat-bubble-transfer-bar .chat-transfer-more-btn:hover{background:#eff6ff;color:#1d4ed8;border-color:#93c5fd}.chat-bubble-transfer-bar .chat-transfer-menu{position:absolute;top:calc(100% + 4px);right:0;z-index:60;min-width:176px;background:#fff;border:1px solid #cbd5e1;border-radius:10px;box-shadow:0 12px 28px #0f172a33;padding:4px;display:flex;flex-direction:column;gap:2px}.crm-lightbox-xfr-btn{background:#f0fdfa;color:#0f766e;border:1px solid #5eead4;padding:5px 12px;border-radius:999px;font-size:12.5px;font-weight:700;cursor:pointer;display:inline-flex;align-items:center;gap:5px}.crm-lightbox-xfr-btn:hover:not(:disabled){background:#ccfbf1}.crm-lightbox-xfr-btn.desc{background:#eff6ff;color:#1d4ed8;border-color:#93c5fd}.crm-lightbox-xfr-btn.desc:hover:not(:disabled){background:#dbeafe}.crm-lightbox-xfr-btn.done{background:#dcfce7;color:#15803d;border-color:#86efac}.crm-lightbox-xfr-btn:disabled{opacity:.65;cursor:wait}.composer-mention-btn{font-weight:800;font-size:15px;line-height:1}.zalo-mention-popover{position:absolute;bottom:calc(100% + 8px);left:0;z-index:80;width:min(360px,100%);background:#fff;border:1px solid #cbd5e1;border-radius:12px;box-shadow:0 16px 36px #0f172a38;overflow:hidden;display:flex;flex-direction:column}.zalo-mention-popover-head{display:flex;align-items:center;justify-content:space-between;gap:8px;padding:7px 11px;background:#f8fafc;border-bottom:1px solid #e2e8f0;font-size:11.5px;font-weight:700;color:#1e293b}.zalo-mention-popover-head small{font-weight:500;color:#64748b;font-size:10.5px}.zalo-mention-list{max-height:240px;overflow-y:auto;padding:4px;display:flex;flex-direction:column;gap:2px}.zalo-mention-item{width:100%;display:flex;align-items:center;gap:9px;padding:7px 9px;border:0;border-radius:8px;background:transparent;color:#0f172a;cursor:pointer;text-align:left;transition:background .1s ease}.zalo-mention-item:hover,.zalo-mention-item.active{background:#eff6ff;color:#1d4ed8}.zalo-mention-item.is-all{border-bottom:1px dashed #e2e8f0;margin-bottom:2px}.zalo-mention-avatar{width:30px;height:30px;min-width:30px;border-radius:50%;background:#dbeafe;color:#1d4ed8;display:inline-flex;align-items:center;justify-content:center;font-size:11px;font-weight:800;overflow:hidden;flex-shrink:0}.zalo-mention-avatar img{width:100%;height:100%;object-fit:cover;border-radius:50%}.zalo-mention-avatar.is-all{background:#0068ff;color:#fff;font-size:14px}.zalo-mention-info{min-width:0;flex:1;display:flex;flex-direction:column;gap:1px}.zalo-mention-name{font-size:12.5px;font-weight:600;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.zalo-mention-sub{font-size:11px;color:#64748b;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.zalo-mention-role{font-size:10px;font-weight:700;padding:2px 6px;border-radius:999px;flex-shrink:0}.zalo-mention-role.creator{background:#fef3c7;color:#92400e}.zalo-mention-role.admin{background:#e0f2fe;color:#0369a1}.zalo-mention-loading{padding:8px 10px;font-size:11.5px;color:#64748b;text-align:center}.zalo-mention-token{color:#0068ff;font-weight:600;background:#0068ff14;border-radius:4px;padding:0 3px;margin:0 .5px}.zalo-mention-token.is-all{color:#b45309;background:#f59e0b26;font-weight:700}.message.out.message-highlight-target .zalo-mention-token{color:#fef08a;background:#fff3}.sih-cms-link-group{display:inline-flex;align-items:center;gap:4px;flex-wrap:wrap}.sih-pill-edit-btn{display:inline-flex;align-items:center;gap:3px;font-size:10.5px;font-weight:700;padding:2px 7px;border-radius:999px;border:1px solid #cbd5e1;background:#fff;color:#334155;cursor:pointer;line-height:1.4;transition:background .12s,border-color .12s,color .12s}.sih-pill-edit-btn:hover,.sih-pill-edit-btn.active{background:#eff6ff;border-color:#93c5fd;color:#1d4ed8}.sih-cms-link-editor{margin:4px 0 10px;padding:9px 10px;border-radius:10px;background:#f8fafc;border:1px solid #bfdbfe;box-shadow:0 4px 14px #2563eb14}.sih-cms-link-editor.compact{font-size:12px}.sih-cms-link-head{display:flex;align-items:center;justify-content:space-between;gap:6px;margin-bottom:6px}.sih-cms-link-title{display:inline-flex;align-items:center;gap:5px;font-size:11.5px;font-weight:700;color:#1e40af}.sih-cms-link-close{border:0;background:transparent;color:#64748b;cursor:pointer;padding:2px;border-radius:5px;display:inline-flex;align-items:center}.sih-cms-link-close:hover{background:#e2e8f0;color:#0f172a}.sih-cms-link-form{display:flex;gap:5px;align-items:stretch}.sih-cms-link-form input{flex:1;min-width:0;font-size:12px;padding:6px 8px;border:1px solid #cbd5e1;border-radius:7px;background:#fff;color:#0f172a}.sih-cms-link-form input:focus{outline:2px solid #93c5fd;border-color:#2563eb}.sih-cms-link-form button{padding:5px 10px;font-size:11.5px;white-space:nowrap;display:inline-flex;align-items:center;gap:4px}.sih-cms-link-hint{margin:5px 0 0;font-size:10.5px;color:#64748b;line-height:1.35}.sih-cms-link-preview{margin-top:8px;padding:8px 9px;border-radius:8px;background:#fff;border:1px solid #dbeafe;display:flex;flex-direction:column;gap:6px}.sih-cms-link-diff{display:flex;align-items:center;justify-content:space-between;flex-wrap:wrap;gap:6px;font-size:11.5px;color:#0f172a}.sih-cms-link-diff strong{color:#15803d}.sih-cms-link-diff s{color:#94a3b8}.sih-cms-link-stats{font-size:10.5px;font-weight:700;padding:1px 7px;border-radius:999px;background:#eff6ff;color:#1d4ed8}.sih-cms-link-cust{display:flex;flex-direction:column;gap:2px;font-size:11.5px}.sih-cms-link-cust small{color:#475569;font-size:10.5px}.sih-cms-link-order-box{display:flex;align-items:center;justify-content:space-between;gap:8px;padding:5px 8px;border-radius:7px;background:#f0fdf4;border:1px solid #bbf7d0;font-size:11.5px}.sih-cms-link-order-box a{color:#166534;font-weight:700;text-decoration:none;display:inline-flex;align-items:center;gap:3px}.sih-cms-link-order-box a:hover{text-decoration:underline}.sih-cms-link-actions{display:flex;gap:6px;align-items:center;margin-top:2px}.sih-cms-link-actions .primary,.sih-cms-link-actions .secondary{padding:5px 10px;font-size:11.5px;display:inline-flex;align-items:center;gap:4px;width:auto}.message-actions.is-open{opacity:1!important}.pdf-attachment-wrap{margin-top:4px;min-width:0}.pdf-attachment-card{max-width:440px;border:1px solid #dbe3ef;border-radius:10px;background:#fff;padding:7px 10px}.pdf-attachment-row{display:flex;align-items:center;justify-content:space-between;gap:10px;min-width:0}.pdf-card-open{display:flex;align-items:center;gap:8px;min-width:0;flex:1 1 auto;color:#0f172a;text-decoration:none;border-radius:6px;padding:2px 4px;margin:-2px -4px;transition:background-color .12s,color .12s}.pdf-card-open:hover,.pdf-card-open:focus-visible{background:#eff6ff;color:#1d4ed8;outline:none}.pdf-card-open.is-recalled{opacity:.7;cursor:default}.pdf-card-open.is-recalled:hover{background:transparent;color:#0f172a}.pdf-card-icon{display:inline-flex;align-items:center;gap:3px;padding:3px 6px;border-radius:6px;background:#fef2f2;color:#dc2626;border:1px solid #fecaca;font-size:10px;font-weight:800;letter-spacing:.02em;flex-shrink:0}.pdf-card-name{font-size:12.5px;font-weight:600;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;min-width:0;flex:1 1 auto}.pdf-card-size{font-size:11px;color:#64748b;white-space:nowrap;flex-shrink:0}.pdf-card-download{display:inline-flex;align-items:center;gap:4px;padding:5px 10px;border-radius:7px;border:1px solid #bfdbfe;background:#eff6ff;color:#1d4ed8;font-size:11.5px;font-weight:600;white-space:nowrap;cursor:pointer;flex-shrink:0;width:auto!important;margin:0!important}.pdf-card-download:hover:not(:disabled),.pdf-card-download:focus-visible:not(:disabled){background:#dbeafe;border-color:#93c5fd;outline:none}.pdf-card-download:disabled{opacity:.65;cursor:progress}.pdf-card-error{display:block;margin-top:6px;color:#b91c1c;font-size:11px}.cms-quote-panel{margin-top:6px;max-width:440px;padding:8px 10px;border-radius:9px;background:#f8fafc;border:1px solid #cbd5e1;display:flex;flex-direction:column;gap:6px}.cms-quote-head{display:flex;align-items:center;justify-content:space-between;gap:8px}.cms-quote-title{display:inline-flex;align-items:center;gap:5px;font-size:11.5px;font-weight:700;color:#1e3a8a}.cms-quote-close{border:0;background:transparent;color:#64748b;cursor:pointer;padding:2px;border-radius:5px;display:inline-flex;align-items:center;width:auto!important}.cms-quote-close:hover{background:#e2e8f0;color:#0f172a}.cms-quote-note{display:block;font-size:11.5px;color:#475569;margin:0}.cms-quote-err{display:block;font-size:11.5px;font-weight:600;color:#b91c1c;margin:0}.cms-quote-matches{display:flex;flex-wrap:wrap;gap:6px}.cms-quote-link{display:inline-flex;align-items:center;gap:5px;padding:4px 9px;border-radius:7px;background:#ecfdf5;border:1px solid #86efac;color:#166534;font-size:12px;font-weight:700;text-decoration:none}.cms-quote-link:hover{background:#dcfce7}.cms-quote-link small{font-weight:500;color:#15803d;font-size:11px}.cms-quote-candidates{display:flex;flex-wrap:wrap;gap:6px}.cms-quote-phone-btn{display:inline-flex;align-items:center;gap:6px;padding:4px 8px;border-radius:7px;border:1px solid #cbd5e1;background:#fff;color:#0f172a;font-size:11.5px;cursor:pointer;width:auto!important;margin:0!important}.cms-quote-phone-btn span{color:#64748b;font-size:10.5px}.cms-quote-phone-btn:hover,.cms-quote-phone-btn.active{border-color:#2563eb;background:#eff6ff;color:#1d4ed8}.cms-quote-actions{display:flex;gap:6px}.cms-quote-retry-btn{padding:4px 10px;border-radius:6px;border:1px solid #fca5a5;background:#fff;color:#b91c1c;font-size:11.5px;font-weight:600;cursor:pointer;width:auto!important;margin:0!important}.cms-quote-readonly-hint{display:block;font-size:10.5px;color:#64748b;margin:0}.chat-workspace-topbar{gap:8px;padding:5px 184px 5px 14px}.chat-topbar-conv-actions{display:inline-flex;align-items:center;gap:5px;margin-left:auto;flex-shrink:0}.chat-topbar-conv-actions .header-view-members-btn,.chat-topbar-conv-actions .header-create-group-btn{height:26px;padding:0 8px!important;font-size:11.5px!important;border-radius:6px;margin-left:0!important}.chat-topbar-conv-actions .header-members-count-badge{min-width:17px;height:16px;padding:0 4px;font-size:10.5px}@media(max-width:900px){.chat-workspace-topbar{padding-right:14px}}.chat-screen .conversation-head{flex-wrap:nowrap!important;align-items:center;padding:6px 12px;gap:8px}.chat-screen .conversation-head .header-avatar-btn{width:30px;height:30px;min-width:30px;font-size:12px;flex-shrink:0;margin:0}.chat-screen .conversation-head .conversation-identity{flex:1 1 0%;min-width:0}.chat-screen .conversation-head .customer-name-phone{display:flex;align-items:center;flex-wrap:wrap;gap:5px!important;min-width:0}.chat-screen .conversation-head h2{display:inline-flex;align-items:center;gap:5px;flex-wrap:wrap;font-size:15px;line-height:1.3;margin:0;min-width:0}.chat-screen .conversation-head .customer-transfer-btn{padding:4px 8px;font-size:11px;height:26px;flex-shrink:0}.chat-screen .conversation-head .customer-rename-button{width:24px;height:24px;min-width:24px}.chat-screen .conversation-head .compact-contact,.chat-screen .conversation-head .compact-contact .contact-phone-row{gap:4px}.chat-screen .conversation-head .compact-contact .contact-phone-row input{width:108px;max-width:108px;height:26px;font-size:12px;padding:3px 6px}.chat-screen .conversation-head .compact-contact button.contact-add-phone{width:24px;height:24px;min-width:24px;font-size:16px}.chat-screen .conversation-head .header-view-members-btn{margin-left:0!important}@media(max-width:700px){.chat-screen .conversation-head h2{font-size:14px}}@keyframes zalo-unread-pulse{0%{box-shadow:0 0 #dc262673}70%{box-shadow:0 0 0 6px #dc262600}to{box-shadow:0 0 #dc262600}}.chat-screen .chat-list .conversation.unread{background:#fff5f5;border:1px solid #fecaca;border-left:4px solid #dc2626;box-shadow:0 1px 4px #dc262614}.chat-screen .chat-list .conversation.unread:hover{background:#fee2e2;border-color:#fca5a5;border-left-color:#b91c1c}.chat-screen .chat-list .conversation.unread.active{background:#eff6ff;border-color:#bfdbfe;border-left-color:#2563eb;box-shadow:0 1px 4px #2563eb1a}.chat-screen .chat-list .conversation.unread .conversation-title,.chat-screen .chat-list .conversation.unread strong{color:#0f172a;font-weight:750}.chat-screen .chat-list .conversation.unread.active .conversation-title{color:#1d4ed8}.chat-screen .chat-list .conversation.unread .conversation-time{color:#dc2626;font-weight:700}.chat-screen .chat-list .conversation.unread.active .conversation-time{color:#1d4ed8}.chat-screen .chat-list .conversation-preview-row{display:flex;align-items:center;justify-content:space-between;gap:6px;width:100%;min-width:0;margin-top:2px}.chat-screen .chat-list .conversation-preview-row .conversation-preview{flex:1 1 auto;min-width:0;width:auto;max-width:none!important;margin:0}.chat-screen .chat-list .conversation.unread .conversation-preview{color:#0f172a;font-weight:700}.chat-screen .chat-list .unread-count.zalo-unread-badge{display:inline-flex;align-items:center;justify-content:center;flex-shrink:0;margin-left:auto;min-width:20px;height:20px;padding:0 6px;border-radius:999px;background:linear-gradient(180deg,#ef4444,#dc2626);color:#fff;font-size:11px;font-weight:800;line-height:1;letter-spacing:-.02em;animation:zalo-unread-pulse 2s ease-out infinite}.chat-screen .chat-list .conversation.unread .avatar:after{content:"";position:absolute;right:-2px;top:-2px;width:9px;height:9px;border-radius:50%;background:#ef4444;border:1.5px solid #ffffff;box-shadow:0 0 0 1px #dc262640}@media(prefers-reduced-motion:reduce){.chat-screen .chat-list .unread-count.zalo-unread-badge{animation:none}}.chat-screen .chat-list .conversation.conv-compact-2row{display:flex;flex-direction:row;align-items:center;gap:9px;padding:7px 9px;margin:2px 0;border-radius:10px}.chat-screen .chat-list .conversation.conv-compact-2row>.avatar{display:flex;position:relative;width:34px;height:34px;min-width:34px;font-size:11px;font-weight:750;background:#e0e7ff;color:#4338ca;box-shadow:0 0 0 1.5px #fff;margin:0;flex-shrink:0}.chat-screen .chat-list .conversation.conv-compact-2row>.avatar:before{position:absolute;content:"Z";right:-3px;bottom:-2px;display:grid;place-items:center;width:14px;height:14px;background:#2563eb;color:#fff;border:1.5px solid #f8fafc;border-radius:50%;font-size:7.5px;font-weight:800;line-height:1}.chat-screen .chat-list .channel-website.conv-compact-2row>.avatar{background:#ccfbf1;color:#0f766e}.chat-screen .chat-list .channel-website.conv-compact-2row>.avatar:before{content:"W";background:#0d9488}.chat-screen .chat-list .conversation.conv-compact-2row .conversation-copy{flex:1 1 auto;min-width:0;width:auto;display:flex;flex-direction:column;gap:3px;overflow:hidden}.chat-screen .chat-list .conversation.conv-compact-2row .conversation-head-row{display:flex;align-items:flex-start;width:100%;min-width:0;gap:0}.chat-screen .chat-list .conversation.conv-compact-2row .conversation-title{display:flex;align-items:flex-start;justify-content:space-between;gap:6px;width:100%;min-width:0;margin:0;line-height:1.28;font-size:12.5px!important}.chat-screen .chat-list .conversation.conv-compact-2row .conversation-name-text{flex:1 1 auto;min-width:0;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden;overflow-wrap:break-word}.chat-screen .chat-list .conversation.conv-compact-2row .conversation-time{flex-shrink:0;white-space:nowrap;font-size:10.5px;line-height:1.35;margin-top:1px}.chat-screen .chat-list .conversation.conv-compact-2row .conversation-preview-row{gap:5px;margin-top:0}.chat-screen .chat-list .conversation.conv-compact-2row .conversation-preview{font-size:11.5px;line-height:1.35}.chat-screen .chat-list .conv-inline-meta{display:inline-flex;align-items:center;gap:4px;flex-shrink:0;margin-left:auto}.chat-screen .chat-list .conv-stage-icon-pill{display:inline-flex;align-items:center;justify-content:center;gap:2.5px;height:18px;padding:0 5px;border-radius:999px;font-size:10px;font-weight:750;line-height:1;white-space:nowrap;flex-shrink:0;cursor:pointer;transition:transform .1s ease,filter .12s ease}.chat-screen .chat-list .conv-stage-icon-pill:hover{filter:brightness(.95);transform:translateY(-.5px)}.chat-screen .chat-list .conv-owner-chip{display:inline-flex;align-items:center;justify-content:center;min-width:18px;height:18px;padding:0 4px;border-radius:999px;background:#f1f5f9;border:1px solid #dbe4ef;color:#475569;font-size:9px;font-weight:750;line-height:1;flex-shrink:0;letter-spacing:-.02em}.chat-screen .chat-list .conv-owner-chip.has-phone{border-color:#bbf7d0;background:#f0fdf4;color:#15803d}.chat-screen .chat-list .conv-owner-chip.is-waiting{border-color:#fde68a;background:#fffbeb;color:#b45309}.chat-screen .chat-list .conv-owner-chip.is-assigned{border-color:#a7f3d0;background:#ecfdf5;color:#047857}.chat-screen .chat-list .conv-vai-pill{display:inline-flex;align-items:center;justify-content:center;width:16px;height:16px;border-radius:999px;background:#dcfce7;border:1px solid #86efac;color:#15803d;flex-shrink:0}@media(max-width:700px){.chat-screen .chat-list .conversation.conv-compact-2row{padding:6px 7px;gap:7px}.chat-screen .chat-list .conversation.conv-compact-2row>.avatar{width:28px;height:28px;min-width:28px;font-size:9.5px}}.chat-screen .chat-list .conv-care-pill{display:inline-flex;align-items:center;gap:2px;height:16px;padding:0 5px;border-radius:999px;background:#fff7ed;border:1px solid #fdba74;color:#c2410c;font-size:10px;font-weight:700;line-height:1;flex-shrink:0}.chat-screen .chat-list .conv-care-pill.is-overdue{background:#fef3c7;border-color:#fcd34d;color:#b45309}.chat-screen .chat-list .conv-care-pill.is-complaint{background:#fef2f2;border-color:#fca5a5;color:#b91c1c}
