body {
  font-family: "Inter", "PingFang SC", "Hiragino Sans GB", sans-serif;
}

.page-shell {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

.hero-flat {
  position: relative;
  padding: 0.15rem 0 0.65rem;
}

.hero-flat__line {
  width: 88px;
  height: 2px;
  margin-bottom: 0.8rem;
  background: linear-gradient(90deg, rgba(55, 224, 255, 0.9), rgba(55, 224, 255, 0.08));
}

.hero-flat__eyebrow {
  margin: 0 0 0.5rem;
  font-size: 0.68rem;
  letter-spacing: 0.34em;
  text-transform: uppercase;
  color: rgba(55, 224, 255, 0.76);
}

.hero-flat__title {
  max-width: 56rem;
  margin: 0;
  font-size: clamp(1.7rem, 3.4vw, 3.2rem);
  line-height: 1.04;
  font-weight: 600;
  letter-spacing: -0.03em;
  color: #f8fbff;
}

.hero-flat__desc {
  max-width: 52rem;
  margin: 0.8rem 0 0;
  font-size: 0.92rem;
  line-height: 1.78;
  color: #8fa2c7;
}

.hero-flat__tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.7rem;
  margin-top: 0.9rem;
}

.hero-tag {
  display: inline-flex;
  align-items: center;
  min-height: 2rem;
  border-radius: 999px;
  padding: 0.28rem 0.8rem;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.02em;
}

.hero-tag-cyan {
  color: #a9f4ff;
  background: rgba(55, 224, 255, 0.08);
  border: 1px solid rgba(55, 224, 255, 0.16);
}

.hero-tag-violet {
  color: #d3c2ff;
  background: rgba(139, 92, 246, 0.08);
  border: 1px solid rgba(139, 92, 246, 0.16);
}

.hero-tag-emerald {
  color: #b8f7dc;
  background: rgba(52, 211, 153, 0.08);
  border: 1px solid rgba(52, 211, 153, 0.16);
}

.field-label {
  display: grid;
  gap: 0.45rem;
  font-size: 0.84rem;
  font-weight: 600;
  color: #8fa2c7;
}

.settings-form-stack {
  display: grid;
  gap: 0.9rem;
}

.form-section {
  padding-top: 0.05rem;
}

.form-section__head {
  margin-bottom: 0.75rem;
  padding-bottom: 0.7rem;
  border-bottom: 1px solid rgba(35, 49, 77, 0.72);
}

.form-section__kicker {
  margin: 0 0 0.25rem;
  font-size: 0.66rem;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: rgba(55, 224, 255, 0.62);
}

.form-section__title {
  margin: 0;
  font-size: 1rem;
  font-weight: 700;
  color: #f8fbff;
}

.form-section__desc {
  margin: 0.38rem 0 0;
  font-size: 0.8rem;
  line-height: 1.7;
  color: #7f93b8;
}

.form-grid {
  display: grid;
  gap: 0.9rem;
}

.auth-panel {
  flex-shrink: 0;
}

.panel-card {
  border-radius: 0.9rem;
  border: 1px solid rgba(35, 49, 77, 0.9);
  background: linear-gradient(180deg, rgba(11, 18, 32, 0.88), rgba(6, 11, 23, 0.9));
  padding: 1.25rem;
  box-shadow: 0 0 0 1px rgba(55, 224, 255, 0.07), 0 18px 40px rgba(2, 8, 23, 0.44);
  backdrop-filter: blur(16px);
}

.panel-kicker {
  margin: 0 0 0.35rem;
  font-size: 0.68rem;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: rgba(55, 224, 255, 0.7);
}

.panel-title {
  font-size: 1.25rem;
  font-weight: 700;
  color: #f8fbff;
}

.panel-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 1rem;
}

.summary-status {
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
  gap: 0.9rem;
  padding: 0.85rem 1rem;
  border-radius: 0.9rem;
  border: 1px solid rgba(35, 49, 77, 0.92);
  background: rgba(6, 11, 23, 0.72);
}

.summary-status__dot {
  width: 0.8rem;
  height: 0.8rem;
  border-radius: 999px;
  flex: 0 0 auto;
  box-shadow: 0 0 14px currentColor;
}

.summary-status__label {
  margin: 0;
  font-size: 0.72rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: #8fa2c7;
}

.summary-status__value {
  display: block;
  margin-top: 0.2rem;
  font-size: 1rem;
  font-weight: 800;
  color: #f8fbff;
}

