@scope (#fleetShell) {
/* =========================================================
   LYNQ BASE CSS v1.0.19
   Componentes compartidos Lynq para ThingsBoard CE.
   ========================================================= */


/* =========================================================
   0. VARIABLES / BASE
   ========================================================= */

:scope {
  --lynq-primary: #0f728f;
  --lynq-primary-hover: #0b5f78;
  --lynq-primary-soft: #e8f4f7;

  --lynq-red: #dc2626;
  --lynq-green: #16a34a;
  --lynq-orange: #f59e0b;
  --lynq-blue: #2563eb;

  --lynq-text: #0f172a;
  --lynq-muted: #64748b;
  --lynq-soft: #94a3b8;

  --lynq-border: #e2e8f0;
  --lynq-surface: #ffffff;
  --lynq-surface-soft: #f8fafc;
  --lynq-gray-soft: #f1f5f9;
  --lynq-dashboard-bg: #edf1f5;

  --lynq-radius: 5px;
  --lynq-shadow-sm: 0 1px 3px rgba(15, 23, 42, 0.08);
  --lynq-font-family: Roboto, Arial, "Segoe UI", system-ui, sans-serif;

  --lynq-shell-mobile-header-height: 52px;
}

/* Fuente original para usos donde queramos la FE-FONT completa */
@font-face {
  font-family: "LynqPlate";
  src:
    url("/lynq-ui/fonts/FE-FONT.woff2") format("woff2"),
    url("/lynq-ui/fonts/FE-FONT.TTF") format("truetype");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

/* Fuente normalizada para UI/listas */
@font-face {
  font-family: "LynqPlateUI";
  src:
    url("/lynq-ui/fonts/FE-FONT-UI.woff2") format("woff2"),
    url("/lynq-ui/fonts/FE-FONT-UI.TTF") format("truetype");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

.lynq-widget,
.lynq-widget *,
.lynq-widget *::before,
.lynq-widget *::after {
  box-sizing: border-box;
}

.lynq-widget {
  width: 100%;
  height: 100%;
  min-width: 0;
  min-height: 0;
  font-family: var(--lynq-font-family);
  color: var(--lynq-text);
  position: relative;
}

.lynq-widget--fill {
  overflow: hidden;
}

.lynq-title {
  margin: 0 !important;
  font-family: var(--lynq-font-family);
  font-weight: 800;
  letter-spacing: -0.02em;
}


/* =========================================================
   1. SIDE MENU
   ========================================================= */

.lynq-side-menu {
  width: 100%;
  height: 100%;
  min-height: 520px;
  padding: 12px;
  border-radius: var(--lynq-radius);
  color: #d8e8ee;
  background:
    radial-gradient(circle at top left, rgba(15, 114, 143, 0.32), transparent 34%),
    linear-gradient(180deg, #071824 0%, #06131d 100%);
  box-shadow: 0 8px 24px rgba(15, 23, 42, 0.18);
  display: flex;
  flex-direction: column;
  overflow: hidden;
}

.lynq-side-menu__loading {
  padding: 16px;
  font-size: 13px;
  font-weight: 600;
  color: #d8e8ee;
}

.lynq-side-menu__brand {
  position: relative;
  height: 56px;
  padding: 0 8px;
  margin-bottom: 10px;
  display: flex;
  align-items: center;
  flex: 0 0 auto;
  min-width: 0;
}

.lynq-side-menu__logo-img {
  display: block;
  width: 78px;
  max-width: 100%;
  height: auto;
  object-fit: contain;
}

.lynq-side-menu__logo-fallback {
  display: none;
  font-size: 22px;
  line-height: 26px;
  font-weight: 800;
  letter-spacing: -0.04em;
  color: #ffffff;
}

.lynq-side-menu.has-logo-error .lynq-side-menu__logo-img {
  display: none;
}

.lynq-side-menu.has-logo-error .lynq-side-menu__logo-fallback {
  display: block;
}

.lynq-side-menu__collapse {
  position: absolute;
  right: 2px;
  top: 50%;
  transform: translateY(-50%);
  width: 28px;
  height: 28px;
  border: none;
  border-radius: var(--lynq-radius);
  background: rgba(255, 255, 255, 0.06);
  color: #b7c8cf;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}

.lynq-side-menu__collapse:hover {
  background: rgba(255, 255, 255, 0.12);
  color: #ffffff;
}

.lynq-side-menu__collapse .material-icons {
  font-size: 20px;
}

.lynq-side-menu__nav,
.lynq-side-menu__bottom {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.lynq-side-menu__nav {
  flex: 1 1 auto;
  min-height: 0;
}

.lynq-side-menu__bottom {
  flex: 0 0 auto;
  margin-top: 12px;
  padding-top: 12px;
  gap: 8px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.lynq-side-menu__item,
.lynq-side-menu__subitem {
  width: 100%;
  border: 0;
  border-radius: var(--lynq-radius);
  background: transparent;
  color: #b7c8cf;
  font-family: inherit;
  text-align: left;
  cursor: pointer;
  outline: none;
  text-decoration: none;
  display: flex;
  align-items: center;
}

.lynq-side-menu__item {
  min-height: 42px;
  padding: 0 10px;
  gap: 10px;
  font-size: 13px;
  font-weight: 600;
  position: relative;
}

.lynq-side-menu__item:hover,
.lynq-side-menu__subitem:hover {
  background: rgba(255, 255, 255, 0.07);
  color: #ffffff;
}

.lynq-side-menu__item.is-active {
  background: linear-gradient(90deg, var(--lynq-primary), var(--lynq-primary-hover));
  color: #ffffff;
  box-shadow: 0 8px 20px rgba(15, 114, 143, 0.28);
}

.lynq-side-menu__icon {
  width: 20px;
  height: 20px;
  flex: 0 0 20px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: currentColor;
}

.lynq-side-menu__icon .material-icons {
  font-size: 20px;
  line-height: 20px;
}

.lynq-side-menu__label,
.lynq-side-menu__sublabel {
  flex: 1 1 auto;
  min-width: 0;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.lynq-side-menu__badge {
  min-width: 20px;
  height: 20px;
  padding: 0 6px;
  border-radius: var(--lynq-radius);
  background: var(--lynq-red);
  color: #ffffff;
  font-size: 11px;
  line-height: 20px;
  font-weight: 800;
  text-align: center;
  flex: 0 0 auto;
}


/* Historial acordeón */

.lynq-side-menu__item--accordion {
  padding-right: 8px;
}

.lynq-side-menu__chevron {
  width: 20px;
  height: 20px;
  flex: 0 0 20px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: currentColor;
  opacity: 0.82;
  transition: transform 160ms ease, opacity 160ms ease;
}

.lynq-side-menu__chevron .material-icons {
  font-size: 20px;
  line-height: 20px;
}

.lynq-side-menu__item--accordion.is-open .lynq-side-menu__chevron {
  transform: rotate(90deg);
  opacity: 1;
}

.lynq-side-menu__submenu {
  display: none;
  flex-direction: column;
  gap: 4px;
  margin: -2px 0 4px;
  padding: 2px 0 2px 30px;
}

.lynq-side-menu__submenu.is-open {
  display: flex;
}

.lynq-side-menu__subitem {
  min-height: 34px;
  padding: 0 10px;
  gap: 8px;
  color: #9fb3bd;
  font-size: 12px;
  font-weight: 700;
}

.lynq-side-menu__subitem.is-active {
  background: rgba(15, 114, 143, 0.24);
  color: #ffffff;
  box-shadow: inset 3px 0 0 var(--lynq-primary);
}

.lynq-side-menu__subdot {
  width: 5px;
  height: 5px;
  flex: 0 0 5px;
  border-radius: 999px;
  background: currentColor;
  opacity: 0.62;
}

.lynq-side-menu__subitem.is-active .lynq-side-menu__subdot {
  opacity: 1;
}


/* Usuario */

.lynq-side-menu__user {
  min-height: 48px;
  padding: 8px;
  border-radius: var(--lynq-radius);
  background: rgba(255, 255, 255, 0.06);
  display: flex;
  align-items: center;
  gap: 10px;
}

.lynq-side-menu__avatar {
  width: 32px;
  height: 32px;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--lynq-primary), #16a34a);
  color: #ffffff;
  font-size: 11px;
  font-weight: 800;
  flex: 0 0 32px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.lynq-side-menu__user-text {
  min-width: 0;
  flex: 1 1 auto;
}

.lynq-side-menu__user-name {
  font-size: 12px;
  line-height: 16px;
  font-weight: 700;
  color: #ffffff;
}

.lynq-side-menu__user-role {
  font-size: 11px;
  line-height: 14px;
  color: #93aab4;
}

.lynq-side-menu__user-name,
.lynq-side-menu__user-role {
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}


/* Menú colapsado */

.is-menu-collapsed .lynq-side-menu {
  padding: 10px 8px;
}

.is-menu-collapsed .lynq-side-menu__brand {
  height: 56px;
  padding: 0;
  justify-content: center;
}

.is-menu-collapsed .lynq-side-menu__logo-img {
  width: 38px;
  max-width: 38px;
}

.is-menu-collapsed .lynq-side-menu__logo-fallback {
  font-size: 13px;
  letter-spacing: -0.02em;
}

.is-menu-collapsed .lynq-side-menu__collapse {
  right: 50%;
  top: 44px;
  transform: translateX(50%);
  width: 24px;
  height: 24px;
}

.is-menu-collapsed .lynq-side-menu__item {
  justify-content: center;
  padding: 0;
  gap: 0;
}

.is-menu-collapsed .lynq-side-menu__label,
.is-menu-collapsed .lynq-side-menu__user-text,
.is-menu-collapsed .lynq-side-menu__chevron,
.is-menu-collapsed .lynq-side-menu__submenu {
  display: none !important;
}

.is-menu-collapsed .lynq-side-menu__badge {
  position: absolute;
  transform: translate(13px, -12px);
  min-width: 16px;
  height: 16px;
  padding: 0 4px;
  font-size: 9px;
  line-height: 16px;
}

.is-menu-collapsed .lynq-side-menu__user {
  justify-content: center;
  padding: 8px 0;
}

.is-menu-collapsed .lynq-side-menu__avatar {
  width: 34px;
  height: 34px;
}


/* =========================================================
   2. PAGE HEADER
   ========================================================= */

.lynq-page-header {
  position: relative;
  width: 100%;
  height: 100%;
  min-height: 48px;
  padding: 0 24px;
  border: none !important;
  box-shadow: none !important;
  background: transparent !important;
  border-radius: 0 !important;
  color: var(--lynq-text);
  overflow: visible;
}

.lynq-page-header__title-area {
  position: absolute;
  left: 24px;
  top: 50%;
  transform: translateY(-50%);
  height: 36px;
  min-width: 180px;
  max-width: 260px;
  display: flex;
  align-items: center;
}

.lynq-page-header__title {
  margin: 0 !important;
  color: inherit;
  white-space: nowrap;
  font-family: var(--lynq-font-family) !important;
  font-size: 16px !important;
  line-height: 22px !important;
  font-weight: 800 !important;
  letter-spacing: -0.02em;
}

.lynq-page-header__assistant {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  width: clamp(420px, 38vw, 560px);
  height: 36px;
  display: flex;
  align-items: center;
}

.lynq-page-header__assistant-icon {
  position: absolute;
  left: 12px;
  width: 18px;
  height: 18px;
  color: var(--lynq-primary);
  pointer-events: none;
  display: flex;
  align-items: center;
  justify-content: center;
}

.lynq-page-header__assistant-icon svg {
  width: 18px;
  height: 18px;
  stroke: currentColor;
}

.lynq-page-header__assistant-input {
  width: 100%;
  height: 36px;
  border: 1px solid var(--lynq-border);
  border-radius: var(--lynq-radius);
  background: var(--lynq-surface-soft);
  color: var(--lynq-text);
  padding: 0 34px 0 38px;
  font-family: inherit;
  font-size: 13px;
  outline: none;
}

.lynq-page-header__assistant-input::placeholder {
  color: var(--lynq-soft);
}

.lynq-page-header__assistant-input:focus {
  border-color: var(--lynq-primary);
  background: #ffffff;
  box-shadow: 0 0 0 3px rgba(15, 114, 143, 0.14);
}

.lynq-page-header__assistant-clear {
  position: absolute;
  right: 6px;
  width: 26px;
  height: 26px;
  border: none;
  border-radius: var(--lynq-radius);
  background: transparent;
  color: var(--lynq-muted);
  font-size: 18px;
  line-height: 22px;
  cursor: pointer;
  display: none;
  align-items: center;
  justify-content: center;
}

.lynq-page-header__assistant.has-value .lynq-page-header__assistant-clear {
  display: flex;
}

.lynq-page-header__assistant-clear:hover,
.lynq-page-header__bell:hover {
  background: var(--lynq-gray-soft) !important;
  color: var(--lynq-text);
}

.lynq-page-header__right {
  position: absolute;
  right: 28px;
  top: 50%;
  transform: translateY(-50%);
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 16px;
  white-space: nowrap;
}

.lynq-page-header__time {
  height: 36px;
  padding: 0;
  border: none !important;
  background: transparent !important;
  box-shadow: none !important;
  color: var(--lynq-text);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
}

.lynq-page-header__time-icon {
  width: 17px;
  height: 17px;
  color: var(--lynq-primary);
  display: flex;
  align-items: center;
  justify-content: center;
}

.lynq-page-header__time-icon svg {
  width: 17px;
  height: 17px;
  stroke: currentColor;
}

.lynq-page-header__time-value {
  font-size: 13px;
  line-height: 17px;
  font-weight: 800;
  color: inherit;
  font-variant-numeric: tabular-nums;
}

.lynq-page-header__bell {
  position: relative;
  width: 34px;
  height: 36px;
  padding: 0;
  border: none !important;
  border-radius: var(--lynq-radius);
  background: transparent !important;
  box-shadow: none !important;
  color: var(--lynq-text);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}

.lynq-page-header__bell-icon {
  width: 21px;
  height: 21px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.lynq-page-header__bell-icon svg {
  width: 21px;
  height: 21px;
  stroke: currentColor;
}

.lynq-page-header__bell-badge {
  position: absolute;
  top: 0;
  right: -4px;
  min-width: 18px;
  height: 18px;
  padding: 0 5px;
  border-radius: 999px;
  background: var(--lynq-red);
  color: #ffffff;
  font-size: 10px;
  line-height: 18px;
  font-weight: 800;
  text-align: center;
  box-shadow: 0 0 0 2px #ffffff;
}


/* =========================================================
   3. ASSISTANT PORTAL
   ========================================================= */

.lynq-assistant-portal {
  position: fixed;
  right: 24px;
  bottom: 24px;
  z-index: 2147483000;
  font-family: var(--lynq-font-family);
  color: var(--lynq-text);
}

.lynq-assistant-portal *,
.lynq-assistant-portal *::before,
.lynq-assistant-portal *::after {
  box-sizing: border-box;
}

.lynq-assistant-fab {
  width: 56px;
  height: 56px;
  border: none;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--lynq-primary), var(--lynq-primary-hover));
  color: #ffffff;
  box-shadow: 0 16px 40px rgba(15, 23, 42, 0.28);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}

.lynq-assistant-fab:hover {
  transform: translateY(-1px);
  box-shadow: 0 18px 46px rgba(15, 23, 42, 0.34);
}

.lynq-assistant-fab.is-pulsing {
  animation: lynqAssistantPulse 0.85s ease;
}

@keyframes lynqAssistantPulse {
  0% {
    box-shadow: 0 0 0 0 rgba(15, 114, 143, 0.35), 0 16px 40px rgba(15, 23, 42, 0.28);
  }
  100% {
    box-shadow: 0 0 0 18px rgba(15, 114, 143, 0), 0 16px 40px rgba(15, 23, 42, 0.28);
  }
}

.lynq-assistant-fab__icon {
  width: 26px;
  height: 26px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.lynq-assistant-fab__icon svg {
  width: 26px;
  height: 26px;
  stroke: currentColor;
}

.lynq-assistant-panel {
  position: absolute;
  right: 0;
  bottom: 72px;
  width: 360px;
  height: 520px;
  max-height: calc(100vh - 120px);
  background: #ffffff;
  border: 1px solid var(--lynq-border);
  border-radius: 12px;
  box-shadow: 0 24px 70px rgba(15, 23, 42, 0.26);
  overflow: hidden;
  display: none;
  flex-direction: column;
}

.lynq-assistant-portal.is-open .lynq-assistant-panel {
  display: flex;
}

.lynq-assistant-panel__header {
  height: 64px;
  padding: 12px 14px;
  border-bottom: 1px solid var(--lynq-border);
  background: linear-gradient(180deg, #ffffff 0%, #f8fafc 100%);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.lynq-assistant-panel__title {
  font-size: 15px;
  line-height: 20px;
  font-weight: 800;
  color: var(--lynq-text);
}

.lynq-assistant-panel__subtitle {
  margin-top: 1px;
  font-size: 11px;
  line-height: 14px;
  color: var(--lynq-muted);
}

.lynq-assistant-panel__close {
  width: 30px;
  height: 30px;
  border: none;
  border-radius: var(--lynq-radius);
  background: transparent;
  color: var(--lynq-muted);
  font-size: 22px;
  line-height: 26px;
  cursor: pointer;
}

.lynq-assistant-panel__close:hover {
  background: #f1f5f9;
  color: var(--lynq-text);
}

.lynq-assistant-panel__messages {
  flex: 1 1 auto;
  min-height: 0;
  overflow-y: auto;
  padding: 14px;
  background: #f8fafc;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.lynq-assistant-message {
  display: flex;
}

.lynq-assistant-message.is-user {
  justify-content: flex-end;
}

.lynq-assistant-message.is-bot {
  justify-content: flex-start;
}

.lynq-assistant-message__bubble {
  max-width: 82%;
  padding: 9px 11px;
  border-radius: 12px;
  font-size: 13px;
  line-height: 18px;
  white-space: pre-wrap;
}

.lynq-assistant-message.is-user .lynq-assistant-message__bubble {
  background: var(--lynq-primary);
  color: #ffffff;
  border-bottom-right-radius: 5px;
}

.lynq-assistant-message.is-bot .lynq-assistant-message__bubble {
  background: #ffffff;
  color: var(--lynq-text);
  border: 1px solid var(--lynq-border);
  border-bottom-left-radius: 5px;
}

.lynq-assistant-panel__input-row {
  flex: 0 0 auto;
  padding: 12px;
  border-top: 1px solid var(--lynq-border);
  background: #ffffff;
  display: flex;
  gap: 8px;
}

.lynq-assistant-panel__input {
  flex: 1 1 auto;
  min-width: 0;
  height: 38px;
  border: 1px solid var(--lynq-border);
  border-radius: var(--lynq-radius);
  padding: 0 10px;
  font-size: 13px;
  outline: none;
}

.lynq-assistant-panel__input:focus {
  border-color: var(--lynq-primary);
  box-shadow: 0 0 0 3px rgba(15, 114, 143, 0.14);
}

.lynq-assistant-panel__send {
  flex: 0 0 auto;
  height: 38px;
  padding: 0 12px;
  border: none;
  border-radius: var(--lynq-radius);
  background: var(--lynq-primary);
  color: #ffffff;
  font-size: 13px;
  font-weight: 700;
  cursor: pointer;
}

.lynq-assistant-panel__send:hover {
  background: var(--lynq-primary-hover);
}


/* =========================================================
   4. MAP PIN
   ========================================================= */

#my-map {
  width: 100%;
  height: 100%;
}

.fleet-avatar-wrapper,
.fleet-pin {
  pointer-events: auto;
  overflow: visible !important;
}

.fleet-avatar-wrapper {
  background: transparent !important;
  border: 0 !important;
}

.fleet-pin {
  position: relative;
  width: 100%;
  height: 100%;
  box-sizing: border-box;
}

.fleet-vehicle-label {
  position: absolute;
  left: 50%;
  bottom: 44px;
  z-index: 4;
  display: inline-flex;
  flex-direction: column;
  min-width: 0;
  max-width: 128px;
  min-height: 20px;
  padding: 3px 7px;
  border-radius: 10px;
  background: #3c73ea;
  color: #ffffff;
  box-shadow: 0 3px 10px rgba(0, 0, 0, 0.22);
  transform: translate(calc(-50% + var(--fleet-label-offset-x, 0px)), var(--fleet-label-offset-y, 0px));
}

.fleet-pin--selected:not(.fleet-pin--trip-open) .fleet-vehicle-label {
  min-width: 112px;
  max-width: 130px;
}

.fleet-pin--selected.fleet-pin--trip-open .fleet-vehicle-label {
  min-width: 136px;
  max-width: 154px;
  padding: 4px 7px 5px;
}

.fleet-pin--selected .fleet-vehicle-label::after {
  content: "";
  position: absolute;
  left: 50%;
  top: 100%;
  width: 0;
  height: 0;
  border-left: 4px solid transparent;
  border-right: 4px solid transparent;
  border-top: 5px solid #3c73ea;
  transform: translateX(-50%);
  pointer-events: none;
}

.fleet-vehicle-tail {
  display: none !important;
}

.fleet-vehicle-chip {
  display: flex;
  align-items: center;
  gap: 5px;
  width: 100%;
  min-width: 0;
  min-height: 14px;
}

.fleet-pin:not(.fleet-pin--selected) .fleet-vehicle-chip {
  justify-content: center;
}

.fleet-pin--selected .fleet-vehicle-chip {
  justify-content: space-between;
}

.fleet-vehicle-chip-text {
  min-width: 0;
  flex: 1 1 auto;
  font-size: 11px;
  font-weight: 700;
  line-height: 1;
  color: #ffffff;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  text-align: center;
}

.fleet-pin--selected .fleet-vehicle-chip-text {
  text-align: left;
}

.fleet-vehicle-top-meta {
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  margin-left: 6px;
  white-space: nowrap;
  height: 18px;
  padding: 0 6px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.18);
}

.fleet-vehicle-top-speed-icon {
  width: 13px;
  height: 13px;
  flex: 0 0 auto;
  display: inline-block;
  background: #34eb55;
  -webkit-mask-repeat: no-repeat;
  -webkit-mask-position: center;
  -webkit-mask-size: contain;
  mask-repeat: no-repeat;
  mask-position: center;
  mask-size: contain;
}

.fleet-vehicle-speed-badge {
  font-size: 10px;
  font-weight: 800;
  line-height: 1;
  color: #ffffff;
  white-space: nowrap;
}

.fleet-vehicle-trip-bar {
  width: 100%;
  min-width: 0;
  padding: 0 6px;
  margin-top: 0;
  border-radius: 7px;
  background: rgba(255, 255, 255, 0.98);
  box-shadow: inset 0 0 0 1px rgba(15, 23, 42, 0.08);
  opacity: 0;
  max-height: 0;
  overflow: hidden;
  pointer-events: none;
  transform: translateY(-4px) scaleY(0.72);
  transform-origin: top center;
  display: flex;
  flex-direction: column;
  gap: 4px;
  transition: opacity 220ms ease, max-height 320ms ease, margin-top 320ms ease, padding 320ms ease, transform 320ms ease;
}

.fleet-pin--selected.fleet-pin--trip-open .fleet-vehicle-trip-bar {
  opacity: 1;
  max-height: 76px;
  margin-top: 4px;
  padding-top: 5px;
  padding-bottom: 5px;
  pointer-events: auto;
  transform: translateY(0) scaleY(1);
}

.fleet-vehicle-trip-status {
  font-size: 11px;
  font-weight: 800;
  line-height: 1.1;
  white-space: nowrap;
}

.fleet-vehicle-trip-status.is-route {
  color: #16a34a;
}

.fleet-vehicle-trip-status.is-stopped {
  color: #334155;
}

.fleet-vehicle-trip-stat {
  display: grid;
  grid-template-columns: 12px auto 1fr;
  align-items: center;
  column-gap: 4px;
  min-width: 0;
}

.fleet-vehicle-trip-icon {
  width: 12px;
  height: 12px;
  object-fit: contain;
  opacity: 0.82;
  user-select: none;
  -webkit-user-drag: none;
}

.fleet-vehicle-trip-label {
  font-size: 10px;
  font-weight: 700;
  color: #64748b;
  white-space: nowrap;
}

.fleet-vehicle-trip-value {
  justify-self: end;
  text-align: right;
  font-size: 11px;
  font-weight: 800;
  color: #334155;
  white-space: nowrap;
}

.fleet-vehicle-anchor {
  position: absolute;
  left: 50%;
  bottom: 0;
  width: 38px;
  height: 38px;
  z-index: 3;
  display: flex;
  align-items: center;
  justify-content: center;
  transform: translateX(-50%);
}

.fleet-vehicle-halo {
  position: absolute;
  left: 50%;
  top: 50%;
  width: 58px;
  height: 58px;
  border-radius: 50%;
  background: rgba(37, 99, 235, 0.22);
  transform: translate(-50%, -50%) scale(0.25);
  opacity: 0;
  pointer-events: none;
  z-index: 1;
}

.fleet-vehicle-wrap {
  position: relative;
  z-index: 2;
  width: 38px;
  height: 38px;
  display: flex;
  align-items: center;
  justify-content: center;
  filter:
    drop-shadow(0 0 1px rgba(15, 23, 42, 0.78))
    drop-shadow(0 2px 4px rgba(15, 23, 42, 0.28));
}

.fleet-vehicle-img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
  user-select: none;
  -webkit-user-drag: none;
}

@keyframes fleet-heartbeat {
  0% {
    transform: translate(-50%, -50%) scale(0.25);
    opacity: 0.95;
  }
  65% {
    transform: translate(-50%, -50%) scale(1.15);
    opacity: 0.24;
  }
  100% {
    transform: translate(-50%, -50%) scale(1.2);
    opacity: 0;
  }
}

.fleet-pin--selected .fleet-vehicle-halo {
  animation: fleet-heartbeat 1.8s ease-out infinite;
}


/* =========================================================
   5. FLEET LIST
   ========================================================= */

.fleet-master {
  width: 100%;
  height: 100%;
  min-width: 0;
  display: flex;
  flex-direction: column;
  font-family: var(--lynq-font-family);
  font-size: 13px;
  color: #0f172a;
  overflow: hidden;
}

.fleet-panel {
  flex: 1 1 auto;
  min-height: 0;
  min-width: 0;
  display: flex;
  flex-direction: column;
}

.fleet-master[data-view="list"] .fleet-panel--list,
.fleet-master[data-view="detail"] .fleet-panel--detail {
  display: flex;
}

.fleet-master[data-view="list"] .fleet-panel--detail,
.fleet-master[data-view="detail"] .fleet-panel--list {
  display: none;
}

.fleet-panel--list {
  background: #ffffff;
  container: fleetList / inline-size;
}

.fleet-list-title {
  flex: 0 0 auto;
  padding: 12px 12px 8px;
  background: #ffffff;
  display: flex;
  align-items: center;
  min-width: 0;
}

.fleet-list-title-text {
  font-size: 16px;
  line-height: 22px;
  font-weight: 800;
  color: #0f172a;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.fleet-list-tools-row {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 0 12px 10px;
  background: #ffffff;
}

.fleet-list-search {
  flex: 1 1 auto;
  min-width: 0;
  position: relative;
  display: flex;
  align-items: center;
  height: 38px;
}

.fleet-list-search-input {
  display: block;
  width: 100%;
  height: 38px;
  min-width: 0;
  border: 1px solid #e2e8f0;
  border-radius: 5px;
  background: #f8fafc;
  color: #0f172a;
  padding: 0 36px 0 40px;
  font-size: 13px;
  outline: none;
  box-shadow: none;
}

.fleet-list-search-input::placeholder {
  color: #94a3b8;
}

.fleet-list-search-input:focus {
  border-color: #0f728f;
  background: #ffffff;
  box-shadow: 0 0 0 3px rgba(15, 114, 143, 0.14);
}

.fleet-list-search-btn {
  position: absolute;
  left: 12px;
  top: 50%;
  transform: translateY(-50%);
  border: none;
  background: transparent;
  padding: 0;
  width: 20px;
  height: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}

.fleet-list-search-icon {
  font-size: 18px;
  color: #64748b;
}

.fleet-clear-filters-btn {
  flex: 0 0 auto;
  width: 38px;
  height: 38px;
  border: 1px solid #e2e8f0;
  border-radius: 5px;
  background: #ffffff;
  color: #64748b;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}

.fleet-clear-filters-btn:hover {
  background: #f1f5f9;
  color: #0f172a;
}

.fleet-clear-filters-btn .material-icons {
  font-size: 20px;
}

.arrival-container {
  flex: 1 1 auto;
  min-height: 0;
  min-width: 0;
  background: #ffffff;
  display: flex;
  flex-direction: column;
  overflow: hidden;
}

.arrival-header {
  display: none !important;
}

.arrival-table-wrapper {
  position: relative;
  flex: 1 1 auto;
  min-height: 0;
  overflow-y: auto;
  overflow-x: hidden;
  -webkit-overflow-scrolling: touch;
  padding-right: 10px;
  background: #ffffff;
  touch-action: pan-y;
}

.arrival-table {
  width: 100%;
  border-collapse: collapse;
  table-layout: fixed;
}

.arrival-empty {
  padding: 10px;
  font-size: 13px;
  color: #64748b;
  text-align: center;
  display: none;
}

.arrival-row,
.arrival-row * {
  touch-action: pan-y;
}

.arrival-row.fleet-modern-row-tr {
  background: #ffffff;
  border-bottom: 1px solid rgba(226, 232, 240, 0.95);
  cursor: pointer;
  transition: background 0.15s ease;
}

.arrival-row.fleet-modern-row-tr:hover {
  background: #f8fafc;
}

.fleet-modern-td {
  width: 100%;
  padding: 0 !important;
  border: none !important;
  overflow: hidden;
}

.fleet-modern-row {
  min-height: 82px;
  width: 100%;
  padding: 10px 14px 10px 8px;
  display: grid;
  grid-template-columns: 52px minmax(0, 1fr);
  column-gap: 8px;
  align-items: center;
  overflow: hidden;
}

.fleet-modern-left {
  width: 52px;
  min-width: 52px;
  max-width: 52px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: visible;
}

.fleet-modern-arrow {
  display: none !important;
}

.fleet-modern-vehicle-halo {
  --halo-rgb: 148, 163, 184;
  width: 52px;
  height: 62px;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}

.fleet-modern-vehicle-halo::before,
.fleet-modern-vehicle-halo::after {
  content: '';
  position: absolute;
  left: 50%;
  top: 50%;
  border-radius: 999px;
  transform: translate(-50%, -50%);
  z-index: 0;
}

.fleet-modern-vehicle-halo::before {
  width: 56px;
  height: 56px;
  background:
    radial-gradient(
      circle,
      rgba(var(--halo-rgb), 0.34) 0%,
      rgba(var(--halo-rgb), 0.21) 43%,
      rgba(var(--halo-rgb), 0) 78%
    );
  filter: blur(2.8px);
}

.fleet-modern-vehicle-halo::after {
  width: 40px;
  height: 40px;
  background: rgba(255, 255, 255, 0.27);
}

.fleet-modern-vehicle-img,
.fleet-modern-vehicle-fallback {
  position: relative;
  z-index: 2;
  width: 34px;
  height: 50px;
}

.fleet-modern-vehicle-img {
  display: none;
  object-fit: contain;
  filter:
    drop-shadow(0 0 1px rgba(15, 23, 42, 0.76))
    drop-shadow(0 4px 7px rgba(15, 23, 42, 0.22));
}

.fleet-modern-vehicle-fallback {
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 26px;
}

.arrival-row.status-moving .fleet-modern-vehicle-halo {
  --halo-rgb: 22, 163, 74;
}

.arrival-row.status-stopped .fleet-modern-vehicle-halo,
.arrival-row.status-parked .fleet-modern-vehicle-halo {
  --halo-rgb: 245, 158, 11;
}

.arrival-row.status-offline .fleet-modern-vehicle-halo {
  --halo-rgb: 100, 116, 139;
}

.arrival-row.status-alarm .fleet-modern-vehicle-halo {
  --halo-rgb: 220, 38, 38;
}

.arrival-row.has-geofence .fleet-modern-vehicle-halo,
.arrival-row.in-target-row .fleet-modern-vehicle-halo {
  --halo-rgb: 37, 99, 235;
}

.fleet-modern-content {
  width: 100%;
  min-width: 0;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 1px minmax(96px, 108px);
  grid-template-rows: 20px 16px;
  column-gap: 7px;
  row-gap: 3px;
  align-items: center;
  overflow: hidden;
}

.fleet-modern-content::after {
  content: '';
  grid-column: 2;
  grid-row: 1 / span 2;
  width: 1px;
  height: 34px;
  justify-self: center;
  background: rgba(203, 213, 225, 0.9);
}

.fleet-modern-content:has(.fleet-modern-location[style*="none"]) {
  grid-template-columns: minmax(0, 1fr);
}

.fleet-modern-content:has(.fleet-modern-location[style*="none"])::after {
  display: none;
}

.fleet-modern-identity-line,
.fleet-modern-status-line,
.fleet-modern-location {
  min-width: 0;
  overflow: hidden;
  display: flex;
  align-items: center;
}

.fleet-modern-identity-line {
  --fleet-identity-font-size: 15px;
  grid-column: 1;
  grid-row: 1;
  height: 20px;
  gap: 8px;
}

.fleet-modern-status-line {
  grid-column: 1;
  grid-row: 2;
  gap: 5px;
  white-space: nowrap;
}

.fleet-modern-location {
  grid-column: 3;
  grid-row: 1 / span 2;
  width: 100%;
  color: #64748b;
  font-size: 11px;
  line-height: 13px;
  font-weight: 700;
  white-space: normal;
  gap: 5px;
}

.fleet-modern-unit {
  flex: 0 1 auto;
  max-width: 54%;
  min-width: 0;
  height: 20px;
  line-height: 20px;
  font-size: var(--fleet-identity-font-size) !important;
  font-weight: 800;
  letter-spacing: -0.01em;
  color: #0f172a;
}

.fleet-modern-plate {
  flex: 0 1 auto;
  max-width: 44%;
  min-width: 0;
  height: 20px;
  line-height: 20px;
  display: inline-flex;
  align-items: center;
  overflow: hidden;
}

.fleet-modern-plate-text {
  display: inline-block;
  max-width: 100%;
  min-width: 0;
  font-family: "LynqPlateUI", "LynqPlate", "Arial Narrow", "Roboto Condensed", monospace;
  font-size: var(--fleet-identity-font-size) !important;
  line-height: 20px;
  font-weight: 400;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  color: #64748b;
  font-variant-numeric: tabular-nums;
}

.fleet-modern-unit,
.fleet-modern-plate-text,
.fleet-modern-status,
.fleet-modern-metric-value,
.fleet-modern-location-text {
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.fleet-modern-status {
  flex: 0 1 auto;
  min-width: 0;
  font-size: 12px;
  line-height: 16px;
  font-weight: 800;
}

.fleet-modern-separator {
  flex: 0 0 auto;
  color: #94a3b8;
  font-size: 11px;
  font-weight: 700;
}

.fleet-modern-metric {
  flex: 0 1 auto;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  min-width: 0;
  overflow: hidden;
}

.fleet-modern-svg-icon {
  width: 14px;
  height: 14px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #64748b;
  flex: 0 0 14px;
}

.fleet-modern-svg-icon svg {
  width: 14px;
  height: 14px;
  display: block;
}

.fleet-modern-svg-icon svg path,
.fleet-modern-svg-icon svg circle {
  fill: none;
  stroke: currentColor;
  stroke-width: 2.1;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.fleet-modern-img-icon {
  display: block;
  width: 13px;
  height: 13px;
  object-fit: contain;
  filter:
    invert(42%)
    sepia(12%)
    saturate(786%)
    hue-rotate(176deg)
    brightness(92%)
    contrast(88%);
  opacity: 0.86;
  flex: 0 0 auto;
}

.fleet-modern-metric-value {
  min-width: 0;
  font-size: 11px;
  line-height: 15px;
  font-weight: 800;
  color: #64748b;
  font-variant-numeric: tabular-nums;
}

.fleet-modern-svg-icon--place {
  width: 15px;
  height: 15px;
  flex: 0 0 15px;
}

.fleet-modern-svg-icon--place svg path {
  fill: currentColor;
  stroke: none;
}

.fleet-modern-svg-icon--place svg circle {
  fill: #ffffff;
  stroke: none;
}

.fleet-modern-location-text {
  flex: 1 1 auto;
  min-width: 0;
  white-space: normal;
  word-break: normal;
  overflow-wrap: normal;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
}

.arrival-row.status-moving .fleet-modern-status {
  color: #16a34a;
}

.arrival-row.status-stopped .fleet-modern-status {
  color: #f59e0b;
}

.arrival-row.status-parked .fleet-modern-status {
  color: #64748b;
}

.arrival-row.status-alarm .fleet-modern-status {
  color: #dc2626;
}

.arrival-row.status-offline .fleet-modern-status {
  color: #475569;
}

.arrival-row.status-offline .fleet-modern-location {
  color: #94a3b8;
}

.arrival-row.has-geofence .fleet-modern-location,
.arrival-row.in-target-row .fleet-modern-location,
.fleet-modern-location.is-geofence {
  color: #2563eb !important;
  font-weight: 800;
}

.arrival-tag {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  width: 20px;
  pointer-events: none;
  z-index: 5;
}

.arrival-tag-active {
  position: absolute;
  left: 0;
  right: 0;
  border-radius: 6px;
  background: #2563eb;
  z-index: 6;
}

.arrival-tag-text {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  padding: 4px 2px;
  font-size: 11px;
  font-weight: 700;
  color: #eff6ff;
  z-index: 7;
  writing-mode: vertical-rl;
  text-align: center;
}


/* =========================================================
   6. FLEET DETAIL
   ========================================================= */

.fleet-panel--detail,
.fleet-detail-card {
  flex: 1 1 auto;
  min-height: 0;
  min-width: 0;
  display: flex;
  flex-direction: column;
}

.fleet-info-card {
  width: 100%;
  height: 100%;
  padding: 10px;
  background: #ffffff;
  border-radius: 10px;
  box-shadow: 0 0 0 1px rgba(15, 23, 42, 0.06);
  display: flex;
  flex-direction: column;
  gap: 8px;
  min-width: 0;
}

.fleet-header,
.fleet-header-main,
.fleet-state-row,
.fleet-state-left,
.fleet-state-right,
.fleet-section-title-row,
.fleet-meta-actions,
.fleet-kpi-value--with-icon {
  display: flex;
  align-items: center;
}

.fleet-header {
  justify-content: space-between;
  gap: 8px;
}

.fleet-header-main {
  gap: 8px;
  min-width: 0;
}

.fleet-title {
  font-size: 18px;
  font-weight: 700;
  color: #0f172a;
  min-width: 0;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.fleet-detail-close,
.fleet-meta-btn {
  border: none;
  border-radius: 999px;
  background: #e5e7eb;
  color: #374151;
  cursor: pointer;
}

.fleet-detail-close {
  flex: 0 0 auto;
  padding: 2px 8px;
  font-size: 13px;
}

.fleet-meta-btn {
  padding: 2px 8px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.fleet-detail-close:hover,
.fleet-meta-btn:hover {
  background: #d1d5db;
}

.fleet-meta-btn .material-icons {
  font-size: 18px;
}

.fleet-subtitle,
.fleet-empty,
.fleet-section-title,
.fleet-kpi-label,
.fleet-kpi-hint,
.fleet-geofence-time,
.fleet-form-label {
  color: #64748b;
}

.fleet-subtitle {
  font-size: 11px;
}

.fleet-empty {
  flex: 1 1 auto;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  font-size: 13px;
  padding: 8px;
}

.fleet-body {
  flex: 1 1 auto;
  min-height: 0;
  min-width: 0;
  overflow-y: auto;
  overflow-x: hidden;
  -webkit-overflow-scrolling: touch;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.fleet-section {
  border-radius: 8px;
  background: #f8fafc;
  padding: 10px;
  min-width: 0;
}

.fleet-section-title {
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-bottom: 10px;
}

.fleet-state-row {
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 6px;
  margin-bottom: 4px;
}

.fleet-state-left {
  gap: 6px;
}

.fleet-state-right {
  margin-left: auto;
  gap: 4px;
}

.fleet-speed-icon {
  font-size: 18px;
  color: #64748b;
}

.fleet-trip-row {
  margin-bottom: 8px;
}

.fleet-trip-text,
.fleet-kpi-value,
.fleet-form-value,
.fleet-geofence-name {
  color: #0f172a;
}

.fleet-trip-text {
  font-size: 12px;
  font-weight: 500;
}

.fleet-state-pill {
  font-size: 11px;
  padding: 3px 8px;
  border-radius: 999px;
  background: #eff6ff;
  color: #1d4ed8;
  font-weight: 500;
}

.fleet-state-pill.secondary {
  background: #f1f5f9;
  color: #475569;
}

.fleet-kpi-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.fleet-kpi {
  flex: 1 1 0;
  min-width: 0;
}

.fleet-kpi-label,
.fleet-form-label {
  font-size: 11px;
  margin-bottom: 2px;
}

.fleet-kpi-value,
.fleet-form-value {
  font-size: 13px;
  font-weight: 500;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.fleet-kpi-value-inline {
  font-size: 13px;
  font-weight: 600;
}

.fleet-kpi-hint {
  font-size: 10px;
  margin-top: 2px;
}

.fleet-kpi-value--with-icon {
  gap: 6px;
  overflow: visible;
}

.fleet-kpi-inline-icon {
  width: 14px;
  height: 14px;
  flex: 0 0 auto;
  object-fit: contain;
}

.fleet-geofence-block {
  margin-top: 6px;
  padding-top: 4px;
  border-top: 1px dashed rgba(148, 163, 184, 0.8);
}

.fleet-geofence-name {
  font-size: 13px;
  font-weight: 600;
}

.fleet-geofence-time {
  font-size: 11px;
  margin-top: 1px;
}

.fleet-section-title-row {
  gap: 8px;
  margin-bottom: 8px;
  min-width: 0;
}

.fleet-meta-msg {
  margin-left: auto;
  font-size: 11px;
  color: #16a34a;
  font-weight: 600;
  white-space: nowrap;
}

.fleet-meta-msg.is-error {
  color: #dc2626;
}

.fleet-meta-actions {
  gap: 6px;
}

.fleet-meta-btn--save,
.fleet-meta-btn--cancel {
  display: none;
}

.fleet-section--meta.is-editing .fleet-meta-btn--save,
.fleet-section--meta.is-editing .fleet-meta-btn--cancel {
  display: inline-flex;
}

.fleet-section--meta.is-editing .fleet-meta-btn[data-action="meta-edit"] {
  display: none;
}

.fleet-form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}

.fleet-form-field {
  min-width: 0;
}

.fleet-form-value {
  background: transparent;
  padding: 0;
  box-shadow: none;
}

.fleet-form-input,
.fleet-form-select {
  display: none;
  width: 100%;
  border: none;
  outline: none;
  border-radius: 8px;
  padding: 6px 8px;
  font-size: 12px;
  background: #ffffff;
  box-shadow: 0 0 0 1px rgba(15, 23, 42, 0.10);
}

.fleet-section--meta.is-editing .fleet-form-value {
  display: none;
}

.fleet-section--meta.is-editing .fleet-form-input,
.fleet-section--meta.is-editing .fleet-form-select {
  display: block;
}

.fleet-form-field--spacer {
  height: 1px;
}

.fleet-master input[disabled],
.fleet-master input[readonly],
.fleet-master select[disabled] {
  background: transparent !important;
  border: none !important;
  box-shadow: none !important;
  padding: 0 !important;
  opacity: 1 !important;
  color: inherit !important;
  -webkit-text-fill-color: inherit !important;
}


/* =========================================================
   7. RESPONSIVE BASE
   ========================================================= */

@media (max-width: 1100px) {
  .lynq-page-header {
    padding: 0 18px;
  }

  .lynq-page-header__title-area {
    left: 18px;
    max-width: 190px;
  }

  .lynq-page-header__assistant {
    width: clamp(360px, 38vw, 480px);
  }

  .lynq-page-header__right {
    right: 20px;
    gap: 14px;
  }
}

@media (max-width: 850px) {
  .lynq-page-header__title-area {
    max-width: 155px;
  }

  .lynq-page-header__assistant {
    width: clamp(260px, 44vw, 360px);
  }

  .lynq-page-header__time-value {
    font-size: 12px;
  }
}

@media (max-width: 768px) {
  .lynq-assistant-portal {
    right: 16px;
    bottom: calc(16px + env(safe-area-inset-bottom));
  }

  .lynq-assistant-panel {
    position: fixed;
    left: 12px;
    right: 12px;
    bottom: calc(84px + env(safe-area-inset-bottom));
    width: auto;
    height: 70vh;
    max-height: 70vh;
  }

  .fleet-list-tools-row {
    padding: 0 12px 8px;
  }

  .arrival-table-wrapper {
    padding-right: 6px;
  }

  .fleet-modern-row {
    min-height: 78px;
    padding: 9px 6px 9px 8px;
    grid-template-columns: 50px minmax(0, 1fr);
  }

  .fleet-modern-left {
    width: 50px;
    min-width: 50px;
    max-width: 50px;
  }

  .fleet-modern-vehicle-halo {
    width: 48px;
    height: 58px;
  }

  .fleet-modern-vehicle-halo::before {
    width: 52px;
    height: 52px;
  }

  .fleet-modern-vehicle-halo::after {
    width: 37px;
    height: 37px;
  }

  .fleet-modern-vehicle-img,
  .fleet-modern-vehicle-fallback {
    width: 32px;
    height: 47px;
  }

  .fleet-modern-vehicle-fallback {
    font-size: 24px;
  }

  .fleet-modern-content {
    grid-template-columns: minmax(0, 1fr) 1px minmax(88px, 96px);
    column-gap: 6px;
  }

  .fleet-modern-identity-line {
    --fleet-identity-font-size: 14px;
  }

  .fleet-modern-unit,
  .fleet-modern-plate-text {
    line-height: 19px;
    height: 19px;
  }

  .fleet-modern-status {
    font-size: 11.5px;
    line-height: 15px;
  }

  .fleet-modern-metric-value {
    font-size: 10px;
  }

  .fleet-modern-svg-icon,
  .fleet-modern-svg-icon svg {
    width: 13px;
    height: 13px;
  }

  .fleet-modern-img-icon {
    width: 12px;
    height: 12px;
  }

  .fleet-modern-location {
    font-size: 10.5px;
    line-height: 12.5px;
  }

  .fleet-form-grid {
    grid-template-columns: 1fr;
  }
}

@media (hover: none) and (pointer: coarse) {
  @container fleetList (max-width: 420px) {
    .fleet-modern-content {
      grid-template-columns: minmax(0, 1fr) 1px minmax(94px, 98px);
    }
  }

  @container fleetList (max-width: 360px) {
    .fleet-modern-row {
      grid-template-columns: 48px minmax(0, 1fr);
      column-gap: 7px;
      padding-left: 7px;
      padding-right: 5px;
    }

    .fleet-modern-left {
      width: 48px;
      min-width: 48px;
      max-width: 48px;
    }

    .fleet-modern-content {
      grid-template-columns: minmax(0, 1fr) 1px minmax(86px, 92px);
      column-gap: 5px;
    }
  }
}


/* =========================================================
   8. NOTA DE ARQUITECTURA
   ========================================================= */

/*
  El loader/skeleton de carga lo maneja ThingsBoard desde el CSS del tablero.

  Este archivo base NO define:
  - .lynq-shell-loader
  - .lynq-shell-content
  - .is-lynq-shell-booting
  - .is-lynq-shell-ready

  El drawer móvil, el header móvil y el estado abierto/cerrado del menú
  los maneja el módulo lynq-shell con su CSS runtime.
*/

/* =========================================================
   END LYNQ BASE CSS v1.0.19
   ========================================================= */

}