﻿:root {
  color-scheme: dark;

  /* Paleta de Cores baseada no Figma */
  --bg: #04101a;
  --panel: rgba(10, 29, 46, 0.85);
  --panel-hover: rgba(15, 40, 60, 0.95);
  --panel-premium: linear-gradient(160deg, rgba(15, 40, 60, 0.7), rgba(6, 20, 32, 0.9));
  --line: rgba(104, 184, 230, 0.15);

  /* Textos */
  --text: #ffffff;
  --muted: #8ba3b8;

  /* Cores de Status e Neon */
  --cyan: #00b7f4;
  --blue: #0a90d9;
  --green: #20d466;
  --yellow: #f4b01a;
  --red: #ff4d5a;
  --gray: #475569;

  /* Arredondamentos (Bordas) */
  --radius-sm: 8px;
  --radius-md: 16px;
  --radius-lg: 24px;
  --radius-pill: 100px;

  /* Sombras e Efeitos */
  --shadow-card: 0 12px 40px rgba(0, 0, 0, 0.32), inset 0 1px 0 rgba(255, 255, 255, 0.035);
  --glow-green: 0 0 12px rgba(32, 212, 102, 0.4);
  --glow-yellow: 0 0 12px rgba(244, 176, 26, 0.4);
  --glow-red: 0 0 12px rgba(255, 77, 90, 0.4);
  --glow-cyan: 0 0 16px rgba(0, 183, 244, 0.2);
}

/* Vue reconstruction compatibility: preserves the original VibraSense layout. */
.bottom-nav a.nav-item {
  text-decoration: none;
}
.bottom-nav a.router-link-active {
  color: var(--cyan);
}
.bottom-nav a.router-link-active .nav-icon {
  color: var(--cyan);
  filter: drop-shadow(0 0 7px rgba(0, 183, 244, 0.45));
}
.temperature-chart {
  position: relative;
  height: 220px;
  display: flex;
  align-items: flex-end;
  gap: 9px;
  padding: 26px 18px 34px;
  border-left: 1px solid rgba(104, 184, 230, 0.14);
  border-bottom: 1px solid rgba(104, 184, 230, 0.14);
  background: repeating-linear-gradient(
    to top,
    transparent 0,
    transparent 43px,
    rgba(104, 184, 230, 0.08) 44px
  );
}
.temperature-chart > div {
  flex: 1;
  height: 100%;
  display: flex;
  align-items: flex-end;
}
.temperature-chart i {
  display: block;
  width: 100%;
  min-height: 14px;
  border-radius: 5px 5px 2px 2px;
  background: linear-gradient(180deg, #00d5ff, rgba(0, 183, 244, 0.2));
  box-shadow: 0 0 12px rgba(0, 183, 244, 0.12);
}
.temperature-chart > span {
  position: absolute;
  left: 18px;
  bottom: 8px;
  color: var(--muted);
  font-size: max(0.6875rem, var(--a11y-min-font-size));
}
.trend-chart {
  width: 100%;
  height: 220px;
}
.view > .page {
  width: 100%;
}
.equipment-table-panel,
.empty-module {
  padding: 24px;
  margin-top: 24px;
}
.table-toolbar {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 18px;
}
.table-toolbar label {
  min-width: 280px;
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 0 12px;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  background: rgba(4, 16, 26, 0.65);
}
.table-toolbar input {
  width: 100%;
  min-height: 40px;
  border: 0;
  outline: 0;
  background: transparent;
  color: var(--text);
}
.secondary-button {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 0 16px;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  color: var(--muted);
  background: var(--panel);
}
.responsive-table {
  overflow-x: auto;
}
.responsive-table table {
  width: 100%;
  border-collapse: collapse;
}
.responsive-table th,
.responsive-table td {
  padding: 14px 12px;
  border-bottom: 1px solid var(--line);
  text-align: left;
}
.responsive-table th {
  color: var(--muted);
  font-size: max(0.6875rem, var(--a11y-min-font-size));
  text-transform: uppercase;
}
.responsive-table td:first-child {
  display: grid;
  gap: 3px;
}
.responsive-table td small {
  color: var(--muted);
}

@media (max-width: 700px) {
  .table-toolbar {
    flex-direction: column;
  }
  .table-toolbar label {
    min-width: 0;
  }
  .secondary-button {
    min-height: 42px;
    justify-content: center;
  }
}

* {
  box-sizing: border-box;
  -webkit-tap-highlight-color: transparent;
}

html,
body,
#app {
  width: 100%;
  max-width: 100%;
  overflow-x: clip;
  overscroll-behavior-x: none;
}

img,
svg {
  -webkit-user-drag: none;
  -webkit-user-select: none;
  user-select: none;
}

body {
  margin: 0;
  min-height: 100vh;
  color: var(--text);
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
  background:
    radial-gradient(circle at 50% -10%, rgba(0, 183, 244, 0.08), transparent 400px), var(--bg);
  background-attachment: fixed;
  -webkit-font-smoothing: antialiased;
  -webkit-touch-callout: none;
  -webkit-user-select: none;
  user-select: none;
}

input,
textarea,
select,
option,
[contenteditable='true'],
.app-text-select,
.legal-page {
  -webkit-touch-callout: default;
  -webkit-user-select: text;
  user-select: text;
}

.app-text-select {
  cursor: text;
}

button,
input,
select,
textarea {
  font: inherit;
}
button {
  cursor: pointer;
  border: none;
  background: none;
  transition: all 0.2s ease;
}

@media (max-width: 760px), (pointer: coarse) {
  html.mobile-app-guards,
  html.mobile-app-guards * {
    -ms-overflow-style: none;
    scrollbar-width: none;
  }

  html.mobile-app-guards::-webkit-scrollbar,
  html.mobile-app-guards *::-webkit-scrollbar {
    display: none;
    width: 0;
    height: 0;
    background: transparent;
  }

  html.mobile-app-guards,
  html.mobile-app-guards body,
  html.mobile-app-guards #app {
    width: 100%;
    max-width: 100vw;
    overflow-x: clip;
    overscroll-behavior-x: none;
  }

  html.mobile-app-guards body {
    touch-action: pan-y;
    -webkit-touch-callout: none;
    -webkit-user-select: none;
    user-select: none;
  }

  html.mobile-app-guards input,
  html.mobile-app-guards textarea,
  html.mobile-app-guards select,
  html.mobile-app-guards option,
  html.mobile-app-guards [contenteditable='true'],
  html.mobile-app-guards .app-text-select,
  html.mobile-app-guards .legal-page {
    -webkit-touch-callout: default;
    -webkit-user-select: text;
    user-select: text;
  }

  html.mobile-app-guards .responsive-table,
  html.mobile-app-guards .report-table-scroll,
  html.mobile-app-guards .custom-scroll {
    touch-action: pan-x pan-y;
  }
}

.ca-icon {
  width: 22px;
  height: 22px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
  flex-shrink: 0;
}

.ca-icon-sm {
  width: 18px;
  height: 18px;
}

.ca-icon-md {
  width: 22px;
  height: 22px;
}

.ca-icon-lg {
  width: 28px;
  height: 28px;
}

.ca-icon-cyan {
  color: #00d5ff;
}

.ca-icon-green {
  color: #22e67a;
}

.ca-icon-yellow {
  color: #fbbf24;
}

.ca-icon-red {
  color: #ff4d5e;
}

.ca-icon-muted {
  color: #7f8ea3;
}

.app {
  position: relative;
  width: 100%;
  min-height: 100vh;
  margin: 0 auto;
  padding: 200px 0 112px;
}

.app:not(.has-equipment-summary) {
  padding-top: 124px;
}

.app:not(.has-equipment-summary) .app-header {
  padding-bottom: 4px;
}

.app:not(.has-equipment-summary) .topbar {
  min-height: 82px;
  padding-bottom: 8px;
}

.app::before {
  content: '';
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: 212px;
  z-index: 70;
  pointer-events: none;
  background:
    linear-gradient(
      115deg,
      rgba(0, 183, 244, 0.18) 0%,
      rgba(4, 16, 26, 0.98) 34%,
      rgba(32, 212, 102, 0.12) 72%,
      rgba(4, 16, 26, 1) 100%
    ),
    var(--bg);
  transition: height 0.22s ease;
}

/* ================= HEADER & TOPBAR ================= */
.app-header {
  position: fixed;
  top: 12px;
  left: 50%;
  z-index: 90;
  width: min(calc(100% - 32px), 1060px);
  padding: 10px 20px 16px;
  overflow: hidden;
  border: 1px solid rgba(54, 112, 144, 0.34);
  border-radius: 18px;
  background: linear-gradient(145deg, rgba(7, 26, 40, 0.97), rgba(3, 16, 27, 0.985)), var(--bg);
  box-shadow:
    0 18px 54px rgba(0, 0, 0, 0.34),
    inset 0 1px rgba(255, 255, 255, 0.025);
  backdrop-filter: blur(20px);
  transform: translateX(-50%);
  transition:
    padding 0.22s ease,
    border-radius 0.22s ease,
    box-shadow 0.22s ease;
}

.app-header::before {
  content: '';
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    radial-gradient(circle at 12% 0%, rgba(0, 183, 244, 0.08), transparent 32%),
    radial-gradient(circle at 88% 0%, rgba(32, 212, 102, 0.055), transparent 30%);
}

.topbar {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 12px;
  width: 100%;
  min-height: 92px;
  margin: 0 auto;
  padding: 8px 0 16px;
  background: transparent;
  box-shadow: none;
  transition:
    min-height 0.22s ease,
    padding 0.22s ease;
}

.topbar > .icon-button {
  justify-self: start;
}

.brand {
  display: flex;
  align-items: center;
  justify-content: center;
  min-width: 0;
}

.brand img {
  display: block;
  width: clamp(205px, 23vw, 305px);
  height: auto;
  max-height: 64px;
  object-fit: contain;
  transition:
    width 0.22s ease,
    max-height 0.22s ease;
}

.top-actions {
  display: flex;
  gap: 16px;
  align-items: center;
  justify-self: end;
}

.icon-button {
  display: grid;
  place-items: center;
  width: 54px;
  height: 54px;
  border-radius: 50%;
  color: var(--text);
  border: 1px solid rgba(104, 184, 230, 0.3);
  background: linear-gradient(145deg, rgba(13, 39, 59, 0.9), rgba(5, 20, 32, 0.96));
  box-shadow:
    0 8px 22px rgba(0, 0, 0, 0.24),
    inset 0 1px rgba(255, 255, 255, 0.035);
  transition:
    width 0.22s ease,
    height 0.22s ease,
    border-color 0.2s ease,
    background 0.2s ease;
}

.icon-button:hover {
  border-color: rgba(0, 183, 244, 0.45);
  background: linear-gradient(145deg, rgba(18, 50, 74, 0.92), rgba(8, 22, 34, 0.98));
}

.avatar {
  display: grid;
  place-items: center;
  width: 54px;
  height: 54px;
  border: 1px solid var(--green);
  border-radius: 50%;
  color: var(--text);
  background: linear-gradient(145deg, rgba(32, 212, 102, 0.13), rgba(5, 27, 26, 0.82));
  font-size: max(1.125rem, var(--a11y-min-font-size));
  font-weight: 600;
  box-shadow:
    0 0 22px rgba(32, 212, 102, 0.08),
    inset 0 1px rgba(255, 255, 255, 0.035);
  transition:
    width 0.22s ease,
    height 0.22s ease,
    font-size 0.22s ease;
}

