/* ============================================================
   kongzhi-tai-orchard.css — 控制台「林间工作台」
   与全站 home-forest / forest-nav / forest-pages 一致；
   壳层：cx-header + cx-pillRail；河流统计、胶片设备、叠层账务、工单先表后单。
   ============================================================ */

body.page-console {
  --purple: var(--fr-moss-dim, #22c55e);
  --purple-dk: #15803d;
  --purple-lt: rgba(74, 222, 128, 0.12);
  --gray: rgba(236, 253, 245, 0.55);
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

@keyframes co-pulse-dot {
  0%,
  100% {
    opacity: 1;
    transform: scale(1);
  }
  50% {
    opacity: 0.45;
    transform: scale(0.92);
  }
}

@keyframes pulse-g {
  0%,
  100% {
    opacity: 1;
  }
  50% {
    opacity: 0.45;
  }
}

@keyframes con-boot-spin {
  to {
    transform: rotate(360deg);
  }
}

@keyframes con-fade-up {
  from {
    opacity: 0;
    transform: translateY(6px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

@keyframes con-detail-in {
  from {
    opacity: 0;
    transform: translateY(5px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

/* —— 控制台壳层：仪表盘顶栏 + 分段导航 + 主画布 —— */
.cx-app {
  padding-top: calc(var(--nav-height, 68px) + 20px);
  min-height: calc(100vh - var(--nav-height, 68px));
  display: flex;
  flex-direction: column;
}

.cx-header {
  position: relative;
  margin: 0 0 8px;
  padding: clamp(10px, 2vw, 20px) 0 clamp(14px, 2.2vw, 22px);
  overflow: visible;
  border-bottom: 1px solid rgba(167, 243, 208, 0.08);
}

.cx-header.cx-header--desk {
  position: sticky;
  top: calc(var(--nav-height, 68px) - 1px);
  z-index: 40;
  margin-top: -4px;
  padding-top: clamp(8px, 1.5vw, 14px);
  background: linear-gradient(180deg, rgba(4, 14, 11, 0.92) 0%, rgba(4, 14, 11, 0.78) 55%, transparent 100%);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

.cx-header__mesh {
  position: absolute;
  inset: 0;
  overflow: hidden;
  border-radius: 0 0 20px 20px;
  background:
    radial-gradient(ellipse 90% 80% at 8% -20%, rgba(74, 222, 128, 0.14), transparent 50%),
    radial-gradient(ellipse 70% 60% at 92% 40%, rgba(45, 212, 191, 0.08), transparent 45%),
    linear-gradient(180deg, rgba(6, 22, 16, 0.5) 0%, transparent 60%);
  pointer-events: none;
}

.cx-header__beam {
  position: absolute;
  left: 6%;
  right: 6%;
  top: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(167, 243, 208, 0.28), transparent);
  opacity: 0.55;
  pointer-events: none;
}

.cx-header__glow {
  position: absolute;
  border-radius: 50%;
  filter: blur(48px);
  pointer-events: none;
  opacity: 0.5;
}

.cx-header__glow--a {
  width: min(420px, 55vw);
  height: 180px;
  left: -8%;
  top: -40%;
  background: rgba(74, 222, 128, 0.12);
}

.cx-header__glow--b {
  width: min(320px, 40vw);
  height: 140px;
  right: -5%;
  top: -20%;
  background: rgba(52, 211, 153, 0.08);
}

.cx-header__shell {
  position: relative;
  z-index: 1;
  border-radius: 22px;
  border: 1px solid rgba(167, 243, 208, 0.12);
  background: linear-gradient(165deg, rgba(14, 38, 28, 0.55) 0%, rgba(5, 16, 12, 0.42) 100%);
  box-shadow:
    0 1px 0 rgba(255, 255, 255, 0.04) inset,
    0 24px 64px -32px rgba(0, 0, 0, 0.55);
  backdrop-filter: blur(14px);
  padding: clamp(16px, 2.4vw, 24px) clamp(14px, 2vw, 22px) clamp(14px, 2vw, 18px);
}

.cx-header__top {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 18px 24px;
  align-items: end;
  padding-bottom: 2px;
}

@media (max-width: 720px) {
  .cx-header__top {
    grid-template-columns: 1fr;
    align-items: start;
  }

  .cx-header__actions {
    justify-content: flex-start;
  }
}

.cx-header__scene {
  min-width: 0;
}

.cx-header__kicker {
  margin: 0 0 6px;
}

.cx-header__title {
  margin: 0 0 10px;
  font-size: clamp(1.55rem, 3.8vw, 2.2rem);
  font-weight: 900;
  letter-spacing: -0.038em;
  line-height: 1.08;
  color: var(--fr-mist, #ecfdf5);
}

.cx-header__lede {
  margin: 0;
  max-width: 40rem;
  font-size: 14px;
  line-height: 1.62;
  color: rgba(236, 253, 245, 0.62);
}

.cx-header__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: flex-end;
  align-items: center;
}

.cx-header__rail {
  position: relative;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px 14px;
  margin-top: 16px;
  padding: 6px 8px 6px 10px;
  border-radius: 14px;
  background: rgba(0, 0, 0, 0.22);
  border: 1px solid rgba(167, 243, 208, 0.1);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.03);
}

.cx-pillRail {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  flex: 1 1 auto;
  min-width: 0;
}

.cx-pillRail .cx-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 9px 14px;
  border: 1px solid transparent;
  border-radius: 10px;
  background: transparent;
  color: rgba(236, 253, 245, 0.48);
  font-size: 13px;
  font-weight: 800;
  font-family: inherit;
  cursor: pointer;
  position: relative;
  transition: color 0.2s ease, background 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}

.cx-pillRail .cx-pill__ico svg {
  width: 17px;
  height: 17px;
  stroke: currentColor;
}

.cx-pillRail .cx-pill:hover {
  color: var(--fr-mist);
  background: rgba(74, 222, 128, 0.07);
  border-color: rgba(167, 243, 208, 0.1);
}

.cx-pillRail .cx-pill.active {
  color: #ecfdf5;
  background: linear-gradient(160deg, rgba(74, 222, 128, 0.28) 0%, rgba(22, 101, 52, 0.42) 100%);
  border-color: rgba(134, 239, 172, 0.32);
  box-shadow: 0 4px 20px -8px rgba(34, 197, 94, 0.4);
}

.cx-pillRail .cx-pill--ticket .sb-nav-dot {
  top: 6px;
  right: 8px;
}

.cx-pillRail__kbd {
  flex: 0 0 auto;
  margin: 0;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(236, 253, 245, 0.32);
  padding: 0 4px 0 2px;
}

/* 兼容旧结构（若仍有 cx-header__row / 独立 lede） */
.cx-header__row {
  position: relative;
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 16px 28px;
  align-items: end;
  padding-bottom: 4px;
}

@media (max-width: 720px) {
  .cx-header__row {
    grid-template-columns: 1fr;
    align-items: start;
  }
}

.cx-body {
  flex: 1;
  padding: clamp(20px, 3vw, 36px) 0 48px;
}

.co-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 10px 18px;
  border-radius: 999px;
  font-size: 14px;
  font-weight: 800;
  text-decoration: none;
  color: #fff;
  background: linear-gradient(135deg, #15803d, #22c55e 55%, #4ade80);
  box-shadow: 0 10px 28px -8px rgba(34, 197, 94, 0.45);
  border: 1px solid rgba(167, 243, 208, 0.35);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.co-cta:hover {
  transform: translateY(-2px);
  box-shadow: 0 14px 36px -8px rgba(74, 222, 128, 0.5);
}

.co-cta--ghost {
  background: rgba(10, 28, 22, 0.55);
  color: var(--fr-mist-dim, #a7f3d0);
  border-color: rgba(167, 243, 208, 0.28);
  box-shadow: none;
}

.co-cta--ghost:hover {
  background: rgba(74, 222, 128, 0.1);
  color: var(--fr-mist);
}

.co-panel {
  margin: 0;
}

.co-panel.con-panel-enter {
  animation: con-detail-in 0.42s cubic-bezier(0.22, 1, 0.36, 1) both;
}

/* —— 分区页眉（账务 / 工单 / 账号） —— */
.co-panel-head {
  margin: 0 0 22px;
  padding-bottom: 16px;
  border-bottom: 1px solid rgba(167, 243, 208, 0.1);
}

.co-panel-head--center {
  text-align: center;
  max-width: 32rem;
  margin-left: auto;
  margin-right: auto;
}

.co-panel-head__title {
  margin: 0 0 6px;
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: rgba(167, 243, 208, 0.55);
}

.co-panel-head__lede {
  margin: 0;
  font-size: 15px;
  line-height: 1.6;
  color: rgba(236, 253, 245, 0.68);
  max-width: 48rem;
}

.co-panel-head--center .co-panel-head__lede {
  margin-left: auto;
  margin-right: auto;
}

/* —— 总览：简介与实时条 —— */
.cx-overview-strip {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  justify-content: space-between;
  gap: 14px 24px;
  margin-bottom: 8px;
}

.cx-overview-strip__prose {
  flex: 1 1 280px;
  margin: 0;
  max-width: 42rem;
}

.cx-overview-strip__live {
  flex: 0 0 auto;
  margin: 2px 0 20px;
  padding: 8px 14px;
  border-radius: 999px;
  border: 1px solid rgba(167, 243, 208, 0.12);
  background: rgba(6, 18, 14, 0.45);
}

@media (max-width: 640px) {
  .cx-overview-strip__live {
    width: 100%;
    justify-content: center;
  }
}

/* —— Bento 指标：四宫格 + 捷径 —— */
.co-bento {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr)) minmax(160px, 0.95fr);
  gap: 12px;
  margin-bottom: 22px;
}

@media (max-width: 900px) {
  .co-bento {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 480px) {
  .co-bento {
    grid-template-columns: 1fr;
  }
}

.co-bento__tile {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 4px;
  padding: 16px 16px 18px;
  min-height: 128px;
  border: 1px solid rgba(167, 243, 208, 0.14);
  border-radius: 18px;
  background: linear-gradient(155deg, rgba(16, 42, 32, 0.75) 0%, rgba(6, 18, 14, 0.65) 100%);
  box-shadow: 0 14px 40px -28px rgba(0, 0, 0, 0.7), inset 0 1px 0 rgba(255, 255, 255, 0.04);
  color: var(--fr-mist);
  font-family: inherit;
  text-align: left;
  cursor: pointer;
  overflow: hidden;
  transition: transform 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}

.co-bento__tile::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  opacity: 0;
  background: linear-gradient(120deg, rgba(74, 222, 128, 0.12), transparent 55%);
  pointer-events: none;
  transition: opacity 0.25s ease;
}

.co-bento__tile:hover {
  transform: translateY(-2px);
  border-color: rgba(134, 239, 172, 0.28);
  box-shadow: 0 18px 48px -24px rgba(34, 197, 94, 0.25);
}

.co-bento__tile:hover::after {
  opacity: 1;
}

.co-bento__tile:focus-visible {
  outline: 2px solid rgba(74, 222, 128, 0.55);
  outline-offset: 2px;
}

.co-bento__icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  border-radius: 12px;
  margin-bottom: 2px;
  color: var(--fr-fern, #86efac);
  background: rgba(74, 222, 128, 0.1);
  border: 1px solid rgba(167, 243, 208, 0.15);
}

.co-bento__tile--orders .co-bento__icon {
  color: #fde68a;
  background: rgba(250, 204, 21, 0.08);
  border-color: rgba(253, 224, 71, 0.2);
}

.co-bento__tile--tickets .co-bento__icon {
  color: #fda4af;
  background: rgba(251, 113, 133, 0.08);
  border-color: rgba(251, 113, 133, 0.18);
}

.co-bento__k {
  font-size: 10px;
  font-weight: 900;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(236, 253, 245, 0.42);
}

.co-bento__v {
  font-size: clamp(1.75rem, 4vw, 2.1rem);
  font-weight: 900;
  letter-spacing: -0.04em;
  line-height: 1.05;
  color: #fff;
}

.co-bento__sub {
  font-size: 12px;
  font-weight: 600;
  line-height: 1.45;
  color: rgba(236, 253, 245, 0.5);
  margin-top: auto;
}

.co-bento__quick {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 12px;
  padding: 16px 18px;
  border-radius: 18px;
  border: 1px dashed rgba(167, 243, 208, 0.22);
  background: rgba(4, 14, 11, 0.4);
}

.co-bento__quick-label {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-size: 10px;
  font-weight: 900;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(236, 253, 245, 0.38);
}

.co-bento__quick-ico {
  flex-shrink: 0;
  color: rgba(134, 239, 172, 0.55);
  opacity: 0.95;
}

svg.ico-forest {
  display: block;
}

.cx-pill__ico.ico-forest svg {
  width: 18px;
  height: 18px;
}

.co-bento__quick-links {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.co-bento__quick-links a,
.co-bento__quick-links button {
  font-size: 13px;
  font-weight: 800;
  padding: 7px 13px;
  border-radius: 999px;
  border: 1px solid rgba(167, 243, 208, 0.22);
  background: rgba(74, 222, 128, 0.07);
  color: var(--fr-mist-dim);
  text-decoration: none;
  font-family: inherit;
  cursor: pointer;
  transition: background 0.2s ease, color 0.2s ease;
}

.co-bento__quick-links a:hover,
.co-bento__quick-links button:hover {
  background: rgba(74, 222, 128, 0.14);
  color: #fff;
}

.co-flux--panel {
  margin-top: 10px;
  padding-top: 8px;
}

/* —— 算力工作台：外壳 + 选实例 + 详情 —— */
.co-workbench.co-flux {
  gap: 0;
  padding: 10px 0 8px;
}

.co-workbench__shell {
  border-radius: 22px;
  border: 1px solid rgba(167, 243, 208, 0.12);
  background:
    linear-gradient(145deg, rgba(16, 44, 34, 0.55) 0%, rgba(5, 16, 12, 0.92) 42%),
    linear-gradient(180deg, rgba(74, 222, 128, 0.06) 0%, transparent 28%);
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.04) inset, 0 28px 70px -36px rgba(0, 0, 0, 0.65);
  overflow: hidden;
}

.co-workbench__head {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 14px 20px;
  padding: 18px 20px 16px;
  border-bottom: 1px solid rgba(167, 243, 208, 0.1);
  background: linear-gradient(180deg, rgba(8, 26, 20, 0.45) 0%, transparent 100%);
}

.co-workbench__headText {
  flex: 1 1 220px;
  min-width: 0;
}

.co-workbench__title {
  margin: 0 0 6px;
  font-size: clamp(1.15rem, 2.4vw, 1.45rem);
  font-weight: 900;
  letter-spacing: -0.03em;
  color: #f8fafc;
  line-height: 1.15;
}

.co-workbench__hint {
  margin: 0;
  max-width: 36rem;
  font-size: 13px;
  font-weight: 600;
  line-height: 1.55;
  color: rgba(226, 232, 240, 0.52);
}

.co-workbench__stat {
  flex: 0 0 auto;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 4px;
  padding: 10px 16px 12px;
  border-radius: 14px;
  border: 1px solid rgba(167, 243, 208, 0.16);
  background: rgba(0, 0, 0, 0.28);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.04);
}

.co-workbench__statLabel {
  font-size: 10px;
  font-weight: 900;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(167, 243, 208, 0.45);
}

.co-workbench__statVal {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: flex-end;
  gap: 2px 6px;
  font-size: 1.35rem;
  font-weight: 900;
  letter-spacing: -0.03em;
  line-height: 1;
  color: #fff;
  font-variant-numeric: tabular-nums;
}

.co-workbench__statRun {
  color: #ecfdf5;
}

.co-workbench__statSep {
  font-weight: 800;
  color: rgba(148, 163, 184, 0.45);
  padding: 0 1px;
}

.co-workbench__statTotal {
  font-size: 1.05rem;
  font-weight: 800;
  color: rgba(226, 232, 240, 0.55);
}

.co-workbench__picker {
  padding: 14px 16px 12px;
  border-bottom: 1px solid rgba(167, 243, 208, 0.08);
  background: rgba(0, 0, 0, 0.12);
}

.co-workbench__scrollTrack {
  border-radius: 14px;
  border: 1px solid rgba(255, 255, 255, 0.07);
  background: rgba(3, 12, 9, 0.55);
  padding: 8px 8px 10px;
}

.co-workbench .co-flux__scr.device-scroll {
  min-height: 100px;
  padding: 4px 2px 6px;
  border-radius: 10px;
}

.co-workbench__pagerBar {
  display: flex;
  justify-content: center;
  padding-top: 10px;
}

.co-workbench__pagerBar .co-flux__pager {
  padding-top: 0;
}

.co-workbench__viewport {
  padding: 16px 16px 18px;
  background: linear-gradient(180deg, transparent, rgba(0, 0, 0, 0.08));
}

.co-workbench__canvas {
  min-height: 220px;
}

@media (max-width: 560px) {
  .co-workbench__head {
    align-items: flex-start;
  }

  .co-workbench__stat {
    width: 100%;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
  }

  .co-workbench__statVal {
    justify-content: flex-end;
  }
}

/* 工作台内实例芯片 */
.co-workbench .device-card.dc-flux {
  min-width: min(272px, 82vw);
  max-width: 360px;
  border-radius: 16px;
  padding: 14px 16px;
}

.co-workbench .device-card.dc-flux.active {
  box-shadow:
    0 0 0 1px rgba(74, 222, 128, 0.45),
    0 12px 32px rgba(0, 0, 0, 0.35);
}

/* 工作台内详情卡 */
.device-detail-wrap.co-fluxCard--wb {
  border-radius: 18px;
  border: 1px solid rgba(167, 243, 208, 0.11);
  background: linear-gradient(168deg, rgba(255, 255, 255, 0.045) 0%, transparent 38%), #040d0a;
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.03) inset, 0 24px 56px rgba(0, 0, 0, 0.38);
}

.co-workbench .co-wbHero {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
  padding: 18px 18px 16px;
  align-items: start;
}

@media (min-width: 720px) {
  .co-workbench .co-wbHero {
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: center;
    gap: 18px 20px;
  }

  .co-workbench .co-wbHero__actions {
    justify-self: end;
  }
}

.co-workbench .co-wbHero__brand {
  flex: 1 1 auto;
  gap: 14px;
}

.co-workbench .co-wbHero__glyph {
  width: 54px;
  height: 54px;
  border-radius: 16px;
}

.co-workbench .co-wbHero__id {
  font-family: ui-monospace, monospace;
  font-size: 11px;
  font-weight: 700;
  color: rgba(167, 243, 208, 0.85);
  background: rgba(0, 0, 0, 0.28);
  padding: 2px 7px;
  border-radius: 6px;
  border: 1px solid rgba(167, 243, 208, 0.12);
}

.co-workbench .co-wbHero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  justify-content: flex-start;
  width: 100%;
}

@media (min-width: 720px) {
  .co-workbench .co-wbHero__actions {
    width: auto;
    justify-content: flex-end;
  }
}

.co-workbench .co-wbHero__actions .ddw-btn {
  border-radius: 11px;
  padding: 10px 15px;
}

.co-workbench .co-wbHero__actions .ddw-btn__ico {
  display: inline-flex;
  flex-shrink: 0;
}

.co-workbench .co-wbHero__actions .ddw-btn__ico svg {
  width: 16px;
  height: 16px;
  display: block;
}

.co-workbench .co-wbSpecs {
  padding: 16px 18px 14px;
  gap: 12px;
  border-bottom: 1px solid rgba(167, 243, 208, 0.07);
}

.co-workbench .co-wbSpecs__cell {
  transform: none;
  border-radius: 14px;
  padding: 12px 14px 14px;
}

.co-workbench .co-wbSpecs__cell::after {
  opacity: 0.5;
  height: 36%;
}

.co-workbench .co-wbSess {
  padding: 16px 18px 20px;
  background: rgba(0, 0, 0, 0.18);
}

.co-workbench .co-wbSess__head {
  margin-bottom: 4px;
  flex-wrap: wrap;
  gap: 10px 12px;
}

.co-workbench .co-wbSess__headLeft {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
  min-width: 0;
}

.co-workbench .co-wbSess__tag {
  font-size: 11px;
  font-weight: 700;
  color: rgba(148, 163, 184, 0.55);
  letter-spacing: 0.04em;
}

.co-workbench .co-wbSess__hint {
  margin-top: 2px;
  margin-bottom: 14px;
  font-size: 12px;
  color: rgba(226, 232, 240, 0.42);
}

.co-workbench .co-wbSess__split {
  gap: 16px;
}

.co-workbench .co-wbTerm .terminal-body {
  min-height: 140px;
  max-height: 200px;
}

.co-workbench .co-wbConn {
  padding: 14px 14px 16px;
  border-radius: 14px;
}

.co-workbench__canvas .device-detail-wrap.co-fluxCard--void {
  border-radius: 18px;
  border-style: solid;
  min-height: 260px;
}

/* —— 工单：分栏工作台（tk-split） —— */
@media (min-width: 960px) {
  .co-ticket-flow--split.tk-split {
    display: grid;
    grid-template-columns: minmax(0, 1.08fr) minmax(320px, 0.92fr);
    gap: 20px 24px;
    align-items: stretch;
  }

  .co-ticket-flow--split.tk-split .tk-compose {
    position: sticky;
    top: calc(var(--nav-height, 68px) + 14px);
    align-self: start;
  }
}

@media (max-width: 959px) {
  .co-ticket-flow--split.tk-split {
    display: flex;
    flex-direction: column;
    gap: 20px;
  }
}

/* —— 河流统计条：玻璃条 + 分段可点（兼容旧版） —— */
.co-river {
  display: flex;
  flex-wrap: wrap;
  align-items: stretch;
  gap: 0;
  margin-bottom: 24px;
  border-radius: 18px;
  border: 1px solid rgba(167, 243, 208, 0.16);
  background: linear-gradient(165deg, rgba(14, 36, 28, 0.78) 0%, rgba(8, 22, 17, 0.62) 100%);
  box-shadow: 0 16px 48px -28px rgba(0, 0, 0, 0.75), inset 0 1px 0 rgba(255, 255, 255, 0.04);
  overflow: hidden;
  backdrop-filter: blur(10px);
}

.co-river__segment {
  flex: 1 1 120px;
  min-width: 0;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 4px;
  padding: 16px 18px 18px;
  border: none;
  background: transparent;
  color: var(--fr-mist);
  font-family: inherit;
  cursor: pointer;
  text-align: left;
  transition: background 0.2s;
}

.co-river__segment:hover {
  background: rgba(74, 222, 128, 0.06);
}

.co-river__segment strong {
  font-size: 1.65rem;
  font-weight: 900;
  letter-spacing: -0.03em;
  color: #fff;
}

.co-river__k {
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(236, 253, 245, 0.45);
}

.co-river__sub {
  font-size: 12px;
  font-weight: 600;
  color: rgba(236, 253, 245, 0.55);
}

.co-river__rule {
  width: 1px;
  align-self: stretch;
  background: rgba(167, 243, 208, 0.12);
  flex: 0 0 auto;
}

.co-river__tail {
  flex: 1 1 200px;
  min-width: 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 10px;
  padding: 14px 18px;
  background: rgba(6, 18, 14, 0.45);
  border-left: 1px solid rgba(167, 243, 208, 0.12);
}

.co-river__tail span {
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(236, 253, 245, 0.4);
}

.co-river__links {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.co-river__links a,
.co-river__links button {
  font-size: 13px;
  font-weight: 800;
  padding: 6px 12px;
  border-radius: 999px;
  border: 1px solid rgba(167, 243, 208, 0.28);
  background: rgba(74, 222, 128, 0.08);
  color: var(--fr-mist-dim);
  text-decoration: none;
  font-family: inherit;
  cursor: pointer;
}

.co-river__links a:hover,
.co-river__links button:hover {
  background: rgba(74, 222, 128, 0.16);
  color: #fff;
}

.co-prose {
  margin: 0 0 10px;
  max-width: 48rem;
  font-size: 15px;
  line-height: 1.65;
  color: rgba(236, 253, 245, 0.72);
}

.ov-welcome-identity {
  color: var(--fr-fern, #86efac);
  font-weight: 800;
}

.co-live {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 0 0 28px;
  font-size: 13px;
  font-weight: 700;
  color: rgba(236, 253, 245, 0.5);
}

.co-live__dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #4ade80;
  box-shadow: 0 0 12px rgba(74, 222, 128, 0.65);
  animation: co-pulse-dot 1.8s ease-in-out infinite;
}

@media (prefers-reduced-motion: reduce) {
  .co-live__dot {
    animation: none;
  }
}

/* —— 算力区：Flux — 顶轨横向选实例 + 下方画布（波形规格 + 会话坞） —— */
.co-flux {
  display: flex;
  flex-direction: column;
  gap: 20px;
  padding: 8px 0 12px;
}

.co-flux__orbit {
  border-radius: 22px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background:
    linear-gradient(125deg, rgba(74, 222, 128, 0.09) 0%, transparent 38%),
    linear-gradient(180deg, rgba(12, 32, 26, 0.9), rgba(5, 16, 12, 0.88));
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.04) inset, 0 20px 50px rgba(0, 0, 0, 0.22);
  padding: 18px 16px 14px;
  position: relative;
  overflow: hidden;
}

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

.co-flux__headMain {
  flex: 1;
  min-width: 0;
}

.co-flux__title {
  margin: 0 0 6px;
  font-size: 1.12rem;
  font-weight: 900;
  letter-spacing: -0.02em;
  color: #f8fafc;
}

.co-flux__hint {
  margin: 0;
  font-size: 12px;
  font-weight: 600;
  line-height: 1.55;
  color: rgba(226, 232, 240, 0.46);
  max-width: 52ch;
}

.co-flux__hint strong {
  color: var(--fr-fern);
}

.co-flux__headAccent {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  flex-shrink: 0;
  background: radial-gradient(circle, rgba(74, 222, 128, 0.35) 0%, transparent 70%);
  filter: blur(0.5px);
  opacity: 0.85;
  margin-top: -8px;
}

.co-flux__tray.device-carousel {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.co-flux__scr.device-scroll {
  display: flex;
  flex-flow: row nowrap;
  gap: 12px;
  padding: 6px 4px 10px;
  overflow-x: auto;
  overflow-y: hidden;
  scroll-snap-type: x proximity;
  scrollbar-width: thin;
  min-height: 96px;
  align-items: stretch;
  -webkit-overflow-scrolling: touch;
}

.co-flux__pager.device-carousel-nav {
  flex-shrink: 0;
  display: flex;
  flex-direction: row;
  justify-content: center;
  align-items: center;
  gap: 12px;
  padding-top: 2px;
}

.co-flux__viewport {
  min-width: 0;
}

.co-flux__canvas {
  min-height: 200px;
}

/* 轨道芯片 */
.device-card.dc-flux {
  position: relative;
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 10px 12px;
  align-items: center;
  flex: 0 0 auto;
  min-width: min(288px, 86vw);
  max-width: 340px;
  padding: 12px 14px 12px 12px;
  border-radius: 18px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(0, 0, 0, 0.22);
  scroll-snap-align: center;
  cursor: pointer;
  transition: transform 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.device-card.dc-flux:hover {
  transform: translateY(-2px);
  border-color: rgba(167, 243, 208, 0.28);
  background: rgba(255, 255, 255, 0.05);
}

.device-card.dc-flux.active {
  border-color: rgba(74, 222, 128, 0.55);
  box-shadow:
    0 0 0 1px rgba(74, 222, 128, 0.35),
    0 14px 36px rgba(0, 0, 0, 0.28);
  background: linear-gradient(120deg, rgba(74, 222, 128, 0.18) 0%, rgba(6, 22, 17, 0.92) 55%);
}

.dc-flux__sheen {
  position: absolute;
  inset: 0;
  border-radius: inherit;
  pointer-events: none;
  opacity: 0;
  background: linear-gradient(105deg, transparent 40%, rgba(255, 255, 255, 0.08) 50%, transparent 60%);
  transition: opacity 0.35s ease;
}

.device-card.dc-flux:hover .dc-flux__sheen {
  opacity: 1;
}

.dc-flux__icon {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}

.dc-flux__icon .dc-icon {
  width: 40px;
  height: 40px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  line-height: 0;
  border: 1px solid rgba(167, 243, 208, 0.18);
  box-sizing: border-box;
}

.dc-flux__icon .dc-icon > svg {
  display: block;
  margin: 0;
  flex-shrink: 0;
}

.dc-flux__icon .dc-dot {
  position: absolute;
  bottom: -1px;
  right: -1px;
  margin: 0;
  box-shadow: 0 0 0 2px rgba(6, 18, 14, 0.95);
}

.device-card.dc-flux.active .dc-flux__icon .dc-icon {
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.22);
}

.dc-flux__main {
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.dc-flux__name {
  font-size: 13px;
  font-weight: 900;
  color: #ecfdf5;
  line-height: 1.3;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.dc-flux__sub {
  font-size: 11px;
  font-weight: 600;
  color: rgba(226, 232, 240, 0.45);
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 4px;
  min-width: 0;
}

.dc-flux__sep {
  opacity: 0.45;
}

.dc-flux__code {
  font-family: ui-monospace, monospace;
  font-size: 10px;
  font-weight: 700;
  color: rgba(167, 243, 208, 0.75);
  background: rgba(0, 0, 0, 0.25);
  padding: 2px 6px;
  border-radius: 6px;
}

.dc-flux__pill {
  font-size: 9px;
  font-weight: 900;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 5px 8px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  color: rgba(241, 245, 249, 0.85);
  background: rgba(255, 255, 255, 0.06);
  align-self: center;
  white-space: nowrap;
}

.device-card.dc-flux.active .dc-flux__pill {
  border-color: rgba(74, 222, 128, 0.4);
  background: rgba(74, 222, 128, 0.12);
}

.device-card--empty.co-flux-emptyCard {
  flex: 1 1 100%;
  min-width: 100%;
  max-width: none;
  text-align: center;
  padding: 28px 18px;
  border-style: dashed;
  border-color: rgba(255, 255, 255, 0.14);
  cursor: default;
}

.device-card--empty.co-flux-emptyCard:hover {
  transform: none;
}

.co-flux-emptyCard__t {
  margin: 0 0 8px;
  font-size: 15px;
  font-weight: 900;
  color: var(--fr-mist);
}

.co-flux-emptyCard__s {
  margin: 0;
  font-size: 13px;
  color: rgba(236, 253, 245, 0.5);
  line-height: 1.55;
}

.dev-pg-btn {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  border: 1px solid rgba(167, 243, 208, 0.28);
  background: rgba(10, 24, 19, 0.85);
  color: var(--fr-fern);
  font-size: 17px;
  font-weight: 800;
  cursor: pointer;
  font-family: inherit;
}

.dev-pg-btn:hover:not(:disabled) {
  background: rgba(74, 222, 128, 0.12);
}

.dev-pg-btn:disabled {
  opacity: 0.35;
  cursor: default;
}

.dev-pg-num {
  font-size: 11px;
  font-weight: 800;
  color: rgba(236, 253, 245, 0.45);
}

/* 画布卡片 */
.device-detail-wrap.co-fluxCard {
  position: relative;
  border-radius: 24px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.09);
  background: linear-gradient(165deg, rgba(255, 255, 255, 0.05) 0%, transparent 42%), #050f0c;
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.04) inset, 0 32px 80px rgba(0, 0, 0, 0.4);
}

.co-fluxCard__mesh {
  position: absolute;
  inset: 0;
  opacity: 0.12;
  background-image:
    linear-gradient(rgba(167, 243, 208, 0.15) 1px, transparent 1px),
    linear-gradient(90deg, rgba(167, 243, 208, 0.12) 1px, transparent 1px);
  background-size: 28px 28px;
  pointer-events: none;
  mask-image: radial-gradient(ellipse 70% 55% at 50% 0%, #000 30%, transparent 75%);
}

.co-fluxCard__halo {
  position: absolute;
  width: 140%;
  height: 55%;
  left: -20%;
  top: -30%;
  background: radial-gradient(ellipse at center, rgba(74, 222, 128, 0.12), transparent 65%);
  pointer-events: none;
}

.co-fluxCard__mast {
  position: relative;
  z-index: 1;
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px 18px;
  padding: 22px 22px 18px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.co-fluxCard__brand {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  min-width: 0;
  flex: 1 1 280px;
}

.co-fluxCard__glyph {
  flex-shrink: 0;
  width: 58px;
  height: 58px;
  border-radius: 18px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #ecfdf5;
  background: linear-gradient(145deg, rgba(52, 211, 153, 0.5), rgba(8, 40, 28, 0.95));
  border: 1px solid rgba(167, 243, 208, 0.3);
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.35);
}

.co-fluxCard__lead {
  min-width: 0;
}

.co-fluxCard__titleRow {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px 12px;
  margin-bottom: 6px;
}

.co-fluxCard__title {
  margin: 0;
  font-size: clamp(1.12rem, 2.6vw, 1.55rem);
  font-weight: 900;
  letter-spacing: -0.03em;
  color: #f8fafc;
  line-height: 1.2;
  word-break: break-word;
}

.co-fluxCard__byline {
  margin: 0;
  font-size: 13px;
  font-weight: 600;
  color: rgba(226, 232, 240, 0.48);
  line-height: 1.45;
  word-break: break-word;
}

.co-fluxCard__dot {
  opacity: 0.4;
  padding: 0 0.12em;
}

.co-fluxCard__toolbar {
  position: relative;
  z-index: 1;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  justify-content: flex-end;
}

.co-fluxCard__toolbar .ddw-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 9px 14px;
  border-radius: 12px;
  font-size: 12px;
  font-weight: 800;
  border: 1px solid transparent;
  transition: transform 0.15s ease, background 0.15s ease;
}

.co-fluxCard__toolbar .ddw-btn__ico {
  display: inline-flex;
  flex-shrink: 0;
}

.co-fluxCard__toolbar .ddw-btn__ico svg {
  width: 16px;
  height: 16px;
  display: block;
}

.co-fluxCard__toolbar .ddw-btn-start {
  background: linear-gradient(180deg, #4ade80, #16a34a);
  color: #052e16;
}

.co-fluxCard__toolbar .ddw-btn-restart {
  background: rgba(255, 255, 255, 0.07);
  color: #e2e8f0;
  border-color: rgba(255, 255, 255, 0.12);
}

.co-fluxCard__toolbar .ddw-btn:hover {
  transform: translateY(-1px);
}

.co-fluxCard__body {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  gap: 0;
}

.co-fluxCard__waves {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 10px;
  padding: 18px 20px 16px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

@media (max-width: 900px) {
  .co-fluxCard__waves {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 480px) {
  .co-fluxCard__waves {
    grid-template-columns: 1fr;
  }
}

.co-fluxWave {
  position: relative;
  padding: 14px 12px 16px;
  border-radius: 16px;
  border: 1px solid rgba(255, 255, 255, 0.07);
  background: rgba(255, 255, 255, 0.03);
  overflow: hidden;
}

.co-fluxWave::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 42%;
  background: linear-gradient(180deg, transparent, rgba(74, 222, 128, 0.12));
  opacity: 0.85;
  pointer-events: none;
}

.co-fluxWave:nth-child(odd) {
  transform: translateY(4px);
}

.co-fluxWave:nth-child(even) {
  transform: translateY(-2px);
}

@media (max-width: 480px) {
  .co-fluxWave:nth-child(odd),
  .co-fluxWave:nth-child(even) {
    transform: none;
  }
}

.co-fluxWave__k {
  position: relative;
  z-index: 1;
  display: block;
  font-size: 10px;
  font-weight: 900;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(148, 163, 184, 0.55);
  margin-bottom: 6px;
}

.co-fluxWave__k--ico {
  display: flex;
  align-items: center;
  gap: 8px;
}

.co-fluxWave__k--ico .co-wbSpec-ico {
  flex-shrink: 0;
  opacity: 0.82;
  color: rgba(167, 243, 208, 0.75);
}

.co-fluxWave__kText {
  letter-spacing: 0.12em;
}

.co-fluxWave__v {
  position: relative;
  z-index: 1;
  font-size: 14px;
  font-weight: 800;
  color: #f1f5f9;
  line-height: 1.35;
  word-break: break-word;
}

.co-fluxCard__dock {
  padding: 18px 20px 22px;
  background: rgba(0, 0, 0, 0.2);
}

.co-fluxDock__rail {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
  margin-bottom: 6px;
}

.co-fluxDock__label {
  font-size: 10px;
  font-weight: 900;
  letter-spacing: 0.2em;
  color: rgba(167, 243, 208, 0.55);
}

.co-fluxDock__pulse {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #4ade80;
  box-shadow: 0 0 0 0 rgba(74, 222, 128, 0.5);
  animation: co-flux-pulse 2s ease-out infinite;
}

.co-fluxDock__link {
  margin-left: auto;
  font-size: 12px;
  font-weight: 800;
  color: #a7f3d0;
  text-decoration: none;
  padding: 5px 11px;
  border-radius: 10px;
  border: 1px solid rgba(167, 243, 208, 0.22);
  background: rgba(74, 222, 128, 0.07);
}

.co-fluxDock__link:hover {
  background: rgba(74, 222, 128, 0.14);
}

.co-fluxDock__hint {
  margin: 0 0 12px;
  font-size: 12px;
  font-weight: 600;
  color: rgba(226, 232, 240, 0.42);
}

.co-fluxDock__split {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
  gap: 14px;
  align-items: stretch;
}

@media (max-width: 880px) {
  .co-fluxDock__split {
    grid-template-columns: 1fr;
  }
}

.co-fluxTerminal.terminal-box {
  border-radius: 16px;
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.co-fluxPins {
  display: flex;
  flex-direction: column;
  min-height: 0;
}

.conn-grid.co-fluxConn {
  flex: 1;
  border-radius: 16px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(0, 0, 0, 0.35);
  padding: 12px 14px 14px;
  align-content: start;
}

.conn-grid.co-fluxConn .conn-val {
  border-radius: 10px;
  border: 1px solid rgba(255, 255, 255, 0.06);
}

.conn-grid.co-fluxConn .conn-val:not(.conn-val-muted):hover {
  border-color: rgba(74, 222, 128, 0.4);
}

.device-detail-wrap.co-fluxCard--void {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 280px;
  padding: 48px 24px;
  border-style: dashed;
  border-color: rgba(167, 243, 208, 0.22);
  background: rgba(6, 18, 14, 0.55);
}

.co-fluxVoid {
  position: relative;
  text-align: center;
  max-width: 400px;
}

.co-fluxVoid__orbit {
  display: block;
  width: 56px;
  height: 56px;
  margin: 0 auto 16px;
  border-radius: 50%;
  border: 2px dashed rgba(74, 222, 128, 0.35);
  animation: co-flux-spin 14s linear infinite;
}

.co-fluxVoid__orbit--forest {
  width: auto;
  height: auto;
  border: none;
  border-radius: 0;
  margin: 0 auto 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(134, 239, 172, 0.55);
  animation: none;
}

.co-fluxVoid__orbit--forest svg {
  display: block;
}

.co-fluxVoid__t {
  margin: 0 0 10px;
  font-size: 18px;
  font-weight: 900;
  color: var(--fr-mist);
  letter-spacing: -0.02em;
}

.co-fluxVoid__s {
  margin: 0;
  font-size: 14px;
  line-height: 1.65;
  color: rgba(226, 232, 240, 0.5);
}

@media (prefers-reduced-motion: no-preference) {
  .co-fluxCard--snap {
    animation: co-flux-card-snap 0.55s cubic-bezier(0.22, 1, 0.36, 1) both;
  }
}

@keyframes co-flux-card-snap {
  from {
    opacity: 0;
    transform: translateY(14px) scale(0.99);
  }

  to {
    opacity: 1;
    transform: none;
  }
}

@keyframes co-flux-pulse {
  0% {
    box-shadow: 0 0 0 0 rgba(74, 222, 128, 0.45);
  }

  70% {
    box-shadow: 0 0 0 10px rgba(74, 222, 128, 0);
  }

  100% {
    box-shadow: 0 0 0 0 rgba(74, 222, 128, 0);
  }
}

@keyframes co-flux-spin {
  to {
    transform: rotate(360deg);
  }
}

@media (prefers-reduced-motion: reduce) {
  .co-fluxCard--snap {
    animation: none !important;
  }

  .co-fluxDock__pulse {
    animation: none !important;
  }

  .co-fluxVoid__orbit {
    animation: none !important;
  }
}

.dc-dot-running {
  background: #4ade80;
  animation: pulse-g 1.5s infinite;
}

.dc-dot-stopped {
  background: #fb923c;
}

.dc-dot-pending {
  background: #facc15;
  animation: pulse-g 1.5s infinite;
}

.dc-dot-undeployed {
  background: #94a3b8;
}

.device-card.dc-flux.active .dc-dot-undeployed {
  background: #d1fae5;
}

.terminal-box {
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid rgba(167, 243, 208, 0.12);
  background: #050f0c;
}

.terminal-bar {
  padding: 9px 14px;
  display: flex;
  align-items: center;
  gap: 7px;
  background: #0a1a14;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.t-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
}

.t-red {
  background: #ff5f57;
}

.t-yellow {
  background: #febc2e;
}

.t-green {
  background: #28c840;
}

.terminal-label {
  font-size: 10px;
  font-weight: 700;
  color: rgba(148, 163, 184, 0.55);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-left: 8px;
}

.terminal-body {
  padding: 14px 16px;
  min-height: 150px;
  max-height: 230px;
  overflow-y: auto;
}

.t-line {
  font-family: ui-monospace, monospace;
  font-size: 12px;
  line-height: 1.75;
}

.t-prompt {
  color: #86efac;
}

.t-cmd {
  color: #fde68a;
}

.t-ok {
  color: #4ade80;
}

.t-info {
  color: #93c5fd;
}

.t-warn {
  color: #fcd34d;
}

.conn-grid {
  display: grid;
  grid-template-columns: 56px 1fr;
  gap: 6px 10px;
  padding: 10px 16px 14px;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  align-items: center;
}

.conn-key {
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(148, 163, 184, 0.5);
}

.conn-val {
  font-family: ui-monospace, monospace;
  font-size: 12px;
  color: #e2e8f0;
  background: rgba(255, 255, 255, 0.06);
  padding: 6px 10px;
  border-radius: 8px;
  cursor: pointer;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.conn-val:hover {
  background: rgba(74, 222, 128, 0.12);
}

.conn-val-muted {
  cursor: default !important;
  color: rgba(148, 163, 184, 0.45) !important;
}

.conn-pass-row {
  display: flex;
  align-items: center;
  gap: 8px;
  min-width: 0;
}

.conn-pass-row .conn-pass-val {
  flex: 1;
  min-width: 0;
}

.conn-pass-eye {
  flex-shrink: 0;
  width: 34px;
  height: 34px;
  border: none;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.08);
  color: rgba(226, 232, 240, 0.75);
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.conn-pass-eye.is-showing {
  background: rgba(74, 222, 128, 0.2);
  color: #bbf7d0;
}

.badge {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: 11px;
  font-weight: 800;
  padding: 4px 10px;
  border-radius: 999px;
}

.badge::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 50%;
}

.badge-running {
  background: rgba(74, 222, 128, 0.2);
  color: #bbf7d0;
  border: 1px solid rgba(167, 243, 208, 0.35);
}

.badge-running::before {
  background: #4ade80;
  animation: pulse-g 1.5s infinite;
}

.badge-stopped {
  background: rgba(251, 146, 60, 0.2);
  color: #fed7aa;
  border: 1px solid rgba(253, 186, 116, 0.35);
}

.badge-stopped::before {
  background: #fb923c;
}

.badge-pending {
  background: rgba(250, 204, 21, 0.15);
  color: #fef9c3;
  border: 1px solid rgba(253, 224, 71, 0.35);
}

.badge-pending::before {
  background: #facc15;
  animation: pulse-g 1.5s infinite;
}

.badge-undeployed {
  background: rgba(148, 163, 184, 0.15);
  color: #e2e8f0;
  border: 1px solid rgba(148, 163, 184, 0.3);
}

.badge-undeployed::before {
  background: #94a3b8;
}

.cx-detail-empty {
  padding: 32px 20px;
  text-align: center;
}

.cx-detail-empty__title {
  font-size: 16px;
  font-weight: 900;
  color: var(--fr-mist);
  margin-bottom: 8px;
}

.cx-detail-empty__sub {
  font-size: 13px;
  color: rgba(236, 253, 245, 0.55);
  line-height: 1.55;
}

/* —— 叠层账务（竖向编号，非双栏卡片） —— */
.co-stack {
  display: flex;
  flex-direction: column;
  gap: 22px;
}

.co-riser {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 16px 22px;
  align-items: start;
}

@media (max-width: 560px) {
  .co-riser {
    grid-template-columns: 1fr;
  }
}

.co-riser__idx {
  font-size: clamp(2rem, 6vw, 2.75rem);
  font-weight: 900;
  line-height: 1;
  color: rgba(74, 222, 128, 0.22);
  letter-spacing: -0.04em;
  user-select: none;
}

.co-riser__body {
  min-width: 0;
  border-radius: 16px;
  border: 1px solid rgba(167, 243, 208, 0.14);
  background: rgba(8, 22, 17, 0.55);
  padding: 18px 18px 16px;
}

.co-riser__body h3 {
  margin: 0 0 8px;
  font-size: 1.05rem;
  font-weight: 900;
  color: var(--fr-mist);
}

.co-riser__intro {
  margin: 0 0 14px;
  font-size: 14px;
  line-height: 1.55;
  color: rgba(236, 253, 245, 0.58);
}

.co-riser--alt .co-riser__idx {
  color: rgba(253, 224, 71, 0.18);
}

/* —— 工单：流式布局（非分栏页仍可单列） —— */
.co-ticket-flow:not(.tk-split) {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.co-ticket-flow.tk-split {
  gap: 0;
}

/* 收件箱列 */
.tk-inbox {
  display: flex;
  flex-direction: column;
  gap: 0;
  min-height: 0;
  border-radius: 20px;
  border: 1px solid rgba(167, 243, 208, 0.12);
  background: linear-gradient(165deg, rgba(12, 34, 26, 0.65) 0%, rgba(5, 16, 12, 0.92) 100%);
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.03) inset, 0 20px 50px -34px rgba(0, 0, 0, 0.55);
  overflow: hidden;
}

.tk-inbox__head {
  padding: 16px 18px 12px;
  border-bottom: 1px solid rgba(167, 243, 208, 0.08);
}

.tk-inbox__title {
  margin: 0 0 4px;
  font-size: 1.02rem;
  font-weight: 900;
  letter-spacing: -0.02em;
  color: #f8fafc;
}

.tk-inbox__hint {
  margin: 0;
  font-size: 12px;
  font-weight: 600;
  line-height: 1.5;
  color: rgba(226, 232, 240, 0.48);
}

.tk-inbox__filterBar {
  padding: 10px 12px 12px;
  border-bottom: 1px solid rgba(167, 243, 208, 0.07);
  background: rgba(0, 0, 0, 0.15);
}

.tk-inbox__filters.con-ticket-filters {
  margin: 0;
  padding: 4px;
  gap: 4px;
  border-radius: 14px;
  border: 1px solid rgba(167, 243, 208, 0.1);
  background: rgba(3, 12, 9, 0.55);
}

.tk-inbox__filters .con-ticket-filter-btn {
  flex: 1 1 auto;
  justify-content: center;
  text-align: center;
  border-radius: 11px;
  border-color: transparent;
  background: transparent;
  color: rgba(236, 253, 245, 0.48);
  padding: 9px 12px;
  min-width: 0;
}

.tk-inbox__filters .con-ticket-filter-btn:hover {
  color: var(--fr-mist);
  background: rgba(74, 222, 128, 0.06);
}

.tk-inbox__filters .con-ticket-filter-btn.active {
  color: #ecfdf5;
  background: linear-gradient(160deg, rgba(74, 222, 128, 0.22) 0%, rgba(22, 101, 52, 0.35) 100%);
  border: 1px solid rgba(134, 239, 172, 0.28);
  box-shadow: 0 4px 16px -8px rgba(34, 197, 94, 0.35);
}

.tk-inbox__listWrap {
  flex: 1;
  min-height: 200px;
  max-height: min(52vh, 540px);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  padding: 12px 12px 14px;
}

@media (max-width: 959px) {
  .tk-inbox__listWrap {
    max-height: none;
  }
}

.tk-inbox__list.con-ticket-list-root {
  flex: 1;
  min-height: 0;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
  display: flex;
  flex-direction: column;
}

.tk-inbox__list .tk-empty {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  min-height: 200px;
  text-align: center;
}

/* 列表壳与卡片 */
.tk-listShell {
  display: flex;
  flex-direction: column;
  gap: 12px;
  min-height: 100%;
}

.tk-thread-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.tk-card {
  width: 100%;
  margin: 0;
  padding: 14px 14px 12px;
  border-radius: 16px;
  border: 1px solid rgba(167, 243, 208, 0.12);
  background: rgba(0, 0, 0, 0.22);
  color: inherit;
  font-family: inherit;
  text-align: left;
  cursor: pointer;
  display: flex;
  flex-direction: column;
  gap: 10px;
  transition: border-color 0.2s ease, background 0.2s ease, transform 0.2s ease;
  animation: con-fade-up 0.38s cubic-bezier(0.22, 1, 0.36, 1) backwards;
  animation-delay: calc(var(--con-i, 0) * 0.05s);
}

.tk-card:hover {
  border-color: rgba(134, 239, 172, 0.28);
  background: rgba(74, 222, 128, 0.06);
  transform: translateY(-1px);
}

.tk-card:focus-visible {
  outline: 2px solid rgba(74, 222, 128, 0.55);
  outline-offset: 2px;
}

.tk-card__top {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  justify-content: space-between;
  gap: 10px 12px;
}

.tk-card__subjectWrap {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  min-width: 0;
  flex: 1 1 140px;
}

.tk-card__notify.con-ticket-row-dot {
  margin-top: 5px;
}

.tk-card__subject {
  font-size: 14px;
  font-weight: 800;
  line-height: 1.4;
  color: #ecfdf5;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.tk-card__bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding-top: 2px;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.tk-card__time {
  font-size: 11px;
  font-weight: 700;
  font-variant-numeric: tabular-nums;
  color: rgba(148, 163, 184, 0.65);
}

.tk-card__cta {
  font-size: 11px;
  font-weight: 900;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--fr-fern, #86efac);
}

.tk-pill {
  flex-shrink: 0;
  font-size: 11px;
  font-weight: 800;
  padding: 4px 10px;
  border-radius: 999px;
  border: 1px solid transparent;
  line-height: 1.2;
}

.tk-pill--open {
  background: rgba(16, 185, 129, 0.14);
  color: #6ee7b7;
  border-color: rgba(52, 211, 153, 0.25);
}

.tk-pill--hold {
  background: rgba(245, 158, 11, 0.12);
  color: #fcd34d;
  border-color: rgba(251, 191, 36, 0.22);
}

.tk-pill--closed {
  background: rgba(107, 114, 128, 0.15);
  color: rgba(226, 232, 240, 0.75);
  border-color: rgba(148, 163, 184, 0.2);
}

.tk-pager.con-ticket-pager {
  margin-top: 4px;
  padding-top: 12px;
  border-top: 1px solid rgba(167, 243, 208, 0.1);
  flex-shrink: 0;
}

.tk-empty.cx-ticket-empty {
  padding: 36px 20px;
  border-radius: 16px;
  border: 1px dashed rgba(167, 243, 208, 0.18);
  background: rgba(0, 0, 0, 0.12);
}

/* 撰写列 */
.tk-compose {
  border-radius: 20px;
  border: 1px solid rgba(74, 222, 128, 0.2);
  background:
    radial-gradient(ellipse 90% 55% at 100% 0%, rgba(74, 222, 128, 0.1), transparent 50%),
    linear-gradient(175deg, rgba(14, 38, 28, 0.55) 0%, rgba(4, 14, 11, 0.96) 55%);
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.04) inset, 0 24px 56px -28px rgba(0, 0, 0, 0.5);
  padding: 0;
  display: flex;
  flex-direction: column;
  overflow: hidden;
}

.tk-compose__head {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  padding: 18px 20px 16px;
  border-bottom: 1px solid rgba(167, 243, 208, 0.1);
}

.tk-compose__badge {
  flex-shrink: 0;
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 14px;
  color: var(--fr-fern);
  background: rgba(74, 222, 128, 0.12);
  border: 1px solid rgba(167, 243, 208, 0.2);
}

.tk-compose__title {
  margin: 0 0 4px;
  font-size: 1.08rem;
  font-weight: 900;
  letter-spacing: -0.02em;
  color: #f8fafc;
}

.tk-compose__lede {
  margin: 0;
  font-size: 13px;
  font-weight: 600;
  line-height: 1.55;
  color: rgba(226, 232, 240, 0.52);
}

.tk-compose__fields {
  padding: 16px 20px 10px;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.tk-compose__grid.ticket-form-grid {
  margin-bottom: 4px;
}

.tk-compose__bodyField {
  margin-top: 8px;
}

.tk-compose__textarea.form-textarea {
  min-height: 120px;
  border-radius: 14px;
}

.tk-compose__footer {
  margin-top: auto;
  padding: 14px 20px 18px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px 16px;
  border-top: 1px solid rgba(167, 243, 208, 0.1);
  background: rgba(0, 0, 0, 0.18);
}

.tk-compose__submit {
  min-width: 140px;
}

.tk-compose__note {
  margin: 0;
}

.co-panel-head--tickets .co-panel-head__lede {
  max-width: 40rem;
}

/* 兼容：旧类名 co-ridge / co-bog 在无 tk 时 */
.co-ridge:not(.tk-inbox) {
  border-radius: 18px;
  border: 1px solid rgba(167, 243, 208, 0.14);
  background: rgba(8, 22, 17, 0.52);
  padding: 18px;
}

.co-bog:not(.tk-compose) {
  border-radius: 22px;
  border: 1px solid rgba(74, 222, 128, 0.22);
  background: radial-gradient(ellipse 80% 60% at 10% 0%, rgba(74, 222, 128, 0.1), transparent 55%), rgba(6, 20, 15, 0.88);
  padding: 22px clamp(16px, 2.5vw, 26px) 24px;
  box-shadow: 0 18px 48px rgba(0, 0, 0, 0.28);
}

.co-bog:not(.tk-compose) .co-bog__head h3 {
  margin: 0 0 6px;
  font-size: 1.1rem;
  font-weight: 900;
  color: var(--fr-mist);
}

.co-bog:not(.tk-compose) .co-bog__head p {
  margin: 0 0 16px;
  font-size: 14px;
  color: rgba(236, 253, 245, 0.55);
  line-height: 1.55;
}

/* —— 账号护照 —— */
.co-passport {
  max-width: 520px;
  margin: 0 auto;
}

.co-passport__card {
  border-radius: 20px;
  border: 1px solid rgba(167, 243, 208, 0.18);
  background: rgba(8, 22, 17, 0.6);
  padding: 24px clamp(18px, 3vw, 28px) 26px;
}

.co-passport__lock {
  width: 48px;
  height: 48px;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 14px;
  background: rgba(74, 222, 128, 0.1);
  border: 1px solid rgba(167, 243, 208, 0.22);
  color: var(--fr-fern);
}

/* 表格与表单 */
.order-scroll-wrap,
.con-invoice-scroll {
  overflow: auto;
  max-height: 300px;
  border-radius: 12px;
  border: 1px solid rgba(167, 243, 208, 0.1);
}

/* 发票与结算：深绿轨道 + 荧光绿拇指（Firefox + WebKit） */
.con-invoice-scroll {
  scrollbar-width: thin;
  scrollbar-color: rgba(52, 211, 153, 0.55) rgba(4, 20, 14, 0.72);
}

.con-invoice-scroll::-webkit-scrollbar {
  width: 10px;
  height: 10px;
}

.con-invoice-scroll::-webkit-scrollbar-track {
  background: rgba(4, 18, 12, 0.75);
  border-radius: 10px;
  margin: 6px 0;
  box-shadow: inset 0 0 0 1px rgba(167, 243, 208, 0.08);
}

.con-invoice-scroll::-webkit-scrollbar-thumb {
  background: linear-gradient(180deg, rgba(74, 222, 128, 0.55), rgba(22, 101, 52, 0.9));
  border-radius: 10px;
  border: 2px solid rgba(6, 22, 16, 0.95);
  box-shadow: 0 0 14px rgba(52, 211, 153, 0.18);
}

.con-invoice-scroll::-webkit-scrollbar-thumb:hover {
  background: linear-gradient(180deg, rgba(134, 239, 172, 0.75), rgba(21, 128, 61, 0.98));
}

.con-invoice-scroll::-webkit-scrollbar-corner {
  background: transparent;
}

.order-scroll-wrap .order-table thead th,
.con-invoice-scroll .order-table thead th {
  position: sticky;
  top: 0;
  z-index: 2;
  background: rgba(6, 18, 14, 0.95);
}

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

.order-table th {
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: rgba(236, 253, 245, 0.45);
  text-align: left;
  padding: 10px 12px;
  border-bottom: 1px solid rgba(167, 243, 208, 0.12);
}

.order-table td {
  font-size: 13px;
  padding: 11px 12px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.04);
  color: rgba(236, 253, 245, 0.88);
}

.order-table tr:hover td {
  background: rgba(74, 222, 128, 0.04);
}

.order-table tbody .con-order-row {
  animation: con-fade-up 0.38s cubic-bezier(0.22, 1, 0.36, 1) backwards;
  animation-delay: calc(var(--con-i, 0) * 0.04s);
}

.con-order-row--clickable:hover {
  background: rgba(74, 222, 128, 0.06);
}

.inv-pagination {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px;
  margin-top: 12px;
}

.inv-page-arrow {
  font-size: 16px;
  padding: 0 8px;
}

.inv-page-btn {
  min-width: 32px;
  height: 32px;
  padding: 0 10px;
  border-radius: 8px;
  border: 1px solid rgba(167, 243, 208, 0.2);
  background: rgba(10, 24, 19, 0.7);
  color: var(--fr-mist);
  font-size: 13px;
  font-weight: 700;
  cursor: pointer;
  font-family: inherit;
}

.inv-page-btn.active {
  background: linear-gradient(135deg, #15803d, #22c55e);
  border-color: transparent;
  color: #fff;
}

.inv-page-btn:hover:not(:disabled):not(.active) {
  border-color: rgba(167, 243, 208, 0.38);
  background: rgba(22, 101, 52, 0.32);
  color: #ecfdf5;
}

.inv-page-btn:disabled {
  opacity: 0.35;
  cursor: default;
}

.inv-page-info {
  font-size: 12px;
  color: rgba(236, 253, 245, 0.45);
}

.con-form-label {
  display: block;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(236, 253, 245, 0.5);
  margin-bottom: 6px;
}

.con-form-input,
.form-textarea {
  width: 100%;
  padding: 11px 14px;
  border-radius: 12px;
  border: 1px solid rgba(167, 243, 208, 0.2);
  background: rgba(6, 18, 14, 0.75);
  color: var(--fr-mist);
  font-size: 14px;
  font-family: inherit;
  outline: none;
}

.con-form-input:focus,
.form-textarea:focus {
  border-color: var(--fr-moss);
  box-shadow: 0 0 0 3px rgba(74, 222, 128, 0.18);
}

.form-textarea {
  resize: vertical;
  min-height: 110px;
}

.ticket-type-fixed {
  background: rgba(74, 222, 128, 0.1) !important;
  color: var(--fr-fern) !important;
  font-weight: 800 !important;
  cursor: default;
}

.ticket-device-select-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  border: 0;
  opacity: 0;
  pointer-events: none;
}

.ticket-device-picker {
  position: relative;
}

.ticket-device-trigger {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 11px 14px;
  border-radius: 12px;
  border: 1px solid rgba(167, 243, 208, 0.2);
  background: rgba(6, 18, 14, 0.75);
  color: var(--fr-mist);
  font-size: 14px;
  font-weight: 600;
  font-family: inherit;
  cursor: pointer;
  text-align: left;
}

.ticket-device-trigger--open {
  border-color: var(--fr-moss);
  box-shadow: 0 0 0 3px rgba(74, 222, 128, 0.12);
}

.ticket-device-trigger-ico {
  color: var(--fr-moss);
  transition: transform 0.2s;
}

.ticket-device-trigger--open .ticket-device-trigger-ico {
  transform: rotate(180deg);
}

.ticket-device-dropdown {
  position: absolute;
  left: 0;
  right: 0;
  top: calc(100% + 6px);
  z-index: 80;
  padding: 6px;
  border-radius: 14px;
  border: 1px solid rgba(167, 243, 208, 0.2);
  background: rgba(10, 28, 22, 0.97);
  box-shadow: 0 16px 44px rgba(0, 0, 0, 0.35);
  max-height: min(240px, 45vh);
  overflow-y: auto;
}

.ticket-device-option {
  display: block;
  width: 100%;
  margin: 0;
  padding: 10px 11px;
  border: none;
  border-radius: 10px;
  background: transparent;
  color: var(--fr-mist);
  font-size: 13px;
  font-weight: 600;
  font-family: inherit;
  text-align: left;
  cursor: pointer;
}

.ticket-device-option:hover {
  background: rgba(74, 222, 128, 0.1);
}

.ticket-device-option--active {
  background: rgba(74, 222, 128, 0.16);
  font-weight: 800;
}

.ticket-form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}

@media (max-width: 600px) {
  .ticket-form-grid {
    grid-template-columns: 1fr;
  }
}

.con-ticket-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 12px;
}

.con-ticket-filter-btn {
  padding: 8px 15px;
  border-radius: 999px;
  border: 1px solid rgba(167, 243, 208, 0.22);
  background: rgba(6, 18, 14, 0.55);
  color: rgba(236, 253, 245, 0.55);
  font-size: 13px;
  font-weight: 800;
  font-family: inherit;
  cursor: pointer;
}

.con-ticket-filter-btn.active {
  color: #fff;
  border-color: rgba(74, 222, 128, 0.45);
  background: rgba(74, 222, 128, 0.14);
}

.con-ticket-filter-dot {
  display: inline-block;
  width: 7px;
  height: 7px;
  margin-left: 6px;
  border-radius: 50%;
  background: #fb7185;
  vertical-align: 2px;
}

.con-ticket-filter-dot[hidden] {
  display: none !important;
}

.con-ticket-table-wrap {
  overflow-x: auto;
}

.con-ticket-pager {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding-top: 12px;
  margin-top: 8px;
  border-top: 1px solid rgba(167, 243, 208, 0.1);
}

.con-ticket-pg-meta {
  font-size: 13px;
  font-weight: 800;
  color: rgba(236, 253, 245, 0.45);
  flex: 1;
  text-align: center;
  min-width: 10em;
}

.con-ticket-pg-btn {
  padding: 8px 14px;
  border-radius: 10px;
  border: 1px solid rgba(167, 243, 208, 0.22);
  background: rgba(6, 18, 14, 0.55);
  color: var(--fr-fern);
  font-size: 13px;
  font-weight: 800;
  font-family: inherit;
  cursor: pointer;
}

.con-ticket-pg-btn:disabled {
  opacity: 0.35;
  cursor: not-allowed;
}

.cx-ticket-empty {
  text-align: center;
  padding: 28px 14px;
}

.cx-ticket-empty__t {
  font-size: 15px;
  font-weight: 900;
  color: var(--fr-mist);
  margin-bottom: 6px;
}

.cx-ticket-empty__s {
  font-size: 13px;
  color: rgba(236, 253, 245, 0.5);
  line-height: 1.55;
}

.con-ticket-row-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #fb7185;
  flex-shrink: 0;
}

.btn-submit {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 11px 22px;
  border-radius: 12px;
  border: none;
  font-size: 14px;
  font-weight: 800;
  font-family: inherit;
  cursor: pointer;
  color: #fff;
  background: linear-gradient(135deg, #15803d, #22c55e 55%, #4ade80);
  box-shadow: 0 10px 26px rgba(34, 197, 94, 0.35);
}

.btn-submit:hover {
  filter: brightness(1.05);
}

.con-muted-note {
  font-size: 12px;
  color: rgba(236, 253, 245, 0.45);
}

.con-form-hint-inline {
  font-weight: 500;
  color: rgba(236, 253, 245, 0.45);
}

.acc-form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
  margin-bottom: 16px;
}

@media (max-width: 520px) {
  .acc-form-grid {
    grid-template-columns: 1fr;
  }
}

.con-muted-intent {
  font-size: 13px;
  color: rgba(236, 253, 245, 0.5);
  margin-bottom: 12px;
  line-height: 1.5;
}

.btn-con-sm {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: 12px;
  font-weight: 700;
  padding: 4px 11px;
  border-radius: 8px;
  border: 1px solid rgba(74, 222, 128, 0.4);
  background: transparent;
  color: var(--fr-fern);
  cursor: pointer;
  font-family: inherit;
  white-space: nowrap;
}

.btn-con-sm:hover {
  background: rgba(74, 222, 128, 0.15);
  color: #fff;
}

.btn-con-sm-ghost {
  border-color: rgba(148, 163, 184, 0.35);
  color: rgba(236, 253, 245, 0.5);
}

.sb-nav-dot {
  position: absolute;
  top: 6px;
  right: 8px;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #fb7185;
  box-shadow: 0 0 0 2px rgba(8, 22, 17, 0.95);
}

.sb-nav-dot[hidden] {
  display: none !important;
}

/* 详情弹窗内块 */
.con-detail-body {
  font-size: 13px;
  text-align: left;
  color: rgba(236, 253, 245, 0.9);
}

.con-detail-kv {
  display: grid;
  grid-template-columns: 96px 1fr;
  gap: 6px 10px;
  padding: 7px 0;
  border-bottom: 1px solid rgba(167, 243, 208, 0.1);
}

.con-detail-k {
  font-size: 12px;
  color: rgba(236, 253, 245, 0.45);
}

.con-detail-v {
  font-weight: 600;
  word-break: break-word;
}

.con-detail-subh {
  margin: 12px 0 6px;
  font-size: 13px;
  font-weight: 800;
  color: var(--fr-mist);
}

.con-detail-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 12px;
}

.con-detail-table th,
.con-detail-table td {
  padding: 8px 9px;
  border-bottom: 1px solid rgba(167, 243, 208, 0.08);
  text-align: left;
}

.con-detail-table th {
  color: rgba(236, 253, 245, 0.45);
  background: rgba(6, 18, 14, 0.55);
}

.con-detail-pre {
  font-size: 11px;
  overflow: auto;
  max-height: 200px;
  padding: 10px;
  border-radius: 8px;
  background: rgba(4, 14, 11, 0.65);
  color: rgba(236, 253, 245, 0.85);
  white-space: pre-wrap;
  word-break: break-word;
}

.con-inv-dialog-actions {
  margin-top: 12px;
  padding-top: 12px;
  border-top: 1px solid rgba(167, 243, 208, 0.1);
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.td-msg {
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: 10px 13px;
  margin: 8px 0;
  border-radius: 12px;
  font-size: 13px;
  line-height: 1.55;
  max-width: 92%;
}

.td-msg-client {
  margin-left: auto;
  border-bottom-right-radius: 4px;
  background: rgba(74, 222, 128, 0.12);
  border: 1px solid rgba(167, 243, 208, 0.22);
}

.td-msg-admin {
  margin-right: auto;
  border-bottom-left-radius: 4px;
  background: rgba(10, 28, 22, 0.85);
  border: 1px solid rgba(167, 243, 208, 0.12);
}

.td-msg-author {
  font-size: 11px;
  font-weight: 700;
  color: rgba(236, 253, 245, 0.45);
}

.td-msg-body {
  color: rgba(236, 253, 245, 0.92);
  word-break: break-word;
}

.td-admin-instance-op {
  margin-top: 4px;
  padding: 10px 12px;
  border-radius: 10px;
  background: rgba(74, 222, 128, 0.08);
  border: 1px solid rgba(167, 243, 208, 0.18);
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.td-admin-instance-op-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 12px;
  align-items: baseline;
}

.td-admin-instance-op-k {
  font-size: 0.85em;
  font-weight: 600;
  color: rgba(236, 253, 245, 0.45);
  min-width: 5.5em;
}

.td-admin-instance-op-v {
  font-weight: 600;
  color: var(--fr-mist);
}

.con-td-compose {
  margin-top: 12px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.con-td-reply-input {
  width: 100%;
  box-sizing: border-box;
  min-height: 92px;
  max-height: 240px;
  resize: vertical;
  padding: 12px 14px;
  border-radius: 12px;
  border: 1px solid rgba(167, 243, 208, 0.2);
  background: rgba(6, 18, 14, 0.75);
  color: var(--fr-mist);
  font-family: inherit;
  font-size: 13px;
}

.con-td-actions {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

@media (min-width: 440px) {
  .con-td-actions {
    flex-direction: row;
  }
  .con-td-btn {
    flex: 1;
    min-width: 0;
  }
}

.con-td-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: 100%;
  min-height: 46px;
  padding: 0 16px;
  border-radius: 12px;
  border: none;
  font-size: 15px;
  font-weight: 800;
  font-family: inherit;
  cursor: pointer;
}

.con-td-btn--primary {
  color: #fff;
  background: linear-gradient(135deg, #15803d, #22c55e);
  box-shadow: 0 8px 22px rgba(34, 197, 94, 0.35);
}

.con-td-btn--secondary {
  background: rgba(10, 28, 22, 0.9);
  color: var(--fr-mist);
  border: 1px solid rgba(167, 243, 208, 0.2);
}

.con-td-confirm-overlay {
  position: fixed;
  inset: 0;
  z-index: 1600;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 20px;
  background: rgba(4, 14, 11, 0.75);
  backdrop-filter: blur(8px);
}

.con-td-confirm-card {
  max-width: 400px;
  width: 100%;
  padding: 22px;
  border-radius: 18px;
  border: 1px solid rgba(167, 243, 208, 0.2);
  background: rgba(10, 28, 22, 0.96);
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.45);
}

.con-td-confirm-title {
  margin: 0 0 8px;
  font-size: 1.1rem;
  font-weight: 900;
  color: var(--fr-mist);
}

.con-td-confirm-desc {
  margin: 0 0 16px;
  font-size: 13px;
  line-height: 1.55;
  color: rgba(236, 253, 245, 0.55);
}

.con-td-confirm-actions {
  display: flex;
  justify-content: flex-end;
  gap: 10px;
}

.con-td-confirm-btn {
  padding: 10px 16px;
  border-radius: 10px;
  font-weight: 800;
  font-size: 14px;
  font-family: inherit;
  cursor: pointer;
  border: none;
}

.con-td-confirm-btn--ghost {
  background: transparent;
  color: rgba(236, 253, 245, 0.55);
  border: 1px solid rgba(167, 243, 208, 0.22);
}

.con-td-confirm-btn--primary {
  background: linear-gradient(135deg, #b91c1c, #15803d);
  color: #fff;
}

.con-td-headline {
  font-size: 16px;
  font-weight: 900;
  line-height: 1.35;
  color: var(--fr-mist);
}

.con-muted-center {
  text-align: center;
  font-size: 12px;
  color: rgba(236, 253, 245, 0.5);
  margin-bottom: 10px;
}

.con-td-thread {
  flex: 1;
  overflow-y: auto;
  min-height: 110px;
  padding: 8px 0 12px;
  border-top: 1px solid rgba(167, 243, 208, 0.1);
  border-bottom: 1px solid rgba(167, 243, 208, 0.1);
}

.con-modal-title-lg {
  font-size: 17px;
  font-weight: 900;
  margin-bottom: 4px;
}

.con-inv-lede,
.con-paygw-hint,
.con-auth-sync-hint {
  text-align: center;
  font-size: 12px;
  color: rgba(236, 253, 245, 0.5);
  margin-bottom: 8px;
}

.con-detail-body--grow {
  flex: 1;
  overflow-y: auto;
  min-height: 80px;
}

.auth-modal.con-modal--stack {
  max-width: 560px;
  max-height: 85vh;
  display: flex;
  flex-direction: column;
}

.auth-modal.con-modal--stack.con-modal--narrow {
  max-width: 520px;
}

.auth-modal.con-modal--paypick {
  max-width: 420px;
}

#con-pay-gw-modal .pay-gateway-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-top: 12px;
}

#con-pay-gw-modal .pay-gateway-btn {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 14px;
  width: 100%;
  text-align: left;
  justify-content: flex-start;
}

/* Boot */
.con-boot-overlay {
  background: rgba(4, 14, 11, 0.88) !important;
}

.con-boot-card {
  background: rgba(10, 28, 22, 0.95) !important;
  border: 1px solid rgba(167, 243, 208, 0.2) !important;
}

.con-boot-spinner {
  border-color: rgba(74, 222, 128, 0.2) !important;
  border-top-color: #4ade80 !important;
}

.con-boot-brand {
  color: rgba(134, 239, 172, 0.88) !important;
}

.con-boot-leaf {
  display: block;
  margin: 0 auto 2px;
}

.con-boot-text {
  color: rgba(236, 253, 245, 0.55) !important;
}

@media (prefers-reduced-motion: reduce) {
  .co-panel.con-panel-enter,
  .order-table tbody .con-order-row,
  .device-card,
  .tk-card {
    animation: none !important;
  }

  .co-live__dot,
  .dc-dot-running,
  .badge-running::before {
    animation: none !important;
  }

  .co-bento__tile:hover,
  .tk-card:hover {
    transform: none;
  }
}

@media (max-width: 720px) {
  .co-river__rule {
    display: none;
  }

  .co-river__segment {
    flex: 1 1 45%;
    border-bottom: 1px solid rgba(167, 243, 208, 0.08);
  }

  .co-river__tail {
    flex: 1 1 100%;
    border-left: none;
    border-top: 1px solid rgba(167, 243, 208, 0.1);
  }

  .co-fluxCard__mast {
    flex-direction: column;
    align-items: stretch;
  }

  .co-fluxCard__toolbar {
    width: 100%;
    justify-content: stretch;
  }

  .co-fluxCard__toolbar .ddw-btn {
    flex: 1 1 auto;
    justify-content: center;
  }

  .conn-grid {
    grid-template-columns: 1fr;
  }
}
