﻿.dashboard-page {
  padding-bottom: 30px;
}
.dashboard-head {
  align-items: flex-end;
}
.dashboard-kicker,
.dashboard-head .dashboard-kicker {
  color: var(--cyan);
  font-size: max(0.5rem, var(--a11y-min-font-size));
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}
.dashboard-freshness {
  display: flex;
  align-items: center;
  gap: 7px;
  color: var(--muted);
  font-size: max(0.5625rem, var(--a11y-min-font-size));
}
.condition-hero {
  min-height: 430px;
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  margin-top: 18px;
  border: 1px solid rgba(0, 183, 244, 0.24);
  border-radius: 24px;
  overflow: hidden;
  background:
    radial-gradient(circle at 78% 40%, rgba(0, 183, 244, 0.13), transparent 34%),
    linear-gradient(135deg, #0b2a3d 0%, #061924 55%, #04141d 100%);
  box-shadow:
    0 34px 90px rgba(0, 0, 0, 0.3),
    inset 0 1px rgba(255, 255, 255, 0.04);
  position: relative;
}
.condition-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(105deg, rgba(32, 212, 102, 0.045), transparent 34%);
  pointer-events: none;
}
.hero-copy {
  z-index: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 38px 20px 26px 38px;
}
.hero-status-line {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 25px;
}
.hero-status-line > span {
  display: flex;
  align-items: center;
  gap: 7px;
  padding: 7px 10px;
  border: 1px solid rgba(32, 212, 102, 0.25);
  border-radius: 20px;
  color: var(--green);
  background: rgba(32, 212, 102, 0.07);
  font-size: max(0.5625rem, var(--a11y-min-font-size));
  font-weight: 800;
}
.hero-status-line svg {
  width: 14px;
}
.hero-status-line small {
  color: var(--muted);
  font-size: max(0.5rem, var(--a11y-min-font-size));
}
.hero-eyebrow {
  color: #a4c1d1;
  font-size: max(0.5625rem, var(--a11y-min-font-size));
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.hero-asset-line {
  position: relative;
  display: flex;
  align-items: center;
  gap: 8px;
  width: fit-content;
}
.asset-switch-trigger {
  width: 30px;
  height: 25px;
  display: grid;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: 7px;
  color: var(--muted);
  background: rgba(3, 15, 24, 0.45);
}
.asset-switch-trigger:hover,
.asset-switch-trigger[aria-expanded='true'] {
  color: var(--cyan);
  border-color: rgba(0, 183, 244, 0.36);
  background: rgba(0, 183, 244, 0.08);
}
.asset-switch-trigger svg {
  width: 15px;
}
.asset-switch-menu {
  position: absolute;
  z-index: 20;
  top: 34px;
  left: 0;
  width: 300px;
  padding: 8px;
  border: 1px solid rgba(104, 184, 230, 0.25);
  border-radius: 13px;
  background: rgba(5, 23, 34, 0.97);
  box-shadow: 0 24px 55px rgba(0, 0, 0, 0.48);
  backdrop-filter: blur(18px);
}
.asset-switch-menu header {
  display: flex;
  justify-content: space-between;
  padding: 7px 7px 10px;
}
.asset-switch-menu header span {
  color: white;
  font-size: max(0.5625rem, var(--a11y-min-font-size));
  font-weight: 800;
}
.asset-switch-menu header small {
  color: var(--muted);
  font-size: max(0.4375rem, var(--a11y-min-font-size));
}
.asset-switch-menu > button {
  width: 100%;
  min-height: 56px;
  display: grid;
  grid-template-columns: 47px 1fr 8px;
  align-items: center;
  gap: 9px;
  padding: 6px;
  border-radius: 9px;
  color: var(--muted);
  text-align: left;
}
.asset-switch-menu > button:hover,
.asset-switch-menu > button.active {
  background: rgba(0, 183, 244, 0.08);
}
.asset-switch-menu > button > span:nth-child(2) {
  display: grid;
  gap: 3px;
}
.asset-switch-menu strong {
  color: white;
  font-size: max(0.5625rem, var(--a11y-min-font-size));
}
.asset-switch-menu small {
  font-size: max(0.4375rem, var(--a11y-min-font-size));
}
.asset-thumb {
  width: 45px;
  height: 42px;
  border: 1px solid var(--line);
  border-radius: 7px;
  background-position: center;
  background-size: cover;
  filter: saturate(0.8);
}
.asset-switch-menu > button > i {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--green);
}
.asset-switch-menu > button > i.atenÃ§Ã£o {
  background: var(--yellow);
}
.asset-switch-menu footer {
  padding: 9px 7px 4px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: max(0.4375rem, var(--a11y-min-font-size));
}
.asset-menu-enter-active,
.asset-menu-leave-active {
  transition:
    opacity 160ms ease,
    transform 200ms cubic-bezier(0.22, 1, 0.36, 1);
}
.asset-menu-enter-from,
.asset-menu-leave-to {
  opacity: 0;
  transform: translateY(-7px) scale(0.98);
}
.hero-copy h2 {
  max-width: 620px;
  margin: 8px 0 13px;
  font-size: clamp(26px, 3vw, 42px);
  line-height: 1.05;
  letter-spacing: -0.035em;
}
.hero-copy h2 em {
  color: #9eb4c3;
  font-style: normal;
  font-weight: 500;
}
.hero-copy > div > p {
  max-width: 570px;
  color: var(--muted);
  font-size: max(0.6875rem, var(--a11y-min-font-size));
  line-height: 1.65;
}
.hero-primary-reading {
  display: flex;
  align-items: flex-end;
  gap: 25px;
  margin-top: 25px;
  padding-top: 20px;
  border-top: 1px solid rgba(104, 184, 230, 0.14);
}
.hero-primary-reading > div:first-child {
  display: grid;
  grid-template-columns: auto auto;
  align-items: baseline;
  column-gap: 7px;
}
.hero-primary-reading span {
  grid-column: 1/-1;
  color: var(--muted);
  font-size: max(0.5625rem, var(--a11y-min-font-size));
}
.hero-primary-reading strong {
  font-size: max(2.375rem, var(--a11y-min-font-size));
  line-height: 1;
}
.hero-primary-reading small {
  color: var(--muted);
  font-size: max(0.5625rem, var(--a11y-min-font-size));
}
.hero-delta {
  display: flex;
  align-items: center;
  gap: 5px;
  padding-bottom: 3px;
  color: var(--green);
  font-size: max(0.6875rem, var(--a11y-min-font-size));
  font-weight: 800;
}
.hero-delta svg {
  width: 14px;
}
.hero-delta small {
  margin-left: 4px;
  font-weight: 500;
}
.hero-actions {
  display: flex;
  gap: 8px;
  margin-top: 20px;
}
.hero-actions button {
  min-height: 42px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 0 15px;
  border-radius: 10px;
  font-size: max(0.625rem, var(--a11y-min-font-size));
  font-weight: 800;
}
.hero-primary-action {
  color: #04131c;
  background: linear-gradient(135deg, var(--cyan), var(--green));
  box-shadow: 0 12px 26px rgba(0, 183, 244, 0.18);
}
.hero-actions svg {
  width: 14px;
}
.hero-secondary-action {
  color: var(--muted);
  border: 1px solid var(--line);
  background: rgba(4, 16, 26, 0.3);
}
.hero-signal {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: auto;
  padding-top: 20px;
  color: #7893a4;
  font-size: max(0.5rem, var(--a11y-min-font-size));
}
.hero-signal span {
  display: flex;
  align-items: center;
  gap: 5px;
}
.hero-signal svg {
  width: 11px;
  color: var(--green);
}
.hero-visual {
  position: relative;
  min-height: 430px;
  overflow: hidden;
}
.hero-grid-lines {
  position: absolute;
  inset: 0;
  opacity: 0.2;
  background-image:
    linear-gradient(rgba(0, 183, 244, 0.12) 1px, transparent 1px),
    linear-gradient(90deg, rgba(0, 183, 244, 0.12) 1px, transparent 1px);
  background-size: 32px 32px;
  mask-image: radial-gradient(circle, #000, transparent 72%);
}
.machine-glow {
  position: absolute;
  width: 320px;
  height: 180px;
  left: 50%;
  top: 52%;
  transform: translate(-50%, -50%);
  border-radius: 50%;
  background: rgba(0, 183, 244, 0.15);
  filter: blur(50px);
}
.machine-orbit {
  position: absolute;
  left: 50%;
  top: 52%;
  border: 1px solid rgba(0, 183, 244, 0.18);
  border-radius: 50%;
  transform: translate(-50%, -50%) rotate(-12deg);
  animation: hero-orbit 18s linear infinite;
}
.orbit-one {
  width: 380px;
  height: 210px;
}
.orbit-two {
  width: 470px;
  height: 270px;
  animation-direction: reverse;
  animation-duration: 28s;
}
.machine-illustration {
  position: absolute;
  width: 370px;
  height: 170px;
  left: 50%;
  top: 52%;
  transform: translate(-50%, -50%);
  filter: drop-shadow(0 25px 30px rgba(0, 0, 0, 0.42));
}
.asset-image-stage {
  position: absolute;
  width: min(108%, 670px);
  aspect-ratio: 1.5;
  left: 50%;
  top: 43%;
  transform: translate(-50%, -50%);
  filter: drop-shadow(0 28px 32px rgba(0, 0, 0, 0.42));
}
.asset-image-stage::after {
  display: none;
}
.asset-image-stage img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: contain;
  opacity: 0.94;
  filter: saturate(0.78) contrast(1.06) brightness(0.9)
    drop-shadow(0 0 18px rgba(0, 183, 244, 0.12));
}
.asset-image-stage .node-x {
  left: 43%;
  top: 31%;
}
.asset-image-stage .node-y {
  left: 31%;
  top: 63%;
}
.asset-image-stage .node-z {
  right: 21%;
  top: 61%;
}
.machine-motor {
  position: absolute;
  width: 190px;
  height: 102px;
  left: 18px;
  top: 25px;
  border: 1px solid #3f6a7d;
  border-radius: 18px 9px 9px 18px;
  background: linear-gradient(155deg, #22495e, #0d2938 55%, #071a24);
  box-shadow: inset 0 1px rgba(255, 255, 255, 0.12);
}
.machine-motor::before {
  content: '';
  position: absolute;
  inset: 11px 16px;
  border-radius: 11px;
  background: repeating-linear-gradient(90deg, #183d50 0 6px, #0c2938 7px 13px);
}
.machine-motor::after {
  content: '';
  position: absolute;
  width: 16px;
  height: 50px;
  left: -10px;
  top: 25px;
  border-radius: 7px;
  background: #31596b;
}
.machine-motor > i {
  position: absolute;
  z-index: 1;
  width: 5px;
  height: 72px;
  top: 15px;
  border-radius: 3px;
  background: #456e7f;
}
.machine-motor > i:nth-child(1) {
  left: 35px;
}
.machine-motor > i:nth-child(2) {
  left: 90px;
}
.machine-motor > i:nth-child(3) {
  left: 145px;
}
.machine-motor > span {
  position: absolute;
  z-index: 2;
  width: 26px;
  height: 26px;
  right: -13px;
  top: 38px;
  border: 5px solid #173f51;
  border-radius: 50%;
  background: #00a9df;
  box-shadow: 0 0 18px rgba(0, 183, 244, 0.45);
}
.machine-coupling {
  position: absolute;
  width: 45px;
  height: 38px;
  left: 205px;
  top: 57px;
  background: linear-gradient(#476b79, #163746);
  clip-path: polygon(0 14%, 100% 0, 100% 100%, 0 86%);
}
.machine-pump {
  position: absolute;
  width: 112px;
  height: 112px;
  right: 9px;
  top: 20px;
  border: 1px solid #467185;
  border-radius: 50% 47% 49% 45%;
  background: radial-gradient(
    circle at 43% 48%,
    #0b2432 0 19%,
    #2e5b6f 21% 35%,
    #0d2b3b 37% 59%,
    #274e61 61% 68%,
    #0b2230 70%
  );
}
.machine-pump::before {
  content: '';
  position: absolute;
  width: 45px;
  height: 34px;
  right: -18px;
  top: 10px;
  border-radius: 5px 14px 5px 4px;
  background: #173d4f;
}
.machine-pump span {
  position: absolute;
  width: 18px;
  height: 18px;
  left: 47px;
  top: 47px;
  border-radius: 50%;
  background: var(--cyan);
  box-shadow: 0 0 20px var(--cyan);
}
.machine-base {
  position: absolute;
  width: 355px;
  height: 15px;
  left: 8px;
  bottom: 15px;
  border-radius: 4px;
  background: linear-gradient(#315667, #102c3a);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.4);
}
.sensor-node {
  position: absolute;
  z-index: 4;
  width: 25px;
  height: 25px;
  display: grid;
  place-items: center;
  border: 1px solid currentColor;
  border-radius: 50%;
  background: #071b26;
  font-size: max(0.5rem, var(--a11y-min-font-size));
  font-weight: 900;
  box-shadow: 0 0 15px currentColor;
  animation: node-pulse 2s ease-in-out infinite;
}
.node-x {
  left: 120px;
  top: 12px;
  color: var(--cyan);
}
.node-y {
  left: 74px;
  top: 95px;
  color: var(--green);
  animation-delay: 0.6s;
}
.node-z {
  right: 67px;
  top: 92px;
  color: var(--yellow);
  animation-delay: 1.2s;
}
.visual-callout {
  position: absolute;
  z-index: 4;
  display: grid;
  grid-template-columns: auto 20px;
  gap: 2px 10px;
  padding: 10px 12px;
  border: 1px solid rgba(104, 184, 230, 0.18);
  border-radius: 10px;
  background: rgba(5, 22, 32, 0.82);
  backdrop-filter: blur(10px);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.25);
}
.visual-callout span {
  color: var(--muted);
  font-size: max(0.4375rem, var(--a11y-min-font-size));
}
.visual-callout strong {
  font-size: max(0.8125rem, var(--a11y-min-font-size));
}
.visual-callout small {
  color: var(--muted);
  font-size: max(0.4375rem, var(--a11y-min-font-size));
}
.visual-callout i {
  grid-column: 2;
  grid-row: 1/3;
  width: 7px;
  height: 7px;
  align-self: center;
  border-radius: 50%;
  background: var(--green);
  box-shadow: var(--glow-green);
}
.callout-vibration {
  left: 3%;
  top: 16%;
}
.callout-temp {
  right: 3%;
  top: 24%;
}
.hero-sparkline {
  position: absolute;
  left: 3%;
  right: 3%;
  bottom: 12px;
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  align-items: center;
  gap: 8px;
  color: var(--muted);
  font-size: max(0.4375rem, var(--a11y-min-font-size));
}
.hero-signature-chart {
  width: 100%;
  height: 73px;
}
.hero-signature-card {
  min-width: 0;
  padding: 8px 9px 2px;
  border: 1px solid rgba(0, 183, 244, 0.18);
  border-radius: 11px;
  background: rgba(4, 22, 33, 0.78);
  box-shadow: inset 0 1px rgba(255, 255, 255, 0.025);
  backdrop-filter: blur(10px);
}
.hero-signature-card header {
  display: grid;
  grid-template-columns: 1fr auto auto;
  align-items: center;
  gap: 12px;
  padding: 0 4px;
  color: var(--muted);
  font-size: max(0.4375rem, var(--a11y-min-font-size));
  letter-spacing: 0.05em;
  text-transform: uppercase;
}
.hero-signature-card header strong {
  color: #95adba;
  font-size: max(0.4375rem, var(--a11y-min-font-size));
}
.signature-periods {
  display: flex;
  gap: 3px;
}
.signature-periods button {
  min-width: 28px;
  height: 25px;
  border: 1px solid transparent;
  border-radius: 6px;
  color: var(--muted);
  font-size: max(0.4375rem, var(--a11y-min-font-size));
  font-weight: 700;
}
.signature-periods button.active {
  color: var(--cyan);
  border-color: rgba(0, 183, 244, 0.45);
  background: rgba(0, 183, 244, 0.09);
}
.dashboard-kpi-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 10px;
  margin-top: 14px;
}
.dashboard-kpi {
  position: relative;
  min-height: 144px;
  padding: 17px;
  border: 1px solid var(--line);
  border-radius: 15px;
  color: var(--text);
  background: linear-gradient(155deg, rgba(12, 38, 56, 0.88), rgba(5, 20, 31, 0.92));
  box-shadow: var(--shadow-card);
  text-align: left;
  overflow: hidden;
  transition: 0.2s ease;
}
.dashboard-kpi:hover {
  transform: translateY(-2px);
  border-color: rgba(0, 183, 244, 0.4);
}
.dashboard-kpi.featured {
  background:
    radial-gradient(circle at 90% 10%, rgba(0, 183, 244, 0.15), transparent 34%),
    linear-gradient(155deg, #0b2b40, #071a27);
}
.dashboard-kpi.attention {
  border-color: rgba(244, 176, 26, 0.25);
}
.dashboard-kpi header {
  display: flex;
  justify-content: space-between;
  gap: 8px;
  color: var(--muted);
  font-size: max(0.5rem, var(--a11y-min-font-size));
}
.dashboard-kpi header span {
  display: flex;
  align-items: center;
  gap: 6px;
  color: #b8cbd6;
  font-weight: 700;
}
.dashboard-kpi header svg {
  width: 14px;
  color: var(--cyan);
}
.dashboard-kpi > div {
  display: flex;
  align-items: baseline;
  gap: 5px;
  margin-top: 18px;
}
.dashboard-kpi > div strong {
  font-size: max(1.6875rem, var(--a11y-min-font-size));
}
.dashboard-kpi > div span {
  color: var(--muted);
  font-size: max(0.5625rem, var(--a11y-min-font-size));
}
.dashboard-kpi footer {
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  gap: 8px;
  margin-top: 17px;
  color: var(--muted);
  font-size: max(0.4375rem, var(--a11y-min-font-size));
}
.dashboard-kpi footer > i {
  height: 4px;
  border-radius: 4px;
  background: linear-gradient(90deg, var(--green) var(--level), rgba(104, 184, 230, 0.1) 0);
}
.dashboard-kpi .kpi-text-footer {
  display: flex;
  justify-content: flex-start;
  font-size: max(0.5rem, var(--a11y-min-font-size));
}
.dashboard-kpi .kpi-text-footer b {
  font-weight: 600;
}
.attention-pulse {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--yellow);
  box-shadow: var(--glow-yellow);
}
.kpi-arrow {
  position: absolute;
  right: 14px;
  bottom: 14px;
  width: 14px;
  color: var(--muted);
}
.dashboard-focus-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 280px;
  gap: 14px;
  margin-top: 22px;
}
.dashboard-trend-card {
  padding: 19px;
  cursor: pointer;
}
.dashboard-card-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 14px;
}
.dashboard-card-header h2 {
  margin: 3px 0;
  font-size: max(1rem, var(--a11y-min-font-size));
}
.dashboard-card-header p {
  color: var(--muted);
  font-size: max(0.5rem, var(--a11y-min-font-size));
}
.dashboard-period {
  display: flex;
  gap: 3px;
  padding: 3px;
  border: 1px solid var(--line);
  border-radius: 8px;
}
.dashboard-period button {
  padding: 5px 9px;
  border-radius: 5px;
  color: var(--muted);
  font-size: max(0.5rem, var(--a11y-min-font-size));
}
.dashboard-period button.active {
  color: white;
  background: rgba(0, 183, 244, 0.15);
}
.trend-insight {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 15px 0 2px;
  padding: 9px 11px;
  border: 1px solid rgba(32, 212, 102, 0.14);
  border-radius: 8px;
  color: var(--muted);
  background: rgba(32, 212, 102, 0.04);
  font-size: max(0.5rem, var(--a11y-min-font-size));
}
.trend-insight svg {
  width: 14px;
  color: var(--green);
}
.trend-insight strong {
  color: #bcd0da;
}
.dashboard-trend-card .trend-chart {
  height: 270px;
}
.trend-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 10px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: max(0.5rem, var(--a11y-min-font-size));
}
.trend-footer span {
  display: flex;
  align-items: center;
  gap: 6px;
}
.trend-footer button,
.dashboard-events header > button {
  display: flex;
  align-items: center;
  gap: 5px;
  color: var(--cyan);
  font-weight: 700;
}
.trend-footer svg,
.dashboard-events header > button svg {
  width: 12px;
}
.dashboard-side-stack {
  display: grid;
  gap: 14px;
}
.operating-card,
.io-compact-card {
  padding: 18px;
}
.operating-card {
  width: 100%;
  color: var(--text);
  text-align: left;
}
.operating-card header,
.io-compact-card header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  color: var(--muted);
  font-size: max(0.5rem, var(--a11y-min-font-size));
}
.operating-card header span,
.io-compact-card header span {
  display: flex;
  align-items: center;
  gap: 6px;
  color: white;
  font-size: max(0.625rem, var(--a11y-min-font-size));
  font-weight: 800;
}
.operating-card header svg,
.io-compact-card header svg {
  width: 15px;
  color: var(--cyan);
}
.operating-card header small {
  color: var(--green);
}
.operation-time {
  display: flex;
  align-items: baseline;
  gap: 4px;
  margin: 19px 0;
}
.operation-time strong {
  font-size: max(2.125rem, var(--a11y-min-font-size));
}
.operation-time span {
  color: var(--muted);
  font-size: max(0.5625rem, var(--a11y-min-font-size));
  margin-right: 5px;
}
.operation-track {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 7px;
  color: var(--muted);
  font-size: max(0.4375rem, var(--a11y-min-font-size));
}
.operation-track i {
  grid-column: 1/-1;
  height: 5px;
  border-radius: 4px;
  background: linear-gradient(90deg, var(--green) 72%, rgba(104, 184, 230, 0.1) 0);
}
.operation-track span:last-child {
  text-align: right;
}
.operating-card footer {
  display: flex;
  justify-content: space-between;
  margin-top: 18px;
  padding-top: 12px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: max(0.5rem, var(--a11y-min-font-size));
}
.operating-card footer strong {
  color: var(--green);
}
.io-compact-card > button {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 8px;
  padding: 12px 0;
  border-top: 1px solid var(--line);
  color: var(--text);
  text-align: left;
}
.io-compact-card > button:hover {
  color: var(--cyan);
}
.io-compact-card > button > span {
  display: grid;
  grid-template-columns: 10px auto;
  gap: 2px 7px;
}
.io-compact-card > button small {
  grid-column: 2;
  color: var(--muted);
  font-size: max(0.4375rem, var(--a11y-min-font-size));
}
.io-compact-card > button strong {
  font-size: max(0.5625rem, var(--a11y-min-font-size));
}
.io-compact-card > button > svg {
  width: 13px;
  color: var(--muted);
}
.io-dot {
  grid-row: 1/3;
  align-self: center;
  width: 7px;
  height: 7px;
  border: 1px solid var(--muted);
  border-radius: 50%;
}
.io-dot.active {
  border-color: var(--green);
  background: var(--green);
  box-shadow: var(--glow-green);
}
.io-compact-card footer {
  display: flex;
  align-items: center;
  gap: 6px;
  color: var(--muted);
  font-size: max(0.4375rem, var(--a11y-min-font-size));
}
.io-compact-card footer svg {
  width: 12px;
}
.axis-section,
.dashboard-events {
  margin-top: 22px;
}
.axis-quality {
  display: flex;
  align-items: center;
  gap: 6px;
  color: var(--muted);
  font-size: max(0.5rem, var(--a11y-min-font-size));
}
.premium-axis-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  margin-top: 12px;
}
.premium-axis-card {
  min-height: 148px;
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: 14px;
  color: var(--text);
  background: linear-gradient(155deg, rgba(12, 38, 56, 0.82), rgba(5, 20, 31, 0.88));
  text-align: left;
}
.premium-axis-card.warning {
  border-color: rgba(244, 176, 26, 0.32);
}
.premium-axis-card header {
  display: grid;
  grid-template-columns: 36px 1fr auto;
  align-items: center;
  gap: 9px;
}
.premium-axis-card header > span {
  width: 35px;
  height: 35px;
  display: grid;
  place-items: center;
  border-radius: 10px;
  background: rgba(0, 183, 244, 0.08);
}
.premium-axis-card header > span.green {
  color: var(--green);
  background: rgba(32, 212, 102, 0.08);
}
.premium-axis-card header > span.yellow {
  color: var(--yellow);
  background: rgba(244, 176, 26, 0.08);
}
.premium-axis-card header svg {
  width: 17px;
}
.premium-axis-card header div {
  display: grid;
  gap: 2px;
}
.premium-axis-card header small {
  color: var(--muted);
  font-size: max(0.4375rem, var(--a11y-min-font-size));
}
.premium-axis-card header b {
  color: var(--green);
  font-size: max(0.5rem, var(--a11y-min-font-size));
}
.premium-axis-card.warning header b {
  color: var(--yellow);
}
.premium-axis-card > div {
  display: flex;
  align-items: baseline;
  gap: 5px;
  margin: 17px 0;
}
.premium-axis-card > div strong {
  font-size: max(1.6875rem, var(--a11y-min-font-size));
}
.premium-axis-card > div span {
  color: var(--muted);
  font-size: max(0.5rem, var(--a11y-min-font-size));
}
.premium-axis-card footer {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 8px;
  align-items: center;
  color: var(--muted);
  font-size: max(0.4375rem, var(--a11y-min-font-size));
}
.premium-axis-card footer i {
  height: 4px;
  border-radius: 4px;
  background: linear-gradient(90deg, var(--cyan) var(--level), rgba(104, 184, 230, 0.1) 0);
}
.dashboard-events {
  padding-bottom: 8px;
}
.event-strip {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  margin-top: 12px;
}
.event-strip article,
.event-strip > button {
  display: grid;
  grid-template-columns: auto 35px 1fr;
  gap: 10px;
  align-items: center;
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: rgba(7, 26, 39, 0.64);
  color: var(--text);
  text-align: left;
  transition: 180ms ease;
}
.event-strip > button:hover {
  border-color: rgba(0, 183, 244, 0.36);
  transform: translateY(-2px);
}
.event-strip time {
  color: var(--muted);
  font-size: max(0.4375rem, var(--a11y-min-font-size));
}
.event-symbol {
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  border-radius: 10px;
}
.event-symbol svg {
  width: 16px;
}
.event-symbol.green {
  color: var(--green);
  background: rgba(32, 212, 102, 0.08);
}
.event-symbol.cyan {
  color: var(--cyan);
  background: rgba(0, 183, 244, 0.08);
}
.event-symbol.yellow {
  color: var(--yellow);
  background: rgba(244, 176, 26, 0.08);
}
.event-strip strong {
  font-size: max(0.5625rem, var(--a11y-min-font-size));
}
.event-strip p {
  margin-top: 3px;
  color: var(--muted);
  font-size: max(0.4375rem, var(--a11y-min-font-size));
}
.dashboard-legacy-data {
  display: none;
}
@keyframes hero-orbit {
  to {
    transform: translate(-50%, -50%) rotate(348deg);
  }
}
@keyframes node-pulse {
  50% {
    box-shadow: 0 0 26px currentColor;
    transform: scale(1.08);
  }
}
@media (max-width: 980px) {
  .condition-hero {
    grid-template-columns: 1fr;
  }
  .hero-copy {
    padding-right: 38px;
  }
  .hero-visual {
    min-height: 350px;
  }
  .dashboard-kpi-grid {
    grid-template-columns: 1fr 1fr;
  }
  .dashboard-focus-grid {
    grid-template-columns: 1fr;
  }
  .dashboard-side-stack {
    grid-template-columns: 1fr 1fr;
  }
  .premium-axis-grid,
  .event-strip {
    grid-template-columns: 1fr 1fr;
  }
  .event-strip article:last-child,
  .event-strip > button:last-child {
    grid-column: 1/-1;
  }
}
@media (max-width: 560px) {
  .dashboard-head {
    align-items: flex-start;
    flex-direction: column;
  }
  .condition-hero {
    min-height: auto;
    border-radius: 18px;
  }
  .hero-copy {
    padding: 25px 18px 20px;
  }
  .hero-status-line {
    margin-bottom: 18px;
  }
  .hero-copy h2 {
    font-size: max(1.75rem, var(--a11y-min-font-size));
  }
  .hero-copy > div > p {
    font-size: max(0.625rem, var(--a11y-min-font-size));
  }
  .hero-primary-reading {
    margin-top: 20px;
  }
  .hero-actions {
    align-items: stretch;
    flex-direction: column;
  }
  .hero-signal {
    gap: 8px;
  }
  .hero-visual {
    min-height: 285px;
  }
  .machine-illustration {
    transform: translate(-50%, -50%) scale(0.75);
  }
  .asset-image-stage {
    width: 390px;
    top: 38%;
  }
  .orbit-one {
    width: 310px;
    height: 170px;
  }
  .orbit-two {
    width: 370px;
    height: 210px;
  }
  .visual-callout {
    padding: 8px;
  }
  .hero-sparkline {
    bottom: 8px;
    left: 4%;
    right: 4%;
    grid-template-columns: 1fr;
  }
  .hero-signature-card header {
    grid-template-columns: 1fr auto;
  }
  .hero-signature-card header > span {
    display: none;
  }
  .hero-signature-card header .signature-periods {
    grid-column: 1/-1;
    justify-content: flex-end;
  }
  .asset-switch-menu {
    width: min(300px, calc(100vw - 54px));
  }
  .dashboard-kpi-grid {
    grid-template-columns: 1fr 1fr;
    gap: 8px;
  }
  .dashboard-kpi {
    min-height: 132px;
    padding: 13px;
  }
  .dashboard-kpi header {
    align-items: flex-start;
    flex-direction: column;
  }
  .dashboard-kpi header small {
    display: none;
  }
  .dashboard-kpi > div strong {
    font-size: max(1.4375rem, var(--a11y-min-font-size));
  }
  .dashboard-focus-grid {
    margin-top: 16px;
  }
  .dashboard-trend-card {
    padding: 14px;
  }
  .dashboard-card-header {
    align-items: flex-start;
  }
  .dashboard-trend-card .trend-chart {
    height: 240px;
  }
  .trend-insight {
    align-items: flex-start;
  }
  .trend-footer {
    align-items: flex-start;
    flex-direction: column;
    gap: 8px;
  }
  .dashboard-side-stack {
    grid-template-columns: 1fr;
  }
  .premium-axis-grid,
  .event-strip {
    grid-template-columns: 1fr;
  }
  .event-strip article:last-child,
  .event-strip > button:last-child {
    grid-column: auto;
  }
  .premium-axis-card {
    min-height: 130px;
  }
  .axis-section,
  .dashboard-events {
    margin-top: 18px;
  }
}
@media (prefers-reduced-motion: reduce) {
  .machine-orbit,
  .sensor-node {
    animation: none;
  }
}

