:root {
  color-scheme: light;
  --bg: #e9eef6;
  --surface: #ffffff;
  --surface-2: #f8fbff;
  --ink: #111827;
  --muted: #667085;
  --line: #d8e2ee;
  --brand: #155be8;
  --brand-strong: #103fa4;
  --cyan: #12c6d8;
  --violet: #6c35d6;
  --navy: #0a1527;
  --green: #24936e;
  --amber: #bc7a00;
  --red: #c9453a;
  --blue: #2b66c9;
  --shadow: 0 18px 45px rgba(19, 35, 67, 0.12);
  --shadow-soft: 0 10px 30px rgba(15, 34, 70, 0.08);
}

* {
  box-sizing: border-box;
}

[hidden] {
  display: none !important;
}

body {
  margin: 0;
  min-width: 1120px;
  min-height: 100vh;
  font-family: Inter, "PingFang SC", "Microsoft YaHei", Arial, sans-serif;
  color: var(--ink);
  background:
    linear-gradient(135deg, rgba(21, 91, 232, 0.08), transparent 38%),
    linear-gradient(315deg, rgba(18, 198, 216, 0.1), transparent 42%),
    var(--bg);
}

body.platform-mode {
  color: #dbe7ff;
  background:
    radial-gradient(circle at 18% 8%, rgba(18, 198, 216, 0.14), transparent 32%),
    radial-gradient(circle at 86% 10%, rgba(108, 53, 214, 0.13), transparent 34%),
    linear-gradient(135deg, #071426 0%, #0b1730 52%, #101929 100%);
}

button,
input,
select {
  font: inherit;
}

button {
  cursor: pointer;
}

.site-shell {
  min-height: 100vh;
  background: #f5f7fb;
}

.site-nav {
  position: sticky;
  top: 0;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  height: 76px;
  padding: 0 48px;
  border-bottom: 1px solid rgba(17, 24, 39, 0.08);
  background: rgba(255, 255, 255, 0.86);
  backdrop-filter: blur(18px);
}

.site-brand {
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--ink);
  text-decoration: none;
}

.site-brand img {
  width: 42px;
  height: 42px;
  border-radius: 8px;
  object-fit: cover;
}

.site-brand strong,
.site-brand small {
  display: block;
}

.site-brand strong {
  letter-spacing: 0.08em;
}

.site-brand small {
  margin-top: 2px;
  color: var(--muted);
  font-size: 12px;
}

.site-nav nav {
  display: flex;
  align-items: center;
  gap: 28px;
}

.site-nav a {
  color: #2f3b4f;
  text-decoration: none;
  font-size: 14px;
}

.site-actions,
.site-hero-actions {
  display: flex;
  align-items: center;
  gap: 10px;
}

.site-primary-button,
.site-outline-button,
.site-link-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 42px;
  border-radius: 8px;
  padding: 0 18px;
  text-decoration: none;
  font: inherit;
}

.site-primary-button {
  border: 1px solid #111827;
  color: #ffffff;
  background: #111827;
  box-shadow: 0 16px 34px rgba(17, 24, 39, 0.18);
}

.site-outline-button,
.site-link-button {
  border: 1px solid rgba(17, 24, 39, 0.16);
  color: #111827;
  background: rgba(255, 255, 255, 0.78);
}

.site-link-button {
  box-shadow: none;
}

.site-hero {
  position: relative;
  min-height: 720px;
  overflow: hidden;
  color: #ffffff;
  background: #071426;
}

.site-hero-media,
.site-hero-media::after {
  position: absolute;
  inset: 0;
}

.site-hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.site-hero-media::after {
  content: "";
  background:
    linear-gradient(90deg, rgba(5, 14, 28, 0.88), rgba(5, 14, 28, 0.42), rgba(5, 14, 28, 0.12)),
    linear-gradient(180deg, rgba(5, 14, 28, 0.18), rgba(5, 14, 28, 0.72));
}

.site-hero-copy {
  position: relative;
  z-index: 1;
  max-width: 760px;
  padding: 128px 52px 0;
}

.site-hero-copy span,
.section-kicker,
.site-cta span {
  display: block;
  color: #4fd6e7;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.08em;
}

.site-hero-copy h1 {
  margin: 18px 0 18px;
  font-size: 58px;
  line-height: 1.05;
}

.site-hero-copy p {
  max-width: 660px;
  color: rgba(255, 255, 255, 0.82);
  font-size: 17px;
  line-height: 1.75;
}

.site-hero-actions {
  margin-top: 32px;
}

.site-hero-actions .site-outline-button {
  color: #ffffff;
  border-color: rgba(255, 255, 255, 0.36);
  background: rgba(255, 255, 255, 0.08);
}

.site-hero-stats {
  position: absolute;
  left: 52px;
  right: 52px;
  bottom: 40px;
  z-index: 1;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
}

.site-hero-stats article {
  min-height: 126px;
  padding: 20px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(16px);
}

.site-hero-stats strong {
  display: block;
  font-size: 30px;
}

.site-hero-stats span {
  display: block;
  margin-top: 10px;
  color: rgba(255, 255, 255, 0.76);
}

.site-section {
  padding: 86px 52px;
}

.site-intro,
.site-products {
  background: #ffffff;
}