.alert-button {
  position: relative;
}
.alert-button b {
  position: absolute;
  top: -4px;
  right: -4px;
  display: grid;
  min-width: 20px;
  height: 20px;
  place-items: center;
  border-radius: var(--radius-pill);
  background: var(--red);
  color: #fff;
  font-size: max(0.75rem, var(--a11y-min-font-size));
  font-weight: 700;
  border: 2px solid var(--bg);
}

/* ================= TYPOGRAPHY & LAYOUT ================= */
.view {
  width: min(100%, 1060px);
  margin: 0 auto;
  padding: 0 20px;
  color: var(--text);
  animation: fadeIn 0.3s ease;
}

.view:not([data-current-view='dashboard']) {
  padding-top: 28px;
}

@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.page-head {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  align-items: center;
  margin: 24px 0 20px;
}

h1,
h2,
h3,
p {
  margin: 0;
}
h1 {
  font-size: max(1.75rem, var(--a11y-min-font-size));
  font-weight: 700;
  letter-spacing: -0.5px;
}
h2 {
  font-size: max(1.125rem, var(--a11y-min-font-size));
  font-weight: 600;
}
h3 {
  font-size: max(0.875rem, var(--a11y-min-font-size));
  font-weight: 500;
  color: var(--muted);
}
.subtitle {
  margin-top: 6px;
  color: var(--muted);
  font-size: max(0.9375rem, var(--a11y-min-font-size));
}

/* ================= CHIPS ================= */
.chip-row {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1.16fr 1fr 1.08fr 0.86fr;
  gap: 16px;
  width: 100%;
  margin: 0;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
  transition: gap 0.22s ease;
}

.chip {
  --chip-accent: var(--cyan);
  --chip-accent-rgb: 0, 183, 244;
  position: relative;
  display: grid;
  grid-template-columns: 48px minmax(0, 1fr) auto;
  align-items: center;
  gap: 12px;
  min-width: 0;
  min-height: 78px;
  padding: 10px 14px;
  overflow: hidden;
  border: 1px solid rgba(83, 135, 164, 0.28);
  border-radius: 12px;
  color: var(--text);
  background:
    linear-gradient(135deg, rgba(var(--chip-accent-rgb), 0.06), transparent 48%),
    linear-gradient(145deg, rgba(11, 34, 52, 0.92), rgba(5, 21, 34, 0.96));
  box-shadow:
    0 10px 24px rgba(0, 0, 0, 0.22),
    inset 0 1px rgba(255, 255, 255, 0.025);
  text-align: left;
  cursor: pointer;
  transition:
    transform 0.18s ease,
    min-height 0.22s ease,
    padding 0.22s ease,
    gap 0.22s ease,
    border-radius 0.22s ease,
    box-shadow 0.18s ease,
    border-color 0.18s ease,
    background 0.18s ease;
  appearance: none;
}

.chip::before {
  content: '';
  position: absolute;
  top: 7px;
  bottom: 7px;
  left: 0;
  width: 3px;
  border-radius: 0 3px 3px 0;
  background: var(--chip-accent);
  box-shadow: 0 0 16px rgba(var(--chip-accent-rgb), 0.56);
}

.chip-status {
  --chip-accent: var(--green);
  --chip-accent-rgb: 32, 212, 102;
}

.chip-connectivity {
  --chip-accent: #18d8f4;
  --chip-accent-rgb: 24, 216, 244;
}

.chip-time {
  --chip-accent: var(--yellow);
  --chip-accent-rgb: 244, 176, 26;
}

.chip-icon {
  display: grid;
  width: 44px;
  height: 44px;
  place-items: center;
  border: 1px solid rgba(var(--chip-accent-rgb), 0.13);
  border-radius: 50%;
  color: var(--chip-accent);
  background: rgba(var(--chip-accent-rgb), 0.085);
  box-shadow:
    0 0 22px rgba(var(--chip-accent-rgb), 0.09),
    inset 0 1px rgba(255, 255, 255, 0.025);
  transition:
    width 0.22s ease,
    height 0.22s ease;
}

.chip-icon .ca-icon {
  width: 24px;
  height: 24px;
}

.chip-copy {
  display: grid;
  min-width: 0;
  gap: 4px;
}

.chip-copy strong,
.chip-copy small {
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.chip-copy strong {
  color: #f6fbff;
  font-size: max(0.875rem, var(--a11y-min-font-size));
  font-weight: 650;
  line-height: 1.15;
}

.chip-copy small {
  color: var(--muted);
  font-size: max(0.6875rem, var(--a11y-min-font-size));
  font-weight: 500;
  line-height: 1.15;
}

.chip-chevron {
  width: 18px;
  height: 18px;
  color: #8ca8ba;
}

.chip:hover {
  transform: translateY(-1px);
  border-color: rgba(var(--chip-accent-rgb), 0.38);
  box-shadow:
    0 14px 28px rgba(0, 0, 0, 0.28),
    0 0 20px rgba(var(--chip-accent-rgb), 0.06);
}

.chip:active {
  transform: translateY(0) scale(0.985);
}

.chip:focus-visible {
  outline: 2px solid rgba(0, 183, 244, 0.65);
  outline-offset: 3px;
}

.chip-caret {
  margin-left: 2px;
  color: rgba(15, 23, 42, 0.55);
  width: 7px;
  height: 7px;
  border-right: 2px solid currentColor;
  border-bottom: 2px solid currentColor;
  transform: rotate(45deg) translateY(-2px);
}

.chip svg {
  width: 16px;
  height: 16px;
}

.dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--gray);
}
.dot.normal {
  background: var(--green);
  box-shadow: var(--glow-green);
}
.dot.warning {
  background: var(--yellow);
  box-shadow: var(--glow-yellow);
}
.dot.critical {
  background: var(--red);
  box-shadow: var(--glow-red);
}
.dot.offline {
  background: var(--gray);
}

.status-normal {
  color: var(--green);
}
.status-atencao {
  color: var(--yellow);
}
.status-critico {
  color: var(--red);
}
.status-offline {
  color: var(--gray);
}

/* ================= CARDS BASE & CLICÃVEIS ================= */
.card {
  position: relative;
  color: var(--text);
  border: 1px solid transparent;
  border-radius: var(--radius-md);
  background: var(--panel-premium);
  background-clip: padding-box;
  box-shadow: var(--shadow-card);
  backdrop-filter: blur(16px);
  overflow: hidden;
  transition: all 0.2s ease;
}

.card::after {
  content: '';
  position: absolute;
  inset: 0;
  padding: 1px;
  border-radius: inherit;
  background: linear-gradient(
    160deg,
    rgba(0, 183, 244, 0.38),
    rgba(32, 212, 102, 0.08) 42%,
    rgba(104, 184, 230, 0.05)
  );
  -webkit-mask:
    linear-gradient(#fff 0 0) content-box,
    linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  pointer-events: none;
  z-index: 2;
}

.card .section-title h2 {
  color: var(--text);
}

.card-heading {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
  vertical-align: middle;
}

.card-icon {
  flex: 0 0 auto;
  display: inline-grid;
  place-items: center;
  width: 38px;
  height: 38px;
  border-radius: 13px;
  color: var(--cyan);
  background: radial-gradient(circle at 30% 30%, rgba(0, 183, 244, 0.22), rgba(0, 183, 244, 0.08));
  border: 1px solid rgba(0, 183, 244, 0.12);
  box-shadow:
    0 0 14px rgba(0, 183, 244, 0.15),
    inset 0 0 18px rgba(0, 183, 244, 0.04);
}

.card-icon .ca-icon {
  width: 21px;
  height: 21px;
}

.card-heading > span:last-child {
  min-width: 0;
}

.card-pad {
  padding: 24px;
}
.section {
  margin-top: 24px;
}

.section-title {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 16px;
}

/* Efeito para Cards que abrem o Modal */
.card.clickable {
  cursor: pointer;
}
.card.clickable:hover {
  transform: translateY(-2px);
  border-color: var(--cyan);
  box-shadow: var(--glow-cyan), var(--shadow-card);
  background: var(--panel-hover);
}
.card.clickable:active {
  transform: scale(0.98);
}

.state-card,
.status-card {
  position: relative;
}

.state-card::before,
.status-card::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: inherit;
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.2s ease;
}

.is-normal {
  border-color: rgba(32, 212, 102, 0.24);
}

.is-normal::before {
  opacity: 1;
  background: linear-gradient(135deg, rgba(32, 212, 102, 0.08), transparent 58%);
}

.is-warning {
  border-color: rgba(244, 176, 26, 0.48);
  box-shadow:
    var(--shadow-card),
    0 0 22px rgba(244, 176, 26, 0.12);
}

.is-warning::before {
  opacity: 1;
  background: linear-gradient(
    135deg,
    rgba(244, 176, 26, 0.14),
    rgba(244, 176, 26, 0.03) 46%,
    transparent 72%
  );
}

.is-critical {
  border-color: rgba(255, 77, 90, 0.72);
  background:
    linear-gradient(145deg, rgba(78, 18, 31, 0.78), rgba(10, 29, 46, 0.82) 58%), var(--panel);
  box-shadow:
    var(--shadow-card),
    0 0 30px rgba(255, 77, 90, 0.22);
}

.is-critical::before {
  opacity: 1;
  background:
    radial-gradient(circle at 85% 20%, rgba(255, 77, 90, 0.18), transparent 32%),
    linear-gradient(135deg, rgba(255, 77, 90, 0.18), transparent 62%);
}

.is-offline {
  border-color: rgba(71, 85, 105, 0.38);
}

.is-critical .metric-value,
.is-critical .axis-value,
.is-critical .status-text strong {
  color: #fff;
  -webkit-text-fill-color: currentColor;
  background: none;
  text-shadow: 0 0 18px rgba(255, 77, 90, 0.25);
}

.is-critical h3,
.is-critical .unit {
  color: #d9a2aa;
}

.is-critical .shield {
  color: #fff;
  background: rgba(255, 77, 90, 0.18);
  border-color: rgba(255, 77, 90, 0.45);
  box-shadow:
    inset 0 0 24px rgba(255, 77, 90, 0.1),
    0 0 24px rgba(255, 77, 90, 0.16);
}

.is-warning .shield {
  color: var(--yellow);
  background: rgba(244, 176, 26, 0.12);
  border-color: rgba(244, 176, 26, 0.36);
}

.is-offline .shield {
  color: var(--gray);
  background: rgba(71, 85, 105, 0.12);
  border-color: rgba(71, 85, 105, 0.3);
}

/* ================= STATUS CARD ================= */
.status-overview {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
  align-items: stretch;
}

.status-card {
  min-height: 238px;
  height: 100%;
  display: grid;
  grid-template-columns: 140px 1fr;
  grid-template-rows: 1fr auto;
  gap: 18px 28px;
  align-items: center;
  position: relative;
  padding: 32px 20px 22px 24px;
}

.status-overview .status-card {
  padding-top: 32px;
}

.hourmeter-card {
  min-height: 238px;
  height: 100%;
  padding: 18px 18px 18px 20px;
  position: relative;
  display: grid;
  grid-template-rows: auto 1fr auto;
  align-content: stretch;
  gap: 14px;
  overflow: hidden;
}

