/* 澳洋数字官网改版演示 — 本地样式，无外部依赖
   2026-11-12 wow：藏青主舞台、精密发光、八个案例、智能体仅 Logo */

@font-face {
  font-family: "Noto Serif SC Demo";
  src: url("../fonts/noto-serif-sc-bold.woff2?v=20261112-group1") format("woff2");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

:root {
  --navy: #0B1F3A;
  --navy-deep: #071422;
  --navy-mid: #163152;
  --navy-soft: #1E3A5F;
  --brand: #0050B4;
  --brand-deep: #003D8F;
  --brand-soft: #E8F1FB;
  --brand-on-dark: #8BB8E8;
  --ink: #0F1B2D;
  --text: #1A2433;
  --text-2: #3D4B5C;
  --text-3: #5A6878;
  --paper: #F4F6F9;
  --paper-2: #E8EDF3;
  --mist: #F7F9FB;
  --white: #FFFFFF;
  --ice: #E7F0F8;
  --steel: #D5DEE8;
  --mint: #E7F2EE;
  --mint-ink: #1F5F6B;
  --cream: #F4F1EA;
  --amber: #8A5A12;
  --amber-soft: #F3E6C8;
  --ok: #2F6B4F;
  --ok-soft: #D7E8DE;
  --warn: #8A5A12;
  --line: #E2E8F0;
  --line-strong: #CBD5E1;
  --glow: 0 0 0 1px rgba(139, 184, 232, 0.18), 0 28px 60px rgba(0, 0, 0, 0.42);
  --hair: rgba(139, 184, 232, 0.16);
  --shadow: 0 8px 28px rgba(11, 31, 58, 0.07);
  --shadow-lg: 0 18px 40px rgba(11, 31, 58, 0.14);
  --header-h: 72px;
  --rail-h: 32px;
  --radius: 8px;
  --radius-sm: 6px;
  --max: 1220px;
  --space-1: 8px;
  --space-2: 16px;
  --space-3: 24px;
  --space-4: 40px;
  --space-5: 64px;
  --space-6: 96px;
  --font: "Source Han Sans SC", "Noto Sans SC", "Noto Sans CJK SC", "PingFang SC", "Microsoft YaHei", sans-serif;
  --font-display: "Noto Serif SC Demo", "Source Han Serif SC", "Noto Serif SC", "Noto Serif CJK SC", "Songti SC", "STSong", "SimSun", serif;
  --font-mono: ui-monospace, "SF Mono", "Cascadia Mono", Consolas, "Liberation Mono", Menlo, monospace;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
html, body {
  margin: 0;
  padding: 0;
  font-family: var(--font);
  color: var(--text);
  background: var(--paper);
  font-size: 16px;
  line-height: 1.75;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font-family: inherit; font-size: inherit; }
button { cursor: pointer; }
:focus { outline: none; }
:focus-visible { outline: 2px solid var(--brand); outline-offset: 3px; }

.skip-link {
  position: absolute;
  left: 12px;
  top: -40px;
  z-index: 200;
  background: var(--navy);
  color: #fff;
  padding: 6px 12px;
  border-radius: 4px;
}
.skip-link:focus { top: 8px; }

.mono, .header-phone, a[href^="tel:"], a[href^="mailto:"] {
  font-family: var(--font-mono);
  font-variant-numeric: tabular-nums;
  letter-spacing: 0.02em;
}

/* —— 演示提示条 —— */
.demo-rail {
  height: var(--rail-h);
  background: var(--navy-deep);
  color: #C5CDD8;
  font-size: 12px;
  letter-spacing: 0.06em;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 20px;
  font-family: var(--font-mono);
}
.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;
}

/* —— 顶栏：藏青镜面，作为全站深色框架 —— */
.site-header {
  position: sticky;
  top: 0;
  z-index: 80;
  height: var(--header-h);
  background: rgba(7, 20, 34, 0.88);
  border-bottom: 1px solid rgba(139, 184, 232, 0.08);
  backdrop-filter: blur(18px);
  transition: background 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
}
.site-header.is-scrolled {
  background: rgba(7, 20, 34, 0.96);
  border-bottom-color: rgba(139, 184, 232, 0.14);
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.28);
}
.header-inner {
  max-width: calc(var(--max) + 64px);
  margin: 0 auto;
  height: 100%;
  padding: 0 32px;
  display: flex;
  align-items: center;
  gap: 28px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
  color: #F4F7FB;
}
.brand-logo { width: 32px; height: 32px; display: block; flex-shrink: 0; object-fit: contain; }
.footer-brand .brand-logo {
  width: 28px; height: 28px;
  padding: 4px;
  background: #fff;
  border-radius: 6px;
  box-sizing: content-box;
}
.brand-name { font-size: 18px; font-weight: 600; letter-spacing: 0.12em; line-height: 1; }

