.safety-stage {
  background: #060b12;
}

.safety-shade {
  position: absolute;
  inset: 0;
  z-index: -3;
  background:
    linear-gradient(90deg, rgba(4, 8, 14, 0.92), rgba(4, 8, 14, 0.44) 45%, rgba(4, 8, 14, 0.82)),
    linear-gradient(180deg, rgba(4, 8, 14, 0.58), rgba(4, 8, 14, 0.78));
}

.safety-grid {
  position: absolute;
  inset: 0;
  z-index: -2;
  border: 0;
  pointer-events: none;
  display: none;
}

.safety-grid::before {
  position: absolute;
  right: 0;
  bottom: 36%;
  left: 0;
  height: 1px;
  content: "";
  background: linear-gradient(90deg, transparent, rgba(214, 179, 106, 0.34), transparent);
}

.safety-particles {
  position: absolute;
  inset: 0;
  z-index: 0;
  overflow: hidden;
  mix-blend-mode: normal;
  pointer-events: none;
}

.safety-particles span {
  position: absolute;
  --rise: -260px;
  --sway: 18px;
  --float-time: 12s;
  --sway-time: 6.2s;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  opacity: 0;
  animation: safetyParticleRise var(--float-time) linear infinite;
}

.safety-particles span::before {
  position: absolute;
  inset: 0;
  border-radius: inherit;
  content: "";
  background:
    radial-gradient(circle at 42% 38%, rgba(255, 252, 231, 1) 0 13%, rgba(255, 224, 152, 1) 25%, rgba(214, 179, 106, 0.42) 54%, rgba(214, 179, 106, 0) 78%);
  box-shadow: 0 0 18px rgba(255, 234, 185, 0.9), 0 0 52px rgba(214, 179, 106, 0.55);
  animation: safetyParticleSway var(--sway-time) ease-in-out infinite alternate;
}

.safety-particles span:nth-child(1) {
  left: 5%;
  top: 13%;
  --rise: -230px;
  --sway: 18px;
  animation-delay: 0s;
}

.safety-particles span:nth-child(2) {
  left: 18%;
  top: 9%;
  width: 5px;
  height: 5px;
  --rise: -260px;
  --sway: -20px;
  --float-time: 13s;
  animation-delay: 1.7s;
}

.safety-particles span:nth-child(3) {
  left: 34%;
  top: 9%;
  width: 8px;
  height: 8px;
  --rise: -285px;
  --sway: 24px;
  --float-time: 13.6s;
  animation-delay: 3.2s;
}

.safety-particles span:nth-child(4) {
  left: 55%;
  top: 9%;
  width: 5px;
  height: 5px;
  --rise: -245px;
  --sway: -16px;
  animation-delay: 4.8s;
}

.safety-particles span:nth-child(5) {
  left: 74%;
  top: 9%;
  --rise: -270px;
  --sway: 22px;
  --float-time: 12.8s;
  animation-delay: 6.1s;
}

.safety-particles span:nth-child(6) {
  left: 95%;
  top: 13%;
  width: 5px;
  height: 5px;
  --rise: -240px;
  --sway: -18px;
  animation-delay: 7.5s;
}

.safety-particles span:nth-child(7) {
  left: 4%;
  top: 54%;
  width: 6px;
  height: 6px;
  --rise: -300px;
  --sway: 26px;
  --float-time: 14s;
  animation-delay: 8.6s;
}

.safety-particles span:nth-child(8) {
  left: 96%;
  top: 51%;
  width: 6px;
  height: 6px;
  --rise: -280px;
  --sway: -24px;
  --float-time: 13.4s;
  animation-delay: 9.4s;
}

.safety-particles span:nth-child(9) {
  left: 11%;
  top: 93%;
  width: 5px;
  height: 5px;
  --rise: -210px;
  --sway: 16px;
  --float-time: 12.4s;
  animation-delay: 2.4s;
}

.safety-particles span:nth-child(10) {
  left: 28%;
  top: 94%;
  width: 6px;
  height: 6px;
  --rise: -230px;
  --sway: -20px;
  --float-time: 13.2s;
  animation-delay: 3.9s;
}

.safety-particles span:nth-child(11) {
  left: 58%;
  top: 94%;
  width: 7px;
  height: 7px;
  --rise: -260px;
  --sway: 24px;
  --float-time: 14s;
  animation-delay: 6.7s;
}

.safety-particles span:nth-child(12) {
  left: 86%;
  top: 93%;
  width: 5px;
  height: 5px;
  --rise: -280px;
  --sway: -22px;
  --float-time: 13.6s;
  animation-delay: 8.2s;
}

.safety-particles span:nth-child(13) {
  left: 2.2%;
  top: 34%;
  width: 5px;
  height: 5px;
  --rise: -180px;
  --sway: 14px;
  --float-time: 11.8s;
  animation-delay: 1.1s;
}

.safety-particles span:nth-child(14) {
  left: 97.8%;
  top: 34%;
  width: 5px;
  height: 5px;
  --rise: -190px;
  --sway: -16px;
  --float-time: 12.6s;
  animation-delay: 2.8s;
}

.safety-particles span:nth-child(15) {
  left: 44%;
  top: 14%;
  width: 10px;
  height: 10px;
  --rise: -220px;
  --sway: 22px;
  --float-time: 13.4s;
  animation-delay: 4.4s;
}

.safety-particles span:nth-child(16) {
  left: 73%;
  top: 88%;
  width: 9px;
  height: 9px;
  --rise: -240px;
  --sway: -24px;
  --float-time: 13s;
  animation-delay: 5.7s;
}

.safety-particles span:nth-child(17) {
  left: 2.4%;
  top: 76%;
  width: 7px;
  height: 7px;
  --rise: -210px;
  --sway: 18px;
  --float-time: 12.2s;
  animation-delay: 7.3s;
}

.safety-particles span:nth-child(18) {
  left: 97.6%;
  top: 72%;
  width: 7px;
  height: 7px;
  --rise: -210px;
  --sway: -18px;
  --float-time: 12.2s;
  animation-delay: 8.8s;
}

.safety-workbench,
.back-home {
  z-index: 1;
}

@keyframes safetyParticleRise {
  0% {
    opacity: 0;
    transform: translate3d(0, 16px, 0) scale(0.62);
  }

  18% {
    opacity: 0.95;
  }

  58% {
    opacity: 0.7;
  }

  100% {
    opacity: 0;
    transform: translate3d(0, var(--rise), 0) scale(1.18);
  }
}

@keyframes safetyParticleSway {
  0% {
    transform: translate3d(calc(var(--sway) * -0.45), 0, 0);
  }

  50% {
    transform: translate3d(var(--sway), -7px, 0);
  }

  100% {
    transform: translate3d(calc(var(--sway) * -0.7), 0, 0);
  }
}

.safety-hero {
  position: absolute;
  top: 6.5%;
  right: 6.2%;
  left: 6.2%;
  display: block;
}

.section-copy h1 {
  margin: 0;
  font-size: clamp(42px, 5.6vw, 64px);
}

.section-copy .lead {
  width: min(100%, 720px);
  margin-top: 8px;
  font-size: clamp(14px, 1.2vw, 16px);
  line-height: 1.65;
}

.feature-video,
.slide-video {
  position: relative;
  display: block;
  width: 100%;
  overflow: hidden;
  border: 1px solid rgba(214, 179, 106, 0.28);
  border-radius: 8px;
  padding: 0;
  aspect-ratio: 16 / 9;
  background: rgba(0, 0, 0, 0.42);
  box-shadow: 0 24px 52px rgba(0, 0, 0, 0.36), inset 0 1px 0 rgba(255, 255, 255, 0.1);
  cursor: pointer;
}

.feature-video::after,
.slide-video::after {
  position: absolute;
  inset: 0;
  content: "";
  background: linear-gradient(105deg, transparent 0%, transparent 38%, rgba(245, 239, 226, 0.22) 49%, transparent 60%, transparent 100%);
  opacity: 0;
  transform: translateX(-42%);
  animation: mediaSheen 5.8s ease-in-out infinite;
  pointer-events: none;
}

.feature-video {
  align-self: center;
}

.overview-menu {
  position: absolute;
  right: 6.2%;
  bottom: 10.5%;
  left: 6.2%;
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  overflow: hidden;
  border: 1px solid rgba(214, 179, 106, 0.26);
  border-radius: 8px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0.02)),
    rgba(8, 13, 19, 0.76);
  box-shadow: 0 22px 54px rgba(0, 0, 0, 0.34);
  backdrop-filter: blur(18px);
}

.overview-card {
  display: grid;
  min-height: 126px;
  align-content: end;
  justify-items: start;
  border: 0;
  border-right: 1px solid rgba(214, 179, 106, 0.18);
  padding: 18px;
  color: #fff7e7;
  background: transparent;
  font: inherit;
  text-align: left;
}

.overview-card:last-child {
  border-right: 0;
}

.overview-card:hover,
.overview-card:focus-visible {
  background: rgba(214, 179, 106, 0.1);
  outline: none;
}

.overview-card span {
  align-self: start;
  color: rgba(214, 179, 106, 0.58);
  font-family: Georgia, serif;
  font-size: 18px;
}

.overview-card strong {
  margin-top: 24px;
  font-size: 23px;
  line-height: 1.15;
}

.overview-card small {
  margin-top: 8px;
  color: rgba(245, 239, 226, 0.58);
  font-size: 13px;
  line-height: 1.35;
}

.feature-video video,
.slide-video video {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  opacity: 0.72;
}

.play-mark {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 58px;
  height: 58px;
  border: 1px solid rgba(245, 239, 226, 0.62);
  border-radius: 50%;
  background: rgba(6, 11, 18, 0.48);
  transform: translate(-50%, -50%);
  backdrop-filter: blur(12px);
}

.play-mark::before {
  position: absolute;
  top: 50%;
  left: 53%;
  width: 0;
  height: 0;
  border-top: 10px solid transparent;
  border-bottom: 10px solid transparent;
  border-left: 15px solid #fff7e7;
  content: "";
  transform: translate(-50%, -50%);
}

.video-label {
  position: absolute;
  right: 16px;
  bottom: 14px;
  color: rgba(245, 239, 226, 0.78);
  font-size: 13px;
}

.video-note-wrap {
  position: relative;
  width: 100%;
}

.video-disclaimer {
  position: absolute;
  top: calc(100% + 4px);
  right: 2px;
  left: 2px;
  margin: 0;
  color: rgba(232, 224, 204, 0.52);
  font-size: 11px;
  line-height: 1.35;
  text-align: center;
}

.safety-workbench {
  position: absolute;
  right: 2.6%;
  top: 3.5%;
  bottom: 7.3%;
  left: 2.6%;
  display: flex;
  min-height: 0;
  flex-direction: column;
}

.detail-bar {
  margin-bottom: 12px;
}

.back-overview {
  border: 1px solid rgba(214, 179, 106, 0.26);
  border-radius: 8px;
  color: rgba(245, 239, 226, 0.76);
  background: rgba(8, 13, 19, 0.66);
  font: inherit;
  font-size: 14px;
  backdrop-filter: blur(14px);
}

.item-tabs {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(0, 1fr));
  overflow: hidden;
  border: 1px solid rgba(214, 179, 106, 0.24);
  border-radius: 8px;
  background: rgba(8, 13, 19, 0.72);
  backdrop-filter: blur(18px);
}

.item-tab {
  min-height: 48px;
  border: 0;
  border-right: 1px solid rgba(214, 179, 106, 0.16);
  color: rgba(245, 239, 226, 0.66);
  background: transparent;
  font: inherit;
  font-size: 13px;
}

.item-tab:last-child {
  border-right: 0;
}

.item-tab.is-active {
  color: #fff7e7;
  background: rgba(214, 179, 106, 0.12);
}

.smart-item {
  display: none;
  grid-template-columns: minmax(0, 2.65fr) minmax(320px, 0.9fr);
  flex: 1;
  min-height: 0;
  gap: 30px;
  border: 1px solid rgba(214, 179, 106, 0.24);
  border-radius: 8px;
  padding: 24px;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.09), rgba(255, 255, 255, 0.03)),
    rgba(6, 11, 18, 0.74);
  box-shadow: 0 26px 56px rgba(0, 0, 0, 0.34);
  backdrop-filter: blur(20px);
}

.smart-item.is-active {
  display: grid;
  animation: panelIn 260ms ease-out both;
}

.overview-panel {
  grid-template-columns: minmax(0, 2.65fr) minmax(320px, 0.9fr);
  gap: 30px;
  background:
    radial-gradient(circle at 32% 52%, rgba(214, 179, 106, 0.12), transparent 34%),
    linear-gradient(135deg, rgba(255, 255, 255, 0.1), rgba(255, 255, 255, 0.025)),
    rgba(6, 11, 18, 0.76);
}

.overview-panel .feature-video {
  width: min(100%, 1220px);
  max-width: none;
  justify-self: center;
}

.overview-panel .demo-area {
  order: 1;
  align-items: center;
  justify-items: stretch;
}