.summary-status-running {
  border-color: rgba(245, 158, 11, 0.3);
  background: linear-gradient(135deg, rgba(76, 44, 8, 0.7), rgba(24, 18, 8, 0.7));
}

.summary-status-running .summary-status__dot {
  color: #f59e0b;
  background: #f59e0b;
}

.summary-status-enabled {
  border-color: rgba(52, 211, 153, 0.26);
  background: linear-gradient(135deg, rgba(10, 58, 41, 0.68), rgba(8, 24, 18, 0.72));
}

.summary-status-enabled::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(100deg, transparent 18%, rgba(52, 211, 153, 0.08) 45%, rgba(167, 243, 208, 0.24) 50%, rgba(52, 211, 153, 0.08) 55%, transparent 82%);
  transform: translateX(-140%);
  animation: statusSweep 2.4s linear infinite;
  pointer-events: none;
}

.summary-status-enabled .summary-status__dot {
  color: #34d399;
  background: #34d399;
  animation: statusTrack 1.1s linear infinite;
}

.summary-status-stopped {
  border-color: rgba(100, 116, 139, 0.24);
  background: linear-gradient(135deg, rgba(30, 41, 59, 0.68), rgba(15, 23, 42, 0.72));
}

.summary-status-stopped .summary-status__dot {
  color: #94a3b8;
  background: #94a3b8;
}

.permit-badge {
  display: inline-flex;
  align-items: center;
  min-height: 1.85rem;
  padding: 0.2rem 0.72rem;
  border-radius: 999px;
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.04em;
}

.permit-badge-outer {
  color: #8be9ff;
  background: rgba(55, 224, 255, 0.1);
  border: 1px solid rgba(55, 224, 255, 0.22);
}

.permit-badge-inner {
  color: #ffd88a;
  background: rgba(245, 158, 11, 0.1);
  border: 1px solid rgba(245, 158, 11, 0.24);
}

.dashboard-shell {
  gap: 1rem;
}

.dashboard-content,
.view-grid,
.view-grid-two {
  display: grid;
  gap: 1rem;
}

.status-grid {
  display: grid;
  gap: 0.75rem;
}

.overview-panel {
  overflow: hidden;
  background: linear-gradient(180deg, rgba(10, 16, 29, 0.78), rgba(6, 11, 23, 0.72));
}

.overview-hero {
  display: grid;
  gap: 1rem;
  border-top: 1px solid rgba(55, 224, 255, 0.16);
  padding: 1.05rem 0 0;
  background: none;
}

.overview-chart-card {
  padding: 0;
}

.overview-hero__eyebrow {
  margin: 0 0 0.5rem;
  font-size: 0.68rem;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: rgba(55, 224, 255, 0.72);
}

.overview-hero__title {
  margin: 0;
  font-size: clamp(1.4rem, 2vw, 2rem);
  line-height: 1.1;
  font-weight: 800;
  color: #f8fbff;
}

.overview-hero__desc {
  margin: 0.65rem 0 0;
  max-width: 56rem;
  font-size: 0.88rem;
  line-height: 1.7;
  color: #8fa2c7;
}

.overview-chip-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
  margin-top: 0.9rem;
}

.overview-chip {
  display: inline-flex;
  align-items: center;
  min-height: 2rem;
  border-radius: 999px;
  padding: 0.3rem 0.82rem;
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  color: #dce8ff;
  background: rgba(15, 23, 42, 0.9);
  border: 1px solid rgba(55, 224, 255, 0.12);
}

.overview-chip strong {
  margin-left: 0.42rem;
  color: #ffffff;
}

.progress-strip,
.distribution-bar {
  position: relative;
  overflow: hidden;
  width: 100%;
  height: 0.8rem;
  border-radius: 999px;
  background: rgba(148, 163, 184, 0.14);
}

.progress-strip__bar {
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, rgba(52, 211, 153, 0.95), rgba(55, 224, 255, 0.92));
  box-shadow: 0 0 18px rgba(55, 224, 255, 0.18);
}

.distribution-bar {
  display: flex;
  gap: 0.18rem;
}

.distribution-bar__item {
  display: block;
  height: 100%;
  min-width: 0;
}

.distribution-bar__item-success {
  background: linear-gradient(90deg, rgba(52, 211, 153, 0.92), rgba(22, 163, 74, 0.92));
}

.distribution-bar__item-danger {
  background: linear-gradient(90deg, rgba(251, 113, 133, 0.92), rgba(244, 63, 94, 0.92));
}