/* Hero final: visual fixo do motor, contexto alternÃ¡vel por ativo */
.condition-hero {
  min-height: 570px;
  grid-template-columns: minmax(360px, 0.9fr) minmax(430px, 1.15fr) minmax(235px, 0.62fr);
  grid-template-rows: minmax(0, 1fr) 118px;
}
.condition-hero .hero-copy {
  grid-column: 1;
  grid-row: 1 / 3;
  padding: 30px 18px 24px 32px;
}
.condition-hero .hero-visual {
  grid-column: 2;
  grid-row: 1;
  min-height: 445px;
}
.condition-hero .asset-image-stage {
  width: min(108%, 650px);
  top: 52%;
}
.condition-hero .asset-image-stage img {
  opacity: 1;
  filter: saturate(0.82) contrast(1.08) brightness(0.92)
    drop-shadow(0 24px 24px rgba(0, 0, 0, 0.42)) drop-shadow(0 0 20px rgba(0, 183, 244, 0.1));
}
.condition-hero .asset-image-stage .node-x {
  left: 52%;
  top: 44%;
}
.condition-hero .asset-image-stage .node-y {
  left: 43%;
  top: 65%;
}
.condition-hero .asset-image-stage .node-z {
  right: 18%;
  top: 57%;
}
.sensor-install-beacon {
  position: absolute;
  z-index: 5;
  left: 24%;
  top: 29%;
  width: 58px;
  height: 72px;
  display: grid;
  place-items: center;
  padding: 0;
  border: 0;
  background: transparent;
  transform: translate(-50%, -50%);
  cursor: pointer;
}
.sensor-install-beacon:focus-visible {
  outline: 2px solid var(--cyan);
  outline-offset: 5px;
}
.sensor-install-beacon > span {
  position: relative;
  width: 58px;
  height: 72px;
  display: grid;
  place-items: center;
  transition: transform 180ms ease;
}
.sensor-install-beacon:hover > span {
  transform: scale(1.08);
}
.sensor-install-beacon > span::before,
.sensor-install-beacon > span::after,
.sensor-install-beacon i {
  content: '';
  position: absolute;
  inset: 10px 2px;
  border: 1px solid rgba(0, 183, 244, 0.5);
  border-radius: 50%;
  animation: sensor-beacon-pulse 2.1s ease-out infinite;
}
.sensor-install-beacon > span::after {
  animation-delay: 700ms;
}
.sensor-install-beacon i {
  animation-delay: 1.4s;
}
.sensor-install-beacon img {
  position: relative;
  z-index: 2;
  width: 38px;
  height: 58px;
  object-fit: contain;
  animation: sensor-live-blink 1.55s ease-in-out infinite;
  filter: drop-shadow(0 0 15px rgba(0, 183, 244, 0.48));
}
.hero-sensor-panel {
  grid-column: 3;
  grid-row: 1;
  align-self: center;
  margin: 16px 16px 16px 0;
}
.hero-sensor-panel.is-expanded {
  display: block;
  min-height: 0;
  padding: 16px;
  border: 1px solid rgba(104, 184, 230, 0.34);
  border-radius: 15px;
  background: rgba(5, 23, 34, 0.72);
  box-shadow:
    0 18px 42px rgba(0, 0, 0, 0.22),
    inset 0 1px rgba(255, 255, 255, 0.03);
  backdrop-filter: blur(14px);
}
@keyframes sensor-beacon-pulse {
  0% {
    opacity: 0.7;
    transform: scale(0.62);
  }
  75%,
  100% {
    opacity: 0;
    transform: scale(1.35);
  }
}
@keyframes sensor-live-blink {
  0%,
  100% {
    opacity: 0.72;
    filter: drop-shadow(0 0 8px rgba(0, 183, 244, 0.22));
  }
  50% {
    opacity: 1;
    filter: drop-shadow(0 0 23px rgba(0, 183, 244, 0.65));
  }
}
.sensor-panel-content > header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  color: #d8e7ee;
  font-size: max(0.5625rem, var(--a11y-min-font-size));
  text-transform: uppercase;
}
.sensor-panel-content > header > div {
  display: grid;
  gap: 3px;
}
.sensor-panel-content > header small {
  color: var(--muted);
  font-size: max(0.4375rem, var(--a11y-min-font-size));
  font-weight: 500;
  text-transform: none;
}
.sensor-panel-content > header > button {
  display: grid;
  width: 30px;
  height: 30px;
  flex: 0 0 auto;
  place-items: center;
  border: 1px solid rgba(104, 184, 230, 0.18);
  border-radius: 9px;
  color: var(--muted);
  background: rgba(0, 0, 0, 0.12);
}
.sensor-panel-content > header > button:hover {
  border-color: rgba(0, 183, 244, 0.48);
  color: var(--cyan);
}
.sensor-panel-content > header > button svg {
  width: 15px;
  transform: rotate(180deg);
}
.sensor-model {
  display: grid;
  place-items: center;
  align-items: center;
  margin: 18px 0 8px;
}
.sensor-device {
  width: 92px;
  height: 136px;
  display: flex;
  align-items: center;
  justify-content: center;
  justify-self: center;
  filter: drop-shadow(0 0 15px rgba(0, 183, 244, 0.3));
}
.sensor-device::after {
  display: none;
}
.sensor-device img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}
.sensor-panel-content > p {
  margin: 8px 0 12px;
  padding-bottom: 10px;
  border-bottom: 1px solid var(--line);
  color: var(--muted);
  font-size: max(0.5rem, var(--a11y-min-font-size));
  text-align: center;
}
.sensor-axis-list {
  display: grid;
}
.sensor-axis-list button {
  min-height: 39px;
  display: grid;
  grid-template-columns: 27px 1fr;
  align-items: center;
  gap: 8px;
  padding: 4px 0;
  border-bottom: 1px solid rgba(104, 184, 230, 0.09);
  color: var(--text);
  text-align: left;
}
.sensor-axis-list button:hover {
  color: var(--cyan);
}
.sensor-axis-list button > i,
.sensor-axis-list button > svg {
  width: 25px;
  height: 25px;
  display: grid;
  place-items: center;
  border: 1px solid currentColor;
  border-radius: 50%;
  font-size: max(0.5625rem, var(--a11y-min-font-size));
  font-style: normal;
}
.sensor-axis-list .x {
  color: var(--cyan);
}
.sensor-axis-list .y {
  color: var(--green);
}
.sensor-axis-list .z {
  color: var(--yellow);
}
.sensor-axis-list button > span {
  display: grid;
  gap: 2px;
  color: var(--muted);
  font-size: max(0.4375rem, var(--a11y-min-font-size));
}
.sensor-axis-list strong {
  color: white;
  font-size: max(0.8125rem, var(--a11y-min-font-size));
}
.sensor-axis-list small {
  color: var(--muted);
  font-size: max(0.4375rem, var(--a11y-min-font-size));
}
.sensor-panel-content > footer {
  display: grid;
  justify-items: center;
  gap: 4px;
  margin-top: 12px;
  padding-top: 11px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: max(0.5rem, var(--a11y-min-font-size));
  text-transform: uppercase;
}
.sensor-panel-content > footer strong {
  color: var(--green);
  font-size: max(1.3125rem, var(--a11y-min-font-size));
}
.sensor-panel-content > footer small {
  color: var(--muted);
  font-size: max(0.5625rem, var(--a11y-min-font-size));
  text-transform: none;
}
.sensor-panel-enter-active,
.sensor-panel-leave-active {
  transition:
    opacity 180ms ease,
    transform 220ms ease;
}
.sensor-panel-enter-from,
.sensor-panel-leave-to {
  opacity: 0;
  transform: translateX(-52px) scale(0.88);
}
.condition-hero > .hero-sparkline {
  position: static;
  grid-column: 2 / 4;
  grid-row: 2;
  align-self: stretch;
  margin: 0 16px 14px 0;
}
.condition-hero .hero-signature-card {
  height: 100%;
}
.condition-hero .hero-signature-chart {
  height: 80px;
}

