.qwa-channel{display:flex;align-items:center;gap:16px;padding:22px 24px;margin-bottom:22px;flex-wrap:wrap}.qwa-emblem{width:48px;height:48px;display:grid;place-items:center;background:#e8f5ed;color:#16835c;border-radius:16px}.qwa-emblem .icon{width:26px;height:26px}.qwa-channel-copy{flex:1;min-width:160px}.qwa-channel-copy strong{font-size:16px}.qwa-channel-copy p{margin:3px 0 0;color:var(--muted);font-size:13px}.qwa-channel-actions{display:flex;gap:8px}.qwa-channel select{max-width:220px;background:var(--card);color:var(--fg);border:1px solid var(--line);padding:10px;border-radius:10px}.qwa-start{padding:48px;display:grid;grid-template-columns:190px 1fr;gap:42px;align-items:center}.qwa-start-art{aspect-ratio:1;border-radius:40px;display:grid;place-items:center;background:linear-gradient(145deg,#fce7f2,#f9f6fb);border:1px solid var(--line)}.qwa-start-art .icon{width:94px;height:94px;color:#ae3d79}.qwa-start h2{font-size:26px;margin:10px 0;letter-spacing:-.035em}.qwa-start p{font-size:15px;color:var(--muted);max-width:580px}.qwa-start ol{list-style:none;padding:0;margin:24px 0;display:grid;gap:12px}.qwa-start li{font-size:14px;display:flex;align-items:center;gap:12px}.qwa-start li b{height:26px;width:26px;display:grid;place-items:center;border-radius:50%;background:var(--bg);font-size:12px}.qwa-error{display:flex;align-items:center;gap:10px;background:#fff2e6;border:1px solid #e3b284;color:#8d4811;border-radius:12px;padding:14px 18px;font-size:14px}.qwa-error .icon{flex-shrink:0}.qwa-loading{padding:30px;color:var(--muted)}
.qwa-inbox{display:grid;grid-template-columns:minmax(245px,310px) minmax(0,1fr);min-height:590px;overflow:hidden}.qwa-conversations{border-right:1px solid var(--line);min-width:0}.qwa-list-title{display:flex;justify-content:space-between;align-items:center;padding:18px}.qwa-list-title h2{font-size:18px;margin:0}.qwa-search{display:flex;align-items:center;gap:9px;margin:0 18px 16px;padding:11px;background:var(--bg);border:1px solid var(--line);border-radius:12px}.qwa-search input{background:none;border:none;min-width:0;width:100%;font-size:14px;color:var(--fg);outline:none}.qwa-chat-list{max-height:540px;overflow-y:auto}.qwa-chat{width:100%;display:flex;text-align:left;gap:12px;align-items:center;border:0;border-top:1px solid var(--line);background:none;color:var(--fg);padding:17px;cursor:pointer}.qwa-chat.selected{background:var(--soft)}.qwa-chat-copy{min-width:0;flex:1}.qwa-chat-copy strong{display:block;font-size:14px}.qwa-chat-copy small{display:block;font-size:12px;color:var(--muted);overflow:hidden;white-space:nowrap;text-overflow:ellipsis;max-width:175px}.qwa-chat-meta{display:flex;align-items:end;gap:7px;flex-direction:column;color:var(--muted);font-size:11px}.qwa-chat-meta b{background:#b6407e;color:#fff;border-radius:20px;padding:1px 6px}.qwa-list-foot{padding:12px 18px;font-size:12px;color:var(--muted);display:flex;align-items:center;justify-content:space-between;gap:8px;border-top:1px solid var(--line);margin:0}.qwa-list-foot .button{font-size:12px;padding:6px 10px}.qwa-thread{display:flex;flex-direction:column;min-width:0;background:var(--bg)}.qwa-thread>header{padding:18px 24px;border-bottom:1px solid var(--line);display:flex;gap:12px;align-items:center;justify-content:space-between;background:var(--card)}.qwa-thread>header strong{font-size:16px}.qwa-thread>header small{display:block;font-size:12px;color:var(--muted);margin-top:3px}.qwa-thread-empty{margin:auto;text-align:center;padding:40px;color:var(--muted)}.qwa-thread-empty>.icon{width:56px;height:56px;color:#a96788}.qwa-thread-empty h2{font-size:23px;color:var(--fg)}.qwa-thread-empty p{font-size:14px}.qwa-messages{padding:24px;display:flex;flex-direction:column;gap:14px;min-height:310px;max-height:520px;overflow:auto;flex:1}.qwa-bubble{background:var(--card);padding:12px 15px;border:1px solid var(--line);border-radius:16px 16px 16px 4px;align-self:flex-start;max-width:86%;overflow-wrap:anywhere}.qwa-bubble.mine{align-self:flex-end;background:var(--soft);border-radius:16px 16px 4px 16px}.qwa-bubble p{white-space:pre-wrap;font-size:15px;margin:0;line-height:1.65}.qwa-bubble small{font-size:12px;color:var(--muted)}.qwa-bubble footer{text-align:right;font-size:11px;color:var(--muted);margin-top:7px}.qwa-empty-small{color:var(--muted);font-size:14px;padding:22px}.qwa-thread form{padding:18px;display:grid;grid-template-columns:1fr auto;gap:10px;background:var(--card);border-top:1px solid var(--line)}.qwa-thread textarea{font:inherit;font-size:15px;line-height:1.5;padding:12px;border:1px solid var(--line);border-radius:12px;resize:vertical;min-height:65px;max-height:170px;background:var(--bg);color:var(--fg);min-width:0}.qwa-thread form>p{grid-column:1/-1;margin:0;font-size:12px;color:var(--muted)}.qwa-qr{text-align:center}.qwa-qr img{display:block;width:min(280px,100%);height:auto;margin:0 auto 12px;background:white;border:10px solid white;border-radius:10px}.qwa-qr #qwa-qr-state{padding:18px;background:var(--bg);border-radius:18px;min-height:80px;display:grid;place-items:center;font-size:14px}.qwa-qr ol{text-align:left;line-height:1.8;font-size:15px;margin-top:24px}.qwa-qr>p{font-size:13px;color:var(--muted);line-height:1.7}.qwa-member{display:flex!important;align-items:center;gap:10px;font-weight:400!important}.qwa-member input{width:18px!important;min-height:18px!important}.backend-form fieldset{border:1px solid var(--line);border-radius:12px;padding:16px;display:grid;gap:10px}.backend-form legend{font-size:13px;padding:0 6px;color:var(--muted)}
[data-theme=dark] .qwa-start-art{background:linear-gradient(145deg,#3a2331,#27212c)}[data-theme=dark] .qwa-error{background:#342617;border-color:#715132;color:#f7c590}[data-theme=dark] .qwa-emblem{background:#1b3b30;color:#81d9b5}
@media(max-width:1020px){.qwa-inbox{grid-template-columns:245px minmax(0,1fr)}.qwa-channel-actions{width:100%}.qwa-start{grid-template-columns:130px 1fr;padding:30px;gap:25px}.qwa-start-art .icon{width:70px;height:70px}.qwa-thread>header{padding:16px;flex-wrap:wrap}.qwa-messages{padding:16px}}
@media(max-width:760px){.qwa-start{grid-template-columns:1fr;padding:24px}.qwa-start-art{width:95px;border-radius:24px}.qwa-start-art .icon{width:52px;height:52px}.qwa-start h2{font-size:23px}.qwa-channel{padding:18px;gap:12px}.qwa-channel-actions{flex-wrap:wrap}.qwa-channel-actions .button{flex:1}.qwa-inbox{grid-template-columns:1fr}.qwa-conversations{border-right:0;border-bottom:1px solid var(--line)}.qwa-chat-list{max-height:220px}.qwa-chat-copy small{max-width:230px}.qwa-messages{min-height:260px;max-height:420px}.qwa-search input,.qwa-channel select,.qwa-thread textarea{font-size:16px}.qwa-thread form{grid-template-columns:1fr}.qwa-thread form>.button{justify-self:end}.qwa-start p{font-size:14px}}