.distribution-bar__item-info {
  background: linear-gradient(90deg, rgba(56, 189, 248, 0.92), rgba(59, 130, 246, 0.92));
}

.overview-hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.7rem;
}

.overview-metrics-grid {
  display: grid;
  gap: 0.8rem;
}

.overview-metric {
  position: relative;
  overflow: hidden;
  border-radius: 0.72rem;
  border: 1px solid rgba(35, 49, 77, 0.58);
  background: rgba(7, 12, 25, 0.34);
  padding: 0.95rem 1rem;
}

.overview-metric::before {
  content: '';
  position: absolute;
  left: 1rem;
  right: 1rem;
  top: 0;
  height: 1px;
  background: linear-gradient(90deg, rgba(255,255,255,0), rgba(55,224,255,0.28), rgba(255,255,255,0));
}

.overview-metric__label {
  margin: 0;
  font-size: 0.68rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: #7f93b8;
}

.overview-metric__value {
  display: block;
  margin-top: 0.6rem;
  font-size: 1.12rem;
  line-height: 1.35;
  font-weight: 800;
  color: #f8fbff;
}

.overview-metric__meta {
  margin: 0.45rem 0 0;
  font-size: 0.8rem;
  line-height: 1.65;
  color: #8fa2c7;
}

.overview-metric-success {
  border-color: rgba(52, 211, 153, 0.24);
}

.overview-metric-success .overview-metric__value {
  color: #b8f7dc;
}

.overview-metric-warn {
  border-color: rgba(245, 158, 11, 0.24);
}

.overview-metric-warn .overview-metric__value {
  color: #ffd88a;
}

.overview-metric-info {
  border-color: rgba(55, 224, 255, 0.22);
}

.overview-metric-info .overview-metric__value {
  color: #b6f4ff;
}

.overview-metric-danger {
  border-color: rgba(251, 113, 133, 0.22);
}

.overview-metric-danger .overview-metric__value {
  color: #ffb8c3;
}

.overview-metric-muted .overview-metric__value {
  color: #d7e5ff;
}

.overview-lower {
  display: grid;
  gap: 1rem;
  padding-top: 0.15rem;
}

.overview-subpanel {
  border-top: 1px solid rgba(35, 49, 77, 0.78);
  padding-top: 0.95rem;
}

.overview-subpanel__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.8rem;
  margin-bottom: 0.9rem;
}

.overview-subpanel__title {
  margin: 0;
  font-size: 1rem;
  font-weight: 700;
  color: #f8fbff;
}

.overview-checklist,
.overview-timeline {
  display: grid;
  gap: 0.75rem;
}

.overview-check-item,
.overview-event {
  border-radius: 0.7rem;
  border: 1px solid rgba(35, 49, 77, 0.5);
  background: rgba(12, 19, 34, 0.38);
  padding: 0.85rem 0.9rem;
}

.overview-check-item {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 0.9rem;
}

.overview-check-item__title,
.overview-event__title {
  margin: 0;
  font-size: 0.92rem;
  font-weight: 700;
  color: #eef7ff;
}

.overview-check-item__desc,
.overview-event__desc {
  margin: 0.3rem 0 0;
  font-size: 0.8rem;
  line-height: 1.65;
  color: #8fa2c7;
}

.overview-check-item__status {
  display: inline-flex;
  align-items: center;
  min-height: 1.9rem;
  white-space: nowrap;
  border-radius: 999px;
  padding: 0.2rem 0.7rem;
  font-size: 0.74rem;
  font-weight: 800;
}

.overview-check-item__status-ready {
  color: #b8f7dc;
  background: rgba(52, 211, 153, 0.12);
  border: 1px solid rgba(52, 211, 153, 0.2);
}

.overview-check-item__status-pending {
  color: #ffd88a;
  background: rgba(245, 158, 11, 0.12);
  border: 1px solid rgba(245, 158, 11, 0.2);
}

.overview-event__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
  margin-top: 0.55rem;
}

.overview-event__time,
.overview-event__tag {
  display: inline-flex;
  align-items: center;
  border-radius: 999px;
  padding: 0.22rem 0.62rem;
  font-size: 0.72rem;
  font-weight: 700;
}

.overview-event__time {
  color: #d6e5ff;
  background: rgba(148, 163, 184, 0.12);
}

.overview-event__tag {
  color: #b6f4ff;
  background: rgba(55, 224, 255, 0.1);
}