.more-button {
  position: absolute;
  top: 18px;
  right: 20px;
  width: 38px;
  height: 38px;
  border: 1px solid var(--line);
  border-radius: 50%;
  color: var(--muted);
  background: rgba(255, 255, 255, 0.03);
  font-size: max(1.5rem, var(--a11y-min-font-size));
  line-height: 1;
}

.hourmeter-head {
  display: flex;
  align-items: center;
  gap: 12px;
  padding-right: 44px;
}

.hourmeter-head .card-icon {
  width: 48px;
  height: 48px;
  border-radius: 13px;
  color: var(--cyan);
  background: rgba(0, 183, 244, 0.12);
  border-color: rgba(0, 183, 244, 0.22);
}

.hourmeter-head .card-icon .ca-icon {
  width: 27px;
  height: 27px;
}

.hourmeter-head h2 {
  font-size: max(1.125rem, var(--a11y-min-font-size));
  line-height: 1.1;
  text-shadow: 0 6px 18px rgba(0, 0, 0, 0.28);
}

.hourmeter-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 26px;
  align-items: center;
}

.hourmeter-metric {
  min-height: 76px;
  padding-left: 18px;
  border-left: 3px solid var(--cyan);
}

.hourmeter-metric.green-accent {
  border-left-color: var(--green);
}

.hourmeter-label {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--muted);
  font-size: max(0.8125rem, var(--a11y-min-font-size));
  font-weight: 500;
}

.hourmeter-label .card-icon {
  width: 18px;
  height: 18px;
  border-radius: 0;
  background: transparent;
  border: 0;
  box-shadow: none;
}

.hourmeter-label .card-icon .ca-icon {
  width: 16px;
  height: 16px;
}

.hourmeter-metric strong {
  display: block;
  margin-top: 10px;
  font-size: max(1.9375rem, var(--a11y-min-font-size));
  line-height: 1;
  letter-spacing: 0;
}

.hourmeter-metric strong small {
  margin-left: 8px;
  color: var(--muted);
  font-size: max(1.125rem, var(--a11y-min-font-size));
}

.green-value {
  color: var(--green);
  -webkit-text-fill-color: currentColor;
  background: none;
}

.hourmeter-details {
  min-height: 56px;
  padding-top: 14px;
  border-top: 1px dotted rgba(104, 184, 230, 0.32);
  display: flex;
  align-items: center;
  justify-content: stretch;
  gap: 18px;
  margin-top: 0;
}

.hourmeter-details > div {
  flex: 1;
  min-width: 0;
}

.hourmeter-details > div + div {
  border-left: 1px solid rgba(104, 184, 230, 0.38);
  padding-left: 18px;
}

.hourmeter-details strong {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 0;
  color: var(--muted);
  font-size: max(0.8125rem, var(--a11y-min-font-size));
  font-weight: 600;
  white-space: nowrap;
}

.hourmeter-details strong small {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--muted);
  font-size: max(0.75rem, var(--a11y-min-font-size));
  font-weight: 600;
}

.hourmeter-details strong b {
  color: var(--cyan);
}

.hourmeter-pill {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-left: 10px;
  min-height: 30px;
  padding: 0 14px;
  border: 1px solid rgba(32, 212, 102, 0.32);
  border-radius: var(--radius-pill);
  color: var(--green);
  background: rgba(32, 212, 102, 0.08);
  font-weight: 700;
}

.status-overview .shield {
  grid-row: 1;
}

.status-overview .status-text {
  grid-row: 1;
  min-width: 0;
}

.status-overview .last-update {
  position: static;
  grid-column: 1 / -1;
  justify-self: stretch;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 10px;
  min-height: 40px;
  padding-top: 14px;
  border-top: 1px dotted rgba(104, 184, 230, 0.32);
}

.hourmeter-stop {
  display: none;
  padding-top: 18px;
  border-top: 1px dashed rgba(104, 184, 230, 0.18);
  color: var(--muted);
}

.hourmeter-stop > span:last-child {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: 8px;
  font-size: max(1.0625rem, var(--a11y-min-font-size));
}

.hourmeter-stop b {
  color: var(--cyan);
}

.shield {
  width: 96px;
  height: 110px;
  display: grid;
  place-items: center;
  background: rgba(32, 212, 102, 0.1);
  border: 1px solid rgba(32, 212, 102, 0.2);
  border-radius: var(--radius-lg);
  color: var(--green);
  font-size: max(3rem, var(--a11y-min-font-size));
  box-shadow: inset 0 0 20px rgba(32, 212, 102, 0.05);
}

.status-text h2 {
  color: var(--text);
  font-size: max(1rem, var(--a11y-min-font-size));
  font-weight: 500;
}
.status-text strong {
  display: block;
  margin: 6px 0 8px;
  font-size: max(2.25rem, var(--a11y-min-font-size));
  font-weight: 700;
  line-height: 1;
}

.last-update {
  position: absolute;
  top: 24px;
  right: 24px;
  color: var(--muted);
  font-size: max(0.8125rem, var(--a11y-min-font-size));
  display: flex;
  align-items: center;
  gap: 8px;
}
.last-update .dot {
  width: 8px;
  height: 8px;
  box-shadow: none;
}

/* ================= GRID DE MÃ‰TRICAS ================= */
.metric-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}

.metric {
  padding: 20px;
  position: relative;
}

.metric-heading {
  color: var(--muted);
  font-size: max(0.875rem, var(--a11y-min-font-size));
  font-weight: 700;
  text-transform: none;
}

.metric-heading .card-heading {
  gap: 10px;
}

.metric-heading .card-icon {
  width: 40px;
  height: 40px;
}

#card-temp .card-icon {
  color: var(--green);
  background: rgba(32, 212, 102, 0.1);
  border-color: rgba(32, 212, 102, 0.12);
}

#card-io1 .card-icon,
#card-io2 .card-icon {
  color: var(--blue);
  background: rgba(10, 144, 217, 0.12);
  border-color: rgba(10, 144, 217, 0.14);
}

.metric-value {
  display: block;
  margin-top: 16px;
  font-size: max(2.25rem, var(--a11y-min-font-size));
  font-weight: 700;
  line-height: 1;
  font-variant-numeric: tabular-nums;
  background: linear-gradient(160deg, #ffffff, #b9e6ff);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.unit {
  margin-left: 4px;
  color: var(--muted);
  font-size: max(0.875rem, var(--a11y-min-font-size));
  font-weight: normal;
}
.metric-state {
  margin-top: 12px;
  font-size: max(0.875rem, var(--a11y-min-font-size));
  font-weight: 500;
}

.io-indicator {
  position: absolute;
  bottom: 20px;
  right: 20px;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  border: 2px solid var(--gray);
  background: transparent;
  transition: all 0.3s ease;
}
.io-indicator.active {
  border-color: var(--green);
  background: var(--green);
  box-shadow: var(--glow-green);
}

/* ================= EIXOS ================= */
.axis-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.axis-card {
  padding: 20px;
  position: relative;
}
.axis-label {
  font-size: max(0.875rem, var(--a11y-min-font-size));
  font-weight: 700;
  line-height: 1.25;
}
.axis-label .card-icon {
  width: 34px;
  height: 34px;
  border-radius: 11px;
}
.axis-label .card-icon .ca-icon {
  width: 19px;
  height: 19px;
}
.axis-label small {
  display: block;
  margin: 4px 0 0 44px;
  color: var(--muted);
  font-size: max(0.6875rem, var(--a11y-min-font-size));
  font-weight: 600;
}
.axis-value {
  display: block;
  margin-top: 12px;
  font-size: max(2rem, var(--a11y-min-font-size));
  font-weight: 700;
  font-variant-numeric: tabular-nums;
}
.mini-line {
  width: 100%;
  height: 48px;
  margin: 12px 0 8px;
}

/* ================= CHART ================= */
.chart-card {
  padding: 20px;
}
#trendChart,
#tempChart {
  width: 100%;
  height: 240px;
}

/* ================= MODAL OVERLAY ================= */
.modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(4, 16, 26, 0.85);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  display: none;
  justify-content: center;
  align-items: center;
  z-index: 200;
  opacity: 0;
  transition: opacity 0.3s ease;
}
.modal-overlay.open {
  display: flex;
  opacity: 1;
}
.modal-card {
  width: min(92%, 600px);
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 24px;
  position: relative;
  box-shadow: var(--shadow-card), var(--glow-cyan);
  transform: translateY(20px) scale(0.95);
  transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}
.modal-card.modal-wide {
  width: min(94%, 860px);
}
.modal-overlay.open .modal-card {
  transform: translateY(0) scale(1);
}
.close-modal {
  position: absolute;
  top: 16px;
  right: 16px;
  font-size: max(1.75rem, var(--a11y-min-font-size));
  color: var(--muted);
  width: 40px;
  height: 40px;
  display: grid;
  place-items: center;
  border-radius: 50%;
}
.close-modal:hover {
  background: rgba(255, 255, 255, 0.05);
  color: var(--text);
}

.chip-modal {
  width: min(520px, 94vw);
}

.chip-modal-head {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 20px;
}

.chip-modal-head h2 {
  margin: 0 0 4px;
  font-size: max(1.5rem, var(--a11y-min-font-size));
}

.chip-info-list {
  display: grid;
  gap: 8px;
}

.chip-info-section {
  display: grid;
  gap: 10px;
}

.chip-info-section + .chip-info-section {
  margin-top: 8px;
}

.chip-info-section h3 {
  margin: 0;
  color: var(--muted);
  font-size: max(0.75rem, var(--a11y-min-font-size));
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.chip-info-row {
  display: grid;
  grid-template-columns: 26px minmax(120px, 1fr) auto;
  align-items: center;
  gap: 12px;
  min-height: 46px;
  padding: 10px 12px;
  border: 1px solid rgba(104, 184, 230, 0.12);
  border-radius: 8px;
  color: var(--muted);
  background: rgba(255, 255, 255, 0.018);
}

.chip-info-row strong {
  color: var(--text);
  font-weight: 800;
  text-align: right;
}

.modal-card.modal-axis-detail {
  width: min(96vw, 1160px);
  max-height: 92vh;
  overflow: auto;
  padding: 22px;
}

.axis-detail-head {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 18px;
  align-items: center;
  padding-right: 54px;
  margin-bottom: 18px;
}

.axis-detail-title {
  display: flex;
  align-items: center;
  gap: 16px;
}

.axis-detail-title .card-icon {
  width: 58px;
  height: 58px;
  border-radius: 9px;
  color: var(--green);
  background: rgba(32, 212, 102, 0.1);
  border-color: rgba(32, 212, 102, 0.25);
}

.axis-detail-title h2 {
  margin: 0 0 6px;
  font-size: max(1.75rem, var(--a11y-min-font-size));
}

.axis-detail-title p {
  margin: 0;
  color: var(--muted);
}

.axis-status-card {
  min-width: 210px;
  min-height: 78px;
  display: grid;
  grid-template-columns: auto 1fr;
  align-items: center;
  gap: 8px 14px;
  padding: 16px 18px;
  border: 1px solid rgba(104, 184, 230, 0.2);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.018);
}

.axis-status-card .card-icon {
  grid-row: span 2;
  color: currentColor;
  background: transparent;
  border: 0;
  box-shadow: none;
}

.axis-status-card span {
  color: var(--muted);
  font-size: max(0.875rem, var(--a11y-min-font-size));
}

.axis-status-card strong {
  font-size: max(1.375rem, var(--a11y-min-font-size));
}