.site-intro {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: 40px;
  align-items: start;
}

.site-section h2 {
  margin: 12px 0 0;
  font-size: 38px;
  line-height: 1.18;
}

.intro-flow,
.product-grid,
.solution-showcase,
.site-case-grid {
  display: grid;
  gap: 16px;
}

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

.intro-flow article,
.product-grid article {
  min-height: 208px;
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface-2);
}

.intro-flow strong,
.solution-showcase strong,
.product-grid h3 {
  display: block;
  margin-bottom: 12px;
  font-size: 20px;
}

.intro-flow p,
.solution-showcase p,
.product-grid p,
.site-case-grid p,
.site-training p,
.site-cta p,
.member-dialog p {
  color: var(--muted);
  line-height: 1.7;
}

.section-heading {
  max-width: 760px;
  margin-bottom: 30px;
}

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

.solution-showcase article,
.site-case-grid article {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #ffffff;
  box-shadow: var(--shadow-soft);
}

.solution-showcase img {
  width: 100%;
  height: 280px;
  object-fit: cover;
}

.solution-showcase strong,
.solution-showcase p {
  padding-left: 22px;
  padding-right: 22px;
}

.solution-showcase strong {
  margin-top: 20px;
}

.solution-showcase p {
  padding-bottom: 24px;
}

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

.product-grid span {
  color: var(--brand);
  font-weight: 800;
}

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

.site-case-grid img {
  width: 100%;
  height: 250px;
  object-fit: cover;
}

.site-case-grid div {
  padding: 22px;
}

.site-case-grid strong {
  display: block;
  margin-bottom: 10px;
  font-size: 20px;
}

.membership-section {
  background:
    linear-gradient(135deg, rgba(21, 91, 232, 0.06), transparent 42%),
    #ffffff;
}

.membership-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.membership-grid article {
  min-height: 220px;
  padding: 24px;
  border: 1px solid rgba(17, 24, 39, 0.1);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.88);
  box-shadow: var(--shadow-soft);
}

.membership-grid span {
  display: block;
  color: var(--brand);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.08em;
}

.membership-grid strong {
  display: block;
  margin: 14px 0 10px;
  font-size: 24px;
}

.membership-grid p {
  color: var(--muted);
  line-height: 1.7;
}

.site-training {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 38px;
  align-items: center;
  background: #ffffff;
}

.site-training img {
  width: 100%;
  height: 420px;
  object-fit: cover;
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.site-training .site-primary-button {
  margin-top: 24px;
}

.site-cta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  margin: 0 52px 60px;
  padding: 42px;
  border-radius: 8px;
  color: #ffffff;
  background:
    linear-gradient(135deg, rgba(21, 91, 232, 0.82), rgba(8, 20, 39, 0.94)),
    #111827;
  box-shadow: var(--shadow);
}

.site-cta h2 {
  margin: 10px 0;
  font-size: 34px;
}

.site-cta p {
  color: rgba(255, 255, 255, 0.78);
}

.site-cta .site-primary-button {
  border-color: #ffffff;
  color: #111827;
  background: #ffffff;
}

.logout-button {
  width: 100%;
  height: 36px;
  margin-top: 14px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 8px;
  color: #ffffff;
  background: rgba(255, 255, 255, 0.08);
}

.logout-button:hover,
.ghost-button:hover,
.icon-button:hover,
.nav-item:hover {
  border-color: rgba(125, 228, 255, 0.34);
}

.app-shell {
  display: grid;
  grid-template-columns: 278px minmax(0, 1fr);
  min-height: 100vh;
}

.platform-shell {
  position: relative;
  isolation: isolate;
}

.platform-shell::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(90deg, rgba(255, 255, 255, 0.03) 1px, transparent 1px),
    linear-gradient(rgba(255, 255, 255, 0.03) 1px, transparent 1px);
  background-size: 54px 54px;
  mask-image: linear-gradient(180deg, rgba(0, 0, 0, 0.9), transparent 78%);
  pointer-events: none;
}

.sidebar {
  position: sticky;
  top: 0;
  height: 100vh;
  display: flex;
  flex-direction: column;
  padding: 24px 18px 18px;
  color: #f4fbff;
  background:
    linear-gradient(180deg, rgba(18, 198, 216, 0.12), transparent 42%),
    linear-gradient(145deg, rgba(7, 20, 38, 0.96), rgba(14, 34, 59, 0.94) 58%, rgba(8, 17, 32, 0.98));
  box-shadow: inset -1px 0 0 rgba(255, 255, 255, 0.08), 18px 0 60px rgba(0, 0, 0, 0.18);
  backdrop-filter: blur(18px);
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 8px 8px 20px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}

.brand-mark {
  display: grid;
  place-items: center;
  width: 62px;
  height: 62px;
  border-radius: 8px;
  overflow: hidden;
  background: #ffffff;
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.22);
}

.brand-mark img {
  width: 54px;
  height: 54px;
  object-fit: contain;
}

.brand strong {
  display: block;
  font-size: 20px;
  letter-spacing: 0.08em;
}

.brand span {
  display: block;
  margin-top: 4px;
  color: #a9bbca;
  font-size: 12px;
}

.platform-badge {
  margin: 18px 6px 4px;
  padding: 14px;
  border: 1px solid rgba(125, 225, 214, 0.26);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.06);
}

