.station-section {
  margin: 6px 0 22px;
}

.dashboard-kpis {
  position: relative;
  z-index: 3;
}

.dashboard-kpis .kpi-card {
  position: relative;
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
  padding: 17px;
  color: var(--ink);
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 11px;
  box-shadow: 0 3px 13px #18386b0b;
  cursor: pointer;
  pointer-events: auto;
  transition: border-color .16s ease, box-shadow .16s ease, transform .16s ease;
}

.dashboard-kpis .kpi-card > * {
  pointer-events: none;
}

.dashboard-kpis .kpi-card:hover,
.dashboard-kpis .kpi-card:focus-visible {
  border-color: #a9c2ef;
  box-shadow: 0 8px 20px rgba(18, 61, 134, .11);
  transform: translateY(-1px);
}

.dashboard-kpis .kpi-card:focus-visible {
  outline: 2px solid var(--blue);
  outline-offset: 2px;
}

.dashboard-kpis .kpi-card em {
  display: inline-flex;
  align-items: center;
  margin-top: 5px;
  padding: 5px 9px;
  border-radius: 6px;
  color: var(--blue);
  background: #eaf1ff;
  font-weight: 800;
  white-space: nowrap;
}

.asset-actions form {
  margin: 0;
}

.tech-layout {
  align-items: start;
}

.tech-dashboard-kpis { grid-template-columns:repeat(4,minmax(0,1fr)); }
.tech-dashboard-kpis .kpi-icon { flex:none; }
.tech-dashboard-kpis .kpi-card strong { line-height:1.1; }
@media(max-width:900px) { .tech-dashboard-kpis { grid-template-columns:repeat(2,minmax(0,1fr)); } }
.tech-right-column { display:grid; gap:16px; min-width:0; }
.tech-depot .asset-cards { max-height:340px; overflow:auto; }

.field-actions {
  align-content: start;
  align-self: start;
  grid-auto-rows: auto;
}

@media (max-width: 620px) {
  .asset-actions form,
  .asset-actions form .button {
    width: 100%;
  }
}

.section-heading,
.location-section-heading {
  display: flex;
  justify-content: space-between;
  align-items: end;
  gap: 18px;
  margin-bottom: 13px;
}

.section-heading h2,
.location-section-heading h2 {
  margin: 0;
  font-size: 20px;
}

.section-heading p,
.location-section-heading p {
  margin: 3px 0 0;
  color: var(--muted);
}

.section-heading > a {
  font-weight: 800;
}

.section-actions {
  display: flex;
  gap: 16px;
  font-weight: 800;
}

.station-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 13px;
}

.station-card {
  display: flex;
  flex-direction: column;
  min-height: 165px;
  padding: 18px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 11px;
  box-shadow: 0 3px 13px #18386b0b;
  color: var(--ink);
  transition: transform .15s ease, border-color .15s ease, box-shadow .15s ease;
}

.station-card:hover {
  transform: translateY(-2px);
  border-color: #b9cae7;
  box-shadow: 0 8px 22px #18386b14;
}

.station-card-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.station-icon {
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  border-radius: 9px;
  background: #e6efff;
  color: var(--blue);
  font-size: 18px;
}

.station-count {
  padding: 5px 9px;
  border-radius: 18px;
  background: #def5e9;
  color: #147746;
  font-size: 11px;
}

.station-card h3 {
  margin: 14px 0 2px;
  font-size: 16px;
}

.station-card p,
.station-card small {
  margin: 0;
  color: var(--muted);
}

.station-link {
  margin-top: auto;
  padding-top: 14px;
  color: var(--blue);
  font-size: 12px;
  font-weight: 800;
}

.station-empty {
  grid-column: 1 / -1;
  display: grid;
  gap: 4px;
  color: var(--muted);
}

.station-empty b {
  color: var(--ink);
}

.station-grid-list {
  margin-bottom: 24px;
}

.location-section-heading {
  margin-top: 22px;
}

.location-section-heading.secondary-heading {
  margin-top: 30px;
}

.dashboard-primary-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(380px, .8fr);
  gap: 17px;
  margin-bottom: 17px;
}

.dashboard-secondary-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 17px;
}

.dashboard-list-card {
  min-width: 0;
}

.dashboard-search {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto auto;
  gap: 8px;
  align-items: center;
  margin-bottom: 13px;
}

.dashboard-search input {
  min-width: 0;
}

.dashboard-search button {
  padding-inline: 14px;
}

.dashboard-search a {
  padding: 8px 4px;
  font-size: 12px;
  font-weight: 750;
}

.dashboard-table {
  max-height: 430px;
}

.dashboard-table thead th {
  position: sticky;
  top: 0;
  z-index: 2;
  background: #fff;
  box-shadow: 0 1px 0 var(--line);
}

.movement-name b,
.movement-equipment b {
  color: var(--navy);
}

.movement-name .movement-model {
  color: #4f5d76;
}

