/* Cabeçalho verde Unimed; texto e botões em verde escuro (valores espelham brand.yaml > ui). */
header.top { background-color: #004E4C !important; }
header.top, header.top a, header.top .ant-menu, header.top .ant-menu-item,
header.top .ant-menu-submenu-title, header.top .ant-menu-title-content,
header.top .ant-menu-title-content a, header.top .ant-btn, header.top .anticon,
header.top svg { color: #FFFFFF !important; fill: currentColor; }
header.top .ant-menu { background: transparent !important; }
header.top .ant-menu-item-selected::after,
header.top .ant-menu-item-active::after { border-bottom-color: #FFFFFF !important; }
/* Cabeçalho 56px; logo IDMI (SVG 3,7:1, branco) centralizada na vertical */
header.top { height: 56px; min-height: 56px; padding-top: 0; padding-bottom: 0; }
header.top .ant-menu-horizontal { line-height: 54px; border-bottom: 0; }
header.top .ant-menu-item, header.top .ant-menu-submenu { height: 56px; line-height: 56px; }
header.top .navbar-brand { display: flex; align-items: center; height: 56px; padding: 0; margin: 0; }
header.top .navbar-brand img { height: 40px; width: auto; max-width: none; margin: 0; }
header.top .ant-menu-horizontal { height: 56px; max-height: 56px; display: flex; align-items: center; }
header.top .ant-menu-horizontal > .ant-menu-item, header.top .ant-menu-horizontal > .ant-menu-submenu { height: 56px; line-height: 56px; margin-top: 0; margin-bottom: 0; top: 0; }
/* Cabeçalho de dashboard (Markdown .idmi-header) e de rodapé (.idmi-footer): objeto inteiro verde, sem moldura branca, cantos arredondados */
.dashboard-component-chart-holder:has(.idmi-header), .dashboard-component-chart-holder:has(.idmi-footer) { height: 100%; padding: 0 !important; background: #00995D !important; border-radius: 12px !important; overflow: hidden; }
.idmi-header, .idmi-footer { border-radius: 12px; height: 100%; box-sizing: border-box; }
/* Textos dos gráficos nos dashboards (títulos, KPIs, tabelas, eixos): #004E4C; o cabeçalho e o rodapé ficam em branco */
.dashboard-component-chart-holder:not(:has(.idmi-header)):not(:has(.idmi-footer)) { color: #004E4C; }
.dashboard-component-chart-holder:not(:has(.idmi-header)):not(:has(.idmi-footer)) :is(div, span, th, td, a, p, h1, h2, h3, h4, label, input) { color: #004E4C; }
.dashboard-component-chart-holder:not(:has(.idmi-header)):not(:has(.idmi-footer)) :is(text, tspan) { fill: #004E4C; }
.dashboard-component-chart-holder:not(:has(.idmi-header)):not(:has(.idmi-footer)) .header-line { color: #004E4C !important; }
.dashboard-component-chart-holder:has(.idmi-footer) { background: #004E4C !important; }
/* Tela de login: fundo no verde escuro do cabeçalho 4 tons abaixo na paleta (20%: #CCDCDB); só onde há campo de senha */
.ant-layout:has(.ant-card input[type=password]) { background-color: #CCDCDB !important; }
/* Login: o link da logo leva a /superset/welcome/ sem sessão e quebra o app (TypeError); desativa o clique só nesta tela */
body:has(.ant-card input[type=password]) header.top a.navbar-brand { pointer-events: none; cursor: default; }
