/* FINDB STÚDIO 1.0.550 / CP258-R1 — SOMENTE CORES.
   Aplica-se sobre o contexto JS EXISTENTE (context-*) e sobre data-product do seletor.
   Não alterar :root/--purple, marca institucional, eventos, rotas, APIs ou editores Pages.
   Cores extraídas do código das respectivas plataformas em 2026-11-02.
*/

/* Valores independentes para a superfície ativa, o ponto de navegação e cada opção
   do seletor. Um botão de outro produto NUNCA herda a cor do produto selecionado. */
.app-shell.context-sons,
.app-shell .product-option[data-product="sons"],
.app-shell .product-dot.sons {
  --fc-color:#ff4c00;--fc-rgb:255,76,0;--fc-soft:#ff9d74;
  --fc-gradient:linear-gradient(135deg,#ff7a18,#ff3d00);
}
.app-shell.context-acontece,
.app-shell .product-option[data-product="acontece"],
.app-shell .product-dot.acontece {
  --fc-color:#ff4c00;--fc-rgb:255,76,0;--fc-soft:#ff9b75;
  --fc-gradient:linear-gradient(135deg,#ff7a1a,#ff4c00);
}
.app-shell.context-link,
.app-shell .product-option[data-product="link"],
.app-shell .product-dot.link {
  --fc-color:#6266f1;--fc-rgb:98,102,241;--fc-soft:#a5a8ff;
  --fc-gradient:linear-gradient(135deg,#6266f1,#4146c9);
}
.app-shell.context-pages,
.app-shell .product-option[data-product="pages"],
.app-shell .product-dot.pages {
  --fc-color:#6266f1;--fc-rgb:98,102,241;--fc-soft:#a5a8ff;
  --fc-gradient:linear-gradient(135deg,#6266f1,#4146c9);
}
.app-shell.context-club,
.app-shell .product-option[data-product="club"],
.app-shell .product-dot.club {
  --fc-color:#a653f5;--fc-rgb:166,83,245;--fc-soft:#d8b5ff;
  --fc-gradient:linear-gradient(135deg,#a653f5,#842cd9);
}
/* GO e Pass continuam com suas cores atuais: apenas estados do seletor/navegação. */
.app-shell.context-go,
.app-shell .product-option[data-product="go"],
.app-shell .product-dot.go {
  --fc-color:#ff4c00;--fc-rgb:255,76,0;--fc-soft:#ff8753;
}
.app-shell.context-pass,
.app-shell .product-option[data-product="pass"],
.app-shell .product-dot.pass {
  --fc-color:#5fd6ff;--fc-rgb:95,214,255;--fc-soft:#9be8ff;
}

/* Seletor de contextos: marca + ponto + seleção pertencem SEMPRE à opção,
   mesmo quando outra plataforma está ativa. Layout do modal original preservado. */
.app-shell .product-dot:is(.sons,.club,.link,.acontece,.pages,.go,.pass){
  background:var(--fc-color);
  box-shadow:0 0 0 4px rgba(var(--fc-rgb),.12);
}
.app-shell .product-option[data-product]:is([data-product="sons"],[data-product="club"],[data-product="link"],[data-product="acontece"],[data-product="pages"]) .product-option-mark{
  background:rgba(var(--fc-rgb),.15);
  color:var(--fc-soft);
}
.app-shell .product-option[data-product]:hover,
.app-shell .product-option[data-product]:focus-visible,
.app-shell .product-option[data-product].selected{
  border-color:rgba(var(--fc-rgb),.46);
  background:rgba(var(--fc-rgb),.085);
}
.app-shell .product-option[data-product].selected>em{color:var(--fc-soft)}
/* Ações do seletor vinculadas ao produto ativo; navegação estrutural e logo são intocados. */
.app-shell:is(.context-sons,.context-club,.context-link,.context-acontece,.context-pages,.context-go,.context-pass) .product-trigger:hover,
.app-shell:is(.context-sons,.context-club,.context-link,.context-acontece,.context-pages,.context-go,.context-pass) .product-trigger:focus-visible{
  border-color:rgba(var(--fc-rgb),.46);
  background:rgba(var(--fc-rgb),.075);
}
.app-shell:is(.context-sons,.context-club,.context-link,.context-acontece,.context-pages,.context-go,.context-pass) .sidebar nav a.active{
  background:linear-gradient(90deg,rgba(var(--fc-rgb),.20),rgba(var(--fc-rgb),.045));
  box-shadow:inset 3px 0 0 var(--fc-color);
}
.app-shell:is(.context-sons,.context-club,.context-link,.context-acontece,.context-pages,.context-go,.context-pass) .sidebar nav a:hover{
  background:rgba(var(--fc-rgb),.095);
}

/* Áreas genéricas de administração. Nunca alterar o branding fixo do Stúdio,
   componentes de alerta/sucesso, nem as paletas editáveis dos perfis Pages. */
.app-shell:is(.context-sons,.context-club,.context-link,.context-acontece) .environment>span{
  background:var(--fc-color);box-shadow:0 0 0 4px rgba(var(--fc-rgb),.12);
}
.app-shell:is(.context-sons,.context-club,.context-link) #page .primary-btn{
  background:var(--fc-gradient);
}
.app-shell:is(.context-sons,.context-club,.context-link,.context-acontece) #page .primary-btn{
  border-color:rgba(var(--fc-rgb),.27);
  box-shadow:0 12px 30px rgba(var(--fc-rgb),.22),inset 0 1px 0 rgba(255,255,255,.14);
}
@media(hover:hover){
  .app-shell:is(.context-sons,.context-club,.context-link,.context-acontece) #page .primary-btn:hover{
    border-color:rgba(var(--fc-rgb),.5);
    box-shadow:0 14px 34px rgba(var(--fc-rgb),.27),inset 0 1px 0 rgba(255,255,255,.18);
  }
}
.app-shell:is(.context-sons,.context-club,.context-link,.context-acontece) #page .primary-btn:disabled{box-shadow:none}
.app-shell:is(.context-sons,.context-club,.context-link) #page .eyebrow,
.app-shell:is(.context-sons,.context-club,.context-link) #page .panel-head button{
  color:var(--fc-soft);
}
.app-shell:is(.context-sons,.context-club,.context-link,.context-acontece) #page .stat-icon{
  background:rgba(var(--fc-rgb),.14);color:var(--fc-soft);
}
.app-shell:is(.context-sons,.context-club,.context-link,.context-acontece) #page .chart-bars span{
  background:linear-gradient(to top,var(--fc-color),var(--fc-soft));
  box-shadow:0 0 24px rgba(var(--fc-rgb),.16);
}
.app-shell:is(.context-sons,.context-club,.context-link,.context-acontece) #page .visual-dashboard .panel-head>a,
.app-shell:is(.context-sons,.context-club,.context-link,.context-acontece) #page .dashboard-grid .panel-head>a{
  border-color:rgba(var(--fc-rgb),.25);
  background:rgba(var(--fc-rgb),.10);
  color:var(--fc-soft);
}
@media(hover:hover){
  .app-shell:is(.context-sons,.context-club,.context-link,.context-acontece) #page .visual-dashboard .panel-head>a:hover,
  .app-shell:is(.context-sons,.context-club,.context-link,.context-acontece) #page .dashboard-grid .panel-head>a:hover{
    border-color:rgba(var(--fc-rgb),.42);
    background:rgba(var(--fc-rgb),.17);
    color:#fff;
    box-shadow:0 8px 22px rgba(var(--fc-rgb),.14),inset 0 1px 0 rgba(255,255,255,.08);
  }
}
/* Foco dos campos genéricos: somente contexto operacional, sem login institucional. */
.app-shell:is(.context-sons,.context-club,.context-link,.context-acontece) #page .form-grid input:focus,
.app-shell:is(.context-sons,.context-club,.context-link,.context-acontece) #page .form-grid select:focus{
  border-color:var(--fc-color);
  box-shadow:0 0 0 3px rgba(var(--fc-rgb),.12);
}
/* Intencionalmente NÃO alterar --purple global, marca, login, editor Pages,
   GO/Pass internos, ícones de ações semânticas, área transversal ou módulos externos. */