@media (max-width: 1120px) {
  .condition-hero {
    grid-template-columns: minmax(330px, 0.9fr) minmax(390px, 1.1fr);
    grid-template-rows: auto 118px;
  }
  .condition-hero .hero-copy {
    grid-column: 1;
    grid-row: 1 / 3;
  }
  .condition-hero .hero-visual {
    grid-column: 2;
  }
  .hero-sensor-panel {
    display: none;
  }
  .hero-sensor-panel.is-expanded {
    position: absolute;
    z-index: 12;
    top: 16px;
    right: 16px;
    display: block;
    width: 235px;
    margin: 0;
  }
  .condition-hero > .hero-sparkline {
    grid-column: 2;
  }
}

@media (max-width: 760px) {
  .condition-hero {
    grid-template-columns: 1fr;
    grid-template-rows: auto 330px auto auto;
  }
  .condition-hero .hero-copy {
    grid-column: 1;
    grid-row: 1;
  }
  .condition-hero .hero-copy > .hero-primary-reading {
    display: none;
  }
  .condition-hero .hero-visual {
    grid-column: 1;
    grid-row: 2;
    min-height: 330px;
  }
  .condition-hero .asset-image-stage {
    width: min(108%, 520px);
    top: 48%;
  }
  .sensor-install-beacon {
    left: 27%;
    top: 22%;
  }
  .hero-sensor-panel,
  .hero-sensor-panel.is-expanded {
    position: static;
    display: block;
    grid-column: 1;
    grid-row: 3;
    width: auto;
    margin: 0 16px 12px;
  }
  .sensor-model {
    max-width: 150px;
    margin: 14px auto 7px;
  }
  .sensor-panel-content > p {
    display: block;
  }
  .sensor-axis-list {
    grid-template-columns: 1fr 1fr;
    gap: 0 12px;
    margin-top: 10px;
  }
  .sensor-panel-content > footer {
    grid-template-columns: 1fr auto;
    align-items: center;
    justify-items: start;
  }
  .condition-hero > .hero-sparkline {
    grid-column: 1;
    grid-row: 4;
    margin: 0 16px 16px;
  }

  .sensor-panel-enter-from,
  .sensor-panel-leave-to {
    transform: translateY(-42px) scale(0.9);
  }
}

@media (prefers-reduced-motion: reduce) {
  .sensor-install-beacon > span::before,
  .sensor-install-beacon > span::after,
  .sensor-install-beacon i,
  .sensor-install-beacon img {
    animation: none;
  }

  .sensor-panel-enter-active,
  .sensor-panel-leave-active,
  .sensor-install-beacon > span {
    transition: none;
  }
}