.axis-status-card.normal {
  color: var(--green);
  border-color: rgba(32, 212, 102, 0.35);
  background: rgba(32, 212, 102, 0.07);
}
.axis-status-card.warning {
  color: var(--yellow);
  border-color: rgba(244, 176, 26, 0.45);
  background: rgba(244, 176, 26, 0.08);
}
.axis-status-card.critical {
  color: var(--red);
  border-color: rgba(255, 77, 90, 0.55);
  background: rgba(255, 77, 90, 0.1);
  box-shadow: 0 0 28px rgba(255, 77, 90, 0.16);
}

.axis-toolbar {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 16px;
}

.axis-toolbar span,
.axis-toolbar select,
.axis-events-head select {
  min-height: 40px;
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 0 16px;
  border: 1px solid var(--line);
  border-radius: 8px;
  color: var(--text);
  background: rgba(255, 255, 255, 0.025);
}

.axis-kpis {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
  margin-bottom: 18px;
}

.axis-kpi {
  min-height: 116px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.018);
  padding: 15px 16px;
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 5px 12px;
  align-content: center;
  min-width: 0;
}

.axis-kpi .card-icon {
  grid-row: span 3;
  width: 34px;
  height: 34px;
  color: currentColor;
  background: transparent;
  border: 0;
  box-shadow: none;
}

.axis-kpi span {
  text-transform: uppercase;
  color: var(--muted);
  font-size: max(0.75rem, var(--a11y-min-font-size));
  letter-spacing: 0.02em;
}

.axis-kpi strong {
  font-size: max(1.75rem, var(--a11y-min-font-size));
  line-height: 1;
  min-width: 0;
  overflow-wrap: anywhere;
}

.axis-kpi small,
.axis-kpi em {
  color: var(--muted);
  font-style: normal;
  font-size: max(0.8125rem, var(--a11y-min-font-size));
}

.axis-kpi.normal {
  color: var(--green);
}
.axis-kpi.warning {
  color: var(--yellow);
}
.axis-kpi.critical {
  color: var(--red);
}

.axis-chart-panel,
.axis-events-panel {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.018);
  padding: 14px;
  margin-bottom: 18px;
}

#axisDetailChart {
  width: 100%;
  height: 410px;
}

.axis-zone-legend {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 0 0 8px;
}

.axis-zone-legend span {
  min-height: 28px;
  display: inline-flex;
  align-items: center;
  padding: 0 10px;
  border-radius: 999px;
  border: 1px solid currentColor;
  font-size: max(0.75rem, var(--a11y-min-font-size));
  font-weight: 800;
  background: rgba(255, 255, 255, 0.025);
}

.axis-zone-legend .normal {
  color: var(--green);
}
.axis-zone-legend .warning {
  color: var(--yellow);
}
.axis-zone-legend .critical {
  color: var(--red);
}

.axis-range-buttons {
  display: grid;
  grid-template-columns: repeat(5, minmax(110px, 1fr));
  gap: 0;
  border: 1px solid rgba(104, 184, 230, 0.18);
  border-radius: 8px;
  overflow: hidden;
  margin-top: 10px;
}

.axis-range-buttons button {
  min-height: 46px;
  color: var(--muted);
  border-right: 1px solid rgba(104, 184, 230, 0.12);
  background: rgba(255, 255, 255, 0.018);
  font-weight: 700;
}

.axis-range-buttons button:last-child {
  border-right: 0;
}
.axis-range-buttons button.active {
  color: var(--green);
  background: rgba(32, 212, 102, 0.13);
  box-shadow: inset 0 0 0 1px rgba(32, 212, 102, 0.3);
}

.axis-events-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  margin-bottom: 14px;
}

.axis-events-head h3 {
  margin: 0;
  text-transform: uppercase;
  font-size: max(1rem, var(--a11y-min-font-size));
}

.axis-event-table {
  overflow-x: auto;
  border: 1px solid rgba(104, 184, 230, 0.12);
  border-radius: 8px;
}

.axis-event-header,
.axis-event-row {
  display: grid;
  grid-template-columns: 32px 100px 126px 96px minmax(220px, 1fr) minmax(220px, 1fr) 24px;
  align-items: center;
  gap: 14px;
  min-width: 900px;
}

.axis-event-header {
  min-height: 46px;
  padding: 0 16px;
  color: var(--muted);
  font-size: max(0.75rem, var(--a11y-min-font-size));
  text-transform: uppercase;
  background: rgba(255, 255, 255, 0.025);
  border-bottom: 1px solid rgba(104, 184, 230, 0.12);
}

.axis-event-row {
  min-height: 68px;
  padding: 10px 16px;
  border-bottom: 1px solid rgba(104, 184, 230, 0.12);
}

.axis-event-row:last-child {
  border-bottom: 0;
}

.axis-event-icon {
  width: 28px;
  height: 28px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  color: currentColor;
  background: rgba(255, 255, 255, 0.04);
}

.axis-event-level {
  justify-self: start;
  min-width: 92px;
  padding: 8px 12px;
  border-radius: 7px;
  text-align: center;
  font-weight: 800;
  border: 1px solid currentColor;
  background: rgba(255, 255, 255, 0.035);
}

.axis-event-value {
  font-size: max(1.125rem, var(--a11y-min-font-size));
}

.axis-event-value small,
.axis-event-desc small {
  display: block;
  color: var(--muted);
  font-size: max(0.75rem, var(--a11y-min-font-size));
  font-weight: 500;
  margin-top: 3px;
}

.axis-event-desc b {
  display: block;
  font-weight: 700;
}

.axis-event-action {
  color: var(--muted);
  line-height: 1.45;
}

.axis-event-row i {
  color: var(--muted);
  font-style: normal;
  font-size: max(1.5rem, var(--a11y-min-font-size));
}

.axis-event-row.normal {
  color: var(--green);
}
.axis-event-row.warning {
  color: var(--yellow);
}
.axis-event-row.critical {
  color: var(--red);
}

.axis-empty {
  min-height: 82px;
  display: grid;
  place-items: center;
  color: var(--muted);
}

.axis-event-scroll {
  max-height: 360px;
  overflow-y: auto;
}

.axis-event-pager {
  min-width: 900px;
  min-height: 54px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 10px 16px;
  border-top: 1px solid rgba(104, 184, 230, 0.12);
  color: var(--muted);
}

.axis-event-pager > div {
  display: inline-flex;
  gap: 6px;
}

.axis-event-pager button {
  min-width: 34px;
  min-height: 32px;
  border: 1px solid rgba(104, 184, 230, 0.18);
  border-radius: 7px;
  color: var(--muted);
  background: rgba(255, 255, 255, 0.025);
  font-weight: 800;
}

.axis-event-pager button.active {
  color: var(--green);
  border-color: rgba(32, 212, 102, 0.45);
  background: rgba(32, 212, 102, 0.12);
}

.axis-event-pager button:disabled {
  opacity: 0.35;
  cursor: not-allowed;
}

.modal-card.modal-hourmeter {
  width: min(96vw, 760px);
  max-height: 92vh;
  overflow: auto;
  padding: 18px;
}

.hm-modal-head {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 4px 58px 14px 4px;
}

.hm-modal-head .card-icon {
  width: 52px;
  height: 52px;
  border-radius: 9px;
  color: var(--cyan);
  background: rgba(0, 183, 244, 0.12);
  border-color: rgba(0, 183, 244, 0.22);
}

.hm-modal-head h2 {
  font-size: max(1.1875rem, var(--a11y-min-font-size));
  margin: 0 0 3px;
}
.hm-modal-head p {
  color: var(--muted);
  margin: 0;
  font-size: max(0.8125rem, var(--a11y-min-font-size));
}

.hm-tabs {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border: 1px solid var(--line);
  border-radius: 8px;
  overflow: hidden;
  margin-bottom: 14px;
}

.hm-tabs button {
  min-height: 48px;
  color: var(--muted);
  background: rgba(255, 255, 255, 0.015);
  border-right: 1px solid rgba(104, 184, 230, 0.12);
  font-weight: 700;
}

.hm-tabs button:last-child {
  border-right: 0;
}
.hm-tabs button.active {
  color: var(--cyan);
  box-shadow: inset 0 -2px 0 var(--cyan);
  background: linear-gradient(180deg, rgba(0, 183, 244, 0.08), rgba(0, 0, 0, 0));
}

.hm-kpi-strip {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.018);
  margin-bottom: 14px;
}

.hm-kpi-strip > div {
  min-height: 70px;
  padding: 14px 16px;
  border-right: 1px solid rgba(104, 184, 230, 0.18);
}

.hm-kpi-strip > div:last-child {
  border-right: 0;
}

.hm-kpi-strip .card-icon,
.hm-info-row .card-icon,
.hm-event-row .card-icon {
  width: 18px;
  height: 18px;
  border-radius: 0;
  margin-right: 7px;
  color: var(--cyan);
  background: transparent;
  border: 0;
  box-shadow: none;
}

.hm-kpi-strip .card-icon .ca-icon,
.hm-info-row .card-icon .ca-icon,
.hm-event-row .card-icon .ca-icon {
  width: 16px;
  height: 16px;
  stroke-width: 2;
}

.hm-kpi-strip span,
.hm-maint-grid span,
.hm-progress-line span {
  color: var(--muted);
  font-size: max(0.75rem, var(--a11y-min-font-size));
}

.hm-kpi-strip strong {
  display: block;
  margin-top: 8px;
  font-size: max(1.125rem, var(--a11y-min-font-size));
}

.hm-kpi-strip small {
  color: var(--muted);
  margin-left: 4px;
}

.hm-status-pill {
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-width: 112px;
  min-height: 28px;
  color: var(--green);
  border: 1px solid rgba(32, 212, 102, 0.35);
  border-radius: var(--radius-pill);
  background: rgba(32, 212, 102, 0.08);
}

.hm-grid.two {
  display: grid;
  grid-template-columns: 1fr 1.08fr;
  gap: 14px;
}

.hm-panel {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.018);
  padding: 16px;
  margin-bottom: 14px;
}

.hm-panel h3 {
  font-size: max(0.9375rem, var(--a11y-min-font-size));
  margin: 0 0 14px;
}
.hm-panel h4 {
  font-size: max(0.8125rem, var(--a11y-min-font-size));
  margin: 16px 0 8px;
}
.hm-stack {
  display: grid;
  gap: 14px;
}

.hm-info-row,
.hm-event-row {
  display: grid;
  grid-template-columns: auto 1fr auto auto;
  align-items: center;
  gap: 8px;
  min-height: 31px;
  color: var(--muted);
  font-size: max(0.8125rem, var(--a11y-min-font-size));
}

.hm-info-row strong,
.hm-event-row b {
  color: var(--text);
  font-style: normal;
}

.hm-event-row {
  border-top: 1px solid rgba(104, 184, 230, 0.12);
}

.hm-event-row:first-of-type {
  border-top: 0;
}
.hm-event-row.ok .card-icon,
.hm-event-row.ok b {
  color: var(--green);
}
.hm-event-row.warn .card-icon,
.hm-event-row.warn b {
  color: var(--yellow);
}
.hm-event-row.stop .card-icon {
  color: var(--red);
}
.hm-event-row.info b {
  color: var(--cyan);
}

.hm-event-row i {
  color: var(--muted);
  font-size: max(1.5rem, var(--a11y-min-font-size));
  font-style: normal;
}

