/* Kedu R8F5G-L: Group conversation header, mobile and desktop. Isolated layout-only fix. */
.thread-head:has(> .k8g-toolbar){display:flex;flex-wrap:wrap;align-content:center;align-items:center;column-gap:10px;row-gap:9px;height:auto;min-height:83px;overflow:visible}
.thread-head > .heading{flex:1 1 120px;min-width:0;max-width:100%;align-self:center}
.thread-head > .heading h2,.thread-head > .heading p{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;max-width:100%}
.thread-head > .avatar,.thread-head > .back,.thread-head > .header-action{flex-shrink:0}
.thread-head > .k8g-toolbar{flex:1 0 100%;order:20;display:flex;flex-wrap:wrap;align-items:center;justify-content:flex-start;gap:8px;min-width:0;width:100%;max-width:100%;padding:3px 0 1px;box-sizing:border-box}
.thread-head > .k8g-toolbar button{flex:0 1 auto;white-space:nowrap;min-width:0;min-height:42px;line-height:1.25}
.thread-head > .k8g-toolbar #k8g-feedback{flex:1 1 100%;order:20;display:block;max-width:none;min-width:0;line-height:1.4;overflow-wrap:anywhere;white-space:normal}
.thread-head > .k8g-toolbar #k8g-feedback:empty{display:none}
@media(max-width:700px){
 .thread-head:has(> .k8g-toolbar){padding:12px 12px 10px;column-gap:7px;row-gap:8px}
 .thread-head > .avatar{width:38px;height:38px}
 .thread-head > .heading{flex:1 1 60px;min-width:0}
 .thread-head > .heading h2{font-size:15px;line-height:1.25}
 .thread-head > .heading p{font-size:11px;margin-top:3px}
 .thread-head > .header-action{padding:9px 8px;font-size:12px;min-height:38px;white-space:nowrap}
 .thread-head > .k8g-toolbar{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:7px;align-items:stretch}
 .thread-head > .k8g-toolbar button{width:100%;max-width:100%;min-height:42px;padding:9px 7px;font-size:13px;white-space:normal;overflow-wrap:normal;text-align:center;line-height:1.3}
 .thread-head > .k8g-toolbar #k8g-join:not([hidden]){grid-column:1/-1}
 .thread-head > .k8g-toolbar #k8g-feedback{grid-column:1/-1;font-size:12px;padding:1px 2px 0}
}
@media(max-width:360px){.thread-head:has(> .k8g-toolbar){column-gap:5px;padding-inline:8px}.thread-head > .header-action{padding:8px 6px;font-size:11px}.thread-head > .avatar{width:34px;height:34px}.thread-head > .heading h2{font-size:14px}}
