/* CyberSun page-specific styles */

/* HERO */
.hero {
  position: relative;
  padding: 64px 0 96px;
  background: linear-gradient(180deg, var(--white) 0%, #F2F6FC 100%);
  overflow: hidden;
}
.hero-bg {
  position: absolute;
  inset: -10% -10% auto auto;
  width: 60%;
  height: 90%;
  background:
    radial-gradient(60% 70% at 70% 30%, rgba(252, 159, 27, 0.08), transparent 70%),
    radial-gradient(60% 70% at 90% 60%, rgba(5, 95, 175, 0.10), transparent 70%);
  pointer-events: none;
}
.hero-grid {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 56px;
  align-items: center;
  position: relative;
  z-index: 2;
}
.hero-pill {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 6px 12px 6px 8px;
  border-radius: 999px;
  background: var(--white);
  border: 1px solid var(--line);
  font-size: 12.5px;
  color: var(--ink-2);
  margin-bottom: 24px;
  box-shadow: var(--shadow-sm);
}
.hero-pill-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--success);
  box-shadow: 0 0 0 3px rgba(26, 163, 122, 0.18);
}
.hero h1 .hl {
  background: linear-gradient(180deg, #FFB54B 0%, #FC9F1B 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.hero-sub {
  font-size: 18px;
  color: var(--muted);
  margin-top: 22px;
  max-width: 540px;
  line-height: 1.6;
}
.hero-ctas {
  display: flex;
  gap: 12px;
  margin-top: 32px;
  flex-wrap: wrap;
}
.hero-stats {
  display: grid;
  grid-template-columns: repeat(3, auto);
  gap: 36px;
  margin-top: 48px;
  padding-top: 28px;
  border-top: 1px solid var(--line);
}
.hero-stat-v {
  font-size: 22px;
  font-weight: 700;
  color: var(--navy);
  letter-spacing: -0.02em;
}
.hero-stat-l {
  font-size: 13px;
  color: var(--muted);
  margin-top: 2px;
}
.hero-viz {
  position: relative;
  width: 100%;
  aspect-ratio: 720 / 540;
  border-radius: 24px;
  box-shadow: var(--shadow-lg);
  overflow: visible;
}
.hero-chip {
  position: absolute;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 10px 14px;
  font-size: 13px;
  display: flex;
  align-items: center;
  gap: 10px;
  box-shadow: var(--shadow-md);
  color: var(--ink-2);
}
.hero-chip strong {
  color: var(--navy);
  font-weight: 700;
}
.chip-1 {
  top: 24px;
  left: -32px;
}
.chip-1 .chip-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--success);
  box-shadow: 0 0 0 3px rgba(26, 163, 122, 0.2);
  animation: pulse-dot 2s infinite;
}
.chip-2 {
  bottom: 60px;
  left: -20px;
  flex-direction: column;
  align-items: flex-start;
  gap: 2px;
}
.chip-2 strong { font-size: 18px; }
.chip-3 {
  top: 110px;
  right: -28px;
  flex-direction: column;
  align-items: flex-start;
  gap: 2px;
}
.chip-3 strong { font-size: 18px; }
@keyframes pulse-dot {
  0%, 100% { box-shadow: 0 0 0 3px rgba(26, 163, 122, 0.2); }
  50% { box-shadow: 0 0 0 6px rgba(26, 163, 122, 0); }
}

@media (max-width: 1024px) {
  .hero-grid { grid-template-columns: 1fr; gap: 40px; }
  .hero-viz { max-width: 640px; margin: 0 auto; }
  .chip-1 { left: 8px; top: 8px; }
  .chip-2 { left: 8px; bottom: 16px; }
  .chip-3 { right: 8px; top: auto; bottom: 16px; }
}
@media (max-width: 640px) {
  .hero-stats { grid-template-columns: 1fr 1fr; gap: 18px 36px; }
  .hero-chip { font-size: 12px; padding: 8px 12px; }
  .chip-1 strong, .chip-2 strong, .chip-3 strong { font-size: 15px; }
}

