.grupo-icon-trigger { display: inline-flex; align-items: center; justify-content: center; gap: 5px; flex-shrink: 0; padding: 10px; border: 1px solid #e3ddd0; border-radius: 12px; background: #f7f4ee; cursor: pointer; }
.grupo-icon-trigger:hover { border-color: #a8a295; background: #efeadf; }
.grupo-icon-trigger > svg:first-child { width: 22px; height: 22px; }
.grupo-icon-trigger:focus-visible, .grupo-icon-option:focus-visible, .grupo-color-option:focus-visible { outline: 2px solid #2e8b57; outline-offset: 3px; }
dialog.grupo-appearance-dialog { max-width: min(760px, 96vw); }
.grupo-appearance-header { display: flex; align-items: flex-start; justify-content: space-between; gap: 16px; }
.grupo-appearance-header > div { min-width: 0; }
.grupo-appearance-preview { display: flex; align-items: center; gap: 14px; padding: 16px; margin: 20px 0; background: #f7f4ee; border: 1px solid #e3ddd0; border-radius: 16px; overflow-wrap: anywhere; font-size: 13px; }
#aparenciaGrupoPreviewIcone { display: flex; align-items: center; justify-content: center; width: 48px; height: 48px; flex-shrink: 0; border-radius: 12px; background: white; border: 1px solid #e3ddd0; }
#aparenciaGrupoPreviewIcone svg { width: 26px; height: 26px; }
.grupo-appearance-columns { display: grid; grid-template-columns: minmax(0, 1.6fr) minmax(110px, 1fr); gap: 24px; }
.grupo-appearance-columns > section { min-width: 0; }
.grupo-appearance-columns > section + section { padding-left: 24px; border-left: 1px solid #e3ddd0; }
.grupo-appearance-columns .tx-input { min-width: 0; }
.grupo-appearance-icon-scroll { max-height: 290px; overflow-y: auto; padding: 4px; }
.grupo-appearance-icons, .grupo-appearance-colors { display: grid; grid-template-columns: repeat(auto-fill, minmax(40px, 1fr)); gap: 8px; }
.grupo-appearance-colors { max-height: 340px; overflow-y: auto; padding: 4px; }
.grupo-icon-option { display: flex; align-items: center; justify-content: center; height: 42px; border: 1px solid #e3ddd0; border-radius: 10px; background: #f7f4ee; color: var(--grupo-cor, #57534b); }
.grupo-icon-option svg { width: 20px; height: 20px; }
.grupo-icon-option:hover, .grupo-icon-option[aria-pressed="true"] { background: #eaf4ed; border-color: #2e8b57; }
.grupo-icon-option[aria-pressed="true"] { box-shadow: 0 0 0 1px #2e8b57; }
.grupo-color-option { display: flex; align-items: center; justify-content: center; height: 42px; border-radius: 10px; border: 2px solid transparent; }
.grupo-color-option[aria-pressed="true"] { border-color: #2e8b57; background: #eaf4ed; }
.grupo-color-swatch { display: flex; align-items: center; justify-content: center; width: 28px; height: 28px; border-radius: 50%; color: white; }
.grupo-color-swatch svg { width: 16px; height: 16px; }
@media (max-width: 640px) {
  .grupo-appearance-columns { gap: 14px; }
  .grupo-appearance-columns > section + section { padding-left: 14px; }
  .grupo-appearance-icons, .grupo-appearance-colors { gap: 6px; grid-template-columns: repeat(auto-fill, minmax(34px, 1fr)); }
  .grupo-appearance-icon-scroll { max-height: 230px; }
  .grupo-appearance-colors { max-height: 230px; }
}