.station-list {
  display: grid;
  max-height: 430px;
  overflow: auto;
}

.station-list > a {
  display: grid;
  grid-template-columns: 34px minmax(0, 1fr) auto 12px;
  align-items: center;
  gap: 10px;
  padding: 12px 4px;
  color: var(--ink);
  border-bottom: 1px solid var(--line);
}

.station-list > a:hover b,
.station-list > a:hover i {
  color: var(--blue);
}

.station-list-icon {
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border-radius: 8px;
  background: #e6efff;
  color: var(--blue);
}

.station-list b,
.station-list small {
  display: block;
}

.station-list small {
  color: var(--muted);
  font-size: 11px;
}

.station-list strong {
  color: var(--navy);
  text-align: right;
  font-size: 18px;
}

.station-list strong small {
  font-weight: 500;
}

.station-list i {
  color: var(--muted);
  font-style: normal;
}

.list-note {
  margin: 12px 0 0;
  color: var(--muted);
  font-size: 11px;
}

.alerts-card > a {
  display: grid;
  grid-template-columns: 30px minmax(0, 1fr) 78px;
  align-items: center;
  gap: 10px;
  padding: 11px 0;
  color: var(--ink);
  border-bottom: 1px solid var(--line);
}

.alerts-card > a:last-child {
  border-bottom: 0;
}

.alert-icon {
  display: grid;
  place-items: center;
  width: 30px;
  height: 30px;
  border-radius: 8px;
  background: #fff0d9;
  color: var(--orange);
  font-weight: 900;
}

.alerts-card > a div,
.alerts-card > a b,
.alerts-card > a small {
  min-width: 0;
  display: block;
}

