.fns-menu-page {
  min-height: 100vh;
  padding: 22px;
  background: linear-gradient(180deg, #f5f8fb 0%, #eef4f8 100%);
  color: #062449;
}
.fns-menu-hero {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  align-items: center;
  margin: 0 0 18px;
  padding: 22px 24px;
  border: 1px solid rgba(7, 132, 67, 0.13);
  border-radius: 24px;
  background:
    radial-gradient(
      circle at top left,
      rgba(7, 132, 67, 0.16),
      transparent 34%
    ),
    linear-gradient(135deg, #fff, #f8fbff);
  box-shadow: 0 18px 50px rgba(6, 36, 73, 0.08);
}
.fns-menu-kicker {
  display: inline-flex;
  margin-bottom: 6px;
  font-size: 11px;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.11em;
  color: #078443;
}
.fns-menu-hero h1 {
  margin: 0;
  font-size: clamp(23px, 3vw, 34px);
  font-weight: 950;
  line-height: 1.05;
}
.fns-menu-hero p {
  max-width: 760px;
  margin: 7px 0 0;
  color: #627084;
  font-size: 14px;
}
.fns-menu-actions {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}
.fns-menu-actions a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 40px;
  padding: 0 16px;
  border-radius: 999px;
  background: #062449;
  color: #fff;
  text-decoration: none;
  font-weight: 850;
  font-size: 13px;
  box-shadow: 0 12px 25px rgba(6, 36, 73, 0.16);
}
.fns-menu-actions a + a {
  background: #078443;
}
.fns-kpi-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
  margin-bottom: 16px;
}
.fns-kpi-grid article,
.fns-card,
.fns-pal-card {
  background: rgba(255, 255, 255, 0.88);
  border: 1px solid #e2eaf1;
  border-radius: 22px;
  box-shadow: 0 16px 42px rgba(6, 36, 73, 0.07);
  backdrop-filter: blur(10px);
}
.fns-kpi-grid article {
  padding: 17px 18px;
}
.fns-kpi-grid strong {
  display: block;
  font-size: 28px;
  font-weight: 950;
  color: #062449;
}
.fns-kpi-grid span {
  font-size: 12px;
  font-weight: 800;
  color: #64748b;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}
.fns-card {
  padding: 20px;
  margin-bottom: 16px;
}
.fns-card-head {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  align-items: flex-end;
  margin-bottom: 14px;
}
.fns-card-head h2 {
  margin: 0;
  font-size: 18px;
  font-weight: 950;
}
.fns-card-head p {
  margin: 0;
  color: #64748b;
  font-size: 13px;
}
.fns-table-wrap {
  overflow: auto;
  border-radius: 16px;
  border: 1px solid #edf2f6;
}
.fns-table {
  width: 100%;
  border-collapse: collapse;
  background: #fff;
}
.fns-table th {
  padding: 13px 14px;
  background: #f6f9fc;
  color: #30435c;
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.07em;
  text-align: left;
}
.fns-table td {
  padding: 13px 14px;
  border-top: 1px solid #edf2f6;
  font-size: 13px;
  vertical-align: middle;
}
.fns-table td small {
  display: block;
  color: #94a3b8;
  font-weight: 800;
  text-transform: uppercase;
  font-size: 10px;
}
.fns-pill,
.fns-medal {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 5px 10px;
  border-radius: 999px;
  background: #edf4f8;
  color: #062449;
  font-weight: 850;
  font-size: 12px;
}
.fns-medal-or,
.fns-medal-gold {
  background: #fff4c4;
  color: #926500;
}
.fns-medal-argent,
.fns-medal-silver {
  background: #eef2f7;
  color: #475569;
}
.fns-medal-bronze {
  background: #ffe5d3;
  color: #9a4a13;
}
.fns-empty {
  padding: 20px !important;
  text-align: center;
  color: #748094;
}
.fns-palmares-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}
.fns-pal-card {
  position: relative;
  overflow: hidden;
  padding: 20px;
}
.fns-pal-card:before {
  content: "";
  position: absolute;
  inset: auto -40px -55px auto;
  width: 140px;
  height: 140px;
  border-radius: 50%;
  background: rgba(7, 132, 67, 0.08);
}
.fns-rank {
  display: inline-flex;
  width: 38px;
  height: 38px;
  border-radius: 15px;
  align-items: center;
  justify-content: center;
  background: #062449;
  color: #fff;
  font-weight: 950;
}
.fns-pal-card h2 {
  margin: 12px 0 4px;
  font-size: 18px;
  font-weight: 950;
}
.fns-pal-card p {
  margin: 0 0 14px;
  color: #64748b;
}
.fns-medals {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}
.fns-medals span {
  padding: 7px 10px;
  border-radius: 13px;
  font-size: 12px;
  font-weight: 900;
}
.fns-medals .gold {
  background: #fff4c4;
  color: #926500;
}
.fns-medals .silver {
  background: #eef2f7;
  color: #475569;
}
.fns-medals .bronze {
  background: #ffe5d3;
  color: #9a4a13;
}
.fns-score {
  display: block;
  margin-top: 14px;
  color: #078443;
}
.fns-two-cols {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}
.fns-bar-row {
  display: grid;
  grid-template-columns: 120px 1fr 42px;
  gap: 10px;
  align-items: center;
  margin: 13px 0;
}
.fns-bar-row span,
.fns-bar-row strong {
  font-size: 13px;
  font-weight: 900;
}
.fns-bar-row div {
  height: 10px;
  border-radius: 999px;
  background: #eef3f7;
  overflow: hidden;
}
.fns-bar-row i {
  display: block;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, #078443, #16c784);
}
.fns-top-row {
  display: grid;
  grid-template-columns: 44px 1fr auto;
  gap: 10px;
  align-items: center;
  padding: 11px 0;
  border-bottom: 1px solid #edf2f6;
}
.fns-top-row span {
  width: 34px;
  height: 34px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 13px;
  background: #eef4f8;
  font-weight: 950;
}
.fns-top-row strong {
  font-size: 14px;
}
.fns-top-row em {
  font-style: normal;
  color: #078443;
  font-weight: 950;
}
@media (max-width: 900px) {
  .fns-menu-page {
    padding: 14px;
  }
  .fns-menu-hero {
    align-items: flex-start;
    flex-direction: column;
    padding: 18px;
  }
  .fns-kpi-grid,
  .fns-palmares-grid,
  .fns-two-cols {
    grid-template-columns: 1fr;
  }
  .fns-card-head {
    display: block;
  }
  .fns-menu-actions {
    width: 100%;
  }
  .fns-menu-actions a {
    flex: 1;
  }
  .fns-table th,
  .fns-table td {
    white-space: nowrap;
  }
}