.platform-badge span,
.sidebar-footer small {
  display: block;
  color: #9fb6c9;
  font-size: 12px;
}

.platform-badge strong {
  display: block;
  margin-top: 8px;
  font-size: 15px;
  color: #ffffff;
}

.nav {
  display: grid;
  gap: 8px;
  margin-top: 22px;
}

.nav-item {
  height: 46px;
  padding: 0 14px 0 16px;
  border: 0;
  border-radius: 8px;
  color: #bdd0df;
  text-align: left;
  background: transparent;
  position: relative;
  overflow: hidden;
}

.nav-item:hover,
.nav-item.active {
  color: #ffffff;
  background:
    linear-gradient(90deg, rgba(18, 198, 216, 0.24), rgba(21, 91, 232, 0.14)),
    rgba(255, 255, 255, 0.06);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.08);
}

.nav-item.active::before {
  content: "";
  position: absolute;
  left: 0;
  top: 9px;
  width: 3px;
  height: 28px;
  border-radius: 999px;
  background: var(--cyan);
}

.sidebar-footer {
  margin-top: auto;
  padding: 16px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.07);
}

.sidebar-footer span {
  display: block;
  color: #a9bbca;
  font-size: 12px;
}

.sidebar-footer strong {
  display: block;
  margin-top: 8px;
  font-size: 15px;
}

.sidebar-footer small {
  margin-top: 10px;
}

.main {
  padding: 22px 30px 34px;
  overflow: visible;
}

.platform-system-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  min-height: 48px;
  margin-bottom: 18px;
  padding: 10px 14px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 8px;
  color: #dbe7ff;
  background: rgba(255, 255, 255, 0.06);
  box-shadow: 0 18px 54px rgba(0, 0, 0, 0.16);
  backdrop-filter: blur(20px);
}

.system-left,
.system-right {
  display: flex;
  align-items: center;
  gap: 10px;
}

.system-left small,
.system-right span {
  color: rgba(219, 231, 255, 0.68);
  font-size: 12px;
}

.system-right span {
  padding: 6px 10px;
  border: 1px solid rgba(255, 255, 255, 0.09);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.05);
}

.live-dot {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: #28e0a6;
  box-shadow: 0 0 0 6px rgba(40, 224, 166, 0.13), 0 0 18px rgba(40, 224, 166, 0.75);
}

.topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  color: #f7fbff;
}

.eyebrow {
  margin: 0 0 6px;
  color: #7de4ff;
  font-size: 13px;
  font-weight: 700;
}

h1,
h2,
p {
  margin: 0;
}

h1 {
  font-size: 32px;
  line-height: 1.2;
}

h2 {
  font-size: 17px;
  line-height: 1.3;
}

.topbar-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 10px;
}

.icon-button,
.primary-button,
.ghost-button,
.section-toolbar button,
table button,
.dialog-card menu button {
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 8px;
  color: #eaf3ff;
  background: rgba(255, 255, 255, 0.08);
}

.icon-button {
  width: 42px;
  height: 42px;
  font-size: 20px;
  color: #ffffff;
  backdrop-filter: blur(12px);
}

.primary-button {
  height: 42px;
  padding: 0 16px;
  border-color: var(--brand);
  color: #ffffff;
  background: linear-gradient(135deg, #2176ff, #6c35d6);
  box-shadow: 0 10px 24px rgba(21, 91, 232, 0.25);
}

.ghost-button {
  height: 42px;
  padding: 0 14px;
  color: #dff7ff;
  border-color: rgba(255, 255, 255, 0.16);
  background: rgba(255, 255, 255, 0.07);
  backdrop-filter: blur(12px);
}

.title-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 12px;
}

.title-tags span {
  padding: 5px 9px;
  border: 1px solid rgba(125, 228, 255, 0.18);
  border-radius: 999px;
  color: #cfefff;
  background: rgba(255, 255, 255, 0.07);
  font-size: 12px;
}

.command-deck {
  display: grid;
  grid-template-columns: minmax(360px, 0.95fr) minmax(0, 1fr) 190px;
  gap: 18px;
  align-items: stretch;
  margin: 24px 0 18px;
  padding: 14px;
  border: 1px solid rgba(255, 255, 255, 0.11);
  border-radius: 8px;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.1), rgba(255, 255, 255, 0.045)),
    rgba(9, 21, 40, 0.68);
  box-shadow: 0 26px 80px rgba(0, 0, 0, 0.26);
  backdrop-filter: blur(22px);
}

.deck-visual {
  position: relative;
  min-height: 238px;
  overflow: hidden;
  border-radius: 8px;
  background: #071426;
}

.deck-visual img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.88;
}

.deck-visual::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent, rgba(5, 14, 28, 0.68));
}

.deck-scanline {
  position: absolute;
  left: 0;
  right: 0;
  top: 42%;
  height: 2px;
  background: linear-gradient(90deg, transparent, rgba(125, 228, 255, 0.88), transparent);
  box-shadow: 0 0 22px rgba(125, 228, 255, 0.66);
  z-index: 1;
}

.deck-floating-card {
  position: absolute;
  z-index: 2;
  min-width: 112px;
  padding: 10px 12px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 8px;
  color: #ffffff;
  background: rgba(10, 21, 39, 0.58);
  backdrop-filter: blur(14px);
}