/* VALUE BADGES */
.value-badges {
  padding: 0 0 8px;
  margin-top: -24px;
  position: relative;
  z-index: 3;
}
.value-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 18px;
  overflow: hidden;
  box-shadow: var(--shadow-md);
}
.value-badge {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 22px 24px;
  font-size: 14.5px;
  font-weight: 600;
  color: var(--navy);
  border-right: 1px solid var(--line-soft);
}
.value-badge:last-child { border-right: none; }
.value-ico {
  width: 38px;
  height: 38px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--orange-tint);
  color: var(--orange);
  flex-shrink: 0;
}
.value-badge:nth-child(2) .value-ico { background: var(--blue-tint); color: var(--blue); }
.value-badge:nth-child(3) .value-ico { background: rgba(26, 163, 122, 0.12); color: var(--success); }
.value-badge:nth-child(4) .value-ico { background: var(--blue-tint); color: var(--blue); }
@media (max-width: 1024px) {
  .value-row { grid-template-columns: 1fr 1fr; }
  .value-badge:nth-child(2) { border-right: none; }
  .value-badge:nth-child(1), .value-badge:nth-child(2) { border-bottom: 1px solid var(--line-soft); }
}
@media (max-width: 560px) {
  .value-row { grid-template-columns: 1fr; }
  .value-badge { border-right: none !important; border-bottom: 1px solid var(--line-soft); }
  .value-badge:last-child { border-bottom: none; }
}

/* DASHBOARD CALLOUTS */
.dashboard-callouts {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 24px;
  margin-top: 40px;
  color: #98ADC8;
  font-size: 13.5px;
}
.dashboard-callouts > div {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 14px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.02);
}

/* FEATURES */
.features-grid { gap: 4px; border-radius: 22px; overflow: hidden; }
.feature {
  background: var(--white);
  border: 1px solid var(--line);
  padding: 28px;
  transition: background .15s ease, border-color .15s ease;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.feature:hover { background: var(--light); border-color: rgba(5, 95, 175, 0.2); }
.feature-ico {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  background: var(--blue-tint);
  color: var(--blue);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 12px;
}
.feature:nth-child(4n+1) .feature-ico { background: var(--orange-tint); color: var(--orange); }
.feature h3 { margin: 0; }
.feature p { color: var(--muted); font-size: 14px; line-height: 1.6; margin-top: 4px; }

/* SOLUTIONS */
.solution {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 32px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  transition: transform .2s, box-shadow .2s, border-color .2s;
}
.solution:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
  border-color: rgba(5, 95, 175, 0.2);
}
.solution-ico {
  width: 56px;
  height: 56px;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--blue-tint);
  color: var(--blue);
}
.solution-ico.orange { background: var(--orange-tint); color: var(--orange); }
.solution-tag {
  font-size: 11.5px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-weight: 600;
  color: var(--blue);
  margin-top: 6px;
}
.solution:nth-child(odd) .solution-tag { color: var(--orange); }
.solution-title { font-size: 22px; font-weight: 700; color: var(--navy); }
.solution ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-top: 6px;
}
.solution ul li {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 14px;
  color: var(--ink-2);
}
.solution ul li svg { color: var(--success); flex-shrink: 0; }
.solution-stat {
  margin-top: 20px;
  padding-top: 20px;
  border-top: 1px dashed var(--line);
}
.solution-stat .num { font-size: 22px; font-weight: 700; color: var(--navy); letter-spacing: -0.02em; }
.solution-stat .lbl { font-size: 12.5px; color: var(--muted); margin-top: 2px; }

/* SUPPORTED DEVICES */
.brand-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
  margin-top: 20px;
}
.brand-card {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 16px 18px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 14px;
  transition: border-color .15s ease, transform .15s ease;
}
.brand-card:hover { border-color: var(--blue); transform: translateY(-1px); }
.brand-logo-wrap {
  width: 75px;
  height: 75px;
  border-radius: 12px;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}
