@font-face {
	font-family: Inter;
	src: url("/assets/fonts/inter-400.ttf") format("truetype");
	font-weight: 400;
	font-display: swap;
}
@font-face {
	font-family: Inter;
	src: url("/assets/fonts/inter-500.ttf") format("truetype");
	font-weight: 500;
	font-display: swap;
}
@font-face {
	font-family: Inter;
	src: url("/assets/fonts/inter-600.ttf") format("truetype");
	font-weight: 600;
	font-display: swap;
}
@font-face {
	font-family: Inter;
	src: url("/assets/fonts/inter-700.ttf") format("truetype");
	font-weight: 700;
	font-display: swap;
}

/* Shared with the landing page: paper, olive, Inter and a little lime. */
:root,
:root[data-theme="light"] {
	--surface: #ffffff;
	--plane: #f4f4f1;
	--rail: #252b21;
	--ink: #252823;
	--ink-2: #565e50;
	--ink-muted: #666e5e;
	--grid: #e6e8e0;
	--axis: #c3c9b9;
	--ring: #e4e7dd;
	--hover: #f1f5e9;
	--s1: #567600;
	--s2: #8b70b4;
	--s3: #167e83;
	--o1: #d9e7ae;
	--o2: #a4bd63;
	--o3: #779c24;
	--o4: #46620c;
	--good: #397522;
	--warning: #9c6a06;
	--serious: #b45b22;
	--critical: #bc4141;
	--lime: #bfff00;
	--shadow: 0 4px 24px #26301904;
}
body {
	font-family: Inter, Arial, sans-serif;
	font-size: 14px;
	-webkit-font-smoothing: antialiased;
}
button,
input,
select,
textarea {
	font-family: inherit;
}
button,
a,
input,
select,
textarea,
summary {
	-webkit-tap-highlight-color: transparent;
}
button {
	min-height: 38px;
	border-radius: 10px;
	padding: 9px 15px;
	font-size: 12px;
	font-weight: 500;
	transition:
		background 0.16s,
		border-color 0.16s,
		box-shadow 0.16s;
}
button:hover {
	border-color: var(--s1);
	background: var(--hover);
}
button:disabled {
	opacity: 0.55;
	cursor: wait;
}
button:focus-visible,
a:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible,
summary:focus-visible {
	outline: 2px solid var(--s1);
	outline-offset: 4px;
}
.skip-link {
	position: fixed;
	top: -100px;
	left: 20px;
	z-index: 100;
	padding: 12px 20px;
	background: var(--lime);
	color: #252b21;
	border-radius: 12px;
}
.skip-link:focus {
	top: 12px;
}
.app {
	grid-template-columns: 246px minmax(0, 1fr);
}
.rail {
	position: sticky;
	top: 0;
	height: 100dvh;
	padding: 32px 18px 22px;
	gap: 0;
	border: 0;
	color: #f4f6ef;
	overflow-y: auto;
}
.brand {
	display: flex;
	align-items: center;
	gap: 11px;
	padding: 0 12px;
	font-size: 24px;
	letter-spacing: -0.9px;
	font-weight: 700;
	line-height: 1.2;
}
.brand img {
	border-radius: 11px;
	flex-shrink: 0;
}
.nav-label {
	margin: 48px 14px 14px;
	font-size: 9px;
	font-weight: 600;
	letter-spacing: 1.8px;
	color: #9da792;
}
nav.rail-nav {
	gap: 7px;
	scrollbar-width: none;
}
nav.rail-nav::-webkit-scrollbar {
	display: none;
}
nav.rail-nav button {
	color: #b9c1af;
	padding: 13px 14px;
	gap: 12px;
	border-radius: 12px;
	font-size: 12px;
	min-height: 46px;
	line-height: 1.5;
}
nav.rail-nav button:hover {
	background: #ffffff0b;
	color: #fff;
}
nav.rail-nav button[aria-current="page"] {
	background: var(--lime);
	color: #293619;
	box-shadow: 0 4px 16px #00000008;
	font-weight: 600;
}
.nav-icon {
	width: 18px;
	height: 18px;
	stroke: currentColor;
	stroke-width: 1.6;
	stroke-linecap: round;
	stroke-linejoin: round;
	fill: none;
	flex-shrink: 0;
}
.nav-text {
	flex: 1;
}
nav.rail-nav .badge {
	font-size: 10px;
	color: inherit;
	opacity: 0.85;
}
.rail-foot {
	margin-top: auto;
	padding: 17px 12px 0;
	border-top: 1px solid #ffffff16;
	font-size: 9px;
	gap: 7px;
	color: #a5af99;
	line-height: 1.6;
}
.rail-foot:empty {
	display: none;
}
.topbar {
	padding: 20px 36px;
	gap: 16px;
	min-height: 84px;
	background: var(--plane);
	border-color: var(--grid);
}
.topbar-label {
	color: var(--ink-muted);
	font-size: 11px;
	white-space: nowrap;
	margin-right: auto;
}
.topbar-label span {
	color: var(--axis);
	margin: 0 12px;
}
.topbar-label b {
	color: var(--ink);
	font-weight: 500;
}
form.busca {
	flex: 0 1 360px;
	gap: 6px;
}
form.busca input {
	font-size: 11px;
	min-height: 38px;
	border: 1px solid var(--ring);
	border-radius: 10px;
	background: var(--surface);
	padding: 9px 13px;
}
form.busca button {
	font-size: 10px;
	background: var(--surface);
}
#conta {
	max-width: 190px;
	text-overflow: ellipsis;
	overflow: hidden;
	white-space: nowrap;
	font-size: 10px;
}
#btn-sair {
	font-size: 10px;
	text-decoration: none;
	min-height: 36px;
	padding: 8px;
}
.conteudo {
	padding: 38px 36px 60px;
	max-width: 1480px;
	width: 100%;
	margin: 0 auto;
	outline: none;
}
.page-heading {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 24px;
	margin-bottom: 30px;
}
.page-heading h1 {
	font-size: clamp(28px, 3vw, 38px);
	font-weight: 600;
	line-height: 1.15;
	letter-spacing: -1.4px;
	margin: 0;
}
.heading-dot {
	color: var(--s1);
}
.card {
	border-radius: 20px;
	padding: 26px;
	margin-bottom: 20px;
	box-shadow: var(--shadow);
	min-width: 0;
}
.card > h2 {
	font-weight: 600;
	font-size: 16px;
	letter-spacing: -0.35px;
	margin-bottom: 9px;
	line-height: 1.4;
}
.card h3 {
	font-size: 10px;
	letter-spacing: 1px;
	margin-top: 24px;
}
.cap {
	font-size: 11px;
	line-height: 1.85;
	color: var(--ink-muted);
	margin-bottom: 20px;
}
.kpis {
	gap: 14px;
	margin-bottom: 20px;
	grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
}
.tile {
	border-radius: 16px;
	padding: 22px;
	min-width: 0;
	box-shadow: var(--shadow);
}
.tile .lbl {
	font-size: 10px;
	line-height: 1.6;
	margin-bottom: 13px;
}
.tile .val {
	font-size: 29px;
	font-weight: 600;
	letter-spacing: -1px;
	line-height: 1.25;
	font-variant-numeric: tabular-nums;
}
.tile .sub {
	display: block;
	font-size: 10px;
	line-height: 1.7;
	margin-top: 10px;
	color: var(--ink-muted);
}
.tile svg.spark {
	margin-top: 12px;
	height: 26px;
}
.card .tile {
	padding: 18px;
	box-shadow: none;
	background: var(--plane);
	border-color: transparent;
}
.card .kpis:last-child {
	margin-bottom: 0;
}
#p-resumo {
	display: grid;
	grid-template-columns: minmax(0, 1fr) minmax(0, 1.2fr);
	gap: 20px;
}
#p-resumo > * {
	grid-column: 1 / -1;
	margin-bottom: 0;
}
#p-resumo > .hero {
	grid-column: 1;
}
#p-resumo > .activity-card {
	grid-column: 2;
}
#p-resumo:not(:has(.activity-card)) > .hero {
	grid-column: 1 / -1;
}
.hero {
	position: relative;
	isolation: isolate;
	overflow: hidden;
	background: #252b21;
	color: #f3f6eb;
	min-height: 265px;
	display: flex;
	flex-direction: column;
	justify-content: center;
	padding: 30px;
	border-color: #252b21;
}
.hero::after {
	content: "";
	position: absolute;
	z-index: -1;
	width: 270px;
	height: 270px;
	right: -120px;
	top: -90px;
	border: 1px solid #bfff0020;
	border-radius: 50%;
	box-shadow:
		0 0 0 35px #bfff0006,
		0 0 0 70px #bfff0005,
		0 0 0 105px #bfff0004;
}
.hero .lbl {
	color: #d4deca;
	font-size: 12px;
}
.hero .num {
	color: var(--lime);
	font-size: clamp(48px, 5vw, 66px);
	font-weight: 500;
	letter-spacing: -3px;
	margin: 12px 0 16px;
}
.hero .ctx {
	color: #b5c1a8;
	font-size: 10px;
	max-width: 36ch;
	line-height: 1.8;
}
.activity-card .kpis {
	grid-template-columns: 1fr 1fr;
	gap: 12px;
	margin: 0;
}
.activity-card .tile .val {
	font-size: 27px;
}
.activity-card .tile .lbl {
	min-height: 32px;
	margin-bottom: 8px;
}
.activity-card .cap {
	margin-bottom: 12px;
	font-size: 10px;
}
.activity-card .filters {
	margin-bottom: 14px;
}
.activity-card .tile {
	padding: 15px;
}
.filters {
	gap: 5px;
}
.filters button {
	border-color: transparent;
	background: var(--plane);
	color: var(--ink-muted);
	font-size: 10px;
	padding: 7px 13px;
	min-height: 32px;
	border-radius: 8px;
}
.filters button[aria-pressed="true"] {
	border-color: var(--ring);
	background: var(--surface);
	color: var(--s1);
	box-shadow: 0 2px 5px #25310b08;
}
.legend {
	font-size: 10px;
	gap: 18px;
	margin-top: 16px;
}
.legend i {
	width: 8px;
	height: 8px;
	border-radius: 3px;
}
.chart-foot {
	font-size: 10px;
	margin-top: 13px;
}
svg text {
	font-family: Inter, Arial, sans-serif;
}
button.quiet {
	font-size: 10px;
	color: var(--ink-muted);
}
button.link,
.trilha button {
	color: var(--s1);
	font-size: inherit;
}
.note {
	font-size: 11px;
	line-height: 1.85;
	border-radius: 14px;
	padding: 16px 20px;
}
.note .ico {
	font-size: 12px;
}
.trilha {
	font-size: 11px;
	padding: 4px 0 12px;
	gap: 6px;
}
table {
	font-size: 11px;
}
th,
td {
	padding: 13px 12px;
}
th {
	font-size: 10px;
	background: var(--plane);
}
caption {
	font-size: 10px;
	padding-bottom: 12px;
}
tbody tr:hover {
	background: var(--hover);
}
.lista {
	border-radius: 14px;
}
.linha > .linha-topo > .cab {
	padding: 16px;
	font-size: 12px;
}
.linha .meta {
	font-size: 10px;
}
.linha .corpo {
	padding: 16px 20px 22px;
}
.fatos {
	gap: 16px 24px;
	font-size: 12px;
}
.fatos dt {
	font-size: 10px;
	margin-bottom: 4px;
}
#vista-entidade .tile .val {
	font-size: 22px;
	letter-spacing: -0.6px;
	overflow-wrap: anywhere;
}
#p-inteligencia > h1,
#p-inteligencia > p.cap:first-child,
#p-inteligencia > h1 + p.cap {
	display: none;
}
.pill {
	font-size: 9px;
	padding: 3px 8px;
}
.copiar-id {
	font-size: 9px;
	padding: 6px 9px;
	min-height: 30px;
}
.pairs {
	font-size: 11px;
	line-height: 1.9;
}
#entrar {
	max-width: 560px;
	margin: 70px auto;
	padding: 48px;
}
.login-symbol {
	display: grid;
	place-items: center;
	width: 56px;
	height: 56px;
	font-size: 34px;
	background: #edf5dc;
	color: #628500;
	border-radius: 17px;
	margin-bottom: 30px;
}
#entrar h2 {
	font-size: 36px;
	letter-spacing: -1.5px;
	line-height: 1.2;
	margin-bottom: 20px;
}
#btn-entrar {
	background: var(--lime);
	color: #252b21;
	border-color: var(--lime);
	font-size: 12px;
	font-weight: 600;
	border-radius: 30px;
	padding: 14px 24px;
}
.is-signed-out .rail-nav {
	opacity: 0.65;
}
.lpia {
	font-size: 14px;
	--lpia-border: var(--ring);
	--lpia-soft: var(--plane);
}
.lpia h1 {
	font-size: 28px;
}
.lpia h2 {
	font-size: 18px;
	font-weight: 600;
}
.lpia h3 {
	font-size: 16px;
}
.lpia-card,
.lpia .lpia-filters,
.lpia-step-inspector {
	border-radius: 18px;
	box-shadow: var(--shadow);
}
.lpia .lpia-tabs button[aria-current],
.lpia .lpia-inspector-tabs button[aria-pressed="true"] {
	background: #252b21;
	color: #bfff00;
	border-color: #252b21;
}
.lpia button {
	border-radius: 10px;
	font-size: 12px;
}
.lpia label,
.lpia input,
.lpia select,
.lpia textarea,
.lpia .cap,
.lpia small,
.lpia .quiet {
	font-size: 12px;
}
.local-preview-banner {
	background: #e8efdc;
	color: #43552e;
	padding: 9px 20px;
	text-align: center;
	font-size: 10px;
	border-bottom: 1px solid #d7e1c6;
}