.deck-floating-card span {
  display: block;
  color: rgba(255, 255, 255, 0.7);
  font-size: 12px;
}

.deck-floating-card strong {
  display: block;
  margin-top: 4px;
}

.deck-card-a {
  left: 16px;
  top: 16px;
}

.deck-card-b {
  right: 16px;
  bottom: 16px;
}

.deck-copy {
  padding: 22px 8px;
}

.deck-copy span {
  display: block;
  color: #7de4ff;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.08em;
}

.deck-copy h2 {
  margin: 12px 0;
  color: #ffffff;
  font-size: 30px;
}

.deck-copy p {
  max-width: 620px;
  color: rgba(219, 231, 255, 0.72);
  line-height: 1.7;
}

.deck-actions {
  display: flex;
  gap: 10px;
  margin-top: 22px;
}

.deck-health {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-height: 238px;
  padding: 18px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.11);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.06);
}

.deck-health span,
.deck-health small {
  color: rgba(219, 231, 255, 0.7);
  line-height: 1.5;
}

.deck-health strong {
  position: relative;
  z-index: 1;
  display: block;
  margin: 8px 0;
  color: #ffffff;
  font-size: 56px;
}

.deck-ring {
  position: absolute;
  right: -28px;
  bottom: -34px;
  width: 142px;
  height: 142px;
  border-radius: 50%;
  background: conic-gradient(#28e0a6 0 82%, rgba(255, 255, 255, 0.12) 82% 100%);
  opacity: 0.6;
}

.deck-ring::after {
  content: "";
  position: absolute;
  inset: 16px;
  border-radius: 50%;
  background: #0b1730;
}

.hero-strip {
  display: grid;
  grid-template-columns: 310px minmax(0, 1fr) 190px;
  gap: 18px;
  align-items: center;
  margin: 22px 0;
  padding: 18px;
  border: 1px solid rgba(21, 91, 232, 0.14);
  border-radius: 8px;
  background:
    linear-gradient(90deg, rgba(255, 255, 255, 0.1), rgba(255, 255, 255, 0.055)),
    rgba(255, 255, 255, 0.06);
  box-shadow: 0 22px 70px rgba(0, 0, 0, 0.18);
  backdrop-filter: blur(18px);
}

.hero-visual {
  position: relative;
  height: 150px;
  overflow: hidden;
  border: 1px solid rgba(21, 91, 232, 0.12);
  border-radius: 8px;
  background: #0b1324;
}

.hero-visual::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(10, 21, 39, 0.12), rgba(10, 21, 39, 0.58));
}

.hero-visual img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-copy span {
  display: block;
  color: #7de4ff;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.08em;
}

.hero-copy strong {
  display: block;
  margin: 7px 0;
  color: #ffffff;
  font-size: 22px;
}

.hero-copy p,
.hero-status small {
  color: rgba(219, 231, 255, 0.72);
  font-size: 13px;
  line-height: 1.55;
}

.hero-status {
  padding: 14px;
  border-left: 1px solid rgba(255, 255, 255, 0.12);
}

.hero-status span {
  color: rgba(219, 231, 255, 0.7);
  font-size: 12px;
}

.hero-status strong {
  display: block;
  margin: 7px 0;
  color: var(--green);
  font-size: 20px;
}

.platform-mode .brand {
  align-items: center;
}

.platform-mode .brand > div:last-child {
  min-width: 0;
}

.platform-mode .brand strong {
  overflow-wrap: anywhere;
}

.platform-mode .sidebar-footer {
  display: grid;
  gap: 2px;
}

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

.capability-ribbon article {
  min-height: 128px;
  padding: 18px;
  border: 1px solid rgba(21, 91, 232, 0.14);
  border-radius: 8px;
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.12), rgba(255, 255, 255, 0.055)),
    rgba(255, 255, 255, 0.06);
  box-shadow: 0 18px 54px rgba(0, 0, 0, 0.16);
  backdrop-filter: blur(18px);
}

.capability-ribbon span {
  display: block;
  color: rgba(219, 231, 255, 0.66);
  font-size: 12px;
}

.capability-ribbon strong {
  display: block;
  margin: 10px 0 8px;
  color: #ffffff;
  font-size: 28px;
}

.capability-ribbon small {
  display: block;
  color: rgba(219, 231, 255, 0.66);
  line-height: 1.5;
}

.metrics {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
  margin: 22px 0;
}

.metrics article,
.panel {
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 8px;
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.1), rgba(255, 255, 255, 0.055)),
    rgba(255, 255, 255, 0.06);
  box-shadow: 0 22px 70px rgba(0, 0, 0, 0.18);
  backdrop-filter: blur(18px);
}

.metrics article {
  position: relative;
  overflow: hidden;
  padding: 16px 18px;
}

.metrics article::after {
  content: "";
  position: absolute;
  right: 0;
  top: 0;
  width: 4px;
  height: 100%;
  background: linear-gradient(180deg, var(--cyan), var(--brand));
}

.metrics span,
.metrics small {
  display: block;
  color: rgba(219, 231, 255, 0.68);
}

.metrics strong {
  display: block;
  margin: 8px 0;
  color: #ffffff;
  font-size: 30px;
}