.overview-empty {
  border-radius: 0.82rem;
  border: 1px dashed rgba(55, 224, 255, 0.18);
  background: rgba(8, 13, 25, 0.5);
  padding: 1rem;
  font-size: 0.84rem;
  line-height: 1.7;
  color: #8fa2c7;
}

.task-panel {
  overflow: hidden;
}

.task-hero {
  display: grid;
  gap: 1rem;
  border: 1px solid rgba(56, 189, 248, 0.14);
  border-radius: 0.9rem;
  padding: 1.1rem;
  background:
    radial-gradient(circle at top left, rgba(59, 130, 246, 0.14), transparent 34%),
    linear-gradient(135deg, rgba(8, 16, 32, 0.96), rgba(5, 11, 23, 0.92));
}

.task-hero__title {
  margin: 0;
  font-size: clamp(1.35rem, 1.8vw, 1.85rem);
  line-height: 1.12;
  font-weight: 800;
  color: #f8fbff;
}

.task-hero__desc {
  margin: 0.65rem 0 0;
  font-size: 0.88rem;
  line-height: 1.72;
  color: #8fa2c7;
}

.task-chip-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
  margin-top: 0.95rem;
}

.task-chip {
  display: inline-flex;
  align-items: center;
  min-height: 2rem;
  border-radius: 999px;
  padding: 0.3rem 0.82rem;
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  color: #dce8ff;
  background: rgba(15, 23, 42, 0.9);
  border: 1px solid rgba(56, 189, 248, 0.12);
}

.task-chip strong {
  margin-left: 0.42rem;
  color: #ffffff;
}

.task-hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.7rem;
  align-items: stretch;
}

.task-hero__status {
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
  gap: 0.8rem;
  min-height: 100%;
  border-radius: 0.85rem;
  border: 1px solid rgba(35, 49, 77, 0.85);
  background: rgba(7, 12, 25, 0.72);
  padding: 0.95rem 1rem;
}

.task-hero__status-dot {
  width: 0.8rem;
  height: 0.8rem;
  border-radius: 999px;
  box-shadow: 0 0 16px currentColor;
}

.task-hero__status-label {
  margin: 0;
  font-size: 0.7rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: #8fa2c7;
}

.task-hero__status-value {
  display: block;
  margin-top: 0.2rem;
  font-size: 1rem;
  font-weight: 800;
  color: #ffffff;
}

.task-hero__status-running {
  border-color: rgba(245, 158, 11, 0.3);
}

.task-hero__status-running .task-hero__status-dot {
  color: #f59e0b;
  background: #f59e0b;
}

.task-hero__status-enabled {
  border-color: rgba(52, 211, 153, 0.28);
}

.task-hero__status-enabled::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(100deg, transparent 18%, rgba(52, 211, 153, 0.08) 45%, rgba(167, 243, 208, 0.24) 50%, rgba(52, 211, 153, 0.08) 55%, transparent 82%);
  transform: translateX(-140%);
  animation: statusSweep 2.4s linear infinite;
  pointer-events: none;
}

.task-hero__status-enabled .task-hero__status-dot {
  color: #34d399;
  background: #34d399;
  animation: statusTrack 1.1s linear infinite;
}

.task-hero__status-stopped {
  border-color: rgba(148, 163, 184, 0.24);
}

.task-hero__status-stopped .task-hero__status-dot {
  color: #94a3b8;
  background: #94a3b8;
}

.task-metrics-grid {
  display: grid;
  gap: 0.8rem;
}

.task-metric {
  border-radius: 0.88rem;
  border: 1px solid rgba(35, 49, 77, 0.88);
  background: linear-gradient(180deg, rgba(9, 15, 29, 0.95), rgba(5, 10, 20, 0.92));
  padding: 1rem;
}

.task-metric__label {
  margin: 0;
  font-size: 0.68rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: #7f93b8;
}

.task-metric__value {
  display: block;
  margin-top: 0.6rem;
  font-size: 1.08rem;
  line-height: 1.35;
  font-weight: 800;
  color: #f8fbff;
}

.task-metric__meta {
  margin: 0.42rem 0 0;
  font-size: 0.8rem;
  line-height: 1.65;
  color: #8fa2c7;
}

.task-lower {
  display: grid;
  gap: 1rem;
}

.task-subpanel {
  border-radius: 0.9rem;
  border: 1px solid rgba(35, 49, 77, 0.88);
  background: rgba(6, 11, 23, 0.72);
  padding: 1rem;
}

