/* index-CpjuXCT5-local-v42.css */
.image-viewer{position:fixed;inset:0;z-index:10000;display:flex;flex-direction:column;background:#111e;color:#fff}.image-viewer-tools{display:flex;flex-wrap:wrap;justify-content:center;align-items:center;gap:8px;padding:12px;background:#18201f;z-index:2}.image-viewer-tools button,.image-viewer-tools a{background:#fff;color:#152d27;padding:7px 11px;border:1px solid #c3d0cc;border-radius:5px;font-size:13px;text-decoration:none;cursor:pointer}.image-viewer-tools output{min-width:48px;text-align:center}.image-viewer-stage{position:relative;flex:1;min-height:0;overflow:hidden;touch-action:none;cursor:grab;display:grid;place-items:center}.image-viewer-stage:active{cursor:grabbing}.image-viewer-stage>img{position:absolute;left:50%;top:50%;max-width:none!important;max-height:none!important;width:auto;height:auto;transform-origin:center;-webkit-user-select:none;user-select:none;pointer-events:none}.image-viewer>p{margin:0;padding:8px;text-align:center;font-size:12px;color:#dce5e2}.app .messages .message[data-sender=agent] .bubble{background:var(--agent-bg,#e8f3ee);color:var(--agent-text,#173e35)}.app .messages .message[data-sender=visitor] .bubble{background:var(--visitor-bg,#27665e);color:var(--visitor-text,#fff)}.app .messages .message .bubble .attachment,.app .messages .message .bubble small{color:inherit}.app .colleague-seat-head{min-height:72px;height:auto;padding:10px 9px;gap:9px;align-items:center}.app .colleague-seat-head .avatar{width:42px;height:42px;min-width:42px;font-size:18px}.app .colleague-seat-name b{font-size:14px;font-weight:750;white-space:normal;overflow-wrap:anywhere}.app .colleague-seat-name>span{align-items:flex-start;flex-wrap:wrap;gap:3px}.app .colleague-seat-name small{font-size:10px;line-height:1.4}.app .colleague-client{margin-left:12px;width:calc(100% - 12px);border-left:2px solid #e1ebe5;padding:9px 8px;gap:7px}.app .colleague-client .avatar{width:28px;height:28px;min-width:28px}.app .colleague-seat-list{max-height:none;flex:1}.load-more,.load-earlier{display:block;margin:8px auto;padding:7px 13px;border:1px solid #c9dcd2;border-radius:5px;color:#265c4b;background:#f6fbf8;font-size:12px;cursor:pointer}.load-earlier:disabled{border-color:transparent;background:transparent;color:#788780;cursor:default}.messages{overflow-anchor:none}.messages>.message{overflow-anchor:none}.permission-scope-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(150px,1fr));gap:10px}.permission-scope-grid select[multiple]{min-height:90px;max-width:100%}.permission-batch{display:flex;gap:8px;flex-wrap:wrap;padding:10px 0}.permission-editor .permission-row{display:block;padding:8px;border-bottom:1px solid #e3ebe7}.permission-editor .checkbox-line{display:flex;align-items:center;gap:7px}.role-manager pre{white-space:pre-wrap;overflow-wrap:anywhere;font-size:11px;max-height:250px;overflow:auto}@media(min-width:651px){.app .topbar{height:52px;padding:0 14px;gap:8px}.app .topbar>div{gap:9px}.app .conversation-tabs button{padding:6px 10px}.app .topbar .private-badge{display:none}.app .topbar .connection{font-size:0}.app .topbar .connection .dot{width:7px;height:7px;margin:0}.app .reply-pending-summary{min-height:24px;padding:3px 10px;gap:6px;flex-wrap:nowrap;align-items:center;font-size:11px;line-height:1.35}.app .reply-pending-summary b{font-size:11px;white-space:nowrap}.app .reply-pending-summary small{display:none}.app .chat-head{height:58px!important;min-height:58px;padding:6px 14px;gap:8px;flex-wrap:nowrap}.app .chat-head>.avatar{width:30px;height:30px;min-width:30px;border-radius:9px}.app .chat-head>div:not(.chat-actions){min-width:0;line-height:1.25}.app .chat-head>div:not(.chat-actions)>b{display:inline;font-size:12px}.app .chat-head .actual-assignee,.app .chat-head>div:not(.chat-actions)>p:not(.actual-assignee){display:none}.app .chat-head .peer-status{display:block;min-height:0;margin-top:3px;font-size:9px;line-height:1.25;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.app .chat-actions{gap:4px;flex-wrap:nowrap;max-width:none}.app .chat-actions .conversation-operations{gap:4px;flex-wrap:nowrap}.app .chat-actions button{min-height:28px;padding:4px 6px;font-size:10px;white-space:nowrap}}@media(min-width:651px)and (max-width:1100px){.app .topbar{padding-inline:8px}.app .topbar>div{gap:5px}.app .conversation-tabs button{padding:5px 7px}.app .explicit-logout{display:none}.app .chat-head{padding-inline:9px}}.media-upload-buttons{display:inline-flex;align-items:center;gap:4px}.media-upload-buttons .upload-button{display:inline-flex;align-items:center;gap:4px;padding:4px 6px;border-radius:5px;cursor:pointer;color:#6f8178;font-size:10px}.media-upload-buttons .upload-button:hover{background:#eef5f1;color:var(--green)}.media-upload-buttons input{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0);white-space:nowrap}.message .bubble:has(>.image-attachment.pure-image){padding:0!important;background:transparent!important;box-shadow:none!important;border:0!important}.image-attachment.pure-image{background:transparent;border:0;padding:0;max-width:min(420px,72vw)}.image-attachment.pure-image .image-zoom{padding:0;background:transparent;border:0;display:block}.image-attachment.pure-image img{display:block;max-width:100%;max-height:440px;width:auto;height:auto;object-fit:contain;border:0;border-radius:8px}.image-copy-status{position:absolute;top:58px;left:50%;transform:translate(-50%);z-index:3;background:#183b34;color:#fff;padding:7px 12px;border-radius:6px;font-size:12px}.profile-tools,.profile-tools .settings-box,.profile-tools .table-wrap{max-width:100%;min-width:0}.profile-tools table{table-layout:fixed;white-space:normal}.profile-tools th,.profile-tools td{overflow-wrap:anywhere}@media(max-width:650px){.media-upload-buttons .upload-button span{display:none}.media-upload-buttons .upload-button{padding:5px}.image-attachment.pure-image{max-width:72vw}.image-attachment.pure-image img{max-height:52vh}}.legacy-nav-menu{display:none!important}.nav-groups{display:flex;flex-direction:column;gap:3px;padding:8px 7px;overflow-y:auto;min-height:0}.nav-group{display:block}.nav-group-title,.nav-submenu button{width:100%;border:0;background:transparent;color:inherit;cursor:pointer;text-align:left}.nav-group-title{display:flex;align-items:center;justify-content:space-between;padding:9px 10px;border-radius:7px;font-size:13px;font-weight:700;color:#53665d}.nav-group-title:hover,.nav-group-title.active{background:#edf5f1;color:#174e40}.nav-group-title svg{transition:transform .18s ease}.nav-group:has(.nav-submenu)>.nav-group-title svg{transform:rotate(180deg)}.nav-submenu{display:flex;flex-direction:column;gap:1px;padding:2px 0 5px 10px}.nav-submenu button{display:flex;align-items:center;justify-content:space-between;min-height:31px;padding:6px 9px;border-radius:6px;font-size:12px;color:#65766e}.nav-submenu button:hover,.nav-submenu button.active{background:#e8f3ee;color:#165344;font-weight:650}.theme-control{display:grid;grid-template-columns:auto minmax(0,1fr);align-items:center;gap:6px;padding:5px 7px;font-size:11px;color:#65766e}.theme-control select{min-width:0;padding:4px 5px;border:1px solid #d8e2dd;border-radius:5px;background:#fff;color:#34483f;font-size:11px}.visitor-key-info{display:flex;align-items:center;gap:5px;flex-wrap:wrap;margin-top:3px}.visitor-key-info button{display:inline-flex;align-items:center;gap:3px;max-width:320px;padding:2px 5px;border:1px solid #f1c7c7;border-radius:4px;background:#fff5f5;color:#9e2828;font-size:10px;line-height:1.25;cursor:pointer}.visitor-key-info button span{white-space:nowrap}.visitor-key-info button strong{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.app.theme-dark{color:#d8e3de;background:#111814;--panel:#17201b;--line:#2d3b34;--muted:#9aaba2}.app.theme-dark .topbar,.app.theme-dark .sidebar,.app.theme-dark .list,.app.theme-dark .chat-main,.app.theme-dark .chat-head,.app.theme-dark .composer,.app.theme-dark .rightbar,.app.theme-dark .settings-page,.app.theme-dark .settings-box{background:#17201b;color:#d8e3de;border-color:#2d3b34}.app.theme-dark input,.app.theme-dark textarea,.app.theme-dark select,.app.theme-dark button:not(.primary):not(.danger){background-color:#202c26;color:#d8e3de;border-color:#3a4b42}.app.theme-dark .nav-group-title:hover,.app.theme-dark .nav-group-title.active,.app.theme-dark .nav-submenu button:hover,.app.theme-dark .nav-submenu button.active{background:#26362e;color:#aee0ca}.app.theme-dark .conversation-item,.app.theme-dark .colleague-client,.app.theme-dark .colleague-seat-head{border-color:#2d3b34;background:#17201b;color:#d8e3de}.app.theme-dark .conversation-item:hover,.app.theme-dark .conversation-item.active{background:#24342c}.app.theme-dark .messages{background:#111814}.app.theme-dark .visitor-key-info button{background:#3a2021;border-color:#6b3436;color:#ffb4b4}.app.theme-dark .theme-control select{background:#202c26;color:#d8e3de;border-color:#3a4b42}@media(max-width:650px){.visitor-key-info{max-width:70vw}.visitor-key-info button{max-width:100%}}.image-attachment,.video-attachment,.media-processing{display:flex;flex-direction:column;gap:7px;max-width:100%;min-width:0}.image-attachment img{display:block;max-width:min(320px,100%);max-height:360px;object-fit:contain;border-radius:8px}.video-attachment video{display:block;width:320px;max-width:100%;max-height:360px;background:#14201c;border-radius:8px;object-fit:contain}.image-attachment small,.video-attachment small{display:flex;gap:5px;align-items:center;font-size:12px;color:inherit;opacity:.8}.image-attachment button,.video-attachment button,.media-processing button{white-space:normal;align-self:flex-start}.document-attachment{display:flex;align-items:center;gap:12px;max-width:100%;min-width:0;white-space:normal}.document-attachment span{min-width:0;overflow-wrap:anywhere}.document-attachment b{font-size:14px;font-weight:550}.document-attachment small{display:block;margin-top:5px;font-size:12px}.media-processing{padding:12px;border:1px dashed #82998c;border-radius:8px;min-width:160px;white-space:normal}.conversation-tabs{display:flex;gap:0;flex-shrink:0;align-self:stretch;align-items:stretch}.conversation-tabs button{padding:10px 16px;border:0;border-bottom:3px solid transparent;border-radius:0;background:transparent;color:#536761;font-weight:650;white-space:nowrap}.conversation-tabs button[aria-selected=true]{background:#f3faf7;border-bottom-color:#27665e;color:#24665c}.conversation-tabs span{font-size:12px;margin-left:5px;background:#dcece5;border-radius:10px;padding:1px 5px}.conversation-tabs+h1{display:none}.app .chat-layout.colleague-layout{display:grid!important;grid-template-columns:310px minmax(0,1fr) 260px;overflow:hidden}.app .colleague-layout>.views{display:none}.app .colleague-layout>.chat-main{min-width:0;min-height:0}.colleague-desk{width:100%;min-width:0;min-height:0;display:flex;flex-direction:column;border-right:1px solid #e1e8e5;background:#fff;overflow:hidden}.colleague-filters{padding:10px 12px;border-bottom:1px solid #e1e8e5;flex-shrink:0}.colleague-filters>select{width:100%;margin-bottom:6px}.colleague-search-row{display:flex;gap:6px;align-items:center}.colleague-search-row input{width:0;flex:1;min-width:0;font-size:12px;padding:7px 9px}.colleague-search-row button{font-size:11px;padding:6px}.colleague-filter-more summary{font-size:11px;color:#73877a;cursor:pointer;padding:7px 0 0}.colleague-selects{display:flex;gap:5px;flex-wrap:wrap;margin-top:7px}.colleague-selects select{min-width:0;max-width:100%;flex:1;padding:5px;font-size:11px}.colleague-seat-list{overflow-y:auto;overscroll-behavior:contain;min-height:85px;max-height:46%;flex:0 1 auto;scrollbar-gutter:stable}.colleague-seat-head{display:flex;width:100%;height:53px;align-items:center;gap:7px;text-align:left;background:#fff;border:0;border-bottom:1px solid #e9eeeb;padding:7px 9px;color:#30473c}.colleague-seat-head:hover{background:#f5faf8}.colleague-seat-head .avatar{width:25px;height:25px;min-width:25px;font-size:11px}.colleague-seat-name{flex:1;min-width:0;display:block}.colleague-seat-name>span{display:flex;gap:4px;align-items:center;min-width:0}.colleague-seat-name b{font-size:12px;font-weight:500;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;min-width:0}.colleague-seat-name small{display:block;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;color:#8a9990;font-size:10px;margin-top:3px}.colleague-seat-head .presence-badge{flex-shrink:0;font-size:10px;padding:0;background:transparent}.colleague-seat-head .presence-badge i{width:5px;height:5px}.colleague-seat-head.selected-seat{background:#e8f3ed;box-shadow:inset 3px 0 #27755a}.seat-count{flex-shrink:0;font-size:11px;color:#5c9bb2;min-width:22px;text-align:center}.seat-chevron{font-size:11px;color:#899c90;flex-shrink:0}.colleague-customers{flex:1;min-height:120px;display:flex;flex-direction:column;border-top:2px solid #e4ece7;overflow:hidden}.colleague-customer-heading{display:flex;align-items:center;gap:5px;background:#f5f9f6;padding:8px 11px;font-size:11px;flex-shrink:0}.colleague-customer-heading b{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;min-width:0;flex:1;color:#39684e}.colleague-customer-heading>span{flex-shrink:0;color:#73897a}.colleague-customer-scroll{flex:1;overflow-y:auto;overscroll-behavior:contain;min-height:0}.colleague-client{display:flex;width:100%;gap:8px;align-items:flex-start;text-align:left;padding:11px 10px;background:#fff;border:0;border-bottom:1px solid #edf1ee;color:#30473c}.colleague-client:hover{background:#f4faf6}.colleague-client.selected{background:#e1f0e8;box-shadow:inset 3px 0 #27755a}.colleague-client .avatar{width:27px;height:27px;min-width:27px;font-size:12px}.colleague-client-text{flex:1;min-width:0;overflow:hidden}.colleague-client-title{display:flex;align-items:center;justify-content:space-between;gap:5px}.colleague-client-title b{font-size:12px;overflow:hidden;white-space:nowrap;text-overflow:ellipsis;min-width:0}.colleague-client time{font-size:10px;flex-shrink:0;color:#809086}.colleague-client small{font-size:10px;color:#74867b}.colleague-client p{font-size:12px;margin:4px 0}.colleague-client .message-summary{white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.colleague-client-source{display:flex;align-items:center;gap:4px;flex-wrap:wrap}.colleague-client-id{display:block;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.colleague-desk .unread{position:static;flex-shrink:0;display:inline-flex;min-width:17px;justify-content:center;border-radius:10px;background:#d54545;color:#fff;padding:1px 4px;font-size:10px}.zero-conversations{color:#819087;font-size:12px;padding:14px}.colleague-count-note{font-size:10px;color:#85958a;margin:0;padding:6px 9px;border-top:1px solid #edf1ee;flex-shrink:0}.colleague-sync-error{font-size:11px;color:#9b583e;padding:5px 10px;margin:0}.actual-assignee{color:#27665e!important;font-size:12px;font-weight:600}@media(max-width:1250px){.app .chat-layout.colleague-layout{grid-template-columns:285px minmax(0,1fr)}.app .colleague-layout>.details{display:none}}@media(max-width:650px){.conversation-tabs button{padding:8px 10px;font-size:13px}.app .chat-layout.colleague-layout{display:flex!important;flex-direction:column}.app .colleague-layout>.colleague-desk{width:100%;flex:1;min-height:0}.app .colleague-layout.conversation-open>.colleague-desk{display:none}.app .colleague-layout:not(.conversation-open)>.chat-main{display:none}.app .colleague-layout.conversation-open>.chat-main{display:flex;flex:1;min-width:0}.topbar:has(.conversation-tabs){flex-wrap:wrap;height:auto;min-height:64px;gap:5px}.topbar:has(.conversation-tabs)>div:last-child{flex-wrap:wrap}.colleague-seat-list{max-height:45%}.colleague-client-id{display:none}}.app .unread-badge,.visitor-page .unread-badge{display:inline-flex;position:static;align-items:center;justify-content:center;flex-shrink:0;min-width:14px;height:14px;box-sizing:border-box;padding:0 3px;border-radius:3px;background:#d71930!important;color:#fff!important;font-size:11px!important;font-weight:800!important;line-height:14px!important;font-variant-numeric:tabular-nums;box-shadow:none}.app .navitem .unread-badge{margin-left:auto;min-width:14px;height:14px;line-height:14px!important}.app .conversation-tabs [role=tab]{display:inline-flex;align-items:center;gap:8px}.app .conversation-tabs .conversation-total{background:transparent;color:#607469;font-size:12px;font-weight:400;white-space:nowrap}.app .conversation-tabs .unread-badge{background:#d71930!important;color:#fff!important}.app .incoming-summary{display:flex;align-items:center;flex-wrap:wrap;gap:10px;flex-shrink:0;padding:10px 18px;background:#fff1f2;border-bottom:1px solid #f3a6ae;color:#9d1326;font-size:14px;font-weight:650}.app .incoming-summary button{border:1px solid #e099a3;border-radius:7px;background:#fff;color:#ac142a;padding:5px 10px;font-weight:650;cursor:pointer}.app .incoming-summary button:hover{background:#ffe2e6}.app .incoming-summary .incoming-primary{background:#d71930;color:#fff;border-color:#d71930}.app .incoming-summary .incoming-unassigned{font-weight:750}.app .conversation.has-unread{background:#fff4f5;border-left:4px solid #d71930}.app .colleague-seat-head.has-unread,.app .colleague-client.has-unread{background:#fff4f5;box-shadow:inset 4px 0 #d71930}.app .conversation.has-unread.selected,.app .colleague-client.has-unread.selected{background:#ffe5e9}.app .colleague-seat-head .seat-count{color:#62786a;font-size:11px;min-width:42px}.app .colleague-seat-head .unread-badge,.app .colleague-client .unread-badge{margin-left:4px}.app .chat-main,.visitor-page .visitor-card{position:relative}.app .new-messages,.visitor-page .new-messages{position:absolute;left:50%;right:auto;bottom:175px;transform:translate(-50%);z-index:15;display:inline-flex;align-items:center;gap:7px;padding:7px 12px;max-width:calc(100% - 24px);border:2px solid #fff;border-radius:20px;background:#d71930!important;color:#fff!important;box-shadow:0 4px 20px #99152b55;font-size:13px;font-weight:750;cursor:pointer;white-space:nowrap}.app .new-messages .unread-badge,.visitor-page .new-messages .unread-badge{background:#fff!important;color:#c4142a!important;box-shadow:none}@media(max-width:650px){.app .incoming-summary{gap:7px;padding:8px;font-size:13px}.app .incoming-summary button{font-size:12px;padding:5px 8px}.app .conversation-tabs [role=tab]{gap:5px}.app .unread-badge{min-width:14px;height:14px;line-height:14px!important}.app .new-messages,.visitor-page .new-messages{bottom:155px}}:root{--desk-message-size:15px;--desk-label-size:13px}:root[data-desk-font=small]{--desk-message-size:14px;--desk-label-size:12px}:root[data-desk-font=large]{--desk-message-size:17px;--desk-label-size:15px}.app{min-height:0;height:100dvh;font-family:-apple-system,BlinkMacSystemFont,PingFang SC,Microsoft YaHei,sans-serif}.app .bubble{font-size:var(--desk-message-size);line-height:1.75;padding:12px 15px;max-width:min(560px,100%)}.app .composer textarea{font-size:var(--desk-message-size);line-height:1.6}.app .conversation-text b,.app .colleague-seat-name b,.app .colleague-client-title b,.app .chat-head b{font-size:var(--desk-label-size)}.app .conversation-text p,.app .colleague-client p{font-size:var(--desk-label-size);line-height:1.6;color:#52665a}.app .message-meta,.app .message-meta time,.app .sent{font-size:12px;color:#65776b}.app .unread,.app .colleague-desk .unread{background:#c7333c;color:#fff;font-weight:650}.app .receipt-unread{color:#69776d!important}.app .desk-font-control{width:auto;max-width:110px;padding:6px;font-size:12px}.app .chat-layout,.app .chat-main{min-height:0;overflow:hidden}.app .colleague-layout{grid-template-rows:minmax(0,1fr)}.app .colleague-seat-list{flex:1;max-height:none;min-height:0}.app .seat-block{border-bottom:1px solid #e2ebe6}.app .seat-block .colleague-client{padding-left:24px}.app .seat-check{width:16px;flex-shrink:0;margin:0}.app .seat-check-label{display:flex;align-items:center;gap:8px;padding:7px 10px;font-size:12px}.app .colleague-seat-head{height:auto;min-height:58px}.app .colleague-client .pinned-icon{color:#975f12;margin-right:4px}@media(max-width:650px){.app .composer textarea{font-size:max(16px,var(--desk-message-size))}.app .topbar{padding:8px;gap:6px;flex-wrap:wrap;height:auto;min-height:65px}.app .topbar>div{gap:8px}.app .bubble{max-width:100%}}.app .seat-block .colleague-client{padding-top:8px;padding-bottom:8px;gap:8px;align-items:center}.app .colleague-client-title{height:18px;line-height:18px;min-width:0}.app .colleague-client-title b{flex:1;min-width:0;line-height:18px}.app .colleague-client-title .unread-badge{margin-left:0}.app .colleague-client .message-summary{height:18px;line-height:18px;margin:2px 0;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.app .colleague-client-source{height:16px;min-width:0;max-width:100%;flex-wrap:nowrap;overflow:hidden;line-height:16px}.app .colleague-client-source .source-badge,.app .colleague-line-badge{display:inline-block;box-sizing:border-box;min-width:0;max-width:100%;height:16px;line-height:14px;padding:0 4px;border:1px solid #b9d4c4;border-radius:3px;font-size:10px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;vertical-align:top}.app .colleague-client-source .source-badge i{width:6px;height:6px;margin-right:3px;vertical-align:1px}.app .colleague-line-badge{background:#edf5f0;color:#27665e}.app .message,.visitor-page .message{min-width:0;max-width:100%}.app .message-avatar,.visitor-page .message-avatar{flex:0 0 29px}.app .message-content,.visitor-page .message-content{min-width:0;max-width:calc(100% - 42px);flex:0 1 auto}.app .bubble,.visitor-page .bubble{min-width:0;overflow-wrap:anywhere;word-break:break-word}.app .message.self,.visitor-page .message.self{flex-direction:row-reverse;justify-content:flex-start}.app .message.other,.visitor-page .message.other{flex-direction:row;justify-content:flex-start}.sender-label{font-size:11px;font-weight:500;margin-right:6px;white-space:nowrap}.message-menu-anchor{position:relative;min-width:0;display:flex;align-items:flex-start;gap:3px}.message-more{padding:0 3px;min-width:24px;min-height:24px;font-size:19px;line-height:20px;flex-shrink:0}.message-context-menu{position:absolute;right:0;top:24px;z-index:40;min-width:120px;background:#fff;box-shadow:0 4px 18px #0003;border:1px solid #ddd;border-radius:6px;padding:5px}.message-context-menu button{display:block;width:100%;text-align:left;padding:8px;font-size:12px}.reply-status{display:inline-flex;flex-shrink:0;align-items:center;border:1px solid #d72d3c;background:#fff1f2;color:#b5192d;border-radius:3px;font-size:10px;line-height:14px;white-space:nowrap;padding:0 3px}.reply-status.overdue{background:#c61930;color:#fff}.reply-pending-summary{display:flex;gap:10px;flex-wrap:wrap;color:#ac142a;background:#fff2f3;border-bottom:1px solid #f2c0c6;padding:5px 14px;font-size:12px}.reply-pending-summary small{font-size:11px;color:#9b6670}.staff-alert-inbox{border:2px solid #d71930;background:#fff3f4;color:#a6172b;z-index:55}.rich-quick-panel{width:290px;min-width:220px;max-width:min(480px,70vw);resize:horizontal;overflow:auto;flex-shrink:0;border-left:1px solid #dce7e0;background:#fafcfb;padding:12px;display:flex;flex-direction:column;gap:9px}.rich-quick-panel header,.quick-combined-preview header{display:flex;align-items:center;justify-content:space-between;gap:6px}.quick-manual-list{max-height:32%;overflow:auto;flex-shrink:0}.quick-manual-list>button{display:flex;flex-direction:column;align-items:flex-start;width:100%;padding:8px;border-bottom:1px solid #e0e9e3;text-align:left}.quick-manual-list small{color:#76887b}.quick-combined-preview{flex:1;overflow:auto;min-height:80px}.quick-combined-preview>section{padding:9px;border:1px solid #e1e9e4;background:#fff;margin-bottom:10px}.quick-combined-preview header{font-size:10px;color:#809086}.quick-block-preview p{white-space:pre-wrap;overflow-wrap:anywhere;margin:6px 0;font-size:13px}.quick-block-preview>div{margin-bottom:7px}.quick-edit-block{padding:9px;border:1px solid #e0e8e3;margin-bottom:8px}@media(max-width:650px){.rich-quick-panel{position:absolute;right:0;top:0;bottom:0;z-index:30;width:85vw;max-width:85vw;resize:none;box-shadow:-4px 0 20px #0003}}.app .chat-layout.colleague-layout{grid-template-columns:310px minmax(0,1fr) auto}.right-workspace{display:flex;flex-direction:column;width:260px;min-width:220px;max-width:min(500px,40vw);resize:horizontal;overflow:hidden;min-height:0;flex-shrink:0;border-left:1px solid #e2e9e4}.right-workspace.quick-open{width:320px}.right-workspace>.details{width:100%;flex:1;min-height:0;border-left:0}.right-workspace>.rich-quick-panel{width:100%;min-width:0;max-width:100%;resize:none;border-left:0;flex:1 1 60%;min-height:230px;border-bottom:1px solid #e2e9e4}@media(max-width:650px){.right-workspace{display:contents;resize:none}.app .chat-layout{position:relative}.right-workspace>.rich-quick-panel{position:absolute;inset:0 0 0 auto;width:85vw;max-width:85vw;min-height:0;z-index:30}}.visitor-page .message[data-sender=agent] .bubble{background:var(--agent-bg,#e8f3ee);color:var(--agent-text,#173e35)}.visitor-page .message[data-sender=visitor] .bubble{background:var(--visitor-bg,var(--green));color:var(--visitor-text,#fff)}.history-messages .history-message{max-width:90%;width:fit-content;min-width:120px;padding:10px;overflow-wrap:anywhere;white-space:pre-wrap}.history-message.agent{margin-left:auto;background:#edf6f0}.history-message.visitor{margin-right:auto;background:#f4f6f4}.history-message.system{margin:auto;text-align:center;color:#809086}.app .messages>[data-sender],.visitor-page .messages>[data-sender]{display:flex;width:100%;min-width:0;max-width:100%;align-self:stretch}.app .message[data-sender=agent],.visitor-page .message[data-sender=agent]{flex-direction:row-reverse;justify-content:flex-start}.app .message[data-sender=visitor],.visitor-page .message[data-sender=visitor]{flex-direction:row;justify-content:flex-start}.message[data-sender=agent]>.message-content{display:flex;flex-direction:column;align-items:flex-end;min-width:0}.message[data-sender=visitor]>.message-content{display:flex;flex-direction:column;align-items:flex-start;min-width:0}.message-menu-anchor{min-width:0;max-width:100%}.message .bubble,.rich-message{min-width:0;max-width:100%;overflow-wrap:anywhere;word-break:normal}.rich-text-block{margin:3px 0;line-height:1.55}.rich-message img,.rich-message video{max-width:100%;height:auto}.reply-status{background:#c51632;color:#fff;border:0;font-weight:700;padding:2px 4px;line-height:16px;font-size:11px}.reply-status.overdue{background:#fff0f1;color:#a40d20;outline:2px solid #c51632}.reply-status strong{color:#a40d20}.reply-pending-summary{border-left:4px solid #c51632;padding:8px 12px}.reply-pending-summary b{font-size:13px}.rich-draft-editor{max-height:220px;overflow:auto;min-height:75px}.rich-draft-editor textarea{min-height:64px;max-height:150px;padding:6px 8px;width:100%;border:1px solid #dce6df}.rich-draft-block{padding:3px 0;border-bottom:1px solid #edf1ee}.rich-draft-block .attachment-media{max-height:140px}.rich-format-tools{display:flex;flex-wrap:wrap;gap:3px;align-items:center;font-size:11px}.rich-format-tools button{padding:2px 4px;border:1px solid #d9e4dd;border-radius:3px}.rich-format-tools button[aria-pressed=true]{background:#d4ebe2}.rich-format-tools label{display:flex;gap:3px;align-items:center}.rich-format-tools input[type=color]{width:25px;height:23px;padding:1px}.rich-format-tools select{width:auto;padding:1px 3px;font-size:11px}.rich-block-actions{display:flex;gap:7px;font-size:11px}.quick-manual-list{max-height:65%;flex:1}.quick-manual-list>button{padding:6px 7px;gap:3px;line-height:1.4;border-radius:3px}.quick-manual-list b{font-size:13px}.quick-manual-list small,.quick-insert-help{font-size:11px;line-height:1.4}.quick-edit-block{padding:6px;margin-bottom:5px}.quick-edit-block textarea{padding:6px;line-height:1.5}.quick-block-preview>div{margin:3px 0}.team-notes{padding:9px;border-bottom:2px solid #dce7df;background:#fbfcfa;font-size:12px}.team-notes header{display:flex;justify-content:space-between;gap:5px;flex-wrap:wrap}.team-notes header span{font-size:10px;color:#788b80}.team-notes [role=tablist]{display:flex;gap:4px;margin:7px 0}.team-notes [role=tab][aria-selected=true]{background:#e1eee7}.team-notes article{border-left:3px solid;padding:7px;margin:6px 0;background:#fff}.team-notes .important-note{background:#fff5f1;border:1px solid;border-left-width:4px}.team-notes article p{line-height:1.5;margin:5px 0;overflow-wrap:anywhere}.team-notes small{font-size:10px;color:#76857e}.team-notes button{padding:3px 5px;border:1px solid #d8e3dc;border-radius:3px;margin:2px}.team-notes input:not([type=checkbox]):not([type=color]){padding:5px}.team-notes input[type=color]{width:30px;height:24px;padding:1px}.team-notes input[type=checkbox]{width:auto}.team-notes label{display:inline-flex;align-items:center;gap:4px}.note-editor textarea{min-height:70px;padding:6px;margin:5px 0;line-height:1.5}.team-notes .legacy-customer-note{white-space:pre-wrap;padding:5px;background:#fff1ef}.team-notes .form-error{color:#bd1730}.history-detail .team-notes{max-height:380px;overflow:auto}@media(max-width:650px){.visitor-page .message-content{max-width:calc(100% - 36px)}.rich-draft-editor{max-height:200px}.rich-format-tools{gap:2px}.team-notes{max-height:45vh;overflow:auto}}.app p.message-summary{display:flex;align-items:center;gap:4px;min-width:0;max-width:100%;text-align:left}.summary-sender{display:inline-flex;align-items:center;flex:none;font-size:10px;line-height:16px;padding:0 3px;border-radius:3px;font-weight:500;white-space:nowrap}.summary-sender-agent{color:#23634c;background:#e0f0e7}.summary-sender-visitor{color:#8f4d14;background:#fff0dc}.summary-sender-system,.summary-sender-unknown{color:#68736d;background:#edf0ee}.summary-body{min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.app .messages>.message[data-sender=agent],.visitor-page .messages>.message[data-sender=agent],.app .messages>.message[data-sender=visitor],.visitor-page .messages>.message[data-sender=visitor]{display:grid;grid-template-columns:29px minmax(0,1fr);gap:8px;width:100%;margin-left:0;margin-right:0;align-items:start;text-align:left}.app .messages>.message[data-sender=agent],.visitor-page .messages>.message[data-sender=agent]{grid-template-columns:minmax(0,1fr) 29px}.app .message[data-sender]>.message-avatar,.visitor-page .message[data-sender]>.message-avatar{grid-row:1;width:29px;height:29px}.message[data-sender=agent]>.message-avatar{grid-column:2}.message[data-sender=visitor]>.message-avatar{grid-column:1}.app .messages>.message[data-sender]>.message-content,.visitor-page .messages>.message[data-sender]>.message-content{grid-row:1;width:fit-content;min-width:0;max-width:min(82%,560px)}.message[data-sender=agent]>.message-content{grid-column:1;justify-self:end;align-items:flex-end}.message[data-sender=visitor]>.message-content{grid-column:2;justify-self:start;align-items:flex-start}.message[data-sender=agent] .message-meta{text-align:right}.message[data-sender=visitor] .message-meta{text-align:left}.message[data-sender]>.message-content>.message-menu-anchor{display:block;width:fit-content;max-width:100%}.app .message[data-sender] .bubble,.visitor-page .message[data-sender] .bubble{width:fit-content;min-width:0;max-width:100%;text-align:left}.message[data-sender=agent] .message-more{position:absolute;right:calc(100% + 3px);left:auto;top:0}.message[data-sender=visitor] .message-more{position:absolute;left:calc(100% + 3px);right:auto;top:0}.message[data-sender]>.recalled-message{grid-column:1/-1;justify-self:start}.message[data-sender=agent]>.recalled-message{justify-self:end}.visitor-page .messages>.message[data-sender=agent]{grid-template-columns:29px minmax(0,1fr)}.visitor-page .messages>.message[data-sender=visitor]{grid-template-columns:minmax(0,1fr) 29px}.visitor-page .message[data-sender=agent]>.message-avatar{grid-column:1}.visitor-page .message[data-sender=visitor]>.message-avatar{grid-column:2}.visitor-page .message[data-sender=agent]>.message-content{grid-column:2;justify-self:start;align-items:flex-start}.visitor-page .message[data-sender=visitor]>.message-content{grid-column:1;justify-self:end;align-items:flex-end}.visitor-page .message[data-sender=agent] .message-meta{text-align:left}.visitor-page .message[data-sender=visitor] .message-meta{text-align:right}.visitor-page .message[data-sender=agent] .message-more{left:calc(100% + 3px);right:auto}.visitor-page .message[data-sender=visitor] .message-more{right:calc(100% + 3px);left:auto}.visitor-page .message[data-sender=agent]>.recalled-message{justify-self:start}.visitor-page .message[data-sender=visitor]>.recalled-message{justify-self:end}.visitor-page.hide-visitor-avatars .messages>.message[data-sender=agent],.visitor-page.hide-visitor-avatars .messages>.message[data-sender=visitor]{grid-template-columns:minmax(0,1fr)}.visitor-page.hide-visitor-avatars .messages>.message[data-sender]>.message-content{grid-column:1}:root{--green:#27665e;--green-light:#eaf3f0;--ink:#253536;--muted:#899493;--line:#e9edeb;--bg:#f7f9f8}*{box-sizing:border-box}body{margin:0;font-family:system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI","PingFang SC","Hiragino Sans GB","Microsoft YaHei",sans-serif;color:var(--ink);font-size:13px}button,input,textarea,select{font:inherit}button,a,input,textarea,select{outline-color:#44897a}button{cursor:pointer;display:inline-flex;align-items:center;justify-content:center;gap:7px;border:0;background:none;color:inherit}button:disabled{opacity:.45;cursor:not-allowed}a{color:inherit;text-decoration:none}h1,h2,h3,p{margin:0}input,textarea,select{border:1px solid #dfe6e2;background:#fff;border-radius:7px;padding:10px 12px;color:var(--ink);width:100%}textarea{resize:vertical}button:hover{background:#f0f5f2}.primary{display:inline-flex;align-items:center;justify-content:center;gap:8px;background:var(--green);color:#fff;border-radius:7px;padding:10px 17px;font-weight:500}.primary:hover{background:#20554e}.outline{border:1px solid var(--line);border-radius:6px;padding:8px 12px}.dot{display:inline-block;width:6px;height:6px;background:#4ca58b;border-radius:50%}.app{display:flex;height:100dvh;min-height:550px}.nav{width:185px;background:#f9fbfa;border-right:1px solid var(--line);padding:27px 16px 0;display:flex;flex-direction:column;flex-shrink:0}.brand{display:flex;gap:10px;align-items:center;padding:0 4px 25px}.brandmark{color:#fff;background:var(--green);width:37px;height:37px;display:grid;place-items:center;border-radius:12px}.brand>span{font-size:19px;font-weight:700;letter-spacing:2px}.brand small{display:block;font-size:10px;letter-spacing:1px;color:#9ba7a2;font-weight:400;margin-top:2px}.workspace{font-size:11px;border:1px solid var(--line);border-radius:7px;padding:10px;display:flex;align-items:center;justify-content:space-between;color:#7e8c86}.navtitle{font-size:10px;color:#a3aea8;margin:28px 12px 12px;letter-spacing:1px}.navitem{width:100%;justify-content:flex-start;padding:13px 14px;border-radius:8px;color:#7d8b84;gap:12px;margin-bottom:5px}.navitem.active{color:var(--green);background:#e8f1ed;font-weight:600}.navbadge{margin-left:auto;font-size:10px;background:var(--green);color:#fff;padding:2px 5px;border-radius:4px}.navbottom{margin-top:auto}.navbottom>a{display:flex;gap:8px;font-size:11px;padding:16px 5px;color:#657c70}.profile{border-top:1px solid var(--line);display:flex;align-items:center;gap:9px;padding:20px 0}.profile b{font-size:12px}.profile small{display:block;font-size:10px;color:#8a978f;margin-top:4px}.profile>svg{margin-left:auto;color:#94a299}.avatar{width:34px;height:34px;flex-shrink:0;display:inline-flex;align-items:center;justify-content:center;border-radius:11px;background:#e7eee9;color:#47685b;font-weight:600}.workspace-main{flex:1;min-width:0;display:flex;flex-direction:column}.topbar{height:73px;padding:0 27px;display:flex;justify-content:space-between;align-items:center;border-bottom:1px solid var(--line);flex-shrink:0}.topbar h1{font-size:19px;font-weight:600}.topbar>div{display:flex;align-items:center;gap:20px}.private-badge{font-size:10px;border:1px solid #e1e8e3;padding:4px 8px;border-radius:4px;color:#819087}.connection{font-size:10px;color:#8c9b93}.connection .dot{margin-right:5px}.chat-layout{display:flex;flex:1;min-height:0}.views{width:157px;padding:24px 12px;flex-shrink:0;border-right:1px solid var(--line)}.views>p{color:#9aa69f;font-size:10px;padding:0 10px;margin-bottom:14px}.view{width:100%;padding:10px 9px;justify-content:flex-start;color:#7a8980;font-size:11px;margin-bottom:6px;border-radius:6px;gap:8px}.view span{margin-left:auto;font-size:10px;color:#9caaa1}.view.active{color:var(--green);background:var(--green-light)}.view.active span{color:var(--green)}.viewhint{margin:50px 7px 0;padding-top:20px;border-top:1px solid var(--line)}.hinticon{background:#f1f5f2;width:36px;height:36px;border-radius:10px;display:grid;place-items:center;color:#94aa9d;margin-bottom:12px}.viewhint b{font-size:11px;font-weight:500}.viewhint p{font-size:10px;line-height:1.9;color:#a0aca4;margin:7px 0 13px}.viewhint a{font-size:10px;color:var(--green)}.conversation-list{width:285px;border-right:1px solid var(--line);display:flex;flex-direction:column;flex-shrink:0}.list-head{padding:22px 18px 18px}.list-head h2{font-size:13px;font-weight:600;margin-bottom:16px}.list-head h2 span{background:#eef2ef;color:#9ca8a0;font-size:10px;padding:2px 5px;margin-left:5px;border-radius:4px}.search{display:flex;align-items:center;gap:7px;background:#f5f7f5;border:1px solid #eff2ee;border-radius:6px;padding:8px 10px;color:#a2aea5}.search input{border:0;padding:0;background:none;font-size:10px;outline:none}.list-content{overflow:auto;flex:1}.conversation{width:100%;display:flex;gap:10px;text-align:left;justify-content:flex-start;padding:18px 15px;position:relative;border-left:3px solid transparent;border-bottom:1px solid #f5f7f4}.conversation.selected{background:#f0f6f2;border-left-color:var(--green)}.conversation-text{flex:1;min-width:0}.conversation-text>div{display:flex;align-items:center;justify-content:space-between;gap:5px}.conversation-text b{font-size:12px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.conversation-text time{font-size:9px;color:#a1ada5}.conversation-text p{font-size:10px;color:#91a096;margin:7px 0;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.conversation-text small{display:flex;align-items:center;gap:3px;font-size:9px;color:#a4b0a7}.unread{position:absolute;right:15px;bottom:15px;background:#468674;color:#fff;border-radius:8px;padding:1px 5px;font-size:9px}.visitor-avatar{background:#e9eff5;color:#71849b}.empty-list{padding:80px 20px;color:#b4c0b7;text-align:center;display:flex;align-items:center;flex-direction:column;gap:14px}.empty-list b{font-size:12px;font-weight:400;color:#93a098}.empty-list p{font-size:10px}.chat-main{flex:1;min-width:280px;display:flex;flex-direction:column;background:#fff}.chat-head{height:81px;padding:18px 23px;border-bottom:1px solid var(--line);display:flex;gap:10px;align-items:center}.chat-head b{font-size:13px}.chat-head p{font-size:10px;color:#8f9e95;display:flex;gap:5px;align-items:center;margin-top:6px}.status{font-size:10px;border-radius:4px;padding:3px 6px;display:inline-block;background:#eff3f0;color:#839087}.status.waiting{background:#fcf3e5;color:#b58b4e}.status.active{background:#eaf4ee;color:#598c6a}.chat-actions{margin-left:auto;display:flex;gap:12px}.chat-actions .outline{font-size:10px}.messages{flex:1;min-height:0;overflow:auto;padding:22px 25px;background:#fcfdfc}.day{text-align:center;font-size:10px;color:#a2ada7;margin:5px 0 24px}.message{display:flex;gap:9px;margin-bottom:22px;align-items:flex-start}.message-avatar{width:29px;height:29px;border-radius:9px;background:#e6eee7;display:grid;place-items:center;font-size:11px;color:#6e8876}.message-meta{font-size:10px;color:#8c9d90;margin-bottom:7px}.message-meta time{font-size:9px;color:#b1bbb3;margin-left:8px}.bubble{font-size:12px;line-height:1.8;padding:10px 14px;background:#f0f3f0;border-radius:0 10px 10px;white-space:pre-wrap;overflow-wrap:anywhere;max-width:400px}.message.self{flex-direction:row-reverse}.self .message-meta{text-align:right}.self .bubble{background:#e3f0e8;border-radius:10px 0 10px 10px}.sent{color:#9cad9f;font-size:9px;display:flex;align-items:center;justify-content:flex-end;gap:4px;margin-top:5px}.message.system{justify-content:center;text-align:center;color:#9aa69e;font-size:10px;line-height:1.7}.message.system span{background:#f3f6f3;padding:8px 12px;border-radius:6px}.composer{position:relative;border-top:1px solid var(--line);padding:12px 20px 14px;background:#fff;flex-shrink:0}.tools{display:flex;align-items:center;gap:8px;color:#8d9d91;margin-bottom:5px}.tools button{padding:3px;font-size:10px}.tools>span{margin-left:auto;font-size:9px;color:#b0bbb2}.composer textarea{border:0;outline:0;resize:none;font-size:12px;padding:9px 0;height:70px}.sendrow{display:flex;justify-content:space-between;align-items:center}.sendrow small{color:#bbc3bd;font-size:9px}.sendrow .primary{font-size:11px;padding:8px 14px}.quick,.emojis{position:absolute;bottom:100%;left:20px;background:#fff;box-shadow:0 5px 30px #293f3020;border:1px solid var(--line);border-radius:9px;padding:13px;z-index:5}.quick b{display:block;font-size:11px;padding:5px 7px 10px}.quick button{display:block;text-align:left;padding:8px;font-size:11px;width:100%;border-radius:5px}.emojis button{font-size:22px;padding:5px}.details{width:225px;border-left:1px solid var(--line);background:#fff;overflow:auto;flex-shrink:0}.detail-heading{padding:24px 18px;display:flex;justify-content:space-between;align-items:center;font-size:11px}.detail-heading svg{color:#aab5ae}.customer-card{text-align:center;padding:13px 15px 25px}.large{width:58px;height:58px;border-radius:18px;font-size:23px;background:#edf0e8}.customer-card h3{font-size:14px;margin:12px 0 7px}.customer-card>span:last-child{font-size:10px;color:#99a59c}.detail-block{border-top:1px solid var(--line);padding:20px 18px}.detail-block label{display:block;color:#9da89f;font-size:10px;margin-bottom:19px}.detail-block label:last-child{margin-bottom:0}.detail-block input,.detail-block select,.detail-block textarea{font-size:11px;margin-top:8px;padding:8px}.detail-block p{margin-top:10px;color:#7b8c80;overflow-wrap:anywhere}.detail-block b{font-size:11px}.detail-block dl{display:grid;grid-template-columns:1fr 1fr;font-size:10px;gap:12px}.detail-block dt{color:#9ba99f}.detail-block dd{margin:0;text-align:right;color:#7b8a80}.detail-placeholder{padding:80px 15px;text-align:center;color:#bac5be}.detail-placeholder p{font-size:10px;margin-top:15px}.empty-main{flex:1;display:flex;flex-direction:column;align-items:center;justify-content:center;padding:30px;text-align:center;background:radial-gradient(ellipse at 50% 45%,#f3f8f3,#fff 65%)}.empty-graphic{width:104px;height:104px;display:grid;place-items:center;border-radius:29px;transform:rotate(-6deg);background:#e9f2eb;color:#77a08b;position:relative;margin-bottom:29px}.empty-graphic>span{position:absolute;right:-13px;bottom:0;width:43px;height:43px;border:5px solid white;border-radius:14px;background:#d4e6d9;display:grid;place-items:center;transform:rotate(14deg)}.empty-main h2{font-size:17px;font-weight:500;margin-bottom:13px}.empty-main p{font-size:11px;color:#99a79d;margin-bottom:27px}.empty-main .primary{font-size:11px}.empty-main small{font-size:9px;color:#b0bdb2;margin-top:19px}.content-page{padding:36px 42px;overflow:auto;background:#f8faf8;flex:1}.page-heading{display:flex;justify-content:space-between;align-items:center;margin-bottom:29px}.page-heading h2{font-size:21px;font-weight:500}.page-heading p{font-size:12px;color:#9aa79d;margin-top:10px}.count-pill{font-size:11px;border:1px solid var(--line);border-radius:20px;padding:7px 12px;background:#fff;color:#92a095}.wide{width:310px;margin-bottom:20px;background:#fff}.wide input{font-size:12px}.table-wrap{border:1px solid var(--line);border-radius:10px;background:#fff;overflow:auto}table{width:100%;border-collapse:collapse;font-size:12px;white-space:nowrap}th{text-align:left;background:#fbfcfa;color:#8c9a90;font-size:11px;font-weight:400;padding:17px}td{padding:18px 17px;border-top:1px solid var(--line)}.mini{width:27px;height:27px;border-radius:8px;margin-right:10px;font-size:11px}.textbutton{color:var(--green);font-size:11px}.empty-table{padding:60px;text-align:center;color:#a3afa6;font-size:12px}.metrics{display:grid;grid-template-columns:repeat(4,1fr);gap:20px;margin-bottom:30px}.metric{background:#fff;border:1px solid var(--line);border-radius:11px;padding:23px}.metric>span{display:flex;justify-content:space-between;color:#99a69b;font-size:11px}.metric>span svg{color:#9db4a2}.metric b{display:block;font-size:33px;font-weight:500;margin:16px 0 7px}.metric small{font-size:10px;color:#b3beb4}.report-box,.settings-box{background:#fff;padding:28px;border:1px solid var(--line);border-radius:10px}.report-box h3,.settings-box h3{font-size:14px;font-weight:500;margin-bottom:23px}.agent-row{display:flex;align-items:center;margin:23px 0;gap:10px;font-size:12px}.agent-row b{font-weight:400;min-width:65px}.agent-row>span:last-child{color:#9dab9e;font-size:10px}.bar{flex:1;max-width:500px;background:#f0f4f0;border-radius:4px;height:8px;margin:0 20px}.bar i{display:block;background:#88ae94;border-radius:4px;height:8px}.settings-box{max-width:710px}.settings-box label{display:block;font-size:11px;color:#85958a;margin-bottom:22px}.settings-box input,.settings-box textarea{margin-top:10px;font-size:12px}.settings-box h3:not(:first-child){border-top:1px solid var(--line);padding-top:25px;margin-top:30px}.settings-box .tall{min-height:120px}.error{background:#fff0ed;color:#aa5547;padding:12px;text-align:center;font-size:12px}.error a{text-decoration:underline;margin-left:10px}.toast{position:fixed;bottom:26px;left:50%;transform:translate(-50%);background:#284e3a;color:#fff;padding:12px 20px;border-radius:8px;display:flex;gap:9px;align-items:center;box-shadow:0 5px 25px #233c3025;z-index:20}.visitor-page{min-height:100dvh;background:radial-gradient(ellipse at top,#edf4ef,#f9faf8 70%);display:flex;flex-direction:column;align-items:center;padding:45px 20px}.back{position:absolute;top:22px;left:28px;font-size:11px;color:#8ba195}.preview-label{font-size:11px;color:#a0b0a4;margin:20px 0}.preview-label .dot{margin-right:7px}.visitor-card{width:400px;height:700px;max-height:calc(100dvh - 130px);min-height:480px;display:flex;flex-direction:column;border:1px solid white;background:#fff;border-radius:20px;overflow:hidden;box-shadow:0 20px 70px #3e64501a}.visitor-card header{padding:24px 22px;display:flex;gap:12px;align-items:center;background:linear-gradient(120deg,#edf5ef,#f6faf7)}.vavatar{border-radius:16px;background:var(--green);color:#fff;width:44px;height:44px;display:grid;place-items:center}.visitor-card h2{font-size:15px;font-weight:600}.visitor-card header p{font-size:10px;color:#8ca293;margin-top:8px}.visitor-card header .dot{margin-right:4px}.announcement{background:#edf4ee;color:#88a18f;padding:10px 17px;font-size:10px;display:flex;gap:8px;align-items:center;justify-content:space-between}.announcement span{white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.announcement button{padding:0}.visitor-card .messages{background:linear-gradient(#fafcfb,#fff);padding:20px 17px}.visitor-card .bubble{max-width:260px}.visitor-card .composer{padding:10px 18px}.visitor-card .composer textarea{height:50px}.visitor-card footer{font-size:8px;letter-spacing:2px;color:#b6c2ba;text-align:center;padding:10px;border-top:1px solid #f5f7f5}.welcome{padding:36px 28px;flex:1;overflow:auto}.welcome-icon{color:#7a9f87;background:#eef6f0;width:59px;height:59px;display:grid;place-items:center;border-radius:18px;margin-bottom:22px}.welcome h1{font-size:19px;font-weight:500;margin-bottom:12px}.welcome p{font-size:11px;line-height:1.8;color:#94a89b;margin-bottom:25px}.welcome label{display:block;font-size:11px;color:#8a9e90;margin-bottom:18px}.welcome input{margin-top:8px}.welcome>.primary{width:100%;margin-top:5px}.closed{font-size:11px;padding:10px;background:#f4f7f3;text-align:center;color:#8c9c8e}.closed button{font-size:11px;color:var(--green);text-decoration:underline}.visitor-page .error{margin-top:10px;border-radius:7px}@media(min-width:1600px){.nav{width:210px}.views{width:185px}.conversation-list{width:320px}.details{width:260px}}@media(max-width:1250px){.details{display:none}.views{width:145px}.nav{width:160px;padding-left:10px;padding-right:10px}.conversation-list{width:255px}}@media(max-width:900px){.views{display:none}.nav{width:75px;padding:20px 8px}.brand{padding:0 8px 25px}.brand>span,.workspace,.navtitle,.navitem .navbadge,.profile,.navbottom{display:none}.navitem{font-size:0;gap:0;justify-content:center;padding:14px}.navitem svg{width:20px}.conversation-list{width:235px}.content-page{padding:25px}.metrics{grid-template-columns:repeat(2,1fr)}.connection{display:none}}@media(max-width:650px){.app{height:auto;min-height:100dvh}.nav{width:57px;padding:20px 4px;position:fixed;height:100dvh;z-index:10}.brand{padding:0 6px 25px}.brandmark{width:32px;height:32px;border-radius:10px}.workspace-main{margin-left:57px}.topbar{height:62px;padding:0 18px}.topbar>div{gap:8px}.chat-layout{flex-direction:column}.conversation-list{width:100%;height:220px;border-bottom:1px solid var(--line);flex-shrink:0}.list-head{padding:12px 15px}.list-head h2{margin-bottom:8px}.conversation{padding:12px}.chat-main{min-height:500px;min-width:0}.chat-head{padding:15px}.messages{max-height:400px;min-height:240px;padding:20px 13px}.composer{padding:12px}.tools>span{display:none}.empty-main{padding:60px 20px}.details{display:none}.content-page{padding:25px 16px}.metrics{gap:10px}.metric{padding:17px}.page-heading h2{font-size:18px}.page-heading p{font-size:10px}.wide{width:100%}.settings-box{padding:20px}.visitor-page{padding:55px 12px 12px}.visitor-card{width:100%;height:calc(100dvh - 100px);max-height:none;min-height:480px}.preview-label{margin:10px 0;font-size:9px}.visitor-card .messages{max-height:none;min-height:100px}.visitor-card .welcome{padding:28px}.visitor-card header{padding:18px}.back{left:16px;top:18px}.visitor-card .composer textarea{height:40px}.visitor-card .composer{flex-shrink:0}}.upload-button{cursor:pointer;color:#8d9d91;display:inline-flex;align-items:center;padding:3px}.upload-button input{display:none}.attachment{display:flex;flex-direction:column;gap:5px;max-width:220px}.attachment img{max-width:100%;max-height:220px;object-fit:contain;border-radius:6px}.attachment span{font-size:11px;overflow-wrap:anywhere}.attachment small{font-size:9px;color:#89a391}.channel-filter{font-size:10px;padding:8px;margin-bottom:15px;background:#f9fbfa}.seat-panel{display:flex;align-items:center;justify-content:space-between;padding:25px;background:#fff;border:1px solid var(--line);border-radius:11px;margin-bottom:20px;gap:20px}.seat-panel>div{display:flex;align-items:center;gap:15px}.seat-icon{display:grid;place-items:center;background:#eaf3ed;color:#688e77;width:47px;height:47px;border-radius:13px}.seat-panel b{font-size:15px;font-weight:500}.seat-panel p{font-size:10px;color:#9daf9f;margin-top:8px}.seat-panel input{width:74px}.seat-panel button{font-size:11px}.access-note{display:flex;gap:9px;align-items:center;font-size:11px;color:#91a393;margin:20px 0}.usage-card{margin-top:24px;padding:24px 28px;background:#f1f6f2;border:1px solid #e6eee7;border-radius:10px}.usage-card h3{font-size:13px;font-weight:500;margin-bottom:13px}.usage-card p{font-size:11px;color:#8aa08f;line-height:1.9;margin-bottom:9px}.usage-card button{font-size:11px;margin-top:10px;background:#fff}.link-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:22px}.link-card{background:#fff;border:1px solid var(--line);border-radius:12px;padding:25px}.link-card-heading{display:flex;align-items:center;gap:13px;margin-bottom:20px}.link-logo{display:grid;place-items:center;width:47px;height:47px;border-radius:13px;color:#fff;flex-shrink:0}.link-card h3{font-size:15px;font-weight:500;margin-bottom:5px}.link-card-heading>button{margin-left:auto;font-size:11px}.link-title{font-size:12px;margin-bottom:8px}.link-welcome{font-size:11px;color:#9bae9f;line-height:1.8;min-height:38px}.link-meta{display:flex;justify-content:space-between;gap:15px;font-size:10px;color:#88a18c;margin:19px 0;padding-bottom:17px;border-bottom:1px solid var(--line)}.link-card>label{font-size:10px;color:#a0afa3;display:block}.link-input{display:flex;gap:6px;margin-top:8px;border:1px solid var(--line);border-radius:6px;padding-right:8px}.link-input input{border:0;font-size:10px;background:#fafcf9;min-width:0}.link-actions{display:flex;justify-content:space-between;gap:15px;margin-top:18px;font-size:11px}.link-actions a{display:flex;align-items:center;gap:7px;color:var(--green)}.link-actions button{font-size:10px;color:#9dac9f}.modal-backdrop{position:fixed;inset:0;background:#172e244a;display:flex;align-items:center;justify-content:center;z-index:30;padding:20px;-webkit-backdrop-filter:blur(3px);backdrop-filter:blur(3px)}.modal{background:#fff;border-radius:15px;box-shadow:0 20px 100px #173d3330;padding:28px;width:550px;max-height:90dvh;overflow:auto}.modal-heading{display:flex;align-items:center;justify-content:space-between;margin-bottom:25px}.modal-heading h2{font-size:19px;font-weight:500}.modal>label{display:block;font-size:11px;color:#889f90;margin-bottom:18px}.modal input,.modal textarea,.modal select{margin-top:8px;font-size:12px}.modal textarea{min-height:70px}.modal input[type=color]{height:40px;padding:5px;width:85px}.modal .checkbox-line,.channel-checks .checkbox-line{display:flex;align-items:center;gap:9px;font-size:12px;color:#6d8977;margin:12px 0}.checkbox-line input{width:15px;height:15px;margin:0;accent-color:var(--green)}.channel-checks{padding:16px;border:1px solid var(--line);border-radius:8px;margin:20px 0}.channel-checks b{font-size:11px;font-weight:500;color:#95a799}.modal-actions{display:flex;justify-content:flex-end;gap:12px;padding-top:20px;margin-top:20px;border-top:1px solid var(--line)}.modal-actions button{font-size:11px}.form-error{color:#b56751;font-size:11px}.setting-help{font-size:11px;color:#96a79a;line-height:1.9;margin-bottom:25px}@media(max-width:900px){.link-grid{grid-template-columns:1fr}.seat-panel{align-items:flex-start;flex-direction:column}.seat-panel>div{width:100%}.access-note{font-size:10px;line-height:1.7}.link-card{padding:20px}.modal{padding:22px}}.landing{background:#fafcfb;color:#183f38;min-height:100vh}.landing nav{max-width:1160px;margin:auto;display:flex;justify-content:space-between;align-items:center;padding:28px 24px}.landing-brand{display:flex;align-items:center;gap:10px;font-weight:800;font-size:25px;color:#215b50;text-decoration:none}.landing-brand span{font-size:14px;font-weight:500;border-left:1px solid #cbded6;padding-left:12px}.landing main{max-width:1160px;margin:auto;padding:0 24px}.hero{display:grid;grid-template-columns:1.1fr 1fr;gap:90px;align-items:center;padding:85px 0 90px}.eyebrow{display:inline-block;font-size:12px;letter-spacing:2px;color:#658779}.hero h1{font-size:clamp(35px,4.3vw,59px);line-height:1.23;letter-spacing:-2px;margin:23px 0}.hero h1 em{color:#3c8b74;font-style:normal}.hero p{font-size:16px;line-height:1.9;color:#6c8178;max-width:420px}.hero .primary{margin-top:24px;display:inline-flex;text-decoration:none;padding:15px 24px}.hero-note{display:flex;align-items:center;gap:7px;font-size:11px;color:#8a9e92;margin-top:22px}.hero-chat{background:#fff;border:1px solid #e2eee8;border-radius:22px;box-shadow:0 25px 70px #1d5d3c12;overflow:hidden;transform:rotate(2deg)}.hero-chat-head{padding:22px;display:flex;gap:13px;align-items:center;border-bottom:1px solid #edf3ef}.hero-chat-head small{display:block;font-size:11px;color:#8fa299;margin-top:5px}.hero-chat-head>.dot{margin-left:auto}.hero-avatar{background:#e5f2eb;padding:12px;border-radius:13px}.hero-body{padding:28px 22px;min-height:260px;display:flex;align-items:flex-start;flex-direction:column;gap:22px}.hero-date{font-size:10px;color:#a1b0a9;align-self:center}.hero-body p{font-size:13px;line-height:1.8;padding:13px 17px;border-radius:13px;margin:0;max-width:85%}.demo-other{background:#f0f5f2}.hero-body .demo-self{background:#27665e;color:#fff;align-self:flex-end}.demo-self svg{display:block;margin-left:auto;margin-top:5px}.hero-compose{padding:20px 25px;border-top:1px solid #edf3ef;font-size:12px;color:#94a69c;display:flex;justify-content:space-between}.features{display:grid;grid-template-columns:repeat(3,1fr);gap:50px;padding:42px 0;border-block:1px solid #dfeae4}.features article{padding:12px}.features h3{font-size:17px}.features p{color:#7d9185;font-size:13px;line-height:1.8}.contact-section{padding:85px 0 100px;text-align:center}.contact-section h2{font-size:32px;margin:18px 0}.contact-section>p{color:#82958a}.contact-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:18px;margin-top:35px}.contact-grid>a{display:flex;align-items:center;gap:13px;background:#fff;padding:24px;border:1px solid #dfebe4;border-radius:13px;color:#2f5346;text-decoration:none;text-align:left}.contact-grid>a>span{padding:13px;border-radius:12px;color:#fff}.contact-grid small{display:block;margin-top:8px;color:#819b8c;font-size:11px}.contact-grid>a>svg{margin-left:auto}.landing>footer{padding:26px max(24px,calc((100vw - 1112px)/2));display:flex;justify-content:space-between;border-top:1px solid #e0eae4;font-size:12px;color:#89a091}.field-editor{border:1px solid #dde7e0;border-radius:8px;padding:15px;margin:16px 0}.field-editor p{font-size:12px;color:#7c9185}.field-row{display:grid;grid-template-columns:1fr 1fr;gap:6px;border-bottom:1px solid #edf3ee;padding:8px 0}.field-row .checkbox-line{margin:3px 0}.visitor-sound{position:fixed;right:20px;top:16px;font-size:11px}.visitor-page{padding-top:64px}.modal{max-height:90vh;overflow:auto}.table-wrap{overflow:auto}.landing .outline{text-decoration:none;display:inline-flex;align-items:center;gap:8px}@media(max-width:760px){.hero{grid-template-columns:1fr;gap:40px;padding:40px 0}.hero-chat{transform:none}.features{grid-template-columns:1fr;gap:10px}.contact-grid{grid-template-columns:1fr}.hero-note{font-size:10px}.landing>footer{gap:20px}.landing nav{padding:20px}.hero h1{letter-spacing:-1px}.visitor-sound{position:absolute}}.chat-document{overscroll-behavior:none;overflow:hidden;height:100%;width:100%}.visitor-page{position:fixed;left:0;top:var(--chat-top,0px);width:100%;height:var(--chat-height,100dvh);min-height:0;padding:24px;overflow:hidden;justify-content:center}.visitor-card{height:min(800px,100%);max-height:100%;min-height:0;width:440px;flex:none;position:relative}.visitor-card>header,.visitor-card>.announcement,.visitor-card>.composer,.visitor-card>footer,.visitor-card>.closed{flex-shrink:0}.visitor-card>header>div:nth-child(2){flex:1;min-width:0}.visitor-card h2{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.visitor-card .messages{flex:1;min-height:0;max-height:none;overflow-y:auto;overflow-x:hidden;overscroll-behavior:contain;overflow-anchor:none;-webkit-overflow-scrolling:touch}.visitor-card .welcome{min-height:0;overscroll-behavior:contain}.visitor-card .composer{position:relative;padding:10px 15px}.visitor-card .composer textarea{resize:none;min-height:40px;height:45px;max-height:90px;font-size:16px}.visitor-sound-control{display:flex;flex-direction:column;align-items:center;flex:none;gap:3px}.visitor-sound-control small{font-size:9px;white-space:nowrap;color:#789386}.sound-toggle{width:35px;height:35px;border:1px solid #d8e4dd;border-radius:50%;padding:5px;flex-shrink:0}.sound-toggle[aria-pressed=true]{background:#e2f0e9;color:#27665e}.visitor-card .vavatar{flex-shrink:0}.new-messages{position:absolute;bottom:150px;left:50%;transform:translate(-50%);z-index:5;border-radius:18px;padding:9px 15px;background:#27665e;color:#fff;box-shadow:0 4px 20px #163e3a30;font-size:12px;white-space:nowrap}.chat-main{position:relative;min-height:0}.paste-preview img{display:block;max-width:100%;max-height:50vh;object-fit:contain;margin:auto}.paste-preview h2{margin-bottom:18px}.paste-preview p{font-size:11px;color:#82948a;margin-top:12px}.image-zoom{display:block;width:100%;padding:0;background:#f5f7f6}.image-lightbox{position:fixed;inset:0;background:#0a1619ed;display:flex;align-items:center;justify-content:center;z-index:100;padding:35px}.image-lightbox img{max-width:100%;max-height:100%;object-fit:contain}.image-lightbox>button{position:absolute;right:15px;top:12px;color:#fff;font-size:30px}.paste-preview .modal-actions{margin-top:18px}.stats-filter{display:flex;flex-wrap:wrap;gap:12px;margin:20px 0;align-items:end}.stats-filter label{font-size:11px;color:#7d9488}.stats-filter input,.stats-filter select{margin-top:6px}.duration{font-variant-numeric:tabular-nums}.waiting-list{padding:18px;background:#fff7ed;border:1px solid #f6dfba;border-radius:9px;margin-bottom:20px}.waiting-list p{margin-top:8px}.metric-help{color:#8b9d93;font-size:11px;line-height:1.7;margin:15px 0}@media(max-width:760px){.visitor-page{padding:0;display:flex;align-items:stretch;justify-content:flex-start}.visitor-card{width:100%;height:100%;max-height:100%;min-height:0;border-radius:0;border:0;box-shadow:none}.visitor-card header{padding:calc(12px + env(safe-area-inset-top,0px)) 14px 12px;gap:9px}.visitor-card header h2{font-size:15px}.visitor-card header p{font-size:10px}.visitor-card .messages{min-height:0!important;max-height:none!important;padding:15px 12px}.visitor-card .composer{padding-bottom:max(8px,env(safe-area-inset-bottom,0px))}.visitor-card footer{display:none}.visitor-page>.error{position:absolute;left:10px;right:10px;bottom:120px;z-index:8;margin:0}.visitor-card .welcome{padding:22px;overflow:auto}.visitor-card .welcome input{font-size:16px}.visitor-card .bubble{max-width:min(280px,70vw)}.visitor-card .message-avatar{flex:none}.visitor-card .tools{height:29px}.visitor-card .sendrow{margin-top:3px}.visitor-card .announcement{padding:8px 14px}.visitor-card .new-messages{bottom:138px}}.visitor-shortcut-toggle{width:32px;height:32px;border:1px solid var(--line);border-radius:6px;flex:none}.visitor-shortcut-toggle[aria-pressed=true]{color:var(--green);background:var(--green-light)}.viewhint{position:relative}.close-visitor-shortcuts{position:absolute;right:-3px;top:8px;padding:4px;color:#82988c}.mobile-conversation-back{display:none}@media(max-width:650px){.app{position:fixed;left:0;top:var(--chat-top,0px);height:var(--chat-height,100dvh);min-height:0;width:100%;overflow:hidden}.app>.nav{position:relative;top:auto;height:100%;overflow-y:auto;padding-top:max(12px,env(safe-area-inset-top,0px));padding-bottom:env(safe-area-inset-bottom,0px)}.app>.workspace-main{margin-left:0;min-width:0;min-height:0;overflow:hidden}.app .topbar{height:auto;min-height:56px;padding:8px 10px;gap:5px;flex-wrap:wrap}.app .topbar h1{font-size:16px}.app .topbar>div{gap:5px;flex-wrap:wrap}.app .topbar .private-badge,.app .topbar .connection{display:none}.app .topbar .textbutton{max-width:68px;font-size:10px;padding:3px}.app .topbar button{flex-shrink:0}.app .chat-layout{flex:1;min-height:0;overflow:hidden}.app .conversation-list{width:100%;height:auto;min-height:0;flex:1}.app .chat-main{display:none;flex:1;min-height:0;min-width:0;overflow:hidden}.app .conversation-open>.conversation-list{display:none}.app .conversation-open>.chat-main{display:flex}.app .mobile-conversation-back{display:inline-flex;padding:5px;flex-shrink:0}.app .chat-head{height:auto;min-height:65px;padding:10px 8px;gap:7px;flex-shrink:0}.app .chat-actions{gap:4px}.app .chat-actions .outline{padding:7px;font-size:10px}.app .chat-main>.messages{flex:1;min-height:0;max-height:none;overflow-y:auto;overscroll-behavior:contain}.app .composer{padding:8px 10px max(8px,env(safe-area-inset-bottom,0px))}.app .composer textarea{font-size:16px;height:50px}.app .list-content{min-height:0;overscroll-behavior:contain}.app .content-page{min-height:0}.app .empty-main{padding:24px 15px}.app .bubble{max-width:100%}.app .message>div:last-child{min-width:0}.app .topbar .sound-toggle{width:32px;height:32px}}.reply-draft{display:flex;align-items:center;gap:10px;padding:8px 10px;background:#edf4f0;border-left:3px solid var(--green);border-radius:5px;margin-bottom:8px;min-width:0}.reply-draft-content{display:flex;flex:1;min-width:0;align-items:flex-start;flex-direction:column;gap:4px;padding:0;text-align:left}.reply-draft b,.quoted-message b{font-size:11px;color:var(--green)}.reply-draft span{font-size:11px;color:#789085;width:100%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.quoted-message{display:flex;flex-direction:column;align-items:flex-start;text-align:left;gap:4px;border-left:3px solid #7ba995;background:#dce9e280;padding:7px 9px;margin-bottom:8px;border-radius:4px;width:100%;max-width:100%}.quoted-message span{font-size:11px;color:#6e877b;display:-webkit-box;-webkit-line-clamp:3;-webkit-box-orient:vertical;overflow:hidden;overflow-wrap:anywhere;white-space:pre-wrap}.message-reply{font-size:10px;color:#7d9588;padding:4px 1px;margin-top:4px;opacity:.7}.message-reply:hover,.message-reply:focus-visible{opacity:1;color:var(--green)}.quoted-highlight .bubble{outline:2px solid #76b39a;outline-offset:4px}.composer .reply-draft+*{min-width:0}.self .message-reply{margin-left:auto;display:flex}.message>div:last-child{min-width:0;max-width:100%}@media(max-width:650px){.message-reply{min-height:28px}.reply-draft{padding:6px 8px}.visitor-card .composer:has(.reply-draft) textarea,.app .composer:has(.reply-draft) textarea{height:40px}.quoted-message{padding:6px 8px}}.routing-settings{padding:20px;background:#fff;border:1px solid var(--line);border-radius:10px;margin-bottom:24px}.routing-settings h3{font-size:15px}.routing-settings>p{font-size:11px;color:#81958a;line-height:1.8;margin:10px 0}.routing-fields{display:flex;gap:15px;align-items:end;flex-wrap:wrap;margin:15px 0}.routing-fields label{font-size:11px;color:#7b9184;flex:1;min-width:160px}.routing-fields select{margin-top:7px}.audit-list{margin-top:12px;max-height:300px}.audit-list pre{white-space:pre-wrap;overflow-wrap:anywhere;max-width:500px;font-size:10px}.line-remark{font-size:10px;color:#81998a;line-height:1.6}.line-counts{font-size:11px;color:#688c78;margin:12px 0}.peer-status{font-size:10px;line-height:1.5;color:#7f9b89;margin-top:5px}.peer-status[role=status]{min-height:15px}.availability-toggle{font-size:10px;border:1px solid #d8e6de;padding:6px 8px;border-radius:5px;color:var(--green)}.visitor-history{position:absolute;z-index:15;top:105px;left:12px;right:12px;max-height:45%;overflow:auto;padding:13px;background:#fff;border:1px solid var(--line);border-radius:9px;box-shadow:0 8px 32px #234d3525}.visitor-history>div{display:flex;justify-content:space-between;align-items:center;margin-bottom:8px}.visitor-history>button{display:block;padding:10px 4px;width:100%;text-align:left;font-size:11px;border-bottom:1px solid var(--line)}.history-toggle{font-size:10px;padding:4px 0;margin-top:3px}.claim-panel{flex:1;display:flex;flex-direction:column;gap:16px;padding:30px;align-items:center;justify-content:center;text-align:center}.claim-panel p{color:#81998a;line-height:1.8}.detail-block details{margin-top:14px;font-size:10px}.detail-block details button{display:block;text-align:left;padding:7px 0}.detail-block small{font-size:9px;color:#8ba08f}.detail-block small a{text-decoration:underline}.visitor-card>header p{margin-top:5px}.visitor-card .peer-status{font-size:9px}@media(max-width:650px){.routing-settings{padding:14px}.routing-fields{gap:10px}.routing-fields label{min-width:140px}.routing-fields .primary{width:100%}.app .topbar .availability-toggle{font-size:9px;padding:5px}.visitor-history{top:110px}.claim-panel{padding:20px}.app .chat-head .peer-status{font-size:9px}}.ops-toolbar,.ops-tabs,.ops-pagination,.conversation-operations{display:flex;align-items:center;gap:8px;flex-wrap:wrap}.ops-tabs{margin:18px 0}.ops-toolbar label{margin:0}.ops-filters{display:grid;grid-template-columns:repeat(auto-fit,minmax(155px,1fr));gap:12px;background:#fff;border:1px solid #e2eae6;padding:18px;border-radius:12px;margin:16px 0}.ops-filters label{font-size:12px;color:#52675e;margin:0}.ops-filters input,.ops-filters select,.agent-status-control select{width:100%;border:1px solid #dce7e0;border-radius:6px;padding:9px;background:#fff;color:#294139}.ops-filters button{align-self:end}.ops-center table small,.target-list small,.mono{display:block;font-size:11px;color:#74877e;overflow-wrap:anywhere;margin-top:4px}.ops-center table td{white-space:normal;vertical-align:top;max-width:300px}.ops-stat-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(135px,1fr));gap:12px;margin:18px 0}.ops-stat-grid>div{background:#fff;border:1px solid #dce7e0;padding:16px;border-radius:10px;display:grid;gap:8px}.ops-stat-grid b{font-size:22px}.ops-stat-groups{display:grid;grid-template-columns:1fr 1fr}.ops-pagination{margin:20px 0;justify-content:flex-end}.ops-pagination button,.ops-toolbar button,.ops-tabs button{padding:8px 12px;border:1px solid #dce7e0;border-radius:6px}.ops-modal{max-width:700px;width:min(700px,94vw);max-height:90dvh;overflow:auto}.ops-modal p{font-size:12px;color:#667d70;overflow-wrap:anywhere}.ops-modal article{border-bottom:1px solid #e3ebe7;padding:8px 0}.target-list{max-height:230px;overflow:auto}.target-list>label{display:flex;gap:12px;padding:12px;border:1px solid #e2eae6;border-radius:8px}.target-list input{width:auto}.conversation-operations button{font-size:11px;padding:7px 9px;white-space:nowrap}.chat-head{flex-wrap:wrap;height:auto!important;min-height:76px}.chat-actions{flex-wrap:wrap;max-width:100%;gap:6px}.chat-actions .conversation-operations{justify-content:flex-end}.agent-status-control{position:relative;max-width:120px}.agent-status-control select{font-size:12px;min-width:85px}.transfer-inbox{position:absolute;top:36px;right:0;z-index:80;background:#fff;border:1px solid #dce7e0;box-shadow:0 10px 30px #173f2e22;padding:12px;border-radius:10px;width:min(340px,85vw)}.transfer-inbox article{padding:10px 0;border-bottom:1px solid #e2eae6}.transfer-inbox p{font-size:12px;overflow-wrap:anywhere}.transfer-inbox button{padding:8px;margin:6px 6px 0 0;background:#edf5f1;border-radius:6px}.quick-suggestions{position:absolute;bottom:100%;left:0;right:0;z-index:30;background:#fff;border:1px solid #dce7e0;box-shadow:0 -8px 24px #173f2e15;max-height:290px;overflow:auto;border-radius:10px;padding:8px}.quick-suggestions>small{display:block;padding:6px;color:#75877d}.quick-suggestions button{display:block;width:100%;text-align:left;padding:10px;border-radius:7px}.quick-suggestions button[aria-selected=true]{background:#eaf4ef}.quick-suggestions span{display:block;font-size:12px;color:#637a6c;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.composer{position:relative}.match-snippet{max-height:70px;overflow:hidden;white-space:pre-wrap;overflow-wrap:anywhere}mark{background:#ffeda0;color:#304d3c;border-radius:2px}.form-builder-layout{display:grid;grid-template-columns:minmax(300px,1fr) minmax(300px,1fr);gap:24px;align-items:start}.form-field-editor{border:1px solid #dce7e0;border-radius:9px;margin:18px 0;padding:14px}.form-field-editor legend{font-size:13px}.form-field-editor button{font-size:11px}.form-preview{position:sticky;top:12px}.form-preview-card{background:#fff;border:1px solid #dce7e0;border-radius:16px;padding:24px;margin:16px auto;max-width:100%;box-sizing:border-box}.form-preview-card.mobile{width:360px}.form-preview-card.desktop{width:100%}.prechat-field{display:flex!important;flex-direction:column;gap:6px;font-size:13px;text-align:left}.prechat-field input:not([type=checkbox]):not([type=radio]),.prechat-field textarea,.prechat-field select{width:100%;box-sizing:border-box;background:var(--field-bg)!important;color:var(--field-color)!important;border:1px solid var(--field-border)!important;border-radius:7px;padding:11px;font:inherit}.choice-options{display:flex;flex-wrap:wrap;gap:8px}.choice-options label{display:flex!important;align-items:center;gap:6px;margin:4px 0!important}.choice-options input{width:auto!important;margin:0!important}.welcome{overflow-y:auto;min-height:0}.prechat-fields{width:100%;margin:16px 0}.details dd{overflow-wrap:anywhere}.ops-center details{margin:14px 0}.ops-center a.outline{text-decoration:none;display:inline-flex;padding:9px 12px;font-size:12px}.ops-stat-groups p{font-size:12px}@media(max-width:1000px){.form-builder-layout{grid-template-columns:1fr}.form-preview{position:static}.chat-head .chat-actions{width:100%;justify-content:flex-start}.chat-actions .conversation-operations{justify-content:flex-start}.ops-stat-groups{grid-template-columns:1fr}.topbar>div{gap:6px}.topbar .private-badge{display:none}}@media(max-width:650px){.ops-filters{grid-template-columns:1fr 1fr;padding:12px}.ops-filters label:first-child{grid-column:1/-1}.ops-center{padding:16px!important}.ops-modal{padding:18px}.ops-stat-grid{grid-template-columns:1fr 1fr}.conversation-operations button{padding:6px}.agent-status-control{max-width:92px}.chat-head{padding:10px!important}.topbar .connection{display:none}.form-preview-card{padding:16px}.choice-options{gap:8px}.ops-pagination{justify-content:flex-start}.content-page .page-heading{flex-wrap:wrap;gap:12px}}.vip-star{color:#bb891f}.message-recall{background:none;border:0;color:#a16d5c;font-size:11px;cursor:pointer;margin:5px}.recalled-message{font-size:12px;color:#77877f;font-style:italic;padding:8px 12px;background:#eef1ee;border-radius:7px}.profile-tools .settings-box{margin:18px 0;max-width:900px}.profile-tools input{max-width:420px}.audit-original{white-space:pre-wrap;overflow-wrap:anywhere;font-size:12px;max-height:240px;overflow:auto}.receipt-unread{color:#c62e2e!important}.message-summary{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;color:#485b54!important}.video-attachment video{display:block;width:min(300px,65vw);max-height:320px;border-radius:10px;background:#14221b}.media-preview img,.media-preview video{display:block;max-width:100%;max-height:50dvh;margin:auto;object-fit:contain}.media-preview progress{width:100%}.feature-tabs,.feature-row{display:flex;gap:8px;flex-wrap:wrap;align-items:center}.feature-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(180px,1fr));gap:12px}.feature-grid input[type=color]{min-height:40px}.feature-scope{display:flex;gap:18px;flex-wrap:wrap}.knowledge-editor{padding:18px;margin:18px 0;border:1px solid #dce7e0;border-radius:10px}.knowledge-image{max-width:240px;max-height:160px}.appearance-preview{padding:16px;border-radius:12px}.appearance-preview p{padding:12px;border-radius:12px}.knowledge-browser{width:100%;text-align:left;border-top:1px solid #dce7e0;padding-top:16px;margin:12px 0}.knowledge-browser input,.knowledge-browser select{width:100%;margin:5px 0}.knowledge-browser details{padding:10px 0;border-bottom:1px solid #dce7e0}.knowledge-browser summary{cursor:pointer;font-weight:600}.knowledge-browser img{width:auto;max-width:100%;max-height:300px}.knowledge-browser p,.quick-answer p{white-space:pre-wrap}.quick-questions{display:flex;gap:7px;overflow-x:auto;flex-shrink:0;padding:8px 14px}.quick-questions button{flex-shrink:0;border:1px solid #dce7e0;border-radius:16px;padding:7px 12px;background:#fff;color:#294139}.quick-answer{padding:12px;max-height:25dvh;overflow:auto;border-top:1px solid #dce7e0;flex-shrink:0}.marquee{position:relative;flex-shrink:0;overflow:hidden;height:34px;line-height:34px;padding-right:28px}.marquee span{display:inline-block;white-space:nowrap;min-width:100%;padding-left:100%;animation:abpay-marquee var(--marquee-duration,20s) linear infinite}.marquee:hover span,.marquee:focus-within span{animation-play-state:paused}.marquee button{position:absolute;right:0;top:0;height:34px;background:inherit;color:inherit;border:0;width:28px}.visitor-page .message.self .bubble{background:var(--visitor-bg,var(--green));color:var(--visitor-text,#fff)}.visitor-page .message.other .bubble{background:var(--agent-bg,#e8f3ee);color:var(--agent-text,#173e35)}.hide-visitor-avatars .message-avatar{display:none}.visitor-card .welcome{min-height:0;overflow:auto;overscroll-behavior:contain}.profile-tools .settings-box td small{display:block}.feature-settings fieldset{border:1px solid #dce7e0;border-radius:8px;margin:12px 0}.feature-settings .checkbox-line{display:flex;gap:8px;align-items:center}.feature-settings .checkbox-line input{width:auto}.feature-settings .modal-actions{position:sticky;bottom:0;padding:12px;background:#fff;z-index:1}@keyframes abpay-marquee{0%{transform:translate(0)}to{transform:translate(-100%)}}@media(prefers-reduced-motion:reduce){.marquee span{animation:none;padding-left:12px;white-space:normal}}.permission-row{display:flex;flex-wrap:wrap;gap:12px;align-items:center;padding:10px 0;border-bottom:1px solid #e5e7eb}.permission-row label{min-width:170px}.permission-row select{min-width:240px;max-width:100%}.import-preview{max-height:340px;overflow:auto}.profile-avatar,.avatar-crop{width:100px;height:100px;border-radius:50%;object-fit:cover}.avatar-crop{width:200px;height:200px}.explicit-logout{white-space:nowrap;color:#7e2929!important}.avatar img,.message-avatar img{width:100%;height:100%;object-fit:cover;border-radius:inherit}.vavatar .profile-avatar{width:100%;height:100%}.settings-box>label select[multiple]{min-height:85px}@media(max-width:650px){.permission-row{display:block}.permission-row select{width:100%}.explicit-logout{padding:6px;font-size:12px}.topbar .private-badge{display:none}.import-preview{max-width:100%;overflow:auto}}.app>.nav{min-height:0;max-height:100%;overflow-y:auto;overflow-x:hidden;overscroll-behavior:contain;scrollbar-gutter:stable;padding-bottom:max(16px,env(safe-area-inset-bottom,0px))}.app>.nav>*{flex-shrink:0}.source-badge{display:inline-flex;align-items:center;gap:5px;border:1px solid;border-radius:5px;padding:2px 5px;font-size:11px;max-width:100%}.source-badge i,.presence-badge i{display:inline-block;width:8px;height:8px;border-radius:50%;flex:none}.presence-badge{display:inline-flex;align-items:center;gap:5px}.presence-online{color:#16834b}.presence-offline{color:#717782}.presence-invisible{color:#cf7b0b}.presence-busy{color:#b84c45}.presence-badge i{background:currentColor}.history-detail{width:min(980px,96vw);max-width:980px;max-height:90dvh;overflow:auto}.history-messages{max-height:45dvh;overflow:auto;overscroll-behavior:contain;border:1px solid #e4ebe7;padding:12px;margin:16px 0}.history-messages article{border-bottom:1px solid #e4ebe7;padding:12px 0}.history-messages p{white-space:pre-wrap;overflow-wrap:anywhere}.history-image{max-width:280px;max-height:220px}.marquee>span{pointer-events:none}.quick-questions{flex-shrink:0}.content-page fieldset{margin:16px 0;padding:16px}.content-page fieldset .checkbox-line{display:inline-flex;margin:8px 14px 8px 0}.history-detail label{display:block;margin:10px 0}.history-detail input{margin-left:8px;max-width:100%}.visitor-card .quick-question-bar{display:flex;align-items:center;gap:4px;flex-shrink:0;min-width:0;padding:6px 8px;border-top:1px solid #e4ebe7;background:#fff}.visitor-card .quick-questions{display:flex;flex-direction:row;flex-wrap:nowrap;flex:1;gap:8px;min-width:0;overflow-x:auto;overflow-y:hidden;max-height:none;padding:4px 0;overscroll-behavior-x:contain;touch-action:pan-x;scrollbar-width:thin;cursor:grab;-webkit-user-select:none;user-select:none}.visitor-card .quick-questions:active{cursor:grabbing}.visitor-card .quick-questions button{display:block;flex:0 0 auto;width:auto;max-width:none;text-align:center;white-space:nowrap;border-radius:16px;line-height:1.6;min-height:36px;padding:7px 14px;touch-action:pan-x}.visitor-card .quick-questions button:before{content:none}.visitor-card .question-scroll{flex:0 0 26px;width:26px;height:36px;padding:0;border:1px solid #dce7e0;border-radius:7px;background:#f4f8f5;color:#27665e;font-size:23px;line-height:1}.visitor-card .question-scroll:focus-visible,.visitor-card .quick-questions:focus-visible{outline:2px solid #27665e;outline-offset:2px}.visitor-card .message.system{text-align:left;justify-content:flex-start;font-size:12px;line-height:1.9;width:100%;max-width:100%;box-sizing:border-box}.visitor-card .message.system>span{display:block;white-space:pre-wrap;overflow-wrap:anywhere;word-break:normal;width:100%;box-sizing:border-box;padding:12px 14px;color:#455d52}.history-recalled{border-left:3px solid #d59b57;padding:8px 12px;background:#fff9ef;border-radius:6px;margin:8px 0}.recall-history-label{display:inline-block;color:#9b5d19;background:#fff0d8;padding:3px 8px;border-radius:5px;font-size:12px;font-weight:600}.history-recalled p{margin:8px 0}.history-recalled img,.history-recalled video{margin-top:8px}

/* mobile-media-r24.css */
/* R24: visitor mobile media actions must remain obvious and tappable. */
@media (max-width: 760px) {
  .visitor-card .tools {
    display: flex !important;
    align-items: center !important;
    flex-wrap: wrap !important;
    gap: 6px !important;
    height: auto !important;
    min-height: 36px !important;
    overflow: visible !important;
    margin-bottom: 5px !important;
  }

  .visitor-card .media-upload-buttons {
    display: inline-flex !important;
    align-items: center !important;
    flex-wrap: nowrap !important;
    gap: 5px !important;
  }

  .visitor-card .media-upload-buttons .upload-button {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 3px !important;
    min-width: 54px !important;
    min-height: 32px !important;
    box-sizing: border-box !important;
    padding: 5px 7px !important;
    border: 1px solid #d6e5dd !important;
    border-radius: 7px !important;
    background: #f5faf7 !important;
    color: var(--green, #27665e) !important;
    font-size: 12px !important;
    line-height: 1 !important;
    cursor: pointer !important;
  }

  .visitor-card .media-upload-buttons .upload-button span {
    display: inline !important;
    white-space: nowrap !important;
  }

  .visitor-card .media-upload-buttons .upload-button svg {
    width: 16px !important;
    height: 16px !important;
    flex: none !important;
  }

  .visitor-card .tools > button[title="表情"] {
    min-width: 32px !important;
    min-height: 32px !important;
    border: 1px solid #d6e5dd !important;
    border-radius: 7px !important;
  }
}

/* refined-ui-r25.css */
/* R25: visible staff identity, first-class chat navigation, refined dark theme. */
.visitor-page .message-avatar {
  display: grid !important;
  place-items: center;
  width: 30px;
  height: 30px;
  min-width: 30px;
  border-radius: 50%;
  overflow: hidden;
  background: #edf3ef;
  color: #42665a;
  box-shadow: 0 0 0 1px #d7e3dc;
}
.visitor-page .message-avatar img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: inherit;
}
.visitor-page .message.other .message-avatar { align-self: flex-start; }
.visitor-page .message-meta { min-height: 18px; }

.standalone-chat {
  display: flex;
  align-items: center;
  gap: 9px;
  width: calc(100% - 14px);
  min-height: 42px;
  margin: 8px 7px 3px;
  padding: 9px 10px;
  border: 0;
  border-radius: 7px;
  background: transparent;
  color: #40584d;
  font-size: 14px;
  font-weight: 750;
  cursor: pointer;
}
.standalone-chat:hover,
.standalone-chat.active { background: #e4f1eb; color: #155d49; }
.standalone-chat small { margin-left: auto; color: #7a8e84; font-size: 10px; font-weight: 500; }
.standalone-chat .unread-badge { margin-left: 0 !important; }

.app.theme-dark {
  --dark-bg: #101612;
  --dark-panel: #17201b;
  --dark-panel-2: #1c2821;
  --dark-hover: #24352c;
  --dark-line: #314238;
  --dark-text: #e2ebe6;
  --dark-muted: #9aac9f;
  background: var(--dark-bg) !important;
  color: var(--dark-text) !important;
}
.app.theme-dark .workspace-main,
.app.theme-dark .chat-layout,
.app.theme-dark .content-page,
.app.theme-dark .ops-center { background: var(--dark-bg) !important; color: var(--dark-text); }
.app.theme-dark .nav,
.app.theme-dark .topbar,
.app.theme-dark .conversation-list,
.app.theme-dark .colleague-desk,
.app.theme-dark .chat-main,
.app.theme-dark .chat-head,
.app.theme-dark .composer,
.app.theme-dark .details,
.app.theme-dark .settings-box,
.app.theme-dark .routing-settings,
.app.theme-dark .ops-filters,
.app.theme-dark .ops-stat-grid > div,
.app.theme-dark .form-preview-card,
.app.theme-dark .modal,
.app.theme-dark .transfer-inbox,
.app.theme-dark .quick-suggestions {
  background: var(--dark-panel) !important;
  color: var(--dark-text) !important;
  border-color: var(--dark-line) !important;
}
.app.theme-dark .conversation,
.app.theme-dark .conversation-item,
.app.theme-dark .colleague-seat-head,
.app.theme-dark .colleague-client,
.app.theme-dark .history-messages article,
.app.theme-dark .permission-row,
.app.theme-dark table td,
.app.theme-dark table th { background: transparent; color: var(--dark-text); border-color: var(--dark-line); }
.app.theme-dark .conversation:hover,
.app.theme-dark .conversation-item:hover,
.app.theme-dark .conversation.selected,
.app.theme-dark .conversation-item.active,
.app.theme-dark .colleague-seat-head:hover,
.app.theme-dark .colleague-client:hover,
.app.theme-dark .colleague-client.selected { background: var(--dark-hover) !important; }
.app.theme-dark .standalone-chat { color: #c9d8d0; }
.app.theme-dark .standalone-chat:hover,
.app.theme-dark .standalone-chat.active,
.app.theme-dark .nav-group-title:hover,
.app.theme-dark .nav-group-title.active,
.app.theme-dark .nav-submenu button:hover,
.app.theme-dark .nav-submenu button.active { background: #263a30 !important; color: #b7ead3 !important; }
.app.theme-dark input,
.app.theme-dark textarea,
.app.theme-dark select {
  background: #202d26 !important;
  color: var(--dark-text) !important;
  border-color: #405247 !important;
  caret-color: #9fe0c4;
}
.app.theme-dark input::placeholder,
.app.theme-dark textarea::placeholder { color: #809187; }
.app.theme-dark button:not(.primary):not(.danger),
.app.theme-dark a.outline { color: #d4e0d9; border-color: #405247; }
.app.theme-dark .reply-pending-summary,
.app.theme-dark .colleague-customer-heading,
.app.theme-dark .reply-draft,
.app.theme-dark .quoted-message { background: var(--dark-panel-2) !important; border-color: var(--dark-line); }
.app.theme-dark .message-meta,
.app.theme-dark small,
.app.theme-dark .conversation-text p,
.app.theme-dark .colleague-client p,
.app.theme-dark .peer-status { color: var(--dark-muted) !important; }
.app.theme-dark .modal-backdrop { background: rgba(0, 0, 0, .72); }
.app.theme-dark .theme-control select { background: #202d26 !important; color: var(--dark-text) !important; }
.app.theme-dark ::-webkit-scrollbar-thumb { background: #46594e; }
.app.theme-dark ::-webkit-scrollbar-track { background: #141c17; }
@media (max-width: 650px) {
  .standalone-chat { min-height: 46px; }
  .visitor-page .message-avatar { width: 28px; height: 28px; min-width: 28px; }
}

/* conversation-tabs-r27.css */
.topbar > .conversation-tabs { display:none!important; }

.conversation-list .list-head,
.colleague-desk { min-width:0; }

.list-conversation-tabs {
  box-sizing:border-box;
  display:flex;
  align-items:center;
  gap:2px;
  width:100%;
  height:42px;
  min-height:42px;
  padding:4px 8px 0;
  overflow:hidden;
  border-bottom:1px solid var(--border,#e5e7eb);
  background:var(--panel,#fff);
}
.list-conversation-tabs button {
  box-sizing:border-box;
  display:flex;
  align-items:center;
  justify-content:center;
  gap:3px;
  height:37px;
  min-width:0;
  padding:0 7px;
  border:0;
  border-bottom:2px solid transparent;
  border-radius:5px 5px 0 0;
  background:transparent;
  color:var(--muted,#64748b);
  font-size:13px;
  font-weight:600;
  line-height:1;
  white-space:nowrap;
  cursor:pointer;
}
.list-conversation-tabs button.active {
  border-bottom-color:var(--primary,#166b5b);
  color:var(--text,#17211f);
  background:color-mix(in srgb,var(--primary,#166b5b) 7%,transparent);
}
.list-conversation-tabs .conversation-total { font-size:12px;font-weight:500;opacity:.72; }
.list-conversation-tabs .status-count {
  display:inline-flex;
  align-items:center;
  height:18px;
  padding:0 5px;
  border-radius:9px;
  color:#fff;
  font-size:10px;
  font-weight:700;
  line-height:18px;
}
.list-conversation-tabs .status-count.pending { background:#dc2626; }
.list-conversation-tabs .status-count.unread { background:#b91c1c; }

.conversation-list .list-head > .list-conversation-tabs + h2 { display:none; }
.conversation-list .list-head:has(> .list-conversation-tabs) { padding:0; }
.conversation-list .list-head:has(> .list-conversation-tabs) > .search { margin:8px 10px; }

[data-theme="dark"] .list-conversation-tabs,.dark .list-conversation-tabs { border-color:#334155;background:#111827; }

@media (max-width:1180px) {
  .list-conversation-tabs { overflow-x:auto;scrollbar-width:none; }
  .list-conversation-tabs::-webkit-scrollbar { display:none; }
  .list-conversation-tabs button { flex:0 0 auto; }
}

/* lean-lists-performance-r29.css */
.conversation-list .conversation {
  min-height: 76px;
  padding-block: 9px;
}

.conversation-list .conversation-text {
  min-width: 0;
  gap: 3px;
}

.conversation-list .conversation-text > .message-summary {
  margin: 2px 0 0;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.conversation-list .load-more,
.colleague-seat-list .load-more {
  min-height: 36px;
  margin: 8px 10px 12px;
}

/* transfer-copy-avatar-r30.css */
/* R30: direct image copy and unobscured message avatars. */
.message:not(.system) { align-items: flex-start; }
.message-avatar {
  position: relative; z-index: 2; display: grid; place-items: center;
  flex: 0 0 36px; width: 36px; height: 36px; min-width: 36px; min-height: 36px;
  padding: 0; overflow: hidden; border-radius: 50%; line-height: 1;
}
.message-avatar img {
  display: block; width: 100%; height: 100%; max-width: none;
  object-fit: cover; object-position: center; border-radius: inherit;
}
.message-content { min-width: 0; }
.message-meta { min-height: 20px; line-height: 20px; }
.image-attachment.pure-image { position: relative; }
.image-copy-direct {
  position: absolute; top: 6px; right: 6px; z-index: 3; min-height: 28px;
  padding: 4px 9px; border: 1px solid rgba(255,255,255,.7); border-radius: 6px;
  color: #fff; background: rgba(18,32,27,.78); box-shadow: 0 1px 5px rgba(0,0,0,.18);
  font-size: 12px; line-height: 18px; cursor: pointer;
}
.image-copy-direct:hover,.image-copy-direct:focus-visible { background: rgba(9,92,67,.94); }
@media (max-width: 680px) {
  .message-avatar { flex-basis: 32px; width: 32px; height: 32px; min-width: 32px; min-height: 32px; }
}

/* colleague-seat-picker-v28.css */
.colleague-seat-picker-v28[open]{box-sizing:border-box;max-height:min(320px,40vh);max-height:min(320px,40dvh);overflow-y:scroll!important;overflow-x:hidden;overscroll-behavior-y:contain;touch-action:pan-y;-webkit-overflow-scrolling:touch;scrollbar-gutter:stable;flex-shrink:0;min-height:0;padding-bottom:8px;border:1px solid #dce5e1;border-radius:6px;background:var(--panel-bg,#fff)}
.colleague-seat-picker-v28>summary{position:sticky;top:0;z-index:2;background:var(--panel-bg,#fff);padding:5px 4px;cursor:pointer}
.colleague-seat-picker-v28>.seat-check-label{display:flex;align-items:flex-start;gap:7px;padding:7px 6px;margin:0;cursor:pointer;min-height:34px;box-sizing:border-box;white-space:normal;overflow-wrap:anywhere}
.colleague-seat-picker-v28 .seat-check{flex:0 0 auto;margin-top:3px}
.colleague-seat-picker-v28::-webkit-scrollbar{width:10px}.colleague-seat-picker-v28::-webkit-scrollbar-thumb{background:#91aaa0;border-radius:8px;border:2px solid #f2f6f4}.colleague-seat-picker-v28::-webkit-scrollbar-track{background:#f2f6f4}

/* desk-v41.css */
/* V4.0: workspace uses bounded rows so expanded composition never covers history. */
.app{--desk-text:#172b25;--desk-muted:#465c53;color:var(--desk-text);font-size:14px}
.app .nav{color:var(--desk-text)}
.app .nav button,.app .nav summary,.app .topbar button{font-weight:600;color:inherit}
.app .conversation-text b,.app .colleague-client-title{font-weight:650;color:inherit}
.app .conversation-text small,.app .detail-block label,.app .ops-filters label{color:var(--desk-muted)}
.app .chat-main{min-height:0;overflow:hidden}
.app .messages{flex:1 1 auto;min-height:120px;overflow:auto}
.app .composer{flex:0 0 auto;max-height:40vh;overflow:auto;position:relative;min-height:180px;padding:12px 16px}
.app .rich-draft-editor{max-height:27vh;overflow:auto}
.app .rich-draft-editor textarea{min-height:105px;line-height:1.6;font-size:15px;resize:vertical;max-height:24vh}
.app .right-workspace{min-width:260px;display:flex;flex-direction:column;overflow:auto}
.v40-quick-toggle{position:sticky;top:0;z-index:2;min-height:44px;width:100%;font-size:15px;font-weight:700;background:#e8f3ee;color:#174e40;border:1px solid #bfd7ca}
.app .right-workspace .rich-quick-panel{position:static;width:auto;max-height:55vh;flex:0 0 auto;overflow:auto;border-radius:0}
.app .right-workspace .details{min-height:120px;flex:1 0 auto}
.v40-profile-summary{display:block;font-size:12px;line-height:1.5;white-space:normal;overflow-wrap:anywhere;color:var(--desk-muted);margin-top:4px}
.v40-profile-summary span{display:block}
.v40-unanswered{display:block;width:100%;padding:10px 14px;text-align:left;font-weight:650}
.v40-notice-actions{display:flex;gap:8px;align-items:center;padding:8px}
.v40-notice-dismiss{margin-left:auto}
.v40-config{padding:16px;border:1px solid #cbd7d0;border-radius:8px;margin:16px 0}
.v40-config label{display:block;margin:12px 0}
.v40-config input:not([type=checkbox]),.v40-config textarea,.v40-config select{max-width:100%;padding:8px;border:1px solid #b5c6bd;border-radius:5px}
.v40-config textarea{width:100%;min-height:100px}
.v40-config .v40-row{display:flex;gap:12px;align-items:center;flex-wrap:wrap}
.v40-config .v40-preview{padding:16px;background:#edf5f0;border-radius:8px;white-space:pre-wrap;max-width:480px}
.v40-config img{display:block;max-height:180px;max-width:100%;margin-top:8px}
.v40-fallback{margin:24px auto;max-width:520px;padding:24px;line-height:1.7;font:16px system-ui;color:#173e35;background:#f1f6f3;border-radius:12px}
.v40-fallback button,.v40-fallback a{display:inline-block;padding:9px 14px;background:#27665e;color:white;border:0;border-radius:6px;margin:8px 8px 0 0}
.app.theme-dark{color-scheme:dark;--desk-text:#edf5f0;--desk-muted:#b8c9c0;--v40-bg:#111b17;--v40-panel:#1a2922;--v40-line:#3b5045;background:var(--v40-bg)!important;color:var(--desk-text)!important}
.app.theme-dark :is(.workspace-main,.chat-layout,.content-page,.ops-center,.messages,.list-content){background:var(--v40-bg)!important;color:var(--desk-text)!important}
.app.theme-dark :is(.nav,.topbar,.conversation-list,.colleague-desk,.chat-main,.chat-head,.composer,.details,.right-workspace,.rich-quick-panel,.rich-draft-editor,.rich-draft-block,.team-notes,.team-note,.note-editor,.note-card,.detail-block,.detail-heading,.ops-tabs,.ops-filters,.ops-stat-grid>div,.table-wrap,.modal,.modal-content,.modal-card,.dialog,.settings-box,.routing-settings,.card,.v40-config,.transfer-inbox,.staff-alert-inbox,.quick-block-preview,.quick-edit-block,.quick-manual-list,.visitor-shortcut-toggle,.reply-pending-summary){background:var(--v40-panel)!important;color:var(--desk-text)!important;border-color:var(--v40-line)!important}
.app.theme-dark :is(input,textarea,select,option,button:not(.primary),summary,th,td){background-color:var(--v40-panel);color:var(--desk-text);border-color:var(--v40-line)}
.app.theme-dark :is(label,small,.muted,.conversation-text,.colleague-seat-name,.colleague-client-text,.v40-profile-summary){color:var(--desk-muted)!important}
.app.theme-dark :is(.conversation.selected,.colleague-client.selected,.colleague-seat-head.selected-seat,.nav button.active,.v40-quick-toggle){background:#284436!important;color:#effff4!important}
.app.theme-dark :is(.tools,.sendrow,.format-tools,.rich-style-tools,.ops-pagination){background:transparent;color:var(--desk-text)}
.app.theme-dark :is(button:hover,summary:hover){filter:brightness(1.15)}
.app.theme-dark :is(.system,.system>span){color:#c7d7ce;background:transparent}
.app.theme-dark .self .bubble{background:#234e3c;color:#f1fff7}
.app.theme-dark .other .bubble{background:#293b32;color:#f1fff7}
@media(max-width:1000px){.app .right-workspace{min-width:220px}.app .composer{max-height:38vh}}
@media(max-width:650px){.app .composer{min-height:140px;max-height:36vh}.app .rich-draft-editor textarea{min-height:75px}.app .right-workspace{display:flex;position:relative;width:100%;min-width:0;max-height:38vh;grid-column:1/-1}.app .right-workspace .details{display:none}.app .right-workspace .rich-quick-panel{max-height:30vh}}

/* V4.0.1: direct channel controls and a complete staff dark palette. */
.v41-channel-settings{max-width:920px;margin:0 0 20px}
.v41-channel-settings h3{margin:0 0 14px;font-size:18px}
.v41-channel-settings p{line-height:1.7}
.v41-channel-settings input[type=checkbox]{width:auto;margin-right:8px}
.v41-channel-settings input[type=color]{width:64px;height:40px;padding:3px;cursor:pointer}
.v41-channel-settings fieldset{border:0;padding:0;margin:0;min-width:0}
.v41-embedded{padding:16px;background:#f5f9f7;margin:18px 0}
.v41-preview-label{font-size:12px;color:#53685f}
.v41-message-preview{border:1px solid #c9d6cf;background:#fff!important;max-width:100%;overflow-wrap:anywhere}
.v41-message-preview img{object-fit:contain}
.v41-message-preview button{font-size:12px;color:#375d4e;background:#edf4f0;margin-top:6px}
.v41-telegram-link{font-weight:650}
.v41-telegram-page .v41-channel-settings{background:#fff}
.agent-status-control{position:relative}
.v41-inbox-stack{position:absolute;right:0;top:100%;z-index:85;width:min(390px,90vw);max-height:72vh;overflow:auto;display:flex;flex-direction:column;gap:10px}
.agent-status-control .v41-inbox-stack .transfer-inbox{position:static;box-sizing:border-box;width:100%;max-width:100%;flex-shrink:0;margin:0}
.v41-action-result{z-index:100;max-width:calc(100vw - 40px);font-size:14px}
.message-meta{flex-wrap:wrap;gap:4px 7px}
.message-meta time{white-space:nowrap;font-variant-numeric:tabular-nums}
.app.theme-dark{--ink:#edf3ef;--muted:#b9c8c0;--line:#3e5147;--green-light:#284338;--panel-bg:#192820;--field-bg:#21352b;--field-color:#edf3ef;--field-border:#496357;--desk-text:#edf3ef;--desk-muted:#b9c8c0;color-scheme:dark}

.app.theme-dark .workspace-main,
.app.theme-dark .workspace-body,
.app.theme-dark .main,
.app.theme-dark .views,
.app.theme-dark .empty-main,
.app.theme-dark .content-page,
.app.theme-dark .chat-layout,
.app.theme-dark .ops-center,
.app.theme-dark .messages,
.app.theme-dark .list-content{background:#111c16!important;background-image:none!important;color:#edf3ef!important;border-color:#3e5147!important}.app.theme-dark .nav{background:#1b2b22!important;background-image:none!important;color:#edf3ef!important;border-color:#3e5147!important}
.app.theme-dark .workspace{background:#1b2b22!important;background-image:none!important;color:#edf3ef!important;border-color:#3e5147!important}
.app.theme-dark .topbar{background:#1b2b22!important;background-image:none!important;color:#edf3ef!important;border-color:#3e5147!important}
.app.theme-dark .list-head{background:#1b2b22!important;background-image:none!important;color:#edf3ef!important;border-color:#3e5147!important}
.app.theme-dark .list-tabs{background:#1b2b22!important;background-image:none!important;color:#edf3ef!important;border-color:#3e5147!important}
.app.theme-dark .conversation-tabs{background:#1b2b22!important;background-image:none!important;color:#edf3ef!important;border-color:#3e5147!important}
.app.theme-dark .conversation-list{background:#1b2b22!important;background-image:none!important;color:#edf3ef!important;border-color:#3e5147!important}
.app.theme-dark .colleague-desk{background:#1b2b22!important;background-image:none!important;color:#edf3ef!important;border-color:#3e5147!important}
.app.theme-dark .colleague-seat-picker-v28{background:#1b2b22!important;background-image:none!important;color:#edf3ef!important;border-color:#3e5147!important}
.app.theme-dark .colleague-seat-picker-v28>summary{background:#1b2b22!important;background-image:none!important;color:#edf3ef!important;border-color:#3e5147!important}
.app.theme-dark .colleague-seat-head{background:#1b2b22!important;background-image:none!important;color:#edf3ef!important;border-color:#3e5147!important}
.app.theme-dark .colleague-customer-heading{background:#1b2b22!important;background-image:none!important;color:#edf3ef!important;border-color:#3e5147!important}
.app.theme-dark .colleague-client{background:#1b2b22!important;background-image:none!important;color:#edf3ef!important;border-color:#3e5147!important}
.app.theme-dark .chat-main{background:#1b2b22!important;background-image:none!important;color:#edf3ef!important;border-color:#3e5147!important}
.app.theme-dark .chat-head{background:#1b2b22!important;background-image:none!important;color:#edf3ef!important;border-color:#3e5147!important}
.app.theme-dark .composer{background:#1b2b22!important;background-image:none!important;color:#edf3ef!important;border-color:#3e5147!important}
.app.theme-dark .details{background:#1b2b22!important;background-image:none!important;color:#edf3ef!important;border-color:#3e5147!important}
.app.theme-dark .right-workspace{background:#1b2b22!important;background-image:none!important;color:#edf3ef!important;border-color:#3e5147!important}
.app.theme-dark .detail-block{background:#1b2b22!important;background-image:none!important;color:#edf3ef!important;border-color:#3e5147!important}
.app.theme-dark .detail-heading{background:#1b2b22!important;background-image:none!important;color:#edf3ef!important;border-color:#3e5147!important}
.app.theme-dark .team-notes{background:#1b2b22!important;background-image:none!important;color:#edf3ef!important;border-color:#3e5147!important}
.app.theme-dark .team-notes article{background:#1b2b22!important;background-image:none!important;color:#edf3ef!important;border-color:#3e5147!important}
.app.theme-dark .team-notes .legacy-customer-note{background:#1b2b22!important;background-image:none!important;color:#edf3ef!important;border-color:#3e5147!important}
.app.theme-dark .team-notes .important-note{background:#1b2b22!important;background-image:none!important;color:#edf3ef!important;border-color:#3e5147!important}
.app.theme-dark .rich-quick-panel{background:#1b2b22!important;background-image:none!important;color:#edf3ef!important;border-color:#3e5147!important}
.app.theme-dark .rich-draft-editor{background:#1b2b22!important;background-image:none!important;color:#edf3ef!important;border-color:#3e5147!important}
.app.theme-dark .rich-draft-block{background:#1b2b22!important;background-image:none!important;color:#edf3ef!important;border-color:#3e5147!important}
.app.theme-dark .quick-combined-preview>section{background:#1b2b22!important;background-image:none!important;color:#edf3ef!important;border-color:#3e5147!important}
.app.theme-dark .quick-manual-list{background:#1b2b22!important;background-image:none!important;color:#edf3ef!important;border-color:#3e5147!important}
.app.theme-dark .quick-suggestions{background:#1b2b22!important;background-image:none!important;color:#edf3ef!important;border-color:#3e5147!important}
.app.theme-dark .quick{background:#1b2b22!important;background-image:none!important;color:#edf3ef!important;border-color:#3e5147!important}
.app.theme-dark .emojis{background:#1b2b22!important;background-image:none!important;color:#edf3ef!important;border-color:#3e5147!important}
.app.theme-dark .message-context-menu{background:#1b2b22!important;background-image:none!important;color:#edf3ef!important;border-color:#3e5147!important}
.app.theme-dark .table-wrap{background:#1b2b22!important;background-image:none!important;color:#edf3ef!important;border-color:#3e5147!important}
.app.theme-dark table{background:#1b2b22!important;background-image:none!important;color:#edf3ef!important;border-color:#3e5147!important}
.app.theme-dark th{background:#1b2b22!important;background-image:none!important;color:#edf3ef!important;border-color:#3e5147!important}
.app.theme-dark td{background:#1b2b22!important;background-image:none!important;color:#edf3ef!important;border-color:#3e5147!important}
.app.theme-dark .metric{background:#1b2b22!important;background-image:none!important;color:#edf3ef!important;border-color:#3e5147!important}
.app.theme-dark .report-box{background:#1b2b22!important;background-image:none!important;color:#edf3ef!important;border-color:#3e5147!important}
.app.theme-dark .settings-box{background:#1b2b22!important;background-image:none!important;color:#edf3ef!important;border-color:#3e5147!important}
.app.theme-dark .routing-settings{background:#1b2b22!important;background-image:none!important;color:#edf3ef!important;border-color:#3e5147!important}
.app.theme-dark .seat-panel{background:#1b2b22!important;background-image:none!important;color:#edf3ef!important;border-color:#3e5147!important}
.app.theme-dark .usage-card{background:#1b2b22!important;background-image:none!important;color:#edf3ef!important;border-color:#3e5147!important}
.app.theme-dark .link-card{background:#1b2b22!important;background-image:none!important;color:#edf3ef!important;border-color:#3e5147!important}
.app.theme-dark .modal{background:#1b2b22!important;background-image:none!important;color:#edf3ef!important;border-color:#3e5147!important}
.app.theme-dark .modal-actions{background:#1b2b22!important;background-image:none!important;color:#edf3ef!important;border-color:#3e5147!important}
.app.theme-dark .feature-settings .modal-actions{background:#1b2b22!important;background-image:none!important;color:#edf3ef!important;border-color:#3e5147!important}
.app.theme-dark .dialog{background:#1b2b22!important;background-image:none!important;color:#edf3ef!important;border-color:#3e5147!important}
.app.theme-dark .card{background:#1b2b22!important;background-image:none!important;color:#edf3ef!important;border-color:#3e5147!important}
.app.theme-dark .transfer-inbox{background:#1b2b22!important;background-image:none!important;color:#edf3ef!important;border-color:#3e5147!important}
.app.theme-dark .transfer-inbox article{background:#1b2b22!important;background-image:none!important;color:#edf3ef!important;border-color:#3e5147!important}
.app.theme-dark .staff-alert-inbox{background:#1b2b22!important;background-image:none!important;color:#edf3ef!important;border-color:#3e5147!important}
.app.theme-dark .ops-tabs{background:#1b2b22!important;background-image:none!important;color:#edf3ef!important;border-color:#3e5147!important}
.app.theme-dark .ops-filters{background:#1b2b22!important;background-image:none!important;color:#edf3ef!important;border-color:#3e5147!important}
.app.theme-dark .ops-stat-grid>div{background:#1b2b22!important;background-image:none!important;color:#edf3ef!important;border-color:#3e5147!important}
.app.theme-dark .channel-checks{background:#1b2b22!important;background-image:none!important;color:#edf3ef!important;border-color:#3e5147!important}
.app.theme-dark .permission-row{background:#1b2b22!important;background-image:none!important;color:#edf3ef!important;border-color:#3e5147!important}
.app.theme-dark .history-messages article{background:#1b2b22!important;background-image:none!important;color:#edf3ef!important;border-color:#3e5147!important}
.app.theme-dark .v40-config{background:#1b2b22!important;background-image:none!important;color:#edf3ef!important;border-color:#3e5147!important}
.app.theme-dark .v41-embedded{background:#1b2b22!important;background-image:none!important;color:#edf3ef!important;border-color:#3e5147!important}
.app.theme-dark .v41-telegram-page .v41-channel-settings{background:#1b2b22!important;background-image:none!important;color:#edf3ef!important;border-color:#3e5147!important}
.app.theme-dark .v41-channel-settings fieldset{background:#1b2b22!important;background-image:none!important;color:#edf3ef!important;border-color:#3e5147!important}

.app.theme-dark .search,
.app.theme-dark .channel-filter,
.app.theme-dark .link-input input,
.app.theme-dark .count-pill,
.app.theme-dark .wide,
.app.theme-dark .reply-draft,
.app.theme-dark .quoted-message,
.app.theme-dark .history-message.agent,
.app.theme-dark .history-message.visitor,
.app.theme-dark .recalled-message,
.app.theme-dark .rich-format-tools,
.app.theme-dark .rich-style-tools,
.app.theme-dark .format-tools,
.app.theme-dark .tools,
.app.theme-dark .sendrow,
.app.theme-dark .ops-pagination{background:#23372c!important;color:#dcebe2!important;border-color:#496052!important}

.app.theme-dark h1,
.app.theme-dark h2,
.app.theme-dark h3,
.app.theme-dark h4,
.app.theme-dark label,
.app.theme-dark summary,
.app.theme-dark .navtitle,
.app.theme-dark .brand,
.app.theme-dark .link-title,
.app.theme-dark .page-heading,
.app.theme-dark .conversation-text b,
.app.theme-dark .colleague-seat-name,
.app.theme-dark .sender-label,
.app.theme-dark .message-meta time{color:#edf3ef!important}

.app.theme-dark small,
.app.theme-dark .muted,
.app.theme-dark .page-heading p,
.app.theme-dark .link-welcome,
.app.theme-dark .link-meta,
.app.theme-dark .line-counts,
.app.theme-dark .line-remark,
.app.theme-dark .workspace,
.app.theme-dark .v41-preview-label,
.app.theme-dark .conversation-text p,
.app.theme-dark .colleague-client-text,
.app.theme-dark .message-meta,
.app.theme-dark .peer-status{color:#b9c8c0!important}

.app.theme-dark input,
.app.theme-dark textarea,
.app.theme-dark select,
.app.theme-dark option{background-color:#21352b!important;color:#edf3ef!important;border-color:#496357!important;caret-color:#adf1d0}

.app.theme-dark input::placeholder,
.app.theme-dark textarea::placeholder{color:#9fb4a8!important;opacity:1}

.app.theme-dark button:not(.primary):not(.danger),
.app.theme-dark a.outline{color:#deeee4;border-color:#4c6556}

.app.theme-dark .primary{background:#32785d!important;color:#fff!important}

.app.theme-dark .primary:hover{background:#3e8a6c!important}

.app.theme-dark .conversation.selected,
.app.theme-dark .conversation:hover,
.app.theme-dark .colleague-client.selected,
.app.theme-dark .colleague-client:hover,
.app.theme-dark .colleague-seat-head.selected-seat,
.app.theme-dark .colleague-seat-head:hover,
.app.theme-dark .conversation-tabs button[aria-selected=true],
.app.theme-dark .nav button.active,
.app.theme-dark .standalone-chat.active,
.app.theme-dark .v40-quick-toggle,
.app.theme-dark .team-notes [role=tab][aria-selected=true]{background:#2b4939!important;color:#effff5!important}

.app.theme-dark .conversation.has-unread,
.app.theme-dark .colleague-client.has-unread,
.app.theme-dark .colleague-seat-head.has-unread,
.app.theme-dark .incoming-summary,
.app.theme-dark .reply-pending-summary,
.app.theme-dark .waiting-list,
.app.theme-dark .history-recalled{background:#3d292a!important;color:#ffd9dc!important;border-color:#80504e!important}

.app.theme-dark .conversation.has-unread.selected,
.app.theme-dark .colleague-client.has-unread.selected{background:#513135!important}

.app.theme-dark .error,
.app.theme-dark .form-error{background:#47282d!important;color:#ffd9de!important}

.app.theme-dark .unread-badge,
.app.theme-dark .reply-status,
.app.theme-dark .reply-status.overdue{background:#bc2d46!important;color:#fff!important}

.app.theme-dark .other .bubble{background:#2b3e32!important;color:#f1fff7!important}

.app.theme-dark .self .bubble{background:#28563f!important;color:#f1fff7!important}

.app.theme-dark .v41-message-preview{background:#fff!important}

.app.theme-dark .v41-message-preview button{background:#edf4f0!important;color:#375d4e!important}

.app.theme-dark .modal-backdrop{background:rgba(0,0,0,.72)!important}

.app.theme-dark .toast{background:#294e3b!important;color:#f2fff6!important}

@media(max-width:650px){.v41-inbox-stack{position:fixed;right:10px;top:62px;width:calc(100vw - 20px)}.v41-channel-settings{padding:12px}.v41-embedded{margin:12px 0}.message-meta{font-size:11px}}

#boot-loading[hidden],#boot-recovery[hidden]{display:none!important}

/* R52: keep the entire conversation list inside a real scroll container. */
.app .workspace-main,.app .chat-layout{min-height:0;overflow:hidden}
.app .conversation-list{min-height:0;overflow:hidden}
.app .conversation-list>.list-head{flex:0 0 auto}
.app .conversation-list>.list-content{min-height:0;flex:1 1 0;overflow-y:auto;overflow-x:hidden;overscroll-behavior:contain;scrollbar-gutter:stable}
.app .conversation.selected,.app .conversation.selected:hover,.app .colleague-client.selected,.app .colleague-client.selected:hover{background:#dbeafe!important;border-left:5px solid #2563eb!important;box-shadow:inset 0 0 0 1px #60a5fa;color:#123765!important}
.app .conversation.selected .conversation-text b,.app .conversation.selected .v40-profile-summary,.app .colleague-client.selected .colleague-client-text{color:#123765!important}
.app.theme-dark .conversation.selected,.app.theme-dark .conversation.selected:hover,.app.theme-dark .colleague-client.selected,.app.theme-dark .colleague-client.selected:hover{background:#163d68!important;border-left-color:#60a5fa!important;color:#f0f7ff!important}
.app.theme-dark .conversation.selected .conversation-text b,.app.theme-dark .conversation.selected .v40-profile-summary,.app.theme-dark .colleague-client.selected .colleague-client-text{color:#f0f7ff!important}
.current-conversation52{display:inline-flex;font-size:10px;line-height:1.5;padding:1px 5px;border-radius:4px;background:#1d4ed8;color:#fff!important;margin:2px 0}
.visitor-submission52{padding:6px 12px;border-bottom:1px solid #dbe7e1;font-size:11px;color:#455b50;overflow-wrap:anywhere;flex:none}
.visitor-submission52 .v40-profile-summary{display:flex;white-space:normal}

/* Independent navigation and filter collapse controls. */
.app .layout-toggle53{display:flex;align-items:center;justify-content:center;gap:5px;min-height:34px;padding:6px 9px;border:1px solid var(--line,#dce7e0);border-radius:6px;background:transparent;color:inherit;font-size:12px;white-space:nowrap;cursor:pointer}
.app .topbar>.layout-toggle53{flex:none}
@media(min-width:761px){
 .app>.nav{width:160px;padding-inline:8px}
 .app.nav-collapsed53>.nav{display:none!important}
 .app .chat-layout>.views{display:block;width:140px;min-width:140px;padding:12px 8px;overflow-y:auto}
 .app .chat-layout.filters-collapsed53>.views{display:none!important}
 .app .chat-layout>.conversation-list{width:270px;min-width:230px}
 .app .chat-main{min-width:0;flex:1 1 0}
 .app .chat-layout.colleague-layout>.views{display:none!important}
}
/* Header information and action buttons occupy separate rows: no overlap. */
.app .chat-head{display:flex;flex-wrap:wrap!important;height:auto!important;min-height:86px;padding:8px 10px!important;gap:7px!important;flex:0 0 auto;max-height:36vh;overflow-y:auto}
.app .chat-head>.chat-identity53{min-width:0;flex:1 1 160px;overflow-wrap:anywhere}
.app .chat-head>.chat-actions{width:100%!important;flex:0 0 100%;margin-left:0;justify-content:flex-end;flex-wrap:wrap!important;padding-top:5px;border-top:1px solid var(--line,#dce7e0);gap:6px!important}
.app .chat-actions .conversation-operations{display:flex;flex-wrap:wrap!important;gap:6px!important}
.app .chat-actions button{min-height:30px;padding:5px 9px!important}
.app .visitor-key-info{width:100%;max-width:100%;min-width:0}
.app .visitor-key-info button{max-width:100%;min-width:0;min-height:29px;font-size:12px;line-height:1.4;white-space:normal;text-align:left;user-select:text}
.app .visitor-key-info button strong{white-space:normal;overflow-wrap:anywhere;word-break:break-word;text-overflow:clip}
.app .visitor-key-info button>span{flex:0 1 auto;white-space:normal}
.app .visitor-key-info button>svg{flex:none}
.visitor-reconnect53{display:flex;flex-wrap:wrap;align-items:center;justify-content:center;gap:10px;margin:12px 0;font-size:13px}
.visitor-reconnect53 button{min-height:40px;padding:8px 16px;border-radius:7px;border:1px solid currentColor;background:transparent;color:inherit;cursor:pointer}
.visitor-connecting53{padding:8px;color:#5c7167;font-size:13px;line-height:1.5}
.knowledge-editor .knowledge-image{display:block;max-width:min(100%,420px);max-height:360px;object-fit:contain;margin:10px 0}
@media(max-width:760px){.app .topbar>.layout-toggle53{padding:5px;font-size:11px}.app.nav-collapsed53>.nav{display:none!important}.app .chat-head{max-height:35vh}.app .visitor-key-info button{font-size:11px}.app .chat-actions{justify-content:flex-start!important}}