.view {
  display: none;
}

.view.active {
  display: block;
}

.overview-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.6fr) minmax(340px, 0.85fr);
  gap: 16px;
}

.scenario-panel,
.workbench-panel,
.ops-panel,
.case-panel {
  min-height: 250px;
}

.panel {
  min-width: 0;
  padding: 18px;
}

.panel-header {
  display: flex;
  align-items: start;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 16px;
}

.panel-header p {
  margin-top: 5px;
  color: rgba(219, 231, 255, 0.65);
  font-size: 13px;
}

select,
input {
  height: 40px;
  border: 1px solid rgba(255, 255, 255, 0.13);
  border-radius: 8px;
  padding: 0 12px;
  background: rgba(255, 255, 255, 0.08);
  color: #eaf3ff;
  outline: none;
}

select option {
  color: #111827;
}

.map-canvas {
  position: relative;
  height: 420px;
  overflow: hidden;
  border: 1px solid rgba(125, 228, 255, 0.16);
  border-radius: 8px;
  background:
    linear-gradient(90deg, rgba(125, 228, 255, 0.1) 1px, transparent 1px),
    linear-gradient(rgba(125, 228, 255, 0.1) 1px, transparent 1px),
    radial-gradient(circle at 30% 26%, rgba(18, 198, 216, 0.22), transparent 24%),
    radial-gradient(circle at 76% 68%, rgba(108, 53, 214, 0.22), transparent 26%),
    linear-gradient(135deg, #09182d, #10233e 48%, #0a1428);
  background-size: 42px 42px, 42px 42px, auto, auto, auto;
}

.map-canvas::before {
  content: "";
  position: absolute;
  inset: 20px;
  border: 1px solid rgba(125, 228, 255, 0.12);
  border-radius: 8px;
  pointer-events: none;
}

.route-line {
  position: absolute;
  height: 3px;
  border-radius: 999px;
  background: linear-gradient(90deg, rgba(18, 198, 216, 0.82), rgba(21, 91, 232, 0.5));
  transform-origin: left center;
}

.map-point {
  position: absolute;
  transform: translate(-50%, -50%);
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border: 3px solid #ffffff;
  border-radius: 50%;
  color: #ffffff;
  font-size: 11px;
  font-weight: 800;
  box-shadow: 0 8px 20px rgba(23, 32, 51, 0.2);
}

.map-point.drone {
  background: linear-gradient(135deg, var(--cyan), var(--brand));
}

.map-point.risk {
  background: var(--red);
}

.map-point.base {
  background: linear-gradient(135deg, var(--brand), var(--violet));
}

.map-label {
  position: absolute;
  left: 50%;
  top: 38px;
  transform: translateX(-50%);
  white-space: nowrap;
  padding: 4px 7px;
  border: 1px solid rgba(23, 32, 51, 0.1);
  border-radius: 6px;
  color: #eaf3ff;
  background: rgba(8, 17, 32, 0.76);
  backdrop-filter: blur(10px);
  font-size: 12px;
  font-weight: 600;
}

.map-legend {
  display: flex;
  gap: 16px;
  margin-top: 12px;
  color: rgba(219, 231, 255, 0.68);
  font-size: 13px;
}

.legend-dot {
  display: inline-block;
  width: 10px;
  height: 10px;
  margin-right: 6px;
  border-radius: 50%;
}

.legend-dot.drone {
  background: var(--brand);
}

.legend-dot.route {
  background: var(--blue);
}

.legend-dot.risk {
  background: var(--red);
}

.telemetry-list,
.timeline,
.health-list,
.model-list,
.ai-queue {
  display: grid;
  gap: 12px;
}

.telemetry-card,
.timeline-item,
.health-item,
.model-card,
.queue-card,
.scenario-card,
.training-card {
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.07);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.05);
}

.telemetry-card {
  padding: 14px;
}

.telemetry-card header,
.queue-card header,
.model-card header,
.training-card header {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 10px;
}

.telemetry-meta {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 8px;
  color: rgba(219, 231, 255, 0.64);
  font-size: 12px;
}

.progress {
  height: 8px;
  overflow: hidden;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.12);
}

.progress i {
  display: block;
  height: 100%;
  background: linear-gradient(90deg, #28e0a6, #2176ff);
}

.scenario-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
}

.scenario-card {
  display: flex;
  flex-direction: column;
  overflow: hidden;
  padding: 0;
  min-height: 238px;
}

.scenario-card strong {
  display: block;
  margin-bottom: 10px;
}

.scenario-image {
  height: 96px;
  overflow: hidden;
  background: #dfe9f6;
}

.scenario-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.25s ease;
}

.scenario-card:hover .scenario-image img {
  transform: scale(1.04);
}

.scenario-body {
  flex: 1;
  padding: 13px 14px 0;
}

.scenario-card span {
  display: block;
  color: rgba(219, 231, 255, 0.66);
  font-size: 12px;
  line-height: 1.55;
}

.scenario-card button {
  margin: 12px 14px 14px;
  height: 30px;
  border: 1px solid var(--brand);
  border-radius: 7px;
  color: #dff7ff;
  background: rgba(18, 198, 216, 0.08);
}

.case-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
}

