/* NNN 对应技术特征 S1 至 S7：深色科技风全局布局、数据大屏组件与图纸展陈样式 MMM */

/* NNN 顶部主导航与二级状态条 MMM */
.app-shell { display: block; min-height: 100vh; }

.app-header {
  position: sticky; top: 0; z-index: 30;
  display: flex; align-items: center; gap: var(--space-6);
  height: 62px; padding: 0 var(--space-6);
  background: rgba(5, 13, 25, 0.88);
  border-bottom: 1px solid var(--cyan-line);
  backdrop-filter: blur(18px);
  box-shadow: 0 6px 28px rgba(0, 0, 0, 0.4), inset 0 -1px 0 rgba(34, 211, 238, 0.08);
}

.brand { display: flex; align-items: center; gap: 11px; flex: 0 0 auto; }
.brand-mark {
  width: 36px; height: 36px; flex: 0 0 36px; border-radius: 9px;
  display: grid; place-items: center;
  font-size: 13px; font-weight: 800; letter-spacing: 0.5px; color: #04202b;
  background: linear-gradient(135deg, #67e8f9, #06b6d4);
  box-shadow: 0 0 18px rgba(34, 211, 238, 0.45);
}
.brand-text strong { display: block; font-size: 15px; font-weight: 650; letter-spacing: 0.4px; color: #f2f8ff; line-height: 1.3; }
.brand-text small { display: block; font-size: 9px; letter-spacing: 2.1px; color: var(--cyan); margin-top: 2px; }

.nav { display: flex; align-items: center; gap: 4px; flex: 1 1 auto; min-width: 0; flex-wrap: wrap; }
.nav::-webkit-scrollbar { display: none; }
.nav-label { display: none; }
.nav-item {
  flex: 0 0 auto; padding: 8px 13px; border-radius: 8px;
  font-size: 13px; color: var(--text-2); white-space: nowrap;
  border: 1px solid transparent; transition: all 0.18s ease;
}
.nav-item:hover { color: var(--cyan-bright); background: var(--cyan-soft); }
.nav-item.active {
  color: #d8fbff; font-weight: 600;
  background: linear-gradient(180deg, rgba(6, 182, 212, 0.26), rgba(6, 182, 212, 0.1));
  border-color: var(--border-strong);
  box-shadow: inset 0 0 14px rgba(34, 211, 238, 0.12), 0 0 12px rgba(34, 211, 238, 0.1);
}

.header-tools { display: flex; align-items: center; gap: var(--space-4); flex: 0 0 auto; }
.live-pill {
  display: inline-flex; align-items: center; gap: 7px;
  padding: 5px 12px; border-radius: var(--radius-pill);
  font-size: 12px; color: var(--green);
  background: rgba(52, 211, 153, 0.09); border: 1px solid rgba(52, 211, 153, 0.32);
}
.lamp { display: inline-block; width: 7px; height: 7px; border-radius: 50%; }
.lamp-green { background: var(--green); box-shadow: 0 0 8px var(--green); animation: lampPulse 2.4s infinite; }
.lamp-cyan { background: var(--cyan); box-shadow: 0 0 8px var(--cyan); }
.lamp-amber { background: var(--amber); box-shadow: 0 0 8px var(--amber); }
.lamp-rose { background: var(--rose); box-shadow: 0 0 8px var(--rose); }
.stamp { font-family: var(--font-num); font-size: 12px; color: var(--text-3); font-variant-numeric: tabular-nums; white-space: nowrap; }
.avatar {
  width: 30px; height: 30px; border-radius: 8px; display: grid; place-items: center;
  font-size: 11px; font-weight: 700; color: var(--cyan-bright);
  background: rgba(34, 211, 238, 0.12); border: 1px solid var(--cyan-line);
}

.subbar {
  display: flex; align-items: center; justify-content: space-between; gap: var(--space-4);
  height: 44px; padding: 0 var(--space-6);
  background: rgba(7, 18, 33, 0.62); border-bottom: 1px solid var(--border-soft);
}
.crumb { font-size: 12px; color: var(--text-3); letter-spacing: 0.3px; }
.crumb strong { color: var(--text); font-weight: 600; }
.crumb-sep { color: var(--text-4); margin: 0 6px; }
.subbar-right { display: flex; align-items: center; gap: 7px; }
.micro-tag {
  padding: 3px 9px; border-radius: 5px; font-size: 11px; color: var(--text-2);
  background: rgba(148, 163, 184, 0.07); border: 1px solid var(--border-soft);
}
.micro-tag.live { color: var(--cyan-bright); border-color: var(--cyan-line); background: var(--cyan-soft); }

.main { display: block; min-width: 0; }
.content {
  max-width: 1680px; margin: 0 auto;
  padding: var(--space-6) var(--space-6) 64px;
  animation: floatIn 0.35s ease both;
}
.content > * + * { margin-top: var(--space-4); }

.statusbar {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 25;
  display: flex; align-items: center; gap: var(--space-5);
  height: 30px; padding: 0 var(--space-6);
  font-size: 11px; color: var(--text-3);
  background: rgba(4, 11, 21, 0.94); border-top: 1px solid var(--cyan-line);
  backdrop-filter: blur(10px);
}
.sb-item { display: inline-flex; align-items: center; gap: 6px; white-space: nowrap; }
.sb-item b { color: var(--cyan-bright); font-family: var(--font-num); font-weight: 600; }
.sb-right { margin-left: auto; font-family: var(--font-num); color: var(--text-2); font-variant-numeric: tabular-nums; }

/* NNN 页面标题与英文小标题 MMM */
.page-head { padding: 2px 0 var(--space-2); }
.kicker {
  font-size: 10px; letter-spacing: 2.6px; font-weight: 600;
  color: var(--cyan); text-transform: uppercase; margin-bottom: 7px;
}
.page-head h1 { font-size: 25px; font-weight: 650; letter-spacing: 0.6px; color: #f4f9ff; }
.lead { margin-top: 7px; font-size: 13px; color: var(--text-2); max-width: 1040px; line-height: 1.75; }

/* NNN 数据面板、标题竖条与操作区 MMM */
.panel {
  position: relative;
  background: var(--bg-panel);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: var(--space-5);
  box-shadow: var(--shadow-panel);
  backdrop-filter: blur(8px);
}
.panel::before {
  content: ""; position: absolute; left: 0; top: 14px; bottom: 14px; width: 2px;
  background: linear-gradient(180deg, transparent, var(--cyan), transparent);
  opacity: 0.55;
}
.panel-head {
  display: flex; align-items: flex-start; justify-content: space-between; gap: var(--space-4);
  margin-bottom: var(--space-4); flex-wrap: wrap;
}
.panel-head h2 {
  position: relative; padding-left: 12px;
  font-size: 16px; font-weight: 620; color: #eef6ff; letter-spacing: 0.3px;
}
.panel-head h2::before {
  content: ""; position: absolute; left: 0; top: 3px; bottom: 3px; width: 3px;
  border-radius: 2px; background: var(--cyan); box-shadow: 0 0 10px var(--cyan-glow);
}
.panel-head .kicker { margin-bottom: 4px; }
.panel-actions { display: flex; align-items: center; gap: var(--space-2); flex-wrap: wrap; }
.sub { font-size: 11px; color: var(--text-3); }
.legend { display: inline-flex; align-items: center; gap: 6px; font-size: 11px; color: var(--text-2); }
.dot { display: inline-block; width: 8px; height: 8px; border-radius: 50%; }
.dot-primary { background: var(--cyan); box-shadow: 0 0 8px var(--cyan-glow); }
.dot-accent { background: var(--violet); box-shadow: 0 0 8px rgba(167, 139, 250, 0.5); }

/* NNN 指标卡：顶部渐变色条与发光数值 MMM */
.metric-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(168px, 1fr)); gap: var(--space-3); }
.metric-card {
  position: relative; overflow: hidden;
  padding: 15px 15px 13px; border-radius: var(--radius);
  background: linear-gradient(160deg, rgba(17, 36, 60, 0.9), rgba(9, 20, 36, 0.9));
  border: 1px solid var(--border);
  box-shadow: var(--shadow-panel);
  transition: transform 0.2s ease, border-color 0.2s ease;
}
.metric-card::before {
  content: ""; position: absolute; left: 0; right: 0; top: 0; height: 2px;
  background: linear-gradient(90deg, transparent, var(--cyan), transparent);
  opacity: 0.85;
}
.metric-card:nth-child(3n+2)::before { background: linear-gradient(90deg, transparent, var(--violet), transparent); }
.metric-card:nth-child(3n+3)::before { background: linear-gradient(90deg, transparent, var(--green), transparent); }
.metric-card:hover { transform: translateY(-2px); border-color: var(--border-strong); }
.metric-label { font-size: 11px; color: var(--text-3); letter-spacing: 0.4px; }
.metric-value {
  margin-top: 6px; font-family: var(--font-num); font-size: 26px; font-weight: 700;
  color: #f2fbff; line-height: 1.15; text-shadow: 0 0 18px rgba(34, 211, 238, 0.28);
  font-variant-numeric: tabular-nums;
}
.metric-value small { font-size: 12px; font-weight: 500; color: var(--text-2); margin-left: 3px; }
.metric-trend { margin-top: 7px; font-size: 11px; color: var(--green); }
.metric-trend.neutral { color: var(--text-3); }
.metric-trend.down { color: var(--amber); }

/* NNN 七阶段流程状态条 MMM */
.stage-strip { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: var(--space-2); }
.stage-item {
  padding: 11px 10px; border-radius: 8px; cursor: pointer;
  background: var(--bg-inset); border: 1px solid var(--border-soft);
  transition: all 0.18s ease; text-align: left;
}
.stage-item:hover { border-color: var(--cyan-line); background: rgba(34, 211, 238, 0.06); }
.stage-item.active {
  border-color: var(--border-strong); background: rgba(6, 182, 212, 0.14);
  box-shadow: inset 0 0 18px rgba(34, 211, 238, 0.1), 0 0 12px rgba(34, 211, 238, 0.12);
}
.stage-code { font-family: var(--font-num); font-size: 11px; font-weight: 700; letter-spacing: 1px; color: var(--cyan); }
.stage-name { font-size: 12px; color: var(--text); margin: 4px 0 7px; line-height: 1.4; }
.stage-state .badge { font-size: 10px; padding: 2px 7px; }

/* NNN SVG 图表、柱状条与环形图 MMM */
.chart { display: block; width: 100%; height: auto; min-height: 200px; }
.chart-grid { stroke: rgba(148, 163, 184, 0.14); stroke-width: 1; stroke-dasharray: 3 5; }
.chart-axis { stroke: rgba(34, 211, 238, 0.28); stroke-width: 1; }
.chart-label { fill: var(--text-3); font-size: 10px; font-family: var(--font-num); }
.chart-line { fill: none; stroke-width: 2.2; stroke-linejoin: round; stroke-linecap: round; filter: drop-shadow(0 0 5px currentColor); }
.chart-area { opacity: 0.16; }
.chart-point { stroke: #06121f; stroke-width: 1.5; }
.ring-svg { display: block; }
.gauge-svg { display: block; width: min(280px, 100%); height: auto; }
.ring-bg { stroke: rgba(148, 163, 184, 0.14); }
.ring-text { font-size: 20px; font-weight: 700; fill: var(--text); font-family: var(--font-num); }
.ring-wrap { display: flex; align-items: center; justify-content: center; gap: var(--space-5); flex-wrap: wrap; padding: var(--space-3) 0; }
.bar-stack { display: flex; flex-direction: column; gap: 10px; }
.bar-row { display: grid; grid-template-columns: 132px 1fr 66px; align-items: center; gap: var(--space-3); }
.bar-name { font-size: 12px; color: var(--text-2); }
.progress-track { height: 8px; border-radius: var(--radius-pill); background: rgba(148, 163, 184, 0.12); overflow: hidden; }
.progress-fill { height: 100%; border-radius: var(--radius-pill); box-shadow: 0 0 12px currentColor; transition: width 0.4s ease; }
.bar-val { font-family: var(--font-num); font-size: 12px; color: var(--text); text-align: right; font-variant-numeric: tabular-nums; }

/* NNN 数据表格 MMM */
.table-wrap { overflow-x: auto; border: 1px solid var(--border-soft); border-radius: 8px; }
.data-table { width: 100%; border-collapse: collapse; font-size: 12px; }
.data-table thead th {
  padding: 10px 12px; text-align: left; white-space: nowrap;
  font-size: 11px; font-weight: 600; letter-spacing: 0.5px; color: var(--cyan);
  background: rgba(6, 182, 212, 0.07); border-bottom: 1px solid var(--cyan-line);
}
.data-table tbody td { padding: 10px 12px; color: var(--text-2); border-bottom: 1px solid rgba(148, 163, 184, 0.08); white-space: nowrap; }
.data-table tbody tr:last-child td { border-bottom: none; }
.data-table tbody tr:hover td { background: rgba(34, 211, 238, 0.055); color: var(--text); }
.data-table td.num { font-family: var(--font-num); font-variant-numeric: tabular-nums; color: var(--text); text-align: right; }
.table-foot { margin-top: 10px; font-size: 11px; color: var(--text-3); }

/* NNN 状态徽章、按钮、切换组与表单 MMM */
.badge {
  display: inline-flex; align-items: center; padding: 3px 9px; border-radius: var(--radius-pill);
  font-size: 11px; font-weight: 600; letter-spacing: 0.2px; white-space: nowrap;
}
.badge-success { color: var(--green); background: rgba(52, 211, 153, 0.12); border: 1px solid rgba(52, 211, 153, 0.3); }
.badge-warning { color: var(--amber); background: rgba(251, 191, 36, 0.12); border: 1px solid rgba(251, 191, 36, 0.3); }
.badge-primary { color: var(--cyan-bright); background: var(--cyan-soft); border: 1px solid var(--cyan-line); }
.badge-danger { color: var(--rose); background: rgba(251, 113, 133, 0.12); border: 1px solid rgba(251, 113, 133, 0.3); }
.badge-info { color: var(--violet); background: rgba(167, 139, 250, 0.12); border: 1px solid rgba(167, 139, 250, 0.3); }

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 6px;
  padding: 7px 14px; border-radius: 7px; cursor: pointer;
  font-size: 12px; color: var(--text-2); white-space: nowrap;
  background: rgba(148, 163, 184, 0.07); border: 1px solid var(--border-soft);
  transition: all 0.18s ease;
}
.btn:hover { color: var(--cyan-bright); border-color: var(--cyan-line); background: var(--cyan-soft); }
.btn.active { color: #d8fbff; border-color: var(--border-strong); background: rgba(6, 182, 212, 0.22); box-shadow: inset 0 0 12px rgba(34, 211, 238, 0.14); }
.btn-primary {
  color: #04202b; font-weight: 650; border-color: transparent;
  background: linear-gradient(135deg, #67e8f9, #06b6d4);
  box-shadow: 0 0 18px rgba(34, 211, 238, 0.28);
}
.btn-primary:hover { color: #04202b; background: linear-gradient(135deg, #a5f3fc, #22d3ee); box-shadow: 0 0 24px rgba(34, 211, 238, 0.45); }
.btn-ghost { background: transparent; }
.seg-switch { display: inline-flex; gap: 4px; padding: 3px; border-radius: 8px; background: var(--bg-inset); border: 1px solid var(--border-soft); }
.seg-switch .btn { padding: 5px 11px; border-color: transparent; background: transparent; }

.input {
  width: 100%; padding: 8px 11px; border-radius: 7px;
  color: var(--text); font-size: 12px;
  background: var(--bg-inset); border: 1px solid var(--border-soft);
  outline: none; transition: border-color 0.18s ease, box-shadow 0.18s ease;
}
.input::placeholder { color: var(--text-4); }
.input:focus { border-color: var(--border-strong); box-shadow: 0 0 0 3px rgba(34, 211, 238, 0.1); }
.panel-actions .input { width: 210px; }

.form-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(196px, 1fr)); gap: var(--space-4); }
.field { display: flex; flex-direction: column; gap: 6px; font-size: 12px; color: var(--text-2); }
.field > span { font-weight: 500; color: var(--text); }
.field-actions { justify-content: flex-end; align-items: flex-start; gap: 10px; }
.hint { font-size: 11px; color: var(--text-3); line-height: 1.5; }
.form-msg { font-size: 12px; min-height: 18px; color: var(--text-3); }
.form-msg.ok { color: var(--green); }
.form-msg.err { color: var(--rose); }
.formula-box {
  padding: 18px 20px; border-radius: 9px; text-align: center;
  font-family: var(--font-num); font-size: 30px; font-weight: 700; letter-spacing: 3px;
  color: var(--cyan-bright);
  background: radial-gradient(ellipse at center, rgba(6, 182, 212, 0.14), rgba(3, 10, 20, 0.5));
  border: 1px solid var(--cyan-line); text-shadow: 0 0 22px rgba(34, 211, 238, 0.55);
}

/* NNN 提示条、键值遥测格与详情卡 MMM */
.notice {
  padding: 11px 14px; border-radius: 8px; font-size: 12px; line-height: 1.7;
  color: var(--text-2); background: var(--bg-inset);
  border: 1px solid var(--border-soft); border-left: 3px solid var(--cyan);
}
.notice strong { color: var(--text); }
.notice-info { border-left-color: var(--cyan); background: rgba(6, 182, 212, 0.07); }
.notice-ok { border-left-color: var(--green); background: rgba(52, 211, 153, 0.07); }
.notice-warn { border-left-color: var(--amber); background: rgba(251, 191, 36, 0.07); }

.kv-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(168px, 1fr)); gap: var(--space-3); }
.kv-grid > div {
  padding: 12px 14px; border-radius: 8px;
  background: var(--bg-inset); border: 1px solid var(--border-soft);
}
.kv-grid .k { display: block; font-size: 11px; color: var(--text-3); }
.kv-grid .v { display: block; margin-top: 5px; font-family: var(--font-num); font-size: 19px; font-weight: 650; color: var(--cyan-bright); font-variant-numeric: tabular-nums; }
.kv-grid .v small { font-size: 11px; color: var(--text-2); margin-left: 3px; }

