/* Biblioteca sonora do topbar: legibilidade e busca */
.global-sound-trigger{position:relative}
.global-sound-trigger .speaker-cone-icon{
  width:21px;
  height:21px;
  display:block;
}
.global-sound-trigger.is-muted{color:#89909a!important;background:#ffffff05!important}
.global-sound-trigger.is-muted:after{content:"";position:absolute;width:22px;height:1.5px;border-radius:2px;background:#ff7777;transform:rotate(-43deg);box-shadow:0 0 0 2px #1e1e1eaa}
.global-sound-modal>header>span .speaker-cone-icon{
  width:25px;
  height:25px;
  display:block;
}
.global-sound-search{
  display:grid;
  grid-template-columns:20px minmax(0,1fr) auto;
  align-items:center;
  gap:10px;
  margin:0 0 12px;
  padding:0 13px;
  min-height:44px;
  border:1px solid #ffffff1c;
  border-radius:12px;
  background:linear-gradient(135deg,#ffffff08,#ffffff03);
  color:#8f98a5;
  transition:border-color .18s ease,box-shadow .18s ease,background .18s ease;
}
.global-sound-search:focus-within{
  border-color:#9b7be777;
  background:#9b7be70b;
  box-shadow:0 0 0 3px #9b7be711;
  color:#c8b8f3;
}
.global-sound-search svg{
  width:18px;
  height:18px;
  fill:none;
  stroke:currentColor;
  stroke-width:1.8;
  stroke-linecap:round;
}
.global-sound-search input{
  width:100%;
  min-width:0;
  padding:11px 0;
  border:0;
  outline:0;
  background:transparent;
  color:#f4f5f7;
  font:600 13px/1.35 inherit;
}
.global-sound-search input::placeholder{color:#89919d;opacity:1}
.global-sound-search input::-webkit-search-cancel-button{filter:invert(1);opacity:.55;cursor:pointer}
.global-sound-search kbd{
  display:grid;
  place-items:center;
  min-width:24px;
  height:24px;
  border:1px solid #ffffff14;
  border-radius:7px;
  background:#0d0f12aa;
  color:#868e99;
  font:700 13px/1 inherit;
}
.global-sound-search-empty{
  grid-column:1/-1;
  margin:0;
  padding:22px 14px!important;
  color:#9da4af!important;
  font-size:12px!important;
  line-height:1.45;
  text-align:center;
}

/* O painel anterior usava textos de 7–10 px; o piso visual agora é 11–12 px. */
.global-sound-modal>header small,
.global-sound-library-head>small,
.global-sound-recipient-head small,
.global-sound-audience small{font-size:11px!important;line-height:1.25;letter-spacing:.09em}
.global-sound-modal>header p,
.global-sound-recipient-head p,
.global-sound-audience p{font-size:12px!important;line-height:1.45}
.global-sound-modal>header strong,
.global-sound-recipient-head strong{font-size:15px!important;line-height:1.3}
.global-sound-steps b{font-size:11px!important}
.global-sound-steps b i{font-size:10px!important}
.global-sound-library-actions{display:flex;align-items:center;gap:9px}
.global-sound-receive-toggle{display:flex;align-items:center;gap:8px;min-height:34px;padding:0 10px;border:1px solid #ffffff16;border-radius:10px;background:#ffffff04;color:#aeb4bd;cursor:pointer;transition:.18s ease}
.global-sound-receive-toggle:hover{border-color:#56d5a355;color:#dfe5e2}
.global-sound-receive-toggle input{position:absolute;width:1px;height:1px;opacity:0;pointer-events:none}
.global-sound-receive-toggle>span{position:relative;width:27px;height:15px;border-radius:999px;background:#676e78;box-shadow:inset 0 0 0 1px #ffffff12;transition:.18s ease}
.global-sound-receive-toggle>span:after{content:"";position:absolute;top:3px;left:3px;width:9px;height:9px;border-radius:50%;background:#d7dbe0;transition:.18s ease}
.global-sound-receive-toggle input:checked+span{background:#3abd8d}
.global-sound-receive-toggle input:checked+span:after{left:15px;background:#fff}
.global-sound-receive-toggle b{font-size:12px;line-height:1;white-space:nowrap}
.global-sound-library-head>button,
.global-sound-upload input,
.global-sound-upload button,
.global-sound-upload small,
.global-sound-upload [data-global-sound-error],
.global-sound-modal>footer button{font-size:12px!important;line-height:1.3}
.global-sound-grid b{font-size:13px!important;line-height:1.3}
.global-sound-grid em{font-size:11px!important;line-height:1.25}
.global-sound-audience strong{font-size:13px!important;line-height:1.35}
.global-sound-team-copy b{font-size:13px!important;line-height:1.25}
.global-sound-team-copy em,
.global-sound-team-picked{font-size:11px!important;line-height:1.2}
.global-sound-team-all{font-size:12px!important;line-height:1.2}
.global-sound-member-copy b{font-size:12px!important;line-height:1.25}
.global-sound-member-copy em,
.global-sound-team-empty{font-size:11px!important;line-height:1.35}
.global-sound-member-avatar,
.global-sound-member-avatar>b{font-size:11px!important}

/* Destinatarios: grade integral sem corte pelo rodape fixo do modal. */
.global-sound-body[data-wizard-step="2"]{overflow-x:hidden;overflow-y:auto}
.global-sound-body[data-wizard-step="2"]>[data-global-step="2"]{display:grid;align-content:start;gap:11px;min-height:max-content;overflow:visible}
.global-sound-body[data-wizard-step="2"] .global-sound-team-list{max-height:none;padding-right:2px;overflow:visible}
.global-sound-team-members{grid-template-columns:repeat(4,minmax(0,1fr));gap:6px;padding:8px}
.global-sound-member{grid-template-columns:29px minmax(0,1fr) 16px;gap:7px;min-height:48px;padding:6px 7px}
.global-sound-member-avatar{width:29px;height:29px}
@media(max-width:840px){.global-sound-team-members{grid-template-columns:repeat(3,minmax(0,1fr))}}
@media(max-width:760px){.global-sound-team-members{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:520px){
  .global-sound-team-members{grid-template-columns:1fr}
  .global-sound-library-head{align-items:flex-start;gap:10px}
  .global-sound-library-actions{align-items:stretch;flex-direction:column}
  .global-sound-receive-toggle{justify-content:center}
  .global-sound-search{min-height:42px;margin-bottom:10px}
  .global-sound-search input{font-size:12px}
}