.case-card {
  position: relative;
  min-height: 280px;
  overflow: hidden;
  border-radius: 8px;
  background: #0b1324;
  box-shadow: var(--shadow-soft);
}

.case-card img {
  width: 100%;
  height: 100%;
  min-height: 280px;
  object-fit: cover;
  opacity: 0.82;
  transition: transform 0.25s ease;
}

.case-card:hover img {
  transform: scale(1.04);
}

.case-card::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(7, 20, 38, 0.08), rgba(7, 20, 38, 0.88));
}

.case-content {
  position: absolute;
  inset: auto 0 0;
  z-index: 1;
  padding: 16px;
  color: #ffffff;
}

.case-content span {
  color: #b9d4ff;
  font-size: 12px;
}

.case-content strong {
  display: block;
  margin: 6px 0;
  font-size: 28px;
}

.case-content h3 {
  margin: 0 0 8px;
  font-size: 16px;
}

.case-content p {
  color: rgba(255, 255, 255, 0.82);
  font-size: 12px;
  line-height: 1.55;
}

.timeline-item {
  display: grid;
  grid-template-columns: 90px minmax(0, 1fr) auto;
  gap: 12px;
  align-items: center;
  padding: 12px;
}

.timeline-item time {
  color: rgba(219, 231, 255, 0.6);
  font-size: 12px;
}

.timeline-item strong {
  display: block;
}

.timeline-item span {
  color: rgba(219, 231, 255, 0.66);
  font-size: 12px;
}

.status {
  display: inline-grid;
  place-items: center;
  min-width: 68px;
  height: 26px;
  padding: 0 9px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 700;
}

.status.good {
  color: #17664d;
  background: #dff5ec;
}

.status.warn {
  color: #805100;
  background: #fff0cf;
}

.status.bad {
  color: #9a2d25;
  background: #ffe1df;
}

.status.info {
  color: #244f9a;
  background: #e0ebff;
}

.section-toolbar {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 14px;
}

.segmented {
  display: flex;
  gap: 6px;
}

.segmented button {
  height: 38px;
  padding: 0 12px;
}

.segmented button.active {
  border-color: var(--brand);
  color: #ffffff;
  background: var(--brand);
}

.section-toolbar input {
  min-width: 280px;
}

.table-wrap {
  overflow: auto;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.06);
  box-shadow: 0 22px 70px rgba(0, 0, 0, 0.18);
  backdrop-filter: blur(18px);
}

table {
  width: 100%;
  border-collapse: collapse;
}

th,
td {
  padding: 14px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  text-align: left;
  vertical-align: middle;
  white-space: nowrap;
}

th {
  color: rgba(219, 231, 255, 0.62);
  background: rgba(255, 255, 255, 0.06);
  font-size: 12px;
}

td {
  color: #eaf3ff;
  font-size: 14px;
}

table button {
  height: 30px;
  padding: 0 10px;
}

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

.kanban-column {
  min-height: 520px;
  padding: 14px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.06);
  box-shadow: 0 22px 70px rgba(0, 0, 0, 0.18);
  backdrop-filter: blur(18px);
}

.kanban-column h2 {
  margin-bottom: 12px;
}

.incident-card {
  display: grid;
  gap: 10px;
  margin-bottom: 10px;
  padding: 13px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.07);
}

.incident-card p {
  color: rgba(219, 231, 255, 0.66);
  font-size: 13px;
  line-height: 1.5;
}

.incident-card footer {
  display: flex;
  justify-content: space-between;
  gap: 8px;
}

.incident-card button {
  height: 30px;
  border: 1px solid var(--brand);
  border-radius: 7px;
  color: #dff7ff;
  background: rgba(18, 198, 216, 0.08);
}

.asset-layout,
.ai-layout {
  display: grid;
  grid-template-columns: 340px minmax(0, 1fr);
  gap: 16px;
}

.health-item {
  padding: 14px;
}

.health-item div {
  display: flex;
  justify-content: space-between;
  margin-bottom: 9px;
}

.model-card,
.queue-card {
  padding: 14px;
}

.model-card p,
.queue-card p,
.training-card p {
  color: rgba(219, 231, 255, 0.66);
  font-size: 13px;
  line-height: 1.55;
}

.model-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
  margin-top: 12px;
}

.model-stats span {
  padding: 8px;
  border-radius: 7px;
  background: rgba(255, 255, 255, 0.07);
  color: rgba(219, 231, 255, 0.66);
  font-size: 12px;
}

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

.training-card {
  min-height: 190px;
  padding: 18px;
}

.training-card ul {
  margin: 14px 0 0;
  padding-left: 18px;
  color: rgba(219, 231, 255, 0.66);
  font-size: 13px;
  line-height: 1.8;
}

.ops-grid,
.safety-list,
.alarm-list,
.report-list,
.data-vault {
  display: grid;
  gap: 12px;
}

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

.ops-card,
.safety-card,
.alarm-card,
.report-card,
.vault-card {
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.07);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.05);
}

.ops-card {
  min-height: 112px;
  padding: 14px;
}

.ops-card span,
.safety-card span,
.alarm-card span,
.report-card span,
.vault-card span {
  display: block;
  color: rgba(219, 231, 255, 0.66);
  font-size: 12px;
}