.fns-menu-page {
  min-height: 100vh;
  padding: 24px;
  background:
    radial-gradient(
      circle at top left,
      rgba(0, 115, 61, 0.12),
      transparent 32%
    ),
    linear-gradient(180deg, #f7fafc 0%, #eef3f8 100%);
  color: #062247;
}

.fns-menu-hero {
  max-width: 1180px;
  margin: 0 auto 18px;
  padding: 24px;
  border-radius: 26px;
  background: linear-gradient(135deg, #ffffff 0%, #f8fbff 100%);
  border: 1px solid rgba(210, 220, 232, 0.9);
  box-shadow: 0 20px 55px rgba(6, 34, 71, 0.08);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
}

.fns-menu-kicker {
  display: inline-flex;
  margin-bottom: 8px;
  font-size: 11px;
  font-weight: 900;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #00884b;
}

.fns-menu-hero h1 {
  margin: 0;
  font-size: clamp(26px, 3vw, 42px);
  font-weight: 950;
  letter-spacing: -0.04em;
  color: #062247;
}

.fns-menu-hero p {
  max-width: 620px;
  margin: 8px 0 0;
  color: #607087;
  font-size: 14px;
  line-height: 1.7;
}

.fns-menu-actions {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.fns-menu-actions a {
  height: 42px;
  padding: 0 16px;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: #062247;
  color: #fff;
  font-size: 13px;
  font-weight: 850;
  text-decoration: none;
  box-shadow: 0 12px 26px rgba(6, 34, 71, 0.18);
  transition: 0.22s ease;
}

.fns-menu-actions a:last-child {
  background: #fff;
  color: #062247;
  border: 1px solid #dce5ef;
  box-shadow: none;
}

.fns-menu-actions a:hover {
  transform: translateY(-2px);
}

.fns-kpi-grid {
  max-width: 1180px;
  margin: 0 auto 18px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
}

.fns-kpi-grid article {
  padding: 18px;
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.92);
  border: 1px solid #e2eaf3;
  box-shadow: 0 14px 35px rgba(6, 34, 71, 0.07);
}

.fns-kpi-grid strong {
  display: block;
  font-size: 30px;
  font-weight: 950;
  color: #00884b;
  letter-spacing: -0.04em;
}

.fns-kpi-grid span {
  margin-top: 4px;
  display: block;
  font-size: 12px;
  font-weight: 850;
  color: #68778d;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.fns-card {
  max-width: 1180px;
  margin: 0 auto;
  padding: 18px;
  border-radius: 28px;
  background: rgba(255, 255, 255, 0.95);
  border: 1px solid #dfe8f2;
  box-shadow: 0 22px 60px rgba(6, 34, 71, 0.09);
}

.fns-card-head {
  padding: 4px 4px 16px;
  display: flex;
  justify-content: space-between;
  gap: 14px;
  align-items: end;
}

.fns-card-head h2 {
  margin: 0;
  font-size: 21px;
  font-weight: 950;
  color: #062247;
  letter-spacing: -0.03em;
}

.fns-card-head p {
  margin: 0;
  color: #738198;
  font-size: 13px;
  font-weight: 750;
}

.fns-table-wrap {
  overflow-x: auto;
  border-radius: 20px;
  border: 1px solid #e4edf5;
}

.fns-table {
  width: 100%;
  border-collapse: collapse;
  min-width: 860px;
  background: #fff;
}

.fns-table thead {
  background: linear-gradient(180deg, #f8fbff, #eef4fa);
}

.fns-table th {
  padding: 14px 16px;
  color: #536176;
  font-size: 11px;
  font-weight: 950;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  text-align: left;
  border-bottom: 1px solid #e1eaf3;
}

.fns-table td {
  padding: 15px 16px;
  font-size: 13px;
  font-weight: 700;
  color: #16314f;
  border-bottom: 1px solid #edf2f7;
  vertical-align: middle;
}

.fns-table tbody tr {
  transition: 0.18s ease;
}

.fns-table tbody tr:hover {
  background: #f8fbff;
}

.fns-table tbody tr:last-child td {
  border-bottom: none;
}

.fns-pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 28px;
  padding: 0 11px;
  border-radius: 999px;
  background: rgba(0, 136, 75, 0.1);
  color: #00884b;
  font-size: 12px;
  font-weight: 900;
}

.fns-empty {
  padding: 42px 16px !important;
  text-align: center;
  color: #7a8799 !important;
  font-weight: 800 !important;
}

@media (max-width: 900px) {
  .fns-menu-page {
    padding: 16px;
  }

  .fns-menu-hero {
    padding: 20px;
    flex-direction: column;
    align-items: flex-start;
  }

  .fns-kpi-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .fns-card-head {
    flex-direction: column;
    align-items: flex-start;
  }
}

@media (max-width: 520px) {
  .fns-kpi-grid {
    grid-template-columns: 1fr;
  }

  .fns-menu-actions {
    width: 100%;
  }

  .fns-menu-actions a {
    flex: 1;
  }
}


.fns-calendar-card {
	background: #fff;
	border: 1px solid #e7edf5;
	border-radius: 28px;
	padding: 24px;
	box-shadow: 0 22px 60px rgba(5, 38, 73, .08);
}

.fns-calendar-top {
	display: flex;
	align-items: flex-start;
	justify-content: space-between;
	gap: 20px;
	margin-bottom: 22px;
}

.fns-calendar-top h2 {
	margin: 0;
	color: #052649;
	font-size: 26px;
	font-weight: 950;
}

.fns-calendar-top p {
	margin: 5px 0 0;
	color: #6b7280;
	font-size: 13px;
}

.fns-calendar-legend {
	display: flex;
	flex-wrap: wrap;
	gap: 10px;
}

.fns-calendar-legend span {
	display: inline-flex;
	align-items: center;
	gap: 7px;
	padding: 9px 12px;
	border-radius: 999px;
	background: #f8fafc;
	border: 1px solid #e7edf5;
	color: #526173;
	font-size: 12px;
	font-weight: 850;
}

.fns-calendar-legend i {
	width: 10px;
	height: 10px;
	border-radius: 999px;
	display: inline-block;
}

.fns-calendar-legend i.future { background: #16a34a; }
.fns-calendar-legend i.today { background: #2563eb; }
.fns-calendar-legend i.past { background: #dc2626; }

.fns-calendar-weekdays,
.fns-calendar-grid {
	display: grid;
	grid-template-columns: repeat(7, minmax(0, 1fr));
	gap: 10px;
}

.fns-calendar-weekdays {
	margin-bottom: 10px;
}

.fns-calendar-weekdays span {
	text-align: center;
	font-size: 12px;
	font-weight: 950;
	color: #708095;
	text-transform: uppercase;
	letter-spacing: .06em;
}

.fns-calendar-day {
	min-height: 118px;
	border-radius: 22px;
	border: 1px solid #e8eef6;
	background: linear-gradient(180deg, #fff, #f8fafc);
	padding: 14px;
	text-align: left;
	position: relative;
	cursor: default;
	transition: .2s ease;
}

.fns-calendar-day.muted {
	opacity: .42;
}

.fns-calendar-day.has-events {
	cursor: pointer;
	color: #fff;
	border-color: transparent;
	box-shadow: 0 14px 35px rgba(5, 38, 73, .14);
}

.fns-calendar-day.has-events:hover {
	transform: translateY(-3px);
	box-shadow: 0 20px 45px rgba(5, 38, 73, .18);
}

.fns-calendar-day.is-future {
	background: linear-gradient(135deg, #16a34a, #0f8f3b);
}

.fns-calendar-day.is-today {
	background: linear-gradient(135deg, #2563eb, #0ea5e9);
}

.fns-calendar-day.is-past {
	background: linear-gradient(135deg, #dc2626, #b91c1c);
}

.fns-calendar-day.real-today:not(.has-events) {
	border-color: #2563eb;
	box-shadow: inset 0 0 0 1px rgba(37, 99, 235, .22);
}

.day-number {
	font-size: 20px;
	font-weight: 950;
	color: #052649;
}

.fns-calendar-day.has-events .day-number {
	color: #fff;
}

.day-badge {
	position: absolute;
	top: 12px;
	right: 12px;
	min-width: 28px;
	height: 28px;
	border-radius: 999px;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	background: rgba(255,255,255,.22);
	color: #fff;
	font-weight: 950;
	font-size: 12px;
	border: 1px solid rgba(255,255,255,.35);
}

.day-label {
	position: absolute;
	left: 14px;
	bottom: 14px;
	font-size: 12px;
	font-weight: 850;
	color: rgba(255,255,255,.9);
}

.fns-calendar-modal {
	position: fixed;
	inset: 0;
	z-index: 9999;
	display: none;
}

.fns-calendar-modal.show {
	display: block;
}

.fns-calendar-modal-backdrop {
	position: absolute;
	inset: 0;
	background: rgba(2, 15, 32, .62);
	backdrop-filter: blur(8px);
}

.fns-calendar-modal-panel {
	position: relative;
	width: min(980px, calc(100% - 28px));
	max-height: calc(100vh - 50px);
	overflow: auto;
	margin: 25px auto;
	background: #fff;
	border-radius: 30px;
	box-shadow: 0 35px 100px rgba(0,0,0,.28);
	padding: 26px;
}

.fns-calendar-modal-close {
	position: absolute;
	top: 18px;
	right: 18px;
	width: 42px;
	height: 42px;
	border: 0;
	border-radius: 999px;
	background: #f1f5f9;
	color: #0f172a;
	font-size: 26px;
	cursor: pointer;
}

.fns-calendar-modal-head {
	padding-right: 54px;
	margin-bottom: 22px;
}

.fns-calendar-modal-head span {
	display: inline-flex;
	padding: 8px 13px;
	border-radius: 999px;
	color: #fff;
	font-size: 12px;
	font-weight: 950;
}

.fns-calendar-modal-head .status-future { background: #16a34a; }
.fns-calendar-modal-head .status-today { background: #2563eb; }
.fns-calendar-modal-head .status-past { background: #dc2626; }

.fns-calendar-modal-head h2 {
	margin: 12px 0 4px;
	color: #052649;
	font-size: 28px;
	font-weight: 950;
}

.fns-calendar-modal-head p {
	margin: 0;
	color: #6b7280;
	font-size: 14px;
}

.fns-calendar-modal-body {
	display: grid;
	gap: 14px;
}

.fns-event-row {
	display: grid;
	grid-template-columns: 90px 1fr;
	gap: 16px;
	padding: 16px;
	border: 1px solid #e8eef6;
	border-radius: 22px;
	background: #fbfdff;
}

.fns-event-time {
	display: flex;
	align-items: center;
	justify-content: center;
	border-radius: 18px;
	color: #fff;
	font-size: 18px;
	font-weight: 950;
}

.fns-event-row.status-future .fns-event-time { background: #16a34a; }
.fns-event-row.status-today .fns-event-time { background: #2563eb; }
.fns-event-row.status-past .fns-event-time { background: #dc2626; }

.fns-event-main {
	display: flex;
	justify-content: space-between;
	gap: 12px;
	align-items: flex-start;
	margin-bottom: 10px;
}

.fns-event-main h3 {
	margin: 0;
	color: #052649;
	font-size: 18px;
	font-weight: 950;
}

.fns-event-main span {
	padding: 7px 11px;
	border-radius: 999px;
	background: #eef6ff;
	color: #075985;
	font-size: 12px;
	font-weight: 850;
	white-space: nowrap;
}

.fns-event-meta {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 8px 16px;
}

.fns-event-meta p {
	margin: 0;
	color: #526173;
	font-size: 13px;
}

.fns-event-meta strong {
	color: #052649;
}

@media (max-width: 800px) {
	.fns-calendar-top,
	.fns-event-main {
		flex-direction: column;
	}

	.fns-calendar-weekdays,
	.fns-calendar-grid {
		gap: 6px;
	}

	.fns-calendar-day {
		min-height: 82px;
		border-radius: 16px;
		padding: 10px;
	}

	.day-number {
		font-size: 16px;
	}

	.day-label {
		display: none;
	}

	.fns-event-row,
	.fns-event-meta {
		grid-template-columns: 1fr;
	}

	.fns-event-time {
		height: 52px;
	}
}


.fns-calendar-full {
	width: 100%;
	max-width: none;
	padding-inline: 24px;
}

.fns-calendar-full .fns-menu-hero,
.fns-calendar-full .fns-kpi-grid,
.fns-calendar-full .fns-calendar-card {
	width: 100%;
	max-width: none;
}

.fns-calendar-card {
	background: #fff;
	border: 1px solid #e6edf5;
	border-radius: 26px;
	padding: 24px;
	box-shadow: 0 22px 70px rgba(5, 38, 73, .09);
	overflow: hidden;
}

.fns-calendar-top {
	display: flex;
	align-items: flex-start;
	justify-content: space-between;
	gap: 20px;
	margin-bottom: 22px;
}

.fns-calendar-top h2 {
	margin: 0;
	color: #052649;
	font-size: 28px;
	font-weight: 950;
}

.fns-calendar-top p {
	margin: 6px 0 0;
	color: #5d6b82;
	font-size: 14px;
}

.fns-calendar-legend {
	display: flex;
	gap: 10px;
	flex-wrap: wrap;
}

.fns-calendar-legend span {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	padding: 10px 14px;
	border-radius: 999px;
	background: #f8fafc;
	border: 1px solid #dfe8f2;
	color: #334155;
	font-size: 12px;
	font-weight: 900;
}

.fns-calendar-legend i {
	width: 11px;
	height: 11px;
	border-radius: 999px;
	display: inline-block;
}

.fns-calendar-legend .future { background: #16a34a; }
.fns-calendar-legend .today { background: #2563eb; }
.fns-calendar-legend .past { background: #dc2626; }

#fenascoCalendar {
	width: 100%;
}

#fenascoCalendar .fc {
	font-family: inherit;
}

#fenascoCalendar .fc-toolbar-title {
	font-size: 28px;
	font-weight: 950;
	color: #052649;
	text-transform: capitalize;
}

#fenascoCalendar .fc-button {
	background: #052649;
	border-color: #052649;
	border-radius: 10px;
	font-weight: 850;
	box-shadow: none;
}

#fenascoCalendar .fc-button:hover,
#fenascoCalendar .fc-button-active {
	background: #078443;
	border-color: #078443;
}

#fenascoCalendar .fc-daygrid-day {
	min-height: 132px;
	background: #fff;
	transition: .2s ease;
}

#fenascoCalendar .fc-daygrid-day-frame {
	min-height: 132px;
	padding: 7px;
}

#fenascoCalendar .fc-col-header-cell {
	background: #f8fafc;
	padding: 10px 0;
}

#fenascoCalendar .fc-col-header-cell-cushion {
	color: #052649;
	font-weight: 950;
	text-decoration: none;
	text-transform: uppercase;
	font-size: 12px;
}

#fenascoCalendar .fc-daygrid-day-number {
	color: #052649;
	font-weight: 950;
	text-decoration: none;
	font-size: 14px;
}

#fenascoCalendar .fns-day-has-events {
	color: #fff;
	cursor: pointer;
}

#fenascoCalendar .fns-day-has-events .fc-daygrid-day-number,
#fenascoCalendar .fns-day-has-events .fc-event-title,
#fenascoCalendar .fns-day-has-events .fc-event-time {
	color: #fff !important;
}

#fenascoCalendar .fns-day-future {
	background: linear-gradient(135deg, #16a34a, #0f8f3b) !important;
}

#fenascoCalendar .fns-day-today {
	background: linear-gradient(135deg, #2563eb, #0ea5e9) !important;
}

#fenascoCalendar .fns-day-past {
	background: linear-gradient(135deg, #dc2626, #991b1b) !important;
}

#fenascoCalendar .fc-day-today:not(.fns-day-has-events) {
	background: #eff6ff !important;
}

#fenascoCalendar .fc-event {
	border: 0;
	background: rgba(255,255,255,.16) !important;
	border-radius: 10px;
	padding: 4px 7px;
	margin-top: 3px;
	font-size: 12px;
	font-weight: 850;
	cursor: pointer;
}

.fns-day-open {
	position: absolute;
	left: 10px;
	right: 10px;
	bottom: 9px;
	border: 1px solid rgba(255,255,255,.35);
	background: rgba(255,255,255,.18);
	color: #fff;
	border-radius: 14px;
	padding: 8px 10px;
	display: flex;
	align-items: center;
	justify-content: space-between;
	cursor: pointer;
	backdrop-filter: blur(6px);
}

.fns-day-open strong {
	font-size: 18px;
	font-weight: 950;
}

.fns-day-open span {
	font-size: 12px;
	font-weight: 850;
}

.fns-calendar-modal {
	position: fixed;
	inset: 0;
	z-index: 99999;
	display: none;
}

.fns-calendar-modal.show {
	display: block;
}

.fns-calendar-modal-backdrop {
	position: absolute;
	inset: 0;
	background: rgba(2, 15, 32, .64);
	backdrop-filter: blur(8px);
}

.fns-calendar-modal-panel {
	position: relative;
	width: min(1120px, calc(100% - 34px));
	max-height: calc(100vh - 60px);
	margin: 30px auto;
	background: #fff;
	border-radius: 28px;
	box-shadow: 0 35px 110px rgba(0,0,0,.32);
	padding: 24px;
	overflow: hidden;
}

.fns-calendar-modal-close {
	position: absolute;
	top: 18px;
	right: 18px;
	width: 42px;
	height: 42px;
	border: 0;
	border-radius: 999px;
	background: #f1f5f9;
	color: #0f172a;
	font-size: 26px;
	line-height: 1;
	cursor: pointer;
}

.fns-calendar-modal-head {
	padding-right: 56px;
	margin-bottom: 18px;
}

.fns-calendar-modal-head span {
	display: inline-flex;
	padding: 8px 13px;
	border-radius: 999px;
	color: #fff;
	font-size: 12px;
	font-weight: 950;
}

.fns-calendar-modal-head .status-future { background: #16a34a; }
.fns-calendar-modal-head .status-today { background: #2563eb; }
.fns-calendar-modal-head .status-past { background: #dc2626; }

.fns-calendar-modal-head h2 {
	margin: 12px 0 4px;
	color: #052649;
	font-size: 26px;
	font-weight: 950;
}

.fns-calendar-modal-head p {
	margin: 0;
	color: #64748b;
	font-size: 14px;
}

.fns-calendar-table-wrap {
	max-height: 58vh;
	overflow: auto;
	border: 1px solid #e6edf5;
	border-radius: 18px;
}

.fns-calendar-table {
	width: 100%;
	border-collapse: separate;
	border-spacing: 0;
	min-width: 920px;
}

.fns-calendar-table th {
	position: sticky;
	top: 0;
	z-index: 2;
	background: #052649;
	color: #fff;
	padding: 13px 12px;
	text-align: left;
	font-size: 12px;
	text-transform: uppercase;
	letter-spacing: .04em;
}

.fns-calendar-table td {
	padding: 13px 12px;
	border-bottom: 1px solid #eef2f7;
	color: #334155;
	font-size: 13px;
}

.fns-calendar-table tbody tr:hover {
	background: #f8fafc;
}

.fns-calendar-table td span {
	display: inline-flex;
	padding: 6px 10px;
	border-radius: 999px;
	color: #fff;
	font-size: 11px;
	font-weight: 900;
}

.fns-calendar-table tr.status-future td span { background: #16a34a; }
.fns-calendar-table tr.status-today td span { background: #2563eb; }
.fns-calendar-table tr.status-past td span { background: #dc2626; }

@media (max-width: 900px) {
	.fns-calendar-full {
		padding-inline: 12px;
	}

	.fns-calendar-top {
		flex-direction: column;
	}

	#fenascoCalendar .fc-toolbar {
		flex-direction: column;
		gap: 12px;
	}

	#fenascoCalendar .fc-daygrid-day,
	#fenascoCalendar .fc-daygrid-day-frame {
		min-height: 96px;
	}

	.fns-calendar-modal-panel {
		margin: 18px auto;
		max-height: calc(100vh - 36px);
		padding: 18px;
	}
}

.fns-results-page {
	width: 100%;
	max-width: none;
	padding-inline: 24px;
}

.fns-results-page .fns-menu-hero,
.fns-results-page .fns-kpi-grid,
.fns-results-page .fns-card {
	width: 100%;
	max-width: none;
}

.fns-results-card {
	border-radius: 28px;
	padding: 24px;
	overflow: hidden;
}

.fns-results-head {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 18px;
}

.fns-results-search input {
	width: min(420px, 100%);
	height: 46px;
	border: 1px solid #dfe8f2;
	border-radius: 999px;
	padding: 0 18px;
	outline: none;
	font-weight: 700;
	color: #052649;
	background: #f8fafc;
}

.fns-results-search input:focus {
	border-color: #078443;
	background: #fff;
	box-shadow: 0 0 0 4px rgba(7,132,67,.1);
}

.fns-results-tools {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 16px;
	margin: 18px 0;
}

.fns-results-tools label {
	display: inline-flex;
	align-items: center;
	gap: 9px;
	color: #526173;
	font-size: 13px;
	font-weight: 850;
}

.fns-results-tools select {
	height: 40px;
	border: 1px solid #dfe8f2;
	border-radius: 12px;
	padding: 0 12px;
	background: #fff;
	color: #052649;
	font-weight: 900;
}

#resultCountLabel {
	color: #64748b;
	font-size: 13px;
	font-weight: 800;
}

.fns-results-table {
	min-width: 1050px;
}

.fns-results-table thead th {
	background: #052649;
	color: #fff;
	padding: 15px 14px;
	font-size: 12px;
	text-transform: uppercase;
	letter-spacing: .04em;
}

.fns-results-table tbody td {
	padding: 15px 14px;
	border-bottom: 1px solid #edf2f7;
	color: #334155;
	font-size: 13px;
}

.fns-results-table tbody tr:hover {
	background: #f8fafc;
}

.fns-results-table td strong {
	display: block;
	color: #052649;
	font-size: 14px;
	font-weight: 950;
}

.fns-results-table td small {
	display: block;
	margin-top: 3px;
	color: #64748b;
	font-size: 11px;
	font-weight: 800;
}

.fns-results-pagination {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 16px;
	margin-top: 20px;
}

.fns-page-info {
	color: #052649;
	font-weight: 950;
	font-size: 14px;
	background: #f1f5f9;
	border: 1px solid #dfe8f2;
	border-radius: 999px;
	padding: 10px 16px;
}

.fns-page-buttons {
	display: flex;
	align-items: center;
	gap: 7px;
	flex-wrap: wrap;
	justify-content: flex-end;
}

.fns-page-buttons button,
.fns-page-ellipsis {
	min-width: 38px;
	height: 38px;
	border-radius: 11px;
	border: 1px solid #dfe8f2;
	background: #fff;
	color: #052649;
	font-size: 13px;
	font-weight: 900;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	padding: 0 12px;
}

.fns-page-buttons button {
	cursor: pointer;
	transition: .2s ease;
}

.fns-page-buttons button:hover:not(:disabled),
.fns-page-buttons button.active {
	background: #078443;
	border-color: #078443;
	color: #fff;
}

.fns-page-buttons button:disabled {
	opacity: .45;
	cursor: not-allowed;
}

.fns-page-ellipsis {
	border: 0;
	background: transparent;
	color: #94a3b8;
}

@media (max-width: 900px) {
	.fns-results-page {
		padding-inline: 12px;
	}

	.fns-results-head,
	.fns-results-tools,
	.fns-results-pagination {
		flex-direction: column;
		align-items: stretch;
	}

	.fns-results-search input {
		width: 100%;
	}

	.fns-page-buttons {
		justify-content: flex-start;
	}
}


.fns-palmares-page {
	width: 100%;
	max-width: none;
	padding-inline: 24px;
}

.fns-palmares-page .fns-menu-hero,
.fns-palmares-page .fns-kpi-grid,
.fns-palmares-page .fns-palmares-grid {
	width: 100%;
	max-width: none;
}

.fns-palmares-grid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
	gap: 18px;
}

.fns-pal-card {
	cursor: pointer;
	transition: .22s ease;
}

.fns-pal-card:hover {
	transform: translateY(-4px);
	box-shadow: 0 24px 65px rgba(5, 38, 73, .14);
}

.fns-palmares-modal {
	position: fixed;
	inset: 0;
	z-index: 99999;
	display: none;
}

.fns-palmares-modal.show {
	display: block;
}

.fns-palmares-backdrop {
	position: absolute;
	inset: 0;
	background: rgba(2, 15, 32, .65);
	backdrop-filter: blur(8px);
}

.fns-palmares-panel {
	position: relative;
	width: min(1120px, calc(100% - 34px));
	max-height: calc(100vh - 60px);
	margin: 30px auto;
	background: #fff;
	border-radius: 28px;
	box-shadow: 0 35px 110px rgba(0,0,0,.32);
	padding: 24px;
	overflow: hidden;
}

.fns-palmares-close {
	position: absolute;
	top: 18px;
	right: 18px;
	width: 42px;
	height: 42px;
	border: 0;
	border-radius: 999px;
	background: #f1f5f9;
	color: #0f172a;
	font-size: 26px;
	cursor: pointer;
}

.fns-palmares-modal-head {
	padding-right: 56px;
	margin-bottom: 16px;
}

.fns-palmares-modal-head span {
	display: inline-flex;
	padding: 8px 13px;
	border-radius: 999px;
	background: #052649;
	color: #fff;
	font-size: 12px;
	font-weight: 950;
}

.fns-palmares-modal-head h2 {
	margin: 12px 0 4px;
	color: #052649;
	font-size: 26px;
	font-weight: 950;
}

.fns-palmares-modal-head p {
	margin: 0;
	color: #64748b;
	font-size: 14px;
}

.fns-palmares-tabs {
	display: flex;
	gap: 8px;
	margin-bottom: 16px;
}

.fns-palmares-tabs button {
	border: 1px solid #dfe8f2;
	background: #fff;
	color: #052649;
	border-radius: 999px;
	padding: 10px 16px;
	font-weight: 900;
	cursor: pointer;
}

.fns-palmares-tabs button.active {
	background: #078443;
	border-color: #078443;
	color: #fff;
}

.fns-palmares-table-wrap {
	max-height: 58vh;
	overflow: auto;
	border: 1px solid #e6edf5;
	border-radius: 18px;
}

.fns-palmares-table {
	width: 100%;
	border-collapse: separate;
	border-spacing: 0;
	min-width: 900px;
}

.fns-palmares-table th {
	position: sticky;
	top: 0;
	z-index: 2;
	background: #052649;
	color: #fff;
	padding: 13px 12px;
	text-align: left;
	font-size: 12px;
	text-transform: uppercase;
}

.fns-palmares-table td {
	padding: 13px 12px;
	border-bottom: 1px solid #eef2f7;
	color: #334155;
	font-size: 13px;
}

.fns-palmares-table td strong {
	display: block;
	color: #052649;
	font-weight: 950;
}

.fns-palmares-table td small {
	display: block;
	margin-top: 3px;
	color: #64748b;
	font-size: 11px;
	font-weight: 800;
}

@media (max-width: 900px) {
	.fns-palmares-page {
		padding-inline: 12px;
	}

	.fns-palmares-grid {
		grid-template-columns: 1fr;
	}

	.fns-palmares-panel {
		margin: 18px auto;
		max-height: calc(100vh - 36px);
		padding: 18px;
	}
}


.fns-stats-page {
	width: 100%;
	max-width: none;
	padding-inline: 24px;
}

.fns-stats-page .fns-menu-hero,
.fns-stats-page .fns-kpi-grid,
.fns-stats-page .fns-card {
	width: 100%;
	max-width: none;
}

.fns-stats-grid {
	display: grid;
	grid-template-columns: minmax(0, 1.25fr) minmax(340px, .75fr);
	gap: 20px;
	margin-top: 20px;
}

.fns-stats-card,
.fns-stats-results {
	border-radius: 28px;
	padding: 24px;
	box-shadow: 0 22px 70px rgba(5, 38, 73, .08);
}

.fns-card-head {
	display: flex;
	align-items: flex-start;
	justify-content: space-between;
	gap: 16px;
	margin-bottom: 20px;
}

.fns-card-head h2 {
	margin: 0;
	color: #052649;
	font-size: 23px;
	font-weight: 950;
}

.fns-card-head p {
	margin: 5px 0 0;
	color: #64748b;
	font-size: 13px;
}

.fns-level-list,
.fns-top-list {
	display: grid;
	gap: 14px;
}

.fns-bar-row {
	display: grid;
	gap: 8px;
	padding: 14px;
	border: 1px solid #e7edf5;
	border-radius: 18px;
	background: #fbfdff;
}

.fns-bar-title {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 12px;
}

.fns-bar-title span {
	color: #052649;
	font-weight: 900;
}

.fns-bar-title strong {
	color: #078443;
	font-weight: 950;
}

.fns-bar-track {
	height: 12px;
	border-radius: 999px;
	background: #eaf0f7;
	overflow: hidden;
}

.fns-bar-track i {
	display: block;
	height: 100%;
	border-radius: inherit;
	background: linear-gradient(90deg, #078443, #16a34a);
}

.fns-bar-row em {
	color: #64748b;
	font-size: 12px;
	font-style: normal;
	font-weight: 850;
}

.fns-top-row {
	display: grid;
	grid-template-columns: 54px 1fr auto;
	align-items: center;
	gap: 14px;
	padding: 15px;
	border: 1px solid #e7edf5;
	border-radius: 18px;
	background: linear-gradient(180deg, #fff, #f8fafc);
}

.fns-top-row span {
	width: 40px;
	height: 40px;
	border-radius: 14px;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	background: #052649;
	color: #fff;
	font-weight: 950;
}

.fns-top-row strong {
	color: #052649;
	font-weight: 950;
}

.fns-top-row em {
	color: #078443;
	font-size: 13px;
	font-style: normal;
	font-weight: 950;
}

.fns-mini-link {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	height: 40px;
	padding: 0 15px;
	border-radius: 999px;
	background: #078443;
	color: #fff;
	text-decoration: none;
	font-size: 13px;
	font-weight: 900;
}

.fns-stats-table {
	min-width: 850px;
}

.fns-stats-table thead th {
	background: #052649;
	color: #fff;
	padding: 14px;
	font-size: 12px;
	text-transform: uppercase;
	letter-spacing: .04em;
}

.fns-stats-table tbody td {
	padding: 14px;
	border-bottom: 1px solid #edf2f7;
	color: #334155;
	font-size: 13px;
}

.fns-stats-table tbody tr:hover {
	background: #f8fafc;
}

.fns-stats-table td strong {
	color: #052649;
	font-weight: 950;
}

@media (max-width: 1000px) {
	.fns-stats-grid {
		grid-template-columns: 1fr;
	}

	.fns-stats-page {
		padding-inline: 12px;
	}

	.fns-card-head {
		flex-direction: column;
	}
}

/* FIX GLOBAL MODALES AU-DESSUS DU MENU */
.modal-backdrop,
.swal2-container.swal2-backdrop-show {
    z-index: 10540 !important;
}

.modal,
.modal.show {
    z-index: 10550 !important;
}

.modal-dialog {
    z-index: 10560 !important;
    position: relative;
}

/* Empêche la modale elle-même d'être floutée */
.modal,
.modal-dialog,
.modal-content {
    filter: none !important;
    backdrop-filter: none !important;
}

/* Si le menu a un z-index élevé */
.fns-navbar,
.navbar,
header,
.fns-header,
.fns-main-menu {
    z-index: 10400 !important;
}