@media (min-width: 1281px) and (max-height: 900px) {
  .overview-panel .demo-area {
    justify-items: center;
  }

  .overview-panel .feature-video {
    width: min(100%, 1080px);
  }
}

@media (min-width: 1281px) and (max-height: 780px) {
  .overview-panel .feature-video {
    width: min(100%, 980px);
  }

  .phone-frame {
    height: min(100%, calc(100dvh - 210px), 600px);
    max-height: min(100%, calc(100dvh - 210px), 600px);
  }
}

.overview-copy {
  display: grid;
  order: 2;
  align-content: center;
  max-height: none;
  overflow: visible;
  padding-right: 0;
}

.overview-copy h2 {
  font-family: "Noto Serif TC", "Source Han Serif TC", "PMingLiU", serif;
  font-size: clamp(56px, 6vw, 76px);
  font-weight: 600;
  line-height: 1;
}

.overview-copy h3 {
  margin-top: 18px;
  color: rgba(255, 247, 231, 0.88);
  font-size: 21px;
  line-height: 1.55;
}

.overview-copy p {
  margin-top: 16px;
  color: rgba(245, 239, 226, 0.66);
  font-size: 15px;
  line-height: 1.75;
}

.demo-area {
  display: grid;
  min-height: 0;
  place-items: center;
  align-content: center;
  justify-items: stretch;
}

.tablet-frame,
.phone-frame {
  position: relative;
  border: 1px solid rgba(230, 220, 198, 0.26);
  border-radius: 22px;
  padding: 12px;
  background: linear-gradient(145deg, rgba(58, 61, 65, 0.8), rgba(12, 14, 17, 0.92));
  box-shadow: 0 22px 46px rgba(0, 0, 0, 0.34), inset 0 1px 0 rgba(255, 255, 255, 0.16);
}

.tablet-frame {
  width: min(100%, 1220px);
  aspect-ratio: 16 / 9;
  max-height: 100%;
}

.phone-frame {
  width: auto;
  height: min(100%, calc(100dvh - 190px), 680px);
  aspect-ratio: 9 / 18;
  border-radius: 28px;
  align-self: center;
  justify-self: center;
  max-height: min(100%, calc(100dvh - 190px), 680px);
}

.device-screen {
  display: block;
  width: 100%;
  height: 100%;
  overflow-y: scroll;
  overflow-x: hidden;
  min-height: 0;
  -webkit-overflow-scrolling: touch;
  touch-action: pan-y;
  border-radius: 13px;
  color: #f8f2e5;
  background:
    radial-gradient(circle at 78% 12%, rgba(214, 179, 106, 0.18), transparent 28%),
    linear-gradient(180deg, #141b24, #070b10);
}

.device-screen::-webkit-scrollbar,
.item-copy::-webkit-scrollbar {
  width: 4px;
}

.device-screen::-webkit-scrollbar-thumb,
.item-copy::-webkit-scrollbar-thumb {
  border-radius: 999px;
  background: rgba(214, 179, 106, 0.36);
}

.phone-frame .device-screen {
  border-radius: 20px;
}

.app-status {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 11px 16px 5px;
  color: rgba(255, 247, 231, 0.86);
  font-size: 11px;
  font-weight: 700;
}

.app-status div {
  display: flex;
  align-items: end;
  gap: 3px;
}

.app-status i {
  display: block;
  width: 3px;
  border-radius: 999px;
  background: rgba(255, 247, 231, 0.84);
}

.app-status i:nth-child(1) {
  height: 5px;
}

.app-status i:nth-child(2) {
  height: 7px;
}

.app-status i:nth-child(3) {
  height: 9px;
}

.app-bar {
  display: flex;
  align-items: end;
  justify-content: space-between;
  padding: 0 16px 10px;
}

.app-bar span {
  color: rgba(245, 239, 226, 0.58);
  font-size: 10px;
}

.app-bar strong {
  color: #fff7e7;
  font-size: 14px;
}

.screen-top {
  display: flex;
  justify-content: space-between;
  padding: 16px 18px 10px;
  color: rgba(245, 239, 226, 0.64);
  font-size: 12px;
}

.screen-top strong {
  color: #fff7e7;
}

.maintenance-screen {
  display: grid;
  grid-template-rows: auto auto minmax(0, 1fr);
  overflow-y: hidden;
  overflow-x: hidden;
  font-size: clamp(14px, 0.78vw, 17px);
}

.control-summary {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 8px;
  padding: 2px 18px 10px;
}

.control-summary div,
.elevator-panel,
.usage-panel,
.ai-advice {
  border: 1px solid rgba(214, 179, 106, 0.16);
  border-radius: 9px;
  background: rgba(255, 255, 255, 0.045);
  box-shadow: inset 0 1px 0 rgba(255, 247, 231, 0.05);
}

.control-summary div {
  min-width: 0;
  padding: 8px 9px;
}

.control-summary span,
.panel-head span,
.ai-advice span {
  display: block;
  color: rgba(245, 239, 226, 0.62);
  font-size: 0.78em;
  line-height: 1.2;
}

.control-summary strong {
  display: inline-block;
  margin-top: 3px;
  color: #fff7e7;
  font-size: 1.85em;
  font-weight: 600;
  line-height: 1;
}

.control-summary small {
  margin-left: 3px;
  color: rgba(245, 239, 226, 0.5);
  font-size: 0.72em;
}

.control-summary .attention {
  border-color: rgba(214, 179, 106, 0.36);
  background:
    radial-gradient(circle at 80% 20%, rgba(214, 179, 106, 0.16), transparent 42%),
    rgba(255, 255, 255, 0.055);
}

.control-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.9fr;
  gap: 10px;
  padding: 0 18px 10px;
  min-height: 0;
}

.elevator-panel,
.usage-panel {
  min-height: 0;
  padding: 11px;
}

.elevator-panel {
  display: grid;
  grid-template-rows: auto minmax(0, 1fr);
}

.usage-panel {
  display: grid;
  grid-template-rows: auto minmax(120px, 0.72fr) auto;
}

.panel-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 10px;
}

.panel-head span {
  color: rgba(255, 247, 231, 0.78);
  font-size: 0.95em;
  font-weight: 700;
}

.panel-head small {
  color: rgba(214, 179, 106, 0.66);
  font-size: 0.78em;
}

.elevator-list {
  display: grid;
  gap: 8px;
  align-content: stretch;
}

.elevator-list div {
  display: grid;
  grid-template-columns: minmax(80px, 1fr) auto;
  gap: 2px 8px;
  align-items: center;
  border: 1px solid rgba(245, 239, 226, 0.08);
  border-radius: 7px;
  padding: 6px 8px;
  background: rgba(6, 9, 13, 0.34);
}

.elevator-list span {
  color: rgba(245, 239, 226, 0.82);
  font-size: 0.9em;
  font-weight: 700;
}

.elevator-list strong {
  color: rgba(174, 219, 184, 0.95);
  font-size: 0.9em;
}

.elevator-list small {
  grid-column: 1 / -1;
  color: rgba(245, 239, 226, 0.48);
  font-size: 0.78em;
}

.elevator-list .needs-check {
  border-color: rgba(214, 179, 106, 0.3);
  background:
    linear-gradient(90deg, rgba(214, 179, 106, 0.12), rgba(6, 9, 13, 0.34));
}

.elevator-list .needs-check strong {
  color: rgba(232, 200, 133, 0.96);
}

.usage-chart {
  display: flex;
  align-items: end;
  gap: 8px;
  min-height: 120px;
  height: 100%;
  padding: 10px 10px 0;
  border-radius: 8px;
  background:
    linear-gradient(rgba(255, 255, 255, 0.045) 1px, transparent 1px) 0 0 / 100% 24px,
    rgba(6, 9, 13, 0.28);
}

.usage-chart i {
  display: block;
  flex: 1;
  min-width: 8px;
  border-radius: 999px 999px 3px 3px;
  background: linear-gradient(180deg, rgba(232, 200, 133, 0.92), rgba(95, 128, 126, 0.72));
  box-shadow: 0 0 14px rgba(214, 179, 106, 0.18);
}

.ai-advice {
  margin-top: 10px;
  padding: 9px 10px;
  background:
    radial-gradient(circle at 92% 0%, rgba(214, 179, 106, 0.14), transparent 35%),
    rgba(255, 255, 255, 0.045);
}

.ai-advice strong {
  display: block;
  margin-top: 5px;
  color: rgba(255, 247, 231, 0.9);
  font-size: 0.92em;
  line-height: 1.45;
}

.ai-advice small {
  display: block;
  margin-top: 4px;
  color: rgba(245, 239, 226, 0.45);
  font-size: 0.78em;
}

.energy-summary strong {
  font-size: 17px;
  font-weight: 500;
  white-space: nowrap;
}

.energy-summary em {
  color: rgba(245, 239, 226, 0.52);
  font-size: 11px;
  font-style: normal;
  font-weight: 700;
}

.impact-hero-card {
  margin: 0 18px 10px;
  border: 1px solid rgba(214, 179, 106, 0.22);
  border-radius: 10px;
  padding: 11px 12px;
  background:
    radial-gradient(circle at 90% 20%, rgba(214, 179, 106, 0.14), transparent 45%),
    rgba(255, 255, 255, 0.05);
  box-shadow: inset 0 1px 0 rgba(255, 247, 231, 0.06);
}

.impact-hero-card > span {
  display: block;
  margin-bottom: 9px;
  color: rgba(255, 247, 231, 0.82);
  font-size: 12px;
  font-weight: 700;
}

.impact-hero-card div {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
}

.impact-hero-card strong {
  display: block;
  border-radius: 8px;
  padding: 8px 9px;
  background: rgba(6, 9, 13, 0.3);
}

.impact-hero-card b {
  display: block;
  margin-top: 4px;
  color: #fff7e7;
  font-size: 17px;
  font-weight: 500;
  line-height: 1.1;
}

.impact-hero-card small {
  display: block;
  color: rgba(245, 239, 226, 0.46);
  font-size: 9px;
  line-height: 1.25;
}

.bems-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(150px, 0.75fr);
  gap: 10px;
  padding: 0 18px 10px;
}

.bems-chart-card,
.load-shed-card {
  min-height: 202px;
  border: 1px solid rgba(214, 179, 106, 0.16);
  border-radius: 9px;
  padding: 11px;
  background: rgba(255, 255, 255, 0.045);
  box-shadow: inset 0 1px 0 rgba(255, 247, 231, 0.05);
}

.power-chart {
  position: relative;
  height: 148px;
  overflow: hidden;
  border-radius: 8px;
  background:
    linear-gradient(rgba(255, 255, 255, 0.045) 1px, transparent 1px) 0 36px / 100% 22px,
    linear-gradient(90deg, rgba(255, 255, 255, 0.045) 1px, transparent 1px) 0 36px / 28px 100%,
    rgba(6, 9, 13, 0.32);
}

.chart-legend {
  position: absolute;
  top: 8px;
  right: 10px;
  left: 10px;
  z-index: 2;
  display: flex;
  flex-wrap: wrap;
  gap: 6px 10px;
  color: rgba(245, 239, 226, 0.52);
  font-size: 8px;
  pointer-events: none;
}