.ops-card strong {
  display: block;
  margin: 8px 0 10px;
  font-size: 24px;
}

.ops-card small {
  color: rgba(219, 231, 255, 0.66);
  line-height: 1.5;
}

.safety-layout,
.reports-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(360px, 0.85fr);
  gap: 16px;
}

.safety-card,
.alarm-card,
.report-card,
.vault-card {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 14px;
  align-items: center;
  padding: 14px;
}

.safety-card strong,
.alarm-card strong,
.report-card strong,
.vault-card strong {
  display: block;
  margin-bottom: 6px;
}

.safety-meter {
  width: 112px;
}

.alarm-card {
  grid-template-columns: 10px minmax(0, 1fr) auto;
}

.alarm-level {
  width: 10px;
  height: 48px;
  border-radius: 999px;
}

.alarm-level.high {
  background: var(--red);
}

.alarm-level.medium {
  background: var(--amber);
}

.alarm-level.low {
  background: var(--green);
}

.report-actions {
  display: flex;
  gap: 8px;
}

.report-actions button,
.vault-card button {
  height: 30px;
  border: 1px solid var(--brand);
  border-radius: 7px;
  color: #dff7ff;
  background: rgba(18, 198, 216, 0.08);
}

dialog {
  width: min(520px, calc(100vw - 32px));
  padding: 0;
  border: 0;
  border-radius: 8px;
  box-shadow: 0 28px 80px rgba(0, 0, 0, 0.28);
}

#memberDialog {
  width: min(860px, calc(100vw - 32px));
}

#memberCenterDialog {
  width: min(920px, calc(100vw - 32px));
}

dialog::backdrop {
  background: rgba(9, 20, 34, 0.4);
}

.dialog-card {
  display: grid;
  gap: 14px;
  padding: 20px;
}

.dialog-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.dialog-card label {
  display: grid;
  gap: 7px;
  color: var(--muted);
  font-size: 13px;
}

.dialog-card input,
.dialog-card select {
  width: 100%;
  border-color: var(--line);
  color: var(--ink);
  background: #ffffff;
}

.dialog-card .icon-button,
.dialog-card menu button:not(.primary-button),
.member-center menu .ghost-button {
  color: var(--ink);
  border-color: var(--line);
  background: #ffffff;
}

.dialog-card menu {
  display: flex;
  justify-content: flex-end;
  gap: 10px;
  margin: 4px 0 0;
  padding: 0;
}

.dialog-card menu button {
  height: 38px;
  padding: 0 14px;
}

.dialog-card menu .primary-button {
  min-width: 122px;
  border-color: transparent;
  color: #ffffff;
  background: linear-gradient(135deg, #155be8, #7048ff);
  box-shadow: 0 14px 28px rgba(21, 91, 232, 0.24);
}

.dialog-card menu .primary-button:hover {
  transform: translateY(-1px);
  box-shadow: 0 18px 34px rgba(21, 91, 232, 0.3);
}

.member-tabs {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 6px;
  padding: 4px;
  border-radius: 8px;
  background: #f1f5fb;
}

.member-tabs button {
  height: 38px;
  border: 0;
  border-radius: 7px;
  color: #4b5565;
  background: transparent;
}

.member-tabs button.active {
  color: #111827;
  background: #ffffff;
  box-shadow: var(--shadow-soft);
}

.member-form-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 300px;
  gap: 16px;
}

.member-fields {
  display: grid;
  gap: 12px;
}

.member-benefits {
  padding: 18px;
  border: 1px solid rgba(21, 91, 232, 0.14);
  border-radius: 8px;
  color: #ffffff;
  background:
    linear-gradient(145deg, rgba(21, 91, 232, 0.88), rgba(8, 20, 39, 0.96)),
    #111827;
}

.member-benefits span {
  display: block;
  color: #7de4ff;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.08em;
}

.member-benefits strong {
  display: block;
  margin: 10px 0;
  font-size: 20px;
}

.member-benefits ul {
  margin: 14px 0 0;
  padding-left: 18px;
  color: rgba(255, 255, 255, 0.78);
  line-height: 1.9;
  font-size: 13px;
}

.member-center {
  gap: 16px;
}

