/* GENERADO por scripts/split-landing-css.mjs — NO editar a mano.
   Subconjunto crítico de styles.css para el primer pintado de la landing.
   styles.css completo se carga asíncrono después y manda en la cascada.
   Regenerar con: node scripts/split-landing-css.mjs */

:root {
  /* Transportes Antares — paleta corporativa */
  --brand-blue-deep: #377cc0;
  --brand-blue-mid: #83bee9;
  --brand-blue-soft: #cce5f8;
  --primary-rgb: 55, 124, 192;
  --primary-mid-rgb: 131, 190, 233;
  --brand-blue-soft-rgb: 204, 229, 248;

  --primary: var(--brand-blue-deep);
  --primary-dark: #2a6399;
  --primary-deeper: #1e4a73;
  --primary-mid: var(--brand-blue-mid);
  --primary-light: var(--brand-blue-soft);
  --primary-glow: rgba(var(--primary-rgb), 0.2);
  --accent: var(--brand-blue-mid);
  --white: #ffffff;
  --text: #0b2138;
  --text-soft: #3a5a78;
  --line: #b8d4eb;
  --success: #1b8e5f;
  --warning: #f59f00;
  --danger: #d62828;
  --gradient-hero: linear-gradient(135deg, #1e4a73 0%, #2d6aa8 38%, #377cc0 72%, #83bee9 100%);
  --gradient-section: linear-gradient(180deg, var(--brand-blue-soft) 0%, #ffffff 100%);
  --gradient-dark-section: linear-gradient(180deg, #0b2138 0%, #142a42 100%);
  --shadow-card: 0 8px 32px rgba(var(--primary-rgb), 0.12);
  --shadow-card-hover: 0 20px 48px rgba(var(--primary-rgb), 0.18);
  --shadow-btn: 0 6px 20px rgba(var(--primary-rgb), 0.28);
  --radius: 16px;
  --radius-sm: 10px;
  --module-accent-start: var(--brand-blue-deep);
  --module-accent-end: var(--brand-blue-mid);
  --module-soft-bg: linear-gradient(180deg, #f5fbff 0%, var(--brand-blue-soft) 100%);
  --module-border-strong: #9ec8e8;
  --public-nav-bg: rgba(255, 255, 255, 0.9);
  --public-nav-border: rgba(var(--primary-rgb), 0.14);
  --public-nav-brand: #1a4a73;
  --public-nav-link: rgba(26, 74, 115, 0.74);
  --public-nav-link-hover-bg: rgba(var(--primary-rgb), 0.09);
  --public-nav-mobile-panel-bg: rgba(251, 253, 255, 0.98);
  --public-nav-mobile-shadow: 0 20px 50px rgba(26, 74, 115, 0.12), 0 1px 0 rgba(255, 255, 255, 0.8) inset;
  --public-nav-scroll-thumb: rgba(var(--primary-rgb), 0.32);
  --public-hamburger-bg: rgba(var(--primary-rgb), 0.1);
  --public-hamburger-border: rgba(var(--primary-rgb), 0.18);
  --public-hamburger-icon: var(--primary);
  --public-hamburger-shadow: 0 2px 10px rgba(var(--primary-rgb), 0.12);
  --public-nav-link-active-bg: rgba(var(--primary-rgb), 0.11);
  --public-nav-active-text: #265985;
  --public-toggle-bg: rgba(var(--primary-rgb), 0.08);
  --public-toggle-border: rgba(var(--primary-rgb), 0.15);
  --public-toggle-fg: #234e73;
  --public-toggle-active-bg: rgba(var(--primary-rgb), 0.16);

  /* Tipografía corporativa: Principal Montserrat · Secundaria Poppins · Terciaria Roboto/Lato */
  --font-body: "Montserrat", system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-display: "Poppins", system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-secondary: "Poppins", system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-tertiary: "Roboto", "Lato", system-ui, -apple-system, "Segoe UI", sans-serif;
}

body[data-theme="light"] {
  --public-nav-bg: rgba(255, 255, 255, 0.92);
  --public-nav-link: rgba(26, 74, 115, 0.72);
}

body[data-theme="dark"] {
  --text: #e8f4fc;
  --text-soft: #9ec7e8;
  --line: #355a78;
  --white: #0f1c2e;
  --primary-light: #1e3550;
  --shadow-card: 0 8px 30px rgba(2, 7, 16, 0.45);
  --shadow-card-hover: 0 16px 40px rgba(2, 7, 16, 0.58);
  --module-accent-start: var(--brand-blue-mid);
  --module-accent-end: var(--brand-blue-deep);
  --module-soft-bg: linear-gradient(180deg, #1a2f47 0%, #152a40 100%);
  --module-border-strong: #4a7394;
  --public-nav-bg: rgba(14, 26, 44, 0.94);
  --public-nav-border: rgba(255, 255, 255, 0.1);
  --public-nav-brand: #f0f8ff;
  --public-nav-link: rgba(228, 238, 252, 0.9);
  --public-nav-link-hover-bg: rgba(255, 255, 255, 0.09);
  --public-nav-mobile-panel-bg: rgba(17, 30, 48, 0.98);
  --public-nav-mobile-shadow: 0 24px 56px rgba(0, 0, 0, 0.42);
  --public-nav-scroll-thumb: rgba(var(--primary-mid-rgb), 0.42);
  --public-hamburger-bg: rgba(var(--primary-rgb), 0.22);
  --public-hamburger-border: rgba(255, 255, 255, 0.16);
  --public-hamburger-icon: #cce5f8;
  --public-hamburger-shadow: 0 4px 18px rgba(0, 0, 0, 0.28);
  --public-nav-link-active-bg: rgba(var(--primary-mid-rgb), 0.22);
  --public-nav-active-text: #ffffff;
  --public-toggle-bg: rgba(22, 45, 74, 0.85);
  --public-toggle-border: rgba(255, 255, 255, 0.12);
  --public-toggle-fg: rgba(255, 255, 255, 0.92);
  --public-toggle-active-bg: rgba(255, 255, 255, 0.16);
}

* { box-sizing: border-box; }

html, body {
  margin: 0;
  padding: 0;
  font-family: var(--font-body);
  color: var(--text);
  background: #eef6fc;
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: var(--font-display);
  font-weight: 600;
}

button,
.btn {
  font-family: var(--font-secondary);
  font-weight: 700;
}

input,
select,
textarea,
table,
.muted {
  font-family: var(--font-tertiary);
}

body[data-theme="dark"] {
  background: #071824;
  color: var(--text);
}

a, button { transition: all 0.25s cubic-bezier(.4,0,.2,1); }

img { max-width: 100%; }

.container {
  width: min(1180px, 92%);
  margin: 0 auto;
}

.top-nav .container {
  width: min(1360px, 96%);
}

.top-nav {
  position: sticky;
  top: 0;
  z-index: 50;
  background: var(--public-nav-bg);
  border-bottom: 1px solid var(--public-nav-border);
  backdrop-filter: blur(18px) saturate(1.45);
  -webkit-backdrop-filter: blur(18px) saturate(1.45);
}

.nav-wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: clamp(0.65rem, 2vw, 1.15rem);
  padding: 0.72rem 0;
  flex-wrap: nowrap;
  position: relative;
}

body[data-theme="dark"] .brand {
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.35);
}

body[data-theme="dark"] .brand-logo {
  filter:
    saturate(1.26)
    contrast(1.1)
    drop-shadow(0 2px 14px rgba(0, 0, 0, 0.55))
    drop-shadow(0 0 22px rgba(var(--primary-mid-rgb), 0.42));
}

.brand-text-fallback,
.visually-hidden {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  padding: 0 !important;
  margin: -1px !important;
  overflow: hidden !important;
  clip: rect(0, 0, 0, 0) !important;
  white-space: nowrap !important;
  border: 0 !important;
}

nav {
  display: flex;
  gap: 0.18rem;
  flex-wrap: nowrap;
  align-items: center;
  overflow-x: auto;
  scrollbar-width: none;
  flex: 1 1 auto;
  min-width: 0;
  -webkit-overflow-scrolling: touch;
  scroll-snap-type: inline proximity;
}

nav a {
  color: var(--public-nav-link);
  text-decoration: none;
  font-size: clamp(0.8125rem, 0.95vw, 0.9025rem);
  font-weight: 600;
  letter-spacing: 0.02em;
  line-height: 1.25;
  position: relative;
  padding: 0.42rem 0.68rem;
  border-radius: 999px;
  white-space: nowrap;
  scroll-snap-align: start;
  flex-shrink: 0;
}

nav a.active {
  color: var(--public-nav-active-text);
  background: var(--public-nav-link-active-bg);
}

nav a::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: 5px;
  width: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--primary-mid), var(--accent));
  border-radius: 2px;
  transform: translateX(-50%);
  transition: width 0.28s cubic-bezier(0.22, 1, 0.36, 1);
}

nav a.active::after { width: 58%; }

.hamburger {
  display: none;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  flex-shrink: 0;
  background: var(--public-hamburger-bg);
  border: 1px solid var(--public-hamburger-border);
  color: var(--public-hamburger-icon);
  cursor: pointer;
  padding: 0;
  border-radius: 10px;
  box-shadow: var(--public-hamburger-shadow);
}

.hamburger:hover {
  filter: brightness(1.05);
  transform: scale(1.02);
}

.hamburger svg {
  width: 22px;
  height: 22px;
}

.hamburger svg line {
  transition: transform 0.32s cubic-bezier(0.22, 1, 0.36, 1), opacity 0.22s ease;
  transform-origin: center;
  transform-box: fill-box;
}

.hamburger[aria-expanded="true"] svg line:nth-child(1) {
  transform: translateY(6px) rotate(45deg);
}

.hamburger[aria-expanded="true"] svg line:nth-child(2) {
  opacity: 0;
  transform: scaleX(0);
}

.hamburger[aria-expanded="true"] svg line:nth-child(3) {
  transform: translateY(-6px) rotate(-45deg);
}

@media (max-width: 920px) {
body:not(.portal-mode) #main-nav:not(.nav-open) {
    display: none !important;
  }
body:not(.portal-mode).public-nav-open {
    overflow: hidden;
    overscroll-behavior: none;
  }
body:not(.portal-mode) .top-nav .hamburger {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    position: relative;
    z-index: 70;
  }
body:not(.portal-mode) #main-nav.nav-open {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  position: absolute;
  top: calc(100% + 0.35rem);
  left: 0;
  right: 0;
  max-height: min(72vh, calc(100vh - 5rem));
  overflow-y: auto;
  overflow-x: hidden;
  overscroll-behavior-y: contain;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: thin;
  scrollbar-color: var(--public-nav-scroll-thumb) transparent;
  gap: 0.38rem;
  padding: 0.75rem 0.8rem 1.05rem;
  margin: 0;
  background:
    linear-gradient(165deg, rgba(var(--primary-mid-rgb), 0.06) 0%, transparent 42%),
    var(--public-nav-mobile-panel-bg);
  border: 1px solid var(--public-nav-border);
  border-radius: 0 0 20px 20px;
  box-shadow:
    var(--public-nav-mobile-shadow),
    inset 0 1px 0 rgba(255, 255, 255, 0.55);
  z-index: 60;
  flex: none;
  min-width: 0;
  animation: publicNavDrawerIn 0.38s cubic-bezier(0.22, 1, 0.36, 1) both;
}
body:not(.portal-mode)[data-theme="dark"] #main-nav.nav-open {
  background:
    linear-gradient(165deg, rgba(66, 165, 245, 0.12) 0%, transparent 45%),
    var(--public-nav-mobile-panel-bg);
  box-shadow:
    var(--public-nav-mobile-shadow),
    inset 0 1px 0 rgba(255, 255, 255, 0.06);
}
body:not(.portal-mode) #main-nav.nav-open::-webkit-scrollbar {
  width: 6px;
}
body:not(.portal-mode) #main-nav.nav-open::-webkit-scrollbar-track {
  background: transparent;
}
body:not(.portal-mode) #main-nav.nav-open::-webkit-scrollbar-thumb {
  background: var(--public-nav-scroll-thumb);
  border-radius: 999px;
}
body:not(.portal-mode) #main-nav.nav-open a {
  flex: 0 0 auto;
  position: relative;
  overflow: hidden;
  isolation: isolate;
  padding: 0.85rem 1.05rem 0.85rem 1.15rem;
  font-size: 0.97rem;
  font-weight: 700;
  letter-spacing: 0.03em;
  border-radius: 14px;
  border: 1px solid transparent;
  background: transparent;
  color: var(--public-nav-link);
  text-decoration: none;
  transition:
    transform 0.28s cubic-bezier(0.22, 1, 0.36, 1),
    box-shadow 0.28s ease,
    border-color 0.28s ease,
    background 0.28s ease,
    color 0.22s ease;
  text-shadow: 0 1px 0 rgba(255, 255, 255, 0.65);
}
body:not(.portal-mode)[data-theme="dark"] #main-nav.nav-open a {
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.45);
}
body:not(.portal-mode) #main-nav.nav-open a::after {
  display: none;
}
body:not(.portal-mode) #main-nav.nav-open a::before {
  content: "";
  position: absolute;
  left: 0;
  top: 50%;
  width: 4px;
  height: 0;
  border-radius: 0 6px 6px 0;
  background: linear-gradient(180deg, var(--accent) 0%, var(--primary) 100%);
  transform: translateY(-50%);
  opacity: 0;
  transition: height 0.3s cubic-bezier(0.22, 1, 0.36, 1), opacity 0.25s ease;
  z-index: 0;
  pointer-events: none;
  box-shadow: 0 0 12px rgba(var(--primary-mid-rgb), 0.45);
}
body:not(.portal-mode) #main-nav.nav-open a:hover {
  transform: translateX(5px);
  color: var(--public-nav-brand);
  background: linear-gradient(
    105deg,
    rgba(var(--primary-rgb), 0.14) 0%,
    rgba(var(--primary-mid-rgb), 0.06) 52%,
    transparent 100%
  );
  border-color: rgba(var(--primary-rgb), 0.22);
  box-shadow:
    0 6px 18px rgba(var(--primary-rgb), 0.14),
    inset 0 1px 0 rgba(255, 255, 255, 0.55);
  font-weight: 800;
}
body:not(.portal-mode)[data-theme="dark"] #main-nav.nav-open a:hover {
  background: linear-gradient(
    105deg,
    rgba(66, 165, 245, 0.22) 0%,
    rgba(25, 55, 95, 0.35) 55%,
    transparent 100%
  );
  border-color: rgba(129, 187, 255, 0.28);
  box-shadow:
    0 8px 22px rgba(0, 0, 0, 0.35),
    inset 0 1px 0 rgba(255, 255, 255, 0.08);
}
body:not(.portal-mode) #main-nav.nav-open a:hover::before {
  height: 62%;
  opacity: 1;
}
body:not(.portal-mode) #main-nav.nav-open a.active {
  font-weight: 800;
  color: var(--public-nav-active-text);
  background: linear-gradient(
    115deg,
    rgba(var(--primary-rgb), 0.22) 0%,
    rgba(var(--primary-mid-rgb), 0.12) 48%,
    rgba(227, 242, 253, 0.65) 100%
  );
  border-color: rgba(var(--primary-rgb), 0.35);
  box-shadow:
    0 8px 22px rgba(var(--primary-rgb), 0.18),
    inset 0 1px 0 rgba(255, 255, 255, 0.85),
    inset 0 -1px 0 rgba(var(--primary-rgb), 0.08);
}
body:not(.portal-mode)[data-theme="dark"] #main-nav.nav-open a.active {
  background: linear-gradient(
    115deg,
    rgba(var(--primary-mid-rgb), 0.35) 0%,
    rgba(var(--primary-rgb), 0.18) 50%,
    rgba(14, 35, 62, 0.65) 100%
  );
  border-color: rgba(129, 187, 255, 0.38);
  box-shadow:
    0 10px 28px rgba(0, 0, 0, 0.45),
    inset 0 1px 0 rgba(255, 255, 255, 0.12);
}
body:not(.portal-mode) #main-nav.nav-open a.active::before {
  height: 70%;
  opacity: 1;
}
body:not(.portal-mode) #main-nav.nav-open a:focus-visible {
  outline: none;
  box-shadow:
    0 0 0 3px rgba(var(--primary-mid-rgb), 0.45),
    0 6px 18px rgba(var(--primary-rgb), 0.12);
}
body:not(.portal-mode)[data-theme="dark"] #main-nav.nav-open a:focus-visible {
  box-shadow:
    0 0 0 3px rgba(var(--primary-mid-rgb), 0.55),
    0 8px 22px rgba(0, 0, 0, 0.35);
}
@supports (height: 100dvh) {
body:not(.portal-mode) #main-nav.nav-open {
      max-height: min(72dvh, calc(100dvh - 5rem));
    }
}
}

@media (min-width: 921px) {
body:not(.portal-mode).public-nav-open {
    overflow: visible;
    overscroll-behavior: auto;
  }
}

.nav-controls {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  margin-left: auto;
  flex-wrap: nowrap;
  justify-content: flex-end;
  flex-shrink: 0;
}

#open-auth {
  white-space: nowrap;
  flex-shrink: 0;
  padding: 0.58rem 0.95rem;
  font-size: 0.86rem;
}

.theme-toggle,
.lang-toggle {
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
  padding: 0.2rem;
  border-radius: 999px;
  background: var(--public-toggle-bg);
  border: 1px solid var(--public-toggle-border);
}

.theme-option,
.lang-option {
  width: 32px;
  height: 32px;
  border-radius: 999px;
  border: none;
  background: transparent;
  color: var(--public-toggle-fg);
  font-size: 0.8rem;
  font-weight: 700;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.lang-option .flag-icon {
  width: 18px;
  height: 18px;
  border-radius: 50%;
  display: inline-block;
  border: 1px solid rgba(10, 46, 92, 0.18);
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.15);
}

.lang-option .flag-co {
  background: linear-gradient(
    to bottom,
    #fcd116 0%,
    #fcd116 50%,
    #003893 50%,
    #003893 75%,
    #ce1126 75%,
    #ce1126 100%
  );
}

.lang-option .flag-us {
  background:
    linear-gradient(to bottom, #3c3b6e 0 52%, transparent 52% 100%),
    repeating-linear-gradient(
      to bottom,
      #b22234 0 10%,
      #ffffff 10% 20%
    );
  background-size: 55% 55%, 100% 100%;
  background-position: left top, center;
  background-repeat: no-repeat;
}

.theme-option.active,
.lang-option.active {
  background: var(--public-toggle-active-bg);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.1);
}

body[data-theme="light"] .theme-option.active,
body[data-theme="light"] .lang-option.active {
  box-shadow: inset 0 0 0 1px rgba(var(--primary-rgb), 0.2);
}

.hero {
  position: relative;
  min-height: 92vh;
  display: grid;
  align-items: center;
  background: var(--gradient-hero);
  overflow: hidden;
}

.hero-bg-image {
  position: absolute;
  inset: 0;
  background-image: url("./imagenes empresa/hero-fondo.jpg");
  background-size: cover;
  background-position: center;
  opacity: 0.15;
  mix-blend-mode: luminosity;
}

.overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    128deg,
    rgba(8, 28, 52, 0.94) 0%,
    rgba(20, 58, 95, 0.88) 42%,
    rgba(30, 74, 115, 0.82) 68%,
    rgba(42, 99, 153, 0.78) 100%
  );
}

.hero-grid-pattern {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.03) 1px, transparent 1px);
  background-size: 60px 60px;
  pointer-events: none;
}

.hero-floating {
  position: absolute;
  pointer-events: none;
  opacity: 0.06;
  color: white;
}

.hero-floating-1 {
  width: 180px;
  height: 180px;
  right: 8%;
  top: 15%;
  animation: floatSlow 12s ease-in-out infinite;
}

.hero-floating-2 {
  width: 120px;
  height: 120px;
  left: 5%;
  bottom: 18%;
  animation: floatSlow 10s ease-in-out infinite 2s;
}

.hero-floating-3 {
  width: 90px;
  height: 90px;
  right: 25%;
  bottom: 10%;
  animation: floatSlow 14s ease-in-out infinite 4s;
}

.hero-aurora {
  position: absolute;
  border-radius: 999px;
  filter: blur(80px);
  opacity: 0.16;
  pointer-events: none;
  animation: pulseFloat 8s ease-in-out infinite;
}

.hero-aurora-left {
  width: 400px;
  height: 400px;
  left: -5%;
  top: 5%;
  background: radial-gradient(circle at center, var(--primary), transparent 70%);
}

.hero-aurora-right {
  width: 500px;
  height: 500px;
  right: -8%;
  bottom: -5%;
  background: radial-gradient(circle at center, var(--primary-deeper), transparent 70%);
  animation-delay: 2s;
}

.hero-content {
  position: relative;
  z-index: 1;
  color: var(--white);
  padding: 3rem 0;
}

.hero-content-layout {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem 2.5rem;
  align-items: center;
}

.hero-brand-slot {
  margin: 0 auto;
  width: 100%;
  max-width: 420px;
}

.hero-brand-panel {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: clamp(170px, 36vw, 225px);
  padding: 1.35rem 1.5rem 1.5rem;
  border-radius: 22px;
  background:
    linear-gradient(
      145deg,
      rgba(6, 22, 42, 0.78) 0%,
      rgba(14, 42, 72, 0.68) 48%,
      rgba(22, 58, 92, 0.58) 100%
    );
  border: 1px solid rgba(255, 255, 255, 0.32);
  box-shadow:
    0 24px 56px rgba(0, 0, 0, 0.34),
    0 0 0 1px rgba(255, 255, 255, 0.08) inset,
    0 1px 0 rgba(255, 255, 255, 0.22) inset;
  backdrop-filter: blur(18px) saturate(1.2);
  -webkit-backdrop-filter: blur(18px) saturate(1.2);
  overflow: hidden;
}

.hero-brand-panel::before {
  content: "";
  position: absolute;
  inset: -40% -20% auto auto;
  width: 70%;
  height: 70%;
  background: radial-gradient(circle at 30% 30%, rgba(var(--primary-mid-rgb), 0.35), transparent 65%);
  pointer-events: none;
  opacity: 0.85;
}

.hero-brand-panel::after {
  content: "";
  position: absolute;
  inset: auto auto -30% -20%;
  width: 55%;
  height: 55%;
  background: radial-gradient(circle at 70% 70%, rgba(var(--primary-rgb), 0.4), transparent 62%);
  pointer-events: none;
  opacity: 0.7;
}

.hero-brand-logo {
  position: relative;
  z-index: 1;
  display: block;
  width: 100%;
  height: auto;
  max-height: min(28vw, 168px);
  min-height: 100px;
  object-fit: contain;
  object-position: center;
  user-select: none;
  -webkit-user-drag: none;
  mix-blend-mode: screen;
  filter:
    contrast(1.28)
    saturate(1.18)
    brightness(1.1)
    drop-shadow(0 8px 24px rgba(0, 0, 0, 0.45))
    drop-shadow(0 0 36px rgba(184, 228, 255, 0.35));
  transition: transform 0.5s cubic-bezier(0.22, 1, 0.36, 1), filter 0.45s ease;
}

.hero-brand-panel[data-reveal].is-visible {
  border-color: rgba(255, 255, 255, 0.42);
  background:
    linear-gradient(
      155deg,
      rgba(8, 30, 56, 0.84) 0%,
      rgba(16, 48, 82, 0.74) 45%,
      rgba(24, 62, 98, 0.66) 100%
    );
  box-shadow:
    0 30px 72px rgba(0, 0, 0, 0.38),
    0 0 0 1px rgba(255, 255, 255, 0.12) inset,
    0 0 0 2px rgba(184, 228, 255, 0.18),
    0 0 48px rgba(55, 124, 192, 0.28),
    0 2px 0 rgba(255, 255, 255, 0.28) inset;
}

.hero-brand-panel[data-reveal].is-visible::before {
  opacity: 1;
}

.hero-brand-panel[data-reveal].is-visible::after {
  opacity: 0.88;
}

.hero-brand-panel[data-reveal].is-visible .hero-brand-logo {
  filter:
    contrast(1.34)
    saturate(1.24)
    brightness(1.14)
    drop-shadow(0 10px 30px rgba(0, 0, 0, 0.42))
    drop-shadow(0 0 40px rgba(220, 242, 255, 0.48))
    drop-shadow(0 0 64px rgba(131, 190, 233, 0.38));
  transform: scale(1.05);
  transition:
    filter 0.75s cubic-bezier(0.22, 1, 0.36, 1) 0.08s,
    transform 0.75s cubic-bezier(0.22, 1, 0.36, 1) 0.08s;
}

.hero-copy {
  min-width: 0;
}

@media (min-width: 992px) {
.hero-content-layout {
    grid-template-columns: minmax(320px, 0.5fr) minmax(0, 1fr);
    gap: 2.5rem 3.25rem;
    align-items: center;
  }
.hero-brand-slot {
    margin: 0;
    max-width: none;
  }
.hero-brand-panel {
    min-height: 250px;
    padding: 1.6rem 1.75rem 1.85rem;
  }
.hero-brand-logo {
    max-height: 184px;
    min-height: 132px;
  }
.hero-brand-panel[data-reveal].is-visible .hero-brand-logo {
    max-height: 202px;
    min-height: 140px;
  }
}

@media (min-width: 1200px) {
.hero-brand-panel {
    min-height: 275px;
  }
.hero-brand-logo {
    max-height: 208px;
  }
.hero-brand-panel[data-reveal].is-visible .hero-brand-logo {
    max-height: 232px;
  }
}

.hero-kicker {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 1.2rem;
  padding: 0.4rem 1rem;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.34);
  background: rgba(6, 22, 42, 0.58);
  color: rgba(255, 255, 255, 0.96);
  font-family: var(--font-secondary);
  font-size: 0.85rem;
  font-weight: 700;
  backdrop-filter: blur(10px);
  letter-spacing: 0.2px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.18);
}

.hero-kicker-icon {
  width: 18px;
  height: 18px;
  color: #ffffff;
  filter: drop-shadow(0 0 8px rgba(184, 228, 255, 0.55));
}

.hero h1 {
  margin: 0 0 1rem;
  font-family: var(--font-display);
  font-size: clamp(2rem, 5vw, 3.4rem);
  font-weight: 600;
  line-height: 1.12;
  max-width: 720px;
  letter-spacing: -0.5px;
  color: #ffffff;
  text-shadow: 0 2px 18px rgba(0, 0, 0, 0.28);
}

.hero-h1-accent {
  background: linear-gradient(135deg, #ffffff 0%, #e8f6ff 42%, #b8e4ff 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  filter: drop-shadow(0 2px 10px rgba(0, 0, 0, 0.35));
}

.hero > .container p {
  max-width: 580px;
  font-size: 1.05rem;
  line-height: 1.65;
  color: rgba(255, 255, 255, 0.92);
  text-shadow: 0 1px 10px rgba(0, 0, 0, 0.22);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 1.5rem;
}

.hero-stats {
  margin-top: 2.5rem;
  display: grid;
  gap: 0.8rem;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  max-width: 680px;
}

.hero-stat {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.9rem 1rem;
  border-radius: var(--radius);
}

.hero .hero-stat.glass-card {
  background: rgba(6, 22, 42, 0.58);
  border-color: rgba(255, 255, 255, 0.28);
  box-shadow:
    0 10px 28px rgba(0, 0, 0, 0.22),
    inset 0 1px 0 rgba(255, 255, 255, 0.1);
}

.hero-stat-icon {
  width: 36px;
  height: 36px;
  min-width: 36px;
  padding: 7px;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.16);
  color: #ffffff;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.14);
}

.hero-stat-text span {
  display: block;
  font-size: 0.75rem;
  color: rgba(255, 255, 255, 0.82);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  font-weight: 600;
}

.hero-stat-text b {
  font-size: 1.35rem;
  font-weight: 800;
  letter-spacing: -0.3px;
  color: #ffffff;
  text-shadow: 0 1px 8px rgba(0, 0, 0, 0.2);
}

.wave-divider {
  display: block;
  width: 100%;
  height: auto;
  margin-bottom: -2px;
}

.wave-divider-flip {
  transform: scaleY(-1);
  margin-top: -2px;
  margin-bottom: 0;
}

.section {
  padding: 4.5rem 0;
  position: relative;
}

.section-soft-alt {
  background: #F5F9FF;
}

.section.light {
  background: var(--primary-light);
}

.section-dark {
  background: var(--gradient-dark-section);
  color: var(--white);
}

.section-head {
  max-width: 640px;
  margin-bottom: 2rem;
}

.section-head h2 {
  margin: 0 0 0.5rem;
  font-size: 1.85rem;
  font-weight: 800;
  letter-spacing: -0.3px;
}

.section-dark .section-head h2 { color: var(--white); }

.section-dark .section-head p { color: rgba(255,255,255,0.70); }

.section-head p {
  margin: 0;
  color: var(--text-soft);
  font-size: 1.02rem;
  line-height: 1.6;
}

.section-icon-header {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  margin-bottom: 0.5rem;
}

.section-icon {
  width: 40px;
  height: 40px;
  padding: 8px;
  border-radius: 12px;
  background: linear-gradient(135deg, var(--primary), var(--primary-dark));
  color: var(--white);
  box-shadow: 0 4px 14px var(--primary-glow);
}

.section-dark .section-icon {
  background: rgba(255,255,255,0.12);
  color: var(--accent);
}

.grid-2, .grid-3, .grid-4 {
  display: grid;
  gap: 1.25rem;
}

.grid-2 { grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); }

.grid-3 { grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); }

.grid-4 { grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); }

.about-grid {
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
}

.card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.4rem;
  box-shadow: var(--shadow-card);
  position: relative;
}

