/*
 * Tairyon — padronização de selects, campos, gatilhos de seleção e rótulos.
 * Modelo: página Boas-vindas e Saídas. Carregado por último.
 * Só medidas, cantos, fontes e seta: cores vêm de tairyon-color-standard.css.
 * Fora do escopo: Chat Tairyon, Analista de Servidor IA, FAQ com IA e o interior das prévias do Discord.
 */
/* 1. Selects e gatilhos de seleção: mesmo tamanho, canto, fonte e espaço da seta */
#root#root#root#root#root#root#root :is(select:not([multiple]):not([size])):not(:is([data-spike-react-page="faq-ia"], .faq-ia-page, [data-spike-react-page="analista-ia"], [data-spike-react-page="chat-spike"], #spike-chat-root, [class*="embed-preview"], [class*="discord"], .ticket-welcome-preview-body, .timed-message-preview-message, .msg-content) *),
#root#root#root#root#root#root#root :is(.custom-select):not(:is([data-spike-react-page="faq-ia"], .faq-ia-page, [data-spike-react-page="analista-ia"], [data-spike-react-page="chat-spike"], #spike-chat-root, [class*="embed-preview"], [class*="discord"], .ticket-welcome-preview-body, .timed-message-preview-message, .msg-content) *),
#root#root#root#root#root#root#root :is(.sp-form-select):not(:is([data-spike-react-page="faq-ia"], .faq-ia-page, [data-spike-react-page="analista-ia"], [data-spike-react-page="chat-spike"], #spike-chat-root, [class*="embed-preview"], [class*="discord"], .ticket-welcome-preview-body, .timed-message-preview-message, .msg-content) *),
#root#root#root#root#root#root#root :is(.select-trigger):not(:is([data-spike-react-page="faq-ia"], .faq-ia-page, [data-spike-react-page="analista-ia"], [data-spike-react-page="chat-spike"], #spike-chat-root, [class*="embed-preview"], [class*="discord"], .ticket-welcome-preview-body, .timed-message-preview-message, .msg-content) *),
#root#root#root#root#root#root#root :is(.spike-select-trigger):not(:is([data-spike-react-page="faq-ia"], .faq-ia-page, [data-spike-react-page="analista-ia"], [data-spike-react-page="chat-spike"], #spike-chat-root, [class*="embed-preview"], [class*="discord"], .ticket-welcome-preview-body, .timed-message-preview-message, .msg-content) *),
#root#root#root#root#root#root#root :is(.am-select-trigger):not(:is([data-spike-react-page="faq-ia"], .faq-ia-page, [data-spike-react-page="analista-ia"], [data-spike-react-page="chat-spike"], #spike-chat-root, [class*="embed-preview"], [class*="discord"], .ticket-welcome-preview-body, .timed-message-preview-message, .msg-content) *),
#root#root#root#root#root#root#root :is(.d-select):not(:is([data-spike-react-page="faq-ia"], .faq-ia-page, [data-spike-react-page="analista-ia"], [data-spike-react-page="chat-spike"], #spike-chat-root, [class*="embed-preview"], [class*="discord"], .ticket-welcome-preview-body, .timed-message-preview-message, .msg-content) *),
#root#root#root#root#root#root#root :is(.role-select):not(:is([data-spike-react-page="faq-ia"], .faq-ia-page, [data-spike-react-page="analista-ia"], [data-spike-react-page="chat-spike"], #spike-chat-root, [class*="embed-preview"], [class*="discord"], .ticket-welcome-preview-body, .timed-message-preview-message, .msg-content) *),
#root#root#root#root#root#root#root :is(.timed-role-select):not(:is([data-spike-react-page="faq-ia"], .faq-ia-page, [data-spike-react-page="analista-ia"], [data-spike-react-page="chat-spike"], #spike-chat-root, [class*="embed-preview"], [class*="discord"], .ticket-welcome-preview-body, .timed-message-preview-message, .msg-content) *),
#root#root#root#root#root#root#root :is(.sort-select):not(:is([data-spike-react-page="faq-ia"], .faq-ia-page, [data-spike-react-page="analista-ia"], [data-spike-react-page="chat-spike"], #spike-chat-root, [class*="embed-preview"], [class*="discord"], .ticket-welcome-preview-body, .timed-message-preview-message, .msg-content) *),
#root#root#root#root#root#root#root :is(.channel-native-select):not(:is([data-spike-react-page="faq-ia"], .faq-ia-page, [data-spike-react-page="analista-ia"], [data-spike-react-page="chat-spike"], #spike-chat-root, [class*="embed-preview"], [class*="discord"], .ticket-welcome-preview-body, .timed-message-preview-message, .msg-content) *),
#root#root#root#root#root#root#root :is(.channel-picker-trigger):not(:is([data-spike-react-page="faq-ia"], .faq-ia-page, [data-spike-react-page="analista-ia"], [data-spike-react-page="chat-spike"], #spike-chat-root, [class*="embed-preview"], [class*="discord"], .ticket-welcome-preview-body, .timed-message-preview-message, .msg-content) *),
#root#root#root#root#root#root#root :is(.logs-type-picker-trigger):not(:is([data-spike-react-page="faq-ia"], .faq-ia-page, [data-spike-react-page="analista-ia"], [data-spike-react-page="chat-spike"], #spike-chat-root, [class*="embed-preview"], [class*="discord"], .ticket-welcome-preview-body, .timed-message-preview-message, .msg-content) *),
#root#root#root#root#root#root#root :is(.logs-channel-picker-trigger):not(:is([data-spike-react-page="faq-ia"], .faq-ia-page, [data-spike-react-page="analista-ia"], [data-spike-react-page="chat-spike"], #spike-chat-root, [class*="embed-preview"], [class*="discord"], .ticket-welcome-preview-body, .timed-message-preview-message, .msg-content) *),
#root#root#root#root#root#root#root :is(.spike-role-picker-trigger):not(:is([data-spike-react-page="faq-ia"], .faq-ia-page, [data-spike-react-page="analista-ia"], [data-spike-react-page="chat-spike"], #spike-chat-root, [class*="embed-preview"], [class*="discord"], .ticket-welcome-preview-body, .timed-message-preview-message, .msg-content) *),
#root#root#root#root#root#root#root :is(.spike-generic-select-trigger):not(:is([data-spike-react-page="faq-ia"], .faq-ia-page, [data-spike-react-page="analista-ia"], [data-spike-react-page="chat-spike"], #spike-chat-root, [class*="embed-preview"], [class*="discord"], .ticket-welcome-preview-body, .timed-message-preview-message, .msg-content) *),
#root#root#root#root#root#root#root :is(.spike-sort-trigger):not(:is([data-spike-react-page="faq-ia"], .faq-ia-page, [data-spike-react-page="analista-ia"], [data-spike-react-page="chat-spike"], #spike-chat-root, [class*="embed-preview"], [class*="discord"], .ticket-welcome-preview-body, .timed-message-preview-message, .msg-content) *),
#root#root#root#root#root#root#root :is(.spike-integration-channel-trigger):not(:is([data-spike-react-page="faq-ia"], .faq-ia-page, [data-spike-react-page="analista-ia"], [data-spike-react-page="chat-spike"], #spike-chat-root, [class*="embed-preview"], [class*="discord"], .ticket-welcome-preview-body, .timed-message-preview-message, .msg-content) *),
#root#root#root#root#root#root#root :is(.spike-settings-select-trigger):not(:is([data-spike-react-page="faq-ia"], .faq-ia-page, [data-spike-react-page="analista-ia"], [data-spike-react-page="chat-spike"], #spike-chat-root, [class*="embed-preview"], [class*="discord"], .ticket-welcome-preview-body, .timed-message-preview-message, .msg-content) *),
#root#root#root#root#root#root#root :is(.spike-config-channel-trigger):not(:is([data-spike-react-page="faq-ia"], .faq-ia-page, [data-spike-react-page="analista-ia"], [data-spike-react-page="chat-spike"], #spike-chat-root, [class*="embed-preview"], [class*="discord"], .ticket-welcome-preview-body, .timed-message-preview-message, .msg-content) *),
#root#root#root#root#root#root#root :is(.ticket-select-trigger):not(:is([data-spike-react-page="faq-ia"], .faq-ia-page, [data-spike-react-page="analista-ia"], [data-spike-react-page="chat-spike"], #spike-chat-root, [class*="embed-preview"], [class*="discord"], .ticket-welcome-preview-body, .timed-message-preview-message, .msg-content) *),
#root#root#root#root#root#root#root :is(.channel-picker-trigger):not(:is([data-spike-react-page="faq-ia"], .faq-ia-page, [data-spike-react-page="analista-ia"], [data-spike-react-page="chat-spike"], #spike-chat-root, [class*="embed-preview"], [class*="discord"], .ticket-welcome-preview-body, .timed-message-preview-message, .msg-content) *),
#root#root#root#root#root#root#root :is(.spike-role-picker-trigger):not(:is([data-spike-react-page="faq-ia"], .faq-ia-page, [data-spike-react-page="analista-ia"], [data-spike-react-page="chat-spike"], #spike-chat-root, [class*="embed-preview"], [class*="discord"], .ticket-welcome-preview-body, .timed-message-preview-message, .msg-content) *),
#root#root#root#root#root#root#root :is(.announcement-select-trigger):not(:is([data-spike-react-page="faq-ia"], .faq-ia-page, [data-spike-react-page="analista-ia"], [data-spike-react-page="chat-spike"], #spike-chat-root, [class*="embed-preview"], [class*="discord"], .ticket-welcome-preview-body, .timed-message-preview-message, .msg-content) *),
#root#root#root#root#root#root#root :is(.am-select-trigger):not(:is([data-spike-react-page="faq-ia"], .faq-ia-page, [data-spike-react-page="analista-ia"], [data-spike-react-page="chat-spike"], #spike-chat-root, [class*="embed-preview"], [class*="discord"], .ticket-welcome-preview-body, .timed-message-preview-message, .msg-content) *),
#root#root#root#root#root#root#root :is(.logs-channel-picker-trigger):not(:is([data-spike-react-page="faq-ia"], .faq-ia-page, [data-spike-react-page="analista-ia"], [data-spike-react-page="chat-spike"], #spike-chat-root, [class*="embed-preview"], [class*="discord"], .ticket-welcome-preview-body, .timed-message-preview-message, .msg-content) *),
#root#root#root#root#root#root#root :is(.logs-type-picker-trigger):not(:is([data-spike-react-page="faq-ia"], .faq-ia-page, [data-spike-react-page="analista-ia"], [data-spike-react-page="chat-spike"], #spike-chat-root, [class*="embed-preview"], [class*="discord"], .ticket-welcome-preview-body, .timed-message-preview-message, .msg-content) *),
#root#root#root#root#root#root#root :is(.autocargo-role-trigger):not(:is([data-spike-react-page="faq-ia"], .faq-ia-page, [data-spike-react-page="analista-ia"], [data-spike-react-page="chat-spike"], #spike-chat-root, [class*="embed-preview"], [class*="discord"], .ticket-welcome-preview-body, .timed-message-preview-message, .msg-content) *),
#root#root#root#root#root#root#root :is(.punishment-channel-trigger):not(:is([data-spike-react-page="faq-ia"], .faq-ia-page, [data-spike-react-page="analista-ia"], [data-spike-react-page="chat-spike"], #spike-chat-root, [class*="embed-preview"], [class*="discord"], .ticket-welcome-preview-body, .timed-message-preview-message, .msg-content) *),
#root#root#root#root#root#root#root :is(.select-input):not(:is([data-spike-react-page="faq-ia"], .faq-ia-page, [data-spike-react-page="analista-ia"], [data-spike-react-page="chat-spike"], #spike-chat-root, [class*="embed-preview"], [class*="discord"], .ticket-welcome-preview-body, .timed-message-preview-message, .msg-content) *) {
min-height: 42px !important;
  height: auto !important;
  padding: 10px 40px 10px 12px !important;
  border-width: 1px !important;
  border-style: solid !important;
  border-radius: 10px !important;
  font-family: inherit !important;
  font-size: 12px !important;
  font-weight: 400 !important;
  line-height: 20px !important;
  letter-spacing: normal !important;
  text-transform: none !important;
  box-sizing: border-box !important;
  background-color: var(--ty-field) !important;
  border-color: var(--ty-border-strong) !important;
  color: var(--ty-text-title) !important;
  transition: border-color .2s ease, box-shadow .2s ease !important;
}