.chart-legend span {
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

.chart-legend span::before {
  content: "";
  display: inline-block;
  width: 14px;
  height: 0;
  border-top: 2px solid currentColor;
}

.legend-limit {
  color: rgba(217, 118, 91, 0.9);
}

.legend-current {
  color: rgba(154, 194, 184, 0.94);
}

.legend-forecast {
  color: rgba(214, 179, 106, 0.94);
}

.power-chart svg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.limit-line,
.actual-line,
.forecast-line {
  position: absolute;
  left: 12px;
  right: 12px;
  border-radius: 999px;
  pointer-events: none;
}

.limit-line {
  top: 42px;
  height: 1px;
  border-top: 2px dashed rgba(217, 118, 91, 0.66);
}

.actual-line {
  bottom: 31px;
  height: 42px;
  border-bottom: 3px solid rgba(125, 207, 166, 0.9);
  clip-path: polygon(0 74%, 16% 63%, 32% 68%, 48% 51%, 64% 58%, 80% 38%, 100% 34%, 100% 100%, 0 100%);
  background: linear-gradient(180deg, rgba(125, 207, 166, 0.16), transparent);
}

.forecast-line {
  right: 10px;
  bottom: 18px;
  left: 49%;
  height: 61px;
  border-bottom: 3px dashed rgba(232, 200, 133, 0.95);
  clip-path: polygon(0 70%, 24% 55%, 48% 40%, 72% 26%, 100% 17%, 100% 100%, 0 100%);
  background: linear-gradient(180deg, rgba(232, 200, 133, 0.16), transparent);
}

.chart-area {
  opacity: 1;
}

.current-area {
  fill: rgba(154, 194, 184, 0.08);
}

.forecast-area {
  fill: rgba(214, 179, 106, 0.1);
}

.chart-line {
  fill: none;
  stroke-width: 1.7;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.current-chart-line {
  stroke: rgba(154, 194, 184, 0.96);
}

.forecast-chart-line {
  stroke: rgba(214, 179, 106, 0.96);
  stroke-dasharray: 6 6;
}

.chart-axis {
  position: absolute;
  right: 12px;
  bottom: 6px;
  left: 12px;
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  color: rgba(245, 239, 226, 0.36);
  font-size: 8px;
  pointer-events: none;
}

.chart-axis span:last-child {
  text-align: right;
}

.peak-dot {
  position: absolute;
  right: 18px;
  top: 19px;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: rgba(232, 200, 133, 0.96);
  box-shadow: 0 0 18px rgba(232, 200, 133, 0.5);
}

.bems-advice {
  margin-top: 9px;
  padding: 8px 10px;
}

.load-shed-list {
  display: grid;
  gap: 7px;
}

.usage-share {
  display: grid;
  grid-template-columns: 76px 1fr;
  gap: 10px;
  align-items: center;
  margin-bottom: 10px;
  border: 1px solid rgba(245, 239, 226, 0.08);
  border-radius: 9px;
  padding: 9px;
  background: rgba(6, 9, 13, 0.28);
}

.share-ring {
  display: grid;
  place-items: center;
  width: 70px;
  height: 70px;
  border-radius: 50%;
  background:
    conic-gradient(
      rgba(154, 194, 184, 0.92) 0 46%,
      rgba(214, 179, 106, 0.9) 46% 74%,
      rgba(146, 164, 183, 0.86) 74% 90%,
      rgba(245, 239, 226, 0.32) 90% 100%
    );
  position: relative;
}

.share-ring::after {
  content: "";
  position: absolute;
  inset: 9px;
  border-radius: 50%;
  background: #0b1118;
}

.share-ring strong {
  position: relative;
  z-index: 1;
  text-align: center;
}

.share-ring strong {
  color: rgba(255, 247, 231, 0.86);
  font-size: 12px;
  font-weight: 600;
}

.share-list {
  display: grid;
  gap: 5px;
}

.share-list div {
  display: grid;
  grid-template-columns: 8px 1fr auto;
  align-items: center;
  gap: 6px;
}

.share-list i {
  width: 7px;
  height: 7px;
  border-radius: 50%;
}

.share-ac {
  background: rgba(154, 194, 184, 0.92);
}

.share-light {
  background: rgba(214, 179, 106, 0.9);
}

.share-vent {
  background: rgba(146, 164, 183, 0.86);
}

.share-other {
  background: rgba(245, 239, 226, 0.36);
}

.share-list span,
.share-list strong {
  font-size: 10px;
}

.share-list span {
  color: rgba(245, 239, 226, 0.64);
}

.share-list strong {
  color: rgba(255, 247, 231, 0.86);
  font-weight: 500;
}

.load-shed-list div {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  border: 1px solid rgba(245, 239, 226, 0.08);
  border-radius: 7px;
  padding: 7px 8px;
  background: rgba(6, 9, 13, 0.34);
}

.load-shed-list span {
  color: rgba(245, 239, 226, 0.76);
  font-size: 10px;
  font-weight: 700;
}

.load-shed-list strong {
  color: rgba(232, 200, 133, 0.94);
  font-size: 10px;
  white-space: nowrap;
}

.impact-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
  padding: 0 18px 14px;
}

.impact-row div {
  border: 1px solid rgba(214, 179, 106, 0.16);
  border-radius: 9px;
  padding: 8px 9px;
  background:
    radial-gradient(circle at 85% 20%, rgba(214, 179, 106, 0.12), transparent 45%),
    rgba(255, 255, 255, 0.045);
}

.impact-row span {
  display: block;
  color: rgba(245, 239, 226, 0.58);
  font-size: 10px;
}

.impact-row strong {
  display: block;
  margin-top: 3px;
  color: #fff7e7;
  font-size: 16px;
  line-height: 1.1;
}

.impact-row small {
  display: block;
  margin-top: 4px;
  color: rgba(245, 239, 226, 0.42);
  font-size: 9px;
  line-height: 1.25;
}

.health-ring {
  display: grid;
  width: 120px;
  height: 120px;
  margin: 10px auto 14px;
  place-items: center;
  border: 10px solid rgba(214, 179, 106, 0.24);
  border-top-color: rgba(214, 179, 106, 0.92);
  border-right-color: rgba(214, 179, 106, 0.72);
  border-radius: 50%;
  animation: calmGlow 3.8s ease-in-out infinite;
}

.status-card {
  margin: 8px 18px;
  border: 1px solid rgba(214, 179, 106, 0.16);
  border-radius: 8px;
  padding: 10px 11px;
  background: rgba(255, 255, 255, 0.045);
}

.status-card span {
  display: block;
  margin-bottom: 4px;
  color: rgba(245, 239, 226, 0.74);
  font-size: 12px;
}

.status-card strong {
  display: block;
  color: #fff7e7;
  font-size: 20px;
}

.status-card small {
  color: rgba(245, 239, 226, 0.6);
  font-size: 11px;
  line-height: 1.55;
}

.primary-status {
  display: grid;
  grid-template-columns: 1fr auto;
  column-gap: 12px;
}

.primary-status small {
  grid-column: 1 / -1;
}

.health-ring span {
  display: block;
  font-size: 34px;
  font-weight: 700;
}

.health-ring small {
  margin-top: -22px;
  color: rgba(245, 239, 226, 0.58);
  font-size: 11px;
}

.metric-row,
.timeline-card,
.building-actions,
.call-status {
  margin: 8px 18px;
  border: 1px solid rgba(214, 179, 106, 0.18);
  border-radius: 8px;
  padding: 9px 11px;
  background: rgba(255, 255, 255, 0.05);
}

.metric-row,
.timeline-card {
  display: flex;
  justify-content: space-between;
  color: rgba(245, 239, 226, 0.65);
  font-size: 12px;
}

.metric-row strong,
.timeline-card strong {
  color: #fff7e7;
}

.alert-head {
  margin: 12px;
  border-radius: 14px;
  padding: 14px;
  color: #fff7e7;
}

.alert-head span {
  display: block;
  margin-bottom: 4px;
  font-size: 11px;
  opacity: 0.75;
}

.fire-head {
  background: linear-gradient(135deg, rgba(186, 74, 42, 0.84), rgba(92, 34, 26, 0.8));
}

.fire-alert-card,
.quake-alert-card,
.floor-card,
.escape-card,
.linkage-card {
  margin: 8px 12px;
  border: 1px solid rgba(255, 247, 231, 0.12);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.055);
  box-shadow: inset 0 1px 0 rgba(255, 247, 231, 0.06);
}

.fire-alert-card {
  padding: 12px;
  background:
    radial-gradient(circle at 90% 8%, rgba(255, 190, 119, 0.2), transparent 38%),
    linear-gradient(135deg, rgba(178, 61, 44, 0.9), rgba(55, 26, 25, 0.92));
  animation: fireWarningBreath 2.4s ease-in-out infinite;
}

.quake-alert-card {
  animation: fireWarningBreath 2.4s ease-in-out infinite;
}

.fire-alert-card span,
.quake-alert-card span,
.linkage-card span,
.card-head span {
  display: block;
  color: rgba(255, 247, 231, 0.72);
  font-size: 10px;
  line-height: 1.2;
}

.fire-alert-card strong {
  display: block;
  margin-top: 4px;
  color: #fff7e7;
  font-size: 17px;
  line-height: 1.2;
}

.fire-alert-card small {
  display: block;
  margin-top: 7px;
  color: rgba(255, 247, 231, 0.72);
  font-size: 10px;
}

.quake-alert-card {
  padding: 12px;
  background:
    radial-gradient(circle at 90% 8%, rgba(232, 200, 133, 0.16), transparent 38%),
    linear-gradient(135deg, rgba(130, 103, 64, 0.92), rgba(45, 36, 28, 0.94));
}

.quake-alert-card strong {
  display: block;
  margin-top: 4px;
  color: #fff7e7;
  font-size: 17px;
  line-height: 1.2;
}

.quake-alert-card small {
  display: block;
  margin-top: 7px;
  color: rgba(255, 247, 231, 0.72);
  font-size: 10px;
}

.floor-card,
.escape-card {
  padding: 10px;
}

.card-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 8px;
}

.card-head span {
  color: rgba(255, 247, 231, 0.82);
  font-size: 11px;
  font-weight: 700;
}

.card-head small {
  color: rgba(214, 179, 106, 0.74);
  font-size: 9px;
}

.real-map {
  position: relative;
  height: 128px;
  overflow: hidden;
  border-radius: 11px;
  background: rgba(7, 10, 13, 0.52);
}

.real-map img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.quake-safe-map {
  position: relative;
  height: 128px;
  overflow: hidden;
  border-radius: 11px;
  background:
    linear-gradient(90deg, rgba(255, 247, 231, 0.08) 1px, transparent 1px) 0 0 / 42px 100%,
    linear-gradient(0deg, rgba(255, 247, 231, 0.08) 1px, transparent 1px) 0 0 / 100% 34px,
    rgba(7, 10, 13, 0.52);
}

.quake-safe-map span {
  position: absolute;
  border: 1px solid rgba(255, 247, 231, 0.14);
  border-radius: 999px;
  padding: 7px 10px;
  color: rgba(255, 247, 231, 0.78);
  background: rgba(255, 255, 255, 0.045);
  font-size: 10px;
}

.quake-safe-map .safe-zone {
  left: 18px;
  top: 46px;
  border-color: rgba(125, 207, 166, 0.36);
  color: rgba(198, 249, 222, 0.92);
  background: rgba(125, 207, 166, 0.08);
}

.quake-safe-map .glass-zone {
  right: 15px;
  top: 18px;
}

.quake-safe-map .cabinet-zone {
  right: 18px;
  bottom: 18px;
}

.escape-steps {
  display: grid;
  gap: 7px;
}

.escape-steps div {
  display: grid;
  grid-template-columns: 24px 1fr;
  column-gap: 8px;
  border-radius: 9px;
  padding: 7px;
  background: rgba(7, 10, 13, 0.34);
}

.escape-steps b {
  grid-row: 1 / 3;
  color: rgba(214, 179, 106, 0.86);
  font-size: 11px;
}

.escape-steps span {
  color: #fff7e7;
  font-size: 11px;
  font-weight: 700;
}

.escape-steps small {
  margin-top: 2px;
  color: rgba(245, 239, 226, 0.55);
  font-size: 9px;
}

.linkage-card {
  padding: 10px;
}

.linkage-card div {
  display: grid;
  grid-template-columns: 1fr;
  gap: 6px;
  margin-top: 8px;
}

.linkage-card strong {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  border: 1px solid rgba(125, 207, 166, 0.22);
  border-radius: 9px;
  padding: 7px 9px;
  color: rgba(198, 249, 222, 0.9);
  background: rgba(125, 207, 166, 0.08);
  font-size: 10px;
  line-height: 1.25;
  text-align: left;
}

.linkage-card em {
  display: inline-block;
  color: rgba(245, 239, 226, 0.64);
  font-style: normal;
  font-size: 9px;
}

.linkage-card b {
  color: rgba(198, 249, 222, 0.96);
  font-size: 10px;
  font-weight: 700;
  text-align: right;
}

.quake-head {
  background: linear-gradient(135deg, rgba(141, 111, 64, 0.88), rgba(72, 58, 38, 0.86));
}

.mini-map {
  position: relative;
  height: 96px;
  margin: 12px;
  overflow: hidden;
  border: 1px solid rgba(245, 239, 226, 0.14);
  border-radius: 12px;
  background:
    linear-gradient(90deg, transparent 24%, rgba(245, 239, 226, 0.11) 25%, transparent 26%, transparent 62%, rgba(245, 239, 226, 0.1) 63%, transparent 64%),
    linear-gradient(0deg, transparent 42%, rgba(245, 239, 226, 0.1) 43%, transparent 44%),
    rgba(255, 255, 255, 0.04);
}

.route {
  position: absolute;
  right: 22px;
  bottom: 24px;
  left: 24px;
  height: 3px;
  border-radius: 999px;
  background: linear-gradient(90deg, #d6b36a, #f8f2e5);
  transform: rotate(-16deg);
}

.pin {
  position: absolute;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #f8f2e5;
  box-shadow: 0 0 16px rgba(214, 179, 106, 0.8);
}

.pin-a {
  left: 28px;
  bottom: 26px;
}

.pin-b {
  right: 24px;
  top: 24px;
}

.action-list {
  margin: 0 14px;
  padding-left: 18px;
  color: rgba(245, 239, 226, 0.72);
  font-size: 12px;
  line-height: 1.55;
}

.building-actions {
  color: rgba(214, 179, 106, 0.9);
  font-size: 11px;
  line-height: 1.5;
}

.call-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  padding: 18px;
}

.call-grid button {
  min-height: 112px;
  border: 1px solid rgba(214, 179, 106, 0.22);
  border-radius: 12px;
  color: #fff7e7;
  background: rgba(255, 255, 255, 0.06);
  font: inherit;
  cursor: pointer;
  transition: border-color 160ms ease, background 160ms ease, transform 160ms ease;
}

.call-grid button:hover {
  border-color: rgba(214, 179, 106, 0.54);
  background: rgba(214, 179, 106, 0.1);
  transform: translateY(-1px);
}

