:root {
  --tech-blue: #0a3d62;
  --night: #061626;
  --night-2: #082237;
  --cyan: #00d4ff;
  --cyan-soft: rgba(0, 212, 255, 0.16);
  --violet: #7c3aed;
  --orange: #f59e0b;
  --ok: #22c55e;
  --danger: #fb7185;
  --ink: #eaf8ff;
  --ink-soft: #9fc2d3;
  --glass: rgba(9, 31, 50, 0.72);
  --glass-strong: rgba(8, 24, 40, 0.88);
  --glass-light: rgba(255, 255, 255, 0.08);
  --glass-line: rgba(147, 213, 237, 0.16);
  --deep-shadow: 0 28px 70px rgba(0, 9, 20, 0.36);
  --glow-shadow: 0 0 0 1px rgba(0, 212, 255, 0.1), 0 24px 70px rgba(0, 20, 38, 0.32);
  --radius: 20px;
  --glow-x: 66vw;
  --glow-y: 28vh;
}

body.desktop-cockpit {
  color-scheme: dark;
  min-height: 100vh;
  background:
    linear-gradient(135deg, #061626 0%, #08243a 46%, #05131f 100%);
  color: var(--ink);
  font-family: Inter, "PingFang SC", "Microsoft YaHei", "Segoe UI", sans-serif;
}

body.desktop-cockpit::before {
  z-index: -3;
  background:
    linear-gradient(90deg, rgba(0, 212, 255, 0.055) 1px, transparent 1px) 0 0 / 52px 52px,
    linear-gradient(0deg, rgba(0, 212, 255, 0.04) 1px, transparent 1px) 0 0 / 52px 52px,
    linear-gradient(135deg, #061626, #0a3150 52%, #071522);
  opacity: 1;
  animation: grid-flow 26s linear infinite;
}

body.desktop-cockpit::after {
  z-index: -2;
  background:
    linear-gradient(120deg, transparent 0 22%, rgba(0, 212, 255, 0.1) 23%, transparent 24% 54%, rgba(124, 58, 237, 0.08) 55%, transparent 56%),
    repeating-linear-gradient(110deg, rgba(255, 255, 255, 0.055) 0 1px, transparent 1px 78px);
  opacity: 0.8;
  animation: data-current 18s linear infinite;
}

.desktop-cockpit *,
.desktop-cockpit *::before,
.desktop-cockpit *::after {
  letter-spacing: 0;
}

.desktop-cockpit input,
.desktop-cockpit select,
.desktop-cockpit textarea {
  min-height: 46px;
  border: 1px solid rgba(130, 190, 215, 0.2);
  border-radius: 14px;
  background: rgba(5, 18, 31, 0.72);
  color: var(--ink);
  transition: all 0.3s ease;
}

.desktop-cockpit input::placeholder,
.desktop-cockpit textarea::placeholder {
  color: rgba(159, 194, 211, 0.58);
}

.desktop-cockpit input:focus,
.desktop-cockpit select:focus,
.desktop-cockpit textarea:focus {
  border-color: rgba(0, 212, 255, 0.72);
  box-shadow: 0 0 0 4px rgba(0, 212, 255, 0.12), 0 0 30px rgba(0, 212, 255, 0.12);
}

.desktop-cockpit .btn {
  min-height: 46px;
  border-radius: 14px;
  transition: all 0.3s ease;
}

.desktop-cockpit .btn.primary {
  background: linear-gradient(135deg, #00d4ff, #2563eb 52%, #7c3aed);
  color: #02121d;
  box-shadow: 0 18px 38px rgba(0, 151, 204, 0.26), inset 0 1px 0 rgba(255, 255, 255, 0.42);
}

.desktop-cockpit .btn.primary:hover {
  transform: translateY(-2px);
  background: linear-gradient(135deg, #35e3ff, #2f72ff 52%, #8b5cf6);
  box-shadow: 0 24px 52px rgba(0, 151, 204, 0.34);
}

.desktop-cockpit .btn.ghost {
  border-color: rgba(148, 204, 226, 0.2);
  background: rgba(255, 255, 255, 0.07);
  color: var(--ink);
}

.desktop-cockpit .btn.ghost:hover {
  transform: translateY(-2px);
  border-color: rgba(0, 212, 255, 0.42);
  background: rgba(0, 212, 255, 0.1);
}

.desktop-cockpit .eyebrow {
  min-height: 30px;
  padding: 0 12px;
  border: 1px solid rgba(0, 212, 255, 0.22);
  background: rgba(0, 212, 255, 0.12);
  color: #bff3ff;
  font-size: 12px;
}

.desktop-cockpit .eyebrow.dark {
  background: rgba(0, 212, 255, 0.12);
  color: var(--cyan);
}

.desktop-cockpit .refined-login {
  grid-template-columns: minmax(520px, 1.08fr) minmax(440px, 0.92fr);
  background:
    radial-gradient(circle at var(--glow-x) var(--glow-y), rgba(0, 212, 255, 0.18), transparent 34%),
    linear-gradient(135deg, #061626, #0a3d62 48%, #081a2d);
  overflow: hidden;
}

.desktop-cockpit .refined-login::before {
  background:
    linear-gradient(90deg, rgba(0, 212, 255, 0.08) 1px, transparent 1px) 0 0 / 56px 56px,
    linear-gradient(0deg, rgba(0, 212, 255, 0.055) 1px, transparent 1px) 0 0 / 56px 56px;
  animation: grid-flow 22s linear infinite;
  mask-image: linear-gradient(125deg, rgba(0, 0, 0, 0.92), rgba(0, 0, 0, 0.22));
}

.desktop-cockpit .refined-login::after {
  background:
    linear-gradient(112deg, transparent 0 20%, rgba(0, 212, 255, 0.16) 21%, transparent 22% 42%, rgba(124, 58, 237, 0.12) 43%, transparent 44%),
    repeating-linear-gradient(14deg, rgba(255, 255, 255, 0.06) 0 1px, transparent 1px 54px);
  animation: data-current 16s linear infinite;
}

.desktop-cockpit .company-lockup {
  min-height: 58px;
  padding: 10px 16px;
  border-color: rgba(0, 212, 255, 0.24);
  border-radius: 18px;
  background: rgba(4, 20, 34, 0.68);
  box-shadow: 0 18px 48px rgba(0, 10, 22, 0.3);
  backdrop-filter: blur(22px);
}

.desktop-cockpit .company-logo-full {
  width: 350px;
  filter: saturate(0.9) brightness(1.12) contrast(0.94);
}

.desktop-cockpit .refined-login .login-visual {
  padding: 96px 58px 58px;
}

.desktop-cockpit .minimal-brand {
  max-width: 840px;
}

.desktop-cockpit .minimal-brand h1 {
  margin-top: 18px;
  color: #f4fbff;
  font-size: 88px;
  line-height: 0.95;
  text-shadow: 0 22px 58px rgba(0, 0, 0, 0.36), 0 0 36px rgba(0, 212, 255, 0.14);
}

.desktop-cockpit .minimal-brand h1 span:last-child {
  color: #c8f7ff;
}

.desktop-cockpit .minimal-brand p {
  border-color: rgba(0, 212, 255, 0.26);
  background: rgba(0, 212, 255, 0.1);
  color: #d7f8ff;
}

.desktop-cockpit .login-insight-grid article,
.desktop-cockpit .login-status-strip span {
  border-color: rgba(0, 212, 255, 0.2);
  border-radius: 18px;
  background: rgba(8, 30, 48, 0.62);
  box-shadow: var(--glow-shadow);
  backdrop-filter: blur(18px);
}

.desktop-cockpit .login-insight-grid strong,
.desktop-cockpit .metric strong,
.desktop-cockpit .progress-big strong,
.desktop-cockpit .plc-placeholder {
  font-family: "JetBrains Mono", "SFMono-Regular", Consolas, monospace;
  letter-spacing: 0;
}

.desktop-cockpit .login-card {
  width: min(590px, calc(100% - 56px));
  padding: 36px;
  border: 1px solid rgba(0, 212, 255, 0.22);
  border-radius: 24px;
  background:
    linear-gradient(145deg, rgba(9, 31, 50, 0.88), rgba(6, 22, 38, 0.78)),
    rgba(4, 19, 32, 0.88);
  color: var(--ink);
  box-shadow: 0 34px 90px rgba(0, 8, 20, 0.44), inset 0 1px 0 rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(24px);
}

.desktop-cockpit .login-card::before {
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(0, 212, 255, 0.88), rgba(124, 58, 237, 0.72), transparent);
}

.desktop-cockpit .login-card::after {
  background: linear-gradient(100deg, transparent, rgba(0, 212, 255, 0.12), transparent);
}

.desktop-cockpit .card-title h2 {
  color: #f4fbff;
  font-size: 34px;
}

.desktop-cockpit .card-title p,
.desktop-cockpit .topbar p,
.desktop-cockpit .panel-head p,
.desktop-cockpit .metric p,
.desktop-cockpit .user-box p,
.desktop-cockpit .side-note p {
  color: var(--ink-soft);
}

.desktop-cockpit .role-tabs,
.desktop-cockpit .mode-tabs {
  gap: 8px;
  border-color: rgba(0, 212, 255, 0.18);
  border-radius: 16px;
  background: rgba(2, 14, 25, 0.6);
}

.desktop-cockpit .role-tabs button,
.desktop-cockpit .mode-tabs button {
  border-radius: 12px;
  color: var(--ink-soft);
}

.desktop-cockpit .role-tabs button:hover,
.desktop-cockpit .mode-tabs button:hover {
  background: rgba(0, 212, 255, 0.08);
  color: #eafcff;
}

.desktop-cockpit .role-tabs button.active,
.desktop-cockpit .mode-tabs button.active,
.desktop-cockpit .role-choice.active {
  background: linear-gradient(135deg, rgba(0, 212, 255, 0.95), rgba(37, 99, 235, 0.88));
  color: #02131f;
  box-shadow: 0 16px 36px rgba(0, 149, 206, 0.28);
}

.desktop-cockpit .role-choice {
  border-color: rgba(0, 212, 255, 0.18);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.06);
  color: var(--ink);
  box-shadow: 0 12px 34px rgba(0, 10, 24, 0.22);
}

.desktop-cockpit .role-choice span {
  color: var(--ink-soft);
}

.desktop-cockpit .role-choice:hover {
  border-color: rgba(0, 212, 255, 0.42);
}

.desktop-cockpit .mock-qr {
  border-color: rgba(0, 212, 255, 0.24);
  border-radius: 20px;
  background:
    linear-gradient(90deg, rgba(0, 212, 255, 0.82) 10px, transparent 10px) 0 0 / 28px 28px,
    linear-gradient(rgba(0, 212, 255, 0.82) 10px, transparent 10px) 0 0 / 28px 28px,
    linear-gradient(135deg, rgba(6, 22, 38, 0.96), rgba(8, 47, 73, 0.86));
}

.desktop-cockpit .mock-qr span,
.desktop-cockpit .mock-qr strong {
  background: rgba(3, 18, 31, 0.78);
  color: #c7f7ff;
}

.desktop-cockpit .wechat-box p {
  color: var(--ink-soft);
}

.desktop-cockpit .shell {
  grid-template-columns: 286px minmax(0, 1fr);
  background:
    radial-gradient(circle at var(--glow-x) var(--glow-y), rgba(0, 212, 255, 0.16), transparent 32%),
    linear-gradient(135deg, #061626 0%, #08243a 45%, #06111d 100%);
}

.desktop-cockpit .shell::before {
  z-index: 0;
  background:
    linear-gradient(90deg, rgba(0, 212, 255, 0.065) 1px, transparent 1px) 0 0 / 54px 54px,
    linear-gradient(0deg, rgba(0, 212, 255, 0.045) 1px, transparent 1px) 0 0 / 54px 54px;
  animation: grid-flow 24s linear infinite;
  transform: none;
}

.desktop-cockpit .shell::after {
  content: "";
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background:
    radial-gradient(560px circle at var(--glow-x) var(--glow-y), rgba(0, 212, 255, 0.2), rgba(124, 58, 237, 0.08) 32%, transparent 62%),
    linear-gradient(112deg, transparent 0 38%, rgba(0, 212, 255, 0.08) 39%, transparent 40% 68%, rgba(245, 158, 11, 0.05) 69%, transparent 70%);
  opacity: 0.92;
  transition: background 0.16s ease;
}

.desktop-cockpit .sidebar,
.desktop-cockpit .workspace {
  position: relative;
  z-index: 1;
}

.desktop-cockpit .sidebar {
  width: 286px;
  padding: 22px 18px;
  border-right: 1px solid rgba(0, 212, 255, 0.14);
  background:
    linear-gradient(180deg, rgba(6, 23, 39, 0.9), rgba(6, 18, 31, 0.78)),
    rgba(7, 24, 39, 0.82);
  box-shadow: 20px 0 70px rgba(0, 8, 20, 0.28);
  backdrop-filter: blur(24px);
}

.desktop-cockpit .side-brand,
.desktop-cockpit .user-box,
.desktop-cockpit .side-note {
  border: 1px solid rgba(0, 212, 255, 0.16);
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.055);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.07);
}

.desktop-cockpit .user-role-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.desktop-cockpit .side-brand {
  padding: 18px;
  background:
    linear-gradient(135deg, rgba(0, 212, 255, 0.14), rgba(124, 58, 237, 0.08)),
    rgba(255, 255, 255, 0.055);
}

.desktop-cockpit .side-brand strong {
  color: #f4fbff;
  font-size: 18px;
}

.desktop-cockpit .side-brand span {
  color: var(--ink-soft);
}

.desktop-cockpit .user-box strong {
  color: #ffffff;
}

.desktop-cockpit .side-nav {
  gap: 10px;
}

.desktop-cockpit .side-nav button {
  min-height: 54px;
  border: 1px solid rgba(0, 212, 255, 0.14);
  border-left: 1px solid rgba(0, 212, 255, 0.14);
  border-radius: 18px;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.075), rgba(255, 255, 255, 0.035)),
    rgba(7, 24, 39, 0.72);
  color: #cce8f4;
  box-shadow: 0 12px 34px rgba(0, 10, 24, 0.2);
  transition: all 0.3s ease;
}