.task-subpanel__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.8rem;
  margin-bottom: 0.9rem;
}

.task-subpanel__title {
  margin: 0;
  font-size: 1rem;
  font-weight: 700;
  color: #f8fbff;
}

@keyframes statusSweep {
  0% {
    transform: translateX(-140%);
  }
  100% {
    transform: translateX(140%);
  }
}

@keyframes statusTrack {
  0%, 100% {
    box-shadow: 0 0 10px rgba(52, 211, 153, 0.3);
  }
  50% {
    box-shadow: 0 0 18px rgba(52, 211, 153, 0.6);
  }
}

.task-signal-list,
.task-timeline {
  display: grid;
  gap: 0.75rem;
}

.task-signal,
.task-event {
  border-radius: 0.82rem;
  border: 1px solid rgba(35, 49, 77, 0.74);
  background: rgba(12, 19, 34, 0.72);
  padding: 0.9rem 0.95rem;
}

.task-signal {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 0.9rem;
}

.task-signal__title,
.task-event__title {
  margin: 0;
  font-size: 0.92rem;
  font-weight: 700;
  color: #eef7ff;
}

.task-signal__desc,
.task-event__desc {
  margin: 0.3rem 0 0;
  font-size: 0.8rem;
  line-height: 1.65;
  color: #8fa2c7;
}

.task-signal__status {
  display: inline-flex;
  align-items: center;
  min-height: 1.9rem;
  white-space: nowrap;
  border-radius: 999px;
  padding: 0.2rem 0.7rem;
  font-size: 0.74rem;
  font-weight: 800;
}

.task-signal__status-ready {
  color: #b8f7dc;
  background: rgba(52, 211, 153, 0.12);
  border: 1px solid rgba(52, 211, 153, 0.2);
}

.task-signal__status-pending {
  color: #ffd88a;
  background: rgba(245, 158, 11, 0.12);
  border: 1px solid rgba(245, 158, 11, 0.2);
}

.task-event__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
  margin-top: 0.55rem;
}

.task-event__time,
.task-event__tag {
  display: inline-flex;
  align-items: center;
  border-radius: 999px;
  padding: 0.22rem 0.62rem;
  font-size: 0.72rem;
  font-weight: 700;
}

.task-event__time {
  color: #d6e5ff;
  background: rgba(148, 163, 184, 0.12);
}

.task-event__tag {
  color: #b6f4ff;
  background: rgba(56, 189, 248, 0.1);
}

@media (min-width: 1024px) {
  .dashboard-shell {
    display: grid;
    grid-template-columns: 240px minmax(0, 1fr);
  }

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

  .overview-hero {
    grid-template-columns: minmax(0, 1.6fr) minmax(280px, 0.9fr);
    align-items: end;
  }

  .overview-lower {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  }

  .task-hero {
    grid-template-columns: minmax(0, 1.45fr) minmax(300px, 0.85fr);
    align-items: stretch;
  }

  .task-lower {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  }
}

@media (min-width: 640px) {
  .status-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .overview-metrics-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .task-metrics-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (min-width: 1280px) {
  .status-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }

  .overview-metrics-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .task-metrics-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}

.nav-menu {
  display: grid;
  gap: 0.55rem;
}

.nav-button {
  width: 100%;
  border-radius: 0.8rem;
  border: 1px solid rgba(35, 49, 77, 0.95);
  background: rgba(7, 12, 25, 0.86);
  padding: 0.82rem 0.95rem;
  text-align: left;
  color: #aab9d9;
  font-size: 0.92rem;
  font-weight: 600;
  transition: transform 180ms ease, border-color 180ms ease, background 180ms ease, color 180ms ease, box-shadow 180ms ease;
}

.nav-button:hover {
  transform: translateY(-1px);
  border-color: rgba(55, 224, 255, 0.34);
  color: #eef7ff;
}

.nav-button.active {
  border-color: rgba(55, 224, 255, 0.38);
  background: linear-gradient(135deg, rgba(11, 31, 60, 0.96), rgba(19, 74, 130, 0.78));
  color: #ffffff;
  box-shadow: inset 0 0 0 1px rgba(55, 224, 255, 0.1), 0 14px 30px rgba(2, 8, 23, 0.28);
}

.tech-input {
  width: 100%;
  border-radius: 0.8rem;
  border: 1px solid rgba(35, 49, 77, 0.95);
  background: rgba(2, 6, 23, 0.78);
  padding: 0.72rem 0.9rem;
  color: #e7eefc;
  font-weight: 600;
  outline: none;
  transition: border-color 180ms ease, box-shadow 180ms ease, transform 180ms ease;
}

