/* BCM Batch 81 — chat composer spacing, compact private header */

/* The composer originally reserved room for one attachment button only.
   Voice recording adds a second control, so let the first grid column size to both. */
._textEntry_hr5c6_2{
  grid-template-columns:max-content minmax(0,1fr) auto!important;
}
._attachments_hr5c6_2{
  display:flex!important;
  align-items:center!important;
  justify-content:flex-start!important;
  gap:4px!important;
  width:max-content!important;
  min-width:max-content!important;
}
._attachments_hr5c6_2>button,
._attachments_hr5c6_2 .app-voice-message-button{
  flex:0 0 38px!important;
  width:38px!important;
  min-width:38px!important;
  height:38px!important;
  min-height:38px!important;
  padding:7px!important;
  margin:0!important;
  border-radius:10px!important;
}
._attachments_hr5c6_2 .app-voice-message-button{
  border:0!important;
  background:transparent!important;
  color:var(--foreground)!important;
}
._attachments_hr5c6_2 .app-voice-message-button:hover{
  background:var(--muted)!important;
  transform:none!important;
}
._attachments_hr5c6_2 .app-voice-message-button.is-recording{
  flex:0 0 auto!important;
  width:auto!important;
  min-width:82px!important;
  padding-inline:10px!important;
  border:1px solid color-mix(in srgb,#b64d4d 48%,var(--border))!important;
  background:color-mix(in srgb,#c24a4a 10%,var(--background))!important;
  color:#a73535!important;
}

/* Pin/unpin already exists inside Chat settings; remove the duplicate header action. */
button[aria-label="Pin chat"],
button[aria-label="Unpin chat"]{
  display:none!important;
}

@media(max-width:760px){
  ._textEntry_hr5c6_2{
    grid-template-columns:max-content minmax(0,1fr) 38px!important;
    gap:5px!important;
  }
  ._attachments_hr5c6_2>button,
  ._attachments_hr5c6_2 .app-voice-message-button{
    flex-basis:36px!important;
    width:36px!important;
    min-width:36px!important;
    height:38px!important;
    min-height:38px!important;
    padding:7px!important;
  }
  ._attachments_hr5c6_2 .app-voice-message-button.is-recording{
    width:auto!important;
    min-width:76px!important;
  }
}