.desktop-cockpit .side-nav button::before {
  content: "";
  width: 8px;
  height: 8px;
  margin-right: 10px;
  border-radius: 50%;
  background: rgba(159, 194, 211, 0.42);
  box-shadow: 0 0 0 0 rgba(0, 212, 255, 0);
}

.desktop-cockpit .side-nav button::after {
  content: ">";
  background: rgba(255, 255, 255, 0.08);
  color: rgba(234, 248, 255, 0.72);
}

.desktop-cockpit .side-nav button:hover {
  transform: translateX(5px) translateY(-1px);
  border-color: rgba(0, 212, 255, 0.42);
  background: rgba(0, 212, 255, 0.1);
  box-shadow: 0 18px 42px rgba(0, 12, 28, 0.28);
}

.desktop-cockpit .side-nav button.active {
  border-color: rgba(0, 212, 255, 0.5);
  background: linear-gradient(135deg, rgba(0, 212, 255, 0.88), rgba(37, 99, 235, 0.8));
  color: #02131f;
}

.desktop-cockpit .side-nav button.active::before {
  background: #ffffff;
  box-shadow: 0 0 18px rgba(255, 255, 255, 0.72);
}

.desktop-cockpit .side-nav button.active::after {
  background: rgba(2, 19, 31, 0.18);
  color: #02131f;
}

.desktop-cockpit .workspace {
  padding: 30px;
}

.desktop-cockpit .topbar {
  align-items: center;
  min-height: 112px;
  padding: 24px;
  margin-bottom: 22px;
  border: 1px solid rgba(0, 212, 255, 0.13);
  border-radius: 24px;
  background:
    linear-gradient(135deg, rgba(8, 34, 55, 0.78), rgba(7, 21, 36, 0.62)),
    rgba(255, 255, 255, 0.045);
  box-shadow: var(--deep-shadow);
  backdrop-filter: blur(22px);
  animation: panel-in 0.46s ease-out both;
}

.desktop-cockpit .topbar h1 {
  margin-top: 10px;
  color: #f4fbff;
  font-size: 34px;
}

.desktop-cockpit .project-switch {
  min-width: 250px;
  border-color: rgba(0, 212, 255, 0.18);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.06);
}

.desktop-cockpit .project-switch span {
  color: var(--ink-soft);
}

.desktop-cockpit .grid,
.desktop-cockpit .overview-grid {
  gap: 18px;
}

.desktop-cockpit .panel,
.desktop-cockpit .metric,
.desktop-cockpit .overview-card,
.desktop-cockpit .module-placeholder {
  border: 1px solid rgba(0, 212, 255, 0.14);
  border-radius: 22px;
  background:
    linear-gradient(145deg, rgba(12, 38, 60, 0.78), rgba(7, 22, 36, 0.68)),
    rgba(255, 255, 255, 0.05);
  color: var(--ink);
  box-shadow: var(--deep-shadow);
  backdrop-filter: blur(22px);
  transition: all 0.3s ease;
  animation: panel-in 0.48s ease-out both;
}

.desktop-cockpit .panel,
.desktop-cockpit .overview-card,
.desktop-cockpit .module-placeholder {
  padding: 22px;
}

.desktop-cockpit .panel:hover,
.desktop-cockpit .metric:hover,
.desktop-cockpit .overview-card:hover,
.desktop-cockpit .module-placeholder:hover {
  transform: translateY(-5px);
  border-color: rgba(0, 212, 255, 0.34);
  box-shadow: 0 34px 86px rgba(0, 12, 28, 0.42), 0 0 36px rgba(0, 212, 255, 0.08);
}

.desktop-cockpit .panel-head h2,
.desktop-cockpit .overview-card-head h3,
.desktop-cockpit .module-placeholder h2 {
  color: #f4fbff;
}

.desktop-cockpit .panel h3 {
  color: #c7f7ff;
}

.desktop-cockpit .metric {
  position: relative;
  overflow: hidden;
  min-height: 138px;
  padding: 20px;
  border-top: 0;
}

.desktop-cockpit .metric::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(115deg, rgba(0, 212, 255, 0.18), transparent 38%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.06), transparent);
  opacity: 0.82;
}

.desktop-cockpit .metric::after {
  content: "";
  position: absolute;
  inset: auto 18px 16px;
  height: 5px;
  border-radius: 999px;
  background: linear-gradient(90deg, rgba(0, 212, 255, 0.9), rgba(37, 99, 235, 0.62), transparent);
  transform-origin: left center;
  animation: insight-pulse 5.2s ease-in-out infinite;
}

