﻿:root {
  --tech-bg: #060b13;
  --tech-panel: rgba(10, 20, 34, .82);
  --tech-panel-strong: rgba(13, 27, 46, .94);
  --tech-line: rgba(90, 219, 255, .28);
  --tech-line-soft: rgba(255, 255, 255, .09);
  --tech-text: #d9f7ff;
  --tech-muted: #86a8ba;
  --tech-cyan: #35d7ff;
  --tech-lime: #9cff6a;
  --tech-gold: #ffd166;
  --tech-red: #ff5d73;
  --tech-radius: 18px;
}

html.tech-login-html,
html.tech-login-html body {
  min-height: 100%;
}

body.tech-login {
  margin: 0;
  min-height: 100vh;
  color: var(--tech-text);
  background:
    radial-gradient(circle at 18% 18%, rgba(53, 215, 255, .24), transparent 28%),
    radial-gradient(circle at 78% 8%, rgba(156, 255, 106, .13), transparent 26%),
    radial-gradient(circle at 64% 82%, rgba(255, 209, 102, .12), transparent 30%),
    linear-gradient(135deg, #030711 0%, #07131f 48%, #0b1726 100%);
  font-family: "Microsoft YaHei", "PingFang SC", "Helvetica Neue", Arial, sans-serif;
  overflow-x: hidden;
}

.tech-particle-canvas {
  position: fixed;
  inset: 0;
  width: 100vw;
  height: 100vh;
  z-index: -1;
  pointer-events: none;
  opacity: .92;
}

.tech-login-shell {
  position: relative;
  min-height: 100vh;
  display: grid;
  grid-template-columns: minmax(0, 1.12fr) minmax(380px, .88fr);
  isolation: isolate;
}

.tech-login-shell::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  background-image:
    linear-gradient(rgba(53, 215, 255, .08) 1px, transparent 1px),
    linear-gradient(90deg, rgba(53, 215, 255, .08) 1px, transparent 1px);
  background-size: 42px 42px;
  mask-image: radial-gradient(circle at center, #000 0%, transparent 74%);
  z-index: -3;
}

.tech-login-shell::after {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(180deg, transparent, rgba(53, 215, 255, .05), transparent);
  background-size: 100% 9px;
  opacity: .55;
  z-index: -2;
}

.tech-login-shell .tech-login-panel::before {
  content: "";
  position: absolute;
  width: 72vmin;
  height: 72vmin;
  border-radius: 50%;
  background:
    conic-gradient(from 0deg, transparent, rgba(53, 215, 255, .26), transparent, rgba(156, 255, 106, .2), transparent);
  filter: blur(.2px);
  opacity: .48;
  animation: techSpin 18s linear infinite;
}

.tech-login-shell .tech-login-panel::after {
  content: "";
  position: absolute;
  inset: 13%;
  border: 1px solid rgba(53, 215, 255, .18);
  clip-path: polygon(0 13%, 13% 0, 87% 0, 100% 13%, 100% 87%, 87% 100%, 13% 100%, 0 87%);
  pointer-events: none;
  animation: techPulseFrame 2.7s ease-in-out infinite;
}

.tech-hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding: 8vh 7vw;
  overflow: hidden;
}

.tech-hero::before,
.tech-hero::after {
  content: "";
  position: absolute;
  border: 1px solid rgba(53, 215, 255, .22);
  border-radius: 50%;
  filter: drop-shadow(0 0 18px rgba(53, 215, 255, .24));
}

.tech-hero::before {
  width: 520px;
  height: 520px;
  right: 7vw;
  top: 11vh;
  animation: techSpin 26s linear infinite;
}

.tech-hero::after {
  width: 760px;
  height: 760px;
  right: -10vw;
  top: 3vh;
  border-style: dashed;
  opacity: .58;
  animation: techSpin 42s linear reverse infinite;
}

.tech-hero-inner {
  position: relative;
  width: min(680px, 100%);
  z-index: 1;
}

.tech-hero-inner::after {
  content: "";
  position: absolute;
  left: 0;
  top: -34px;
  width: 180px;
  height: 180px;
  border: 1px solid rgba(156, 255, 106, .22);
  transform: rotate(45deg);
  opacity: .42;
  animation: techFloat 6.4s ease-in-out infinite;
  pointer-events: none;
}

.tech-kicker,
.tech-card-kicker {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--tech-lime);
  letter-spacing: .18em;
  text-transform: uppercase;
  font-size: 12px;
  font-weight: 700;
}

.tech-kicker::before,
.tech-card-kicker::before {
  content: "";
  width: 34px;
  height: 2px;
  background: linear-gradient(90deg, var(--tech-cyan), var(--tech-lime));
  box-shadow: 0 0 16px rgba(53, 215, 255, .75);
}

.tech-hero h1 {
  margin: 24px 0 20px;
  font-size: clamp(42px, 6vw, 78px);
  line-height: 1.02;
  letter-spacing: 0;
  color: #f1fdff;
  text-shadow: 0 0 30px rgba(53, 215, 255, .24);
}

