.wc-layout{display:grid;grid-template-columns:250px minmax(0,1fr);gap:18px;align-items:start}.wc-sidebar{padding:18px}.wc-title,.wc-header,.wc-message-meta,.wc-compose-footer{display:flex;justify-content:space-between;align-items:center;gap:12px}.wc-title h3,.wc-header h3{margin:0}.wc-group{display:flex;flex-direction:column;gap:5px;text-align:left;width:100%;padding:14px 12px;margin:8px 0;background:var(--surface,#fff);color:var(--text,#18332b);border:1px solid var(--border,#d5e3dc);border-radius:10px;cursor:pointer;min-height:58px}.wc-group.is-active{background:#e6f5ed;border-color:#33845a}.wc-group small{color:#496156}.wc-main{padding:0;overflow:hidden;min-width:0}.wc-header{padding:20px;border-bottom:1px solid #d5e3dc;flex-wrap:wrap}.wc-header p{margin-bottom:0}.wc-main form,#wc-error{margin:12px 20px}.wc-main input,.wc-main textarea,.wc-dialog input:not([type=checkbox]),.wc-dialog textarea{width:100%;box-sizing:border-box}.wc-inline{display:flex;gap:8px;align-items:center}.wc-inline input{min-width:0;flex:1}.wc-inline button{flex-shrink:0}.wc-main label,.wc-dialog label{display:block;margin:8px 0;font-weight:600}.wc-check{display:flex!important;gap:9px;align-items:center}.wc-check input{width:18px!important;height:18px}.wc-compose-footer small{color:#496156;display:block}.wc-message{padding:14px 16px;border:1px solid #d5e3dc;border-radius:12px;margin:12px 0;max-width:92%;background:#fff}.wc-message.is-mine{margin-left:auto;background:#eff8f2}.wc-message.is-ai{border-left:4px solid #32845b;background:#f5faf7}.wc-message-meta{flex-wrap:wrap;font-size:13px}.wc-message-meta span{color:#52675d}.wc-message p,.wc-knowledge p,.wc-source-body{white-space:pre-wrap;overflow-wrap:anywhere;line-height:1.7;margin:10px 0}.wc-text-button{border:0;background:transparent;color:#226243;text-decoration:underline;padding:10px 8px;min-height:44px;cursor:pointer;font-size:13px}.wc-sources{display:flex;gap:4px;flex-wrap:wrap}.wc-empty{text-align:center;padding:60px 20px;color:#52675d}#wc-messages{height:clamp(280px,47vh,640px);overflow-y:auto;padding:0 20px;overscroll-behavior:contain;background:#f8fbf9}#wc-compose{border-top:1px solid #d5e3dc;padding-top:10px}#wc-error:empty{display:none}#wc-error,#wc-dialog-error{color:#9d2727}.wc-dialog{width:min(760px,92vw);max-height:88vh;overflow:auto;border:1px solid #d5e3dc;border-radius:16px;padding:24px;color:#18332b;background:#fff}.wc-dialog::backdrop{background:#10291e80}.wc-dialog .btn,.wc-main .btn,.wc-sidebar .btn{min-height:44px}.wc-member-list{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));margin:20px 0}.wc-knowledge{border:1px solid #d5e3dc;border-radius:10px;padding:16px;margin:14px 0}.wc-knowledge header span{display:block;color:#52675d;font-size:13px;margin-top:7px}.wc-layout button:focus-visible,.wc-dialog button:focus-visible{outline:3px solid #337a55;outline-offset:3px}@media(max-width:760px){.wc-layout{grid-template-columns:1fr}.wc-sidebar{padding:12px}.wc-sidebar #wc-groups{display:flex;gap:8px;overflow:auto}.wc-group{min-width:160px;width:auto}.wc-sidebar>p{margin:6px 0}.wc-header{padding:16px}.wc-main form,#wc-error{margin:12px}.wc-inline{flex-wrap:wrap}.wc-inline input{flex-basis:100%}.wc-message{max-width:100%}.wc-message-meta{gap:4px}#wc-messages{padding:0 12px;height:43vh}.wc-compose-footer{align-items:flex-end}.wc-member-list{grid-template-columns:1fr}}
/* Preserve hidden controls when the host workbench gives buttons display:flex. */
.wc-layout [hidden],.wc-dialog [hidden]{display:none!important}
/* Chatroom: shared frame, quiet transcript, distinct sender bubbles. */
.wc-layout{gap:0;align-items:stretch;border:1px solid #d9e3df;border-radius:16px;overflow:hidden;background:#fff;box-shadow:0 8px 30px #173b2610;grid-template-columns:240px minmax(0,1fr)}
.wc-layout>.card{margin:0;border:0;border-radius:0;box-shadow:none}.wc-sidebar{background:#f3f6f5;border-right:1px solid #d9e3df;padding:18px 12px}.wc-title{padding:0 4px 12px}.wc-sidebar>p{padding:0 8px;line-height:1.7}.wc-group{flex-direction:row;align-items:center;gap:12px;border:0;background:transparent;padding:14px 10px;margin:4px 0}.wc-group:hover{background:#e9efec}.wc-group.is-active{background:#deeee5;box-shadow:inset 3px 0 #32845b}.wc-group-icon{display:grid;place-items:center;flex:0 0 42px;height:42px;border-radius:12px;background:#fff;color:#317552;font-weight:700}.wc-group-info{display:flex;flex-direction:column;gap:6px;min-width:0}.wc-group-info strong{overflow-wrap:anywhere;font-size:14px}.wc-group small{font-size:12px}.wc-main{display:flex;flex-direction:column;background:#fff}.wc-header{padding:18px 24px;min-height:80px;box-sizing:border-box}.wc-header h3{font-size:18px}.wc-header p{line-height:1.5}.wc-header .actions{gap:6px}.wc-header .btn{font-size:13px;padding:8px 12px}#wc-search{padding:0 4px}#wc-messages{flex:1 1 auto;height:clamp(320px,49vh,650px);min-height:320px;padding:12px 24px 24px;background:#f2f5f4;scrollbar-gutter:stable}.wc-date{text-align:center;margin:18px 0 24px;font-size:12px;color:#67776f}.wc-date span{padding:5px 12px;border-radius:20px;background:#e8edeb}.wc-message{display:flex;align-items:flex-start;gap:10px;border:0;border-radius:0;padding:0;margin:0 0 18px;max-width:88%;width:fit-content;background:none}.wc-message.is-mine{flex-direction:row-reverse;background:none}.wc-message.is-ai{border:0;background:none}.wc-avatar{position:relative;display:grid;place-items:center;flex:0 0 40px;width:40px;height:40px;overflow:hidden;border-radius:12px;background:#dfe9e4;color:#365e4a;font-size:13px;font-weight:700}.wc-avatar img{position:absolute;inset:0;display:block;width:100%;height:100%;object-fit:cover}.wc-avatar-ai{background:#285d48;color:#fff;letter-spacing:.5px}.wc-message-content{min-width:0;max-width:100%}.wc-message-meta{justify-content:flex-start;gap:10px;padding:0 2px;margin:0 0 6px;font-size:12px;color:#52675d}.wc-message-meta strong{font-weight:500}.wc-message-meta time{font-size:11px;color:#64756d}.is-mine .wc-message-meta{flex-direction:row-reverse}.wc-bubble{padding:11px 15px;background:#fff;border:1px solid #e1e7e3;border-radius:2px 14px 14px 14px;box-shadow:0 2px 3px #173b2604;min-width:40px}.is-mine .wc-bubble{background:#dcefe2;border-color:#cee5d5;border-radius:14px 2px 14px 14px}.is-ai .wc-bubble{border-color:#cddfd5;background:#fafffc}.wc-bubble p{margin:0;font-size:14px;line-height:1.8;color:#223a2e}.wc-bubble details{margin-top:12px;font-size:12px;color:#52675d}.wc-bubble summary{cursor:pointer;min-height:32px}.wc-message-actions{display:flex;gap:8px}.wc-message-actions .wc-text-button{font-size:11px;text-decoration:none;color:#566f60;padding:2px 0;min-height:28px}.wc-message-actions .wc-text-button:hover{text-decoration:underline;color:#226243}.is-mine .wc-message-actions{justify-content:flex-end}.wc-reply{display:block;font-size:12px;color:#52675d;border-left:2px solid #91b6a0;padding-left:8px;margin-bottom:8px}#wc-compose{margin:0;padding:14px 24px 12px;background:white}#wc-text{resize:vertical;min-height:76px;max-height:200px;padding:10px 0;border:0;background:transparent;box-shadow:none;font-size:14px;line-height:1.6}#wc-text:focus-visible{outline:2px solid #32845b;outline-offset:3px}#wc-compose>p{font-size:11px;line-height:1.6;margin:10px 0 0;color:#64756d}.wc-compose-footer small{font-size:11px}.wc-compose-footer>div{display:flex;gap:16px;align-items:center}.wc-compose-footer .wc-check{font-size:12px;font-weight:400}.wc-compose-footer .btn{min-width:84px}.wc-empty-mark{display:grid;place-items:center;width:56px;height:56px;margin:0 auto 16px;background:#e0ebe4;color:#387454;border-radius:18px;font-size:24px}.wc-sr-only{position:absolute!important;width:1px;height:1px;padding:0!important;margin:-1px!important;overflow:hidden;clip-path:inset(50%);white-space:nowrap}.wc-member-list .wc-check{padding:8px;min-width:0}.wc-member-list .wc-check>span:last-child{overflow-wrap:anywhere}
@media(max-width:760px){.wc-layout{grid-template-columns:minmax(0,1fr);border-radius:12px}.wc-sidebar{border-right:0;border-bottom:1px solid #d9e3df;padding:10px}.wc-sidebar .wc-title{padding-bottom:2px}.wc-sidebar>p{display:none}.wc-group{flex-shrink:0;min-width:160px;max-width:240px;margin:4px 0}.wc-header{padding:14px 12px;gap:8px}.wc-header .actions{flex-wrap:wrap}.wc-header p{font-size:11px}.wc-header h3{font-size:16px}#wc-messages{height:46vh;min-height:300px;padding:8px 12px 16px}.wc-message{max-width:96%;gap:8px}.wc-avatar{width:34px;height:34px;flex-basis:34px;border-radius:10px}.wc-bubble{padding:9px 12px}.wc-compose-footer>div{display:block}#wc-compose{padding:12px}.wc-message-actions .wc-text-button{min-height:44px}.wc-message{margin-bottom:12px}.wc-inline button{padding:8px 12px}.wc-member-list{grid-template-columns:1fr}}
/* Visible membership and the mention-only chat assistant. */
.wc-layout{grid-template-columns:210px minmax(0,1fr) 220px}.wc-roster{border-left:1px solid #d9e3df!important;padding:20px 14px;background:#fafcfb;min-width:0}.wc-roster h3{font-size:14px}.wc-roster h3 span{font-weight:400;color:#63776c;font-size:12px}.wc-person{display:flex;gap:10px;align-items:center;min-height:60px;padding:10px 4px;box-sizing:border-box;text-align:left;color:#223a2e}.wc-person>span:last-child{min-width:0;display:flex;flex-direction:column;gap:5px}.wc-person strong{font-size:13px;overflow-wrap:anywhere}.wc-person small{font-size:11px;font-weight:400;color:#63776c}.wc-person .wc-avatar{flex-basis:34px;width:34px;height:34px;border-radius:10px}.wc-bot{width:100%;border:1px solid #cfe3d7;border-radius:12px;background:#edf6f0;cursor:pointer;padding:12px 8px}.wc-bot:hover{background:#deeee5}.wc-bot-badge{display:inline-block;color:#286444!important;background:#d8eadd;border-radius:4px;padding:2px 4px;margin-top:3px}.wc-roster-hint{font-size:11px;color:#63776c;margin:10px 0 14px}#wc-roster-people{max-height:58vh;overflow-y:auto}.wc-mention-button{border:1px solid #cfe3d7;border-radius:8px;background:#edf6f0;color:#286444;min-height:44px;padding:8px 12px;cursor:pointer;white-space:nowrap}.wc-mention-button:hover{background:#deeee5}
@media(min-width:761px) and (max-width:1100px){.wc-layout{grid-template-columns:170px minmax(0,1fr) 185px}.wc-roster{padding:16px 10px}.wc-header{padding:14px}.wc-header .actions{flex-wrap:wrap}.wc-compose-footer>div{display:block}}
@media(max-width:760px){.wc-layout{grid-template-columns:minmax(0,1fr)}.wc-roster{border-left:0!important;border-top:1px solid #d9e3df!important;padding:16px 12px}.wc-roster .wc-bot{max-width:320px}#wc-roster-people{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));max-height:260px;gap:4px}.wc-compose-footer>div{display:flex;flex-wrap:wrap;gap:6px 12px}}