.call-grid span {
  display: block;
  margin-bottom: 8px;
  font-size: 22px;
  font-weight: 700;
}

.call-grid strong {
  color: rgba(245, 239, 226, 0.58);
  font-size: 12px;
}

.call-status {
  display: flex;
  align-items: center;
  gap: 10px;
  color: #fff7e7;
}

.call-status span {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: #d6b36a;
  box-shadow: 0 0 16px rgba(214, 179, 106, 0.8);
  animation: statusPulse 2.4s ease-in-out infinite;
}

.metric-row strong,
.timeline-card strong,
.health-ring span {
  animation: textGlow 3.6s ease-in-out infinite;
}

.alert-head {
  animation: alertBreath 3.2s ease-in-out infinite;
}

@keyframes panelIn {
  from {
    opacity: 0;
    transform: translateY(10px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes mediaSheen {
  0%,
  42% {
    opacity: 0;
    transform: translateX(-58%);
  }

  56% {
    opacity: 0.9;
  }

  78%,
  100% {
    opacity: 0;
    transform: translateX(58%);
  }
}

@keyframes calmGlow {
  0%,
  100% {
    box-shadow: 0 0 0 rgba(214, 179, 106, 0);
    filter: brightness(1);
  }

  50% {
    box-shadow: 0 0 24px rgba(214, 179, 106, 0.26);
    filter: brightness(1.08);
  }
}

@keyframes textGlow {
  0%,
  100% {
    text-shadow: 0 0 0 rgba(214, 179, 106, 0);
  }

  50% {
    text-shadow: 0 0 14px rgba(214, 179, 106, 0.34);
  }
}

@keyframes statusPulse {
  0%,
  100% {
    transform: scale(1);
    opacity: 0.78;
  }

  50% {
    transform: scale(1.28);
    opacity: 1;
  }
}

@keyframes alertBreath {
  0%,
  100% {
    filter: brightness(1);
  }

  50% {
    filter: brightness(1.12);
  }
}

@keyframes fireWarningBreath {
  0%,
  100% {
    border-color: rgba(255, 247, 231, 0.1);
    box-shadow: inset 0 1px 0 rgba(255, 247, 231, 0.05), 0 0 0 rgba(217, 75, 52, 0);
    filter: brightness(0.9) saturate(0.92);
    opacity: 0.82;
  }

  50% {
    border-color: rgba(255, 193, 148, 0.56);
    box-shadow: inset 0 1px 0 rgba(255, 247, 231, 0.12), 0 0 30px rgba(217, 75, 52, 0.34);
    filter: brightness(1.18) saturate(1.08);
    opacity: 1;
  }
}

@media (prefers-reduced-motion: reduce) {
  .smart-item.is-active,
  .feature-video::after,
  .slide-video::after,
  .safety-particles span,
  .safety-particles span::before,
  .health-ring,
  .call-status span,
  .metric-row strong,
  .timeline-card strong,
  .health-ring span,
  .fire-alert-card,
  .alert-head {
    animation: none;
  }
}

.item-copy {
  max-height: 100%;
  align-self: center;
  overflow-y: auto;
  padding-right: 8px;
}

.item-title-row {
  display: flex;
  align-items: center;
  gap: 10px;
}

.item-label {
  margin: 0 0 10px;
  color: var(--gold);
  font-size: 12px;
  font-weight: 700;
}

.item-copy h2 {
  margin: 0;
  color: #fff7e7;
  font-size: clamp(26px, 2.7vw, 34px);
  line-height: 1.15;
}

.info-trigger {
  display: inline-grid;
  place-items: center;
  width: 26px;
  height: 26px;
  flex: 0 0 26px;
  border: 1px solid rgba(214, 179, 106, 0.44);
  border-radius: 50%;
  background:
    radial-gradient(circle at 35% 28%, rgba(255, 247, 231, 0.2), transparent 46%),
    rgba(10, 13, 16, 0.68);
  color: rgba(255, 247, 231, 0.86);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 15px;
  font-style: italic;
  line-height: 1;
  box-shadow: 0 0 18px rgba(214, 179, 106, 0.12);
  cursor: pointer;
  transition: border-color 180ms ease, background 180ms ease, transform 180ms ease, box-shadow 180ms ease;
}

.info-trigger:hover,
.info-trigger:focus-visible {
  border-color: rgba(232, 200, 133, 0.78);
  background:
    radial-gradient(circle at 35% 28%, rgba(255, 247, 231, 0.3), transparent 48%),
    rgba(30, 27, 20, 0.88);
  box-shadow: 0 0 24px rgba(214, 179, 106, 0.2);
  transform: translateY(-1px);
}

.item-copy h3 {
  margin: 10px 0 10px;
  color: rgba(245, 239, 226, 0.86);
  font-size: 17px;
}

.item-copy p {
  margin: 0;
  color: rgba(245, 239, 226, 0.68);
  font-size: 15px;
  line-height: 1.72;
}

.point-list {
  display: grid;
  grid-template-columns: 1fr;
  gap: 10px;
  margin-top: 18px;
}

.point-list div {
  border: 1px solid rgba(214, 179, 106, 0.18);
  border-radius: 8px;
  padding: 10px;
  background: rgba(255, 255, 255, 0.04);
}

.point-list strong {
  display: block;
  margin-bottom: 4px;
  color: #fff7e7;
  font-size: 14px;
}

.point-list span {
  color: rgba(245, 239, 226, 0.58);
  font-size: 12px;
  line-height: 1.45;
}

.back-home {
  position: absolute;
  left: 2.8%;
  bottom: 2.2%;
  display: inline-flex;
  height: 38px;
  align-items: center;
  border: 1px solid rgba(214, 179, 106, 0.32);
  border-radius: 999px;
  padding: 0 18px;
  color: rgba(245, 239, 226, 0.78);
  background: rgba(8, 13, 19, 0.64);
  text-decoration: none;
  backdrop-filter: blur(12px);
}

.video-modal {
  position: absolute;
  inset: 0;
  z-index: 20;
  display: none;
  place-items: center;
  background: rgba(0, 0, 0, 0.78);
}

.video-modal.is-open {
  display: grid;
}

.info-modal {
  position: absolute;
  inset: 0;
  z-index: 21;
  display: none;
  place-items: center;
  padding: 5.5%;
  background:
    radial-gradient(circle at 50% 45%, rgba(214, 179, 106, 0.1), transparent 38%),
    rgba(0, 0, 0, 0.64);
  backdrop-filter: blur(10px);
}

.info-modal.is-open {
  display: grid;
}

.info-dialog {
  position: relative;
  width: min(560px, 78vw);
  border: 1px solid rgba(214, 179, 106, 0.34);
  border-radius: 12px;
  padding: 34px 38px 36px;
  background:
    linear-gradient(145deg, rgba(31, 34, 37, 0.94), rgba(9, 12, 16, 0.94)),
    rgba(8, 10, 14, 0.96);
  box-shadow: 0 30px 70px rgba(0, 0, 0, 0.44), inset 0 1px 0 rgba(255, 247, 231, 0.08);
}

.info-kicker {
  margin: 0 0 10px;
  color: var(--gold);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0;
}

.info-dialog h2 {
  margin: 0 0 16px;
  color: #fff7e7;
  font-size: 30px;
  line-height: 1.15;
}

.info-copy {
  margin: 0;
  color: rgba(245, 239, 226, 0.78);
  font-size: 17px;
  line-height: 1.85;
}

.info-close {
  position: absolute;
  top: 14px;
  right: 14px;
  z-index: 1;
  width: 34px;
  height: 34px;
  border: 1px solid rgba(214, 179, 106, 0.3);
  border-radius: 50%;
  background: rgba(0, 0, 0, 0.18);
  color: rgba(255, 247, 231, 0.9);
  font-size: 20px;
  cursor: pointer;
}

.video-modal video,
.video-modal iframe {
  display: none;
  width: min(86%, 980px);
  aspect-ratio: 16 / 9;
  border: 1px solid rgba(214, 179, 106, 0.34);
  border-radius: 8px;
  background: #000;
}

.video-modal video.is-active,
.video-modal iframe.is-active {
  display: block;
}

.video-modal iframe {
  height: auto;
}

.youtube-video {
  background:
    radial-gradient(circle at 50% 48%, rgba(214, 179, 106, 0.16), transparent 34%),
    linear-gradient(135deg, rgba(9, 18, 29, 0.94), rgba(15, 26, 38, 0.86));
}

.embedded-web-screen {
  position: relative;
  overflow: hidden;
  padding: 0;
  background: #060b12;
}

.embedded-web-screen iframe {
  display: block;
  width: 100%;
  height: 100%;
  border: 0;
  border-radius: inherit;
  background: #060b12;
}

.embedded-image-screen {
  display: grid;
  place-items: center;
  overflow: hidden;
  padding: 0;
  background-position: center center;
  background-repeat: no-repeat;
  background-size: contain;
}

.embedded-image-screen img {
  display: block;
  width: 100%;
  height: 100%;
  max-width: none;
  max-height: none;
  object-fit: contain;
  object-position: center center;
  background: #060b12;
}

.embedded-web-link {
  position: absolute;
  right: 14px;
  bottom: 14px;
  z-index: 3;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 34px;
  padding: 0 14px;
  border: 1px solid rgba(217, 182, 99, 0.48);
  border-radius: 999px;
  background: rgba(7, 12, 18, 0.74);
  color: #f2d99a;
  font-size: 0.78rem;
  font-weight: 700;
  text-decoration: none;
  letter-spacing: 0;
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.25);
  backdrop-filter: blur(12px);
}

.embedded-web-link:hover {
  border-color: rgba(242, 217, 154, 0.82);
  color: #fff4c9;
}

.call-modal {
  position: fixed;
  inset: 0;
  z-index: 70;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 30px;
  background: rgba(2, 5, 9, 0.74);
  backdrop-filter: blur(18px);
}

.call-modal.is-open {
  display: flex;
}

.call-dialog {
  display: grid;
  width: min(92vw, 760px);
  min-height: 420px;
  grid-template-columns: minmax(0, 1.25fr) minmax(260px, 0.75fr);
  overflow: hidden;
  border: 1px solid rgba(214, 179, 106, 0.28);
  border-radius: 22px;
  background:
    linear-gradient(135deg, rgba(20, 28, 38, 0.98), rgba(6, 11, 18, 0.98)),
    #060b12;
  box-shadow: 0 34px 80px rgba(0, 0, 0, 0.48);
}

.call-video-pane {
  position: relative;
  display: grid;
  place-items: center;
  align-content: center;
  gap: 20px;
  min-height: 420px;
  background:
    radial-gradient(circle at 50% 40%, rgba(214, 179, 106, 0.14), transparent 32%),
    linear-gradient(145deg, rgba(9, 19, 30, 0.96), rgba(4, 8, 13, 1));
}

.call-video-pane::before {
  position: absolute;
  inset: 26px;
  content: "";
  border: 1px solid rgba(245, 239, 226, 0.08);
  border-radius: 18px;
  background:
    linear-gradient(rgba(255, 255, 255, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.035) 1px, transparent 1px);
  background-size: 34px 34px;
  opacity: 0.5;
}

.call-video-pane p {
  position: relative;
  z-index: 1;
  margin: 0;
  color: rgba(245, 239, 226, 0.74);
  font-size: 15px;
  font-weight: 700;
}

.call-signal {
  position: relative;
  z-index: 1;
  display: grid;
  width: 116px;
  height: 116px;
  place-items: center;
  border: 1px solid rgba(214, 179, 106, 0.32);
  border-radius: 50%;
  background: rgba(214, 179, 106, 0.08);
  box-shadow: 0 0 34px rgba(214, 179, 106, 0.14);
}

.call-signal span {
  position: absolute;
  width: 18px;
  border-radius: 999px;
  background: #d6b36a;
  animation: callPulse 900ms ease-in-out infinite alternate;
}

.call-signal span:nth-child(1) {
  --x: -24px;
  height: 32px;
}

.call-signal span:nth-child(2) {
  --x: 0;
  height: 48px;
}

.call-signal span:nth-child(3) {
  --x: 24px;
  height: 32px;
}

.call-panel {
  display: grid;
  align-content: center;
  padding: 34px;
}

.call-kicker {
  color: rgba(214, 179, 106, 0.78);
  font-size: 13px;
  font-weight: 800;
}

.call-panel h2 {
  margin: 12px 0 0;
  color: #fff7e7;
  font-size: 34px;
  line-height: 1.18;
}

.call-subtitle {
  margin: 10px 0 0;
  color: rgba(245, 239, 226, 0.62);
  font-size: 15px;
}

.call-meta {
  display: grid;
  gap: 4px;
  margin-top: 30px;
  border: 1px solid rgba(214, 179, 106, 0.2);
  border-radius: 14px;
  padding: 16px;
  background: rgba(255, 255, 255, 0.045);
}

.call-meta span {
  color: rgba(214, 179, 106, 0.84);
  font-size: 24px;
  font-weight: 700;
  font-variant-numeric: tabular-nums;
}

.call-meta strong {
  color: rgba(245, 239, 226, 0.66);
  font-size: 13px;
}

.call-cancel {
  min-height: 46px;
  margin-top: 24px;
  border: 1px solid rgba(255, 126, 126, 0.38);
  border-radius: 999px;
  color: #fff7e7;
  background: rgba(150, 38, 38, 0.72);
  font: inherit;
  font-weight: 800;
  cursor: pointer;
}

@keyframes callPulse {
  from {
    opacity: 0.42;
    transform: translateX(var(--x, 0)) scaleY(0.72);
  }

  to {
    opacity: 1;
    transform: translateX(var(--x, 0)) scaleY(1);
  }
}

@media (max-width: 1280px) {
  .smart-item,
  .overview-panel {
    grid-template-columns: 1fr;
    grid-auto-rows: auto;
    gap: 22px;
    overflow-y: auto;
  }

  .demo-area {
    min-height: auto;
  }

  .tablet-frame,
  .city-tablet {
    width: min(100%, 1120px);
    max-height: none;
  }

  .phone-frame {
    height: min(68vh, 620px);
    max-height: 620px;
    align-self: center;
  }

  .feature-video,
  .slide-video,
  .overview-panel .feature-video {
    width: 100%;
  }

  .item-copy,
  .overview-copy {
    max-height: none;
    overflow: visible;
    padding-right: 0;
  }
}

@media (max-width: 760px) {
  .smart-item,
  .overview-panel {
    padding: 16px;
  }

  .tablet-frame,
  .city-tablet {
    padding: 8px;
    border-radius: 16px;
  }

  .phone-frame {
    height: min(72vh, 560px);
    max-height: 560px;
    padding: 8px;
    border-radius: 22px;
  }

  .device-screen {
    border-radius: 10px;
  }

  .embedded-web-link {
    right: 10px;
    bottom: 10px;
    min-height: 30px;
    padding: 0 11px;
    font-size: 0.72rem;
  }

  .call-modal {
    padding: 16px;
  }

  .call-dialog {
    grid-template-columns: 1fr;
    min-height: 0;
  }

  .call-video-pane {
    min-height: 260px;
  }

  .call-panel {
    padding: 24px;
  }

  .call-panel h2 {
    font-size: 28px;
  }
}

.modal-close {
  position: absolute;
  top: 5.8%;
  right: 6.2%;
  width: 42px;
  height: 42px;
  border: 1px solid rgba(214, 179, 106, 0.34);
  border-radius: 50%;
  color: #fff7e7;
  background: rgba(8, 13, 19, 0.72);
  font-size: 28px;
}

.ev-charge-screen {
  background:
    radial-gradient(circle at 72% 24%, rgba(65, 213, 190, 0.12), transparent 34%),
    linear-gradient(180deg, rgba(18, 24, 29, 0.96), rgba(7, 12, 16, 0.98));
}

.ev-hero {
  margin: 0 18px 10px;
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) 148px;
  gap: 10px;
  align-items: stretch;
}

.ev-visual {
  position: relative;
  min-height: 190px;
  overflow: hidden;
  border: 1px solid rgba(208, 181, 116, 0.24);
  border-radius: 14px;
  background:
    radial-gradient(circle at 28% 46%, rgba(77, 235, 205, 0.16), transparent 35%),
    linear-gradient(145deg, rgba(19, 29, 35, 0.94), rgba(7, 11, 15, 0.98));
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.06);
}