/* Seta única (a mesma da Boas-vindas) em todo select nativo */
#root#root#root#root#root#root#root :is(select:not([multiple]):not([size])):not(:is([data-spike-react-page="faq-ia"], .faq-ia-page, [data-spike-react-page="analista-ia"], [data-spike-react-page="chat-spike"], #spike-chat-root, [class*="embed-preview"], [class*="discord"], .ticket-welcome-preview-body, .timed-message-preview-message, .msg-content) *) {
-webkit-appearance: none !important;
  appearance: none !important;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='6' viewBox='0 0 10 6'%3E%3Cpath d='M0 0h10L5 6z' fill='%23777777'/%3E%3C/svg%3E") !important;
  background-repeat: no-repeat !important;
  background-position: right 14px center !important;
  background-size: 10px 6px !important;
  cursor: pointer !important;
}

#root#root#root#root#root#root#root :is(select ~ .select-arrow):not(:is([data-spike-react-page="faq-ia"], .faq-ia-page, [data-spike-react-page="analista-ia"], [data-spike-react-page="chat-spike"], #spike-chat-root, [class*="embed-preview"], [class*="discord"], .ticket-welcome-preview-body, .timed-message-preview-message, .msg-content) *),
#root#root#root#root#root#root#root :is(select ~ .select-chevron):not(:is([data-spike-react-page="faq-ia"], .faq-ia-page, [data-spike-react-page="analista-ia"], [data-spike-react-page="chat-spike"], #spike-chat-root, [class*="embed-preview"], [class*="discord"], .ticket-welcome-preview-body, .timed-message-preview-message, .msg-content) *),
#root#root#root#root#root#root#root :is(select ~ .ticket-create-select-chevron):not(:is([data-spike-react-page="faq-ia"], .faq-ia-page, [data-spike-react-page="analista-ia"], [data-spike-react-page="chat-spike"], #spike-chat-root, [class*="embed-preview"], [class*="discord"], .ticket-welcome-preview-body, .timed-message-preview-message, .msg-content) *),
#root#root#root#root#root#root#root :is(select + svg):not(:is([data-spike-react-page="faq-ia"], .faq-ia-page, [data-spike-react-page="analista-ia"], [data-spike-react-page="chat-spike"], #spike-chat-root, [class*="embed-preview"], [class*="discord"], .ticket-welcome-preview-body, .timed-message-preview-message, .msg-content) *) {
display: none !important;
}