.brand-logo {
  width: 75px;
  height: 75px;
  object-fit: contain;
  padding: 8px;
  background: var(--white);
  border: 1px solid var(--line-soft);
  border-radius: 12px;
}
.brand-mark {
  width: 75px;
  height: 75px;
  border-radius: 12px;
  background: var(--navy);
  color: var(--orange);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 18px;
  letter-spacing: 0.04em;
  flex-shrink: 0;
}
.brand-info { flex: 1; min-width: 0; }
.brand-name { font-size: 14px; font-weight: 600; color: var(--navy); }
.brand-kind { font-size: 12px; color: var(--muted); margin-top: 2px; }
.brand-protocols { display: flex; flex-wrap: wrap; gap: 4px; margin-top: 7px; }
.brand-protocol-tag {
  font-size: 10px;
  font-weight: 600;
  color: var(--blue);
  background: var(--blue-tint);
  padding: 2px 6px;
  border-radius: 999px;
  white-space: nowrap;
  letter-spacing: 0.02em;
}
.protocols {
  padding: 18px 22px;
  background: var(--light);
  border-radius: 16px;
  display: flex;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
}
.protocols-label {
  font-size: 12px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  font-weight: 600;
  color: var(--muted);
  white-space: nowrap;
}
.protocols-row { display: flex; flex-wrap: wrap; gap: 8px; }
.protocol-chip {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  background: var(--white);
  border: 1.5px solid var(--line);
  padding: 7px 13px;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 500;
  color: var(--ink-2);
  cursor: pointer;
  font-family: inherit;
  transition: border-color .15s ease, background .15s ease, color .15s ease, box-shadow .15s ease;
}
.protocol-chip svg { color: var(--blue); transition: color .15s ease; }
.protocol-chip:hover:not(.active) { border-color: var(--blue-soft); color: var(--navy); }
.protocol-chip.active {
  background: var(--navy);
  border-color: var(--navy);
  color: var(--white);
  box-shadow: 0 4px 12px -4px rgba(0, 29, 64, 0.35);
}
.protocol-chip.active svg { color: var(--orange); }
@media (max-width: 1024px) {
  .brand-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 560px) {
  .brand-grid { grid-template-columns: 1fr; }
  .protocols { flex-direction: column; align-items: flex-start; gap: 12px; }
}