.ev-visual::before {
  content: "";
  position: absolute;
  inset: 18px 20px;
  border-radius: 999px;
  background:
    linear-gradient(90deg, transparent, rgba(72, 218, 194, 0.18), transparent),
    repeating-linear-gradient(90deg, rgba(255, 255, 255, 0.08) 0 1px, transparent 1px 26px);
  transform: perspective(240px) rotateX(62deg);
  transform-origin: center bottom;
  opacity: 0.44;
}

.ev-energy-fill {
  position: absolute;
  inset: 0 auto 0 0;
  width: 62%;
  background:
    linear-gradient(90deg, rgba(37, 224, 192, 0.06), rgba(78, 234, 204, 0.28)),
    repeating-linear-gradient(105deg, transparent 0 16px, rgba(143, 255, 226, 0.16) 16px 17px);
  filter: drop-shadow(0 0 18px rgba(60, 224, 194, 0.32));
}

.ev-energy-fill::after {
  content: "";
  position: absolute;
  top: 14%;
  right: -1px;
  width: 1px;
  height: 72%;
  background: rgba(154, 255, 231, 0.72);
  box-shadow: 0 0 18px rgba(87, 240, 211, 0.9);
}

.ev-car {
  position: absolute;
  left: 5%;
  right: 4%;
  bottom: 18px;
  z-index: 2;
  width: 91%;
  height: auto;
  overflow: visible;
}

.ev-shadow {
  fill: rgba(0, 0, 0, 0.42);
  filter: blur(5px);
}

.ev-body {
  fill: rgba(15, 23, 28, 0.88);
  stroke: rgba(134, 231, 214, 0.6);
  stroke-width: 1.4;
}

.ev-cabin {
  fill: rgba(21, 36, 44, 0.92);
  stroke: rgba(210, 185, 121, 0.42);
  stroke-width: 1;
}

.ev-window {
  fill: rgba(104, 201, 213, 0.24);
  stroke: rgba(163, 241, 231, 0.34);
  stroke-width: 0.8;
}

.ev-highlight {
  fill: none;
  stroke: rgba(108, 244, 215, 0.78);
  stroke-width: 1.8;
  stroke-linecap: round;
  filter: drop-shadow(0 0 6px rgba(68, 232, 201, 0.46));
}

.ev-wheel {
  fill: rgba(4, 7, 9, 0.95);
  stroke: rgba(194, 177, 130, 0.42);
  stroke-width: 1;
}

.ev-hub {
  fill: rgba(75, 226, 202, 0.38);
}

.ev-percent {
  position: absolute;
  top: 16px;
  left: 16px;
  z-index: 3;
  display: grid;
  gap: 2px;
}

.ev-percent strong {
  color: rgba(248, 250, 245, 0.96);
  font-size: 36px;
  font-weight: 520;
  line-height: 0.95;
  letter-spacing: 0;
  text-shadow: 0 0 18px rgba(62, 225, 197, 0.32);
}

.ev-percent span {
  color: rgba(210, 220, 216, 0.68);
  font-size: 11px;
}

.ev-stats {
  display: grid;
  gap: 8px;
}

.ev-stat,
.ev-info-card,
.ev-smart-row {
  border: 1px solid rgba(208, 181, 116, 0.2);
  border-radius: 12px;
  background: rgba(17, 24, 29, 0.72);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.04);
}

.ev-stat {
  padding: 12px 12px 10px;
}

.ev-stat span,
.ev-info-card span,
.ev-smart-row span {
  display: block;
  margin-bottom: 6px;
  color: rgba(202, 211, 207, 0.62);
  font-size: 10px;
}

.ev-stat strong {
  color: rgba(245, 244, 237, 0.92);
  font-size: 17px;
  font-weight: 520;
}

.ev-info-grid {
  margin: 0 18px 10px;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
}

.ev-info-card {
  padding: 12px 12px 10px;
}

.ev-info-card strong {
  color: rgba(246, 246, 240, 0.93);
  font-size: 19px;
  font-weight: 500;
}

.ev-info-card em {
  margin-left: 3px;
  color: rgba(202, 211, 207, 0.62);
  font-size: 11px;
  font-style: normal;
}

.ev-smart-card {
  margin: 0 18px 14px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}

.ev-smart-row {
  position: relative;
  padding: 13px 14px 12px 36px;
}

.ev-smart-row::before {
  content: "";
  position: absolute;
  top: 17px;
  left: 14px;
  width: 8px;
  height: 8px;
  border-radius: 999px;
  background: rgba(82, 229, 202, 0.9);
  box-shadow: 0 0 12px rgba(82, 229, 202, 0.8);
}

.ev-smart-row strong {
  display: block;
  margin-bottom: 4px;
  color: rgba(248, 247, 240, 0.93);
  font-size: 13px;
  font-weight: 520;
}

.ev-smart-row p {
  margin: 0;
  color: rgba(210, 218, 214, 0.66);
  font-size: 11px;
  line-height: 1.55;
}

.ev-cockpit-top {
  position: sticky;
  top: 0;
  z-index: 6;
  margin: 0;
  padding: 16px 20px 10px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: linear-gradient(180deg, rgba(8, 13, 17, 0.96), rgba(8, 13, 17, 0.72));
  backdrop-filter: blur(12px);
}

.ev-cockpit-top span {
  color: rgba(109, 236, 211, 0.78);
  font-size: 10px;
  font-weight: 700;
}

.ev-cockpit-top strong {
  color: rgba(245, 244, 236, 0.82);
  font-size: 12px;
  font-weight: 520;
}

.ev-cockpit {
  position: relative;
  min-height: 324px;
  margin: 0 16px 10px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 164px;
  column-gap: 18px;
  align-items: center;
  border: 1px solid rgba(150, 178, 170, 0.16);
  border-radius: 18px;
  overflow: hidden;
  background:
    linear-gradient(180deg, rgba(13, 21, 26, 0.92), rgba(5, 9, 12, 0.98));
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.05), 0 22px 42px rgba(0, 0, 0, 0.22);
}

.ev-cockpit::before {
  content: "";
  position: absolute;
  inset: 18px 28px;
  background:
    linear-gradient(90deg, transparent 49.8%, rgba(126, 242, 219, 0.08) 50%, transparent 50.2%),
    repeating-linear-gradient(90deg, rgba(255, 255, 255, 0.045) 0 1px, transparent 1px 42px),
    repeating-linear-gradient(0deg, rgba(255, 255, 255, 0.035) 0 1px, transparent 1px 42px);
  mask-image: radial-gradient(ellipse at center, black 12%, transparent 72%);
  opacity: 0.72;
}

.ev-main-readout,
.ev-side-panel {
  position: relative;
  z-index: 3;
}

.ev-main-readout {
  grid-column: 1;
  grid-row: 1;
  align-self: start;
  padding: 28px 0 0 20px;
}

.ev-main-readout span,
.ev-side-panel span,
.ev-progress-label span,
.ev-console-metrics span {
  display: block;
  color: rgba(201, 214, 210, 0.56);
  font-size: 10px;
  font-weight: 650;
}

.ev-main-readout strong {
  display: block;
  margin-top: 8px;
  color: rgba(250, 252, 247, 0.96);
  max-width: 210px;
  font-size: 31px;
  font-weight: 560;
  line-height: 1.16;
  text-shadow:
    0 0 18px rgba(82, 229, 202, 0.38),
    0 0 34px rgba(82, 229, 202, 0.16);
}

.ev-main-readout em {
  display: block;
  margin-top: 12px;
  color: rgba(223, 213, 184, 0.78);
  font-size: 12px;
  font-style: normal;
}

.ev-car-stage {
  grid-column: 1;
  grid-row: 1;
  position: relative;
  z-index: 2;
  height: 304px;
  display: grid;
  place-items: center;
  align-self: stretch;
  min-width: 0;
  margin-left: 94px;
  overflow: visible;
}

.ev-aura {
  position: absolute;
  top: 50%;
  left: 50%;
  width: min(500px, 112%);
  height: 210px;
  border-radius: 50%;
  background:
    radial-gradient(ellipse at center, rgba(92, 245, 215, 0.38) 0%, rgba(92, 245, 215, 0.2) 36%, rgba(92, 245, 215, 0.08) 64%, transparent 84%);
  filter: blur(9px) drop-shadow(0 0 18px rgba(85, 236, 207, 0.22));
  opacity: 0.88;
  transform: translate(-50%, -42%);
  animation: evChargeBreath 2.45s ease-in-out infinite;
}

.ev-fill-plane {
  position: absolute;
  top: 50%;
  left: 50%;
  width: min(300px, 62%);
  height: 54px;
  border-radius: 999px;
  background:
    linear-gradient(90deg, rgba(48, 226, 194, 0.02), rgba(70, 236, 205, 0.14)),
    repeating-linear-gradient(90deg, transparent 0 22px, rgba(177, 255, 239, 0.08) 22px 23px);
  filter: drop-shadow(0 0 20px rgba(67, 233, 202, 0.18));
  opacity: 0.62;
  mask-image: linear-gradient(90deg, transparent 0, black 10%, black 88%, transparent 100%);
  transform: translate(-50%, -8%);
  animation: evChargeFlow 4.6s ease-in-out infinite;
}

.ev-line-car {
  position: relative;
  z-index: 2;
  width: min(440px, 106%);
  height: auto;
  overflow: visible;
  filter: drop-shadow(0 22px 26px rgba(0, 0, 0, 0.32));
}

.ev-line-shadow {
  fill: rgba(0, 0, 0, 0.38);
  filter: blur(7px);
}

.ev-line-body,
.ev-line-glass,
.ev-line-soft,
.ev-line-detail,
.ev-line-light,
.ev-energy-thread,
.ev-line-wheel,
.ev-line-hub,
.ev-line-wheel-mark {
  fill: none;
  vector-effect: non-scaling-stroke;
}