.tech-hero p {
  width: min(560px, 100%);
  margin: 0;
  color: #a7c7d6;
  font-size: 16px;
  line-height: 1.9;
}

.tech-metrics {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  width: min(620px, 100%);
  margin-top: 42px;
}

.tech-metric {
  position: relative;
  padding: 18px;
  border: 1px solid var(--tech-line-soft);
  background: rgba(6, 16, 28, .56);
  backdrop-filter: blur(14px);
  border-radius: 14px;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .06);
  overflow: hidden;
}

.tech-metric::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(110deg, transparent 0%, rgba(255, 255, 255, .12) 45%, transparent 60%);
  transform: translateX(-140%);
  animation: techSheen 5.4s ease-in-out infinite;
}

.tech-metric strong {
  display: block;
  color: var(--tech-cyan);
  font-size: 24px;
  line-height: 1;
}

.tech-metric span {
  display: block;
  margin-top: 9px;
  color: var(--tech-muted);
  font-size: 12px;
}

.tech-login-panel {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 42px;
  background: linear-gradient(180deg, rgba(6, 12, 20, .72), rgba(6, 12, 20, .94));
}

.tech-login-card {
  position: relative;
  width: min(440px, 100%);
  padding: 38px;
  border: 1px solid var(--tech-line);
  border-radius: var(--tech-radius);
  background:
    linear-gradient(135deg, rgba(255, 255, 255, .08), transparent 38%),
    var(--tech-panel);
  box-shadow:
    0 24px 80px rgba(0, 0, 0, .48),
    inset 0 1px 0 rgba(255, 255, 255, .09),
    0 0 0 1px rgba(53, 215, 255, .05);
  backdrop-filter: blur(22px);
  overflow: hidden;
  transform-style: preserve-3d;
  transition: transform .18s ease, box-shadow .18s ease;
}

.tech-login-card::before {
  content: "";
  position: absolute;
  inset: 0 0 auto;
  height: 3px;
  background: linear-gradient(90deg, transparent, var(--tech-cyan), var(--tech-lime), transparent);
  animation: techScan 3s ease-in-out infinite;
}

.tech-login-card::after {
  content: "";
  position: absolute;
  inset: 1px;
  border-radius: calc(var(--tech-radius) - 1px);
  pointer-events: none;
  background:
    linear-gradient(90deg, transparent, rgba(53, 215, 255, .12), transparent) 0 0 / 100% 1px no-repeat,
    linear-gradient(180deg, transparent, rgba(156, 255, 106, .08), transparent) 0 0 / 1px 100% no-repeat;
  animation: techCardTrace 4.6s linear infinite;
}

.tech-login-card h2 {
  margin: 14px 0 8px;
  color: #f6fdff;
  font-size: 30px;
  letter-spacing: 0;
}

.tech-login-card .tech-subtitle {
  margin: 0 0 30px;
  color: var(--tech-muted);
  font-size: 14px;
}

.tech-field {
  position: relative;
  margin-bottom: 20px;
}

.tech-field label {
  display: block;
  margin: 0 0 9px;
  color: #b9ddeb;
  font-size: 13px;
  font-weight: 700;
}

.tech-field input[type="text"],
.tech-field input[type="password"] {
  width: 100%;
  height: 52px;
  box-sizing: border-box;
  border: 1px solid rgba(113, 211, 255, .24);
  border-radius: 12px;
  outline: none;
  padding: 0 16px 0 44px;
  color: #eefcff;
  background: rgba(4, 13, 24, .78);
  transition: border-color .2s ease, box-shadow .2s ease, transform .2s ease;
}

.tech-field::before {
  position: absolute;
  left: 15px;
  bottom: 15px;
  color: var(--tech-cyan);
  font-size: 17px;
}

.tech-field.tech-user::before { content: "◇"; }
.tech-field.tech-pass::before { content: "◈"; }

.tech-field input:focus {
  border-color: rgba(53, 215, 255, .82);
  box-shadow: 0 0 0 4px rgba(53, 215, 255, .09), 0 0 24px rgba(53, 215, 255, .18);
  transform: translateY(-1px);
}

.tech-actions {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin: 6px 0 24px;
  color: var(--tech-muted);
  font-size: 13px;
}

.tech-actions label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  cursor: pointer;
}

.tech-actions input[type="checkbox"] {
  accent-color: var(--tech-cyan);
}

.tech-actions a,
.tech-link {
  color: var(--tech-cyan);
  text-decoration: none;
}

.tech-login-button,
.tech-secondary-link {
  position: relative;
  width: 100%;
  min-height: 52px;
  border: 0;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #03101a;
  font-weight: 800;
  letter-spacing: .08em;
  background: linear-gradient(100deg, var(--tech-cyan), var(--tech-lime));
  box-shadow: 0 16px 34px rgba(53, 215, 255, .28);
  cursor: pointer;
  transition: transform .2s ease, box-shadow .2s ease, filter .2s ease;
  overflow: hidden;
}

