:root{font-family:-apple-system,BlinkMacSystemFont,"PingFang SC","Microsoft YaHei",sans-serif;color:#202d43;background:#fff;font-size:14px;--blue:#0869f6;--muted:#7c8ba5;--line:#e4eaf3}*{box-sizing:border-box}[hidden]{display:none!important}body{margin:0}button,input,select,textarea{font:inherit}button{cursor:pointer;background:#fff;color:#34445c;border:1px solid var(--line);border-radius:7px;padding:9px 13px;white-space:nowrap}button:hover{background:#eff5ff;border-color:#b8d1fc}button:disabled{opacity:.45;cursor:not-allowed}.primary{background:var(--blue);border-color:var(--blue);color:white}.primary:hover{background:#0054d5;color:#fff}.link{border:0;color:var(--muted);padding:8px}.danger{color:#bc3446}.muted,small{color:var(--muted)}a{color:var(--blue)}input,select,textarea{border:1px solid var(--line);border-radius:6px;padding:10px;background:white;color:#283b57;min-width:0}input:focus,select:focus,textarea:focus{outline:2px solid #b4d3ff;border-color:#79b1ff}label{display:flex;flex-direction:column;gap:8px;margin:13px 0}label:has(input[type=checkbox]){flex-direction:row;align-items:center;font-size:13px}h1,h2,h3,p{margin:0}h2{font-size:18px}p{line-height:1.8;margin:12px 0}.top{height:80px;padding:0 24px;border-bottom:1px solid var(--line);display:flex;align-items:center;gap:22px}.brand,.account,.row{display:flex;align-items:center;gap:12px}.brand{font-size:21px;white-space:nowrap}.logo{background:var(--blue);color:white;font-size:26px;padding:8px 12px;border-radius:13px}.local-tag{font-size:11px;color:#627ca8;background:#eef4ff;padding:4px;border-radius:4px}nav{display:flex;height:100%;align-items:stretch;gap:6px;margin:auto}nav button{border:0;border-radius:0;color:var(--muted);font-weight:600;border-bottom:3px solid transparent;font-size:14px}nav button.selected{color:var(--blue);border-bottom-color:var(--blue)}.account{font-size:12px;gap:6px}.spacebar{height:58px;padding:0 24px;border-bottom:1px solid var(--line);display:flex;align-items:center;justify-content:space-between;color:var(--muted)}.spacebar strong{color:#34445c;margin-left:12px}.spacebar select{padding:6px;margin-left:10px}#connection{font-size:12px}.online{color:#209b79}.workbench{display:grid;grid-template-columns:310px minmax(0,1fr) 280px;height:calc(100dvh - 138px - var(--care-reminder-height,0px));min-height:550px}.inbox{border-right:1px solid var(--line);display:flex;flex-direction:column;overflow:hidden}.section-head{display:flex;align-items:center;gap:8px;padding:24px 16px 15px}.section-head h2{margin-right:auto;font-size:17px}.section-head button{padding:7px;font-size:12px}.filters{padding:0 16px}.filters input,.filters select{width:100%;margin:6px 0}.filters input{background:#f6f8fc;padding:17px 10px}.tabs{display:flex;gap:12px;margin-top:12px}.tabs button{border:0;border-bottom:2px solid transparent;border-radius:0;padding:12px 2px;color:var(--muted)}.tabs .selected{color:var(--blue);border-bottom-color:var(--blue);font-weight:bold}.conversation-list{overflow:auto;flex:1;border-top:1px solid var(--line)}.conversation{display:flex;width:100%;text-align:left;gap:10px;padding:18px 15px;border:0;border-bottom:1px solid #f0f3f8;border-radius:0;white-space:normal}.conversation.selected{background:#eaf2ff}.avatar{width:40px;height:40px;flex:0 0 40px;border-radius:50%;background:#e8f0ff;color:#3677d4;display:inline-grid;place-items:center;overflow:hidden}.avatar img{width:100%;height:100%;object-fit:cover}.conversation-body{min-width:0;flex:1}.conversation-title{display:flex;justify-content:space-between;gap:6px;font-weight:600;margin:2px 0 8px}.conversation-title small{font-size:10px;font-weight:normal}.preview{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;color:var(--muted);font-size:13px;margin-bottom:9px}.badge{background:var(--blue);color:white;border-radius:12px;padding:2px 6px;font-size:10px}.inbox footer{border-top:1px solid var(--line);padding:14px;font-size:11px;color:var(--muted)}.inbox footer:first-letter{color:#24a583}.chat{min-width:0;background:#fff}.empty{height:100%;display:flex;flex-direction:column;justify-content:center;align-items:center;padding:30px;text-align:center}.empty h1{font-size:26px;margin-top:28px}.empty p{color:var(--muted);margin:22px 0 30px}.empty-icon{font-size:40px;color:var(--blue);background:#edf3ff;padding:24px 30px;border-radius:24px}.conversation-view{height:100%;display:flex;flex-direction:column}.chat-head{padding:20px 24px;display:flex;justify-content:space-between;gap:10px;border-bottom:1px solid var(--line)}.chat-head h2{margin-bottom:5px}.chat-head input{width:135px;font-size:12px}.chat-head button{font-size:12px}.messages{padding:24px;flex:1;overflow:auto;background:#f8faff}.message{max-width:82%;margin:0 auto 20px 0;display:flex;flex-direction:column;align-items:flex-start;gap:5px}.message.out{margin-left:auto;margin-right:0;align-items:flex-end}.bubble{padding:12px 16px;border:1px solid #e5eaf2;background:#fff;border-radius:2px 13px 13px 13px;white-space:pre-wrap;overflow-wrap:anywhere;line-height:1.75;font-size:14px}.out .bubble{background:#e8f1ff;border-color:#d7e7ff;border-radius:13px 2px 13px 13px}.message small{font-size:10px}.message button{font-size:10px;padding:2px 5px;color:var(--muted)}.message img,.message video{max-width:min(320px,100%);max-height:230px;border-radius:6px}.message audio{max-width:100%}.message .danger{color:#bb4051}.details{border-left:1px solid var(--line);padding:30px 24px;overflow:auto}.details h2{margin:13px 0 30px}.eyebrow{font-size:11px;color:var(--muted);letter-spacing:2px}.details dl{font-size:12px}.details dt{color:var(--muted);margin-top:15px}.details dd{margin:7px 0;overflow-wrap:anywhere;line-height:1.7}.details .row{flex-wrap:wrap}.details button{font-size:11px}.trace{border-top:1px solid var(--line);margin-top:30px;padding-top:26px;font-size:12px;color:var(--muted);line-height:1.8}.trace strong{color:#6a7f9e}.trace small{font-size:11px}#composer{border-top:1px solid var(--line);padding:10px 18px;background:white}.toolbar{display:flex;flex-wrap:wrap;gap:3px}.toolbar button,.toolbar select{padding:6px;font-size:12px;border:0}.toolbar button:hover{color:var(--blue)}#compose-text{border:0;border-radius:0;width:100%;resize:vertical;min-height:86px;max-height:200px;padding:14px 3px;outline:0}.compose-bottom{display:flex;align-items:center;justify-content:flex-end;gap:12px;font-size:10px;color:var(--muted)}.compose-bottom span{margin-right:auto;max-width:65%}.compose-bottom label{font-size:11px}.compose-bottom button{padding:9px 25px}#quote{font-size:12px;padding:8px;background:#f4f7fc;border-left:3px solid #5d9cff}.attachment-list{display:flex;gap:8px;flex-wrap:wrap}.attachment-list>div{background:#f4f7fc;padding:6px;border-radius:5px;font-size:11px;max-width:220px}.attachment-list img{max-width:70px;max-height:45px}.attachment-list button{padding:2px 5px;margin:3px}.login{width:min(430px,90vw);margin:65px auto;padding:32px;border:1px solid var(--line);border-radius:16px;box-shadow:0 15px 50px #10285108}.login h1{font-size:24px;margin-top:25px}.login h2{margin-top:26px}.login .primary{width:100%}.login p{font-size:12px}.login .logo{display:inline-block}#error{background:#fff0f1;color:#b02c42;padding:10px;text-align:center;position:fixed;top:80px;left:25%;right:25%;z-index:20;border-radius:5px}#toast{position:fixed;bottom:30px;left:50%;transform:translateX(-50%);background:#233a59;color:white;border-radius:8px;padding:12px 22px;z-index:100;box-shadow:0 5px 20px #2222}.page{background:#f6f8fc;min-height:calc(100dvh - 138px);padding:32px 40px}.page-head{display:flex;align-items:center;justify-content:space-between;margin-bottom:26px;gap:12px}.page-head h1{font-size:25px}.card{background:white;border:1px solid var(--line);border-radius:12px;padding:24px;margin-bottom:20px}.card h2{margin-bottom:16px}.cards{display:grid;grid-template-columns:repeat(auto-fit,minmax(180px,1fr));gap:18px}.metric{font-size:30px;color:#192f51;margin:14px 0}.metric-label{font-size:13px;color:var(--muted)}.chart{display:flex;gap:5px;align-items:flex-end;height:160px;padding-top:12px;overflow-x:auto}.bar{flex:1;min-width:16px;display:flex;flex-direction:column;align-items:center;justify-content:flex-end;height:100%;gap:5px}.bar i{display:block;background:#5599fb;border-radius:3px 3px 0 0;width:70%;min-height:2px}.bar small{font-size:9px;white-space:nowrap}.bar span{font-size:10px;color:#57749c}table{width:100%;border-collapse:collapse;font-size:12px}th,td{padding:12px 8px;border-bottom:1px solid var(--line);text-align:left;overflow-wrap:anywhere}th{color:var(--muted);font-weight:500}td input[type=checkbox]{margin:0}.table-wrap{overflow:auto;max-height:450px}.notice{padding:12px 16px;background:#eef5ff;border:1px solid #d9e8ff;border-radius:6px;color:#45638e;font-size:12px;line-height:1.8;margin:10px 0}.notice.warn{background:#fff8eb;border-color:#f1e4c7;color:#826632}.actions{display:flex;gap:10px;flex-wrap:wrap;margin-top:18px}.form-grid{display:grid;grid-template-columns:1fr 1fr;gap:18px}.field{width:100%;max-width:600px}.wide{width:100%}dialog{border:1px solid var(--line);border-radius:13px;padding:24px;width:min(620px,92vw);max-height:90vh;overflow:auto;color:#273c58;box-shadow:0 20px 80px #17263b33}dialog::backdrop{background:#24324b65}.modal-head{display:flex;justify-content:space-between;align-items:center;gap:20px;border-bottom:1px solid var(--line);padding-bottom:15px;margin-bottom:20px}.modal-head button{border:0}.modal-head h2{font-size:20px}.qr{width:240px;max-width:100%;border:1px solid var(--line);border-radius:10px}.mono{font-family:ui-monospace,monospace;overflow-wrap:anywhere;white-space:pre-wrap}.empty-list{text-align:center;color:var(--muted);padding:40px 10px}.call-layout{max-width:1050px;margin:30px auto;padding:24px}.videos{display:grid;grid-template-columns:1fr 1fr;gap:18px}.videos video{width:100%;min-height:200px;background:#172238;border-radius:12px}.call-status{margin:20px 0;font-size:15px}.drop-active{outline:3px dashed #509bff}pre{white-space:pre-wrap;overflow-wrap:anywhere}
@media(min-width:1750px){.workbench{grid-template-columns:365px minmax(0,1fr) 320px}.top{height:90px}.workbench{height:calc(100dvh - 148px - var(--care-reminder-height,0px))}}@media(max-width:1200px){.details{display:none}.workbench{grid-template-columns:290px minmax(0,1fr)}.top{padding:0 16px;gap:10px}.brand{font-size:17px}.local-tag{display:none}nav button{padding:8px;font-size:12px}.chat-head{padding:16px}.account{gap:0}}@media(max-width:760px){.top{height:auto;min-height:110px;flex-wrap:wrap;padding:12px}.brand{margin-right:auto}nav{order:3;height:42px;width:100%;overflow:auto}nav button{flex:1}.account{max-width:50%}.spacebar{height:auto;min-height:65px;padding:10px;flex-wrap:wrap;gap:4px;font-size:12px}.workbench{height:calc(100dvh - 175px - var(--care-reminder-height,0px));min-height:560px;grid-template-columns:190px minmax(0,1fr)}.section-head{padding:13px 8px;flex-wrap:wrap}.section-head h2{font-size:14px}.filters{padding:0 8px}.filters input{font-size:11px}.conversation{padding:12px 7px;gap:6px}.conversation-title{font-size:12px;display:block}.avatar{width:27px;height:27px;flex-basis:27px}.conversation-title small{display:none}.inbox footer{font-size:9px}.chat-head{display:block;padding:12px}.chat-head h2{font-size:15px}.chat-head .row{margin-top:8px}.chat-head input{width:100px}.messages{padding:12px}.message{max-width:96%}.bubble{font-size:12px;padding:9px}.compose-bottom>span{display:none}#composer{padding:8px}#compose-text{font-size:12px}.toolbar button{font-size:10px}.empty h1{font-size:18px}.empty p{font-size:12px}.page{padding:20px 12px}.page-head h1{font-size:20px}.form-grid{grid-template-columns:1fr}.card{padding:16px}.videos{grid-template-columns:1fr}#error{left:10%;right:10%;top:112px}}
/* Shared display profile: one presentation across workbench, profile and sharing. */
.robot-summary{display:flex;align-items:center;gap:10px;min-width:0}.robot-summary>div{min-width:0}.robot-summary strong{overflow-wrap:anywhere}.robot-signature{color:var(--muted);font-size:12px;line-height:1.5;margin:4px 0;white-space:pre-wrap;overflow-wrap:anywhere}.robot-avatar{flex-shrink:0}.robot-avatar-preview{margin:10px 0}.robot-avatar-preview .avatar{width:64px;height:64px}.conversation-footer{display:flex;align-items:center;justify-content:space-between;gap:6px}.conversation-robot{display:flex;align-items:center;gap:4px;min-width:0}.conversation-robot>span:last-child{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.conversation-robot .avatar{width:17px;height:17px;flex-basis:17px;font-size:10px}#chat-robot{margin-top:9px}#chat-robot .avatar{width:25px;height:25px;flex-basis:25px;font-size:12px}#chat-robot strong{font-size:12px}#chat-robot .robot-signature{font-size:11px;margin:2px 0;max-width:360px}.details-panel dl{margin:15px 0}.details-panel dt{margin-top:12px;color:var(--muted);font-size:12px}.details-panel dd{margin:5px 0;white-space:pre-wrap;overflow-wrap:anywhere}.details-panel .actions{display:flex;flex-wrap:wrap}.details dd{white-space:pre-wrap}.reply-state{font-size:11px;padding:7px 10px;border-radius:5px;margin-bottom:6px;line-height:1.7;background:#eef5ff;color:#416489}.reply-state.blocked{background:#fff7e9;color:#8a641e}.reply-state.ready{background:#edf8f2;color:#267650}.load-earlier{align-self:center;margin:5px;font-size:11px;padding:5px 14px}.voice-transcript{font-size:11px;line-height:1.7;white-space:pre-wrap;color:var(--muted);margin:4px 0}.overview-qr{width:85px;display:block;margin-bottom:6px}.stats-qr{width:110px;margin-top:12px}.share-profile{margin:24px 0}.share-profile .avatar{width:60px;height:60px;flex-basis:60px}.share-signature{white-space:pre-wrap;color:var(--muted)}#back-to-list{display:none}.chat-head .row{flex-wrap:wrap;justify-content:flex-end}.table-wrap .robot-summary{min-width:150px}.share-profile img{width:100%;height:100%;object-fit:cover}
@media(max-width:1200px){#show-details{color:var(--blue);border-color:#bcd5fc}.chat-head{gap:8px}.chat-head>.row{max-width:55%}.spacebar{gap:10px}}
@media(max-width:760px){.conversation-footer{display:block}.conversation-robot{margin-bottom:5px}.chat-head>.row{max-width:100%;justify-content:flex-start}#chat-robot .robot-signature{max-width:230px}.reply-state{font-size:10px}.compose-bottom{flex-wrap:wrap;gap:7px}.compose-bottom label{font-size:10px;margin:5px 0}.compose-bottom button{padding:8px 12px}.robot-summary strong{font-size:13px}.robot-summary .robot-signature{font-size:11px}.spacebar strong{margin-left:4px}.spacebar>.row{flex-wrap:wrap}}
@media(max-width:600px){.workbench{grid-template-columns:minmax(0,1fr);height:calc(100dvh - 200px - var(--care-reminder-height,0px));min-height:570px}.workbench:not(.conversation-open)>.chat{display:none}.workbench.conversation-open>.inbox{display:none}.workbench.conversation-open>.chat{display:block}#back-to-list{display:inline-block;padding:3px 0 8px;color:var(--blue)}.chat-head{display:flex;flex-wrap:wrap;align-items:flex-start}.chat-head>.row{margin:0;gap:5px}.chat-head input{width:110px}.conversation-title{display:flex;font-size:14px}.conversation-title small{display:inline}.conversation{padding:15px}.conversation .avatar{width:36px;height:36px;flex-basis:36px}.conversation-robot .avatar{width:17px;height:17px;flex-basis:17px}.conversation-footer{display:flex}.section-head{padding:15px}.filters{padding:0 15px}.messages{padding:15px}.brand{font-size:16px}.account{font-size:11px}.top{gap:7px}#error{left:4%;right:4%}#toast{max-width:92vw;width:max-content;text-align:center}.details-panel .actions button{flex:1}.table-wrap{max-width:100%}}
.platform-message{max-width:100%;width:min(440px,100%);padding:13px 15px;border:1px solid #dce7f6;border-radius:10px;background:#fff;overflow-wrap:anywhere;font-size:12px;line-height:1.7}.platform-message>strong{display:block;color:#315b91;margin-bottom:6px}.platform-entry{display:flex;flex-direction:column;gap:5px;min-width:0}.platform-elements{border-left:3px solid #dce8fa;padding-left:12px;margin-top:7px}.platform-elements>.platform-entry{border-bottom:1px solid #edf1f7;padding:9px 0}.platform-content{white-space:pre-wrap;margin:3px 0;line-height:1.7}.platform-fields{margin:7px 0;padding:8px;background:#f6f8fc;border-radius:5px}.platform-fields dt{font-size:10px;color:var(--muted);margin-top:5px}.platform-fields dd{margin:2px 0 7px;white-space:pre-wrap;overflow-wrap:anywhere}.platform-field-list,.platform-attachments{padding-left:20px;margin:4px 0;white-space:pre-wrap;overflow-wrap:anywhere}.platform-message summary{cursor:pointer;color:var(--blue)}.platform-reference{padding:4px 7px;background:#f4f7fc;overflow-wrap:anywhere}.platform-message small{display:block}.out .platform-message{background:#f5f9ff}

.conversation-row{position:relative;display:flex;align-items:center;border-bottom:1px solid #edf1f7}.conversation-row>.conversation{flex:1;min-width:0;padding-right:37px;border-bottom:0}.conversation-more{position:absolute;right:5px;top:14px;padding:2px 8px;border:0;font-size:21px;color:#72829b;background:transparent}.conversation-more:hover{background:#dfeafd;color:#0869f6}.conversation-select{margin-left:10px;flex:none;width:17px;height:17px}.conversation-menu{position:fixed;z-index:200;width:190px;max-width:calc(100vw - 16px);max-height:calc(100dvh - 16px);overflow:auto;padding:6px;border:1px solid #dce5f1;border-radius:9px;box-shadow:0 10px 35px #23375230;background:white;display:flex;flex-direction:column}.conversation-menu button{display:block;width:100%;text-align:left;padding:10px 12px;border:0;font-size:13px}.conversation-menu button:focus{outline:2px solid #a4caff;background:#eef5ff}.conversation-menu button[data-action=delete],.conversation-menu button[data-action=block]{color:#b83849}.conversation-menu button:disabled{color:#9fa8b7;opacity:.6}.selection-tools{padding:10px;display:flex;gap:6px;flex-wrap:wrap;border-top:1px solid var(--line);background:#f3f7ff}.selection-tools span{width:100%;font-size:12px;color:#456b9c}.selection-tools button{font-size:11px;padding:6px 9px}@media(max-width:600px){.conversation-more{right:9px;top:16px;padding:4px 10px}.conversation-menu button{min-height:42px}.conversation-select{width:20px;height:20px}}
#bulk-preview-results{margin:16px 0}#bulk-preview-results .table-wrap{max-height:320px}#bulk-preview,#bulk-submit,#bulk-reconcile{margin:8px 8px 8px 0}#bulk-mode{min-width:260px;max-width:100%}.selection-tools #selection-go{color:#0869f6;border-color:#bed5fb}

/* Three-channel forecast is informational, never a background send schedule. */
.delivery-metrics{display:grid;grid-template-columns:1fr 1fr;gap:5px 10px;margin:5px 0}.delivery-metrics>span{overflow-wrap:anywhere}.recall-periods{margin-top:4px}.recall-periods summary{cursor:pointer}.recall-periods .table-wrap{max-height:175px;overflow:auto}.recall-periods p{margin:5px 0}#reply-state{max-height:240px;overflow:auto}.compose-bottom select{max-width:180px;font-size:11px;padding:5px}.card,.page{min-width:0}#bulk-preview-results td{max-width:280px;white-space:normal}.card .table-wrap td{vertical-align:top}.card .table-wrap th{white-space:nowrap}#bulk-mode{min-width:0;width:100%}@media(max-width:760px){.delivery-metrics{grid-template-columns:1fr}#reply-state{max-height:210px}.recall-periods .table-wrap{max-height:120px}.compose-bottom select{max-width:160px}}

.group-avatar{background:#e8f6f0;color:#237c5a}.conversation-kind{display:inline-block;font-size:10px;font-weight:500;padding:2px 5px;border-radius:4px;margin-right:5px;white-space:nowrap}.conversation-kind.group{color:#237c5a;background:#e9f6ef}.conversation-kind.direct{color:#577daa;background:#edf3fb}.group-notice{background:#f0faf4;color:#38654d;font-size:11px;line-height:1.7;padding:8px 16px;border-bottom:1px solid #d9eddf}#conversation-kind{background:#f6f9fe}.reply-state .group-warning{color:#95682e}@media(max-width:600px){.group-notice{padding:7px 12px;font-size:10px}.conversation-kind{font-size:10px}}

/* Dedicated bulk sending. Management actions never share the send composer. */
.page.bulk-page{padding:28px max(20px,calc((100vw - 1400px)/2));}
.page-subtitle{display:block;font-size:12px;font-weight:400;margin-top:9px;line-height:1.7;letter-spacing:0}
.bulk-page .page-head{align-items:flex-start;margin-bottom:20px}
.bulk-priority{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;margin-bottom:22px}
.bulk-priority-item{position:relative;background:#fff;border:1px solid var(--line);border-radius:10px;padding:16px 20px}
.bulk-priority-item>small{display:block;font-size:11px;color:#7687a2;margin-bottom:8px}
.bulk-priority-item strong{font-size:17px;color:#233a59}
.bulk-priority-item p{font-size:12px;color:#7c8ba5;margin:7px 0 0;line-height:1.7}
.bulk-priority-stat{position:absolute;top:15px;right:16px;font-size:11px;color:#52729c;background:#eef4ff;padding:4px 7px;border-radius:4px}
.bulk-layout{display:grid;grid-template-columns:minmax(0,1.35fr) minmax(340px,1fr);gap:20px;align-items:start}
.bulk-page .card{padding:22px;border-radius:12px;margin-bottom:20px}
.bulk-page .card h2{font-size:18px;margin-bottom:18px}
.bulk-recipients,.bulk-compose{min-width:0}
.bulk-compose{position:sticky;top:20px}
.bulk-filters{display:grid;grid-template-columns:135px minmax(0,1fr) auto;gap:10px;align-items:end}
.bulk-filters label{margin:0;font-size:12px;color:#75849b}
.bulk-filters input,.bulk-filters select{width:100%;font-size:13px;padding:10px}
.bulk-filters button{min-height:38px;font-size:12px}
.bulk-date-filters{margin:14px 0 20px;color:#7889a3;font-size:12px}
.bulk-date-filters summary{cursor:pointer;width:fit-content}
.bulk-date-filters label{margin:10px 0 0}
.bulk-date-filters small{display:block;margin-top:8px;line-height:1.6}
.bulk-selection-actions{display:flex;gap:6px;align-items:center;flex-wrap:wrap;border-top:1px solid var(--line);padding-top:14px;margin:0 0 14px}
.bulk-selection-actions button{font-size:12px;padding:7px 10px}
.bulk-selection-count{font-weight:600;font-size:13px;width:100%;margin:0 0 6px}
.bulk-recipient-list{max-height:515px;overflow:auto;overscroll-behavior:contain;padding-right:3px}
.bulk-customer{background:#fff;border:1px solid var(--line);border-radius:9px;padding:16px;margin-bottom:10px}
.bulk-customer:last-child{margin-bottom:0}
.bulk-customer.is-selected{background:#f0f5ff;border-color:#bed4f6}
.bulk-customer-identity{display:flex;align-items:center;gap:10px;min-width:0}
.bulk-customer-identity input{width:17px;height:17px;flex:none;margin:0;accent-color:var(--blue)}
.bulk-customer-identity>div{min-width:0;flex:1}
.bulk-customer-identity strong{display:block;font-size:14px;line-height:1.6;overflow-wrap:anywhere}
.bulk-customer-identity small{display:block;font-size:11px;line-height:1.6;margin-top:3px}
.bulk-customer-identity .avatar{width:32px;height:32px;flex-basis:32px;font-size:12px}
.bulk-channel-statuses{display:flex;gap:6px;flex-wrap:wrap;margin:13px 0 9px}
.bulk-channel-chip{font-size:11px;color:#718199;background:#f0f2f6;border:1px solid #e3e7ee;padding:4px 7px;border-radius:5px;white-space:nowrap}
.bulk-channel-chip.is-ready{color:#247558;background:#eaf7f0;border-color:#c7e7d7}
.bulk-active-balance,.bulk-recall-balance{font-size:12px;color:#4b658b;line-height:1.65;margin:4px 0}
.bulk-recall-next{font-size:12px;color:#657b9b;line-height:1.65;margin:4px 0}
.bulk-customer .recall-periods{font-size:11px;color:#7889a3;margin-top:8px}
.bulk-customer .recall-periods[open]{padding:8px;background:#fff;border:1px solid var(--line);border-radius:6px}
.bulk-paging{display:flex;align-items:center;gap:8px;margin-top:16px}
.bulk-paging small{margin-right:auto}.bulk-paging button{font-size:12px;padding:7px 11px}
.bulk-help{font-size:11px;line-height:1.9;color:#7c8ba5;margin:14px 0 0}
.bulk-selection-summary{font-size:12px;color:#54729a;background:#f1f6ff;border-radius:6px;padding:9px 12px;margin:0 0 20px}
.bulk-compose label{font-size:13px;color:#536983;margin:16px 0;gap:9px}
.bulk-compose #bulk-content{resize:vertical;min-height:155px;max-height:400px;line-height:1.85;padding:12px}
.bulk-compose #bulk-content::placeholder{color:#9aa8bb}
#bulk-character-count{text-align:right;font-size:11px;line-height:1;margin-top:0}
.bulk-attachments{display:flex;align-items:center;flex-wrap:wrap;gap:10px;margin:15px 0 8px}
.bulk-attachments button{font-size:12px}.bulk-attachment-name{font-size:12px;color:#7c8ba5;overflow-wrap:anywhere;min-width:0}
.bulk-send-actions{border-top:1px solid var(--line);margin-top:20px;padding-top:16px;display:flex;gap:9px;flex-wrap:wrap}
.bulk-send-actions #bulk-preview{background:white;color:var(--blue);border-color:#b6cff3}
.bulk-send-actions #bulk-preview,.bulk-send-actions #bulk-submit,.bulk-send-actions #bulk-reconcile{margin:0;flex:1;min-height:41px;padding:10px}
.bulk-send-actions #bulk-retry-original{width:100%;font-size:12px}
.bulk-preview-card .bulk-help{margin-top:0}.bulk-preview-card:has(#bulk-preview-results:empty){display:none}
.bulk-job{margin-top:14px;padding:12px 0;border-top:1px solid var(--line);font-size:12px;line-height:1.8}
.bulk-job summary{cursor:pointer;color:#46678e}.bulk-job p{font-size:12px;color:#70829d}
.bulk-page button:focus-visible,.bulk-page summary:focus-visible{outline:2px solid #8cbcff;outline-offset:2px}
.manage-layout .bulk-recipient-list{max-height:460px}.manage-layout .bulk-compose{position:static}
@media(min-width:761px) and (max-width:1080px){.top{flex-wrap:wrap;height:auto;min-height:100px;padding:12px 16px;gap:8px}.top nav{order:3;width:100%;height:38px;overflow:auto}.top .account{margin-left:auto}.workbench{height:calc(100dvh - 164px - var(--care-reminder-height,0px))}}
@media(max-width:1000px){.bulk-layout{grid-template-columns:minmax(0,1fr)}.bulk-compose{position:static}.bulk-recipient-list{max-height:430px}.bulk-priority-item{padding:15px}.bulk-priority-stat{position:static;display:inline-block;margin-top:9px}}
@media(max-width:600px){.page.bulk-page{padding:20px 12px}.bulk-page .card{padding:16px}.bulk-priority{gap:6px}.bulk-priority-item{padding:11px 8px;border-radius:8px}.bulk-priority-item>small{font-size:10px;margin-bottom:6px}.bulk-priority-item strong{font-size:13px}.bulk-priority-item p{font-size:10px;line-height:1.65}.bulk-priority-stat{font-size:10px;padding:3px 5px;margin-top:7px}.bulk-layout{gap:0}.bulk-filters{grid-template-columns:110px minmax(0,1fr)}.bulk-filters button{grid-column:1/-1}.bulk-selection-actions button{font-size:11px;padding:7px 8px}.bulk-customer{padding:12px}.bulk-customer-identity strong{font-size:13px}.bulk-channel-chip{font-size:10px;padding:4px 5px}.bulk-recipient-list{max-height:445px}.bulk-page .page-head h1{font-size:22px}.bulk-page .page-head>button{font-size:12px}.page-subtitle{font-size:10px}.bulk-send-actions #bulk-preview,.bulk-send-actions #bulk-submit{font-size:12px}.bulk-job summary{overflow-wrap:anywhere}.bulk-priority-item p{min-height:33px}.top nav{min-width:0}}
@media(max-width:600px){.top nav{gap:2px}.top nav button{font-size:11px;padding:7px 6px;flex:1}}

/* Group image previews stay keyboard-accessible and bounded on narrow screens. */
.group-image-preview{display:block;padding:0;border:0;background:transparent;max-width:100%;cursor:zoom-in;text-align:left}.group-image-preview img{display:block;max-width:100%;height:auto}.group-image-full{display:block;max-width:100%;max-height:70vh;object-fit:contain;margin:auto}
/* Rich group history must scroll inside the desktop pane, not push the composer away. */
@media(min-width:761px){.workbench>.chat{min-height:0;overflow:hidden}.conversation-view{min-height:0}.conversation-view>.chat-head,.conversation-view>#group-notice,.conversation-view>#composer{flex-shrink:0}.conversation-view>.messages{min-height:70px}}

/* Customer care: internal tags and reminders, never a QQ auto-send queue. */
.customer-tags{display:inline-flex;flex-wrap:wrap;gap:4px;vertical-align:middle;max-width:100%;margin-left:5px}.customer-tag{display:inline-block;font-size:11px;font-weight:500;line-height:1.4;color:#2861a6;background:#edf4ff;border:1px solid #dce9ff;border-radius:4px;padding:2px 5px;max-width:100%;overflow-wrap:anywhere}.conversation-title{flex-wrap:wrap}.conversation-title>.customer-tags{max-width:100%;margin-left:0}.customer-care-details{margin-top:20px;padding-top:12px;border-top:1px solid #e6edf6}.customer-care-details h3{font-size:14px}.customer-care-details>p{font-size:12px;line-height:1.7;overflow-wrap:anywhere}.care-actions{display:flex;gap:8px;flex-wrap:wrap;margin:12px 0}.care-actions button{font-size:12px}.care-field{display:flex;flex-direction:column;gap:9px;margin:18px 0;font-size:13px;line-height:1.6}.care-field input,.care-field textarea{width:100%;box-sizing:border-box;padding:12px;border:1px solid #dce5f0;border-radius:8px;font:inherit;min-width:0}.care-field textarea{resize:vertical}.care-task{padding:16px;border:1px solid #dfe8f2;border-radius:10px;margin:12px 0;background:#fff;overflow-wrap:anywhere}.care-task.overdue{border-left:4px solid #e69c33}.care-task-note{white-space:pre-wrap;line-height:1.65;font-size:13px}.care-overdue{color:#a66b16}.care-customer-title{display:flex;align-items:center;gap:8px;flex-wrap:wrap;margin-bottom:12px}.care-history{padding-left:22px;font-size:12px;line-height:1.8}.care-task summary{cursor:pointer;font-size:12px;color:#4e6890}.care-summary{font-size:13px;color:#60728d}.care-reminder{display:flex;align-items:center;justify-content:space-between;gap:12px;background:#fff7e8;border-block:1px solid #f7dfb2;padding:9px 24px;font-size:13px;color:#825015}.care-reminder[hidden]{display:none}.care-reminder button{white-space:nowrap;font-size:12px}.customer-care-page{max-width:1100px}.care-task-list{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,360px),1fr));gap:0 16px}.care-task-list .care-task{min-width:0}.care-history-list{max-height:65vh;overflow:auto;padding-right:4px}.conversation-menu{max-height:calc(100dvh - 16px);overflow-y:auto}
@media(max-width:760px){.care-reminder{padding:9px 12px;align-items:flex-start}.care-reminder span{font-size:12px}.customer-care-page{padding:16px}.care-actions button{flex:0 1 auto}.care-customer-title{gap:5px}.care-task{padding:12px}.customer-tags{margin-left:0}.top nav{overflow-x:auto;flex-wrap:nowrap}.top nav button{white-space:nowrap;flex:0 0 auto}}
.care-tag-choices{display:flex;flex-wrap:wrap;gap:8px;margin:14px 0}.care-tag-choice{display:inline-flex;align-items:center;gap:6px;padding:7px 10px;background:#f5f8fd;border:1px solid #dce7f5;border-radius:6px;font-size:12px}.care-tag-choice input{width:auto;margin:0;order:-1}

#desk:has(#care-reminder:not([hidden])){--care-reminder-height:54px}