.tech-input::placeholder {
  color: rgba(143, 162, 199, 0.55);
}

.tech-input:focus {
  border-color: rgba(55, 224, 255, 0.65);
  box-shadow: 0 0 0 3px rgba(55, 224, 255, 0.08);
}

.tech-input-disabled {
  opacity: 0.7;
  cursor: not-allowed;
}

.plate-input-group {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 0.6rem;
}

.location-picker-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 0.6rem;
}

.helper-copy {
  margin: 0.15rem 0 0;
  color: #7f93b8;
  font-size: 0.76rem;
  line-height: 1.65;
}

.action-guide {
  margin-bottom: 0.95rem;
  border-radius: 0.85rem;
  border: 1px solid rgba(55, 224, 255, 0.2);
  background: linear-gradient(180deg, rgba(8, 20, 39, 0.9), rgba(6, 14, 28, 0.86));
  padding: 0.95rem 1rem;
  box-shadow: inset 0 0 0 1px rgba(55, 224, 255, 0.05);
}

.action-guide__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.8rem;
  margin-bottom: 0.8rem;
}

.action-guide__badge {
  display: inline-flex;
  align-items: center;
  border-radius: 999px;
  border: 1px solid rgba(55, 224, 255, 0.28);
  background: rgba(55, 224, 255, 0.1);
  padding: 0.3rem 0.7rem;
  color: #c6f6ff;
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0.06em;
}

.action-guide__list {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 0.65rem;
}

.action-guide__list li {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  align-items: start;
  gap: 0.7rem;
  color: #d9e8ff;
  font-size: 0.84rem;
  line-height: 1.6;
  font-weight: 600;
}

.action-guide__index {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 1.35rem;
  height: 1.35rem;
  border-radius: 999px;
  background: linear-gradient(135deg, rgba(18, 69, 125, 0.95), rgba(30, 144, 255, 0.95));
  color: #ffffff;
  font-size: 0.74rem;
  font-weight: 800;
  box-shadow: 0 0 0 1px rgba(55, 224, 255, 0.12);
}

.helper-link {
  color: #8be9ff;
  font-weight: 700;
}

.tech-button {
  border-radius: 0.8rem;
  border: 1px solid rgba(53, 72, 107, 0.95);
  background: rgba(15, 23, 40, 0.95);
  padding: 0.68rem 0.95rem;
  color: #dbe7ff;
  font-size: 0.84rem;
  font-weight: 600;
  transition: transform 180ms ease, border-color 180ms ease, box-shadow 180ms ease, background 180ms ease;
}

.tech-button:hover {
  transform: translateY(-1px);
  border-color: rgba(55, 224, 255, 0.55);
  box-shadow: 0 0 0 1px rgba(55, 224, 255, 0.09), 0 10px 25px rgba(2, 8, 23, 0.35);
}

.tech-button-primary {
  border-color: rgba(55, 224, 255, 0.3);
  background: linear-gradient(135deg, rgba(18, 69, 125, 0.95), rgba(30, 144, 255, 0.95));
  color: white;
}

.tech-button-danger {
  border-color: rgba(251, 113, 133, 0.28);
  background: linear-gradient(135deg, rgba(127, 29, 29, 0.92), rgba(190, 24, 93, 0.9));
  color: #fff5f7;
}

.tech-button-disabled,
.tech-button:disabled {
  opacity: 0.45;
  cursor: not-allowed;
  box-shadow: none;
  transform: none;
}

.tech-button:disabled:hover {
  border-color: rgba(53, 72, 107, 0.95);
  box-shadow: none;
  transform: none;
}

.tech-button-loading {
  position: relative;
}

.tech-button-loading::before {
  content: '';
  display: inline-block;
  width: 0.82rem;
  height: 0.82rem;
  margin-right: 0.5rem;
  border-radius: 999px;
  border: 2px solid rgba(219, 231, 255, 0.28);
  border-top-color: rgba(255, 255, 255, 0.96);
  vertical-align: -0.12rem;
  animation: buttonSpin 0.8s linear infinite;
}

@keyframes buttonSpin {
  from {
    transform: rotate(0deg);
  }

  to {
    transform: rotate(360deg);
  }
}

.auth-tab {
  color: #8fa2c7;
  transition: background 180ms ease, color 180ms ease, box-shadow 180ms ease;
}