.hm-cycle-panel {
  padding-bottom: 12px;
}

.hm-cycle-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 12px;
}

.hm-cycle-head h3 {
  margin: 0;
}

.hm-date-filter {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 4px;
  border: 1px solid rgba(104, 184, 230, 0.18);
  border-radius: var(--radius-pill);
  background: rgba(255, 255, 255, 0.018);
}

.hm-date-filter button,
.hm-cycle-pager button {
  display: inline-grid;
  place-items: center;
  min-width: 30px;
  height: 30px;
  border-radius: var(--radius-pill);
  color: var(--text);
  background: rgba(0, 183, 244, 0.07);
  border: 1px solid rgba(0, 183, 244, 0.16);
}

.hm-date-current {
  min-width: 94px;
  padding: 0 12px;
  text-align: center;
  font-size: max(0.8125rem, var(--a11y-min-font-size));
  font-weight: 800;
}

.hm-mini-calendar {
  position: absolute;
  top: calc(100% + 10px);
  right: 0;
  z-index: 8;
  width: 286px;
  padding: 12px;
  border: 1px solid rgba(0, 183, 244, 0.28);
  border-radius: 12px;
  background: rgba(8, 25, 39, 0.98);
  box-shadow:
    0 18px 42px rgba(0, 0, 0, 0.42),
    0 0 22px rgba(0, 183, 244, 0.08);
}

.hm-calendar-head {
  display: grid;
  grid-template-columns: 34px 1fr 34px;
  align-items: center;
  gap: 8px;
  margin-bottom: 10px;
}

.hm-calendar-head strong {
  text-align: center;
  font-size: max(0.8125rem, var(--a11y-min-font-size));
}

.hm-calendar-week,
.hm-calendar-days {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 5px;
}

.hm-calendar-week {
  margin-bottom: 6px;
  color: var(--muted);
  font-size: max(0.625rem, var(--a11y-min-font-size));
  font-weight: 800;
  text-align: center;
  text-transform: uppercase;
}

.hm-calendar-days button,
.hm-calendar-empty {
  min-width: 0;
  width: 100%;
  height: 32px;
  border-radius: 8px;
  font-size: max(0.75rem, var(--a11y-min-font-size));
}

.hm-calendar-days button.has-data {
  color: var(--text);
  background: rgba(0, 183, 244, 0.08);
  border-color: rgba(0, 183, 244, 0.22);
}

.hm-calendar-days button.has-data::after {
  content: '';
  display: block;
  width: 4px;
  height: 4px;
  margin: -2px auto 0;
  border-radius: 50%;
  background: var(--green);
}

.hm-calendar-days button.active {
  color: #06131f;
  background: var(--cyan);
  border-color: var(--cyan);
}

.hm-calendar-days button.active::after {
  background: #06131f;
}

.hm-calendar-days button.muted {
  opacity: 0.28;
  color: var(--muted);
  background: rgba(255, 255, 255, 0.018);
  border-color: rgba(104, 184, 230, 0.08);
  cursor: not-allowed;
}

.hm-cycle-table {
  border: 1px solid rgba(104, 184, 230, 0.14);
  border-radius: 8px;
  overflow: hidden;
}

.hm-cycle-header,
.hm-cycle-row {
  display: grid;
  grid-template-columns: 42px 1fr 1fr 1fr 110px;
  align-items: center;
  gap: 10px;
}

.hm-cycle-header {
  min-height: 38px;
  padding: 0 12px;
  color: var(--muted);
  background: rgba(255, 255, 255, 0.035);
  font-size: max(0.6875rem, var(--a11y-min-font-size));
  font-weight: 800;
  text-transform: uppercase;
}

.hm-cycle-scroll {
  max-height: 234px;
  overflow: auto;
}

.hm-cycle-row {
  min-height: 46px;
  padding: 0 12px;
  border-top: 1px solid rgba(104, 184, 230, 0.11);
  color: var(--muted);
  font-size: max(0.8125rem, var(--a11y-min-font-size));
}

.hm-cycle-row strong,
.hm-cycle-row b {
  color: var(--text);
}

.hm-cycle-row em {
  justify-self: start;
  min-width: 86px;
  padding: 5px 10px;
  border-radius: var(--radius-pill);
  color: var(--green);
  background: rgba(32, 212, 102, 0.08);
  border: 1px solid rgba(32, 212, 102, 0.26);
  font-style: normal;
  font-weight: 800;
  text-align: center;
}

.hm-cycle-row.info em {
  color: var(--cyan);
  background: rgba(0, 183, 244, 0.08);
  border-color: rgba(0, 183, 244, 0.26);
}

.hm-cycle-row.warn em {
  color: var(--yellow);
  background: rgba(244, 176, 26, 0.08);
  border-color: rgba(244, 176, 26, 0.28);
}

.hm-cycle-row.stop em {
  color: var(--red);
  background: rgba(255, 77, 90, 0.09);
  border-color: rgba(255, 77, 90, 0.32);
}

.hm-cycle-empty {
  display: grid;
  place-items: center;
  min-height: 150px;
  color: var(--muted);
}

.hm-cycle-pager {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin-top: 12px;
}

.hm-cycle-pager > div {
  display: inline-flex;
  gap: 6px;
}

.hm-cycle-pager button.active {
  color: #06131f;
  background: var(--cyan);
  border-color: var(--cyan);
}

.hm-cycle-pager button:disabled {
  opacity: 0.35;
  cursor: not-allowed;
}

.hm-main-state {
  display: block;
  color: var(--green);
  font-size: max(1.125rem, var(--a11y-min-font-size));
  margin-bottom: 14px;
}

.hm-main-state.running {
  color: var(--cyan);
}

.hm-health-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin: 14px 0 -6px;
  padding: 10px 12px;
  border: 1px solid rgba(32, 212, 102, 0.22);
  border-radius: 8px;
  color: var(--muted);
  background: rgba(32, 212, 102, 0.045);
}

.hm-health-row strong {
  color: var(--green);
  font-size: max(1.125rem, var(--a11y-min-font-size));
}

.hm-health-breakdown {
  display: grid;
  gap: 8px;
  min-width: 0;
}

.hm-health-layout {
  display: grid;
  grid-template-columns: 112px minmax(0, 1fr);
  align-items: center;
  gap: 18px;
  margin-top: 12px;
}

.hm-health-factor {
  display: grid;
  grid-template-columns: minmax(88px, 1fr) 40px minmax(70px, 1.25fr);
  align-items: center;
  gap: 8px;
  color: var(--muted);
  font-size: max(0.75rem, var(--a11y-min-font-size));
  min-width: 0;
}

.hm-health-factor span {
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.hm-health-factor strong {
  color: var(--text);
  text-align: right;
}

.hm-progress-line {
  display: grid;
  grid-template-columns: 1fr 2.8fr auto;
  gap: 12px;
  align-items: center;
  margin-top: 18px;
}

.hm-quick-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px;
}

.hm-quick-grid > div,
.hm-maint-grid > div {
  border: 1px solid rgba(104, 184, 230, 0.15);
  border-radius: 7px;
  padding: 11px;
}

.hm-quick-grid strong,
.hm-maint-grid strong {
  display: block;
  margin-top: 5px;
  font-size: max(1.0625rem, var(--a11y-min-font-size));
}

.hm-maint-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
}

.hm-maint-grid > div {
  border-radius: 0;
  border-width: 0 1px 0 0;
}

.hm-maint-grid > div:last-child {
  border-right: 0;
}

.hm-chart {
  width: 100%;
  height: 160px;
}
.hm-chart.small {
  height: 150px;
}
.hm-chart.donut {
  width: 112px;
  height: 112px;
  margin-top: 0;
  justify-self: start;
}

.hm-note {
  display: flex;
  align-items: center;
  gap: 12px;
  border: 1px solid rgba(0, 183, 244, 0.45);
  border-radius: 8px;
  background: rgba(0, 183, 244, 0.08);
  color: var(--muted);
  padding: 13px 16px;
  margin-bottom: 14px;
  line-height: 1.45;
}

.hm-note .card-icon {
  flex: 0 0 auto;
  width: 18px;
  height: 18px;
  color: var(--cyan);
  background: transparent;
  border: 0;
  border-radius: 0;
  box-shadow: none;
}

.hm-note .card-icon .ca-icon {
  width: 16px;
  height: 16px;
}

.hm-actions {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
}

.hm-actions .btn {
  min-height: 48px;
}

.hm-actions .card-icon {
  width: 18px;
  height: 18px;
  margin-right: 8px;
  color: currentColor;
  background: transparent;
  border: 0;
  border-radius: 0;
  box-shadow: none;
}

.hm-actions .card-icon .ca-icon {
  width: 16px;
  height: 16px;
}

@media (max-width: 760px) {
  .modal-card.modal-axis-detail {
    width: 96vw;
    padding: 14px;
  }
  .axis-detail-head,
  .axis-kpis {
    grid-template-columns: 1fr;
  }
  .axis-detail-title h2 {
    font-size: max(1.25rem, var(--a11y-min-font-size));
    line-height: 1.2;
  }
  .axis-status-card {
    min-width: 0;
  }
  .axis-range-buttons {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  #axisDetailChart {
    height: 330px;
  }
  .modal-card.modal-hourmeter {
    width: min(96vw, 620px);
    padding: 14px;
  }
  .hm-kpi-strip,
  .hm-grid.two,
  .hm-maint-grid,
  .hm-health-layout,
  .hm-actions {
    grid-template-columns: 1fr;
  }
  .hm-kpi-strip > div,
  .hm-maint-grid > div {
    border-right: 0;
    border-bottom: 1px solid rgba(104, 184, 230, 0.14);
  }
  .hm-health-layout {
    grid-template-columns: 96px minmax(0, 1fr);
    gap: 14px;
  }
  .hm-chart.donut {
    width: 96px;
    height: 96px;
  }
  .hm-health-factor {
    grid-template-columns: minmax(76px, 1fr) 36px minmax(54px, 1fr);
    gap: 6px;
  }
  .hm-kpi-strip > div:last-child,
  .hm-maint-grid > div:last-child {
    border-bottom: 0;
  }
  .hm-tabs button {
    min-height: 44px;
    font-size: max(0.75rem, var(--a11y-min-font-size));
  }
  .hm-cycle-head {
    align-items: flex-start;
    flex-direction: column;
  }
  .hm-cycle-table {
    overflow-x: auto;
  }
  .hm-mini-calendar {
    left: 0;
    right: auto;
    width: min(286px, calc(96vw - 52px));
  }
  .hm-cycle-header,
  .hm-cycle-row {
    min-width: 620px;
  }
  .hm-quick-grid {
    grid-template-columns: 1fr;
  }
}

/* ================= LISTAS E ALERTAS ================= */
.alert-list {
  display: grid;
  gap: 8px;
}

.alerts-hero {
  position: relative;
  min-height: 168px;
  display: grid;
  grid-template-columns: 124px minmax(220px, 1fr) minmax(240px, 0.9fr);
  grid-template-rows: 1fr auto;
  gap: 14px 28px;
  align-items: center;
  padding: 28px 32px;
  overflow: hidden;
  background:
    radial-gradient(circle at 8% 26%, rgba(0, 183, 244, 0.18), transparent 180px),
    linear-gradient(160deg, rgba(12, 38, 62, 0.88), rgba(4, 16, 26, 0.96));
}

