/* Control Contre material layer by Joseph El-Kadi - FL1GHT5 Network. */
/* Align imported overlay utilities without modifying upstream assets. */
.backdrop-blur-xs {
  --tw-backdrop-blur: blur(var(--cc-frost, 15px));
}
:root {
  --ff-paper: var(--cc-canvas, #edf2f4);
  --ff-ink: var(--cc-ink, #172b33);
  --ff-muted: var(--cc-muted, #536870);
  --ff-accent: var(--cc-accent, #0066cc);
  --ff-accent-soft: var(--cc-accent-soft, #e4effa);
  --ff-glass: var(--cc-glass-fill, rgba(250, 253, 254, 0.77));
  --ff-line: var(--cc-border, rgba(85, 119, 132, 0.19));
  --ff-light: var(
    --cc-material-light,
    var(--cc-glass-edge, rgba(255, 255, 255, 0.94))
  );
  --ff-shadow: var(
    --cc-material-shade,
    color-mix(in srgb, var(--cc-shadow-ink, #263449) 18%, transparent)
  );
  --ff-frost: var(--cc-frost, 15px);
  --ff-depth: 12px;
  --ff-raised:
    calc(var(--ff-depth) * 0.667) calc(var(--ff-depth) * 0.667)
      calc(var(--ff-depth) * 2) var(--ff-shadow),
    calc(var(--ff-depth) * -0.5) calc(var(--ff-depth) * -0.5)
      calc(var(--ff-depth) * 1.667) var(--ff-light);
  --ff-inset:
    inset calc(var(--ff-depth) * 0.25) calc(var(--ff-depth) * 0.25)
      calc(var(--ff-depth) * 0.667) var(--ff-shadow),
    inset calc(var(--ff-depth) * -0.25) calc(var(--ff-depth) * -0.25)
      calc(var(--ff-depth) * 0.667) var(--ff-light);
  --ff-ease: cubic-bezier(0.2, 0.8, 0.2, 1);
  --color-brand-50: #f0f6fd;
  --color-brand-100: #e4effa;
  --color-brand-200: #c5dff8;
  --color-brand-300: #79b5ee;
  --color-brand-400: #398fdf;
  --color-brand-500: #0066cc;
  --color-brand-600: #0056ad;
  --color-brand-700: #00488f;
  --color-brand-800: #163d64;
  --color-brand-900: #142c48;
  --color-brand-950: #10243a;
  --font-outfit: var(--cc-font, system-ui, sans-serif);
}
/* Shared roles adapt both the imported light/dark mode and named colour options. */
html.dark,
:root:has(body.dark),
:root[data-cc-palette] {
  --ff-paper: var(--cc-canvas);
  --ff-ink: var(--cc-ink);
  --ff-muted: var(--cc-muted);
  --ff-glass: var(--cc-glass-fill);
  --ff-line: var(--cc-border);
  --ff-light: var(--cc-material-light, var(--cc-glass-edge));
  --ff-shadow: var(
    --cc-material-shade,
    color-mix(in srgb, var(--cc-shadow-ink) 25%, transparent)
  );
  --ff-accent: var(--cc-accent);
  --ff-accent-soft: var(--cc-accent-soft);
  --color-brand-50: var(--cc-accent-soft);
  --color-brand-100: var(--cc-accent-soft);
  --color-brand-200: color-mix(
    in srgb,
    var(--cc-accent-soft) 65%,
    var(--cc-accent)
  );
  --color-brand-300: var(--cc-accent-light);
  --color-brand-400: var(--cc-accent);
  --color-brand-500: var(--cc-accent);
  --color-brand-600: var(--cc-accent-strong);
  --color-brand-700: var(--cc-accent-strong);
}
:root[data-cc-palette] :is(.text-gray-700, .text-gray-800, .text-gray-900) {
  color: var(--cc-ink);
}
:root[data-cc-palette] :is(.text-gray-400, .text-gray-500, .text-gray-600) {
  color: var(--cc-muted);
}
:root[data-cc-palette] :is(button, a)[class*="bg-brand"] {
  color: var(--cc-on-accent);
}
:root[data-cc-palette] :is(.bg-white, .bg-gray-50, .bg-gray-100) {
  background-color: var(--cc-surface);
}
:root[data-cc-palette]
  :is(.border-gray-100, .border-gray-200, .border-gray-300) {
  border-color: var(--cc-border);
}
.ff-palette-picker {
  position: relative;
}
.ff-toolbar .ff-palette-picker button {
  white-space: normal;
}
body,
body.dark.bg-gray-900 {
  color: var(--ff-ink);
  background:
    radial-gradient(
      ellipse at 84% 3%,
      color-mix(in srgb, var(--ff-accent) 12%, transparent),
      transparent 48%
    ),
    linear-gradient(var(--ff-line) 1px, transparent 1px),
    linear-gradient(90deg, var(--ff-line) 1px, transparent 1px), var(--ff-paper);
  background-size:
    auto,
    64px 64px,
    64px 64px,
    auto;
  font-family: var(--font-outfit);
  -webkit-font-smoothing: antialiased;
}
body::before {
  content: "";
  position: fixed;
  inset: 0;
  background: var(--ff-paper);
  opacity: 0.7;
  pointer-events: none;
  z-index: -1;
}
::selection {
  color: var(--ff-ink);
  background: var(--ff-accent-soft);
}
.sidebar,
main > header,
body > header,
.ff-toolbar {
  background: var(--ff-glass) !important;
  border-color: var(--ff-line) !important;
  backdrop-filter: blur(var(--cc-frost, 15px)) saturate(1.3);
  -webkit-backdrop-filter: blur(var(--cc-frost, 15px)) saturate(1.3);
  box-shadow:
    0 4px 24px var(--ff-shadow),
    inset 0 1px var(--ff-light);
}
.sidebar {
  border-radius: 0 24px 24px 0;
}
main :is(.rounded-2xl, .rounded-xl).border,
.ff-surface {
  background-color: var(--ff-glass) !important;
  border-color: var(--ff-line) !important;
  box-shadow:
    var(--ff-raised),
    inset 0 1px 0 var(--ff-light);
  backdrop-filter: blur(var(--cc-frost, 15px)) saturate(1.15);
  -webkit-backdrop-filter: blur(var(--cc-frost, 15px)) saturate(1.15);
  transition:
    box-shadow 0.4s var(--ff-ease),
    border-color 0.4s var(--ff-ease),
    background-color 0.4s;
}
.ff-surface:hover {
  border-color: color-mix(
    in srgb,
    var(--ff-accent) 40%,
    transparent
  ) !important;
  box-shadow:
    calc(var(--ff-depth) * 0.833) var(--ff-depth) calc(var(--ff-depth) * 2.5)
      var(--ff-shadow),
    calc(var(--ff-depth) * -0.5) calc(var(--ff-depth) * -0.5)
      calc(var(--ff-depth) * 1.667) var(--ff-light),
    inset 0 1px var(--ff-light);
}
.ff-surface.ff-revealed {
  animation: ff-rise 0.7s var(--ff-ease) both;
  animation-delay: var(--ff-delay, 0ms);
}
.ff-surface > :is(h2, h3),
h1 {
  letter-spacing: -0.035em;
}
:is(
  input:not([type="checkbox"]):not([type="radio"]):not([type="range"]),
  textarea,
  select
) {
  color: var(--ff-ink);
  background-color: color-mix(
    in srgb,
    var(--ff-paper) 80%,
    transparent
  ) !important;
  border-color: var(--ff-line) !important;
  box-shadow: var(--ff-inset);
  transition:
    box-shadow 0.3s,
    border-color 0.3s;
}
:is(input, textarea, select):focus {
  border-color: var(--ff-accent) !important;
  box-shadow:
    var(--ff-inset),
    0 0 0 3px color-mix(in srgb, var(--ff-accent) 15%, transparent);
}
:is(button, a, input, select, textarea):focus-visible {
  outline: 3px solid var(--ff-accent);
  outline-offset: 3px;
}
button:not([disabled]),
a[class*="rounded"] {
  transition:
    box-shadow 0.3s var(--ff-ease),
    background-color 0.3s;
}
button:not([disabled]):active,
a[class*="rounded"]:active {
  box-shadow: var(--cc-control-inset, var(--ff-inset));
}
button[class*="bg-white"],
a[class*="bg-white"] {
  background: var(--ff-glass) !important;
  border-color: var(--ff-line) !important;
  box-shadow: var(--ff-raised);
}
button[class*="bg-brand"],
a[class*="bg-brand"] {
  box-shadow: var(--cc-control-raised, var(--ff-raised));
}
.menu-item-active,
.menu-dropdown-item-active {
  color: var(--ff-accent);
  background: var(--ff-accent-soft);
  box-shadow: var(--cc-control-inset, var(--ff-inset));
}
.menu-item:hover,
.menu-dropdown-item:hover {
  background: color-mix(in srgb, var(--ff-accent-soft) 70%, transparent);
}
thead {
  background: color-mix(in srgb, var(--ff-paper) 75%, transparent);
}
tbody tr {
  transition: background-color 0.25s;
}
tbody tr:hover {
  background: color-mix(in srgb, var(--ff-accent-soft) 50%, transparent);
}
.apexcharts-tooltip,
.apexcharts-menu,
.flatpickr-calendar {
  background: var(--ff-glass) !important;
  color: var(--ff-ink) !important;
  border: 1px solid var(--ff-line) !important;
  box-shadow: var(--ff-raised) !important;
  backdrop-filter: blur(var(--cc-frost, 15px));
  -webkit-backdrop-filter: blur(var(--cc-frost, 15px));
}
.apexcharts-tooltip-title {
  background: var(--ff-accent-soft) !important;
  border-color: var(--ff-line) !important;
}
.ff-toolbar {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
  padding: 12px 18px;
  margin: 16px 24px 0;
  border: 1px solid var(--ff-line);
  border-radius: 18px;
  color: var(--ff-ink);
  font-size: 12px;
}
.ff-toolbar > a {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-right: auto;
  font-weight: 700;
  letter-spacing: -0.02em;
}
.ff-toolbar .ff-brand-mark {
  display: grid;
  place-items: center;
  width: 30px;
  height: 30px;
  border-radius: 9px;
  color: var(--ff-accent);
  background: var(--ff-paper);
  box-shadow: var(--ff-raised);
  font-size: 20px;
}
.ff-toolbar button {
  cursor: pointer;
  padding: 8px 12px;
  border-radius: 10px;
  border: 1px solid var(--ff-line);
  background: var(--ff-paper);
  box-shadow: var(--ff-raised);
  color: var(--ff-ink);
  white-space: nowrap;
}
.ff-toolbar button:hover {
  box-shadow: var(--cc-control-raised, var(--ff-raised));
}
.ff-toolbar button[aria-pressed="true"] {
  box-shadow: var(--cc-control-inset, var(--ff-inset));
}
.ff-toolbar > small {
  color: var(--ff-muted);
  font-size: 11px;
}
.ff-fullwidth-toolbar {
  position: relative;
  z-index: 10;
  margin-bottom: 16px;
}
.ff-status {
  position: fixed;
  bottom: 24px;
  left: 50%;
  transform: translate(-50%, 12px);
  z-index: 999999;
  padding: 12px 18px;
  border: 1px solid var(--ff-line);
  border-radius: 14px;
  background: var(--ff-glass);
  color: var(--ff-ink);
  box-shadow: var(--ff-raised);
  backdrop-filter: blur(var(--cc-frost, 15px));
  -webkit-backdrop-filter: blur(var(--cc-frost, 15px));
  font-size: 13px;
  opacity: 0;
  pointer-events: none;
  transition:
    opacity 0.25s,
    transform 0.25s;
  max-width: calc(100vw - 32px);
}
.ff-status[data-visible="true"] {
  opacity: 1;
  transform: translate(-50%, 0);
}
.ff-clickable {
  position: relative;
  overflow: hidden;
  isolation: isolate;
}
.ff-ripple {
  position: absolute;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: currentColor;
  opacity: 0.16;
  pointer-events: none;
  transform: translate(-50%, -50%) scale(0);
  animation: ff-ripple 0.65s var(--ff-ease);
}
@keyframes ff-rise {
  from {
    opacity: 0.25;
    translate: 0 18px;
  }
  to {
    opacity: 1;
    translate: 0 0;
  }
}
@keyframes ff-ripple {
  to {
    transform: translate(-50%, -50%) scale(18);
    opacity: 0;
  }
}
:root[data-ff-motion="off"] *,
:root[data-ff-motion="off"] *::before,
:root[data-ff-motion="off"] *::after {
  animation: none !important;
  transition: none !important;
  scroll-behavior: auto !important;
}
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
    scroll-behavior: auto !important;
  }
}
@media (max-width: 640px) {
  .ff-toolbar {
    margin: 12px 16px 0;
    padding: 10px;
    gap: 6px;
  }
  .ff-toolbar > a {
    flex: 1 1 100%;
    margin-bottom: 3px;
  }
  .ff-toolbar > small {
    display: none;
  }
  .ff-toolbar button {
    padding: 8px 10px;
  }
}

/* Coordinated motion for menus, form fields, tables, data and identity surfaces. */
.ff-toolbar {
  font-size: 14px;
}
.ff-toolbar .ff-brand-mark {
  font-size: 12px;
  letter-spacing: -0.08em;
  font-weight: 800;
}
.ff-toolbar > .ff-report-link {
  font-size: 13px;
  font-weight: 600;
  margin-right: 8px;
  padding: 7px 10px;
  border-radius: 10px;
  background: var(--ff-accent-soft);
  color: var(--ff-accent);
  box-shadow: var(--ff-inset);
}
.cc-credit {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  flex-wrap: wrap;
  padding: 20px 26px;
  margin-top: auto;
  border-top: 1px solid var(--ff-line);
  color: var(--ff-muted);
  font-size: 12px;
  background: color-mix(in srgb, var(--ff-glass) 70%, transparent);
}
.cc-credit strong {
  color: var(--ff-ink);
  font-size: 14px;
  letter-spacing: -0.03em;
}
.cc-credit a {
  color: var(--ff-accent);
}
.cc-optional-social {
  color: var(--ff-muted);
  font-size: 12px;
}
.sidebar .logo img {
  width: 185px;
  height: 42px;
  max-width: none;
}
.sidebar .logo-icon {
  transition:
    rotate 0.65s var(--ff-ease),
    filter 0.65s;
}
.sidebar a:hover > .logo-icon {
  rotate: 12deg;
  filter: drop-shadow(0 3px 4px var(--ff-shadow));
}
.sidebar .menu-item,
.sidebar .menu-dropdown-item {
  transition:
    background-color 0.3s,
    color 0.3s,
    box-shadow 0.35s;
}
.sidebar :is(.menu-item, .menu-dropdown-item):hover {
  box-shadow: var(--cc-control-raised, var(--ff-raised));
}
[role="menuitem"] {
  transition:
    box-shadow 0.3s var(--ff-ease),
    background-color 0.3s,
    color 0.3s;
}
[role="menuitem"]:hover {
  box-shadow: var(--cc-control-raised, var(--ff-raised));
}
tbody tr {
  transition:
    background-color 0.3s,
    box-shadow 0.3s;
  animation: cc-row-in 0.55s var(--ff-ease) both;
}
tbody tr:nth-child(2n) {
  animation-delay: 40ms;
}
tbody tr:nth-child(3n) {
  animation-delay: 80ms;
}
tbody tr:hover {
  box-shadow: inset 3px 0 var(--ff-accent);
}
thead th {
  transition:
    color 0.25s,
    background-color 0.25s;
}
thead th:hover {
  color: var(--ff-accent);
  background: color-mix(in srgb, var(--ff-accent-soft) 55%, transparent);
}
input:not([type="checkbox"]):not([type="radio"]):focus,
textarea:focus,
select:focus {
  translate: 0 -1px;
}
input[type="checkbox"],
input[type="radio"] {
  transition:
    scale 0.2s var(--ff-ease),
    box-shadow 0.2s;
}
input[type="checkbox"]:checked,
input[type="radio"]:checked {
  animation: cc-check-in 0.3s var(--ff-ease);
}
.apexcharts-bar-area,
.apexcharts-marker,
.apexcharts-pie-area {
  transition:
    filter 0.3s,
    opacity 0.3s;
}
.apexcharts-bar-area:hover,
.apexcharts-pie-area:hover {
  filter: brightness(1.12);
}
img[src*="joseph-initials"] {
  transition:
    transform 0.7s var(--ff-ease),
    filter 0.4s;
}
img[src*="joseph-initials"]:hover {
  transform: rotate(-4deg) scale(1.03);
  filter: drop-shadow(0 5px 6px var(--ff-shadow));
}
@keyframes cc-row-in {
  from {
    opacity: 0.55;
    translate: 0 5px;
  }
  to {
    opacity: 1;
    translate: 0 0;
  }
}
@keyframes cc-check-in {
  50% {
    scale: 1.14;
  }
}
@media (max-width: 640px) {
  .ff-toolbar > .ff-report-link {
    flex: 0 1 auto;
    font-size: 12px;
    padding: 7px 9px;
    margin: 0;
  }
  .cc-credit {
    padding: 18px 20px;
    gap: 8px;
  }
  .cc-credit span {
    flex-basis: 100%;
    order: 3;
  }
}