/* 2. Campos de texto e números */
#root#root#root#root#root#root#root :is(input:not([type="checkbox"]):not([type="radio"]):not([type="range"]):not([type="color"]):not([type="file"]):not([type="hidden"]):not([type="button"]):not([type="submit"])):not(:is([data-spike-react-page="faq-ia"], .faq-ia-page, [data-spike-react-page="analista-ia"], [data-spike-react-page="chat-spike"], #spike-chat-root, [class*="embed-preview"], [class*="discord"], .ticket-welcome-preview-body, .timed-message-preview-message, .msg-content) *),
#root#root#root#root#root#root#root :is(.sp-form-input):not(:is([data-spike-react-page="faq-ia"], .faq-ia-page, [data-spike-react-page="analista-ia"], [data-spike-react-page="chat-spike"], #spike-chat-root, [class*="embed-preview"], [class*="discord"], .ticket-welcome-preview-body, .timed-message-preview-message, .msg-content) *),
#root#root#root#root#root#root#root :is(.embed-input):not(:is([data-spike-react-page="faq-ia"], .faq-ia-page, [data-spike-react-page="analista-ia"], [data-spike-react-page="chat-spike"], #spike-chat-root, [class*="embed-preview"], [class*="discord"], .ticket-welcome-preview-body, .timed-message-preview-message, .msg-content) *),
#root#root#root#root#root#root#root :is(.number-input):not(:is([data-spike-react-page="faq-ia"], .faq-ia-page, [data-spike-react-page="analista-ia"], [data-spike-react-page="chat-spike"], #spike-chat-root, [class*="embed-preview"], [class*="discord"], .ticket-welcome-preview-body, .timed-message-preview-message, .msg-content) *) {
min-height: 42px !important;
  padding: 10px 12px !important;
  border-width: 1px !important;
  border-style: solid !important;
  border-radius: 10px !important;
  font-family: inherit !important;
  font-size: 12px !important;
  line-height: 20px !important;
  box-sizing: border-box !important;
}