.ev-line-body {
  stroke: url("#evCarStroke");
  stroke-width: 2;
  stroke-linejoin: round;
}

.ev-line-soft {
  stroke: rgba(171, 227, 217, 0.34);
  stroke-width: 1.2;
}

.ev-line-glass {
  fill: rgba(78, 150, 163, 0.12);
  stroke: rgba(181, 237, 228, 0.46);
  stroke-width: 1.35;
}

.ev-line-detail {
  stroke: rgba(206, 185, 134, 0.34);
  stroke-width: 1.1;
  stroke-linecap: round;
}

.ev-line-light {
  stroke: rgba(111, 242, 216, 0.82);
  stroke-width: 2.2;
  stroke-linecap: round;
  filter: drop-shadow(0 0 5px rgba(87, 235, 207, 0.54));
}

.ev-energy-thread {
  stroke: rgba(86, 235, 207, 0.58);
  stroke-width: 1.15;
  stroke-dasharray: 7 9;
  stroke-linecap: round;
}

.ev-line-wheel {
  stroke: rgba(214, 193, 144, 0.46);
  stroke-width: 1.25;
}

.ev-line-hub {
  stroke: rgba(126, 236, 216, 0.56);
  stroke-width: 1.2;
}

.ev-line-wheel-mark {
  stroke: rgba(174, 218, 209, 0.23);
  stroke-width: 1;
}

.ev-car-art {
  position: relative;
  z-index: 3;
  width: min(520px, 116%);
  height: auto;
  overflow: visible;
  transform: translateY(10px);
  filter: drop-shadow(0 26px 30px rgba(0, 0, 0, 0.38));
}

.ev-car-ground {
  fill: rgba(0, 0, 0, 0.42);
  filter: blur(8px);
}

.ev-car-underlight,
.ev-car-charge-wave {
  fill: none;
  stroke-linecap: round;
}

.ev-car-underlight {
  stroke: rgba(79, 232, 205, 0.5);
  stroke-width: 3;
  filter: drop-shadow(0 0 13px rgba(79, 232, 205, 0.5));
}

.ev-car-body {
  fill: url("#evBodyPaint");
  stroke: rgba(197, 240, 230, 0.58);
  stroke-width: 1.7;
  stroke-linejoin: round;
}

.ev-car-sheen {
  fill: url("#evBodySheen");
}

.ev-car-roof {
  fill: rgba(19, 28, 32, 0.9);
  stroke: rgba(216, 191, 132, 0.42);
  stroke-width: 1.2;
}

.ev-car-glass {
  fill: url("#evGlassPaint");
  stroke: rgba(183, 244, 235, 0.46);
  stroke-width: 1.1;
}

.ev-car-glass-cut,
.ev-car-belt,
.ev-car-door,
.ev-car-handle,
.ev-car-arch {
  fill: none;
  vector-effect: non-scaling-stroke;
}

.ev-car-glass-cut {
  stroke: rgba(213, 187, 126, 0.34);
  stroke-width: 1;
}

.ev-car-belt {
  stroke: rgba(219, 234, 227, 0.32);
  stroke-width: 1;
}

.ev-car-door {
  stroke: rgba(211, 190, 139, 0.24);
  stroke-width: 1;
}

.ev-car-handle {
  stroke: rgba(219, 234, 227, 0.45);
  stroke-width: 2;
  stroke-linecap: round;
}

.ev-car-light-front,
.ev-car-light-rear {
  fill: none;
  stroke-linecap: round;
  filter: drop-shadow(0 0 7px rgba(92, 236, 210, 0.58));
}

.ev-car-light-front {
  stroke: rgba(105, 241, 215, 0.88);
  stroke-width: 3;
}

.ev-car-light-rear {
  stroke: rgba(214, 181, 106, 0.74);
  stroke-width: 3;
}

.ev-car-arch {
  stroke: rgba(222, 239, 233, 0.28);
  stroke-width: 1.2;
}

.ev-car-wheel {
  fill: url("#evWheelGlow");
  stroke: rgba(211, 190, 139, 0.52);
  stroke-width: 1.2;
}

.ev-car-rim {
  fill: rgba(8, 12, 14, 0.74);
  stroke: rgba(143, 236, 219, 0.58);
  stroke-width: 1.4;
}

.ev-car-spokes {
  fill: none;
  stroke: rgba(221, 232, 228, 0.42);
  stroke-width: 1.2;
  stroke-linecap: round;
}

.ev-car-charge-wave {
  stroke: rgba(94, 240, 213, 0.42);
  stroke-width: 1.4;
  stroke-dasharray: 8 10;
  filter: drop-shadow(0 0 8px rgba(94, 240, 213, 0.38));
}

.ev-reference-car {
  position: relative;
  z-index: 3;
  width: min(520px, 116%);
  height: auto;
  overflow: visible;
  transform: translateY(9px);
  filter: drop-shadow(0 22px 26px rgba(0, 0, 0, 0.32));
}

.ev-car-source {
  position: relative;
  z-index: 4;
  width: 100%;
  max-width: 390px;
  height: auto;
  object-fit: contain;
  transform: translateY(12px);
  opacity: 0.92;
  filter:
    brightness(0)
    invert(94%)
    sepia(8%)
    saturate(520%)
    hue-rotate(118deg)
    drop-shadow(0 0 11px rgba(85, 230, 204, 0.24))
    drop-shadow(0 0 24px rgba(85, 230, 204, 0.1))
    drop-shadow(0 22px 24px rgba(0, 0, 0, 0.34));
}

.ev-car-stage:has(.ev-car-source) .ev-fill-plane {
  display: none;
}

.ev-car-source + .ev-reference-car {
  display: none;
}

.ev-ref-shadow {
  fill: rgba(0, 0, 0, 0.36);
  filter: blur(8px);
}

.ev-ref-main,
.ev-ref-glass,
.ev-ref-detail,
.ev-ref-arch,
.ev-ref-charge {
  fill: none;
  vector-effect: non-scaling-stroke;
}

.ev-ref-main {
  stroke: rgba(224, 238, 232, 0.82);
  stroke-width: 2.15;
  stroke-linecap: round;
  stroke-linejoin: round;
  filter: drop-shadow(0 0 7px rgba(85, 230, 204, 0.18));
}

.ev-ref-glass {
  fill: rgba(89, 169, 180, 0.12);
  stroke: rgba(176, 231, 222, 0.72);
  stroke-width: 1.7;
  stroke-linejoin: round;
}

.ev-ref-detail {
  stroke: rgba(205, 214, 208, 0.5);
  stroke-width: 1.35;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.ev-ref-arch {
  stroke: rgba(224, 238, 232, 0.78);
  stroke-width: 1.8;
  stroke-linecap: round;
}

.ev-ref-wheel {
  fill: rgba(5, 8, 10, 0.76);
  stroke: rgba(224, 238, 232, 0.82);
  stroke-width: 2;
}

.ev-ref-rim {
  fill: rgba(8, 16, 18, 0.74);
  stroke: rgba(176, 231, 222, 0.72);
  stroke-width: 1.7;
}

.ev-ref-hub {
  fill: rgba(86, 226, 200, 0.28);
  stroke: rgba(225, 237, 231, 0.45);
  stroke-width: 1;
}

.ev-ref-charge {
  stroke: rgba(98, 235, 209, 0.62);
  stroke-width: 1.8;
  stroke-dasharray: 10 9;
  stroke-linecap: round;
  filter:
    drop-shadow(0 0 8px rgba(86, 226, 200, 0.42))
    drop-shadow(0 0 14px rgba(86, 226, 200, 0.2));
  animation: evChargeLine 2.1s linear infinite;
}

@keyframes evChargeBreath {
  0%,
  100% {
    opacity: 0.58;
    transform: translate(-50%, -42%) scale(0.98);
    filter: blur(11px) drop-shadow(0 0 12px rgba(85, 236, 207, 0.18));
  }

  50% {
    opacity: 1;
    transform: translate(-50%, -42%) scale(1.055);
    filter: blur(8px) drop-shadow(0 0 24px rgba(85, 236, 207, 0.32));
  }
}

@keyframes evChargeFlow {
  0%,
  100% {
    opacity: 0.38;
    transform: translate(calc(-50% - 8px), -8%);
  }

  50% {
    opacity: 0.72;
    transform: translate(calc(-50% + 8px), -8%);
  }
}

@keyframes evChargeLine {
  from {
    stroke-dashoffset: 0;
    opacity: 0.38;
  }

  50% {
    opacity: 0.72;
  }

  to {
    stroke-dashoffset: -36;
    opacity: 0.38;
  }
}

.ev-top-car {
  position: relative;
  z-index: 2;
  width: min(420px, 104%);
  height: auto;
  overflow: visible;
  filter: drop-shadow(0 26px 28px rgba(0, 0, 0, 0.42));
}

.ev-top-shadow {
  fill: rgba(0, 0, 0, 0.46);
  filter: blur(7px);
}

.ev-top-body {
  fill: rgba(15, 23, 27, 0.96);
  stroke: rgba(150, 237, 219, 0.42);
  stroke-width: 1.6;
}

.ev-top-glass {
  fill: rgba(91, 170, 181, 0.22);
  stroke: rgba(184, 244, 236, 0.32);
  stroke-width: 1;
}

.ev-top-roof {
  fill: rgba(23, 36, 42, 0.9);
  stroke: rgba(209, 184, 124, 0.34);
  stroke-width: 1;
}

.ev-top-light,
.ev-charge-line {
  fill: none;
  stroke: rgba(95, 239, 211, 0.8);
  stroke-width: 2;
  stroke-linecap: round;
  filter: drop-shadow(0 0 7px rgba(80, 235, 205, 0.7));
}

.ev-charge-line {
  stroke-dasharray: 5 7;
  opacity: 0.8;
}

.ev-top-wheel {
  fill: rgba(4, 7, 9, 0.96);
  stroke: rgba(198, 180, 132, 0.45);
  stroke-width: 1.2;
}

.ev-top-hub {
  fill: rgba(84, 224, 201, 0.4);
}

.ev-charge-port {
  display: none;
}

.ev-charge-port span {
  position: absolute;
  inset: 5px;
  border-radius: inherit;
  background: rgba(103, 244, 219, 0.9);
}

.ev-center-charge {
  position: absolute;
  z-index: 5;
  right: 8px;
  top: 45px;
  min-width: 84px;
  padding: 10px 12px;
  border-left: 1px solid rgba(101, 233, 207, 0.42);
  background: linear-gradient(90deg, rgba(10, 16, 20, 0.02), rgba(10, 16, 20, 0.56));
}

.ev-center-charge span {
  display: block;
  margin-bottom: 5px;
  color: rgba(108, 236, 212, 0.68);
  font-size: 9px;
  font-weight: 700;
}

.ev-center-charge strong {
  color: rgba(249, 251, 246, 0.94);
  font-size: 28px;
  font-weight: 420;
  line-height: 1;
}

.ev-side-panel {
  grid-column: 2;
  grid-row: 1;
  padding-right: 18px;
  padding-left: 0;
  display: grid;
  gap: 14px;
  justify-self: stretch;
}

.ev-side-panel div {
  padding: 0 0 12px;
  border-bottom: 1px solid rgba(211, 190, 139, 0.16);
}

.ev-side-panel div:last-child {
  border-bottom: 0;
}

.ev-side-panel strong {
  display: block;
  margin-top: 5px;
  color: rgba(246, 246, 239, 0.94);
  font-size: 22px;
  font-weight: 440;
}

.ev-side-panel em,
.ev-console-metrics em {
  color: rgba(205, 215, 210, 0.62);
  font-size: 11px;
  font-style: normal;
}

.ev-bottom-console {
  margin: 0 16px 16px;
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr);
  gap: 12px;
}

.ev-charge-progress,
.ev-console-metrics {
  border: 1px solid rgba(208, 181, 116, 0.18);
  border-radius: 14px;
  background: rgba(14, 22, 27, 0.7);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.04);
}

.ev-charge-progress {
  padding: 14px;
}

.ev-progress-label {
  display: flex;
  justify-content: space-between;
  gap: 14px;
  margin-bottom: 12px;
  align-items: flex-start;
}

.ev-progress-label strong {
  color: rgba(243, 238, 222, 0.84);
  font-size: 12px;
  font-weight: 500;
  text-align: right;
  line-height: 1.35;
}

.ev-progress-track {
  height: 7px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
  overflow: hidden;
}

.ev-progress-track span {
  display: block;
  width: 62%;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, rgba(54, 207, 181, 0.72), rgba(92, 238, 205, 0.86));
  box-shadow: 0 0 14px rgba(75, 232, 203, 0.38);
  animation: evLoadSharePulse 1.8s ease-in-out infinite;
}

@keyframes evLoadSharePulse {
  0%,
  100% {
    filter: brightness(0.9);
  }

  50% {
    filter: brightness(1.25);
  }
}

.ev-console-metrics {
  padding: 12px 14px;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
}

.ev-console-metrics div {
  min-width: 0;
}

