.device-product-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 17px 19px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 11px;
  box-shadow: var(--shadow);
}

.device-product-identity,
.device-product-status,
.device-product-facts,
.device-product-facts > div {
  display: flex;
  align-items: center;
}

.device-product-identity {
  min-width: 0;
  gap: 13px;
}

.device-product-mark {
  display: grid;
  flex: 0 0 48px;
  height: 48px;
  place-items: center;
  color: #fff;
  font-size: 18px;
  font-weight: 720;
  background: linear-gradient(135deg, #2368f5, #19b5c8);
  border-radius: 12px;
  box-shadow: 0 10px 20px rgb(35 104 245 / 18%);
}

.device-product-status {
  gap: 8px;
  margin-bottom: 4px;
  color: #7f8da1;
  font-size: 7px;
}

.device-product-head h2,
.device-product-head p {
  margin: 0;
}

.device-product-head h2 {
  color: #203650;
  font-size: 17px;
}

.device-product-head p {
  margin-top: 5px;
  color: #8190a4;
  font-size: 8px;
}

.device-product-facts {
  flex: 0 0 auto;
}

.device-product-facts > div {
  min-width: 118px;
  align-items: flex-start;
  flex-direction: column;
  gap: 4px;
  padding: 3px 17px;
  border-left: 1px solid #e9edf3;
}

.device-product-facts small {
  color: #8a97a8;
  font-size: 7px;
}

.device-product-facts strong {
  color: #263b58;
  font-family: Bahnschrift, "DIN Alternate", sans-serif;
  font-size: 13px;
}

.device-workspace-tabs {
  display: flex;
  gap: 28px;
  padding: 0 18px;
  margin: 13px 0 14px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 10px;
  box-shadow: 0 5px 14px rgb(24 43 74 / 3%);
}

.device-workspace-tabs a {
  position: relative;
  padding: 13px 3px 12px;
  color: #78869a;
  font-size: 10px;
  font-weight: 620;
  text-decoration: none;
}

.device-workspace-tabs a:hover,
.device-workspace-tabs a:focus-visible,
.device-workspace-tabs a.active {
  color: var(--primary);
  outline: none;
}

.device-workspace-tabs a.active::after {
  position: absolute;
  right: 0;
  bottom: -1px;
  left: 0;
  height: 3px;
  content: "";
  background: linear-gradient(90deg, var(--primary), var(--cyan));
  border-radius: 3px 3px 0 0;
}

.device-business-kpis,
.device-data-summary {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 11px;
  margin-bottom: 14px;
}

.device-business-kpis article,
.device-data-summary article {
  min-width: 0;
  padding: 13px 14px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 10px;
  box-shadow: var(--shadow);
}

.device-business-kpis small,
.device-business-kpis strong,
.device-business-kpis span,
.device-data-summary small,
.device-data-summary strong,
.device-data-summary span {
  display: block;
}

.device-business-kpis small,
.device-data-summary small {
  color: #7d8b9f;
  font-size: 8px;
}

.device-business-kpis strong,
.device-data-summary strong {
  margin-top: 7px;
  color: #213653;
  font-family: Bahnschrift, "DIN Alternate", sans-serif;
  font-size: 19px;
}

.device-business-kpis strong em {
  color: #7c8a9e;
  font-size: 8px;
  font-style: normal;
  font-weight: 500;
}

.device-business-kpis span,
.device-data-summary span {
  margin-top: 6px;
  color: #94a0b0;
  font-size: 7px;
}

.device-overview-grid {
  display: grid;
  grid-template-columns: 1.25fr 0.75fr;
  gap: 14px;
  margin-bottom: 14px;
}

.device-spec-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0 22px;
}

.device-spec-grid dl {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 10px 0;
  margin: 0;
  border-bottom: 1px solid #edf1f5;
}

.device-spec-grid dt,
.device-operation-list span {
  color: #7c8a9e;
  font-size: 8px;
}

.device-spec-grid dd {
  margin: 0;
  color: #2c405c;
  font-size: 8px;
  font-weight: 620;
  text-align: right;
}

.device-operation-list {
  display: grid;
}

.device-operation-list > div {
  display: flex;
  min-height: 36px;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  border-bottom: 1px solid #edf1f5;
}

.device-operation-list b {
  color: #2c405c;
  font-size: 8px;
}

.badge.purple {
  color: #6f50c7;
  background: #f0ecff;
  border-color: #dcd2ff;
}

@media (max-width: 1180px) {
  .device-product-facts > div { min-width: 102px; padding: 3px 11px; }
  .device-business-kpis,
  .device-data-summary { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
