    .app-route {
      display: none;
      min-height: 100vh;
      min-height: 100dvh;
    }

    .app-route.is-active {
      display: block;
    }

    /* Login page fills the full visible viewport on desktop too. Parent .app-route only sets
   min-height (not height), so an h-full (height:100%) child would collapse to content height.
   Use unit-based min-height instead: main = max(content, viewport). */
    #main-app {
      min-height: 100vh;
      min-height: 100dvh;
    }

    /* Fixed-height app shell (employee mobile view): height = visible viewport so the inner
   #mainScrollContainer is the scroll container (document never scrolls → no blank at bottom).
   dvh fallback: 100vh → 100dvh when supported (mobile browser chrome). */
    .app-shell {
      height: 100vh;
    }

    @supports (height: 100dvh) {
      .app-shell {
        height: 100dvh;
      }
    }

    html,
    body {
      min-height: 100%;
      overflow-x: hidden;
      max-width: 100%;
    }

    html,
    body {
      -webkit-text-size-adjust: 100%;
    }

    html,
    body {
      touch-action: manipulation;
    }

    /* Lock horizontal width: vertical scroll containers must NOT pan left/right.
   (Intentional horizontal scrollers like HR tables use overflow-x-auto and stay untouched.) */
    .overflow-y-auto {
      overflow-x: hidden !important;
    }

    /* Lock background scroll while a modal/popup is open (html.modal-open is toggled by JS).
   Only the page containers are locked; modal content scroll (overflow-y-auto inside the modal) stays usable. */
    html.modal-open,
    html.modal-open body {
      overflow: hidden !important;
      max-width: 100%;
    }

    html.modal-open #main-app,
    html.modal-open #mainScrollContainer,
    html.modal-open #hrMainContainer {
      overflow: hidden !important;
    }

/* ==== next <style> block ==== */
    body {
      font-family: 'Plus Jakarta Sans', sans-serif;
    }

    .font-mono-tech {
      font-family: 'JetBrains Mono', monospace;
    }

    .od-icon {
      display: inline-block;
      width: 1em;
      height: 1em;
      vertical-align: -0.125em;
      stroke: currentColor;
      fill: none;
      stroke-width: 2;
      stroke-linecap: round;
      stroke-linejoin: round;
      flex-shrink: 0;
    }

    @keyframes radarPulse {
      0% {
        transform: scale(0.95);
        opacity: 0.8;
      }

      50% {
        transform: scale(1.1);
        opacity: 0.3;
      }

      100% {
        transform: scale(0.95);
        opacity: 0.8;
      }
    }

    .radar-pulse {
      animation: radarPulse 3s infinite ease-in-out;
    }

    .scrollbar-hide::-webkit-scrollbar {
      display: none;
    }

    .scrollbar-hide {
      -ms-overflow-style: none;
      scrollbar-width: none;
    }

/* ==== next <style> block ==== */
    body {
      font-family: 'Plus Jakarta Sans', sans-serif;
    }

    .font-mono-tech {
      font-family: 'JetBrains Mono', monospace;
    }

    .od-icon {
      display: inline-block;
      width: 1em;
      height: 1em;
      vertical-align: -0.125em;
      stroke: currentColor;
      fill: none;
      stroke-width: 2;
      stroke-linecap: round;
      stroke-linejoin: round;
      flex-shrink: 0;
    }

    @keyframes radarPulse {
      0% {
        transform: scale(0.95);
        opacity: 0.8;
      }

      50% {
        transform: scale(1.1);
        opacity: 0.3;
      }

      100% {
        transform: scale(0.95);
        opacity: 0.8;
      }
    }

    .radar-pulse {
      animation: radarPulse 3s infinite ease-in-out;
    }

    .bg-grid-pattern {
      background-size: 30px 30px;
      background-image: linear-gradient(to right, rgba(255, 255, 255, 0.05) 1px, transparent 1px),
        linear-gradient(to bottom, rgba(255, 255, 255, 0.05) 1px, transparent 1px);
    }

