/* =========================================================
   ZENITE METAL — Tema da dashboard (escuro / claro)
   Carregar DEPOIS de css/app.css
   Tudo está limitado a body.zt-theme, por isso não afeta
   as outras páginas até lhes adicionares essa classe.
   ========================================================= */

/* ---------- Variáveis ---------- */
html[data-theme="dark"] {
	--zt-glow-rgb: 45, 168, 255;      /* cor do brilho em r,g,b (usada em rgba(var(--zt-glow-rgb), x)) */
	--zt-bg: #050d1b;
	--zt-glow-1: rgba(34, 120, 255, .16);
	--zt-glow-2: rgba(34, 211, 238, .08);
	--zt-card: linear-gradient(160deg, rgba(17, 40, 78, .82) 0%, rgba(8, 20, 43, .92) 100%);
	--zt-card-solid: #0b1a35;
	--zt-border: rgba(70, 150, 255, .22);
	--zt-border-soft: rgba(120, 160, 220, .12);
	--zt-text: #e8eef8;
	--zt-muted: #8fa3c2;
	--zt-accent: #2da8ff;
	--zt-accent-2: #22d3ee;
	--zt-grid: rgba(143, 170, 214, .12);
	--zt-shadow: 0 10px 30px rgba(0, 0, 0, .35), inset 0 1px 0 rgba(255, 255, 255, .04);
	--zt-hover: rgba(45, 168, 255, .10);
	--zt-input: rgba(255, 255, 255, .05);
	--zt-nav-bg: rgba(6, 15, 32, .60);
	--zt-tip-bg: #0b1a35;
	--zt-stat-end: rgba(8, 20, 43, .92);
	--zt-bg-rgb: 5, 13, 27;
	--zt-hero-tint: rgba(5, 13, 27, .45);
	--zt-side-bg: linear-gradient(180deg, #071327 0%, #050d1c 100%);
	--zt-side-text: #a9bbd6;
	--zt-side-icon: #7f95b5;
	--zt-side-head: #ffffff;
	--zt-side-hover: rgba(45, 168, 255, .12);
	--zt-side-border: rgba(70, 150, 255, .18);
	--zt-logo-filter: drop-shadow(0 0 14px rgba(45, 168, 255, .35));
	color-scheme: dark;
}

html[data-theme="light"] {
	--zt-glow-rgb: 22, 112, 216;
	--zt-bg: #f1f6fc;
	--zt-glow-1: rgba(34, 120, 255, .07);
	--zt-glow-2: rgba(34, 211, 238, .05);
	--zt-card: #ffffff;
	--zt-card-solid: #ffffff;
	--zt-border: rgba(31, 80, 150, .14);
	--zt-border-soft: rgba(31, 80, 150, .08);
	--zt-text: #0e1d38;
	--zt-muted: #5d7190;
	--zt-accent: #1670d8;
	--zt-accent-2: #0891b2;
	--zt-grid: rgba(14, 29, 56, .08);
	--zt-shadow: 0 6px 22px rgba(20, 50, 100, .08);
	--zt-hover: rgba(22, 112, 216, .07);
	--zt-input: #f3f6fb;
	--zt-nav-bg: rgba(255, 255, 255, .60);
	--zt-tip-bg: #ffffff;
	--zt-stat-end: #ffffff;
	--zt-bg-rgb: 241, 246, 252;
	--zt-hero-tint: rgba(255, 255, 255, 0);
	--zt-side-bg: #ffffff;
	--zt-side-text: #4b5f7e;
	--zt-side-icon: #5f7596;
	--zt-side-head: #0e1d38;
	--zt-side-hover: rgba(22, 112, 216, .08);
	--zt-side-border: rgba(31, 80, 150, .10);
	/* o logo é a versão branca: este filtro pinta-o de azul escuro no tema claro */
	--zt-logo-filter: brightness(0) saturate(100%) invert(24%) sepia(95%) saturate(2000%) hue-rotate(208deg) brightness(92%) contrast(95%);
	color-scheme: light;
}

/* ---------- Base ---------- */
body.zt-theme {
	font-family: 'Inter', -apple-system, 'Segoe UI', sans-serif;
	color: var(--zt-text);
	background: var(--zt-bg);
}

/* brilhos do fundo numa camada fixa própria (em vez de background-attachment: fixed,
   que obriga o browser — sobretudo o Firefox — a repintar a página toda ao fazer scroll) */
body.zt-theme::before {
	content: "";
	position: fixed;
	inset: 0;
	z-index: -1;
	pointer-events: none;
	background:
		radial-gradient(1200px 600px at 85% -10%, var(--zt-glow-1), transparent 60%),
		radial-gradient(900px 500px at 0% 100%, var(--zt-glow-2), transparent 60%);
	transform: translateZ(0);
}

.zt-theme .wrapper,
.zt-theme .main,
.zt-theme .content {
	background: transparent;
}

/* necessário para a barra superior fixa (sticky) funcionar */
.zt-theme .wrapper,
.zt-theme .main {
	overflow: visible !important;
}

.zt-theme .main {
	position: relative;
}

.zt-theme .content {
	position: relative;
	z-index: 1;
}

.zt-theme a:not(.btn):not(.sidebar-link):not(.dropdown-item) {
	color: var(--zt-accent);
}

.zt-theme .text-dark {
	color: var(--zt-text) !important;
}

.zt-theme .text-muted {
	color: var(--zt-muted) !important;
}

.zt-theme ::-webkit-scrollbar {
	width: 8px;
	height: 8px;
}

.zt-theme ::-webkit-scrollbar-thumb {
	background: var(--zt-border);
	border-radius: 8px;
}

/* ---------- Sidebar (escura no tema escuro, clara no tema claro) ---------- */
.zt-theme .sidebar,
.zt-theme .sidebar-content {
	background: var(--zt-side-bg);
}

.zt-theme .sidebar {
	border-right: 1px solid var(--zt-side-border);
}

.zt-theme .sidebar li {
	list-style: none;
}

.zt-theme .sidebar-nav {
	padding-left: 0;
	margin-bottom: 0;
}

.zt-theme .sidebar-brand {
	display: block;
	text-align: center;
	padding: 1.4rem 1rem 1rem;
}

.zt-theme .sidebar-brand img {
	max-width: 150px;
	width: 100%;
	height: auto;
	filter: var(--zt-logo-filter);
}

.zt-theme .sidebar-header {
	color: var(--zt-side-head);
	font-size: .82rem;
	font-weight: 600;
	text-transform: none;
	letter-spacing: .01em;
	padding: 1.1rem 1.5rem .4rem;
	background: transparent;
}

.zt-theme .sidebar-link,
.zt-theme a.sidebar-link {
	color: var(--zt-side-text);
	background: transparent;
	border-radius: 10px;
	margin: 2px 12px;
	padding: .55rem .9rem;
	border-left: 0;
	transition: background .2s, color .2s, box-shadow .2s;
}

.zt-theme .sidebar-link svg,
.zt-theme .sidebar-link i {
	color: var(--zt-side-icon);
	stroke: currentColor;
}

.zt-theme .sidebar-link:hover {
	color: var(--zt-side-head);
	background: var(--zt-side-hover);
}

.zt-theme .sidebar-link:hover svg,
.zt-theme .sidebar-link:hover i {
	color: var(--zt-side-head);
}

.zt-theme .sidebar-item.active > .sidebar-link,
.zt-theme .sidebar-item.active .sidebar-link {
	color: #ffffff;
	background: linear-gradient(135deg, #1b7ff0 0%, #1560c8 100%);
	box-shadow: 0 6px 18px rgba(27, 127, 240, .35);
}

.zt-theme .sidebar-item.active .sidebar-link svg,
.zt-theme .sidebar-item.active .sidebar-link i {
	color: #ffffff;
}

/* ---------- Navbar ---------- */
/* Tudo centrado na vertical na barra de cima (sem isto, nas páginas com pesquisa a barra
   fica 6-7 px desalinhada: a pesquisa, o sino, o chat e a bandeira sobem) */
.zt-theme .navbar-bg { align-items: center; }
.zt-theme .navbar-bg .navbar-collapse,
.zt-theme .navbar-bg .navbar-nav { align-items: center; }
.zt-theme .navbar-bg .navbar-nav > .nav-item { display: flex; align-items: center; }

.zt-theme .navbar-bg {
	position: sticky;
	top: 0;
	z-index: 1030;
	background: var(--zt-nav-bg);
	backdrop-filter: blur(14px);
	-webkit-backdrop-filter: blur(14px);
	border-bottom: 1px solid var(--zt-border-soft);
	box-shadow: none;
}

.zt-theme .hamburger,
.zt-theme .hamburger:before,
.zt-theme .hamburger:after {
	background: var(--zt-muted);
}

.zt-theme .navbar .nav-icon,
.zt-theme .navbar .nav-icon svg,
.zt-theme .navbar .nav-link {
	color: var(--zt-muted);
}

.zt-theme .navbar .nav-icon:hover,
.zt-theme .navbar .nav-link:hover {
	color: var(--zt-text);
}

.zt-theme .navbar .avatar {
	width: 40px;
	height: 40px;
	object-fit: cover;
	border-radius: 50% !important;
	border: 2px solid var(--zt-accent);
	box-shadow: 0 0 12px rgba(45, 168, 255, .35);
}

.zt-theme .dropdown-menu {
	background: var(--zt-card-solid);
	border: 1px solid var(--zt-border);
	box-shadow: var(--zt-shadow);
	color: var(--zt-text);
}

.zt-theme .dropdown-item {
	color: var(--zt-text);
}

.zt-theme .dropdown-item:hover,
.zt-theme .dropdown-item:focus {
	background: var(--zt-hover);
	color: var(--zt-text);
}

.zt-theme .dropdown-divider {
	border-color: var(--zt-border-soft);
}

.zt-theme .dropdown-menu-header,
.zt-theme .dropdown-menu-footer {
	background: transparent;
	color: var(--zt-text);
	border-color: var(--zt-border-soft);
}

.zt-theme .list-group-item {
	background: transparent;
	color: var(--zt-text);
	border-color: var(--zt-border-soft);
}

/* ---------- Botão de trocar tema ---------- */
.zt-toggle {
	display: inline-flex;
	align-items: center;
	gap: 2px;
	padding: 3px;
	border-radius: 999px;
	border: 1px solid var(--zt-border);
	background: var(--zt-input);
	cursor: pointer;
	margin: 0 .75rem;
}

.zt-toggle .zt-opt {
	width: 28px;
	height: 28px;
	border-radius: 50%;
	display: grid;
	place-items: center;
	color: var(--zt-muted);
	transition: background .25s, color .25s, box-shadow .25s;
}

.zt-toggle .zt-opt svg {
	width: 15px;
	height: 15px;
}

html[data-theme="dark"] .zt-toggle .zt-moon,
html[data-theme="light"] .zt-toggle .zt-sun {
	background: var(--zt-accent);
	color: #ffffff;
	box-shadow: 0 0 12px rgba(45, 168, 255, .55);
}

.zt-toggle:focus-visible {
	outline: 2px solid var(--zt-accent);
	outline-offset: 2px;
}

/* ---------- Fundo com a foto do armazém (atrás da barra superior) ---------- */
.zt-bg-hero {
	position: absolute;
	top: 0;
	left: 0;
	right: 0;
	height: 460px;
	z-index: 0;
	pointer-events: none;
	background-position: right top;
	background-size: cover;
	background-repeat: no-repeat;
}

.zt-bg-hero::before {
	content: "";
	position: absolute;
	inset: 0;
	background: var(--zt-hero-tint);
}

.zt-bg-hero::after {
	content: "";
	position: absolute;
	inset: 0;
	background:
		linear-gradient(90deg, rgba(var(--zt-bg-rgb), 1) 0%, rgba(var(--zt-bg-rgb), .88) 30%, rgba(var(--zt-bg-rgb), 0) 78%),
		linear-gradient(180deg, rgba(var(--zt-bg-rgb), 0) 55%, rgba(var(--zt-bg-rgb), 1) 100%);
}

/* ---------- Boas-vindas ---------- */
.zt-hero {
	padding: 1.2rem 0 1.8rem;
	/* grelha: com .zt-hero-ico o ícone fica à esquerda do título + subtítulo */
	display: grid;
	grid-template-columns: auto minmax(0, 1fr);
	column-gap: 1.1rem;
	align-items: center;
}
.zt-hero > * { grid-column: 1 / -1; }
.zt-hero > .zt-hero-ico { grid-column: 1; grid-row: 1 / span 2; width: 60px; height: 60px; border-radius: 16px; }
.zt-hero > .zt-hero-ico ~ * { grid-column: 2; }
.zt-hero > .zt-hero-ico svg { width: 30px; height: 30px; }
.zt-hero > .zt-hero-ico i[data-feather] { width: 30px; height: 30px; }
@media (max-width: 575.98px) {
	.zt-hero > .zt-hero-ico { width: 46px; height: 46px; border-radius: 12px; }
	.zt-hero > .zt-hero-ico svg, .zt-hero > .zt-hero-ico i[data-feather] { width: 22px; height: 22px; }
}

.zt-hero h1 {
	color: var(--zt-text);
	font-size: 2.1rem;
	font-weight: 700;
	margin: 0 0 .35rem;
}

.zt-hero h1 span {
	color: var(--zt-accent-2);
}

html[data-theme="light"] .zt-hero h1 span {
	color: var(--zt-accent);
}

.zt-hero p {
	color: var(--zt-muted);
	font-size: 1.05rem;
	margin: 0;
}

.zt-hero-bar {
	width: 96px;
	height: 3px;
	border-radius: 3px;
	margin-top: 1.1rem;
	background: linear-gradient(90deg, #2da8ff, #22d3ee);
	box-shadow: 0 0 12px rgba(45, 168, 255, .6);
}

/* ---------- Cards ---------- */
.zt-theme .card {
	background: var(--zt-card);
	border: 1px solid var(--zt-border);
	border-radius: 16px;
	box-shadow: var(--zt-shadow);
	color: var(--zt-text);
}

.zt-theme .card-header {
	background: transparent;
	border-bottom: 0;
	padding-bottom: 0;
}

.zt-theme .card-title {
	color: var(--zt-text);
	font-weight: 600;
}

.zt-theme .card-footer {
	background: transparent;
	border-color: var(--zt-border-soft);
}

/* ---------- Cards de estatística ---------- */
.zt-theme .stat-card {
	--c: 45, 168, 255;
	background: linear-gradient(135deg, rgba(var(--c), .28) 0%, var(--zt-stat-end) 72%);
	border-color: rgba(var(--c), .45);
}

.zt-theme .stat-teal {
	--c: 34, 211, 238;
}

.zt-theme .stat-purple {
	--c: 139, 92, 246;
}

.zt-theme .stat-orange {
	--c: 245, 158, 11;
}

html[data-theme="light"] .zt-theme .stat-card {
	background: linear-gradient(135deg, rgba(var(--c), .16) 0%, #ffffff 75%);
}

.zt-theme .stat-card .card-body {
	display: flex;
	align-items: center;
	gap: 1.1rem;
}

.zt-theme .stat-icon {
	flex: 0 0 auto;
	width: 64px;
	height: 64px;
	border-radius: 18px;
	display: grid;
	place-items: center;
	background: rgba(var(--c), .18);
	color: rgb(var(--c));
	box-shadow: 0 0 22px rgba(var(--c), .28);
}

.zt-theme .stat-icon svg {
	width: 30px;
	height: 30px;
}

.zt-theme .stat-info .card-title {
	color: var(--zt-muted);
	font-size: .9rem;
	font-weight: 500;
	margin: 0;
}

.zt-theme .stat-info h1 {
	color: var(--zt-text);
	font-size: 2rem;
	font-weight: 700;
	margin: .15rem 0 .35rem;
}

/* ---------- Gráficos ---------- */
.zt-theme .chart-sm,
.zt-theme .chart-lg {
	height: 320px;
	min-height: 320px;
}

/* ---------- Tabelas ---------- */
.zt-theme .table {
	--bs-table-bg: transparent;
	--bs-table-striped-bg: transparent;
	--bs-table-hover-bg: var(--zt-hover);
	--bs-table-color: var(--zt-text);
	color: var(--zt-text);
	border-color: var(--zt-border-soft);
}

.zt-theme .table > :not(caption) > * > * {
	background-color: transparent;
	color: var(--zt-text);
	border-bottom-color: var(--zt-border-soft);
	box-shadow: none;
}

.zt-theme .table thead th {
	color: var(--zt-muted);
	font-weight: 600;
	font-size: .78rem;
	text-transform: uppercase;
	letter-spacing: .04em;
	border-bottom: 1px solid var(--zt-border);
}

.zt-theme .table-hover > tbody > tr:hover > * {
	background-color: var(--zt-hover);
	color: var(--zt-text);
}

.zt-theme .btn-light {
	background: var(--zt-input);
	border-color: var(--zt-border-soft);
	color: var(--zt-muted);
}

.zt-theme .btn-light:hover {
	background: var(--zt-hover);
	color: var(--zt-text);
}

/* ---------- Mapa (Leaflet) ---------- */
.zt-theme #map {
	border: 1px solid var(--zt-border);
	border-radius: 12px !important;
	overflow: hidden;
	background: var(--zt-card-solid);
}

.zt-theme .leaflet-popup-content-wrapper,
.zt-theme .leaflet-popup-tip {
	background: var(--zt-card-solid);
	color: var(--zt-text);
	border: 1px solid var(--zt-border);
}

.zt-theme .leaflet-bar a,
.zt-theme .leaflet-control-layers {
	background: var(--zt-card-solid);
	color: var(--zt-text);
	border-color: var(--zt-border);
}

.zt-theme .leaflet-control-attribution {
	background: var(--zt-nav-bg) !important;
	color: var(--zt-muted) !important;
}

.zt-theme .leaflet-control-attribution a {
	color: var(--zt-accent) !important;
}

/* ---------- Calendário (flatpickr) ---------- */
.zt-theme .flatpickr-calendar {
	background: transparent;
	box-shadow: none;
	color: var(--zt-text);
}

.zt-theme .flatpickr-months .flatpickr-month,
.zt-theme .flatpickr-current-month .flatpickr-monthDropdown-months,
.zt-theme .flatpickr-current-month input.cur-year,
.zt-theme .flatpickr-months .flatpickr-prev-month,
.zt-theme .flatpickr-months .flatpickr-next-month {
	color: var(--zt-text);
	fill: var(--zt-text);
	background: transparent;
}

.zt-theme span.flatpickr-weekday {
	color: var(--zt-muted);
	background: transparent;
}

.zt-theme .flatpickr-day {
	color: var(--zt-text);
}

.zt-theme .flatpickr-day.prevMonthDay,
.zt-theme .flatpickr-day.nextMonthDay,
.zt-theme .flatpickr-day.flatpickr-disabled {
	color: var(--zt-muted);
	opacity: .55;
}

.zt-theme .flatpickr-day:hover {
	background: var(--zt-hover);
	border-color: transparent;
}

.zt-theme .flatpickr-day.today {
	border-color: var(--zt-accent);
}

/* dia selecionado / hoje: o próprio dia é o círculo (sem pseudo-elementos,
   que deixavam um "crescente" branco por baixo) */
.zt-theme .flatpickr-calendar .flatpickr-day::before,
.zt-theme .flatpickr-calendar .flatpickr-day::after {
	content: none !important;
}

.zt-theme .flatpickr-calendar .flatpickr-day.today:not(.selected) {
	background: transparent;
	border: 1.5px solid var(--zt-accent);
	color: var(--zt-text);
	font-weight: 600;
	box-shadow: none;
}

.zt-theme .flatpickr-calendar .flatpickr-day.selected,
.zt-theme .flatpickr-calendar .flatpickr-day.selected:hover,
.zt-theme .flatpickr-calendar .flatpickr-day.selected:focus,
.zt-theme .flatpickr-calendar .flatpickr-day.selected.today,
.zt-theme .flatpickr-calendar .flatpickr-day.selected.prevMonthDay,
.zt-theme .flatpickr-calendar .flatpickr-day.selected.nextMonthDay {
	background: linear-gradient(135deg, #2f9bff 0%, #1560c8 100%) !important;
	border: 0 !important;
	color: #ffffff !important;
	font-weight: 700;
	opacity: 1;
	box-shadow: 0 0 12px rgba(45, 168, 255, .55) !important;
}

html[data-theme="light"] .zt-theme .flatpickr-calendar .flatpickr-day.selected,
html[data-theme="light"] .zt-theme .flatpickr-calendar .flatpickr-day.selected:hover,
html[data-theme="light"] .zt-theme .flatpickr-calendar .flatpickr-day.selected.today {
	box-shadow: 0 4px 10px rgba(22, 112, 216, .35) !important;
}

/* ---------- Mapa "Em curso" — versão escura (azul elétrico) ---------- */
html[data-theme="dark"] {
	/* afina aqui o tom do mapa, se quiseres mais claro/escuro ou mais/menos azul */
	--zt-map-filter: sepia(1) hue-rotate(185deg) saturate(5) brightness(1.3) contrast(1.15);
}

.zt-theme .zt-map-card .card-title {
	display: flex;
	align-items: center;
	gap: .6rem;
}

.zt-theme .zt-map-card .card-title svg {
	width: 22px;
	height: 22px;
	color: var(--zt-accent);
	flex: 0 0 auto;
}

.zt-theme .zt-map-card {
	position: relative;
	overflow: hidden;
}

.zt-theme .zt-map-card .card-header {
	position: absolute;
	top: 0;
	left: 0;
	z-index: 900;
	pointer-events: none;
}

html[data-theme="dark"] .zt-theme .zt-map-card .card-title {
	color: #ffffff;
	text-shadow: 0 0 10px rgba(45, 168, 255, .8);
}

.zt-theme .zt-map-card .card-body {
	padding: 0 !important;
}

.zt-theme .zt-map-card .controls {
	display: none !important;
}

/* o mapa ocupa o card por completo (tema claro e escuro) */
.zt-theme .zt-map-card #map {
	height: 400px !important;
	border: 0;
	border-radius: 0 !important;
}

html[data-theme="dark"] .zt-theme .zt-map-card #map {
	background: transparent;
}

.zt-theme .zt-map-card .card-header {
	left: 3.7rem;
	padding: 1.05rem 0 0 .4rem;
	background: transparent;
	box-shadow: none;
}

/* tema claro: mesmo tamanho/peso do tema escuro (sóbrio), só muda a cor */
html[data-theme="light"] .zt-theme .zt-map-card .card-title {
	color: #0d2d78;
}

html[data-theme="dark"] .zt-theme .zt-map-card .card-title {
	color: #ffffff;
	text-shadow: 0 0 10px rgba(45, 168, 255, .8);
}

/* tema claro: título diretamente sobre o mapa, sem fundo */
html[data-theme="light"] .zt-theme .zt-map-card .card-header {
	padding: 1rem 0 0 .4rem;
	background: transparent;
	box-shadow: none;
	backdrop-filter: none;
}

html[data-theme="light"] .zt-theme .zt-map-card .card-title {
	text-shadow: 0 0 6px rgba(255, 255, 255, .9), 0 0 2px rgba(255, 255, 255, .9);
}

html[data-theme="dark"] .zt-theme .leaflet-container {
	background: transparent;
	font-family: inherit;
}

html[data-theme="dark"] .zt-tiles-azul {
	filter: var(--zt-map-filter);
}

/* grelha futurista subtil por cima do oceano */
html[data-theme="dark"] .zt-theme #map::after {
	content: "";
	position: absolute;
	inset: 0;
	z-index: 450;
	pointer-events: none;
	background:
		repeating-linear-gradient(0deg, rgba(70, 160, 255, .06) 0 1px, transparent 1px 42px),
		repeating-linear-gradient(90deg, rgba(70, 160, 255, .06) 0 1px, transparent 1px 42px);
}

/* nomes dos países */
.zt-country-label {
	background: transparent;
	border: 0;
	pointer-events: none;
}

.zt-country-label span {
	position: absolute;
	transform: translate(-50%, -50%);
	white-space: nowrap;
	color: #eaf6ff;
	font-size: 11px;
	font-weight: 600;
	letter-spacing: .08em;
	text-transform: uppercase;
	text-shadow: 0 0 6px #2da8ff, 0 0 12px rgba(45, 168, 255, .8);
}

.zt-z-low .zt-country-label {
	display: none;
}

/* botões de zoom e controlo de camadas
   (o contentor .leaflet-bar fica transparente e sem sombra: o brilho é de cada botão,
   senão aparece um retângulo estranho por trás do + e do −) */
html[data-theme="dark"] .zt-theme .leaflet-bar:not(.btn) {
	border: 0 !important;
	background: transparent !important;
	box-shadow: none !important;
}

html[data-theme="dark"] .zt-theme .leaflet-bar:not(.btn) a {
	width: 36px;
	height: 36px;
	line-height: 34px;
	font-size: 22px;
	font-weight: 400;
	color: #ffffff;
	background: linear-gradient(160deg, rgba(34, 100, 205, .92) 0%, rgba(12, 42, 104, .95) 100%);
	border: 1px solid rgba(100, 190, 255, .65) !important;
	border-radius: 11px !important;
	margin-bottom: 6px;
	box-shadow: 0 0 12px rgba(45, 168, 255, .40);
	backdrop-filter: none;
	-webkit-backdrop-filter: none;
}

html[data-theme="dark"] .zt-theme .leaflet-bar:not(.btn) a:last-child {
	margin-bottom: 0;
}

html[data-theme="dark"] .zt-theme .leaflet-bar:not(.btn) a:hover {
	background: linear-gradient(160deg, rgba(50, 130, 240, .98) 0%, rgba(20, 62, 140, 1) 100%);
	box-shadow: 0 0 18px rgba(45, 168, 255, .65);
}

html[data-theme="dark"] .zt-theme .leaflet-bar:not(.btn) a.leaflet-disabled {
	opacity: .45;
	box-shadow: none;
}

/* botão "Obras" */
html[data-theme="dark"] .zt-theme .leaflet-bar.btn {
	background: linear-gradient(160deg, rgba(34, 100, 205, .92) 0%, rgba(12, 42, 104, .95) 100%);
	color: #ffffff;
	border: 1px solid rgba(100, 190, 255, .65);
	box-shadow: 0 0 12px rgba(45, 168, 255, .40);
}

html[data-theme="dark"] .zt-theme .leaflet-bar.btn:hover {
	box-shadow: 0 0 18px rgba(45, 168, 255, .65);
}

html[data-theme="dark"] .zt-theme .leaflet-control-layers {
	background: rgba(8, 30, 70, .8);
	border: 1px solid rgba(70, 160, 255, .5);
	box-shadow: 0 0 14px rgba(45, 168, 255, .3);
}

html[data-theme="dark"] .zt-theme .leaflet-control-attribution {
	background: rgba(3, 16, 36, .6) !important;
}

/* pins e clusters com brilho */
html[data-theme="dark"] .zt-theme .leaflet-marker-icon:not(.marker-cluster) {
	filter: drop-shadow(0 0 8px rgba(56, 189, 248, .55));
}

@keyframes zt-pulse {
	0% { transform: scale(.85); opacity: .9; }
	70% { transform: scale(1.7); opacity: 0; }
	100% { transform: scale(1.7); opacity: 0; }
}

html[data-theme="dark"] .zt-theme .marker-cluster,
html[data-theme="dark"] .zt-theme .marker-cluster-small,
html[data-theme="dark"] .zt-theme .marker-cluster-medium,
html[data-theme="dark"] .zt-theme .marker-cluster-large {
	background: rgba(45, 168, 255, .16) !important;
	border: 1px solid rgba(120, 205, 255, .65);
	border-radius: 50%;
	box-shadow: 0 0 22px rgba(45, 168, 255, .55), inset 0 0 12px rgba(45, 168, 255, .35);
}

html[data-theme="dark"] .zt-theme .marker-cluster::before {
	content: "";
	position: absolute;
	inset: -2px;
	border-radius: 50%;
	border: 2px solid #38bdf8;
	animation: zt-pulse 2.2s ease-out infinite;
	pointer-events: none;
}

html[data-theme="dark"] .zt-theme .marker-cluster div {
	background: radial-gradient(circle at 35% 30%, #b4e8ff 0%, #38bdf8 38%, #1566e0 100%) !important;
	border: 1.5px solid #d4f1ff;
	color: #ffffff !important;
	font-weight: 700;
	text-shadow: 0 0 6px rgba(0, 60, 140, .9);
	box-shadow: 0 0 16px rgba(80, 190, 255, .95), 0 0 34px rgba(45, 168, 255, .55);
}

/* ---------- Mapa "Em curso" — versão clara (como o mockup) ---------- */
html[data-theme="light"] .zt-theme .zt-map-card {
	background: linear-gradient(160deg, #f6faff 0%, #eaf3fd 100%);
}

html[data-theme="light"] .zt-theme .leaflet-container {
	background: transparent;
	font-family: inherit;
}

/* grelha fina sobre o oceano */
html[data-theme="light"] .zt-theme #map::after {
	content: "";
	position: absolute;
	inset: 0;
	z-index: 450;
	pointer-events: none;
	background:
		repeating-linear-gradient(0deg, rgba(110, 165, 230, .13) 0 1px, transparent 1px 48px),
		repeating-linear-gradient(90deg, rgba(110, 165, 230, .13) 0 1px, transparent 1px 48px);
}

/* nomes dos países: azul-marinho, negrito */
html[data-theme="light"] .zt-country-label span {
	color: #0d2d78;
	font-weight: 700;
	letter-spacing: .05em;
	text-shadow: 0 0 4px rgba(255, 255, 255, .85);
}

/* botões de zoom, camadas e "Obras": brancos, arredondados */
html[data-theme="light"] .zt-theme .leaflet-bar {
	border: 0;
	background: transparent;
	box-shadow: none;
}

html[data-theme="light"] .zt-theme .leaflet-bar a {
	width: 36px;
	height: 36px;
	line-height: 36px;
	font-size: 24px;
	font-weight: 400;
	color: #1670d8;
	background: #ffffff;
	border: 0;
	border-radius: 11px;
	margin-bottom: 6px;
	box-shadow: 0 4px 14px rgba(20, 60, 130, .16);
}

html[data-theme="light"] .zt-theme .leaflet-bar.btn {
	background: #ffffff;
	color: #1670d8;
	border: 0;
	box-shadow: 0 4px 14px rgba(20, 60, 130, .16);
}

html[data-theme="light"] .zt-theme .leaflet-control-layers {
	border: 0;
	border-radius: 12px;
	background: #ffffff;
	box-shadow: 0 4px 14px rgba(20, 60, 130, .16);
}

html[data-theme="light"] .zt-theme .leaflet-control-layers-toggle {
	width: 44px;
	height: 44px;
	background-size: 24px;
	filter: invert(37%) sepia(98%) saturate(2200%) hue-rotate(205deg) brightness(95%);
}

html[data-theme="light"] .zt-theme .leaflet-control-attribution {
	background: rgba(255, 255, 255, .7) !important;
	border-radius: 8px 0 0 0;
}

/* pins com sombra suave */
html[data-theme="light"] .zt-theme .leaflet-marker-icon:not(.marker-cluster) {
	filter: drop-shadow(0 4px 6px rgba(22, 112, 216, .35));
}

/* clusters: bolas azuis com halo e pulso */
html[data-theme="light"] .zt-theme .marker-cluster,
html[data-theme="light"] .zt-theme .marker-cluster-small,
html[data-theme="light"] .zt-theme .marker-cluster-medium,
html[data-theme="light"] .zt-theme .marker-cluster-large {
	background: rgba(45, 140, 255, .14) !important;
	border: 1px solid rgba(45, 140, 255, .35);
	border-radius: 50%;
	box-shadow: 0 0 26px rgba(45, 140, 255, .4);
}

html[data-theme="light"] .zt-theme .marker-cluster::before {
	content: "";
	position: absolute;
	inset: -2px;
	border-radius: 50%;
	border: 2px solid #3b9cff;
	animation: zt-pulse 2.4s ease-out infinite;
	pointer-events: none;
}

html[data-theme="light"] .zt-theme .marker-cluster div {
	background: radial-gradient(circle at 35% 30%, #6cc7ff 0%, #2d8cff 45%, #1670d8 100%) !important;
	border: 2px solid #ffffff;
	color: #ffffff !important;
	font-weight: 700;
	box-shadow: 0 4px 14px rgba(22, 112, 216, .55);
}


/* =========================================================
   DROPDOWNS (Notificações, Chats, Perfil) — moderno
   Escuro: vidro azul | Claro: branco limpo com cabeçalho suave
   ========================================================= */
html[data-theme="dark"] {
	--zt-dd-bg: linear-gradient(160deg, rgba(17, 42, 82, .97) 0%, rgba(7, 18, 40, .98) 100%);
	--zt-dd-head: linear-gradient(90deg, rgba(45, 168, 255, .16) 0%, rgba(45, 168, 255, 0) 100%);
	--zt-dd-border: rgba(70, 150, 255, .30);
	--zt-dd-soft: rgba(120, 160, 220, .12);
	--zt-dd-shadow: 0 22px 50px rgba(0, 0, 0, .55), 0 0 0 1px rgba(45, 168, 255, .08), 0 0 28px rgba(45, 168, 255, .12);
	--zt-dd-foot: rgba(255, 255, 255, .03);
}

html[data-theme="light"] {
	--zt-dd-bg: #ffffff;
	--zt-dd-head: linear-gradient(90deg, #eaf3ff 0%, #f7fbff 100%);
	--zt-dd-border: rgba(31, 80, 150, .13);
	--zt-dd-soft: rgba(31, 80, 150, .08);
	--zt-dd-shadow: 0 22px 50px rgba(20, 50, 100, .18), 0 2px 8px rgba(20, 50, 100, .06);
	--zt-dd-foot: #f6f9fe;
}

@keyframes zt-dd-in {
	from { opacity: 0; }
	to { opacity: 1; }
}

.zt-theme .dropdown-menu {
	background: var(--zt-dd-bg);
	border: 1px solid var(--zt-dd-border);
	border-radius: 18px;
	box-shadow: var(--zt-dd-shadow);
	overflow: hidden;
	backdrop-filter: blur(16px);
	-webkit-backdrop-filter: blur(16px);
	animation: zt-dd-in .16s ease-out;
}

.zt-theme .dropdown-menu:not(.dropdown-menu-lg) {
	padding: .45rem;
}

.zt-theme .dropdown-menu .dropdown-item {
	border-radius: 11px;
	padding: .55rem .8rem;
	font-weight: 500;
	transition: background .15s;
}

.zt-theme .dropdown-menu.dropdown-menu-lg {
	width: 23rem;
	max-width: calc(100vw - 24px);
	padding: 0;
}

/* cabeçalho */
.zt-theme .dropdown-menu-header {
	display: flex;
	align-items: center;
	gap: .55rem;
	text-align: left;
	padding: 1rem 1.2rem;
	font-size: .95rem;
	font-weight: 700;
	letter-spacing: .01em;
	background: var(--zt-dd-head);
	border-bottom: 1px solid var(--zt-dd-soft);
	color: var(--zt-text);
}

.zt-theme .dropdown-menu-header::before {
	content: "";
	flex: 0 0 auto;
	width: 8px;
	height: 8px;
	border-radius: 50%;
	background: var(--zt-accent);
	box-shadow: 0 0 10px var(--zt-accent);
}

/* lista */
.zt-theme .dropdown-menu .list-group {
	max-height: 340px;
	overflow-y: auto;
	background: transparent;
	border-radius: 0;
}

.zt-theme .dropdown-menu .list-group-item {
	position: relative;
	padding: .9rem 1.2rem;
	border: 0;
	border-bottom: 1px solid var(--zt-dd-soft);
	border-radius: 0;
	transition: background .15s;
}

.zt-theme .dropdown-menu .list-group-item:last-child {
	border-bottom: 0;
}

.zt-theme .dropdown-menu .list-group-item::before {
	content: "";
	position: absolute;
	left: 0;
	top: 22%;
	bottom: 22%;
	width: 3px;
	border-radius: 0 3px 3px 0;
	background: var(--zt-accent);
	opacity: 0;
	transition: opacity .15s;
}

.zt-theme .dropdown-menu .list-group-item:hover {
	background: var(--zt-hover);
}

.zt-theme .dropdown-menu .list-group-item:hover::before {
	opacity: 1;
}

/* ícone num quadrado arredondado, com a cor do próprio ícone */
.zt-theme .dropdown-menu .list-group-item .col-2 svg {
	box-sizing: content-box;
	width: 18px;
	height: 18px;
	padding: 9px;
	border-radius: 12px;
	background: color-mix(in srgb, currentColor 14%, transparent);
}

.zt-theme .dropdown-menu .list-group-item img {
	width: 40px;
	height: 40px;
	object-fit: cover;
	border-radius: 50%;
	border: 2px solid var(--zt-dd-border);
}

.zt-theme .dropdown-menu .list-group-item .text-dark {
	font-weight: 600;
	font-size: .9rem;
}

.zt-theme .dropdown-menu .list-group-item .small {
	font-size: .78rem;
}

/* rodapé */
.zt-theme .dropdown-menu-footer {
	text-align: center;
	padding: .75rem 1rem;
	background: var(--zt-dd-foot);
	border-top: 1px solid var(--zt-dd-soft);
}

.zt-theme .dropdown-menu-footer a {
	color: var(--zt-accent) !important;
	font-weight: 600;
	font-size: .86rem;
}

.zt-theme .dropdown-menu-footer a:hover {
	text-decoration: underline;
}

/* indicador (bolinha) dos ícones da barra */
.zt-theme .navbar .nav-icon .indicator {
	background: linear-gradient(135deg, #ff4d6d, #ff1744);
	color: #ffffff;
	font-weight: 700;
	box-shadow: 0 0 10px rgba(255, 23, 68, .55);
}

/* =========================================================
   BOTÕES Entrada / Saída / Manual  (pílula neon com ícone)
   Variantes de cor: .zt-v-in | .zt-v-out | .zt-v-manual
   ========================================================= */
.zt-v-in {
	--c: 0, 229, 255;
	--c2: 0, 105, 165;
	--b1: #00b7d4;
	--b2: #0077b6;
	--t: #7df3ff;
	--tl: #00778f;
}

.zt-v-out {
	--c: 255, 32, 52;
	--c2: 120, 0, 20;
	--b1: #ff3b4e;
	--b2: #c4001a;
	--t: #ff8a97;
	--tl: #c4001a;
}

.zt-v-manual {
	--c: 255, 196, 0;
	--c2: 165, 95, 0;
	--b1: #ffb300;
	--b2: #e07b00;
	--t: #ffd95a;
	--tl: #a85f00;
}

/* =========================================================
   PASTILHAS Entrada / Saída / Manual (tabela) — cores elétricas
   ========================================================= */
.zt-pill {
	display: inline-flex;
	align-items: center;
	gap: .32rem;
	padding: .14rem .55rem;
	border-radius: 999px;
	font-size: .66rem;
	font-weight: 700;
	letter-spacing: .04em;
	line-height: 1.2;
	color: var(--t);
	background: rgba(var(--c), .12);
	border: 1px solid rgba(var(--c), .8);
	box-shadow: 0 0 8px rgba(var(--c), .40);
	text-shadow: 0 0 6px rgba(var(--c), .6);
}

.zt-pill::before {
	content: "";
	width: 5px;
	height: 5px;
	border-radius: 50%;
	background: rgb(var(--c));
	box-shadow: 0 0 6px rgb(var(--c));
}

/* tema claro: fundo transparente (só um tom suave), borda e texto na cor */
html[data-theme="light"] .zt-pill {
	color: var(--tl);
	background: rgba(var(--c), .10);
	border-color: rgba(var(--c), .75);
	box-shadow: none;
	text-shadow: none;
}

html[data-theme="light"] .zt-pill::before {
	background: rgb(var(--c));
	box-shadow: 0 0 5px rgba(var(--c), .8);
}

/* botão "Obras" do mapa: redondo, só com o ícone do pino */
.zt-theme .leaflet-bar.btn {
	display: grid;
	place-items: center;
	width: 42px;
	height: 42px;
	padding: 0 !important;
	border-radius: 50% !important;
	transition: box-shadow .2s, transform .15s;
}

.zt-theme .leaflet-bar.btn:hover {
	transform: translateY(-1px);
}

.zt-theme .leaflet-bar.btn svg {
	width: 20px;
	height: 20px;
}

/* calendário: grelha de 7 colunas, dias sempre redondos (36×36) */
.zt-theme .flatpickr-calendar .dayContainer {
	display: grid !important;
	grid-template-columns: repeat(7, 1fr);
	justify-items: center;
	row-gap: 2px;
	width: 100% !important;
	min-width: 0 !important;
	max-width: 100% !important;
	padding: 0;
}

.zt-theme .flatpickr-calendar .flatpickr-days,
.zt-theme .flatpickr-calendar .flatpickr-innerContainer,
.zt-theme .flatpickr-calendar .flatpickr-rContainer {
	width: 100% !important;
	min-width: 0 !important;
	max-width: 100% !important;
}

.zt-theme .flatpickr-calendar .flatpickr-day {
	flex: none;
	width: 36px;
	max-width: 36px;
	height: 36px;
	line-height: 34px;
	margin: 0;
	border-radius: 50% !important;
}

/* menos espaço em branco em cima e em baixo no card do calendário */
.zt-theme .chart:has(#datetimepicker-dashboard) {
	height: auto !important;
	min-height: 0 !important;
}

.zt-theme .card-body:has(#datetimepicker-dashboard) {
	padding-top: .25rem;
	padding-bottom: 1rem;
}

.zt-theme .flatpickr-calendar.inline {
	width: 100% !important;
	max-width: 100%;
	margin: 0 auto;
	padding: 0;
}

.zt-theme .flatpickr-calendar .flatpickr-months {
	margin-bottom: .35rem;
}

/* avatar da barra superior: sem contorno nem brilho, meio transparente */
.zt-theme .navbar .avatar {
	border: 0 !important;
	box-shadow: none !important;
	opacity: .9;
	transition: opacity .2s;
}

.zt-theme .navbar .nav-link:hover .avatar,
.zt-theme .navbar .dropdown.show .avatar {
	opacity: 1;
}

/* =========================================================
   COMPONENTES GERAIS (formulários, botões, modais, tabs...)
   Para as restantes páginas da aplicação
   ========================================================= */
.zt-theme h1, .zt-theme h2, .zt-theme h3, .zt-theme h4,
.zt-theme h5, .zt-theme h6, .zt-theme .h1, .zt-theme .h2, .zt-theme .h3 {
	color: var(--zt-text);
}

.zt-theme hr { border-color: var(--zt-border-soft); opacity: 1; }

/* ---- Formulários ---- */
.zt-theme .form-control,
.zt-theme .form-select,
.zt-theme .input-group-text {
	background-color: var(--zt-input);
	border: 1px solid var(--zt-border);
	color: var(--zt-text);
	border-radius: 10px;
}

.zt-theme .form-control::placeholder { color: var(--zt-muted); opacity: .8; }

.zt-theme .form-control:focus,
.zt-theme .form-select:focus {
	background-color: var(--zt-input);
	color: var(--zt-text);
	border-color: var(--zt-accent);
	box-shadow: 0 0 0 3px rgba(45, 168, 255, .22);
}

.zt-theme .form-control:disabled,
.zt-theme .form-select:disabled { opacity: .55; }

.zt-theme .form-label { color: var(--zt-muted); font-weight: 500; }

html[data-theme="dark"] .zt-theme .form-select {
	background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3e%3cpath fill='none' stroke='%238fa3c2' stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='m2 5 6 6 6-6'/%3e%3c/svg%3e");
}

html[data-theme="dark"] .zt-theme .form-select option { background: #0b1a35; color: #e8eef8; }

.zt-theme .form-check-input { background-color: var(--zt-input); border-color: var(--zt-border); }
.zt-theme .form-check-input:checked { background-color: var(--zt-accent); border-color: var(--zt-accent); }

/* ---- Botões ---- */
.zt-theme .btn { border-radius: 10px; font-weight: 600; }

.zt-theme .btn-primary {
	background: linear-gradient(135deg, #1b7ff0 0%, #1560c8 100%);
	border-color: transparent;
	color: #ffffff;
	box-shadow: 0 4px 14px rgba(27, 127, 240, .30);
}
.zt-theme .btn-primary:hover,
.zt-theme .btn-primary:focus {
	background: linear-gradient(135deg, #2f93ff 0%, #1a6fe0 100%);
	box-shadow: 0 6px 20px rgba(27, 127, 240, .50);
}

.zt-theme .btn-outline-secondary,
.zt-theme .btn-outline-primary {
	background: transparent;
	color: var(--zt-muted);
	border-color: var(--zt-border);
}
.zt-theme .btn-outline-secondary:hover,
.zt-theme .btn-outline-primary:hover {
	background: var(--zt-hover);
	color: var(--zt-text);
	border-color: var(--zt-accent);
}
.zt-theme .btn-outline-secondary.active,
.zt-theme .btn-outline-secondary:active,
.zt-theme .btn-check:checked + .btn-outline-secondary,
.zt-theme .btn-outline-primary.active {
	background: linear-gradient(135deg, #1b7ff0 0%, #1560c8 100%);
	border-color: transparent;
	color: #ffffff;
	box-shadow: 0 0 14px rgba(27, 127, 240, .40);
}

.zt-theme .btn-link { color: var(--zt-accent); }

/* ---- Badges ---- */
.zt-theme .badge { border-radius: 999px; font-weight: 600; letter-spacing: .02em; }
.zt-theme .badge.bg-danger { background: linear-gradient(135deg, #ff4d6d, #ff1744) !important; }
.zt-theme .badge.bg-success { background: linear-gradient(135deg, #12d6a0, #0aa56f) !important; }
.zt-theme .badge.bg-warning { background: linear-gradient(135deg, #ffc400, #e07b00) !important; color: #ffffff !important; }

/* ---- Modais ---- */
.zt-theme .modal-content {
	background: var(--zt-dd-bg, var(--zt-card-solid));
	border: 1px solid var(--zt-border);
	border-radius: 18px;
	box-shadow: var(--zt-shadow);
	color: var(--zt-text);
}
.zt-theme .modal-header, .zt-theme .modal-footer { border-color: var(--zt-border-soft); }
html[data-theme="dark"] .zt-theme .btn-close { filter: invert(1) grayscale(1) brightness(1.6); }
.zt-theme .modal-backdrop.show { opacity: .6; backdrop-filter: blur(3px); }

/* ---- Tabs / paginação / alertas ---- */
.zt-theme .nav-tabs { border-bottom: 1px solid var(--zt-border-soft); }
.zt-theme .nav-tabs .nav-link { color: var(--zt-muted); border: 0; border-bottom: 2px solid transparent; background: transparent; }
.zt-theme .nav-tabs .nav-link:hover { color: var(--zt-text); }
.zt-theme .nav-tabs .nav-link.active {
	color: var(--zt-accent);
	background: transparent;
	border-bottom-color: var(--zt-accent);
	text-shadow: 0 0 10px rgba(45, 168, 255, .35);
}

.zt-theme .page-link {
	background: var(--zt-input);
	border: 1px solid var(--zt-border-soft);
	color: var(--zt-muted);
	border-radius: 8px;
	margin: 0 2px;
}
.zt-theme .page-link:hover { background: var(--zt-hover); color: var(--zt-text); }
.zt-theme .page-item.active .page-link {
	background: linear-gradient(135deg, #1b7ff0 0%, #1560c8 100%);
	border-color: transparent;
	color: #ffffff;
}

.zt-theme .alert { border-radius: 12px; border-width: 1px; }
.zt-theme .progress { background: var(--zt-input); border-radius: 999px; }
.zt-theme .breadcrumb-item a { color: var(--zt-accent); }
.zt-theme .breadcrumb-item.active { color: var(--zt-muted); }


/* =========================================================
   COMPONENTES REUTILIZÁVEIS (botões néon, pastilhas, ações)
   Usam as variáveis --c / --b1 / --b2 / --t / --tl das .zt-v-*

   .zt-v-ok | .zt-v-orange | .zt-v-blue | .zt-v-purple | .zt-v-gray
       variantes de cor extra (somam-se a .zt-v-in/out/manual)
   .zt-filtros + .zt-neon(.active)   pílulas de filtro
   .zt-pill.zt-pill-btn.dropdown-toggle + .zt-estado-menu
                                     pastilha que abre um dropdown
   .zt-acoes + .zt-ibtn              botões de ação só com ícone
   .zt-novo                          botão "adicionar" (ex.: Novo trabalhador)
   ========================================================= */
/* variantes extra, no mesmo formato das .zt-v-* do tema-zenite.css */
.zt-v-ok     { --c: 16, 224, 140;  --c2: 0, 110, 70;   --b1: #12d6a0; --b2: #0a9f6a; --t: #6ff5c3; --tl: #06804f; }
.zt-v-orange { --c: 255, 128, 20;  --c2: 140, 60, 0;   --b1: #ff8a1f; --b2: #d95f00; --t: #ffb070; --tl: #b85200; }
.zt-v-blue   { --c: 45, 168, 255;  --c2: 10, 70, 160;  --b1: #2f9bff; --b2: #1560c8; --t: #8fd0ff; --tl: #1460c0; }
.zt-v-purple { --c: 139, 92, 246;  --c2: 70, 30, 160;  --b1: #9b6bff; --b2: #6d3fe0; --t: #c4adff; --tl: #5b2fd0; }
.zt-v-gray   { --c: 143, 163, 194; --c2: 60, 75, 100;  --b1: #7f95b5; --b2: #55688a; --t: #c9d6ea; --tl: #4b5f7e; }

/* ---- Filtros de estado (pílula neon; ativo = preenchido) ---- */
.zt-filtros { display: flex; flex-wrap: wrap; gap: .5rem; margin: 0 0 1rem; }
.zt-neon {
	display: inline-flex; align-items: center; gap: .45rem;
	padding: .45rem 1rem; border-radius: 999px;
	font-size: .8rem; font-weight: 700; letter-spacing: .03em; line-height: 1.2; white-space: nowrap;
	color: var(--t); background: rgba(var(--c), .10);
	border: 1px solid rgba(var(--c), .7);
	box-shadow: 0 0 10px rgba(var(--c), .22);
	text-shadow: 0 0 6px rgba(var(--c), .45);
	cursor: pointer;
	transition: background .2s, box-shadow .2s, transform .15s, color .2s;
}
.zt-neon::before {
	content: ""; width: 6px; height: 6px; border-radius: 50%;
	background: rgb(var(--c)); box-shadow: 0 0 6px rgb(var(--c));
}
.zt-neon:hover { background: rgba(var(--c), .18); box-shadow: 0 0 16px rgba(var(--c), .45); transform: translateY(-1px); }
.zt-neon:focus-visible { outline: 2px solid rgb(var(--c)); outline-offset: 2px; }
.zt-neon.active {
	color: #fff; text-shadow: none; border-color: transparent;
	background: linear-gradient(135deg, var(--b1), var(--b2));
	box-shadow: 0 0 18px rgba(var(--c), .55);
}
.zt-neon.active::before { background: #fff; box-shadow: 0 0 6px #fff; }
html[data-theme="light"] .zt-neon { color: var(--tl); background: rgba(var(--c), .08); box-shadow: none; text-shadow: none; }
html[data-theme="light"] .zt-neon:hover { background: rgba(var(--c), .15); }
html[data-theme="light"] .zt-neon.active { color: #fff; background: linear-gradient(135deg, var(--b1), var(--b2)); box-shadow: 0 4px 12px rgba(var(--c), .35); }

/* ---- Pastilha do estado (tabela) como botão do dropdown ---- */
.zt-pill-btn { cursor: pointer; font-family: inherit; font-size: .7rem; padding: .2rem .65rem; transition: filter .15s, box-shadow .15s; }
.zt-pill-btn.dropdown-toggle::after { margin-left: .2rem; border-top-color: currentColor; vertical-align: middle; }
.zt-pill-btn:focus-visible { outline: 2px solid rgb(var(--c)); outline-offset: 2px; }
.zt-estado-menu { min-width: 13rem; }
.zt-estado-menu .dropdown-item { display: flex; align-items: center; justify-content: space-between; gap: .75rem; cursor: pointer; }
.zt-estado-menu .dropdown-item .zt-pill { font-size: .7rem; }
.zt-estado-menu .zt-check { width: 15px; height: 15px; color: var(--zt-accent); visibility: hidden; }
.zt-estado-menu .is-atual .zt-check { visibility: visible; }

/* ---- Botões de ação das linhas (quadrado arredondado neon) ---- */
.zt-acoes { display: inline-flex; flex-wrap: nowrap; gap: .3rem; }
.zt-ibtn {
	display: inline-grid; place-items: center;
	width: 32px; height: 32px; padding: 0; border-radius: 10px;
	font-size: .74rem; font-weight: 800; line-height: 1;
	color: var(--t); background: rgba(var(--c), .12);
	border: 1px solid rgba(var(--c), .55);
	box-shadow: 0 0 8px rgba(var(--c), .18);
	cursor: pointer;
	transition: background .2s, color .2s, box-shadow .2s, transform .15s;
}
.zt-ibtn svg { width: 16px; height: 16px; }
.zt-ibtn:hover {
	color: #fff; border-color: transparent;
	background: linear-gradient(135deg, var(--b1), var(--b2));
	box-shadow: 0 0 14px rgba(var(--c), .55);
	transform: translateY(-1px);
}
.zt-ibtn:focus-visible { outline: 2px solid rgb(var(--c)); outline-offset: 2px; }
html[data-theme="light"] .zt-ibtn { color: var(--tl); background: rgba(var(--c), .08); box-shadow: none; }
html[data-theme="light"] .zt-ibtn:hover { color: #fff; background: linear-gradient(135deg, var(--b1), var(--b2)); box-shadow: 0 4px 10px rgba(var(--c), .35); }
/* ---- Botão "adicionar" (ex.: Novo trabalhador): néon com fundo transparente ----
   Cor por defeito azul; aceita qualquer variante: <a class="zt-novo zt-v-ok">… */
.zt-filtros { align-items: center; }
/* cor por defeito com especificidade 0, para as .zt-v-* poderem trocá-la */
:where(.zt-novo) { --c: 45, 168, 255; --b1: #2f9bff; --b2: #1560c8; --t: #8fd0ff; --tl: #1460c0; }
.zt-novo {
	display: inline-flex; align-items: center; gap: .5rem;
	height: 36px; padding: 0 1.1rem 0 .9rem; border-radius: 999px;
	font-size: .8rem; font-weight: 700; letter-spacing: .04em; white-space: nowrap;
	color: var(--t) !important; text-decoration: none !important;
	background: rgba(var(--c), .08);
	border: 1px solid rgba(var(--c), .75);
	box-shadow: 0 0 12px rgba(var(--c), .35), inset 0 0 10px rgba(var(--c), .12);
	text-shadow: 0 0 8px rgba(var(--c), .6);
	transition: background .2s, box-shadow .2s, transform .15s, color .2s;
}
.zt-novo svg { width: 17px; height: 17px; filter: drop-shadow(0 0 4px rgba(var(--c), .8)); }
.zt-novo:hover, .zt-novo:focus {
	text-decoration: none !important;
	color: #fff !important; text-shadow: none;
	background: linear-gradient(135deg, var(--b1), var(--b2));
	border-color: transparent;
	box-shadow: 0 0 22px rgba(var(--c), .6);
	transform: translateY(-1px);
}
.zt-novo:focus-visible { outline: 2px solid rgb(var(--c)); outline-offset: 2px; }
html[data-theme="light"] .zt-novo { color: var(--tl) !important; background: rgba(var(--c), .07); box-shadow: 0 0 10px rgba(var(--c), .2); text-shadow: none; }
html[data-theme="light"] .zt-novo svg { filter: none; }
html[data-theme="light"] .zt-novo:hover { color: #fff !important; background: linear-gradient(135deg, var(--b1), var(--b2)); box-shadow: 0 4px 14px rgba(var(--c), .4); }
.zt-filtros .zt-novo { margin-left: auto; } /* nos filtros fica encostado à direita */
@media (max-width: 575.98px) { .zt-filtros .zt-novo { margin-left: 0; } }


/* =========================================================
   CARDS DE ESTATÍSTICA — extras (somam-se a .stat-card / .stat-icon / .stat-info)

   .stat-grid        grelha que se reorganiza sozinha (cards escondidas não deixam buracos)
   .stat-compact     card um pouco mais pequena (ícone 56px)
   .stat-red | .stat-green   cores extra (somam-se a .stat-teal/.stat-purple/.stat-orange)
   .stat-num         número grande; usar quando há <small>, botões ou spans lá dentro.
                     O número em si vai num elemento só com texto marcado com data-zt-count:
                       <div class="stat-num"><span id="x" data-zt-count>0</span><small>h</small></div>
   .stat-num-accent  número na cor da card
   .stat-foot        linha de baixo (texto suave)
   .stat-tag         etiqueta na cor da card
   .stat-link        "Ver mais ›"
   .stat-click       card clicável (+ .aberto / .is-open quando está selecionada)
   ========================================================= */
.stat-grid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(210px, 1fr));
	gap: 1rem;
	margin-bottom: 1.5rem;
}
.stat-grid > .card { margin-bottom: 0; }

.zt-theme .stat-red   { --c: 255, 77, 109; }
.zt-theme .stat-green { --c: 16, 224, 140; }

.zt-theme .stat-info { min-width: 0; }

.zt-theme .stat-compact .card-body { padding: 1.1rem 1.15rem; }
.zt-theme .stat-compact .stat-icon { width: 56px; height: 56px; border-radius: 16px; }
.zt-theme .stat-compact .stat-icon svg { width: 26px; height: 26px; }

.zt-theme .stat-num {
	display: flex;
	align-items: baseline;
	gap: .3rem;
	margin: .15rem 0 .35rem;
	color: var(--zt-text);
	font-size: 2rem;
	font-weight: 700;
	line-height: 1.2;
	font-variant-numeric: tabular-nums;
	white-space: nowrap;
}
.zt-theme .stat-compact .stat-num { font-size: 1.85rem; }
.zt-theme .stat-num small { font-size: .85rem; font-weight: 500; color: var(--zt-muted); }
.zt-theme .stat-num-accent > :first-child { color: rgb(var(--c)); }
html[data-theme="light"] .zt-theme .stat-num-accent > :first-child { filter: brightness(.8); }

.zt-theme .stat-foot {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: .3rem .5rem;
	font-size: .78rem;
	color: var(--zt-muted);
}
.zt-theme .stat-tag {
	display: inline-block;
	padding: .05rem .5rem;
	border-radius: 999px;
	font-size: .7rem;
	font-weight: 600;
	white-space: nowrap;
	background: rgba(var(--c), .16);
	color: rgb(var(--c));
}
html[data-theme="light"] .zt-theme .stat-tag { background: rgba(var(--c), .12); filter: brightness(.8); }
.zt-theme .stat-link { color: var(--zt-accent); font-weight: 600; white-space: nowrap; }

.zt-theme .stat-click { cursor: pointer; }
.zt-theme .stat-click:focus-visible { outline: 2px solid rgb(var(--c)); outline-offset: 2px; }
.zt-theme .stat-click.aberto,
.zt-theme .stat-click.is-open {
	border-color: rgba(var(--c), .95);
	box-shadow: var(--zt-shadow), 0 0 0 1px rgba(var(--c), .6), 0 0 26px rgba(var(--c), .3);
}

/* números a contar: largura fixa por algarismo para não "tremer" */
[data-zt-count] { font-variant-numeric: tabular-nums; }


/* =========================================================
   CONTROLOS NÉON (barras de filtros)

   .zt-track      trilho de vidro onde ficam os controlos
   .zt-switch     switch de 2 opções com "polegar" néon que desliza
                  (usar junto com .zt-track; o botão escolhido leva .active)
                    <div class="zt-track zt-switch">
                      <button class="active">A</button><button>B</button>
                    </div>
   .zt-btn-glow   botão de destaque: contorno néon a rodar + brilho a passar
   .zt-vsep       separador vertical néon (com .ms-auto empurra o resto para a direita)
   ========================================================= */
.zt-track {
	position: relative;
	display: inline-flex;
	align-items: center;
	height: 36px;
	padding: 3px;
	border-radius: 999px;
	background: rgba(var(--zt-bg-rgb), .55);
	border: 1px solid rgba(var(--zt-glow-rgb), .28);
	box-shadow: inset 0 1px 6px rgba(0, 0, 0, .35), 0 0 0 1px rgba(255, 255, 255, .02);
}
html[data-theme="light"] .zt-track { background: #eef4fc; box-shadow: inset 0 1px 3px rgba(20, 50, 100, .08); }

.zt-switch { display: inline-grid; grid-template-columns: 1fr 1fr; }
.zt-switch::before {
	content: "";
	position: absolute;
	top: 3px;
	bottom: 3px;
	left: 3px;
	width: calc(50% - 3px);
	border-radius: 999px;
	background: linear-gradient(135deg, #1b7ff0 0%, #22b8ee 100%);
	box-shadow: 0 0 14px rgba(45, 168, 255, .55), inset 0 1px 0 rgba(255, 255, 255, .35);
	transition: transform .35s cubic-bezier(.34, 1.56, .64, 1);
}
.zt-switch:has(> :nth-child(2).active)::before { transform: translateX(100%); }
.zt-switch > button {
	position: relative;
	z-index: 1;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: .35rem;
	height: 100%;
	border: 0;
	background: transparent;
	color: var(--zt-muted);
	padding: 0 .8rem;
	border-radius: 999px;
	font-size: .72rem;
	font-weight: 700;
	letter-spacing: .06em;
	text-transform: uppercase;
	white-space: nowrap;
	cursor: pointer;
	transition: color .25s;
}
.zt-switch > button:hover:not(.active) { color: var(--zt-text); }
.zt-switch > button.active { color: #fff; text-shadow: 0 0 8px rgba(255, 255, 255, .5); }
.zt-switch > button:focus-visible { outline: 2px solid var(--zt-accent); outline-offset: 1px; }

.zt-btn-glow {
	position: relative;
	display: inline-flex;
	align-items: center;
	gap: .5rem;
	height: 38px;
	padding: 0 1.1rem 0 .95rem;
	border: 0;
	border-radius: 12px;
	overflow: hidden;
	isolation: isolate;
	cursor: pointer;
	color: #eaf6ff;
	font-size: .78rem;
	font-weight: 700;
	letter-spacing: .08em;
	text-transform: uppercase;
	white-space: nowrap;
	text-decoration: none;
	background: linear-gradient(135deg, rgba(18, 214, 160, .22) 0%, rgba(27, 127, 240, .30) 100%);
	box-shadow: 0 0 0 1px rgba(110, 230, 200, .45), 0 0 16px rgba(18, 214, 160, .28);
	transition: box-shadow .25s, transform .15s;
}
.zt-btn-glow svg { width: 17px; height: 17px; filter: drop-shadow(0 0 4px rgba(110, 245, 200, .8)); }
.zt-btn-glow::before {
	content: "";
	position: absolute;
	inset: 0;
	z-index: -1;
	border-radius: inherit;
	padding: 1.5px;
	background: conic-gradient(from var(--zt-ang, 0deg), transparent 0 65%, #6ff5c3 85%, #2da8ff 95%, transparent 100%);
	-webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
	-webkit-mask-composite: xor;
	mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
	mask-composite: exclude;
	--zt-ang: 200deg;                /* parado: brilho fixo no contorno */
}
.zt-btn-glow::after {
	content: "";
	position: absolute;
	inset: 0;
	z-index: -1;
	background: linear-gradient(100deg, transparent 30%, rgba(255, 255, 255, .22) 50%, transparent 70%);
	transform: translateX(-120%);
}
/* animações só ao passar o rato / com o teclado (poupa processador e não distrai) */
.zt-btn-glow:hover::before,
.zt-btn-glow:focus-visible::before { animation: zt-spin 2.4s linear infinite; }
.zt-btn-glow:hover::after,
.zt-btn-glow:focus-visible::after { animation: zt-shimmer 1.1s ease-out 1; }
.zt-btn-glow:hover { color: #fff; transform: translateY(-1px); box-shadow: 0 0 0 1px rgba(110, 245, 200, .8), 0 0 26px rgba(18, 214, 160, .5); }
.zt-btn-glow:focus-visible { outline: 2px solid #6ff5c3; outline-offset: 2px; }
html[data-theme="light"] .zt-btn-glow { color: #fff; background: linear-gradient(135deg, #12b98a 0%, #1670d8 100%); box-shadow: 0 4px 14px rgba(22, 112, 216, .3); }
html[data-theme="light"] .zt-btn-glow svg { filter: none; }

.zt-vsep {
	width: 1px;
	align-self: stretch;
	margin: .15rem .1rem;
	background: linear-gradient(180deg, transparent, rgba(var(--zt-glow-rgb), .45), transparent);
}



/* =========================================================
   BARRA DE PESQUISA DA NAVBAR (comum a todas as páginas)
   Usa o HTML que já existe em todas as páginas — não é preciso mudar nada:
     <div class="input-group input-group-navbar">
       <input class="form-control" placeholder="Procurar…"> <button class="btn">🔍</button>
     </div>
   A lupa passa para a esquerda (com divisória) e a barra ganha contorno néon.
   ========================================================= */
html[data-theme="dark"] {
	--zt-search-bg: linear-gradient(180deg, rgba(20, 44, 84, .78) 0%, rgba(10, 24, 50, .82) 100%);
	--zt-search-border: rgba(64, 170, 255, .65);
	--zt-search-glow: 0 0 0 1px rgba(64, 170, 255, .18), 0 0 18px rgba(34, 160, 255, .38), inset 0 1px 0 rgba(255, 255, 255, .06);
	--zt-search-glow-focus: 0 0 0 1px rgba(90, 190, 255, .45), 0 0 26px rgba(34, 170, 255, .6), inset 0 1px 0 rgba(255, 255, 255, .08);
	--zt-search-icon: #38c6ff;
	--zt-search-div: rgba(143, 163, 194, .35);
}
html[data-theme="light"] {
	--zt-search-bg: rgba(255, 255, 255, .92);
	--zt-search-border: rgba(40, 170, 255, .65);
	--zt-search-glow: 0 0 0 1px rgba(40, 170, 255, .12), 0 0 16px rgba(60, 120, 255, .22);
	--zt-search-glow-focus: 0 0 0 1px rgba(40, 170, 255, .35), 0 0 22px rgba(60, 120, 255, .35);
	--zt-search-icon: #1d7fe0;
	--zt-search-div: rgba(31, 80, 150, .22);
}

.zt-theme .input-group-navbar {
	width: clamp(240px, 32vw, 460px);
	height: 44px;
	flex-wrap: nowrap;
	align-items: stretch;
	border-radius: 999px;
	background: var(--zt-search-bg);
	border: 1px solid var(--zt-search-border);
	box-shadow: var(--zt-search-glow);
	backdrop-filter: blur(10px);
	-webkit-backdrop-filter: blur(10px);
	overflow: hidden;
	transition: box-shadow .25s, border-color .25s;
}
.zt-theme .input-group-navbar:focus-within {
	border-color: rgba(110, 200, 255, .9);
	box-shadow: var(--zt-search-glow-focus);
}

/* lupa à esquerda + divisória */
.zt-theme .input-group-navbar .btn {
	order: -1;
	position: relative;
	display: grid;
	place-items: center;
	height: auto;
	padding: 0 .95rem 0 1.15rem;
	margin: 0 !important;
	border: 0 !important;
	border-radius: 999px 0 0 999px !important;
	background: transparent !important;
	box-shadow: none !important;
	color: var(--zt-search-icon) !important;
}
.zt-theme .input-group-navbar .btn::after {
	content: "";
	position: absolute;
	right: 0;
	top: 26%;
	bottom: 26%;
	width: 1px;
	background: var(--zt-search-div);
}
.zt-theme .input-group-navbar .btn svg {
	width: 20px;
	height: 20px;
	stroke-width: 2.4;
	filter: drop-shadow(0 0 5px rgba(56, 198, 255, .55));
}
html[data-theme="light"] .zt-theme .input-group-navbar .btn svg { filter: none; }

/* campo de texto */
.zt-theme .input-group-navbar .form-control {
	height: auto;
	padding: 0 1.1rem 0 .95rem;
	border: 0 !important;
	border-radius: 0 999px 999px 0 !important;
	background: transparent !important;
	box-shadow: none !important;
	color: var(--zt-text);
	font-size: .95rem;
}
.zt-theme .input-group-navbar .form-control::placeholder { color: var(--zt-muted); opacity: .9; }
.zt-theme .input-group-navbar .form-control:focus { outline: 0; }
@media (max-width: 767.98px) { .zt-theme .input-group-navbar { width: 220px; height: 40px; } }

/* cruz para apagar (criada pelo js/tema-zenite.js; só aparece quando há texto) */
.zt-theme .input-group-navbar .zt-search-clear {
	order: 1;
	flex: 0 0 auto;
	align-self: center;
	display: none;
	place-items: center;
	width: 24px;
	height: 24px;
	margin-right: .7rem;
	padding: 0;
	border: 0;
	border-radius: 50%;
	background: rgba(143, 163, 194, .18);
	color: var(--zt-muted);
	cursor: pointer;
	transition: background .2s, color .2s, box-shadow .2s, transform .15s;
}
.zt-theme .input-group-navbar.zt-has-value .zt-search-clear { display: grid; animation: zt-search-pop .2s ease-out; }
.zt-theme .input-group-navbar .zt-search-clear svg { width: 13px; height: 13px; }
.zt-theme .input-group-navbar .zt-search-clear:hover {
	color: #fff;
	background: linear-gradient(135deg, #2f9bff, #1560c8);
	box-shadow: 0 0 10px rgba(45, 168, 255, .6);
	transform: scale(1.08);
}
html[data-theme="light"] .zt-theme .input-group-navbar .zt-search-clear { background: rgba(31, 80, 150, .08); }
.zt-theme .input-group-navbar.zt-has-value .form-control { padding-right: .5rem; }
@keyframes zt-search-pop { from { opacity: 0; transform: scale(.6); } to { opacity: 1; transform: none; } }



/* =========================================================
   BANDEIRAS (SVG — o Chrome no Windows não mostra emojis de bandeiras)
   <span class="zt-flag zt-flag-pt"></span>   pt | fr | es | be | it | de | lu
   ========================================================= */
.zt-flag {
	display: inline-block;
	flex: 0 0 auto;
	width: 18px;
	height: 12px;
	border-radius: 2px;
	background-size: cover;
	background-position: center;
	box-shadow: 0 0 0 1px rgba(255, 255, 255, .18), 0 1px 3px rgba(0, 0, 0, .35);
	vertical-align: middle;
}
.zt-flag-be { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 20'%3E%3Crect width='10' height='20' fill='%23000'/%3E%3Crect x='10' width='10' height='20' fill='%23fdda24'/%3E%3Crect x='20' width='10' height='20' fill='%23ef3340'/%3E%3C/svg%3E"); }
.zt-flag-it { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 20'%3E%3Crect width='10' height='20' fill='%23009246'/%3E%3Crect x='10' width='10' height='20' fill='%23fff'/%3E%3Crect x='20' width='10' height='20' fill='%23ce2b37'/%3E%3C/svg%3E"); }
.zt-flag-de { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 20'%3E%3Crect width='30' height='7' fill='%23000'/%3E%3Crect y='7' width='30' height='6' fill='%23dd0000'/%3E%3Crect y='13' width='30' height='7' fill='%23ffce00'/%3E%3C/svg%3E"); }
.zt-flag-lu { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 20'%3E%3Crect width='30' height='7' fill='%23ed2939'/%3E%3Crect y='7' width='30' height='6' fill='%23fff'/%3E%3Crect y='13' width='30' height='7' fill='%2300a1de'/%3E%3C/svg%3E"); }
.zt-flag-pt { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 20'%3E%3Crect width='12' height='20' fill='%23046a38'/%3E%3Crect x='12' width='18' height='20' fill='%23da291c'/%3E%3Ccircle cx='12' cy='10' r='4.2' fill='%23ffe900'/%3E%3Ccircle cx='12' cy='10' r='2.7' fill='%23da291c'/%3E%3Crect x='10.6' y='8.4' width='2.8' height='3.4' rx='.6' fill='%23fff'/%3E%3C/svg%3E"); }
.zt-flag-fr { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 20'%3E%3Crect width='10' height='20' fill='%23002395'/%3E%3Crect x='10' width='10' height='20' fill='%23fff'/%3E%3Crect x='20' width='10' height='20' fill='%23ed2939'/%3E%3C/svg%3E"); }
.zt-flag-es { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 20'%3E%3Crect width='30' height='20' fill='%23aa151b'/%3E%3Crect y='5' width='30' height='10' fill='%23f1bf00'/%3E%3C/svg%3E"); }


/* =========================================================
   FORMULÁRIOS: CAMPOS POR PREENCHER
   Os campos vazios ficam destacados (fundo azul + barra à esquerda) para
   ninguém se esquecer de preencher.
   Automático: basta pôr data-zt-vazios no <form> (o js/tema-zenite.js
   marca/desmarca a classe .campo-vazio enquanto se escreve).
   Manual: pôr/tirar a classe .campo-vazio no campo.
   ========================================================= */
.zt-theme .form-control.campo-vazio,
.zt-theme .form-select.campo-vazio {
	background-color: rgba(45, 168, 255, .2) !important;
	border-color: rgba(45, 168, 255, .7) !important;
	box-shadow: inset 3px 0 0 #2da8ff, 0 0 12px rgba(45, 168, 255, .18);
}
.zt-theme .form-control.campo-vazio::placeholder { color: #9fd2ff; opacity: .85; }
html[data-theme="light"] .zt-theme .form-control.campo-vazio,
html[data-theme="light"] .zt-theme .form-select.campo-vazio {
	background-color: #e6f1ff !important;
	border-color: rgba(22, 112, 216, .45) !important;
	box-shadow: inset 3px 0 0 #1670d8;
}
html[data-theme="light"] .zt-theme .form-control.campo-vazio::placeholder { color: #3f6fa8; }
.zt-theme .form-control.campo-vazio:focus,
.zt-theme .form-select.campo-vazio:focus {
	border-color: var(--zt-accent) !important;
	box-shadow: inset 3px 0 0 var(--zt-accent), 0 0 0 3px rgba(45, 168, 255, .22);
}
.zt-theme .form-control,
.zt-theme .form-select { transition: background-color .2s, border-color .2s, box-shadow .2s; }


/* =========================================================
   BOTÃO GUARDAR / AÇÃO PRINCIPAL DOS FORMULÁRIOS
   <div class="zt-form-actions">
     <button type="submit" class="btn btn-primary zt-btn-save"><i data-feather="save"></i><span>Guardar</span></button>
   </div>
   .zt-form-actions   barra de vidro que fica sempre visível no fundo do ecrã (sticky)
   .zt-btn-save       pílula em degradê azul→ciano→verde, brilho a passar e luz ao passar o rato
   ========================================================= */
.zt-form-actions {
	position: sticky;
	bottom: 1rem;
	z-index: 20;
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: .75rem;
	width: fit-content;
	max-width: 100%;
	margin: 1.75rem auto 1rem;
	padding: .55rem;
	border-radius: 999px;
	background: rgba(var(--zt-bg-rgb), .55);
	border: 1px solid var(--zt-border-soft);
	backdrop-filter: blur(14px);
	-webkit-backdrop-filter: blur(14px);
	box-shadow: 0 10px 30px rgba(0, 0, 0, .35);
}
html[data-theme="light"] .zt-form-actions { background: rgba(255, 255, 255, .75); box-shadow: 0 8px 24px rgba(20, 50, 100, .12); }

.zt-btn-save,
.zt-theme .btn.zt-btn-save {
	position: relative;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: .6rem;
	min-width: 250px;
	height: 50px;
	padding: 0 2rem;
	border: 0 !important;
	border-radius: 999px !important;
	overflow: hidden;
	isolation: isolate;
	cursor: pointer;
	color: #fff !important;
	font-size: .92rem;
	font-weight: 700;
	letter-spacing: .07em;
	text-transform: uppercase;
	white-space: nowrap;
	background: linear-gradient(110deg, #1b7ff0 0%, #22b8ee 45%, #12d6a0 100%) !important;
	background-size: 180% 100% !important;
	background-position: 0% 0 !important;
	box-shadow: 0 0 0 1px rgba(140, 210, 255, .45), 0 8px 24px rgba(27, 127, 240, .45), 0 0 30px rgba(34, 184, 238, .35) !important;
	text-shadow: 0 1px 2px rgba(0, 40, 90, .35);
	transition: transform .15s, box-shadow .25s, background-position .6s ease !important;
}
.zt-btn-save svg { width: 19px; height: 19px; filter: drop-shadow(0 0 4px rgba(255, 255, 255, .6)); }
.zt-btn-save::after {
	content: "";
	position: absolute;
	inset: 0;
	z-index: -1;
	background: linear-gradient(100deg, transparent 30%, rgba(255, 255, 255, .35) 50%, transparent 70%);
	transform: translateX(-120%);
	pointer-events: none;
}
.zt-btn-save:hover::after,
.zt-btn-save:focus-visible::after { animation: zt-shimmer 1.1s ease-out 1; }
.zt-btn-save:hover,
.zt-theme .btn.zt-btn-save:hover {
	transform: translateY(-2px);
	background-position: 100% 0 !important;
	box-shadow: 0 0 0 1px rgba(170, 230, 255, .8), 0 12px 30px rgba(27, 127, 240, .55), 0 0 40px rgba(18, 214, 160, .45) !important;
}
.zt-btn-save:active { transform: translateY(0) scale(.98); }
.zt-btn-save:focus-visible { outline: 2px solid #8fe9ff; outline-offset: 3px; }
.zt-btn-save:disabled { opacity: .6; cursor: wait; transform: none; }
html[data-theme="light"] .zt-btn-save,
html[data-theme="light"] .zt-theme .btn.zt-btn-save { box-shadow: 0 8px 20px rgba(22, 112, 216, .35) !important; }
@media (max-width: 575.98px) { .zt-btn-save, .zt-theme .btn.zt-btn-save { min-width: 0; width: 100%; } .zt-form-actions { width: 100%; border-radius: 18px; } }



/* =========================================================
   FORMULÁRIOS FUTURISTAS (.zt-form)
   Ativar: <form data-zt-form data-zt-vazios>  (o js/tema-zenite.js põe a classe .zt-form
   e escolhe sozinho o ícone de cada campo pelo name/placeholder).
   - Campos altos, arredondados, com ícone à esquerda e seta própria nos selects
   - Campos por preencher (.campo-vazio) ficam azul cheio e luminoso
   - Títulos de secção (h6 / .zt-label) com barra ciano
   Forçar um ícone:  data-zt-icon="phone"   ·   sem ícone: data-zt-icon="none"
   Ícones: pin home globe calendar phone user users id hash text briefcase book
           euro door mail car heart rings file clock
   ========================================================= */
.zt-form { --zt-chev-d: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%238fc8ff' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'/%3E%3C/svg%3E"); --zt-chev-l: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%231670d8' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'/%3E%3C/svg%3E"); --zt-chev-w: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23ffffff' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'/%3E%3C/svg%3E"); }

.zt-theme .zt-form .form-control,
.zt-theme .zt-form .form-select {
	min-height: 46px;
	padding: .55rem 1rem;
	border-radius: 12px !important;
	font-size: .95rem;
	color: var(--zt-text);
	background-color: rgba(28, 58, 108, .45) !important;
	border: 1px solid rgba(80, 160, 255, .32) !important;
	box-shadow: inset 0 1px 0 rgba(255, 255, 255, .05), 0 2px 10px rgba(0, 0, 0, .18);
	background-image: var(--zt-ico, none), var(--zt-chev, none), var(--zt-fill, none) !important;
	background-repeat: no-repeat !important;
	background-position: left 1rem center, right 1rem center, 0 0 !important;
	background-size: 18px 18px, 14px 14px, 100% 100% !important;
	transition: background-color .2s, border-color .2s, box-shadow .25s, color .2s;
}
.zt-theme .zt-form textarea.form-control { border-radius: 14px !important; padding: .8rem 1rem; }
.zt-theme .zt-form .form-select { --zt-chev: var(--zt-chev-d); padding-right: 2.6rem; }
.zt-theme .zt-form .form-control::placeholder { color: #8fb0d8; opacity: 1; }
.zt-theme .zt-form .form-control:hover,
.zt-theme .zt-form .form-select:hover { border-color: rgba(100, 180, 255, .55) !important; }
.zt-theme .zt-form .form-control:focus,
.zt-theme .zt-form .form-select:focus {
	background-color: rgba(32, 70, 130, .6) !important;
	border-color: #3fb0ff !important;
	box-shadow: 0 0 0 3px rgba(45, 168, 255, .22), 0 0 18px rgba(45, 168, 255, .35);
}

/* ícone à esquerda */
.zt-theme .zt-form .zt-ico { --zt-ico: var(--zt-ico-d); padding-left: 2.9rem; }

/* tema claro */
html[data-theme="light"] .zt-theme .zt-form .form-control,
html[data-theme="light"] .zt-theme .zt-form .form-select {
	background-color: #ffffff !important;
	border-color: rgba(31, 110, 210, .25) !important;
	box-shadow: 0 2px 8px rgba(20, 60, 130, .06);
}
html[data-theme="light"] .zt-theme .zt-form .form-control::placeholder { color: #6f86a8; }
html[data-theme="light"] .zt-theme .zt-form .form-select { --zt-chev: var(--zt-chev-l); }
html[data-theme="light"] .zt-theme .zt-form .zt-ico { --zt-ico: var(--zt-ico-l); }
html[data-theme="light"] .zt-theme .zt-form .form-control:focus,
html[data-theme="light"] .zt-theme .zt-form .form-select:focus {
	border-color: #1670d8 !important;
	box-shadow: 0 0 0 3px rgba(22, 112, 216, .15), 0 0 14px rgba(22, 112, 216, .2);
}

/* POR PREENCHER: azul cheio e luminoso, texto e ícone brancos */
html .zt-theme .zt-form .form-control.campo-vazio,
html .zt-theme .zt-form .form-select.campo-vazio {
	--zt-fill: linear-gradient(135deg, #1e8fff 0%, #1565d8 100%);
	--zt-ico: var(--zt-ico-w);
	--zt-chev: none;
	color: #ffffff;
	font-weight: 600;
	background-color: #1a7af0 !important;
	border-color: rgba(150, 215, 255, .85) !important;
	box-shadow: 0 0 0 1px rgba(80, 180, 255, .35), 0 0 16px rgba(30, 144, 255, .55), inset 0 1px 0 rgba(255, 255, 255, .25);
}
html .zt-theme .zt-form .form-select.campo-vazio { --zt-chev: var(--zt-chev-w); }
html .zt-theme .zt-form .form-control.campo-vazio::placeholder { color: rgba(255, 255, 255, .92); font-weight: 600; }
html .zt-theme .zt-form .form-control.campo-vazio:focus,
html .zt-theme .zt-form .form-select.campo-vazio:focus {
	border-color: #ffffff !important;
	box-shadow: 0 0 0 3px rgba(120, 200, 255, .35), 0 0 24px rgba(30, 144, 255, .7);
}
html[data-theme="light"] .zt-theme .zt-form .form-control.campo-vazio,
html[data-theme="light"] .zt-theme .zt-form .form-select.campo-vazio {
	box-shadow: 0 0 0 1px rgba(30, 144, 255, .25), 0 4px 14px rgba(30, 120, 230, .35);
}
.zt-theme .zt-form .form-select.campo-vazio option { color: var(--zt-text); background: var(--zt-card-solid); font-weight: 400; }

/* campos de data: ícone do calendário nativo visível */
.zt-theme .zt-form input[type="date"]::-webkit-calendar-picker-indicator { cursor: pointer; opacity: .8; filter: invert(.75) sepia(1) hue-rotate(180deg) saturate(4); }
html[data-theme="light"] .zt-theme .zt-form input[type="date"]::-webkit-calendar-picker-indicator { filter: none; }
.zt-theme .zt-form .campo-vazio[type="date"]::-webkit-calendar-picker-indicator { filter: invert(1); opacity: 1; }

/* números sem setas */
.zt-theme .zt-form input[type="number"]::-webkit-inner-spin-button,
.zt-theme .zt-form input[type="number"]::-webkit-outer-spin-button { -webkit-appearance: none; margin: 0; }
.zt-theme .zt-form input[type="number"] { -moz-appearance: textfield; appearance: textfield; }

/* dois campos juntos (.input-group): parecem um só bloco segmentado */
.zt-theme .zt-form .input-group > .form-control:not(:first-child) { border-top-left-radius: 0 !important; border-bottom-left-radius: 0 !important; }
.zt-theme .zt-form .input-group > .form-control:not(:last-child) { border-top-right-radius: 0 !important; border-bottom-right-radius: 0 !important; }

/* títulos de secção dentro do formulário */
.zt-theme .zt-form .formtitleleft,
.zt-theme .zt-form .zt-label {
	position: relative;
	padding-left: .8rem;
	font-size: .9rem;
	font-weight: 700;
	color: var(--zt-text);
}
.zt-theme .zt-form .formtitleleft::before,
.zt-theme .zt-form .zt-label::before {
	content: "";
	position: absolute;
	left: 0;
	top: .1em;
	bottom: .1em;
	width: 3px;
	border-radius: 3px;
	background: #22d3ee;
	box-shadow: 0 0 8px rgba(34, 211, 238, .8);
}

/* checkboxes */
.zt-theme .zt-form .form-check-input { width: 1.15em; height: 1.15em; border-radius: 5px; border-color: rgba(80, 160, 255, .5); }
.zt-theme .zt-form .form-check-input:checked { background-color: #1e8fff; border-color: #1e8fff; box-shadow: 0 0 10px rgba(30, 144, 255, .55); }

/* ícones (3 cores cada: escuro / claro / branco) */
.zt-ico-pin { --zt-ico-d: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%234fb8ff' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M21 10c0 7-9 13-9 13s-9-6-9-13a9 9 0 0 1 18 0z'/%3E%3Ccircle cx='12' cy='10' r='3'/%3E%3C/svg%3E"); --zt-ico-l: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%231670d8' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M21 10c0 7-9 13-9 13s-9-6-9-13a9 9 0 0 1 18 0z'/%3E%3Ccircle cx='12' cy='10' r='3'/%3E%3C/svg%3E"); --zt-ico-w: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23ffffff' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M21 10c0 7-9 13-9 13s-9-6-9-13a9 9 0 0 1 18 0z'/%3E%3Ccircle cx='12' cy='10' r='3'/%3E%3C/svg%3E"); }
.zt-ico-home { --zt-ico-d: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%234fb8ff' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M3 9l9-7 9 7v11a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2z'/%3E%3Cpolyline points='9 22 9 12 15 12 15 22'/%3E%3C/svg%3E"); --zt-ico-l: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%231670d8' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M3 9l9-7 9 7v11a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2z'/%3E%3Cpolyline points='9 22 9 12 15 12 15 22'/%3E%3C/svg%3E"); --zt-ico-w: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23ffffff' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M3 9l9-7 9 7v11a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2z'/%3E%3Cpolyline points='9 22 9 12 15 12 15 22'/%3E%3C/svg%3E"); }
.zt-ico-globe { --zt-ico-d: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%234fb8ff' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='12' cy='12' r='10'/%3E%3Cline x1='2' y1='12' x2='22' y2='12'/%3E%3Cpath d='M12 2a15.3 15.3 0 0 1 4 10 15.3 15.3 0 0 1-4 10 15.3 15.3 0 0 1-4-10 15.3 15.3 0 0 1 4-10z'/%3E%3C/svg%3E"); --zt-ico-l: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%231670d8' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='12' cy='12' r='10'/%3E%3Cline x1='2' y1='12' x2='22' y2='12'/%3E%3Cpath d='M12 2a15.3 15.3 0 0 1 4 10 15.3 15.3 0 0 1-4 10 15.3 15.3 0 0 1-4-10 15.3 15.3 0 0 1 4-10z'/%3E%3C/svg%3E"); --zt-ico-w: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23ffffff' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='12' cy='12' r='10'/%3E%3Cline x1='2' y1='12' x2='22' y2='12'/%3E%3Cpath d='M12 2a15.3 15.3 0 0 1 4 10 15.3 15.3 0 0 1-4 10 15.3 15.3 0 0 1-4-10 15.3 15.3 0 0 1 4-10z'/%3E%3C/svg%3E"); }
.zt-ico-calendar { --zt-ico-d: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%234fb8ff' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='3' y='4' width='18' height='18' rx='2'/%3E%3Cline x1='16' y1='2' x2='16' y2='6'/%3E%3Cline x1='8' y1='2' x2='8' y2='6'/%3E%3Cline x1='3' y1='10' x2='21' y2='10'/%3E%3C/svg%3E"); --zt-ico-l: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%231670d8' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='3' y='4' width='18' height='18' rx='2'/%3E%3Cline x1='16' y1='2' x2='16' y2='6'/%3E%3Cline x1='8' y1='2' x2='8' y2='6'/%3E%3Cline x1='3' y1='10' x2='21' y2='10'/%3E%3C/svg%3E"); --zt-ico-w: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23ffffff' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='3' y='4' width='18' height='18' rx='2'/%3E%3Cline x1='16' y1='2' x2='16' y2='6'/%3E%3Cline x1='8' y1='2' x2='8' y2='6'/%3E%3Cline x1='3' y1='10' x2='21' y2='10'/%3E%3C/svg%3E"); }
.zt-ico-phone { --zt-ico-d: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%234fb8ff' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M22 16.92v3a2 2 0 0 1-2.18 2 19.79 19.79 0 0 1-8.63-3.07 19.5 19.5 0 0 1-6-6 19.79 19.79 0 0 1-3.07-8.67A2 2 0 0 1 4.11 2h3a2 2 0 0 1 2 1.72 12.84 12.84 0 0 0 .7 2.81 2 2 0 0 1-.45 2.11L8.09 9.91a16 16 0 0 0 6 6l1.27-1.27a2 2 0 0 1 2.11-.45 12.84 12.84 0 0 0 2.81.7A2 2 0 0 1 22 16.92z'/%3E%3C/svg%3E"); --zt-ico-l: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%231670d8' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M22 16.92v3a2 2 0 0 1-2.18 2 19.79 19.79 0 0 1-8.63-3.07 19.5 19.5 0 0 1-6-6 19.79 19.79 0 0 1-3.07-8.67A2 2 0 0 1 4.11 2h3a2 2 0 0 1 2 1.72 12.84 12.84 0 0 0 .7 2.81 2 2 0 0 1-.45 2.11L8.09 9.91a16 16 0 0 0 6 6l1.27-1.27a2 2 0 0 1 2.11-.45 12.84 12.84 0 0 0 2.81.7A2 2 0 0 1 22 16.92z'/%3E%3C/svg%3E"); --zt-ico-w: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23ffffff' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M22 16.92v3a2 2 0 0 1-2.18 2 19.79 19.79 0 0 1-8.63-3.07 19.5 19.5 0 0 1-6-6 19.79 19.79 0 0 1-3.07-8.67A2 2 0 0 1 4.11 2h3a2 2 0 0 1 2 1.72 12.84 12.84 0 0 0 .7 2.81 2 2 0 0 1-.45 2.11L8.09 9.91a16 16 0 0 0 6 6l1.27-1.27a2 2 0 0 1 2.11-.45 12.84 12.84 0 0 0 2.81.7A2 2 0 0 1 22 16.92z'/%3E%3C/svg%3E"); }
.zt-ico-user { --zt-ico-d: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%234fb8ff' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 21v-2a4 4 0 0 0-4-4H8a4 4 0 0 0-4 4v2'/%3E%3Ccircle cx='12' cy='7' r='4'/%3E%3C/svg%3E"); --zt-ico-l: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%231670d8' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 21v-2a4 4 0 0 0-4-4H8a4 4 0 0 0-4 4v2'/%3E%3Ccircle cx='12' cy='7' r='4'/%3E%3C/svg%3E"); --zt-ico-w: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23ffffff' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 21v-2a4 4 0 0 0-4-4H8a4 4 0 0 0-4 4v2'/%3E%3Ccircle cx='12' cy='7' r='4'/%3E%3C/svg%3E"); }
.zt-ico-users { --zt-ico-d: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%234fb8ff' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M17 21v-2a4 4 0 0 0-4-4H5a4 4 0 0 0-4 4v2'/%3E%3Ccircle cx='9' cy='7' r='4'/%3E%3Cpath d='M23 21v-2a4 4 0 0 0-3-3.87'/%3E%3Cpath d='M16 3.13a4 4 0 0 1 0 7.75'/%3E%3C/svg%3E"); --zt-ico-l: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%231670d8' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M17 21v-2a4 4 0 0 0-4-4H5a4 4 0 0 0-4 4v2'/%3E%3Ccircle cx='9' cy='7' r='4'/%3E%3Cpath d='M23 21v-2a4 4 0 0 0-3-3.87'/%3E%3Cpath d='M16 3.13a4 4 0 0 1 0 7.75'/%3E%3C/svg%3E"); --zt-ico-w: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23ffffff' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M17 21v-2a4 4 0 0 0-4-4H5a4 4 0 0 0-4 4v2'/%3E%3Ccircle cx='9' cy='7' r='4'/%3E%3Cpath d='M23 21v-2a4 4 0 0 0-3-3.87'/%3E%3Cpath d='M16 3.13a4 4 0 0 1 0 7.75'/%3E%3C/svg%3E"); }
.zt-ico-id { --zt-ico-d: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%234fb8ff' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='2' y='4' width='20' height='16' rx='2'/%3E%3Ccircle cx='8' cy='11' r='2.2'/%3E%3Cpath d='M5 16.5c.6-1.6 1.7-2.4 3-2.4s2.4.8 3 2.4'/%3E%3Cline x1='14' y1='10' x2='19' y2='10'/%3E%3Cline x1='14' y1='14' x2='18' y2='14'/%3E%3C/svg%3E"); --zt-ico-l: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%231670d8' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='2' y='4' width='20' height='16' rx='2'/%3E%3Ccircle cx='8' cy='11' r='2.2'/%3E%3Cpath d='M5 16.5c.6-1.6 1.7-2.4 3-2.4s2.4.8 3 2.4'/%3E%3Cline x1='14' y1='10' x2='19' y2='10'/%3E%3Cline x1='14' y1='14' x2='18' y2='14'/%3E%3C/svg%3E"); --zt-ico-w: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23ffffff' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='2' y='4' width='20' height='16' rx='2'/%3E%3Ccircle cx='8' cy='11' r='2.2'/%3E%3Cpath d='M5 16.5c.6-1.6 1.7-2.4 3-2.4s2.4.8 3 2.4'/%3E%3Cline x1='14' y1='10' x2='19' y2='10'/%3E%3Cline x1='14' y1='14' x2='18' y2='14'/%3E%3C/svg%3E"); }
.zt-ico-hash { --zt-ico-d: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%234fb8ff' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cline x1='4' y1='9' x2='20' y2='9'/%3E%3Cline x1='4' y1='15' x2='20' y2='15'/%3E%3Cline x1='10' y1='3' x2='8' y2='21'/%3E%3Cline x1='16' y1='3' x2='14' y2='21'/%3E%3C/svg%3E"); --zt-ico-l: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%231670d8' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cline x1='4' y1='9' x2='20' y2='9'/%3E%3Cline x1='4' y1='15' x2='20' y2='15'/%3E%3Cline x1='10' y1='3' x2='8' y2='21'/%3E%3Cline x1='16' y1='3' x2='14' y2='21'/%3E%3C/svg%3E"); --zt-ico-w: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23ffffff' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cline x1='4' y1='9' x2='20' y2='9'/%3E%3Cline x1='4' y1='15' x2='20' y2='15'/%3E%3Cline x1='10' y1='3' x2='8' y2='21'/%3E%3Cline x1='16' y1='3' x2='14' y2='21'/%3E%3C/svg%3E"); }
.zt-ico-text { --zt-ico-d: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%234fb8ff' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='3' y='4' width='18' height='16' rx='2'/%3E%3Cline x1='7' y1='9' x2='17' y2='9'/%3E%3Cline x1='7' y1='13' x2='17' y2='13'/%3E%3Cline x1='7' y1='17' x2='13' y2='17'/%3E%3C/svg%3E"); --zt-ico-l: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%231670d8' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='3' y='4' width='18' height='16' rx='2'/%3E%3Cline x1='7' y1='9' x2='17' y2='9'/%3E%3Cline x1='7' y1='13' x2='17' y2='13'/%3E%3Cline x1='7' y1='17' x2='13' y2='17'/%3E%3C/svg%3E"); --zt-ico-w: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23ffffff' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='3' y='4' width='18' height='16' rx='2'/%3E%3Cline x1='7' y1='9' x2='17' y2='9'/%3E%3Cline x1='7' y1='13' x2='17' y2='13'/%3E%3Cline x1='7' y1='17' x2='13' y2='17'/%3E%3C/svg%3E"); }
.zt-ico-briefcase { --zt-ico-d: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%234fb8ff' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='2' y='7' width='20' height='14' rx='2'/%3E%3Cpath d='M16 21V5a2 2 0 0 0-2-2h-4a2 2 0 0 0-2 2v16'/%3E%3C/svg%3E"); --zt-ico-l: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%231670d8' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='2' y='7' width='20' height='14' rx='2'/%3E%3Cpath d='M16 21V5a2 2 0 0 0-2-2h-4a2 2 0 0 0-2 2v16'/%3E%3C/svg%3E"); --zt-ico-w: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23ffffff' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='2' y='7' width='20' height='14' rx='2'/%3E%3Cpath d='M16 21V5a2 2 0 0 0-2-2h-4a2 2 0 0 0-2 2v16'/%3E%3C/svg%3E"); }
.zt-ico-book { --zt-ico-d: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%234fb8ff' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M22 10L12 5 2 10l10 5 10-5z'/%3E%3Cpath d='M6 12v5c3 2 9 2 12 0v-5'/%3E%3C/svg%3E"); --zt-ico-l: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%231670d8' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M22 10L12 5 2 10l10 5 10-5z'/%3E%3Cpath d='M6 12v5c3 2 9 2 12 0v-5'/%3E%3C/svg%3E"); --zt-ico-w: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23ffffff' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M22 10L12 5 2 10l10 5 10-5z'/%3E%3Cpath d='M6 12v5c3 2 9 2 12 0v-5'/%3E%3C/svg%3E"); }
.zt-ico-euro { --zt-ico-d: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%234fb8ff' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M18 7a7 7 0 1 0 0 10'/%3E%3Cline x1='4' y1='10' x2='13' y2='10'/%3E%3Cline x1='4' y1='14' x2='13' y2='14'/%3E%3C/svg%3E"); --zt-ico-l: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%231670d8' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M18 7a7 7 0 1 0 0 10'/%3E%3Cline x1='4' y1='10' x2='13' y2='10'/%3E%3Cline x1='4' y1='14' x2='13' y2='14'/%3E%3C/svg%3E"); --zt-ico-w: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23ffffff' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M18 7a7 7 0 1 0 0 10'/%3E%3Cline x1='4' y1='10' x2='13' y2='10'/%3E%3Cline x1='4' y1='14' x2='13' y2='14'/%3E%3C/svg%3E"); }
.zt-ico-door { --zt-ico-d: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%234fb8ff' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M3 21h18'/%3E%3Cpath d='M6 21V4a1 1 0 0 1 1-1h10a1 1 0 0 1 1 1v17'/%3E%3Ccircle cx='14.5' cy='12' r='1'/%3E%3C/svg%3E"); --zt-ico-l: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%231670d8' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M3 21h18'/%3E%3Cpath d='M6 21V4a1 1 0 0 1 1-1h10a1 1 0 0 1 1 1v17'/%3E%3Ccircle cx='14.5' cy='12' r='1'/%3E%3C/svg%3E"); --zt-ico-w: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23ffffff' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M3 21h18'/%3E%3Cpath d='M6 21V4a1 1 0 0 1 1-1h10a1 1 0 0 1 1 1v17'/%3E%3Ccircle cx='14.5' cy='12' r='1'/%3E%3C/svg%3E"); }
.zt-ico-mail { --zt-ico-d: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%234fb8ff' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M4 4h16c1.1 0 2 .9 2 2v12c0 1.1-.9 2-2 2H4c-1.1 0-2-.9-2-2V6c0-1.1.9-2 2-2z'/%3E%3Cpolyline points='22%2C6 12%2C13 2%2C6'/%3E%3C/svg%3E"); --zt-ico-l: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%231670d8' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M4 4h16c1.1 0 2 .9 2 2v12c0 1.1-.9 2-2 2H4c-1.1 0-2-.9-2-2V6c0-1.1.9-2 2-2z'/%3E%3Cpolyline points='22%2C6 12%2C13 2%2C6'/%3E%3C/svg%3E"); --zt-ico-w: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23ffffff' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M4 4h16c1.1 0 2 .9 2 2v12c0 1.1-.9 2-2 2H4c-1.1 0-2-.9-2-2V6c0-1.1.9-2 2-2z'/%3E%3Cpolyline points='22%2C6 12%2C13 2%2C6'/%3E%3C/svg%3E"); }
.zt-ico-car { --zt-ico-d: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%234fb8ff' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 17h14v-5l-2-5H7l-2 5z'/%3E%3Cline x1='5' y1='12' x2='19' y2='12'/%3E%3Ccircle cx='7.5' cy='17.5' r='1.8'/%3E%3Ccircle cx='16.5' cy='17.5' r='1.8'/%3E%3C/svg%3E"); --zt-ico-l: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%231670d8' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 17h14v-5l-2-5H7l-2 5z'/%3E%3Cline x1='5' y1='12' x2='19' y2='12'/%3E%3Ccircle cx='7.5' cy='17.5' r='1.8'/%3E%3Ccircle cx='16.5' cy='17.5' r='1.8'/%3E%3C/svg%3E"); --zt-ico-w: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23ffffff' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 17h14v-5l-2-5H7l-2 5z'/%3E%3Cline x1='5' y1='12' x2='19' y2='12'/%3E%3Ccircle cx='7.5' cy='17.5' r='1.8'/%3E%3Ccircle cx='16.5' cy='17.5' r='1.8'/%3E%3C/svg%3E"); }
.zt-ico-heart { --zt-ico-d: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%234fb8ff' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20.84 4.61a5.5 5.5 0 0 0-7.78 0L12 5.67l-1.06-1.06a5.5 5.5 0 0 0-7.78 7.78l1.06 1.06L12 21.23l7.78-7.78 1.06-1.06a5.5 5.5 0 0 0 0-7.78z'/%3E%3C/svg%3E"); --zt-ico-l: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%231670d8' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20.84 4.61a5.5 5.5 0 0 0-7.78 0L12 5.67l-1.06-1.06a5.5 5.5 0 0 0-7.78 7.78l1.06 1.06L12 21.23l7.78-7.78 1.06-1.06a5.5 5.5 0 0 0 0-7.78z'/%3E%3C/svg%3E"); --zt-ico-w: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23ffffff' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20.84 4.61a5.5 5.5 0 0 0-7.78 0L12 5.67l-1.06-1.06a5.5 5.5 0 0 0-7.78 7.78l1.06 1.06L12 21.23l7.78-7.78 1.06-1.06a5.5 5.5 0 0 0 0-7.78z'/%3E%3C/svg%3E"); }
.zt-ico-rings { --zt-ico-d: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%234fb8ff' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='9' cy='14' r='6'/%3E%3Ccircle cx='15' cy='14' r='6'/%3E%3Cpath d='M10 5l2-2 2 2'/%3E%3C/svg%3E"); --zt-ico-l: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%231670d8' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='9' cy='14' r='6'/%3E%3Ccircle cx='15' cy='14' r='6'/%3E%3Cpath d='M10 5l2-2 2 2'/%3E%3C/svg%3E"); --zt-ico-w: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23ffffff' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='9' cy='14' r='6'/%3E%3Ccircle cx='15' cy='14' r='6'/%3E%3Cpath d='M10 5l2-2 2 2'/%3E%3C/svg%3E"); }
.zt-ico-file { --zt-ico-d: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%234fb8ff' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M14 2H6a2 2 0 0 0-2 2v16a2 2 0 0 0 2 2h12a2 2 0 0 0 2-2V8z'/%3E%3Cpolyline points='14 2 14 8 20 8'/%3E%3Cline x1='8' y1='13' x2='16' y2='13'/%3E%3Cline x1='8' y1='17' x2='13' y2='17'/%3E%3C/svg%3E"); --zt-ico-l: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%231670d8' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M14 2H6a2 2 0 0 0-2 2v16a2 2 0 0 0 2 2h12a2 2 0 0 0 2-2V8z'/%3E%3Cpolyline points='14 2 14 8 20 8'/%3E%3Cline x1='8' y1='13' x2='16' y2='13'/%3E%3Cline x1='8' y1='17' x2='13' y2='17'/%3E%3C/svg%3E"); --zt-ico-w: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23ffffff' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M14 2H6a2 2 0 0 0-2 2v16a2 2 0 0 0 2 2h12a2 2 0 0 0 2-2V8z'/%3E%3Cpolyline points='14 2 14 8 20 8'/%3E%3Cline x1='8' y1='13' x2='16' y2='13'/%3E%3Cline x1='8' y1='17' x2='13' y2='17'/%3E%3C/svg%3E"); }
.zt-ico-clock { --zt-ico-d: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%234fb8ff' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='12' cy='12' r='10'/%3E%3Cpolyline points='12 6 12 12 16 14'/%3E%3C/svg%3E"); --zt-ico-l: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%231670d8' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='12' cy='12' r='10'/%3E%3Cpolyline points='12 6 12 12 16 14'/%3E%3C/svg%3E"); --zt-ico-w: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23ffffff' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='12' cy='12' r='10'/%3E%3Cpolyline points='12 6 12 12 16 14'/%3E%3C/svg%3E"); }


/* links com aspeto de botão néon */
a.zt-neon, a.zt-neon:hover { text-decoration: none !important; }
.zt-theme a.zt-neon { color: var(--t) !important; }
.zt-theme a.zt-neon.active, .zt-theme a.zt-neon:hover { color: #fff !important; }
html[data-theme="light"] .zt-theme a.zt-neon:not(.active):not(:hover) { color: var(--tl) !important; }
.zt-theme a.zt-neon:hover { background: linear-gradient(135deg, var(--b1), var(--b2)); border-color: transparent; }

/* links com aspeto de botão de ação (.zt-ibtn): mantêm a cor da variante (ex.: lápis amarelo .zt-v-manual) */
a.zt-ibtn, a.zt-ibtn:hover { text-decoration: none !important; }
.zt-theme a.zt-ibtn { color: var(--t) !important; }
.zt-theme a.zt-ibtn:hover { color: #fff !important; }
html[data-theme="light"] .zt-theme a.zt-ibtn:not(:hover) { color: var(--tl) !important; }


/* =========================================================
   CABEÇALHO DE PÁGINA COM ÍCONE
   <div class="zt-page-head">
     <span class="zt-page-head-ico"><i data-feather="folder"></i></span>
     <h1>Documentos de <span>Nome</span></h1>
     (opcional: botões à direita com .ms-auto)
   </div>
   ========================================================= */
.zt-page-head {
	display: flex;
	align-items: center;
	flex-wrap: wrap;
	gap: .9rem 1rem;
	margin: .4rem 0 1.4rem;
}
.zt-page-head-ico {
	flex: 0 0 auto;
	display: grid;
	place-items: center;
	width: 52px;
	height: 52px;
	border-radius: 14px;
	color: #6fd0ff;
	background: linear-gradient(160deg, rgba(34, 120, 255, .28), rgba(10, 40, 90, .5));
	border: 1px solid rgba(80, 180, 255, .55);
	box-shadow: 0 0 18px rgba(45, 168, 255, .35), inset 0 1px 0 rgba(255, 255, 255, .12);
}
.zt-page-head-ico svg, .zt-page-head-ico i[data-feather] { width: 26px; height: 26px; }
.zt-page-head h1 { margin: 0; font-size: 1.45rem; font-weight: 700; color: var(--zt-text); }
.zt-page-head h1 span { color: var(--zt-accent-2); }
.zt-page-head::after {
	content: "";
	order: 1;
	flex: 1 1 120px;
	height: 1px;
	background: linear-gradient(90deg, rgba(var(--zt-glow-rgb), .55), transparent);
}
.zt-page-head > .ms-auto { order: 2; margin-left: 0 !important; }
html[data-theme="light"] .zt-page-head-ico { color: #1670d8; background: #e8f2ff; border-color: rgba(22, 112, 216, .35); box-shadow: 0 4px 14px rgba(22, 112, 216, .18); }
html[data-theme="light"] .zt-page-head h1 span { color: var(--zt-accent); }


/* =========================================================
   CARTÕES DE DOCUMENTOS (upload de PDFs)
   .zt-doc (+ .is-ok | .is-expiring | .is-expired | .is-empty)
     .zt-doc-head   > .zt-doc-ico + .zt-doc-title + .zt-doc-estado
     .zt-drop       zona de arrastar (+ .has-doc)  > .zt-drop-ring/.zt-drop-cloud + .zt-drop-ok + .zt-drop-sub
     .zt-doc-actions > .zt-dbtn (.zt-dbtn-ico só ícone, .zt-dbtn-badge contador) + cor .zt-v-*
     .zt-doc-dates  > .zt-doc-date (label + input; + .is-expirado / .is-a-expirar)
   .zt-doc-add      cartão "Adicionar documento"
   ========================================================= */
.zt-theme .zt-doc {
	--c: 45, 168, 255;
	height: 100%;
	margin-bottom: 0;
	border-radius: 18px;
	border-color: rgba(var(--c), .38);
	background: linear-gradient(165deg, rgba(var(--c), .10) 0%, rgba(13, 30, 62, .85) 45%, rgba(7, 18, 40, .95) 100%);
}
.zt-theme .zt-doc.is-ok { --c: 45, 168, 255; }
.zt-theme .zt-doc.is-expiring { --c: 255, 176, 32; }
.zt-theme .zt-doc.is-expired { --c: 255, 77, 109; }
.zt-theme .zt-doc.is-empty { --c: 70, 130, 220; border-color: rgba(var(--c), .28); }
html[data-theme="light"] .zt-theme .zt-doc { background: linear-gradient(165deg, rgba(var(--c), .08) 0%, #ffffff 55%); }
.zt-theme .zt-doc .card-body { display: flex; flex-direction: column; gap: .9rem; padding: 1.1rem 1.15rem 1rem; }

.zt-doc-head { display: flex; align-items: center; gap: .75rem; min-width: 0; }
.zt-doc-ico {
	flex: 0 0 auto;
	display: grid;
	place-items: center;
	width: 40px;
	height: 40px;
	border-radius: 12px;
	color: #6fd0ff;
	background: rgba(45, 168, 255, .14);
	border: 1px solid rgba(45, 168, 255, .3);
	box-shadow: 0 0 14px rgba(45, 168, 255, .2);
}
.zt-doc-ico svg { width: 21px; height: 21px; }
html[data-theme="light"] .zt-doc-ico { color: #1670d8; background: #eaf3ff; }
.zt-theme .zt-doc-title {
	flex: 1 1 auto;
	min-width: 0;
	margin: 0;
	font-size: 1rem;
	font-weight: 700;
	color: var(--zt-text);
	display: flex;
	align-items: center;
	gap: .35rem;
}
.zt-doc-title .titulo-documento { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.zt-doc-title .icon-edit-renome { flex: 0 0 auto; width: 15px; height: 15px; color: var(--zt-accent); cursor: pointer; opacity: .75; }
.zt-doc-title .icon-edit-renome:hover { opacity: 1; }
.zt-doc-estado { flex: 0 0 auto; display: grid; place-items: center; }
.zt-doc-estado svg { width: 22px; height: 22px; }
.zt-doc-estado.is-ok { color: #12e0a0; filter: drop-shadow(0 0 6px rgba(18, 224, 160, .65)); }
.zt-doc-estado.is-expiring { color: #ffb020; filter: drop-shadow(0 0 6px rgba(255, 176, 32, .65)); }
.zt-doc-estado.is-expired { color: #ff4d6d; filter: drop-shadow(0 0 6px rgba(255, 77, 109, .65)); }

/* zona de arrastar */
.zt-theme .zt-drop {
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	gap: .2rem;
	min-height: 132px;
	margin: 0 !important;
	padding: .9rem .75rem;
	text-align: center;
	cursor: pointer;
	border-radius: 14px;
	border: 1.5px dashed rgba(80, 170, 255, .45) !important;
	background: rgba(45, 168, 255, .05) !important;
	color: var(--zt-muted);
	transition: border-color .2s, background .2s, box-shadow .2s;
}
.zt-theme .zt-drop:hover,
.zt-theme .zt-drop.dragover,
.zt-theme .zt-drop.dz-drag-hover,
.zt-theme .zt-drop.drag-over {
	border-color: #3fb0ff !important;
	background: rgba(45, 168, 255, .12) !important;
	box-shadow: 0 0 18px rgba(45, 168, 255, .25), inset 0 0 18px rgba(45, 168, 255, .08);
}
.zt-theme .zt-drop.has-doc { border-style: solid !important; border-color: transparent !important; background: transparent !important; min-height: 0; padding: .3rem .5rem .1rem; }
.zt-theme .zt-drop.has-doc:hover { background: rgba(18, 224, 160, .06) !important; border-color: rgba(18, 224, 160, .35) !important; box-shadow: none; }
.zt-drop-cloud { width: 40px !important; height: 40px !important; color: #4fb8ff; filter: drop-shadow(0 0 8px rgba(45, 168, 255, .55)); }
html[data-theme="light"] .zt-drop-cloud { color: #1670d8; filter: none; }
.zt-drop-ring {
	display: grid;
	place-items: center;
	width: 52px;
	height: 52px;
	margin-bottom: .25rem;
	border-radius: 50%;
	color: #12e0a0;
	border: 2.5px solid rgba(18, 224, 160, .85);
	box-shadow: 0 0 16px rgba(18, 224, 160, .45), inset 0 0 10px rgba(18, 224, 160, .2);
}
.zt-drop-ring svg { width: 26px; height: 26px; stroke-width: 3; }
.zt-doc.is-expiring .zt-drop-ring { color: #ffb020; border-color: rgba(255, 176, 32, .85); box-shadow: 0 0 16px rgba(255, 176, 32, .45); }
.zt-doc.is-expired .zt-drop-ring { color: #ff4d6d; border-color: rgba(255, 77, 109, .85); box-shadow: 0 0 16px rgba(255, 77, 109, .45); }
.zt-theme .zt-drop-ok { margin: 0; font-size: .9rem; font-weight: 700; color: #12e0a0; }
.zt-theme .zt-doc.is-expiring .zt-drop-ok { color: #ffb020; }
.zt-theme .zt-doc.is-expired .zt-drop-ok { color: #ff4d6d; }
html[data-theme="light"] .zt-theme .zt-drop-ok { color: #0a9f6a; }
.zt-theme .zt-drop-sub { margin: 0; font-size: .78rem; line-height: 1.45; color: var(--zt-muted); }

/* botões dos cartões (neon pequeno; .zt-v-* define a cor) */
.zt-doc-actions { display: flex; flex-wrap: wrap; justify-content: center; gap: .45rem; }
.zt-dbtn,
.zt-theme .btn.zt-dbtn {
	position: relative;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: .35rem;
	height: 32px;
	padding: 0 .8rem;
	border-radius: 10px !important;
	font-size: .78rem;
	font-weight: 600;
	color: var(--t) !important;
	background: rgba(var(--c), .1) !important;
	border: 1px solid rgba(var(--c), .6) !important;
	box-shadow: 0 0 8px rgba(var(--c), .18) !important;
	text-decoration: none !important;
	transition: background .2s, color .2s, box-shadow .2s, transform .15s;
}
.zt-dbtn svg { width: 15px; height: 15px; }
.zt-dbtn-ico, .zt-theme .btn.zt-dbtn-ico { width: 32px; padding: 0; }
.zt-dbtn:hover,
.zt-theme .btn.zt-dbtn:hover {
	color: #fff !important;
	background: linear-gradient(135deg, var(--b1), var(--b2)) !important;
	border-color: transparent !important;
	box-shadow: 0 0 14px rgba(var(--c), .5) !important;
	transform: translateY(-1px);
}
html[data-theme="light"] .zt-dbtn:not(:hover),
html[data-theme="light"] .zt-theme .btn.zt-dbtn:not(:hover) { color: var(--tl) !important; box-shadow: none !important; }
.zt-dbtn-badge {
	position: absolute;
	top: -7px;
	right: -7px;
	min-width: 18px;
	height: 18px;
	padding: 0 4px;
	border-radius: 999px;
	display: grid;
	place-items: center;
	font-size: .66rem;
	font-weight: 700;
	color: #fff;
	background: linear-gradient(135deg, #2f9bff, #1560c8);
	box-shadow: 0 0 8px rgba(45, 168, 255, .7);
	pointer-events: none;
}

/* datas */
.zt-doc-dates { display: flex; flex-direction: column; gap: .45rem; margin-top: auto; padding-top: .8rem; border-top: 1px solid var(--zt-border-soft); }
.zt-doc-date { display: grid; grid-template-columns: minmax(90px, .9fr) 1.3fr; align-items: center; gap: .3rem .6rem; }
.zt-doc-date label { margin: 0; font-size: .78rem; color: var(--zt-muted); }
.zt-theme .zt-doc-date .form-control {
	height: 34px;
	padding: .25rem .7rem;
	border-radius: 10px;
	font-size: .82rem;
	background-color: rgba(28, 58, 108, .4);
	border-color: rgba(80, 160, 255, .25);
}
.zt-theme .zt-doc-date .form-control:disabled { opacity: .45; }
.zt-theme .zt-doc-date input[type="date"]::-webkit-calendar-picker-indicator { cursor: pointer; filter: invert(.7) sepia(1) hue-rotate(180deg) saturate(3); }
html[data-theme="light"] .zt-theme .zt-doc-date .form-control { background-color: #f3f7fd; }
html[data-theme="light"] .zt-theme .zt-doc-date input[type="date"]::-webkit-calendar-picker-indicator { filter: none; }
.zt-theme .zt-doc-date.is-expirado .form-control { border-color: rgba(255, 77, 109, .75); color: #ff8a9e; box-shadow: 0 0 8px rgba(255, 77, 109, .25); }
.zt-theme .zt-doc-date.is-a-expirar .form-control { border-color: rgba(255, 176, 32, .75); color: #ffc65a; }
html[data-theme="light"] .zt-theme .zt-doc-date.is-expirado .form-control { color: #c4001a; }
html[data-theme="light"] .zt-theme .zt-doc-date.is-a-expirar .form-control { color: #a85f00; }
.zt-doc-date .fam-dica { grid-column: 1 / -1; display: flex; gap: .35rem; font-size: .72rem; color: var(--zt-muted) !important; }
.zt-doc-date .fam-dica:not(:empty)::before { content: "i"; flex: 0 0 auto; display: grid; place-items: center; width: 14px; height: 14px; border-radius: 50%; font-size: .62rem; font-weight: 800; color: #fff; background: #2d8cff; }

/* cartão "Adicionar documento" */
.zt-theme .zt-doc-add {
	height: 100%;
	min-height: 280px;
	margin-bottom: 0;
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	gap: .35rem;
	cursor: pointer;
	text-align: center;
	border-radius: 18px;
	border: 1.5px dashed rgba(80, 170, 255, .45);
	background: rgba(45, 168, 255, .04);
	box-shadow: none;
	transition: border-color .2s, background .2s, box-shadow .2s, transform .2s;
}
.zt-theme .zt-doc-add:hover,
.zt-theme .zt-doc-add:focus-visible { border-color: #3fb0ff; background: rgba(45, 168, 255, .1); box-shadow: 0 0 24px rgba(45, 168, 255, .25); outline: none; }
.zt-doc-add-ico {
	display: grid;
	place-items: center;
	width: 60px;
	height: 60px;
	margin-bottom: .4rem;
	border-radius: 50%;
	color: #fff;
	background: linear-gradient(135deg, #2f9bff, #1560c8);
	box-shadow: 0 0 22px rgba(45, 168, 255, .55);
	transition: transform .3s var(--zt-spring, ease);
}
.zt-doc-add:hover .zt-doc-add-ico { transform: rotate(90deg) scale(1.06); }
.zt-doc-add-ico svg { width: 28px; height: 28px; stroke-width: 2.6; }
.zt-theme .zt-doc-add h5 { margin: 0; font-weight: 700; color: var(--zt-text); }
.zt-theme .zt-doc-add p { margin: 0; font-size: .8rem; color: var(--zt-muted); }

/* lista de tipos no modal "Adicionar documento" */
.zt-tipos-list { display: grid; grid-template-columns: repeat(auto-fill, minmax(190px, 1fr)); gap: .5rem; max-height: 60vh; overflow-y: auto; padding: 2px; }
.zt-theme .zt-tipos-list .tipo-select-item {
	display: flex;
	align-items: center;
	gap: .6rem;
	margin: 0;
	padding: .65rem .8rem;
	cursor: pointer;
	border-radius: 12px;
	border: 1px solid var(--zt-border);
	background: var(--zt-input);
	color: var(--zt-text);
	transition: background .15s, border-color .15s, transform .15s, box-shadow .15s;
}
.zt-tipos-list .tipo-select-item svg { flex: 0 0 auto; width: 18px; height: 18px; color: var(--zt-accent); }
.zt-tipos-list .tipo-select-item strong { font-weight: 600; font-size: .88rem; }
.zt-theme .zt-tipos-list .tipo-select-item:hover { border-color: var(--zt-accent); background: var(--zt-hover); transform: translateY(-1px); box-shadow: 0 0 12px rgba(45, 168, 255, .25); }

/* histórico de versões (modal) */
.zt-theme .hist-row-atual > * { background: rgba(18, 224, 160, .08) !important; }
.zt-theme .hist-row-expirado td.hist-validade { color: #ff6b84 !important; font-weight: 600; }


/* =========================================================
   CABEÇALHO DE CARTÃO COM ÍCONE
   <div class="zt-card-head">
     <span class="zt-card-head-ico"><i data-feather="users"></i></span>
     <h5 class="card-title">Trabalhadores</h5>
   </div>
   ========================================================= */
.zt-card-head { display: flex; align-items: center; gap: .85rem; margin-bottom: 1.1rem; }
.zt-card-head-ico {
	flex: 0 0 auto;
	display: grid;
	place-items: center;
	width: 44px;
	height: 44px;
	border-radius: 13px;
	color: #6fd0ff;
	background: linear-gradient(160deg, rgba(34, 120, 255, .28), rgba(10, 40, 90, .5));
	border: 1px solid rgba(80, 180, 255, .5);
	box-shadow: 0 0 16px rgba(45, 168, 255, .3), inset 0 1px 0 rgba(255, 255, 255, .1);
}
.zt-card-head-ico svg { width: 22px; height: 22px; }
.zt-theme .zt-card-head .card-title { margin: 0; font-size: 1.1rem; font-weight: 700; color: var(--zt-text); white-space: nowrap; }
.zt-card-head::after { content: ""; flex: 1 1 30px; height: 1px; background: linear-gradient(90deg, rgba(var(--zt-glow-rgb), .55), transparent); }
html[data-theme="light"] .zt-card-head-ico { color: #1670d8; background: #e8f2ff; border-color: rgba(22, 112, 216, .3); box-shadow: 0 4px 12px rgba(22, 112, 216, .15); }


/* =========================================================
   CARTÃO COM GRÁFICO EM ANEL (donut) + TOTAL + LEGENDA
   <div class="card zt-donut-card"><div class="card-body">
     (.zt-card-head)
     <div class="zt-donut">
       <canvas id="x"></canvas>
       <div class="zt-donut-center"><strong id="xTotal" data-zt-count>0</strong><span>Total</span></div>
     </div>
     <ul class="zt-legend" id="xLegenda"></ul>
   </div></div>
   JS: ZeniteTheme.donut(canvas, [{label, valor}], { total: el, legenda: ul })
   ========================================================= */
.zt-theme .zt-donut-card { border-radius: 20px; }
.zt-theme .zt-donut-card .card-body { padding: 1.2rem 1.2rem 1rem; }
.zt-donut { position: relative; height: 210px; max-width: 250px; margin: .2rem auto 1.1rem; }
.zt-donut::before {
	content: "";
	position: absolute;
	inset: 12%;
	border-radius: 50%;
	background: radial-gradient(circle, rgba(var(--zt-glow-rgb), .16) 0%, transparent 70%);
	pointer-events: none;
}
.zt-donut canvas {
	position: relative;
	z-index: 1;
	/* brilho à volta do anel inteiro (uma só sombra; sem linhas entre as fatias) */
	filter: drop-shadow(0 0 10px rgba(60, 180, 255, .4));
}
html[data-theme="light"] .zt-donut canvas { filter: drop-shadow(0 2px 8px rgba(22, 112, 216, .18)); }
html.zt-lite .zt-donut canvas { filter: none; }
.zt-donut-center {
	position: absolute;
	inset: 0;
	z-index: 2;
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	pointer-events: none;
}
.zt-donut-center strong { font-size: 2.3rem; font-weight: 800; line-height: 1; color: var(--zt-text); font-variant-numeric: tabular-nums; text-shadow: 0 0 18px rgba(var(--zt-glow-rgb), .35); }
.zt-donut-center span { margin-top: .3rem; font-size: .85rem; color: var(--zt-muted); }

.zt-legend { list-style: none; margin: 0; padding: 0; }
.zt-legend li {
	display: flex;
	align-items: center;
	gap: .7rem;
	padding: .55rem .35rem;
	border-bottom: 1px solid var(--zt-border-soft);
	border-radius: 8px;
	font-size: .9rem;
	color: var(--zt-text);
	transition: background .15s;
}
.zt-legend li:last-child { border-bottom: 0; }
.zt-legend li:hover { background: var(--zt-hover); }
.zt-legend-dot { flex: 0 0 auto; width: 11px; height: 11px; border-radius: 50%; background: var(--cor); box-shadow: 0 0 8px var(--cor); }
.zt-legend-label { flex: 1 1 auto; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.zt-legend-val { flex: 0 0 auto; font-weight: 700; font-variant-numeric: tabular-nums; }
html[data-theme="light"] .zt-legend-dot { box-shadow: none; }

/* botões néon com ícone: o ícone substitui a bolinha */
.zt-neon:has(svg)::before, .zt-neon:has(i[data-feather])::before { display: none; }
.zt-neon svg { width: 15px; height: 15px; flex: 0 0 auto; }
.zt-theme .sidebar-link svg.feather { width: 18px; height: 18px; }


/* =========================================================
   ÍCONES FEATHER DESENHADOS LOGO À PRIMEIRA
   Os ícones <i data-feather="..."> só eram desenhados pelo app.js (feather.replace()),
   que na primeira visita demora a descarregar: a página aparecia sem ícones e depois
   "recarregava" quando eles surgiam todos de uma vez.
   Aqui cada ícone é desenhado pelo CSS (máscara na cor do texto) logo no primeiro
   instante; quando o feather.replace() o troca pelo SVG final, fica igual e no mesmo sítio.
   Funciona em todas as páginas e nos includes, sem mudar HTML.
   Para um ícone novo que não esteja na lista: acrescentar uma linha igual às de baixo.
   ========================================================= */
.zt-theme i[data-feather] {
	display: inline-block;
	width: 18px;
	height: 18px;
	vertical-align: middle;
	flex: 0 0 auto;
	background-color: currentColor;
	-webkit-mask: var(--zt-fi, linear-gradient(transparent, transparent)) center / contain no-repeat;   /* sem regra: fica invisível (só reserva o espaço) */
	mask: var(--zt-fi, linear-gradient(transparent, transparent)) center / contain no-repeat;
}
i[data-feather="activity"] { --zt-fi: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='22 12 18 12 15 21 9 3 6 12 2 12'/%3E%3C/svg%3E"); }
i[data-feather="alert-circle"] { --zt-fi: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='12' cy='12' r='10'/%3E%3Cline x1='12' y1='8' x2='12' y2='12'/%3E%3Cline x1='12' y1='16' x2='12.01' y2='16'/%3E%3C/svg%3E"); }
i[data-feather="alert-octagon"] { --zt-fi: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolygon points='7.86 2 16.14 2 22 7.86 22 16.14 16.14 22 7.86 22 2 16.14 2 7.86 7.86 2'/%3E%3Cline x1='12' y1='8' x2='12' y2='12'/%3E%3Cline x1='12' y1='16' x2='12.01' y2='16'/%3E%3C/svg%3E"); }
i[data-feather="alert-triangle"] { --zt-fi: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M10.29 3.86L1.82 18a2 2 0 0 0 1.71 3h16.94a2 2 0 0 0 1.71-3L13.71 3.86a2 2 0 0 0-3.42 0z'/%3E%3Cline x1='12' y1='9' x2='12' y2='13'/%3E%3Cline x1='12' y1='17' x2='12.01' y2='17'/%3E%3C/svg%3E"); }
i[data-feather="archive"] { --zt-fi: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='21 8 21 21 3 21 3 8'/%3E%3Crect x='1' y='3' width='22' height='5'/%3E%3Cline x1='10' y1='12' x2='14' y2='12'/%3E%3C/svg%3E"); }
i[data-feather="arrow-down"] { --zt-fi: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cline x1='12' y1='5' x2='12' y2='19'/%3E%3Cpolyline points='19 12 12 19 5 12'/%3E%3C/svg%3E"); }
i[data-feather="arrow-left"] { --zt-fi: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cline x1='19' y1='12' x2='5' y2='12'/%3E%3Cpolyline points='12 19 5 12 12 5'/%3E%3C/svg%3E"); }
i[data-feather="arrow-right"] { --zt-fi: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cline x1='5' y1='12' x2='19' y2='12'/%3E%3Cpolyline points='12 5 19 12 12 19'/%3E%3C/svg%3E"); }
i[data-feather="arrow-up"] { --zt-fi: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cline x1='12' y1='19' x2='12' y2='5'/%3E%3Cpolyline points='5 12 12 5 19 12'/%3E%3C/svg%3E"); }
i[data-feather="award"] { --zt-fi: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='12' cy='8' r='7'/%3E%3Cpolyline points='8.21 13.89 7 23 12 20 17 23 15.79 13.88'/%3E%3C/svg%3E"); }
i[data-feather="bar-chart"] { --zt-fi: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cline x1='12' y1='20' x2='12' y2='10'/%3E%3Cline x1='18' y1='20' x2='18' y2='4'/%3E%3Cline x1='6' y1='20' x2='6' y2='16'/%3E%3C/svg%3E"); }
i[data-feather="bar-chart-2"] { --zt-fi: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cline x1='18' y1='20' x2='18' y2='10'/%3E%3Cline x1='12' y1='20' x2='12' y2='4'/%3E%3Cline x1='6' y1='20' x2='6' y2='14'/%3E%3C/svg%3E"); }
i[data-feather="bell"] { --zt-fi: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M18 8A6 6 0 0 0 6 8c0 7-3 9-3 9h18s-3-2-3-9'/%3E%3Cpath d='M13.73 21a2 2 0 0 1-3.46 0'/%3E%3C/svg%3E"); }
i[data-feather="book"] { --zt-fi: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M4 19.5A2.5 2.5 0 0 1 6.5 17H20'/%3E%3Cpath d='M6.5 2H20v20H6.5A2.5 2.5 0 0 1 4 19.5v-15A2.5 2.5 0 0 1 6.5 2z'/%3E%3C/svg%3E"); }
i[data-feather="book-open"] { --zt-fi: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M2 3h6a4 4 0 0 1 4 4v14a3 3 0 0 0-3-3H2z'/%3E%3Cpath d='M22 3h-6a4 4 0 0 0-4 4v14a3 3 0 0 1 3-3h7z'/%3E%3C/svg%3E"); }
i[data-feather="briefcase"] { --zt-fi: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='2' y='7' width='20' height='14' rx='2' ry='2'/%3E%3Cpath d='M16 21V5a2 2 0 0 0-2-2h-4a2 2 0 0 0-2 2v16'/%3E%3C/svg%3E"); }
i[data-feather="calendar"] { --zt-fi: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='3' y='4' width='18' height='18' rx='2' ry='2'/%3E%3Cline x1='16' y1='2' x2='16' y2='6'/%3E%3Cline x1='8' y1='2' x2='8' y2='6'/%3E%3Cline x1='3' y1='10' x2='21' y2='10'/%3E%3C/svg%3E"); }
i[data-feather="camera"] { --zt-fi: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M23 19a2 2 0 0 1-2 2H3a2 2 0 0 1-2-2V8a2 2 0 0 1 2-2h4l2-3h6l2 3h4a2 2 0 0 1 2 2z'/%3E%3Ccircle cx='12' cy='13' r='4'/%3E%3C/svg%3E"); }
i[data-feather="check"] { --zt-fi: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='20 6 9 17 4 12'/%3E%3C/svg%3E"); }
i[data-feather="check-circle"] { --zt-fi: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M22 11.08V12a10 10 0 1 1-5.93-9.14'/%3E%3Cpolyline points='22 4 12 14.01 9 11.01'/%3E%3C/svg%3E"); }
i[data-feather="check-square"] { --zt-fi: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='9 11 12 14 22 4'/%3E%3Cpath d='M21 12v7a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2V5a2 2 0 0 1 2-2h11'/%3E%3C/svg%3E"); }
i[data-feather="chevron-down"] { --zt-fi: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'/%3E%3C/svg%3E"); }
i[data-feather="chevron-left"] { --zt-fi: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='15 18 9 12 15 6'/%3E%3C/svg%3E"); }
i[data-feather="chevron-right"] { --zt-fi: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='9 18 15 12 9 6'/%3E%3C/svg%3E"); }
i[data-feather="chevron-up"] { --zt-fi: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='18 15 12 9 6 15'/%3E%3C/svg%3E"); }
i[data-feather="clipboard"] { --zt-fi: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M16 4h2a2 2 0 0 1 2 2v14a2 2 0 0 1-2 2H6a2 2 0 0 1-2-2V6a2 2 0 0 1 2-2h2'/%3E%3Crect x='8' y='2' width='8' height='4' rx='1' ry='1'/%3E%3C/svg%3E"); }
i[data-feather="clock"] { --zt-fi: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='12' cy='12' r='10'/%3E%3Cpolyline points='12 6 12 12 16 14'/%3E%3C/svg%3E"); }
i[data-feather="codepen"] { --zt-fi: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolygon points='12 2 22 8.5 22 15.5 12 22 2 15.5 2 8.5 12 2'/%3E%3Cline x1='12' y1='22' x2='12' y2='15.5'/%3E%3Cpolyline points='22 8.5 12 15.5 2 8.5'/%3E%3Cpolyline points='2 15.5 12 8.5 22 15.5'/%3E%3Cline x1='12' y1='2' x2='12' y2='8.5'/%3E%3C/svg%3E"); }
i[data-feather="copy"] { --zt-fi: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='9' y='9' width='13' height='13' rx='2' ry='2'/%3E%3Cpath d='M5 15H4a2 2 0 0 1-2-2V4a2 2 0 0 1 2-2h9a2 2 0 0 1 2 2v1'/%3E%3C/svg%3E"); }
i[data-feather="credit-card"] { --zt-fi: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='1' y='4' width='22' height='16' rx='2' ry='2'/%3E%3Cline x1='1' y1='10' x2='23' y2='10'/%3E%3C/svg%3E"); }
i[data-feather="dollar-sign"] { --zt-fi: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cline x1='12' y1='1' x2='12' y2='23'/%3E%3Cpath d='M17 5H9.5a3.5 3.5 0 0 0 0 7h5a3.5 3.5 0 0 1 0 7H6'/%3E%3C/svg%3E"); }
i[data-feather="download"] { --zt-fi: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M21 15v4a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2v-4'/%3E%3Cpolyline points='7 10 12 15 17 10'/%3E%3Cline x1='12' y1='15' x2='12' y2='3'/%3E%3C/svg%3E"); }
i[data-feather="edit"] { --zt-fi: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M11 4H4a2 2 0 0 0-2 2v14a2 2 0 0 0 2 2h14a2 2 0 0 0 2-2v-7'/%3E%3Cpath d='M18.5 2.5a2.121 2.121 0 0 1 3 3L12 15l-4 1 1-4 9.5-9.5z'/%3E%3C/svg%3E"); }
i[data-feather="edit-2"] { --zt-fi: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M17 3a2.828 2.828 0 1 1 4 4L7.5 20.5 2 22l1.5-5.5L17 3z'/%3E%3C/svg%3E"); }
i[data-feather="external-link"] { --zt-fi: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M18 13v6a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2V8a2 2 0 0 1 2-2h6'/%3E%3Cpolyline points='15 3 21 3 21 9'/%3E%3Cline x1='10' y1='14' x2='21' y2='3'/%3E%3C/svg%3E"); }
i[data-feather="eye"] { --zt-fi: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M1 12s4-8 11-8 11 8 11 8-4 8-11 8-11-8-11-8z'/%3E%3Ccircle cx='12' cy='12' r='3'/%3E%3C/svg%3E"); }
i[data-feather="eye-off"] { --zt-fi: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M17.94 17.94A10.07 10.07 0 0 1 12 20c-7 0-11-8-11-8a18.45 18.45 0 0 1 5.06-5.94M9.9 4.24A9.12 9.12 0 0 1 12 4c7 0 11 8 11 8a18.5 18.5 0 0 1-2.16 3.19m-6.72-1.07a3 3 0 1 1-4.24-4.24'/%3E%3Cline x1='1' y1='1' x2='23' y2='23'/%3E%3C/svg%3E"); }
i[data-feather="file"] { --zt-fi: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M13 2H6a2 2 0 0 0-2 2v16a2 2 0 0 0 2 2h12a2 2 0 0 0 2-2V9z'/%3E%3Cpolyline points='13 2 13 9 20 9'/%3E%3C/svg%3E"); }
i[data-feather="file-minus"] { --zt-fi: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M14 2H6a2 2 0 0 0-2 2v16a2 2 0 0 0 2 2h12a2 2 0 0 0 2-2V8z'/%3E%3Cpolyline points='14 2 14 8 20 8'/%3E%3Cline x1='9' y1='15' x2='15' y2='15'/%3E%3C/svg%3E"); }
i[data-feather="file-text"] { --zt-fi: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M14 2H6a2 2 0 0 0-2 2v16a2 2 0 0 0 2 2h12a2 2 0 0 0 2-2V8z'/%3E%3Cpolyline points='14 2 14 8 20 8'/%3E%3Cline x1='16' y1='13' x2='8' y2='13'/%3E%3Cline x1='16' y1='17' x2='8' y2='17'/%3E%3Cpolyline points='10 9 9 9 8 9'/%3E%3C/svg%3E"); }
i[data-feather="filter"] { --zt-fi: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolygon points='22 3 2 3 10 12.46 10 19 14 21 14 12.46 22 3'/%3E%3C/svg%3E"); }
i[data-feather="flag"] { --zt-fi: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M4 15s1-1 4-1 5 2 8 2 4-1 4-1V3s-1 1-4 1-5-2-8-2-4 1-4 1z'/%3E%3Cline x1='4' y1='22' x2='4' y2='15'/%3E%3C/svg%3E"); }
i[data-feather="folder"] { --zt-fi: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M22 19a2 2 0 0 1-2 2H4a2 2 0 0 1-2-2V5a2 2 0 0 1 2-2h5l2 3h9a2 2 0 0 1 2 2z'/%3E%3C/svg%3E"); }
i[data-feather="globe"] { --zt-fi: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='12' cy='12' r='10'/%3E%3Cline x1='2' y1='12' x2='22' y2='12'/%3E%3Cpath d='M12 2a15.3 15.3 0 0 1 4 10 15.3 15.3 0 0 1-4 10 15.3 15.3 0 0 1-4-10 15.3 15.3 0 0 1 4-10z'/%3E%3C/svg%3E"); }
i[data-feather="grid"] { --zt-fi: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='3' y='3' width='7' height='7'/%3E%3Crect x='14' y='3' width='7' height='7'/%3E%3Crect x='14' y='14' width='7' height='7'/%3E%3Crect x='3' y='14' width='7' height='7'/%3E%3C/svg%3E"); }
i[data-feather="hash"] { --zt-fi: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cline x1='4' y1='9' x2='20' y2='9'/%3E%3Cline x1='4' y1='15' x2='20' y2='15'/%3E%3Cline x1='10' y1='3' x2='8' y2='21'/%3E%3Cline x1='16' y1='3' x2='14' y2='21'/%3E%3C/svg%3E"); }
i[data-feather="heart"] { --zt-fi: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20.84 4.61a5.5 5.5 0 0 0-7.78 0L12 5.67l-1.06-1.06a5.5 5.5 0 0 0-7.78 7.78l1.06 1.06L12 21.23l7.78-7.78 1.06-1.06a5.5 5.5 0 0 0 0-7.78z'/%3E%3C/svg%3E"); }
i[data-feather="help-circle"] { --zt-fi: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='12' cy='12' r='10'/%3E%3Cpath d='M9.09 9a3 3 0 0 1 5.83 1c0 2-3 3-3 3'/%3E%3Cline x1='12' y1='17' x2='12.01' y2='17'/%3E%3C/svg%3E"); }
i[data-feather="home"] { --zt-fi: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M3 9l9-7 9 7v11a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2z'/%3E%3Cpolyline points='9 22 9 12 15 12 15 22'/%3E%3C/svg%3E"); }
i[data-feather="image"] { --zt-fi: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='3' y='3' width='18' height='18' rx='2' ry='2'/%3E%3Ccircle cx='8.5' cy='8.5' r='1.5'/%3E%3Cpolyline points='21 15 16 10 5 21'/%3E%3C/svg%3E"); }
i[data-feather="inbox"] { --zt-fi: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='22 12 16 12 14 15 10 15 8 12 2 12'/%3E%3Cpath d='M5.45 5.11L2 12v6a2 2 0 0 0 2 2h16a2 2 0 0 0 2-2v-6l-3.45-6.89A2 2 0 0 0 16.76 4H7.24a2 2 0 0 0-1.79 1.11z'/%3E%3C/svg%3E"); }
i[data-feather="info"] { --zt-fi: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='12' cy='12' r='10'/%3E%3Cline x1='12' y1='16' x2='12' y2='12'/%3E%3Cline x1='12' y1='8' x2='12.01' y2='8'/%3E%3C/svg%3E"); }
i[data-feather="key"] { --zt-fi: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M21 2l-2 2m-7.61 7.61a5.5 5.5 0 1 1-7.778 7.778 5.5 5.5 0 0 1 7.777-7.777zm0 0L15.5 7.5m0 0l3 3L22 7l-3-3m-3.5 3.5L19 4'/%3E%3C/svg%3E"); }
i[data-feather="layers"] { --zt-fi: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolygon points='12 2 2 7 12 12 22 7 12 2'/%3E%3Cpolyline points='2 17 12 22 22 17'/%3E%3Cpolyline points='2 12 12 17 22 12'/%3E%3C/svg%3E"); }
i[data-feather="link"] { --zt-fi: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M10 13a5 5 0 0 0 7.54.54l3-3a5 5 0 0 0-7.07-7.07l-1.72 1.71'/%3E%3Cpath d='M14 11a5 5 0 0 0-7.54-.54l-3 3a5 5 0 0 0 7.07 7.07l1.71-1.71'/%3E%3C/svg%3E"); }
i[data-feather="list"] { --zt-fi: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cline x1='8' y1='6' x2='21' y2='6'/%3E%3Cline x1='8' y1='12' x2='21' y2='12'/%3E%3Cline x1='8' y1='18' x2='21' y2='18'/%3E%3Cline x1='3' y1='6' x2='3.01' y2='6'/%3E%3Cline x1='3' y1='12' x2='3.01' y2='12'/%3E%3Cline x1='3' y1='18' x2='3.01' y2='18'/%3E%3C/svg%3E"); }
i[data-feather="lock"] { --zt-fi: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='3' y='11' width='18' height='11' rx='2' ry='2'/%3E%3Cpath d='M7 11V7a5 5 0 0 1 10 0v4'/%3E%3C/svg%3E"); }
i[data-feather="log-in"] { --zt-fi: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M15 3h4a2 2 0 0 1 2 2v14a2 2 0 0 1-2 2h-4'/%3E%3Cpolyline points='10 17 15 12 10 7'/%3E%3Cline x1='15' y1='12' x2='3' y2='12'/%3E%3C/svg%3E"); }
i[data-feather="log-out"] { --zt-fi: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M9 21H5a2 2 0 0 1-2-2V5a2 2 0 0 1 2-2h4'/%3E%3Cpolyline points='16 17 21 12 16 7'/%3E%3Cline x1='21' y1='12' x2='9' y2='12'/%3E%3C/svg%3E"); }
i[data-feather="mail"] { --zt-fi: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M4 4h16c1.1 0 2 .9 2 2v12c0 1.1-.9 2-2 2H4c-1.1 0-2-.9-2-2V6c0-1.1.9-2 2-2z'/%3E%3Cpolyline points='22,6 12,13 2,6'/%3E%3C/svg%3E"); }
i[data-feather="map"] { --zt-fi: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolygon points='1 6 1 22 8 18 16 22 23 18 23 2 16 6 8 2 1 6'/%3E%3Cline x1='8' y1='2' x2='8' y2='18'/%3E%3Cline x1='16' y1='6' x2='16' y2='22'/%3E%3C/svg%3E"); }
i[data-feather="map-pin"] { --zt-fi: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M21 10c0 7-9 13-9 13s-9-6-9-13a9 9 0 0 1 18 0z'/%3E%3Ccircle cx='12' cy='10' r='3'/%3E%3C/svg%3E"); }
i[data-feather="menu"] { --zt-fi: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cline x1='3' y1='12' x2='21' y2='12'/%3E%3Cline x1='3' y1='6' x2='21' y2='6'/%3E%3Cline x1='3' y1='18' x2='21' y2='18'/%3E%3C/svg%3E"); }
i[data-feather="message-circle"] { --zt-fi: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M21 11.5a8.38 8.38 0 0 1-.9 3.8 8.5 8.5 0 0 1-7.6 4.7 8.38 8.38 0 0 1-3.8-.9L3 21l1.9-5.7a8.38 8.38 0 0 1-.9-3.8 8.5 8.5 0 0 1 4.7-7.6 8.38 8.38 0 0 1 3.8-.9h.5a8.48 8.48 0 0 1 8 8v.5z'/%3E%3C/svg%3E"); }
i[data-feather="message-square"] { --zt-fi: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M21 15a2 2 0 0 1-2 2H7l-4 4V5a2 2 0 0 1 2-2h14a2 2 0 0 1 2 2z'/%3E%3C/svg%3E"); }
i[data-feather="minus"] { --zt-fi: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cline x1='5' y1='12' x2='19' y2='12'/%3E%3C/svg%3E"); }
i[data-feather="monitor"] { --zt-fi: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='2' y='3' width='20' height='14' rx='2' ry='2'/%3E%3Cline x1='8' y1='21' x2='16' y2='21'/%3E%3Cline x1='12' y1='17' x2='12' y2='21'/%3E%3C/svg%3E"); }
i[data-feather="moon"] { --zt-fi: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M21 12.79A9 9 0 1 1 11.21 3 7 7 0 0 0 21 12.79z'/%3E%3C/svg%3E"); }
i[data-feather="more-horizontal"] { --zt-fi: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='12' cy='12' r='1'/%3E%3Ccircle cx='19' cy='12' r='1'/%3E%3Ccircle cx='5' cy='12' r='1'/%3E%3C/svg%3E"); }
i[data-feather="more-vertical"] { --zt-fi: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='12' cy='12' r='1'/%3E%3Ccircle cx='12' cy='5' r='1'/%3E%3Ccircle cx='12' cy='19' r='1'/%3E%3C/svg%3E"); }
i[data-feather="navigation"] { --zt-fi: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolygon points='3 11 22 2 13 21 11 13 3 11'/%3E%3C/svg%3E"); }
i[data-feather="package"] { --zt-fi: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cline x1='16.5' y1='9.4' x2='7.5' y2='4.21'/%3E%3Cpath d='M21 16V8a2 2 0 0 0-1-1.73l-7-4a2 2 0 0 0-2 0l-7 4A2 2 0 0 0 3 8v8a2 2 0 0 0 1 1.73l7 4a2 2 0 0 0 2 0l7-4A2 2 0 0 0 21 16z'/%3E%3Cpolyline points='3.27 6.96 12 12.01 20.73 6.96'/%3E%3Cline x1='12' y1='22.08' x2='12' y2='12'/%3E%3C/svg%3E"); }
i[data-feather="paperclip"] { --zt-fi: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M21.44 11.05l-9.19 9.19a6 6 0 0 1-8.49-8.49l9.19-9.19a4 4 0 0 1 5.66 5.66l-9.2 9.19a2 2 0 0 1-2.83-2.83l8.49-8.48'/%3E%3C/svg%3E"); }
i[data-feather="percent"] { --zt-fi: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cline x1='19' y1='5' x2='5' y2='19'/%3E%3Ccircle cx='6.5' cy='6.5' r='2.5'/%3E%3Ccircle cx='17.5' cy='17.5' r='2.5'/%3E%3C/svg%3E"); }
i[data-feather="phone"] { --zt-fi: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M22 16.92v3a2 2 0 0 1-2.18 2 19.79 19.79 0 0 1-8.63-3.07 19.5 19.5 0 0 1-6-6 19.79 19.79 0 0 1-3.07-8.67A2 2 0 0 1 4.11 2h3a2 2 0 0 1 2 1.72 12.84 12.84 0 0 0 .7 2.81 2 2 0 0 1-.45 2.11L8.09 9.91a16 16 0 0 0 6 6l1.27-1.27a2 2 0 0 1 2.11-.45 12.84 12.84 0 0 0 2.81.7A2 2 0 0 1 22 16.92z'/%3E%3C/svg%3E"); }
i[data-feather="pie-chart"] { --zt-fi: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M21.21 15.89A10 10 0 1 1 8 2.83'/%3E%3Cpath d='M22 12A10 10 0 0 0 12 2v10z'/%3E%3C/svg%3E"); }
i[data-feather="play-circle"] { --zt-fi: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='12' cy='12' r='10'/%3E%3Cpolygon points='10 8 16 12 10 16 10 8'/%3E%3C/svg%3E"); }
i[data-feather="plus"] { --zt-fi: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cline x1='12' y1='5' x2='12' y2='19'/%3E%3Cline x1='5' y1='12' x2='19' y2='12'/%3E%3C/svg%3E"); }
i[data-feather="plus-circle"] { --zt-fi: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='12' cy='12' r='10'/%3E%3Cline x1='12' y1='8' x2='12' y2='16'/%3E%3Cline x1='8' y1='12' x2='16' y2='12'/%3E%3C/svg%3E"); }
i[data-feather="power"] { --zt-fi: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M18.36 6.64a9 9 0 1 1-12.73 0'/%3E%3Cline x1='12' y1='2' x2='12' y2='12'/%3E%3C/svg%3E"); }
i[data-feather="printer"] { --zt-fi: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 6 2 18 2 18 9'/%3E%3Cpath d='M6 18H4a2 2 0 0 1-2-2v-5a2 2 0 0 1 2-2h16a2 2 0 0 1 2 2v5a2 2 0 0 1-2 2h-2'/%3E%3Crect x='6' y='14' width='12' height='8'/%3E%3C/svg%3E"); }
i[data-feather="refresh-cw"] { --zt-fi: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='23 4 23 10 17 10'/%3E%3Cpolyline points='1 20 1 14 7 14'/%3E%3Cpath d='M3.51 9a9 9 0 0 1 14.85-3.36L23 10M1 14l4.64 4.36A9 9 0 0 0 20.49 15'/%3E%3C/svg%3E"); }
i[data-feather="rotate-ccw"] { --zt-fi: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='1 4 1 10 7 10'/%3E%3Cpath d='M3.51 15a9 9 0 1 0 2.13-9.36L1 10'/%3E%3C/svg%3E"); }
i[data-feather="save"] { --zt-fi: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M19 21H5a2 2 0 0 1-2-2V5a2 2 0 0 1 2-2h11l5 5v11a2 2 0 0 1-2 2z'/%3E%3Cpolyline points='17 21 17 13 7 13 7 21'/%3E%3Cpolyline points='7 3 7 8 15 8'/%3E%3C/svg%3E"); }
i[data-feather="search"] { --zt-fi: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='11' cy='11' r='8'/%3E%3Cline x1='21' y1='21' x2='16.65' y2='16.65'/%3E%3C/svg%3E"); }
i[data-feather="send"] { --zt-fi: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cline x1='22' y1='2' x2='11' y2='13'/%3E%3Cpolygon points='22 2 15 22 11 13 2 9 22 2'/%3E%3C/svg%3E"); }
i[data-feather="server"] { --zt-fi: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='2' y='2' width='20' height='8' rx='2' ry='2'/%3E%3Crect x='2' y='14' width='20' height='8' rx='2' ry='2'/%3E%3Cline x1='6' y1='6' x2='6.01' y2='6'/%3E%3Cline x1='6' y1='18' x2='6.01' y2='18'/%3E%3C/svg%3E"); }
i[data-feather="settings"] { --zt-fi: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='12' cy='12' r='3'/%3E%3Cpath d='M19.4 15a1.65 1.65 0 0 0 .33 1.82l.06.06a2 2 0 0 1 0 2.83 2 2 0 0 1-2.83 0l-.06-.06a1.65 1.65 0 0 0-1.82-.33 1.65 1.65 0 0 0-1 1.51V21a2 2 0 0 1-2 2 2 2 0 0 1-2-2v-.09A1.65 1.65 0 0 0 9 19.4a1.65 1.65 0 0 0-1.82.33l-.06.06a2 2 0 0 1-2.83 0 2 2 0 0 1 0-2.83l.06-.06a1.65 1.65 0 0 0 .33-1.82 1.65 1.65 0 0 0-1.51-1H3a2 2 0 0 1-2-2 2 2 0 0 1 2-2h.09A1.65 1.65 0 0 0 4.6 9a1.65 1.65 0 0 0-.33-1.82l-.06-.06a2 2 0 0 1 0-2.83 2 2 0 0 1 2.83 0l.06.06a1.65 1.65 0 0 0 1.82.33H9a1.65 1.65 0 0 0 1-1.51V3a2 2 0 0 1 2-2 2 2 0 0 1 2 2v.09a1.65 1.65 0 0 0 1 1.51 1.65 1.65 0 0 0 1.82-.33l.06-.06a2 2 0 0 1 2.83 0 2 2 0 0 1 0 2.83l-.06.06a1.65 1.65 0 0 0-.33 1.82V9a1.65 1.65 0 0 0 1.51 1H21a2 2 0 0 1 2 2 2 2 0 0 1-2 2h-.09a1.65 1.65 0 0 0-1.51 1z'/%3E%3C/svg%3E"); }
i[data-feather="shield"] { --zt-fi: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M12 22s8-4 8-10V5l-8-3-8 3v7c0 6 8 10 8 10z'/%3E%3C/svg%3E"); }
i[data-feather="slash"] { --zt-fi: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='12' cy='12' r='10'/%3E%3Cline x1='4.93' y1='4.93' x2='19.07' y2='19.07'/%3E%3C/svg%3E"); }
i[data-feather="sliders"] { --zt-fi: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cline x1='4' y1='21' x2='4' y2='14'/%3E%3Cline x1='4' y1='10' x2='4' y2='3'/%3E%3Cline x1='12' y1='21' x2='12' y2='12'/%3E%3Cline x1='12' y1='8' x2='12' y2='3'/%3E%3Cline x1='20' y1='21' x2='20' y2='16'/%3E%3Cline x1='20' y1='12' x2='20' y2='3'/%3E%3Cline x1='1' y1='14' x2='7' y2='14'/%3E%3Cline x1='9' y1='8' x2='15' y2='8'/%3E%3Cline x1='17' y1='16' x2='23' y2='16'/%3E%3C/svg%3E"); }
i[data-feather="smartphone"] { --zt-fi: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='5' y='2' width='14' height='20' rx='2' ry='2'/%3E%3Cline x1='12' y1='18' x2='12.01' y2='18'/%3E%3C/svg%3E"); }
i[data-feather="star"] { --zt-fi: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolygon points='12 2 15.09 8.26 22 9.27 17 14.14 18.18 21.02 12 17.77 5.82 21.02 7 14.14 2 9.27 8.91 8.26 12 2'/%3E%3C/svg%3E"); }
i[data-feather="stop-circle"] { --zt-fi: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='12' cy='12' r='10'/%3E%3Crect x='9' y='9' width='6' height='6'/%3E%3C/svg%3E"); }
i[data-feather="sun"] { --zt-fi: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='12' cy='12' r='5'/%3E%3Cline x1='12' y1='1' x2='12' y2='3'/%3E%3Cline x1='12' y1='21' x2='12' y2='23'/%3E%3Cline x1='4.22' y1='4.22' x2='5.64' y2='5.64'/%3E%3Cline x1='18.36' y1='18.36' x2='19.78' y2='19.78'/%3E%3Cline x1='1' y1='12' x2='3' y2='12'/%3E%3Cline x1='21' y1='12' x2='23' y2='12'/%3E%3Cline x1='4.22' y1='19.78' x2='5.64' y2='18.36'/%3E%3Cline x1='18.36' y1='5.64' x2='19.78' y2='4.22'/%3E%3C/svg%3E"); }
i[data-feather="tag"] { --zt-fi: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20.59 13.41l-7.17 7.17a2 2 0 0 1-2.83 0L2 12V2h10l8.59 8.59a2 2 0 0 1 0 2.82z'/%3E%3Cline x1='7' y1='7' x2='7.01' y2='7'/%3E%3C/svg%3E"); }
i[data-feather="thermometer"] { --zt-fi: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M14 14.76V3.5a2.5 2.5 0 0 0-5 0v11.26a4.5 4.5 0 1 0 5 0z'/%3E%3C/svg%3E"); }
i[data-feather="tool"] { --zt-fi: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M14.7 6.3a1 1 0 0 0 0 1.4l1.6 1.6a1 1 0 0 0 1.4 0l3.77-3.77a6 6 0 0 1-7.94 7.94l-6.91 6.91a2.12 2.12 0 0 1-3-3l6.91-6.91a6 6 0 0 1 7.94-7.94l-3.76 3.76z'/%3E%3C/svg%3E"); }
i[data-feather="trash"] { --zt-fi: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='3 6 5 6 21 6'/%3E%3Cpath d='M19 6v14a2 2 0 0 1-2 2H7a2 2 0 0 1-2-2V6m3 0V4a2 2 0 0 1 2-2h4a2 2 0 0 1 2 2v2'/%3E%3C/svg%3E"); }
i[data-feather="trash-2"] { --zt-fi: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='3 6 5 6 21 6'/%3E%3Cpath d='M19 6v14a2 2 0 0 1-2 2H7a2 2 0 0 1-2-2V6m3 0V4a2 2 0 0 1 2-2h4a2 2 0 0 1 2 2v2'/%3E%3Cline x1='10' y1='11' x2='10' y2='17'/%3E%3Cline x1='14' y1='11' x2='14' y2='17'/%3E%3C/svg%3E"); }
i[data-feather="trending-down"] { --zt-fi: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='23 18 13.5 8.5 8.5 13.5 1 6'/%3E%3Cpolyline points='17 18 23 18 23 12'/%3E%3C/svg%3E"); }
i[data-feather="trending-up"] { --zt-fi: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='23 6 13.5 15.5 8.5 10.5 1 18'/%3E%3Cpolyline points='17 6 23 6 23 12'/%3E%3C/svg%3E"); }
i[data-feather="truck"] { --zt-fi: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='1' y='3' width='15' height='13'/%3E%3Cpolygon points='16 8 20 8 23 11 23 16 16 16 16 8'/%3E%3Ccircle cx='5.5' cy='18.5' r='2.5'/%3E%3Ccircle cx='18.5' cy='18.5' r='2.5'/%3E%3C/svg%3E"); }
i[data-feather="umbrella"] { --zt-fi: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M23 12a11.05 11.05 0 0 0-22 0zm-5 7a3 3 0 0 1-6 0v-7'/%3E%3C/svg%3E"); }
i[data-feather="unlock"] { --zt-fi: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='3' y='11' width='18' height='11' rx='2' ry='2'/%3E%3Cpath d='M7 11V7a5 5 0 0 1 9.9-1'/%3E%3C/svg%3E"); }
i[data-feather="upload"] { --zt-fi: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M21 15v4a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2v-4'/%3E%3Cpolyline points='17 8 12 3 7 8'/%3E%3Cline x1='12' y1='3' x2='12' y2='15'/%3E%3C/svg%3E"); }
i[data-feather="upload-cloud"] { --zt-fi: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='16 16 12 12 8 16'/%3E%3Cline x1='12' y1='12' x2='12' y2='21'/%3E%3Cpath d='M20.39 18.39A5 5 0 0 0 18 9h-1.26A8 8 0 1 0 3 16.3'/%3E%3Cpolyline points='16 16 12 12 8 16'/%3E%3C/svg%3E"); }
i[data-feather="user"] { --zt-fi: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 21v-2a4 4 0 0 0-4-4H8a4 4 0 0 0-4 4v2'/%3E%3Ccircle cx='12' cy='7' r='4'/%3E%3C/svg%3E"); }
i[data-feather="user-check"] { --zt-fi: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M16 21v-2a4 4 0 0 0-4-4H5a4 4 0 0 0-4 4v2'/%3E%3Ccircle cx='8.5' cy='7' r='4'/%3E%3Cpolyline points='17 11 19 13 23 9'/%3E%3C/svg%3E"); }
i[data-feather="user-minus"] { --zt-fi: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M16 21v-2a4 4 0 0 0-4-4H5a4 4 0 0 0-4 4v2'/%3E%3Ccircle cx='8.5' cy='7' r='4'/%3E%3Cline x1='23' y1='11' x2='17' y2='11'/%3E%3C/svg%3E"); }
i[data-feather="user-plus"] { --zt-fi: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M16 21v-2a4 4 0 0 0-4-4H5a4 4 0 0 0-4 4v2'/%3E%3Ccircle cx='8.5' cy='7' r='4'/%3E%3Cline x1='20' y1='8' x2='20' y2='14'/%3E%3Cline x1='23' y1='11' x2='17' y2='11'/%3E%3C/svg%3E"); }
i[data-feather="user-x"] { --zt-fi: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M16 21v-2a4 4 0 0 0-4-4H5a4 4 0 0 0-4 4v2'/%3E%3Ccircle cx='8.5' cy='7' r='4'/%3E%3Cline x1='18' y1='8' x2='23' y2='13'/%3E%3Cline x1='23' y1='8' x2='18' y2='13'/%3E%3C/svg%3E"); }
i[data-feather="users"] { --zt-fi: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M17 21v-2a4 4 0 0 0-4-4H5a4 4 0 0 0-4 4v2'/%3E%3Ccircle cx='9' cy='7' r='4'/%3E%3Cpath d='M23 21v-2a4 4 0 0 0-3-3.87'/%3E%3Cpath d='M16 3.13a4 4 0 0 1 0 7.75'/%3E%3C/svg%3E"); }
i[data-feather="x"] { --zt-fi: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cline x1='18' y1='6' x2='6' y2='18'/%3E%3Cline x1='6' y1='6' x2='18' y2='18'/%3E%3C/svg%3E"); }
i[data-feather="x-circle"] { --zt-fi: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='12' cy='12' r='10'/%3E%3Cline x1='15' y1='9' x2='9' y2='15'/%3E%3Cline x1='9' y1='9' x2='15' y2='15'/%3E%3C/svg%3E"); }
i[data-feather="zap"] { --zt-fi: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolygon points='13 2 3 14 12 14 11 22 21 10 12 10 13 2'/%3E%3C/svg%3E"); }
i[data-feather="play"] { --zt-fi: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolygon points='5 3 19 12 5 21 5 3'/%3E%3C/svg%3E"); }
i[data-feather="pause"] { --zt-fi: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='6' y='4' width='4' height='16'/%3E%3Crect x='14' y='4' width='4' height='16'/%3E%3C/svg%3E"); }


/* =========================================================
   MENU LATERAL COM SCROLL NATIVO (sem SimpleBar)
   O app.js criava a barra de scroll do menu (SimpleBar) só no fim do carregamento
   e, para isso, reconstruía o menu por dentro — via-se o menu "carregar outra vez".
   Nas páginas em que a div do menu é só class="sidebar-content" (sem js-simplebar),
   o app.js não lhe toca e o scroll é o do browser, com este estilo.
   ========================================================= */
.zt-theme .sidebar-content:not(.js-simplebar) {
	position: sticky;
	top: 0;
	height: 100vh;
	overflow-y: auto;
	overflow-x: hidden;
	overscroll-behavior: contain;
	scrollbar-width: none;            /* sem barra de scroll visível (continua a rodar com a roda do rato) */
}
.zt-theme .sidebar-content:not(.js-simplebar)::-webkit-scrollbar { display: none; width: 0; }

/* ===== Seta de tendência (variação vs. mês anterior) — substitui os ícones mdi ===== */
.zt-theme i.zt-trend[data-feather] { width: 14px; height: 14px; margin: -2px 2px 0 0; filter: drop-shadow(0 0 4px currentColor); }

/* ===== Segmentos (abas pequenas: "Não lidas / Todas", etc.) — reutilizável =====
   <div class="zt-seg"><button class="zt-seg-btn active">A</button><button class="zt-seg-btn">B</button></div> */
.zt-theme .zt-seg {
	display: flex; gap: 3px; padding: 3px;
	border-radius: 999px;
	background: rgba(45, 168, 255, .06);
	border: 1px solid var(--zt-border-soft);
}
.zt-theme .zt-seg-btn {
	flex: 1 1 0; min-width: 0;
	padding: .28rem .7rem;
	border: 0; border-radius: 999px;
	background: transparent;
	color: var(--zt-muted);
	font: inherit; font-size: .75rem; font-weight: 600; letter-spacing: .02em;
	cursor: pointer;
	transition: background .15s, color .15s, box-shadow .15s;
}
.zt-theme .zt-seg-btn:hover { color: var(--zt-accent); }
.zt-theme .zt-seg-btn.active {
	color: #fff;
	background: linear-gradient(135deg, rgba(45, 168, 255, .55), rgba(45, 168, 255, .3));
	box-shadow: 0 0 12px rgba(45, 168, 255, .35), inset 0 0 0 1px rgba(45, 168, 255, .6);
}
.zt-theme .zt-seg-btn:focus-visible { outline: 2px solid var(--zt-accent); outline-offset: 1px; }

/* Contador pequeno (ex.: notificações por ler) */
.zt-theme .zt-count-badge {
	display: inline-flex; align-items: center; justify-content: center;
	min-width: 20px; height: 20px; padding: 0 6px;
	border-radius: 999px;
	font-size: .7rem; font-weight: 700; line-height: 1;
	color: #fff; background: #ff4d6d;
	box-shadow: 0 0 10px rgba(255, 77, 109, .55);
	vertical-align: middle;
}
html.zt-lite .zt-theme .zt-seg-btn.active,
html.zt-lite .zt-theme .zt-count-badge { box-shadow: none; }

/* ===== Número dentro de uma pílula de filtro: <button class="zt-neon">Livres <span class="zt-neon-num">12</span></button> ===== */
.zt-neon-num {
	display: inline-grid; place-items: center;
	min-width: 1.5rem; height: 1.25rem; padding: 0 .4rem; margin-right: -.45rem;
	border-radius: 999px; font-size: .7rem; font-weight: 800; line-height: 1;
	background: rgba(var(--c), .2); color: inherit; text-shadow: none;
}
.zt-neon.active .zt-neon-num { background: rgba(255, 255, 255, .22); }

/* ===== Barra de seleção múltipla (aparece no topo de uma card quando há linhas marcadas) =====
   <div class="zt-selbar" hidden><span class="zt-selbar-info">…</span> botões .zt-neon …</div> */
.zt-selbar {
	display: flex; align-items: center; flex-wrap: wrap; gap: .5rem;
	margin: .75rem .75rem 0; padding: .5rem .75rem;
	border-radius: 14px;
	background: rgba(45, 168, 255, .08);
	border: 1px solid rgba(45, 168, 255, .35);
	box-shadow: 0 0 14px rgba(45, 168, 255, .15);
	animation: zt-selbar-in .2s ease-out;
}
.zt-selbar[hidden] { display: none; }
.zt-selbar-info { display: inline-flex; align-items: center; gap: .4rem; margin-right: auto; font-size: .82rem; color: var(--zt-accent); }
.zt-selbar-info svg { width: 16px; height: 16px; }
.zt-selbar .zt-neon { padding: .35rem .85rem; }
.zt-selbar .zt-neon svg { width: 15px; height: 15px; }
.zt-selbar .zt-neon:has(svg)::before { display: none; }
@keyframes zt-selbar-in { from { opacity: 0; transform: translateY(-4px); } to { opacity: 1; transform: none; } }
html.zt-lite .zt-selbar { animation: none; box-shadow: none; }

/* ===== Nº de cartão e token (tabelas de códigos) ===== */
.zt-qr-num { font-variant-numeric: tabular-nums; font-weight: 700; color: var(--zt-accent); }
.zt-theme code.zt-token {
	font-size: .78rem; padding: .15rem .45rem; border-radius: 6px;
	color: var(--zt-muted); background: rgba(45, 168, 255, .08);
	border: 1px solid var(--zt-border-soft);
	word-break: break-all;
}


/* ===== Botões no rodapé dos modais: todos com a mesma altura e forma de pílula =====
   O .zt-btn-save fica compacto aqui (fora dos modais continua grande, para os formulários). */
.zt-theme .modal-footer .btn {
	display: inline-flex; align-items: center; justify-content: center; gap: .45rem;
	height: 40px; padding: 0 1.25rem;
	border-radius: 999px;
	font-size: .85rem; font-weight: 600;
}
.zt-theme .modal-footer .btn svg { width: 16px; height: 16px; }
.zt-theme .modal-footer .btn.zt-btn-save {
	min-width: 0; height: 40px; padding: 0 1.4rem;
	font-size: .8rem; letter-spacing: .05em;
	box-shadow: 0 0 0 1px rgba(140, 210, 255, .4), 0 4px 14px rgba(27, 127, 240, .35) !important;
}
.zt-theme .modal-footer .btn.zt-btn-save svg { width: 16px; height: 16px; }
/* "Cancelar"/"Fechar": pílula discreta, a condizer */
.zt-theme .modal-footer .btn-secondary {
	color: var(--zt-text) !important;
	background: rgba(143, 163, 194, .14) !important;
	border: 1px solid rgba(143, 163, 194, .45) !important;
	box-shadow: none !important;
}
.zt-theme .modal-footer .btn-secondary:hover { background: rgba(143, 163, 194, .26) !important; }
html[data-theme="light"] .zt-theme .modal-footer .btn.zt-btn-save { box-shadow: 0 4px 12px rgba(22, 112, 216, .3) !important; }
@media (max-width: 575.98px) { .zt-theme .modal-footer .btn.zt-btn-save { width: auto; } }

/* ===== Card lateral que não estica com a lista ao lado (fica com a altura do conteúdo) ===== */
.zt-sticky-card { align-self: flex-start; }

/* =========================================================
   COMPONENTES PEQUENOS (reutilizáveis)
   .zt-stepper  seletor "‹ valor ›" dentro de um .zt-track (ex.: ano)
   .zt-chip     checkbox em forma de pílula (ex.: feriados PT/FR)
   .zt-avatar   círculo com iniciais ou ícone
   .zt-bar      barra de progresso fina: <div class="zt-bar" style="--pct:40%"><i></i></div>
   ========================================================= */
.zt-stepper { display: inline-flex; align-items: center; gap: .15rem; }
.zt-step {
	display: grid; place-items: center;
	width: 30px; height: 30px; border: 0; border-radius: 50%;
	background: transparent; color: var(--zt-muted);
	font-size: 1.2rem; line-height: 1; cursor: pointer;
	transition: background .15s, color .15s, box-shadow .15s;
}
.zt-step:hover { background: rgba(var(--zt-glow-rgb), .18); color: var(--zt-accent); box-shadow: 0 0 10px rgba(var(--zt-glow-rgb), .35); }
.zt-step-val { min-width: 3.4rem; text-align: center; font-weight: 700; font-size: .95rem; color: var(--zt-text); font-variant-numeric: tabular-nums; }

.zt-chip {
	display: inline-flex; align-items: center; gap: .4rem;
	padding: .3rem .75rem; margin: 0;
	border-radius: 999px; cursor: pointer; user-select: none;
	font-size: .78rem; font-weight: 600; color: var(--zt-muted);
	background: rgba(143, 163, 194, .08);
	border: 1px solid var(--zt-border-soft);
	transition: background .15s, border-color .15s, color .15s, box-shadow .15s;
}
.zt-chip input { position: absolute; opacity: 0; pointer-events: none; }
.zt-chip .zt-flag { opacity: .45; transition: opacity .15s; }
.zt-chip:has(input:checked) {
	color: var(--zt-text);
	background: rgba(var(--zt-glow-rgb), .14);
	border-color: rgba(var(--zt-glow-rgb), .6);
	box-shadow: 0 0 10px rgba(var(--zt-glow-rgb), .2);
}
.zt-chip:has(input:checked) .zt-flag { opacity: 1; }
.zt-chip:has(input:focus-visible) { outline: 2px solid var(--zt-accent); outline-offset: 2px; }

.zt-avatar {
	flex: 0 0 auto;
	display: grid; place-items: center;
	width: 42px; height: 42px; border-radius: 50%;
	font-size: .85rem; font-weight: 700; letter-spacing: .02em;
	color: #fff;
	background: linear-gradient(145deg, #2f9bff, #1560c8);
	box-shadow: 0 0 0 2px rgba(45, 168, 255, .25), 0 0 14px rgba(45, 168, 255, .35);
}
.zt-avatar svg, .zt-avatar i[data-feather] { width: 19px; height: 19px; }
.zt-avatar-obra { background: linear-gradient(145deg, #9b6bff, #6d3fe0); box-shadow: 0 0 0 2px rgba(139, 92, 246, .25), 0 0 14px rgba(139, 92, 246, .35); }
html[data-theme="light"] .zt-avatar { box-shadow: 0 3px 10px rgba(22, 112, 216, .25); }
html[data-theme="light"] .zt-avatar-obra { box-shadow: 0 3px 10px rgba(109, 63, 224, .25); }

:where(.zt-bar) { --c: 45, 168, 255; }
.zt-bar { flex: 1 1 auto; height: 4px; border-radius: 4px; background: rgba(143, 163, 194, .18); overflow: hidden; }
.zt-bar > i { display: block; width: var(--pct, 0%); height: 100%; border-radius: inherit; background: rgb(var(--c)); box-shadow: 0 0 8px rgba(var(--c), .7); }
html.zt-lite .zt-bar > i { box-shadow: none; }

/* .zt-seg com links e ícones (abas) */
.zt-theme .zt-seg-btn { display: inline-flex; align-items: center; justify-content: center; gap: .4rem; text-decoration: none; }
.zt-theme .zt-seg-btn svg, .zt-theme .zt-seg-btn i[data-feather] { width: 15px; height: 15px; }

/* =========================================================
   FÉRIAS (ferias-dash.php): lista lateral, faixa de seleção, calendário anual
   ========================================================= */
.fv-head { margin-bottom: .2rem; }
.fv-head .zt-hero { padding-bottom: 1.2rem; }
.fv-head-actions { display: flex; align-items: center; flex-wrap: wrap; gap: .6rem; padding-top: 1.4rem; }
.fv-stats { margin-bottom: 1.5rem; }

/* ---- Lista (trabalhadores / obras) ---- */
#leftCard { display: flex; flex-direction: column; overflow: hidden; }
@media (max-width: 1199.98px) { #leftCard { max-height: 70vh; } }
.fv-tabs-wrap { padding: .8rem .8rem .6rem; border-bottom: 1px solid var(--zt-border-soft); }
.fv-tab-num {
	display: inline-grid; place-items: center; min-width: 1.4rem; height: 1.15rem; padding: 0 .35rem;
	border-radius: 999px; font-size: .68rem; font-weight: 800;
	color: #fff; background: #8b5cf6; box-shadow: 0 0 8px rgba(139, 92, 246, .6);
}
.fv-list { flex: 1 1 auto; min-height: 0; overflow-y: auto; scrollbar-width: thin; }
.fv-item {
	display: flex; align-items: center; gap: .8rem;
	padding: .8rem .9rem; cursor: pointer;
	border-bottom: 1px solid var(--zt-border-soft);
	border-left: 3px solid transparent;
	transition: background .12s, border-color .12s;
}
.fv-item:hover { background: var(--zt-hover); }
.worker-item.selected { background: rgba(45, 168, 255, .12); border-left-color: #2d9bff; }
.obra-item.selected   { background: rgba(139, 92, 246, .12); border-left-color: #8b5cf6; }
.fv-item-main { flex: 1 1 auto; min-width: 0; }
.fv-item-top { display: flex; align-items: center; justify-content: space-between; gap: .5rem; }
.fv-item-nome { font-weight: 600; font-size: .86rem; color: var(--zt-text); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.fv-item-top .zt-pill { flex: 0 0 auto; }
.fv-item-meta { margin-top: .15rem; font-size: .72rem; color: var(--zt-muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.fv-obra { color: var(--zt-accent); font-weight: 600; }
.fv-nif { opacity: .7; font-size: .68rem; }
.fv-bar-row { display: flex; align-items: center; gap: .5rem; margin-top: .4rem; }
.fv-bar-row span { font-size: .68rem; color: var(--zt-muted); white-space: nowrap; }
.fv-chev { width: 15px; height: 15px; color: var(--zt-muted); opacity: .6; flex: 0 0 auto; }
.fv-ico-xs { width: 11px !important; height: 11px !important; margin-right: .25rem; vertical-align: -1px; }
.zt-ibtn.fv-ibtn-sm { width: 28px; height: 28px; border-radius: 9px; }
.zt-ibtn.fv-ibtn-sm svg, .zt-ibtn.fv-ibtn-sm i[data-feather] { width: 14px; height: 14px; }

/* ---- Faixa do trabalhador / obra selecionado ---- */
.fv-strip { --c: 20, 217, 168; border-left: 3px solid rgb(var(--c)) !important; }
.fv-strip[data-modo="worker"] { --c: 45, 168, 255; }
.fv-strip[data-modo="obra"]   { --c: 139, 92, 246; }
.fv-strip .card-body { display: flex; align-items: center; gap: 1rem; padding: .9rem 1.1rem; }
.fv-strip-ico {
	flex: 0 0 auto; display: grid; place-items: center;
	width: 44px; height: 44px; border-radius: 13px;
	color: rgb(var(--c)); background: rgba(var(--c), .14);
	border: 1px solid rgba(var(--c), .45); box-shadow: 0 0 14px rgba(var(--c), .25);
}
.fv-strip-ico svg, .fv-strip-ico i[data-feather] { width: 20px; height: 20px; }
.fv-strip-txt { flex: 1 1 auto; min-width: 0; }
.fv-strip-nome { font-weight: 700; color: var(--zt-text); }
.fv-strip-meta { font-size: .78rem; color: var(--zt-muted); }
.fv-strip-dias { flex-direction: column; align-items: flex-end; gap: .1rem; }
.fv-strip-dias-label { font-size: .72rem; color: var(--zt-muted); }
.fv-strip-dias-num { font-size: 1.4rem; font-weight: 800; line-height: 1; color: rgb(var(--c)); text-shadow: 0 0 10px rgba(var(--c), .45); }
.fv-strip[data-modo="all"] #btnCancelSelection { visibility: hidden; }
html[data-theme="light"] .fv-strip-ico { box-shadow: none; }
html[data-theme="light"] .fv-strip-dias-num { text-shadow: none; }

/* ---- Cabeçalhos de card com ícone ---- */
.fv-card-head { display: flex; align-items: center; gap: .7rem; padding: .9rem 1.1rem; background: transparent; border-bottom: 1px solid var(--zt-border-soft); }
.fv-card-head .zt-card-head-ico { width: 34px; height: 34px; border-radius: 10px; }
.fv-card-head .zt-card-head-ico svg { width: 17px; height: 17px; }
.fv-click { cursor: pointer; }
.fv-click:hover { background: var(--zt-hover); }
.fv-ico-warn { color: #ffb347 !important; border-color: rgba(255, 166, 43, .5) !important; background: rgba(255, 166, 43, .12) !important; box-shadow: 0 0 12px rgba(255, 166, 43, .25) !important; }

/* ---- Cabeçalho do calendário ---- */
.fv-cal-head { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: .6rem 1rem; padding: .8rem 1.1rem; background: transparent; border-bottom: 1px solid var(--zt-border-soft); }
.fv-cal-toggles { display: flex; gap: .5rem; }
.fv-instr { display: inline-flex; align-items: center; gap: .4rem; font-size: .78rem; color: var(--zt-muted); font-style: italic; }
.fv-instr svg, .fv-instr i[data-feather] { width: 14px; height: 14px; color: var(--zt-accent); }
.fv-cal-head .zt-neon, .fv-legenda .zt-neon { padding: .35rem .85rem; font-size: .74rem; }
.fv-cal-head .zt-neon svg, .fv-legenda .zt-neon svg,
.fv-cal-head .zt-neon i[data-feather], .fv-legenda .zt-neon i[data-feather] { width: 14px; height: 14px; }
.fv-cal-head .zt-neon:has(svg)::before, .fv-legenda .zt-neon:has(svg)::before { display: none; }
.fv-selection-bar {
	display: flex; align-items: center; gap: .5rem; margin-bottom: 1rem;
	padding: .55rem .9rem; border-radius: 12px; font-size: .82rem; font-weight: 600;
	color: var(--zt-accent); background: rgba(45, 168, 255, .1); border: 1px solid rgba(45, 168, 255, .35);
}
.fv-selection-bar svg, .fv-selection-bar i[data-feather] { width: 15px; height: 15px; }

/* ---- Calendário anual ---- */
.annual-calendar { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; }
@media (max-width: 1599.98px) { .annual-calendar { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 767.98px)  { .annual-calendar { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 479.98px)  { .annual-calendar { grid-template-columns: 1fr; } }
.month-block {
	padding: .7rem .75rem .8rem; border-radius: 14px;
	background: rgba(var(--zt-glow-rgb), .05);
	border: 1px solid var(--zt-border-soft);
	transition: border-color .2s, box-shadow .2s;
}
.month-block:hover { border-color: rgba(var(--zt-glow-rgb), .45); box-shadow: 0 0 16px rgba(var(--zt-glow-rgb), .15); }
html[data-theme="light"] .month-block { background: #f7faff; }
.month-name { display: flex; align-items: center; justify-content: space-between; margin-bottom: .35rem; font-size: .88rem; font-weight: 700; color: var(--zt-text); }
.month-name .month-count {
	font-size: .68rem; font-weight: 700; padding: .05rem .45rem; border-radius: 999px;
	color: var(--zt-accent); background: rgba(var(--zt-glow-rgb), .14);
}
.cal-grid { display: grid; grid-template-columns: repeat(7, 1fr); gap: 3px 2px; }
.cal-dow { font-size: .62rem; font-weight: 700; text-align: center; color: var(--zt-muted); opacity: .7; padding: .2rem 0; }
.cal-day {
	position: relative; display: flex; align-items: center; justify-content: center;
	height: 24px; border-radius: 7px;
	font-size: .72rem; font-weight: 600; color: var(--zt-text);
	cursor: default; transition: background .1s, transform .1s, box-shadow .1s;
}
.cal-day.selectable { cursor: pointer; }
.cal-day.selectable:hover:not(.ferias):not(.today) { background: rgba(45, 168, 255, .25); color: #fff; transform: scale(1.12); z-index: 2; box-shadow: 0 0 10px rgba(45, 168, 255, .45); }
html[data-theme="light"] .cal-day.selectable:hover:not(.ferias):not(.today) { color: #0b4fa0; }
.cal-day.weekend:not(.ferias):not(.today):not(.feriado-pt):not(.feriado-fr):not(.feriado-both) { color: var(--zt-muted); opacity: .45; }

/* hoje */
.cal-day.today { color: #fff !important; font-weight: 800; background: linear-gradient(135deg, #14d9a8, #0a9f6a); box-shadow: 0 0 10px rgba(20, 217, 168, .6); border-radius: 50%; width: 24px; margin: 0 auto; }
.cal-day.ferias.ferias-today { box-shadow: inset 0 0 0 2px #14d9a8, 0 0 10px rgba(20, 217, 168, .6); font-weight: 800; }

/* férias (barra contínua: início/fim arredondados) */
.cal-day.ferias { color: #fff !important; border-radius: 0; background: #2384ea; box-shadow: 0 0 8px rgba(45, 168, 255, .35); }
.cal-day.ferias.ferias-start { background: linear-gradient(135deg, #1b6fd8, #2f9bff); border-radius: 8px 0 0 8px; }
.cal-day.ferias.ferias-end   { background: linear-gradient(135deg, #2f9bff, #1b6fd8); border-radius: 0 8px 8px 0; }
.cal-day.ferias.ferias-solo  { background: linear-gradient(135deg, #1b6fd8, #2f9bff); border-radius: 8px; }
.cal-day.weekend.ferias { background: rgba(45, 168, 255, .28) !important; color: rgba(255, 255, 255, .7) !important; box-shadow: none !important; }
html[data-theme="light"] .cal-day.weekend.ferias { background: #bfdbfe !important; color: #1e60b8 !important; }

/* baixa / parental */
.cal-day.baixa { background: #f08c0a; box-shadow: 0 0 8px rgba(255, 166, 43, .4); }
.cal-day.baixa.ferias-start { background: linear-gradient(135deg, #d97706, #ffa62b); }
.cal-day.baixa.ferias-end   { background: linear-gradient(135deg, #ffa62b, #d97706); }
.cal-day.baixa.ferias-solo  { background: linear-gradient(135deg, #d97706, #ffa62b); }
.cal-day.parental { background: #7d55f0; box-shadow: 0 0 8px rgba(139, 92, 246, .45); }
.cal-day.parental.ferias-start { background: linear-gradient(135deg, #6d3fe0, #9b6bff); }
.cal-day.parental.ferias-end   { background: linear-gradient(135deg, #9b6bff, #6d3fe0); }
.cal-day.parental.ferias-solo  { background: linear-gradient(135deg, #6d3fe0, #9b6bff); }

/* seleção em curso */
.cal-day.selecting               { background: rgba(45, 168, 255, .3);  color: #fff !important; border-radius: 0; box-shadow: inset 0 0 0 1px rgba(45, 168, 255, .7); }
.cal-day.baixa-mode-selecting    { background: rgba(255, 166, 43, .3);  color: #fff !important; border-radius: 0; box-shadow: inset 0 0 0 1px rgba(255, 166, 43, .7); }
.cal-day.parental-mode-selecting { background: rgba(139, 92, 246, .3);  color: #fff !important; border-radius: 0; box-shadow: inset 0 0 0 1px rgba(139, 92, 246, .7); }
html[data-theme="light"] .cal-day.selecting { color: #0b4fa0 !important; }
html[data-theme="light"] .cal-day.baixa-mode-selecting { color: #8a4b00 !important; }
html[data-theme="light"] .cal-day.parental-mode-selecting { color: #4c1d95 !important; }

/* feriados */
.cal-day.feriado-pt   { background: rgba(255, 77, 109, .18) !important; color: #ff8fa3 !important; box-shadow: inset 0 0 0 1px rgba(255, 77, 109, .55); }
.cal-day.feriado-fr   { background: rgba(139, 92, 246, .2) !important;  color: #c4adff !important; box-shadow: inset 0 0 0 1px rgba(139, 92, 246, .6); }
.cal-day.feriado-both { background: linear-gradient(135deg, rgba(255, 77, 109, .25) 50%, rgba(139, 92, 246, .28) 50%) !important; color: #e3c4ff !important; }
html[data-theme="light"] .cal-day.feriado-pt   { color: #b4233c !important; }
html[data-theme="light"] .cal-day.feriado-fr   { color: #5b2fd0 !important; }
html[data-theme="light"] .cal-day.feriado-both { color: #6d28d9 !important; }
.feriado-dot { position: absolute; top: 1px; right: 1px; width: 7px; height: 7px; border-radius: 50%; box-shadow: 0 0 0 1px rgba(0, 0, 0, .35); pointer-events: none; }
.feriado-dot-pt   { background: #ff4d6d; }
.feriado-dot-fr   { background: #b89bff; }
.feriado-dot-both { background: linear-gradient(135deg, #ff4d6d 50%, #b89bff 50%); }

/* férias de colegas da mesma obra */
.cal-day.ferias-colega:not(.ferias):not(.today):not(.feriado-pt):not(.feriado-fr):not(.feriado-both):not(.selecting) { background: rgba(143, 163, 194, .22) !important; color: var(--zt-muted) !important; font-style: italic; border-radius: 0; }
.cal-day.ferias-colega.ferias-colega-start:not(.ferias):not(.today) { border-radius: 7px 0 0 7px !important; }
.cal-day.ferias-colega.ferias-colega-end:not(.ferias):not(.today)   { border-radius: 0 7px 7px 0 !important; }
.cal-day.ferias-colega.ferias-colega-solo:not(.ferias):not(.today)  { border-radius: 7px !important; }

/* remover */
.cal-day.delete-mode.ferias { cursor: pointer; box-shadow: inset 0 0 0 2px #ff4d6d; }
.cal-day.delete-mode.ferias:hover { background: #ff4d6d !important; color: #fff !important; }

/* tooltips (nomes / colegas) */
.cal-day[data-tip]:hover::after,
.cal-day.ferias-colega:not(.ferias)[data-colega-tip]:hover::after {
	position: absolute; bottom: calc(100% + 5px); left: 50%; transform: translateX(-50%);
	padding: .25rem .55rem; border-radius: 7px; white-space: nowrap; pointer-events: none; z-index: 100;
	font-size: .68rem; font-weight: 500; font-style: normal; color: #fff;
	background: #0b1a35; border: 1px solid rgba(45, 168, 255, .45); box-shadow: 0 4px 14px rgba(0, 0, 0, .35);
}
.cal-day[data-tip]:hover::after { content: attr(data-tip); }
.cal-day.ferias-colega:not(.ferias)[data-colega-tip]:hover::after { content: attr(data-colega-tip); }

/* legenda */
.fv-legenda { display: flex; flex-wrap: wrap; align-items: center; gap: .55rem 1.1rem; margin-top: 1rem; padding-top: .9rem; border-top: 1px solid var(--zt-border-soft); font-size: .76rem; color: var(--zt-muted); }
.fv-leg { display: inline-flex; align-items: center; gap: .4rem; }
.fv-leg .zt-flag { width: 16px; height: 11px; }
.fv-dot { display: inline-block; width: 11px; height: 11px; border-radius: 4px; }
.fv-dot-ferias   { background: #2f9bff; box-shadow: 0 0 6px rgba(45, 168, 255, .7); }
.fv-dot-baixa    { background: #ffa62b; box-shadow: 0 0 6px rgba(255, 166, 43, .7); }
.fv-dot-parental { background: #8b5cf6; box-shadow: 0 0 6px rgba(139, 92, 246, .7); }
.fv-dot-sel      { background: rgba(45, 168, 255, .3); box-shadow: inset 0 0 0 1px rgba(45, 168, 255, .8); }
.fv-dot-hoje     { background: #14d9a8; border-radius: 50%; box-shadow: 0 0 6px rgba(20, 217, 168, .7); }
.fv-dot-pt       { background: rgba(255, 77, 109, .3); box-shadow: inset 0 0 0 1px #ff4d6d; }
.fv-dot-fr       { background: rgba(139, 92, 246, .3); box-shadow: inset 0 0 0 1px #8b5cf6; }
.fv-dot-colega   { background: rgba(143, 163, 194, .35); }

/* listas de períodos / sobreposições */
.fv-ferias-row, .sobrep-row { display: flex; align-items: center; gap: .8rem; padding: .65rem 1.1rem; border-bottom: 1px solid var(--zt-border-soft); }
.sobrep-row { padding: .6rem 0; align-items: flex-start; }
.fv-ferias-row:last-child, .sobrep-row:last-child { border-bottom: 0; }
.fv-row-cor { flex: 0 0 auto; width: 4px; align-self: stretch; min-height: 34px; border-radius: 4px; background: var(--cor); box-shadow: 0 0 8px var(--cor); }
.fv-row-titulo { font-weight: 600; font-size: .84rem; color: var(--zt-text); }
.fv-row-sub { margin-top: .1rem; font-size: .72rem; color: var(--zt-muted); }
.fv-muted { color: var(--zt-muted); }
.fv-vazio { margin: 0; padding: 1.2rem; text-align: center; font-size: .82rem; color: var(--zt-muted); }

/* barra flutuante "Guardar" */
.fv-float {
	position: fixed; bottom: 28px; left: 50%; z-index: 1050;
	display: flex; align-items: center; gap: .7rem; white-space: nowrap;
	padding: .55rem .6rem .55rem 1.1rem; border-radius: 999px;
	color: var(--zt-text); font-size: .82rem; font-weight: 600;
	background: var(--zt-card-solid);
	border: 1px solid rgba(45, 168, 255, .5);
	box-shadow: 0 10px 30px rgba(0, 0, 0, .45), 0 0 22px rgba(45, 168, 255, .3);
	transition: transform .3s cubic-bezier(.34, 1.56, .64, 1), opacity .25s;
}
.fv-float-ico { width: 16px; height: 16px; color: var(--zt-accent); }
.fv-float .zt-neon { padding: .38rem .95rem; }
.fv-float .zt-neon:has(svg)::before { display: none; }
.fv-float .zt-neon svg { width: 14px; height: 14px; }
.fv-float .zt-ibtn { width: 30px; height: 30px; border-radius: 50%; }
html[data-theme="light"] .fv-float { box-shadow: 0 10px 26px rgba(22, 112, 216, .25); }
html.zt-lite .month-block:hover { box-shadow: none; }

/* filtro das cards (férias) */
.fv-item.fv-oculto { display: none; }
.fv-filtro-info {
	display: flex; align-items: center; justify-content: space-between; gap: .5rem;
	margin: .6rem .8rem 0; padding: .35rem .4rem .35rem .8rem; border-radius: 999px;
	font-size: .76rem; font-weight: 600; color: var(--zt-accent);
	background: rgba(var(--zt-glow-rgb), .12); border: 1px solid rgba(var(--zt-glow-rgb), .45);
}
.fv-filtro-info[hidden] { display: none; }
.fv-filtro-x { display: grid; place-items: center; width: 22px; height: 22px; border: 0; border-radius: 50%; background: transparent; color: inherit; cursor: pointer; }
.fv-filtro-x:hover { background: rgba(var(--zt-glow-rgb), .25); }
.fv-filtro-x svg, .fv-filtro-x i[data-feather] { width: 13px; height: 13px; }
.fv-stats .stat-foot { display: flex; justify-content: space-between; gap: .5rem; }

/* ---- Calendário: dias colados (as férias ficam numa barra contínua) ---- */
.cal-grid { gap: 3px 0; }
.cal-day { border-radius: 0; height: 26px; }
.cal-day:not(.ferias):not(.today):not(.selecting):not(.baixa-mode-selecting):not(.parental-mode-selecting):not(.ferias-colega):not(.feriado-pt):not(.feriado-fr):not(.feriado-both) { border-radius: 7px; }
.cal-day.feriado-pt, .cal-day.feriado-fr, .cal-day.feriado-both { border-radius: 7px; margin: 0 1px; }
.cal-day.ferias { box-shadow: none; }
.cal-day.ferias.ferias-start { border-radius: 9px 0 0 9px; }
.cal-day.ferias.ferias-end   { border-radius: 0 9px 9px 0; }
.cal-day.ferias.ferias-solo  { border-radius: 9px; }
/* fim de semana dentro das férias: a barra continua, só mais suave */
.cal-day.weekend.ferias { background: rgba(45, 168, 255, .35) !important; color: rgba(255, 255, 255, .8) !important; }
.cal-day.weekend.ferias.baixa    { background: rgba(255, 166, 43, .35) !important; }
.cal-day.weekend.ferias.parental { background: rgba(139, 92, 246, .35) !important; }
html[data-theme="light"] .cal-day.weekend.ferias          { background: #b9d9ff !important; color: #1e60b8 !important; }
html[data-theme="light"] .cal-day.weekend.ferias.baixa    { background: #ffd9a3 !important; color: #8a4b00 !important; }
html[data-theme="light"] .cal-day.weekend.ferias.parental { background: #ddd0ff !important; color: #4c1d95 !important; }
/* barra única: só a primeira/última célula tem brilho */
.cal-day.ferias-start, .cal-day.ferias-end, .cal-day.ferias-solo { position: relative; }
/* colegas: faixa discreta, sem itálico */
.cal-day.ferias-colega:not(.ferias):not(.today):not(.feriado-pt):not(.feriado-fr):not(.feriado-both):not(.selecting) { font-style: normal; background: rgba(143, 163, 194, .16) !important; }
html[data-theme="light"] .cal-day.ferias-colega:not(.ferias):not(.today):not(.feriado-pt):not(.feriado-fr):not(.feriado-both):not(.selecting) { background: #e6ecf4 !important; }

/* ---- Card de sobreposições ---- */
.fv-card-head-txt { min-width: 0; }
.fv-card-head-txt .card-title { display: flex; align-items: center; gap: .3rem; }
.fv-card-head-sub { font-size: .74rem; color: var(--zt-muted); margin-top: .1rem; }
.fv-toggle-txt { display: inline-flex; align-items: center; gap: .3rem; font-size: .76rem; font-weight: 600; color: var(--zt-muted); }
.fv-click:hover .fv-toggle-txt { color: var(--zt-accent); }
.fv-sobrep-list { max-height: 420px; overflow-y: auto; scrollbar-width: thin; padding: .3rem 0 .5rem; }
.fv-sobrep-obra {
	position: sticky; top: 0; z-index: 1;
	display: flex; align-items: center; justify-content: space-between;
	padding: .45rem 1.1rem; font-size: .74rem; font-weight: 700; letter-spacing: .03em;
	background: var(--zt-card-solid); border-bottom: 1px solid var(--zt-border-soft);
}
.fv-sobrep { display: flex; align-items: center; gap: .85rem; padding: .6rem 1.1rem; border-bottom: 1px solid var(--zt-border-soft); border-left: 3px solid transparent; }
.fv-sobrep:last-child { border-bottom: 0; }
.fv-sobrep.is-meu { border-left-color: #ffa62b; background: rgba(255, 166, 43, .07); }
.fv-par { display: flex; flex: 0 0 auto; }
.fv-par .zt-avatar { width: 32px; height: 32px; font-size: .68rem; border: 2px solid var(--zt-card-solid); box-shadow: none; }
.fv-par .zt-avatar + .zt-avatar { margin-left: -6px; background: linear-gradient(145deg, #ffa62b, #d97706); }
.fv-sobrep-nomes { flex: 1 1 auto; min-width: 0; }
.fv-sobrep-nomes .fv-row-titulo { font-size: .8rem; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.fv-sobrep-datas { display: flex; flex-direction: column; align-items: flex-end; gap: .2rem; flex: 0 0 auto; }
.cal-day.selecting, .cal-day.baixa-mode-selecting, .cal-day.parental-mode-selecting { box-shadow: none; }

/* Cabeçalho de página com a mesma barrinha animada do .zt-hero:
   <div class="zt-page-head"> ícone + <div class="zt-page-head-txt"><h1>…</h1><div class="zt-hero-bar"></div></div> … */
.zt-page-head-txt { min-width: 0; }
.zt-page-head-txt .zt-hero-bar { margin-top: .6rem; }

/* cabeçalhos das cards da página de férias: o tema tira o padding de baixo ao .card-header — repor;
   a linha separadora passa para o corpo (assim a card fechada não fica com uma linha a mais) */
.zt-theme .card-header.fv-card-head { padding: .9rem 1.1rem; border-bottom: 0; border-radius: 16px; }
.zt-theme .card-header.fv-cal-head  { padding-bottom: .8rem; }
.zt-theme .fv-card-head + .card-body { border-top: 1px solid var(--zt-border-soft); }

/* =========================================================
   MAPAS (FAM, Certificados, Documentação) — componentes reutilizáveis
   .zt-kpis/.zt-kpi    cartões de resumo clicáveis com barra de % (cor = .zt-v-*)
   .zt-aviso           faixa de aviso (cor = .zt-v-*)
   .zt-dias            nº de dias (is-neg / is-warn)
   .zt-mx-cel          célula colorida da matriz
   ========================================================= */
.zt-mapas-tabs { display: inline-flex; width: auto; max-width: 100%; overflow-x: auto; margin-bottom: 1.3rem; }
.zt-mapas-tabs .zt-seg-btn { flex: 0 0 auto; padding: .45rem 1.1rem; font-size: .82rem; }
.zt-seg-inline { display: inline-flex; width: auto; }

.zt-kpis { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: .8rem; margin-bottom: 1.1rem; }
.zt-kpi {
	position: relative; display: grid; grid-template-columns: auto 1fr; grid-template-rows: auto auto auto;
	column-gap: .7rem; align-items: center;
	padding: .85rem .95rem .75rem; border-radius: 16px; text-decoration: none !important;
	background: linear-gradient(135deg, rgba(var(--c), .16), var(--zt-card-solid) 75%);
	border: 1px solid rgba(var(--c), .35);
	transition: transform .15s, border-color .15s, box-shadow .15s;
}
.zt-kpi:hover { transform: translateY(-2px); border-color: rgba(var(--c), .7); box-shadow: 0 0 18px rgba(var(--c), .25); }
.zt-kpi.active { border-color: rgb(var(--c)); box-shadow: 0 0 0 1px rgb(var(--c)), 0 0 22px rgba(var(--c), .4); }
.zt-kpi.is-zero { opacity: .55; }
.zt-kpi-ico {
	grid-row: 1 / span 2; display: grid; place-items: center;
	width: 40px; height: 40px; border-radius: 12px;
	color: rgb(var(--c)); background: rgba(var(--c), .16);
}
.zt-kpi-ico svg, .zt-kpi-ico i[data-feather] { width: 20px; height: 20px; }
.zt-kpi-num { font-size: 1.6rem; font-weight: 800; line-height: 1; color: var(--zt-text); font-variant-numeric: tabular-nums; }
.zt-kpi-label { font-size: .74rem; font-weight: 600; color: var(--zt-muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.zt-kpi-bar { grid-column: 1 / -1; height: 3px; margin-top: .6rem; border-radius: 3px; background: rgba(143, 163, 194, .16); overflow: hidden; }
.zt-kpi-bar > i { display: block; height: 100%; border-radius: inherit; background: rgb(var(--c)); box-shadow: 0 0 8px rgba(var(--c), .8); transition: width .6s ease; }
html[data-theme="light"] .zt-kpi { background: linear-gradient(135deg, rgba(var(--c), .12), #fff 75%); }
html.zt-lite .zt-kpi:hover, html.zt-lite .zt-kpi-bar > i { box-shadow: none; }

.zt-aviso {
	display: flex; align-items: center; flex-wrap: wrap; gap: .6rem .8rem;
	margin-bottom: 1rem; padding: .65rem .9rem; border-radius: 14px;
	font-size: .85rem; color: var(--zt-text);
	background: rgba(var(--c), .1); border: 1px solid rgba(var(--c), .45);
	border-left: 4px solid rgb(var(--c));
}
.zt-aviso > svg, .zt-aviso > i[data-feather] { width: 18px; height: 18px; color: rgb(var(--c)); flex: 0 0 auto; }

.zt-mapas-toolbar { display: flex; flex-wrap: wrap; align-items: center; gap: .5rem; margin-bottom: 1rem; }
.zt-mapas-toolbar > .ms-auto { display: flex; flex-wrap: wrap; gap: .5rem; }
.zt-mapas-toolbar .zt-neon, .zt-doc-vistas .zt-neon { padding: .4rem .9rem; font-size: .76rem; }
.zt-mapas .zt-neon svg, .zt-mapas .zt-neon i[data-feather], .modal .zt-neon svg { width: 14px; height: 14px; }
.zt-mapas .zt-neon:has(svg)::before, .modal .zt-neon:has(svg)::before { display: none; }
.zt-neon.dropdown-toggle::after { margin-left: .15rem; }
.zt-neon-sm { padding: .28rem .7rem !important; font-size: .72rem !important; }
.zt-neon-sub { font-weight: 500; opacity: .7; }
.zt-num-alerta { background: #ff3b4e !important; color: #fff !important; box-shadow: 0 0 8px rgba(255, 59, 78, .6); }
.zt-sel-pill { border-radius: 999px !important; padding-left: .9rem !important; font-size: .78rem !important; min-width: 12rem; }
.zt-doc-vistas { display: flex; flex-wrap: wrap; gap: .5rem; margin-bottom: 1rem; }

.zt-mapas-nota { display: flex; gap: .5rem; margin: .8rem 0 0; font-size: .76rem; line-height: 1.5; color: var(--zt-muted); }
.zt-mapas-nota > svg, .zt-mapas-nota > i[data-feather] { flex: 0 0 auto; width: 15px; height: 15px; margin-top: .15rem; color: var(--zt-accent); }

.zt-dias { display: inline-block; min-width: 2.4rem; padding: .1rem .45rem; border-radius: 999px; font-weight: 700; font-size: .78rem; font-variant-numeric: tabular-nums; }
.zt-dias.is-neg  { color: #ff6b7d; background: rgba(255, 59, 78, .14); }
.zt-dias.is-warn { color: #ffb347; background: rgba(255, 166, 43, .14); }
html[data-theme="light"] .zt-dias.is-neg  { color: #c81e33; }
html[data-theme="light"] .zt-dias.is-warn { color: #b85200; }

.zt-link-btn { border: 0; background: none; padding: 0 .15rem; font: inherit; font-weight: 700; color: var(--zt-accent); text-decoration: underline; cursor: pointer; }

/* botões de ação nas tabelas */
.zt-mapas td .zt-ibtn, .modal td .zt-ibtn { width: 30px; height: 30px; border-radius: 9px; vertical-align: middle; }
.zt-mapas td .zt-ibtn + .zt-ibtn, .modal td .zt-ibtn + .zt-ibtn { margin-left: .3rem; }
.zt-mapas td .zt-ibtn svg, .modal td .zt-ibtn svg { width: 15px; height: 15px; }
.zt-ibtn.is-alerta { color: #fff; background: linear-gradient(135deg, var(--b1), var(--b2)); border-color: transparent; box-shadow: 0 0 12px rgba(var(--c), .6); }

/* resultado da FAM (select com cor) */
.zt-theme .form-select.zt-res-ok     { border-color: rgba(16, 224, 140, .8); box-shadow: 0 0 8px rgba(16, 224, 140, .25); }
.zt-theme .form-select.zt-res-cond   { border-color: rgba(255, 166, 43, .85); box-shadow: 0 0 8px rgba(255, 166, 43, .25); }
.zt-theme .form-select.zt-res-inapto { border-color: rgba(255, 59, 78, .9); box-shadow: 0 0 8px rgba(255, 59, 78, .3); }

/* caixas de formulário dentro de modais */
.zt-form-box { margin: 0; padding: 1rem; border-radius: 14px; background: rgba(var(--zt-glow-rgb), .05); border: 1px solid var(--zt-border-soft); }
.zt-sec-title { display: flex; align-items: center; gap: .45rem; margin: 0 0 .6rem; font-size: .9rem; font-weight: 700; color: var(--zt-text); }
.zt-sec-title svg, .zt-sec-title i[data-feather] { width: 16px; height: 16px; color: var(--zt-accent); }
.zt-btn-save.zt-btn-save-sm, .zt-theme .btn.zt-btn-save.zt-btn-save-sm { min-width: 0; height: 38px; padding: 0 1.2rem; font-size: .78rem; }

/* filtro de funções (dropdown) */
.zt-fn-menu .form-check { padding-top: .15rem; padding-bottom: .15rem; }

/* matriz de certificados */
.zt-mx thead th { position: sticky; top: 0; z-index: 2; background: var(--zt-card-solid) !important; font-size: .72rem; vertical-align: bottom; }
.zt-mx td.mx-exig { box-shadow: inset 0 0 0 1px rgba(45, 168, 255, .55); background: rgba(45, 168, 255, .05); }
.zt-mx-cel {
	display: inline-block; min-width: 4.4rem; padding: .18rem .45rem; border-radius: 8px;
	font-size: .72rem; font-weight: 700; text-decoration: none !important; text-align: center;
	color: var(--t); background: rgba(var(--c), .14); border: 1px solid rgba(var(--c), .6);
}
.zt-mx-cel:hover { color: #fff; background: linear-gradient(135deg, var(--b1), var(--b2)); }
.zt-mx-cel.is-falta { border-style: dashed; }
.zt-mx-vazio { color: var(--zt-muted); opacity: .5; }
html[data-theme="light"] .zt-mx-cel { color: var(--tl); }

/* separador ainda vazio */
.zt-brevemente .card-body { display: flex; flex-direction: column; align-items: center; text-align: center; gap: .6rem; padding: 3rem 1.5rem; }
.zt-brevemente h5 { margin: .4rem 0 0; font-size: 1.15rem; font-weight: 700; color: var(--zt-text); }
.zt-brevemente p { margin: 0; color: var(--zt-muted); }
.zt-brevemente-lista { display: flex; flex-wrap: wrap; justify-content: center; gap: .5rem; margin-top: .4rem; }
.zt-theme .zt-seg.zt-mapas-tabs, .zt-theme .zt-seg.zt-seg-inline { display: inline-flex; width: auto; }
.zt-mapas td .zt-pill, .modal td .zt-pill { white-space: nowrap; }

/* =========================================================
   MODAIS SIMPLES (reutilizáveis)
   .zt-file      zona "arraste o ficheiro ou clique" (JS: ZeniteTheme.ficheiros)
   .zt-choice    escolha rápida em pílulas (radios); cor por .zt-v-* em cada <label>
   .zt-modal-form / .zt-modal-grid / .zt-modal-acoes   espaçamento de formulários em modais
   ========================================================= */
.zt-modal-md { max-width: 620px; }
.zt-modal-form { display: flex; flex-direction: column; gap: .9rem; }
.zt-modal-form .form-label { margin-bottom: .3rem; font-size: .78rem; font-weight: 600; color: var(--zt-muted); }
.zt-modal-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .9rem; }
@media (max-width: 575.98px) { .zt-modal-grid { grid-template-columns: 1fr; } }
.zt-modal-acoes { display: flex; align-items: center; justify-content: flex-end; gap: 1rem; padding-top: .2rem; }
.zt-modal-acoes .small { margin-right: auto; }
.zt-hint { font-size: .76rem; color: var(--zt-muted); }
.zt-hint:empty { display: none; }
.zt-opc { font-weight: 400; opacity: .7; }
.zt-vazio { padding: 1rem; text-align: center; font-size: .84rem; color: var(--zt-muted); border: 1px dashed var(--zt-border); border-radius: 12px; }

.zt-file {
	position: relative; display: flex; align-items: center; gap: .9rem; margin: 0;
	padding: 1rem 1.1rem; border-radius: 14px; cursor: pointer;
	border: 2px dashed rgba(45, 168, 255, .45); background: rgba(45, 168, 255, .06);
	transition: border-color .15s, background .15s, box-shadow .15s;
}
.zt-file input[type="file"] { position: absolute; inset: 0; width: 100%; height: 100%; opacity: 0; cursor: pointer; }
.zt-file:hover, .zt-file.is-drag { border-color: #2d9bff; background: rgba(45, 168, 255, .12); box-shadow: 0 0 16px rgba(45, 168, 255, .25); }
.zt-file-ico { flex: 0 0 auto; display: grid; place-items: center; width: 44px; height: 44px; border-radius: 12px; color: #4fb8ff; background: rgba(45, 168, 255, .15); }
.zt-file-ico svg, .zt-file-ico i[data-feather] { width: 22px; height: 22px; }
.zt-file-txt { display: flex; flex-direction: column; min-width: 0; }
.zt-file-txt strong { font-size: .88rem; color: var(--zt-text); }
.zt-file-nome { font-size: .78rem; color: var(--zt-muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.zt-file.has-file { border-style: solid; border-color: rgba(16, 224, 140, .7); background: rgba(16, 224, 140, .08); }
.zt-file.has-file .zt-file-ico { color: #10e08c; background: rgba(16, 224, 140, .15); }
.zt-file.has-file .zt-file-nome { color: var(--zt-text); font-weight: 600; }
.zt-file:focus-within { outline: 2px solid var(--zt-accent); outline-offset: 2px; }

.zt-choice { display: flex; flex-wrap: wrap; gap: .4rem; }
.zt-choice label { position: relative; margin: 0; cursor: pointer; }
.zt-choice input { position: absolute; opacity: 0; pointer-events: none; }
.zt-choice span {
	display: inline-flex; align-items: center; padding: .38rem .85rem; border-radius: 999px;
	font-size: .78rem; font-weight: 600; color: var(--zt-muted);
	border: 1px solid var(--zt-border); background: rgba(143, 163, 194, .06);
	transition: background .15s, color .15s, border-color .15s, box-shadow .15s;
}
.zt-choice label:hover span { border-color: rgba(var(--c), .7); color: var(--zt-text); }
.zt-choice input:checked + span { color: #fff; border-color: transparent; background: linear-gradient(135deg, var(--b1), var(--b2)); box-shadow: 0 0 12px rgba(var(--c), .45); }
.zt-choice input:focus-visible + span { outline: 2px solid rgb(var(--c)); outline-offset: 2px; }

/* histórico em modal: a linha atual destacada, as antigas mais discretas */
.zt-hist tbody tr { opacity: .75; }
.zt-hist tbody tr.is-atual { opacity: 1; box-shadow: inset 3px 0 0 #10e08c; }
.zt-hist tbody tr:hover { opacity: 1; }
.zt-hist .form-control, .zt-hist .form-select { font-size: .8rem; }

.zt-rv-linha { display: flex; flex-wrap: wrap; align-items: flex-end; gap: .8rem; margin-bottom: .3rem; }
.zt-rv-linha .form-label { margin-bottom: .3rem; font-size: .78rem; font-weight: 600; color: var(--zt-muted); }
.zt-rv-linha .zt-neon { height: 38px; padding: 0 1.1rem; }
.zt-brevemente .zt-neon svg, .zt-brevemente .zt-neon i[data-feather] { width: 15px; height: 15px; }
.zt-brevemente .zt-neon:has(svg)::before { display: none; }

/* =========================================================
   LOGIN (login.php) — prefixo .zl-
   ========================================================= */
.zl-body { min-height: 100vh; margin: 0; overflow-x: hidden; }
.zl-bg { position: fixed; inset: 0; z-index: 0; overflow: hidden; pointer-events: none; }
.zl-orb { position: absolute; border-radius: 50%; filter: blur(80px); opacity: .55; }
.zl-orb-1 { width: 520px; height: 520px; left: -140px; top: -120px; background: radial-gradient(circle, rgba(45, 168, 255, .55), transparent 70%); animation: zl-flutua 14s ease-in-out infinite alternate; }
.zl-orb-2 { width: 460px; height: 460px; right: -120px; bottom: -140px; background: radial-gradient(circle, rgba(34, 211, 238, .45), transparent 70%); animation: zl-flutua 18s ease-in-out infinite alternate-reverse; }
@keyframes zl-flutua { to { transform: translate3d(60px, 40px, 0) scale(1.1); } }
/* chão em grelha com perspetiva */
.zl-grid {
	position: absolute; left: -50%; right: -50%; bottom: -10%; height: 60%;
	background-image:
		linear-gradient(rgba(45, 168, 255, .22) 1px, transparent 1px),
		linear-gradient(90deg, rgba(45, 168, 255, .22) 1px, transparent 1px);
	background-size: 60px 60px;
	transform: perspective(500px) rotateX(62deg);
	transform-origin: center top;
	-webkit-mask-image: linear-gradient(to top, #000 10%, transparent 90%);
	mask-image: linear-gradient(to top, #000 10%, transparent 90%);
	animation: zl-grelha 3.5s linear infinite;
}
@keyframes zl-grelha { to { background-position: 0 60px, 0 0; } }
/* linha de varrimento suave */
.zl-scan { position: absolute; left: 0; right: 0; height: 160px; top: -160px; background: linear-gradient(to bottom, transparent, rgba(45, 168, 255, .06), transparent); animation: zl-varre 9s linear infinite; }
@keyframes zl-varre { to { transform: translateY(calc(100vh + 160px)); } }
html[data-theme="light"] .zl-orb { opacity: .35; }
html[data-theme="light"] .zl-grid { background-image: linear-gradient(rgba(22, 112, 216, .16) 1px, transparent 1px), linear-gradient(90deg, rgba(22, 112, 216, .16) 1px, transparent 1px); }
html.zt-lite .zl-orb, html.zt-lite .zl-grid, html.zt-lite .zl-scan { animation: none; }
html.zt-lite .zl-scan { display: none; }

.zl-toggle { position: fixed; top: 1.1rem; right: 1.2rem; z-index: 5; }

.zl-wrap {
	position: relative; z-index: 1; min-height: 100vh;
	display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 460px);
	align-items: center; gap: 4rem; max-width: 1200px; margin: 0 auto; padding: 3rem 2rem;
}
@media (max-width: 991.98px) { .zl-wrap { grid-template-columns: 1fr; justify-items: center; gap: 0; padding: 4.5rem 1rem 2rem; } }

/* lado da marca */
.zl-brand { animation: zl-entra .8s cubic-bezier(.2, .8, .2, 1) both; }
@media (max-width: 991.98px) { .zl-brand { display: none; } }
.zl-logo-ring {
	display: inline-grid; place-items: center; padding: 1.1rem 1.5rem; margin-bottom: 1.6rem;
	border-radius: 22px; background: rgba(255, 255, 255, .92);
	box-shadow: 0 0 0 1px rgba(45, 168, 255, .45), 0 0 40px rgba(45, 168, 255, .35);
}
.zl-logo { max-width: 260px; height: auto; display: block; }
.zl-titulo { margin: 0 0 .5rem; font-size: clamp(2.2rem, 4vw, 3.2rem); font-weight: 800; line-height: 1.05; color: var(--zt-text); letter-spacing: -.02em; }
.zl-titulo span { background: linear-gradient(90deg, #2d9bff, #22d3ee, #14d9a8); -webkit-background-clip: text; background-clip: text; color: transparent; }
.zl-slogan { margin: 0; font-size: 1.1rem; color: var(--zt-muted); }
.zl-brand .zt-hero-bar { margin: 1.4rem 0 1.8rem; }
.zl-chips { display: flex; flex-wrap: wrap; gap: .5rem; padding: 0; margin: 0; list-style: none; }
.zl-chips li {
	display: inline-flex; align-items: center; gap: .45rem; padding: .45rem .9rem; border-radius: 999px;
	font-size: .8rem; font-weight: 600; color: var(--zt-text);
	background: rgba(45, 168, 255, .08); border: 1px solid rgba(45, 168, 255, .3);
	animation: zl-entra .6s cubic-bezier(.2, .8, .2, 1) both;
}
.zl-chips li:nth-child(1) { animation-delay: .25s; } .zl-chips li:nth-child(2) { animation-delay: .32s; }
.zl-chips li:nth-child(3) { animation-delay: .39s; } .zl-chips li:nth-child(4) { animation-delay: .46s; }
.zl-chips li:nth-child(5) { animation-delay: .53s; }
.zl-chips svg, .zl-chips i[data-feather] { width: 15px; height: 15px; color: var(--zt-accent); }

/* cartão */
.zl-card {
	position: relative; width: 100%; max-width: 460px; padding: 2.3rem 2.1rem 1.6rem;
	border-radius: 24px; overflow: hidden;
	background: linear-gradient(160deg, rgba(17, 40, 78, .78), rgba(8, 20, 43, .9));
	border: 1px solid rgba(80, 180, 255, .35);
	box-shadow: 0 30px 80px rgba(0, 0, 0, .5), 0 0 0 1px rgba(45, 168, 255, .08) inset;
	backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
	animation: zl-entra .8s .1s cubic-bezier(.2, .8, .2, 1) both;
}
html[data-theme="light"] .zl-card { background: rgba(255, 255, 255, .88); border-color: rgba(22, 112, 216, .25); box-shadow: 0 24px 60px rgba(22, 112, 216, .18); }
html.zt-lite .zl-card { backdrop-filter: none; -webkit-backdrop-filter: none; }
/* contorno de luz a rodar */
.zl-card-glow { position: absolute; inset: -1px; border-radius: inherit; padding: 1px; pointer-events: none;
	background: conic-gradient(from var(--zl-ang, 0deg), transparent 0 70%, rgba(45, 168, 255, .9) 80%, rgba(34, 211, 238, .9) 85%, transparent 92%);
	-webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor; mask-composite: exclude;
	animation: zl-roda 6s linear infinite; }
@property --zl-ang { syntax: '<angle>'; inherits: false; initial-value: 0deg; }
@keyframes zl-roda { to { --zl-ang: 360deg; } }
html.zt-lite .zl-card-glow { animation: none; opacity: .5; }

.zl-logo-mob { display: none; max-width: 200px; margin: 0 auto 1.2rem; padding: .7rem 1rem; border-radius: 16px; background: rgba(255, 255, 255, .92); }
@media (max-width: 991.98px) { .zl-logo-mob { display: block; } }
.zl-card-ico {
	display: grid; place-items: center; width: 54px; height: 54px; margin-bottom: 1rem; border-radius: 16px;
	color: #6fd0ff; background: linear-gradient(160deg, rgba(34, 120, 255, .3), rgba(10, 40, 90, .5));
	border: 1px solid rgba(80, 180, 255, .55); box-shadow: 0 0 20px rgba(45, 168, 255, .4);
}
.zl-card-ico svg, .zl-card-ico i[data-feather] { width: 24px; height: 24px; }
html[data-theme="light"] .zl-card-ico { color: #1670d8; background: #e8f2ff; box-shadow: 0 4px 14px rgba(22, 112, 216, .2); }
.zl-card h2 { margin: 0; font-size: 1.7rem; font-weight: 800; color: var(--zt-text); }
.zl-sub { margin: .25rem 0 1.5rem; color: var(--zt-muted); font-size: .92rem; }
.zl-erro { margin-bottom: 1.1rem; }

.zl-campo { margin-bottom: 1.05rem; }
.zl-campo > label { display: block; margin-bottom: .4rem; font-size: .8rem; font-weight: 600; color: var(--zt-muted); }
.zl-input {
	position: relative; display: flex; align-items: center; gap: .6rem;
	height: 50px; padding: 0 .6rem 0 .95rem; border-radius: 14px;
	background: var(--zt-input); border: 1px solid var(--zt-border);
	transition: border-color .15s, box-shadow .15s, background .15s;
}
.zl-input > svg, .zl-input > i[data-feather] { flex: 0 0 auto; width: 18px; height: 18px; color: var(--zt-muted); transition: color .15s; }
.zl-input input { flex: 1 1 auto; min-width: 0; height: 100%; border: 0; outline: 0; background: transparent; color: var(--zt-text); font-size: .95rem; }
.zl-input input::placeholder { color: var(--zt-muted); opacity: .7; }
.zl-input:focus-within { border-color: #2d9bff; box-shadow: 0 0 0 3px rgba(45, 168, 255, .2), 0 0 18px rgba(45, 168, 255, .25); }
.zl-input:focus-within > svg, .zl-input:focus-within > i[data-feather] { color: #2d9bff; }
.zl-input.is-erro { border-color: #ff3b4e; box-shadow: 0 0 0 3px rgba(255, 59, 78, .18); }
.zl-input input:-webkit-autofill { -webkit-text-fill-color: var(--zt-text); transition: background-color 9999s; }
.zl-olho { display: grid; place-items: center; width: 36px; height: 36px; border: 0; border-radius: 10px; background: transparent; color: var(--zt-muted); cursor: pointer; }
.zl-olho:hover { color: var(--zt-accent); background: rgba(45, 168, 255, .12); }
.zl-olho svg, .zl-olho i[data-feather] { width: 18px; height: 18px; }
.zl-caps { display: flex; align-items: center; gap: .35rem; margin-top: .4rem; font-size: .76rem; font-weight: 600; color: #ffb347; }
.zl-caps[hidden] { display: none; }
.zl-caps svg, .zl-caps i[data-feather] { width: 14px; height: 14px; }

.zl-lembrar { position: relative; display: inline-flex; align-items: center; gap: .55rem; margin: .2rem 0 1.3rem; font-size: .84rem; color: var(--zt-muted); cursor: pointer; user-select: none; }
.zl-lembrar input { position: absolute; opacity: 0; }
.zl-check { width: 18px; height: 18px; border-radius: 6px; border: 1px solid var(--zt-border); background: var(--zt-input); transition: background .15s, border-color .15s, box-shadow .15s; }
.zl-lembrar input:checked + .zl-check { border-color: transparent; background: linear-gradient(135deg, #2d9bff, #22d3ee) center / 100% no-repeat; box-shadow: 0 0 10px rgba(45, 168, 255, .5);
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='20 6 9 17 4 12'/%3E%3C/svg%3E"), linear-gradient(135deg, #2d9bff, #22d3ee); background-size: 12px, 100%; background-position: center; }
.zl-lembrar input:focus-visible + .zl-check { outline: 2px solid var(--zt-accent); outline-offset: 2px; }

.zt-theme .btn.zl-entrar { width: 100%; min-width: 0; height: 52px; font-size: .95rem; }
.zl-entrar-txt, .zl-entrar-load { display: inline-flex; align-items: center; gap: .55rem; }
.zl-entrar-load { display: none; }
.zl-entrar.is-loading .zl-entrar-txt { display: none; }
.zl-entrar.is-loading .zl-entrar-load { display: inline-flex; }
.zl-entrar svg, .zl-entrar i[data-feather] { width: 18px; height: 18px; }
.zl-msg { min-height: 1.2rem; margin-top: .6rem; text-align: center; font-size: .82rem; font-weight: 600; color: #ff6b7d; }

.zl-rodape { display: flex; flex-direction: column; align-items: center; gap: .35rem; margin-top: 1.2rem; padding-top: 1.1rem; border-top: 1px solid var(--zt-border-soft); font-size: .72rem; color: var(--zt-muted); }
.zl-rodape span { display: inline-flex; align-items: center; gap: .35rem; }
.zl-rodape svg, .zl-rodape i[data-feather] { width: 13px; height: 13px; color: #10e08c; }

.zl-abanar { animation: zl-abana .4s; }
@keyframes zl-abana { 20%, 60% { transform: translateX(-6px); } 40%, 80% { transform: translateX(6px); } }
@keyframes zl-entra { from { opacity: 0; transform: translate3d(0, 18px, 0); } }
@media (prefers-reduced-motion: reduce) { .zl-orb, .zl-grid, .zl-scan, .zl-card-glow, .zl-brand, .zl-card, .zl-chips li { animation: none !important; } }
@media (max-width: 575.98px) {
	.zl-wrap { padding: 4.5rem .9rem 1.5rem; }
	.zl-card { padding: 1.7rem 1.3rem 1.3rem; border-radius: 20px; }
}
.zl-body *, .zl-body *::before, .zl-body *::after { box-sizing: border-box; }
.zl-card { min-width: 0; }
.zl-rodape span { flex-wrap: wrap; justify-content: center; text-align: center; }

/* =========================================================
   FICHA DO TRABALHADOR (modal "ver" em gerir-trabalhador) — prefixo .ztv-
   ========================================================= */
.ztv-load { display: flex; flex-direction: column; align-items: center; gap: .6rem; padding: 3rem 0; color: var(--zt-muted); }
.ztv { display: flex; flex-direction: column; gap: 1rem; }
.ztv-vazio { color: var(--zt-muted); opacity: .7; }

.ztv-perfil {
	display: flex; align-items: center; flex-wrap: wrap; gap: 1.2rem;
	padding: 1.1rem 1.2rem; border-radius: 18px;
	background: linear-gradient(120deg, rgba(45, 168, 255, .16), rgba(34, 211, 238, .05) 60%, transparent);
	border: 1px solid rgba(45, 168, 255, .3);
}
.ztv-foto {
	flex: 0 0 auto; width: 96px; height: 96px; border-radius: 22px; object-fit: cover; cursor: pointer;
	border: 2px solid rgba(45, 168, 255, .6); box-shadow: 0 0 20px rgba(45, 168, 255, .35);
}
.ztv-foto-vazia { display: grid; place-items: center; cursor: default; font-size: 2rem; font-weight: 800; color: #fff; background: linear-gradient(145deg, #2f9bff, #1560c8); }
.ztv-perfil-txt { flex: 1 1 260px; min-width: 0; }
.ztv-nome { margin: 0 0 .4rem; font-size: 1.45rem; font-weight: 800; color: var(--zt-text); }
.ztv-sub { display: flex; align-items: center; flex-wrap: wrap; gap: .5rem; margin-bottom: .6rem; }
.ztv-extra { font-size: .78rem; color: var(--zt-muted); }
.ztv-chips { display: flex; flex-wrap: wrap; gap: .45rem; }
.ztv-chips > span { display: inline-flex; align-items: center; gap: .35rem; padding: .25rem .65rem; border-radius: 999px; font-size: .78rem; font-weight: 600; color: var(--zt-text); background: rgba(143, 163, 194, .1); border: 1px solid var(--zt-border-soft); }
.ztv-chips svg, .ztv-chips i[data-feather] { width: 13px; height: 13px; color: var(--zt-accent); }
.ztv-perfil-acoes { display: flex; flex-direction: column; gap: .45rem; }
.ztv-perfil-acoes .zt-neon, .ztv-pdf-barra .zt-neon, #verTrabalhadorModal .modal-footer .zt-neon { padding: .42rem .95rem; font-size: .76rem; }
#verTrabalhadorModal .zt-neon svg { width: 14px; height: 14px; }
#verTrabalhadorModal .zt-neon:has(svg)::before { display: none; }
.zt-neon.disabled { opacity: .45; pointer-events: none; }
@media (max-width: 767.98px) { .ztv-perfil-acoes { flex-direction: row; } }

.ztv-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1rem; }
@media (max-width: 991.98px) { .ztv-grid { grid-template-columns: 1fr; } }
.ztv-bloco { padding: 1rem 1.1rem; border-radius: 16px; background: rgba(var(--zt-glow-rgb), .04); border: 1px solid var(--zt-border-soft); }
.ztv-campo { display: flex; align-items: flex-start; gap: .75rem; padding: .5rem 0; border-bottom: 1px dashed var(--zt-border-soft); }
.ztv-campo:last-of-type { border-bottom: 0; }
.ztv-campo-ico { flex: 0 0 auto; display: grid; place-items: center; width: 30px; height: 30px; border-radius: 9px; color: var(--zt-accent); background: rgba(45, 168, 255, .12); }
.ztv-campo-ico svg, .ztv-campo-ico i[data-feather] { width: 15px; height: 15px; }
.ztv-rot { font-size: .7rem; font-weight: 600; letter-spacing: .03em; text-transform: uppercase; color: var(--zt-muted); }
.ztv-val { font-size: .9rem; font-weight: 600; color: var(--zt-text); word-break: break-word; }
.ztv-sn { display: flex; flex-wrap: wrap; gap: 1rem; margin-top: .6rem; font-size: .8rem; color: var(--zt-muted); }
.ztv-sn > span { display: inline-flex; align-items: center; gap: .4rem; }
.ztv-sn svg, .ztv-sn i[data-feather] { width: 14px; height: 14px; }

.ztv-docs-head { display: flex; align-items: center; flex-wrap: wrap; gap: .8rem 1rem; margin-bottom: .9rem; }
.ztv-docs-resumo { display: flex; align-items: center; gap: .5rem; flex: 1 1 140px; max-width: 260px; }
.ztv-barra { flex: 1 1 auto; height: 6px; border-radius: 6px; background: rgba(143, 163, 194, .18); overflow: hidden; }
.ztv-barra > i { display: block; height: 100%; border-radius: inherit; background: linear-gradient(90deg, #2d9bff, #10e08c); box-shadow: 0 0 8px rgba(16, 224, 140, .6); }
.ztv-pct { font-size: .8rem; font-weight: 800; color: var(--zt-text); }
.ztv-filtro { margin-left: auto; }
.ztv-filtro span { padding: .28rem .7rem; font-size: .72rem; }
.ztv-docs-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(290px, 1fr)); gap: .6rem; }
.ztv-doc {
	display: grid; grid-template-columns: auto 1fr auto; grid-template-rows: auto auto; column-gap: .7rem; row-gap: .45rem; align-items: center;
	padding: .7rem .8rem; border-radius: 14px;
	background: rgba(var(--c), .06); border: 1px solid rgba(var(--c), .3); border-left: 3px solid rgb(var(--c));
}
.ztv-doc[hidden] { display: none; }
.ztv-doc.is-falta { border-style: dashed; border-left-style: solid; opacity: .85; }
.ztv-doc-ico { grid-row: 1 / span 2; display: grid; place-items: center; width: 36px; height: 36px; border-radius: 10px; color: rgb(var(--c)); background: rgba(var(--c), .14); }
.ztv-doc-ico svg, .ztv-doc-ico i[data-feather] { width: 17px; height: 17px; }
.ztv-doc-txt { min-width: 0; }
.ztv-doc-nome { font-size: .84rem; font-weight: 700; color: var(--zt-text); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.ztv-doc-info { font-size: .72rem; color: var(--zt-muted); }
.ztv-doc .zt-pill { justify-self: end; white-space: nowrap; }
.ztv-doc-acoes { grid-column: 2 / -1; display: flex; justify-content: flex-end; gap: .3rem; }
.ztv-doc-acoes:empty { display: none; }
.ztv-doc-acoes .zt-ibtn { width: 28px; height: 28px; border-radius: 8px; }
.ztv-doc-acoes .zt-ibtn svg { width: 14px; height: 14px; }

.ztv-pdf-barra { display: flex; justify-content: space-between; gap: .5rem; margin-bottom: .8rem; }
.ztv-pdf { width: 100%; height: 70vh; border: 0; border-radius: 14px; background: #fff; }

/* ===== Botão pequeno de ação secundária num cabeçalho de card (ex.: "Limpar todas")
   <button class="zt-btn-mini">Texto</button> — ícone de "visto" desenhado pelo CSS (o texto pode ser trocado por JS) */
.zt-btn-mini {
	display: inline-flex; align-items: center; gap: .35rem;
	padding: .3rem .7rem .3rem .55rem; border-radius: 999px;
	font-family: inherit; font-size: .74rem; font-weight: 600; white-space: nowrap; line-height: 1.2;
	color: var(--zt-muted); background: transparent;
	border: 1px solid var(--zt-border-soft);
	cursor: pointer; transition: color .15s, background .15s, border-color .15s, box-shadow .15s;
}
.zt-btn-mini::before {
	content: ""; width: 14px; height: 14px; flex: 0 0 auto; background: currentColor;
	-webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='18 7 9.5 15.5 6 12'/%3E%3Cpolyline points='22 7 13.5 15.5 12.5 14.5'/%3E%3C/svg%3E") center / contain no-repeat;
	mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='18 7 9.5 15.5 6 12'/%3E%3Cpolyline points='22 7 13.5 15.5 12.5 14.5'/%3E%3C/svg%3E") center / contain no-repeat;
}
.zt-btn-mini:hover { color: var(--zt-accent); border-color: rgba(var(--zt-glow-rgb), .5); background: rgba(var(--zt-glow-rgb), .1); box-shadow: 0 0 10px rgba(var(--zt-glow-rgb), .2); }
.zt-btn-mini:focus-visible { outline: 2px solid var(--zt-accent); outline-offset: 2px; }
.zt-btn-mini:disabled { opacity: .5; cursor: wait; }

/* =========================================================
   OBRAS (obras.php) — prefixo .zo-
   .zo-card (cor = .zt-v-* do estado) · .zo-barra (pesquisa/ordenar)
   Calendário de datas (popover): .obra-cal-* / .ocday / .ocbtn
   ========================================================= */
.zo-kpis { grid-template-columns: repeat(auto-fit, minmax(140px, 1fr)); }
.zo-kpis .zt-kpi { cursor: pointer; font: inherit; text-align: left; }

.zo-barra { display: flex; flex-wrap: wrap; align-items: center; gap: .7rem 1rem; margin-bottom: 1.1rem; }
.zo-busca { position: relative; flex: 1 1 280px; max-width: 520px; }
.zo-busca > svg, .zo-busca > i[data-feather] { position: absolute; left: .85rem; top: 50%; transform: translateY(-50%); width: 16px; height: 16px; color: var(--zt-muted); pointer-events: none; }
.zo-busca input {
	width: 100%; padding: .55rem .9rem .55rem 2.3rem; border-radius: 999px; font-size: .85rem;
	color: var(--zt-text); background: var(--zt-input); border: 1px solid var(--zt-border); outline: none;
	transition: border-color .15s, box-shadow .15s;
}
.zo-busca input:focus { border-color: var(--zt-accent); box-shadow: 0 0 0 3px rgba(var(--zt-glow-rgb), .18); }
.zo-busca input::placeholder { color: var(--zt-muted); }
.zo-ordem-btn {
	display: inline-flex; align-items: center; gap: .5rem; padding: .55rem 1rem; border-radius: 999px; font: inherit; font-size: .84rem;
	color: var(--zt-muted); background: var(--zt-input); border: 1px solid var(--zt-border); cursor: pointer; transition: border-color .15s, color .15s, box-shadow .15s;
}
.zo-ordem-btn strong { color: var(--zt-text); font-weight: 600; }
.zo-ordem-btn svg, .zo-ordem-btn i[data-feather] { width: 15px; height: 15px; }
.zo-ordem-btn.dropdown-toggle::after { margin-left: .2rem; border-top-color: currentColor; }
.zo-ordem-btn:hover, .zo-ordem-btn[aria-expanded="true"] { border-color: var(--zt-accent); color: var(--zt-text); box-shadow: 0 0 0 3px rgba(var(--zt-glow-rgb), .14); }
.zo-ordem .dropdown-item { font-size: .84rem; white-space: nowrap; }
.zo-ordem-btn:focus-visible { outline: 2px solid var(--zt-accent); outline-offset: 2px; }
.zo-ordem-btn:focus:not(:focus-visible) { outline: none; }
.zo-total { margin-left: auto; font-size: .78rem; font-weight: 600; color: var(--zt-muted); white-space: nowrap; }

.zo-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(330px, 1fr)); gap: 1rem; }
.zo-card[hidden], .zo-vazio[hidden] { display: none !important; }

/* Cartão calmo: só o estado tem cor (faixa à esquerda + texto do estado) */
.zo-card {
	position: relative; display: flex; flex-direction: column; min-width: 0; overflow: hidden;
	border-radius: 16px; background: var(--zt-card); border: 1px solid var(--zt-border-soft); box-shadow: var(--zt-shadow);
	transition: border-color .2s, box-shadow .2s, opacity .3s, transform .3s;
}
.zo-card::before { content: ""; position: absolute; z-index: 3; left: 0; top: 0; bottom: 0; width: 3px; background: rgb(var(--c)); box-shadow: 0 0 10px rgba(var(--c), .7); }
.zo-card:hover { border-color: var(--zt-border); box-shadow: var(--zt-shadow), 0 0 18px rgba(var(--zt-glow-rgb), .1); }
.zo-card.zo-saindo { opacity: 0; transform: scale(.96); }

/* Capa: logótipo grande numa placa branca + a mesma imagem esbatida por trás, com gradiente na cor do estado */
.zo-capa { position: relative; height: 118px; display: flex; align-items: center; justify-content: center; overflow: hidden; isolation: isolate; border-bottom: 1px solid var(--zt-border-soft); }
.zo-capa::before { /* imagem esbatida */
	content: ""; position: absolute; inset: -30px; z-index: -2;
	background: var(--zo-img) center / cover no-repeat; filter: blur(22px) saturate(1.3); opacity: .45; transform: scale(1.1);
}
.zo-capa::after { /* gradiente: cor do estado em cima, cor do cartão em baixo */
	content: ""; position: absolute; inset: 0; z-index: -1;
	background:
		radial-gradient(120% 90% at 15% 0%, rgba(var(--c), .35), transparent 60%),
		linear-gradient(180deg, rgba(var(--zt-bg-rgb), .15) 0%, rgba(var(--zt-bg-rgb), .55) 100%);
}
.zo-logo {
	display: grid; place-items: center; width: 168px; height: 84px; padding: 8px 12px; border-radius: 14px;
	background: #fff; box-shadow: 0 8px 24px rgba(0, 0, 0, .35), 0 0 0 1px rgba(255, 255, 255, .6);
	transition: transform .2s;
}
.zo-logo { position: relative; }
.zo-logo img { position: absolute; inset: 8px 12px; width: calc(100% - 24px); height: calc(100% - 16px); object-fit: contain; }
.zo-card:hover .zo-logo { transform: translateY(-2px) scale(1.03); }
.zo-capa .zo-menu { position: absolute; top: 8px; right: 8px; }
.zo-capa .zo-mais { margin: 0; color: #fff; background: rgba(0, 0, 0, .28); border-color: rgba(255, 255, 255, .15); backdrop-filter: blur(6px); }
.zo-capa .zo-mais:hover, .zo-capa .zo-mais[aria-expanded="true"] { color: #fff; background: rgba(0, 0, 0, .45); }
html[data-theme="light"] .zo-capa::after { background: radial-gradient(120% 90% at 15% 0%, rgba(var(--c), .28), transparent 60%), linear-gradient(180deg, rgba(255, 255, 255, .1), rgba(255, 255, 255, .5)); }
html[data-theme="light"] .zo-logo { box-shadow: 0 6px 18px rgba(20, 50, 100, .18), 0 0 0 1px rgba(31, 80, 150, .1); }
html.zt-lite .zo-capa::before { filter: none; opacity: .18; } /* desfoque é pesado no Firefox/PCs lentos */
.zo-card.zt-v-gray .zo-logo img { filter: grayscale(.7); opacity: .8; }
.zo-top { padding: .85rem 1rem .6rem 1.15rem; min-width: 0; }
.zo-tit { flex: 1 1 auto; min-width: 0; display: flex; flex-direction: column; gap: .15rem; }
.zo-nome { font-size: .98rem; font-weight: 700; line-height: 1.25; color: var(--zt-text) !important; text-decoration: none !important; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; overflow-wrap: anywhere; }
.zo-nome:hover { color: var(--zt-accent) !important; }
.zo-sub, .zo-local { font-size: .76rem; color: var(--zt-muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.zo-cod { font-weight: 600; color: var(--zt-text); opacity: .85; }
.zo-local { display: flex; align-items: center; gap: .4rem; }
.zo-local > span:last-child { overflow: hidden; text-overflow: ellipsis; }
.zo-local svg, .zo-local i[data-feather] { width: 13px; height: 13px; flex: 0 0 auto; }
.zo-mais { flex: 0 0 auto; width: 30px; height: 30px; margin: -.2rem -.35rem 0 0; border-radius: 9px; display: grid; place-items: center; padding: 0; color: var(--zt-muted); background: transparent; border: 1px solid transparent; transition: all .15s; }
.zo-mais svg { width: 16px; height: 16px; }
.zo-mais:hover, .zo-mais[aria-expanded="true"] { color: var(--zt-text); background: var(--zt-hover); border-color: var(--zt-border); }
.zo-menu .dropdown-item { display: flex; align-items: center; gap: .55rem; font-size: .84rem; }
.zo-menu .dropdown-item svg, .zo-menu .dropdown-item i[data-feather] { width: 15px; height: 15px; }
.zo-menu .zo-perigo { color: #ff6b81 !important; }
.zo-card:not([data-estado="concluida"]) .zo-so-concl,
.zo-card[data-estado="concluida"] .zo-so-ativa { display: none; }

.zo-info { display: flex; align-items: center; justify-content: space-between; gap: .6rem; padding: 0 1rem .6rem 1.15rem; }
.zo-estado {
	display: inline-flex; align-items: center; gap: .45rem; padding: .15rem .1rem; border: 0; background: none; font: inherit;
	font-size: .8rem; font-weight: 700; color: rgb(var(--c)); cursor: pointer; border-radius: 6px;
}
.zo-estado::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: rgb(var(--c)); box-shadow: 0 0 8px rgba(var(--c), .9); }
.zo-estado.dropdown-toggle::after { margin-left: .1rem; opacity: .7; border-top-color: currentColor; }
.zo-estado:hover { filter: brightness(1.15); }
.zo-estado:disabled { cursor: default; opacity: 1; }
.zo-estado:disabled::after { display: none; }
.zo-trab { display: inline-flex; align-items: center; gap: .35rem; font-size: .76rem; font-weight: 600; color: var(--zt-muted); white-space: nowrap; }
.zo-trab svg, .zo-trab i[data-feather] { width: 14px; height: 14px; }
.zo-trab:not(.is-zero) svg, .zo-trab:not(.is-zero) i[data-feather] { color: var(--zt-accent-2); }

.zo-tempo { display: flex; align-items: center; padding: 0 1rem .35rem 1.15rem; }
.zo-datas { display: inline-flex; align-items: center; gap: .4rem; padding: .2rem .45rem; margin-left: -.45rem; border-radius: 8px; font-size: .8rem; color: var(--zt-text); border: 1px dashed transparent; transition: all .15s; }
.zo-datas svg, .zo-datas i[data-feather] { width: 14px; height: 14px; color: var(--zt-muted); }
.zo-datas .obra-date-val { font-weight: 600; font-variant-numeric: tabular-nums; }
.zo-seta { color: var(--zt-muted); }
.obra-dates-editable { cursor: pointer; }
.obra-dates-editable:hover, .obra-dates-editable:focus-visible { outline: none; border-color: var(--zt-accent); background: var(--zt-hover); }
.obra-dates-editable:hover svg { color: var(--zt-accent); }
.obra-dates-editable.cal-loading { opacity: .6; pointer-events: none; }
.zo-prog-txt { font-size: .74rem; font-weight: 600; color: var(--zt-muted); white-space: nowrap; }
.zo-prog-txt.is-late { color: #ff6b81; }
.zo-prog-txt.is-warn { color: #ffb547; }
.zo-prog { display: flex; align-items: center; gap: .7rem; padding: 0 1rem .95rem 1.15rem; }
.zo-prog .zt-bar { --c: inherit; height: 3px; }

/* Rodapé: duas ações simples, separadas por uma linha */
.zo-acoes { display: grid; grid-template-columns: 1fr 1fr; gap: .6rem; margin-top: auto; padding: .85rem 1rem 1rem 1.15rem; border-top: 1px solid var(--zt-border-soft); }
.zo-acoes .zt-dbtn { height: 36px; font-size: .82rem; }
.zo-acoes .zt-dbtn svg, .zo-acoes .zt-dbtn i[data-feather] { width: 15px; height: 15px; }
.zo-btn {
	display: flex; align-items: center; justify-content: center; gap: .45rem; padding: .7rem .5rem;
	font-size: .82rem; font-weight: 600; color: var(--zt-muted) !important; text-decoration: none !important; transition: background .15s, color .15s;
}
.zo-btn + .zo-btn { border-left: 1px solid var(--zt-border-soft); }
.zo-btn svg, .zo-btn i[data-feather] { width: 15px; height: 15px; }
.zo-btn:hover { color: var(--zt-accent) !important; background: var(--zt-hover); }

.zo-vazio { margin-top: .5rem; }
.zo-conf-corpo { display: flex; align-items: flex-start; gap: .9rem; }
.zo-conf-ico { flex: 0 0 auto; width: 44px; height: 44px; border-radius: 14px; display: grid; place-items: center; color: rgb(var(--c)); background: rgba(var(--c), .12); border: 1px solid rgba(var(--c), .4); }
.zo-conf-ico svg { width: 22px; height: 22px; }

html[data-theme="light"] .zo-card::before, html[data-theme="light"] .zo-estado::before { box-shadow: none; }
html.zt-lite .zo-card, html.zt-lite .zo-card:hover { box-shadow: none; }
html.zt-lite .zo-card::before, html.zt-lite .zo-estado::before { box-shadow: none; }
@media (max-width: 575.98px) {
	.zo-grid { grid-template-columns: 1fr; }
	.zo-total { margin-left: 0; }
}

/* --- Calendário de datas da obra (popover) --- */
#obra-cal-portal { position: fixed; inset: 0; z-index: 99998; pointer-events: none; }
.obra-cal-pop {
	position: fixed; pointer-events: all; width: 320px; padding: 14px; border-radius: 16px;
	background: var(--zt-card-solid); color: var(--zt-text);
	border: 1px solid var(--zt-border); box-shadow: 0 20px 60px rgba(0, 0, 0, .45), 0 0 24px rgba(var(--zt-glow-rgb), .15);
	animation: obraPopIn .15s ease;
}
@keyframes obraPopIn { from { opacity: 0; transform: translateY(-6px) scale(.97); } to { opacity: 1; transform: none; } }
.obra-cal-hdr { display: flex; align-items: center; justify-content: space-between; margin-bottom: 10px; gap: 6px; }
.obra-cal-titulo { font-size: 13px; font-weight: 700; color: var(--zt-text); }
.obra-cal-nav { display: flex; gap: 4px; }
.obra-cal-nav button, .obra-cal-zoom, .ocbtn {
	font-family: inherit; cursor: pointer; color: var(--zt-muted); background: transparent;
	border: 1px solid var(--zt-border); transition: all .12s;
}
.obra-cal-nav button { width: 28px; height: 28px; border-radius: 8px; display: grid; place-items: center; font-size: 15px; }
.obra-cal-zoom { padding: 3px 10px; border-radius: 8px; font-size: 12.5px; font-weight: 700; color: var(--zt-text); }
.obra-cal-nav button:hover, .obra-cal-zoom:hover, .obra-cal-zoom.active { border-color: var(--zt-accent); color: var(--zt-accent); background: var(--zt-hover); }
.obra-cal-dow { display: grid; grid-template-columns: repeat(7, 1fr); margin-bottom: 3px; }
.obra-cal-dow span { text-align: center; font-size: 9px; font-weight: 800; text-transform: uppercase; letter-spacing: .05em; color: var(--zt-muted); padding-bottom: 4px; }
.obra-cal-days { display: grid; grid-template-columns: repeat(7, 1fr); gap: 1px; }
.ocday { aspect-ratio: 1; display: flex; align-items: center; justify-content: center; position: relative; font-size: 12px; border-radius: 8px; cursor: pointer; color: var(--zt-text); transition: background .09s; }
.ocday:hover:not(.empty):not(.ds):not(.de) { background: var(--zt-hover); }
.ocday.empty { pointer-events: none; color: transparent; }
.ocday.inr { background: rgba(var(--zt-glow-rgb), .16); border-radius: 0; color: var(--zt-accent); font-weight: 600; }
.ocday.ds, .ocday.de { background: var(--zt-accent) !important; color: #fff !important; font-weight: 800; border-radius: 8px !important; z-index: 1; box-shadow: 0 0 10px rgba(var(--zt-glow-rgb), .6); }
.ocday.ds.hend { border-radius: 8px 0 0 8px !important; }
.ocday.de.hstart { border-radius: 0 8px 8px 0 !important; }
.ocday.tod::after { content: ""; position: absolute; bottom: 3px; width: 4px; height: 4px; border-radius: 50%; background: var(--zt-accent-2); }
.ocday.ds.tod::after, .ocday.de.tod::after { background: rgba(255, 255, 255, .7); }
.obra-cal-hint { margin-top: 8px; min-height: 13px; font-size: 10.5px; text-align: center; color: var(--zt-muted); }
.obra-cal-manual { display: flex; align-items: center; gap: 6px; margin-top: 8px; padding-top: 8px; border-top: 1px solid var(--zt-border-soft); }
.obra-cal-manual-inp { flex: 1; min-width: 0; padding: 5px 7px; border-radius: 8px; font: inherit; font-size: 11.5px; color: var(--zt-text); background: var(--zt-input); border: 1px solid var(--zt-border); outline: none; color-scheme: dark; }
html[data-theme="light"] .obra-cal-manual-inp { color-scheme: light; }
.obra-cal-manual-inp:focus { border-color: var(--zt-accent); }
.obra-cal-manual-lbl { font-size: 10.5px; font-weight: 700; color: var(--zt-muted); }
.obra-cal-months, .obra-cal-years { display: grid; grid-template-columns: repeat(3, 1fr); gap: 4px; margin: 4px 0; }
.obra-cal-month-item, .obra-cal-year-item { padding: 8px 4px; text-align: center; border-radius: 8px; cursor: pointer; font-size: 12.5px; font-weight: 600; color: var(--zt-text); border: 1px solid transparent; transition: background .1s; }
.obra-cal-month-item:hover, .obra-cal-year-item:hover { background: var(--zt-hover); border-color: var(--zt-border); }
.obra-cal-month-item.sel, .obra-cal-year-item.sel { background: var(--zt-accent); border-color: var(--zt-accent); color: #fff; }
.obra-cal-err { min-height: 14px; margin-top: 4px; font-size: 10.5px; text-align: center; color: #ff6b81; }
.obra-cal-foot { display: flex; gap: 6px; margin-top: 10px; padding-top: 9px; border-top: 1px solid var(--zt-border-soft); }
.ocbtn { padding: 6px 12px; border-radius: 8px; font-size: 11.5px; font-weight: 700; white-space: nowrap; }
.ocbtn:hover { color: var(--zt-text); border-color: var(--zt-muted); }
.ocbtn.ok { margin-left: auto; color: #fff; background: linear-gradient(135deg, #2f9bff, #1560c8); border-color: transparent; box-shadow: 0 0 12px rgba(var(--zt-glow-rgb), .4); }
.ocbtn.ok:hover { filter: brightness(1.1); }
html[data-theme="light"] .obra-cal-pop { box-shadow: 0 20px 50px rgba(20, 50, 100, .18); }

/* =========================================================
   FORMULÁRIO DA OBRA (nova-obra / editar-obra → obra_form.php) — prefixo .zn-
   ========================================================= */
.zn-voltar { margin-top: .4rem; }
.zn-voltar::before { display: none; }
.zn-voltar svg, .zn-voltar i[data-feather] { width: 15px; height: 15px; }
.zn-card .card-title { display: flex; align-items: center; gap: .55rem; }
.zn-card .card-title svg, .zn-card .card-title i[data-feather] { width: 17px; height: 17px; color: var(--zt-accent); }
.zn-card .card-body { padding-top: 1rem; }
.zn-card .form-label { font-size: .78rem; margin-bottom: .3rem; }
.zn-card .form-label b { color: #ff6b81; font-weight: 700; }
.zn-dica { font-size: .74rem; font-weight: 400; color: var(--zt-muted); }
.zn-dica.is-erro { color: #ff6b81; font-weight: 600; }
.form-label .zn-dica { margin-left: .35rem; opacity: .8; }

/* listas de sugestões (cliente, trabalhador, morada) */
.zn-ac, .autocomplete-wrap { position: relative; }
.zt-theme .autocomplete-items, .zt-theme .suggestions {
	position: absolute; left: 0; right: 0; top: 100%; z-index: 50; margin-top: 4px; max-height: 260px; overflow-y: auto;
	background: var(--zt-card-solid); border: 1px solid var(--zt-border); border-radius: 12px; box-shadow: 0 14px 34px rgba(0, 0, 0, .4);
}
.zn-ac .autocomplete-items { left: calc(var(--bs-gutter-x, 1.5rem) * .5); right: calc(var(--bs-gutter-x, 1.5rem) * .5); }
.zt-theme .autocomplete-items:empty { display: none; border: 0; box-shadow: none; }
.zt-theme .autocomplete-items > div, .zt-theme .suggestions .suggestion {
	padding: .55rem .85rem; font-size: .84rem; color: var(--zt-text); background: transparent; border-bottom: 1px solid var(--zt-border-soft); cursor: pointer;
}
.zt-theme .autocomplete-items > div:last-child, .zt-theme .suggestions .suggestion:last-child { border-bottom: 0; }
.zt-theme .autocomplete-items > div:hover, .zt-theme .autocomplete-items > .autocomplete-active, .zt-theme .suggestions .suggestion:hover { background: var(--zt-hover); color: var(--zt-accent); }
html[data-theme="light"] .zt-theme .autocomplete-items, html[data-theme="light"] .zt-theme .suggestions { box-shadow: 0 12px 28px rgba(20, 50, 100, .16); }

.zt-theme .alert-warning { color: #ffcf7a; background: rgba(255, 181, 71, .1); border-color: rgba(255, 181, 71, .45); }
html[data-theme="light"] .zt-theme .alert-warning { color: #8a5a00; background: #fff6e5; }

/* faturação */
.zn-tipo { margin-bottom: 1rem; }
.zn-tarifas { display: flex; flex-direction: column; gap: .45rem; }
.zn-tar-head, .zn-tar-row { display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(90px, 1fr) minmax(90px, 1fr) minmax(110px, .9fr); gap: .6rem; align-items: center; }
.zn-tar-head span { font-size: .68rem; font-weight: 800; letter-spacing: .07em; text-transform: uppercase; color: var(--zt-muted); }
.zn-tar-row { padding: .35rem .5rem .35rem .75rem; border-radius: 12px; background: var(--zt-input); border: 1px solid var(--zt-border-soft); }
.zn-tar-lbl { font-size: .84rem; font-weight: 600; color: var(--zt-text); }
.zn-tar-lbl small { display: block; font-size: .7rem; font-weight: 500; color: var(--zt-muted); }
.zn-tar-row .form-control { text-align: right; font-variant-numeric: tabular-nums; }
.zn-margem { font-size: .78rem; font-weight: 700; text-align: right; color: var(--zt-muted); font-variant-numeric: tabular-nums; white-space: nowrap; }
.zn-margem.is-pos { color: #10e08c; }
.zn-margem.is-neg { color: #ff6b81; }
@media (max-width: 575.98px) {
	.zn-tar-head { display: none; }
	.zn-tar-row { grid-template-columns: 1fr 1fr; }
	.zn-tar-lbl { grid-column: 1 / -1; }
	.zn-margem { grid-column: 1 / -1; text-align: left; }
}

/* mapa */
.zn-mapa { position: relative; height: 340px; border-radius: 14px; overflow: hidden; border: 1px solid var(--zt-border); }
.zn-mapa-btn {
	position: absolute; top: 10px; right: 10px; z-index: 1000; width: 36px; height: 36px; display: grid; place-items: center; padding: 0;
	border-radius: 10px; color: #1560c8; background: #fff; border: 1px solid rgba(0, 0, 0, .15); box-shadow: 0 4px 12px rgba(0, 0, 0, .25); cursor: pointer;
}
.zn-mapa-btn svg, .zn-mapa-btn i[data-feather] { width: 17px; height: 17px; }
.zn-mapa-btn:hover { color: #fff; background: #1560c8; }
.zn-raio { display: flex; align-items: center; gap: .8rem; margin-top: .8rem; }
.zn-raio .form-label { font-size: .78rem; white-space: nowrap; }
.zn-raio .form-range { flex: 1; }
.zn-raio-val { min-width: 4.2rem; text-align: right; font-weight: 700; color: var(--zt-accent); font-variant-numeric: tabular-nums; }
.zt-theme .form-range::-webkit-slider-thumb { background: var(--zt-accent); box-shadow: 0 0 10px rgba(var(--zt-glow-rgb), .7); }
.zt-theme .form-range::-moz-range-thumb { background: var(--zt-accent); border: 0; }
.zt-theme .form-range::-webkit-slider-runnable-track { background: rgba(143, 163, 194, .25); }
.zt-theme .form-range::-moz-range-track { background: rgba(143, 163, 194, .25); }
.zt-theme .leaflet-container { font-family: inherit; }

/* imagem da obra: pré-visualização + grelha de ícones */
.zn-prev { margin-bottom: 1rem; pointer-events: none; }
.zn-prev .zo-capa { height: 104px; }
.zn-prev-nome { padding: .7rem 1rem .8rem 1.15rem; font-weight: 700; color: var(--zt-text); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.zn-icons { display: grid; grid-template-columns: repeat(auto-fill, minmax(68px, 1fr)); gap: .5rem; }
.zn-ico { position: relative; margin: 0; cursor: pointer; }
.zn-ico .icon-radio { position: absolute; opacity: 0; pointer-events: none; }
.zn-ico .icon-card {
	position: relative; aspect-ratio: 1; display: grid; place-items: center; padding: 6px; margin: 0; border-radius: 12px;
	background: #fff; border: 2px solid var(--zt-border-soft); transition: border-color .15s, box-shadow .15s, transform .15s;
}
.zn-ico .icon-card img { max-width: 100%; max-height: 100%; object-fit: contain; }
.zn-ico:hover .icon-card { transform: translateY(-2px); border-color: rgba(var(--zt-glow-rgb), .6); }
.zn-ico .icon-radio:checked + .icon-card, .zn-ico .icon-card.selected { border-color: var(--zt-accent); box-shadow: 0 0 0 3px rgba(var(--zt-glow-rgb), .3), 0 0 14px rgba(var(--zt-glow-rgb), .45); }
.zn-ico .icon-radio:focus-visible + .icon-card { outline: 2px solid var(--zt-accent); outline-offset: 2px; }
.zn-ico-logo .icon-card { background: var(--zt-input); border-style: dashed; border-color: var(--zt-border); }
.zn-ico-logo #logo-cell-empty { display: flex; flex-direction: column; align-items: center; gap: .2rem; text-align: center; color: var(--zt-muted); }
.zn-ico-logo #logo-cell-empty svg, .zn-ico-logo #logo-cell-empty i[data-feather] { width: 20px; height: 20px; }
.zn-ico-logo #logo-cell-empty small { font-size: .6rem; line-height: 1.1; }
.zn-ico-logo #logo-cell-filled { width: 100%; height: 100%; display: grid; place-items: center; background: #fff; border-radius: 8px; }
.zn-ico-logo #logo-cell-filled img { max-width: 100%; max-height: 100%; object-fit: contain; }
.zn-ico-x {
	position: absolute; top: -8px; right: -8px; z-index: 2; width: 20px; height: 20px; padding: 0; border: 0; border-radius: 50%;
	display: grid; place-items: center; font-size: 13px; line-height: 1; color: #fff; background: #ff4d6a; box-shadow: 0 2px 6px rgba(0, 0, 0, .35); cursor: pointer;
}

/* contrato (PDF) */
.zn-drop {
	display: flex; align-items: center; gap: .9rem; padding: 1rem 1.1rem; border-radius: 14px; cursor: pointer; text-align: left;
	border: 2px dashed var(--zt-border); background: var(--zt-input); color: var(--zt-muted); transition: border-color .15s, background .15s;
}
.zn-drop strong { color: var(--zt-text); }
.zn-drop:hover, .zn-drop:focus-visible, .zn-drop.dragover, .zn-drop.dz-drag-hover { outline: none; border-color: var(--zt-accent); background: var(--zt-hover); }
.zn-drop-ico { flex: 0 0 auto; width: 44px; height: 44px; border-radius: 12px; display: grid; place-items: center; color: var(--zt-accent); background: rgba(var(--zt-glow-rgb), .12); }
.zn-drop-ico svg, .zn-drop-ico i[data-feather] { width: 22px; height: 22px; }
.zn-drop-ico.is-ok { color: #10e08c; background: rgba(16, 224, 140, .14); }
.zn-doc { display: flex; align-items: center; flex-wrap: wrap; gap: .6rem .8rem; padding: .8rem 1rem; border-radius: 14px; border: 1px solid rgba(16, 224, 140, .45); background: rgba(16, 224, 140, .07); }
.zn-doc-txt { flex: 1 1 auto; font-weight: 700; color: var(--zt-text); }
.zn-doc .zt-neon { padding: .35rem .8rem; }
.zn-doc .zt-neon::before { display: none; }
.zn-doc .zt-neon svg, .zn-doc .zt-neon i[data-feather] { width: 14px; height: 14px; }
.zn-erros { padding: .7rem .9rem; border-radius: 10px; background: var(--zt-input); border: 1px solid var(--zt-border-soft); font-size: .86rem; }
.zn-erros ul { margin: 0; padding-left: 1.1rem; }

/* botão secundário (Cancelar) dentro da barra de guardar: pílula de vidro, à altura do Guardar */
.zt-form-actions .btn-secondary, .zt-theme .zt-form-actions .btn-secondary {
	display: inline-flex; align-items: center; justify-content: center; align-self: stretch;
	padding: 0 1.4rem; border-radius: 999px; font-weight: 600; letter-spacing: .02em; text-decoration: none !important;
	color: var(--zt-muted) !important; background: transparent !important; border: 1px solid var(--zt-border) !important; box-shadow: none !important;
	transition: color .15s, border-color .15s, background .15s;
}
.zt-form-actions .btn-secondary:hover, .zt-theme .zt-form-actions .btn-secondary:hover { color: var(--zt-text) !important; border-color: var(--zt-accent) !important; background: var(--zt-hover) !important; }

/* =========================================================
   OBRA (obra.php) — página de gestão de uma obra
   Os estilos desta página viviam num <style> claro dentro do obra.php;
   passam para aqui com as cores do tema (escuro/claro).
   ========================================================= */

/* --- cabeçalho: estado + controlos (vista corrigida / fuso) --- */
.zb-head { display: flex; align-items: flex-start; justify-content: space-between; flex-wrap: wrap; gap: 1rem; }
.zb-meta { display: flex; align-items: center; flex-wrap: wrap; gap: .5rem .9rem; margin-top: .55rem; font-size: .85rem; color: var(--zt-muted); }
.zb-meta svg, .zb-meta i[data-feather] { width: 14px; height: 14px; }
.zb-meta span { display: inline-flex; align-items: center; gap: .35rem; }
.zb-ctrl { display: flex; align-items: center; flex-wrap: wrap; gap: .6rem .9rem; padding: .55rem .9rem; border-radius: 14px; background: var(--zt-card); border: 1px solid var(--zt-border); box-shadow: var(--zt-shadow); }
.zb-ctrl .zn-switch-label { font-size: .8rem; font-weight: 600; color: var(--zt-muted); white-space: nowrap; }
.zb-ctrl .form-select { width: auto; min-width: 4.6rem; border-radius: 999px; }
.zn-switch { position: relative; display: inline-block; width: 42px; height: 22px; flex-shrink: 0; cursor: pointer; }
.zn-switch input { position: absolute; opacity: 0; width: 100%; height: 100%; margin: 0; cursor: pointer; z-index: 2; }
.zn-switch-track { position: absolute; inset: 0; border-radius: 999px; background: rgba(143, 163, 194, .35); transition: background-color .2s; pointer-events: none; }
.zn-switch-knob { position: absolute; top: 3px; left: 3px; width: 16px; height: 16px; border-radius: 50%; background: #fff; transition: transform .2s; box-shadow: 0 1px 3px rgba(0, 0, 0, .35); }
.zn-switch input:checked + .zn-switch-track { background: linear-gradient(135deg, #2f9bff, #1560c8); box-shadow: 0 0 10px rgba(var(--zt-glow-rgb), .5); }
.zn-switch input:checked + .zn-switch-track .zn-switch-knob { transform: translateX(20px); }
.zn-switch input:focus-visible + .zn-switch-track { outline: 2px solid var(--zt-accent); outline-offset: 2px; }

/* --- meses (períodos) --- */
.zb-meses { display: flex; flex-wrap: wrap; gap: .45rem; margin: 1.1rem 0 1.2rem; }
.zb-meses .zt-dbtn.active { color: #fff !important; background: linear-gradient(135deg, var(--b1), var(--b2)) !important; border-color: transparent !important; box-shadow: 0 0 14px rgba(var(--c), .5) !important; }
html[data-theme="light"] .zb-meses .zt-dbtn.active { color: #fff !important; }
.zb-meses-legenda { display: flex; flex-wrap: wrap; gap: .3rem 1rem; margin: -.6rem 0 1.2rem; font-size: .72rem; color: var(--zt-muted); }
.zb-meses-legenda span::before { content: ""; display: inline-block; width: 8px; height: 8px; margin-right: .35rem; border-radius: 50%; background: rgb(var(--c)); }

/* --- associar trabalhador (pesquisa) --- */
#trabalhador-container { position: relative; }
.autocomplete-trab, .autocomplete-trab-items {
	position: absolute; top: 100%; left: 20px; right: 0; z-index: 1000; display: none; max-height: 240px; overflow-y: auto; margin-top: 4px;
	background: var(--zt-card-solid); border: 1px solid var(--zt-border); border-radius: 12px; box-shadow: 0 14px 34px rgba(0, 0, 0, .4);
}
.autocomplete-trab-items { margin-left: 20px; margin-right: 20px; }
.autocomplete-trab div, .autocomplete-trab-item { padding: .55rem .85rem; font-size: .84rem; color: var(--zt-text); cursor: pointer; user-select: none; border-bottom: 1px solid var(--zt-border-soft); transition: background-color .15s; }
.autocomplete-trab div:hover, .autocomplete-trab-item:hover { background: var(--zt-hover); color: var(--zt-accent); }
.autocomplete-trab .autocomplete-active, .autocomplete-trab-active { background: rgba(var(--zt-glow-rgb), .18) !important; color: var(--zt-accent) !important; }
.autocomplete-trab div *, .autocomplete-trab-item * { pointer-events: none; }
html[data-theme="light"] .autocomplete-trab, html[data-theme="light"] .autocomplete-trab-items { box-shadow: 0 12px 28px rgba(20, 50, 100, .16); }
.zb-assoc { display: grid; grid-template-columns: 1fr 1fr; gap: .8rem; padding: 1rem 1.25rem .3rem; }
.zb-assoc #trabalhador-container { padding-left: 0 !important; }
.zb-assoc .autocomplete-trab { left: 0; }
@media (max-width: 767.98px) { .zb-assoc { grid-template-columns: 1fr; } }

/* menu dos horários (dropdown) */
.horario-dropdown .dropdown-menu { max-height: 340px; overflow-y: auto; }
.horario-item { color: var(--zt-text); }
.horario-item:hover, .horario-item.focused { background: var(--zt-hover); color: var(--zt-accent); cursor: pointer; }
.horario-item:focus { outline: none; }

.zt-theme .table tbody td { font-size: 13px; }
.star-inactive { fill: none; stroke: var(--zt-muted); cursor: pointer; transition: all .2s; }
.star-inactive:hover { fill: #ffc107; stroke: #ffc107; transform: scale(1.15); }
.star-active { cursor: pointer; fill: #ffc107; stroke: #ffc107; }
.icon-svg { width: 15px; height: 15px; vertical-align: middle; filter: brightness(0) invert(1); }
.feather2 { height: 20px; width: 20px; stroke-width: 1.3 !important; fill: none !important; }

.table-picagens th { font-size: .85rem; font-weight: 600; background: var(--zt-input); }
.table-picagens td { font-size: .875rem; vertical-align: middle; }
.table-picagens .dia-header { background: var(--zt-hover); font-weight: 600; font-size: .9rem; }
.table-picagens tfoot td { font-weight: 600; background: var(--zt-input); border-top: 2px solid var(--zt-border); }
.badge-entrada { background: #16a34a; color: #fff; }
.badge-saida { background: #dc3545; color: #fff; }

/* --- cartões dos trabalhadores --- */
.trab-cards-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 14px; padding: 16px 1.25rem 1.25rem; }
.trab-card {
	position: relative; display: flex; flex-direction: column; overflow: visible; border-radius: 16px;
	background: var(--zt-card); border: 1px solid var(--zt-border); box-shadow: var(--zt-shadow);
	transition: box-shadow .2s, transform .15s, border-color .2s;
}
.trab-card:hover { transform: translateY(-2px); border-color: rgba(var(--zt-glow-rgb), .5); box-shadow: var(--zt-shadow), 0 0 18px rgba(var(--zt-glow-rgb), .14); }
.trab-card-bg { position: absolute; inset: 0; border-radius: 15px; pointer-events: none; z-index: 0; background: radial-gradient(120% 70% at 50% 0%, rgba(16, 224, 140, .12), transparent 65%); }
.trab-card-bg.ended { background: radial-gradient(120% 70% at 50% 0%, rgba(143, 163, 194, .12), transparent 65%); }
.trab-card > * { position: relative; z-index: 1; }
.trab-card:has(.trab-card-bg.ended) { opacity: .78; }
.trab-qr-badge {
	position: absolute; top: 8px; left: 8px; z-index: 2; display: inline-flex; align-items: center; gap: 4px; pointer-events: none;
	padding: 2px 8px; border-radius: 20px; font-size: 10.5px; font-weight: 700; letter-spacing: .03em; white-space: nowrap;
	color: var(--zt-accent); background: rgba(var(--zt-glow-rgb), .12); border: 1px solid rgba(var(--zt-glow-rgb), .35);
}
.trab-pwa-ico { color: #10e08c; flex-shrink: 0; pointer-events: auto; cursor: help; }
.trab-menu-btn {
	position: absolute; top: 8px; right: 8px; z-index: 2; width: 28px; height: 28px; padding: 0; border-radius: 9px; border: 1px solid transparent;
	display: flex; align-items: center; justify-content: center; background: transparent; color: var(--zt-muted); cursor: pointer;
}
.trab-menu-btn:hover { color: var(--zt-text); background: var(--zt-hover); border-color: var(--zt-border); }

#trab-menu-portal { position: fixed; top: 0; left: 0; width: 0; height: 0; z-index: 99999; pointer-events: none; }
#trab-menu-portal .trab-drop {
	position: fixed; min-width: 150px; overflow: hidden; pointer-events: all; padding: .3rem;
	background: var(--zt-card-solid); border: 1px solid var(--zt-border); border-radius: 12px; box-shadow: 0 14px 34px rgba(0, 0, 0, .45);
	animation: trabDdIn .13s ease;
}
@keyframes trabDdIn { from { opacity: 0; transform: translateY(-4px) scale(.97); } to { opacity: 1; transform: none; } }
.trab-drop-item {
	display: flex; align-items: center; gap: 9px; width: 100%; padding: 8px 12px; border: 0; border-radius: 8px; background: transparent; text-align: left;
	font-family: inherit; font-size: 13px; font-weight: 500; color: var(--zt-text); cursor: pointer; transition: background .1s;
}
.trab-drop-item:hover { background: var(--zt-hover); color: var(--zt-accent); }
.trab-drop-item.danger { color: #ff6b81; }
.trab-drop-item.danger:hover { background: rgba(255, 77, 106, .12); color: #ff6b81; }

.trab-card-upper { padding: 32px 16px 10px; display: flex; flex-direction: column; align-items: center; gap: 3px; }
.trab-av { width: 52px; height: 52px; border-radius: 14px; display: flex; align-items: center; justify-content: center; margin-bottom: 6px; font-size: 17px; font-weight: 800; box-shadow: 0 4px 14px rgba(0, 0, 0, .3); }
.trab-av-chefe    { background: linear-gradient(135deg, #fbbf24, #f59e0b); color: #78350f; }
.trab-av-soldador { background: linear-gradient(135deg, #818cf8, #6366f1); color: #fff; }
.trab-av-serra    { background: linear-gradient(135deg, #34d399, #059669); color: #fff; }
.trab-av-tubista  { background: linear-gradient(135deg, #f472b6, #ec4899); color: #fff; }
.trab-av-montador { background: linear-gradient(135deg, #c084fc, #a855f7); color: #fff; }
.trab-av-outro    { background: linear-gradient(135deg, #94a3b8, #64748b); color: #fff; }
.trab-name { height: 35px; display: flex; align-items: center; justify-content: center; text-align: center; font-size: 13.5px; font-weight: 800; line-height: 1.3; color: var(--zt-text); }
.trab-nif { font-size: 11px; color: var(--zt-muted); }

.trab-date-box {
	margin: 0 12px 4px; padding: 7px 10px; display: flex; align-items: center; justify-content: center; gap: 10px;
	border-radius: 10px; background: var(--zt-input); border: 1px solid var(--zt-border-soft); cursor: pointer; user-select: none; transition: border-color .14s, background .14s;
}
.trab-date-box:hover { border-color: var(--zt-accent); background: var(--zt-hover); }
.trab-date-col { display: flex; flex-direction: column; align-items: center; gap: 1px; }
.trab-date-lbl { font-size: 9px; font-weight: 800; text-transform: uppercase; letter-spacing: .08em; color: var(--zt-muted); }
.trab-date-val { font-size: 12.5px; font-weight: 700; color: var(--zt-text); font-variant-numeric: tabular-nums; }
.trab-date-val.empty { font-size: 11px; font-weight: 400; font-style: italic; color: var(--zt-muted); }
.trab-date-arrow { font-size: 14px; color: var(--zt-muted); }
.trab-hidden-input { display: none !important; }

.trab-card-lower { padding: 8px 12px 12px; display: flex; flex-direction: column; align-items: center; gap: 8px; }
.trab-role-row { display: flex; align-items: center; gap: 6px; }
.trab-rbadge { font-size: 11px; font-weight: 700; padding: 2px 9px; border-radius: 20px; border: 1px solid transparent; }
.trab-rbadge-chefe    { color: #fbbf24; background: rgba(251, 191, 36, .12); border-color: rgba(251, 191, 36, .4); }
.trab-rbadge-soldador { color: #a5b4fc; background: rgba(129, 140, 248, .12); border-color: rgba(129, 140, 248, .4); }
.trab-rbadge-serra    { color: #34d399; background: rgba(52, 211, 153, .12); border-color: rgba(52, 211, 153, .4); }
.trab-rbadge-tubista  { color: #f9a8d4; background: rgba(244, 114, 182, .12); border-color: rgba(244, 114, 182, .4); }
.trab-rbadge-montador { color: #d8b4fe; background: rgba(192, 132, 252, .12); border-color: rgba(192, 132, 252, .4); }
.trab-rbadge-outro    { color: #cbd5e1; background: rgba(148, 163, 184, .12); border-color: rgba(148, 163, 184, .4); }
html[data-theme="light"] .trab-rbadge-chefe    { color: #92400e; }
html[data-theme="light"] .trab-rbadge-soldador { color: #3730a3; }
html[data-theme="light"] .trab-rbadge-serra    { color: #14532d; }
html[data-theme="light"] .trab-rbadge-tubista  { color: #9d174d; }
html[data-theme="light"] .trab-rbadge-montador { color: #6b21a8; }
html[data-theme="light"] .trab-rbadge-outro    { color: #475569; }
.trab-tl-btn { width: 24px; height: 24px; flex-shrink: 0; display: flex; align-items: center; justify-content: center; border-radius: 50%; border: 1px solid var(--zt-border); background: transparent; color: var(--zt-muted); cursor: pointer; transition: all .14s; }
.trab-tl-btn:hover, .trab-tl-btn.on { color: #fbbf24; border-color: #fbbf24; background: rgba(251, 191, 36, .12); box-shadow: 0 0 8px rgba(251, 191, 36, .35); }

.trab-sched-wrap { position: relative; width: 100%; }
.trab-sched-select, .hsel-btn {
	width: 100%; padding: 6px 26px 6px 10px; border-radius: 9px; font-family: inherit; font-size: 12.5px; font-weight: 500; text-align: left;
	color: var(--zt-text); background: var(--zt-input); border: 1px solid var(--zt-border); outline: none; cursor: pointer; transition: border-color .14s;
	appearance: none; -webkit-appearance: none; white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.trab-sched-select:focus, .hsel-btn:hover, .hsel-btn:focus, .hsel-btn.open { border-color: var(--zt-accent); }
.trab-sched-select option { background: var(--zt-card-solid); color: var(--zt-text); }
.trab-sched-chev { position: absolute; right: 8px; top: 50%; transform: translateY(-50%); pointer-events: none; color: var(--zt-muted); }
.trab-sched-select.hsel-hidden { display: none !important; }
.hsel-panel {
	position: fixed; z-index: 2000; display: flex; flex-direction: column; max-height: 300px; overflow: hidden;
	background: var(--zt-card-solid); border: 1px solid var(--zt-accent); border-radius: 12px; box-shadow: 0 14px 34px rgba(0, 0, 0, .45);
}
.hsel-search { width: 100%; padding: 8px 10px; border: 0; border-bottom: 1px solid var(--zt-border-soft); outline: none; font-family: inherit; font-size: 12.5px; color: var(--zt-text); background: var(--zt-input); }
.hsel-list { list-style: none !important; margin: 0 !important; padding: 4px 0 !important; overflow-y: auto; max-height: 220px; min-height: 36px; display: block; flex: 0 0 auto; }
.hsel-item { display: block !important; padding: 6px 10px; font-size: 12.5px; line-height: 1.3; color: var(--zt-text); cursor: pointer; list-style: none !important; }
.hsel-item:hover, .hsel-item.focused { background: var(--zt-hover); }
.hsel-item.selected { font-weight: 700; color: var(--zt-accent); }
.hsel-empty { padding: 8px 10px; font-size: 12px; color: var(--zt-muted); }

.trab-actions-row { display: flex; gap: 6px; width: 100%; }
.trab-act-btn {
	--c: 143, 163, 194; flex: 1; display: flex; align-items: center; justify-content: center; gap: 4px; padding: 7px 4px;
	border-radius: 9px; font-family: inherit; font-size: 11px; font-weight: 700; white-space: nowrap; cursor: pointer;
	color: rgb(var(--c)); background: rgba(var(--c), .1); border: 1px solid rgba(var(--c), .5); transition: all .15s;
}
.trab-act-btn.despesas { --c: 255, 181, 71; }
.trab-act-btn.picagens { --c: 16, 224, 140; }
.trab-act-btn:hover { color: #fff; background: rgb(var(--c)); border-color: transparent; box-shadow: 0 0 12px rgba(var(--c), .45); }
html[data-theme="light"] .trab-act-btn.despesas:not(:hover) { color: #b45309; }
html[data-theme="light"] .trab-act-btn.picagens:not(:hover) { color: #047857; }

/* calendário de datas do trabalhador (popover) */
#trab-cal-portal { position: fixed; inset: 0; z-index: 99998; pointer-events: none; }
.trab-cal-pop {
	position: fixed; width: 340px; padding: 14px; pointer-events: all; border-radius: 16px; color: var(--zt-text);
	background: var(--zt-card-solid); border: 1px solid var(--zt-border); box-shadow: 0 20px 60px rgba(0, 0, 0, .45), 0 0 24px rgba(var(--zt-glow-rgb), .15);
	animation: trabPopIn .15s ease;
}
@keyframes trabPopIn { from { opacity: 0; transform: translateY(-6px) scale(.97); } to { opacity: 1; transform: none; } }
.trab-cal-hdr { display: flex; align-items: center; justify-content: space-between; margin-bottom: 10px; gap: 6px; }
.trab-cal-title { font-size: 13px; font-weight: 800; color: var(--zt-text); }
.trab-cal-nav { display: flex; gap: 4px; }
.trab-cal-nav button, .trab-cal-zoom, .trab-cbtn { font-family: inherit; cursor: pointer; background: transparent; color: var(--zt-muted); border: 1px solid var(--zt-border); transition: all .12s; }
.trab-cal-nav button { width: 28px; height: 28px; border-radius: 8px; display: flex; align-items: center; justify-content: center; font-size: 14px; }
.trab-cal-nav button:hover, .trab-cal-zoom:hover { border-color: var(--zt-accent); color: var(--zt-accent); background: var(--zt-hover); }
.trab-cal-zoom { padding: 3px 9px; border-radius: 8px; font-size: 12px; font-weight: 700; color: var(--zt-text); }
.trab-cal-zoom.active { border-color: var(--zt-accent); color: var(--zt-accent); background: rgba(var(--zt-glow-rgb), .12); }
.trab-cal-dow { display: grid; grid-template-columns: repeat(7, 1fr); margin-bottom: 3px; }
.trab-cal-dow span { text-align: center; font-size: 9px; font-weight: 800; text-transform: uppercase; letter-spacing: .05em; color: var(--zt-muted); padding: 0 0 4px; }
.trab-cal-days { display: grid; grid-template-columns: repeat(7, 1fr); gap: 1px; }
.trab-day { aspect-ratio: 1; position: relative; display: flex; align-items: center; justify-content: center; font-size: 12px; border-radius: 8px; cursor: pointer; color: var(--zt-text); transition: background .09s; }
.trab-day:hover:not(.empty):not(.ds):not(.de) { background: var(--zt-hover); }
.trab-day.empty { pointer-events: none; color: transparent; }
.trab-day.inr { background: rgba(var(--zt-glow-rgb), .16); border-radius: 0; color: var(--zt-accent); font-weight: 600; }
.trab-day.ds, .trab-day.de { background: var(--zt-accent) !important; color: #fff !important; font-weight: 800; border-radius: 8px !important; z-index: 1; box-shadow: 0 0 10px rgba(var(--zt-glow-rgb), .6); }
.trab-day.ds.hend { border-radius: 8px 0 0 8px !important; }
.trab-day.de.hstart { border-radius: 0 8px 8px 0 !important; }
.trab-day.tod::after { content: ""; position: absolute; bottom: 3px; width: 4px; height: 4px; border-radius: 50%; background: var(--zt-accent-2); }
.trab-day.ds.tod::after, .trab-day.de.tod::after { background: rgba(255, 255, 255, .7); }
.trab-cal-hint { margin-top: 8px; min-height: 13px; font-size: 10.5px; text-align: center; color: var(--zt-muted); }
.trab-cal-foot { display: flex; gap: 6px; margin-top: 10px; padding-top: 9px; border-top: 1px solid var(--zt-border-soft); }
.trab-cbtn { padding: 6px 11px; border-radius: 8px; font-size: 11.5px; font-weight: 700; white-space: nowrap; }
.trab-cbtn:hover { color: var(--zt-text); border-color: var(--zt-muted); }
.trab-cbtn.ok { margin-left: auto; color: #fff; background: linear-gradient(135deg, #2f9bff, #1560c8); border-color: transparent; box-shadow: 0 0 12px rgba(var(--zt-glow-rgb), .4); }
.trab-cbtn.ok:hover { filter: brightness(1.1); }
.trab-cbtn.rep { color: var(--zt-accent); border-color: rgba(var(--zt-glow-rgb), .45); background: rgba(var(--zt-glow-rgb), .1); }
.trab-cbtn.rep:hover { background: rgba(var(--zt-glow-rgb), .2); }
.trab-cal-months, .trab-cal-years { display: grid; grid-template-columns: repeat(3, 1fr); gap: 4px; margin: 4px 0; }
.trab-cal-month-item, .trab-cal-year-item { padding: 8px 4px; text-align: center; border-radius: 8px; cursor: pointer; font-size: 12.5px; font-weight: 600; color: var(--zt-text); border: 1px solid transparent; transition: background .1s; }
.trab-cal-year-item { font-weight: 700; }
.trab-cal-month-item:hover, .trab-cal-year-item:hover { background: var(--zt-hover); border-color: var(--zt-border); }
.trab-cal-month-item.sel, .trab-cal-year-item.sel { background: var(--zt-accent); border-color: var(--zt-accent); color: #fff; }
.trab-cal-month-item.has-s, .trab-cal-month-item.has-e { border-color: var(--zt-accent); color: var(--zt-accent); }
.trab-cal-manual { display: flex; gap: 6px; align-items: center; margin-top: 8px; padding-top: 8px; border-top: 1px solid var(--zt-border-soft); }
.trab-cal-manual-inp { flex: 1; min-width: 0; padding: 5px 7px; border-radius: 8px; font-family: inherit; font-size: 11.5px; color: var(--zt-text); background: var(--zt-input); border: 1px solid var(--zt-border); outline: none; color-scheme: dark; transition: border-color .13s; }
html[data-theme="light"] .trab-cal-manual-inp { color-scheme: light; }
.trab-cal-manual-inp:focus { border-color: var(--zt-accent); }
.trab-cal-manual-lbl, .trab-cal-only-start { font-size: 10.5px; font-weight: 700; color: var(--zt-muted); white-space: nowrap; }
.trab-cal-only-start { display: flex; align-items: center; gap: 4px; font-weight: 500; cursor: pointer; user-select: none; }
.trab-cal-only-start input[type=checkbox] { width: 12px; height: 12px; accent-color: var(--zt-accent); cursor: pointer; flex-shrink: 0; }
html[data-theme="light"] .trab-cal-pop { box-shadow: 0 20px 50px rgba(20, 50, 100, .18); }

/* --- painel de custos (coluna direita) --- */
.zt-theme .custo-row .custo-label { color: var(--zt-text); }
.zt-theme .custo-row .custo-label i, .zt-theme .custo-row .custo-label svg { color: var(--zt-accent); }
.zt-theme .custo-row .custo-valor, .zt-theme .custo-secao-total, .zt-theme .custo-grupo-total { color: var(--zt-text); }
.zt-theme .custo-row .custo-dates, .zt-theme .custo-row .custo-desp-btn, .zt-theme .custo-secao-titulo, .zt-theme .custo-chev { color: var(--zt-muted); }
.zt-theme .custo-secao td { background: var(--zt-input); border-top: 1px solid var(--zt-border-soft); }
.zt-theme .custo-secao-in:hover, .zt-theme .custo-grupo-in:hover { background: var(--zt-hover); }
.zt-theme .custo-grupo td { background: transparent; }
.zt-theme .custo-grupo-nome { color: var(--zt-text); }
.zt-theme .custo-grupo-nome i, .zt-theme .custo-grupo-nome svg { color: var(--zt-accent); }
.zt-theme .custo-grupo-n { color: var(--zt-muted); background: var(--zt-hover); }
.zt-theme .custo-filho > td:first-child { border-left-color: rgba(var(--zt-glow-rgb), .35); }
.zt-theme #custosoperacionais { font-weight: 800; color: var(--zt-text); text-shadow: 0 0 18px rgba(var(--zt-glow-rgb), .35); }
.zb-txt-ok { color: #10e08c; font-weight: 600; }
.zb-txt-warn { color: #ffb547; font-weight: 600; }

/* --- modal de presenças (gerado pelo JS) --- */
.zt-theme .picagens-meta { background: var(--zt-input); color: var(--zt-muted); border: 1px solid var(--zt-border-soft); }
.zt-theme .picagens-meta span strong { color: var(--zt-text); }
.zt-theme .semana-block { border-color: var(--zt-border); }
.zt-theme .semana-header { background: var(--zt-card); color: var(--zt-text); }
.zt-theme .semana-header:hover { background: var(--zt-hover); }
.zt-theme .semana-header:not(.collapsed) { background: rgba(var(--zt-glow-rgb), .1); border-bottom-color: var(--zt-border); }
.zt-theme .semana-num { color: var(--zt-text); }
.zt-theme .semana-range, .zt-theme .semana-chevron { color: var(--zt-muted); }
.zt-theme .semana-badge-horas { background: linear-gradient(135deg, #2f9bff, #1560c8); }
.zt-theme .semana-header.collapsed .semana-badge-horas { background: rgba(143, 163, 194, .35); }
.zt-theme .dias-grid { background: transparent; }
.zt-theme .dia-card { background: var(--zt-card); border-color: var(--zt-border-soft); box-shadow: none; }
.zt-theme .dia-card-hoje { border: 2px solid #22c55e; box-shadow: 0 0 0 3px rgba(34, 197, 94, .15); }
.zt-theme .dia-card-header { background: rgba(0, 0, 0, .3); color: var(--zt-text); }
html[data-theme="light"] .zt-theme .dia-card-header { background: #1e2a3d; color: #fff; }
.zt-theme .dia-card-header-hoje { background: rgba(22, 163, 74, .35); }
.zt-theme .picagem-row { border-bottom-color: var(--zt-border-soft); color: var(--zt-text); }
.zt-theme .picagem-aberta { background: rgba(16, 224, 140, .08); }
.zt-theme .picagem-noturna { background: rgba(129, 140, 248, .1); border-color: rgba(165, 180, 252, .5); }
.zt-theme .picagem-noturna-badge, .zt-theme .picagem-noturna-total { color: #a5b4fc; }
.zt-theme .picagem-noturna-label { color: var(--zt-muted); }
.zt-theme .picagem-noturna-split-tag { color: var(--zt-muted); background: rgba(129, 140, 248, .18); }
.zt-theme .picagem-badge.entrada { background: rgba(16, 224, 140, .16); color: #10e08c; }
.zt-theme .picagem-badge.saida { background: rgba(255, 77, 106, .16); color: #ff6b81; }
.zt-theme .picagem-badge.saida-live { background: rgba(16, 224, 140, .16); color: #10e08c; }
html[data-theme="light"] .zt-theme .picagem-badge.entrada, html[data-theme="light"] .zt-theme .picagem-badge.saida-live { color: #047857; }
html[data-theme="light"] .zt-theme .picagem-badge.saida { color: #b91c1c; }
.zt-theme .picagem-seta, .zt-theme .picagem-horas-par { color: var(--zt-muted); }
.zt-theme .timer-live { color: #10e08c; }
.zt-theme .picagens-footer { background: var(--zt-input); border: 1px solid var(--zt-border-soft); color: var(--zt-text); }
html[data-theme="light"] .zt-theme .picagens-footer { background: #1e2a3d; color: #fff; }

/* restos de classes claras do Bootstrap usadas nesta página */
.zt-theme .table-light, .zt-theme .table-light > th, .zt-theme .table-light th { --bs-table-bg: var(--zt-input); --bs-table-color: var(--zt-muted); background: var(--zt-input) !important; color: var(--zt-muted) !important; border-color: var(--zt-border-soft) !important; }
.zt-theme .modal-header.bg-light { background: transparent !important; }
.zt-theme .badge.bg-light { background: var(--zt-hover) !important; color: var(--zt-muted) !important; border-color: var(--zt-border) !important; }
.zt-theme .modal-header.bg-warning { background: rgba(255, 181, 71, .1) !important; }

/* --- obra.php: controlos (Vista / Fuso) --- */
.zb-ctrl .zt-switch.is-off { opacity: .5; pointer-events: none; }
.zb-exportar { width: 100%; justify-content: center; margin-top: 1rem; }

/* --- obra.php: cartão "Custos operacionais" --- */
.zb-cico {
	flex: 0 0 auto; width: 40px; height: 40px; display: inline-grid; place-items: center; border-radius: 12px;
	color: rgb(var(--c)); background: rgba(var(--c), .12); border: 1px solid rgba(var(--c), .45); box-shadow: 0 0 14px rgba(var(--c), .25), inset 0 0 10px rgba(var(--c), .12);
}
.zb-cico svg, .zb-cico i[data-feather] { width: 19px; height: 19px; filter: drop-shadow(0 0 4px rgba(var(--c), .7)); }
.zb-cico-sm { width: 24px; height: 24px; border-radius: 7px; box-shadow: none; }
.zb-cico-sm svg, .zb-cico-sm i[data-feather] { width: 13px; height: 13px; }
.zb-custos-head { display: flex; align-items: center; gap: .75rem; }
.zb-custos-head .card-title { font-size: .95rem; font-weight: 700; color: var(--zt-text); }
.zb-custos-sub { font-size: .72rem; color: var(--zt-muted); }
.zt-theme .zb-custos-total { margin: .9rem 0 .5rem; font-size: 1.9rem; font-weight: 800; letter-spacing: -.01em; font-variant-numeric: tabular-nums; color: var(--zt-text); text-shadow: 0 0 22px rgba(var(--zt-glow-rgb), .45); }

.zb-reparte { margin-bottom: 1rem; }
.zb-reparte-bar { display: flex; height: 8px; gap: 2px; border-radius: 999px; overflow: hidden; background: rgba(143, 163, 194, .15); }
.zb-reparte-bar i { display: block; height: 100%; background: rgb(var(--c)); box-shadow: 0 0 10px rgba(var(--c), .7); transition: width .5s ease; }
.zb-reparte-leg { display: flex; flex-wrap: wrap; gap: .3rem .8rem; margin-top: .55rem; font-size: .7rem; color: var(--zt-muted); }
.zb-reparte-leg span { display: inline-flex; align-items: center; gap: .3rem; }
.zb-reparte-leg span::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: rgb(var(--c)); box-shadow: 0 0 6px rgba(var(--c), .9); }
.zb-reparte-leg b { font-weight: 600; }
.zb-reparte-leg em { font-style: normal; font-weight: 700; color: var(--zt-text); }

/* tabela → linhas em "azulejos" */
.zb-custos .custo-row td { padding: 9px 10px; }
.zb-custos .custo-row .custo-label > svg, .zb-custos .custo-row .custo-label > i[data-feather] {
	width: 28px !important; height: 28px !important; padding: 6px; border-radius: 9px;
	color: var(--zt-accent); background: rgba(var(--zt-glow-rgb), .12); border: 1px solid rgba(var(--zt-glow-rgb), .35);
}
.zb-custos tr[data-secao="aloj"] .custo-label > svg { color: #a78bfa; background: rgba(167, 139, 250, .12); border-color: rgba(167, 139, 250, .35); }
.zb-custos tr[data-secao="veic"] .custo-label > svg { color: #ffb547; background: rgba(255, 181, 71, .12); border-color: rgba(255, 181, 71, .35); }
.zb-custos tr[data-tipo="obra"] .custo-label > svg { color: #10e08c; background: rgba(16, 224, 140, .12); border-color: rgba(16, 224, 140, .35); }
.zb-custos .abrir-custo svg { width: 16px; height: 16px; transition: transform .15s, filter .15s; }
.zb-custos .abrir-custo:hover svg { transform: scale(1.2) rotate(90deg); filter: drop-shadow(0 0 4px rgba(var(--zt-glow-rgb), .9)); }
.zb-custos .custo-valor { font-variant-numeric: tabular-nums; }

/* secções (Alojamentos / Pessoal / Veículos): faixa de cor à esquerda */
.zb-custos .custo-secao > td { padding: 0 !important; position: relative; }
.zb-custos .custo-secao-in { padding: 8px 10px !important; }
.zb-custos .custo-secao[data-secao="aloj"]    > td { box-shadow: inset 3px 0 0 #a78bfa; }
.zb-custos .custo-secao[data-secao="pessoal"] > td { box-shadow: inset 3px 0 0 #2da8ff; }
.zb-custos .custo-secao[data-secao="veic"]    > td { box-shadow: inset 3px 0 0 #ffb547; }
.zb-custos .custo-secao-titulo { gap: .5rem !important; font-size: .72rem !important; color: var(--zt-text) !important; }
.zb-custos .custo-secao-total { font-size: .9rem !important; }
.zb-custos .custo-secao:not(.fechado) > td { background: rgba(var(--zt-glow-rgb), .08) !important; border-color: rgba(var(--zt-glow-rgb), .35) !important; }
.zb-custos .custo-filho > td:first-child { border-left: 3px solid rgba(var(--zt-glow-rgb), .35) !important; padding-left: 14px !important; }
html.zt-lite .zb-cico, html.zt-lite .zb-reparte-bar i { box-shadow: none; }
.zb-custos .custo-chev { display: inline-flex; transition: transform .15s; }
.zb-custos .custo-chev svg { width: 14px; height: 14px; }
.zb-custos .custo-secao-in, .zb-custos .custo-grupo-in { display: flex; align-items: center; justify-content: space-between; gap: 8px; cursor: pointer; user-select: none; }
.zb-custos .custo-secao-titulo { display: flex; align-items: center; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; }
.zb-custos .custo-row .custo-label { display: flex; align-items: center; gap: 8px; }
.zb-custos .custo-secao.fechado .custo-chev, .zb-custos .custo-grupo.fechado .custo-chev { transform: rotate(-90deg); }

/* --- obra.php: modais de detalhe (alojamento / veículo) — prefixo .zm- --- */
#DetalheAlojModal .modal-title, #DetalheAlojModal .modal-title h1 { margin: 0; font-size: inherit; }
.zm-tit { display: flex; align-items: center; gap: .8rem; }
.zm-tit strong { display: block; font-size: 1.15rem; font-weight: 800; color: var(--zt-text); line-height: 1.2; }
.zm-tit small { display: block; margin-top: .15rem; font-size: .78rem; font-weight: 500; color: var(--zt-muted); }
.zm-kpis { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: .7rem; margin-bottom: 1rem; }
.zm-kpi {
	position: relative; display: flex; flex-direction: column; gap: .15rem; padding: .85rem 1rem .8rem; overflow: hidden;
	border-radius: 14px; background: rgba(var(--c), .08); border: 1px solid rgba(var(--c), .35);
}
.zm-kpi::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 2px; background: rgb(var(--c)); box-shadow: 0 0 10px rgba(var(--c), .9); }
.zm-kpi span { font-size: .7rem; font-weight: 700; letter-spacing: .05em; text-transform: uppercase; color: var(--zt-muted); }
.zm-kpi strong { font-size: 1.35rem; font-weight: 800; color: var(--zt-text); font-variant-numeric: tabular-nums; text-shadow: 0 0 16px rgba(var(--c), .35); }
.zm-kpi small { font-size: .72rem; color: rgb(var(--c)); font-weight: 600; }
html[data-theme="light"] .zm-kpi small { color: var(--tl); }
.zm-grid { display: grid; grid-template-columns: 1fr 1fr; gap: .8rem; }
@media (max-width: 767.98px) { .zm-grid { grid-template-columns: 1fr; } }
.zm-box { padding: .9rem 1rem; border-radius: 14px; background: var(--zt-input); border: 1px solid var(--zt-border-soft); }
.zm-box h6 { display: flex; align-items: center; gap: .45rem; margin: 0 0 .75rem; font-size: .72rem; font-weight: 800; letter-spacing: .07em; text-transform: uppercase; color: var(--zt-muted); }
.zm-box h6 svg, .zm-box h6 i[data-feather] { width: 14px; height: 14px; color: var(--zt-accent); }
.zm-periodo { font-size: 1.05rem; font-weight: 800; color: var(--zt-text); font-variant-numeric: tabular-nums; margin-bottom: .8rem; }
.zm-uso + .zm-uso { margin-top: .85rem; }
.zm-uso-top { display: flex; justify-content: space-between; gap: .5rem; margin-bottom: .35rem; font-size: .82rem; color: var(--zt-text); }
.zm-uso-top b { font-variant-numeric: tabular-nums; }
.zm-uso small { display: block; margin-top: .3rem; font-size: .72rem; color: var(--zt-muted); }
.zm-uso .zt-bar { height: 6px; }
.zm-dl { display: grid; grid-template-columns: 1fr auto; gap: .45rem 1rem; margin: 0; font-size: .85rem; }
.zm-dl dt { font-weight: 500; color: var(--zt-muted); }
.zm-dl dd { margin: 0; text-align: right; font-weight: 700; color: var(--zt-text); font-variant-numeric: tabular-nums; }
.zm-dl .zm-ok { color: #10e08c; }
html[data-theme="light"] .zm-dl .zm-ok { color: #047857; }
.zm-dl .zm-tot { padding-top: .45rem; border-top: 1px solid var(--zt-border-soft); font-weight: 800; color: var(--zt-text); }
.zm-mat { display: inline-block; padding: .1rem .55rem; border-radius: 6px; font-family: ui-monospace, Menlo, Consolas, monospace; font-size: .82rem; letter-spacing: .06em; color: #0b1730; background: #f4f6fb; border: 1px solid #c9d3e6; }
.zm-nota { display: flex; align-items: flex-start; gap: .45rem; margin: 1rem 0 0; font-size: .74rem; color: var(--zt-muted); }
.zm-nota svg, .zm-nota i[data-feather] { flex: 0 0 auto; width: 14px; height: 14px; margin-top: 1px; }

/* --- lista pesquisável (includes/searchable_select.php: .ss-*) com as cores do tema --- */
.zt-theme .ss-wrap { position: relative; }
.zt-theme .ss-input { cursor: text; }
.zt-theme .ss-list {
	max-height: 260px; overflow-y: auto; margin-top: 4px; padding: .3rem;
	background: var(--zt-card-solid) !important; border: 1px solid var(--zt-border) !important; border-radius: 12px !important;
	box-shadow: 0 14px 34px rgba(0, 0, 0, .45) !important; scrollbar-width: thin;
}
html[data-theme="light"] .zt-theme .ss-list { box-shadow: 0 12px 28px rgba(20, 50, 100, .16) !important; }
.zt-theme .ss-item { padding: .45rem .7rem; border-radius: 8px; font-size: .86rem; color: var(--zt-text); }
.zt-theme .ss-item:hover, .zt-theme .ss-item.ss-active { background: var(--zt-hover) !important; color: var(--zt-accent); }
.zt-theme .ss-item.ss-sel { font-weight: 700; color: var(--zt-accent); }
.zt-theme .ss-item.ss-sel::after { content: " ✓"; }
.zt-theme .ss-empty { padding: .45rem .7rem; font-size: .84rem; color: var(--zt-muted) !important; }

/* --- modal "Adicionar custo" (obra.php) --- */
.zc-modal .modal-title strong { font-size: 1.05rem; }
.zc-valor { position: relative; }
.zc-valor .form-control { padding-right: 2rem; text-align: right; font-weight: 700; font-variant-numeric: tabular-nums; }
.zc-valor span { position: absolute; right: .8rem; top: 50%; transform: translateY(-50%); font-weight: 700; color: var(--zt-muted); pointer-events: none; }
.zc-modal .modal-body { overflow: visible; }

/* Custos: cada linha passa a ser UM bloco (flex) em vez de várias células — assim o contorno, o realce
   ao passar o rato e a faixa de cor acompanham sempre os cantos arredondados */
.zb-custos .table { display: block; border-spacing: 0; margin-top: 0 !important; }
.zb-custos .table > tbody { display: flex; flex-direction: column; gap: 6px; }
.zb-custos .table tr {
	display: flex !important; align-items: center; justify-content: space-between; gap: .5rem; overflow: hidden;
	border-radius: 12px; background: var(--zt-input) !important; border: 1px solid var(--zt-border-soft) !important;
	transition: background .15s, border-color .15s, box-shadow .15s;
}
.zb-custos .table tr.oc-secao, .zb-custos .table tr.oc-grupo { display: none !important; }
.zb-custos .table tr > td, .zb-custos .table tr:hover > td {
	display: block; background: transparent !important; border: 0 !important; border-radius: 0 !important; box-shadow: none !important;
}
.zb-custos .table tr > td:first-child { flex: 1 1 auto; min-width: 0; }
.zb-custos .table tr > td.custo-valor { flex: 0 0 auto; }
.zb-custos .table tr > td[colspan] { flex: 1 1 100%; }
.zb-custos .table tr:hover { background: var(--zt-hover) !important; border-color: rgba(var(--zt-glow-rgb), .45) !important; box-shadow: 0 0 12px rgba(var(--zt-glow-rgb), .12) !important; }
.zb-custos .table tr.custo-secao[data-secao="aloj"]    { box-shadow: inset 3px 0 0 #a78bfa !important; }
.zb-custos .table tr.custo-secao[data-secao="pessoal"] { box-shadow: inset 3px 0 0 #2da8ff !important; }
.zb-custos .table tr.custo-secao[data-secao="veic"]    { box-shadow: inset 3px 0 0 #ffb547 !important; }
.zb-custos .table tr.custo-secao:not(.fechado) { background: rgba(var(--zt-glow-rgb), .08) !important; border-color: rgba(var(--zt-glow-rgb), .35) !important; }
.zb-custos .table tr.custo-filho { margin-left: 14px; }
.zb-custos .table tr.custo-filho > td:first-child { padding-left: 10px !important; }

/* Custos: "Pessoal" é uma linha direta (abre o modal de mão de obra) */
.zb-custos .table tr.zb-pessoal { cursor: pointer; box-shadow: inset 3px 0 0 #2da8ff !important; }
.zb-custos .table tr.zb-pessoal:hover { box-shadow: inset 3px 0 0 #2da8ff, 0 0 12px rgba(var(--zt-glow-rgb), .15) !important; }
.zb-pessoal-txt { display: flex; flex-direction: column; line-height: 1.15; }
.zb-pessoal-txt b { font-size: .72rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--zt-text); }
.zb-pessoal-txt small { font-size: .7rem; color: var(--zt-muted); }
.zb-custos tr.zb-pessoal:hover .zb-pessoal-txt small { color: var(--zt-accent); }

/* --- modal "Detalhes de mão de obra" --- */
.zmo-dialog { max-width: min(1400px, 96vw); }
#MaoObraModal .modal-title { margin: 0; }
.zmo-kpis { grid-template-columns: repeat(auto-fit, minmax(170px, 1fr)); }
.zmo-tabela { max-height: 58vh; overflow: auto; border-radius: 14px; border: 1px solid var(--zt-border-soft); background: var(--zt-input); }
.zt-theme .table-mao-obra { margin: 0; font-size: .84rem; }
.zt-theme .table-mao-obra thead th {
	position: sticky; top: 0; z-index: 2; padding: .65rem .7rem; white-space: nowrap;
	font-size: .7rem; font-weight: 700; letter-spacing: .03em; text-transform: none;
	color: var(--zt-muted); background: var(--zt-card-solid) !important; border-bottom: 1px solid var(--zt-border) !important;
}
.zt-theme .table-mao-obra thead th:hover { color: var(--zt-accent); }
.zt-theme .table-mao-obra thead th svg { width: 12px; height: 12px; }
.zt-theme .table-mao-obra tbody td { padding: .55rem .7rem; font-size: .84rem; white-space: nowrap; font-variant-numeric: tabular-nums; color: var(--zt-text); border-color: var(--zt-border-soft); }
.zt-theme .table-mao-obra tbody tr:nth-child(even) > td { background: rgba(143, 163, 194, .04); }
.zt-theme .table-mao-obra td.zmo-nome { font-weight: 600; white-space: normal; min-width: 180px; }
.zt-theme .table-mao-obra tfoot td { padding: .6rem .7rem; white-space: nowrap; font-variant-numeric: tabular-nums; background: var(--zt-card-solid) !important; color: var(--zt-text); border-color: var(--zt-border) !important; }
.zt-theme .table-mao-obra tfoot tr.zmo-total td { border-top: 1px solid var(--zt-border) !important; font-weight: 800; color: var(--zt-accent); }
.zt-theme .table-mao-obra tfoot tr:last-child td { color: var(--zt-muted); font-weight: 600; }
.zt-theme .table-mao-obra .text-success { color: #10e08c !important; }
.zt-theme .table-mao-obra .text-warning { color: #ffb547 !important; }
.zt-theme .table-mao-obra .text-danger { color: #ff6b81 !important; }
html[data-theme="light"] .zt-theme .table-mao-obra .text-success { color: #047857 !important; }
html[data-theme="light"] .zt-theme .table-mao-obra .text-warning { color: #b45309 !important; }

.zb-custos .table tr.custo-secao[data-secao="aloj"]:hover    { box-shadow: inset 3px 0 0 #a78bfa, 0 0 12px rgba(var(--zt-glow-rgb), .12) !important; }
.zb-custos .table tr.custo-secao[data-secao="pessoal"]:hover { box-shadow: inset 3px 0 0 #2da8ff, 0 0 12px rgba(var(--zt-glow-rgb), .12) !important; }
.zb-custos .table tr.custo-secao[data-secao="veic"]:hover    { box-shadow: inset 3px 0 0 #ffb547, 0 0 12px rgba(var(--zt-glow-rgb), .12) !important; }
.zb-custos .table tr > td { padding: 9px 10px; }

/* --- obra.php: cartões "Alojamentos" e "Veículos" (lista compacta, uma linha por reserva) --- */
.zb-mini .zb-custos-head { margin-bottom: .85rem; }
.zb-count {
	margin-left: auto; min-width: 36px; height: 30px; padding: 0 .6rem; display: inline-grid; place-items: center; border-radius: 999px;
	font-size: .95rem; font-weight: 800; font-variant-numeric: tabular-nums; color: var(--t); background: rgba(var(--c), .12); border: 1px solid rgba(var(--c), .45);
}
html[data-theme="light"] .zb-count { color: var(--tl); }
.zb-vazio { margin: 0; font-size: .82rem; color: var(--zt-muted); }
.zb-lista { display: flex; flex-direction: column; gap: 4px; max-height: 232px; overflow-y: auto; scrollbar-width: thin; margin: 0 -.25rem; padding: 0 .25rem; }
.zb-li {
	display: flex; align-items: center; gap: .45rem; min-width: 0; padding: .42rem .55rem; border-radius: 10px; cursor: pointer;
	font-size: .8rem; line-height: 1.2; color: var(--zt-text) !important; text-decoration: none !important;
	background: var(--zt-input); border: 1px solid var(--zt-border-soft); transition: background .15s, border-color .15s;
}
.zb-li:hover, .zb-li:focus-visible { outline: none; background: var(--zt-hover); border-color: rgba(var(--zt-glow-rgb), .45); }
.zb-li-nome { flex: 1 1 auto; min-width: 0; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; font-weight: 600; }
.zb-mat { flex: 0 0 auto; padding: 0 .35rem; font-size: .68rem; line-height: 1.5; }
.zb-data {
	flex: 0 0 auto; padding: .12rem .5rem; border-radius: 999px; white-space: nowrap;
	font-size: .7rem; font-weight: 700; font-variant-numeric: tabular-nums; border: 1px solid transparent;
}
.zb-data.is-ok  { color: #10e08c; background: rgba(16, 224, 140, .12); border-color: rgba(16, 224, 140, .4); }
.zb-data.is-fim { color: #ff6b81; background: rgba(255, 77, 106, .12); border-color: rgba(255, 77, 106, .4); }
html[data-theme="light"] .zb-data.is-ok  { color: #047857; }
html[data-theme="light"] .zb-data.is-fim { color: #b91c1c; }
.zb-li { gap: .35rem; padding: .4rem .45rem .4rem .55rem; }
.zb-mini .zb-li-nome { font-size: .76rem; }
.zb-mini .zb-mat { font-size: .62rem; padding: 0 .28rem; letter-spacing: .03em; }
.zb-mini .zb-data { font-size: .66rem; padding: .1rem .4rem; }

/* --- obra.php: cartões dos trabalhadores mais compactos (avatar/foto à esquerda, datas numa linha) --- */
.trab-cards-grid { grid-template-columns: repeat(auto-fill, minmax(232px, 1fr)); gap: 12px; }
.trab-card-upper { display: grid; grid-template-columns: 46px minmax(0, 1fr); align-items: center; gap: 10px; padding: 12px 34px 8px 12px; text-align: left; }
.trab-av { position: relative; width: 46px; height: 46px; margin: 0; border-radius: 13px; font-size: 15px; overflow: hidden; }
.trab-av.tem-foto { color: transparent; }
.trab-av img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.trab-av.tem-foto::after { content: ""; position: absolute; inset: 0; border-radius: inherit; box-shadow: inset 0 0 0 2px rgba(255, 255, 255, .35); pointer-events: none; }
.trab-av-chefe.tem-foto::after    { box-shadow: inset 0 0 0 2px #f59e0b; }
.trab-av-soldador.tem-foto::after { box-shadow: inset 0 0 0 2px #6366f1; }
.trab-av-serra.tem-foto::after    { box-shadow: inset 0 0 0 2px #059669; }
.trab-av-tubista.tem-foto::after  { box-shadow: inset 0 0 0 2px #ec4899; }
.trab-av-montador.tem-foto::after { box-shadow: inset 0 0 0 2px #a855f7; }
.trab-ident { min-width: 0; display: flex; flex-direction: column; gap: 3px; }
.trab-name { height: auto; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; justify-content: flex-start; text-align: left; font-size: 13px; line-height: 1.25; }
.trab-nif { display: flex; align-items: center; flex-wrap: wrap; gap: 5px; font-size: 11px; }
.trab-nif .trab-qr-badge { position: static; padding: 0 6px; font-size: 10px; line-height: 1.6; }
.trab-menu-btn { top: 10px; right: 6px; }

.trab-date-box { margin: 0 12px 2px; padding: 5px 10px; gap: 6px; justify-content: flex-start; }
.trab-date-box::before {
	content: ""; flex: 0 0 auto; width: 14px; height: 14px; background: var(--zt-muted);
	-webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='3' y='4' width='18' height='18' rx='2'/%3E%3Cline x1='16' y1='2' x2='16' y2='6'/%3E%3Cline x1='8' y1='2' x2='8' y2='6'/%3E%3Cline x1='3' y1='10' x2='21' y2='10'/%3E%3C/svg%3E") center / contain no-repeat;
	        mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='3' y='4' width='18' height='18' rx='2'/%3E%3Cline x1='16' y1='2' x2='16' y2='6'/%3E%3Cline x1='8' y1='2' x2='8' y2='6'/%3E%3Cline x1='3' y1='10' x2='21' y2='10'/%3E%3C/svg%3E") center / contain no-repeat;
}
.trab-date-box:hover::before { background: var(--zt-accent); }
.trab-date-col { flex-direction: row; align-items: baseline; gap: 0; }
.trab-date-lbl { display: none; }
.trab-date-val { font-size: 12px; }
.trab-date-val.empty { font-size: 11.5px; }
.trab-date-arrow { font-size: 12px; }

.trab-card-lower { padding: 6px 12px 12px; gap: 7px; }
.trab-role-row { align-self: stretch; justify-content: space-between; }
.trab-sched-select, .hsel-btn { padding: 5px 26px 5px 10px; font-size: 12px; }
.trab-act-btn { padding: 6px 4px; }
/* fotos sem moldura de cor (só a imagem arredondada) */
.trab-av.tem-foto::after,
.trab-av-chefe.tem-foto::after, .trab-av-soldador.tem-foto::after, .trab-av-serra.tem-foto::after,
.trab-av-tubista.tem-foto::after, .trab-av-montador.tem-foto::after { content: none; box-shadow: none; }
.trab-av.tem-foto { background: var(--zt-input); box-shadow: 0 3px 10px rgba(0, 0, 0, .3); }
/* botões sempre alinhados entre cartões da mesma linha: cabeçalho com altura fixa e a parte de baixo encostada ao fundo */
.trab-card { height: 100%; }
.trab-card-upper { min-height: 76px; }
.trab-card-lower { margin-top: auto; }
.trab-role-row { min-height: 26px; }
/* datas da obra por baixo da função/team leader (dentro da parte de baixo do cartão) */
.trab-card-lower .trab-date-box { margin: 0; align-self: stretch; width: 100%; box-sizing: border-box; }
/* função + team leader centrados */
.trab-role-row { justify-content: center; gap: 8px; }
/* ── Vários períodos do mesmo trabalhador empilhados ("baralho") ── */
.trab-stack { position: relative; display: flex; min-width: 0; }
.trab-stack > .trab-card { flex: 1 1 auto; min-width: 0; }
.trab-stack > .trab-card:not(.is-front) { display: none !important; }
.trab-stack::before, .trab-stack::after {
	content: ""; position: absolute; left: 9px; right: 9px; top: -5px; height: 20px; z-index: 0;
	border-radius: 14px 14px 0 0; border: 1px solid rgba(var(--zt-glow-rgb), .4); border-bottom: 0;
	background: var(--zt-card); pointer-events: none;
}
.trab-stack::after { left: 18px; right: 18px; top: -10px; opacity: .6; }
.trab-stack:not(.trab-stack-3)::after { display: none; }
.trab-stack > .trab-card { z-index: 1; }
.trab-stack > .trab-card:hover { transform: none; }
.trab-card.in-stack .trab-role-row { gap: 6px; flex-wrap: nowrap; min-width: 0; }
.trab-card.in-stack .trab-rbadge { min-width: 0; max-width: 120px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.trab-per {
	display: inline-flex; align-items: center; flex: 0 0 auto; margin-left: 2px; height: 24px; border-radius: 999px;
	border: 1px solid rgba(var(--zt-glow-rgb), .45); background: rgba(var(--zt-glow-rgb), .1); color: var(--zt-accent);
	font-size: 11px; font-weight: 700; cursor: help;
}
.trab-per-n { padding: 0 2px; min-width: 24px; text-align: center; font-variant-numeric: tabular-nums; }
.trab-per-btn {
	width: 22px; height: 22px; padding: 0; border: 0; background: transparent; color: inherit; border-radius: 50%;
	font-size: 15px; line-height: 1; cursor: pointer; display: inline-flex; align-items: center; justify-content: center;
}
.trab-per-btn:hover { background: rgba(var(--zt-glow-rgb), .22); }
/* 1/3 passa a botão (abre a vista com todos os períodos) */
.trab-per-n { border: 0; background: transparent; color: inherit; font: inherit; cursor: pointer; border-radius: 6px; height: 20px; }
.trab-per-n:hover { background: rgba(var(--zt-glow-rgb), .22); }
.trab-per { cursor: default; }
.trab-stack { cursor: pointer; }
.trab-stack > .trab-card { cursor: auto; }

/* ── Vista alargada dos períodos de um trabalhador ── */
html.trab-ovl-aberto, html.trab-ovl-aberto body { overflow: hidden; }
.trab-ovl {
	position: fixed; inset: 0; z-index: 1040; display: flex; align-items: center; justify-content: center; padding: 24px;
	background: rgba(3, 8, 20, .84);
	opacity: 0; transition: opacity .18s ease;
}
.trab-ovl.is-in { opacity: 1; }
.trab-ovl-box { width: 100%; max-width: 1100px; max-height: 100%; overflow: auto; display: flex; flex-direction: column; gap: 18px; transform: translateY(10px) scale(.98); transition: transform .2s ease; }
.trab-ovl.is-in .trab-ovl-box { transform: none; }
.trab-ovl-head { display: flex; align-items: center; justify-content: space-between; gap: 16px; max-width: 980px; width: 100%; margin: 0 auto; }
.trab-ovl-tit { font-size: 20px; font-weight: 800; color: #fff; letter-spacing: .2px; }
.trab-ovl-sub { font-size: 12.5px; color: rgba(255, 255, 255, .65); margin-top: 2px; }
.trab-ovl-x {
	width: 38px; height: 38px; border-radius: 50%; border: 1px solid rgba(255, 255, 255, .25); background: rgba(255, 255, 255, .08);
	color: #fff; font-size: 15px; cursor: pointer; flex: 0 0 auto; transition: background .15s, border-color .15s;
}
.trab-ovl-x:hover { background: rgba(255, 255, 255, .18); border-color: rgba(255, 255, 255, .5); }
.trab-ovl-cards { display: flex; flex-wrap: wrap; justify-content: center; align-items: stretch; gap: 18px; padding: 12px 4px 4px; }
.trab-ovl-item { width: 300px; display: flex; flex-direction: column; gap: 8px; }
.trab-ovl-item:not(:has(.trab-card)) { display: none; }
.trab-ovl-lbl {
	align-self: center; font-size: 11px; font-weight: 800; letter-spacing: .6px; text-transform: uppercase;
	padding: 3px 12px; border-radius: 999px; color: rgba(255, 255, 255, .7); background: rgba(255, 255, 255, .08); border: 1px solid rgba(255, 255, 255, .18);
}
.trab-ovl-lbl.is-on { color: #10e08c; background: rgba(16, 224, 140, .12); border-color: rgba(16, 224, 140, .45); }
.trab-ovl .trab-card { flex: 1 1 auto; height: auto; opacity: 1; box-shadow: 0 18px 50px rgba(0, 0, 0, .45); animation: none; }
.trab-ovl .trab-card:hover { transform: none; }
.trab-ovl .trab-per { display: none; }
.trab-ovl .trab-card-upper { min-height: 84px; padding-top: 16px; }
.trab-ovl .trab-name { font-size: 15px; }
.trab-ovl .trab-nif { font-size: 12px; }
.trab-ovl .trab-card-lower { gap: 10px; padding: 8px 16px 16px; }
.trab-ovl .trab-date-box { padding: 9px 12px; }
.trab-ovl .trab-date-val { font-size: 14px; }
.trab-ovl .trab-sched-select, .trab-ovl .hsel-btn { padding: 8px 28px 8px 12px; font-size: 13.5px; }
.trab-ovl .trab-act-btn { padding: 9px 6px; font-size: 13px; }
@media (max-width: 680px) { .trab-ovl-item { width: 100%; } }
/* na vista alargada o nome/foto ficam só no topo; os cartões mostram só o período */
.trab-ovl-who { display: flex; align-items: center; gap: 14px; min-width: 0; }
.trab-ovl-who .trab-av { width: 54px; height: 54px; flex: 0 0 auto; margin: 0; border-radius: 15px; font-size: 17px; }
.trab-ovl .trab-card .trab-card-upper { display: none; }
.trab-ovl .trab-card-lower { padding-top: 16px; }
.trab-ovl .trab-role-row { padding: 0 26px; }
/* foto, nome e NIF abrem a vista alargada */
#trab-cards-grid .trab-card-upper { cursor: pointer; border-radius: 16px 16px 0 0; transition: background .15s; }
#trab-cards-grid .trab-card-upper:hover { background: rgba(var(--zt-glow-rgb), .07); }
#trab-cards-grid .trab-name { transition: color .15s; }
#trab-cards-grid .trab-card-upper:hover .trab-name { color: var(--zt-accent); }
#trab-cards-grid .trab-av { transition: transform .15s; }
#trab-cards-grid .trab-card-upper:hover .trab-av { transform: scale(1.04); }
.trab-ovl-ph { display: none; }
/* força o redesenho da grelha ao fechar a vista alargada */
#trab-cards-grid.trab-repinta > * { transform: translateZ(0); }
/* Botões com gradiente no hover e borda transparente: o gradiente ia só até dentro da borda
   e repetia-se nesse 1px, deixando um risco de outra cor nas pontas. Agora cobre a borda toda. */
.zt-theme :is(button, a, label, .btn, [class*="btn"], [class*="pill"], [class*="chip"], .badge, .zt-dbtn) { background-origin: border-box; }

/* =====================================================================
   PICAGEM-OBRA.PHP — Presenças da obra (prefixo .zp-)
   ===================================================================== */
.zp-head { margin-bottom: 1rem; }
.zp-voltar { display: inline-flex; align-items: center; gap: .3rem; padding: .15rem .6rem .15rem .45rem; border-radius: 999px; font-weight: 600; color: var(--zt-accent) !important; text-decoration: none !important; background: rgba(var(--zt-glow-rgb), .1); border: 1px solid rgba(var(--zt-glow-rgb), .35); transition: background .15s; }
.zp-voltar:hover { background: rgba(var(--zt-glow-rgb), .2); }
.zp-dia { gap: .5rem .6rem; }
.zp-nav {
	width: 34px; height: 34px; display: inline-grid; place-items: center; padding: 0; border-radius: 10px; cursor: pointer;
	color: var(--zt-text); background: var(--zt-input); border: 1px solid var(--zt-border); transition: background .15s, border-color .15s, color .15s;
}
.zp-nav:hover { color: var(--zt-accent); border-color: rgba(var(--zt-glow-rgb), .6); background: rgba(var(--zt-glow-rgb), .12); }
.zp-nav svg { width: 18px; height: 18px; }
.zp-dia-txt { min-width: 150px; text-align: center; line-height: 1.15; }
.zp-dia-txt strong { display: block; font-size: 1.05rem; font-weight: 800; color: var(--zt-text); }
.zp-dia-txt small { display: block; font-size: .74rem; font-weight: 600; color: var(--zt-muted); }
.zp-dia #zpHoje.is-off { opacity: .45; pointer-events: none; }
.zp-dia .zt-btn-glow { margin-left: .2rem; }
body.zp-loading .zp-dia-txt strong { opacity: .55; }

.zp-kpis { grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); }
.zp-kpis button.zt-kpi { cursor: pointer; font: inherit; text-align: left; }
.zp-kpis div.zt-kpi:hover { transform: none; }
.zp-kpis .zt-kpi-num { transition: opacity .2s; }
body.zp-loading .zp-kpis .zt-kpi-num { opacity: .4; }

.zp-grid { display: grid; grid-template-columns: minmax(0, 1fr) 340px; gap: 1rem; align-items: start; }
.zp-main, .zp-side { display: flex; flex-direction: column; gap: 1rem; min-width: 0; }
.zp-main > .card, .zp-side > .card { margin: 0; }
@media (max-width: 1199.98px) { .zp-grid { grid-template-columns: minmax(0, 1fr); } .zp-side { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); } }

.zp-card { overflow: hidden; }
.zp-card-head { display: flex; align-items: center; flex-wrap: wrap; gap: .7rem; padding: .9rem 1.1rem; border-bottom: 1px solid var(--zt-border-soft); }
.zp-card-tit { flex: 1 1 auto; min-width: 140px; line-height: 1.2; }
.zp-card-tit strong { display: block; font-size: .98rem; font-weight: 800; color: var(--zt-text); }
.zp-card-tit small { display: block; margin-top: .1rem; font-size: .74rem; font-weight: 500; color: var(--zt-muted); }
.zp-card-head .zb-cico { width: 36px; height: 36px; border-radius: 11px; }
.zp-card-head .zb-cico svg { width: 17px; height: 17px; }
.zp-card-head .zt-track button svg { width: 14px; height: 14px; }
.zp-flash-card { animation: zpFlashCard 1.3s ease; }
@keyframes zpFlashCard { 0%, 100% { box-shadow: var(--zt-shadow); } 30% { box-shadow: 0 0 0 2px rgba(var(--zt-glow-rgb), .8), 0 0 30px rgba(var(--zt-glow-rgb), .35); } }

/* mapa + raio */
.zp-map-wrap { position: relative; }
.zp-map-wrap #map { height: 360px; width: 100%; z-index: 0; }
.zp-raio { display: inline-flex; align-items: center; gap: .55rem; padding: .3rem .75rem; border-radius: 999px; font-size: .78rem; font-weight: 600; color: var(--zt-muted); background: var(--zt-input); border: 1px solid var(--zt-border); }
.zp-raio b { color: var(--zt-text); font-variant-numeric: tabular-nums; min-width: 46px; }
.zp-raio em { font-style: normal; font-size: .7rem; min-width: 52px; }
.zp-raio em.ok { color: #10e08c; }
.zp-raio em.erro { color: #ff5d7a; }
.zp-raio input[type=range] { width: 130px; accent-color: var(--zt-accent); cursor: pointer; }
/* trabalhadores no mapa (foto/iniciais num círculo; verde = em obra, cinzento = já saiu) */
.zt-theme .leaflet-marker-icon.zp-pin-wrap, .zt-theme .leaflet-marker-icon.zp-cl-wrap { background: none; border: 0; filter: none !important; }
.zp-pin {
	box-sizing: border-box; width: 40px; height: 40px; display: grid; place-items: center; border-radius: 50%;
	font: 800 12px/1 Inter, sans-serif; color: #fff; background: var(--av, #6366f1);
	border: 3px solid #10e08c; box-shadow: 0 0 0 2px rgba(0, 0, 0, .45), 0 0 14px rgba(16, 224, 140, .7);
	transition: transform .15s;
}
.zp-pin:hover { transform: scale(1.12); }
.zp-pin.out { border-color: #9aa8bd; box-shadow: 0 0 0 2px rgba(0, 0, 0, .45); }
.zp-pin img, .zp-mini img { border-radius: 50%; object-position: center 30%; }
.zp-cl {
	box-sizing: border-box; height: 40px; display: inline-flex; align-items: center; gap: .3rem; padding: 3px 10px 3px 3px;
	border-radius: 999px; cursor: pointer; background: rgba(6, 20, 45, .88); border: 2px solid #9aa8bd;
	box-shadow: 0 0 0 2px rgba(0, 0, 0, .35), 0 6px 18px rgba(0, 0, 0, .45); transition: transform .15s;
}
.zp-cl.tem-in { border-color: #10e08c; box-shadow: 0 0 0 2px rgba(0, 0, 0, .35), 0 0 16px rgba(16, 224, 140, .6); }
.zp-cl:hover { transform: scale(1.06); }
.zp-cl b { font: 800 14px/1 Inter, sans-serif; color: #fff; }
.zp-cl-avs { display: inline-flex; }
.zp-mini {
	position: relative; overflow: hidden; box-sizing: border-box; width: 30px; height: 30px; display: grid; place-items: center; border-radius: 50%;
	font: 800 10px/1 Inter, sans-serif; color: #fff; background: var(--av, #6366f1); border: 2px solid rgba(6, 20, 45, .95);
}
.zp-mini + .zp-mini { margin-left: -12px; }
.zp-mini img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.zp-mini.tem-foto { color: transparent; background: var(--zt-input); }
html[data-theme="light"] .zp-cl { background: rgba(255, 255, 255, .95); }
html[data-theme="light"] .zp-cl b { color: #0e1d38; }
html[data-theme="light"] .zp-mini { border-color: #fff; }
/* botões do mapa (zoom +/−) sem sublinhado */
.zt-theme .leaflet-bar a, .zt-theme .leaflet-bar a:hover, .zt-theme .leaflet-control-layers-toggle { text-decoration: none !important; }
.zp-pop strong { display: block; font-size: .9rem; }
.zp-pop small { display: block; color: var(--zt-muted); margin-bottom: .4rem; }
.zp-pop ul { list-style: none; margin: 0; padding: 0; display: grid; gap: .2rem; }
.zp-pop li { display: flex; justify-content: space-between; gap: 1.2rem; font-size: .78rem; }
.zp-pop li.e span { color: #10b981; } .zp-pop li.s span { color: #ef4466; }

/* filtros */
.zp-filtros { display: flex; flex-wrap: wrap; gap: .45rem; padding: .75rem 1.1rem; border-bottom: 1px solid var(--zt-border-soft); }
.zp-f {
	display: inline-flex; align-items: center; gap: .35rem; padding: .3rem .7rem; border-radius: 999px; cursor: pointer;
	font-size: .76rem; font-weight: 600; color: var(--zt-muted); background: rgba(143, 163, 194, .08); border: 1px solid var(--zt-border-soft);
	transition: background .15s, border-color .15s, color .15s, box-shadow .15s;
}
.zp-f svg { width: 13px; height: 13px; }
.zp-f b { min-width: 20px; padding: 0 .35rem; border-radius: 999px; font-size: .68rem; text-align: center; background: rgba(143, 163, 194, .16); color: var(--zt-text); }
.zp-f:hover { color: var(--zt-text); border-color: rgba(var(--zt-glow-rgb), .45); }
.zp-f.active { color: var(--zt-text); background: rgba(var(--zt-glow-rgb), .14); border-color: rgba(var(--zt-glow-rgb), .6); box-shadow: 0 0 10px rgba(var(--zt-glow-rgb), .2); }
.zp-f.active b { background: rgba(var(--zt-glow-rgb), .35); }
.zp-f-e svg { color: #10b981; } .zp-f-s svg { color: #ef4466; } .zp-f-m svg { color: #f59e0b; } .zp-f-a svg { color: #8fa3c2; }

/* tabela */
.zp-tabela { overflow-x: auto; }
.zp-tabela table { min-width: 720px; }
.zp-tabela thead th { position: sticky; top: 0; z-index: 1; padding: .6rem .9rem; font-size: .68rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--zt-muted); background: var(--zt-card-solid); border-bottom: 1px solid var(--zt-border); white-space: nowrap; }
.zp-tabela tbody td { padding: .55rem .9rem; vertical-align: middle; border-color: var(--zt-border-soft); font-size: .85rem; }
.zp-tabela tbody tr { transition: background .15s; }
.zp-tabela tbody tr:hover { background: var(--zt-hover); }
.zp-tabela tr.is-anulada td { opacity: .5; }
.zp-tabela tr.is-anulada .zp-hora { text-decoration: line-through; }
.zp-trab { display: inline-flex; align-items: center; gap: .6rem; padding: 0; border: 0; background: none; color: inherit; text-align: left; cursor: pointer; min-width: 0; }
.zp-trab b { display: block; font-size: .86rem; font-weight: 700; color: var(--zt-text); line-height: 1.2; transition: color .15s; }
.zp-trab small { display: block; font-size: .72rem; color: var(--zt-muted); }
.zp-trab:hover b { color: var(--zt-accent); }
.zp-av {
	flex: 0 0 auto; width: 32px; height: 32px; display: inline-grid; place-items: center; border-radius: 10px;
	font-size: .72rem; font-weight: 800; color: #fff; background: var(--av, #6366f1); box-shadow: 0 2px 8px rgba(0, 0, 0, .25);
}
.zp-tipo-pill { display: inline-flex; align-items: center; gap: .3rem; padding: .18rem .6rem .18rem .45rem; border-radius: 999px; font-size: .74rem; font-weight: 700; white-space: nowrap; }
.zp-tipo-pill svg { width: 13px; height: 13px; }
.zp-tipo-pill.e { color: #10b981; background: rgba(16, 185, 129, .12); border: 1px solid rgba(16, 185, 129, .45); }
.zp-tipo-pill.s { color: #ef4466; background: rgba(239, 68, 102, .1); border: 1px solid rgba(239, 68, 102, .45); }
.zp-hora { font-size: .98rem; font-weight: 800; color: var(--zt-text); font-variant-numeric: tabular-nums; }
.zp-outro-dia { display: block; font-size: .68rem; color: #f59e0b; }
.zp-horario { display: inline-block; max-width: 170px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; vertical-align: middle; padding: .14rem .55rem; border-radius: 8px; font-size: .74rem; font-weight: 600; color: var(--zt-text); background: var(--zt-input); border: 1px solid var(--zt-border); }
.zp-horas { font-weight: 700; font-variant-numeric: tabular-nums; color: var(--zt-text); margin-right: .3rem; }
.zp-ico-tag { display: inline-grid; place-items: center; width: 22px; height: 22px; margin-left: 2px; border-radius: 7px; font-size: .72rem; background: var(--zt-input); border: 1px solid var(--zt-border); cursor: help; }
.zp-mute { color: var(--zt-muted); }
.zp-tip { cursor: help; }
.zp-acoes { white-space: nowrap; }
.zp-acoes .zt-dbtn { margin-left: .3rem; opacity: .75; transition: opacity .15s, background .2s, color .2s, box-shadow .2s, transform .15s; }
.zp-tabela tr:hover .zp-acoes .zt-dbtn { opacity: 1; }
.zp-acoes .zt-dbtn svg { width: 14px; height: 14px; }
.zp-vazio { padding: 1.6rem 1rem !important; text-align: center; color: var(--zt-muted); font-size: .85rem; }
.zp-vazio svg { width: 18px; height: 18px; margin-right: .35rem; vertical-align: -4px; }
.zp-tabela tr.zp-grupo td { padding-top: .8rem; background: rgba(var(--zt-glow-rgb), .05); border-top: 1px solid var(--zt-border); }
.zp-tabela tr.zp-grupo:hover { background: none; }
.zp-tabela table.is-grupos tbody tr:not(.zp-grupo) td:first-child { padding-left: 2.2rem; }
.zp-sub-ind { display: inline-block; width: 14px; height: 14px; border-left: 2px solid var(--zt-border); border-bottom: 2px solid var(--zt-border); border-radius: 0 0 0 6px; transform: translateY(-4px); }
.zp-flash { animation: zpFlash 1.8s ease; }
@keyframes zpFlash { 0%, 100% { background: transparent; } 20% { background: rgba(var(--zt-glow-rgb), .22); } }
.zp-nova td:first-child { box-shadow: inset 3px 0 0 #10e08c; }

/* listas laterais (pendentes / sugestões) */
.zp-lista { max-height: 360px; overflow-y: auto; padding: .35rem .55rem; }
.zp-lista > .zp-vazio { margin: 0; }
.zp-item { display: flex; align-items: center; gap: .6rem; padding: .5rem .5rem; border-radius: 12px; transition: background .15s; }
.zp-item:hover { background: var(--zt-hover); }
.zp-item + .zp-item { border-top: 1px solid var(--zt-border-soft); }
.zp-item-txt { flex: 1 1 auto; min-width: 0; line-height: 1.2; }
.zp-item-txt b { display: block; font-size: .84rem; font-weight: 700; color: var(--zt-text); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.zp-item-txt small { display: block; margin-top: .1rem; font-size: .72rem; color: var(--zt-muted); }
.zp-item-txt em { font-style: normal; font-weight: 700; }
.zp-item-txt em.e { color: #10b981; } .zp-item-txt em.s { color: #ef4466; }
.zp-item-txt strong { color: var(--zt-text); }
.zp-item .zt-dbtn-ico { width: 30px; height: 30px; flex: 0 0 auto; }
.zp-item .zt-dbtn svg { width: 14px; height: 14px; }
.zp-aplicar { height: 30px; padding: 0 .65rem; font-size: .74rem; flex: 0 0 auto; }

/* modais */
.zp-modal .modal-footer { justify-content: flex-end; gap: .5rem; }
.zp-modal .modal-footer .zt-dbtn { height: 38px; padding: 0 1.1rem; font-size: .84rem; }
.zp-modal .zp-btn-main { font-weight: 700; }
.zp-modal .form-label { font-size: .74rem; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; color: var(--zt-muted); margin-bottom: .35rem; }
.zp-resumo { display: flex; align-items: center; gap: .8rem; padding: .75rem .9rem; margin-bottom: 1rem; border-radius: 14px; background: rgba(var(--zt-glow-rgb), .07); border: 1px solid rgba(var(--zt-glow-rgb), .25); }
.zp-resumo .zp-av { width: 42px; height: 42px; border-radius: 12px; font-size: .85rem; }
.zp-resumo strong { display: block; font-size: 1rem; font-weight: 800; color: var(--zt-text); }
.zp-resumo small { display: block; font-size: .78rem; color: var(--zt-muted); }
.zp-resumo small b { color: var(--zt-text); }
.zp-resumo-out { background: rgba(239, 68, 102, .07); border-color: rgba(239, 68, 102, .3); }
.zp-tipo { display: grid; grid-template-columns: 1fr 1fr; gap: .5rem; }
.zp-tipo label { margin: 0; cursor: pointer; }
.zp-tipo input { position: absolute; opacity: 0; pointer-events: none; }
.zp-tipo span { display: flex; align-items: center; justify-content: center; gap: .4rem; height: 42px; border-radius: 12px; font-size: .88rem; font-weight: 700; color: var(--zt-muted); background: var(--zt-input); border: 1px solid var(--zt-border); transition: all .15s; }
.zp-tipo span svg { width: 16px; height: 16px; }
.zp-tipo label:hover span { border-color: rgba(var(--zt-glow-rgb), .5); color: var(--zt-text); }
.zp-tipo input:checked + span.e { color: #fff; background: linear-gradient(135deg, #10b981, #059669); border-color: transparent; box-shadow: 0 0 16px rgba(16, 185, 129, .45); }
.zp-tipo input:checked + span.s { color: #fff; background: linear-gradient(135deg, #f43f5e, #e11d48); border-color: transparent; box-shadow: 0 0 16px rgba(244, 63, 94, .45); }
.zp-tipo input:focus-visible + span { outline: 2px solid var(--zt-accent); outline-offset: 2px; }
.zp-ajustes, .zp-motivos { display: flex; flex-wrap: wrap; gap: .35rem; margin-top: .45rem; }
.zp-motivos { margin: 0 0 .45rem; }
.zp-ajustes button, .zp-motivos button {
	padding: .22rem .6rem; border-radius: 999px; cursor: pointer; font-size: .72rem; font-weight: 600;
	color: var(--zt-muted); background: rgba(143, 163, 194, .08); border: 1px solid var(--zt-border-soft); transition: all .15s;
}
.zp-ajustes button:hover, .zp-motivos button:hover { color: var(--zt-text); border-color: rgba(var(--zt-glow-rgb), .5); }
.zp-motivos button.active { color: var(--zt-text); background: rgba(var(--zt-glow-rgb), .16); border-color: rgba(var(--zt-glow-rgb), .6); }
.zp-aviso { display: flex; align-items: flex-start; gap: .5rem; margin: .9rem 0 0; padding: .6rem .8rem; border-radius: 12px; font-size: .8rem; color: #f59e0b; background: rgba(245, 158, 11, .08); border: 1px solid rgba(245, 158, 11, .3); }
.zp-aviso svg { flex: 0 0 auto; width: 16px; height: 16px; margin-top: 1px; }
.zp-erro { margin-top: .9rem; padding: .55rem .8rem; border-radius: 12px; font-size: .8rem; color: #ff5d7a; background: rgba(239, 68, 102, .08); border: 1px solid rgba(239, 68, 102, .35); }
.zp-dl { display: grid; grid-template-columns: auto 1fr; gap: .35rem 1rem; margin: 0; font-size: .84rem; }
.zp-dl dt { font-weight: 600; color: var(--zt-muted); }
.zp-dl dd { margin: 0; color: var(--zt-text); }
.zp-pend-kpis { grid-template-columns: repeat(auto-fit, minmax(110px, 1fr)); }
.zp-sub { font-size: .82rem; color: var(--zt-muted); margin-bottom: .6rem; }
.zp-sug-linha { display: flex; align-items: center; gap: .65rem; padding: .55rem .2rem; }
.zp-sug-linha + .zp-sug-linha { border-top: 1px solid var(--zt-border-soft); }
.zp-sug-linha > div { flex: 1 1 auto; min-width: 0; line-height: 1.2; }
.zp-sug-linha b { display: block; font-size: .86rem; color: var(--zt-text); }
.zp-sug-linha small { font-size: .74rem; color: var(--zt-muted); }

/* picagem manual: pesquisa e selecionados */
.zp-pm-busca > svg { position: absolute; left: .75rem; top: 50%; width: 16px; height: 16px; transform: translateY(-50%); color: var(--zt-muted); pointer-events: none; z-index: 2; }
.zp-pm-busca .form-control { padding-left: 2.2rem; }
.zp-sug-lista {
	position: absolute; left: 0; right: 0; top: calc(100% + 4px); z-index: 1060; margin: 0; padding: .3rem; list-style: none;
	max-height: 240px; overflow-y: auto; border-radius: 12px; background: var(--zt-card-solid); border: 1px solid var(--zt-border); box-shadow: 0 14px 40px rgba(0, 0, 0, .35);
}
.zp-sug-lista li { display: flex; align-items: center; gap: .55rem; padding: .45rem .55rem; border-radius: 9px; cursor: pointer; font-size: .84rem; }
.zp-sug-lista li:hover { background: var(--zt-hover); }
.zp-sug-lista li .zp-av { width: 26px; height: 26px; border-radius: 8px; font-size: .64rem; }
.zp-sug-lista li b { color: var(--zt-text); font-weight: 700; }
.zp-sug-lista li small { color: var(--zt-muted); }
.zp-sug-lista li em { margin-left: auto; font-style: normal; font-size: .7rem; color: var(--zt-muted); }
.zp-sug-lista li.is-ja { opacity: .5; cursor: default; }
.zp-sug-vazio { color: var(--zt-muted); cursor: default !important; }
.zp-sel { display: flex; flex-wrap: wrap; gap: .4rem; margin-top: .55rem; }
.zp-sel:empty { display: none; }
.zp-sel-item { display: inline-flex; align-items: center; gap: .4rem; padding: .2rem .35rem .2rem .25rem; border-radius: 999px; font-size: .8rem; font-weight: 600; color: var(--zt-text); background: rgba(var(--zt-glow-rgb), .12); border: 1px solid rgba(var(--zt-glow-rgb), .45); }
.zp-sel-item .zp-av { width: 22px; height: 22px; border-radius: 50%; font-size: .58rem; }
.zp-sel-item button { width: 20px; height: 20px; display: inline-grid; place-items: center; padding: 0; border: 0; border-radius: 50%; font-size: .66rem; color: var(--zt-muted); background: transparent; cursor: pointer; }
.zp-sel-item button:hover { color: #fff; background: #ef4466; }
.zp-contador { margin-top: .35rem; font-size: .74rem; color: var(--zt-muted); }

/* avisos rápidos (canto inferior direito) */
.zp-toasts { position: fixed; right: 18px; bottom: 18px; z-index: 2000; display: flex; flex-direction: column; gap: .5rem; pointer-events: none; }
.zp-toast {
	display: flex; align-items: center; gap: .55rem; max-width: 380px; padding: .65rem .95rem; border-radius: 14px; pointer-events: auto;
	font-size: .84rem; font-weight: 600; color: var(--zt-text); background: var(--zt-card-solid); border: 1px solid rgba(16, 224, 140, .5);
	box-shadow: 0 14px 40px rgba(0, 0, 0, .35), 0 0 16px rgba(16, 224, 140, .2);
	opacity: 0; transform: translateY(10px); transition: opacity .25s, transform .25s;
}
.zp-toast.in { opacity: 1; transform: none; }
.zp-toast svg { width: 18px; height: 18px; flex: 0 0 auto; color: #10e08c; }
.zp-toast.erro { border-color: rgba(239, 68, 102, .55); box-shadow: 0 14px 40px rgba(0, 0, 0, .35), 0 0 16px rgba(239, 68, 102, .2); }
.zp-toast.erro svg { color: #ff5d7a; }

html[data-theme="light"] .zp-tabela thead th { background: #f7f9fd; }
html[data-theme="light"] .zp-toast, html[data-theme="light"] .zp-sug-lista { box-shadow: 0 14px 40px rgba(20, 50, 100, .18); }
html[data-theme="light"] .zp-pin { box-shadow: 0 0 0 2px rgba(255, 255, 255, .8), 0 0 10px rgba(16, 185, 129, .6); }
@media (max-width: 767.98px) {
	.zp-dia { width: 100%; justify-content: space-between; }
	.zp-dia .zt-btn-glow { width: 100%; justify-content: center; margin: 0; }
	.zp-raio input[type=range] { width: 90px; }
	.zp-map-wrap #map { height: 280px; }
}
.zp-side .zp-card-head { flex-wrap: nowrap; }
.zp-side .zp-card-tit { min-width: 0; }
.zp-side .zp-card-head .zt-dbtn { flex: 0 0 auto; }
/* fotos dos trabalhadores no lugar das iniciais */
.zp-av, .zp-pin { position: relative; overflow: hidden; }
.zp-av img, .zp-pin img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.zp-av.tem-foto, .zp-pin.tem-foto { color: transparent; background: var(--zt-input); }
/* fotos nos pinos: o leaflet força "width:auto" nas imagens dos marcadores → a foto aparecia cortada */
.zt-theme .leaflet-marker-pane .zp-pin img, .zt-theme .leaflet-marker-pane .zp-mini img {
	position: absolute !important; inset: 0 !important; width: 100% !important; height: 100% !important;
	max-width: none !important; max-height: none !important; object-fit: cover; border-radius: 50%; padding: 0 !important;
}

/* radar dentro do raio de ação */
.zp-radar-wrap { background: none !important; border: 0 !important; filter: none !important; }
.zp-radar { position: absolute; inset: 0; border-radius: 50%; overflow: hidden; pointer-events: none; }
.zp-radar i {
	position: absolute; inset: 0; border-radius: 50%;
	background: conic-gradient(from 0deg, rgba(45, 168, 255, 0) 0deg, rgba(45, 168, 255, 0) 290deg, rgba(45, 168, 255, .12) 330deg, rgba(120, 210, 255, .45) 359deg, rgba(45, 168, 255, 0) 360deg);
	animation: zpRadarGira 4s linear infinite;
}
.zp-radar::before {   /* anéis fixos + cruz */
	content: ""; position: absolute; inset: 0; border-radius: 50%;
	background:
		radial-gradient(circle, transparent 0 32.6%, rgba(120, 205, 255, .28) 33% 33.4%, transparent 33.8% 65.8%, rgba(120, 205, 255, .22) 66.2% 66.6%, transparent 67%),
		linear-gradient(rgba(120, 205, 255, .16), rgba(120, 205, 255, .16)) center / 1px 100% no-repeat,
		linear-gradient(rgba(120, 205, 255, .16), rgba(120, 205, 255, .16)) center / 100% 1px no-repeat;
}
.zp-radar b {
	position: absolute; left: 50%; top: 50%; width: 100%; height: 100%; border-radius: 50%;
	border: 2px solid rgba(120, 210, 255, .55); transform: translate(-50%, -50%) scale(0); opacity: 0;
	animation: zpRadarOnda 4s ease-out infinite;
}
.zp-radar b + b { animation-delay: 2s; }
@keyframes zpRadarGira { to { transform: rotate(360deg); } }
@keyframes zpRadarOnda { 0% { transform: translate(-50%, -50%) scale(.05); opacity: .9; } 100% { transform: translate(-50%, -50%) scale(1); opacity: 0; } }
html.zt-lite .zp-radar i, html.zt-lite .zp-radar b,
html[data-zt-anim="off"] .zp-radar i, html[data-zt-anim="off"] .zp-radar b { animation: none; }
html.zt-lite .zp-radar b, html[data-zt-anim="off"] .zp-radar b { display: none; }
@media (prefers-reduced-motion: reduce) { .zp-radar i, .zp-radar b { animation: none; } .zp-radar b { display: none; } }
/* ferias-dash.php: seletor de ano também no cabeçalho do calendário */
.fv-cal-head .fv-cal-ano { order: -1; }

/* =====================================================================
   EQUIPAMENTOS.PHP (prefixo .ze-)
   ===================================================================== */
.ze-head { margin-bottom: 1rem; }
.ze-toolbar { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: .75rem; margin-top: 1rem; }
.ze-tabs { display: inline-flex; flex-wrap: wrap; gap: .3rem; padding: .3rem; border-radius: 14px; background: var(--zt-input); border: 1px solid var(--zt-border); }
.ze-tab {
	display: inline-flex; align-items: center; gap: .45rem; padding: .45rem .95rem; border-radius: 10px;
	font-size: .84rem; font-weight: 600; color: var(--zt-muted) !important; text-decoration: none !important;
	border: 1px solid transparent; transition: background .15s, color .15s, border-color .15s, box-shadow .15s;
}
.ze-tab svg { width: 16px; height: 16px; }
.ze-tab:hover { color: var(--zt-text) !important; background: rgba(var(--zt-glow-rgb), .08); }
.ze-tab.active { color: #fff !important; background: linear-gradient(135deg, #2da8ff, #1d6fe0); box-shadow: 0 0 16px rgba(45, 168, 255, .45); }
html[data-theme="light"] .ze-tab.active { color: #fff !important; }

.ze-filtros { display: flex; align-items: center; flex-wrap: wrap; gap: .45rem; margin-bottom: 1rem; }
.ze-filtros-lbl { display: inline-flex; align-items: center; gap: .3rem; margin-right: .2rem; font-size: .72rem; font-weight: 700; letter-spacing: .05em; text-transform: uppercase; color: var(--zt-muted); }
.ze-filtros-lbl svg { width: 14px; height: 14px; }
.ze-chip {
	display: inline-flex; align-items: center; gap: .35rem; padding: .32rem .75rem; border-radius: 999px;
	font-size: .78rem; font-weight: 600; color: var(--zt-muted) !important; text-decoration: none !important;
	background: rgba(143, 163, 194, .08); border: 1px solid var(--zt-border-soft);
	transition: background .15s, border-color .15s, color .15s, box-shadow .15s;
}
.ze-chip svg { width: 13px; height: 13px; }
.ze-chip b { min-width: 20px; padding: 0 .35rem; border-radius: 999px; font-size: .68rem; text-align: center; background: rgba(143, 163, 194, .16); color: var(--zt-text); }
.ze-chip:hover { color: var(--zt-text) !important; border-color: rgba(var(--zt-glow-rgb), .5); }
.ze-chip.active { color: var(--zt-text) !important; background: rgba(var(--zt-glow-rgb), .14); border-color: rgba(var(--zt-glow-rgb), .6); box-shadow: 0 0 10px rgba(var(--zt-glow-rgb), .2); }
.ze-chip.active b { background: rgba(var(--zt-glow-rgb), .35); }
.ze-vista { margin-left: auto; }
.ze-vista button svg { width: 14px; height: 14px; }

.ze-grid > [class*="col-"] { margin-bottom: 1rem; }
.ze-card { overflow: hidden; }
.ze-card-head { display: flex !important; align-items: center; gap: .7rem; padding: .9rem 1.1rem !important; }
.ze-card-head .zb-cico { width: 36px; height: 36px; border-radius: 11px; }
.ze-card-head .zb-cico svg { width: 17px; height: 17px; }
.ze-card-tit { line-height: 1.2; }
.ze-card-tit strong { display: block; font-size: .98rem; font-weight: 800; color: var(--zt-text); }
.ze-card-tit small { display: block; margin-top: .1rem; font-size: .74rem; color: var(--zt-muted); }
.ze .table thead th { font-size: .68rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--zt-muted); white-space: nowrap; }
.ze .table td { vertical-align: middle; }
.ze #userTable td:first-child { font-weight: 600; color: var(--zt-text); }
.ze .badge { white-space: normal; text-align: left; }
.ze tr.ze-artigo { cursor: pointer; }
.ze tr.ze-total th { color: var(--zt-text); border-top: 1px solid var(--zt-border); background: rgba(var(--zt-glow-rgb), .05); }

/* botões de ação das linhas: ícones lado a lado, mais visíveis ao passar na linha */
.ze td.acoes-equip { font-size: 0; }
.ze td.acoes-equip form { display: inline; margin: 0; }
.ze td.acoes-equip .btn { margin: 0 2px; opacity: .8; }
.ze tr:hover td.acoes-equip .btn { opacity: 1; }
.ze td.acoes-equip .btn svg { width: 15px; height: 15px; }
.ze td.acoes-equip .badge.rounded-pill { font-size: .62rem; }

/* resumo (gráfico + tabela) */
.ze-resumo .table td { font-size: .84rem; color: var(--zt-text); border-color: var(--zt-border-soft); }
.ze-resumo .table td.text-end { font-weight: 700; font-variant-numeric: tabular-nums; }

/* modal "Novo equipamento": cartões das categorias */
.zt-theme .categoria-card {
	cursor: pointer; height: 100%; border-radius: 16px; background: var(--zt-input); border: 1px solid var(--zt-border);
	transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}
.zt-theme .categoria-card:hover { transform: translateY(-3px); border-color: rgba(var(--zt-glow-rgb), .65); box-shadow: 0 0 18px rgba(var(--zt-glow-rgb), .3); }
.zt-theme .categoria-card .card-body { padding: .6rem .5rem .9rem; }
.iconcat { width: 76px !important; height: 76px; max-width: none; object-fit: contain; display: block; margin: 18px auto 0; padding: 12px !important; border-radius: 50%; background: rgba(255, 255, 255, .92); }
.card-titlecat { color: var(--zt-text); font-size: .9rem; font-weight: 700; margin: 0; }

/* ícones desenhados antes do JS (acrescentados com equipamentos.php / obra.php) */
i[data-feather="box"] { --zt-fi: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M21 16V8a2 2 0 0 0-1-1.73l-7-4a2 2 0 0 0-2 0l-7 4A2 2 0 0 0 3 8v8a2 2 0 0 0 1 1.73l7 4a2 2 0 0 0 2 0l7-4A2 2 0 0 0 21 16z'/%3E%3Cpolyline points='3.27 6.96 12 12.01 20.73 6.96'/%3E%3Cline x1='12' y1='22.08' x2='12' y2='12'/%3E%3C/svg%3E"); }
i[data-feather="edit-3"] { --zt-fi: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M12 20h9'/%3E%3Cpath d='M16.5 3.5a2.121 2.121 0 0 1 3 3L7 19l-4 1 1-4L16.5 3.5z'/%3E%3C/svg%3E"); }
i[data-feather="chevrons-up-down"] { --zt-fi: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='7 15 12 20 17 15'/%3E%3Cpolyline points='7 9 12 4 17 9'/%3E%3C/svg%3E"); }
/* equipamentos: pastilha da obra numa só linha (nome completo ao passar o rato) */
.ze .zt-pill.ze-pill-obra { max-width: 190px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; display: inline-block; line-height: 1.5; }
.ze .zt-pill.ze-pill-obra::before { display: inline-block; margin-right: .32rem; vertical-align: middle; transform: translateY(-1px); }
.ze td .zt-pill { white-space: nowrap; }

/* equipamentos: modal "ver" (detalhe + documentos + manutenções) */
.ze-det { display: flex; flex-direction: column; gap: 1rem; }
.ze-det-head { display: flex; align-items: center; flex-wrap: wrap; gap: .85rem; padding: .9rem 1rem; border-radius: 16px; background: rgba(var(--zt-glow-rgb), .07); border: 1px solid rgba(var(--zt-glow-rgb), .25); }
.ze-det-head .zb-cico { width: 46px; height: 46px; border-radius: 14px; }
.ze-det-head .zb-cico svg { width: 22px; height: 22px; }
.ze-det-tit { flex: 1 1 220px; min-width: 0; line-height: 1.25; }
.ze-det-tit strong { display: block; font-size: 1.15rem; font-weight: 800; color: var(--zt-text); }
.ze-det-tit small { display: block; margin-top: .15rem; font-size: .8rem; color: var(--zt-muted); }
.ze-det-pills { display: flex; flex-wrap: wrap; gap: .4rem; }
.ze-det-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(170px, 1fr)); gap: .55rem; }
.ze-det-campo { padding: .55rem .75rem; border-radius: 12px; background: var(--zt-input); border: 1px solid var(--zt-border-soft); min-width: 0; }
.ze-det-campo span { display: block; font-size: .64rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--zt-muted); }
.ze-det-campo b { display: block; margin-top: .15rem; font-size: .88rem; font-weight: 600; color: var(--zt-text); overflow-wrap: anywhere; }
.ze-det-obs { padding: .7rem .85rem; border-radius: 12px; background: var(--zt-input); border: 1px solid var(--zt-border-soft); }
.ze-det-obs span, .ze-det-sub { display: block; font-size: .66rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--zt-muted); }
.ze-det-obs p { margin: .25rem 0 0; font-size: .86rem; color: var(--zt-text); white-space: pre-line; }
.ze-det-sub { margin-bottom: -.5rem; }
.ze-det-stock { border-radius: 12px; overflow: hidden; border: 1px solid var(--zt-border-soft); }
.ze-det-stock .table th { font-size: .64rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--zt-muted); background: var(--zt-input); }
.ze-det-stock .table td { font-size: .84rem; color: var(--zt-text); }
.ze-det-stock code { color: var(--zt-accent); font-size: .78rem; }
.ze-det-secs { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.ze-det-secs.so-docs { grid-template-columns: 1fr; }
@media (max-width: 767.98px) { .ze-det-secs { grid-template-columns: 1fr; } }
.ze-det-sec { display: flex; flex-direction: column; min-width: 0; border-radius: 14px; background: var(--zt-input); border: 1px solid var(--zt-border); overflow: hidden; }
.ze-det-sec header { display: flex; align-items: center; flex-wrap: wrap; gap: .45rem; padding: .65rem .85rem; border-bottom: 1px solid var(--zt-border-soft); }
.ze-det-sec header > svg { width: 16px; height: 16px; color: var(--zt-accent); }
.ze-det-sec header strong { font-size: .9rem; color: var(--zt-text); }
.ze-det-sec header small { flex: 1 1 auto; font-size: .72rem; color: var(--zt-muted); }
.ze-det-sec header .zt-dbtn { height: 28px; padding: 0 .65rem; font-size: .72rem; }
.ze-det-sec-b { padding: .4rem .55rem; max-height: 320px; overflow-y: auto; }
.ze-det-sec-b > p { margin: .5rem .3rem; font-size: .82rem; }
.ze-det-lista { list-style: none; margin: 0; padding: 0; }
.ze-det-lista li { display: flex; flex-direction: column; gap: .25rem; padding: .6rem .35rem; }
.ze-det-lista li + li { border-top: 1px solid var(--zt-border-soft); }
.ze-det-li-top { display: flex; flex-wrap: wrap; gap: .3rem; }
.ze-det-lista a { display: inline-flex; align-items: center; gap: .35rem; font-size: .86rem; font-weight: 600; color: var(--zt-accent); text-decoration: none; overflow-wrap: anywhere; }
.ze-det-lista a:hover { text-decoration: underline; }
.ze-det-lista a svg { width: 14px; height: 14px; flex: 0 0 auto; }
.ze-det-lista b { font-size: .84rem; color: var(--zt-text); }
.ze-det-lista p { margin: 0; font-size: .82rem; color: var(--zt-text); white-space: pre-line; }
.ze-det-lista small { font-size: .72rem; color: var(--zt-muted); }
.ze-det-anexos { display: flex; flex-wrap: wrap; gap: .3rem .8rem; }
.ze-det-anexos a { font-size: .78rem; }
.ze-mute { color: var(--zt-muted); }

/* ---------- Desempenho (Firefox / PCs lentos) ----------
   Cartões com tabelas grandes: sem o "levantar" ao passar o rato nem a luz que segue o rato.
   Num cartão com centenas de linhas, cada movimento do rato obrigava o Firefox a redesenhar
   o cartão inteiro (era isto que deixava o equipamentos.php muito lento). */
.zt-theme .card.zt-card-grande:hover { transform: none !important; }
.zt-theme .card.zt-card-grande::after { display: none !important; }
.zt-theme .card.zt-card-grande { transition: border-color .2s, box-shadow .2s; }
/* botões das linhas: sem brilho permanente (só ao passar o rato) — centenas de sombras pesam no Firefox */
.ze td.acoes-equip .zt-dbtn:not(:hover) { box-shadow: none !important; }
/* modo leve (o Firefox entra sempre): barra de cima sem desfoque por trás (redesenhava a página toda ao fazer scroll) */
html.zt-lite .zt-theme .navbar-bg { backdrop-filter: none; -webkit-backdrop-filter: none; }
html.zt-lite .ze .zt-pill { text-shadow: none; }
html.zt-lite .zt-theme .navbar-bg { background: rgba(6, 15, 32, .96); }
html.zt-lite[data-theme="light"] .zt-theme .navbar-bg { background: rgba(255, 255, 255, .97); }