.tech-login-button::after,
.tech-secondary-link::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(105deg, transparent, rgba(255, 255, 255, .42), transparent);
  transform: translateX(-120%);
  transition: transform .48s ease;
}

.tech-login-button:hover,
.tech-secondary-link:hover {
  color: #03101a;
  transform: translateY(-2px);
  filter: saturate(1.12);
  box-shadow: 0 20px 44px rgba(53, 215, 255, .36);
}

.tech-login-button:hover::after,
.tech-secondary-link:hover::after {
  transform: translateX(120%);
}

.tech-secondary-link {
  margin-top: 14px;
  color: var(--tech-text);
  background: rgba(53, 215, 255, .08);
  border: 1px solid rgba(53, 215, 255, .3);
  box-shadow: none;
}

.tech-secondary-link:hover {
  color: #f5feff;
  background: rgba(53, 215, 255, .16);
}

.tech-login-footer {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 4;
  color: rgba(217, 247, 255, .62);
  background: rgba(3, 8, 14, .72);
  border-top: 1px solid rgba(53, 215, 255, .14);
  backdrop-filter: blur(14px);
}

.tech-login-footer .foot-cop,
.tech-login-footer .ceo-background-secondary {
  background: transparent;
}

.tech-login-footer .ceo-container {
  box-sizing: border-box;
  max-width: 1440px;
  margin: 0 auto;
  padding: 12px 24px;
}

.tech-login-footer .ceo-float-left {
  float: left;
}

.tech-login-footer .ceo-float-right {
  float: right;
}

.tech-login-footer .ceo-clearfix::after {
  content: "";
  display: table;
  clear: both;
}

.tech-login-footer a {
  color: rgba(217, 247, 255, .82);
}

.tech-modal .modal-content {
  color: var(--tech-text);
  background: rgba(9, 20, 34, .96);
  border: 1px solid rgba(53, 215, 255, .28);
  border-radius: 16px;
  box-shadow: 0 20px 70px rgba(0, 0, 0, .48);
}

.tech-modal .modal-header,
.tech-modal .modal-footer {
  border-color: rgba(53, 215, 255, .13);
}

.tech-modal .modal-body {
  text-align: center;
}

.tech-modal .modal-body img {
  max-width: 100%;
  height: auto;
  border-radius: 12px;
}

.tech-modal .btn-primary {
  background: linear-gradient(100deg, var(--tech-cyan), var(--tech-lime));
  border: 0;
  color: #06111c;
}

.tech-login.is-ready .tech-login-card,
.tech-login.is-ready .tech-hero-inner {
  animation: techRise .72s cubic-bezier(.2, .72, .2, 1) both;
}

.tech-login.is-ready .tech-login-card { animation-delay: .08s; }

body.layui-layout-body {
  background: #07111d;
}

#LAY_app .layui-layout-admin .layui-header {
  background:
    linear-gradient(90deg, rgba(7, 17, 29, .96), rgba(10, 30, 46, .94)) !important;
  border-bottom: 1px solid rgba(53, 215, 255, .16);
  box-shadow: 0 10px 34px rgba(0, 0, 0, .28);
}

#LAY_app .layui-side-menu {
  background:
    radial-gradient(circle at 50% 0%, rgba(53, 215, 255, .17), transparent 34%),
    linear-gradient(180deg, #07111d, #040811 82%) !important;
  border-right: 1px solid rgba(53, 215, 255, .15);
  box-shadow: 14px 0 40px rgba(0, 0, 0, .28);
}

#LAY_app .layui-logo {
  height: 58px;
  line-height: 58px;
  color: #f4fdff !important;
  background: rgba(53, 215, 255, .08) !important;
  border-bottom: 1px solid rgba(53, 215, 255, .18);
  letter-spacing: .04em;
}

#LAY_app .layui-logo span::before {
  content: "NEXUS";
  display: inline-flex;
  margin-right: 10px;
  padding: 2px 7px;
  color: #07111d;
  background: var(--tech-cyan);
  border-radius: 4px;
  font-size: 11px;
  font-weight: 900;
  letter-spacing: .08em;
}

#LAY_app .layui-nav {
  background: transparent !important;
}

#LAY_app .layui-nav-tree .layui-nav-item a {
  margin: 4px 10px;
  border-radius: 10px;
  color: #9fb8c7 !important;
  transition: color .18s ease, background .18s ease, transform .18s ease;
}

#LAY_app .layui-nav-tree .layui-nav-item a:hover,
#LAY_app .layui-nav-tree .layui-this > a,
#LAY_app .layui-nav-tree .layui-nav-child dd.layui-this a {
  color: #effdff !important;
  background: linear-gradient(90deg, rgba(53, 215, 255, .18), rgba(156, 255, 106, .08)) !important;
  box-shadow: inset 3px 0 0 var(--tech-cyan), 0 8px 18px rgba(0, 0, 0, .18);
  transform: translateX(2px);
}

#LAY_app .layui-nav-tree .layui-nav-child {
  background: rgba(0, 0, 0, .16) !important;
}