#root#root#root#root#root#root#root :is(textarea):not(:is([data-spike-react-page="faq-ia"], .faq-ia-page, [data-spike-react-page="analista-ia"], [data-spike-react-page="chat-spike"], #spike-chat-root, [class*="embed-preview"], [class*="discord"], .ticket-welcome-preview-body, .timed-message-preview-message, .msg-content) *) {
min-height: 84px !important;
  padding: 10px 12px !important;
  border-width: 1px !important;
  border-style: solid !important;
  border-radius: 10px !important;
  font-family: inherit !important;
  font-size: 12px !important;
  line-height: 1.45 !important;
  box-sizing: border-box !important;
}

/* 4. Rótulos dos campos (padrão Boas-vindas) */
#root#root#root#root#root#root#root :is(.field-label):not(:is([data-spike-react-page="faq-ia"], .faq-ia-page, [data-spike-react-page="analista-ia"], [data-spike-react-page="chat-spike"], #spike-chat-root, [class*="embed-preview"], [class*="discord"], .ticket-welcome-preview-body, .timed-message-preview-message, .msg-content) *),
#root#root#root#root#root#root#root :is(.sp-form-label):not(:is([data-spike-react-page="faq-ia"], .faq-ia-page, [data-spike-react-page="analista-ia"], [data-spike-react-page="chat-spike"], #spike-chat-root, [class*="embed-preview"], [class*="discord"], .ticket-welcome-preview-body, .timed-message-preview-message, .msg-content) *),
#root#root#root#root#root#root#root :is(.settings-group-label):not(:is([data-spike-react-page="faq-ia"], .faq-ia-page, [data-spike-react-page="analista-ia"], [data-spike-react-page="chat-spike"], #spike-chat-root, [class*="embed-preview"], [class*="discord"], .ticket-welcome-preview-body, .timed-message-preview-message, .msg-content) *) {
font-size: 12px !important;
  font-weight: 700 !important;
  color: var(--ty-text-label) !important;
  text-transform: uppercase !important;
  letter-spacing: .8px !important;
  margin-bottom: 8px !important;
}