.glass-card {
  border: 1px solid rgba(255, 255, 255, 0.18);
  background: rgba(255, 255, 255, 0.08);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.05);
  backdrop-filter: blur(12px);
}

.lift-card {
  transition: transform 0.22s ease, box-shadow 0.22s ease, border-color 0.25s ease;
}

.lift-card::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: linear-gradient(120deg, transparent 18%, rgba(255, 255, 255, 0.35), transparent 42%);
  transform: translateX(-120%);
  transition: transform 0.55s ease;
  pointer-events: none;
}

.card-icon-top {
  width: 48px;
  height: 48px;
  padding: 10px;
  border-radius: 14px;
  margin-bottom: 0.85rem;
  color: var(--white);
  background: linear-gradient(135deg, var(--primary), var(--primary-dark));
  box-shadow: 0 6px 18px var(--primary-glow);
}

.section-dark .card-icon-top {
  background: rgba(var(--primary-mid-rgb), 0.15);
  color: var(--accent);
  box-shadow: none;
}

.card h3 {
  margin: 0 0 0.4rem;
  font-size: 1.1rem;
  font-weight: 700;
}

.card p { line-height: 1.6; }

.fleet-card {
  text-align: center;
  padding: 2rem 1.4rem;
  border-top: 3px solid var(--primary);
}

.fleet-card-icon {
  width: 72px;
  height: 72px;
  margin: 0 auto 1rem;
  padding: 14px;
  border-radius: 20px;
  background: var(--primary-light);
  color: var(--primary);
  transition: all 0.3s ease;
}

.fleet-card h3 {
  font-size: 1.25rem;
  color: var(--primary-dark);
}

.fleet-card .fleet-specs {
  display: grid;
  gap: 0.65rem;
  width: 100%;
  max-width: 21rem;
  margin: 0.8rem auto 0;
  text-align: left;
}

.fleet-spec {
  display: flex;
  align-items: flex-start;
  gap: 0.55rem;
  font-size: 0.9rem;
  line-height: 1.5;
  color: var(--text-soft);
  text-align: left;
}

.fleet-spec-text {
  flex: 1;
  min-width: 0;
  text-wrap: pretty;
}

.fleet-spec-icon {
  width: 18px;
  height: 18px;
  min-width: 18px;
  flex-shrink: 0;
  margin-top: 0.15em;
  color: var(--primary);
}

.service-card {
  padding: 1.8rem 1.4rem;
  border-left: 4px solid var(--primary);
}

.section-dark .service-card {
  background: rgba(255,255,255,0.04);
  border-color: var(--accent);
}

#services .service-card::after {
  content: none;
  display: none;
}

.coverage-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 0.8rem;
}

.coverage-item {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.7rem 1rem;
  border-radius: var(--radius-sm);
  background: var(--white);
  border: 1px solid var(--line);
  font-weight: 500;
  transition: all 0.25s ease;
}

.coverage-item-label {
  flex: 1;
  min-width: 0;
  line-height: 1.35;
}

.coverage-corridor-line {
  white-space: normal;
  word-break: break-word;
}

.coverage-card-caption {
  margin: 0 0 0.85rem;
  font-size: 0.88rem;
  line-height: 1.45;
}

.coverage-stats-footnote {
  margin-top: 1.1rem;
  font-size: 0.86rem;
  line-height: 1.45;
  text-align: center;
  max-width: 52rem;
  margin-left: auto;
  margin-right: auto;
}

.coverage-dot {
  width: 8px;
  height: 8px;
  min-width: 8px;
  border-radius: 50%;
  background: var(--primary);
  transition: background 0.25s ease;
}

.section-trusted {
  background: var(--gradient-section);
}

.clients-strip {
  margin: 1.4rem 0 1.6rem;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: linear-gradient(135deg, #ffffff 0%, #fbfdff 100%);
  padding: 1.2rem 0;
  overflow: hidden;
  position: relative;
  box-shadow: 0 10px 32px rgba(13, 63, 121, 0.05), 0 1px 2px rgba(13, 63, 121, 0.04);
  -webkit-mask-image: linear-gradient(to right, transparent 0, #000 5%, #000 95%, transparent 100%);
  mask-image: linear-gradient(to right, transparent 0, #000 5%, #000 95%, transparent 100%);
}

.clients-strip-track {
  display: flex;
  width: max-content;
  align-items: center;
  gap: 0;
  animation: marquee 30s linear infinite;
  will-change: transform;
}

.clients-strip-set {
  display: flex;
  align-items: center;
  gap: 3.5rem;
  /* Margin-right igual al gap mantiene la separación entre logos también
     en el "punto de pegado" entre sets, eliminando cualquier hueco visible. */
  padding-right: 3.5rem;
  flex-shrink: 0;
}

.clients-strip-logo {
  height: 78px;
  width: auto;
  max-width: 180px;
  display: block;
  object-fit: contain;
  flex-shrink: 0;
  filter: saturate(1.05);
  transition: transform 0.25s ease, filter 0.25s ease;
}

@media (max-width: 1024px) {
.clients-strip-logo {
    height: 62px;
    max-width: 150px;
  }
.clients-strip-set {
    gap: 2.5rem;
    padding-right: 2.5rem;
  }
}

@media (max-width: 640px) {
.clients-strip-logo {
    height: 48px;
    max-width: 120px;
  }
.clients-strip-set {
    gap: 2rem;
    padding-right: 2rem;
  }
.clients-strip-track {
    animation-duration: 22s;
  }
}

body[data-theme="dark"] .clients-strip {
  background: linear-gradient(135deg, #0f1c2f 0%, #142640 100%);
  border-color: color-mix(in srgb, var(--primary) 30%, #2a3f56);
}

body[data-theme="dark"] .clients-strip-logo {
  background: #ffffff;
  border-radius: 12px;
  padding: 0.4rem 0.7rem;
}

.trusted-grid { margin-top: 0.5rem; }

.mini-metric {
  text-align: center;
  padding: 1.5rem 1rem;
}

.mini-metric-icon {
  width: 42px;
  height: 42px;
  margin: 0 auto 0.5rem;
  padding: 8px;
  border-radius: 12px;
  background: var(--primary-light);
  color: var(--primary);
}

.mini-metric h3 {
  margin: 0;
  font-size: 2.2rem;
  font-weight: 800;
  color: var(--primary-dark);
  letter-spacing: -1px;
}

.mini-metric p {
  margin: 0.3rem 0 0;
  color: var(--text-soft);
  font-size: 0.92rem;
}

.testimonial-card {
  position: relative;
  overflow: hidden;
  padding: 1.6rem 1.4rem;
}

.testimonial-card::before {
  content: "\201C";
  position: absolute;
  right: 1rem;
  top: -0.8rem;
  font-size: 6rem;
  color: rgba(var(--primary-rgb), 0.08);
  line-height: 1.2;
  font-family: Georgia, serif;
}

.testimonial-stars {
  display: flex;
  gap: 2px;
  margin-bottom: 0.65rem;
}

.testimonial-star {
  width: 18px;
  height: 18px;
  color: #F59F00;
}

.quote {
  margin: 0;
  font-size: 0.96rem;
  line-height: 1.65;
  font-style: italic;
}

.testimonial-meta {
  margin-top: 1rem;
  display: flex;
  align-items: center;
  gap: 0.7rem;
}

.testimonial-avatar {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--primary), var(--primary-dark));
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 0.85rem;
}

.testimonial-meta-text {
  display: grid;
  gap: 0.15rem;
}

.testimonial-meta-text strong { font-size: 0.92rem; }

.testimonial-meta-text span {
  color: var(--text-soft);
  font-size: 0.82rem;
}

.success-cases {
  margin-top: 1rem;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1rem;
}

.success-case-card h3 {
  margin: 0.35rem 0 0.45rem;
}

.success-case-metrics {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
  margin-top: 0.6rem;
}

.success-case-metrics span {
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
  background: rgba(var(--primary-rgb), 0.08);
  border: 1px solid rgba(var(--primary-rgb), 0.18);
  border-radius: 999px;
  padding: 0.28rem 0.58rem;
  font-size: 0.78rem;
  color: #204d7f;
}

.success-case-metrics b {
  font-size: 0.84rem;
}

.contact-info-item {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  margin-bottom: 1rem;
}

.contact-info-icon {
  width: 38px;
  height: 38px;
  min-width: 38px;
  padding: 8px;
  border-radius: 10px;
  background: var(--primary-light);
  color: var(--primary);
}

.contact-info-item p {
  margin: 0;
  font-size: 0.95rem;
  line-height: 1.5;
}

.contact-info-item strong {
  display: block;
  font-size: 0.82rem;
  text-transform: uppercase;
  letter-spacing: 0.4px;
  color: var(--text-soft);
  margin-bottom: 0.15rem;
}

.btn {
  border: 1px solid transparent;
  border-radius: var(--radius-sm);
  padding: 0.7rem 1.2rem;
  cursor: pointer;
  font-family: var(--font-secondary);
  font-weight: 700;
  font-size: 0.92rem;
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  line-height: 1.2;
  text-decoration: none;
  transition:
    background 0.18s ease,
    border-color 0.18s ease,
    color 0.18s ease,
    box-shadow 0.18s ease,
    transform 0.16s ease,
    filter 0.18s ease;
}

.btn-primary {
  background: linear-gradient(180deg, #4a8fd4 0%, var(--primary) 45%, var(--primary-dark) 100%);
  border-color: color-mix(in srgb, var(--primary-deeper) 26%, transparent);
  color: var(--white);
  box-shadow: 0 10px 22px rgba(var(--primary-rgb), 0.24);
}

.btn-primary:hover {
  background: linear-gradient(180deg, #5b9fe0 0%, #3f85cf 46%, #2a6399 100%);
  transform: translateY(-1px);
  box-shadow: 0 14px 28px rgba(var(--primary-rgb), 0.28);
}

.btn-icon {
  width: 18px;
  height: 18px;
}

.btn-ghost-light {
  background: rgba(6, 22, 42, 0.42);
  border-color: rgba(255, 255, 255, 0.48);
  color: #ffffff;
  backdrop-filter: blur(8px);
  box-shadow: 0 8px 22px rgba(0, 0, 0, 0.16);
}

.btn-outline {
  background: linear-gradient(180deg, #ffffff 0%, #f7fbff 100%);
  color: var(--primary-dark);
  border-color: color-mix(in srgb, var(--primary) 18%, var(--line));
  box-shadow: 0 6px 16px rgba(var(--primary-rgb), 0.08);
}

.btn-outline:hover {
  border-color: color-mix(in srgb, var(--primary) 34%, var(--line));
  background: linear-gradient(180deg, #f8fbff 0%, #eef6ff 100%);
  color: var(--primary);
  transform: translateY(-1px);
}

.form-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: 0.75rem;
}

label {
  display: grid;
  gap: 0.35rem;
  font-family: var(--font-body);
  font-size: 0.92rem;
  font-weight: 500;
}

.required-with-marker {
  display: inline-flex;
  align-items: center;
  gap: 0.2rem;
}

.required-marker {
  color: #D62828;
  font-weight: 800;
  line-height: 1;
}

input[data-antares-field="person-name"],
input[data-antares-field="db-upper"],
textarea[data-antares-field="db-upper-multiline"] {
  text-transform: uppercase;
}

input, select, textarea {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  padding: 0.7rem 0.85rem;
  font: inherit;
  background: var(--white);
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

input[type="password"] {
  text-transform: none;
  letter-spacing: normal;
}

#form-register input[name="password"],
#form-register input[name="passwordConfirm"],
#form-register .auth-password-input,
#form-login input[name="password"],
#form-recover-complete input[name="password"],
#form-recover-complete input[name="passwordConfirm"],
#form-admin-user-create input[name="password"] {
  text-transform: none !important;
  letter-spacing: normal !important;
}

.full { grid-column: 1 / -1; }

.muted { color: var(--text-soft); }

.hidden { display: none !important; }

#contact .contact-form-head {
  display: flex;
  align-items: flex-start;
  gap: 0.7rem;
  margin-bottom: 0.9rem;
}

#contact .container.grid-2 {
  grid-template-columns: minmax(0, 1.35fr) minmax(320px, 0.85fr);
  align-items: start;
}

#contact .contact-form-subtitle {
  margin: 0.35rem 0 0;
  font-size: 0.9rem;
  line-height: 1.45;
}

#contact .contact-trust-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
  margin: 0 0 1rem;
}

#contact .contact-trust-pill {
  display: inline-flex;
  align-items: center;
  padding: 0.26rem 0.58rem;
  border-radius: 999px;
  font-size: 0.76rem;
  font-weight: 700;
  color: #1f4e81;
  background: rgba(var(--primary-rgb), 0.1);
  border: 1px solid rgba(var(--primary-rgb), 0.22);
}

#contact .form-grid {
  gap: 0.95rem;
  grid-template-columns: repeat(2, minmax(240px, 1fr));
}

#contact .form-grid label {
  border: 1px solid rgba(var(--primary-rgb), 0.2);
  border-radius: 12px;
  padding: 0.72rem 0.8rem;
  background: linear-gradient(180deg, #ffffff 0%, #f7fbff 100%);
  box-shadow: 0 5px 14px rgba(10, 46, 92, 0.06);
}

#contact .form-grid input,
#contact .form-grid select,
#contact .form-grid textarea {
  border: 1px solid rgba(var(--primary-rgb), 0.22);
  border-radius: 10px;
  background: #ffffff;
  padding: 0.75rem 0.9rem;
}

#contact .contact-submit-btn {
  border-radius: 12px;
  letter-spacing: 0.25px;
  box-shadow: 0 12px 26px rgba(13, 71, 161, 0.26);
}

#contact .b2b-form-feedback {
  grid-column: 1 / -1;
  margin: 0 0 0.35rem;
  padding: 0.75rem 1rem;
  border-radius: 12px;
  font-size: 0.92rem;
  font-weight: 600;
  line-height: 1.45;
}

#contact .b2b-form-feedback--hidden {
  display: none;
}

#contact .contact-form-premium label span {
  font-weight: 700;
  letter-spacing: 0.1px;
}

#contact .contact-step-indicator {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
  margin-bottom: 0.35rem;
}

#contact .contact-step-chip {
  display: inline-flex;
  align-items: center;
  padding: 0.22rem 0.58rem;
  border-radius: 999px;
  font-size: 0.74rem;
  font-weight: 700;
  color: #2e5f95;
  background: rgba(var(--primary-rgb), 0.08);
  border: 1px solid rgba(var(--primary-rgb), 0.18);
}

#contact .contact-step-chip.active {
  color: #ffffff;
  background: linear-gradient(135deg, var(--primary), var(--primary-deeper));
  border-color: transparent;
}

#contact .contact-step-pane {
  display: none;
}

#contact .contact-step-pane.active {
  display: block;
}

#contact .contact-step-actions {
  margin-top: 0.35rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.6rem;
}

#contact .contact-step-actions [data-step-submit] {
  display: none;
}

#contact .contact-step-actions.is-first [data-step-prev] {
  visibility: hidden;
  pointer-events: none;
}

@media (max-width: 1100px) {
#contact .container.grid-2 {
    grid-template-columns: 1fr;
  }
#contact .form-grid {
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  }
}

body.portal-mode .top-nav,
body.portal-mode .site-footer,
body.portal-mode .whatsapp-fab {
  display: none !important;
}

[data-reveal] {
  opacity: 0;
  transform: translateY(14px) scale(0.992);
  transition: opacity 0.5s ease, transform 0.5s ease;
}

[data-reveal].is-visible {
  opacity: 1;
  transform: translateY(0) scale(1);
}

.hero-brand-panel[data-reveal] {
  opacity: 1;
  transform: none;
}

body.portal-drawer-open .portal-menu-line:nth-child(1) {
  transform: translateY(8px) rotate(45deg);
}

body.portal-drawer-open .portal-menu-line:nth-child(2) {
  opacity: 0;
  transform: scaleX(0);
}

body.portal-drawer-open .portal-menu-line:nth-child(3) {
  transform: translateY(-8px) rotate(-45deg);
}

@keyframes roadMove {
  from { background-position-x: 0; }
  to { background-position-x: 24px; }
}

.btn-sm {
  padding: 0.4rem 0.7rem;
  font-size: 0.8rem;
  border-radius: 8px;
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
}

.btn-sm .btn-icon { width: 14px; height: 14px; }