#LAY_app .layui-header .layui-nav .layui-nav-item a {
  color: #b8d4e0 !important;
}

#LAY_app .layui-header .layui-nav .layui-nav-item a:hover {
  color: var(--tech-cyan) !important;
}

#LAY_app .layui-input-search {
  color: #dff8ff;
  border: 1px solid rgba(53, 215, 255, .18);
  border-radius: 18px;
  background: rgba(4, 12, 22, .56);
}

#LAY_app .layadmin-pagetabs {
  background: #091522;
  border-color: rgba(53, 215, 255, .13);
}

#LAY_app .layadmin-tabs-control,
#LAY_app .layui-tab-title li {
  color: #8eb0bf;
  background: transparent;
  border-color: rgba(53, 215, 255, .12);
}

#LAY_app .layui-tab-title li.layui-this {
  color: #f1fdff;
  background: rgba(53, 215, 255, .11);
}

#LAY_app .layui-body {
  background:
    linear-gradient(rgba(53, 215, 255, .035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(53, 215, 255, .035) 1px, transparent 1px),
    #eef3f7;
  background-size: 38px 38px;
}

#LAY_app .layui-card,
.layui-fluid > .layui-card {
  border: 1px solid rgba(53, 215, 255, .12);
  border-radius: 14px;
  box-shadow: 0 18px 45px rgba(5, 16, 28, .08);
}

#LAY_app .layadmin-iframe {
  background: transparent;
}

.tech-console-ready #LAY_app::after {
  content: "";
  position: fixed;
  left: 220px;
  right: 0;
  top: 58px;
  height: 1px;
  pointer-events: none;
  background: linear-gradient(90deg, transparent, rgba(53, 215, 255, .65), transparent);
  animation: techHeaderSweep 4.2s ease-in-out infinite;
  z-index: 999;
}

@keyframes techSpin {
  to { transform: rotate(360deg); }
}

@keyframes techScan {
  0%, 100% { transform: translateX(-46%); opacity: .4; }
  50% { transform: translateX(46%); opacity: 1; }
}

@keyframes techRise {
  from { opacity: 0; transform: translateY(18px) scale(.98); }
  to { opacity: 1; transform: translateY(0) scale(1); }
}

@keyframes techHeaderSweep {
  0%, 100% { opacity: .18; transform: translateX(-22%); }
  50% { opacity: .78; transform: translateX(22%); }
}

@keyframes techSheen {
  0%, 52%, 100% { transform: translateX(-140%); }
  72% { transform: translateX(140%); }
}

@keyframes techFloat {
  0%, 100% { transform: translateY(0) rotate(45deg); }
  50% { transform: translateY(16px) rotate(50deg); }
}

@keyframes techPulseFrame {
  0%, 100% { opacity: .22; transform: scale(.99); }
  50% { opacity: .62; transform: scale(1.01); }
}

@keyframes techCardTrace {
  0% { background-position: -100% 0, 0 -100%; }
  100% { background-position: 100% 0, 0 100%; }
}