.desktop-cockpit .metric.blue::after {
  background: linear-gradient(90deg, #60a5fa, rgba(0, 212, 255, 0.52), transparent);
}

.desktop-cockpit .metric.green::after {
  background: linear-gradient(90deg, #22c55e, rgba(0, 212, 255, 0.42), transparent);
}

.desktop-cockpit .metric.amber::after {
  background: linear-gradient(90deg, #f59e0b, rgba(124, 58, 237, 0.42), transparent);
}

.desktop-cockpit .metric > * {
  position: relative;
  z-index: 1;
}

.desktop-cockpit .metric span {
  color: var(--ink-soft);
}

.desktop-cockpit .metric strong {
  color: #ffffff;
  font-size: 34px;
  text-shadow: 0 0 24px rgba(0, 212, 255, 0.18);
}

.desktop-cockpit .split {
  gap: 20px;
}

.desktop-cockpit .bars {
  min-height: 176px;
  padding: 16px 12px 4px;
  border-radius: 18px;
  background:
    linear-gradient(90deg, rgba(0, 212, 255, 0.06) 1px, transparent 1px) 0 0 / 46px 46px,
    linear-gradient(0deg, rgba(255, 255, 255, 0.045) 1px, transparent 1px) 0 0 / 46px 46px,
    rgba(2, 13, 24, 0.42);
}

.desktop-cockpit .bar span {
  width: min(100%, 34px);
  border-radius: 999px 999px 8px 8px;
  background: linear-gradient(180deg, #00d4ff, #2563eb 58%, #7c3aed);
  box-shadow: 0 0 24px rgba(0, 212, 255, 0.22);
  transform-origin: bottom;
  animation: bar-rise 0.84s ease-out both;
}

.desktop-cockpit .bar em {
  color: var(--ink-soft);
}

.desktop-cockpit .table {
  gap: 10px;
}

.desktop-cockpit .tr {
  border: 1px solid rgba(0, 212, 255, 0.1);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.055);
  color: #d9f4ff;
  transition: all 0.3s ease;
}

.desktop-cockpit .tr.head {
  border-color: rgba(0, 212, 255, 0.15);
  background: rgba(0, 212, 255, 0.1);
  color: #96eaff;
}

.desktop-cockpit .tr:not(.head):hover {
  transform: translateX(5px);
  border-color: rgba(0, 212, 255, 0.34);
  background: rgba(0, 212, 255, 0.085);
  box-shadow: 0 18px 40px rgba(0, 12, 28, 0.28);
}

.desktop-cockpit .pill {
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(255, 255, 255, 0.08);
  color: #d6eef8;
}

.desktop-cockpit .pill.teal {
  background: rgba(0, 212, 255, 0.14);
  color: #9af0ff;
}

.desktop-cockpit .pill.green {
  background: rgba(34, 197, 94, 0.14);
  color: #9cf7b9;
}

.desktop-cockpit .pill.amber {
  background: rgba(245, 158, 11, 0.16);
  color: #ffd48a;
}

.desktop-cockpit .pill.neutral {
  background: rgba(148, 163, 184, 0.12);
  color: #cbd5e1;
}

.desktop-cockpit .empty {
  border-color: rgba(0, 212, 255, 0.18);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.055);
  color: var(--ink-soft);
}

.desktop-cockpit .role-list article,
.desktop-cockpit .task-list article,
.desktop-cockpit .timeline article,
.desktop-cockpit .ops-note-list article,
.desktop-cockpit .alarm-list article,
.desktop-cockpit .placeholder-grid article {
  border: 1px solid rgba(0, 212, 255, 0.12);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.055);
  color: var(--ink);
  transition: all 0.3s ease;
}

.desktop-cockpit .role-list article:hover,
.desktop-cockpit .task-list article:hover,
.desktop-cockpit .timeline article:hover,
.desktop-cockpit .ops-note-list article:hover,
.desktop-cockpit .alarm-list article:hover,
.desktop-cockpit .placeholder-grid article:hover {
  transform: translateY(-4px);
  border-color: rgba(0, 212, 255, 0.32);
  background: rgba(0, 212, 255, 0.08);
}

.desktop-cockpit .task-list article.warn,
.desktop-cockpit .alarm-list article:first-child {
  border-color: rgba(245, 158, 11, 0.32);
  background: rgba(245, 158, 11, 0.1);
}

.desktop-cockpit .role-list span,
.desktop-cockpit .task-list span,
.desktop-cockpit .timeline span,
.desktop-cockpit .photo-grid span,
.desktop-cockpit .role-list p,
.desktop-cockpit .timeline p,
.desktop-cockpit .ops-note-list p,
.desktop-cockpit .alarm-list p,
.desktop-cockpit .placeholder-grid span {
  color: var(--ink-soft);
}

.desktop-cockpit .link-btn {
  color: var(--cyan);
}

.desktop-cockpit .ops-overview-hero {
  min-height: 190px;
  padding: 28px;
  border: 1px solid rgba(0, 212, 255, 0.18);
  border-radius: 26px;
  background:
    linear-gradient(135deg, rgba(0, 212, 255, 0.18), rgba(124, 58, 237, 0.12)),
    linear-gradient(90deg, rgba(255, 255, 255, 0.07) 1px, transparent 1px) 0 0 / 44px 44px,
    linear-gradient(135deg, rgba(10, 61, 98, 0.94), rgba(6, 22, 38, 0.88));
  box-shadow: var(--deep-shadow);
}

.desktop-cockpit .ops-overview-hero h2 {
  color: #ffffff;
  font-size: 40px;
}

.desktop-cockpit .ops-overview-hero p {
  color: #b9ddeb;
}

.desktop-cockpit .hero-status {
  position: relative;
  overflow: hidden;
  width: 142px;
  height: 142px;
  border: 1px solid rgba(0, 212, 255, 0.22);
  background:
    radial-gradient(circle, rgba(0, 212, 255, 0.14), rgba(255, 255, 255, 0.04) 62%),
    conic-gradient(from 210deg, #00d4ff, #7c3aed, rgba(0, 212, 255, 0.2), #00d4ff);
  box-shadow: 0 0 46px rgba(0, 212, 255, 0.2);
}

.desktop-cockpit .hero-status::before {
  content: "";
  position: absolute;
  inset: 13px;
  border-radius: 50%;
  background: rgba(5, 18, 31, 0.86);
}

.desktop-cockpit .hero-status strong,
.desktop-cockpit .hero-status span {
  position: relative;
  z-index: 1;
}

.desktop-cockpit .overview-card::before {
  width: 1px;
  background: linear-gradient(180deg, transparent, rgba(0, 212, 255, 0.86), rgba(124, 58, 237, 0.55), transparent);
}

.desktop-cockpit .overview-card::after {
  background:
    linear-gradient(115deg, rgba(0, 212, 255, 0.1), transparent 44%),
    repeating-linear-gradient(112deg, rgba(255, 255, 255, 0.04) 0 1px, transparent 1px 70px);
  opacity: 0.78;
}

.desktop-cockpit .overview-card-head span {
  background: rgba(0, 212, 255, 0.12);
  color: #9af0ff;
}

.desktop-cockpit .plc-row {
  min-height: 66px;
  border-color: var(--row-line);
  border-radius: 18px;
  background:
    linear-gradient(90deg, var(--row-soft) 0%, var(--row-soft) 38%, rgba(255, 255, 255, 0.055) 38%, rgba(255, 255, 255, 0.035) 100%),
    rgba(255, 255, 255, 0.052);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.07), 0 12px 34px rgba(0, 12, 28, 0.18);
}

.desktop-cockpit .plc-row::before {
  width: 5px;
  background: var(--row-accent);
  box-shadow: 0 0 22px var(--row-accent);
}

.desktop-cockpit .plc-row::after {
  background:
    linear-gradient(100deg, transparent, rgba(255, 255, 255, 0.16) 38%, transparent 72%),
    radial-gradient(circle at 100% 0%, var(--row-soft), transparent 58%);
  opacity: 0.56;
}

.desktop-cockpit .plc-row[data-tone="teal"] {
  --row-accent: #00d4ff;
  --row-soft: rgba(0, 212, 255, 0.18);
  --row-line: rgba(0, 212, 255, 0.24);
}

.desktop-cockpit .plc-row[data-tone="blue"] {
  --row-accent: #60a5fa;
  --row-soft: rgba(96, 165, 250, 0.18);
  --row-line: rgba(96, 165, 250, 0.24);
}

.desktop-cockpit .plc-row[data-tone="green"] {
  --row-accent: #22c55e;
  --row-soft: rgba(34, 197, 94, 0.16);
  --row-line: rgba(34, 197, 94, 0.24);
}

.desktop-cockpit .plc-row[data-tone="cyan"] {
  --row-accent: #00d4ff;
  --row-soft: rgba(0, 212, 255, 0.18);
  --row-line: rgba(0, 212, 255, 0.24);
}

.desktop-cockpit .plc-row[data-tone="amber"] {
  --row-accent: #f59e0b;
  --row-soft: rgba(245, 158, 11, 0.18);
  --row-line: rgba(245, 158, 11, 0.26);
}

.desktop-cockpit .plc-row[data-tone="violet"] {
  --row-accent: #7c3aed;
  --row-soft: rgba(124, 58, 237, 0.2);
  --row-line: rgba(124, 58, 237, 0.25);
}

.desktop-cockpit .plc-row[data-tone="rose"] {
  --row-accent: #fb7185;
  --row-soft: rgba(251, 113, 133, 0.16);
  --row-line: rgba(251, 113, 133, 0.25);
}

.desktop-cockpit .plc-list span,
.desktop-cockpit .plc-list strong {
  color: var(--ink);
}

.desktop-cockpit .plc-list em,
.desktop-cockpit .plc-list small {
  color: var(--ink-soft);
}

.desktop-cockpit .plc-placeholder {
  min-width: 128px;
  border-color: rgba(0, 212, 255, 0.18);
  border-radius: 12px;
  background: rgba(3, 18, 31, 0.54);
  color: #eafcff;
  box-shadow: inset 0 0 24px rgba(0, 212, 255, 0.08);
}

.desktop-cockpit .line-chart-card svg {
  border-color: rgba(0, 212, 255, 0.14);
  border-radius: 20px;
  background:
    linear-gradient(90deg, rgba(0, 212, 255, 0.055) 1px, transparent 1px) 0 0 / 52px 52px,
    linear-gradient(0deg, rgba(255, 255, 255, 0.04) 1px, transparent 1px) 0 0 / 52px 52px,
    rgba(3, 16, 29, 0.6);
}

.desktop-cockpit .chart-grid line {
  stroke: rgba(148, 204, 226, 0.18);
}

.desktop-cockpit .chart-area {
  opacity: 0.2;
}

.desktop-cockpit .chart-line {
  stroke-width: 6;
  stroke-dasharray: 900;
  stroke-dashoffset: 900;
  animation: chart-draw 1.15s ease-out forwards;
}

.desktop-cockpit .chart-line.outflow {
  animation-delay: 0.12s;
}

.desktop-cockpit .chart-labels text {
  fill: #95cfe4;
}

.desktop-cockpit .chart-legend span,
.desktop-cockpit .chart-legend strong {
  background: rgba(255, 255, 255, 0.07);
  color: var(--ink-soft);
}

.desktop-cockpit .public-hero {
  border: 1px solid rgba(0, 212, 255, 0.16);
  border-radius: 26px;
  background:
    linear-gradient(135deg, rgba(0, 212, 255, 0.16), rgba(124, 58, 237, 0.14)),
    linear-gradient(135deg, #0a3d62, #061626);
}

.desktop-cockpit .progress-big {
  border: 1px solid rgba(0, 212, 255, 0.24);
  background:
    radial-gradient(circle, rgba(0, 212, 255, 0.14), rgba(255, 255, 255, 0.04) 62%),
    conic-gradient(#00d4ff, #7c3aed, rgba(255, 255, 255, 0.1), #00d4ff);
}

.desktop-cockpit .photo-grid article {
  border: 1px solid rgba(0, 212, 255, 0.14);
  border-radius: 20px;
  background:
    linear-gradient(135deg, rgba(0, 212, 255, 0.18), rgba(124, 58, 237, 0.16)),
    rgba(6, 22, 38, 0.86);
}

.desktop-cockpit .module-placeholder {
  min-height: 540px;
}

.desktop-cockpit .toast {
  border: 1px solid rgba(0, 212, 255, 0.26);
  border-radius: 16px;
  background: rgba(5, 18, 31, 0.92);
  color: #eafcff;
  box-shadow: 0 24px 70px rgba(0, 8, 20, 0.36);
  backdrop-filter: blur(18px);
}

.desktop-cockpit .skeleton-shell .sidebar {
  pointer-events: none;
}

.desktop-cockpit .skeleton-block,
.desktop-cockpit .skeleton-line,
.desktop-cockpit .skeleton-nav span,
.desktop-cockpit .skeleton-card,
.desktop-cockpit .skeleton-panel {
  position: relative;
  overflow: hidden;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.07);
}

.desktop-cockpit .skeleton-block::after,
.desktop-cockpit .skeleton-line::after,
.desktop-cockpit .skeleton-nav span::after,
.desktop-cockpit .skeleton-card::after,
.desktop-cockpit .skeleton-panel::after {
  content: "";
  position: absolute;
  inset: 0 auto 0 -45%;
  width: 42%;
  background: linear-gradient(100deg, transparent, rgba(0, 212, 255, 0.18), transparent);
  animation: shimmer 1.45s linear infinite;
}

.desktop-cockpit .skeleton-block.logo {
  height: 82px;
}

.desktop-cockpit .skeleton-block.user {
  height: 142px;
}

.desktop-cockpit .skeleton-nav {
  display: grid;
  gap: 10px;
}

.desktop-cockpit .skeleton-nav span {
  height: 54px;
}

.desktop-cockpit .skeleton-line {
  display: block;
  width: 320px;
  height: 14px;
  margin-top: 12px;
}

.desktop-cockpit .skeleton-line.short {
  width: 120px;
}

.desktop-cockpit .skeleton-line.title {
  width: 420px;
  height: 34px;
}

.desktop-cockpit .skeleton-card {
  min-height: 138px;
}

.desktop-cockpit .skeleton-panel {
  min-height: 360px;
}

@keyframes grid-flow {
  0% {
    background-position: 0 0, 0 0, 0 0;
  }
  100% {
    background-position: 52px 0, 0 52px, 0 0;
  }
}

@keyframes data-current {
  0% {
    transform: translate3d(-3%, 0, 0);
  }
  100% {
    transform: translate3d(3%, 0, 0);
  }
}

@keyframes panel-in {
  from {
    opacity: 0;
    transform: translateY(14px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes bar-rise {
  from {
    transform: scaleY(0.08);
    opacity: 0.34;
  }
  to {
    transform: scaleY(1);
    opacity: 1;
  }
}

@keyframes chart-draw {
  to {
    stroke-dashoffset: 0;
  }
}

@keyframes shimmer {
  to {
    transform: translateX(360%);
  }
}

/* Light digital-twin cockpit theme */
:root {
  --tech-blue: #0a3d62;
  --night: #f3f8fc;
  --night-2: #e7f2f8;
  --cyan: #00a8d8;
  --cyan-soft: rgba(0, 168, 216, 0.12);
  --violet: #6d5dfc;
  --orange: #f59e0b;
  --ok: #16a34a;
  --danger: #e11d48;
  --ink: #102435;
  --ink-soft: #5f7486;
  --glass: rgba(255, 255, 255, 0.78);
  --glass-strong: rgba(255, 255, 255, 0.92);
  --glass-light: rgba(255, 255, 255, 0.66);
  --glass-line: rgba(10, 61, 98, 0.12);
  --deep-shadow: 0 24px 64px rgba(42, 78, 105, 0.14);
  --glow-shadow: 0 0 0 1px rgba(0, 168, 216, 0.12), 0 22px 58px rgba(56, 113, 147, 0.16);
}

body.desktop-cockpit {
  color-scheme: light;
  background:
    radial-gradient(circle at var(--glow-x) var(--glow-y), rgba(0, 212, 255, 0.18), transparent 34%),
    linear-gradient(135deg, #f6fbff 0%, #eaf5fb 48%, #f9fcff 100%);
  color: var(--ink);
}

body.desktop-cockpit::before {
  background:
    linear-gradient(90deg, rgba(10, 61, 98, 0.055) 1px, transparent 1px) 0 0 / 52px 52px,
    linear-gradient(0deg, rgba(10, 61, 98, 0.045) 1px, transparent 1px) 0 0 / 52px 52px,
    linear-gradient(135deg, #f7fbff, #e8f5fb 52%, #ffffff);
}

body.desktop-cockpit::after {
  background:
    linear-gradient(120deg, transparent 0 22%, rgba(0, 168, 216, 0.08) 23%, transparent 24% 54%, rgba(124, 58, 237, 0.055) 55%, transparent 56%),
    repeating-linear-gradient(110deg, rgba(10, 61, 98, 0.045) 0 1px, transparent 1px 78px);
  opacity: 0.72;
}

.desktop-cockpit input,
.desktop-cockpit select,
.desktop-cockpit textarea {
  border-color: rgba(10, 61, 98, 0.14);
  background: rgba(255, 255, 255, 0.86);
  color: #102435;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.9);
}

.desktop-cockpit input::placeholder,
.desktop-cockpit textarea::placeholder {
  color: rgba(95, 116, 134, 0.62);
}

.desktop-cockpit .btn.ghost {
  border-color: rgba(10, 61, 98, 0.14);
  background: rgba(255, 255, 255, 0.76);
  color: #183349;
}

.desktop-cockpit .btn.ghost:hover {
  background: rgba(0, 168, 216, 0.1);
  color: #0a3d62;
}

.desktop-cockpit .eyebrow,
.desktop-cockpit .eyebrow.dark {
  border-color: rgba(0, 168, 216, 0.16);
  background: rgba(0, 168, 216, 0.1);
  color: #087da4;
}

.desktop-cockpit .refined-login {
  background:
    radial-gradient(circle at var(--glow-x) var(--glow-y), rgba(0, 212, 255, 0.22), transparent 34%),
    radial-gradient(circle at 22% 20%, rgba(124, 58, 237, 0.09), transparent 28%),
    linear-gradient(135deg, #f8fcff, #e9f6fb 48%, #f5fbff);
}

.desktop-cockpit .refined-login::before {
  background:
    linear-gradient(90deg, rgba(10, 61, 98, 0.055) 1px, transparent 1px) 0 0 / 56px 56px,
    linear-gradient(0deg, rgba(10, 61, 98, 0.045) 1px, transparent 1px) 0 0 / 56px 56px;
}

.desktop-cockpit .refined-login::after {
  background:
    linear-gradient(112deg, transparent 0 20%, rgba(0, 168, 216, 0.12) 21%, transparent 22% 42%, rgba(124, 58, 237, 0.075) 43%, transparent 44%),
    repeating-linear-gradient(14deg, rgba(10, 61, 98, 0.04) 0 1px, transparent 1px 54px);
}

.desktop-cockpit .company-lockup {
  border-color: rgba(0, 168, 216, 0.18);
  background: rgba(255, 255, 255, 0.78);
  box-shadow: 0 18px 48px rgba(42, 78, 105, 0.16);
}

.desktop-cockpit .company-logo-full {
  filter: saturate(0.96) brightness(1) contrast(0.98);
}

.desktop-cockpit .minimal-brand h1 {
  color: #0b314a;
  text-shadow: 0 22px 56px rgba(42, 78, 105, 0.16), 0 0 28px rgba(0, 168, 216, 0.12);
}

.desktop-cockpit .minimal-brand h1 span:last-child {
  color: #087da4;
}

.desktop-cockpit .minimal-brand p,
.desktop-cockpit .login-status-strip span {
  border-color: rgba(0, 168, 216, 0.16);
  background: rgba(255, 255, 255, 0.58);
  color: #224158;
}

.desktop-cockpit .login-insight-grid article {
  border-color: rgba(0, 168, 216, 0.14);
  background: rgba(255, 255, 255, 0.68);
  color: #102435;
  box-shadow: var(--glow-shadow);
}

.desktop-cockpit .login-insight-grid span {
  color: #607688;
}

.desktop-cockpit .login-card {
  border-color: rgba(0, 168, 216, 0.16);
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.92), rgba(242, 249, 253, 0.78)),
    rgba(255, 255, 255, 0.86);
  color: #102435;
  box-shadow: 0 34px 84px rgba(42, 78, 105, 0.18), inset 0 1px 0 rgba(255, 255, 255, 0.95);
}

.desktop-cockpit .login-card::after {
  background: linear-gradient(100deg, transparent, rgba(255, 255, 255, 0.7), transparent);
}

.desktop-cockpit .card-title h2,
.desktop-cockpit .topbar h1,
.desktop-cockpit .panel-head h2,
.desktop-cockpit .overview-card-head h3,
.desktop-cockpit .module-placeholder h2,
.desktop-cockpit .panel h3 {
  color: #102435;
}

.desktop-cockpit .card-title p,
.desktop-cockpit .topbar p,
.desktop-cockpit .panel-head p,
.desktop-cockpit .metric p,
.desktop-cockpit .user-box p,
.desktop-cockpit .side-note p {
  color: #64788a;
}

.desktop-cockpit .role-tabs,
.desktop-cockpit .mode-tabs {
  border-color: rgba(10, 61, 98, 0.12);
  background: rgba(232, 244, 250, 0.72);
}

.desktop-cockpit .role-tabs button,
.desktop-cockpit .mode-tabs button {
  color: #5f7486;
}

.desktop-cockpit .role-tabs button:hover,
.desktop-cockpit .mode-tabs button:hover {
  background: rgba(255, 255, 255, 0.82);
  color: #0a3d62;
}

.desktop-cockpit .role-tabs button.active,
.desktop-cockpit .mode-tabs button.active,
.desktop-cockpit .role-choice.active {
  background: linear-gradient(135deg, #00c8f5, #3b82f6);
  color: #ffffff;
}

.desktop-cockpit .role-choice {
  border-color: rgba(10, 61, 98, 0.12);
  background: rgba(255, 255, 255, 0.76);
  color: #102435;
  box-shadow: 0 16px 36px rgba(42, 78, 105, 0.12);
}

.desktop-cockpit .role-choice span {
  color: #64788a;
}

.desktop-cockpit .mock-qr {
  border-color: rgba(0, 168, 216, 0.18);
  background:
    linear-gradient(90deg, rgba(10, 61, 98, 0.62) 10px, transparent 10px) 0 0 / 28px 28px,
    linear-gradient(rgba(10, 61, 98, 0.62) 10px, transparent 10px) 0 0 / 28px 28px,
    linear-gradient(135deg, #ffffff, #e9f7fc);
}

.desktop-cockpit .mock-qr span,
.desktop-cockpit .mock-qr strong {
  background: rgba(255, 255, 255, 0.9);
  color: #0a3d62;
}

.desktop-cockpit .wechat-box p {
  color: #64788a;
}

.desktop-cockpit .shell {
  background:
    radial-gradient(circle at var(--glow-x) var(--glow-y), rgba(0, 212, 255, 0.18), transparent 32%),
    radial-gradient(circle at 75% 12%, rgba(124, 58, 237, 0.075), transparent 26%),
    linear-gradient(135deg, #f6fbff 0%, #eaf5fb 46%, #ffffff 100%);
}

.desktop-cockpit .shell::before {
  background:
    linear-gradient(90deg, rgba(10, 61, 98, 0.06) 1px, transparent 1px) 0 0 / 54px 54px,
    linear-gradient(0deg, rgba(10, 61, 98, 0.045) 1px, transparent 1px) 0 0 / 54px 54px;
}

.desktop-cockpit .shell::after {
  background:
    radial-gradient(560px circle at var(--glow-x) var(--glow-y), rgba(0, 212, 255, 0.18), rgba(124, 58, 237, 0.055) 32%, transparent 62%),
    linear-gradient(112deg, transparent 0 38%, rgba(0, 168, 216, 0.065) 39%, transparent 40% 68%, rgba(245, 158, 11, 0.045) 69%, transparent 70%);
}

.desktop-cockpit .sidebar {
  border-right-color: rgba(10, 61, 98, 0.12);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.86), rgba(236, 247, 252, 0.78)),
    rgba(255, 255, 255, 0.72);
  box-shadow: 20px 0 60px rgba(42, 78, 105, 0.12);
  z-index: 120;
}

.desktop-cockpit .side-brand,
.desktop-cockpit .user-box,
.desktop-cockpit .side-note,
.desktop-cockpit .topbar,
.desktop-cockpit .panel,
.desktop-cockpit .metric,
.desktop-cockpit .overview-card,
.desktop-cockpit .module-placeholder {
  border-color: rgba(10, 61, 98, 0.12);
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.82), rgba(238, 248, 252, 0.66)),
    rgba(255, 255, 255, 0.72);
  color: #102435;
  box-shadow: var(--deep-shadow);
}

.desktop-cockpit .side-brand {
  background:
    linear-gradient(135deg, rgba(0, 168, 216, 0.12), rgba(124, 58, 237, 0.06)),
    rgba(255, 255, 255, 0.74);
}

.desktop-cockpit .side-brand strong,
.desktop-cockpit .user-box strong {
  color: #102435;
}

.desktop-cockpit .side-brand span {
  color: #64788a;
}

.desktop-cockpit .side-nav button {
  border-color: rgba(10, 61, 98, 0.12);
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.9), rgba(237, 247, 252, 0.74)),
    rgba(255, 255, 255, 0.74);
  color: #254158;
  box-shadow: 0 14px 30px rgba(42, 78, 105, 0.11);
}

.desktop-cockpit .side-nav button::before {
  background: rgba(10, 61, 98, 0.22);
}

.desktop-cockpit .side-nav button::after {
  background: rgba(10, 61, 98, 0.08);
  color: #5f7486;
}

.desktop-cockpit .side-nav button:hover {
  background: rgba(0, 168, 216, 0.1);
  color: #0a3d62;
}

.desktop-cockpit .side-nav button.active {
  border-color: rgba(0, 168, 216, 0.42);
  background: linear-gradient(135deg, #00c8f5, #3b82f6);
  color: #ffffff;
}

.desktop-cockpit .side-nav button.active::after {
  background: rgba(255, 255, 255, 0.24);
  color: #ffffff;
}

.desktop-cockpit .sidebar,
.desktop-cockpit .side-nav {
  overflow: visible;
}

.desktop-cockpit .side-nav-group {
  position: relative;
}

.desktop-cockpit .side-nav-group.has-children:hover,
.desktop-cockpit .side-nav-group.has-children:focus-within {
  z-index: 160;
}

.desktop-cockpit .side-nav-group.has-children::after {
  content: "";
  position: absolute;
  top: -6px;
  left: 100%;
  width: 18px;
  height: calc(100% + 12px);
}

.desktop-cockpit .side-subnav {
  position: absolute;
  top: 0;
  left: calc(100% - 2px);
  z-index: 220;
  display: grid;
  min-width: 174px;
  gap: 8px;
  padding: 10px;
  border: 1px solid rgba(0, 168, 216, 0.18);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.92);
  box-shadow: 0 24px 60px rgba(42, 78, 105, 0.22);
  backdrop-filter: blur(18px);
  opacity: 0;
  pointer-events: none;
  transform: translateX(-8px) translateY(4px);
  transition: opacity 0.18s ease, transform 0.18s ease;
}

.desktop-cockpit .side-nav-group.has-children:hover .side-subnav,
.desktop-cockpit .side-nav-group.has-children:focus-within .side-subnav {
  opacity: 1;
  pointer-events: auto;
  transform: translateX(0) translateY(0);
}

.desktop-cockpit .side-nav .side-subnav .sub-nav-button {
  min-height: 42px;
  padding: 0 13px;
  border-left-width: 1px;
  border-radius: 13px;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.96), rgba(237, 247, 252, 0.86)),
    rgba(255, 255, 255, 0.86);
  color: #244257;
  box-shadow: none;
  font-size: 14px;
}

.desktop-cockpit .side-nav .side-subnav .sub-nav-button::before,
.desktop-cockpit .side-nav .side-subnav .sub-nav-button::after {
  display: none;
}

.desktop-cockpit .side-nav .side-subnav .sub-nav-button:hover {
  transform: translateX(3px);
  color: #0a3d62;
  background: rgba(0, 168, 216, 0.12);
}

.desktop-cockpit .side-nav .side-subnav .sub-nav-button.active {
  border-color: rgba(0, 168, 216, 0.34);
  background: linear-gradient(135deg, #e0f7ff, #e7f0ff);
  color: #075985;
}

.desktop-cockpit .panel:hover,
.desktop-cockpit .metric:hover,
.desktop-cockpit .overview-card:hover,
.desktop-cockpit .module-placeholder:hover {
  border-color: rgba(0, 168, 216, 0.32);
  box-shadow: 0 34px 78px rgba(42, 78, 105, 0.2), 0 0 34px rgba(0, 168, 216, 0.1);
}

.desktop-cockpit .metric::before {
  background:
    linear-gradient(115deg, rgba(0, 168, 216, 0.13), transparent 38%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.76), transparent);
}

.desktop-cockpit .metric span,
.desktop-cockpit .bar em,
.desktop-cockpit .chart-legend span,
.desktop-cockpit .chart-legend strong,
.desktop-cockpit .role-list span,
.desktop-cockpit .task-list span,
.desktop-cockpit .timeline span,
.desktop-cockpit .photo-grid span,
.desktop-cockpit .role-list p,
.desktop-cockpit .timeline p,
.desktop-cockpit .ops-note-list p,
.desktop-cockpit .alarm-list p,
.desktop-cockpit .placeholder-grid span {
  color: #64788a;
}

.desktop-cockpit .metric strong {
  color: #102435;
  text-shadow: 0 0 18px rgba(0, 168, 216, 0.12);
}

.desktop-cockpit .bars,
.desktop-cockpit .line-chart-card svg {
  background:
    linear-gradient(90deg, rgba(10, 61, 98, 0.055) 1px, transparent 1px) 0 0 / 46px 46px,
    linear-gradient(0deg, rgba(10, 61, 98, 0.04) 1px, transparent 1px) 0 0 / 46px 46px,
    rgba(255, 255, 255, 0.52);
}

.desktop-cockpit .tr,
.desktop-cockpit .role-list article,
.desktop-cockpit .task-list article,
.desktop-cockpit .timeline article,
.desktop-cockpit .ops-note-list article,
.desktop-cockpit .alarm-list article,
.desktop-cockpit .placeholder-grid article {
  border-color: rgba(10, 61, 98, 0.1);
  background: rgba(255, 255, 255, 0.66);
  color: #102435;
}

.desktop-cockpit .tr.head {
  border-color: rgba(0, 168, 216, 0.14);
  background: rgba(0, 168, 216, 0.1);
  color: #087da4;
}

.desktop-cockpit .tr:not(.head):hover,
.desktop-cockpit .role-list article:hover,
.desktop-cockpit .task-list article:hover,
.desktop-cockpit .timeline article:hover,
.desktop-cockpit .ops-note-list article:hover,
.desktop-cockpit .alarm-list article:hover,
.desktop-cockpit .placeholder-grid article:hover {
  border-color: rgba(0, 168, 216, 0.28);
  background: rgba(236, 249, 253, 0.9);
  box-shadow: 0 18px 42px rgba(42, 78, 105, 0.12);
}

.desktop-cockpit .pill {
  background: rgba(10, 61, 98, 0.06);
  color: #254158;
}

.desktop-cockpit .pill.teal {
  background: rgba(0, 168, 216, 0.12);
  color: #087da4;
}

.desktop-cockpit .pill.green {
  background: rgba(22, 163, 74, 0.12);
  color: #15803d;
}

.desktop-cockpit .pill.amber {
  background: rgba(245, 158, 11, 0.16);
  color: #a16207;
}

.desktop-cockpit .empty {
  border-color: rgba(10, 61, 98, 0.14);
  background: rgba(255, 255, 255, 0.58);
  color: #64788a;
}

.desktop-cockpit .ops-overview-hero,
.desktop-cockpit .public-hero {
  border-color: rgba(0, 168, 216, 0.16);
  background:
    linear-gradient(135deg, rgba(0, 168, 216, 0.16), rgba(124, 58, 237, 0.08)),
    linear-gradient(90deg, rgba(10, 61, 98, 0.06) 1px, transparent 1px) 0 0 / 44px 44px,
    linear-gradient(135deg, rgba(255, 255, 255, 0.9), rgba(228, 246, 253, 0.78));
  color: #102435;
}

.desktop-cockpit .ops-overview-hero h2,
.desktop-cockpit .public-hero h2 {
  color: #102435;
}

.desktop-cockpit .ops-overview-hero p,
.desktop-cockpit .public-hero p {
  color: #5f7486;
}

.desktop-cockpit .hero-status,
.desktop-cockpit .progress-big {
  border-color: rgba(0, 168, 216, 0.18);
  background:
    radial-gradient(circle, rgba(255, 255, 255, 0.96), rgba(255, 255, 255, 0.72) 62%),
    conic-gradient(#00c8f5, #6d5dfc, rgba(10, 61, 98, 0.08), #00c8f5);
  box-shadow: 0 0 42px rgba(0, 168, 216, 0.18);
}

.desktop-cockpit .hero-status::before {
  background: rgba(255, 255, 255, 0.86);
}

.desktop-cockpit .plc-row {
  background:
    linear-gradient(90deg, var(--row-soft) 0%, var(--row-soft) 38%, rgba(255, 255, 255, 0.72) 38%, rgba(255, 255, 255, 0.84) 100%),
    rgba(255, 255, 255, 0.66);
}

.desktop-cockpit .plc-list span,
.desktop-cockpit .plc-list strong {
  color: #102435;
}

.desktop-cockpit .plc-list em,
.desktop-cockpit .plc-list small {
  color: #64788a;
}

.desktop-cockpit .plc-placeholder {
  border-color: rgba(10, 61, 98, 0.1);
  background: rgba(255, 255, 255, 0.74);
  color: #102435;
}

.desktop-cockpit .chart-grid line {
  stroke: rgba(10, 61, 98, 0.12);
}

.desktop-cockpit .chart-labels text {
  fill: #64788a;
}

.desktop-cockpit .chart-legend span,
.desktop-cockpit .chart-legend strong {
  background: rgba(255, 255, 255, 0.72);
}

.desktop-cockpit .photo-grid article {
  border-color: rgba(0, 168, 216, 0.16);
  background:
    linear-gradient(135deg, rgba(0, 168, 216, 0.16), rgba(124, 58, 237, 0.1)),
    rgba(255, 255, 255, 0.72);
  color: #102435;
}

.desktop-cockpit .toast {
  border-color: rgba(0, 168, 216, 0.22);
  background: rgba(255, 255, 255, 0.94);
  color: #102435;
  box-shadow: 0 24px 64px rgba(42, 78, 105, 0.2);
}

.desktop-cockpit .toast.toast--error {
  border-color: #fca5a5;
  background: linear-gradient(135deg, #fee2e2, #fff1f2);
  color: #991b1b;
  box-shadow: 0 18px 42px rgba(185, 28, 28, 0.18), inset 0 1px 0 rgba(255, 255, 255, 0.82);
  backdrop-filter: none;
}

.desktop-cockpit .toast.toast--warning {
  border-color: #fdba74;
  background: linear-gradient(135deg, #ffedd5, #fff7ed);
  color: #9a3412;
  box-shadow: 0 18px 42px rgba(194, 65, 12, 0.16), inset 0 1px 0 rgba(255, 255, 255, 0.82);
  backdrop-filter: none;
}

.desktop-cockpit .toast.toast--success {
  border-color: #86efac;
  background: linear-gradient(135deg, #dcfce7, #f0fdf4);
  color: #166534;
  box-shadow: 0 18px 42px rgba(22, 101, 52, 0.16), inset 0 1px 0 rgba(255, 255, 255, 0.82);
  backdrop-filter: none;
}

.desktop-cockpit .skeleton-block,
.desktop-cockpit .skeleton-line,
.desktop-cockpit .skeleton-nav span,
.desktop-cockpit .skeleton-card,
.desktop-cockpit .skeleton-panel {
  background: rgba(10, 61, 98, 0.08);
}

/* Readability and motion polish for the light cockpit */
.desktop-cockpit .overview-card-head span,
.desktop-cockpit .chart-legend strong,
.desktop-cockpit .login-status-strip span,
.desktop-cockpit .minimal-brand p {
  border: 1px solid rgba(0, 128, 170, 0.18);
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.92), rgba(219, 245, 252, 0.86)),
    rgba(255, 255, 255, 0.9);
  color: #07516d;
  box-shadow: 0 10px 24px rgba(56, 113, 147, 0.1), inset 0 1px 0 rgba(255, 255, 255, 0.95);
  text-shadow: none;
}

.desktop-cockpit .overview-card-head span {
  min-height: 34px;
  padding: 0 13px;
  font-weight: 950;
}

.desktop-cockpit .overview-card-head span::before,
.desktop-cockpit .login-status-strip span::before,
.desktop-cockpit .minimal-brand p::before {
  content: "";
  width: 7px;
  height: 7px;
  margin-right: 7px;
  border-radius: 50%;
  background: #00a8d8;
  box-shadow: 0 0 0 5px rgba(0, 168, 216, 0.14);
  animation: badge-pulse 2.8s ease-in-out infinite;
}

.desktop-cockpit .project-switch span {
  min-height: auto;
  padding: 0;
  border: 0;
  background: transparent;
  color: #526d80;
  box-shadow: none;
  font-size: 12px;
  font-weight: 900;
}

.desktop-cockpit .hero-status {
  isolation: isolate;
}

.desktop-cockpit .hero-status strong {
  color: #0b314a;
  text-shadow: 0 0 18px rgba(0, 168, 216, 0.16);
}

.desktop-cockpit .hero-status span {
  min-height: 26px;
  margin-top: -22px;
  padding: 3px 10px;
  border: 1px solid rgba(0, 128, 170, 0.12);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.86);
  color: #07516d;
  font-weight: 950;
  box-shadow: 0 8px 18px rgba(56, 113, 147, 0.12);
}

.desktop-cockpit .hero-status::after,
.desktop-cockpit .progress-big::after {
  content: "";
  position: absolute;
  inset: 9px;
  border-radius: 50%;
  border: 1px dashed rgba(0, 168, 216, 0.28);
  animation: gauge-rotate 14s linear infinite;
}

.desktop-cockpit .overview-card,
.desktop-cockpit .panel,
.desktop-cockpit .metric,
.desktop-cockpit .ops-overview-hero,
.desktop-cockpit .topbar {
  background-size: 160% 160%, auto, auto;
  animation: panel-in 0.48s ease-out both, surface-breathe 8s ease-in-out infinite;
}

.desktop-cockpit .overview-card::after,
.desktop-cockpit .ops-overview-hero::after,
.desktop-cockpit .topbar::after {
  animation: row-sheen 7s ease-in-out infinite alternate;
}

.desktop-cockpit .plc-row::after,
.desktop-cockpit .metric::after,
.desktop-cockpit .login-insight-grid article::before {
  animation-duration: 3.6s;
}

.desktop-cockpit .refined-login {
  background-size: 150% 150%, 130% 130%, 180% 180%;
  animation: login-bg-flow 14s ease-in-out infinite;
}

.desktop-cockpit .refined-login .login-visual {
  position: relative;
}

.desktop-cockpit .refined-login .login-visual::before {
  content: "";
  position: absolute;
  inset: 74px 32px 34px;
  z-index: -1;
  border: 1px solid rgba(0, 168, 216, 0.12);
  border-radius: 30px;
  background:
    linear-gradient(90deg, rgba(0, 168, 216, 0.08) 1px, transparent 1px) 0 0 / 42px 42px,
    linear-gradient(0deg, rgba(0, 168, 216, 0.06) 1px, transparent 1px) 0 0 / 42px 42px,
    linear-gradient(135deg, rgba(255, 255, 255, 0.34), rgba(255, 255, 255, 0.08));
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.65), 0 30px 80px rgba(56, 113, 147, 0.09);
  animation: grid-flow 18s linear infinite;
}

.desktop-cockpit .refined-login .login-visual::after {
  background:
    linear-gradient(8deg, rgba(0, 168, 216, 0.18) 0 1px, transparent 1px 34px),
    linear-gradient(102deg, rgba(0, 168, 216, 0.13), transparent 52%),
    linear-gradient(20deg, transparent 0 42%, rgba(124, 58, 237, 0.08) 43%, transparent 44%);
  animation: tide-panel 7.5s ease-in-out infinite;
}

.desktop-cockpit .water-scene::before,
.desktop-cockpit .water-scene::after {
  opacity: 0.9;
  background:
    repeating-linear-gradient(108deg, rgba(0, 168, 216, 0.18) 0 1px, transparent 1px 44px),
    repeating-linear-gradient(22deg, rgba(124, 58, 237, 0.09) 0 1px, transparent 1px 78px);
}

.desktop-cockpit .water-scene span {
  height: 118px;
  border-color: rgba(0, 168, 216, 0.22);
  background:
    linear-gradient(90deg, transparent, rgba(0, 168, 216, 0.09), rgba(124, 58, 237, 0.06), transparent);
  box-shadow: 0 14px 42px rgba(0, 168, 216, 0.08);
  animation: wave-drift 6.8s ease-in-out infinite;
}

.desktop-cockpit .minimal-brand {
  animation: brand-enter 0.78s ease-out both, brand-float 6.8s ease-in-out infinite;
}

.desktop-cockpit .minimal-brand h1 {
  background: none;
  background-clip: border-box;
  -webkit-background-clip: border-box;
  color: #0b314a;
  -webkit-text-fill-color: #0b314a;
  text-shadow: 0 22px 56px rgba(42, 78, 105, 0.16), 0 0 28px rgba(0, 168, 216, 0.12);
}

.desktop-cockpit .login-insight-grid article {
  overflow: hidden;
  animation: panel-in 0.72s ease-out both, card-float 7.2s ease-in-out infinite;
}

.desktop-cockpit .login-insight-grid article:nth-child(2) {
  animation-delay: 0.06s, 0.8s;
}

.desktop-cockpit .login-insight-grid article:nth-child(3) {
  animation-delay: 0.12s, 1.5s;
}

.desktop-cockpit .login-card {
  animation: card-rise 0.62s ease-out both, card-float 8s ease-in-out infinite;
}

.desktop-cockpit .login-card::before {
  height: 2px;
  background: linear-gradient(90deg, transparent, #00a8d8, #3b82f6, #7c3aed, transparent);
  animation: header-scan 4s ease-in-out infinite;
}

.desktop-cockpit .mode-tabs button,
.desktop-cockpit .role-choice,
.desktop-cockpit .btn {
  transition: transform 0.28s ease, box-shadow 0.28s ease, background 0.28s ease, border-color 0.28s ease, color 0.28s ease;
}

.desktop-cockpit .mode-tabs button:hover,
.desktop-cockpit .role-choice:hover {
  transform: translateY(-2px) scale(1.01);
}

/* Smoother login headline motion: transform-only movement plus a lightweight scan line. */
.desktop-cockpit .minimal-brand {
  contain: layout paint;
  transform: translate3d(0, 0, 0);
  backface-visibility: hidden;
  animation: brand-enter 0.52s cubic-bezier(0.2, 0.8, 0.2, 1) both;
}

.desktop-cockpit .minimal-brand h1 {
  position: relative;
  isolation: isolate;
  transform: translate3d(0, 0, 0);
  backface-visibility: hidden;
  text-rendering: optimizeLegibility;
  animation: none;
}

.desktop-cockpit .minimal-brand h1 span:last-child {
  color: #087da4;
  -webkit-text-fill-color: #087da4;
}

.desktop-cockpit .minimal-brand h1 span {
  position: relative;
  display: block;
  transform: translate3d(0, 0, 0);
  backface-visibility: hidden;
  animation: none;
}

.desktop-cockpit .minimal-brand h1 span:last-child {
  animation-delay: 0s;
}

.desktop-cockpit .minimal-brand h1 span::after {
  content: "";
  position: absolute;
  left: 0.02em;
  right: 0.06em;
  bottom: 0.04em;
  height: 0.08em;
  border-radius: 999px;
  background: linear-gradient(90deg, transparent, rgba(0, 168, 216, 0.38), rgba(59, 130, 246, 0.24), transparent);
  opacity: 0;
  transform: translate3d(-10%, 0, 0) scaleX(0.18);
  transform-origin: left center;
  will-change: transform, opacity;
  animation: headline-scan 8.8s ease-in-out infinite;
}

.desktop-cockpit .minimal-brand h1 span:last-child::after {
  animation-delay: 1.35s;
}

.desktop-cockpit .minimal-brand .eyebrow,
.desktop-cockpit .minimal-brand p {
  transform: translate3d(0, 0, 0);
  backface-visibility: hidden;
  animation: none;
}

.desktop-cockpit sup,
.desktop-cockpit sub {
  font-size: 0.64em;
  line-height: 0;
}

.desktop-cockpit sup {
  vertical-align: super;
}

.desktop-cockpit sub {
  vertical-align: sub;
}

/* PLC data rows need explicit light-theme fills so public cache/order cannot wash them out. */
.desktop-cockpit .plc-row {
  border-color: var(--row-line) !important;
  background:
    linear-gradient(90deg, rgba(255, 255, 255, 0.9) 0%, var(--row-soft) 52%, rgba(255, 255, 255, 0.94) 100%),
    rgba(255, 255, 255, 0.72) !important;
  border-left: 0 !important;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.96), 0 14px 32px rgba(42, 78, 105, 0.1) !important;
}

.desktop-cockpit .plc-row::before {
  content: "" !important;
  position: absolute;
  inset: 10px auto 10px 0;
  width: 6px;
  border-radius: 999px;
  background: var(--row-accent) !important;
  box-shadow: 0 0 18px var(--row-accent);
  opacity: 1;
}

.desktop-cockpit .plc-row::after {
  background:
    linear-gradient(100deg, transparent, rgba(255, 255, 255, 0.62) 42%, transparent 76%),
    radial-gradient(circle at 100% 0%, var(--row-soft), transparent 58%) !important;
  opacity: 0.75;
}

.desktop-cockpit .plc-row[data-tone="teal"] {
  --row-accent: #00bcd4;
  --row-strong: rgba(0, 188, 212, 0.12);
  --row-soft: rgba(0, 188, 212, 0.1);
  --row-line: rgba(0, 188, 212, 0.26);
}

.desktop-cockpit .plc-row[data-tone="blue"] {
  --row-accent: #3b82f6;
  --row-strong: rgba(59, 130, 246, 0.11);
  --row-soft: rgba(59, 130, 246, 0.09);
  --row-line: rgba(59, 130, 246, 0.24);
}

.desktop-cockpit .plc-row[data-tone="green"] {
  --row-accent: #22c55e;
  --row-strong: rgba(34, 197, 94, 0.11);
  --row-soft: rgba(34, 197, 94, 0.09);
  --row-line: rgba(34, 197, 94, 0.24);
}

.desktop-cockpit .plc-row[data-tone="cyan"] {
  --row-accent: #06b6d4;
  --row-strong: rgba(6, 182, 212, 0.12);
  --row-soft: rgba(6, 182, 212, 0.1);
  --row-line: rgba(6, 182, 212, 0.25);
}

.desktop-cockpit .plc-row[data-tone="amber"] {
  --row-accent: #f59e0b;
  --row-strong: rgba(245, 158, 11, 0.13);
  --row-soft: rgba(245, 158, 11, 0.1);
  --row-line: rgba(245, 158, 11, 0.28);
}

.desktop-cockpit .plc-row[data-tone="violet"] {
  --row-accent: #7c3aed;
  --row-strong: rgba(124, 58, 237, 0.12);
  --row-soft: rgba(124, 58, 237, 0.1);
  --row-line: rgba(124, 58, 237, 0.24);
}

.desktop-cockpit .plc-row[data-tone="rose"] {
  --row-accent: #fb7185;
  --row-strong: rgba(251, 113, 133, 0.12);
  --row-soft: rgba(251, 113, 133, 0.1);
  --row-line: rgba(251, 113, 133, 0.24);
}

.desktop-cockpit .modal-backdrop {
  position: fixed;
  inset: 0;
  z-index: 40;
  display: grid;
  place-items: center;
  padding: 28px;
  background: rgba(12, 31, 45, 0.18);
  backdrop-filter: blur(14px);
  animation: panel-in 0.22s ease-out both;
}

.desktop-cockpit .modal-card {
  width: min(760px, 100%);
  max-height: min(82vh, 720px);
  overflow: auto;
  border: 1px solid rgba(0, 168, 216, 0.18);
  border-radius: 24px;
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.96), rgba(236, 249, 253, 0.9)),
    rgba(255, 255, 255, 0.94);
  box-shadow: 0 34px 86px rgba(42, 78, 105, 0.24), inset 0 1px 0 rgba(255, 255, 255, 0.98);
}