.btn-action {
  background: linear-gradient(180deg, #5794d8 0%, #377cc0 54%, #2a6399 100%);
  color: #ffffff;
  border: 1px solid rgba(29, 83, 132, 0.18);
  box-shadow: 0 10px 22px rgba(47, 116, 198, 0.2);
}

.field-label {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
}

.field-label .btn-icon {
  width: 14px;
  height: 14px;
  color: var(--primary);
}

body[data-theme="dark"] .ops-dash-tabs {
  background: linear-gradient(180deg, #223a56, #1a3049);
  border-color: rgba(148, 196, 255, 0.18);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.18);
}

body[data-theme="dark"] .ops-dash-tab {
  background: linear-gradient(180deg, #17314c 0%, #12263d 100%);
  border-color: #4a729e;
  color: #dbeafe;
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.18);
}

body[data-theme="dark"] .ops-dash-tab:hover {
  background: linear-gradient(180deg, #1c3d5e 0%, #16314d 100%);
  border-color: #6797c7;
  color: #ffffff;
}

body[data-theme="dark"] .ops-dash-tab.is-active {
  color: #ffffff;
  background: linear-gradient(180deg, #4b94dd 0%, #2f71bc 100%);
  border-color: rgba(173, 214, 255, 0.28);
  box-shadow: 0 12px 22px rgba(6, 20, 38, 0.22);
}

body[data-theme="dark"] .ops-dash-kpi,
body[data-theme="dark"] .ops-dash-vehicle-card,
body[data-theme="dark"] .ops-dash-search {
  background: linear-gradient(160deg, rgba(15, 23, 42, 0.92), rgba(24, 40, 62, 0.96));
  border-color: rgba(100, 140, 190, 0.28);
}

body[data-theme="dark"] .ops-dash-kpi-label,
body[data-theme="dark"] .ops-dash-fleet-count {
  color: #9fc3e6;
}

body[data-theme="dark"] .ops-dash-ring strong {
  color: #e2eef9;
}

body[data-theme="dark"] .ops-dash-vehicle-summary {
  background: rgba(15, 23, 42, 0.55);
}

body[data-theme="dark"] .ops-dash-chip {
  color: #dbeafe;
}

body[data-theme="dark"] .ops-dash-tl-track {
  background: linear-gradient(180deg, rgba(30, 45, 68, 0.9), rgba(20, 32, 50, 0.95));
}

body[data-theme="dark"] .user-avatar.user-avatar--with-photo {
  background: #1e293b;
  border-color: rgba(148, 163, 184, 0.35);
}

body[data-theme="dark"] .user-modal-photo-hero {
  border-bottom-color: rgba(148, 196, 255, 0.2);
}

body[data-theme="dark"] .user-card.user-card--pending {
  background: linear-gradient(135deg, #1f2937, #111827);
  border-color: #b45309;
}

body[data-theme="dark"] .user-card-pending-note {
  background: rgba(180, 83, 9, 0.18);
  color: #fde68a;
  border-color: rgba(253, 230, 138, 0.3);
}

body[data-theme="dark"] .user-card-pending-note strong {
  color: #fcd34d;
}

body[data-theme="dark"] .user-card--company-inactive {
  border-color: rgba(148, 163, 184, 0.35);
}

body[data-theme="dark"] .approve-perms-shell {
  background: #0f172a;
  border-color: #1e293b;
}

body[data-theme="dark"] .approve-perms-grid {
  background: #111c2e;
  border-color: #1e293b;
}

body[data-theme="dark"] .approve-perms-help,
body[data-theme="dark"] .approve-perms-counter,
body[data-theme="dark"] .modal-edit-section-title {
  color: #cbd5e1;
}

body[data-theme="dark"] .searchable-select-input,
body[data-theme="dark"] .searchable-select-dropdown {
  background: var(--surface, #0f172a);
  color: var(--text-main);
}

body[data-theme="dark"] .transport-trips-tab-panels {
  background: linear-gradient(180deg, rgba(13, 24, 40, 0.98), rgba(10, 18, 31, 0.94));
  border-color: #243447;
  box-shadow: 0 22px 40px rgba(2, 8, 18, 0.4);
}

body[data-theme="dark"] .transport-form-card--trip .hr-data-card__head {
  background: linear-gradient(180deg, rgba(18, 50, 96, 0.92), rgba(10, 22, 38, 0.9));
}

body[data-theme="dark"] .transport-form-card--route .hr-data-card__head {
  background: linear-gradient(180deg, rgba(52, 28, 108, 0.92), rgba(10, 22, 38, 0.9));
}

body[data-theme="dark"] .transport-route-form .hr-form-hero {
  border-color: rgba(129, 140, 248, 0.22);
  background: linear-gradient(135deg, rgba(40, 28, 78, 0.95), rgba(14, 28, 46, 0.94));
}

body[data-theme="dark"] .transport-route-form .hr-form-hero__title {
  color: #eef2ff;
}

body[data-theme="dark"] .transport-route-form .hr-form-hero__text {
  color: #c7d2fe;
}

body[data-theme="dark"] .transport-route-form .hr-form-hero-badge {
  border-color: rgba(129, 140, 248, 0.18);
  background: rgba(255, 255, 255, 0.04);
}

body[data-theme="dark"] .transport-route-form .form-section {
  border-color: rgba(148, 196, 255, 0.14);
  box-shadow: 0 18px 34px rgba(2, 8, 18, 0.3);
}

body[data-theme="dark"] .transport-route-form .form-section-grid label:not(.route-rate-company-item):not(.route-rate-company-item-text) {
  background: rgba(15, 23, 42, 0.72);
  border-color: rgba(148, 196, 255, 0.14);
  box-shadow: 0 10px 22px rgba(2, 8, 18, 0.18);
}

body[data-theme="dark"] .transport-route-form-fieldset--origin {
  background: linear-gradient(180deg, rgba(15, 35, 58, 0.94), rgba(10, 22, 38, 0.94));
}

body[data-theme="dark"] .transport-route-form-fieldset--destination {
  background: linear-gradient(180deg, rgba(33, 28, 68, 0.94), rgba(10, 22, 38, 0.94));
}

body[data-theme="dark"] .transport-route-form-fieldset--price {
  background: linear-gradient(180deg, rgba(10, 50, 43, 0.94), rgba(10, 22, 38, 0.94));
}

body[data-theme="dark"] .transport-route-form-fieldset--scope {
  background: linear-gradient(180deg, rgba(66, 42, 12, 0.94), rgba(10, 22, 38, 0.94));
}

body[data-theme="dark"] .transport-route-form .route-rate-scope-card {
  box-shadow: 0 12px 24px rgba(2, 8, 18, 0.18);
}

body[data-theme="dark"] .transport-route-form-actions {
  background: linear-gradient(180deg, rgba(10, 22, 38, 0), rgba(10, 22, 38, 0.96) 28%);
}

body[data-theme="dark"] .create-trip-hero {
  background: linear-gradient(135deg, rgba(23, 55, 85, 0.9), rgba(8, 18, 32, 0.75));
  border-color: rgba(135, 190, 247, 0.28);
}

body[data-theme="dark"] .create-trip-hero-icon {
  background: rgba(37, 99, 235, 0.35);
  color: #93c5fd;
}

body[data-theme="dark"] .create-trip-stepper {
  background: rgba(8, 18, 32, 0.65);
  border-color: rgba(135, 190, 247, 0.28);
}

body[data-theme="dark"] .create-trip-stepper--track .create-trip-step {
  border-right-color: rgba(135, 190, 247, 0.18);
}

body[data-theme="dark"] .create-trip-step {
  background: rgba(8, 18, 32, 0.55);
  color: #9fb9d9;
}

body[data-theme="dark"] .create-trip-step--current {
  color: #e8f4fc;
  background: rgba(23, 55, 85, 0.9);
  box-shadow: inset 0 -3px 0 #3b82f6;
}

body[data-theme="dark"] .create-trip-step--done {
  color: #6ee7b7;
  background: rgba(6, 78, 59, 0.45);
}

body[data-theme="dark"] .create-trip-step-n {
  background: rgba(8, 18, 32, 0.9);
  color: #c8dff7;
  border-color: rgba(135, 190, 247, 0.22);
}

body[data-theme="dark"] .create-trip-step--current .create-trip-step-n {
  background: linear-gradient(135deg, #3b82f6, #2563eb);
  color: #fff;
}

body[data-theme="dark"] .create-trip-request-select-label,
body[data-theme="dark"] .create-trip-resource-card {
  background: rgba(8, 18, 32, 0.55);
  border-color: rgba(52, 211, 153, 0.28);
  color: #d2e6ff;
}

body[data-theme="dark"] .create-trip-form .create-trip-fieldset--step1.form-section {
  background: rgba(8, 18, 32, 0.55);
  border-color: rgba(135, 190, 247, 0.22);
}

body[data-theme="dark"] .assign-trip-block {
  background: rgba(8, 18, 32, 0.62);
  border-color: rgba(135, 190, 247, 0.2);
  box-shadow: none;
}

body[data-theme="dark"] .assign-trip-block-head {
  border-bottom-color: rgba(135, 190, 247, 0.14);
}

body[data-theme="dark"] .assign-trip-field select {
  background: rgba(8, 18, 32, 0.72);
  border-color: rgba(135, 190, 247, 0.22);
  color: #e8f4fc;
}

body[data-theme="dark"] .assign-trip-preview-active {
  background: rgba(23, 55, 85, 0.45);
  border-color: rgba(135, 190, 247, 0.22);
}

body[data-theme="dark"] .assign-trip-resource {
  background: rgba(6, 50, 38, 0.35);
  border-color: rgba(52, 211, 153, 0.28);
  color: #d2e6ff;
}

body[data-theme="dark"] .assign-trip-footer {
  background: rgba(23, 55, 85, 0.4);
  border-color: rgba(135, 190, 247, 0.2);
}

body[data-theme="dark"] .assign-trip-form .trip-rate-meta-chip {
  background: rgba(8, 18, 32, 0.65);
  border-color: rgba(135, 190, 247, 0.2);
  color: #c8dff7;
}

body[data-theme="dark"] .create-trip-summary-panel--active {
  background: rgba(8, 18, 32, 0.65);
  border-color: rgba(135, 190, 247, 0.22);
  box-shadow: none;
}

body[data-theme="dark"] .create-trip-summary-head {
  border-bottom-color: rgba(135, 190, 247, 0.18);
}

body[data-theme="dark"] .create-trip-summary-tile-ico {
  background: rgba(23, 55, 85, 0.75);
  color: #93c5fd;
}

body[data-theme="dark"] .create-trip-request-select-label select {
  background: rgba(8, 18, 32, 0.7);
  border-color: rgba(135, 190, 247, 0.25);
  color: #e8f4fc;
}

body[data-theme="dark"] .create-trip-status-pill--ok {
  background: rgba(6, 78, 59, 0.45);
  border-color: rgba(52, 211, 153, 0.35);
  color: #6ee7b7;
}

body[data-theme="dark"] .create-trip-status-pill--bad {
  background: rgba(127, 29, 29, 0.35);
  border-color: rgba(248, 113, 113, 0.35);
  color: #fecaca;
}

body[data-theme="dark"] .create-trip-status-pill--info {
  background: rgba(12, 74, 110, 0.45);
  border-color: rgba(56, 189, 248, 0.35);
  color: #7dd3fc;
}

body[data-theme="dark"] .create-trip-status-pill--neutral {
  background: rgba(8, 18, 32, 0.65);
  color: #c8dff7;
}

body[data-theme="dark"] .create-trip-submit-wrap {
  background: linear-gradient(180deg, rgba(23, 55, 85, 0.5), rgba(8, 18, 32, 0.65));
  border-color: rgba(135, 190, 247, 0.22);
}

body[data-theme="dark"] .create-trip-readiness-item {
  background: rgba(8, 18, 32, 0.65);
  border-color: rgba(135, 190, 247, 0.2);
  color: #9fb9d9;
}

body[data-theme="dark"] .create-trip-readiness-item.is-done {
  color: #6ee7b7;
  background: rgba(6, 78, 59, 0.45);
  border-color: rgba(52, 211, 153, 0.35);
}

body[data-theme="dark"] .create-trip-price-wrap {
  background: rgba(8, 18, 32, 0.7);
  border-color: rgba(167, 139, 250, 0.4);
}

body[data-theme="dark"] .create-trip-price-prefix {
  background: rgba(88, 28, 135, 0.25);
  color: #e9d5ff;
  border-right-color: rgba(167, 139, 250, 0.35);
}

body[data-theme="dark"] .create-trip-price-field--hero input {
  color: #e8f4fc;
}

body[data-theme="dark"] .ops-filter-pill {
  background: linear-gradient(180deg, #17314c 0%, #12263d 100%);
  color: #dbeafe;
  border-color: #4a729e;
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.18);
}

body[data-theme="dark"] .ops-filter-pill:hover {
  background: linear-gradient(180deg, #1c3d5e 0%, #16314d 100%);
  border-color: #6797c7;
  color: #ffffff;
}

body[data-theme="dark"] .ops-filter-pill strong {
  background: rgba(255, 255, 255, 0.08);
  color: #e0ecff;
}

body[data-theme="dark"] .ops-filter-pill.is-active strong {
  background: rgba(255, 255, 255, 0.22);
  color: #ffffff;
}

body[data-theme="dark"] .request-admin-toolbar {
  background: linear-gradient(135deg, color-mix(in srgb, var(--primary) 22%, #0f172a), color-mix(in srgb, var(--primary) 12%, #0f172a));
  border-color: color-mix(in srgb, var(--primary) 30%, #2a3f56);
}

body[data-theme="dark"] .request-admin-toolbar-status {
  color: #dbeafe;
}

body[data-theme="dark"] .request-ops-card .request-ops-card-trip {
  background: linear-gradient(135deg, rgba(16, 185, 129, 0.22), rgba(16, 185, 129, 0.08));
  color: #6ee7b7;
}

body[data-theme="dark"] .request-ops-card .request-ops-card-trip strong {
  color: #a7f3d0;
}

body[data-theme="dark"] .vehicle-fleet-table th {
  background: linear-gradient(180deg, rgba(26, 48, 76, 0.95), rgba(19, 37, 58, 0.92));
  color: #b8d4f0;
}

body[data-theme="dark"] .vehicle-fleet-table td {
  border-bottom-color: rgba(148, 196, 255, 0.12);
}

body[data-theme="dark"] .vehicle-fleet-table tbody tr:hover {
  background: rgba(148, 196, 255, 0.06);
}

body[data-theme="dark"] .driver-fleet-field-eyebrow {
  color: #9eb8d8;
}

body[data-theme="dark"] .driver-fleet-view-toggle {
  background: rgba(148, 196, 255, 0.06);
  border-color: rgba(148, 196, 255, 0.12);
}

body[data-theme="dark"] .trip-ops-card--vehicle .vehicle-plate-title {
  color: #e6f1ff;
}

body[data-theme="dark"] .trip-ops-card--vehicle .vehicle-occupancy-note {
  background: linear-gradient(135deg, rgba(var(--primary-rgb), 0.28), rgba(var(--primary-rgb), 0.1));
  color: #dbeafe;
}

body[data-theme="dark"] .company-logo-oval {
  background: #0f172a;
  border-color: color-mix(in srgb, var(--primary) 35%, rgba(148, 163, 184, 0.35));
}

body[data-theme="dark"] .create-trip-rate-guard {
  background: color-mix(in srgb, #ef4444 11%, transparent);
}

body[data-theme="dark"] .trip-status-select--pendiente {
  color: #fde68a;
  border-color: #c09039;
  background: linear-gradient(135deg, #5b4317, #6b4f17);
}

body[data-theme="dark"] .trip-status-select--aprobada_pendiente_asignacion,
body[data-theme="dark"] .trip-status-select--viaje_asignado,
body[data-theme="dark"] .trip-status-select--en_transito,
body[data-theme="dark"] .trip-status-select--espera_standby,
body[data-theme="dark"] .trip-status-select--completada,
body[data-theme="dark"] .trip-status-select--cerrada,
body[data-theme="dark"] .trip-status-select--cancelada,
body[data-theme="dark"] .trip-status-select--rechazada {
  color: #e8f4fc;
}

body[data-theme="dark"] .trip-status-select--aprobada_pendiente_asignacion {
  border-color: #3e88ca;
  background: linear-gradient(135deg, #173755, #1f4a72);
}

body[data-theme="dark"] .trip-status-select--viaje_asignado {
  border-color: #2f9c76;
  background: linear-gradient(135deg, #124533, #1a6147);
}

body[data-theme="dark"] .trip-status-select--en_transito {
  border-color: #3e82ca;
  background: linear-gradient(135deg, #173755, #1f4a72);
}

body[data-theme="dark"] .trip-status-select--espera_standby {
  border-color: #a5712a;
  background: linear-gradient(135deg, #5d4319, #6f4f1d);
}

body[data-theme="dark"] .trip-status-select--completada {
  border-color: #228da4;
  background: linear-gradient(135deg, #124555, #165868);
}

body[data-theme="dark"] .trip-status-select--cerrada {
  border-color: #4a5d72;
  background: linear-gradient(135deg, #273346, #1e2837);
}

body[data-theme="dark"] .trip-status-select--cancelada,
body[data-theme="dark"] .trip-status-select--rechazada {
  border-color: #c35d5d;
  background: linear-gradient(135deg, #6b2222, #7e2b2b);
}

body[data-theme="dark"] .trip-status-select option {
  color: #e2e8f0;
  background: #0f172a;
}

body[data-theme="dark"] .trips-table-wrap table thead th {
  color: #9fc3e6;
  border-bottom-color: color-mix(in srgb, var(--primary) 32%, #2a3f56);
}

body[data-theme="dark"] .trips-table-wrap table tbody tr {
  background: color-mix(in srgb, #0f172a 88%, var(--primary) 12%);
  box-shadow: 0 4px 16px rgba(2, 8, 20, 0.45);
}

body[data-theme="dark"] .trips-table-wrap table tbody td {
  border-top-color: color-mix(in srgb, var(--primary) 30%, #2a3f56);
  border-bottom-color: color-mix(in srgb, var(--primary) 30%, #2a3f56);
}

body[data-theme="dark"] .trips-table-wrap table tbody td:first-child {
  border-left-color: color-mix(in srgb, var(--primary) 30%, #2a3f56);
}

body[data-theme="dark"] .trips-table-wrap table tbody td:last-child {
  border-right-color: color-mix(in srgb, var(--primary) 30%, #2a3f56);
}

.modal {
  position: fixed;
  inset: 0;
  background: rgba(7, 30, 61, 0.55);
  backdrop-filter: blur(8px);
  display: grid;
  place-items: center;
  z-index: 400;
}

.modal-card {
  width: min(640px, 92%);
  background: var(--white);
  border-radius: var(--radius);
  border: 1px solid var(--line);
  padding: 1.4rem;
  box-shadow: 0 32px 64px rgba(7, 30, 61, 0.25);
}

.modal-card-auth {
  width: min(760px, 94%);
  max-height: min(92vh, 880px);
  border-radius: 18px;
  display: flex;
  flex-direction: column;
  min-height: 0;
  overflow: hidden;
}

.modal-card-auth .modal-head,
.modal-card-auth .tabs {
  flex-shrink: 0;
}

#auth-content {
  flex: 1 1 auto;
  min-height: 0;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
  margin-top: 0.35rem;
  padding-right: 0.2rem;
}

.auth-modal-title-wrap {
  display: grid;
  gap: 0.25rem;
}

.auth-modal-brand-logo {
  display: block;
  height: 64px;
  width: auto;
  max-width: 248px;
  object-fit: contain;
  margin: 0 0 0.55rem;
  user-select: none;
  -webkit-user-drag: none;
  filter:
    saturate(1.22)
    contrast(1.09)
    drop-shadow(0 3px 12px rgba(var(--primary-rgb), 0.35))
    drop-shadow(0 0 22px rgba(var(--primary-mid-rgb), 0.4));
}

@media (max-width: 540px) {
.auth-modal-brand-logo {
    height: 52px;
    max-width: 200px;
  }
}

.auth-modal-subtitle {
  margin: 0;
  font-size: 0.84rem;
}

#auth-modal,
#auth-modal .modal-card-auth,
#auth-content {
  writing-mode: horizontal-tb;
  direction: ltr;
  unicode-bidi: isolate;
}

.auth-modal-heading {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 0.5rem;
  margin: 0;
  flex-wrap: wrap;
  min-width: 0;
  font-size: clamp(1rem, 2.8vw, 1.15rem);
  font-weight: 700;
  color: var(--text-main, var(--text));
  line-height: 1.25;
}

.auth-modal-heading-icon {
  flex-shrink: 0;
}

.auth-modal-heading-text {
  flex: 1 1 12rem;
  min-width: 0;
}

#auth-modal .form-grid.auth-form,
#auth-modal .form-grid.auth-form-recover {
  grid-template-columns: 1fr;
}

#auth-modal .field-label {
  text-transform: none;
  font-size: 0.92rem;
  font-weight: 500;
  color: var(--text-main, var(--text));
  letter-spacing: normal;
  white-space: normal;
  word-break: normal;
  overflow-wrap: normal;
}

#auth-modal .field-label svg {
  flex-shrink: 0;
}

#auth-modal .tab {
  word-break: normal;
  hyphens: manual;
  overflow-wrap: break-word;
}

.modal-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 0.75rem;
  margin-bottom: 0.65rem;
}

.modal-head .module-panel-btn--close {
  flex: 0 0 auto;
  min-width: 2.5rem;
  min-height: 2.5rem;
  padding: 0.35rem 0.55rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

body[data-theme="dark"] .modal-discard__icon {
  background: linear-gradient(145deg, rgba(120, 53, 15, 0.55) 0%, rgba(69, 26, 3, 0.35) 100%);
  border-color: rgba(251, 191, 36, 0.3);
  color: #fbbf24;
}

body[data-theme="dark"] .modal-discard__btn--discard {
  background: linear-gradient(180deg, rgba(127, 29, 29, 0.35) 0%, rgba(69, 10, 10, 0.45) 100%);
  color: #fca5a5;
  border-color: rgba(248, 113, 113, 0.32);
}

body[data-theme="dark"] .modal-discard__btn--discard:hover {
  background: linear-gradient(180deg, rgba(153, 27, 27, 0.45) 0%, rgba(127, 29, 29, 0.5) 100%);
  color: #fecaca;
  border-color: rgba(248, 113, 113, 0.45);
}

body[data-theme="dark"] .session-idle-banner {
  background: linear-gradient(135deg, rgba(var(--primary-rgb), 0.22) 0%, rgba(15, 28, 46, 0.96) 100%);
}

.auth-form {
  gap: 0.8rem;
}

.auth-header-premium {
  margin-bottom: 0.8rem;
}

.auth-header-premium h3 {
  margin: 0;
  font-size: 1.02rem;
  color: var(--primary-dark);
}

.auth-header-premium .muted {
  margin: 0.28rem 0 0;
  font-size: 0.84rem;
}

body[data-theme="dark"] .auth-register-success-banner {
  background: linear-gradient(135deg, color-mix(in srgb, #1b8e5f 22%, #0f1f34) 0%, #0f1f34 100%);
  border-color: color-mix(in srgb, #1b8e5f 45%, #334155);
}

body[data-theme="dark"] .auth-register-success-title {
  color: #e8fdf3;
}

body[data-theme="dark"] .auth-register-success-body {
  color: #d1e8dd;
}

body[data-theme="dark"] .auth-register-success-dismiss {
  color: #e8fdf3;
  background: linear-gradient(180deg, rgba(31, 54, 79, 0.95), rgba(20, 38, 58, 0.96));
  border-color: rgba(148, 196, 255, 0.2);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.24);
}

body[data-theme="dark"] .auth-register-success-dismiss:hover {
  background: linear-gradient(180deg, rgba(40, 68, 98, 0.98), rgba(24, 45, 67, 0.98));
  border-color: rgba(148, 196, 255, 0.32);
}

body[data-theme="dark"] .users-pending-redirect {
  background: color-mix(in srgb, var(--primary) 14%, #0f1f34);
  border-color: color-mix(in srgb, #5a73d4 50%, #334155);
}

.auth-pane {
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 0.95rem;
  background: linear-gradient(180deg, #ffffff 0%, #f7fbff 68%, #eef6ff 100%);
  box-shadow:
    0 1px 0 rgba(255, 255, 255, 0.82) inset,
    0 12px 28px rgba(var(--primary-rgb), 0.08);
}

body[data-theme="dark"] #form-register .register-kind-option {
  background: rgba(14, 28, 48, 0.55);
  border-color: rgba(129, 187, 255, 0.28);
}

.phone-field-register,
.phone-field-b2b {
  min-width: 0;
}

#b2b-form .phone-input-professional .phone-cc-select {
  align-self: stretch;
  min-height: 2.75rem;
}

.phone-input-professional .phone-reg-flag-slot {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  padding: 0 0.5rem 0 0.65rem;
  border-right: 1px solid var(--line);
  background: linear-gradient(180deg, rgba(var(--primary-rgb), 0.08), rgba(var(--primary-rgb), 0.03));
}

.phone-input-professional .register-lang-flag {
  width: 20px;
  height: 20px;
  border-radius: 50%;
  display: inline-block;
  border: 1px solid rgba(10, 46, 92, 0.18);
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.15);
  flex-shrink: 0;
}

.phone-input-professional .register-lang-flag--co {
  background: linear-gradient(
    to bottom,
    #fcd116 0%,
    #fcd116 50%,
    #003893 50%,
    #003893 75%,
    #ce1126 75%,
    #ce1126 100%
  );
}

.phone-input-professional {
  display: flex;
  align-items: stretch;
  width: 100%;
  min-height: var(--reg-control-h, 2.75rem);
  height: var(--reg-control-h, 2.75rem);
  box-sizing: border-box;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  background: var(--white);
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
  overflow: hidden;
}

.phone-input-professional .phone-cc-select {
  flex: 0 1 auto;
  align-self: stretch;
  min-width: min(100%, 5.35rem);
  max-width: 6.75rem;
  min-height: 0;
  height: auto;
  margin: 0;
  padding: 0.35rem 1.95rem 0.35rem 0.45rem;
  border: none;
  border-right: 1px solid var(--line);
  border-radius: 0;
  background-color: var(--white);
  background-image: linear-gradient(180deg, rgba(var(--primary-rgb), 0.08), rgba(var(--primary-rgb), 0.03)),
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='20' viewBox='0 0 24 24' fill='none'%3E%3Cpath stroke='%23377cc0' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round' d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat, no-repeat;
  background-position: 0 0, right 0.4rem center;
  background-size: 100% 100%, 1.05rem 1.05rem;
  font-size: 0.82rem;
  font-weight: 650;
  color: var(--text-main);
  letter-spacing: normal;
  text-transform: none !important;
  cursor: pointer;
  appearance: none;
  -webkit-appearance: none;
}

.phone-input-professional .phone-national-input {
  flex: 1;
  min-width: 0;
  border: none !important;
  border-radius: 0 !important;
  box-shadow: none !important;
  padding: 0 0.75rem !important;
  min-height: 2.75rem;
  font: inherit;
  background: transparent;
  text-transform: none !important;
  letter-spacing: normal !important;
}

.phone-field-hint {
  display: block;
  margin-top: 0.32rem;
  font-size: 0.76rem;
  line-height: 1.35;
}

.auth-login-shell {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 0.9rem;
  align-items: start;
  min-width: 0;
}

.auth-login-shell > .auth-form,
.auth-login-shell > .auth-login-side {
  min-width: 0;
}

.password-field {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 0.45rem;
  align-items: center;
}

.password-field .btn {
  white-space: nowrap;
}

#auth-modal .btn {
  border-radius: 10px;
}

#auth-modal .btn.full,
#auth-modal .auth-form button[type="submit"] {
  min-height: 2.85rem;
  justify-content: center;
}

#auth-modal .auth-password-row .btn,
#auth-modal .password-field .btn {
  min-height: 2.75rem;
  padding-inline: 0.85rem;
}

[data-login-submit] {
  position: relative;
  transition: background 0.18s ease, color 0.18s ease, opacity 0.18s ease;
}

[data-login-submit] .auth-submit-content {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  justify-content: center;
}

[data-login-submit] .auth-submit-icon {
  display: inline-flex;
  align-items: center;
}

[data-login-submit] .auth-submit-spinner {
  position: absolute;
  inset: 0;
  display: none;
  align-items: center;
  justify-content: center;
  pointer-events: none;
}

.auth-field-stack {
  display: flex;
  flex-direction: column;
  gap: 0.28rem;
}

.auth-remember-row {
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
  margin: 0.15rem 0 0.25rem;
  min-width: 0;
  width: 100%;
  box-sizing: border-box;
}

.auth-remember-check {
  display: grid;
  grid-template-columns: auto 1fr;
  align-items: start;
  gap: 0.45rem;
  min-width: 0;
  font-size: 0.88rem;
  line-height: 1.35;
  font-weight: 500;
  cursor: pointer;
}

.auth-remember-check > span:last-child {
  min-width: 0;
  word-break: normal;
  overflow-wrap: break-word;
}

.auth-remember-check input[type="checkbox"] {
  margin-top: 0.12rem;
}

.auth-remember-hint {
  display: block;
  margin: 0;
  padding-left: 1.55rem;
  font-size: 0.78rem;
  line-height: 1.35;
  min-width: 0;
  word-break: normal;
  overflow-wrap: break-word;
}

.auth-plain-label .field-label {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
}

.auth-input-row {
  display: flex;
  align-items: stretch;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: #fff;
  overflow: hidden;
  min-height: 2.5rem;
}

.auth-input-row--grow {
  flex: 1;
  min-width: 0;
}

.auth-input-prefix {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 0.6rem;
  color: var(--primary);
  opacity: 0.88;
  background: rgba(var(--primary-rgb), 0.06);
  border-right: 1px solid var(--line);
  flex-shrink: 0;
}

.auth-input-prefix svg {
  width: 1.1rem;
  height: 1.1rem;
}

.auth-input-control {
  flex: 1;
  border: none;
  border-radius: 0;
  padding: 0.5rem 0.65rem;
  font: inherit;
  min-width: 0;
}

.auth-password-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
  align-items: center;
}

.auth-password-row .auth-input-row {
  flex: 1;
  min-width: 12rem;
}

.turnstile-row {
  display: flex;
  justify-content: center;
  margin: 0.5rem 0 0.2rem;
  min-height: 65px;
}

.turnstile-shell {
  width: 100%;
  max-width: 356px;
  display: grid;
  gap: 0.55rem;
  padding: 0.72rem 0.82rem 0.8rem;
  border-radius: 14px;
  border: 1px solid rgba(var(--primary-rgb), 0.16);
  background: linear-gradient(180deg, #f8fbff 0%, #eef6ff 100%);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.72),
    0 6px 20px rgba(24, 78, 143, 0.06);
}

.turnstile-shell-label {
  display: inline-flex;
  align-items: center;
  width: fit-content;
  margin: 0 auto;
  padding: 0.2rem 0.58rem;
  border-radius: 999px;
  background: rgba(var(--primary-rgb), 0.09);
  color: #1f4d81;
  font-size: 0.69rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.turnstile-row .cf-turnstile {
  width: 100%;
  max-width: 320px;
  display: flex;
  justify-content: center;
  margin: 0 auto;
}

body[data-theme="dark"] .turnstile-shell {
  border-color: #476b93;
  background: linear-gradient(180deg, rgba(20, 41, 67, 0.96) 0%, rgba(16, 32, 53, 0.98) 100%);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.04),
    0 10px 24px rgba(0, 0, 0, 0.22);
}

body[data-theme="dark"] .turnstile-shell-label {
  background: rgba(117, 176, 244, 0.14);
  color: #b6ddff;
}

@keyframes password-strength-flow {
  0% {
    background-position: 0% 50%;
  }
  100% {
    background-position: 200% 50%;
  }
}

@keyframes password-pill-glow {
  0%,
  100% {
    box-shadow: 0 0 14px rgba(16, 185, 129, 0.22);
  }
  50% {
    box-shadow: 0 0 26px rgba(52, 211, 153, 0.45);
  }
}

.tabs {
  display: flex;
  gap: 0.4rem;
  margin-bottom: 1rem;
  background: linear-gradient(180deg, #f5f9fd, #edf4fb);
  padding: 0.3rem;
  border-radius: var(--radius-sm);
  border: 1px solid color-mix(in srgb, var(--primary) 12%, var(--line));
  box-shadow: 0 8px 18px rgba(var(--primary-rgb), 0.06);
}

.tab {
  border: 1px solid transparent;
  border-radius: 10px;
  background: transparent;
  padding: 0.5rem 0.8rem;
  cursor: pointer;
  font-weight: 700;
  font-size: 0.88rem;
  color: var(--primary-dark);
  transition:
    background 0.18s ease,
    border-color 0.18s ease,
    color 0.18s ease,
    box-shadow 0.18s ease,
    transform 0.16s ease;
}

.tab.active {
  background: linear-gradient(180deg, #4a8fd4 0%, var(--primary) 55%, var(--primary-dark) 100%);
  color: var(--white);
  border-color: color-mix(in srgb, var(--primary-deeper) 20%, transparent);
  box-shadow: 0 10px 22px rgba(var(--primary-rgb), 0.2);
}

@media (max-width: 720px) {
#auth-modal.modal {
    display: flex;
    align-items: flex-start;
    justify-content: center;
    padding: max(0.45rem, env(safe-area-inset-top, 0px)) max(0.45rem, env(safe-area-inset-right, 0px))
      max(0.45rem, env(safe-area-inset-bottom, 0px)) max(0.45rem, env(safe-area-inset-left, 0px));
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    box-sizing: border-box;
  }
.modal-card-auth {
    width: 100%;
    max-width: 100%;
    max-height: none;
    margin: 0 auto;
    padding: 1rem 0.85rem 1.05rem;
    border-radius: 16px;
  }
.modal-card-auth .modal-head {
    flex-wrap: wrap;
    gap: 0.5rem;
    align-items: flex-start;
  }
.auth-modal-title-wrap {
    min-width: 0;
    flex: 1 1 10rem;
  }
.modal-card-auth .modal-head .auth-modal-heading {
    font-size: clamp(0.92rem, 4.2vw, 1.12rem);
    line-height: 1.28;
  }
.auth-modal-subtitle {
    font-size: 0.8rem;
    line-height: 1.35;
  }
#auth-modal .tabs {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 0.3rem;
    margin-bottom: 0.65rem;
    padding: 0.25rem;
  }
#auth-modal .tab {
    padding: 0.48rem 0.3rem;
    font-size: 0.76rem;
    line-height: 1.25;
    text-align: center;
    min-height: 2.65rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    word-break: normal;
    hyphens: none;
    overflow-wrap: break-word;
  }
#auth-content {
    margin-top: 0.2rem;
    padding-right: 0;
  }
.auth-header-premium h3 {
    font-size: 0.98rem;
  }
.auth-header-premium .muted {
    font-size: 0.8rem;
  }
.auth-pane {
    padding: 0.85rem 0.8rem;
  }
.auth-form,
  .auth-form-recover {
    gap: 0.65rem;
  }
.auth-password-row .auth-input-row {
    min-width: 0;
    flex: 1 1 100%;
  }
.auth-password-row .btn.btn-action {
    flex: 1 1 auto;
    min-width: min(100%, 8rem);
  }
}

@keyframes b2b-spin {
  to {
    transform: rotate(360deg);
  }
}

body[data-theme="dark"] .b2b-leads-loading {
  background: linear-gradient(120deg, rgba(var(--primary-rgb), 0.12), rgba(15, 23, 42, 0.65));
  border-color: rgba(148, 163, 184, 0.25);
}

body[data-theme="dark"] .b2b-leads-live-pill {
  border-color: rgba(248, 113, 113, 0.45);
  color: #fca5a5;
  background: rgba(248, 113, 113, 0.12);
}

body[data-theme="dark"] .b2b-leads-live-pill--ok {
  border-color: rgba(52, 211, 153, 0.55);
  color: #86efac;
  background: rgba(16, 185, 129, 0.12);
}

body[data-theme="dark"] .b2b-leads-card {
  background: linear-gradient(175deg, rgba(22, 32, 54, 0.98), rgba(15, 23, 42, 0.95));
  border-color: rgba(148, 163, 184, 0.2);
}

body[data-theme="dark"] .b2b-leads-avatar {
  background: linear-gradient(140deg, rgba(var(--primary-rgb), 0.35), rgba(30, 64, 175, 0.25));
  color: #e2e8f0;
  border-color: rgba(148, 163, 184, 0.25);
}

body[data-theme="dark"] .b2b-chip {
  background: rgba(59, 130, 246, 0.12);
  color: #bae6fd;
  border-color: rgba(148, 163, 184, 0.25);
}

body[data-theme="dark"] .b2b-chip-strong {
  background: rgba(59, 130, 246, 0.28);
}

body[data-theme="dark"] .b2b-leads-when {
  background: rgba(255, 255, 255, 0.06);
  color: #cbd5e1;
}

body[data-theme="dark"] .b2b-leads-brief {
  background: rgba(15, 23, 42, 0.6);
  border-color: rgba(148, 163, 184, 0.2);
}

@media (max-width: 900px) {
.auth-login-shell {
    grid-template-columns: 1fr;
  }
}

.site-footer {
  padding: 4rem 0 0;
  background: var(--gradient-dark-section);
  color: var(--white);
  position: relative;
  overflow: hidden;
}

.site-footer::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(
    90deg,
    #1d4f86 0%,
    #377cc0 28%,
    #7db4e8 55%,
    #c4e0fa 78%,
    transparent 100%
  );
  z-index: 2;
}

.site-footer::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    radial-gradient(420px 260px at 10% -5%, rgba(125, 180, 232, 0.16), transparent 70%),
    radial-gradient(560px 340px at 92% 115%, rgba(55, 124, 192, 0.14), transparent 72%);
}

.footer-bg-truck {
  position: absolute;
  right: -20px;
  bottom: 40px;
  width: 250px;
  height: 250px;
  opacity: 0.05;
  color: white;
  pointer-events: none;
}

.footer-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: clamp(1.5rem, 3vw, 2.25rem);
  align-items: start;
}

@media (min-width: 880px) {
.footer-grid {
    grid-template-columns: minmax(280px, 1.35fr) minmax(140px, 0.75fr) minmax(140px, 0.75fr);
    align-items: start;
    gap: clamp(2rem, 4vw, 3rem);
  }
.footer-brand-logo-wrap {
    width: min(100%, 300px);
  }
.footer-brand-copy,
  .footer-brand-contact {
    max-width: 24rem;
  }
}

.footer-col-brand {
  display: flex;
  flex-direction: column;
  min-width: 0;
}

.footer-brand {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 1rem;
  margin-bottom: 0;
  width: 100%;
}

.footer-brand-logo-wrap {
  display: block;
  flex: 0 0 auto;
  width: min(100%, 280px);
  min-width: 0;
  line-height: 0;
  padding: 0.9rem 1.25rem;
  border-radius: 16px;
  background: linear-gradient(160deg, #ffffff 0%, #eaf3fc 100%);
  border: 1px solid rgba(255, 255, 255, 0.55);
  box-shadow:
    0 14px 30px rgba(2, 14, 28, 0.38),
    inset 0 1px 0 rgba(255, 255, 255, 0.9);
}

.footer-brand-logo {
  display: block;
  width: 100%;
  height: auto;
  object-fit: contain;
  object-position: left center;
  user-select: none;
  -webkit-user-drag: none;
}

.footer-brand-copy {
  flex: 0 1 auto;
  min-width: 0;
  max-width: 22rem;
}

.footer-brand-copy p {
  margin: 0;
  font-size: clamp(0.95rem, 1.35vw, 1.08rem);
  line-height: 1.55;
  color: rgba(255, 255, 255, 0.82);
}

.footer-brand-contact {
  margin-top: 1.25rem;
  max-width: 22rem;
}

.footer-brand h3 {
  margin: 0;
  font-size: 1.15rem;
}

.site-footer h4 {
  position: relative;
  display: inline-block;
  font-size: 0.84rem;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: rgba(255, 255, 255, 0.9);
  margin: 0 0 1.1rem;
  padding-bottom: 0.55rem;
}

.site-footer h4::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 2.2rem;
  height: 3px;
  border-radius: 3px;
  background: linear-gradient(90deg, var(--accent, #7db4e8), transparent);
}

.site-footer p {
  margin: 0.3rem 0;
  color: rgba(255,255,255,0.7);
  font-size: 0.9rem;
}

.footer-links {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
}

.footer-links a {
  position: relative;
  display: inline-block;
  color: rgba(255, 255, 255, 0.74);
  font-size: 0.9rem;
  text-decoration: none;
  padding-left: 0;
  transition: color 0.2s ease, padding-left 0.2s ease;
}

.footer-links a::before {
  content: "";
  position: absolute;
  left: 0;
  top: 50%;
  width: 0;
  height: 2px;
  border-radius: 2px;
  background: var(--accent, #7db4e8);
  transform: translateY(-50%);
  transition: width 0.2s ease;
}

.footer-contact-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
}

.footer-contact-item {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  color: rgba(255, 255, 255, 0.74);
  font-size: 0.9rem;
  line-height: 1.45;
}

.footer-contact-item a {
  color: rgba(255, 255, 255, 0.88);
  text-decoration: none;
  overflow-wrap: anywhere;
}

.footer-contact-icon {
  width: 32px;
  height: 32px;
  padding: 8px;
  border-radius: 10px;
  background: rgba(125, 180, 232, 0.12);
  border: 1px solid rgba(125, 180, 232, 0.25);
  color: var(--accent, #7db4e8);
  flex: 0 0 auto;
  box-sizing: border-box;
}

.footer-social {
  display: flex;
  gap: 0.6rem;
  margin-top: 0.3rem;
}

.footer-social a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  border-radius: 12px;
  background: rgba(255,255,255,0.07);
  border: 1px solid rgba(255,255,255,0.12);
  color: rgba(255,255,255,0.75);
  text-decoration: none;
  transition: transform 0.2s ease, background 0.2s ease, border-color 0.2s ease,
    color 0.2s ease, box-shadow 0.2s ease;
}

.footer-social-icon {
  width: 19px;
  height: 19px;
}

.footer-bottom {
  position: relative;
  margin-top: 3rem;
  padding: 1.2rem 0;
  border-top: 1px dashed rgba(255, 255, 255, 0.22);
  background: rgba(0, 0, 0, 0.22);
  font-size: 0.9rem;
  line-height: 1.5;
  color: rgba(255, 255, 255, 0.55);
}

.footer-road-truck {
  position: absolute;
  top: -27px;
  left: 0;
  width: 30px;
  height: 30px;
  color: rgba(157, 197, 238, 0.7);
  pointer-events: none;
  transform: translateX(-48px);
  animation: footer-truck-drive 18s linear infinite;
}

@keyframes footer-truck-drive {
  from { transform: translateX(-48px); }
  to { transform: translateX(calc(100vw + 48px)); }
}

.footer-bottom-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.6rem 1.5rem;
}

.footer-top-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.42rem 0.9rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.07);
  border: 1px solid rgba(255, 255, 255, 0.14);
  color: rgba(255, 255, 255, 0.82);
  font-size: 0.84rem;
  text-decoration: none;
  transition: background 0.2s ease, border-color 0.2s ease, color 0.2s ease;
}

.footer-top-icon {
  width: 14px;
  height: 14px;
  flex: 0 0 auto;
}

@media (max-width: 600px) {
.footer-brand-logo-wrap {
    width: min(100%, 250px);
    padding: 0.75rem 1rem;
  }
.footer-brand-copy,
  .footer-brand-contact {
    max-width: none;
  }
.footer-bottom-inner {
    flex-direction: column;
    text-align: center;
  }
}

.whatsapp-fab {
  position: fixed;
  right: 1.2rem;
  bottom: 1.2rem;
  z-index: 40;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 4.1rem;
  height: 4.1rem;
  border-radius: 50%;
  padding: 0.55rem;
  text-decoration: none;
  color: #ffffff;
  background: linear-gradient(135deg, rgba(7, 32, 28, 0.96), rgba(18, 140, 126, 0.94));
  border: 1px solid rgba(255, 255, 255, 0.14);
  box-shadow:
    0 18px 44px rgba(6, 24, 22, 0.28),
    0 10px 26px rgba(18, 140, 126, 0.24);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  overflow: hidden;
  isolation: isolate;
  transition:
    transform 0.25s ease,
    box-shadow 0.25s ease,
    border-color 0.25s ease,
    background 0.25s ease;
}

.whatsapp-fab::before {
  content: "";
  position: absolute;
  right: -18%;
  bottom: -65%;
  width: 7rem;
  height: 7rem;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(37, 211, 102, 0.42) 0%, rgba(37, 211, 102, 0) 68%);
  z-index: -1;
  animation: whatsappPulse 3s ease-in-out infinite;
}

.whatsapp-fab::after {
  content: "";
  position: absolute;
  inset: 1px;
  border-radius: calc(1.5rem - 1px);
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.14), rgba(255, 255, 255, 0) 55%);
  z-index: -1;
}

.whatsapp-fab-icon-wrap {
  display: grid;
  place-items: center;
  width: 2.95rem;
  height: 2.95rem;
  min-width: 2.95rem;
  border-radius: 50%;
  background: linear-gradient(135deg, #25d366, #1faa74);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.35),
    0 10px 22px rgba(37, 211, 102, 0.32);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.whatsapp-fab-icon {
  width: 1.28rem;
  height: 1.28rem;
  min-width: 1.28rem;
}

@keyframes pulseFloat {
  0%, 100% { transform: translateY(0) scale(1); }
  50% { transform: translateY(-12px) scale(1.03); }
}

@keyframes floatSlow {
  0%, 100% { transform: translateY(0) rotate(0deg); }
  33% { transform: translateY(-15px) rotate(2deg); }
  66% { transform: translateY(8px) rotate(-1deg); }
}

@keyframes marquee {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

@keyframes whatsappPulse {
  0%, 100% { transform: scale(1); opacity: 0.8; }
  50% { transform: scale(1.18); opacity: 1; }
}

@keyframes truckDrive {
  0% { transform: translateX(-100%); }
  100% { transform: translateX(calc(100vw + 100%)); }
}

.hero-truck-anim {
  position: absolute;
  bottom: 8%;
  left: 0;
  width: 60px;
  height: 60px;
  color: rgba(255,255,255,0.06);
  animation: truckDrive 18s linear infinite;
  pointer-events: none;
}

@keyframes publicNavDrawerIn {
  from {
    opacity: 0;
    transform: translateY(-10px);
    filter: blur(2px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
    filter: blur(0);
  }
}

@keyframes portalNavLinkIn {
  from {
    opacity: 0;
    transform: translateX(-10px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@media (prefers-reduced-motion: reduce) {
@media (max-width: 920px) {
body:not(.portal-mode) #main-nav.nav-open {
      animation: none !important;
    }
}
body.portal-drawer-open #portal-sidebar .side-link {
    animation: none !important;
  }
}

@media (max-width: 920px) {
.nav-controls {
    order: 4;
    width: 100%;
    justify-content: flex-end;
    margin-top: 0.35rem;
  }
.theme-option,
  .lang-option {
    width: 30px;
    height: 30px;
    font-size: 0.85rem;
  }
body.portal-drawer-open .portal-nav-backdrop {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
  }
body.portal-drawer-open {
    overflow: hidden;
    overscroll-behavior: none;
  }
body.portal-drawer-open #portal-sidebar.sidebar {
    transform: translateX(0);
    box-shadow:
      24px 0 56px rgba(0, 0, 0, 0.6),
      0 0 0 1px rgba(147, 197, 255, 0.12) inset;
  }
body.portal-drawer-open #portal-sidebar .side-link {
    animation: portalNavLinkIn 0.42s cubic-bezier(0.22, 1, 0.36, 1) both;
  }
.hero { min-height: 85vh; }
.hero h1 { font-size: clamp(1.6rem, 6vw, 2.4rem); }
.hero-floating-1 { width: 120px; height: 120px; }
.hero-floating-2 { width: 80px; height: 80px; }
.hero-floating-3 { display: none; }
.hero-aurora-left { width: 250px; height: 250px; }
.hero-aurora-right { width: 300px; height: 300px; }
.section { padding: 3rem 0; }
.section-head h2 { font-size: 1.5rem; }
.whatsapp-fab {
    bottom: 0.8rem;
    right: 0.8rem;
    width: 3.5rem;
    height: 3.5rem;
    padding: 0.42rem;
  }
.whatsapp-fab-icon-wrap {
    width: 2.5rem;
    height: 2.5rem;
    min-width: 2.5rem;
  }
.footer-bg-truck { width: 150px; height: 150px; }
}

@media (max-width: 1320px) {
#open-auth {
    padding: 0.52rem 0.82rem;
    font-size: 0.82rem;
  }
}

@media (max-width: 480px) {
.hero-stats { grid-template-columns: 1fr; }
.grid-3, .grid-4 { grid-template-columns: 1fr; }
.coverage-grid { grid-template-columns: 1fr; }
}

body {
  background:
    radial-gradient(1200px 500px at 100% -10%, rgba(var(--primary-mid-rgb), 0.15), transparent 70%),
    radial-gradient(900px 450px at -10% 20%, rgba(10, 46, 92, 0.16), transparent 72%),
    #f5f9ff;
}

.hero::after {
  content: "";
  position: absolute;
  inset: auto 0 -1px 0;
  height: 120px;
  background: linear-gradient(180deg, transparent 0%, rgba(245, 249, 255, 0.92) 100%);
  pointer-events: none;
}

.section,
.portal-main {
  position: relative;
}

.section::before,
.portal-main::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background-image:
    linear-gradient(rgba(var(--primary-rgb), 0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(var(--primary-rgb), 0.03) 1px, transparent 1px);
  background-size: 44px 44px;
  mask-image: linear-gradient(180deg, rgba(0, 0, 0, 0.35), transparent 90%);
}

body[data-theme="dark"] .portal-layout {
  background: linear-gradient(180deg, #071120 0%, #0d1d33 100%);
}

body[data-theme="dark"] .portal-main {
  background: #112136;
}

body[data-theme="dark"] .p-card,
body[data-theme="dark"] .kpi,
body[data-theme="dark"] .table-wrap,
body[data-theme="dark"] .card {
  background: #182a41;
  border-color: #345577;
  color: var(--text);
}

body[data-theme="dark"] .p-card-header {
  background: linear-gradient(135deg, #1a304b, #203b5b);
}

body[data-theme="dark"] .portal-header h1 {
  color: #dcecff;
}

body[data-theme="dark"] tbody tr:hover {
  background: #233d5c;
}

body[data-theme="dark"] table th,
body[data-theme="dark"] table td,
body[data-theme="dark"] .p-card-header h2,
body[data-theme="dark"] .kpi-data b,
body[data-theme="dark"] .kpi-data .kpi-value,
body[data-theme="dark"] .dash-stat-value {
  color: #e6f0ff;
}

body[data-theme="dark"] .muted,
body[data-theme="dark"] .p-card-header p,
body[data-theme="dark"] .kpi-data span,
body[data-theme="dark"] .p-form label,
body[data-theme="dark"] .card p,
body[data-theme="dark"] .card li,
body[data-theme="dark"] .table-wrap tbody td {
  color: #c3d7ef;
}

body[data-theme="dark"] .module-filters {
  background: linear-gradient(135deg, rgba(15, 36, 61, 0.95), rgba(14, 30, 50, 0.98));
  border-color: rgba(68, 125, 189, 0.45);
  box-shadow: 0 12px 28px rgba(2, 8, 18, 0.42);
}

body[data-theme="dark"] .module-filters-title {
  color: #d7e8ff;
}

body[data-theme="dark"] .module-filters-count {
  color: #c9dcfb;
  background: rgba(18, 39, 65, 0.9);
  border-color: rgba(89, 141, 205, 0.45);
}

body[data-theme="dark"] .module-filter-field span {
  color: #9ec1ec;
}

body[data-theme="dark"] .module-filter-field input,
body[data-theme="dark"] .module-filter-field select,
body[data-theme="dark"] .filter-pill {
  background: rgba(14, 30, 51, 0.96);
  color: #dfecff;
  border-color: rgba(72, 124, 186, 0.5);
}

body[data-theme="dark"] .theme-option.active,
body[data-theme="dark"] .lang-option.active {
  background: rgba(59, 130, 246, 0.35);
}

body[data-theme="dark"] .section,
body[data-theme="dark"] .section-light,
body[data-theme="dark"] .section-trusted,
body[data-theme="dark"] .section-gallery,
body[data-theme="dark"] .section-process,
body[data-theme="dark"] #about,
body[data-theme="dark"] #fleet,
body[data-theme="dark"] #news,
body[data-theme="dark"] #careers,
body[data-theme="dark"] #contact {
  background: #10243b !important;
}

body[data-theme="dark"] .section h2,
body[data-theme="dark"] .section h3,
body[data-theme="dark"] .section strong,
body[data-theme="dark"] .section-head p {
  color: #eaf2ff;
}

body[data-theme="dark"] .wave-divider path {
  fill: #10243b !important;
}

body[data-theme="dark"] .section-head p,
body[data-theme="dark"] .section p,
body[data-theme="dark"] .muted {
  color: #c8dcf3 !important;
}

body[data-theme="dark"] .section-trusted .logo-marquee {
  background: #132940;
  border-color: #3a5d84;
}

body[data-theme="dark"] .section-trusted .logo-pill {
  background: #1a3552;
  border-color: #4873a3;
  color: #e8f2ff;
}

body[data-theme="dark"] .section-trusted .ally-logo {
  background: #10243a;
  border-color: rgba(129, 187, 255, 0.32);
  box-shadow: 0 3px 12px rgba(0, 0, 0, 0.28);
}

body[data-theme="dark"] .mini-metric h3 {
  color: #9cc9ff;
}

body[data-theme="dark"] .mini-metric-icon {
  background: #1e3b5b;
  color: #8ec1ff;
}

body[data-theme="dark"] .hierarchy-card {
  background: linear-gradient(165deg, #162a41 0%, #1c3550 85%);
  border-color: #3c5f86;
}

body[data-theme="dark"] .role-badge {
  background: rgba(115, 178, 255, 0.12);
  border-color: rgba(135, 188, 255, 0.35);
  color: #d8e9ff;
}

body[data-theme="dark"] .hierarchy-card h3 {
  color: #eaf3ff;
}

body[data-theme="dark"] .photo-note {
  color: #afc8e5;
}

body[data-theme="dark"] .process-step {
  background: rgba(127, 181, 245, 0.16);
  border-color: rgba(140, 188, 245, 0.42);
  color: #d8ebff;
}

body[data-theme="dark"] input,
body[data-theme="dark"] select,
body[data-theme="dark"] textarea {
  background: #1a314c;
  color: #ecf4ff;
  border-color: #49719c;
}

body[data-theme="dark"] #contact .form-grid label {
  background: linear-gradient(180deg, rgba(18, 38, 60, 0.96), rgba(14, 31, 49, 0.96));
  border-color: #496d97;
  box-shadow: 0 6px 16px rgba(2, 9, 18, 0.3);
}

body[data-theme="dark"] #contact .contact-form-subtitle {
  color: #c7ddf6;
}

body[data-theme="dark"] #contact .contact-trust-pill {
  color: #d6e9ff;
  background: rgba(117, 176, 244, 0.16);
  border-color: rgba(133, 188, 247, 0.36);
}

body[data-theme="dark"] #contact .contact-step-chip {
  color: #d2e7ff;
  background: rgba(117, 176, 244, 0.12);
  border-color: rgba(133, 188, 247, 0.28);
}

body[data-theme="dark"] #contact .form-grid input,
body[data-theme="dark"] #contact .form-grid select,
body[data-theme="dark"] #contact .form-grid textarea {
  background: #1a314c;
  border-color: #537da8;
  color: #edf5ff;
}

body[data-theme="dark"] #contact .contact-submit-wrap .muted {
  color: #bfd6f1 !important;
}

body[data-theme="dark"] #contact .b2b-form-feedback--success {
  background: rgba(34, 197, 94, 0.16);
  border-color: rgba(74, 222, 128, 0.45);
  color: #bbf7d0;
}

body[data-theme="dark"] #contact .b2b-form-feedback--error {
  background: rgba(239, 68, 68, 0.14);
  border-color: rgba(248, 113, 113, 0.45);
  color: #fecaca;
}

body[data-theme="dark"] .field-error {
  color: #ffb5b5;
}

body[data-theme="dark"] .field-invalid {
  border-color: #d97878 !important;
  box-shadow: 0 0 0 3px rgba(217, 120, 120, 0.18) !important;
}

body[data-theme="dark"] input::placeholder,
body[data-theme="dark"] textarea::placeholder {
  color: #a9c0db;
}

body[data-theme="dark"] .news-tag {
  background: rgba(85, 155, 230, 0.18);
  border-color: rgba(124, 183, 245, 0.38);
  color: #ddecff;
}

body[data-theme="dark"] .news-quote {
  background: rgba(79, 141, 212, 0.12);
  border-left-color: rgba(136, 189, 249, 0.55);
  color: #e5f2ff;
}

body[data-theme="dark"] .news-video-wrap {
  background: transparent;
  border-color: #3d6188;
}

body[data-theme="dark"] .news-video-wrap video {
  background: #000;
  filter: saturate(1.12) contrast(1.08) brightness(1.06);
}

body[data-theme="dark"] .news-video-wrap video.video-highlight-white {
  filter: saturate(1.16) contrast(1.1) brightness(1.14);
}

body[data-theme="dark"] .news-relevance-card {
  border-color: rgba(116, 176, 245, 0.35);
  background: linear-gradient(145deg, rgba(28, 61, 96, 0.78), rgba(15, 35, 58, 0.74));
  box-shadow: 0 14px 28px rgba(0, 0, 0, 0.34);
}

body[data-theme="dark"] .news-super-kicker {
  background: linear-gradient(135deg, #1a6fc5, #12365f);
  box-shadow: 0 10px 20px rgba(8, 19, 34, 0.44);
}

body[data-theme="dark"] .news-hero-title {
  color: #eaf4ff;
}

body[data-theme="dark"] .news-proof-card {
  border-color: rgba(126, 181, 245, 0.28);
  background: rgba(14, 33, 52, 0.78);
}

body[data-theme="dark"] .news-proof-card span {
  color: #9fc9f6;
}

body[data-theme="dark"] .news-proof-card strong {
  color: #d4e9ff;
}

body[data-theme="dark"] .news-case-col {
  border-color: rgba(126, 181, 245, 0.28);
  background: rgba(14, 33, 52, 0.78);
}

body[data-theme="dark"] .news-case-col h4 {
  color: #c7e3ff;
}

body[data-theme="dark"] .news-timeline {
  color: #d3e8ff;
}

body[data-theme="dark"] .news-route-map {
  color: #d5e9ff;
}

body[data-theme="dark"] .news-route-map span:not(.route-arrow) {
  background: rgba(67, 123, 189, 0.22);
  border-color: rgba(126, 181, 245, 0.28);
}

body[data-theme="dark"] .route-arrow {
  color: #a7cff7;
}

body[data-theme="dark"] .before-after-card {
  border-color: rgba(126, 181, 245, 0.25);
  background: rgba(16, 36, 58, 0.82);
}

body[data-theme="dark"] .before-after-card h4 {
  color: #d4e9ff;
}

body[data-theme="dark"] .before-after-card p {
  color: #c6def8;
}

body[data-theme="dark"] .news-relevance-card h3 {
  color: #e4f0ff;
}

body[data-theme="dark"] .news-relevance-card p {
  color: #c7def9;
}

body[data-theme="dark"] .news-quote-panel {
  border-color: rgba(126, 181, 245, 0.3);
  background: linear-gradient(160deg, rgba(17, 36, 58, 0.92), rgba(11, 24, 40, 0.94));
  box-shadow: 0 16px 30px rgba(0, 0, 0, 0.34);
}

body[data-theme="dark"] .news-quote-panel h4 {
  color: #e7f2ff;
}

body[data-theme="dark"] .news-quote-panel .muted {
  color: #b7d3f0;
}

body[data-theme="dark"] .news-lead-badge {
  border-color: rgba(140, 193, 250, 0.36);
  background: rgba(33, 73, 110, 0.58);
  color: #def0ff;
}

body[data-theme="dark"] .news-quote-signature {
  border-top-color: rgba(133, 186, 246, 0.35);
  color: #cce4ff;
}

body[data-theme="dark"] .news-signature-mark {
  background: rgba(118, 174, 239, 0.2);
  border-color: rgba(141, 192, 248, 0.4);
  color: #e0f1ff;
}

body[data-theme="dark"] .news-closing-note {
  border-color: rgba(126, 181, 245, 0.32);
  background: linear-gradient(160deg, rgba(21, 45, 73, 0.86), rgba(13, 31, 49, 0.9));
  color: #d3e9ff;
}

body[data-theme="dark"] .news-plate-chip {
  border-color: rgba(150, 197, 251, 0.4);
  background: rgba(13, 30, 48, 0.72);
  color: #d9ebff;
}

body[data-theme="dark"] .news-media-highlight {
  box-shadow: 0 18px 34px rgba(0, 0, 0, 0.34);
}

body[data-theme="dark"] .news-media-highlight .news-media-copy {
  background: linear-gradient(180deg, rgba(21, 42, 64, 0.9), rgba(16, 34, 53, 0.95));
}

body[data-theme="dark"] .news-evidence-gallery {
  background: linear-gradient(180deg, #17314d, #122842);
}

body[data-theme="dark"] .news-evidence-hook {
  background: linear-gradient(135deg, #143a5c 0%, #1a5082 55%, #122a42 100%);
  border-color: rgba(130, 188, 248, 0.28);
}

body[data-theme="dark"] .news-evidence-frame {
  background: linear-gradient(180deg, #132940, #0f2237);
}

body[data-theme="dark"] .news-media .news-evidence-gallery--stack .news-evidence-frame img {
  background: transparent;
  filter: saturate(1.12) contrast(1.08) brightness(1.04);
}

body[data-theme="dark"] .news-media .news-evidence-gallery:not(.news-evidence-gallery--stack) .news-evidence-frame img.news-img-truck {
  background: linear-gradient(180deg, #132940, #0f2237);
}

body[data-theme="dark"] .news-evidence-frame + .news-evidence-frame {
  border-top-color: rgba(255, 255, 255, 0.1);
}

@media (max-width: 900px) {
.news-proof-grid {
    grid-template-columns: 1fr;
  }
}

body[data-theme="dark"] .news-media img {
  background: linear-gradient(180deg, #132940, #0f2237);
  filter: saturate(1.14) contrast(1.09) brightness(1.07);
}

body[data-theme="dark"] .news-media img.news-img-truck {
  filter: saturate(1.18) contrast(1.1) brightness(1.13);
}

body[data-theme="dark"] .news-media img.news-img-brand {
  filter: saturate(1.2) contrast(1.11) brightness(1.1);
}

body[data-theme="dark"] .impact-chip,
body[data-theme="dark"] .success-case-metrics span {
  background: rgba(113, 170, 240, 0.16);
  border-color: rgba(133, 187, 247, 0.35);
  color: #dcedff;
}

body[data-theme="dark"] .btn-outline,
body[data-theme="dark"] .btn-text {
  background: transparent;
  border-color: #4a729e;
  color: #e6f1ff;
}

body[data-theme="dark"] .btn-outline {
  background: linear-gradient(180deg, #17314c 0%, #12263d 100%);
  box-shadow: 0 10px 22px rgba(0, 0, 0, 0.22);
}

body[data-theme="dark"] .btn-outline:hover {
  background: linear-gradient(180deg, #1c3d5e 0%, #16314d 100%);
  border-color: #6797c7;
  color: #ffffff;
}

body[data-theme="dark"] .btn-text {
  border-color: transparent;
  box-shadow: none;
}

body[data-theme="dark"] .btn-text:hover {
  background: rgba(var(--primary-rgb), 0.16);
  color: #ffffff;
}

body[data-theme="dark"] .btn-action {
  background: linear-gradient(180deg, #3f86cf 0%, #2d6cab 100%);
  border-color: rgba(168, 211, 255, 0.26);
  color: #f4f9ff;
  box-shadow: 0 12px 24px rgba(6, 20, 38, 0.28);
}

body[data-theme="dark"] .btn-action:hover {
  background: linear-gradient(180deg, #4b94dd 0%, #3377ba 100%);
  border-color: rgba(189, 223, 255, 0.34);
}

body[data-theme="dark"] .btn-primary {
  background: linear-gradient(180deg, #4b93da 0%, #3473b4 100%);
  border-color: rgba(168, 211, 255, 0.22);
  box-shadow: 0 14px 28px rgba(6, 20, 38, 0.3);
}

body[data-theme="dark"] .btn-primary:hover {
  background: linear-gradient(180deg, #5aa4ea 0%, #3a7bbd 100%);
}

body[data-theme="dark"] .btn-approve {
  box-shadow: 0 12px 24px rgba(5, 35, 23, 0.32);
}

body[data-theme="dark"] .btn-reject {
  box-shadow: 0 12px 24px rgba(49, 11, 11, 0.28);
}

.btn {
  font-weight: 700;
  letter-spacing: 0.2px;
}

body[data-theme="dark"] .p-form label {
  background: linear-gradient(180deg, rgba(18, 38, 60, 0.96), rgba(15, 33, 52, 0.96));
  border-color: #466a93;
}

body[data-theme="dark"] .p-form input,
body[data-theme="dark"] .p-form select,
body[data-theme="dark"] .p-form textarea {
  background: #1a314c;
  color: #ecf4ff;
  border-color: #4f78a5;
}

@keyframes moduleFadeUp {
  from { opacity: 0; transform: translateY(14px) scale(0.99); }
  to { opacity: 1; transform: translateY(0) scale(1); }
}

.careers-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 1.25rem;
}

.careers-card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 1.35rem 1.4rem;
  box-shadow: var(--shadow-card);
  border: 1px solid var(--line);
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
}

.section-news {
  background: linear-gradient(180deg, #F7FBFF 0%, #EFF6FF 100%);
}

.section-careers {
  background: linear-gradient(180deg, #F7FBFF 0%, #EFF6FF 100%);
}

.news-magazine {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.25rem;
  align-items: stretch;
}

.news-magazine-continued {
  grid-column: 1 / -1;
  margin-top: 0;
}

.news-magazine-lead .news-proof-grid {
  margin-bottom: 0;
}

@media (max-width: 960px) {
.news-magazine {
    grid-template-columns: 1fr;
  }
.news-magazine-lead {
    order: 1;
  }
.news-magazine-continued {
    order: 3;
  }
}

.section-process {
  background: linear-gradient(180deg, #eef5ff 0%, #e3eefb 100%);
}

.process-card {
  position: relative;
  padding-top: 2.6rem;
}

.process-step {
  position: absolute;
  top: 0.85rem;
  right: 0.9rem;
  font-size: 0.78rem;
  font-weight: 800;
  color: #3a6ea7;
  background: rgba(var(--primary-rgb), 0.12);
  border: 1px solid rgba(var(--primary-rgb), 0.2);
  border-radius: 999px;
  padding: 0.18rem 0.5rem;
}

.news-card {
  border-top: 3px solid var(--primary);
  padding-top: 1.2rem;
}

.news-super-kicker {
  display: inline-flex;
  align-items: center;
  margin-bottom: 0.45rem;
  padding: 0.28rem 0.62rem;
  border-radius: 999px;
  font-size: 0.68rem;
  letter-spacing: 0.08em;
  font-weight: 800;
  color: #ffffff;
  background: linear-gradient(135deg, #0a4f91, #0b2340);
  box-shadow: 0 8px 18px rgba(12, 63, 117, 0.28);
}

.news-feature {
  position: relative;
  padding: 1.25rem 1.25rem 1.35rem;
  border-radius: 16px;
  overflow: hidden;
}

.news-feature::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: radial-gradient(120% 90% at 0% 0%, rgba(var(--primary-rgb), 0.1), transparent 55%);
}

.news-lead-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 0.42rem;
  margin: -0.1rem 0 0.8rem;
}

.news-lead-badge {
  display: inline-flex;
  align-items: center;
  border-radius: 999px;
  border: 1px solid rgba(var(--primary-rgb), 0.22);
  background: rgba(var(--primary-rgb), 0.07);
  color: #1f4f83;
  padding: 0.24rem 0.58rem;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.02em;
}

.news-hero-title {
  margin-top: 0.18rem;
  margin-bottom: 0.5rem;
  font-size: clamp(1.18rem, 2.2vw, 1.55rem);
  line-height: 1.14;
  letter-spacing: -0.01em;
  color: #0b2e50;
}

.news-video-wrap {
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid var(--line);
  background: transparent;
  margin-bottom: 0.7rem;
  aspect-ratio: 16 / 9;
  box-shadow: 0 10px 24px rgba(9, 28, 53, 0.2);
}

.news-video-wrap video {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: contain;
  background: #000;
  filter: saturate(1.14) contrast(1.1) brightness(1.09);
}

.news-video-wrap video.video-highlight-white {
  filter: saturate(1.18) contrast(1.12) brightness(1.16);
}

.news-relevance-card {
  position: relative;
  margin: 0.7rem 0 0.5rem;
  padding: 0.86rem 0.95rem;
  border-radius: 12px;
  border: 1px solid rgba(var(--primary-rgb), 0.28);
  background: linear-gradient(135deg, rgba(var(--primary-rgb), 0.12), rgba(11, 29, 51, 0.05));
  box-shadow: 0 10px 22px rgba(12, 40, 72, 0.12);
}

.news-relevance-card::after {
  content: "";
  position: absolute;
  inset: -1px;
  border-radius: 12px;
  pointer-events: none;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.46);
}

.news-relevance-card h3 {
  margin: 0.35rem 0 0.3rem;
  font-size: 1.05rem;
  color: #123a66;
}

.news-relevance-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.35rem 0.5rem;
}

.news-relevance-card p,
.news-relevance-lead {
  margin: 0;
  font-size: 0.92rem;
  line-height: 1.55;
  text-wrap: pretty;
}

.news-relevance-lead strong {
  display: inline;
  font-weight: 800;
  color: #0f3d6e;
}

.news-plate-chip {
  display: inline-flex;
  align-items: center;
  margin-left: 0;
  padding: 0.18rem 0.5rem;
  border-radius: 999px;
  border: 1px solid rgba(11, 29, 51, 0.26);
  background: rgba(255, 255, 255, 0.7);
  color: #1a3658;
  font-size: 0.69rem;
  font-weight: 800;
  letter-spacing: 0.05em;
}

.news-tag-glow {
  box-shadow: 0 0 0 1px rgba(79, 151, 232, 0.2), 0 6px 14px rgba(35, 102, 177, 0.2);
}

.news-proof-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.5rem;
  margin: 0.55rem 0 0.2rem;
}

.news-proof-card {
  border-radius: 10px;
  border: 1px solid rgba(var(--primary-rgb), 0.2);
  background: rgba(255, 255, 255, 0.7);
  padding: 0.58rem 0.62rem;
  display: grid;
  gap: 0.2rem;
}

.news-proof-card span {
  font-size: 0.72rem;
  color: #426a95;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.news-proof-card strong {
  font-size: 0.82rem;
  line-height: 1.26;
  color: #173f68;
}

.news-quote {
  margin: 0.65rem 0 0.5rem;
  padding: 0.8rem 0.95rem;
  border-left: 3px solid rgba(var(--primary-rgb), 0.4);
  border-radius: 10px;
  background: rgba(var(--primary-rgb), 0.04);
  color: var(--text);
  font-size: 0.9rem;
  line-height: 1.55;
}

.news-quote-panel {
  margin-top: 0.8rem;
  border-radius: 12px;
  border: 1px solid rgba(var(--primary-rgb), 0.18);
  background: linear-gradient(160deg, rgba(255, 255, 255, 0.92), rgba(239, 247, 255, 0.94));
  padding: 0.82rem 0.9rem 0.78rem;
  box-shadow: 0 12px 24px rgba(9, 32, 58, 0.08);
}

.news-quote-panel h4 {
  margin: 0.15rem 0 0;
  font-size: 0.95rem;
  letter-spacing: 0.01em;
  color: #123c67;
}

.news-quote-panel .muted {
  display: block;
  margin-top: 0.2rem;
  font-size: 0.75rem;
  line-height: 1.35;
}

.news-quote-signature {
  margin-top: 0.55rem;
  padding-top: 0.48rem;
  border-top: 1px dashed rgba(var(--primary-rgb), 0.26);
  display: grid;
  gap: 0.22rem;
  color: #335f8c;
  font-size: 0.76rem;
  line-height: 1.3;
}

.news-signature-mark {
  width: fit-content;
  padding: 0.16rem 0.44rem;
  border-radius: 6px;
  font-size: 0.67rem;
  letter-spacing: 0.04em;
  font-weight: 800;
  border: 1px solid rgba(var(--primary-rgb), 0.24);
  background: rgba(var(--primary-rgb), 0.1);
  color: #174671;
}

.news-tag {
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
  padding: 0.26rem 0.58rem;
  border-radius: 999px;
  background: rgba(var(--primary-rgb), 0.1);
  border: 1px solid rgba(var(--primary-rgb), 0.2);
  color: var(--primary-dark);
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.45px;
  margin-bottom: 0.55rem;
}

body[data-theme="dark"] .hr-alert-card {
  background: linear-gradient(135deg, #111827 0%, #0b1424 100%);
  border-color: #1f2937;
  box-shadow: 0 1px 0 rgba(0, 0, 0, 0.3), 0 12px 24px -22px rgba(0, 0, 0, 0.5);
}

body[data-theme="dark"] .hr-alert-card-label {
  color: #cbd5e1;
}

body[data-theme="dark"] .hr-alert-card-value {
  color: #e2e8f0;
}

body[data-theme="dark"] .hr-alert-card-help {
  color: #94a3b8;
}

body[data-theme="dark"] .hr-alert-card--warn {
  background: linear-gradient(135deg, #111827 0%, #2a1f0a 100%);
}

body[data-theme="dark"] .hr-alert-card--alert {
  background: linear-gradient(135deg, #111827 0%, #2a0d10 100%);
}

body[data-theme="dark"] tr[data-sst-state="cumplido"] {
  background: rgba(34, 197, 94, 0.1);
}

body[data-theme="dark"] tr[data-sst-state="en-gestion"] {
  background: rgba(96, 165, 250, 0.1);
}

body[data-theme="dark"] tr[data-sst-state="pendiente"] {
  background: rgba(251, 191, 36, 0.12);
}

body[data-theme="dark"] .history-workspace-nav {
  background: linear-gradient(180deg, rgba(20, 37, 59, 0.98), rgba(11, 23, 38, 0.94));
  border-color: #334155;
  box-shadow: 0 18px 34px rgba(2, 8, 18, 0.34);
}

body[data-theme="dark"] .history-workspace-tab {
  background: linear-gradient(180deg, #17314c 0%, #12263d 100%);
  border-color: #4a729e;
  color: #dbeafe;
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.18);
}

body[data-theme="dark"] .history-workspace-tab:hover {
  background: linear-gradient(180deg, #1c3d5e 0%, #16314d 100%);
  border-color: #6797c7;
  color: #ffffff;
}

body[data-theme="dark"] .history-workspace-tab.is-active {
  color: #ffffff;
  border-color: rgba(173, 214, 255, 0.28);
  box-shadow: 0 12px 22px rgba(6, 20, 38, 0.22);
}

body[data-theme="dark"] .history-panel {
  background: linear-gradient(180deg, rgba(13, 24, 40, 0.98), rgba(10, 18, 31, 0.94));
  border-color: #243447;
  box-shadow: 0 22px 40px rgba(2, 8, 18, 0.4);
}

body[data-theme="dark"] .history-insight-strip,
body[data-theme="dark"] .history-card,
body[data-theme="dark"] .history-driver-form {
  background: #0f172a;
  border-color: #334155;
}

body[data-theme="dark"] .history-toolbar-search,
body[data-theme="dark"] .history-advanced-filters-body {
  background: #0f172a;
  border-color: #334155;
}

body[data-theme="dark"] .history-toolbar-search input {
  color: #e2e8f0;
}

body[data-theme="dark"] .history-card-route {
  background: color-mix(in srgb, var(--primary) 14%, #1e293b);
}

body[data-theme="dark"] .history-card-title {
  color: #93c5fd;
}

body[data-theme="dark"] tr[data-payroll-state="pending"] {
  background: rgba(251, 191, 36, 0.1);
}

body[data-theme="dark"] tr[data-payroll-state="paid"] {
  background: rgba(34, 197, 94, 0.08);
}

body[data-theme="dark"] .history-fleet-tabs,
body[data-theme="dark"] .history-fleet-kpi,
body[data-theme="dark"] .history-fleet-log-card,
body[data-theme="dark"] .history-fleet-empty {
  background: #0f172a;
  border-color: #334155;
}

body[data-theme="dark"] .history-fleet-tab {
  background: linear-gradient(180deg, #17314c 0%, #12263d 100%);
  border-color: #4a729e;
  color: #dbeafe;
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.18);
}

body[data-theme="dark"] .history-fleet-tab:hover {
  background: linear-gradient(180deg, #1c3d5e 0%, #16314d 100%);
  border-color: #6797c7;
  color: #ffffff;
}

body[data-theme="dark"] .history-fleet-tab.is-active {
  color: #ffffff;
  border-color: rgba(173, 214, 255, 0.28);
  box-shadow: 0 12px 22px rgba(6, 20, 38, 0.22);
}

body[data-theme="dark"] .history-fleet-log-plate,
body[data-theme="dark"] .history-fleet-log-money {
  color: #93c5fd;
}

body[data-theme="dark"] .history-fleet-money-wrap {
  background: #0f172a;
  border-color: #334155;
}

body[data-theme="dark"] .history-fleet-money-prefix {
  background: #1e293b;
  border-color: #334155;
  color: #94a3b8;
}

body[data-theme="dark"] .history-fleet-money-wrap input {
  background: transparent;
  color: #e2e8f0;
}

body[data-theme="dark"] .report-preview-body {
  background: linear-gradient(180deg, rgba(15, 28, 46, 0.88), rgba(9, 20, 32, 0.92));
  border-color: rgba(131, 190, 233, 0.16);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.03), 0 12px 24px rgba(2, 8, 20, 0.3);
}

body[data-theme="dark"] .report-preview-logo-wrap {
  background: rgba(255, 255, 255, 0.98);
}

body[data-theme="dark"] .modal-card-report-preview {
  border-color: rgba(135, 190, 247, 0.2);
  background: linear-gradient(180deg, #081523 0%, #0c1b2c 20%, #08131f 100%);
  box-shadow: 0 26px 52px rgba(0, 0, 0, 0.42);
}

body[data-theme="dark"] .report-preview-head {
  border-color: rgba(131, 190, 233, 0.18);
  background: linear-gradient(180deg, rgba(18, 45, 71, 0.96), rgba(10, 24, 38, 0.88));
  box-shadow: 0 16px 30px rgba(2, 8, 20, 0.4);
}

body[data-theme="dark"] .report-preview-head h2,
body[data-theme="dark"] .report-preview-meta,
body[data-theme="dark"] .report-preview-copy {
  color: #dbeafe;
}

body[data-theme="dark"] .report-preview-copy {
  border-color: rgba(131, 190, 233, 0.14);
  background: linear-gradient(180deg, rgba(18, 45, 71, 0.54), rgba(10, 24, 38, 0.76));
}

body[data-theme="dark"] .report-preview-table thead th {
  background: linear-gradient(180deg, #244f7b 0%, var(--primary-deeper) 100%);
}

body[data-theme="dark"] .report-preview-table tbody td {
  border-color: rgba(131, 190, 233, 0.12);
  background: rgba(10, 22, 38, 0.9);
}

body[data-theme="dark"] .report-preview-table tbody tr:nth-child(even) td {
  background: rgba(18, 40, 64, 0.88);
}

body[data-theme="dark"] .report-preview-table tbody tr:hover td {
  background: rgba(24, 52, 82, 0.92);
}

body[data-theme="dark"] .report-preview-table tbody td.is-primary {
  background: linear-gradient(180deg, rgba(10, 22, 38, 0.96), rgba(14, 31, 50, 0.96));
  box-shadow: 10px 0 16px -16px rgba(0, 0, 0, 0.6);
}

body[data-theme="dark"] .report-preview-table tbody tr:nth-child(even) td.is-primary {
  background: linear-gradient(180deg, rgba(16, 34, 54, 0.96), rgba(19, 40, 62, 0.96));
}

body[data-theme="dark"] .report-preview-table tbody tr:hover td.is-primary {
  background: linear-gradient(180deg, rgba(21, 46, 72, 0.98), rgba(24, 52, 82, 0.98));
}

body[data-theme="dark"] .report-preview-cell--currency .report-value,
body[data-theme="dark"] .report-preview-cell--number .report-value,
body[data-theme="dark"] .report-preview-cell--percent .report-value,
body[data-theme="dark"] .report-value,
body[data-theme="dark"] .report-note {
  color: #f8fbff;
}

body[data-theme="dark"] .report-empty,
body[data-theme="dark"] .report-preview-empty-row {
  color: #9fb9d9;
}

body[data-theme="dark"] .report-code {
  background: rgba(131, 190, 233, 0.14);
  color: #dbeafe;
}

body[data-theme="dark"] .report-badge--success {
  background: rgba(34, 197, 94, 0.16);
  border-color: rgba(34, 197, 94, 0.24);
  color: #bbf7d0;
}

body[data-theme="dark"] .report-badge--warning {
  background: rgba(245, 158, 11, 0.16);
  border-color: rgba(245, 158, 11, 0.24);
  color: #fde68a;
}

body[data-theme="dark"] .report-badge--danger {
  background: rgba(239, 68, 68, 0.16);
  border-color: rgba(239, 68, 68, 0.24);
  color: #fecaca;
}

body[data-theme="dark"] .report-badge--info {
  background: rgba(96, 165, 250, 0.16);
  border-color: rgba(96, 165, 250, 0.24);
  color: #dbeafe;
}

body[data-theme="dark"] .report-badge--neutral {
  background: rgba(148, 163, 184, 0.14);
  border-color: rgba(148, 163, 184, 0.22);
  color: #d6e3f5;
}

body[data-theme="dark"] .reports-bi-customizer,
body[data-theme="dark"] .reports-bi-customizer-group {
  background: linear-gradient(180deg, rgba(18, 45, 71, 0.84), rgba(10, 24, 38, 0.92));
  border-color: rgba(131, 190, 233, 0.18);
  box-shadow: 0 16px 30px rgba(2, 8, 20, 0.42);
}

body[data-theme="dark"] .reports-bi {
  border-color: rgba(135, 190, 247, 0.2);
  background: linear-gradient(180deg, #081523 0%, #0c1b2c 20%, #08131f 100%);
  box-shadow: 0 22px 46px rgba(0, 0, 0, 0.42);
}

body[data-theme="dark"] .reports-bi-toolbar {
  border-bottom-color: rgba(131, 190, 233, 0.14);
  background: linear-gradient(180deg, rgba(18, 45, 71, 0.96), rgba(10, 21, 35, 0.84));
}

body[data-theme="dark"] .reports-bi-toolbar-intro,
body[data-theme="dark"] .reports-bi-toolbar-controls {
  background: linear-gradient(180deg, rgba(18, 45, 71, 0.88), rgba(11, 25, 40, 0.94));
  border-color: rgba(131, 190, 233, 0.2);
  box-shadow: 0 18px 32px rgba(2, 8, 20, 0.45);
}

body[data-theme="dark"] .reports-bi-title,
body[data-theme="dark"] .reports-bi-customizer-title,
body[data-theme="dark"] .reports-bi-card-head h3,
body[data-theme="dark"] .reports-bi-insight strong,
body[data-theme="dark"] .reports-bi-kpi-val,
body[data-theme="dark"] .reports-bi-stat strong,
body[data-theme="dark"] .reports-bi-lb-name,
body[data-theme="dark"] .reports-bi-ring strong {
  color: #f8fbff;
}

body[data-theme="dark"] .reports-bi-kicker,
body[data-theme="dark"] .reports-bi-section-title,
body[data-theme="dark"] .reports-bi-customizer-group legend,
body[data-theme="dark"] .reports-bi-card-stat,
body[data-theme="dark"] .reports-bi-lb-val {
  color: #b9d8f5;
}

body[data-theme="dark"] .reports-bi-sub,
body[data-theme="dark"] .reports-bi-updated,
body[data-theme="dark"] .reports-bi-stat span,
body[data-theme="dark"] .reports-bi-card-sub,
body[data-theme="dark"] .reports-bi-score-card p,
body[data-theme="dark"] .reports-bi-customizer-hint,
body[data-theme="dark"] .reports-bi-customizer-item,
body[data-theme="dark"] .reports-bi-insight p,
body[data-theme="dark"] .reports-bi-foot,
body[data-theme="dark"] .reports-bi-lb h4,
body[data-theme="dark"] .reports-bi-empty {
  color: #9fb9d9;
}

body[data-theme="dark"] .reports-bi-section-title {
  border-bottom-color: rgba(131, 190, 233, 0.14);
}

body[data-theme="dark"] .reports-bi-kpi,
body[data-theme="dark"] .reports-bi-score-card,
body[data-theme="dark"] .reports-bi-card,
body[data-theme="dark"] .reports-bi-insight,
body[data-theme="dark"] .reports-bi-stat,
body[data-theme="dark"] .reports-bi-chip {
  background: linear-gradient(180deg, rgba(15, 28, 46, 0.88), rgba(9, 20, 32, 0.92));
  border-color: rgba(131, 190, 233, 0.16);
  box-shadow: 0 16px 30px rgba(2, 8, 20, 0.4);
}

body[data-theme="dark"] .reports-bi-chip {
  border-color: #4a729e;
  color: #dbeafe;
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.18);
}

body[data-theme="dark"] .reports-bi-chip:hover {
  background: linear-gradient(180deg, #1c3d5e 0%, #16314d 100%);
  border-color: #6797c7;
  color: #ffffff;
}

body[data-theme="dark"] .reports-bi-kpi--primary {
  background: linear-gradient(145deg, #122d47 0%, #1e4a73 55%, #255f94 100%);
  border-color: rgba(131, 190, 233, 0.18);
}

body[data-theme="dark"] .reports-bi-chip.is-active {
  background: linear-gradient(180deg, #4b94dd 0%, #2f71bc 100%);
  border-color: rgba(173, 214, 255, 0.28);
  box-shadow: 0 12px 22px rgba(6, 20, 38, 0.22);
}

body[data-theme="dark"] .reports-bi-period-badge {
  border-color: rgba(131, 190, 233, 0.18);
  background: linear-gradient(180deg, rgba(15, 28, 46, 0.88), rgba(10, 20, 32, 0.92));
  color: #dbeafe;
  box-shadow: 0 12px 22px rgba(2, 8, 20, 0.28);
}

body[data-theme="dark"] .reports-bi-period-note {
  color: #9fb9d9;
}

body[data-theme="dark"] .reports-bi-card-head {
  border-bottom-color: rgba(131, 190, 233, 0.16);
  background: linear-gradient(180deg, rgba(20, 49, 77, 0.92), rgba(12, 28, 46, 0.86));
}

body[data-theme="dark"] .reports-bi-lb-item {
  background: rgba(255, 255, 255, 0.03);
  border-color: rgba(131, 190, 233, 0.12);
}

body[data-theme="dark"] .reports-bi-lb-rank {
  color: #dbeafe;
  background: rgba(131, 190, 233, 0.14);
}

body[data-theme="dark"] .reports-bi-foot {
  border-top-color: rgba(131, 190, 233, 0.14);
  background: linear-gradient(180deg, rgba(10, 22, 38, 0.72), rgba(10, 22, 38, 0.96));
}

body[data-theme="dark"] .reports-workspace-tabs {
  background: rgba(8, 18, 32, 0.65);
  border-color: rgba(135, 190, 247, 0.22);
}

body[data-theme="dark"] .reports-workspace-tab {
  background: linear-gradient(180deg, #17314c 0%, #12263d 100%);
  border-color: #4a729e;
  color: #dbeafe;
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.18);
}

body[data-theme="dark"] .reports-workspace-tab:hover {
  background: linear-gradient(180deg, #1c3d5e 0%, #16314d 100%);
  border-color: #6797c7;
  color: #ffffff;
}

body[data-theme="dark"] .reports-workspace-tab.is-active {
  color: #fff;
  background: linear-gradient(180deg, #4b94dd 0%, #2f71bc 100%);
  border-color: rgba(173, 214, 255, 0.28);
  box-shadow: 0 12px 22px rgba(6, 20, 38, 0.22);
}

body[data-theme="dark"] .payroll-driver-kpi {
  background: linear-gradient(135deg, rgba(180, 83, 9, 0.12) 0%, rgba(15, 23, 42, 0.9) 55%);
  border-color: rgba(148, 163, 184, 0.25);
}

body[data-theme="dark"] .payroll-legal-panel__head {
  background: linear-gradient(180deg, rgba(6, 44, 43, 0.45) 0%, rgba(12, 24, 40, 0.96) 100%);
  border-bottom-color: rgba(148, 196, 255, 0.12);
}

body[data-theme="dark"] .payroll-legal-summary,
body[data-theme="dark"] .payroll-legal-vigencia-card.is-current {
  background: linear-gradient(135deg, rgba(6, 44, 43, 0.35) 0%, rgba(15, 23, 42, 0.92) 55%);
  border-color: rgba(52, 211, 153, 0.22);
}

body[data-theme="dark"] .payroll-legal-vigencia-card {
  background: rgba(15, 23, 42, 0.72);
  border-color: rgba(148, 163, 184, 0.18);
}

body[data-theme="dark"] .payroll-legal-notice--info {
  background: rgba(15, 23, 42, 0.65);
  border-color: rgba(148, 163, 184, 0.2);
}

body[data-theme="dark"] .payroll-bulk-panel {
  background: linear-gradient(180deg, rgba(24, 36, 68, 0.5), rgba(15, 23, 42, 0.65));
  border-color: rgba(148, 163, 184, 0.2);
}

body[data-theme="dark"] .payroll-bulk-option {
  background: rgba(15, 23, 42, 0.45);
  border-color: rgba(148, 163, 184, 0.18);
}

body[data-theme="dark"] .payroll-bulk-option__label {
  color: #e2e8f0;
}

body[data-theme="dark"] .payroll-bulk-result-list li {
  background: rgba(15, 23, 42, 0.55);
  border-color: rgba(148, 163, 184, 0.16);
}

body[data-theme="dark"] .payroll-module-head--compact {
  background: rgba(15, 23, 42, 0.65);
  border-color: rgba(148, 163, 184, 0.2);
}

body[data-theme="dark"] .payroll-module-kpi__item {
  background: rgba(30, 41, 59, 0.85);
  border-color: rgba(148, 163, 184, 0.22);
}

body[data-theme="dark"] .payroll-module-kpi__item dt,
body[data-theme="dark"] .payroll-module-kpi__item dd {
  color: #94a3b8;
}

body[data-theme="dark"] .payroll-module-kpi__item dd strong {
  color: #f1f5f9;
}

body[data-theme="dark"] .payroll-module-kpi__item--ok {
  background: rgba(16, 185, 129, 0.14);
  border-color: rgba(52, 211, 153, 0.35);
}

body[data-theme="dark"] .payroll-module-kpi__item--neutral {
  background: rgba(15, 23, 42, 0.5);
}

body[data-theme="dark"] .payroll-module-kpi__item--warn {
  background: rgba(120, 53, 15, 0.35);
  border-color: rgba(251, 191, 36, 0.35);
  color: #fcd34d;
}

body[data-theme="dark"] .payroll-module-kpi__item--warn dt,
body[data-theme="dark"] .payroll-module-kpi__item--warn dd {
  color: #fde68a;
}

body[data-theme="dark"] .payroll-module-kpi__item--warn dd strong {
  color: #fef3c7;
}

body[data-theme="dark"] .payroll-module-kpi__item--alert {
  background: rgba(127, 29, 29, 0.35);
  border-color: rgba(248, 113, 113, 0.35);
  color: #fecaca;
}

body[data-theme="dark"] .payroll-module-kpi__item--alert dt,
body[data-theme="dark"] .payroll-module-kpi__item--alert dd {
  color: #fecaca;
}

body[data-theme="dark"] .payroll-module-kpi__item--alert dd strong {
  color: #fee2e2;
}

body[data-theme="dark"] .hr-workspace-header {
  background: linear-gradient(180deg, rgba(18, 32, 52, 0.98) 0%, rgba(12, 24, 40, 0.96) 100%);
  border-color: rgba(148, 196, 255, 0.16);
  box-shadow: 0 8px 24px rgba(2, 8, 18, 0.35);
}

body[data-theme="dark"] .hr-workspace-header--payroll {
  background: linear-gradient(145deg, rgba(6, 44, 43, 0.5) 0%, rgba(12, 24, 40, 0.96) 55%);
}

body[data-theme="dark"] .hr-workspace-header--hiring {
  background: linear-gradient(145deg, rgba(29, 37, 79, 0.45) 0%, rgba(12, 24, 40, 0.96) 55%);
}

body[data-theme="dark"] .hr-workspace-tabs--switch {
  background: rgba(15, 23, 42, 0.75);
  border-color: rgba(148, 196, 255, 0.14);
}

body[data-theme="dark"] .hr-workspace-tab--switch {
  color: #94a3b8;
}

body[data-theme="dark"] .hr-workspace-tab--switch:hover {
  background: rgba(30, 41, 59, 0.85);
  color: #e2e8f0;
}

body[data-theme="dark"] .hr-workspace-tab--switch.is-active {
  background: linear-gradient(180deg, #4b94dd 0%, #2f71bc 100%);
  color: #f3f9ff;
}

body[data-theme="dark"] .hr-module-pro--payroll .hr-workspace-tab--switch.is-active {
  background: linear-gradient(180deg, #34d399 0%, #059669 100%);
}

body[data-theme="dark"] .hr-workspace-tabs--segment {
  background: rgba(15, 23, 42, 0.55);
  border-color: rgba(148, 163, 184, 0.2);
}

body[data-theme="dark"] .hr-workspace-tab--segment.is-active {
  background: rgba(30, 41, 59, 0.95);
  color: #93c5fd;
}

body[data-theme="dark"] .directory-card--compact {
  background: rgba(15, 23, 42, 0.55);
  border-color: rgba(148, 163, 184, 0.18);
}

body[data-theme="dark"] .payroll-quick-pill {
  background: linear-gradient(180deg, #17314c 0%, #12263d 100%);
  border-color: #4a729e;
  color: #dbeafe;
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.18);
}

body[data-theme="dark"] .payroll-quick-pill:hover {
  background: linear-gradient(180deg, #1c3d5e 0%, #16314d 100%);
  border-color: #6797c7;
  color: #ffffff;
}

body[data-theme="dark"] .payroll-quick-pill.is-active {
  background: linear-gradient(180deg, #4b94dd 0%, #2f71bc 100%);
  border-color: rgba(173, 214, 255, 0.28);
  color: #ffffff;
  box-shadow: 0 12px 22px rgba(6, 20, 38, 0.22);
}

body[data-theme="dark"] .payroll-insight-strip {
  border-color: rgba(94, 234, 212, 0.18);
  background: linear-gradient(160deg, rgba(13, 47, 47, 0.92), rgba(12, 24, 40, 0.96));
  box-shadow: 0 14px 30px rgba(2, 8, 18, 0.42);
}

body[data-theme="dark"] .hiring-shell--workspace .payroll-insight-strip {
  border-color: rgba(148, 196, 255, 0.16);
  background: linear-gradient(160deg, rgba(24, 36, 68, 0.94), rgba(12, 24, 40, 0.96));
}

body[data-theme="dark"] .payroll-insight-label {
  color: #7dd3fc;
}

body[data-theme="dark"] .payroll-insight-value {
  color: #e2e8f0;
}

body[data-theme="dark"] .payroll-data-toolbar {
  border-color: rgba(148, 196, 255, 0.14);
  background: linear-gradient(180deg, rgba(17, 30, 49, 0.96), rgba(12, 24, 40, 0.94));
  box-shadow: 0 14px 30px rgba(2, 8, 18, 0.42);
}

body[data-theme="dark"] .hiring-shell--workspace .payroll-data-toolbar {
  border-color: rgba(148, 196, 255, 0.14);
  background: linear-gradient(180deg, rgba(17, 30, 52, 0.96), rgba(12, 24, 40, 0.94));
}

body[data-theme="dark"] .payroll-filter-field select {
  border-color: rgba(148, 196, 255, 0.18);
  background: linear-gradient(180deg, rgba(18, 32, 52, 0.96), rgba(12, 24, 40, 0.94));
  color: #e2e8f0;
}

body[data-theme="dark"] .payroll-filters-advanced {
  background: #0f172a;
  border-color: #334155;
}

body[data-theme="dark"] .payroll-filters-advanced[open] {
  border-color: rgba(148, 197, 255, 0.36);
  box-shadow: 0 10px 20px rgba(2, 6, 23, 0.35);
}

body[data-theme="dark"] .payroll-filters-advanced__summary {
  color: #cbd5e1;
}

body[data-theme="dark"] .payroll-filters-advanced__summary:hover {
  background: rgba(148, 197, 255, 0.12);
  color: #e2e8f0;
}

body[data-theme="dark"] .payroll-filters-advanced > .payroll-data-toolbar-filters {
  border-top-color: #334155;
}

body[data-theme="dark"] .payroll-data-nav {
  border-color: rgba(45, 212, 191, 0.16);
  background: linear-gradient(180deg, rgba(11, 33, 33, 0.92), rgba(12, 24, 40, 0.95));
  box-shadow: 0 14px 28px rgba(2, 8, 18, 0.38);
}

body[data-theme="dark"] .payroll-data-nav-tab {
  background: linear-gradient(180deg, #17314c 0%, #12263d 100%);
  border-color: #4a729e;
  color: #dbeafe;
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.18);
}

body[data-theme="dark"] .payroll-data-nav-tab:hover {
  background: linear-gradient(180deg, #1c3d5e 0%, #16314d 100%);
  border-color: #6797c7;
  color: #ffffff;
}

body[data-theme="dark"] .payroll-data-nav-tab.is-active {
  color: #fff;
  background: linear-gradient(180deg, #4b94dd 0%, #2f71bc 100%);
  border-color: rgba(173, 214, 255, 0.28);
  box-shadow: 0 12px 22px rgba(6, 20, 38, 0.22);
}

body[data-theme="dark"] .payroll-data-nav-count {
  background: rgba(255, 255, 255, 0.12);
  color: #e2e8f0;
}

body[data-theme="dark"] .payroll-data-nav-tab.is-active .payroll-data-nav-count {
  background: rgba(255, 255, 255, 0.22);
  color: #ffffff;
}

@keyframes hr-panel-in {
  from {
    opacity: 0;
    transform: translateY(4px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

body[data-theme="dark"] .hr-enterprise-strip {
  border-color: rgba(var(--primary-mid-rgb), 0.35);
  background: linear-gradient(95deg, rgba(var(--primary-rgb), 0.18), rgba(15, 40, 62, 0.65));
  color: #cfe9fc;
}

body[data-theme="dark"] .hr-enterprise-strip--hiring {
  border-color: rgba(var(--primary-mid-rgb), 0.42);
  background: linear-gradient(
    95deg,
    rgba(var(--primary-mid-rgb), 0.16),
    rgba(15, 40, 62, 0.62)
  );
}

body[data-theme="dark"] .hr-enterprise-strip-label {
  color: var(--brand-blue-mid);
}

body[data-theme="dark"] .hr-enterprise-strip--hiring .hr-enterprise-strip-label {
  color: #b8dcfb;
}

@media (max-width: 560px) {
body[data-theme="dark"] .module-panel-btn--cancel {
    border-top-color: rgba(148, 163, 184, 0.22);
  }
}

@keyframes hrWizardDotShake {
  0%, 100% { transform: translateX(0); }
  20% { transform: translateX(-3px); }
  40% { transform: translateX(3px); }
  60% { transform: translateX(-2px); }
  80% { transform: translateX(2px); }
}

body[data-theme="dark"] .hr-employee-avatar-row {
  border-bottom-color: rgba(148, 196, 255, 0.12);
}

body[data-theme="dark"] .hr-form-help {
  border-color: rgba(148, 196, 255, 0.2);
  background: rgba(12, 28, 46, 0.55);
}

body[data-theme="dark"] .hr-form-help summary {
  color: #a9c7e8;
}

body[data-theme="dark"] .hr-form-card .form-section-grid label:not(.route-rate-company-item):not(.route-rate-company-item-text) {
  background: rgba(15, 23, 42, 0.72);
  border-color: rgba(148, 196, 255, 0.14);
  box-shadow: 0 10px 22px rgba(2, 8, 18, 0.2);
}

body[data-theme="dark"] .hr-form-card .form-section {
  box-shadow: 0 18px 36px rgba(2, 8, 18, 0.28);
}

body[data-theme="dark"] .hr-form-card--payroll .hr-data-card__head {
  background: linear-gradient(180deg, rgba(8, 44, 43, 0.92), rgba(10, 22, 38, 0.88));
}

body[data-theme="dark"] .hr-form-card--hiring .hr-data-card__head {
  background: linear-gradient(180deg, rgba(29, 37, 79, 0.92), rgba(10, 22, 38, 0.88));
}

body[data-theme="dark"] .hr-form-wizard-lead {
  color: #bfd9f5;
}

body[data-theme="dark"] .hr-form-wizard-meta {
  background: linear-gradient(180deg, rgba(55, 124, 192, 0.22), rgba(12, 28, 46, 0.72));
  border-color: rgba(148, 196, 255, 0.16);
  color: #dbeafe;
}

body[data-theme="dark"] .hr-wizard-progress-track {
  background: rgba(255, 255, 255, 0.08);
}

body[data-theme="dark"] .hr-wizard-progress-fill {
  box-shadow: 0 0 14px rgba(var(--primary-mid-rgb), 0.4);
}

body[data-theme="dark"] .hr-form-wizard-dot {
  background: linear-gradient(180deg, #17314c 0%, #12263d 100%);
  border-color: #4a729e;
  color: #cfe9fc;
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.18);
}

body[data-theme="dark"] .hr-form-wizard-dot.is-active {
  border-color: rgba(173, 214, 255, 0.28);
  background: linear-gradient(180deg, #4b94dd 0%, #2f71bc 100%);
  box-shadow: 0 12px 22px rgba(6, 20, 38, 0.22);
}

body[data-theme="dark"] .hr-form-wizard-footer {
  border-color: rgba(148, 196, 255, 0.18);
  background: linear-gradient(180deg, rgba(14, 28, 46, 0.98) 0%, rgba(10, 22, 38, 0.96) 100%);
  box-shadow: 0 -12px 32px rgba(2, 8, 18, 0.45);
}

body[data-theme="dark"] .hr-form-wizard-footer__head {
  border-bottom-color: rgba(148, 196, 255, 0.12);
}

body[data-theme="dark"] .hr-form-wizard-footer-nav {
  background: rgba(12, 24, 40, 0.85);
  border-color: rgba(148, 196, 255, 0.14);
}

body[data-theme="dark"] .module-panel-actions__group--secondary {
  background: transparent;
  border-color: transparent;
}

body[data-theme="dark"] .hr-form-hero {
  border-color: rgba(148, 196, 255, 0.18);
  background: linear-gradient(135deg, rgba(16, 34, 54, 0.96), rgba(10, 22, 38, 0.94));
  box-shadow: 0 18px 36px rgba(2, 8, 18, 0.28);
}

body[data-theme="dark"] .hr-form-hero--payroll {
  border-color: rgba(45, 212, 191, 0.2);
  background: linear-gradient(135deg, rgba(8, 44, 43, 0.96), rgba(10, 22, 38, 0.94));
}

body[data-theme="dark"] .hr-form-hero--hiring {
  border-color: rgba(129, 140, 248, 0.26);
  background: linear-gradient(135deg, rgba(29, 37, 79, 0.96), rgba(10, 22, 38, 0.94));
}

body[data-theme="dark"] .hr-form-hero__eyebrow {
  color: #9cc6ef;
}

body[data-theme="dark"] .hr-form-hero__title {
  color: #eff6ff;
}

body[data-theme="dark"] .hr-form-hero__text {
  color: #bfd9f5;
}

body[data-theme="dark"] .hr-form-hero-badge {
  border-color: rgba(148, 196, 255, 0.16);
  background: rgba(255, 255, 255, 0.04);
  box-shadow: 0 12px 24px rgba(2, 8, 18, 0.22);
}

body[data-theme="dark"] .hr-form-hero-badge strong {
  color: #eff6ff;
}

body[data-theme="dark"] .hr-form-hero-badge small {
  color: #a9c8ea;
}

body[data-theme="dark"] .hr-workspace-tabs {
  border-color: rgba(148, 196, 255, 0.16);
  background: rgba(14, 32, 52, 0.6);
  box-shadow: 0 2px 8px rgba(2, 8, 18, 0.35);
}

body[data-theme="dark"] .hr-workspace-tabs--pro {
  border-color: rgba(148, 196, 255, 0.16);
  background: rgba(14, 32, 52, 0.6);
  box-shadow: 0 2px 8px rgba(2, 8, 18, 0.35);
}

body[data-theme="dark"] .hiring-shell--workspace .hr-workspace-tabs--pro {
  border-color: rgba(129, 140, 248, 0.28);
  background: rgba(14, 25, 52, 0.6);
}

body[data-theme="dark"] .hr-workspace-tab {
  background: transparent;
  color: #c7daf2;
}

body[data-theme="dark"] .hr-workspace-tab:hover {
  background: rgba(255, 255, 255, 0.05);
  color: #e2eefe;
}

body[data-theme="dark"] .hr-workspace-tab.is-active {
  background: linear-gradient(135deg, #1e3a8a, #2563eb);
  color: #ffffff;
  box-shadow: 0 4px 14px rgba(37, 99, 235, 0.4);
}

body[data-theme="dark"] .hiring-shell--workspace .hr-workspace-tab.is-active {
  background: linear-gradient(180deg, #4b94dd 0%, #2f71bc 100%);
  box-shadow: 0 12px 22px rgba(6, 20, 38, 0.22);
}

body[data-theme="dark"] .hr-module-pro--payroll .hr-workspace-tab.is-active {
  background: linear-gradient(180deg, #4b94dd 0%, #2f71bc 100%);
  box-shadow: 0 12px 22px rgba(6, 20, 38, 0.22);
}

body[data-theme="dark"] .hr-workspace-tab-num {
  background: rgba(255, 255, 255, 0.08);
  color: #c7daf2;
}

body[data-theme="dark"] .hr-workspace-tab.is-active .hr-workspace-tab-num {
  background: rgba(255, 255, 255, 0.18);
  color: #ffffff;
}

body[data-theme="dark"] .hr-workspace-tab-ico {
  background: transparent;
  border: 0;
  color: #93c5fd;
}

body[data-theme="dark"] .hiring-shell--workspace .hr-workspace-tab-ico {
  background: transparent;
  border: 0;
  color: #a5b4fc;
}

body[data-theme="dark"] .hr-workspace-tab.is-active .hr-workspace-tab-ico,
body[data-theme="dark"] .hiring-shell--workspace .hr-workspace-tab.is-active .hr-workspace-tab-ico {
  color: #ffffff;
}

body[data-theme="dark"] .hr-tab-icon-svg,
body[data-theme="dark"] .hiring-shell--workspace .hr-tab-icon-svg {
  color: currentColor;
}

body[data-theme="dark"] .hr-guide-drawer {
  border-color: rgba(148, 196, 255, 0.28);
  background: rgba(8, 22, 38, 0.55);
}

body[data-theme="dark"] .hr-guide-drawer-summary {
  color: #eaf4ff;
}

body[data-theme="dark"] .hr-guide-drawer-kicker {
  color: #8fb8e8;
}

body[data-theme="dark"] .hiring-shell--workspace .hr-guide-drawer {
  border-color: rgba(var(--primary-mid-rgb), 0.32);
  background: rgba(var(--primary-rgb), 0.14);
}

body[data-theme="dark"] .module-spotlight {
  border-color: rgba(148, 196, 255, 0.2);
  box-shadow: 0 14px 38px rgba(2, 10, 22, 0.45);
}

body[data-theme="dark"] .module-spotlight-title {
  color: #eaf4ff;
}

body[data-theme="dark"] .module-spotlight-lead,
body[data-theme="dark"] .module-spotlight-list {
  color: #bfd9f5;
}

body[data-theme="dark"] .module-spotlight--payroll {
  background: linear-gradient(
    135deg,
    rgba(var(--primary-rgb), 0.2),
    rgba(15, 76, 129, 0.52)
  );
}

body[data-theme="dark"] .module-spotlight--hiring {
  background: linear-gradient(
    135deg,
    rgba(var(--primary-mid-rgb), 0.18),
    rgba(15, 76, 129, 0.48)
  );
}

body[data-theme="dark"] .ops-module-head--rich .ops-module-subtitle {
  color: #a9c7e8;
}

body[data-theme="dark"] .payroll-shell .payroll-filters-bar {
  border-color: rgba(94, 164, 232, 0.28);
  background: linear-gradient(180deg, rgba(12, 38, 62, 0.92), rgba(15, 33, 54, 0.96));
}

body[data-theme="dark"] .payroll-shell .table-wrap tbody tr:nth-child(even) td,
body[data-theme="dark"] .hiring-shell .table-wrap tbody tr:nth-child(even) td {
  background: rgba(255, 255, 255, 0.03);
}

body[data-theme="dark"] .profile-avatar.profile-avatar--logo-contain.has-image {
  background-color: #0f172a;
}

body[data-theme="dark"] .profile-avatar.has-image {
  background-color: #0f172a;
}

body[data-theme="dark"] .site-footer {
  background: linear-gradient(180deg, #061223 0%, #08192c 55%, #0a1f36 100%);
  border-top: 1px solid rgba(117, 164, 219, 0.18);
}

body[data-theme="dark"] .site-footer h4 {
  color: rgba(212, 230, 253, 0.72);
}

body[data-theme="dark"] .site-footer p {
  color: rgba(223, 238, 255, 0.82);
}

body[data-theme="dark"] .site-footer p a {
  color: rgba(232, 244, 255, 0.96);
  text-decoration-color: rgba(130, 175, 228, 0.45);
}

body[data-theme="dark"] .site-footer p a:hover {
  color: #ffffff;
  text-decoration-color: rgba(190, 218, 255, 0.8);
}

body[data-theme="dark"] .footer-brand-copy p {
  color: rgba(218, 235, 255, 0.9);
}

body[data-theme="dark"] .footer-brand-logo-wrap {
  background: linear-gradient(160deg, #f4f9ff 0%, #dcebfa 100%);
  border-color: rgba(173, 208, 243, 0.4);
  box-shadow:
    0 14px 30px rgba(0, 5, 12, 0.5),
    inset 0 1px 0 rgba(255, 255, 255, 0.85);
}

body[data-theme="dark"] .footer-social a {
  background: rgba(17, 41, 67, 0.92);
  border-color: rgba(112, 157, 212, 0.35);
  color: rgba(221, 237, 255, 0.85);
}

body[data-theme="dark"] .footer-social a:hover {
  background: #2b69b3;
  border-color: #5d99df;
  color: #ffffff;
}

body[data-theme="dark"] .footer-bottom {
  border-top-color: rgba(121, 165, 218, 0.3);
  color: rgba(210, 230, 252, 0.78);
  background: rgba(2, 10, 20, 0.45);
}

body[data-theme="dark"] .footer-road-truck {
  color: rgba(140, 184, 232, 0.6);
}

body[data-theme="dark"] .footer-links a {
  color: rgba(216, 233, 252, 0.8);
}

body[data-theme="dark"] .footer-links a:hover,
body[data-theme="dark"] .footer-links a:focus-visible {
  color: #ffffff;
}

body[data-theme="dark"] .footer-contact-item {
  color: rgba(216, 233, 252, 0.8);
}

body[data-theme="dark"] .footer-contact-item a {
  color: rgba(232, 244, 255, 0.94);
}

body[data-theme="dark"] .footer-top-btn {
  background: rgba(17, 41, 67, 0.9);
  border-color: rgba(112, 157, 212, 0.35);
  color: rgba(221, 237, 255, 0.88);
}

body[data-theme="dark"] .footer-top-btn:hover {
  background: #2b69b3;
  border-color: #5d99df;
  color: #ffffff;
}

body[data-theme="dark"] .users-hero-item,
body[data-theme="dark"] .users-action-btn,
body[data-theme="dark"] .user-card,
body[data-theme="dark"] .pending-card,
body[data-theme="dark"] .user-grid-pending .user-card,
body[data-theme="dark"] .module-filters,
body[data-theme="dark"] .company-chip,
body[data-theme="dark"] .datetime-group,
body[data-theme="dark"] .trip-preview,
body[data-theme="dark"] .perm-fieldset,
body[data-theme="dark"] .auth-login-side,
body[data-theme="dark"] .auth-help,
body[data-theme="dark"] .tabs,
body[data-theme="dark"] .modal-card {
  background: #162b44;
  border-color: #466b94;
}

body[data-theme="dark"] .auth-pane,
body[data-theme="dark"] .modal-card-auth {
  background: #15283f;
  border-color: #476b93;
}

body[data-theme="dark"] .auth-pane {
  box-shadow:
    0 1px 0 rgba(255, 255, 255, 0.05) inset,
    0 18px 34px rgba(0, 0, 0, 0.28);
}

body[data-theme="dark"] .auth-input-row {
  background: #1b3552;
  border-color: #476b93;
}

body[data-theme="dark"] .auth-input-control {
  background: transparent;
  color: #e8f3ff;
}

body[data-theme="dark"] .auth-input-prefix {
  background: rgba(117, 176, 244, 0.12);
  border-color: #476b93;
  color: #a9d4ff;
}

body[data-theme="dark"] .auth-recover-hint {
  border-color: color-mix(in srgb, #60a5fa 35%, #334155 65%);
  background: linear-gradient(135deg, rgba(30, 58, 95, 0.55) 0%, rgba(15, 23, 42, 0.92) 100%);
  box-shadow: 0 6px 24px rgba(0, 0, 0, 0.25), inset 0 1px 0 rgba(255, 255, 255, 0.06);
}

body[data-theme="dark"] .auth-recover-hint-inner {
  border-left-color: #38bdf8;
}

body[data-theme="dark"] .auth-recover-hint-icon {
  color: #7dd3fc;
  background: rgba(56, 189, 248, 0.12);
  border-color: rgba(56, 189, 248, 0.25);
}

body[data-theme="dark"] .auth-recover-hint-title {
  color: #f1f5f9;
}

body[data-theme="dark"] .auth-recover-hint-text {
  color: rgba(203, 213, 225, 0.92);
}

body[data-theme="dark"] .password-strength-suite {
  border-color: rgba(133, 188, 247, 0.28);
  background: linear-gradient(145deg, #15283f 0%, #1a304c 50%, #162a42 100%);
  box-shadow: 0 10px 32px rgba(0, 0, 0, 0.28), inset 0 1px 0 rgba(255, 255, 255, 0.04);
}

body[data-theme="dark"] .password-strength-bar {
  background: rgba(0, 0, 0, 0.28);
  box-shadow: inset 0 1px 4px rgba(0, 0, 0, 0.35);
}

body[data-theme="dark"] .password-rule-dot {
  border-color: rgba(230, 242, 255, 0.2);
}

body[data-theme="dark"] .password-rule-grid li {
  color: #9bb8d9;
}

body[data-theme="dark"] .password-rule-grid li.password-rule-met {
  color: #e8f3ff;
}

body[data-theme="dark"] .phone-input-professional {
  background: #1b3552;
  border-color: #476b93;
}

body[data-theme="dark"] .phone-input-professional:focus-within {
  border-color: #78abe8;
  box-shadow: 0 0 0 3px rgba(117, 176, 244, 0.22);
}

body[data-theme="dark"] .phone-input-professional .phone-reg-flag-slot {
  border-right-color: #476b93;
  background: linear-gradient(180deg, rgba(117, 176, 244, 0.12), rgba(25, 45, 70, 0.45));
}

body[data-theme="dark"] .phone-input-professional .register-lang-flag {
  border-color: rgba(230, 242, 255, 0.22);
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.35);
}

body[data-theme="dark"] .phone-cc-badge {
  border-right-color: #476b93;
  background: linear-gradient(180deg, rgba(117, 176, 244, 0.12), rgba(25, 45, 70, 0.5));
}

body[data-theme="dark"] .phone-dial-code {
  color: #e8f3ff;
}

body[data-theme="dark"] .phone-input-professional .phone-cc-select {
  border-right-color: #476b93;
  background-color: #1b3552;
  background-image: linear-gradient(180deg, rgba(117, 176, 244, 0.12), rgba(25, 45, 70, 0.5)),
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='20' viewBox='0 0 24 24' fill='none'%3E%3Cpath stroke='%239ed0ff' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round' d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat, no-repeat;
  background-position: 0 0, right 0.4rem center;
  background-size: 100% 100%, 1.05rem 1.05rem;
  color: #e8f3ff;
}

body[data-theme="dark"] .phone-input-professional .phone-national-input {
  color: #e8f3ff;
}

body[data-theme="dark"] .register-terms-card {
  border-color: #476b93;
  background: linear-gradient(180deg, #162b42 0%, #1b334f 100%);
}

body[data-theme="dark"] .register-terms-link {
  color: #9ed0ff;
}

body[data-theme="dark"] .auth-header-premium h3 {
  color: #e4f0ff;
}

body[data-theme="dark"] .auth-side-pills span {
  background: rgba(117, 176, 244, 0.16);
  border-color: rgba(133, 188, 247, 0.35);
  color: #d8ebff;
}

body[data-theme="dark"] .users-hero-item strong,
body[data-theme="dark"] .user-card-info h4,
body[data-theme="dark"] .company-chip strong,
body[data-theme="dark"] .perm-fieldset legend,
body[data-theme="dark"] .auth-login-side h3,
body[data-theme="dark"] .modal-info-body strong {
  color: #e8f3ff;
}

body[data-theme="dark"] .users-hero-item span,
body[data-theme="dark"] .user-card-info p,
body[data-theme="dark"] .user-card-meta,
body[data-theme="dark"] .perm-check span,
body[data-theme="dark"] .perm-check span small,
body[data-theme="dark"] .company-chip .muted,
body[data-theme="dark"] .trip-preview p,
body[data-theme="dark"] .modal-info-body {
  color: #c5dbf4;
}

body[data-theme="dark"] .user-card-meta,
body[data-theme="dark"] .user-card-actions {
  border-top-color: #3f5f84;
}

body[data-theme="dark"] .perm-tag {
  background: #2a3e63;
  border-color: #4f74a3;
  color: #dcebff;
}

body[data-theme="dark"] .perm-tag-more {
  background: #243851;
  border-color: #486b95;
  color: #cfe3fb;
}

body[data-theme="dark"] .perm-check:hover {
  background: #21364f;
}

body[data-theme="dark"] .perm-check span strong {
  color: #e6f1ff;
}

body[data-theme="dark"] .table-wrap table thead th {
  background: linear-gradient(180deg, #1a304a 0%, #223c5d 100%);
  color: #d9eaff;
  border-bottom-color: #4a6f99;
}

body[data-theme="dark"] .table-wrap table tbody tr:hover {
  background: #24415f;
}

body[data-theme="dark"] .tabs {
  background: linear-gradient(180deg, #223a56, #1a3049);
  border-color: rgba(148, 196, 255, 0.18);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.18);
}

body[data-theme="dark"] .tab {
  color: #cfe1f7;
}

body[data-theme="dark"] .tab:hover {
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.08), rgba(148, 196, 255, 0.06));
  border-color: rgba(148, 196, 255, 0.18);
  color: #ffffff;
}

body[data-theme="dark"] .tab.active {
  background: linear-gradient(180deg, #4b94dd 0%, #2f71bc 100%);
  color: #ffffff;
  border-color: rgba(173, 214, 255, 0.28);
  box-shadow: 0 12px 22px rgba(6, 20, 38, 0.22);
}

body[data-theme="dark"] .p-card-header,
body[data-theme="dark"] .module-filters,
body[data-theme="dark"] .users-hero-item,
body[data-theme="dark"] .user-card,
body[data-theme="dark"] .company-chip,
body[data-theme="dark"] .modal-card {
  box-shadow: 0 12px 30px rgba(2, 10, 20, 0.38);
}

body[data-theme="dark"] .hiring-executive-strip {
  background: linear-gradient(135deg, rgba(21, 46, 74, 0.95), rgba(18, 37, 60, 0.98));
  border-color: #4d739c;
}

body[data-theme="dark"] .ops-module-head {
  background: linear-gradient(135deg, rgba(21, 46, 74, 0.95), rgba(18, 37, 60, 0.98));
  border-color: #4d739c;
}

body[data-theme="dark"] .ops-module-head-hiring {
  background: linear-gradient(135deg, rgba(21, 46, 74, 0.96), rgba(24, 52, 78, 0.98));
  border-color: rgba(var(--primary-mid-rgb), 0.42);
}

body[data-theme="dark"] .ops-module-kicker {
  color: #adcff7;
}

body[data-theme="dark"] .ops-module-title h2 {
  color: #ebf5ff;
}

body[data-theme="dark"] .ops-chip {
  background: rgba(20, 42, 69, 0.92);
  border-color: rgba(102, 151, 209, 0.42);
  color: #d2e7ff;
}

body[data-theme="dark"] .ops-chip strong {
  color: #f1f7ff;
}

body[data-theme="dark"] .ops-command-bar {
  background: linear-gradient(180deg, #1b324c, #192d43);
  border-color: #486c95;
}

body[data-theme="dark"] .hr-module-pro.payroll-shell--workspace .ops-command-bar,
body[data-theme="dark"] .hr-module-pro.hiring-shell--workspace .ops-command-bar {
  background: linear-gradient(180deg, rgba(27, 50, 76, 0.98), rgba(22, 42, 62, 0.99));
  border-color: rgba(var(--primary-mid-rgb), 0.32);
  box-shadow: 0 8px 26px rgba(0, 0, 0, 0.28);
}

body[data-theme="dark"] .ops-command-cluster-label {
  color: #8eb4d8;
}

body[data-theme="dark"] .hr-module-pro--payroll .ops-command-cluster:first-of-type .ops-command-cluster-label {
  color: #5eead4;
}

body[data-theme="dark"] .hr-module-pro--hiring .ops-command-cluster:first-of-type .ops-command-cluster-label {
  color: #a5b4fc;
}

body[data-theme="dark"] .hr-workspace-quicknav-label {
  color: #93b9e6;
}

body[data-theme="dark"] .fleet-hero-strip--solo.fleet-hero-strip--hr-payroll {
  background: linear-gradient(125deg, #0f172a 0%, #134e4a 42%, #155e75 100%);
  box-shadow: 0 14px 36px rgba(0, 0, 0, 0.45);
}

body[data-theme="dark"] .fleet-hero-strip--solo.fleet-hero-strip--hr-hiring {
  background: linear-gradient(125deg, #1e1b4b 0%, #3730a3 48%, #1e40af 100%);
  box-shadow: 0 14px 36px rgba(0, 0, 0, 0.45);
}

body[data-theme="dark"] .hr-overview-guide {
  border-color: rgba(102, 151, 209, 0.28);
  background: linear-gradient(145deg, rgba(27, 50, 76, 0.55), rgba(15, 32, 48, 0.96));
  box-shadow: 0 8px 28px rgba(0, 0, 0, 0.32);
}

body[data-theme="dark"] .hr-overview-guide--payroll {
  border-left-color: #2dd4bf;
  background: linear-gradient(145deg, rgba(19, 78, 74, 0.45), rgba(15, 32, 48, 0.96));
}

body[data-theme="dark"] .hr-overview-guide--hiring {
  border-left-color: #818cf8;
  background: linear-gradient(145deg, rgba(55, 48, 163, 0.38), rgba(15, 32, 48, 0.96));
}

body[data-theme="dark"] .hr-overview-guide-kicker {
  color: #9ec5f7;
}

body[data-theme="dark"] .hr-overview-guide-lead {
  color: #d9e9fb;
}

body[data-theme="dark"] .hr-overview-guide-steps {
  color: #b8d3f0;
}

body[data-theme="dark"] .hr-overview-guide-steps li {
  background: rgba(15, 32, 48, 0.62);
  border-color: rgba(102, 151, 209, 0.22);
}

body[data-theme="dark"] .hr-overview-guide--payroll .hr-overview-guide-steps li {
  border-color: rgba(45, 212, 191, 0.28);
}

body[data-theme="dark"] .hr-overview-guide--hiring .hr-overview-guide-steps li {
  border-color: rgba(129, 140, 248, 0.28);
}

body[data-theme="dark"] .hr-overview-guide-steps strong {
  color: #f0f7ff;
}

body[data-theme="dark"] .hr-flow-step-head h3 {
  color: #ebf5ff;
}

body[data-theme="dark"] .hr-module-pro--hiring .hr-flow-block--step {
  background: linear-gradient(180deg, rgba(36, 36, 86, 0.45), rgba(15, 32, 48, 0.92));
  border-color: rgba(129, 140, 248, 0.32);
}

body[data-theme="dark"] .hr-module-pro .ops-block-head h3 {
  color: var(--text-main, #ebf5ff);
}

body[data-theme="dark"] .hr-module-pro.payroll-shell--workspace .ops-module-head--rich,
body[data-theme="dark"] .hr-module-pro.hiring-shell--workspace .ops-module-head--rich {
  box-shadow: 0 14px 40px rgba(0, 0, 0, 0.32);
}

body[data-theme="dark"] .hr-module-pro.hiring-shell--workspace .ops-module-head-hiring.ops-module-head--rich {
  box-shadow: 0 14px 40px rgba(0, 0, 0, 0.32);
}

body[data-theme="dark"] .ops-command-group .btn.is-active {
  background: linear-gradient(135deg, #1f70c1, #2a87dd);
  border-color: #3b8fdd;
}

body[data-theme="dark"] .ops-block-head h3 {
  color: #9ac5f2;
}

body[data-theme="dark"] .hr-flow-block {
  background: linear-gradient(180deg, rgba(var(--primary-rgb), 0.22), #162a40);
  border-color: rgba(var(--primary-mid-rgb), 0.32);
}

body[data-theme="dark"] .payroll-shell .table-wrap table tbody td,
body[data-theme="dark"] .hiring-shell .table-wrap table tbody td {
  color: #d2e7ff;
}

body[data-theme="dark"] .payroll-shell .p-card-header p,
body[data-theme="dark"] .hiring-shell .p-card-header p {
  color: #bdd6f2;
}

body[data-theme="dark"] .payroll-executive-strip {
  background: linear-gradient(135deg, rgba(15, 49, 66, 0.95), rgba(14, 38, 53, 0.98));
  border-color: rgba(93, 182, 216, 0.46);
}

body[data-theme="dark"] .payroll-strip-kicker {
  color: #8ee4ff;
}

body[data-theme="dark"] .payroll-executive-strip h2 {
  color: #e8f8ff;
}

body[data-theme="dark"] .payroll-strip-metrics span {
  background: rgba(18, 52, 70, 0.92);
  border-color: rgba(95, 173, 201, 0.48);
  color: #d5f3ff;
}

body[data-theme="dark"] .hr-flow-block h3 {
  color: #beddff;
}

body[data-theme="dark"] .hiring-strip-kicker {
  color: #a9cefa;
}

body[data-theme="dark"] .hiring-executive-strip h2 {
  color: #ebf5ff;
}

body[data-theme="dark"] .hiring-strip-metrics span {
  background: rgba(20, 42, 69, 0.92);
  border-color: rgba(102, 151, 209, 0.42);
  color: #d2e7ff;
}

body[data-theme="dark"] .hiring-strip-metrics strong {
  color: #f1f7ff;
}

body[data-theme="dark"] .module-shell-head {
  background: linear-gradient(135deg, rgba(20, 44, 71, 0.95), rgba(15, 34, 56, 0.98));
  border-color: #4f749d;
}

body[data-theme="dark"] .module-shell-kicker {
  color: #a9cdf7;
}

body[data-theme="dark"] .module-shell-head h2 {
  color: #ecf5ff;
}

body[data-theme="dark"] .module-shell-focus {
  color: #bcd6f2;
}

body[data-theme="dark"] .module-checkpoint {
  background: rgba(19, 42, 67, 0.92);
  border-color: rgba(102, 152, 211, 0.43);
  color: #d8ebff;
}

body[data-theme="dark"] .module-recommendation {
  background: rgba(38, 71, 106, 0.3);
  border-color: rgba(125, 174, 233, 0.45);
  color: #d0e5ff;
}

body[data-theme="dark"] .legal-form-note {
  background: rgba(40, 73, 109, 0.3);
  border-color: rgba(118, 170, 232, 0.45);
  color: #cfe4ff;
}

body[data-theme="dark"] .profile-hero-card {
  background: linear-gradient(135deg, rgba(23, 48, 76, 0.95), rgba(16, 34, 55, 0.98));
  border-color: #4d739d;
}

body[data-theme="dark"] .profile-hero-card-centered {
  background: linear-gradient(120deg, #3d3a8f 0%, #315b9e 45%, #2478a1 100%);
}

body[data-theme="dark"] .profile-hero-info h3 {
  color: #edf6ff;
}

body[data-theme="dark"] .profile-hero-info p {
  color: #c0d9f6;
}

body[data-theme="dark"] .profile-hero-chips span {
  background: rgba(20, 44, 70, 0.92);
  border-color: rgba(98, 149, 209, 0.44);
  color: #d9ebff;
}

body[data-theme="dark"] .profile-stat-card {
  background: linear-gradient(180deg, #182f49, #162a41);
  border-color: #456b94;
}

body[data-theme="dark"] .profile-stat-card p {
  color: #a9c8ea;
}

body[data-theme="dark"] .profile-stat-card strong {
  color: #ecf5ff;
}

body[data-theme="dark"] .profile-key-item {
  background: linear-gradient(180deg, #182f49, #162a41);
  border-color: #456b94;
}

body[data-theme="dark"] .profile-key-item p {
  color: #a9c8ea;
}

body[data-theme="dark"] .profile-key-item strong {
  color: #ecf5ff;
}

body[data-theme="dark"] .profile-form-centered {
  background: linear-gradient(180deg, rgba(24, 46, 72, 0.96), rgba(19, 39, 60, 0.98));
  border-color: #446892;
}

@keyframes auth-hub-spin {
  to {
    transform: rotate(360deg);
  }
}

body[data-theme="dark"] .auth-hub-sync-loading {
  background: linear-gradient(125deg, rgba(var(--primary-rgb), 0.14), rgba(15, 23, 42, 0.92));
  border-color: color-mix(in srgb, var(--brand-blue-mid) 38%, transparent);
}

body[data-theme="dark"] .auth-hub-sync-spinner {
  border-color: rgba(var(--primary-mid-rgb), 0.18);
  border-top-color: var(--brand-blue-mid);
}

body[data-theme="dark"] .auth-tab-btn {
  background: linear-gradient(180deg, #17314c 0%, #12263d 100%);
  border-color: #4a729e;
  color: #dbeafe;
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.18);
}

body[data-theme="dark"] .auth-tabs-bar {
  background: linear-gradient(180deg, rgba(20, 37, 59, 0.98), rgba(11, 23, 38, 0.94));
  border-color: #334155;
  box-shadow: 0 18px 34px rgba(2, 8, 18, 0.34);
}

body[data-theme="dark"] .auth-tab-btn:hover {
  background: linear-gradient(180deg, #1c3d5e 0%, #16314d 100%);
  border-color: #6797c7;
  color: #ffffff;
}

body[data-theme="dark"] .auth-tab-btn.is-active .auth-tab-badge {
  background: rgba(255, 255, 255, 0.14);
  border-color: rgba(255, 255, 255, 0.18);
  color: #ffffff;
}

body[data-theme="dark"] .module-shell[data-module-view="transport-vehicles"] .auth-tab-panels,
body[data-theme="dark"] .module-shell[data-module-view="admin-users"] .auth-tab-panels,
body[data-theme="dark"] .payroll-shell--workspace .auth-tab-panels,
body[data-theme="dark"] .hiring-shell--workspace .auth-tab-panels {
  background: linear-gradient(180deg, rgba(13, 24, 40, 0.98), rgba(10, 18, 31, 0.94));
  border-color: #243447;
  box-shadow: 0 22px 40px rgba(2, 8, 18, 0.4);
}

body[data-theme="dark"] .route-rates-intro {
  background: linear-gradient(135deg, color-mix(in srgb, var(--primary) 22%, #0f172a), color-mix(in srgb, var(--primary) 12%, #0f172a));
  border-color: color-mix(in srgb, var(--primary) 30%, #2a3f56);
}

body[data-theme="dark"] .route-rates-intro-title {
  color: #e2e8f0;
}

body[data-theme="dark"] .route-rates-intro-body,
body[data-theme="dark"] .route-rates-intro-note {
  color: #94a3b8;
}

body[data-theme="dark"] .route-rates-table thead th {
  color: #cbd5e1;
}

body[data-theme="dark"] .route-rates-table tbody td {
  color: #e2e8f0;
}

body[data-theme="dark"] .route-rate-route-city {
  color: #e0f2fe;
}

body[data-theme="dark"] .route-rate-route-dept,
body[data-theme="dark"] .route-rate-route-label {
  color: #94a3b8;
}

body[data-theme="dark"] .route-rate-route-arrow {
  background: color-mix(in srgb, var(--primary) 35%, #0f172a);
  color: #7dd3fc;
}

body[data-theme="dark"] .route-rate-scope-card,
body[data-theme="dark"] .route-rate-clients-block,
body[data-theme="dark"] .route-rate-clients-list {
  background: color-mix(in srgb, var(--surface, #0f172a) 92%, var(--primary) 8%);
  border-color: color-mix(in srgb, var(--primary) 28%, var(--line));
}

body[data-theme="dark"] .route-rate-company-item:hover {
  background: color-mix(in srgb, var(--primary) 18%, var(--surface, #0f172a));
}

body[data-theme="dark"] .route-rate-company-count-wrap,
body[data-theme="dark"] .route-rate-scope-help,
body[data-theme="dark"] .route-rates-table-wrap {
  border-color: color-mix(in srgb, var(--primary) 35%, #233044);
  background: color-mix(in srgb, #0f172a 84%, var(--primary) 16%);
}

body[data-theme="dark"] .route-rate-company-count-label {
  color: #93c5fd;
}

body[data-theme="dark"] .route-rate-company-count-value,
body[data-theme="dark"] .route-rate-value {
  color: #e2e8f0;
}

body[data-theme="dark"] .route-rate-scope-badge--all {
  color: #bfdbfe;
  border-color: #3b82f6;
  background: color-mix(in srgb, #1d4ed8 28%, transparent);
}

body[data-theme="dark"] .route-rate-scope-badge--specific {
  color: #bbf7d0;
  border-color: #22c55e;
  background: color-mix(in srgb, #15803d 30%, transparent);
}

body[data-theme="dark"] .route-rate-client-chip {
  color: #dbeafe;
  border-color: color-mix(in srgb, var(--primary) 40%, #243041);
  background: color-mix(in srgb, #0f172a 70%, var(--primary) 30%);
}

body[data-theme="dark"] .route-rate-clients-select {
  border-color: color-mix(in srgb, var(--primary) 35%, #2b3749);
  background: color-mix(in srgb, #0f172a 85%, var(--primary) 15%);
}

body[data-theme="dark"] .auth-tab-btn.is-active {
  background: linear-gradient(180deg, #4b94dd 0%, #2f71bc 100%);
  border-color: rgba(173, 214, 255, 0.28);
  color: #ffffff;
  box-shadow: 0 12px 22px rgba(6, 20, 38, 0.22);
}

body[data-theme="dark"] .auth-request-card {
  background: color-mix(in srgb, #0f172a 88%, var(--module-soft-bg, #1e293b) 12%);
}

@keyframes auth-hub-pulse {
  0%,
  100% {
    opacity: 1;
    transform: scale(1);
  }
  50% {
    opacity: 0.75;
    transform: scale(0.92);
  }
}

body[data-theme="dark"] .auth-inbox-source--db {
  background: color-mix(in srgb, var(--brand-blue-mid) 24%, #0f1f34 76%);
  color: var(--brand-blue-soft);
  border-color: color-mix(in srgb, var(--brand-blue-mid) 35%, transparent);
}

body[data-theme="dark"] .auth-inbox-source--auth {
  background: color-mix(in srgb, var(--warning) 22%, #2a1810 78%);
  color: #fcd34d;
  border-color: color-mix(in srgb, var(--warning) 38%, transparent);
}

body[data-theme="dark"] .auth-inbox-card--orphan {
  background: linear-gradient(165deg, #2a2118 0%, #1c1929 100%);
  border-color: color-mix(in srgb, var(--warning) 34%, #334155 66%);
}

body[data-theme="dark"] .auth-hub-toolbar {
  background: linear-gradient(125deg, color-mix(in srgb, var(--module-accent-start) 22%, #0f1f34) 0%, #0f1f34 100%);
  border-color: color-mix(in srgb, var(--module-accent-end) 40%, #334155 60%);
  box-shadow: 0 8px 28px rgba(0, 0, 0, 0.35);
}

body[data-theme="dark"] .auth-hub-live {
  color: #e8f3ff;
}

body[data-theme="dark"] .auth-inbox-card {
  background: linear-gradient(165deg, #13283f 0%, #0f1f34 100%);
  border-color: color-mix(in srgb, var(--module-accent-end) 35%, #334155 65%);
  box-shadow: 0 14px 32px rgba(0, 0, 0, 0.4);
}

body[data-theme="dark"] .auth-inbox-chip {
  background: color-mix(in srgb, var(--module-accent-start) 18%, #0f1f34 82%);
  border-color: color-mix(in srgb, var(--module-accent-end) 28%, transparent);
  color: #c8dff8;
}

body[data-theme="dark"] .auth-inbox-pulse {
  background: color-mix(in srgb, var(--brand-blue-deep) 36%, #0f1f34 64%);
  color: var(--brand-blue-soft);
}

body[data-theme="dark"] .auth-queue-section {
  background: color-mix(in srgb, var(--module-accent-start, #5a73d4) 8%, #0f1f34 92%);
}

body[data-theme="dark"] .auth-queue-section--info {
  background: color-mix(in srgb, var(--module-accent-start, #5a73d4) 12%, #0f1f34 88%);
}

body[data-theme="dark"] .module-shell[data-module-view="authorizations"] .auth-section-count {
  background: color-mix(in srgb, var(--brand-blue-deep) 34%, #0f1f34 66%);
  color: var(--brand-blue-soft);
  border-color: color-mix(in srgb, var(--brand-blue-mid) 40%, transparent);
}

body[data-theme="dark"] .auth-flow-catalog {
  background: color-mix(in srgb, var(--module-accent-start, #5a73d4) 10%, #0f1f34 90%);
}

body[data-theme="dark"] .portal-main .module-shell-head,
body[data-theme="dark"] .portal-main .hiring-executive-strip,
body[data-theme="dark"] .portal-main .payroll-executive-strip {
  background: linear-gradient(120deg, color-mix(in srgb, var(--module-accent-start) 24%, #0f1f34 76%), color-mix(in srgb, var(--module-accent-end) 22%, #0f1f34 78%));
}

body[data-theme="dark"] .portal-main .p-card,
body[data-theme="dark"] .portal-main .table-wrap,
body[data-theme="dark"] .portal-main .users-hero-item,
body[data-theme="dark"] .portal-main .user-card {
  border-color: color-mix(in srgb, var(--module-border-strong) 88%, #0d1b2d 12%);
  box-shadow: 0 12px 30px rgba(2, 10, 20, 0.36);
}

body[data-theme="dark"] .portal-main .p-card-header {
  background: linear-gradient(135deg, color-mix(in srgb, var(--module-accent-start) 20%, #13253b 80%), color-mix(in srgb, var(--module-accent-end) 20%, #12253a 80%));
}

body[data-theme="dark"] .portal-main .p-card-body {
  background: var(--module-soft-bg);
}

body[data-theme="dark"] .portal-main .btn-action {
  background: linear-gradient(180deg, #5d9ce2 0%, #377cc0 52%, #244f78 100%);
  border-color: rgba(149, 196, 255, 0.45);
  color: #f3f9ff;
  box-shadow: 0 12px 24px rgba(4, 17, 34, 0.28);
}

body[data-theme="dark"] .hiring-results-grid--stacked .table-wrap {
  border-color: rgba(148, 196, 255, 0.12);
  box-shadow:
    0 1px 0 rgba(255, 255, 255, 0.02) inset,
    0 14px 28px rgba(2, 8, 18, 0.34);
  background: linear-gradient(
      to right,
      rgba(8, 18, 32, 1) 0%,
      rgba(8, 18, 32, 0) 24px
    ),
    linear-gradient(
      to left,
      rgba(8, 18, 32, 1) 0%,
      rgba(8, 18, 32, 0) 24px
    ),
    linear-gradient(
      to right,
      rgba(148, 196, 255, 0.12),
      rgba(148, 196, 255, 0)
    ),
    linear-gradient(to left, rgba(148, 196, 255, 0.12), rgba(148, 196, 255, 0));
  background-attachment: local, local, scroll, scroll;
  background-position: 0 0, 100% 0, 0 0, 100% 0;
  background-repeat: no-repeat;
  background-size: 24px 100%, 24px 100%, 14px 100%, 14px 100%;
}

body[data-theme="dark"] .portal-main,
body[data-theme="dark"] .portal-main p,
body[data-theme="dark"] .portal-main li,
body[data-theme="dark"] .portal-main label,
body[data-theme="dark"] .portal-main .dash-stat-label,
body[data-theme="dark"] .portal-main .empty-state p {
  color: #d2e6ff;
}

body[data-theme="dark"] .portal-main strong,
body[data-theme="dark"] .portal-main h2,
body[data-theme="dark"] .portal-main h3,
body[data-theme="dark"] .portal-main h4,
body[data-theme="dark"] .portal-main .module-filters-title,
body[data-theme="dark"] .portal-main .hr-kpi-card strong,
body[data-theme="dark"] .portal-main .payroll-kpi-card strong {
  color: #ecf5ff;
}

body[data-theme="dark"] .portal-main .muted,
body[data-theme="dark"] .portal-main .ops-block-lead {
  color: var(--text-soft);
}

body[data-theme="dark"] .dash-stat-row,
body[data-theme="dark"] .user-card-meta,
body[data-theme="dark"] .user-card-actions {
  border-color: #3f6085;
}

body[data-theme="dark"] .empty-state {
  color: #bad2ef;
}

body[data-theme="dark"] .empty-state-icon {
  background: #213b59;
  color: #b8d9ff;
}

body[data-theme="dark"] .portal-main .quality-row span,
body[data-theme="dark"] .portal-main .quality-row b {
  color: var(--text-soft);
}

body[data-theme="dark"] .perm-badge,
body[data-theme="dark"] .role-chip {
  background: rgba(112, 171, 239, 0.14);
  border-color: rgba(135, 190, 247, 0.35);
  color: #d6e9ff;
}

body[data-theme="dark"] .hr-alert-item,
body[data-theme="dark"] .hr-kpi-card,
body[data-theme="dark"] .payroll-kpi-card {
  background: #182f49;
  border-color: #4a7099;
  color: #d9eaff;
}

body[data-theme="dark"] .hr-kpi-card span,
body[data-theme="dark"] .payroll-kpi-card span {
  color: #b8d3f1;
}

body[data-theme="dark"] .timer-badge {
  background: rgba(245, 159, 0, 0.2);
  color: #ffe5a8;
  border: 1px solid rgba(245, 159, 0, 0.4);
}

body[data-theme="dark"] .portal-main .btn-action:hover {
  border-color: #8fc2ff;
  color: #ffffff;
  background: linear-gradient(180deg, #71acee 0%, #4589cf 52%, #2b5f90 100%);
}

body[data-theme="dark"] .portal-data-hydrating-banner {
  border-color: rgba(96, 165, 250, 0.35);
  background: rgba(59, 130, 246, 0.12);
  color: var(--text, #e2e8f0);
}

body[data-theme="dark"] .admin-users-hero-panel {
  border-color: rgba(191, 219, 254, 0.2);
  background: linear-gradient(180deg, rgba(8, 20, 36, 0.32), rgba(8, 20, 36, 0.16));
}

body[data-theme="dark"] .admin-users-hero-panel__copy,
body[data-theme="dark"] .admin-users-hero-panel__eyebrow {
  color: rgba(239, 246, 255, 0.9);
}

body[data-theme="dark"] .admin-users-insight-card,
body[data-theme="dark"] .admin-users-command-card {
  border-color: rgba(148, 196, 255, 0.14);
  background: linear-gradient(165deg, rgba(14, 28, 46, 0.96), rgba(10, 22, 38, 0.94));
  box-shadow: 0 16px 34px rgba(2, 8, 18, 0.42);
}

body[data-theme="dark"] .admin-users-insight-card--highlight,
body[data-theme="dark"] .admin-users-command-card.is-active {
  background: linear-gradient(165deg, rgba(18, 36, 58, 0.98), rgba(11, 24, 40, 0.94));
  border-color: rgba(96, 165, 250, 0.26);
}

body[data-theme="dark"] .admin-users-insight-card__value,
body[data-theme="dark"] .admin-users-mini-chip,
body[data-theme="dark"] .admin-users-data-card .hr-data-card__stat {
  color: #d9ecff;
}

body[data-theme="dark"] .admin-users-insight-card h3,
body[data-theme="dark"] .admin-users-command-card h3,
body[data-theme="dark"] .admin-users-inline-list li strong {
  color: #f4f8ff;
}

body[data-theme="dark"] .admin-users-insight-card p,
body[data-theme="dark"] .admin-users-command-card p,
body[data-theme="dark"] .admin-users-inline-list li span,
body[data-theme="dark"] .admin-users-command-card__meta span,
body[data-theme="dark"] .admin-users-section-copy,
body[data-theme="dark"] .admin-users-form-lead,
body[data-theme="dark"] .admin-users-inline-empty,
body[data-theme="dark"] .admin-users-inline-note {
  color: #a9c8ea;
}

body[data-theme="dark"] .admin-users-inline-list li,
body[data-theme="dark"] .admin-users-section-summary,
body[data-theme="dark"] .admin-users-session-topbar {
  background: linear-gradient(180deg, rgba(18, 32, 52, 0.9), rgba(12, 24, 40, 0.9));
  border-color: rgba(148, 196, 255, 0.12);
}

body[data-theme="dark"] .admin-users-session-topbar--compact {
  background: transparent;
  border-color: transparent;
}

body[data-theme="dark"] .admin-users-focus-card {
  border-color: rgba(96, 165, 250, 0.22);
  box-shadow: 0 20px 40px rgba(2, 8, 18, 0.42);
}

body[data-theme="dark"] .admin-users-focus-card .hr-data-card__head {
  background: linear-gradient(180deg, rgba(18, 32, 52, 0.98), rgba(14, 28, 46, 0.9));
}

body[data-theme="dark"] .admin-users-mini-chip {
  background: rgba(var(--primary-rgb), 0.14);
  border-color: rgba(148, 196, 255, 0.18);
}

body[data-theme="dark"] .admin-users-mini-chip strong {
  color: #f4f8ff;
}

body[data-theme="dark"] .admin-users-mini-chip--muted {
  background: rgba(71, 85, 105, 0.28);
  color: #a9c8ea;
}

body[data-theme="dark"] .admin-users-command-card__meta span {
  background: rgba(255, 255, 255, 0.05);
}

body[data-theme="dark"] .btn.btn-action.btn-danger-soft {
  border-color: rgba(248, 113, 113, 0.45);
  color: #fecaca;
  background: linear-gradient(180deg, rgba(127, 29, 29, 0.36), rgba(91, 24, 24, 0.5));
}

body[data-theme="dark"] .btn.btn-action.btn-danger-soft:hover {
  border-color: rgba(252, 165, 165, 0.7);
  background: linear-gradient(180deg, rgba(127, 29, 29, 0.54), rgba(103, 30, 30, 0.68));
  color: #ffe4e6;
}

body[data-theme="dark"] .driver-card,
body[data-theme="dark"] .notif-card,
body[data-theme="dark"] .calendar-grid,
body[data-theme="dark"] .cal-cell,
body[data-theme="dark"] .cal-day-event,
body[data-theme="dark"] .cal-upcoming-item {
  background: #122036;
  border-color: #2b3e58;
  color: #e2eaf6;
}

body[data-theme="dark"] .driver-card-summary,
body[data-theme="dark"] .driver-fact {
  background: linear-gradient(180deg, rgba(18, 32, 54, 0.98), rgba(11, 22, 38, 0.98));
  border-color: #2b3e58;
  color: #dbe7f5;
}

body[data-theme="dark"] .driver-card-title h4,
body[data-theme="dark"] .driver-card-summary strong,
body[data-theme="dark"] .driver-fact strong,
body[data-theme="dark"] .driver-card-inline-row > span:last-child {
  color: #f8fbff;
}

body[data-theme="dark"] .driver-card-summary p,
body[data-theme="dark"] .driver-fact > span,
body[data-theme="dark"] .driver-card-inline-row > span:first-child,
body[data-theme="dark"] .driver-card-kicker {
  color: #9db5cf;
}

body[data-theme="dark"] .driver-meta-chip {
  background: rgba(74, 143, 212, 0.14);
  border-color: rgba(121, 173, 228, 0.24);
  color: #dbeafe;
}

body[data-theme="dark"] .driver-meta-chip--warn {
  background: rgba(245, 158, 11, 0.16);
  border-color: rgba(245, 158, 11, 0.28);
  color: #fde68a;
}

body[data-theme="dark"] .driver-doc-pill--ok {
  color: #bbf7d0;
  background: rgba(16, 185, 129, 0.18);
  border-color: rgba(16, 185, 129, 0.34);
}

body[data-theme="dark"] .driver-doc-pill--warning,
body[data-theme="dark"] .driver-doc-pill--missing {
  color: #fde68a;
  background: rgba(245, 158, 11, 0.18);
  border-color: rgba(245, 158, 11, 0.34);
}

body[data-theme="dark"] .driver-doc-pill--expired {
  color: #fecaca;
  background: rgba(239, 68, 68, 0.18);
  border-color: rgba(239, 68, 68, 0.34);
}

body[data-theme="dark"] .cal-cell-other { background: #0e1a2e; }

body[data-theme="dark"] .cal-cell-today {
  background: linear-gradient(180deg, rgba(var(--primary-rgb), 0.22), rgba(var(--primary-rgb), 0.06));
  box-shadow: inset 0 0 0 2px rgba(var(--primary-mid-rgb), 0.45);
}

body[data-theme="dark"] .cal-weekdays {
  background: linear-gradient(180deg, #122036, #0b1424);
  border-bottom-color: #2b3e58;
}

body[data-theme="dark"] .vehicle-plate {
  background: linear-gradient(180deg, #fff9c4 0%, #ffeb3b 45%, #fdd835 100%);
  color: #0a0a0a;
  border-color: #1a1a1a;
}

body[data-theme="dark"] .calendar-filters-bar {
  background: linear-gradient(135deg, rgba(var(--primary-rgb), 0.2), rgba(14, 32, 52, 0.94));
  border-color: rgba(var(--primary-mid-rgb), 0.28);
}

body[data-theme="dark"] .cal-cell-has-events {
  background: linear-gradient(180deg, rgba(var(--primary-rgb), 0.14), #122036);
}

body[data-theme="dark"] .driver-card-head {
  background: linear-gradient(135deg, rgba(var(--primary-rgb), 0.16), rgba(14, 28, 46, 0.96));
  border-bottom-color: var(--line);
}

body[data-theme="dark"] .status-fleet-equipo-seco {
  color: #e8f4fc;
  background: linear-gradient(135deg, rgba(var(--primary-rgb), 0.32), rgba(30, 74, 115, 0.55));
  border-color: rgba(var(--primary-mid-rgb), 0.35);
  box-shadow: 0 1px 8px rgba(0, 0, 0, 0.22);
}

body[data-theme="dark"] .status-fleet-ocupado,
body[data-theme="dark"] .status-fleet-programado,
body[data-theme="dark"] .status-fleet-disponible {
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.45);
}

body[data-theme="dark"] .notif-card-unread {
  border-color: rgba(var(--primary-mid-rgb), 0.5);
  background: linear-gradient(180deg, rgba(var(--primary-rgb), 0.14), #122036);
}

body[data-theme="dark"] .perm-check {
  border-color: rgba(121, 173, 228, 0.22);
  background: linear-gradient(180deg, rgba(15, 28, 46, 0.96), rgba(11, 22, 38, 0.94));
  box-shadow: 0 14px 28px rgba(2, 8, 18, 0.28);
}

body[data-theme="dark"] .perm-check:hover {
  background: linear-gradient(180deg, rgba(18, 32, 54, 0.98), rgba(12, 24, 40, 0.98));
  border-color: rgba(121, 173, 228, 0.3);
}

body[data-theme="dark"] .perm-check:has(input[type="checkbox"]:checked) {
  border-color: rgba(96, 165, 250, 0.44);
  background: linear-gradient(180deg, rgba(20, 44, 76, 0.98), rgba(11, 27, 47, 0.96));
  box-shadow: 0 18px 32px rgba(8, 26, 48, 0.34);
}

body[data-theme="dark"] .directory-card {
  background: linear-gradient(180deg, rgba(14, 28, 46, 0.97), rgba(10, 22, 38, 0.98));
  border-color: rgba(121, 173, 228, 0.18);
  box-shadow: 0 20px 36px rgba(2, 8, 18, 0.44);
}

body[data-theme="dark"] .directory-card--user {
  background:
    linear-gradient(180deg, rgba(14, 28, 46, 0.97), rgba(10, 22, 38, 0.98)),
    radial-gradient(circle at top right, rgba(96, 165, 250, 0.2), transparent 44%);
}

body[data-theme="dark"] .directory-card--company {
  background:
    linear-gradient(180deg, rgba(18, 26, 52, 0.97), rgba(11, 18, 38, 0.98)),
    radial-gradient(circle at top right, rgba(139, 92, 246, 0.18), transparent 46%);
}

body[data-theme="dark"] .directory-card--vehicle {
  background:
    linear-gradient(180deg, rgba(12, 29, 46, 0.97), rgba(9, 22, 36, 0.98)),
    radial-gradient(circle at top right, rgba(34, 211, 238, 0.17), transparent 44%);
}

body[data-theme="dark"] .directory-card--driver {
  background:
    linear-gradient(180deg, rgba(11, 31, 37, 0.97), rgba(8, 24, 29, 0.98)),
    radial-gradient(circle at top right, rgba(16, 185, 129, 0.16), transparent 44%);
}

body[data-theme="dark"] .directory-card:hover {
  border-color: rgba(121, 173, 228, 0.3);
  box-shadow: 0 24px 42px rgba(2, 8, 18, 0.52);
}

body[data-theme="dark"] .directory-card__avatar {
  color: #eef6ff;
  border-color: rgba(121, 173, 228, 0.24);
  background: linear-gradient(145deg, rgba(var(--primary-rgb), 0.24), rgba(30, 58, 92, 0.88));
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.08);
}

body[data-theme="dark"] .directory-card__kicker,
body[data-theme="dark"] .directory-chip small,
body[data-theme="dark"] .directory-card__fact dt {
  color: #95acc8;
}

body[data-theme="dark"] .directory-card__title,
body[data-theme="dark"] .directory-chip strong,
body[data-theme="dark"] .directory-card__fact dd,
body[data-theme="dark"] .directory-card__summary strong {
  color: #f8fbff;
}

body[data-theme="dark"] .directory-card__subline {
  color: #9db5cf;
}

body[data-theme="dark"] .directory-card__ops {
  background: linear-gradient(135deg, rgba(17, 31, 51, 0.94), rgba(11, 22, 38, 0.98));
  border-color: rgba(121, 173, 228, 0.16);
}

body[data-theme="dark"] .directory-card__ops-body strong {
  color: #f8fbff;
}

body[data-theme="dark"] .directory-card__ops-detail {
  color: #9db5cf;
}

body[data-theme="dark"] .directory-card__ops--ok {
  background: linear-gradient(135deg, rgba(16, 185, 129, 0.16), rgba(11, 22, 38, 0.98));
  border-color: rgba(52, 211, 153, 0.28);
}

body[data-theme="dark"] .directory-card__ops--warn {
  background: linear-gradient(135deg, rgba(245, 158, 11, 0.14), rgba(11, 22, 38, 0.98));
  border-color: rgba(251, 191, 36, 0.28);
}

body[data-theme="dark"] .directory-card__ops--alert {
  background: linear-gradient(135deg, rgba(239, 68, 68, 0.14), rgba(11, 22, 38, 0.98));
  border-color: rgba(248, 113, 113, 0.28);
}

body[data-theme="dark"] .directory-card__avatar--plate {
  border-color: #1a1a1a;
  background: linear-gradient(180deg, #fff9c4 0%, #ffeb3b 38%, #fdd835 72%, #f9a825 100%);
  color: #0a0a0a;
  box-shadow:
    0 2px 0 rgba(0, 0, 0, 0.45),
    inset 0 1px 0 rgba(255, 255, 255, 0.4);
}

body[data-theme="dark"] .directory-card__banner--alert {
  color: #fecdd3;
  background: rgba(239, 68, 68, 0.14);
  border-color: rgba(248, 113, 113, 0.28);
}

body[data-theme="dark"] .directory-card--company .directory-card__kicker {
  color: #c4b5fd;
}

body[data-theme="dark"] .module-panel-toolbar,
body[data-theme="dark"] .module-panel-actions {
  color: #e8f1ff;
}

body[data-theme="dark"] .module-panel-actions__group--secondary {
  background: transparent;
  border: none;
  box-shadow: none;
}

body[data-theme="dark"] .module-panel-actions--footer .module-panel-btn,
body[data-theme="dark"] .module-panel-toolbar .module-panel-btn {
  --mpa-btn-bg: rgba(15, 28, 46, 0.82);
  --mpa-btn-edge: rgba(148, 196, 255, 0.18);
  --mpa-btn-icon-bg: rgba(var(--primary-rgb), 0.18);
  --mpa-btn-shadow: 0 1px 2px rgba(0, 0, 0, 0.22), 0 8px 20px rgba(0, 0, 0, 0.18);
}

body[data-theme="dark"] .module-panel-btn--minimize,
body[data-theme="dark"] .module-panel-btn--expand {
  color: #e2e8f0;
}

body[data-theme="dark"] .module-panel-btn--minimize:hover,
body[data-theme="dark"] .module-panel-btn--expand:hover {
  color: #f8fafc;
  --mpa-btn-bg: rgba(30, 41, 59, 0.96);
  --mpa-btn-edge: rgba(148, 196, 255, 0.28);
  --mpa-btn-icon-bg: rgba(var(--primary-rgb), 0.24);
  box-shadow:
    0 2px 4px rgba(0, 0, 0, 0.24),
    0 10px 24px rgba(var(--primary-rgb), 0.14);
}

body[data-theme="dark"] .module-panel-btn--cancel {
  border-inline-start-color: transparent;
}

body[data-theme="dark"] .module-panel-btn--cancel.btn-danger-soft {
  color: #fca5a5;
  --mpa-btn-edge: rgba(248, 113, 113, 0.24);
  --mpa-btn-icon-bg: rgba(239, 68, 68, 0.16);
}

body[data-theme="dark"] .module-panel-btn--cancel.btn-danger-soft:hover {
  color: #fecaca;
  --mpa-btn-bg: rgba(127, 29, 29, 0.32);
  --mpa-btn-edge: rgba(248, 113, 113, 0.34);
  --mpa-btn-icon-bg: rgba(239, 68, 68, 0.22);
}

body[data-theme="dark"] .directory-card--user .directory-card__tags .perm-tag,
body[data-theme="dark"] .directory-card--company .directory-card__tags .perm-tag {
  color: #dbeafe;
  background: rgba(96, 165, 250, 0.14);
  border-color: rgba(121, 173, 228, 0.24);
}

body[data-theme="dark"] .directory-card__title-note {
  color: #dbeafe;
  background: rgba(96, 165, 250, 0.18);
}

body[data-theme="dark"] .directory-card__summary,
body[data-theme="dark"] .directory-chip,
body[data-theme="dark"] .directory-card__fact {
  background: linear-gradient(180deg, rgba(17, 31, 51, 0.94), rgba(11, 22, 38, 0.98));
  border-color: rgba(121, 173, 228, 0.16);
}

body[data-theme="dark"] .directory-card--company .directory-card__summary {
  background: linear-gradient(180deg, rgba(31, 25, 58, 0.95), rgba(15, 18, 39, 0.98));
}

body[data-theme="dark"] .directory-card--driver .directory-card__summary {
  background: linear-gradient(180deg, rgba(13, 41, 42, 0.94), rgba(8, 24, 29, 0.98));
}

body[data-theme="dark"] .directory-card--vehicle .directory-card__summary {
  background: linear-gradient(180deg, rgba(14, 36, 57, 0.94), rgba(9, 22, 36, 0.98));
}

body[data-theme="dark"] .directory-card__summary p {
  color: #9db5cf;
}

body[data-theme="dark"] .directory-pill {
  color: #d6e7fb;
  background: rgba(71, 85, 105, 0.24);
  border-color: rgba(121, 173, 228, 0.18);
}

body[data-theme="dark"] .directory-pill--ok {
  color: #bbf7d0;
  background: rgba(16, 185, 129, 0.18);
  border-color: rgba(16, 185, 129, 0.32);
}

body[data-theme="dark"] .directory-pill--warn {
  color: #fde68a;
  background: rgba(245, 158, 11, 0.18);
  border-color: rgba(245, 158, 11, 0.32);
}

body[data-theme="dark"] .directory-pill--alert {
  color: #fecaca;
  background: rgba(239, 68, 68, 0.18);
  border-color: rgba(239, 68, 68, 0.32);
}

body[data-theme="dark"] .directory-chip--ok {
  background: rgba(16, 185, 129, 0.11);
  border-color: rgba(16, 185, 129, 0.28);
}

body[data-theme="dark"] .directory-chip--warn {
  background: rgba(245, 158, 11, 0.13);
  border-color: rgba(245, 158, 11, 0.3);
}

body[data-theme="dark"] .directory-chip--alert {
  background: rgba(239, 68, 68, 0.11);
  border-color: rgba(239, 68, 68, 0.28);
}

body[data-theme="dark"] .directory-card__banner {
  color: #cbd5e1;
  background: rgba(71, 85, 105, 0.18);
  border-color: rgba(121, 173, 228, 0.14);
}

body[data-theme="dark"] .directory-card__banner--warn {
  color: #fde68a;
  background: rgba(180, 83, 9, 0.22);
  border-color: rgba(245, 158, 11, 0.26);
}

body[data-theme="dark"] .directory-card__actions {
  border-top-color: rgba(121, 173, 228, 0.14);
}

body[data-theme="dark"] .emp-contract-duration-panel {
  background: color-mix(in srgb, var(--primary) 12%, var(--card, #1a2332));
  border-color: rgba(var(--primary-rgb), 0.35);
}

body[data-theme="dark"] .route-rate-company-name {
  color: #e8f2fc;
}

body[data-theme="dark"] .route-rate-company-item-text {
  color: var(--text-main, #e8f2fc);
}

.field-label {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-weight: 600;
  font-size: 0.78rem;
  letter-spacing: 0.3px;
  color: var(--text-soft);
  text-transform: uppercase;
}

.field-label svg {
  width: 14px;
  height: 14px;
  padding: 2px;
  border-radius: 6px;
  background: linear-gradient(
    135deg,
    rgba(var(--primary-rgb), 0.18),
    rgba(var(--primary-mid-rgb), 0.16)
  );
  color: var(--primary);
}

body[data-theme="dark"] .form-section {
  background: linear-gradient(180deg, #122036, #0e1a2c);
  border-color: #2b3e58;
}

body[data-theme="dark"] .form-section-grid label {
  background: #0f1c30;
  border-color: #2b3e58;
  color: #e2eaf6;
}

body[data-theme="dark"] .form-section-blue { background: linear-gradient(135deg, rgba(var(--primary-rgb), 0.22), rgba(var(--primary-rgb), 0.09)); }

body[data-theme="dark"] .form-section-violet { background: linear-gradient(135deg, rgba(var(--primary-rgb), 0.22), rgba(var(--primary-rgb), 0.08)); }

body[data-theme="dark"] .form-section-cyan { background: linear-gradient(135deg, rgba(var(--primary-mid-rgb), 0.18), rgba(var(--primary-rgb), 0.08)); }

body[data-theme="dark"] .form-section-emerald { background: linear-gradient(135deg, rgba(16, 185, 129, 0.18), rgba(4, 120, 87, 0.1)); }

body[data-theme="dark"] .form-section-amber { background: linear-gradient(135deg, rgba(251, 191, 36, 0.16), rgba(180, 83, 9, 0.08)); }

body[data-theme="dark"] .form-section-rose { background: linear-gradient(135deg, rgba(244, 63, 94, 0.18), rgba(190, 18, 60, 0.1)); }

body[data-theme="dark"] .field-label {
  color: #a8bcd6;
}

body[data-theme="dark"] .field-label svg {
  background: rgba(99, 167, 247, 0.18);
  color: #93c5fd;
}

body[data-theme="dark"] .field-label .field-required-mark {
  color: #f87171;
}

body[data-theme="dark"] #form-employee .hr-emp-position-block {
  background: color-mix(in srgb, var(--primary) 10%, #0e1a2c);
  border-color: color-mix(in srgb, var(--primary) 35%, #2b3e58);
}

body[data-theme="dark"] #form-employee .form-section {
  background: linear-gradient(180deg, #122036, #0e1a2c);
  border-color: #2b3e58;
  border-left-color: var(--emp-accent);
}

body[data-theme="dark"] #form-employee .form-section-grid label:not(.route-rate-company-item):not(.route-rate-company-item-text) {
  background: #0f1c30;
  border-color: #2b3e58;
}

.btn-primary {
  background: linear-gradient(135deg, var(--brand-blue-mid), var(--primary), var(--primary-deeper)) !important;
  background-size: 200% 200% !important;
  border: none !important;
  color: #fff !important;
  box-shadow: 0 8px 22px rgba(var(--primary-rgb), 0.38);
  transition: background-position 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
}

.btn-primary:hover {
  background-position: 100% 50%;
  transform: translateY(-1px);
  filter: none;
  box-shadow: 0 12px 28px rgba(var(--primary-rgb), 0.48);
}

body[data-theme="dark"] .btn-primary.hr-workspace-jump-btn {
  box-shadow: 0 8px 22px rgba(var(--primary-rgb), 0.38);
}

body[data-theme="dark"] .btn-primary.hr-workspace-jump-btn:hover {
  box-shadow: 0 12px 28px rgba(var(--primary-rgb), 0.48);
}

body[data-theme="dark"] .portal-detail-hero {
  background: linear-gradient(135deg, rgba(var(--primary-rgb), 0.14), rgba(15, 23, 42, 0.55));
  border-color: rgba(148, 163, 184, 0.28);
  box-shadow: none;
}

body[data-theme="dark"] .portal-detail-logo {
  background: rgba(15, 23, 42, 0.45);
  border-color: rgba(148, 163, 184, 0.28);
}

body[data-theme="dark"] .portal-detail-tile {
  background: rgba(15, 23, 42, 0.38);
  border-color: rgba(148, 163, 184, 0.22);
}

body[data-theme="dark"] a.portal-detail-tile:hover {
  background: rgba(15, 23, 42, 0.55);
  border-color: rgba(96, 165, 250, 0.35);
}

body[data-theme="dark"] .portal-detail-loc {
  background: rgba(15, 23, 42, 0.45);
  border-color: rgba(148, 163, 184, 0.22);
}

body[data-theme="dark"] .portal-detail-loc-title {
  color: #e2e8f0;
}

body[data-theme="dark"] .portal-detail-loc-line {
  color: #f1f5f9;
}

body[data-theme="dark"] .portal-detail-highlight {
  background: linear-gradient(135deg, rgba(var(--primary-rgb), 0.12), rgba(15, 23, 42, 0.5));
  border-color: rgba(148, 163, 184, 0.24);
}

body[data-theme="dark"] .portal-detail-highlight__title {
  color: #e2e8f0;
}

body[data-theme="dark"] .detail-section--card .detail-row {
  background: rgba(15, 23, 42, 0.35);
}

body[data-theme="dark"] .detail-section--card .detail-row:nth-child(even) {
  background: rgba(var(--primary-rgb), 0.08);
}

body[data-theme="dark"] .approve-trip-hero {
  background: linear-gradient(145deg, color-mix(in srgb, var(--primary) 18%, transparent) 0%, color-mix(in srgb, var(--white) 4%, transparent) 100%);
  box-shadow: 0 8px 28px rgba(0, 0, 0, 0.35);
}

body[data-theme="dark"] .approve-trip-pill--tk {
  color: #7dd3fc;
}

body[data-theme="dark"] .trip-assign-friendly-intro {
  background: color-mix(in srgb, var(--primary) 12%, transparent);
}

body[data-theme="dark"] .trip-assign-tk-banner {
  background: color-mix(in srgb, #0ea5e9 18%, transparent);
}

body[data-theme="dark"] .trip-assign-tk-banner--dry {
  background: color-mix(in srgb, var(--primary) 14%, transparent);
}

body[data-theme="dark"] .solicitud-trip-summary {
  background: color-mix(in srgb, var(--primary) 14%, transparent);
}

body[data-theme="dark"] .employee-profile-hero-avatar {
  border-color: var(--card, #1f2937);
  box-shadow: 0 8px 22px rgba(2, 6, 23, 0.6);
}

body[data-theme="dark"] .employee-profile-kv {
  background: rgba(0, 0, 0, 0.22);
}

body[data-theme="dark"] .modal-card-edit.modal-card-edit--employee {
  background: linear-gradient(180deg, rgba(11, 21, 35, 0.98), rgba(8, 17, 29, 0.98));
}

body[data-theme="dark"] .modal-card-edit--employee .modal-edit-custom-slot {
  border-color: rgba(148, 196, 255, 0.12);
  background: linear-gradient(180deg, rgba(17, 30, 49, 0.94), rgba(12, 24, 40, 0.92));
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.03) inset;
}

body[data-theme="dark"] .modal-card-edit--employee .modal-edit-section-title {
  border-bottom-color: rgba(148, 196, 255, 0.1);
}

body[data-theme="dark"] .detail-section {
  background: rgba(15, 23, 42, 0.45);
  border-color: rgba(148, 163, 184, 0.22);
}

body[data-theme="dark"] .detail-section-title {
  color: #e2e8f0;
}

body[data-theme="dark"] .detail-row {
  border-bottom-color: rgba(148, 163, 184, 0.15);
}

body[data-theme="dark"] .detail-row-label {
  color: rgba(226, 232, 240, 0.7);
}

body[data-theme="dark"] .detail-row-value {
  color: #f1f5f9;
}

body[data-theme="dark"] .detail-note {
  background: rgba(15, 23, 42, 0.55);
  border-color: rgba(148, 163, 184, 0.25);
  color: #e2e8f0;
}

body[data-theme="dark"] .detail-pre {
  background: rgba(15, 23, 42, 0.55);
  border-color: rgba(148, 163, 184, 0.25);
  color: #e2e8f0;
}

body[data-theme="dark"] .portal-main .transport-exec-table-wrap table thead th {
  color: #9fc3e6;
  border-bottom-color: color-mix(in srgb, var(--primary) 32%, #2a3f56);
}

body[data-theme="dark"] .portal-main .transport-exec-table-wrap table tbody tr {
  background: color-mix(in srgb, #0f172a 88%, var(--primary) 12%);
  box-shadow: 0 4px 16px rgba(2, 8, 20, 0.45);
}

body[data-theme="dark"] .portal-main .transport-exec-table-wrap table tbody td {
  border-top-color: color-mix(in srgb, var(--primary) 30%, #2a3f56);
  border-bottom-color: color-mix(in srgb, var(--primary) 30%, #2a3f56);
}

body[data-theme="dark"] .portal-main .transport-exec-table-wrap table tbody td:first-child {
  border-left-color: color-mix(in srgb, var(--primary) 30%, #2a3f56);
}

body[data-theme="dark"] .portal-main .transport-exec-table-wrap table tbody td:last-child {
  border-right-color: color-mix(in srgb, var(--primary) 30%, #2a3f56);
}

body[data-theme="dark"] .trip-ops-card {
  background: linear-gradient(160deg, color-mix(in srgb, var(--primary) 18%, #0b1626) 0%, #101c2c 60%, color-mix(in srgb, var(--primary) 8%, #0b1626) 100%);
  border-color: color-mix(in srgb, var(--primary) 34%, #2a3f56);
  box-shadow: 0 8px 22px rgba(2, 8, 20, 0.55), 0 1px 2px rgba(2, 8, 20, 0.3);
}

body[data-theme="dark"] .trip-ops-card:hover {
  border-color: color-mix(in srgb, var(--primary) 50%, #2a3f56);
  box-shadow: 0 14px 28px rgba(2, 8, 20, 0.7), 0 2px 4px rgba(2, 8, 20, 0.35);
}

body[data-theme="dark"] .trip-ops-card-kicker {
  color: #9fc3e6;
}

body[data-theme="dark"] .trip-ops-card-title {
  color: #e6f1ff;
}

body[data-theme="dark"] .trip-ops-card-route {
  background: rgba(var(--primary-rgb), 0.16);
  border-color: color-mix(in srgb, var(--primary) 35%, #2a3f56);
}

body[data-theme="dark"] .trip-ops-card-route-label {
  color: #94b4d6;
}

body[data-theme="dark"] .trip-ops-card-route-node strong {
  color: #dbeafe;
}

body[data-theme="dark"] .trip-ops-card-route-arrow {
  color: color-mix(in srgb, var(--primary) 70%, #cfe6ff);
}

body[data-theme="dark"] .trip-ops-card-item {
  background: rgba(255, 255, 255, 0.04);
  border-color: color-mix(in srgb, var(--primary) 26%, #2a3f56);
}

body[data-theme="dark"] .trip-ops-card-item dt {
  color: #9fc3e6;
}

body[data-theme="dark"] .trip-ops-card-item dt svg {
  color: color-mix(in srgb, var(--primary) 80%, #d6e6ff);
}

body[data-theme="dark"] .trip-ops-card-item dd {
  color: #e2ecff;
}

body[data-theme="dark"] .trip-ops-card-item--value dd {
  color: #5fe2a1;
}

body[data-theme="dark"] .trip-ops-card-standby {
  background: linear-gradient(135deg, rgba(251, 191, 36, 0.22), rgba(251, 191, 36, 0.08));
  border-color: rgba(251, 191, 36, 0.45);
  color: #fcd9a3;
}

body[data-theme="dark"] .trip-ops-card-standby strong {
  color: #ffe6b5;
}

body[data-theme="dark"] .trip-ops-card-actions {
  border-top-color: color-mix(in srgb, var(--primary) 22%, #2a3f56);
}

body[data-theme="dark"] .hiring-shell .hiring-table-wrap {
  border-color: rgba(129, 140, 248, 0.18);
  background: linear-gradient(180deg, rgba(16, 27, 46, 0.96), rgba(11, 21, 37, 0.98));
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.03);
}

body[data-theme="dark"] .hiring-shell .hiring-table thead th {
  color: #95afd0;
}

body[data-theme="dark"] .hiring-shell .hiring-table tbody tr {
  filter: drop-shadow(0 12px 20px rgba(2, 8, 18, 0.42));
}

body[data-theme="dark"] .hiring-shell .hiring-table tbody td {
  background: rgba(17, 30, 49, 0.95);
  border-top-color: rgba(148, 196, 255, 0.12);
  border-bottom-color: rgba(148, 196, 255, 0.12);
}

body[data-theme="dark"] .hiring-shell .hiring-table tbody td:first-child {
  border-left-color: rgba(148, 196, 255, 0.12);
}

body[data-theme="dark"] .hiring-shell .hiring-table tbody td:last-child {
  border-right-color: rgba(148, 196, 255, 0.12);
}

body[data-theme="dark"] .hiring-shell .hiring-table tbody tr:hover td {
  background: rgba(20, 35, 58, 0.98);
  border-color: rgba(129, 140, 248, 0.24);
}

body[data-theme="dark"] .hiring-table-primary strong {
  color: #f4f8ff;
}

body[data-theme="dark"] .hiring-table-primary span {
  color: #9ebcdf;
}

body[data-theme="dark"] .hiring-table-actions > .btn {
  box-shadow: none;
}

body[data-theme="dark"] .hiring-status-select {
  border-color: rgba(129, 140, 248, 0.22);
  background: linear-gradient(180deg, rgba(20, 35, 58, 0.96), rgba(13, 25, 41, 0.98));
  color: #eaf2ff;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.03);
}

body[data-theme="dark"] .hiring-status-select:focus {
  border-color: rgba(129, 140, 248, 0.34);
  box-shadow:
    0 0 0 3px rgba(99, 102, 241, 0.16),
    inset 0 1px 0 rgba(255, 255, 255, 0.04);
}

body[data-theme="dark"] .request-company-hub-card {
  background: linear-gradient(160deg, color-mix(in srgb, var(--primary) 18%, #0b1626) 0%, #101c2c 60%, color-mix(in srgb, var(--primary) 8%, #0b1626) 100%);
  border-color: color-mix(in srgb, var(--primary) 34%, #2a3f56);
  box-shadow: 0 8px 22px rgba(2, 8, 20, 0.55), 0 1px 2px rgba(2, 8, 20, 0.3);
}

body[data-theme="dark"] .request-company-hub-card:hover {
  border-color: color-mix(in srgb, var(--primary) 50%, #2a3f56);
  box-shadow: 0 14px 28px rgba(2, 8, 20, 0.7), 0 2px 4px rgba(2, 8, 20, 0.35);
}

body[data-theme="dark"] .request-company-hub-card.is-active {
  border-color: color-mix(in srgb, var(--primary) 65%, #2a3f56);
  box-shadow: 0 16px 30px rgba(var(--primary-rgb), 0.45);
}

body[data-theme="dark"] .request-company-hub-card h4 {
  color: #e6f1ff;
}

body[data-theme="dark"] .request-company-hub-cta {
  background: linear-gradient(180deg, #17314c 0%, #12263d 100%);
  border-color: #4a729e;
  color: #dbeafe;
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.18);
}

body[data-theme="dark"] .request-company-hub-cta:hover {
  background: linear-gradient(180deg, #1c3d5e 0%, #16314d 100%);
  border-color: #6797c7;
  color: #ffffff;
}

body[data-theme="dark"] .request-company-hub-card.is-active .request-company-hub-cta {
  background: linear-gradient(180deg, #4b94dd 0%, #2f71bc 100%);
  border-color: rgba(173, 214, 255, 0.28);
  color: #ffffff;
  box-shadow: 0 12px 22px rgba(6, 20, 38, 0.22);
}

body[data-theme="dark"] .request-company-hub-metrics span {
  background: rgba(255, 255, 255, 0.04);
  border-color: color-mix(in srgb, var(--primary) 26%, #2a3f56);
}

body[data-theme="dark"] .request-company-hub-metrics strong {
  color: #dbeafe;
}

body[data-theme="dark"] .request-company-hub-metrics small {
  color: #94b4d6;
}

body[data-theme="dark"] .payroll-shell .btn-outline,
body[data-theme="dark"] .hiring-shell .btn-outline {
  background: #17314c;
  border-color: #4a729e;
  color: #e6f1ff;
  box-shadow: 0 10px 22px rgba(0, 0, 0, 0.22);
}

body[data-theme="dark"] .payroll-shell .btn-outline:hover,
body[data-theme="dark"] .hiring-shell .btn-outline:hover {
  background: #1d4064;
  border-color: #5d88b8;
  color: #ffffff;
}

body[data-theme="dark"] .hr-action-card {
  border-color: rgba(148, 196, 255, 0.14);
  background: linear-gradient(165deg, rgba(18, 32, 52, 0.98), rgba(12, 24, 40, 0.95));
  box-shadow: 0 12px 32px rgba(2, 8, 18, 0.45);
}

body[data-theme="dark"] .hr-action-card__head {
  border-bottom-color: rgba(148, 196, 255, 0.1);
  background: linear-gradient(135deg, rgba(var(--primary-rgb), 0.16), rgba(12, 24, 40, 0.4));
}

body[data-theme="dark"] .hr-action-card__cta {
  background: linear-gradient(180deg, #5d9ce2 0%, #377cc0 52%, #244f78 100%);
  border-color: rgba(149, 196, 255, 0.45);
  color: #f3f9ff;
  box-shadow: 0 12px 24px rgba(4, 17, 34, 0.28);
}

body[data-theme="dark"] .hr-action-card__panel {
  background: linear-gradient(180deg, rgba(17, 30, 49, 0.72), rgba(12, 24, 40, 0.94));
}

body[data-theme="dark"] .hr-data-card {
  border-color: rgba(148, 196, 255, 0.14);
  background: rgba(14, 28, 46, 0.92);
  box-shadow: 0 12px 32px rgba(2, 8, 18, 0.4);
}

body[data-theme="dark"] .hr-data-card__head {
  border-bottom-color: rgba(148, 196, 255, 0.1);
  background: linear-gradient(180deg, rgba(18, 32, 52, 0.95), rgba(14, 28, 46, 0.88));
}

body[data-theme="dark"] .hr-data-card__stat {
  background: rgba(var(--primary-rgb), 0.14);
  border-color: rgba(148, 196, 255, 0.2);
  color: #cfe9fc;
}

body[data-theme="dark"] .hiring-shell--workspace .hr-action-card {
  border-color: rgba(129, 140, 248, 0.16);
  box-shadow: 0 14px 34px rgba(2, 8, 18, 0.42);
}

body[data-theme="dark"] .hiring-shell--workspace .hr-action-card__head {
  background: linear-gradient(135deg, rgba(79, 70, 229, 0.2), rgba(12, 24, 40, 0.42));
}

body[data-theme="dark"] .hiring-shell--workspace .hiring-pro-data-card {
  border-color: rgba(129, 140, 248, 0.18);
  box-shadow: 0 16px 36px rgba(2, 8, 18, 0.44);
}

body[data-theme="dark"] .hiring-shell--workspace .hiring-pro-data-card .hr-data-card__head {
  background: linear-gradient(180deg, rgba(22, 34, 58, 0.96), rgba(14, 28, 46, 0.9));
}

body[data-theme="dark"] .hiring-shell--workspace .hiring-pro-data-card .hr-data-card__stat {
  background: rgba(99, 102, 241, 0.16);
  border-color: rgba(129, 140, 248, 0.22);
  color: #dbe7ff;
}

body[data-theme="dark"] .hiring-data-card-summary {
  border-color: rgba(129, 140, 248, 0.16);
  background: linear-gradient(180deg, rgba(22, 34, 58, 0.92), rgba(14, 28, 46, 0.92));
}

body[data-theme="dark"] .hiring-data-card-kicker,
body[data-theme="dark"] .hiring-data-card-text,
body[data-theme="dark"] .hiring-data-card-metric small {
  color: #a9c8ea;
}

body[data-theme="dark"] .hiring-data-card-metric {
  border-color: rgba(148, 196, 255, 0.12);
  background: rgba(255, 255, 255, 0.04);
  box-shadow: none;
}

body[data-theme="dark"] .hiring-data-card-metric strong {
  color: #f4f8ff;
}

body[data-theme="dark"] .hiring-data-card-metric--ok {
  background: rgba(16, 185, 129, 0.12);
  border-color: rgba(16, 185, 129, 0.22);
}

body[data-theme="dark"] .hiring-data-card-metric--warn {
  background: rgba(245, 158, 11, 0.14);
  border-color: rgba(245, 158, 11, 0.24);
}

body[data-theme="dark"] .hiring-shell--workspace .hr-workspace-tab--pro.is-active,
body[data-theme="dark"] .hr-module-pro--payroll .hr-workspace-tab--pro.is-active,
body[data-theme="dark"] .hr-module-pro--hiring .hr-workspace-tab--pro.is-active {
  background: linear-gradient(180deg, #4b94dd 0%, #2f71bc 100%);
  box-shadow: 0 12px 22px rgba(6, 20, 38, 0.22);
}

body[data-theme="dark"] .driver-report-kpi,
body[data-theme="dark"] .reports-card-pro {
  background: linear-gradient(160deg, rgba(var(--primary-rgb), 0.2), rgba(15, 23, 42, 0.72));
  border-color: color-mix(in srgb, var(--primary) 34%, #2a3f56);
}

body[data-theme="dark"] .reports-card-pro .p-card-header {
  border-bottom-color: rgba(131, 190, 233, 0.16);
  background: linear-gradient(180deg, rgba(20, 49, 77, 0.92), rgba(12, 28, 46, 0.86));
}

body[data-theme="dark"] .reports-card-pro .p-card-header h2,
body[data-theme="dark"] .reports-export-group-title {
  color: #dbeafe;
}

body[data-theme="dark"] .reports-card-subtitle {
  color: #a9c7e8;
}

body[data-theme="dark"] .reports-export-group {
  border-color: rgba(131, 190, 233, 0.16);
  background: linear-gradient(180deg, rgba(18, 45, 71, 0.82), rgba(10, 24, 38, 0.92));
  box-shadow: 0 16px 30px rgba(2, 8, 20, 0.42);
}

body[data-theme="dark"] .reports-export-filters {
  border-color: rgba(131, 190, 233, 0.16);
  background: linear-gradient(180deg, rgba(18, 45, 71, 0.78), rgba(10, 24, 38, 0.9));
  box-shadow: 0 16px 30px rgba(2, 8, 20, 0.42);
}

body[data-theme="dark"] .reports-export-filters-head h3,
body[data-theme="dark"] .reports-export-filters-kicker,
body[data-theme="dark"] .reports-export-filters-badge {
  color: #dbeafe;
}

body[data-theme="dark"] .reports-export-filters-copy {
  color: #9fc3e6;
}

body[data-theme="dark"] .reports-export-filters-badge {
  border-color: rgba(131, 190, 233, 0.18);
  background: rgba(15, 28, 46, 0.72);
}

body[data-theme="dark"] .reports-export-group-title {
  border-bottom-color: rgba(131, 190, 233, 0.14);
}

body[data-theme="dark"] .driver-report-kpi h4,
body[data-theme="dark"] .reports-card-subtitle {
  color: #9fc3e6;
}

body[data-theme="dark"] .driver-report-kpi strong {
  color: #e2eef9;
}

body[data-theme="dark"] .hr-module-pro--payroll.payroll-shell--workspace,
body[data-theme="dark"] .hr-module-pro--hiring.hiring-shell--workspace {
  --hr-ui-surface: rgba(15, 23, 42, 0.55);
  --hr-ui-raised: rgba(15, 23, 42, 0.78);
  --hr-ui-edge: rgba(148, 163, 184, 0.14);
  --hr-ui-edge-strong: rgba(148, 163, 184, 0.22);
  --hr-ui-muted: rgba(15, 23, 42, 0.42);
}

body[data-theme="dark"] .hr-module-pro--payroll .hr-workspace-header--payroll,
body[data-theme="dark"] .hr-module-pro--hiring .hr-workspace-header--hiring {
  box-shadow:
    0 1px 0 rgba(255, 255, 255, 0.04) inset,
    0 18px 48px rgba(0, 0, 0, 0.35);
}

body[data-theme="dark"] .hr-module-pro--payroll .hr-workspace-header .payroll-module-head__title h2,
body[data-theme="dark"] .hr-module-pro--hiring .hr-workspace-header .payroll-module-head__title h2 {
  color: #f1f5f9;
}

body[data-theme="dark"] .hr-module-pro--payroll .payroll-data-nav-tab.is-active,
body[data-theme="dark"] .hr-module-pro--hiring .payroll-data-nav-tab.is-active {
  color: #e0f2fe;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.35);
}

body[data-theme="dark"] .hr-module-pro--payroll .payroll-data-nav-tab.is-active .payroll-data-nav-count,
body[data-theme="dark"] .hr-module-pro--hiring .payroll-data-nav-tab.is-active .payroll-data-nav-count {
  color: #f8fafc;
}

:root {
  --pr-stripe-pending:   #F59E0B;   /* ámbar — liquidación pendiente */
  --pr-stripe-paid:      #10B981;   /* teal  — liquidación pagada    */
  --pr-color-net:        #1D4ED8;   /* azul  — importe neto resaltado */
  --pr-color-ded:        #DC2626;   /* rojo  — deducciones            */
  --pr-chip-bg:          #EFF6FF;
  --pr-chip-color:       #1E40AF;
  --pr-amt-border:       rgba(0,0,0,.08);
  --pr-amt-net-bg:       rgba(0,0,0,.03);
  /* Colores de avatar (índice 0-3) */
  --pr-av0-bg: #DBEAFE; --pr-av0-fg: #1E40AF;  /* azul   */
  --pr-av1-bg: #D1FAE5; --pr-av1-fg: #065F46;  /* verde  */
  --pr-av2-bg: #FEF3C7; --pr-av2-fg: #92400E;  /* ámbar  */
  --pr-av3-bg: #EDE9FE; --pr-av3-fg: #4C1D95;  /* violeta */
  /* Chips de ausencias */
  --pr-abs-warn-bg:    #FEF3C7; --pr-abs-warn-fg:    #92400E;
  --pr-abs-ok-bg:      #D1FAE5; --pr-abs-ok-fg:      #065F46;
  --pr-abs-info-bg:    #DBEAFE; --pr-abs-info-fg:    #1E3A8A;
  --pr-abs-neutral-bg: #F3F4F6; --pr-abs-neutral-fg: #374151;
  /* Badge SMMLV / Prestación */
  --pr-badge-smmlv-bg: #EDE9FE; --pr-badge-smmlv-fg: #4C1D95;
  --pr-badge-driver-bg:#FEF3C7; --pr-badge-driver-fg:#92400E;
  /* Barra de alerta de contrato */
  --pr-contract-alert-bg:  #FFFBEB; --pr-contract-alert-fg:  #92400E; --pr-contract-alert-bd: #FDE68A;
  --pr-contract-expired-bg:#FEF2F2; --pr-contract-expired-fg:#991B1B; --pr-contract-expired-bd:#FECACA;
}