.alerts-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    linear-gradient(
      90deg,
      transparent 0 68%,
      rgba(0, 183, 244, 0.05) 68% 69%,
      transparent 69% 100%
    ),
    linear-gradient(
      180deg,
      transparent 0 48%,
      rgba(104, 184, 230, 0.06) 48% 49%,
      transparent 49% 100%
    );
  background-size:
    92px 100%,
    100% 36px;
  opacity: 0.45;
}

.alerts-icon {
  position: relative;
  z-index: 1;
  grid-row: 1 / span 2;
  width: 96px;
  height: 96px;
  display: grid;
  place-items: center;
  border-radius: 22px;
  color: var(--cyan);
  background:
    radial-gradient(circle at 50% 50%, rgba(0, 183, 244, 0.18), transparent 48%),
    linear-gradient(145deg, rgba(0, 183, 244, 0.18), rgba(6, 20, 32, 0.82));
  border: 1px solid rgba(0, 183, 244, 0.36);
  box-shadow:
    0 0 28px rgba(0, 183, 244, 0.22),
    inset 0 0 32px rgba(0, 183, 244, 0.08);
}

.alerts-icon .ca-icon {
  width: 52px;
  height: 52px;
  stroke-width: 1.8;
}

.alerts-copy {
  position: relative;
  z-index: 1;
  display: grid;
  align-content: center;
  gap: 10px;
}

.alerts-copy h2 {
  margin: 0;
  font-size: max(1.625rem, var(--a11y-min-font-size));
  line-height: 1;
}

.alerts-copy strong {
  display: flex;
  align-items: center;
  gap: 9px;
  font-size: max(1.3125rem, var(--a11y-min-font-size));
  line-height: 1.2;
}

.alerts-pill {
  display: inline-flex;
  width: fit-content;
  align-items: center;
  gap: 8px;
  min-height: 30px;
  padding: 0 12px;
  border-radius: var(--radius-pill);
  color: var(--green);
  background: rgba(4, 16, 26, 0.4);
  border: 1px solid rgba(32, 212, 102, 0.22);
  font-size: max(0.8125rem, var(--a11y-min-font-size));
  font-weight: 700;
}

.alerts-normalized {
  display: inline-flex;
  width: fit-content;
  align-items: center;
  gap: 8px;
  min-height: 30px;
  padding: 0 12px;
  border-radius: var(--radius-pill);
  color: var(--cyan);
  background: rgba(4, 16, 26, 0.4);
  border: 1px solid rgba(0, 183, 244, 0.22);
  font-size: max(0.8125rem, var(--a11y-min-font-size));
  font-weight: 700;
}

.alerts-wave {
  position: absolute;
  right: 0;
  top: 0;
  bottom: 0;
  width: 65%;
  z-index: 0;
  pointer-events: none;
  opacity: 0.72;
}

.alerts-wave::before {
  content: '';
  position: absolute;
  inset: 10px 0;
  background:
    radial-gradient(
      circle at 96% 42%,
      rgba(0, 213, 255, 0.95) 0 3px,
      rgba(0, 213, 255, 0.24) 4px 13px,
      transparent 14px
    ),
    url("data:image/svg+xml,%3Csvg viewBox='0 0 420 90' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M0 58 C38 58 42 48 72 48 C104 48 101 66 132 66 C168 66 162 18 202 18 C236 18 242 62 280 62 C326 62 322 6 372 6 C396 6 402 22 420 22' fill='none' stroke='%2300B7F4' stroke-width='2'/%3E%3C/svg%3E")
      center/100% 100% no-repeat;
  filter: drop-shadow(0 0 8px rgba(0, 183, 244, 0.35));
}

.alerts-side {
  position: relative;
  z-index: 1;
  grid-column: 3;
  grid-row: 2;
  align-self: end;
  display: grid;
  justify-items: end;
  align-content: end;
  gap: 12px;
}

.alerts-side small {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--muted);
  font-size: max(0.75rem, var(--a11y-min-font-size));
}

.alerts-side .dot {
  width: 7px;
  height: 7px;
}

.alerts-stats {
  position: relative;
  z-index: 1;
  grid-column: 2;
  display: grid;
  grid-template-columns: repeat(3, minmax(120px, 1fr));
  max-width: 480px;
  border: 1px solid rgba(104, 184, 230, 0.12);
  border-radius: 8px;
  overflow: hidden;
  background: rgba(4, 16, 26, 0.38);
}

.alerts-stats span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 35px;
  padding: 0 12px;
  color: var(--muted);
  font-size: max(0.8125rem, var(--a11y-min-font-size));
  font-weight: 700;
  border-right: 1px solid rgba(104, 184, 230, 0.1);
}

.alerts-stats span:last-child {
  border-right: 0;
}
.alerts-stats b {
  color: var(--text);
  font-size: max(1rem, var(--a11y-min-font-size));
}
.alerts-stats .danger .ca-icon {
  color: var(--red);
}
.alerts-stats .warning .ca-icon {
  color: var(--yellow);
}
.alerts-stats .pending .ca-icon {
  color: var(--cyan);
}

.alerts-warning .alerts-icon,
.alerts-warning .alerts-pill,
.alerts-warning .alerts-normalized {
  color: var(--yellow);
  border-color: rgba(244, 176, 26, 0.34);
  background: rgba(244, 176, 26, 0.08);
}

.alerts-critical .alerts-icon,
.alerts-critical .alerts-pill,
.alerts-critical .alerts-normalized {
  color: var(--red);
  border-color: rgba(255, 77, 90, 0.38);
  background: rgba(255, 77, 90, 0.09);
}

.list-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 16px 0;
  border-bottom: 1px solid var(--line);
  color: var(--muted);
  font-size: max(0.875rem, var(--a11y-min-font-size));
}
.list-row:last-child {
  border-bottom: none;
  padding-bottom: 0;
}
.list-row strong {
  color: var(--text);
  font-weight: 500;
  display: flex;
  align-items: center;
  gap: 10px;
}
.list-row > div {
  display: grid;
  gap: 4px;
}
.list-row small {
  color: var(--muted);
  font-size: max(0.75rem, var(--a11y-min-font-size));
}
.data-list .list-row {
  padding: 12px 0;
}

.storage-management-grid {
  align-items: stretch;
}

.sd-status-line {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  min-height: 42px;
  padding: 10px 12px;
  border: 1px solid rgba(104, 184, 230, 0.16);
  border-radius: var(--radius-sm);
  background: rgba(255, 255, 255, 0.03);
}

.sd-status-line span {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--muted);
}

.sd-storage.online .sd-status-line strong {
  color: var(--green);
}

.sd-storage.offline .sd-status-line strong {
  color: var(--yellow);
}

.storage-note {
  padding: 12px;
  border: 1px solid rgba(104, 184, 230, 0.12);
  border-radius: var(--radius-sm);
  color: var(--muted);
  background: rgba(0, 183, 244, 0.04);
  font-size: max(0.8125rem, var(--a11y-min-font-size));
  line-height: 1.45;
}

.storage-note.muted {
  background: rgba(255, 255, 255, 0.025);
}

.io-event-list {
  display: grid;
  gap: 10px;
  max-height: 320px;
  overflow: auto;
  padding-right: 4px;
}

.io-event-row {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  align-items: center;
  padding: 14px 16px;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  background: rgba(255, 255, 255, 0.03);
}

.io-event-row strong,
.io-event-row small {
  display: block;
}

.io-event-row small,
.io-event-row span,
.empty-state {
  color: var(--muted);
  font-size: max(0.8125rem, var(--a11y-min-font-size));
}

.empty-state {
  padding: 48px 16px;
  text-align: center;
  border: 1px dashed var(--line);
  border-radius: var(--radius-sm);
}

/* ================= AÃ‡Ã•ES RÃPIDAS (BotÃµes) ================= */
.action-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}

.btn {
  min-height: 64px;
  padding: 0 16px;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  color: var(--text);
  background: rgba(255, 255, 255, 0.025);
  font-weight: 600;
  font-size: max(0.875rem, var(--a11y-min-font-size));
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  text-align: center;
}

.btn:hover {
  background: rgba(255, 255, 255, 0.07);
  border-color: rgba(104, 184, 230, 0.28);
}
.btn:active {
  transform: scale(0.98);
}
.btn:disabled {
  opacity: 0.42;
  cursor: not-allowed;
  transform: none;
}
.btn:not(.ghost):not(.danger) {
  background: linear-gradient(135deg, rgba(0, 183, 244, 0.88), rgba(10, 144, 217, 0.84));
  border-color: rgba(0, 183, 244, 0.18);
  box-shadow: 0 6px 18px rgba(0, 183, 244, 0.24);
}
.btn:not(.ghost):not(.danger):hover {
  background: linear-gradient(135deg, rgba(0, 197, 255, 0.94), rgba(10, 144, 217, 0.9));
  border-color: rgba(0, 183, 244, 0.34);
}
.btn.danger {
  color: var(--red);
}
.btn.danger:hover {
  background: rgba(255, 77, 90, 0.1);
  border-color: var(--red);
}
.btn.ghost {
  border: 1px solid rgba(104, 184, 230, 0.18);
  background: rgba(255, 255, 255, 0.02);
}
.btn.ghost:hover {
  background: rgba(255, 255, 255, 0.05);
}

.chart-expand-icon,
.chart-unit {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.more-button .ca-icon {
  width: 18px;
  height: 18px;
}

/* ================= BOTTOM NAV (4 Itens) ================= */
.bottom-nav {
  position: fixed;
  left: 50%;
  bottom: 0;
  z-index: 50;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  width: min(calc(100% - 32px), 1060px);
  background: rgba(4, 16, 26, 0.85);
  border: 1px solid var(--line);
  border-bottom: 0;
  border-radius: 16px 16px 0 0;
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  padding-bottom: env(safe-area-inset-bottom, 0);
  transform: translateX(-50%);
}

.nav-item {
  min-height: 72px;
  color: var(--gray);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 6px;
  font-size: max(0.75rem, var(--a11y-min-font-size));
  font-weight: 500;
  border-radius: var(--radius-md);
  margin: 4px;
}

.nav-item:hover {
  color: var(--muted);
}
.nav-item.active {
  color: var(--cyan);
  background: rgba(0, 183, 244, 0.1);
}
.nav-icon {
  width: 24px;
  height: 24px;
}

/* ================= TOAST (NotificaÃ§Ãµes) ================= */
.toast {
  position: fixed;
  left: 50%;
  bottom: 100px;
  z-index: 100;
  transform: translate(-50%, 20px);
  padding: 14px 24px;
  border-radius: var(--radius-pill);
  color: #fff;
  background: var(--green);
  font-weight: 600;
  font-size: max(0.9375rem, var(--a11y-min-font-size));
  box-shadow: var(--shadow-card), var(--glow-green);
  opacity: 0;
  pointer-events: none;
  transition: all 0.3s cubic-bezier(0.68, -0.55, 0.265, 1.55);
}
.toast.show {
  opacity: 1;
  transform: translate(-50%, 0);
}

/* ================= FORMULÃRIOS & CONFIGURAÃ‡Ã•ES ================= */
.two-col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}
.three-col {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}
.form-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
}

.wifi-picker {
  grid-column: 1 / -1;
}

.network-clean .card {
  overflow: hidden;
}

.network-summary-card {
  display: grid;
  gap: 18px;
}