.tech-settings-page {
  background:
    linear-gradient(rgba(53, 215, 255, .045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(53, 215, 255, .045) 1px, transparent 1px),
    #eef5f8;
  background-size: 36px 36px;
}

.tech-settings-wrap {
  padding: 18px 18px 88px;
}

.tech-settings-hero {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 22px;
  min-height: 132px;
  padding: 26px 28px;
  margin-bottom: 16px;
  color: #eaffff;
  border-radius: 18px;
  background:
    radial-gradient(circle at 12% 20%, rgba(53, 215, 255, .32), transparent 34%),
    radial-gradient(circle at 86% 30%, rgba(156, 255, 106, .18), transparent 28%),
    linear-gradient(135deg, #07111d, #0c2538);
  box-shadow: 0 22px 55px rgba(4, 15, 26, .18);
  overflow: hidden;
}

.tech-settings-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(110deg, transparent, rgba(255, 255, 255, .12), transparent);
  transform: translateX(-120%);
  animation: techSheen 6.8s ease-in-out infinite;
}

.tech-settings-hero h1 {
  margin: 10px 0 8px;
  color: #f5feff;
  font-size: 30px;
  letter-spacing: 0;
}

.tech-settings-hero p {
  max-width: 760px;
  margin: 0;
  color: #a8c8d7;
  line-height: 1.8;
}

.tech-settings-actions {
  position: relative;
  z-index: 1;
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  justify-content: flex-end;
}

.tech-guide-grid,
.tech-settings-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.tech-guide-card,
.tech-settings-panel {
  border: 1px solid rgba(53, 215, 255, .14);
  border-radius: 14px;
  background: rgba(255, 255, 255, .86);
  box-shadow: 0 14px 35px rgba(8, 27, 44, .08);
}

.tech-guide-card {
  padding: 16px 18px;
}

.tech-guide-card strong {
  color: #0b2638;
}

.tech-guide-card p {
  margin: 8px 0 0;
  color: #5d7180;
  line-height: 1.75;
}

.tech-settings-grid {
  grid-template-columns: minmax(0, 1.5fr) minmax(340px, .85fr);
  margin-top: 14px;
  align-items: start;
}

.tech-settings-panel {
  padding: 18px;
}

.tech-section-title {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 16px;
  padding-bottom: 14px;
  margin-bottom: 14px;
  border-bottom: 1px solid rgba(53, 215, 255, .16);
}

.tech-section-title span {
  color: #0b2638;
  font-size: 18px;
  font-weight: 800;
}

.tech-section-title em {
  color: #728695;
  font-style: normal;
  font-size: 13px;
}

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

.tech-field-grid-small {
  grid-template-columns: 1fr;
}

.tech-setting-field {
  display: block;
  min-width: 0;
  padding: 14px;
  border: 1px solid rgba(7, 28, 42, .08);
  border-radius: 12px;
  background: linear-gradient(180deg, #ffffff, #f7fbfd);
  transition: transform .18s ease, border-color .18s ease, box-shadow .18s ease;
}

.tech-setting-field:hover {
  transform: translateY(-2px);
  border-color: rgba(53, 215, 255, .34);
  box-shadow: 0 12px 25px rgba(8, 27, 44, .08);
}

.tech-setting-field span {
  display: block;
  margin-bottom: 8px;
  color: #183247;
  font-weight: 800;
}

.tech-setting-field .layui-input {
  border-radius: 10px;
  border-color: rgba(7, 28, 42, .14);
}

.tech-setting-field .layui-input:focus {
  border-color: var(--tech-cyan) !important;
  box-shadow: 0 0 0 3px rgba(53, 215, 255, .12);
}

.tech-setting-field small {
  display: block;
  margin-top: 8px;
  color: #6d808d;
  line-height: 1.55;
}

.tech-help-panel {
  margin-top: 16px;
  padding: 18px;
  color: #dff8ff;
  border-radius: 14px;
  background: linear-gradient(135deg, #07111d, #0d2a3e);
}

.tech-help-panel h3 {
  margin: 0 0 12px;
  color: #f5feff;
  font-size: 18px;
}

.tech-help-panel p {
  margin: 10px 0 0;
  color: #b8d6e2;
  line-height: 1.8;
}

.tech-settings-footer {
  display: flex;
  align-items: center;
  gap: 10px;
  justify-content: flex-end;
  padding-right: 24px;
  background: rgba(255, 255, 255, .88) !important;
  border-top: 1px solid rgba(53, 215, 255, .18);
  backdrop-filter: blur(12px);
}

.tech-settings-ready .tech-guide-card,
.tech-settings-ready .tech-settings-panel,
.tech-settings-ready .tech-settings-hero {
  animation: techRise .56s cubic-bezier(.2, .72, .2, 1) both;
}

.tech-settings-ready .tech-guide-card:nth-child(2) { animation-delay: .05s; }
.tech-settings-ready .tech-guide-card:nth-child(3) { animation-delay: .1s; }
.tech-settings-ready .tech-settings-panel:nth-child(2) { animation-delay: .08s; }

.tech-dashboard-page {
  min-height: 100vh;
  color: #dceff7;
  background:
    radial-gradient(circle at 12% 4%, rgba(53, 215, 255, .17), transparent 26%),
    radial-gradient(circle at 92% 20%, rgba(156, 255, 106, .1), transparent 24%),
    linear-gradient(rgba(53, 215, 255, .045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(53, 215, 255, .045) 1px, transparent 1px),
    #07111d;
  background-size: auto, auto, 38px 38px, 38px 38px, auto;
}

.tech-dashboard-shell {
  position: relative;
  padding: 18px;
  overflow: hidden;
}

.tech-dashboard-shell::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(180deg, transparent, rgba(53, 215, 255, .045), transparent);
  background-size: 100% 10px;
  opacity: .35;
}

.tech-dash-hero {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 22px;
  min-height: 142px;
  padding: 26px 30px;
  margin-bottom: 16px;
  border: 1px solid rgba(53, 215, 255, .2);
  border-radius: 18px;
  background:
    linear-gradient(120deg, rgba(255, 255, 255, .08), transparent 34%),
    radial-gradient(circle at 85% 20%, rgba(53, 215, 255, .24), transparent 30%),
    rgba(8, 20, 34, .82);
  box-shadow: 0 24px 70px rgba(0, 0, 0, .22), inset 0 1px 0 rgba(255, 255, 255, .08);
  overflow: hidden;
}

.tech-dash-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(110deg, transparent, rgba(255, 255, 255, .13), transparent);
  transform: translateX(-130%);
  animation: techSheen 7.2s ease-in-out infinite;
}

.tech-dash-hero h1 {
  margin: 12px 0 8px;
  color: #f4fdff;
  font-size: 30px;
  letter-spacing: 0;
}

.tech-dash-hero p {
  max-width: 780px;
  margin: 0;
  color: #a9c6d4;
  line-height: 1.8;
}

.tech-dash-pulse {
  position: relative;
  z-index: 1;
  min-width: 170px;
  padding: 18px;
  border: 1px solid rgba(53, 215, 255, .24);
  border-radius: 16px;
  background: rgba(4, 13, 24, .62);
  text-align: center;
}

.tech-dash-pulse span {
  display: block;
  width: 52px;
  height: 52px;
  margin: 0 auto 10px;
  border-radius: 50%;
  background: radial-gradient(circle, var(--tech-lime), rgba(156, 255, 106, .08) 62%, transparent 64%);
  box-shadow: 0 0 28px rgba(156, 255, 106, .42);
  animation: techPulseDot 1.8s ease-in-out infinite;
}

.tech-dash-pulse strong,
.tech-dash-pulse em {
  display: block;
}

.tech-dash-pulse strong {
  color: var(--tech-lime);
  letter-spacing: .16em;
}

.tech-dash-pulse em {
  margin-top: 6px;
  color: #87a6b6;
  font-style: normal;
  font-size: 12px;
}

.tech-kpi-grid {
  display: grid;
  gap: 14px;
  margin-bottom: 16px;
}

.tech-kpi-grid-six {
  grid-template-columns: repeat(6, minmax(0, 1fr));
}

.tech-kpi-grid-nine {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.tech-kpi-grid-four {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.tech-kpi-card {
  position: relative;
  display: flex;
  gap: 14px;
  min-height: 104px;
  padding: 18px;
  border: 1px solid rgba(53, 215, 255, .18);
  border-radius: 16px;
  background:
    linear-gradient(135deg, rgba(53, 215, 255, .11), transparent 42%),
    rgba(9, 22, 36, .86);
  box-shadow: 0 18px 42px rgba(0, 0, 0, .18), inset 0 1px 0 rgba(255, 255, 255, .07);
  overflow: hidden;
  transition: transform .18s ease, border-color .18s ease, box-shadow .18s ease;
}

.tech-kpi-card::before {
  content: "";
  position: absolute;
  inset: 0 0 auto;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--tech-cyan), transparent);
  transform: translateX(-80%);
  animation: techScan 3.8s ease-in-out infinite;
}

.tech-kpi-card:hover {
  transform: translateY(-3px);
  border-color: rgba(53, 215, 255, .46);
  box-shadow: 0 24px 56px rgba(0, 0, 0, .26), 0 0 32px rgba(53, 215, 255, .08);
}

.tech-kpi-card.accent {
  background: linear-gradient(135deg, rgba(156, 255, 106, .12), transparent 42%), rgba(9, 22, 36, .86);
}

.tech-kpi-card.warn {
  background: linear-gradient(135deg, rgba(255, 209, 102, .16), transparent 42%), rgba(9, 22, 36, .86);
}

.tech-kpi-icon {
  width: 42px;
  height: 42px;
  flex: 0 0 42px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #03101a;
  border-radius: 12px;
  background: linear-gradient(135deg, var(--tech-cyan), var(--tech-lime));
  font-weight: 900;
  box-shadow: 0 12px 28px rgba(53, 215, 255, .2);
}

.tech-kpi-card span,
.tech-kpi-card em {
  display: block;
}

.tech-kpi-card span {
  color: #91adbd;
  font-size: 13px;
}

.tech-kpi-card strong {
  display: block;
  margin: 7px 0 5px;
  color: #f4fdff;
  font-size: 30px;
  line-height: 1;
  font-weight: 800;
  word-break: break-all;
}

.tech-kpi-card em {
  color: #6f8999;
  font-size: 12px;
  font-style: normal;
}

.tech-dashboard-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(460px, .85fr);
  gap: 16px;
  align-items: start;
}

.tech-dashboard-grid.substation-layout,
.tech-dashboard-grid.agent-layout {
  grid-template-columns: minmax(0, 1fr) 360px;
}

.tech-chart-panel,
.tech-rank-card,
.tech-side-panel {
  position: relative;
  border: 1px solid rgba(53, 215, 255, .16);
  border-radius: 16px;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, .07), transparent 36%),
    rgba(9, 22, 36, .86);
  box-shadow: 0 20px 54px rgba(0, 0, 0, .2), inset 0 1px 0 rgba(255, 255, 255, .06);
  overflow: hidden;
}