.desktop-cockpit .modal-head {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  padding: 24px 24px 16px;
  border-bottom: 1px solid rgba(10, 61, 98, 0.08);
}

.desktop-cockpit .modal-head h2 {
  margin: 12px 0 8px;
  color: #102435;
  font-size: 28px;
}

.desktop-cockpit .modal-head p,
.desktop-cockpit .modal-section p {
  color: #526d80;
}

.desktop-cockpit .modal-close {
  width: 40px;
  height: 40px;
  border: 0;
  border-radius: 50%;
  background: rgba(0, 168, 216, 0.1);
  color: #0a3d62;
  font-size: 24px;
  font-weight: 900;
  cursor: pointer;
  transition: transform 0.2s ease, background 0.2s ease;
}

.desktop-cockpit .modal-close:hover {
  transform: scale(1.08);
  background: rgba(0, 168, 216, 0.18);
}

.desktop-cockpit .modal-section {
  padding: 18px 24px 0;
}

.desktop-cockpit .modal-section h3 {
  margin-bottom: 8px;
  color: #0b314a;
  font-size: 16px;
}

.desktop-cockpit .modal-detail-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  padding: 22px 24px 24px;
}

.desktop-cockpit .modal-detail-grid article {
  min-height: 74px;
  padding: 14px;
  border: 1px solid rgba(0, 168, 216, 0.12);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.74);
}