/* Seta dos gatilhos de janela: o mesmo triângulo pequeno do select da Boas-vindas */
#root#root#root#root#root#root#root :is(.spike-generic-select-trigger)::after,
#root#root#root#root#root#root#root :is(.spike-sort-trigger)::after,
#root#root#root#root#root#root#root :is(.spike-integration-channel-trigger)::after,
#root#root#root#root#root#root#root :is(.spike-settings-select-trigger)::after,
#root#root#root#root#root#root#root :is(.spike-config-channel-trigger)::after,
#root#root#root#root#root#root#root :is(.ticket-select-trigger)::after,
#root#root#root#root#root#root#root :is(.channel-picker-trigger)::after,
#root#root#root#root#root#root#root :is(.spike-role-picker-trigger)::after,
#root#root#root#root#root#root#root :is(.announcement-select-trigger)::after,
#root#root#root#root#root#root#root :is(.am-select-trigger)::after,
#root#root#root#root#root#root#root :is(.logs-channel-picker-trigger)::after,
#root#root#root#root#root#root#root :is(.logs-type-picker-trigger)::after,
#root#root#root#root#root#root#root :is(.autocargo-role-trigger)::after,
#root#root#root#root#root#root#root :is(.punishment-channel-trigger)::after,
#root#root#root#root#root#root#root :is(.select-input)::after {
  content: "" !important;
  width: 0 !important;
  height: 0 !important;
  right: 14px !important;
  top: 50% !important;
  margin: -3px 0 0 !important;
  border: 0 !important;
  border-left: 5px solid transparent !important;
  border-right: 5px solid transparent !important;
  border-top: 6px solid #777777 !important;
  transform: none !important;
  opacity: 1 !important;
}