.tech-chart-panel {
  min-height: 506px;
}

.tech-chart {
  height: 440px;
  padding: 0 10px 12px;
}

.tech-panel-head {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: 18px 20px 10px;
  z-index: 1;
}

.tech-panel-head span {
  display: block;
  color: #f0fbff;
  font-size: 17px;
  font-weight: 800;
}

.tech-panel-head p {
  margin: 6px 0 0;
  color: #7592a2;
}

.tech-panel-head b {
  color: rgba(53, 215, 255, .74);
  letter-spacing: .16em;
  font-size: 11px;
}

.tech-panel-head.compact {
  padding-bottom: 12px;
}

.tech-panel-head.compact p {
  font-size: 12px;
}

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

.tech-rank-card {
  min-height: 232px;
}

.tech-rank-table {
  width: calc(100% - 28px);
  margin: 0 14px 16px;
  border-collapse: collapse;
  color: #cfe7f1;
}

.tech-rank-table th,
.tech-rank-table td {
  padding: 11px 10px;
  border-bottom: 1px solid rgba(53, 215, 255, .1);
  text-align: left;
  white-space: nowrap;
}

.tech-rank-table th {
  color: #84a1b1;
  background: rgba(53, 215, 255, .08);
}

.tech-rank-table td:last-child,
.tech-rank-table th:last-child {
  text-align: right;
  color: #aefcff;
}