/* PARTNERS */
.partner-wrap {
  background: linear-gradient(120deg, #02143A 0%, #04265A 60%, #073172 100%);
  border-radius: var(--radius-xl);
  padding: 64px;
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 48px;
  color: #D8E3F2;
  position: relative;
  overflow: hidden;
}
.partner-wrap::before {
  content: '';
  position: absolute;
  inset: -40% -40% auto auto;
  width: 60%; height: 90%;
  background: radial-gradient(50% 50% at 50% 50%, rgba(252, 159, 27, 0.2), transparent 70%);
  pointer-events: none;
}
.partner-text h2 { color: var(--white); }
.partner-text .eyebrow { color: var(--orange); }
.partner-text .eyebrow::before { background: var(--orange); }
.partner-text p { color: #B6C7DC; }
.partner-benefits {
  display: flex;
  flex-direction: column;
  gap: 14px;
  position: relative;
  z-index: 2;
}
.partner-item {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 18px 22px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 14px;
  color: var(--white);
  font-size: 14.5px;
  font-weight: 500;
}
.partner-ico {
  width: 36px;
  height: 36px;
  border-radius: 9px;
  background: rgba(252, 159, 27, 0.15);
  color: var(--orange);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
@media (max-width: 1024px) {
  .partner-wrap { grid-template-columns: 1fr; padding: 40px; }
}
@media (max-width: 560px) {
  .partner-wrap { padding: 28px; }
}

/* CONTACT */
.contact-wrap {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 56px;
  align-items: start;
}
.contact-text p { color: var(--muted); }
.contact-points {
  margin-top: 28px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.contact-points > div {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--ink-2);
  font-size: 14.5px;
}
.contact-points svg { color: var(--success); }
.contact-meta {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  margin-top: 36px;
  padding-top: 28px;
  border-top: 1px solid var(--line);
}
.contact-meta-l { font-size: 11.5px; letter-spacing: 0.12em; text-transform: uppercase; font-weight: 600; color: var(--muted); }
.contact-meta-v { font-size: 14.5px; font-weight: 600; color: var(--navy); margin-top: 6px; }
.contact-form {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-xl);
  padding: 36px;
  box-shadow: var(--shadow-md);
  display: flex;
  flex-direction: column;
  gap: 18px;
}
.form-row {
  display: flex;
  gap: 16px;
}
.form-row-2 > * { flex: 1 1 0; }
.field {
  display: flex;
  flex-direction: column;
  gap: 7px;
}
.field-label {
  font-size: 12.5px;
  font-weight: 500;
  color: var(--ink-2);
}
.field input, .field select, .field textarea {
  font-family: inherit;
  font-size: 14.5px;
  padding: 12px 14px;
  border-radius: 10px;
  border: 1px solid var(--line);
  background: var(--white);
  color: var(--ink);
  outline: none;
  transition: border-color .15s ease, box-shadow .15s ease;
  resize: vertical;
}
.field input:focus, .field select:focus, .field textarea:focus {
  border-color: var(--blue);
  box-shadow: 0 0 0 3px rgba(5, 95, 175, 0.12);
}
@media (max-width: 1024px) {
  .contact-wrap { grid-template-columns: 1fr; gap: 40px; }
}
@media (max-width: 560px) {
  .form-row-2 { flex-direction: column; }
  .contact-form { padding: 24px; }
}

/* FILE UPLOAD */
.upload-optional {
  display: inline-block;
  font-size: 10.5px;
  font-weight: 500;
  color: var(--muted-2);
  background: var(--line-soft);
  padding: 1px 7px;
  border-radius: 999px;
  margin-left: 8px;
  vertical-align: middle;
  letter-spacing: 0.03em;
}
.upload-zone {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 86px;
  padding: 18px 20px;
  border: 1.5px dashed var(--line);
  border-radius: 10px;
  background: var(--light);
  cursor: pointer;
  position: relative;
  transition: border-color .15s ease, background .15s ease;
}
.upload-zone:hover,
.upload-zone.drag-over {
  border-color: var(--blue);
  background: var(--blue-tint);
}
.upload-zone.has-file {
  border-color: rgba(26, 163, 122, 0.4);
  background: rgba(26, 163, 122, 0.05);
  border-style: solid;
}
.upload-input {
  position: absolute;
  inset: 0;
  opacity: 0;
  cursor: pointer;
  width: 100%;
  height: 100%;
}
.upload-prompt {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 5px;
  pointer-events: none;
  text-align: center;
  color: var(--blue);
}
.upload-prompt > span:first-of-type {
  font-size: 13.5px;
  font-weight: 500;
  color: var(--ink-2);
}
.upload-hint {
  font-size: 12px;
  color: var(--muted);
  font-weight: 400;
}
.upload-selected {
  display: flex;
  align-items: center;
  gap: 9px;
  pointer-events: none;
}
.upload-selected > svg { color: var(--success); flex-shrink: 0; }
.upload-filename {
  font-size: 13.5px;
  font-weight: 600;
  color: var(--navy);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  max-width: 220px;
}
.upload-size { font-size: 12px; color: var(--muted); flex-shrink: 0; }
.upload-clear {
  pointer-events: all;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  border: 1px solid var(--line);
  background: var(--white);
  color: var(--muted);
  cursor: pointer;
  flex-shrink: 0;
  transition: background .12s, color .12s, border-color .12s;
}
.upload-clear:hover { background: #FEE2E2; border-color: #FCA5A5; color: #DC2626; }

/* DASHBOARD MOCKUP */
.dash {
  background: #061B3F;
  border-radius: 18px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  overflow: hidden;
  box-shadow: 0 50px 80px -30px rgba(0, 0, 0, 0.6), 0 20px 40px -20px rgba(0, 29, 64, 0.4);
  margin: 0 auto;
  max-width: 1180px;
}
.dash-chrome {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 12px 18px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  background: #04122E;
}
.dash-dots { display: flex; gap: 6px; }
.dash-dots span {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.12);
}
.dash-dots span:nth-child(1) { background: #FF5F57; }
.dash-dots span:nth-child(2) { background: #FFBD2E; }
.dash-dots span:nth-child(3) { background: #28C840; }
.dash-addr {
  flex: 1;
  display: flex;
  align-items: center;
  gap: 8px;
  justify-content: center;
  font-size: 12px;
  color: #98ADC8;
  font-family: 'JetBrains Mono', monospace;
  padding: 4px 10px;
  background: #02112C;
  border-radius: 6px;
  border: 1px solid rgba(255, 255, 255, 0.05);
  max-width: 360px;
  margin: 0 auto;
}
.dash-actions {
  display: flex;
  align-items: center;
  gap: 12px;
  color: #98ADC8;
}
.dash-avatar {
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: var(--orange);
  color: var(--navy);
  font-size: 10.5px;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
}

.dash-body {
  display: grid;
  grid-template-columns: 220px 1fr;
}
.dash-side {
  background: #04122E;
  border-right: 1px solid rgba(255, 255, 255, 0.06);
  padding: 20px 14px;
  display: flex;
  flex-direction: column;
  min-height: 620px;
}
.dash-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--white);
  font-weight: 700;
  font-size: 14px;
  padding: 4px 8px 18px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  margin-bottom: 14px;
}
.dash-nav { display: flex; flex-direction: column; gap: 2px; }
.dash-nav a {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 9px 10px;
  font-size: 13px;
  color: #98ADC8;
  border-radius: 8px;
  transition: background .15s, color .15s;
}
.dash-nav a:hover { background: rgba(255, 255, 255, 0.04); color: var(--white); }
.dash-nav a.active { background: rgba(252, 159, 27, 0.12); color: var(--orange); }
.dash-side-foot {
  margin-top: auto;
  padding-top: 18px;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
}
.dash-site {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px;
  background: rgba(255, 255, 255, 0.03);
  border-radius: 10px;
}
.dash-site .dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--success);
  box-shadow: 0 0 8px rgba(26, 163, 122, 0.6);
}
.dash-site-name { color: var(--white); font-size: 13px; font-weight: 600; }
.dash-site-meta { color: #98ADC8; font-size: 11.5px; margin-top: 2px; }

.dash-main { padding: 24px; color: #C7D4E5; }
.dash-topbar {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  margin-bottom: 22px;
}
.dash-h1 { color: var(--white); font-size: 20px; font-weight: 600; letter-spacing: -0.01em; }
.dash-sub { color: #7A8FAB; font-size: 12.5px; margin-top: 4px; }
.dash-seg {
  display: inline-flex;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 10px;
  padding: 3px;
}
.dash-seg button {
  background: transparent;
  border: none;
  color: #7A8FAB;
  font-size: 12.5px;
  padding: 6px 12px;
  border-radius: 7px;
  cursor: pointer;
}
.dash-seg button.active { background: rgba(252, 159, 27, 0.15); color: var(--orange); }

.kpi-row {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 14px;
  margin-bottom: 20px;
}
.kpi {
  background: linear-gradient(180deg, #0A2659 0%, #051E48 100%);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 14px;
  padding: 16px;
  position: relative;
  overflow: hidden;
}
.kpi-head { display: flex; align-items: center; gap: 8px; color: #98ADC8; font-size: 11.5px; letter-spacing: 0.04em; text-transform: uppercase; font-weight: 600; }
.kpi-ico {
  width: 26px;
  height: 26px;
  border-radius: 7px;
  background: rgba(252, 159, 27, 0.15);
  color: var(--orange);
  display: flex; align-items: center; justify-content: center;
}
.kpi-blue .kpi-ico { background: rgba(42, 127, 204, 0.18); color: #7CC4E8; }
.kpi-indigo .kpi-ico { background: rgba(124, 196, 232, 0.18); color: #7CC4E8; }
.kpi-cyan .kpi-ico { background: rgba(42, 127, 204, 0.18); color: #7CC4E8; }
.kpi-green .kpi-ico { background: rgba(26, 163, 122, 0.18); color: #4ECCA1; }
.kpi-label { color: #98ADC8; font-weight: 600; font-size: 11px; }
.kpi-value {
  margin-top: 14px;
  display: flex;
  align-items: baseline;
  gap: 4px;
  color: var(--white);
  font-size: 26px;
  font-weight: 700;
  letter-spacing: -0.02em;
  font-variant-numeric: tabular-nums;
}
.kpi-unit { font-size: 13px; color: #7A8FAB; font-weight: 500; }
.kpi-delta { color: #4ECCA1; font-size: 12px; margin-top: 4px; }
.kpi-blue .kpi-delta { color: #7CC4E8; }
.kpi-cyan .kpi-delta, .kpi-indigo .kpi-delta { color: #7CC4E8; }
.kpi-spark { width: 100%; height: 36px; margin-top: 10px; }
.kpi-gauge { margin-top: 10px; }
.kpi-gauge-bar {
  height: 6px;
  background: rgba(255, 255, 255, 0.06);
  border-radius: 4px;
  overflow: hidden;
}
.kpi-gauge-bar > div {
  height: 100%;
  background: linear-gradient(90deg, #7CC4E8, #FC9F1B);
  border-radius: 4px;
}

.dash-grid-2 {
  display: grid;
  grid-template-columns: 1.5fr 1fr;
  gap: 14px;
  margin-bottom: 14px;
}
.dash-grid-3 {
  display: grid;
  grid-template-columns: 1.2fr 1fr 1fr;
  gap: 14px;
}
.dash-card {
  background: linear-gradient(180deg, #0A2659 0%, #051E48 100%);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 14px;
  padding: 18px;
}
.dash-card-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 14px;
}
.dash-card-title { color: var(--white); font-size: 14px; font-weight: 600; }
.dash-card-sub { color: #7A8FAB; font-size: 12px; margin-top: 3px; }
.dash-legend { display: flex; gap: 14px; color: #98ADC8; font-size: 11.5px; }
.dash-legend span { display: inline-flex; align-items: center; gap: 6px; }
.dash-legend i { width: 8px; height: 8px; border-radius: 2px; display: inline-block; }
.dash-tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 10.5px;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  padding: 4px 9px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.05);
  color: #98ADC8;
  border: 1px solid rgba(255, 255, 255, 0.05);
}
.dash-tag.green { background: rgba(26, 163, 122, 0.15); color: #4ECCA1; border-color: rgba(78, 204, 161, 0.25); }
.dash-tag.amber { background: rgba(252, 159, 27, 0.15); color: var(--orange); border-color: rgba(252, 159, 27, 0.3); }
.dash-chart { width: 100%; height: 220px; }
.dash-axis {
  display: flex;
  justify-content: space-between;
  font-family: 'JetBrains Mono', monospace;
  font-size: 10px;
  color: #56698A;
  margin-top: 6px;
}
.mini-flow { width: 100%; height: 240px; }

.dev-list { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 8px; }
.dev-list li {
  display: grid;
  grid-template-columns: 28px 1fr auto;
  align-items: center;
  gap: 12px;
  padding: 8px 4px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.04);
}
.dev-list li:last-child { border-bottom: none; }
.dev-ico {
  width: 28px;
  height: 28px;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.04);
  color: #7CC4E8;
  display: flex;
  align-items: center;
  justify-content: center;
}
.dev-name { color: var(--white); font-size: 13px; font-weight: 500; }
.dev-tag { color: #7A8FAB; font-size: 11.5px; margin-top: 2px; }
.dev-state { display: flex; align-items: center; gap: 8px; font-family: 'JetBrains Mono', monospace; font-size: 12px; color: #C7D4E5; }
.dev-dot { width: 7px; height: 7px; border-radius: 50%; background: var(--success); }
.dev-dot.idle { background: #56698A; }
.dev-dot.charging { background: var(--success); box-shadow: 0 0 8px rgba(26, 163, 122, 0.6); }
.dev-dot.producing { background: var(--orange); box-shadow: 0 0 8px rgba(252, 159, 27, 0.5); }

.price-mini { width: 100%; height: 110px; }
.price-axis {
  display: flex;
  justify-content: space-between;
  font-family: 'JetBrains Mono', monospace;
  font-size: 10px;
  color: #56698A;
  margin-top: 4px;
}

.alerts { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 10px; }
.alerts li {
  display: flex;
  gap: 12px;
  padding: 10px 12px;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.03);
  border-left: 3px solid #56698A;
  font-size: 12.5px;
  color: var(--white);
}
.alerts li.warn { border-left-color: var(--orange); }
.alerts li.info { border-left-color: #7CC4E8; }
.alerts li.ok { border-left-color: #4ECCA1; }
.alerts li svg { color: #98ADC8; flex-shrink: 0; margin-top: 2px; }
.alerts li.warn svg { color: var(--orange); }
.alerts li.info svg { color: #7CC4E8; }
.alerts li.ok svg { color: #4ECCA1; }
.alert-sub { font-size: 11px; color: #7A8FAB; margin-top: 2px; font-weight: normal; }

@media (max-width: 1100px) {
  .dash-body { grid-template-columns: 1fr; }
  .dash-side { display: none; }
  .kpi-row { grid-template-columns: repeat(3, 1fr); }
  .dash-grid-2 { grid-template-columns: 1fr; }
  .dash-grid-3 { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
  .kpi-row { grid-template-columns: 1fr 1fr; }
  .dash-main { padding: 16px; }
}