.net-check-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.net-check {
  position: relative;
  display: grid;
  grid-template-columns: 44px minmax(0, 1fr);
  gap: 10px 12px;
  align-items: center;
  min-height: 74px;
  padding: 13px 14px;
  border: 1px solid rgba(104, 184, 230, 0.15);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.025);
}

.net-check input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.net-check > span {
  grid-row: 1 / span 2;
  width: 42px;
  height: 24px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  background: rgba(255, 255, 255, 0.12);
  transition:
    background 0.18s ease,
    border-color 0.18s ease;
}

.net-check > span::after {
  content: '';
  display: block;
  width: 18px;
  height: 18px;
  margin: 2px;
  border-radius: 50%;
  background: #fff;
  transition: transform 0.18s ease;
}

.net-check input:checked + span {
  border-color: rgba(32, 212, 102, 0.55);
  background: rgba(32, 212, 102, 0.75);
}

.net-check input:checked + span::after {
  transform: translateX(18px);
}

.net-check input:disabled + span {
  opacity: 0.75;
  cursor: not-allowed;
}

.net-check strong {
  color: var(--text);
}

.net-check small {
  color: var(--muted);
  font-size: max(0.75rem, var(--a11y-min-font-size));
  line-height: 1.35;
}

.network-main-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(280px, 0.65fr);
  gap: 16px;
}

.wifi-connect-card.is-disabled {
  opacity: 0.78;
}

.wifi-step {
  display: grid;
  gap: 14px;
}

.wifi-step-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.wifi-step-head strong,
.wifi-step-head small {
  display: block;
}

.wifi-step-head small {
  color: var(--muted);
  margin-top: 3px;
}

.wifi-ssid-control {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 10px;
}

.wifi-ssid-control .btn {
  min-height: 44px;
  padding: 0 14px;
}

.wifi-network-list {
  display: grid;
  gap: 6px;
  max-height: 310px;
  overflow: auto;
  padding: 8px;
  border: 1px solid rgba(104, 184, 230, 0.12);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.018);
}

.wifi-selected-box {
  display: none;
  grid-template-columns: 1fr;
  gap: 9px;
  padding: 12px;
  border: 1px solid rgba(0, 183, 244, 0.18);
  border-radius: 8px;
  background: rgba(0, 183, 244, 0.055);
}

.wifi-selected-box.open {
  display: grid;
}

.wifi-selected-box label {
  color: var(--muted);
  font-size: max(0.8125rem, var(--a11y-min-font-size));
  font-weight: 600;
  letter-spacing: 0.5px;
}

.password-control {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 46px;
  gap: 8px;
}

.password-control .icon-button {
  width: 46px;
  height: 46px;
  border-radius: 8px;
}

.password-control .icon-button.active {
  color: var(--cyan);
  border-color: rgba(0, 183, 244, 0.45);
}

.wifi-network-item {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 12px;
  min-height: 62px;
  padding: 11px 12px;
  border: 1px solid rgba(104, 184, 230, 0.12);
  border-radius: 8px;
  color: var(--text);
  background: rgba(255, 255, 255, 0.018);
  text-align: left;
}

.wifi-network-item:hover,
.wifi-network-item.selected {
  border-color: rgba(0, 183, 244, 0.48);
  background: rgba(0, 183, 244, 0.08);
}

.wifi-network-item span,
.wifi-network-item b {
  display: grid;
  gap: 3px;
}

.wifi-network-main {
  grid-template-columns: 22px minmax(0, 1fr);
  align-items: center;
}

.wifi-network-main strong,
.wifi-network-main small {
  grid-column: 2;
}

.wifi-network-item small {
  color: var(--muted);
  font-size: max(0.6875rem, var(--a11y-min-font-size));
  font-weight: 600;
}

.wifi-network-item b {
  color: var(--cyan);
  font-size: max(0.75rem, var(--a11y-min-font-size));
  text-align: right;
}

.wifi-rssi {
  color: var(--muted);
  font-size: max(0.75rem, var(--a11y-min-font-size));
  font-weight: 700;
  white-space: nowrap;
}

.network-status-grid.compact {
  margin-top: 0;
}

.network-status-grid.stacked {
  grid-template-columns: 1fr;
  margin-top: 14px;
}

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

.wifi-network-empty {
  display: grid;
  place-items: center;
  min-height: 74px;
  color: var(--muted);
  text-align: center;
}

.network-status-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
  margin-top: 16px;
}

.network-status-grid > div {
  display: grid;
  gap: 5px;
  min-height: 62px;
  padding: 12px;
  border: 1px solid rgba(104, 184, 230, 0.13);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.018);
}

.network-status-grid span {
  color: var(--muted);
  font-size: max(0.75rem, var(--a11y-min-font-size));
}

.network-status-grid strong {
  color: var(--text);
  font-size: max(0.875rem, var(--a11y-min-font-size));
  word-break: break-word;
}
.form-row {
  display: grid;
  gap: 8px;
}
.form-row label {
  color: var(--muted);
  font-size: max(0.8125rem, var(--a11y-min-font-size));
  font-weight: 600;
  letter-spacing: 0.5px;
}

input,
select {
  width: 100%;
  min-height: 48px;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  padding: 0 16px;
  color: var(--text);
  background: rgba(0, 0, 0, 0.2);
  font-size: max(0.9375rem, var(--a11y-min-font-size));
  transition: border 0.2s ease;
}

select {
  color-scheme: dark;
}

select option {
  color: var(--text);
  background: #071a28;
}

select option:checked,
select option:hover {
  color: #04101a;
  background: var(--cyan);
}

input:focus,
select:focus {
  outline: none;
  border-color: var(--cyan);
  background: rgba(0, 183, 244, 0.05);
}

.toggle-line {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 12px 0;
}

/* ================= CONFIGURAÃ‡ÃƒO POR ABAS ================= */
.config-tabs {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 8px;
  padding: 12px;
}

.config-tab {
  min-height: 54px;
  border: 1px solid transparent;
  border-radius: var(--radius-sm);
  color: var(--muted);
  font-weight: 700;
  background: transparent;
}

.config-tab.active {
  color: #fff;
  border-color: var(--cyan);
  background: linear-gradient(180deg, rgba(0, 183, 244, 0.9), rgba(0, 136, 200, 0.82));
  box-shadow: var(--glow-cyan);
}

.config-card {
  margin-inline: auto;
}

.equipment-config-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  margin: 18px 0 24px;
  padding: 14px;
  border: 1px solid rgba(104, 184, 230, 0.12);
  border-radius: var(--radius-sm);
  background: rgba(255, 255, 255, 0.018);
}

.config-wide {
  width: 100%;
  max-width: 980px;
}

.narrow-card {
  max-width: 360px;
}

.medium-card {
  max-width: 430px;
}

.config-page-wide {
  width: 100%;
}

.icon-title {
  justify-content: flex-start;
  gap: 12px;
}

.icon-title h2 small {
  color: var(--muted);
  font-weight: 500;
}

.round-icon {
  display: inline-grid;
  place-items: center;
  width: 40px;
  min-width: 40px;
  height: 40px;
  border-radius: 50%;
  color: var(--cyan);
  background: rgba(0, 183, 244, 0.12);
  border: 1px solid rgba(0, 183, 244, 0.35);
}

.round-icon .ca-icon {
  width: 22px;
  height: 22px;
}

.config-stack {
  display: grid;
  gap: 18px;
}

.sensor-layout .sensor-fields {
  grid-template-columns: repeat(2, minmax(220px, 1fr));
  align-items: start;
}

.sensor-layout .config-primary {
  align-self: end;
}

.form-row small {
  color: var(--muted);
  font-size: max(0.75rem, var(--a11y-min-font-size));
}

.config-primary {
  color: #fff;
  background: linear-gradient(180deg, rgba(0, 183, 244, 0.95), rgba(0, 133, 198, 0.9));
  border-color: var(--cyan);
}

.mode-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
}

.mode-card {
  min-height: 120px;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  color: var(--text);
  background: rgba(0, 0, 0, 0.12);
  display: grid;
  place-items: center;
  align-content: center;
  gap: 6px;
}

.mode-card.active {
  border-color: var(--cyan);
  background: linear-gradient(180deg, rgba(0, 183, 244, 0.22), rgba(0, 183, 244, 0.08));
  box-shadow: var(--glow-cyan);
}

.mode-card small {
  color: var(--muted);
}

.mode-icon {
  display: inline-grid;
  place-items: center;
  color: var(--cyan);
}

.mode-icon .ca-icon {
  width: 32px;
  height: 32px;
}

.muted-icon {
  color: var(--muted);
}

.mini-tabs {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  margin: 8px 0 20px;
  border: 1px solid rgba(104, 184, 230, 0.25);
  border-radius: var(--radius-md);
  overflow: hidden;
}

.mini-tabs button {
  min-height: 48px;
  color: var(--muted);
  background: rgba(0, 0, 0, 0.12);
  font-weight: 700;
}

.mini-tabs button.active {
  color: #fff;
  background: linear-gradient(180deg, rgba(0, 183, 244, 0.95), rgba(0, 133, 198, 0.88));
}

.alarm-table {
  display: grid;
  grid-template-columns: 1fr 92px 92px;
  gap: 10px;
  align-items: center;
}

.alarm-table > span {
  color: var(--text);
  text-align: center;
  font-size: max(0.875rem, var(--a11y-min-font-size));
}

.alarm-table small {
  color: var(--muted);
}

.alarm-table strong {
  color: var(--text);
  font-weight: 500;
}

.alarm-table input {
  text-align: center;
  padding-inline: 8px;
}

.alarm-layout-grid {
  display: grid;
  grid-template-columns: minmax(340px, 1fr) minmax(280px, 0.85fr);
  gap: 28px;
  align-items: start;
}

.hint-line {
  margin-top: 16px;
  color: var(--muted);
  font-size: max(0.8125rem, var(--a11y-min-font-size));
}

.divider {
  height: 1px;
  margin: 20px 0;
  background: var(--line);
}

.switch {
  position: relative;
  width: 56px;
  height: 32px;
  border-radius: var(--radius-pill);
  background: rgba(255, 255, 255, 0.14);
  flex: 0 0 auto;
}

.switch::after {
  content: '';
  position: absolute;
  top: 4px;
  left: 4px;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: #fff;
  transition: transform 0.2s ease;
}

.switch.on {
  background: var(--green);
  box-shadow: var(--glow-green);
}

.switch.on::after {
  transform: translateX(24px);
}

.system-card {
  max-width: 980px;
}

.outputs-grid {
  display: grid;
  grid-template-columns: minmax(210px, 0.55fr) minmax(340px, 1fr);
  gap: 28px;
  align-items: start;
}

.system-grid {
  display: grid;
  grid-template-columns: 1fr 1px 1fr;
  gap: 28px;
  align-items: start;
}

.system-divider {
  width: 1px;
  height: 100%;
  background: var(--line);
}

.toggle-line span {
  display: grid;
  gap: 4px;
}

.toggle-line small {
  color: var(--muted);
  font-size: max(0.8125rem, var(--a11y-min-font-size));
}

.notice-box {
  margin: 16px 0;
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  color: var(--muted);
  background: rgba(255, 255, 255, 0.03);
  line-height: 1.45;
}

.two-actions {
  grid-template-columns: repeat(2, 1fr);
}

/* ================= DISPOSITIVO ================= */
.device-main-card,
.device-status-card,
.device-storage-card,
.support-card {
  padding: 20px;
}