.auth-tab.active {
  background: linear-gradient(135deg, rgba(17, 48, 89, 0.95), rgba(34, 211, 238, 0.28));
  color: white;
  box-shadow: inset 0 0 0 1px rgba(55, 224, 255, 0.16);
}

.session-badge {
  border-radius: 0.7rem;
  border: 1px solid rgba(55, 224, 255, 0.18);
  background: rgba(55, 224, 255, 0.08);
  padding: 0.65rem 0.85rem;
  color: #c6f6ff;
  font-size: 0.8rem;
}

.session-pill {
  display: inline-flex;
  align-items: center;
  border-radius: 999px;
  border: 1px solid rgba(52, 211, 153, 0.18);
  background: rgba(52, 211, 153, 0.1);
  padding: 0.38rem 0.65rem;
  color: #9ff2cb;
  font-size: 0.75rem;
  font-weight: 600;
}

.notice {
  min-height: 1.5rem;
}

.notice[data-type='error'] {
  color: #fb7185;
}

.notice[data-type='warn'] {
  color: #f59e0b;
}

.notice[data-type='success'] {
  color: #34d399;
}

.site-footer {
  margin-top: auto;
  padding: 1rem 0 0.2rem;
  border-top: 1px solid rgba(35, 49, 77, 0.6);
}

.site-footer__inner {
  max-width: 62rem;
}

.site-footer__title {
  margin: 0 0 0.6rem;
  font-size: 0.8rem;
  font-weight: 600;
  color: #d7e5ff;
}

.site-footer__text {
  margin: 0.45rem 0 0;
  font-size: 0.75rem;
  line-height: 1.65;
  color: #7f93b8;
}

.modal-shell {
  position: fixed;
  inset: 0;
  z-index: 50;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1rem;
}

.modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(2, 6, 23, 0.74);
  backdrop-filter: blur(10px);
}

.modal-card {
  position: relative;
  width: min(760px, calc(100vw - 24px));
  border-radius: 1rem;
  border: 1px solid rgba(35, 49, 77, 0.92);
  background: linear-gradient(180deg, rgba(11, 18, 32, 0.96), rgba(6, 11, 23, 0.98));
  padding: 1.2rem;
  box-shadow: 0 0 0 1px rgba(55, 224, 255, 0.08), 0 20px 50px rgba(2, 8, 23, 0.58);
}

.modal-copy,
.modal-hint {
  color: #8fa2c7;
  font-size: 0.82rem;
}

.modal-copy {
  margin: 0.8rem 0 0;
}

.modal-block {
  margin-top: 1rem;
}

.modal-label {
  display: block;
  margin: 0 0 0.6rem;
  color: #dbe7ff;
  font-size: 0.82rem;
  font-weight: 600;
}

.province-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(52px, 1fr));
  gap: 0.55rem;
}

.plate-mode-switch {
  display: inline-flex;
  gap: 0.55rem;
  padding: 0.25rem;
  border-radius: 0.9rem;
  border: 1px solid rgba(35, 49, 77, 0.95);
  background: rgba(7, 12, 25, 0.86);
}

.plate-mode-button {
  min-height: 2.35rem;
  padding: 0.45rem 0.9rem;
  border-radius: 0.72rem;
  border: 1px solid transparent;
  color: #94a6c7;
  font-size: 0.82rem;
  font-weight: 700;
  transition: border-color 180ms ease, background 180ms ease, color 180ms ease;
}

.plate-mode-button.active {
  border-color: rgba(55, 224, 255, 0.35);
  background: linear-gradient(135deg, rgba(15, 60, 103, 0.98), rgba(32, 143, 219, 0.8));
  color: #ffffff;
}

.plate-type-row {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.8rem;
}

.province-chip {
  border-radius: 0.75rem;
  border: 1px solid rgba(35, 49, 77, 0.95);
  background: rgba(7, 12, 25, 0.86);
  min-height: 2.45rem;
  color: #9fb0ce;
  font-size: 0.84rem;
  font-weight: 700;
  transition: border-color 180ms ease, transform 180ms ease, background 180ms ease;
}

.province-chip:hover {
  transform: translateY(-1px);
  border-color: rgba(55, 224, 255, 0.4);
}

.province-chip.active {
  border-color: rgba(55, 224, 255, 0.42);
  background: linear-gradient(135deg, rgba(15, 60, 103, 0.98), rgba(32, 143, 219, 0.8));
  color: #ffffff;
}