.ev-console-metrics strong {
  display: block;
  margin-top: 6px;
  color: rgba(246, 246, 239, 0.92);
  font-size: 16px;
  font-weight: 460;
  white-space: nowrap;
}

.irrigation-screen {
  background:
    radial-gradient(circle at 30% 18%, rgba(96, 199, 148, 0.12), transparent 36%),
    linear-gradient(180deg, rgba(18, 25, 24, 0.96), rgba(7, 12, 13, 0.98));
}

.irrigation-hero {
  margin: 0 18px 10px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 128px;
  gap: 10px;
}

.irrigation-map {
  position: relative;
  min-height: 210px;
  overflow: hidden;
  border: 1px solid rgba(196, 178, 122, 0.2);
  border-radius: 14px;
  background:
    linear-gradient(120deg, rgba(24, 38, 34, 0.92), rgba(9, 15, 17, 0.96)),
    repeating-linear-gradient(90deg, rgba(255, 255, 255, 0.035) 0 1px, transparent 1px 34px),
    repeating-linear-gradient(0deg, rgba(255, 255, 255, 0.028) 0 1px, transparent 1px 34px);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.05);
}

.irrigation-map::before {
  content: "";
  position: absolute;
  inset: 18px 28px;
  border: 1px solid rgba(198, 178, 118, 0.16);
  border-radius: 42% 58% 48% 52%;
  transform: rotate(-5deg);
}

.garden-zone {
  position: absolute;
  display: grid;
  gap: 4px;
  min-width: 92px;
  padding: 10px 12px;
  border: 1px solid rgba(113, 208, 154, 0.22);
  border-radius: 12px;
  background: rgba(17, 31, 28, 0.76);
  box-shadow: 0 0 18px rgba(76, 188, 132, 0.08);
}

.garden-zone span {
  color: rgba(209, 220, 211, 0.62);
  font-size: 10px;
}

.garden-zone strong {
  color: rgba(235, 245, 235, 0.92);
  font-size: 14px;
  font-weight: 520;
}

.garden-zone.attention {
  border-color: rgba(214, 185, 113, 0.36);
  background: rgba(36, 34, 24, 0.76);
}

.zone-entry {
  top: 24px;
  left: 24px;
}

.zone-court {
  top: 82px;
  left: 44%;
  transform: translateX(-50%);
}

.zone-walk {
  right: 24px;
  top: 36px;
}

.zone-roof {
  right: 52px;
  bottom: 24px;
}

.sensor-dot {
  position: absolute;
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: rgba(106, 224, 153, 0.95);
  box-shadow: 0 0 12px rgba(106, 224, 153, 0.82);
}

.dot-a {
  left: 34%;
  top: 42%;
}

.dot-b {
  right: 34%;
  top: 30%;
}

.dot-c {
  right: 28%;
  bottom: 27%;
}

.water-route {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  opacity: 0.55;
}

.water-route path {
  fill: none;
  stroke: rgba(92, 218, 175, 0.38);
  stroke-width: 2;
  stroke-dasharray: 7 9;
  stroke-linecap: round;
  animation: irrigationFlow 4s linear infinite;
}

.irrigation-kpi {
  display: grid;
  gap: 8px;
}

.irrigation-kpi div,
.decision-grid div,
.irrigation-list div {
  border: 1px solid rgba(196, 178, 122, 0.18);
  border-radius: 12px;
  background: rgba(16, 24, 24, 0.72);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.04);
}

.irrigation-kpi div {
  padding: 12px;
}

.irrigation-kpi span,
.decision-copy span,
.decision-grid span,
.irrigation-list span,
.irrigation-list em {
  display: block;
  color: rgba(205, 214, 207, 0.6);
  font-size: 10px;
  font-style: normal;
}

.irrigation-kpi strong {
  display: block;
  margin-top: 7px;
  color: rgba(246, 247, 239, 0.94);
  font-size: 24px;
  font-weight: 450;
}

.twin-decision {
  margin: 0 18px 10px;
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr);
  gap: 10px;
}

.decision-copy {
  padding: 14px;
  border: 1px solid rgba(110, 216, 160, 0.22);
  border-radius: 14px;
  background:
    radial-gradient(circle at 90% 20%, rgba(104, 221, 162, 0.12), transparent 38%),
    rgba(15, 27, 25, 0.76);
}

.decision-copy strong {
  display: block;
  margin-top: 8px;
  color: rgba(245, 245, 236, 0.9);
  font-size: 15px;
  font-weight: 520;
  line-height: 1.55;
}

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

.decision-grid div {
  padding: 10px 11px;
}

.decision-grid strong {
  display: block;
  margin-top: 6px;
  color: rgba(242, 243, 235, 0.88);
  font-size: 12px;
  font-weight: 520;
}

.irrigation-list {
  margin: 0 18px 16px;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
}

.irrigation-list div {
  padding: 11px 12px;
}

.irrigation-list strong {
  display: block;
  margin: 5px 0 4px;
  color: rgba(244, 244, 235, 0.9);
  font-size: 13px;
  font-weight: 520;
}

@keyframes irrigationFlow {
  to {
    stroke-dashoffset: -48;
  }
}

.plant-dashboard {
  margin: 0 18px 10px;
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(0, 0.9fr);
  gap: 10px;
}

.plant-model-card,
.plant-summary div,
.watering-advice,
.plant-list-card,
.weather-chart-card {
  border: 1px solid rgba(196, 178, 122, 0.18);
  border-radius: 14px;
  background: rgba(14, 22, 21, 0.72);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.04);
}

.plant-model-card {
  overflow: hidden;
}

.plant-card-head {
  padding: 13px 15px 8px;
  display: flex;
  align-items: baseline;
  justify-content: space-between;
}

.plant-card-head span,
.mini-title {
  color: rgba(111, 216, 155, 0.78);
  font-size: 11px;
  font-weight: 700;
}

.plant-card-head strong {
  color: rgba(226, 231, 222, 0.64);
  font-size: 10px;
}

.plant-model {
  position: relative;
  height: 244px;
  overflow: hidden;
  background:
    radial-gradient(circle at 50% 45%, rgba(98, 206, 148, 0.12), transparent 42%),
    linear-gradient(180deg, rgba(16, 29, 27, 0.1), rgba(5, 10, 11, 0.38));
}

.plant-twin-image {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: contain;
  padding: 4px 10px 12px;
  filter: drop-shadow(0 18px 24px rgba(0, 0, 0, 0.36));
}

.plant-twin-image {
  background:
    radial-gradient(circle at 50% 44%, rgba(103, 220, 155, 0.08), transparent 48%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.02), transparent);
}

.plant-image-placeholder {
  display: none;
}

.tree-canopy {
  position: absolute;
  border: 1px solid rgba(134, 225, 158, 0.44);
  border-radius: 50%;
  background: radial-gradient(circle at 40% 35%, rgba(137, 225, 156, 0.42), rgba(41, 91, 67, 0.72));
  box-shadow: 0 0 20px rgba(77, 178, 118, 0.16);
}

.canopy-a {
  top: 20px;
  left: 92px;
  width: 118px;
  height: 82px;
}

.canopy-b {
  top: 35px;
  left: 156px;
  width: 128px;
  height: 92px;
}

.canopy-c {
  top: 64px;
  left: 72px;
  width: 150px;
  height: 88px;
}

.tree-trunk {
  position: absolute;
  left: 163px;
  top: 122px;
  width: 18px;
  height: 52px;
  border-radius: 10px;
  background: linear-gradient(90deg, rgba(126, 100, 65, 0.72), rgba(198, 166, 104, 0.38));
}

.soil-layer {
  position: absolute;
  left: 28px;
  right: 28px;
  border-radius: 999px;
}

.soil-layer.top {
  top: 170px;
  height: 12px;
  background: rgba(108, 86, 53, 0.62);
}

.soil-layer.mid {
  top: 187px;
  height: 22px;
  background: rgba(74, 58, 43, 0.72);
}

.soil-layer.base {
  top: 214px;
  height: 12px;
  background: rgba(43, 35, 29, 0.82);
}

.root-system {
  position: absolute;
  left: 40px;
  right: 40px;
  bottom: 6px;
  width: calc(100% - 80px);
  height: 108px;
}

.root-system path {
  fill: none;
  stroke: rgba(214, 187, 120, 0.48);
  stroke-width: 2;
  stroke-linecap: round;
}

.sensor-chip {
  position: absolute;
  min-width: 82px;
  padding: 8px 10px;
  border: 1px solid rgba(111, 216, 155, 0.24);
  border-radius: 10px;
  background: rgba(8, 16, 15, 0.72);
}

.sensor-chip span,
.plant-summary span,
.watering-advice span,
.plant-row span {
  display: block;
  color: rgba(205, 214, 207, 0.58);
  font-size: 10px;
}

.sensor-chip strong,
.plant-summary strong,
.plant-row strong {
  display: block;
  margin-top: 4px;
  color: rgba(245, 245, 236, 0.92);
  font-size: 13px;
  font-weight: 520;
}

.sensor-chip.soil {
  right: 16px;
  top: 139px;
}

.sensor-chip.root {
  left: 16px;
  bottom: 28px;
}

.plant-side {
  display: grid;
  grid-template-rows: auto 1fr;
  gap: 10px;
}

.plant-summary {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
}

.plant-summary div {
  position: relative;
  padding: 13px 12px 11px;
  min-height: 62px;
}

.plant-summary strong {
  font-size: 17px;
  font-weight: 460;
}

.plant-summary .warning {
  border-color: rgba(214, 179, 106, 0.32);
  background:
    radial-gradient(circle at 88% 22%, rgba(214, 179, 106, 0.12), transparent 46%),
    rgba(28, 25, 18, 0.74);
}

.plant-summary .warning strong {
  color: rgba(229, 190, 104, 0.96);
}

.summary-icon {
  position: absolute;
  top: 11px;
  right: 11px;
  width: 22px;
  height: 22px;
  border: 1px solid rgba(111, 216, 155, 0.24);
  border-radius: 50%;
  background: rgba(12, 24, 21, 0.72);
}

.summary-svg {
  position: absolute;
  top: 10px;
  right: 10px;
  width: 25px;
  height: 25px;
  padding: 5px;
  border: 1px solid rgba(134, 220, 163, 0.2);
  border-radius: 999px;
  background:
    radial-gradient(circle at 35% 25%, rgba(136, 231, 170, 0.16), transparent 58%),
    rgba(10, 19, 17, 0.78);
  color: rgba(167, 233, 190, 0.88);
  overflow: visible;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.05), 0 0 12px rgba(95, 208, 142, 0.08);
}

.summary-svg path,
.summary-svg circle {
  fill: none;
  stroke: currentColor;
  stroke-width: 1.45;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.summary-icon::before,
.summary-icon::after {
  content: "";
  position: absolute;
  display: block;
}

.summary-icon.health::before {
  left: 6px;
  top: 10px;
  width: 10px;
  height: 6px;
  border: 1.5px solid rgba(122, 225, 157, 0.9);
  border-top: 0;
  border-left: 0;
  transform: rotate(-45deg);
}

.summary-icon.weather::before {
  left: 7px;
  top: 7px;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: rgba(216, 180, 92, 0.86);
  box-shadow: 0 0 8px rgba(216, 180, 92, 0.26);
}

.summary-icon.rain::before {
  left: 8px;
  top: 5px;
  width: 7px;
  height: 10px;
  border-radius: 7px 7px 7px 0;
  background: rgba(98, 168, 197, 0.9);
  transform: rotate(45deg);
}

.summary-icon.evap::before {
  left: 6px;
  top: 6px;
  width: 10px;
  height: 10px;
  border: 1.5px solid rgba(122, 225, 157, 0.82);
  border-radius: 50%;
}

.summary-icon.evap::after {
  left: 9px;
  top: 2px;
  width: 4px;
  height: 8px;
  border-left: 1.5px solid rgba(216, 180, 92, 0.72);
  border-radius: 50%;
}

.watering-advice {
  padding: 14px;
  background:
    radial-gradient(circle at 88% 18%, rgba(107, 216, 156, 0.14), transparent 42%),
    rgba(15, 27, 25, 0.76);
}

.watering-advice strong {
  display: block;
  margin-top: 9px;
  color: rgba(245, 244, 235, 0.92);
  font-size: 15px;
  font-weight: 520;
  line-height: 1.6;
}

.plant-bottom {
  margin: 0 18px 16px;
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.35fr);
  gap: 10px;
}

.plant-list-card,
.weather-chart-card {
  padding: 12px;
  overflow: hidden;
}

.plant-row {
  display: grid;
  grid-template-columns: minmax(68px, 0.9fr) minmax(0, 1.25fr);
  gap: 8px;
  align-items: center;
  padding: 7px 0;
  border-bottom: 1px solid rgba(196, 178, 122, 0.12);
}

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

.plant-row em {
  color: rgba(214, 226, 217, 0.6);
  font-size: 10px;
  font-style: normal;
  text-align: right;
}

.watering-chart {
  width: 100%;
  height: 124px;
  margin-top: 4px;
  overflow: visible;
}

.watering-chart .chart-grid-line {
  fill: none;
  stroke: rgba(211, 190, 139, 0.12);
  stroke-width: 1;
}