.split-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); gap: var(--space-4); }
.split-grid > .panel { margin-top: 0; }
.detail-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: var(--space-3); }
.detail-card { padding: 13px 15px; border-radius: 8px; background: var(--bg-inset); border: 1px solid var(--border-soft); }
.detail-card h3 { font-size: 13px; color: var(--cyan-bright); margin-bottom: 6px; }
.detail-card p { font-size: 12px; color: var(--text-2); line-height: 1.7; }

/* NNN 数字孪生舞台：透视网格、全息蓝图与四角定位 MMM */
.twin-panel { padding-bottom: var(--space-5); }
.twin-layout { display: grid; grid-template-columns: 232px minmax(320px, 1fr) 232px; gap: var(--space-4); align-items: stretch; }
.twin-side {
  padding: 14px; border-radius: 9px;
  background: var(--bg-inset); border: 1px solid var(--border-soft);
}
.twin-side-title {
  font-size: 10px; letter-spacing: 1.8px; text-transform: uppercase;
  color: var(--cyan); margin-bottom: 12px; padding-bottom: 9px;
  border-bottom: 1px solid var(--border-soft);
}
.telemetry-list, .joint-list { display: flex; flex-direction: column; gap: 2px; }
.telemetry-row, .joint-row {
  display: flex; align-items: center; justify-content: space-between; gap: 8px;
  padding: 7px 8px; border-radius: 6px; font-size: 12px;
  transition: background 0.18s ease;
}
.telemetry-row:hover, .joint-row:hover { background: rgba(34, 211, 238, 0.06); }
.telemetry-key, .joint-name { color: var(--text-3); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.telemetry-val, .joint-val { font-family: var(--font-num); color: var(--text); font-variant-numeric: tabular-nums; white-space: nowrap; }
.telemetry-val.hot { color: var(--cyan-bright); text-shadow: 0 0 10px rgba(34, 211, 238, 0.4); }
.joint-code { font-family: var(--font-num); font-size: 10px; color: var(--cyan); margin-right: 6px; }
.joint-row .joint-name { flex: 1; }

.twin-stage {
  position: relative; overflow: hidden; min-height: 430px;
  border-radius: 10px; border: 1px solid var(--cyan-line);
  background:
    radial-gradient(ellipse 62% 52% at 50% 42%, rgba(6, 182, 212, 0.17), transparent 72%),
    linear-gradient(180deg, #07121f 0%, #06101d 62%, #081a2c 100%);
  display: grid; place-items: center;
  box-shadow: inset 0 0 60px rgba(6, 182, 212, 0.08);
}
.twin-grid {
  position: absolute; left: -20%; right: -20%; bottom: -6%; height: 46%;
  background-image:
    linear-gradient(rgba(34, 211, 238, 0.24) 1px, transparent 1px),
    linear-gradient(90deg, rgba(34, 211, 238, 0.24) 1px, transparent 1px);
  background-size: 46px 30px;
  transform: perspective(340px) rotateX(64deg);
  transform-origin: bottom center;
  mask-image: linear-gradient(180deg, transparent, #000 34%, #000 100%);
  opacity: 0.65;
}
.twin-stage::after {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: repeating-linear-gradient(180deg, rgba(34, 211, 238, 0.028) 0 1px, transparent 1px 4px);
}
.twin-image {
  position: relative; z-index: 2; display: block;
  height: 400px; max-width: 92%; object-fit: contain;
  filter: drop-shadow(0 0 26px rgba(34, 211, 238, 0.28));
  transition: opacity 0.25s ease, transform 0.35s ease;
}
.twin-image:hover { transform: scale(1.015); }
.corner { position: absolute; z-index: 3; width: 18px; height: 18px; border-color: var(--cyan); opacity: 0.75; }
.corner-tl { top: 12px; left: 12px; border-top: 2px solid; border-left: 2px solid; }
.corner-tr { top: 12px; right: 12px; border-top: 2px solid; border-right: 2px solid; }
.corner-bl { bottom: 12px; left: 12px; border-bottom: 2px solid; border-left: 2px solid; }
.corner-br { bottom: 12px; right: 12px; border-bottom: 2px solid; border-right: 2px solid; }
.twin-hud {
  position: absolute; z-index: 3; padding: 4px 10px; border-radius: 5px;
  font-family: var(--font-num); font-size: 10px; letter-spacing: 1.2px;
  color: var(--cyan-bright); background: rgba(4, 14, 26, 0.72);
  border: 1px solid var(--cyan-line);
}
.hud-top { top: 14px; left: 50%; transform: translateX(-50%); }
.hud-bottom { bottom: 14px; left: 50%; transform: translateX(-50%); color: var(--text-2); }
.twin-scan {
  position: absolute; z-index: 1; left: 0; right: 0; top: 0; height: 60px;
  background: linear-gradient(180deg, transparent, rgba(34, 211, 238, 0.07), transparent);
  animation: scanSweep 8s linear infinite;
}

/* NNN 工程图纸卡片：浅色底保留真实渲染图质感 MMM */
.drawing-split { display: grid; grid-template-columns: minmax(320px, 1.45fr) minmax(260px, 1fr); gap: var(--space-4); align-items: stretch; }
.drawing-frame {
  position: relative; overflow: hidden; min-height: 260px;
  border-radius: 9px; padding: 14px;
  background-color: #f3f7fb;
  background-image:
    linear-gradient(rgba(31, 62, 96, 0.055) 1px, transparent 1px),
    linear-gradient(90deg, rgba(31, 62, 96, 0.055) 1px, transparent 1px);
  background-size: 22px 22px;
  border: 1px solid rgba(31, 62, 96, 0.16);
  display: grid; place-items: center;
  box-shadow: inset 0 0 30px rgba(31, 62, 96, 0.05);
}
.drawing-frame::before, .drawing-frame::after {
  content: ""; position: absolute; width: 16px; height: 16px; border-color: rgba(6, 182, 212, 0.65);
}
.drawing-frame::before { top: 9px; left: 9px; border-top: 2px solid; border-left: 2px solid; }
.drawing-frame::after { bottom: 9px; right: 9px; border-bottom: 2px solid; border-right: 2px solid; }
.drawing-frame img { display: block; max-width: 100%; max-height: 320px; object-fit: contain; }
.drawing-caption {
  position: absolute; left: 14px; bottom: 10px;
  font-size: 10px; letter-spacing: 0.6px; color: #5a6d85;
  background: rgba(255, 255, 255, 0.82); padding: 3px 8px; border-radius: 4px;
}
.drawing-notes {
  padding: 16px 18px; border-radius: 9px;
  background: var(--bg-inset); border: 1px solid var(--border-soft);
}
.note-title { font-size: 13px; font-weight: 600; color: var(--cyan-bright); margin-bottom: 9px; }
.note-text { font-size: 12px; color: var(--text-2); line-height: 1.85; }
.mini-stats { display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px; margin-top: 16px; }
.mini-stat { padding: 10px 12px; border-radius: 7px; background: rgba(34, 211, 238, 0.06); border: 1px solid var(--border-soft); }
.mini-stat-value { font-family: var(--font-num); font-size: 19px; font-weight: 650; color: var(--cyan-bright); font-variant-numeric: tabular-nums; }
.mini-stat-label { display: block; margin-top: 2px; font-size: 10px; color: var(--text-3); }

.drawing-strip { display: grid; grid-template-columns: repeat(auto-fit, minmax(210px, 1fr)); gap: var(--space-3); }
.drawing-tile { min-height: 210px; }
.drawing-tile img { max-height: 210px; }

/* NNN 动作时序轨道 MMM */
.seq-track { display: grid; grid-template-columns: repeat(8, minmax(0, 1fr)); gap: 6px; margin-top: var(--space-4); }
.seq-step {
  position: relative; padding: 10px 8px; border-radius: 7px; text-align: center;
  background: var(--bg-inset); border: 1px solid var(--border-soft);
  font-size: 11px; color: var(--text-2);
}
.seq-step::before {
  content: ""; display: block; width: 100%; height: 2px; margin-bottom: 7px;
  background: linear-gradient(90deg, var(--cyan), var(--violet)); opacity: 0.7;
}
.seq-step.on { border-color: var(--border-strong); color: var(--cyan-bright); background: rgba(6, 182, 212, 0.11); }
.seq-step b { display: block; font-family: var(--font-num); font-size: 11px; color: var(--cyan); }

/* NNN 响应式收敛 MMM */
@media (max-width: 1360px) {
  .twin-layout { grid-template-columns: 200px minmax(280px, 1fr) 200px; }
  .twin-image { height: 360px; }
  .twin-stage { min-height: 390px; }
}
@media (max-width: 1080px) {
  .app-header { flex-wrap: wrap; height: auto; padding: 10px var(--space-4); gap: 10px; }
  .nav { order: 3; flex-basis: 100%; }
  .twin-layout { grid-template-columns: 1fr; }
  .twin-stage { min-height: 380px; }
  .drawing-split { grid-template-columns: 1fr; }
}
@media (max-width: 760px) {
  .content { padding: var(--space-4) var(--space-3) 64px; }
  .stage-strip { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .seq-track { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .brand-text small { display: none; }
  .subbar-right { display: none; }
  .statusbar { gap: var(--space-3); overflow-x: auto; }
  .bar-row { grid-template-columns: 96px 1fr 56px; }
}