/* ==== next <style> block ==== */
    .od-icon {
      display: inline-block;
      width: 1em;
      height: 1em;
      vertical-align: -0.125em;
      stroke: currentColor;
      fill: none;
      stroke-width: 2;
      stroke-linecap: round;
      stroke-linejoin: round;
      flex-shrink: 0
    }

    body {
      font-family: 'Plus Jakarta Sans', sans-serif;
    }

    .font-mono-clock {
      font-family: 'JetBrains Mono', monospace;
    }

    .scrollbar-hide::-webkit-scrollbar {
      display: none;
    }

    .scrollbar-hide {
      -ms-overflow-style: none;
      scrollbar-width: none;
    }

    @keyframes radarPulse {
      0% {
        transform: scale(0.95);
        opacity: 0.8;
      }

      50% {
        transform: scale(1.1);
        opacity: 0.3;
      }

      100% {
        transform: scale(0.95);
        opacity: 0.8;
      }
    }

    .radar-pulse {
      animation: radarPulse 2.5s infinite ease-in-out;
    }

/* ==== next <style> block ==== */
    .od-icon {
      display: inline-block;
      width: 1em;
      height: 1em;
      vertical-align: -0.125em;
      stroke: currentColor;
      fill: none;
      stroke-width: 2;
      stroke-linecap: round;
      stroke-linejoin: round;
      flex-shrink: 0
    }

    body {
      font-family: 'Plus Jakarta Sans', sans-serif;
      pointer-events: auto !important;
      user-select: auto !important;
    }

    .font-mono-clock {
      font-family: 'JetBrains Mono', monospace;
    }

    .scrollbar-hide::-webkit-scrollbar {
      display: none;
    }

    .scrollbar-hide {
      -ms-overflow-style: none;
      scrollbar-width: none;
    }

    .sidebar-btn {
      transition: width 0.3s ease, background-color 0.2s ease, color 0.2s ease;
    }

    .sidebar-label {
      transition: opacity 0.2s ease, max-width 0.3s ease, margin 0.3s ease, transform 0.3s ease;
    }

    /* Custom Toggle Switch */
    .toggle-checkbox:checked {
      right: 0;
      border-color: #111315;
    }

    .toggle-checkbox:checked+.toggle-label {
      background-color: #111315;
    }

    .toggle-checkbox:checked+.toggle-label:after {
      transform: translateX(100%);
      border-color: white;
    }

    /* Ensure all elements are interactive */
    button,
    input,
    select,
    textarea,
    a,
    label {
      pointer-events: auto !important;
      cursor: pointer;
    }

    input[type="text"],
    input[type="email"],
    input[type="date"],
    input[type="month"],
    input[type="time"],
    textarea {
      cursor: text;
    }

/* ==== next <style> block ==== */
    /* Restore the page-level backgrounds lost when the original body tags were merged. */
    body {
      transition: background-color 220ms ease;
    }

    @keyframes routeEnter {
      from {
        opacity: 0;
      }

      to {
        opacity: 1;
      }
    }

    .app-route.is-active {
      animation: routeEnter 420ms cubic-bezier(0.22, 1, 0.36, 1) both;
    }

    @media (prefers-reduced-motion: reduce) {

      body,
      .app-route.is-active {
        transition: none;
        animation: none;
      }
    }

    body[data-route="login"],
    body[data-route="portal"] {
      background-color: #111315 !important;
    }

    body[data-route="portal"] {
      background-size: 30px 30px;
      background-image:
        linear-gradient(to right, rgba(255, 255, 255, 0.05) 1px, transparent 1px),
        linear-gradient(to bottom, rgba(255, 255, 255, 0.05) 1px, transparent 1px);
    }

    body[data-route="employee"],
    body[data-route="hr"] {
      background-color: #F4F5F7 !important;
    }