@media (min-width: 1600px) {
	.conteudo {
		padding-top: 48px;
	}
}
@media (max-width: 1200px) {
	.app {
		grid-template-columns: 218px minmax(0, 1fr);
	}
	.rail {
		padding-inline: 12px;
	}
	.topbar {
		padding-inline: 24px;
	}
	.conteudo {
		padding-inline: 24px;
	}
	.topbar-label {
		display: none;
	}
	form.busca {
		flex-grow: 1;
		margin-right: auto;
	}
	#p-resumo {
		grid-template-columns: 1fr;
	}
	#p-resumo > .hero,
	#p-resumo > .activity-card {
		grid-column: 1 / -1;
	}
	.hero {
		min-height: 245px;
	}
}
@media (max-width: 52rem) {
	.app {
		display: block;
	}
	.rail {
		position: relative;
		height: auto;
		padding: 20px 18px 12px;
		display: flex;
		flex-direction: column;
		align-items: stretch;
		overflow: visible;
		gap: 18px;
	}
	.brand {
		padding: 0 4px;
		font-size: 23px;
	}
	.brand img {
		width: 34px;
		height: 34px;
		border-radius: 9px;
	}
	.nav-label,
	.rail-foot,
	nav.rail-nav {
		flex-direction: row;
		overflow-x: auto;
		gap: 6px;
		padding: 0 0 5px;
	}
	nav.rail-nav button {
		flex: 0 0 auto;
		padding: 10px 12px;
		min-height: 40px;
		font-size: 11px;
		border-radius: 10px;
		gap: 8px;
	}
	nav.rail-nav .badge {
		display: none;
	}
	.nav-icon {
		width: 15px;
		height: 15px;
	}
	.topbar {
		position: relative;
		padding: 14px 20px;
		gap: 10px;
		min-height: 68px;
	}
	form.busca {
		flex-basis: 100%;
		order: 2;
	}
	#conta {
		max-width: none;
		margin-left: auto !important;
	}
	.conteudo {
		padding: 28px 20px 40px;
	}
	.page-heading {
		margin-bottom: 25px;
	}
	.page-heading h1 {
		font-size: 30px;
	}
	.kpis {
		grid-template-columns: repeat(2, minmax(0, 1fr));
		gap: 12px;
	}
	.tile {
		padding: 18px;
	}
	.tile .val {
		font-size: 27px;
	}
	.card {
		padding: 22px;
		border-radius: 17px;
	}
	.hero {
		padding: 26px;
	}
	.hero .num {
		font-size: 60px;
	}
	#entrar {
		margin: 28px auto;
		padding: 30px;
	}
	#entrar h2 {
		font-size: 32px;
	}
	.linha > .linha-topo > .cab {
		padding: 14px 10px;
		gap: 7px;
	}
	.linha .meta {
		font-size: 9px;
	}
}
@media (max-width: 380px) {
	.conteudo {
		padding-inline: 14px;
	}
	.card {
		padding: 18px;
	}
	.activity-card .kpis {
		grid-template-columns: 1fr;
	}
	.activity-card .tile .lbl {
		min-height: 0;
	}
	.linha .meta {
		max-width: 85px;
		white-space: normal;
	}
}
@media (prefers-color-scheme: dark) {
	:root:where(:not([data-theme="light"])) {
		color-scheme: dark;
		--surface: #22271f;
		--plane: #191d17;
		--rail: #12160f;
		--ink: #f0f3ea;
		--ink-2: #c0c9b4;
		--ink-muted: #a2ad96;
		--grid: #363e2f;
		--axis: #5a6650;
		--ring: #363f2f;
		--hover: #2e3825;
		--s1: #b4d76a;
		--s2: #baa0e0;
		--s3: #66c4c9;
		--o1: #dfedbc;
		--o2: #b7ce85;
		--o3: #8fac50;
		--o4: #597726;
		--good: #94c878;
		--warning: #e2b961;
		--serious: #edaa72;
		--critical: #ee9696;
	}
	.local-preview-banner {
		background: #303d24;
		color: #d3e5b9;
		border-color: #465338;
	}
}
@media (prefers-reduced-motion: reduce) {
	*,
	*::before,
	*::after {
		transition: none !important;
		animation: none !important;
	}
}