.desktop-cockpit .modal-detail-grid span {
  display: block;
  margin-bottom: 8px;
  color: #64788a;
  font-size: 12px;
  font-weight: 900;
}

.desktop-cockpit .modal-detail-grid strong {
  color: #102435;
  font-size: 15px;
}

.desktop-cockpit .anomaly-detail-btn {
  margin-top: 12px;
}

@keyframes badge-pulse {
  0%,
  100% {
    transform: scale(0.86);
    box-shadow: 0 0 0 4px rgba(0, 168, 216, 0.12);
  }
  50% {
    transform: scale(1);
    box-shadow: 0 0 0 7px rgba(0, 168, 216, 0.06);
  }
}

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

@keyframes surface-breathe {
  0%,
  100% {
    background-position: 0% 50%, 0 0, 0 0;
  }
  50% {
    background-position: 100% 50%, 0 0, 0 0;
  }
}

@keyframes brand-float {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-8px);
  }
}

@keyframes brand-glide {
  0%,
  100% {
    transform: translate3d(0, 0, 0);
  }
  50% {
    transform: translate3d(0, -5px, 0);
  }
}

@keyframes headline-flow {
  0% {
    background-position: 0% 50%;
  }
  100% {
    background-position: 220% 50%;
  }
}

@keyframes headline-line-glide {
  0%,
  100% {
    transform: translate3d(0, 0, 0);
  }
  50% {
    transform: translate3d(4px, -2px, 0);
  }
}