.alerts-card > a b {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.alerts-card > a small {
  color: var(--muted);
  font-size: 10px;
}

.alerts-card > a strong {
  color: var(--red);
  font-size: 11px;
  line-height: 1.25;
  text-align: right;
}

.pagination {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 12px;
  margin: 22px 0 8px;
}

.pagination > :last-child {
  justify-self: end;
}

.pagination b {
  color: var(--muted);
  font-size: 13px;
}

@media (max-width: 900px) {
  .station-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .dashboard-primary-grid,
  .dashboard-secondary-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 700px) {
  .station-grid {
    grid-template-columns: 1fr;
  }

  .section-heading {
    align-items: flex-start;
    flex-direction: column;
  }

  .section-actions {
    width: 100%;
    justify-content: space-between;
  }

  .dashboard-search {
    grid-template-columns: minmax(0, 1fr) auto;
  }

  .dashboard-search a {
    grid-column: 1 / -1;
  }
}

/* Identidad YPF e iconografía local. Los SVG se sirven con la aplicación. */
.brand {
  gap: 10px;
  padding-inline: 5px;
}

.brand-logo-shell {
  display: grid;
  place-items: center;
  width: 76px;
  height: 38px;
  padding: 8px;
  flex: 0 0 76px;
  border-radius: 7px;
  background: #fff;
}

.brand-logo-shell img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.brand-copy {
  font-size: 15px;
  line-height: 1.15;
}

.brand-copy small {
  margin-top: 4px;
  font-size: 8px;
  letter-spacing: .09em;
}

.sidebar-user {
  color: #fff;
}

.sidebar-user:hover b {
  text-decoration: underline;
}

.sidebar-user > img,
.topbar-profile img,
.topbar-profile > span {
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  object-fit: cover;
}

.topbar-profile > span {
  background: #e6efff;
  color: var(--blue);
  font-weight: 900;
}

.profile-page {
  max-width: 920px;
}

.profile-layout {
  display: grid;
  grid-template-columns: 260px minmax(0, 1fr);
  gap: 17px;
  align-items: start;
}

.profile-preview {
  text-align: center;
}

.profile-preview > img,
.profile-preview > span {
  display: grid;
  place-items: center;
  width: 104px;
  height: 104px;
  margin: 0 auto 16px;
  border-radius: 50%;
  object-fit: cover;
  background: #e6efff;
  color: var(--blue);
  font-size: 36px;
  font-weight: 900;
}

.profile-preview p,
.profile-preview small {
  color: var(--muted);
}

.profile-preview p {
  margin: 5px 0 14px;
}

.profile-form p {
  margin: 0 0 16px;
}

.profile-form label,
.profile-form .helptext {
  display: block;
}

.profile-form label {
  margin-bottom: 6px;
  font-weight: 750;
}

.profile-form .helptext {
  margin-top: 5px;
  color: var(--muted);
  font-size: 11px;
}

.profile-form input[type="checkbox"] {
  width: auto;
  margin-right: 7px;
}

.profile-form .form-actions {
  display: flex;
  justify-content: flex-end;
  align-items: center;
  gap: 14px;
  padding-top: 8px;
}

.mobile-brand img {
  width: 56px;
  height: 24px;
  object-fit: contain;
}

.ui-icon,
.kpi-icon::before,
.quick-symbol::before,
.station-icon::before,
.station-list-icon::before,
.alert-icon::before,
.asset-icon::before,
.action-symbol::before,
.map-icon::before {
  content: "";
  display: inline-block;
  width: 18px;
  height: 18px;
  flex: 0 0 auto;
  background-color: currentColor;
  -webkit-mask: var(--icon) center / contain no-repeat;
  mask: var(--icon) center / contain no-repeat;
}

.ui-icon {
  vertical-align: -.16em;
}

.icon-dashboard { --icon: url("icons/grid-1x2-fill.0221f327a394.svg"); }
.icon-equipment { --icon: url("icons/pc-display-horizontal.b9f6c8509cc6.svg"); }
.icon-scan { --icon: url("icons/upc-scan.d678ed1fb940.svg"); }
.icon-station { --icon: url("icons/fuel-pump-fill.2f3f36dff061.svg"); }
.icon-add { --icon: url("icons/plus-square-fill.881df35e2255.svg"); }
.icon-upload { --icon: url("icons/file-earmark-arrow-up-fill.5b1b78fd620e.svg"); }
.icon-stock { --icon: url("icons/box-seam-fill.b1063b6f942a.svg"); }
.icon-van { --icon: url("icons/van-front.98b9861d66c1.svg"); }
.icon-installed { --icon: url("icons/check-circle-fill.0f847830802f.svg"); }
.icon-repair { --icon: url("icons/tools.9c7eceb74ee8.svg"); }
.icon-scrap { --icon: url("icons/recycle.adb57d23eb65.svg"); }
.icon-alert { --icon: url("icons/exclamation-triangle-fill.1022315f1ef9.svg"); }
.icon-chevron { --icon: url("icons/chevron-right.4fb4c6c40fab.svg"); }
.icon-model { --icon: url("icons/cpu-fill.fa460c24f597.svg"); }
.icon-logout { --icon: url("icons/box-arrow-right.52858b517294.svg"); }
.icon-location { --icon: url("icons/geo-alt-fill.568bd8e0ae25.svg"); }
.icon-survey { --icon: url("icons/clipboard-check.72e004a2b450.svg"); }
.icon-normalize { --icon: url("icons/arrow-repeat.e2632e0d3621.svg"); }

.side-nav .ui-icon {
  width: 18px;
  height: 18px;
  color: #cddaff;
}

.side-nav a:hover .ui-icon {
  color: #fff;
}

.topbar-actions .ui-icon {
  width: 20px;
  height: 20px;
}

.button-with-icon {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.kpi-icon::before {
  width: 19px;
  height: 19px;
}

.quick-symbol::before,
.asset-icon::before,
.action-symbol::before {
  width: 17px;
  height: 17px;
}

.station-icon::before {
  width: 27px;
  height: 27px;
}

.station-list-icon::before {
  width: 18px;
  height: 18px;
}

.alert-icon::before {
  width: 15px;
  height: 15px;
}

.map-icon::before {
  width: 38px;
  height: 38px;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.tech-station-search {
  display: grid;
  grid-template-columns: minmax(260px, 1fr) minmax(220px, 330px) auto;
  align-items: center;
  gap: 12px;
  margin-bottom: 17px;
  padding-block: 15px;
}

.tech-station-search > div {
  display: flex;
  align-items: center;
  gap: 12px;
}

.tech-station-search > div > .ui-icon {
  width: 25px;
  height: 25px;
  color: var(--blue);
}

.tech-station-search b,
.tech-station-search small {
  display: block;
}

.tech-station-search small {
  color: var(--muted);
}

.quick-actions .ui-icon,
.station-list .ui-icon,
.asset-cards .ui-icon {
  width: 12px;
  height: 12px;
  background-color: currentColor;
}

.mobile-nav .ui-icon {
  width: 19px;
  height: 19px;
  background-color: currentColor;
}

.mobile-nav .mobile-scan .ui-icon {
  width: 23px;
  height: 23px;
}

@media (max-width: 700px) {
  .mobile-brand {
    gap: 9px;
  }

  .mobile-brand img {
    width: 52px;
  }

  .topbar-actions .topbar-profile {
    display: grid;
  }

  .topbar-profile img,
  .topbar-profile > span {
    width: 32px;
    height: 32px;
  }

  .profile-layout {
    grid-template-columns: 1fr;
  }

  .profile-preview {
    display: grid;
    grid-template-columns: 70px 1fr;
    text-align: left;
    column-gap: 14px;
  }

  .profile-preview > img,
  .profile-preview > span {
    grid-row: 1 / 4;
    width: 70px;
    height: 70px;
    margin: 0;
    font-size: 26px;
  }

  .profile-preview h2,
  .profile-preview p,
  .profile-preview small {
    margin: 0;
  }

  .tech-station-search {
    grid-template-columns: 1fr;
  }

  .tech-station-search button {
    width: 100%;
  }
}
