#app-view .topbar #connection-header{display:flex;align-items:center;justify-content:flex-end;gap:6px;margin-inline-start:auto;min-width:0;order:0}
#app-view .topbar #connection-header[hidden],#connection-header [hidden]{display:none!important}
#app-view #connection-header button{display:inline-flex!important;align-items:center;justify-content:center;min-height:34px;width:auto;max-width:none;margin:0;padding:4px 9px;border:1px solid var(--border,#657286);border-radius:8px;background:transparent;color:inherit;font:inherit;font-size:13px;line-height:1.25;cursor:pointer;white-space:nowrap}
#app-view #connection-header button[hidden]{display:none!important}
body.desktop-m3 #connection-header~#desktop-m3-status{margin-left:10px}
@media(max-width:720px){#app-view .topbar #connection-header{gap:3px}#app-view #connection-header button{font-size:12px;min-height:36px;padding:3px 5px;white-space:normal}#connection-header .check-time{display:none}#app-view .topbar:has(#connection-header) .brand-logo{max-width:24vw;height:auto}}

#app-view .topbar #connection-header button{border:0;background:transparent;box-shadow:none;white-space:nowrap;gap:5px;padding:4px 5px;}
#connection-header button::after{content:'';width:8px;height:8px;flex:none;border-radius:50%;background:#eab84e}
#connection-header button[data-signal=up]::after{background:#22c55e}
#connection-header button[data-signal=down]::after{background:#ef6262}
/* Give selection the full inbox column, including narrow desktop panes. */
html body .inbox:has(#inbox-pick-tools [data-mode][aria-pressed="true"]) #new-qr-chat{display:none!important}
html body .inbox #inbox-pick-tools:has([data-mode][aria-pressed="true"]){
 display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr))!important;
 grid-template-areas:"count exit" "all move";width:100%!important;max-width:100%!important;
 min-width:0!important;flex:1 1 100%!important;box-sizing:border-box;gap:5px 8px!important;align-items:stretch!important
}
html body .inbox #inbox-pick-tools:has([aria-pressed="true"]) button{
 width:100%!important;min-width:0!important;max-width:none!important;box-sizing:border-box;
 white-space:normal!important;overflow-wrap:anywhere;line-height:1.2;min-height:36px;height:auto!important;padding:5px 8px!important
}
#inbox-pick-tools [data-mode]{grid-area:exit}
#inbox-pick-tools [data-move]{grid-area:move}
#inbox-pick-tools #inbox-bulk-resolve{grid-area:all}
#inbox-pick-tools [data-count-picked]{grid-area:count;align-self:center}
@media(max-width:767px),(pointer:coarse){html body .inbox #inbox-pick-tools:has([aria-pressed="true"]) button{min-height:44px}}
html body #team-toolbar .queue-tabs:has(#queue-overflow-toggle){display:grid!important;grid-template-columns:repeat(4,minmax(0,1fr))!important}
html body #team-toolbar .queue-tabs>#queue-overflow-toggle{min-width:0!important;width:100%;white-space:normal;line-height:1.15}
html body #team-toolbar #queue-overflow-panel{grid-column:1/-1;grid-template-columns:repeat(3,minmax(0,1fr))!important}
html body #team-toolbar #queue-overflow-panel[hidden]{display:none!important}
@media(max-width:500px){html body #team-toolbar #queue-overflow-panel{grid-template-columns:repeat(2,minmax(0,1fr))!important}html body #team-toolbar .queue-tabs button{min-height:44px;min-width:0}}
.color-palette:has(> .color-swatch){display:grid!important;grid-template-columns:repeat(auto-fill,minmax(40px,1fr))!important;gap:5px!important;max-width:455px;width:100%;box-sizing:border-box}
@media(max-width:767px){.color-palette:has(> .color-swatch){grid-template-columns:repeat(auto-fill,minmax(44px,1fr))!important}.color-palette>.color-swatch{min-width:40px;min-height:40px}}
fieldset:has(>.color-palette){min-inline-size:0;max-inline-size:100%;box-sizing:border-box}