.tech-side-panel {
  padding-bottom: 14px;
}

.tech-task-list {
  margin: 0;
  padding: 0 16px 16px;
}

.tech-task-list li {
  list-style: none;
  padding: 14px 0;
  border-bottom: 1px solid rgba(53, 215, 255, .12);
}

.tech-task-list li:last-child {
  border-bottom: 0;
}

.tech-task-list b,
.tech-task-list span {
  display: block;
}

.tech-task-list b {
  color: #f2fcff;
  margin-bottom: 7px;
}

.tech-task-list span {
  color: #8eaaba;
  line-height: 1.65;
}

.tech-agent-score {
  margin: 0 16px 10px;
  padding: 24px 18px;
  border-radius: 14px;
  color: #07111d;
  background: linear-gradient(135deg, var(--tech-cyan), var(--tech-lime));
  box-shadow: 0 18px 42px rgba(53, 215, 255, .2);
}

.tech-agent-score strong,
.tech-agent-score span {
  display: block;
}

.tech-agent-score strong {
  font-size: 34px;
  line-height: 1;
}

.tech-agent-score span {
  margin-top: 8px;
  font-weight: 800;
}

.tech-dashboard-ready .tech-dash-hero,
.tech-dashboard-ready .tech-kpi-card,
.tech-dashboard-ready .tech-chart-panel,
.tech-dashboard-ready .tech-rank-card,
.tech-dashboard-ready .tech-side-panel {
  animation: techRise .56s cubic-bezier(.2, .72, .2, 1) both;
}

.tech-dashboard-ready .tech-kpi-card:nth-child(2) { animation-delay: .04s; }
.tech-dashboard-ready .tech-kpi-card:nth-child(3) { animation-delay: .08s; }
.tech-dashboard-ready .tech-kpi-card:nth-child(4) { animation-delay: .12s; }
.tech-dashboard-ready .tech-kpi-card:nth-child(5) { animation-delay: .16s; }
.tech-dashboard-ready .tech-kpi-card:nth-child(6) { animation-delay: .2s; }
.tech-dashboard-ready .tech-kpi-card:nth-child(7) { animation-delay: .24s; }
.tech-dashboard-ready .tech-kpi-card:nth-child(8) { animation-delay: .28s; }
.tech-dashboard-ready .tech-kpi-card:nth-child(9) { animation-delay: .32s; }

@keyframes techPulseDot {
  0%, 100% { transform: scale(.86); opacity: .76; }
  50% { transform: scale(1); opacity: 1; }
}

.tech-workbench-page {
  min-height: 100vh;
  color: #1f2d3d;
  background:
    radial-gradient(circle at 12% 0%, rgba(79, 101, 255, .08), transparent 28%),
    radial-gradient(circle at 92% 18%, rgba(27, 187, 215, .08), transparent 24%),
    linear-gradient(rgba(32, 109, 255, .035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(32, 109, 255, .035) 1px, transparent 1px),
    #f3f6fa;
  background-size: auto, auto, 32px 32px, 32px 32px, auto;
}

.tech-workbench-shell {
  padding: 14px;
}

.tech-workbench-hero {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  min-height: 96px;
  margin-bottom: 14px;
  padding: 18px 22px;
  border: 1px solid rgba(79, 101, 255, .12);
  border-radius: 10px;
  background:
    linear-gradient(115deg, rgba(79, 101, 255, .10), transparent 34%),
    rgba(255, 255, 255, .92);
  box-shadow: 0 12px 30px rgba(30, 52, 92, .07);
}

.tech-mini-label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: #4f65ff;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .12em;
}

