:root {
	--green-deep: #08452d;
	--green: #0b5d3a;
	--green-mid: #14804a;
	--green-bright: #2ea44f;
	--gold: #c9a227;
	--bg-0: #eef5f0;
	--bg-1: #ffffff;
	--ink: #1a2e24;
	--muted: #5a6e64;
	--line: rgba(11, 93, 58, 0.16);
	--panel: #ffffff;
	--online: #14804a;
	--online-dim: rgba(20, 128, 74, 0.12);
	--offline: #c62828;
	--offline-dim: rgba(198, 40, 40, 0.1);
	--unknown: #c9a227;
	--unknown-dim: rgba(201, 162, 39, 0.16);
	--accent: #0b5d3a;
	--rx: #0b5d3a;
	--tx: #1a7aad;
	--total: #c17a1a;
	--phone-width: 390px;
	--shadow: 0 12px 32px rgba(8, 69, 45, 0.12);
}

* {
	box-sizing: border-box;
}

html,
body {
	margin: 0;
	min-height: 100%;
}

body {
	color: var(--ink);
	font-family: "Nunito Sans", sans-serif;
	background: var(--bg-0);
}

body.muni-body {
	display: flex;
	flex-direction: column;
	min-height: 100vh;
}

.muni-nav {
	position: relative;
	z-index: 40;
	background: linear-gradient(180deg, #0d6840 0%, var(--green) 100%);
	color: #fff;
	box-shadow: 0 4px 16px rgba(8, 69, 45, 0.28);
}

.muni-nav-inner {
	width: min(100%, var(--phone-width));
	margin: 0 auto;
	display: flex;
	align-items: center;
	gap: 0.55rem;
	padding: 0.55rem 0.75rem;
}

.muni-nav-actions {
	display: flex;
	align-items: center;
	justify-content: flex-end;
	gap: 0.3rem;
	margin-left: auto;
	position: relative;
	flex-shrink: 0;
}

.muni-nav-actions .avatar-btn {
	width: 2.2rem;
	height: 2.2rem;
	background: #fff;
	color: var(--green);
	border: none;
	font-size: 0.88rem;
}

.muni-nav-actions .icon-btn {
	width: 2.2rem;
	height: 2.2rem;
	background: rgba(255, 255, 255, 0.14);
	border: 1px solid rgba(255, 255, 255, 0.38);
	color: #fff;
}

.muni-nav-actions .icon-btn:hover,
.muni-nav-actions .icon-btn:focus-visible {
	background: rgba(255, 255, 255, 0.26);
	border-color: rgba(255, 255, 255, 0.62);
	color: #fff;
}

.muni-nav-actions .icon-btn.logout:hover,
.muni-nav-actions .icon-btn.logout:focus-visible {
	background: rgba(198, 40, 40, 0.42);
	border-color: rgba(255, 255, 255, 0.55);
	color: #fff;
}

.muni-nav img {
	width: 2.85rem;
	height: auto;
	flex-shrink: 0;
	display: block;
	filter: drop-shadow(0 2px 6px rgba(0, 0, 0, 0.25));
}

.muni-nav-text {
	flex: 1 1 auto;
	min-width: 0;
	line-height: 1.15;
}

.muni-nav-text .brand {
	margin: 0;
	font-family: "Poppins", sans-serif;
	font-size: 1.15rem;
	font-weight: 700;
	letter-spacing: 0.01em;
	color: #f4e27a;
}

.muni-nav-text .org {
	margin: 0.12rem 0 0;
	font-size: 0.68rem;
	font-weight: 600;
	letter-spacing: 0.04em;
	text-transform: uppercase;
	opacity: 0.92;
}

.muni-ribbon {
	background: var(--green-mid);
	color: #fff;
	text-align: center;
	font-size: 0.78rem;
	font-weight: 700;
	letter-spacing: 0.02em;
	padding: 0.4rem 0.75rem;
	font-style: italic;
	display: flex;
	justify-content: center;
	align-items: center;
}

.muni-ribbon-site {
	width: min(100%, calc(var(--phone-width) - 1.5rem));
}

.muni-ribbon-site select,
.muni-ribbon-site .site-static {
	width: 100%;
	height: 2.15rem;
	padding: 0 0.65rem;
	border: 1px solid rgba(255, 255, 255, 0.28);
	background: rgba(255, 255, 255, 0.96);
	color: var(--ink);
	border-radius: 8px;
	font: 0.78rem/1.2 "Nunito Sans", sans-serif;
	font-style: normal;
	font-weight: 600;
}

.muni-ribbon-site .site-static {
	display: flex;
	align-items: center;
	justify-content: center;
	overflow: hidden;
	white-space: nowrap;
	text-overflow: ellipsis;
}

.muni-main {
	flex: 1;
}

.muni-foot {
	margin-top: auto;
	background: #1b242c;
	color: #c5d0ca;
	text-align: center;
	padding: 1.15rem 1rem 1.35rem;
	font-size: 0.78rem;
	line-height: 1.45;
}

.muni-foot .lema {
	display: inline-block;
	margin: 0 0 0.45rem;
	padding: 0.28rem 0.7rem;
	background: #2f6fdb;
	color: #fff;
	font-size: 0.72rem;
	font-weight: 700;
	font-style: normal;
	border-radius: 4px 4px 4px 0;
}

.muni-foot p {
	margin: 0;
}

.muni-foot .org {
	margin-top: 0.35rem;
	color: #8fa398;
}