.device-expand-card {
  display: grid;
  gap: 18px;
}

.device-expand-card.is-collapsed {
  gap: 0;
}

.device-expand-head {
  position: relative;
  z-index: 3;
  width: 100%;
  min-height: 44px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 0;
  border: 0;
  color: var(--text);
  background: transparent;
  text-align: left;
  cursor: pointer;
}

.device-expand-head h2 {
  margin: 0;
  min-width: 0;
}

.device-expand-caret {
  flex: 0 0 auto;
  display: grid;
  place-items: center;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  color: var(--muted);
  background: rgba(104, 184, 230, 0.08);
  border: 1px solid rgba(104, 184, 230, 0.14);
  transition:
    transform 0.18s ease,
    color 0.18s ease,
    border-color 0.18s ease;
}

.device-expand-caret::before {
  content: '';
  width: 8px;
  height: 8px;
  border-right: 2px solid currentColor;
  border-bottom: 2px solid currentColor;
  transform: rotate(45deg) translate(-1px, -1px);
}

.device-expand-card.is-open .device-expand-caret {
  color: var(--cyan);
  border-color: rgba(0, 183, 244, 0.34);
  transform: rotate(180deg);
}

.device-expand-body {
  position: relative;
  z-index: 1;
  overflow: hidden;
  opacity: 1;
  max-height: 820px;
  transition:
    max-height 0.24s ease,
    opacity 0.18s ease,
    margin-top 0.18s ease;
}

.device-expand-card.is-collapsed .device-expand-body {
  max-height: 0;
  opacity: 0;
  margin-top: 0;
}

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

.device-row {
  display: grid;
  grid-template-columns: 28px minmax(180px, 1fr) auto;
  gap: 12px;
  align-items: center;
  min-height: 45px;
  border-top: 1px solid var(--line);
  color: var(--muted);
}

.device-row:first-child {
  border-top: 0;
}

.device-row-icon {
  display: grid;
  place-items: center;
  color: var(--cyan);
}

.device-row-icon .ca-icon {
  width: 17px;
  height: 17px;
  stroke-width: 2.2;
}

.device-row strong {
  color: var(--text);
  font-weight: 500;
  text-align: right;
}

.device-status-card .device-row strong {
  color: var(--green);
}

.storage-block {
  display: grid;
  gap: 18px;
}

.storage-line {
  display: grid;
  gap: 8px;
}

.storage-line > div:first-child {
  display: flex;
  align-items: center;
  justify-content: space-between;
  color: var(--muted);
}

.storage-line strong {
  color: var(--green);
  font-size: max(1.125rem, var(--a11y-min-font-size));
}

.storage-line small {
  color: var(--muted);
  text-align: right;
}

.progress {
  width: 100%;
  height: 14px;
  overflow: hidden;
  border: 1px solid rgba(0, 183, 244, 0.55);
  border-radius: var(--radius-pill);
  background: rgba(0, 0, 0, 0.22);
}

.progress span {
  display: block;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, var(--green), var(--cyan));
}

.support-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  overflow: hidden;
}

.support-item {
  min-height: 96px;
  display: grid;
  place-items: center;
  align-content: center;
  gap: 8px;
  padding: 12px;
  border-left: 1px solid var(--line);
  text-align: center;
}

.support-item:first-child {
  border-left: 0;
}

.support-item span {
  display: grid;
  place-items: center;
  color: var(--cyan);
}

.support-item .ca-icon {
  width: 24px;
  height: 24px;
}

.support-item small {
  color: var(--text);
}

.support-item strong {
  color: var(--cyan);
}

.device-actions {
  grid-template-columns: repeat(4, 1fr);
}

.device-actions .card-icon {
  width: 20px;
  height: 20px;
  color: currentColor;
  background: transparent;
  border: 0;
  border-radius: 0;
  box-shadow: none;
}

.device-actions .card-icon .ca-icon {
  width: 18px;
  height: 18px;
}

@media (min-width: 841px) {
  .app::before {
    display: none;
  }

  .app-header {
    top: 0;
    width: 100%;
    padding-right: 0;
    padding-left: 0;
    border-top: 0;
    border-right: 0;
    border-left: 0;
    border-radius: 0 0 18px 18px;
  }

  .app-header .topbar,
  .app-header .chip-row {
    width: min(calc(100% - 40px), 1020px);
    margin-right: auto;
    margin-left: auto;
  }
}

/* ================= RESPONSIVIDADE (Mobile) ================= */
@media (max-width: 840px) {
  .app {
    padding-top: 246px;
    transition: padding-top 0.22s ease;
  }
  .app:not(.has-equipment-summary) {
    padding-top: 98px;
  }
  .app:not(.has-equipment-summary)::before {
    height: 98px;
  }
  .app:not(.has-equipment-summary) .app-header {
    padding-bottom: 4px;
  }
  .app:not(.has-equipment-summary) .topbar {
    min-height: 82px;
    padding-bottom: 6px;
  }
  .app.is-header-compact {
    padding-top: 185px;
  }
  .app.is-header-compact::before {
    height: 136px;
  }
  .app::before {
    height: 232px;
  }
  .app-header {
    top: 0;
    width: 100%;
    padding: 6px 10px 12px;
    border-top: 0;
    border-right: 0;
    border-left: 0;
    border-radius: 0 0 18px 18px;
  }
  .bottom-nav {
    left: 0;
    width: 100%;
    border-right: 0;
    border-bottom: 0;
    border-left: 0;
    border-radius: 0;
    transform: none;
  }
  .topbar {
    min-height: 76px;
    padding: 6px 4px 10px;
  }
  .brand img {
    width: clamp(150px, 43vw, 180px);
    max-height: 50px;
  }
  .top-actions {
    gap: 8px;
  }
  .icon-button,
  .avatar {
    width: 42px;
    height: 42px;
  }
  .avatar {
    font-size: max(1rem, var(--a11y-min-font-size));
  }
  .alert-button b {
    min-width: 18px;
    height: 18px;
    font-size: max(0.625rem, var(--a11y-min-font-size));
  }
  .alerts-hero {
    grid-template-columns: 72px 1fr;
    grid-template-rows: auto auto auto;
    gap: 14px;
    padding: 22px;
  }
  .alerts-icon {
    grid-row: 1;
    width: 68px;
    height: 68px;
    border-radius: 18px;
  }
  .alerts-icon .ca-icon {
    width: 38px;
    height: 38px;
  }
  .alerts-copy h2 {
    font-size: max(1.375rem, var(--a11y-min-font-size));
  }
  .alerts-copy strong {
    font-size: max(1.125rem, var(--a11y-min-font-size));
  }
  .alerts-wave {
    grid-column: 1 / -1;
    min-height: 52px;
  }
  .alerts-side {
    grid-column: 1 / -1;
    grid-row: auto;
    justify-items: start;
    align-content: start;
  }
  .alerts-stats {
    grid-column: 1 / -1;
    grid-template-columns: 1fr;
    max-width: none;
  }
  .alerts-stats span {
    justify-content: flex-start;
    border-right: 0;
    border-bottom: 1px solid rgba(104, 184, 230, 0.1);
  }
  .alerts-stats span:last-child {
    border-bottom: 0;
  }
  .metric-grid,
  .axis-grid,
  .two-col,
  .three-col,
  .form-grid,
  .action-grid {
    grid-template-columns: 1fr;
  }
  .status-overview,
  .hourmeter-grid,
  .hourmeter-details {
    grid-template-columns: 1fr;
  }
  .config-tabs {
    grid-template-columns: repeat(2, 1fr);
  }
  .mode-grid,
  .system-grid,
  .alarm-layout-grid,
  .outputs-grid,
  .sensor-layout .sensor-fields,
  .equipment-config-grid {
    grid-template-columns: 1fr;
  }
  .wifi-ssid-control,
  .wifi-network-item,
  .network-status-grid {
    grid-template-columns: 1fr;
  }
  .wifi-network-item b {
    text-align: left;
  }
  .system-divider {
    display: none;
  }
  .narrow-card,
  .medium-card {
    max-width: none;
  }
  .device-row {
    grid-template-columns: 26px 1fr;
  }
  .device-row strong {
    grid-column: 2;
    text-align: left;
  }
  .support-grid {
    grid-template-columns: 1fr;
  }
  .support-item {
    border-left: 0;
    border-top: 1px solid var(--line);
  }
  .support-item:first-child {
    border-top: 0;
  }
  .device-actions {
    grid-template-columns: 1fr;
  }
  .alarm-table {
    grid-template-columns: 1fr 86px 86px;
  }
  .chip-row {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
    padding: 0;
    overflow: visible;
  }
  .chip {
    grid-template-columns: 38px minmax(0, 1fr) auto;
    gap: 8px;
    min-height: 64px;
    padding: 7px 9px;
  }
  .chip-icon {
    width: 36px;
    height: 36px;
  }
  .chip-icon .ca-icon {
    width: 20px;
    height: 20px;
  }
  .chip-copy {
    gap: 3px;
  }
  .chip-copy strong {
    font-size: max(0.71875rem, var(--a11y-min-font-size));
  }
  .chip-copy small {
    font-size: max(0.5625rem, var(--a11y-min-font-size));
  }
  .chip-chevron {
    width: 14px;
    height: 14px;
  }
  .app-header.is-compact .chip-row {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 5px;
  }
  .app-header.is-compact .chip {
    grid-template-columns: 22px minmax(0, 1fr) 0;
    gap: 4px;
    min-height: 42px;
    padding: 4px 5px;
    border-radius: 9px;
  }
  .app-header.is-compact .chip::before {
    top: 5px;
    bottom: 5px;
    width: 2px;
  }
  .app-header.is-compact .chip-icon {
    width: 22px;
    height: 22px;
  }
  .app-header.is-compact .chip-icon .ca-icon {
    width: 13px;
    height: 13px;
  }
  .app-header.is-compact .chip-copy {
    gap: 0;
  }
  .app-header.is-compact .chip-copy strong {
    font-size: max(0.53125rem, var(--a11y-min-font-size));
    font-weight: 650;
  }
  .app-header.is-compact .chip-copy small,
  .app-header.is-compact .chip-chevron {
    display: none;
  }
  .chip-info-row {
    grid-template-columns: 24px 1fr;
    align-items: start;
  }
  .chip-info-row strong {
    grid-column: 2;
    text-align: left;
  }
  .status-card {
    grid-template-columns: 1fr;
    text-align: left;
    gap: 16px;
    padding-top: 56px;
  }
  .last-update {
    top: 16px;
    right: 16px;
  }
  .hourmeter-card {
    padding: 22px;
  }
  .hourmeter-head h2 {
    font-size: max(1.375rem, var(--a11y-min-font-size));
  }
  .hourmeter-metric strong {
    font-size: max(2.25rem, var(--a11y-min-font-size));
  }
  .shield {
    width: 72px;
    height: 72px;
    border-radius: var(--radius-md);
    font-size: max(2rem, var(--a11y-min-font-size));
  }
  .action-grid .btn {
    min-height: 56px;
    flex-direction: row;
    justify-content: flex-start;
    padding: 0 20px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .app,
  .app::before,
  .app-header,
  .app-header .topbar,
  .app-header .brand img,
  .app-header .icon-button,
  .app-header .avatar,
  .app-header .chip-row,
  .app-header .chip,
  .app-header .chip-icon {
    transition: none;
  }
}