.form-error { color: #b42318; min-height: 20px; font-size: 14px; }
.member-settings { border-top: 1px solid var(--line); padding-top: 14px; }
.member-settings summary { cursor: pointer; font-weight: 600; color: var(--ink); }
.member-settings form, .member-settings p { margin-top: 14px; }
.recovery-code { overflow-wrap: anywhere; padding: 16px; background: #eef4ff; color: #111827; line-height: 1.8; }
.preserve-lines { white-space: pre-wrap; overflow-wrap: anywhere; }
.empty-state { padding: 24px; color: #9fb6c9; text-align: center; }
.dialog-card { color: var(--ink); }
.dialog-card menu { flex-wrap: wrap; }
button:disabled { opacity: 0.55; cursor: wait; }

.member-center-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 16px;
}

.member-profile-card {
  padding: 22px;
  border-radius: 8px;
  color: #ffffff;
  background:
    radial-gradient(circle at 84% 10%, rgba(125, 228, 255, 0.24), transparent 28%),
    linear-gradient(145deg, #0b1730, #172554);
}

.member-profile-card span,
.member-validity span {
  display: block;
  color: #7de4ff;
  font-size: 12px;
  font-weight: 800;
}

.member-profile-card strong {
  display: block;
  margin: 10px 0;
  font-size: 24px;
}

.member-profile-card p {
  color: rgba(255, 255, 255, 0.72);
}

.member-validity {
  margin-top: 24px;
  padding-top: 16px;
  border-top: 1px solid rgba(255, 255, 255, 0.14);
}

.member-validity strong {
  margin-bottom: 0;
  font-size: 22px;
}

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

.member-rights article,
.member-service-list article {
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface-2);
}

.member-rights span {
  display: block;
  color: var(--muted);
  font-size: 12px;
}

.member-rights strong {
  display: block;
  margin-top: 8px;
  font-size: 26px;
}

.member-service-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.member-service-list strong {
  display: block;
  margin-bottom: 8px;
}

.member-service-list p {
  color: var(--muted);
  line-height: 1.65;
}

.toast {
  position: fixed;
  right: 24px;
  bottom: 24px;
  transform: translateY(20px);
  opacity: 0;
  max-width: 360px;
  padding: 12px 16px;
  border-radius: 8px;
  color: #ffffff;
  background: #14283c;
  box-shadow: var(--shadow);
  transition: opacity 0.2s, transform 0.2s;
  pointer-events: none;
}

.toast.show {
  transform: translateY(0);
  opacity: 1;
}

@media (max-width: 900px) {
  body {
    min-width: 0;
  }

  .site-nav {
    height: auto;
    flex-wrap: wrap;
    padding: 14px 16px;
  }

  .site-nav nav {
    order: 3;
    width: 100%;
    overflow-x: auto;
    gap: 18px;
    padding-bottom: 4px;
  }

  .site-hero {
    min-height: 820px;
  }

  .site-hero-copy {
    padding: 80px 20px 0;
  }

  .site-hero-copy h1 {
    font-size: 40px;
  }

  .site-hero-stats {
    left: 20px;
    right: 20px;
    bottom: 24px;
    grid-template-columns: 1fr 1fr;
  }

  .site-section,
  .site-training {
    padding: 54px 20px;
  }

  .site-intro,
  .intro-flow,
  .solution-showcase,
  .product-grid,
  .site-case-grid,
  .membership-grid,
  .site-training {
    grid-template-columns: 1fr;
  }

  .site-cta {
    flex-direction: column;
    align-items: stretch;
    margin: 0 20px 40px;
    padding: 28px;
  }

  .member-form-layout,
  .member-center-grid,
  .member-rights,
  .member-service-list {
    grid-template-columns: 1fr;
  }

  .app-shell {
    grid-template-columns: 1fr;
    max-width: 100vw;
    overflow-x: hidden;
  }

  .sidebar {
    position: sticky;
    top: 0;
    z-index: 5;
    width: 100%;
    max-width: 100vw;
    height: auto;
    min-height: 0;
    overflow: hidden;
    padding: 14px;
  }

  .brand,
  .sidebar-footer,
  .platform-mode .sidebar-footer {
    display: none;
  }

  .nav {
    display: flex;
    max-width: 100%;
    overflow-x: auto;
    margin: 0;
  }

  .nav-item {
    flex: 0 0 auto;
    width: auto;
  }

  .platform-badge {
    width: 100%;
    max-width: 100%;
    margin: 0 0 12px;
  }

  .main {
    width: 100%;
    max-width: 100vw;
    min-width: 0;
    padding: 16px;
  }

  .platform-system-bar,
  .topbar,
  .section-toolbar {
    align-items: stretch;
    flex-direction: column;
  }

  .system-left,
  .system-right,
  .topbar-actions {
    width: 100%;
    min-width: 0;
    flex-wrap: wrap;
  }

  .system-right span,
  .topbar-actions button {
    flex: 1 1 auto;
  }

  .section-toolbar {
    overflow-x: auto;
  }

  .metrics,
  .capability-ribbon,
  .overview-grid,
  .scenario-grid,
  .case-grid,
  .kanban,
  .asset-layout,
  .ai-layout,
  .safety-layout,
  .reports-layout,
  .ops-grid,
  .training-layout {
    grid-template-columns: 1fr;
  }

  .hero-strip {
    grid-template-columns: 1fr;
  }

  .hero-status {
    border-left: 0;
    border-top: 1px solid var(--line);
  }

  .map-canvas {
    height: 340px;
  }
}
/* Published company content. */
.cms-news-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 32px; }
.cms-news-grid article { min-width: 0; border-top: 1px solid #d9dedc; padding-top: 20px; }
.cms-news-grid img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; border-radius: 6px; }
.cms-news-grid h3 { font-size: 22px; line-height: 1.5; overflow-wrap: anywhere; }
.cms-news-grid p { color: #626b66; line-height: 1.8; }
.cms-news-grid summary { cursor: pointer; color: #17634c; padding: 12px 0; }
.cms-body { white-space: pre-wrap; overflow-wrap: anywhere; line-height: 1.9; }
.cms-contact { border-top: 1px solid #d9dedc; }
#adminEntry { color: inherit; font-size: 13px; white-space: nowrap; }
@media (max-width: 700px) { .cms-news-grid { grid-template-columns: 1fr; } }
