.wxf-shell{display:grid;grid-template-columns:300px minmax(0,1fr);height:calc(100dvh - 185px);min-height:560px;max-height:1200px;background:#fff;border:1px solid #d8e6e4;border-radius:16px;overflow:hidden;box-shadow:0 12px 36px #163f3a0c}
.wxf-sidebar{display:flex;flex-direction:column;min-height:0;border-right:1px solid #dce8e5;background:#f8fbfa}
.wxf-sidebar-heading{display:flex;justify-content:space-between;align-items:center;padding:24px 20px 17px;gap:10px}
.wxf-eyebrow{font-size:9px;font-weight:800;letter-spacing:1.1px;color:#61837c}
.wxf-sidebar h3{margin:7px 0 0;font-size:19px;color:#193e38}.wxf-sidebar h3 span{margin-left:4px;font-size:13px;color:#75938b;font-weight:500}
.wxf-readonly{font-size:11px;border:1px solid #bcd9d2;border-radius:5px;color:#267568;background:#ecf6f2;padding:4px 7px;white-space:nowrap}
.wxf-search{display:flex;align-items:center;margin:0 16px 14px;padding:0 10px;background:#edf3f1;border:1px solid #e2eae7;border-radius:8px;gap:8px}
.wxf-search svg{width:16px;height:16px;fill:none;stroke:currentColor;stroke-width:1.7;color:#6c8982;flex-shrink:0}
.wxf-search input{min-width:0;width:100%;height:38px;border:0;outline:0;background:transparent;font:inherit;font-size:13px;color:#254c43}
.wxf-search:focus-within{outline:2px solid #51a996;outline-offset:2px}.wxf-groups{overflow-y:auto;flex:1;min-height:0;padding:0 8px 12px}
.wxf-group{display:flex;align-items:center;gap:11px;width:100%;padding:15px 10px;margin:3px 0;border:1px solid transparent;border-radius:10px;background:transparent;text-align:left;cursor:pointer;color:#29453e;transition:background .15s}
.wxf-group:hover{background:#edf4f1}.wxf-group.selected{background:#e1f0e9;border-color:#c8e1d7}.wxf-group:focus-visible{outline:2px solid #168470;outline-offset:-2px}
.wxf-group-avatar{display:flex;align-items:center;justify-content:center;flex-shrink:0;width:42px;height:42px;border-radius:12px;background:#d5e9e1;color:#276b5e;font-size:18px;font-weight:700}
.wxf-group.selected .wxf-group-avatar{background:#177c67;color:#fff}.wxf-group-body{min-width:0;flex:1}.wxf-group-line{display:flex;align-items:baseline;justify-content:space-between;gap:8px}
.wxf-group-line strong{font-size:13px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;min-width:0}.wxf-group-line time{font-size:9px;white-space:nowrap;color:#82978f}
.wxf-preview{display:block;font-size:12px;margin-top:6px;color:#7c8f87;overflow:hidden;white-space:nowrap;text-overflow:ellipsis;line-height:1.5}
.wxf-scope{padding:12px 16px;border-top:1px solid #e1eae5;font-size:11px;color:#84968f}.wxf-conversation{position:relative;display:flex;flex-direction:column;min-height:0;min-width:0;background:#f2f6f3}
.wxf-chat-header{padding:19px 26px;display:flex;align-items:center;gap:13px;background:#fff;border-bottom:1px solid #e2eae5}.wxf-chat-title{min-width:0;flex:1}.wxf-chat-title h3{font-size:18px;margin:0;color:#27473d;overflow-wrap:anywhere}.wxf-chat-title p{font-size:11px;margin:7px 0 0;color:#87988f}
.wxf-livebar{display:flex;align-items:center;justify-content:space-between;gap:10px;flex-wrap:wrap;padding:10px 26px;border-bottom:1px solid #e1ebe3;background:#f8fbf8;font-size:10px;color:#7a9084}
.wxf-state{font-size:11px;display:inline-flex;align-items:center;gap:7px;color:#9a7339}.wxf-state:before{content:'';display:inline-block;width:6px;height:6px;border-radius:50%;background:#c29854}.wxf-state.healthy{color:#2f8165}.wxf-state.healthy:before{background:#38a174;box-shadow:0 0 0 3px #38a17413}
.wxf-error{padding:10px 25px;color:#9b5723;background:#fff1dc;font-size:12px}.wxf-error[hidden]{display:none}.wxf-messages{overflow-y:auto;flex:1;min-height:0;padding:20px 30px 26px;overscroll-behavior:contain;scrollbar-gutter:stable;overflow-wrap:anywhere}
.wxf-day{text-align:center;font-size:11px;color:#8a9b91;margin:22px 0 25px}.wxf-message{display:flex;align-items:flex-start;gap:11px;margin:0 0 22px;max-width:88%}.wxf-person-avatar{width:34px;height:34px;flex-shrink:0;display:flex;align-items:center;justify-content:center;border:1px solid #d5e1da;border-radius:10px;background:#e4ece7;color:#527261;font-size:14px;font-weight:600}
.wxf-message-body{min-width:0}.wxf-message-heading{display:flex;gap:12px;align-items:baseline;margin:1px 0 7px;font-size:11px;color:#6d8376}.wxf-message-heading strong{font-weight:500}.wxf-message-heading time{font-size:10px;color:#9aa99f}
.wxf-bubble{padding:12px 15px;background:white;border:1px solid #dfe8e1;border-radius:0 12px 12px 12px;color:#294338;font-size:14px;line-height:1.8;box-shadow:0 2px 3px #27433903;min-width:32px}.wxf-text{white-space:pre-wrap;overflow-wrap:anywhere}.wxf-quote{margin:10px 0 0;padding:8px 12px;border-left:3px solid #9bb9aa;background:#f2f6f3;font-size:12px;white-space:pre-wrap;color:#84968a;max-height:180px;overflow:auto}
.wxf-attachment{display:flex;gap:14px;align-items:center;max-width:420px;min-width:190px}.wxf-attachment-icon{width:38px;height:44px;display:flex;align-items:center;justify-content:center;background:#edf3ef;color:#53816a;border-radius:7px;font-size:25px;flex-shrink:0}.wxf-attachment strong{font-size:13px;font-weight:600;word-break:break-word}.wxf-attachment p{font-size:11px;color:#889b8e;margin:5px 0 0;line-height:1.5;white-space:pre-wrap}.wxf-media-note{display:block;border-top:1px solid #edf1ee;margin-top:10px;padding-top:7px;font-size:10px;color:#9ba99f}
.wxf-message.system{display:block;max-width:100%;text-align:center;font-size:11px;color:#8a9b8e;line-height:1.6;margin:18px auto}.wxf-message.system p{margin:0 0 3px;white-space:pre-wrap}.wxf-message.system time{font-size:10px;color:#a2afa4}
.wxf-footer{padding:13px 26px;display:flex;justify-content:space-between;gap:12px;flex-wrap:wrap;font-size:10px;color:#93a195;background:#f9fbf8;border-top:1px solid #e2eae2}.wxf-empty{color:#8c9f91;text-align:center;padding:30px 12px;font-size:13px}.wxf-history-note{font-size:10px;color:#a0afa2;text-align:center;margin:0 0 22px}.wxf-more{display:block;margin:0 auto 22px;padding:7px 16px;border:1px solid #d5e4d9;border-radius:20px;background:#fff;color:#538269;font:inherit;font-size:11px;cursor:pointer}.wxf-more:hover{border-color:#6f9f84}
.wxf-welcome{text-align:center;color:#779180;margin:100px auto;max-width:330px}.wxf-welcome svg{width:40px;height:40px;fill:none;stroke:#89aa93;stroke-width:1.2}.wxf-welcome h3{font-size:17px;color:#658270;margin:22px 0 12px}.wxf-welcome p{font-size:12px;line-height:1.8}.wxf-new{position:absolute;bottom:60px;right:24px;border:1px solid #c9dfce;background:#fff;color:#397c55;padding:9px 16px;border-radius:30px;box-shadow:0 5px 20px #38543a18;cursor:pointer;font-size:12px}.wxf-new[hidden]{display:none}
@media(min-width:1600px){.wxf-shell{grid-template-columns:340px minmax(0,1fr)}.wxf-messages{padding-left:42px;padding-right:42px}.wxf-group-line strong{font-size:14px}}
@media(max-width:1100px){.wxf-shell{grid-template-columns:245px minmax(0,1fr)}.wxf-group-line time{display:none}.wxf-message{max-width:98%}.wxf-messages{padding:16px}.wxf-chat-header{padding:16px}.wxf-livebar{padding:10px 16px}}
@media(max-width:700px){.wxf-shell{grid-template-columns:1fr;height:auto;min-height:75dvh}.wxf-sidebar{max-height:240px;border-right:0;border-bottom:1px solid #dce8e5}.wxf-sidebar-heading{padding:13px 16px 9px}.wxf-eyebrow{display:none}.wxf-sidebar h3{font-size:16px;margin:0}.wxf-search{margin-bottom:6px}.wxf-groups{min-height:75px;max-height:120px}.wxf-group{padding:9px}.wxf-scope{display:none}.wxf-conversation{height:68dvh;min-height:420px}.wxf-chat-title h3{font-size:16px}.wxf-chat-header .wxf-group-avatar{display:none}.wxf-message{gap:8px}.wxf-person-avatar{width:28px;height:28px;font-size:12px}.wxf-bubble{font-size:13px;padding:10px 12px}.wxf-footer{padding:10px 16px}.wxf-footer span:last-child{display:none}}