/* Estados dos selects: passar o mouse, foco e desativado (iguais em todas as páginas) */
#root#root#root#root#root#root#root#root :is(select,.custom-select,.sp-form-select,.select-trigger,.spike-select-trigger,.am-select-trigger,.d-select,.role-select,.timed-role-select,.sort-select,.spike-generic-select-trigger,.spike-sort-trigger,.spike-integration-channel-trigger,.spike-settings-select-trigger,.spike-config-channel-trigger,.ticket-select-trigger,.channel-picker-trigger,.spike-role-picker-trigger,.announcement-select-trigger,.logs-channel-picker-trigger,.logs-type-picker-trigger,.autocargo-role-trigger,.punishment-channel-trigger,.select-input):hover:not(:disabled) { border-color: #4b5563 !important; }
#root#root#root#root#root#root#root#root :is(select,.custom-select,.sp-form-select,.select-trigger,.spike-select-trigger,.am-select-trigger,.d-select,.role-select,.timed-role-select,.sort-select,.spike-generic-select-trigger,.spike-sort-trigger,.spike-integration-channel-trigger,.spike-settings-select-trigger,.spike-config-channel-trigger,.ticket-select-trigger,.channel-picker-trigger,.spike-role-picker-trigger,.announcement-select-trigger,.logs-channel-picker-trigger,.logs-type-picker-trigger,.autocargo-role-trigger,.punishment-channel-trigger,.select-input):is(:focus,:focus-visible,[aria-expanded="true"]) { border-color: var(--ty-active-border) !important; box-shadow: 0 0 0 3px var(--ty-focus) !important; outline: none !important; }
#root#root#root#root#root#root#root#root :is(select,.custom-select,.sp-form-select,.select-trigger,.spike-select-trigger,.am-select-trigger,.d-select,.role-select,.timed-role-select,.sort-select,.spike-generic-select-trigger,.spike-sort-trigger,.spike-integration-channel-trigger,.spike-settings-select-trigger,.spike-config-channel-trigger,.ticket-select-trigger,.channel-picker-trigger,.spike-role-picker-trigger,.announcement-select-trigger,.logs-channel-picker-trigger,.logs-type-picker-trigger,.autocargo-role-trigger,.punishment-channel-trigger,.select-input):disabled { background-color: var(--ty-disabled-bg) !important; border-color: var(--ty-disabled-border) !important; color: var(--ty-text-disabled) !important; cursor: not-allowed !important; }

/* Largura total do campo, como na Boas-vindas (filtros de ordenação ficam do tamanho atual) */
#root#root#root#root#root#root#root :is(select:not([multiple]):not([size]):not(.sort-select),.custom-select,.sp-form-select,.am-select-trigger,.spike-generic-select-trigger,.channel-picker-trigger,.spike-role-picker-trigger,.autocargo-role-trigger,.punishment-channel-trigger) { width: 100% !important; max-width: 100% !important; }
