/* Atlas de Incentivos · entrada com Google, leitura da planilha e alertas. Medidas: MANUAL-VISUAL-ATLAS.md */
body.inc-loading > :not(#inc-gate):not(script):not(dialog){display:none!important}
body:not(.inc-loading) #inc-gate{display:none}
.inc-gate{min-height:100vh;display:flex;flex-direction:column;justify-content:space-between;gap:40px;padding:clamp(18px,2vw,30px) clamp(20px,4.3vw,82px);background:#000;color:#fff;font-family:Helvetica,"Helvetica Neue",Arial,sans-serif;box-sizing:border-box}
.inc-gate-home img{display:block;width:105px;height:auto;filter:invert(1)}
.inc-gate-body{max-width:760px}
.inc-gate-kicker{margin:0 0 10px;color:#a9a9a9;font:700 11px/1.3 inherit;letter-spacing:.08em;text-transform:uppercase}
.inc-gate h1{margin:0;font:400 clamp(44px,4.4vw,64px)/1 Helvetica,"Helvetica Neue",Arial,sans-serif;letter-spacing:-.02em}
.inc-gate-lead{margin:clamp(14px,1.4vw,20px) 0 28px;color:#a9a9a9;font:450 clamp(14px,1.05vw,17px)/1.45 Helvetica,Arial,sans-serif}
.inc-gate-lead b{color:#fff;font-weight:600}
.inc-gate-login{min-height:40px;padding:8px 18px;border:1px solid #fff;border-radius:0;background:#fff;color:#000;font:700 14px/1.2 Helvetica,Arial,sans-serif;cursor:pointer}
.inc-gate-login:hover{opacity:.86}
.inc-gate-status{margin:14px 0 0;color:#a9a9a9;font:450 13px/1.4 Helvetica,Arial,sans-serif}
.inc-gate-foot{display:flex;flex-wrap:wrap;justify-content:space-between;gap:10px;margin:0;color:#a9a9a9;font:700 11px/1.3 Helvetica,Arial,sans-serif;letter-spacing:.08em;text-transform:uppercase}
.inc-gate-foot a{color:#fff;text-decoration:none}
.inc-gate-foot a:hover{text-decoration:underline;text-underline-offset:4px}

/* Topo: atalho para o outro atlas e link da planilha da aba, como no Festivais */
html body header .inc-switch,html body header .inc-sheet{order:1;align-self:center;color:var(--su-ink,inherit)!important;text-decoration:none;white-space:nowrap}
html body header .inc-switch{margin-left:auto!important;font:700 12px/1 Helvetica,Arial,sans-serif;letter-spacing:.08em;text-transform:uppercase;opacity:.75}
html body header .inc-switch:hover{opacity:1;text-decoration:underline;text-underline-offset:4px}
html body header .inc-sheet{display:inline-flex;align-items:center;gap:6px;min-height:36px;padding:0 11px;border:1px solid var(--su-rule,#c5c5c5);border-radius:3px;font:400 13px/1 Helvetica,Arial,sans-serif}
html body header .inc-sheet small{color:var(--su-muted,#525252);font-size:11px;text-transform:uppercase;letter-spacing:.06em}
html body header .inc-switch ~ #atlas-global-search{margin-left:0!important}

/* Faixa preta: hora da leitura, Atualizar e alertas */
.inc-leitura{display:flex;flex-wrap:wrap;align-items:center;gap:6px 14px;color:#a9a9a9;font:400 12px/1.45 Helvetica,Arial,sans-serif}
.inc-leitura button{min-height:34px!important;padding:6px 12px!important;border:1px solid #ffffff73!important;border-radius:0!important;background:transparent!important;color:#fff!important;font:500 13px/1.2 Helvetica,Arial,sans-serif!important;cursor:pointer}
.inc-leitura button:hover{background:#fff!important;color:#000!important}
.inc-leitura .inc-alertas-btn{border-color:var(--st-no,#f0625a)!important}
.inc-leitura .inc-alertas-btn::before{content:"";display:inline-block;width:8px;height:8px;margin-right:7px;background:var(--st-no,#f0625a)}

/* Lista de alertas */
#inc-alertas{width:min(94vw,860px);max-height:86vh;padding:0;border:0;border-top:2px solid var(--su-ink,#181818);background:var(--su-field,#fff);color:var(--su-ink,#181818);font-family:Helvetica,Arial,sans-serif}
#inc-alertas::backdrop{background:#000a}
#inc-alertas .inc-al-head{position:sticky;top:0;display:flex;justify-content:space-between;align-items:baseline;gap:16px;padding:22px 26px 14px;background:inherit;border-bottom:1px solid var(--su-rule,#c5c5c5)}
#inc-alertas h2{margin:0;font:700 20px/1.2 inherit;text-transform:uppercase;letter-spacing:.04em}
#inc-alertas .inc-al-head p{margin:6px 0 0;color:var(--su-muted,#525252);font:450 13px/1.4 inherit}
#inc-alertas .inc-al-close{border:0;background:none;color:inherit;font:700 13px/1 inherit;cursor:pointer;text-decoration:underline;text-underline-offset:4px}
#inc-alertas section{padding:6px 26px 18px}
#inc-alertas h3{margin:16px 0 6px;font:700 18px/1.2 inherit;text-transform:uppercase;letter-spacing:.04em}
#inc-alertas ul{margin:0;padding:0;list-style:none}
#inc-alertas li{display:flex;justify-content:space-between;gap:14px;padding:9px 0;border-bottom:1px solid var(--su-rule,#c5c5c5);font:450 13px/1.4 inherit}
#inc-alertas li b{font-weight:700;text-transform:uppercase;font-size:11px;letter-spacing:.08em;color:var(--st-no,#cf3f37);margin-right:8px}
#inc-alertas li a{flex:none;color:inherit;font-weight:700;white-space:nowrap}
/* Ordem no topo, como no Festivais: atalho, planilha, Buscar, modo noturno */
html body header .inc-switch{order:1}
html body header .inc-sheet{order:2}
html body header:has(.inc-switch) #atlas-global-search{order:3}
html body header:has(.inc-switch) .rt-theme-toggle{order:4}
@media (min-width:861px){
  html body header:has(.inc-switch) :is(#atlas-global-search,.rt-theme-toggle,.inc-sheet){margin-left:calc(8px - clamp(20px,4vw,75px))!important}
}
html body header:has(.inc-switch) nav#atlas-navigation{flex-shrink:0}
@media (max-width:1240px){html body header .inc-sheet{display:none!important}}
html body header .inc-nav-switch{display:none}
@media (max-width:860px){
  html body header .inc-sheet,html body header .inc-switch{display:none!important}
  html body header:has(.inc-switch) #atlas-global-search{margin-left:0!important}
  html body header:has(.inc-switch) .rt-theme-toggle{margin-left:auto!important}
  html body header .inc-nav-switch{display:block;padding:12px 0;font:700 12px/1.2 Helvetica,Arial,sans-serif;letter-spacing:.08em;text-transform:uppercase;color:inherit;text-decoration:none}
}
/* Logo menor no celular, como no Festivais (atlas-festivais.css) */
@media (max-width:640px){html body header button.brand img{width:88px!important}}

/* ===== Topo idêntico ao do Atlas de Festivais (medido em /festivais, 27/11) =====
   Faixa de 73px, logo 105px, menu de texto 14/500 com sublinhado de 3px na aba atual,
   à direita: FESTIVAIS → · Planilha ↗ · Buscar / · Menu · tema. Nada de caixa, borda ou fundo. */
html:root body > header{display:flex!important;align-items:center!important;gap:8px!important;min-height:73px!important;padding:0 var(--atlas-gutter,clamp(20px,4.3vw,62px))!important;position:relative!important;grid-template-columns:none!important}
html:root body > header > .brand{order:0!important;flex:none!important;margin-right:calc(clamp(13px,4vw,58px) - 8px)!important}
html:root body > header > .brand img{width:105px!important;height:auto!important}
html:root body > header nav#atlas-navigation{order:1!important;display:flex!important;align-self:stretch!important;align-items:center!important;gap:clamp(13px,2vw,32px)!important;margin:0!important;border:0!important;width:auto!important;flex:0 1 auto!important;grid-row:auto!important;grid-column:auto!important}
html:root body > header nav#atlas-navigation > button,html:root body > header nav#atlas-navigation .atlas-more > summary{height:40px!important;min-height:0!important;align-self:center!important;padding:3px 0 0!important;border:0!important;border-bottom:3px solid transparent!important;border-radius:0!important;background:none!important;box-shadow:none!important;font:500 14px Helvetica,"Helvetica Neue",Arial,sans-serif!important;letter-spacing:normal!important;text-transform:none!important;color:var(--atlas-muted,#bababa)!important;white-space:nowrap}
html:root body > header nav#atlas-navigation > button:is(.active,[aria-current="page"]),html:root body > header nav#atlas-navigation .atlas-more:has([aria-current="page"]) > summary{color:var(--atlas-ink,#f1f1f1)!important;border-bottom-color:currentColor!important;font-weight:500!important}
html:root body > header nav#atlas-navigation > button::after,html:root body > header nav#atlas-navigation .atlas-more::after{display:none!important}
html:root body > header nav#atlas-navigation > button:hover,html:root body > header nav#atlas-navigation .atlas-more > summary:hover{color:var(--atlas-ink,#f1f1f1)!important}
html:root body > header nav#atlas-navigation #savedN{margin-left:5px;padding:0!important;border:0!important;background:none!important;border-radius:0!important;font:inherit!important;color:inherit!important;opacity:.7}
html:root body > header nav#atlas-navigation .atlas-more{display:flex!important;align-self:center!important;grid-column:auto!important;position:relative}
html:root body > header nav#atlas-navigation .atlas-more > summary{display:inline-flex!important;align-items:center!important;cursor:pointer;list-style:none}
html:root body > header nav#atlas-navigation .atlas-more > summary::-webkit-details-marker{display:none}
html:root body > header nav#atlas-navigation .atlas-more > summary::after{content:" ↓";margin-left:4px;font-size:12px}
html:root body > header nav#atlas-navigation .atlas-more > div{border-radius:0!important;box-shadow:none!important;border:1px solid var(--atlas-rule,#333)!important;background:var(--atlas-paper,#151515)!important}
html:root body > header nav#atlas-navigation .atlas-more > div button{border-radius:0!important;background:none!important;font:500 14px Helvetica,"Helvetica Neue",Arial,sans-serif!important;color:var(--atlas-muted,#bababa)!important}
html:root body > header nav#atlas-navigation .inc-nav-switch{display:none!important}

/* Utilidades: texto puro, mesma fonte e espaçamento do Festivais */
html:root body > header :is(a.inc-switch,#inc-sem-id){order:2!important;display:inline-flex!important;margin-left:auto!important;margin-right:6px!important;padding:6px 4px!important;font:500 14px/1.2 Helvetica,"Helvetica Neue",Arial,sans-serif!important;letter-spacing:.08em!important;text-transform:uppercase!important;opacity:.75;color:var(--atlas-ink,#f1f1f1)!important;text-decoration:none!important}
html:root body > header a.inc-switch:hover{opacity:1;text-decoration:underline!important;text-underline-offset:4px}
html:root body > header :is(a.inc-sheet,#inc-sem-id){order:3!important;display:inline-flex!important;align-items:baseline!important;gap:6px!important;min-height:0!important;margin:0 6px 0 0!important;padding:6px 4px!important;border:0!important;border-radius:0!important;background:none!important;font:600 14px/1.2 Helvetica,"Helvetica Neue",Arial,sans-serif!important;color:var(--atlas-ink,#f1f1f1)!important;text-decoration:none!important}
html:root body > header a.inc-sheet small{color:var(--atlas-muted,#bababa)!important;font:700 10.5px/1 Helvetica,Arial,sans-serif!important;letter-spacing:.08em!important;text-transform:uppercase!important}
html:root body > header a.inc-sheet:hover{text-decoration:underline!important;text-underline-offset:.25em}
html:root body > header :is(#atlas-global-search,#atlas-menu-toggle,.rt-theme-toggle){min-height:36px!important;height:auto!important;width:auto!important;margin:0!important;padding:6px 4px!important;border:0!important;border-radius:0!important;background:transparent!important;box-shadow:none!important;outline-offset:2px;font:500 14px/1.2 Helvetica,"Helvetica Neue",Arial,sans-serif!important;color:var(--atlas-ink,#f1f1f1)!important;display:inline-flex!important;align-items:center!important;gap:6px!important}
html:root body > header #atlas-global-search{order:4!important}
html:root body > header #atlas-global-search svg{display:none!important}
html:root body > header #atlas-global-search kbd{border:0!important;background:none!important;padding:0!important;font:400 14px Helvetica,Arial,sans-serif!important;color:var(--atlas-muted,#bababa)!important}
html:root body > header #atlas-menu-toggle{order:5!important;display:none!important}
html:root body > header .rt-theme-toggle{order:6!important;padding:6px!important}
html:root body > header .rt-theme-toggle svg{width:18px!important;height:18px!important}
html:root body > header :is(#atlas-global-search,#atlas-menu-toggle,.rt-theme-toggle):hover{text-decoration:underline;text-underline-offset:.25em}
@media (max-width:1240px){html:root body > header a.inc-sheet{display:none!important}}

/* Até 900px: igual ao Festivais — Menu no topo, abas num quadro de 3 colunas sob a faixa */
@media (max-width:900px){
  html:root body > header{min-height:61px!important;padding:9px var(--atlas-gutter,clamp(16px,4.3vw,62px))!important;justify-content:space-between}
  html:root body > header #atlas-menu-toggle{display:inline-flex!important}
  html:root body > header #atlas-menu-toggle span{display:none}
  html:root body > header nav#atlas-navigation{display:none!important;position:absolute!important;inset:100% 0 auto!important;z-index:10!important;background:var(--atlas-paper,#151515)!important;border-bottom:1px solid var(--atlas-rule,#333)!important;box-shadow:0 6px 12px #0002!important;padding:8px var(--atlas-gutter,clamp(16px,4.3vw,62px))!important}
  html:root body > header #atlas-menu-toggle[aria-expanded="true"] ~ nav#atlas-navigation,html:root body > header nav#atlas-navigation.open,html:root body > header nav#atlas-navigation.is-open{display:grid!important;grid-template-columns:repeat(3,minmax(0,1fr))!important;gap:0!important}
  html:root body > header nav#atlas-navigation > button,html:root body > header nav#atlas-navigation .atlas-more > summary{padding:9px!important;text-align:left!important;justify-content:flex-start!important}
  html:root body > header nav#atlas-navigation .atlas-more{display:block!important}
  html:root body > header nav#atlas-navigation .atlas-more > div{position:static!important;display:grid;grid-template-columns:repeat(3,minmax(0,1fr));border:0!important}
  html:root body > header a.inc-switch{display:inline-flex!important;margin-left:auto!important}
}
@media (max-width:700px){
  html:root body > header{gap:5px!important}
  html:root body > header #atlas-global-search kbd{display:none!important}
  html:root body > header a.inc-switch{font-size:12px!important}
}
html:root body > header .rt-theme-toggle svg{display:none!important}
html:root body > header .rt-theme-toggle::before{content:"◐";font:500 18px/1 Helvetica,"Helvetica Neue",Arial,sans-serif}
html:root body > header > .brand{min-height:0!important;height:auto!important;padding:0!important}
@media (max-width:700px){html:root body > header > .brand img{width:88px!important}}