@keyframes headline-scan {
  0%,
  22% {
    opacity: 0;
    transform: translate3d(-8%, 0, 0) scaleX(0.16);
  }
  42% {
    opacity: 0.58;
    transform: translate3d(0, 0, 0) scaleX(0.62);
  }
  68% {
    opacity: 0.16;
    transform: translate3d(8%, 0, 0) scaleX(0.26);
  }
  100% {
    opacity: 0;
    transform: translate3d(12%, 0, 0) scaleX(0.18);
  }
}

@keyframes label-drift {
  0%,
  100% {
    transform: translate3d(0, 0, 0);
  }
  50% {
    transform: translate3d(3px, 0, 0);
  }
}

@keyframes card-float {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-5px);
  }
}

@keyframes header-scan {
  0%,
  100% {
    opacity: 0.65;
    transform: translateX(-12%);
  }
  50% {
    opacity: 1;
    transform: translateX(12%);
  }
}

@keyframes login-layer-drift {
  0% {
    transform: translate3d(-1.2%, 0, 0);
    opacity: 0.48;
  }
  100% {
    transform: translate3d(1.2%, -0.8%, 0);
    opacity: 0.68;
  }
}

@keyframes water-surface-drift {
  0% {
    transform: translate3d(-1.5%, 0, 0) skewY(-1deg);
  }
  100% {
    transform: translate3d(1.5%, -0.6%, 0) skewY(1deg);
  }
}