.site-nav { display: flex; align-items: center; gap: 4px; margin-left: 12px; flex: 1; }
.nav-link, .nav-item > button {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  height: 40px;
  padding: 0 12px;
  border: 0;
  background: transparent;
  color: #E8EEF5;
  font-size: 15px;
  font-weight: 500;
  border-radius: 6px;
  white-space: nowrap;
}
.nav-link:hover, .nav-item > button:hover { background: rgba(255, 255, 255, 0.06); }
.nav-link.is-active, .nav-item.is-current > button { color: var(--brand-on-dark); }
.nav-item > button::after {
  content: "";
  width: 0; height: 0;
  border-left: 4px solid transparent;
  border-right: 4px solid transparent;
  border-top: 5px solid currentColor;
  opacity: 0.55;
  margin-top: 2px;
}
.nav-item { position: relative; }
.nav-menu {
  position: absolute;
  top: calc(100% + 8px);
  left: 0;
  min-width: 200px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow-lg);
  padding: 8px;
  opacity: 0;
  visibility: hidden;
  transform: translateY(6px);
  transition: opacity 0.18s ease, transform 0.18s ease, visibility 0.18s;
  z-index: 20;
}
.nav-item:hover > .nav-menu,
.nav-item:focus-within > .nav-menu,
.nav-item.is-open > .nav-menu {
  opacity: 1;
  visibility: visible;
  transform: none;
}
.nav-menu a {
  display: block;
  padding: 9px 12px;
  border-radius: 6px;
  color: var(--text);
  font-size: 14px;
}
.nav-menu a:hover { background: var(--paper); color: var(--brand); }
.nav-menu-wide {
  display: grid;
  grid-template-columns: repeat(3, 180px);
  gap: 4px 16px;
  min-width: 0;
  padding: 16px 18px;
}
.menu-label {
  margin: 0 0 6px;
  padding: 0 12px;
  font-size: 11px;
  letter-spacing: 0.12em;
  color: var(--text-3);
  font-weight: 600;
  font-family: var(--font-mono);
}
.header-actions { margin-left: auto; display: flex; align-items: center; gap: 16px; flex-shrink: 0; }
.header-phone { color: #C5CDD8; font-size: 13px; font-weight: 600; }
.header-phone:hover { color: #F4F7FB; }
.nav-toggle {
  display: none;
  width: 40px; height: 40px;
  border: 1px solid rgba(232, 238, 245, 0.28);
  background: transparent;
  border-radius: 6px;
  padding: 0;
  position: relative;
}
.nav-toggle span, .nav-toggle span::before, .nav-toggle span::after {
  display: block;
  width: 16px; height: 1.5px;
  background: #F4F7FB;
  position: absolute;
  left: 11px;
  border-radius: 1px;
}
.nav-toggle span { top: 19px; }
.nav-toggle span::before { content: ""; top: -6px; }
.nav-toggle span::after { content: ""; top: 6px; }

/* —— 按钮 —— */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  height: 44px;
  padding: 0 20px;
  border-radius: 6px;
  font-size: 15px;
  font-weight: 600;
  border: 1px solid transparent;
  transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
  white-space: nowrap;
}
.btn:hover { transform: translateY(-1px); }
.btn-primary { background: var(--brand); color: #fff; }
.btn-primary:hover { background: var(--brand-deep); box-shadow: 0 6px 16px rgba(0, 80, 180, 0.22); }
.btn-navy { background: var(--navy); color: #fff; }
.btn-navy:hover { background: var(--navy-mid); }
.btn-ghost { background: transparent; color: var(--navy); border-color: var(--navy); }
.btn-ghost:hover { background: var(--navy); color: #fff; border-color: var(--navy); }
.btn-outline { background: transparent; color: var(--navy); border-color: var(--navy); }
.btn-outline:hover { background: var(--navy); color: #fff; }
.btn-text {
  height: auto;
  padding: 0;
  background: none;
  color: var(--brand);
  border: 0;
  font-weight: 600;
  transform: none;
  background-image: linear-gradient(currentColor, currentColor);
  background-position: 0 100%;
  background-repeat: no-repeat;
  background-size: 0 1px;
  transition: background-size 0.2s ease, color 0.2s ease;
}
.btn-text:hover { color: var(--brand-deep); transform: none; background-size: 100% 1px; }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }
.hero-chat {
  height: 44px;
  padding: 0 2px;
  border: 0;
  background: none;
  color: var(--text-2);
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 5px;
  text-decoration-thickness: 1px;
}
.hero-chat:hover { color: var(--brand); }

/* —— 通用布局与标题 —— */
.wrap { max-width: var(--max); margin: 0 auto; padding: 0 32px; }
.section { padding: var(--space-6) 0; }
.section-tight { padding: var(--space-5) 0; }
.section-head { margin-bottom: 48px; max-width: 36em; }
.section-head.is-wide { max-width: none; display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr); gap: 24px 48px; align-items: end; }
.eyebrow {
  margin: 0 0 12px;
  font-size: 12px;
  letter-spacing: 0.18em;
  font-weight: 600;
  color: var(--brand);
  font-family: var(--font-mono);
}
.display, .hero h1, .section-head h2, .page-hero h1, .cta-band h2, .fact-num, .proof-lead strong {
  font-family: var(--font-display);
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1.12;
  color: var(--navy);
}
.section-head h2 { font-size: clamp(28px, 3.6vw, 44px); margin: 0; }
.lead { margin: 16px 0 0; color: var(--text-2); font-size: 16px; line-height: 1.75; font-family: var(--font); letter-spacing: 0; font-weight: 400; }
.muted { color: var(--text-2); }
.kicker {
  margin: 0 0 8px;
  font-size: 11px;
  letter-spacing: 0.16em;
  color: var(--text-3);
  font-family: var(--font-mono);
  font-weight: 600;
}

/* —— 1. 首屏：满幅藏青剧场，单光源 + 发丝网格，示意如仪器浮在暗场 —— */
.hero {
  position: relative;
  overflow: hidden;
  padding: 0;
  background: #071422;
  color: #E8EEF5;
}
.hero-atmosphere {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  background:
    radial-gradient(ellipse 72% 62% at 78% 8%, rgba(0, 80, 180, 0.42), transparent 58%),
    radial-gradient(ellipse 40% 36% at 8% 92%, rgba(11, 31, 58, 0.55), transparent 70%),
    linear-gradient(180deg, #0B1F3A 0%, #071422 100%);
}
.hero-atmosphere::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(139, 184, 232, 0.07) 1px, transparent 1px),
    linear-gradient(90deg, rgba(139, 184, 232, 0.07) 1px, transparent 1px);
  background-size: 48px 48px;
  -webkit-mask-image: radial-gradient(ellipse 80% 70% at 72% 28%, #000 18%, transparent 76%);
  mask-image: radial-gradient(ellipse 80% 70% at 72% 28%, #000 18%, transparent 76%);
}
.hero-sweep {
  position: absolute;
  top: -12%;
  bottom: -12%;
  width: 22%;
  left: -28%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.08), transparent);
  transform: skewX(-18deg);
  opacity: 0;
}
.hero-shell {
  max-width: calc(var(--max) + 64px);
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(280px, 0.86fr) minmax(440px, 1.24fr);
  min-height: 700px;
  align-items: stretch;
  position: relative;
  z-index: 1;
}
.hero-cover {
  padding: 64px 40px 56px 32px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  position: relative;
  background: transparent;
}
.hero-cover .eyebrow { color: var(--brand-on-dark); margin-bottom: 20px; }
.hero-cover h1 {
  font-size: clamp(48px, 7vw, 96px);
  line-height: 1.05;
  letter-spacing: -0.045em;
  margin: 0 0 24px;
  max-width: none;
  color: #F4F7FB;
  text-shadow: 0 1px 0 rgba(255, 255, 255, 0.06);
}
.hero-cover .lead {
  margin: 0 0 32px;
  font-size: 16px;
  line-height: 1.75;
  max-width: 28em;
  color: #B7C2D0;
}
.hero-cover .btn-primary {
  box-shadow: 0 0 0 1px rgba(139, 184, 232, 0.18), 0 10px 28px rgba(0, 80, 180, 0.35);
}
.hero-cover .btn-ghost {
  color: #F4F7FB;
  border-color: rgba(232, 238, 245, 0.38);
}
.hero-cover .btn-ghost:hover { background: #fff; color: var(--navy); border-color: #fff; }
.hero-cover .hero-chat { color: #B7C2D0; }
.hero-cover .hero-chat:hover { color: #fff; }
.hero-stage {
  position: relative;
  min-height: 600px;
  background: transparent;
  padding: 36px 32px 48px 8px;
  overflow: visible;
}
.hero-stage::before { content: none; }
.hero-board { position: relative; z-index: 1; height: 100%; }
.hero-board .ui-mes {
  min-height: 540px;
  height: 100%;
  border-color: rgba(139, 184, 232, 0.22);
  box-shadow: var(--glow);
}
.hero-board .ui-mes::after,
.hero-float .ui::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  pointer-events: none;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.22);
}
.hero-float {
  position: absolute;
  right: 16px;
  bottom: 20px;
  width: 54%;
  z-index: 2;
  filter: drop-shadow(0 22px 36px rgba(0, 0, 0, 0.5));
}

/* —— 2. 背书条：贴在首屏下沿的钢色事实带 —— */
.proof {
  background: #071422;
  border: 0;
  padding: 22px 0;
  position: relative;
  z-index: 3;
  color: #C5CDD8;
  box-shadow: inset 0 1px 0 rgba(139, 184, 232, 0.16);
}
.proof-strip {
  display: grid;
  grid-template-columns: auto auto 1fr;
  gap: 12px 36px;
  align-items: center;
}
.proof-label {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.18em;
  color: #8A93A0;
  font-weight: 600;
  padding-right: 36px;
  border-right: 1px solid rgba(148, 163, 184, 0.22);
}
.proof-lead { margin: 0; }
.proof-lead strong {
  font-size: clamp(24px, 2.8vw, 34px);
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1.15;
  color: #F4F7FB;
}
.proof-facts {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 0;
  color: #B7C2D0;
  font-size: 14px;
  line-height: 1.5;
}
.proof-facts li {
  padding: 0 20px;
  border-left: 1px solid rgba(148, 163, 184, 0.22);
}
.proof-facts li:first-child { margin-left: auto; }

/* —— 3. 交付路径：浅室里的一条有存在感的轨道 —— */
.delivery {
  background: #F3F6FA;
  padding: 88px 0 96px;
  position: relative;
}
.delivery .delivery-line {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(32px, 4.4vw, 56px);
  letter-spacing: -0.04em;
  line-height: 1.12;
  color: var(--navy);
  margin: 0 0 12px;
  max-width: 16em;
}
.delivery .lead { margin: 0 0 48px; max-width: 36em; }
.path {
  list-style: none;
  margin: 0;
  padding: 8px 0 0;
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 12px;
  position: relative;
}
.path::before {
  content: "";
  position: absolute;
  top: 36px;
  left: 8%;
  right: 8%;
  height: 4px;
  background: linear-gradient(90deg, var(--brand) 0%, var(--brand) 33%, #9BB3CC 33%, #9BB3CC 100%);
  border-radius: 4px;
  z-index: 0;
}
.path-step { position: relative; z-index: 1; text-align: center; padding: 0 4px; }
.path-node {
  width: 64px;
  height: 64px;
  margin: 0 auto 16px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #fff;
  color: var(--navy);
  border: 3px solid #9BB3CC;
  box-shadow: 0 0 0 8px #F3F6FA;
  transition: transform 0.2s ease, border-color 0.2s ease;
}
.path-step:hover .path-node { transform: translateY(-2px); }
.path-num {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 20px;
  letter-spacing: -0.04em;
  line-height: 1;
}
.path-step.is-done .path-node { background: var(--brand); color: #fff; border-color: var(--brand); }
.path-step.is-now .path-node {
  background: #fff;
  color: var(--brand);
  border-color: var(--brand);
  box-shadow: 0 0 0 8px #F3F6FA, 0 0 0 11px rgba(0, 80, 180, 0.4), 0 0 24px rgba(0, 80, 180, 0.28);
}
.path-step h3 {
  margin: 0 0 8px;
  font-size: 16px;
  color: var(--navy);
  font-weight: 650;
}
.path-step p { margin: 0; font-size: 13px; line-height: 1.6; color: var(--text-2); text-align: left; }

/* —— 4. 业务方向：三个房间，不再共用浅底开场 —— */
.biz { background: transparent; padding: 0; }
.biz-room {
  padding: 72px 0;
  position: relative;
}
.biz-room.is-plant {
  background:
    linear-gradient(180deg, #D8DEE6 0%, #E6EBF1 100%);
}
.biz-room.is-clinic {
  background:
    linear-gradient(180deg, #DCEBE6 0%, #EAF3F0 100%);
}
.biz-room .wrap {
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr);
  gap: 40px 56px;
  align-items: center;
}
.biz-room.is-clinic .wrap { grid-template-columns: minmax(0, 1.2fr) minmax(0, 0.8fr); }
.biz-room.is-clinic .biz-copy { order: 2; }
.biz-room.is-clinic .biz-visual { order: 1; }
.biz-copy h3 {
  margin: 0 0 14px;
  font-family: var(--font-display);
  font-size: clamp(30px, 3.4vw, 44px);
  line-height: 1.12;
  letter-spacing: -0.03em;
  color: var(--navy);
}
.biz-copy > p { margin: 0 0 20px; color: var(--text-2); max-width: 36em; }
.biz-links { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 22px; }
.chip {
  display: inline-flex;
  align-items: center;
  height: 30px;
  padding: 0 12px;
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  font-size: 13px;
  color: var(--navy);
  background: rgba(255,255,255,0.7);
  transition: border-color 0.2s ease, color 0.2s ease, transform 0.2s ease;
}
.chip:hover { border-color: var(--brand); color: var(--brand); transform: translateY(-1px); }
.biz-visual .ui { min-height: 340px; box-shadow: var(--shadow-lg); }
.biz-room.is-clinic .ui-queue { min-height: 380px; }
.biz-band {
  background: var(--navy);
  color: #E8EEF5;
  padding: 64px 0;
  margin: 0;
  position: relative;
  overflow: hidden;
}
.biz-band::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 50% 80% at 8% 50%, rgba(0, 80, 180, 0.28), transparent 60%),
    linear-gradient(90deg, transparent 60%, rgba(255,255,255,0.03) 61%, transparent 62%);
  pointer-events: none;
}
.biz-band .wrap {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 1.05fr);
  gap: 32px 48px;
  align-items: center;
}
.biz-band .kicker { color: var(--brand-on-dark); }
.biz-band h3 {
  margin: 0 0 8px;
  font-family: var(--font-display);
  font-size: clamp(30px, 3.2vw, 40px);
  letter-spacing: -0.03em;
  color: #F4F7FB;
  line-height: 1.15;
}
.biz-band p { margin: 0; color: #B7C2D0; max-width: 42em; }
.biz-band .btn-text { color: var(--brand-on-dark); }
.biz-band .btn-text:hover { color: #fff; }
.biz-band .biz-links { margin: 16px 0 18px; }
.biz-band .chip {
  background: transparent;
  border-color: rgba(139, 184, 232, 0.4);
  color: #E8EEF5;
}
.biz-band .chip:hover { border-color: #fff; color: #fff; }
.biz-band .ui-gate { background: rgba(7, 20, 34, 0.45); border-color: rgba(148, 163, 184, 0.18); box-shadow: none; min-height: 320px; }



/* —— 产品墙：疏密与明暗拉开，不再统一浅卡 —— */
.products {
  background: #E4E9F0;
  padding: 88px 0 96px;
  position: relative;
}
.products .section-head { margin-bottom: 36px; max-width: 1100px; }
.products .section-head h2 { font-size: clamp(32px, 4vw, 52px); }

.bento { display: grid; grid-template-columns: repeat(12, 1fr); gap: 16px; }
.bento-cell {
  min-width: 0;
  overflow: hidden;
  border: 1px solid transparent;
  border-radius: 4px;
  background: #fff;
  transition: box-shadow 0.2s ease, transform 0.2s ease, border-color 0.2s ease;
}
.bento-cell:hover { box-shadow: var(--shadow); transform: translateY(-2px); }
.bento-cell h3 {
  margin: 0 0 8px;
  font-family: var(--font-display);
  font-size: 26px;
  line-height: 1.2;
  letter-spacing: -0.03em;
  color: var(--navy);
  font-weight: 700;
}
.bento-cell p { margin: 0 0 12px; color: var(--text-2); font-size: 15px; }
.bento-cell ul { margin: 0 0 14px; padding: 0 0 0 18px; color: var(--text-2); font-size: 14px; }
.bento-cell li { margin: 3px 0; }
.tile-kicker {
  margin: 0 0 6px;
  font-size: 11px;
  letter-spacing: 0.16em;
  color: var(--text-3);
  font-family: var(--font-mono);
  font-weight: 600;
}

.bento-cell.is-mes {
  grid-column: 1 / 8;
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  background: #F3F6F9;
  min-height: 420px;
}
.bento-cell.is-mes > div:first-child { padding: 28px 24px 24px 28px; }
.bento-cell.is-mes .ui { border: 0; border-radius: 0; box-shadow: none; height: 100%; min-height: 320px; background: #EEF2F6; }

.bento-cell.is-wh {
  grid-column: 8 / 13;
  display: flex;
  flex-direction: column;
  background: #2A3B50;
  color: #E8EEF5;
}
.bento-cell.is-wh h3 { color: #F4F7FB; }
.bento-cell.is-wh p, .bento-cell.is-wh .tile-kicker { color: #B7C2D0; }
.bento-cell.is-wh .btn-text { color: var(--brand-on-dark); }
.bento-cell.is-wh > .tile-kicker,
.bento-cell.is-wh > h3,
.bento-cell.is-wh > p,
.bento-cell.is-wh > .btn-text { padding-left: 22px; padding-right: 22px; }
.bento-cell.is-wh > .tile-kicker { padding-top: 22px; }
.bento-cell.is-wh .ui { margin-top: auto; border: 0; border-radius: 0; box-shadow: none; background: transparent; min-height: 240px; }
.bento-cell.is-wh > .btn-text { padding-bottom: 18px; padding-top: 8px; }
.bento-cell.is-wh:hover { box-shadow: 0 12px 32px rgba(11, 31, 58, 0.28); }

.bento-cell.is-spd {
  grid-column: 1 / 7;
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  background: #EAF3F0;
  min-height: 280px;
}
.bento-cell.is-spd > div:first-child { padding: 22px 8px 20px 22px; }
.bento-cell.is-spd .ui { border: 0; border-radius: 0; box-shadow: none; background: transparent; min-height: 240px; }

.bento-cell.is-queue {
  grid-column: 7 / 13;
  display: grid;
  grid-template-columns: 0.75fr 1.25fr;
  background: #F7FBFA;
  min-height: 280px;
}
.bento-cell.is-queue > div:first-child { padding: 22px 8px 20px 22px; }
.bento-cell.is-queue .ui { border: 0; border-radius: 0; box-shadow: none; min-height: 240px; background: transparent; }
.bento-cell.is-queue h3 { font-size: 28px; }

.bento-cell.is-storage {
  grid-column: 1 / 5;
  background: var(--cream);
  display: flex;
  flex-direction: column;
}
.bento-cell.is-storage .ui { border: 0; border-radius: 0; box-shadow: none; background: transparent; min-height: 220px; margin-bottom: 8px; }
.bento-cell.is-storage > .tile-kicker,
.bento-cell.is-storage > h3,
.bento-cell.is-storage > p,
.bento-cell.is-storage > .btn-text { padding-left: 20px; padding-right: 20px; }

.bento-cell.is-itsm {
  grid-column: 5 / 9;
  background: #fff;
  display: flex;
  flex-direction: column;
}
.bento-cell.is-itsm .ui { border: 0; border-radius: 0; box-shadow: none; background: #F4F6F8; min-height: 200px; margin-bottom: 8px; }
.bento-cell.is-itsm > .tile-kicker,
.bento-cell.is-itsm > h3,
.bento-cell.is-itsm > p,
.bento-cell.is-itsm > .btn-text { padding-left: 20px; padding-right: 20px; }

.bento-cell.is-ops {
  grid-column: 9 / 13;
  background: #071422;
  display: flex;
  flex-direction: column;
}
.bento-cell.is-ops h3 { color: #F4F7FB; }
.bento-cell.is-ops p, .bento-cell.is-ops .tile-kicker { color: #B7C2D0; }
.bento-cell.is-ops .btn-text { color: var(--brand-on-dark); }
.bento-cell.is-ops .ui { border: 0; border-radius: 0; box-shadow: none; background: transparent; min-height: 200px; margin-bottom: 8px; }
.bento-cell.is-ops > .tile-kicker,
.bento-cell.is-ops > h3,
.bento-cell.is-ops > p,
.bento-cell.is-ops > .btn-text { padding-left: 20px; padding-right: 20px; }
.bento-cell.is-ops:hover { box-shadow: 0 12px 32px rgba(11, 31, 58, 0.28); border-color: transparent; }

.bento-cell.is-ehr {
  grid-column: 1 / 13;
  display: grid;
  grid-template-columns: minmax(200px, 260px) 1fr auto;
  gap: 16px 28px;
  align-items: center;
  padding: 16px 22px;
  background: #fff;
}
.bento-cell.is-ehr .ui { min-height: 0; margin: 0; box-shadow: none; border: 0; background: transparent; }
.bento-cell.is-ehr h3 { margin-bottom: 4px; font-size: 22px; }
.bento-cell.is-ehr p { margin: 0; }

/* —— 杂志式案例：藏青展厅，八个现场主从排布 —— */
.cases {
  background: #071422;
  color: #E8EEF5;
  padding: 96px 0 100px;
  position: relative;
  overflow: hidden;
}
.cases::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    radial-gradient(ellipse 80% 48% at 50% 0%, rgba(0, 80, 180, 0.26), transparent 62%),
    linear-gradient(rgba(139, 184, 232, 0.045) 1px, transparent 1px);
  background-size: auto, 100% 48px;
}
.cases .wrap { position: relative; z-index: 1; }
.cases .section-head { max-width: 1100px; margin-bottom: 32px; }
.cases .section-head h2 { font-size: clamp(36px, 4.6vw, 60px); color: #F4F7FB; }
.cases .section-head .lead { color: #B7C2D0; }
.cases .clients-line { color: #8A93A0; border-top-color: rgba(148, 163, 184, 0.16); }
.cases .clients-line .label { color: #8A93A0; }
.mag { display: grid; grid-template-columns: repeat(12, 1fr); gap: 16px; }
.mag > a {
  display: flex;
  flex-direction: column;
  min-width: 0;
  color: inherit;
  border: 0;
  border-radius: 4px;
  overflow: hidden;
  background: #fff;
  transition: box-shadow 0.2s ease, transform 0.2s ease;
}
.cases .mag > a { box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.04); }
.mag > a:hover { box-shadow: var(--shadow-lg); transform: translateY(-2px); }
.cases .mag > a:hover { box-shadow: 0 18px 40px rgba(0, 0, 0, 0.35); }
.mag-feature {
  grid-column: 1 / 13;
  display: grid !important;
  grid-template-columns: 1.25fr 0.85fr;
  min-height: 420px;
  background: var(--navy) !important;
  color: #E8EEF5;
}
.mag-feature:hover, .mag > a.mag-feature:hover { box-shadow: 0 16px 36px rgba(11, 31, 58, 0.28); }
.mag-side { grid-column: 1 / 6; background: #E6EBF1; }
.mag-dong { grid-column: 6 / 13; background: #EAF3F0; display: grid !important; grid-template-columns: 1.1fr 0.9fr; }
.mag-hosp { grid-column: 1 / 7; display: grid !important; grid-template-columns: 1.05fr 0.95fr; background: #F3F5F8; }
.mag-luo { grid-column: 7 / 13; display: grid !important; grid-template-columns: 1fr 1fr; align-items: stretch; background: var(--cream); }
.mag-graf { grid-column: 1 / 13; display: grid !important; grid-template-columns: 1.1fr 0.9fr; background: var(--navy) !important; color: #E8EEF5; min-height: 240px; }
.mag-graf:hover { box-shadow: 0 12px 32px rgba(11, 31, 58, 0.28); }
.mag-jinjiu {
  grid-column: 1 / 7;
  display: grid !important;
  grid-template-columns: 1.12fr 0.88fr;
  min-height: 340px;
  background: #E6E2D8;
}
.mag-renhe {
  grid-column: 7 / 13;
  display: grid !important;
  grid-template-columns: 1.05fr 0.95fr;
  min-height: 340px;
  background: #E7EEF6;
}
.mag-jinjiu .mag-visual .ui,
.mag-renhe .mag-visual .ui { background: transparent; min-height: 300px; }
.mag-visual { padding: 0; min-height: 0; display: flex; align-items: stretch; overflow: hidden; }
.mag-visual .ui { width: 100%; border: 0; border-radius: 0; box-shadow: none; min-height: 0; pointer-events: none; }
.mag-feature .mag-visual .ui-gate { background: transparent; min-height: 420px; }
.mag-graf .mag-visual .ui { background: transparent; }
.mag-side .mag-visual .ui { background: transparent; min-height: 240px; }
.mag-luo .mag-visual .ui { min-height: 260px; }
.mag-body { padding: 20px 22px 22px; }
.mag-feature .mag-body { padding: 36px 40px 36px 20px; display: flex; flex-direction: column; justify-content: center; }
.mag-body h3 {
  margin: 0 0 8px;
  font-family: var(--font-display);
  font-size: 22px;
  line-height: 1.25;
  letter-spacing: -0.02em;
  color: var(--navy);
  font-weight: 700;
}
.mag-feature .mag-body h3 { font-size: 36px; margin-bottom: 12px; color: #F4F7FB; }
.mag-body p { margin: 0 0 14px; color: var(--text-2); font-size: 15px; }
.mag-feature .mag-body p { color: #B7C2D0; }
.mag-feature .kicker, .mag-feature .btn-text,
.mag-graf .mag-body h3 { color: #F4F7FB; }
.mag-graf .mag-body p { color: #B7C2D0; }
.mag-graf .btn-text, .mag-graf .kicker, .mag-feature .btn-text { color: var(--brand-on-dark); }
.clients-line {
  margin-top: 36px;
  padding-top: 20px;
  border-top: 1px solid var(--line);
  color: var(--text-2);
  font-size: 14px;
  line-height: 1.7;
}
.clients-line .label {
  display: inline-block;
  margin-right: 8px;
  font-size: 11px;
  letter-spacing: 0.12em;
  color: var(--text-3);
  font-family: var(--font-mono);
  font-weight: 600;
}

/* —— 关于我们：事实落在藏青房间 —— */
.who { background: var(--paper); }
.who-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr);
  gap: 48px 64px;
  align-items: start;
}
.who-grid h2 {
  font-family: var(--font-display);
  font-size: clamp(28px, 3.2vw, 40px);
  line-height: 1.15;
  letter-spacing: -0.03em;
  margin: 0 0 16px;
  color: var(--navy);
}
.who-grid .lead { margin: 0 0 20px; }
.facts {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
  padding: 0;
  border: 0;
  background: var(--navy);
  color: #C5CDD8;
  overflow: hidden;
  border-radius: 4px;
}
.fact {
  min-width: 0;
  padding: 22px 22px 20px;
  border-right: 1px solid rgba(148, 163, 184, 0.16);
  border-bottom: 1px solid rgba(148, 163, 184, 0.16);
}
.fact:nth-child(2n) { border-right: 0; }
.fact-num { display: block; font-size: clamp(28px, 3vw, 40px); color: #F4F7FB; margin-bottom: 6px; }
.fact p { margin: 0; color: #B7C2D0; font-size: 14px; line-height: 1.5; }
.who-actions { display: flex; flex-wrap: wrap; gap: 18px; margin-top: 8px; }


/* —— 8. CTA + 页脚 —— */
.cta-band {
  background: var(--navy);
  color: #E8EEF5;
  padding: 64px 0;
  position: relative;
}
.cta-band::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 50% 80% at 0% 50%, rgba(0, 80, 180, 0.22), transparent 60%),
    linear-gradient(rgba(255,255,255,0.04) 1px, transparent 1px);
  background-size: auto, 100% 28px;
  pointer-events: none;
}
.cta-band .wrap, .cta-inner { position: relative; }
.cta-band h2 { color: #F4F7FB; font-size: clamp(28px, 3.2vw, 40px); margin: 0 0 12px; }
.cta-band p { margin: 0; color: #B7C2D0; max-width: 40em; }
.cta-inner { display: grid; grid-template-columns: 1fr auto; align-items: center; gap: 28px 48px; }
.site-footer {
  background: var(--navy-deep);
  color: #9AA6B8;
  padding: 56px 0 96px;
  font-size: 14px;
}
.footer-grid { display: grid; grid-template-columns: 1.3fr 1fr 1fr 1fr 1.2fr; gap: 32px; margin-bottom: 40px; }
.site-footer h4 {
  margin: 0 0 14px;
  color: #E8EEF5;
  font-size: 12px;
  letter-spacing: 0.12em;
  font-weight: 600;
  font-family: var(--font-mono);
}
.site-footer ul { list-style: none; margin: 0; padding: 0; }
.site-footer li { margin: 0 0 8px; }
.site-footer a:hover { color: #E8EEF5; }
.footer-brand .brand { color: #E8EEF5; margin-bottom: 12px; align-items: center; }
.footer-note {
  margin-top: 12px;
  padding: 8px 10px;
  border: 1px solid rgba(0, 80, 180, 0.45);
  color: var(--brand-on-dark);
  border-radius: 4px;
  font-size: 12px;
  letter-spacing: 0.04em;
  display: inline-block;
}
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.08);
  padding-top: 18px;
  display: flex;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  font-size: 12px;
  color: #8A93A0;
}
.friends { color: #8A93A0; }

/* —— 内页 —— */
.page-hero {
  background:
    linear-gradient(180deg, #F3F6FA, var(--paper));
  color: var(--navy);
  padding: 48px 0 8px;
  position: relative;
}
.page-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(11, 31, 58, 0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(11, 31, 58, 0.04) 1px, transparent 1px);
  background-size: 28px 28px;
  mask-image: linear-gradient(#000, transparent);
  pointer-events: none;
}
.page-hero .wrap { position: relative; }
.page-hero h1 { font-size: clamp(36px, 5vw, 64px); margin: 0; max-width: 16em; color: var(--navy); }
.page-hero .lead { color: var(--text-2); max-width: 38em; font-size: 17px; }
.crumbs {
  margin: 0 0 18px;
  font-size: 13px;
  color: var(--text-3);
  font-family: var(--font-mono);
  letter-spacing: 0.02em;
}
.crumbs a:hover { color: var(--brand); }
.prose { max-width: 38em; }
.prose h2 {
  font-family: var(--font-display);
  font-size: clamp(24px, 2.4vw, 32px);
  margin: 40px 0 12px;
  color: var(--navy);
  letter-spacing: -0.03em;
  line-height: 1.2;
}
.prose h3 { font-size: 18px; margin: 28px 0 8px; color: var(--navy); font-family: var(--font); letter-spacing: 0; }
.prose p { margin: 0 0 14px; color: var(--text-2); }
.prose ul { color: var(--text-2); padding-left: 20px; }
.prose li { margin: 6px 0; }

.product-canvas {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: 40px 56px;
  align-items: start;
  margin-bottom: 48px;
}
.product-canvas .ui { min-height: 0; }
.product-canvas .prose { max-width: none; }
.cap-bento { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 14px; margin-top: 8px; }
.cap-bento.is-quad { grid-template-columns: 1.3fr 1fr 1fr; }
.cap-bento .cap { background: #fff; border: 1px solid var(--line); border-radius: 8px; padding: 22px 20px; }
.cap-bento .cap.is-lead { padding: 28px 24px; }
.cap-bento.is-quad .cap:first-child { grid-column: 1; grid-row: 1 / 3; }
.cap-bento.is-quad .cap:nth-child(4) { grid-column: 2 / 4; }
.cap h3 { margin: 0 0 8px; font-size: 18px; color: var(--navy); font-weight: 650; }
.cap p { margin: 0; color: var(--text-2); font-size: 14px; line-height: 1.65; }
.cap.is-lead h3 { font-size: 22px; }
.cap.is-lead p { font-size: 15px; }

.detail-split {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
  gap: 48px;
  align-items: start;
}
.detail-split .ui { min-height: 0; }
.detail-split .prose { max-width: none; }

.scene {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(0, 0.8fr);
  gap: 40px 56px;
  margin-bottom: 64px;
  align-items: start;
}
.scene-lead h2 {
  font-family: var(--font-display);
  font-size: clamp(26px, 2.8vw, 36px);
  letter-spacing: -0.03em;
  line-height: 1.15;
  margin: 0 0 14px;
  color: var(--navy);
}
.scene-side { display: flex; flex-direction: column; gap: 28px; padding-top: 8px; border-left: 1px solid var(--line); padding-left: 28px; }
.scene-side h3 {
  margin: 0 0 6px;
  font-size: 13px;
  letter-spacing: 0.14em;
  font-family: var(--font-mono);
  color: var(--text-3);
  font-weight: 600;
}
.scene-side p { margin: 0; color: var(--text-2); }

.sol-entries { display: grid; grid-template-columns: 1.4fr 1fr; gap: 16px; }
.sol-entry {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 22px;
  display: grid;
  gap: 16px;
  overflow: hidden;
}
.sol-entry.is-lead { grid-row: span 2; grid-template-columns: 1fr; padding: 0; }
.sol-entry.is-lead > div:first-child { padding: 26px 26px 0; }
.sol-entry h3 { margin: 0 0 8px; font-size: 20px; color: var(--navy); }
.sol-entry p { margin: 0 0 10px; color: var(--text-2); font-size: 15px; }
.sol-entry .ui { min-height: 180px; }
.sol-entry.is-lead .ui { min-height: 240px; border: 0; border-radius: 0; box-shadow: none; }

.case-pair { display: grid; grid-template-columns: 1.4fr 1fr; gap: 20px; align-items: stretch; }
.case-pair .mag-feature, .case-pair a { grid-column: auto; }
.case-quad { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.case-quad > a {
  grid-column: auto !important;
  display: flex !important;
  grid-template-columns: none !important;
  min-height: 0;
  color: inherit !important;
}
.case-quad .mag-visual .ui { min-height: 240px; }
.case-quad .mag-body h3 { color: var(--navy); }
.case-quad .mag-body p { color: var(--text-2); }
.case-quad .kicker, .case-quad .btn-text { color: var(--text-3); }
.case-quad .btn-text { color: var(--brand); }


.story { max-width: 720px; }
.story-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 0.95fr);
  gap: 48px 56px;
  align-items: start;
}
.chapter-label {
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.16em;
  color: var(--brand);
  margin: 0 0 8px;
  font-weight: 600;
}
.story h2, .chapter h2 {
  font-family: var(--font-display);
  font-size: clamp(26px, 2.8vw, 36px);
  letter-spacing: -0.03em;
  line-height: 1.15;
  margin: 0 0 16px;
  color: var(--navy);
}
.chapter { margin: 48px 0; }
.chapter .ui { min-height: 280px; }
.note-block {
  margin-top: 36px;
  padding: 20px 0 0;
  border-top: 1px solid var(--line);
  color: var(--text-2);
  font-size: 14px;
  max-width: 40em;
}

.rel-rail {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px 20px;
  margin-top: 48px;
  padding-top: 22px;
  border-top: 1px solid var(--line);
}
.rel-label {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.16em;
  color: var(--text-3);
  font-weight: 600;
  margin-right: 8px;
}
.rel-rail a {
  color: var(--navy);
  font-weight: 600;
  font-size: 15px;
  text-decoration: underline;
  text-underline-offset: 4px;
  text-decoration-thickness: 1px;
}
.rel-rail a:hover { color: var(--brand); }
.rel-rail a.is-strong {
  text-decoration: none;
  background: var(--navy);
  color: #fff;
  padding: 8px 16px;
  border-radius: 6px;
}
.rel-rail a.is-strong:hover { background: var(--brand); color: #fff; }

.about-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr);
  gap: 48px 64px;
  align-items: start;
}
.directory { display: grid; gap: 0; max-width: 720px; }
.directory-row {
  display: grid;
  grid-template-columns: 88px 1fr;
  gap: 16px 24px;
  padding: 22px 0;
  border-top: 1px solid var(--line);
}
.directory-row:last-child { border-bottom: 1px solid var(--line); }
.directory-row dt {
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.14em;
  color: var(--text-3);
  margin: 0;
  padding-top: 6px;
}
.directory-row dd { margin: 0; color: var(--navy); font-size: 20px; line-height: 1.45; font-weight: 550; }
.directory-row dd a { color: var(--brand); }
.directory-row dd a:hover { color: var(--brand-deep); }
.directory-row .hint { display: block; margin-top: 4px; font-size: 14px; font-weight: 400; color: var(--text-2); }
.page-hero + .section { padding-top: 48px; }

/* ============================================================
   示意组件：每种场景独立视觉语言，不再共用深色控制台外壳
   ============================================================ */
.ui {
  display: flex;
  flex-direction: column;
  min-width: 0;
  min-height: 200px;
  overflow: hidden;
  border-radius: 10px;
  border: 1px solid var(--line);
  position: relative;
}
.ui-cap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  margin: 0;
  padding: 8px 12px;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.08em;
  font-weight: 600;
}
.ui-cap em {
  font-style: normal;
  font-size: 10px;
  letter-spacing: 0.14em;
  padding: 1px 6px;
  border-radius: 3px;
  border: 1px solid currentColor;
  opacity: 0.75;
  font-weight: 600;
}
.tag {
  display: inline-block;
  padding: 1px 7px;
  border-radius: 4px;
  font-size: 11px;
  font-family: var(--font-mono);
  letter-spacing: 0.04em;
  font-style: normal;
}
.tag.is-run { background: rgba(0, 80, 180, 0.12); color: var(--brand); }
.tag.is-ok { background: var(--ok-soft); color: var(--ok); }
.tag.is-wait { background: var(--amber-soft); color: var(--amber); }

/* —— MES：浅底车间看板 / 工位流转 —— */
.ui-mes {
  background: #F3F6F9;
  border-color: #D5DEE8;
  color: var(--navy);
}
.ui-mes .ui-cap { color: var(--text-3); border-bottom: 1px solid #E2E8F0; background: rgba(255,255,255,0.55); }
.ui-mes .ui-cap em { color: var(--brand); border-color: rgba(0, 80, 180, 0.35); }
.mes-board {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 8px;
  padding: 12px;
  flex: 1;
  align-items: start;
}
.mes-col {
  background: rgba(255,255,255,0.72);
  border: 1px solid #E2E8F0;
  border-radius: 8px;
  padding: 8px;
  min-height: 0;
}
.mes-col header {
  font-size: 11px;
  letter-spacing: 0.1em;
  font-family: var(--font-mono);
  color: var(--text-3);
  font-weight: 600;
  margin: 0 0 8px;
  padding: 0 2px;
}
.mes-card {
  display: grid;
  gap: 2px;
  padding: 8px 8px 9px;
  border-radius: 6px;
  margin-bottom: 6px;
  border-left: 3px solid transparent;
  background: #fff;
  box-shadow: 0 1px 2px rgba(11, 31, 58, 0.06);
}
.mes-card:last-child { margin-bottom: 0; }
.mes-id { font-family: var(--font-mono); font-size: 10px; letter-spacing: 0.04em; color: var(--text-3); }
.mes-card strong { font-size: 13px; color: var(--navy); font-weight: 650; }
.mes-meta { font-size: 11px; color: var(--text-3); }
.mes-card.is-run { border-left-color: var(--brand); }
.mes-card.is-wait { border-left-color: var(--amber); background: #FFFBF3; }
.mes-card.is-ok { border-left-color: var(--ok); }
.mes-card.is-run { animation: breath 2.8s ease-in-out infinite; }
.ui-mes.is-sm .mes-card:nth-child(n+3) { display: none; }
.ui-mes.is-sm .mes-board { gap: 6px; padding: 8px; }

/* —— 仓库：巷道平面图 —— */
.ui-wh {
  background: #E6EBF1;
  border-color: #D3DCE6;
  color: var(--navy);
}
.ui-wh .ui-cap { color: var(--text-3); }
.ui-wh .ui-cap em { color: var(--navy-mid); border-color: rgba(11, 31, 58, 0.25); }
.wh-plan { padding: 6px 12px 14px; display: grid; gap: 8px; flex: 1; }
.wh-aisle { display: grid; grid-template-columns: 36px 1fr; gap: 8px; align-items: center; }
.wh-lab {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.04em;
  color: var(--text-3);
  text-align: center;
  line-height: 1.25;
}
.wh-rack { display: grid; grid-template-columns: repeat(5, 1fr); gap: 6px; }
.wh-bin {
  display: flex;
  align-items: flex-end;
  justify-content: center;
  height: 56px;
  border-radius: 3px 3px 0 0;
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.04em;
  color: #fff;
  padding-bottom: 6px;
  position: relative;
  background: var(--navy-mid);
  box-shadow: inset 0 8px 0 rgba(255,255,255,0.08);
}
.wh-bin.is-high { background: var(--navy); height: 64px; }
.wh-bin.is-mid { background: var(--navy-soft); height: 48px; }
.wh-bin.is-low { background: #3D5A7A; height: 36px; }
.wh-bin.is-empty {
  background: repeating-linear-gradient(-45deg, #F7F9FB, #F7F9FB 4px, #E2E8F0 4px, #E2E8F0 8px);
  color: var(--text-3);
  height: 28px;
  border: 1px dashed #B8C3D0;
  box-shadow: none;
}
.wh-lane {
  height: 16px;
  margin: 0 0 0 44px;
  background:
    repeating-linear-gradient(90deg, transparent, transparent 10px, rgba(11,31,58,0.12) 10px, rgba(11,31,58,0.12) 16px),
    #F4F6F9;
  border-top: 1px dashed #B8C3D0;
  border-bottom: 1px dashed #B8C3D0;
  display: flex;
  align-items: center;
  justify-content: center;
}
.wh-lane span {
  font-family: var(--font-mono);
  font-size: 9px;
  letter-spacing: 0.2em;
  color: var(--text-3);
  background: #F4F6F9;
  padding: 0 8px;
}
.ui-wh.is-sm .wh-bin { height: 40px; }
.ui-wh.is-sm .wh-bin.is-high { height: 48px; }
.ui-wh.is-sm .wh-bin.is-empty { height: 22px; }

/* —— 候诊屏：超大当前号 + 等候列表 —— */
.ui-queue {
  background: #EAF3F0;
  border-color: #C9DDD6;
  color: var(--mint-ink);
}
.ui-queue .ui-cap { color: var(--mint-ink); background: rgba(255,255,255,0.4); border-bottom: 1px solid #D5E6E0; }
.ui-queue .ui-cap em { color: var(--mint-ink); border-color: rgba(31, 95, 107, 0.35); }
.q-screen {
  display: grid;
  grid-template-columns: 1.25fr 0.75fr;
  gap: 0;
  flex: 1;
  min-height: 160px;
}
.q-now {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 16px 20px 20px;
  background: #F7FBFA;
}
.q-dept { font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.14em; color: var(--mint-ink); opacity: 0.8; }
.q-num {
  font-family: var(--font-display);
  font-size: clamp(64px, 8vw, 96px);
  line-height: 0.95;
  letter-spacing: -0.04em;
  color: var(--mint-ink);
  font-weight: 700;
  margin: 4px 0 6px;
  font-variant-numeric: tabular-nums;
}
.q-name { font-size: 15px; color: var(--navy); }
.q-wait {
  list-style: none;
  margin: 0;
  padding: 14px 14px 14px 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 2px;
  background: #EAF3F0;
  border-left: 1px solid #D5E6E0;
}
.q-wait li {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  padding: 7px 12px;
  font-size: 13px;
  color: var(--navy);
}
.q-wait b { font-family: var(--font-mono); font-size: 15px; color: var(--mint-ink); }

/* —— SPD：耗材柜 + 流转条 —— */
.ui-spd {
  background: #F3F8F6;
  border-color: #D5E4DE;
  color: var(--navy);
}
.ui-spd .ui-cap { color: var(--mint-ink); }
.ui-spd .ui-cap em { color: var(--mint-ink); border-color: rgba(31, 95, 107, 0.3); }
.spd-flow {
  list-style: none;
  margin: 0;
  padding: 8px 12px 0;
  display: flex;
  gap: 0;
  align-items: center;
}
.spd-flow li {
  flex: 1;
  text-align: center;
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.08em;
  color: var(--text-3);
  padding: 6px 4px;
  position: relative;
}
.spd-flow li::after {
  content: "";
  position: absolute;
  top: 50%;
  right: -1px;
  width: calc(50% - 18px);
  height: 1px;
  background: #C5D8D1;
}
.spd-flow li::before {
  content: "";
  position: absolute;
  top: 50%;
  left: -1px;
  width: calc(50% - 18px);
  height: 1px;
  background: #C5D8D1;
}
.spd-flow li:first-child::before, .spd-flow li:last-child::after { display: none; }
.spd-flow li.is-on { color: var(--mint-ink); font-weight: 700; }
.spd-cabinet {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  padding: 10px 12px 14px;
  flex: 1;
}
.spd-slot {
  background: #fff;
  border: 1px solid #D5E4DE;
  border-radius: 6px;
  padding: 10px 10px 9px;
  display: grid;
  gap: 2px;
  box-shadow: inset 0 10px 0 #F3F8F6;
}
.spd-slot b { font-size: 13px; color: var(--navy); }
.spd-slot span { font-family: var(--font-mono); font-size: 11px; color: var(--text-3); }
.spd-slot em { font-style: normal; font-size: 11px; font-family: var(--font-mono); }
.spd-slot.is-wait { border-top: 3px solid var(--amber); }
.spd-slot.is-wait em { color: var(--amber); }
.spd-slot.is-run { border-top: 3px solid var(--mint-ink); }
.spd-slot.is-run em { color: var(--mint-ink); }
.spd-slot.is-ok { border-top: 3px solid var(--ok); }
.spd-slot.is-ok em { color: var(--ok); }
.ui-spd.is-sm .spd-cabinet { grid-template-columns: 1fr 1fr; }

/* —— 文件：浅色图纸夹 + 预览 —— */
.ui-files {
  background: var(--cream);
  border-color: #E4DDD0;
  color: var(--navy);
}
.ui-files .ui-cap { color: #6A6154; background: rgba(255,255,255,0.35); border-bottom: 1px solid #E4DDD0; }
.ui-files .ui-cap em { color: #6A6154; border-color: rgba(106, 97, 84, 0.35); }
.files-split { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 0; flex: 1; min-height: 160px; }
.files-tree {
  list-style: none;
  margin: 0;
  padding: 10px 8px 12px 12px;
  font-family: var(--font-mono);
  font-size: 11px;
  color: #4A4338;
}
.files-tree li {
  display: flex;
  justify-content: space-between;
  gap: 8px;
  padding: 5px 6px;
  border-radius: 3px;
}
.files-tree .is-dir { color: var(--navy); font-weight: 650; letter-spacing: 0.02em; margin-top: 4px; }
.files-tree .is-on { background: #fff; box-shadow: 0 0 0 1px #E4DDD0; }
.files-tree .is-lock { opacity: 0.7; }
.files-tree span { color: #8A8174; }
.files-preview {
  margin: 10px 12px 12px 4px;
  background: #fff;
  border: 1px solid #E4DDD0;
  border-radius: 4px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 10px;
  box-shadow: 2px 3px 0 rgba(106, 97, 84, 0.08);
}
.drawing { width: 100%; max-width: 140px; height: auto; color: var(--navy-mid); }
.files-preview span { font-family: var(--font-mono); font-size: 10px; color: #6A6154; }
.ui-files.is-sm .files-tree li:nth-child(n+5) { display: none; }
.ui-files.is-sm .files-split,
.mag-luo .files-split {
  grid-template-columns: 1fr;
}
.mag-luo .files-preview { display: none; }
.mag-luo .ui-files, .ui-files.is-sm { min-height: 0; }

.files-tree li {
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* —— ITSM：浅色管理后台列表 —— */
.ui-itsm {
  background: #F4F6F8;
  border-color: #E2E8F0;
  color: var(--navy);
}
.ui-itsm .ui-cap { color: var(--text-3); background: #fff; border-bottom: 1px solid var(--line); }
.ui-itsm .ui-cap em { color: var(--brand); border-color: rgba(0, 80, 180, 0.3); }
.itsm-list { list-style: none; margin: 0; padding: 6px 0 8px; flex: 1; }
.itsm-list li {
  display: grid;
  grid-template-columns: 72px 1fr auto;
  gap: 8px;
  align-items: center;
  padding: 8px 12px;
  border-bottom: 1px solid #E8EDF3;
  font-size: 12px;
  background: #fff;
}
.itsm-list li:last-child { border-bottom: 0; }
.itsm-id { font-family: var(--font-mono); color: var(--text-3); font-size: 11px; }
.itsm-title { color: var(--navy); font-weight: 550; }

/* —— 运维 / Grafana：深色监控墙 —— */
.ui-ops {
  background: #071422;
  border-color: rgba(148, 163, 184, 0.2);
  color: #D7DEE8;
  box-shadow: inset 0 1px 0 rgba(0, 80, 180, 0.25);
}
.ui-ops .ui-cap { color: #A8B4C4; background: rgba(255,255,255,0.03); border-bottom: 1px solid rgba(148, 163, 184, 0.14); }
.ui-ops .ui-cap em { color: var(--brand-on-dark); border-color: rgba(0, 80, 180, 0.5); }
.ops-wall { padding: 10px 12px 12px; display: grid; gap: 10px; flex: 1; }
.ops-kpis { display: grid; grid-template-columns: repeat(4, 1fr); gap: 6px; }
.ops-kpis div {
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(148, 163, 184, 0.14);
  border-radius: 4px;
  padding: 7px 6px;
  text-align: center;
}
.ops-kpis span { display: block; font-size: 10px; color: #8A93A0; font-family: var(--font-mono); letter-spacing: 0.06em; }
.ops-kpis strong { display: block; margin-top: 3px; font-size: 13px; color: #E8EEF6; font-family: var(--font-mono); font-weight: 600; }
.ops-kpis .is-warn { border-color: rgba(230, 200, 137, 0.4); }
.ops-kpis .is-warn strong { color: #E6C889; }
.ops-matrix { display: grid; grid-template-columns: repeat(8, 1fr); gap: 4px; }
.ops-matrix i { display: block; height: 10px; border-radius: 2px; background: #2F6B4F; }
.ops-matrix i.warn { background: #C4A35A; animation: breath 2.4s ease-in-out infinite; }
.ops-bars { display: flex; align-items: flex-end; gap: 5px; height: 64px; padding: 0 2px; }
.ops-bars i {
  flex: 1;
  display: block;
  border-radius: 2px 2px 0 0;
  background: linear-gradient(180deg, #4C8BD8, #0050B4);
  opacity: 0.9;
}
.ops-alerts { list-style: none; margin: 0; padding: 0; }
.ops-alerts li {
  display: flex;
  justify-content: space-between;
  padding: 5px 2px;
  border-bottom: 1px solid rgba(255,255,255,0.06);
  font-family: var(--font-mono);
  font-size: 11px;
  color: #C5CDD8;
}
.ui-ops .tag.is-ok { background: rgba(47, 107, 79, 0.3); color: #A8D4BC; }
.ui-ops .tag.is-wait { background: rgba(138, 90, 18, 0.28); color: #E6C889; }
.ui-ops.is-sm .ops-alerts li:last-child, .ui-ops.is-sm .ops-bars { display: none; }

/* —— eHR：通栏到岗细条 —— */
.ui-ehr {
  background: transparent;
  border: 0;
  min-height: 0;
  border-radius: 0;
}
.ui-ehr .ui-cap { padding: 0 0 6px; color: var(--text-3); }
.ui-ehr .ui-cap em { color: var(--brand); border-color: rgba(0, 80, 180, 0.3); }
.ehr-strip {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 8px;
}
.ehr-strip li {
  display: grid;
  gap: 2px;
  padding: 8px 10px;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 6px;
  font-size: 13px;
}
.ehr-strip b { color: var(--navy); font-size: 14px; }
.ehr-strip span { color: var(--text-3); font-size: 12px; }

/* —— 车辆运输：路径 + 车次时间线 —— */
.ui-gate {
  background: #0B1F3A;
  border-color: rgba(148, 163, 184, 0.2);
  color: #E8EEF5;
}
.ui-gate .ui-cap { color: #A8B4C4; background: rgba(255,255,255,0.03); border-bottom: 1px solid rgba(148, 163, 184, 0.14); }
.ui-gate .ui-cap em { color: var(--brand-on-dark); border-color: rgba(0, 80, 180, 0.5); }
.gate-path {
  list-style: none;
  margin: 0;
  padding: 16px 16px 8px;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  position: relative;
}
.gate-path::before {
  content: "";
  position: absolute;
  top: 28px;
  left: 28px;
  right: 28px;
  height: 2px;
  background: linear-gradient(90deg, var(--brand), #4C8BD8 50%, rgba(148,163,184,0.35));
}
.gate-path li {
  position: relative;
  z-index: 1;
  flex: 1;
  text-align: center;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.04em;
  color: #A8B4C4;
  padding-top: 28px;
}
.gate-path li::before {
  content: "";
  position: absolute;
  top: 8px;
  left: 50%;
  width: 12px;
  height: 12px;
  margin-left: -6px;
  border-radius: 50%;
  background: #163152;
  border: 2px solid #8BB8E8;
  box-shadow: 0 0 0 4px #0B1F3A;
}
.gate-path li.is-ok::before { background: var(--ok); border-color: #A8D4BC; }
.gate-path li.is-run::before { background: var(--brand); border-color: #9CC4F0; animation: breath 2.4s ease-in-out infinite; }
.gate-trips { list-style: none; margin: 0; padding: 4px 12px 14px; display: grid; gap: 6px; }
.gate-trips li {
  display: grid;
  grid-template-columns: 72px 1fr auto;
  gap: 8px;
  align-items: center;
  padding: 8px 10px;
  background: rgba(255,255,255,0.04);
  border-left: 3px solid rgba(148,163,184,0.3);
  border-radius: 0 4px 4px 0;
  font-size: 12px;
}
.gate-id { font-family: var(--font-mono); color: #E8EEF6; }
.gate-trips em { font-style: normal; font-family: var(--font-mono); font-size: 11px; }
.gate-trips .is-run { border-left-color: #4C8BD8; }
.gate-trips .is-run em { color: #9CC4F0; }
.gate-trips .is-ok { border-left-color: #2F6B4F; }
.gate-trips .is-ok em { color: #A8D4BC; }
.gate-trips .is-wait { border-left-color: #C4A35A; }
.gate-trips .is-wait em { color: #E6C889; }

/* —— 预约：浅色日历号源格 —— */
.ui-appt {
  background: #F4F8F6;
  border-color: #D5E4DE;
  color: var(--navy);
}
.ui-appt .ui-cap { color: var(--mint-ink); }
.ui-appt .ui-cap em { color: var(--mint-ink); border-color: rgba(31, 95, 107, 0.3); }
.appt-cal { padding: 8px 12px 14px; display: grid; gap: 10px; flex: 1; }
.appt-week { display: grid; grid-template-columns: repeat(4, 1fr); gap: 6px; }
.appt-week span {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2px;
  padding: 8px 4px;
  border-radius: 8px;
  background: #fff;
  border: 1px solid #D5E4DE;
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--text-3);
}
.appt-week b { font-size: 16px; color: var(--navy); font-family: var(--font-display); font-weight: 700; }
.appt-week .is-on { background: var(--mint-ink); border-color: var(--mint-ink); color: rgba(255,255,255,0.8); }
.appt-week .is-on b { color: #fff; }
.appt-slots { display: grid; grid-template-columns: repeat(3, 1fr); gap: 6px; }
.appt-slots span {
  text-align: center;
  padding: 8px 4px;
  border-radius: 6px;
  font-family: var(--font-mono);
  font-size: 12px;
  border: 1px solid #D5E4DE;
  background: #fff;
  color: var(--navy);
}
.appt-slots .is-open { color: var(--ok); }
.appt-slots .is-full { background: #F1F3F5; color: var(--text-3); text-decoration: line-through; border-color: #E2E8F0; }

/* —— 自助机：终端大按钮面板 —— */
.ui-kiosk {
  background: #DDE3EA;
  border-color: #C5D0DB;
  color: var(--navy);
}
.ui-kiosk .ui-cap { color: var(--text-3); }
.ui-kiosk .ui-cap em { color: var(--navy-mid); border-color: rgba(11, 31, 58, 0.25); }
.kiosk-face {
  margin: 0 12px 14px;
  background: #F7F9FB;
  border: 1px solid #C5D0DB;
  border-radius: 8px;
  padding: 16px 14px 14px;
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 12px;
  box-shadow: inset 0 0 0 4px #EEF2F6;
}
.kiosk-hello { margin: 0; text-align: center; font-size: 13px; color: var(--text-3); letter-spacing: 0.08em; font-family: var(--font-mono); }
.kiosk-keys { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.kiosk-key {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 4px;
  min-height: 72px;
  border-radius: 8px;
  background: #fff;
  border: 1px solid #C5D0DB;
  font-size: 18px;
  font-weight: 700;
  color: var(--navy);
  box-shadow: 0 2px 0 #C5D0DB;
}
.kiosk-key em { font-style: normal; font-size: 11px; font-weight: 500; color: var(--text-3); font-family: var(--font-mono); }
.kiosk-key.is-on { background: var(--brand); color: #fff; border-color: var(--brand-deep); box-shadow: 0 2px 0 var(--brand-deep); }
.kiosk-key.is-on em { color: rgba(255,255,255,0.8); }
.kiosk-steps { list-style: none; margin: 0; padding: 0; display: flex; gap: 8px; justify-content: center; }
.kiosk-steps li {
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--text-3);
  padding: 2px 0;
}

.kiosk-steps li.is-on { color: var(--brand); font-weight: 700; }

/* —— 今久：线缆现场工作台（批次追溯 + 库位 + 自助机） —— */
.ui-cable {
  background: #EFEBE3;
  border-color: #D5CFC3;
  color: var(--navy);
}
.ui-cable .ui-cap { color: #6A6154; }
.ui-cable .ui-cap em { color: #6A6154; border-color: rgba(90, 78, 58, 0.28); }
.cable-work {
  display: grid;
  grid-template-columns: 1.25fr 0.9fr;
  gap: 10px;
  padding: 0 12px 12px;
  flex: 1;
  min-height: 0;
}
.cable-bench, .cable-locs, .cable-kiosk {
  background: #FBF8F2;
  border: 1px solid #D5CFC3;
  border-radius: 8px;
  padding: 12px;
}
.cable-bench { display: flex; flex-direction: column; gap: 10px; }
.cable-side { display: flex; flex-direction: column; gap: 10px; min-width: 0; }
.cable-kicker {
  margin: 0;
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.14em;
  color: #7A7164;
  font-weight: 600;
}
.cable-batch {
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 8px;
  align-items: center;
  padding: 10px 10px;
  background: #fff;
  border: 1px solid #D5CFC3;
  border-left: 3px solid #8A5A12;
  border-radius: 6px;
}
.cable-id { font-family: var(--font-mono); font-size: 11px; color: #7A7164; }
.cable-batch strong { font-size: 16px; letter-spacing: -0.02em; }
.cable-trace {
  margin: 0;
  display: grid;
  gap: 6px;
}
.cable-trace div {
  display: grid;
  grid-template-columns: 5.5em 1fr;
  gap: 8px;
  align-items: baseline;
  padding: 4px 0;
  border-bottom: 1px solid #E4DDD1;
}
.cable-trace div:last-child { border-bottom: 0; }
.cable-trace dt { margin: 0; font-size: 11px; color: #7A7164; font-family: var(--font-mono); letter-spacing: 0.06em; }
.cable-trace dd { margin: 0; font-size: 13px; font-weight: 600; }
.cable-scan {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 30px;
  padding: 0 12px;
  border-radius: 4px;
  background: var(--navy);
  color: #F4F7FB;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.08em;
  align-self: flex-start;
  position: relative;
  overflow: hidden;
}
.cable-locs ul { list-style: none; margin: 8px 0 0; padding: 0; display: grid; gap: 6px; }
.cable-locs li {
  display: flex;
  justify-content: space-between;
  gap: 8px;
  padding: 7px 8px;
  background: #fff;
  border: 1px solid #D5CFC3;
  border-radius: 4px;
  font-size: 12px;
}
.cable-locs b { font-family: var(--font-mono); font-weight: 700; }
.cable-locs .is-out { border-left: 3px solid var(--brand); }
.cable-locs .is-mid { border-left: 3px solid var(--amber); }
.cable-locs .is-in { border-left: 3px solid var(--ok); }
.cable-keys { display: grid; grid-template-columns: repeat(3, 1fr); gap: 6px; margin-top: 8px; }
.cable-keys span {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 36px;
  background: #fff;
  border: 1px solid #D5CFC3;
  border-radius: 4px;
  font-size: 12px;
  font-weight: 700;
  color: var(--navy);
}
.cable-keys span.is-on { background: var(--navy); color: #fff; border-color: var(--navy); }
.ui-cable.is-sm .cable-trace div:last-child { display: none; }
.ui-cable.is-sm .cable-work { grid-template-columns: 1fr; }
.page-hero .ui-cable { min-height: 340px; box-shadow: var(--shadow-lg); }

/* —— 人和：配车单 + 开票，明确不是门岗路径 —— */
.ui-dispatch {
  background: #E2EAF3;
  border-color: #C5D3E2;
  color: var(--navy);
}
.ui-dispatch .ui-cap { color: #5A6B7C; }
.ui-dispatch .ui-cap em { color: #5A6B7C; border-color: rgba(11, 31, 58, 0.25); }
.disp-board {
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  gap: 10px;
  padding: 0 12px 12px;
  flex: 1;
  min-height: 0;
}
.disp-ticket {
  background: #F7FAFC;
  border: 1px solid #C5D3E2;
  border-radius: 8px;
  padding: 12px 12px 10px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  box-shadow: inset 0 1px 0 #fff;
}
.disp-ticket header {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  padding-bottom: 8px;
  border-bottom: 1px dashed #C5D3E2;
}
.disp-ticket header span {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.14em;
  color: #5A6B7C;
  font-weight: 600;
}
.disp-ticket header strong {
  font-family: var(--font-display);
  font-size: 22px;
  letter-spacing: -0.03em;
}
.disp-ticket ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 6px; }
.disp-ticket li {
  display: grid;
  grid-template-columns: 3.2em 1fr;
  gap: 10px;
  align-items: baseline;
  font-size: 13px;
}
.disp-ticket li span { color: #5A6B7C; font-size: 11px; font-family: var(--font-mono); }
.disp-ticket li b { font-weight: 650; }
.disp-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.disp-list li {
  display: grid;
  grid-template-columns: auto 1fr auto auto;
  gap: 8px;
  align-items: center;
  padding: 8px 10px;
  background: #F7FAFC;
  border: 1px solid #C5D3E2;
  border-radius: 6px;
  font-size: 12px;
  white-space: nowrap;
}
.disp-list li.is-on {
  background: #fff;
  border-color: var(--brand);
  box-shadow: 0 0 0 1px rgba(0, 80, 180, 0.16);
}
.disp-id { font-family: var(--font-mono); font-weight: 700; color: var(--navy); }
.ui-dispatch.is-sm .disp-board { grid-template-columns: 1fr; }
.ui-dispatch.is-sm .disp-list li:last-child { display: none; }
.page-hero .ui-dispatch { min-height: 340px; box-shadow: var(--shadow-lg); }

/* —— 表单 —— */
.form-layout {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 48px;
  align-items: start;
}
.form-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 32px;
}
.field { margin-bottom: 16px; }
.field label {
  display: block;
  margin-bottom: 6px;
  font-size: 13px;
  font-weight: 600;
  color: var(--navy);
}
.field .req { color: var(--brand); margin-left: 2px; }
.field input,
.field select,
.field textarea {
  width: 100%;
  border: 1px solid var(--line-strong);
  border-radius: 6px;
  padding: 10px 12px;
  background: #fff;
  color: var(--text);
}
.field textarea { min-height: 120px; resize: vertical; }
.field input:focus,
.field select:focus,
.field textarea:focus {
  border-color: var(--brand);
  box-shadow: 0 0 0 3px rgba(0, 80, 180, 0.12);
}
.form-ok {
  display: none;
  margin-top: 16px;
  padding: 14px 16px;
  background: var(--brand-soft);
  color: var(--navy);
  border-radius: 6px;
  border-left: 2px solid var(--brand);
  font-weight: 600;
}
.form-ok.is-show { display: block; }

/* —— 智能体接待面板 —— */
.agent-launch {
  position: fixed;
  right: 28px;
  bottom: 28px;
  z-index: 90;
  width: 56px;
  height: 56px;
  padding: 0;
  border: 1px solid rgba(139, 184, 232, 0.28);
  border-radius: 50%;
  background: #fff;
  color: var(--navy);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  overflow: visible;
  box-shadow: 0 10px 28px rgba(11, 31, 58, 0.2), inset 0 1px 0 rgba(255, 255, 255, 0.8);
  transition: transform 0.25s ease, box-shadow 0.25s ease, opacity 0.25s ease, border-color 0.25s ease, background 0.25s ease, color 0.25s ease;
}
.agent-launch:hover {
  transform: translateY(-2px);
  border-color: rgba(0, 80, 180, 0.45);
  box-shadow: 0 14px 32px rgba(11, 31, 58, 0.26), 0 0 0 4px rgba(0, 80, 180, 0.1);
}
.agent-launch .agent-logo {
  width: 28px;
  height: 28px;
  padding: 0;
  box-sizing: border-box;
  background: transparent;
  border-radius: 0;
  object-fit: contain;
}
.agent-launch-glow {
  position: absolute;
  inset: -2px;
  border-radius: 50%;
  pointer-events: none;
  z-index: 0;
}
.agent-launch-face {
  position: relative;
  z-index: 1;
  width: 36px;
  height: 36px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
.agent-launch .agent-mark {
  width: 36px;
  height: 36px;
  display: block;
  color: currentColor;
  overflow: visible;
}
.agent-brand-mark {
  width: 48px;
  height: 48px;
  padding: 0;
  box-sizing: border-box;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  color: var(--navy);
  background: rgba(11, 31, 58, 0.06);
  border: 1px solid rgba(11, 31, 58, 0.16);
  border-radius: 12px;
}
.agent-brand-mark .agent-mark {
  width: 34px;
  height: 34px;
  display: block;
  color: currentColor;
  overflow: visible;
}

/* 智能体标识：面罩扫光、天线呼吸、光环缓转；截图与减少动效时静止 */
.agent-mark {
  --agent-scan: #0050B4;
}
.bot-halo {
  fill: none;
  stroke: currentColor;
  stroke-width: 1.3;
  opacity: 0.42;
  stroke-dasharray: 18 8;
  transform-origin: 32px 33.2px;
  transform-box: view-box;
  animation: bot-halo-spin 9s linear infinite;
}
.bot-tip {
  transform-origin: center;
  transform-box: fill-box;
  animation: bot-tip-pulse 2.2s ease-in-out infinite;
}
.bot-scan {
  fill: var(--agent-scan);
  animation: bot-scan-sweep 2.6s ease-in-out infinite;
}
.agent-launch::after {
  content: "";
  position: absolute;
  inset: -3px;
  border-radius: 50%;
  border: 1px solid currentColor;
  opacity: 0;
  pointer-events: none;
  animation: bot-ring-pulse 3s ease-out infinite;
}
@keyframes bot-halo-spin {
  to { transform: rotate(360deg); }
}
@keyframes bot-tip-pulse {
  0%, 100% { opacity: 0.45; }
  50% { opacity: 1; }
}
@keyframes bot-scan-sweep {
  0%, 8% { transform: translateX(-2px); opacity: 0; }
  18% { opacity: 1; }
  58% { transform: translateX(16px); opacity: 1; }
  72%, 100% { transform: translateX(22px); opacity: 0; }
}
@keyframes bot-ring-pulse {
  0% { opacity: 0.4; transform: scale(0.92); }
  70% { opacity: 0; transform: scale(1.16); }
  100% { opacity: 0; transform: scale(1.16); }
}
@media (prefers-reduced-motion: reduce) {
  .bot-halo, .bot-tip, .bot-scan, .agent-launch::after { animation: none; }
  .bot-scan { opacity: 1; transform: translateX(7px); }
  .bot-tip { opacity: 1; }
  .agent-launch::after { opacity: 0; }
}
html.is-shot .bot-halo,
html.is-shot .bot-tip,
html.is-shot .bot-scan,
html.is-shot .agent-launch::after {
  animation: none;
}
html.is-shot .bot-scan { opacity: 1; transform: translateX(7px); }
html.is-shot .bot-tip { opacity: 1; }
html.is-shot .agent-launch::after { opacity: 0; }

svg.msg-avatar {
  width: 28px;
  height: 28px;
  padding: 0;
  box-sizing: border-box;
  background: transparent;
  border-radius: 0;
  color: var(--navy);
  flex-shrink: 0;
  display: block;
}

body.agent-open .agent-launch {
  opacity: 0;
  pointer-events: none;
  transform: translateY(8px);
}

.agent-panel {
  position: fixed;
  top: calc(var(--rail-h) + var(--header-h) + 12px);
  right: 20px;
  bottom: 20px;
  width: min(460px, calc(100vw - 32px));
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 10px;
  box-shadow: 0 24px 56px rgba(11, 31, 58, 0.18);
  z-index: 100;
  display: flex;
  flex-direction: column;
  transform: translateX(24px);
  opacity: 0;
  visibility: hidden;
  transition: transform 0.26s ease, opacity 0.26s ease, visibility 0.26s;
  overflow: hidden;
}
.agent-panel::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: var(--brand);
  z-index: 2;
  pointer-events: none;
}
.agent-panel.is-open {
  transform: none;
  opacity: 1;
  visibility: visible;
}
.agent-head {
  position: relative;
  padding: 18px 16px 16px 16px;
  border-bottom: 1px solid var(--line);
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
  background: #fff;
  color: var(--navy);
  overflow: hidden;
  flex-shrink: 0;
}
.agent-head-atmosphere {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 0;
}
.agent-brand,
.agent-close {
  position: relative;
  z-index: 1;
}
.agent-brand {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  min-width: 0;
}
.agent-brand-copy {
  min-width: 0;
  padding-top: 1px;
}
.agent-brand .agent-logo {
  width: 40px;
  height: 40px;
  padding: 6px;
  box-sizing: border-box;
  background: var(--brand-soft);
  border-radius: 6px;
  object-fit: contain;
  flex-shrink: 0;
}
.agent-kicker {
  margin: 0 0 5px;
  font-size: 10px;
  letter-spacing: 0.2em;
  font-weight: 500;
  color: var(--brand);
  line-height: 1;
}
.agent-kicker::before { content: "智能接待"; }
.agent-head h2 {
  margin: 0;
  font-size: 17px;
  color: var(--navy);
  letter-spacing: 0.02em;
  font-weight: 650;
  line-height: 1.25;
}
.agent-head p,
.agent-status {
  margin: 6px 0 0;
  font-size: 11px;
  color: var(--text-3);
  letter-spacing: 0.06em;
  font-family: var(--font);
  display: flex;
  align-items: center;
  gap: 6px;
  line-height: 1.4;
}
.agent-status-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #2F9E5E;
  box-shadow: 0 0 0 3px rgba(47, 158, 94, 0.16);
  flex-shrink: 0;
}
@media (prefers-reduced-motion: no-preference) {
  .agent-status-dot {
    animation: agent-dot-pulse 2.4s ease-in-out infinite;
  }
}
@keyframes agent-dot-pulse {
  0%, 100% { box-shadow: 0 0 0 3px rgba(47, 158, 94, 0.16); opacity: 1; }
  50% { box-shadow: 0 0 0 5px rgba(47, 158, 94, 0.08); opacity: 0.85; }
}
.agent-close {
  width: 32px;
  height: 32px;
  border: 0;
  background: var(--mist);
  color: var(--navy);
  border-radius: 8px;
  font-size: 18px;
  line-height: 1;
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0;
}
.agent-close svg {
  width: 14px;
  height: 14px;
  display: block;
}
.agent-close:hover { background: var(--paper-2); }
.agent-suggest {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  padding: 14px 16px;
  border-bottom: 1px solid var(--line);
  background: var(--paper);
  counter-reset: ay-q;
  flex-shrink: 0;
}
.agent-suggest button {
  height: 32px;
  padding: 0 12px;
  border-radius: 8px;
  border: 1px solid var(--line);
  background: #fff;
  color: var(--navy);
  font-size: 13px;
  font-weight: 500;
}
.agent-suggest button:hover { border-color: var(--brand); color: var(--brand); }
.agent-log {
  flex: 1;
  overflow: auto;
  padding: 18px 16px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  background: #fff;
}
.msg-row {
  display: flex;
  align-items: flex-end;
  gap: 10px;
  max-width: 100%;
  animation: msg-in 0.24s ease both;
}
.msg-row.is-user {
  flex-direction: row-reverse;
  align-self: flex-end;
}
.msg-avatar {
  width: 28px;
  height: 28px;
  padding: 4px;
  box-sizing: border-box;
  background: var(--brand-soft);
  border-radius: 6px;
  object-fit: contain;
  flex-shrink: 0;
}
.msg {
  max-width: 86%;
  padding: 10px 12px;
  border-radius: 10px;
  font-size: 14px;
  line-height: 1.7;
}
.msg p { margin: 0 0 8px; }
.msg p:last-child { margin-bottom: 0; }
.msg-bot {
  background: var(--paper);
  color: var(--text);
  border: 1px solid var(--line);
  border-bottom-left-radius: 4px;
}
.msg-user {
  background: var(--navy);
  color: #F4F7FB;
  border-bottom-right-radius: 4px;
}
.msg-links { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 8px; }
.msg-links a, .msg-links .as-btn {
  display: inline-flex;
  align-items: center;
  height: 28px;
  padding: 0 10px;
  border-radius: 6px;
  background: #fff;
  border: 1px solid var(--line);
  color: var(--navy);
  font-size: 12px;
  font-weight: 600;
}
.msg-links a:hover { border-color: var(--brand); color: var(--brand); }
.msg-user + .msg-links a { background: #fff; }

.typing {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  min-height: 36px;
  padding: 10px 14px;
}
.typing span {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--navy-soft);
  opacity: 0.35;
  animation: typing-dot 1s ease-in-out infinite;
}
.typing span:nth-child(2) { animation-delay: 0.15s; }
.typing span:nth-child(3) { animation-delay: 0.3s; }
@keyframes typing-dot {
  0%, 80%, 100% { opacity: 0.3; transform: translateY(0); }
  40% { opacity: 1; transform: translateY(-2px); }
}
@keyframes msg-in {
  from { opacity: 0; transform: translateY(6px); }
  to { opacity: 1; transform: none; }
}

.agent-input {
  display: flex;
  gap: 8px;
  padding: 12px 14px 14px;
  border-top: 1px solid var(--line);
  background: #fff;
  flex-shrink: 0;
  align-items: center;
}
.agent-input input {
  flex: 1;
  border: 1px solid var(--line-strong);
  border-radius: 8px;
  padding: 8px 14px;
}
.agent-input input:focus {
  border-color: var(--brand);
  box-shadow: 0 0 0 3px rgba(0, 80, 180, 0.12);
  outline: none;
}
.agent-input button,
.agent-send {
  height: 40px;
  padding: 0 16px;
  background: var(--brand);
  color: #fff;
  border: 0;
  border-radius: 8px;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
}
.agent-send-icon {
  width: 14px;
  height: 14px;
  display: block;
}
.agent-input button:hover,
.agent-send:hover { background: var(--brand-deep); }

body.agent-open { overflow: hidden; }



/* —— 内页房间：按场景换底，允许标题与示意并置 —— */
.page-hero.is-plant {
  background: linear-gradient(180deg, #D5DEE8 0%, #E6EBF1 100%);
  color: var(--navy);
  padding: 40px 0 36px;
}
.page-hero.is-plant::before {
  background-image:
    linear-gradient(rgba(11, 31, 58, 0.06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(11, 31, 58, 0.06) 1px, transparent 1px);
  mask-image: none;
  opacity: 0.7;
}
.page-hero.is-clinic {
  background: linear-gradient(180deg, #DCEBE6 0%, #EAF3F0 100%);
  padding: 40px 0 36px;
}
.page-hero.is-clinic::before { opacity: 0; }
.page-hero.is-clinic h1 { color: var(--mint-ink); }
.page-hero.is-navy {
  background:
    radial-gradient(ellipse 70% 55% at 82% 0%, rgba(0, 80, 180, 0.34), transparent 58%),
    radial-gradient(ellipse 50% 70% at 0% 100%, rgba(0, 80, 180, 0.18), transparent 60%),
    linear-gradient(180deg, #0B1F3A 0%, #071422 100%);
  color: #E8EEF5;
  padding: 48px 0 40px;
}
.page-hero.is-navy::before { opacity: 0; }
.page-hero.is-navy h1 { color: #F4F7FB; }
.page-hero.is-navy .lead { color: #B7C2D0; }
.page-hero.is-navy .crumbs,
.page-hero.is-navy .crumbs a { color: #8A93A0; }
.page-hero.is-navy .crumbs a:hover { color: #E8EEF5; }
.page-hero.is-files {
  background: linear-gradient(180deg, #EEE8DC 0%, var(--cream) 100%);
  padding: 40px 0 36px;
}
.page-hero.is-files::before { opacity: 0; }
.page-hero.is-cable {
  background: linear-gradient(180deg, #E6E2D8 0%, #F3F0EA 100%);
  padding: 40px 0 36px;
}
.page-hero.is-cable::before { opacity: 0; }
.page-hero.is-dispatch {
  background: linear-gradient(180deg, #D9E3EE 0%, #EAF0F6 100%);
  padding: 40px 0 36px;
}
.page-hero.is-dispatch::before { opacity: 0; }
.page-hero-split {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr);
  gap: 32px 48px;
  align-items: center;
}
.page-hero-split h1 { max-width: none; font-size: clamp(32px, 4.2vw, 56px); }
.page-hero-split .ui { min-height: 320px; box-shadow: var(--shadow-lg); }
.page-hero.is-navy .ui-gate,
.page-hero.is-navy .ui-ops { box-shadow: 0 18px 40px rgba(0, 0, 0, 0.35); }
.page-hero + .section { padding-top: 48px; }

/* —— 示意加密与运转 —— */
.mes-col header {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
}
.mes-col header span {
  font-weight: 500;
  letter-spacing: 0;
  color: var(--text-3);
}
.mes-card.is-run { border-left-color: var(--brand); }
.mes-card.is-wait { border-left-color: var(--amber); background: #FFFBF3; }
.mes-card.is-ok { border-left-color: var(--ok); }
.hero-board .mes-board,
.biz-room.is-plant .mes-board,
.product-canvas .mes-board,
.page-hero .mes-board { align-items: stretch; }
.hero-board .mes-col { min-height: 200px; }

/* 仓库：巷道更完整 */
.wh-plan { padding: 8px 12px 14px; display: grid; gap: 6px; flex: 1; }
.wh-dock {
  display: grid;
  grid-template-columns: 36px 1fr 1fr;
  gap: 8px;
  align-items: center;
  margin-bottom: 4px;
}
.wh-bay {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.04em;
  padding: 6px 8px;
  border-radius: 3px;
  background: rgba(11, 31, 58, 0.08);
  color: var(--navy);
  text-align: center;
}
.wh-bay.is-in { background: var(--brand); color: #fff; }
.bento-cell.is-wh .wh-bay { background: rgba(255,255,255,0.08); color: #D7DEE8; }
.bento-cell.is-wh .wh-bay.is-in { background: var(--brand); color: #fff; }
.bento-cell.is-wh .wh-lab,
.bento-cell.is-wh .wh-lane span { color: #A8B4C4; background: transparent; }
.bento-cell.is-wh .wh-lane {
  background:
    repeating-linear-gradient(90deg, transparent, transparent 10px, rgba(255,255,255,0.12) 10px, rgba(255,255,255,0.12) 16px),
    rgba(7, 20, 34, 0.25);
  border-color: rgba(148,163,184,0.25);
}
.bento-cell.is-wh .wh-bin.is-empty {
  background: repeating-linear-gradient(-45deg, rgba(255,255,255,0.04), rgba(255,255,255,0.04) 4px, rgba(255,255,255,0.1) 4px, rgba(255,255,255,0.1) 8px);
  color: #A8B4C4;
  border-color: rgba(148,163,184,0.3);
}
.wh-rack { display: grid; grid-template-columns: repeat(7, 1fr); gap: 5px; }
.wh-lane { position: relative; overflow: hidden; }
.wh-mover {
  position: absolute;
  top: 3px;
  left: 0;
  width: 22px;
  height: 10px;
  border-radius: 2px;
  background: var(--brand);
  opacity: 0.85;
}
.ui-wh.is-sm .wh-aisle.is-c,
.hero-float .wh-aisle.is-c { display: none; }
.ui-wh.is-sm .wh-rack,
.hero-float .wh-rack { grid-template-columns: repeat(6, 1fr); }
.ui-wh.is-sm .wh-bin:nth-child(n+7),
.hero-float .wh-bin:nth-child(n+7) { display: none; }

/* 候诊：等候名单更满 */
.q-now { position: relative; }
.q-pulse {
  display: inline-block;
  margin-top: 8px;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.12em;
  color: var(--mint-ink);
  padding: 2px 8px;
  border: 1px solid rgba(31, 95, 107, 0.3);
  border-radius: 999px;
}
.q-wait { padding: 10px 12px; gap: 0; justify-content: flex-start; }
.q-wait li {
  display: grid;
  grid-template-columns: 28px 1fr auto;
  align-items: center;
  padding: 7px 4px;
  border-bottom: 1px solid #D5E6E0;
  font-size: 14px;
}
.q-wait li:last-child { border-bottom: 0; }
.q-wait .is-next { background: rgba(255,255,255,0.7); }
.q-wait em { font-style: normal; font-family: var(--font-mono); font-size: 10px; letter-spacing: 0.08em; color: var(--mint-ink); }

/* 图纸预览不再留空 */
.files-preview {
  margin: 8px 10px 10px 4px;
  background: #fff;
  border: 1px solid #E4DDD0;
  border-radius: 4px;
  display: flex;
  flex-direction: column;
  align-items: stretch;
  justify-content: flex-start;
  gap: 4px;
  padding: 8px 8px 6px;
  box-shadow: 2px 3px 0 rgba(106, 97, 84, 0.08);
  min-height: 160px;
}
.drawing { width: 100%; max-width: none; height: auto; color: var(--navy-mid); display: block; }
.files-preview span { font-family: var(--font-mono); font-size: 10px; color: #6A6154; padding: 0 2px 2px; }
.ui-files.is-sm .files-tree li:nth-child(n+5) { display: flex; }
.mag-luo .files-preview { display: flex; }
.mag-luo .files-split { grid-template-columns: 1fr; }
.bento-cell.is-storage .files-split { grid-template-columns: 1fr; }

/* 运维小格也保留柱状，避免空 */
.ui-ops.is-sm .ops-alerts li:last-child,
.ui-ops.is-sm .ops-bars { display: flex; }
.ui-ops.is-sm .ops-alerts { display: none; }
.ops-bars i { transform-origin: bottom; }

/* 车辆路径行进点 */
.ui-gate, .page-hero-split .ui { overflow: hidden; }
.gate-path { position: relative; overflow: hidden; }
.gate-mover {
  position: absolute;
  top: 22px;
  left: 12%;
  width: 10px;
  height: 10px;
  margin: 0;
  padding: 0;
  border-radius: 50%;
  background: #F4F7FB;
  box-shadow: 0 0 0 3px var(--brand);
  z-index: 2;
  list-style: none;
  pointer-events: none;
}
.gate-trips li { grid-template-columns: 72px 1fr auto; }

/* —— 生命感：慢、可循环、可关 —— */
@keyframes pulse-border {
  0%, 100% { box-shadow: 0 1px 2px rgba(11, 31, 58, 0.06); }
  50% { box-shadow: 0 0 0 1px rgba(0, 80, 180, 0.25), 0 1px 2px rgba(11, 31, 58, 0.06); }
}
@keyframes lane-move {
  0% { left: 8%; opacity: 0; }
  8% { opacity: 1; }
  92% { opacity: 1; }
  100% { left: 82%; opacity: 0; }
}
@keyframes gate-run {
  0% { left: 16%; }
  45% { left: 38%; }
  70% { left: 60%; }
  100% { left: 72%; }
}
@keyframes bar-wave {
  0%, 100% { transform: scaleY(1); }
  50% { transform: scaleY(0.72); }
}
@keyframes q-soft {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.55; }
}
@keyframes bin-fill {
  0%, 40% { filter: none; }
  50%, 90% { filter: brightness(1.15); }
}
@keyframes card-in {
  from { opacity: 0; transform: translateY(8px); }
  to { opacity: 1; transform: none; }
}
@keyframes card-out {
  to { opacity: 0; transform: translateY(-6px); }
}

@media (prefers-reduced-motion: no-preference) {
  .is-live .mes-card.is-run { animation: pulse-border 3.6s ease-in-out infinite; }
  .is-live .wh-mover { animation: lane-move 7.5s linear infinite; }
  .is-live .wh-bin.is-empty:nth-child(3) { animation: bin-fill 8s ease-in-out infinite; }
  .is-live .gate-mover { animation: gate-run 11s ease-in-out infinite; }
  .is-live .ops-bars i { animation: bar-wave 4.4s ease-in-out infinite; }
  .is-live .ops-bars i:nth-child(2) { animation-delay: 0.3s; }
  .is-live .ops-bars i:nth-child(3) { animation-delay: 0.6s; }
  .is-live .ops-bars i:nth-child(4) { animation-delay: 0.15s; }
  .is-live .ops-bars i:nth-child(5) { animation-delay: 0.8s; }
  .is-live .ops-bars i:nth-child(6) { animation-delay: 0.45s; }
  .is-live .ops-matrix i.warn { animation: breath 2.4s ease-in-out infinite; }
  .is-live .q-pulse { animation: q-soft 2.8s ease-in-out infinite; }
  .is-live .path-step.is-now .path-node { animation: breath 2.8s ease-in-out infinite; }
  .mes-card.is-enter { animation: card-in 0.6s ease both; }
  .mes-card.is-leave { animation: card-out 0.5s ease both; }
}

/* —— 动效：短、缓、一次；示意运转见上；入场仍克制 —— */
.rise { animation: rise 0.9s ease both; }
.rise-2 { animation-delay: 0.1s; }
.rise-3 { animation-delay: 0.2s; }
.rise-4 { animation-delay: 0.3s; }
@keyframes rise {
  from { opacity: 0; transform: translateY(22px); }
  to { opacity: 1; transform: none; }
}
@keyframes breath {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.72; }
}
.reveal { opacity: 1; }
@media (prefers-reduced-motion: no-preference) {
  .reveal.is-in { animation: rise-soft 0.8s ease both; }
  .hero-sweep { animation: light-sweep 11s ease-in-out 0.9s infinite; }
  .ui-cable.is-live .cable-scan::after {
    content: "";
    position: absolute;
    inset: 0 auto 0 -40%;
    width: 36%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.45), transparent);
    animation: scan-line 3.6s ease-in-out infinite;
  }
  .ui-cable.is-live .cable-batch { animation: pulse-border 3.8s ease-in-out infinite; }
  .ui-dispatch.is-live .disp-list li.is-on { animation: pulse-border 3.6s ease-in-out infinite; }
}
@keyframes rise-soft {
  from { opacity: 0.2; transform: translateY(16px); }
  to { opacity: 1; transform: none; }
}
@keyframes light-sweep {
  0% { transform: translateX(0) skewX(-18deg); opacity: 0; }
  10% { opacity: 1; }
  28% { opacity: 0; }
  100% { transform: translateX(620%) skewX(-18deg); opacity: 0; }
}
@keyframes scan-line {
  0% { transform: translateX(0); opacity: 0; }
  18% { opacity: 1; }
  42% { transform: translateX(420%); opacity: 0; }
  100% { transform: translateX(420%); opacity: 0; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .reveal, .rise { opacity: 1; transform: none; }
  body.agent-open .agent-launch { opacity: 0; }
}

/* —— 移动端抽屉默认隐藏 —— */
.mobile-drawer { display: none; }

/* —— 响应式 —— */
@media (max-width: 1100px) {
  .hero-shell,
  .hero-split,
  .biz-room .wrap,
  .biz-room.is-clinic .wrap,
  .page-hero-split,
  .who-grid,
  .form-layout,
  .product-canvas,
  .detail-split,
  .scene,
  .about-layout,
  .story-layout,
  .cta-inner,
  .section-head.is-wide,
  .biz-band .wrap,
  .proof-strip {
    grid-template-columns: 1fr;
  }
  .hero-cover h1, .hero h1 { font-size: 52px; }
  .hero-shell { min-height: 0; }
  .hero-cover { padding: 40px 32px 36px; }
  .hero-stage { margin-right: 0; min-height: 420px; padding: 20px; }
  .hero-board .ui-mes { min-height: 380px; }
  .hero-float { position: static; width: 72%; margin: -36px 0 0 auto; }
  .biz-room .wrap, .biz-room.is-clinic .wrap { grid-template-columns: 1fr; }
  .biz-room.is-clinic .biz-copy, .biz-room.is-clinic .biz-visual { order: unset; }
  .bento-cell.is-mes,
  .bento-cell.is-wh,
  .bento-cell.is-spd,
  .bento-cell.is-queue,
  .bento-cell.is-storage,
  .bento-cell.is-itsm,
  .bento-cell.is-ops,
  .bento-cell.is-ehr { grid-column: 1 / -1; }
  .bento-cell.is-mes,
  .bento-cell.is-spd,
  .bento-cell.is-queue,
  .bento-cell.is-ehr { grid-template-columns: 1fr; }
  .mag-feature, .mag-side, .mag-dong, .mag-hosp, .mag-luo, .mag-graf, .mag-jinjiu, .mag-renhe { grid-column: 1 / -1; }
  .mag-feature, .mag-hosp, .mag-luo, .mag-jinjiu, .mag-renhe { grid-template-columns: 1fr !important; }
  .sol-entries, .case-pair, .case-quad, .cap-bento, .cap-bento.is-quad { grid-template-columns: 1fr; }
  .cap-bento.is-quad .cap:first-child, .sol-entry.is-lead { grid-row: auto; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .path { grid-template-columns: repeat(3, 1fr); gap: 28px 16px; }
  .path::before { display: none; }
  .path-node { box-shadow: none; }
  .proof-label { border: 0; padding: 0; }
  .proof-facts li:first-child { margin-left: 0; }
  .proof-facts li { border-left: 0; padding: 0 20px 0 0; }
  .scene-side { border-left: 0; padding-left: 0; border-top: 1px solid var(--line); padding-top: 20px; }
}

@media (max-width: 880px) {
  .site-nav, .header-phone { display: none; }
  .nav-toggle { display: inline-block; }
  .header-inner { padding: 0 16px; }
  .wrap { padding: 0 20px; }
  .section { padding: 64px 0; }
  .hero { padding: 0; }
  .hero-cover { padding: 28px 20px 24px; }
  .hero-cover h1, .hero h1 { font-size: 36px; margin-bottom: 16px; }
  .hero-stage { min-height: 0; }
  .page-hero h1 { font-size: 32px; }
  .q-num { font-size: 64px; }
  .q-screen, .files-split { grid-template-columns: 1fr; }
  .q-wait { border-left: 0; border-top: 1px solid #D5E6E0; padding: 8px 12px; }
  .agent-launch { right: 16px; bottom: 16px; }
  .agent-panel {
    top: auto;
    left: 8px;
    right: 8px;
    bottom: 8px;
    width: auto;
    height: min(86vh, 720px);
  }
  .mobile-drawer {
    display: block;
    position: fixed;
    inset: calc(var(--rail-h) + var(--header-h)) 0 0 0;
    background: #F8FAFC;
    z-index: 70;
    padding: 16px 20px 40px;
    overflow: auto;
    transform: translateY(-8px);
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.2s ease, transform 0.2s ease, visibility 0.2s;
  }
  .mobile-drawer.is-open { opacity: 1; visibility: visible; transform: none; }
  .mobile-drawer a, .mobile-drawer p {
    display: block;
    padding: 10px 0;
    border-bottom: 1px solid var(--line);
    color: var(--navy);
  }
  .mobile-drawer .group { margin: 16px 0 6px; font-size: 12px; color: var(--text-3); letter-spacing: 0.1em; border: 0; padding: 0; }
  .path { grid-template-columns: 1fr; }
  .path-step {
    display: grid;
    grid-template-columns: 36px 1fr;
    gap: 0 16px;
    text-align: left;
    padding: 0 0 24px;
    position: relative;
  }
  .path::before {
    display: block;
    left: 17px;
    right: auto;
    top: 8px;
    bottom: 8px;
    width: 2px;
    height: auto;
    background: var(--line-strong);
  }
  .path-node { margin: 0; box-shadow: 0 0 0 6px #F3F6FA; }
  .path-step h3, .path-step p { grid-column: 2; text-align: left; }
  .path-node { grid-row: 1 / 3; }
  .ehr-strip { grid-template-columns: 1fr 1fr; }
  .facts { grid-template-columns: 1fr 1fr; }
  .directory-row { grid-template-columns: 1fr; gap: 6px; }
  .directory-row dd { font-size: 18px; }
  .ops-kpis { grid-template-columns: 1fr 1fr; }
  .wh-rack { grid-template-columns: repeat(6, 1fr); }
}

@media (max-width: 640px) {
  .footer-grid { grid-template-columns: 1fr; }
  .facts { grid-template-columns: 1fr; }
  .hero-float { width: 100%; }
  .cta-inner { grid-template-columns: 1fr; }
  .mes-board { grid-template-columns: 1fr; }
  .ehr-strip, .spd-cabinet, .appt-slots, .kiosk-keys, .cable-work, .disp-board { grid-template-columns: 1fr; }
  .cable-keys { grid-template-columns: repeat(3, 1fr); }
  .itsm-list li { grid-template-columns: 1fr auto; }
  .itsm-id { grid-column: 1 / -1; }
}

/* 内页把通栏型示意（eHR）收成一张浅卡，避免在分栏里显得空 */
.detail-split .ui-ehr,
.product-canvas .ui-ehr,
.story-layout .ui-ehr {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 12px 14px 14px;
}
.product-canvas .ui,
.detail-split .ui,
.story-layout .ui {
  box-shadow: var(--shadow);
}
.product-canvas .ui-ops,
.detail-split .ui-ops,
.story-layout .ui-ops,
.product-canvas .ui-gate,
.detail-split .ui-gate,
.story-layout .ui-gate {
  box-shadow: 0 16px 36px rgba(7, 20, 34, 0.28);
}