.watering-chart .rain-bars {
  fill: none;
  stroke: rgba(96, 159, 183, 0.45);
  stroke-width: 12;
  stroke-linecap: round;
}

.chart-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}

.water-saving-note {
  margin-top: 5px;
  color: rgba(205, 214, 207, 0.58);
  font-size: 10px;
}

.water-saving-note strong {
  color: rgba(116, 224, 158, 0.92);
  font-size: 16px;
  font-weight: 520;
}

.water-saving-note span {
  display: block;
  margin-top: 3px;
  margin-left: 0;
  color: rgba(205, 214, 207, 0.48);
}

.chart-legend.small {
  position: static;
  display: flex;
  gap: 9px;
  align-items: center;
  color: rgba(205, 214, 207, 0.56);
  font-size: 9px;
  justify-content: flex-end;
  min-width: 0;
}

.chart-legend.small span {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  white-space: nowrap;
}

.chart-legend.small span::before {
  display: none;
}

.weather-dot,
.temp-line,
.water-bar {
  display: inline-block;
  flex: 0 0 auto;
}

.weather-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: rgba(217, 184, 104, 0.9);
}

.temp-line {
  width: 14px;
  height: 2px;
  border-radius: 999px;
  background: rgba(221, 176, 93, 0.86);
}

.water-bar {
  width: 6px;
  height: 10px;
  border-radius: 3px;
  background: rgba(89, 176, 214, 0.82);
}

.watering-chart .water-volume-bars {
  fill: none;
  stroke: rgba(89, 176, 214, 0.68);
  stroke-width: 10;
  stroke-linecap: round;
}

.watering-chart .temperature-line {
  fill: none;
  stroke: rgba(221, 176, 93, 0.9);
  stroke-width: 1.6;
  stroke-linecap: round;
  filter: drop-shadow(0 0 5px rgba(221, 176, 93, 0.24));
}

.watering-chart .weather-symbol {
  stroke: rgba(245, 241, 222, 0.55);
  stroke-width: 1.2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.watering-chart text {
  display: none;
}

.watering-chart .weather-symbol.sun {
  fill: rgba(221, 176, 93, 0.86);
  stroke: rgba(243, 225, 171, 0.62);
}

.watering-chart .weather-symbol.cloud {
  fill: rgba(142, 162, 160, 0.82);
}

.watering-chart .weather-symbol.rain {
  fill: rgba(89, 149, 183, 0.84);
}

.watering-chart .weather-symbol.rain path:last-child {
  fill: none;
  stroke: rgba(113, 185, 217, 0.9);
}

.watering-chart .weather-symbol.hot {
  filter: drop-shadow(0 0 6px rgba(221, 176, 93, 0.42));
}

.watering-chart text {
  fill: rgba(205, 214, 207, 0.52);
  font-size: 11px;
}

.happiness-web-screen {
  padding: 0 18px 18px;
  background:
    radial-gradient(circle at 82% 18%, rgba(214, 179, 106, 0.12), transparent 36%),
    linear-gradient(180deg, rgba(20, 24, 26, 0.96), rgba(8, 11, 14, 0.98));
}

.web-app-top {
  position: sticky;
  top: 0;
  z-index: 4;
  margin: 0 -18px 14px;
  padding: 15px 18px 11px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: linear-gradient(180deg, rgba(8, 11, 14, 0.96), rgba(8, 11, 14, 0.72));
  backdrop-filter: blur(12px);
}

.web-app-top span {
  display: block;
  color: rgba(214, 179, 106, 0.78);
  font-size: 10px;
  font-weight: 700;
}

.web-app-top strong {
  display: block;
  margin-top: 3px;
  color: rgba(247, 244, 235, 0.92);
  font-size: 15px;
  font-weight: 520;
}

.web-app-top button {
  border: 1px solid rgba(214, 179, 106, 0.24);
  border-radius: 999px;
  padding: 7px 11px;
  background: rgba(20, 26, 28, 0.72);
  color: rgba(245, 239, 226, 0.78);
  font-size: 11px;
}

.lisa-web-hero {
  position: relative;
  min-height: 128px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 110px;
  gap: 12px;
  align-items: center;
  border: 1px solid rgba(214, 179, 106, 0.18);
  border-radius: 16px;
  padding: 17px;
  overflow: hidden;
  background:
    radial-gradient(circle at 84% 42%, rgba(91, 207, 187, 0.14), transparent 36%),
    rgba(15, 21, 24, 0.72);
}

.lisa-greeting span {
  color: rgba(132, 214, 198, 0.78);
  font-size: 10px;
  font-weight: 700;
}

.lisa-greeting h4 {
  margin: 8px 0 8px;
  color: rgba(248, 247, 240, 0.96);
  font-size: 23px;
  line-height: 1.25;
  font-weight: 520;
}

.lisa-greeting p {
  margin: 0;
  color: rgba(218, 222, 215, 0.64);
  font-size: 12px;
  line-height: 1.65;
}

.lisa-orb {
  width: 94px;
  height: 94px;
  border: 1px solid rgba(132, 214, 198, 0.28);
  border-radius: 50%;
  display: grid;
  place-items: center;
  background:
    radial-gradient(circle at 38% 32%, rgba(157, 238, 221, 0.42), rgba(72, 143, 135, 0.18) 42%, rgba(11, 18, 22, 0.78) 72%);
  box-shadow: 0 0 28px rgba(96, 213, 191, 0.14), inset 0 1px 0 rgba(255, 255, 255, 0.08);
}

.lisa-orb span {
  width: 42px;
  height: 42px;
  border-radius: inherit;
  border: 1px solid rgba(244, 229, 184, 0.42);
  background: rgba(244, 229, 184, 0.08);
}

.lisa-web-grid {
  margin-top: 10px;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 9px;
}

.lisa-web-grid button,
.lisa-chat-card {
  border: 1px solid rgba(214, 179, 106, 0.16);
  border-radius: 13px;
  background: rgba(14, 20, 23, 0.7);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.04);
}

.lisa-web-grid button {
  min-height: 62px;
  padding: 11px 12px;
  text-align: left;
  color: inherit;
}

.lisa-web-grid span,
.chat-row span {
  display: block;
  color: rgba(214, 179, 106, 0.76);
  font-size: 10px;
  font-weight: 700;
}

.lisa-web-grid strong {
  display: block;
  margin-top: 6px;
  color: rgba(244, 243, 235, 0.9);
  font-size: 12px;
  font-weight: 500;
  line-height: 1.45;
}

.lisa-chat-card {
  margin-top: 10px;
  padding: 11px;
  display: grid;
  gap: 8px;
}

.chat-row {
  display: grid;
  grid-template-columns: 42px minmax(0, 1fr);
  gap: 8px;
  align-items: start;
}

.chat-row p {
  margin: 0;
  border-radius: 10px;
  padding: 8px 10px;
  color: rgba(228, 231, 224, 0.75);
  background: rgba(255, 255, 255, 0.045);
  font-size: 11px;
  line-height: 1.55;
}

.chat-row.user p {
  background: rgba(214, 179, 106, 0.1);
  color: rgba(245, 239, 226, 0.84);
}

.city-stage .safety-shade {
  background:
    radial-gradient(circle at 24% 24%, rgba(124, 200, 214, 0.14), transparent 30%),
    linear-gradient(90deg, rgba(6, 11, 18, 0.84), rgba(6, 11, 18, 0.32) 48%, rgba(6, 11, 18, 0.9));
}

.city-tabs {
  grid-template-columns: repeat(9, minmax(0, 1fr));
}

.city-tabs .item-tab {
  padding: 0 6px;
  font-size: 12px;
  line-height: 1.2;
}

.city-tablet {
  width: min(100%, 1220px);
  border-color: rgba(124, 200, 214, 0.3);
}

.city-image-tablet {
  width: min(100%, 1220px);
  height: auto;
  aspect-ratio: 16 / 9;
  max-width: 100%;
  max-height: 100%;
}

.control-room-tablet {
  aspect-ratio: 16 / 9;
}

.wide-image-tablet {
  aspect-ratio: 16 / 9;
}

.streetlight-tablet {
  aspect-ratio: 16 / 9;
}

.city-screen {
  position: relative;
  overflow: hidden;
  background:
    linear-gradient(145deg, rgba(10, 24, 38, 0.94), rgba(5, 12, 21, 0.98)),
    radial-gradient(circle at 74% 28%, rgba(124, 200, 214, 0.18), transparent 28%);
}

.city-screen.control-room-preview,
.city-screen.streetlight-preview,
.city-screen.ota-preview,
.city-screen.lake-preview,
.city-screen.bus-preview {
  background-color: #060b12;
  background-position: center center;
  background-repeat: no-repeat;
  background-size: contain;
}

.city-screen.control-room-preview {
  background-image: url("control_room.png");
}

.city-screen.streetlight-preview {
  background-image: url("iStreetlight.png");
}

.city-screen.ota-preview {
  background-image: url("OTA.png");
}

.city-screen.lake-preview {
  background-image: url("iLake.png");
}

.city-screen.bus-preview {
  background-image: url("iBus.png");
}

.demo-carousel {
  position: relative;
  display: grid;
  width: 100%;
  place-items: center;
}

.demo-slides {
  display: grid;
  width: 100%;
  place-items: center;
}

.demo-slide {
  display: none;
  width: 100%;
  align-items: center;
  justify-items: center;
  place-items: center;
}

.demo-slide.is-active {
  display: grid;
}

.demo-arrow {
  position: absolute;
  top: 50%;
  z-index: 5;
  display: grid;
  width: 44px;
  height: 44px;
  place-items: center;
  border: 1px solid rgba(214, 179, 106, 0.34);
  border-radius: 50%;
  color: #fff7e7;
  background: rgba(6, 11, 18, 0.74);
  font: inherit;
  font-size: 0;
  line-height: 1;
  cursor: pointer;
  transform: translateY(-50%);
  box-shadow: 0 16px 34px rgba(0, 0, 0, 0.3);
  backdrop-filter: blur(14px);
}

.demo-arrow::before {
  display: block;
  font-family: Arial, "Helvetica Neue", sans-serif;
  font-size: 30px;
  font-weight: 700;
  line-height: 1;
  transform: translateY(-1px);
}

.demo-arrow:hover {
  border-color: rgba(214, 179, 106, 0.72);
  background: rgba(214, 179, 106, 0.16);
}

.demo-arrow-prev {
  left: 16px;
}

.demo-arrow-prev::before {
  content: "‹";
}

.demo-arrow-next {
  right: 16px;
}

.demo-arrow-next::before {
  content: "›";
}

.city-screen::before {
  position: absolute;
  inset: 72px 38px 34px;
  content: "";
  border: 1px solid rgba(124, 200, 214, 0.2);
  border-radius: 16px;
  background:
    linear-gradient(rgba(124, 200, 214, 0.08) 1px, transparent 1px),
    linear-gradient(90deg, rgba(124, 200, 214, 0.08) 1px, transparent 1px);
  background-size: 32px 32px;
  opacity: 0.72;
}

.city-embedded-screen::before {
  display: none;
}

.city-screen.is-empty {
  display: grid;
  place-items: center;
}

.city-screen.is-empty span {
  position: relative;
  z-index: 1;
  display: inline-flex;
  min-width: 220px;
  height: 44px;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(214, 179, 106, 0.24);
  border-radius: 999px;
  color: rgba(245, 239, 226, 0.56);
  background: rgba(5, 12, 21, 0.7);
  font-size: 13px;
}

.city-placeholder-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
  margin: 108px 52px 0;
}

.city-placeholder-grid span {
  min-height: 96px;
  border: 1px solid rgba(214, 179, 106, 0.18);
  border-radius: 12px;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.1), transparent),
    rgba(255, 255, 255, 0.04);
}

.city-placeholder-grid span:nth-child(2),
.city-placeholder-grid span:nth-child(3) {
  border-color: rgba(124, 200, 214, 0.22);
}

@media (min-width: 1281px) and (max-height: 900px) {
  .smart-item:not(.overview-panel) .demo-area {
    justify-items: center;
  }

  .smart-item:not(.overview-panel) .slide-video,
  .smart-item:not(.overview-panel) .tablet-frame,
  .smart-item:not(.overview-panel) .city-tablet,
  .smart-item:not(.overview-panel) .city-image-tablet,
  .smart-item:not(.overview-panel) .happiness-embed-tablet,
  .smart-item:not(.overview-panel) .demo-carousel {
    width: min(100%, calc((100dvh - 170px) * 1.7778), 1080px);
    max-width: 100%;
  }
}

@media (min-width: 1281px) and (max-height: 780px) {
  .smart-item:not(.overview-panel) .slide-video,
  .smart-item:not(.overview-panel) .tablet-frame,
  .smart-item:not(.overview-panel) .city-tablet,
  .smart-item:not(.overview-panel) .city-image-tablet,
  .smart-item:not(.overview-panel) .happiness-embed-tablet,
  .smart-item:not(.overview-panel) .demo-carousel {
    width: min(100%, calc((100dvh - 190px) * 1.7778), 980px);
  }
}