@media (max-width: 1180px) {
  .desktop-cockpit .shell {
    grid-template-columns: 250px minmax(0, 1fr);
  }

  .desktop-cockpit .sidebar {
    width: 250px;
  }

  .desktop-cockpit .minimal-brand h1 {
    font-size: 72px;
  }
}

@media (max-width: 920px) {
  .desktop-cockpit .refined-login,
  .desktop-cockpit .shell {
    grid-template-columns: 1fr;
  }

  .desktop-cockpit .sidebar {
    width: auto;
    height: auto;
  }

  .desktop-cockpit .refined-login .login-visual {
    min-height: 470px;
  }

  .desktop-cockpit .side-nav {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}

@media (max-width: 700px) {
  .desktop-cockpit .workspace,
  .desktop-cockpit .refined-login .login-visual {
    padding: 20px;
  }

  .desktop-cockpit .refined-login .login-visual {
    padding-top: 96px;
  }

  .desktop-cockpit .minimal-brand h1 {
    font-size: 48px;
  }

  .desktop-cockpit .login-card {
    width: calc(100% - 28px);
    padding: 22px;
  }

  .desktop-cockpit .side-nav,
  .desktop-cockpit .grid.metrics,
  .desktop-cockpit .grid.two,
  .desktop-cockpit .split,
  .desktop-cockpit .overview-grid,
  .desktop-cockpit .overview-grid.lower,
  .desktop-cockpit .alarm-list,
  .desktop-cockpit .placeholder-grid {
    grid-template-columns: 1fr;
  }

  .desktop-cockpit .panel:hover,
  .desktop-cockpit .metric:hover,
  .desktop-cockpit .overview-card:hover,
  .desktop-cockpit .module-placeholder:hover {
    transform: none;
  }
}

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