.tech-mini-label::before {
  content: "";
  width: 24px;
  height: 2px;
  background: linear-gradient(90deg, #4f65ff, #1bbbd7);
}

.tech-workbench-hero h1 {
  margin: 8px 0 6px;
  color: #172334;
  font-size: 24px;
  letter-spacing: 0;
}

.tech-workbench-hero p {
  margin: 0;
  color: #6d7d8f;
}

.tech-hero-status {
  min-width: 150px;
  padding: 12px 14px;
  border: 1px solid rgba(27, 187, 215, .18);
  border-radius: 10px;
  background: rgba(247, 251, 255, .86);
}

.tech-hero-status b,
.tech-hero-status em {
  display: block;
}

.tech-hero-status b {
  color: #23364c;
}

.tech-hero-status em {
  margin-top: 5px;
  color: #7b8b9b;
  font-style: normal;
  font-size: 12px;
}

.tech-lite-kpis {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  margin-bottom: 14px;
  padding: 14px;
  border: 1px solid rgba(79, 101, 255, .10);
  border-radius: 10px;
  background: rgba(255, 255, 255, .82);
  box-shadow: 0 12px 26px rgba(30, 52, 92, .06);
}

.tech-lite-kpis-nine {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.tech-lite-kpis-four {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.tech-lite-kpis article {
  position: relative;
  min-height: 86px;
  padding: 16px 16px 14px;
  border: 1px solid rgba(79, 101, 255, .08);
  border-radius: 8px;
  background:
    linear-gradient(135deg, rgba(79, 101, 255, .065), transparent 54%),
    #fbfdff;
  overflow: hidden;
}

.tech-lite-kpis article::after {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 3px;
  background: linear-gradient(180deg, #4f65ff, #1bbbd7);
}

.tech-lite-kpis span,
.tech-lite-kpis em {
  display: block;
}

.tech-lite-kpis span {
  color: #748295;
  font-size: 13px;
}

.tech-lite-kpis strong {
  display: block;
  margin: 8px 0 6px;
  color: #4f65ff;
  font-size: 28px;
  line-height: 1;
  font-weight: 500;
}

.tech-lite-kpis em {
  color: #98a5b4;
  font-size: 12px;
  font-style: normal;
}

.tech-lite-ranks {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
  margin-bottom: 14px;
}

.tech-lite-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 360px;
  gap: 14px;
}

.tech-lite-card {
  border: 1px solid rgba(79, 101, 255, .10);
  border-radius: 10px;
  background: rgba(255, 255, 255, .94);
  box-shadow: 0 12px 28px rgba(30, 52, 92, .06);
  overflow: hidden;
}

.tech-lite-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 10px;
  padding: 14px 16px;
  border-bottom: 1px solid #eef2f7;
}

.tech-lite-head span {
  color: #172334;
  font-size: 15px;
  font-weight: 800;
}

.tech-lite-head em {
  color: #8795a6;
  font-style: normal;
  font-size: 12px;
}

.tech-lite-card table {
  width: calc(100% - 28px);
  margin: 14px;
  border-collapse: collapse;
}

.tech-lite-card th,
.tech-lite-card td {
  padding: 11px 12px;
  border-bottom: 1px solid #edf2f7;
  color: #344456;
  text-align: left;
  white-space: nowrap;
}

.tech-lite-card th {
  color: #627388;
  background: #f4f7fb;
  font-weight: 700;
}

.tech-lite-card th:last-child,
.tech-lite-card td:last-child {
  color: #4f65ff;
  text-align: right;
}

.tech-chart-card {
  margin-bottom: 14px;
}

.tech-lite-chart {
  height: 440px;
}

.tech-guide-lite {
  padding-bottom: 8px;
}

.tech-guide-lite p {
  margin: 0;
  padding: 13px 16px;
  color: #5f7083;
  line-height: 1.75;
  border-bottom: 1px solid #eef2f7;
}

.tech-guide-lite p:last-child {
  border-bottom: 0;
}

.tech-guide-lite b {
  color: #26374b;
}

.tech-workbench-ready .tech-workbench-hero,
.tech-workbench-ready .tech-lite-kpis,
.tech-workbench-ready .tech-lite-card {
  animation: techRise .45s cubic-bezier(.2, .72, .2, 1) both;
}

@media (max-width: 980px) {
  .tech-login-shell {
    grid-template-columns: 1fr;
  }

  .tech-hero {
    display: none;
  }

  .tech-login-panel {
    padding: 26px 16px 70px;
  }

  .tech-login-card {
    padding: 28px 22px;
  }

  .tech-login-footer {
    position: static;
  }

  .tech-settings-hero {
    align-items: flex-start;
    flex-direction: column;
  }

  .tech-guide-grid,
  .tech-settings-grid,
  .tech-field-grid {
    grid-template-columns: 1fr;
  }

  .tech-dash-hero,
  .tech-dashboard-grid {
    grid-template-columns: 1fr;
  }

  .tech-dash-hero {
    align-items: flex-start;
    flex-direction: column;
  }

  .tech-kpi-grid-six,
  .tech-kpi-grid-nine,
  .tech-kpi-grid-four,
  .tech-rank-grid,
  .tech-dashboard-grid.substation-layout,
  .tech-dashboard-grid.agent-layout {
    grid-template-columns: 1fr;
  }

  .tech-chart {
    height: 360px;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    scroll-behavior: auto !important;
  }
}

.tech-contact-strip {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 42px;
  z-index: 5;
  text-align: center;
  color: rgba(217, 247, 255, .82);
  font-size: 13px;
  pointer-events: none;
}

.tech-contact-strip strong {
  color: #9cff6a;
  font-weight: 800;
  letter-spacing: .04em;
}

@media (max-width: 980px) {
  .tech-contact-strip {
    position: static;
    padding: 12px 0 0;
    color: rgba(217, 247, 255, .78);
  }
}