.plate-key-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(50px, 1fr));
  gap: 0.5rem;
}

.plate-key {
  min-height: 2.55rem;
  border-radius: 0.75rem;
  border: 1px solid rgba(35, 49, 77, 0.95);
  background: rgba(7, 12, 25, 0.86);
  color: #98aac9;
  font-size: 0.82rem;
  font-weight: 700;
  transition: border-color 180ms ease, transform 180ms ease, background 180ms ease;
}

.plate-key:hover {
  transform: translateY(-1px);
  border-color: rgba(55, 224, 255, 0.4);
}

.plate-tool-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.8rem;
  margin-top: 0.75rem;
}

.modal-preview__value {
  color: #8be9ff;
  font-size: 1.18rem;
  font-weight: 800;
  letter-spacing: 0.08em;
}

.modal-preview__plate {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 12rem;
  min-height: 3.55rem;
  padding: 0.5rem 1rem;
  border-radius: 0.75rem;
  border: 2px solid rgba(255, 255, 255, 0.28);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.12);
  font-size: 1.35rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  color: #ffffff;
  text-shadow: none;
}

.modal-preview__plate--normal {
  background: linear-gradient(180deg, #2f80ff 0%, #1255cf 100%);
}

.modal-preview__plate--new-energy {
  background: linear-gradient(180deg, #40cf6a 0%, #1d9f47 100%);
}

.modal-preview__plate--empty {
  background: linear-gradient(180deg, rgba(59, 76, 109, 0.45) 0%, rgba(30, 41, 59, 0.72) 100%);
  color: #c9d5eb;
  letter-spacing: 0.04em;
}

.modal-actions {
  display: flex;
  justify-content: flex-end;
  gap: 0.6rem;
  margin-top: 1rem;
}


@media (max-height: 860px) {
  .hero-flat {
    padding-bottom: 0.45rem;
  }

  .hero-flat__desc {
    font-size: 0.88rem;
    line-height: 1.62;
  }

  .hero-flat__tags {
    margin-top: 0.7rem;
    gap: 0.5rem;
  }

  .hero-tag {
    min-height: 1.8rem;
    padding: 0.2rem 0.72rem;
    font-size: 0.74rem;
  }

  .site-footer {
    padding-top: 0.8rem;
  }

  .site-footer__text {
    line-height: 1.55;
  }
}

.stack-list {
  display: grid;
  gap: 0.75rem;
}

.stack-card {
  border-radius: 0.85rem;
  border: 1px solid rgba(35, 49, 77, 0.8);
  background: linear-gradient(180deg, rgba(8, 13, 27, 0.88), rgba(4, 8, 20, 0.88));
  padding: 1rem;
}

.stack-card p {
  margin: 0.35rem 0 0;
}

.stack-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 0.85rem;
}

.actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 0.5rem;
}

.status-card p,
.status-card .status-label {
  margin: 0 0 0.55rem;
}

.log-entry {
  border-radius: 0.85rem;
  border: 1px solid rgba(35, 49, 77, 0.8);
  background: linear-gradient(180deg, rgba(8, 13, 27, 0.88), rgba(4, 8, 20, 0.88));
  padding: 1rem;
}

.log-entry p {
  margin: 0.45rem 0 0;
  color: #8fa2c7;
  word-break: break-word;
}

.log-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
}

.log-pagination {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 0.7rem;
  margin-top: 1rem;
}

.log-page-info {
  min-width: 5.5rem;
  text-align: center;
  color: #8fa2c7;
  font-size: 0.82rem;
  font-weight: 600;
}

.badge {
  display: inline-flex;
  align-items: center;
  border-radius: 999px;
  padding: 0.28rem 0.55rem;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.08em;
}

.badge.info {
  background: rgba(55, 224, 255, 0.12);
  color: #8be9ff;
}

.badge.warn {
  background: rgba(245, 158, 11, 0.14);
  color: #f8c76a;
}

.badge.error {
  background: rgba(251, 113, 133, 0.14);
  color: #ff8da1;
}

#logList,
#sessionsList,
#vehiclesList {
  scrollbar-width: thin;
  scrollbar-color: rgba(55, 224, 255, 0.35) transparent;
}

::-webkit-scrollbar {
  width: 9px;
  height: 9px;
}

::-webkit-scrollbar-thumb {
  border-radius: 999px;
  background: rgba(55, 224, 255, 0.25);
}

::-webkit-scrollbar-track {
  background: transparent;
}
