:root {
  --primary: #1e4a76;
  --primary-dark: #163a5e;
  --primary-light: #eef3f8;
  --sidebar-bg: #13223a;
  --sidebar-hover: #1d3150;
  --sidebar-active: #1e4a76;
  --bg: #f3f5f8;
  --card-bg: #ffffff;
  --border: #e3e8ee;
  --text: #1f2937;
  --text-sub: #6b7280;
  --text-light: #9ca3af;
  --green: #16a34a;
  --green-bg: #ecfdf5;
  --orange: #d97706;
  --orange-bg: #fff7ed;
  --red: #dc2626;
  --red-bg: #fef2f2;
  --blue-bg: #eef3f8;
  --gray-bg: #f3f4f6;
  --purple: #7c3aed;
  --purple-bg: #f5f3ff;
  --shadow: 0 1px 2px rgba(16, 24, 40, 0.06);
  --radius: 6px;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

body {
  font-family: "PingFang SC", "Microsoft YaHei", "Segoe UI", system-ui, sans-serif;
  font-size: 14px;
  color: var(--text);
  background: var(--bg);
}

.app { display: flex; min-height: 100vh; }

/* ===== 侧边栏 ===== */
.sidebar {
  width: 220px;
  min-width: 220px;
  background: var(--sidebar-bg);
  color: #cbd5e1;
  display: flex;
  flex-direction: column;
  position: sticky;
  top: 0;
  height: 100vh;
  overflow-y: auto;
}
.logo {
  display: flex; align-items: center; gap: 10px;
  padding: 18px 16px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}
.logo-icon {
  width: 38px; height: 38px; border-radius: 9px;
  background: linear-gradient(135deg, #2563eb, #7c3aed);
  color: #fff; font-size: 18px; font-weight: 700;
  display: flex; align-items: center; justify-content: center;
}
.logo-title { color: #fff; font-size: 15px; font-weight: 600; }
.logo-sub { font-size: 11px; color: #64748b; margin-top: 2px; }

.nav { flex: 1; padding: 10px 8px; }
.nav-group { margin-bottom: 6px; }
.nav-group-title {
  font-size: 11px; color: #64748b; padding: 10px 12px 5px;
  letter-spacing: 1px;
}
.nav-item {
  display: flex; align-items: center; gap: 9px;
  padding: 8px 12px; margin: 1px 0;
  border-radius: 6px; cursor: pointer;
  color: #cbd5e1; font-size: 13.5px;
  transition: background 0.15s;
  text-decoration: none;
}
.nav-item:hover { background: var(--sidebar-hover); color: #fff; }
.nav-item.active { background: var(--sidebar-active); color: #fff; font-weight: 500; }
.nav-item .icon { width: 18px; height: 18px; flex-shrink: 0; display: flex; align-items: center; justify-content: center; opacity: 0.85; }
.nav-item .icon svg { width: 18px; height: 18px; display: block; }
.sidebar-foot {
  padding: 14px 16px; font-size: 11px; color: #475569;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
}

/* ===== 顶栏 ===== */
.main { flex: 1; display: flex; flex-direction: column; min-width: 0; }
.topbar {
  height: 58px; background: #fff; border-bottom: 1px solid var(--border);
  display: flex; align-items: center; justify-content: space-between;
  padding: 0 24px; position: sticky; top: 0; z-index: 20;
}
.topbar-left h1 { font-size: 17px; font-weight: 600; }
.topbar-right { display: flex; align-items: center; gap: 18px; }
.topbar-date { color: var(--text-sub); font-size: 13px; }
.topbar-user { display: flex; align-items: center; gap: 8px; font-size: 13px; }
.avatar {
  width: 30px; height: 30px; border-radius: 50%;
  background: var(--primary); color: #fff;
  display: flex; align-items: center; justify-content: center;
  font-size: 13px;
}

/* ===== 页面容器 ===== */
.page { padding: 20px 24px 40px; max-width: 1400px; width: 100%; }

/* ===== 卡片 ===== */
.card {
  background: var(--card-bg); border-radius: var(--radius);
  border: 1px solid var(--border); box-shadow: var(--shadow);
  margin-bottom: 16px;
}
.card-head {
  display: flex; align-items: center; justify-content: space-between;
  padding: 14px 18px; border-bottom: 1px solid var(--border);
}
.card-title { font-size: 15px; font-weight: 600; }
.card-body { padding: 18px; }

/* ===== 统计卡片 ===== */
.stat-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(210px, 1fr)); gap: 14px; margin-bottom: 16px; }
.stat-card {
  background: #fff; border: 1px solid var(--border); border-radius: var(--radius);
  padding: 16px 18px; box-shadow: var(--shadow);
  display: flex; align-items: center; gap: 14px;
}
.stat-icon {
  width: 44px; height: 44px; border-radius: 10px; font-size: 20px;
  display: flex; align-items: center; justify-content: center; flex-shrink: 0;
}
.stat-icon.blue { background: var(--blue-bg); }
.stat-icon.green { background: var(--green-bg); }
.stat-icon.orange { background: var(--orange-bg); }
.stat-icon.red { background: var(--red-bg); }
.stat-icon.purple { background: var(--purple-bg); }
.stat-value { font-size: 22px; font-weight: 700; line-height: 1.2; }
.stat-label { font-size: 12.5px; color: var(--text-sub); margin-top: 3px; }

/* ===== 工具条 ===== */
.toolbar { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; margin-bottom: 14px; }
.toolbar .spacer { flex: 1; }
.search-input {
  width: 230px; padding: 8px 12px; border: 1px solid var(--border);
  border-radius: 6px; font-size: 13px; outline: none;
}
.search-input:focus { border-color: var(--primary); box-shadow: 0 0 0 3px rgba(29, 78, 216, 0.1); }

/* ===== 按钮 ===== */
.btn {
  display: inline-flex; align-items: center; gap: 5px;
  padding: 8px 14px; border-radius: 6px; border: 1px solid transparent;
  font-size: 13px; cursor: pointer; transition: all 0.15s;
  background: #fff; color: var(--text); white-space: nowrap;
}
.btn-primary { background: var(--primary); color: #fff; }
.btn-primary:hover { background: var(--primary-dark); }
.btn-outline { border-color: var(--border); }
.btn-outline:hover { border-color: var(--primary); color: var(--primary); }
.btn-green { background: var(--green); color: #fff; }
.btn-green:hover { background: #15803d; }
.btn-red { background: #fff; color: var(--red); border-color: #fecaca; }
.btn-red:hover { background: var(--red-bg); }
.btn-sm { padding: 4px 9px; font-size: 12px; }
.btn:disabled { opacity: 0.5; cursor: not-allowed; }

/* ===== 表格 ===== */
.table-wrap { overflow-x: auto; }
table.table { width: 100%; border-collapse: collapse; font-size: 13px; }
.table th {
  text-align: left; padding: 10px 14px; background: #f8fafc;
  color: var(--text-sub); font-weight: 600; font-size: 12.5px;
  border-bottom: 1px solid var(--border); white-space: nowrap;
}
.table td { padding: 10px 14px; border-bottom: 1px solid #f1f4f9; }
.table tbody tr:hover { background: #f8fafc; }
.table .num { text-align: right; font-variant-numeric: tabular-nums; }
.table .actions { white-space: nowrap; text-align: right; }
.table .actions .btn { display: inline-block; width: auto; min-width: 64px; padding: 5px 10px; font-size: 12.5px; text-align: center; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; vertical-align: middle; }
.row-code { display: inline-block; margin-left: 8px; font-size: 11.5px; color: var(--text-light); font-variant-numeric: tabular-nums; vertical-align: middle; }
.table .empty { text-align: center; color: var(--text-light); padding: 36px 0; }

/* ===== 徽章 ===== */
.badge {
  display: inline-block; padding: 2px 9px; border-radius: 20px;
  font-size: 12px; font-weight: 500; white-space: nowrap;
}
.badge-blue { background: var(--blue-bg); color: var(--primary); }
.badge-green { background: var(--green-bg); color: var(--green); }
.badge-orange { background: var(--orange-bg); color: var(--orange); }
.badge-red { background: var(--red-bg); color: var(--red); }
.badge-gray { background: var(--gray-bg); color: var(--text-sub); }
.badge-purple { background: var(--purple-bg); color: var(--purple); }

/* ===== 弹窗 ===== */
.modal-mask {
  position: fixed; inset: 0; background: rgba(15, 23, 42, 0.45);
  display: flex; align-items: center; justify-content: center;
  z-index: 100; padding: 20px;
}
.modal {
  background: #fff; border-radius: 10px; width: 560px; max-width: 100%;
  max-height: 88vh; display: flex; flex-direction: column;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.25);
}
.modal.lg { width: 780px; }
.modal-head {
  padding: 15px 20px; border-bottom: 1px solid var(--border);
  display: flex; align-items: center; justify-content: space-between;
}
.modal-title { font-size: 16px; font-weight: 700; letter-spacing: 0.2px; }
.modal-title .em { color: var(--primary); margin-right: 4px; }
.modal-close { border: none; background: none; font-size: 20px; cursor: pointer; color: var(--text-light); line-height: 1; }
.modal-close:hover { color: var(--text); }
.modal-body { padding: 20px; overflow-y: auto; }
.modal-foot {
  padding: 13px 20px; border-top: 1px solid var(--border);
  display: flex; justify-content: flex-end; gap: 10px;
}

/* ===== 表单 ===== */
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.form-item { display: flex; flex-direction: column; gap: 5px; }
.form-item.full { grid-column: 1 / -1; }
.form-item label { font-size: 12.5px; color: var(--text-sub); }
.form-item label .req { color: var(--red); }
.form-input, .form-select, .form-textarea {
  padding: 8px 11px; border: 1px solid var(--border); border-radius: 6px;
  font-size: 13px; outline: none; font-family: inherit; width: 100%;
  background: #fff;
}
.form-input:focus, .form-select:focus, .form-textarea:focus {
  border-color: var(--primary); box-shadow: 0 0 0 3px rgba(29, 78, 216, 0.1);
}
.form-textarea { resize: vertical; min-height: 64px; }
.form-hint { font-size: 11.5px; color: var(--text-light); }

/* ===== 明细表格(订单/工单) ===== */
.detail-table { width: 100%; border-collapse: collapse; font-size: 13px; }
.detail-table th { text-align: left; padding: 6px 8px; background: #f8fafc; color: var(--text-sub); font-size: 12px; border: 1px solid var(--border); }
.detail-table td { padding: 5px 8px; border: 1px solid var(--border); }
.detail-table input { width: 100%; padding: 4px 6px; border: 1px solid var(--border); border-radius: 4px; font-size: 13px; }

/* 工艺路线流程条 */
.route-flow { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; margin-bottom: 14px; }
.route-flow b { color: var(--text-sub); font-weight: 400; }
.route-step {
  display: inline-flex; flex-direction: column; align-items: center; gap: 2px;
  border: 1px solid var(--border); background: #fff; border-radius: 8px;
  padding: 6px 12px; font-size: 13px; font-weight: 600;
}
.route-step.done { border-color: var(--green); background: var(--green-bg); color: var(--green); }
.route-step i { font-style: normal; font-size: 11px; font-weight: 400; color: var(--purple); background: var(--purple-bg); border-radius: 6px; padding: 0 5px; }
.route-step em { font-style: normal; font-size: 11px; font-weight: 400; color: var(--text-sub); }

/* ===== Toast ===== */
#toast-root { position: fixed; top: 20px; right: 20px; z-index: 200; display: flex; flex-direction: column; gap: 10px; }
.toast {
  background: #fff; border-radius: 8px; padding: 12px 16px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15); font-size: 13.5px;
  display: flex; align-items: center; gap: 9px;
  animation: slideIn 0.25s ease; border-left: 4px solid var(--green);
  max-width: 360px; pointer-events: none;
}
.toast.error { border-left-color: var(--red); }
.toast.info { border-left-color: var(--primary); }
@keyframes slideIn { from { transform: translateX(30px); opacity: 0; } to { transform: none; opacity: 1; } }

/* ===== 详情弹窗 ===== */
.detail-kv { display: grid; grid-template-columns: 1fr 1fr; gap: 10px 24px; margin-bottom: 16px; }
.detail-kv .kv { display: flex; font-size: 13px; }
.detail-kv .kv .k { color: var(--text-sub); width: 84px; flex-shrink: 0; }

/* ===== 分段标题 ===== */
.section-label { font-size: 13px; font-weight: 600; margin: 16px 0 8px; color: var(--text); }
.section-label:first-child { margin-top: 0; }

/* ===== 双列布局 ===== */
.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
@media (max-width: 1100px) { .grid-2 { grid-template-columns: 1fr; } }

/* ===== 进度条 ===== */
.progress-bar { height: 6px; background: var(--gray-bg); border-radius: 3px; overflow: hidden; min-width: 70px; }
.progress-bar .fill { height: 100%; background: var(--primary); border-radius: 3px; }
.progress-wrap { display: flex; align-items: center; gap: 8px; }
.progress-wrap .pct { font-size: 12px; color: var(--text-sub); min-width: 38px; text-align: right; }

/* ===== 简单柱状图 ===== */
.bars { display: flex; align-items: flex-end; gap: 6px; height: 150px; padding-top: 8px; }
.bars .bar-col { flex: 1; display: flex; flex-direction: column; align-items: center; gap: 4px; height: 100%; justify-content: flex-end; }
.bars .bar { width: 60%; max-width: 46px; background: var(--primary); border-radius: 4px 4px 0 0; min-height: 2px; position: relative; }
.bars .bar-val { font-size: 10.5px; color: var(--text-sub); }
.bars .bar-label { font-size: 10.5px; color: var(--text-light); }

/* ===== 登录 / 注册视图 ===== */
.auth-view {
  position: fixed; inset: 0; z-index: 999;
  display: flex; align-items: center; justify-content: center;
  background: linear-gradient(135deg, #0f1b33 0%, #1e3a8a 60%, #1d4ed8 100%);
}
.auth-card {
  width: 400px; max-width: 92vw; background: #fff; border-radius: 14px;
  padding: 34px 32px 30px; box-shadow: 0 20px 60px rgba(0,0,0,.35);
}
.auth-logo { display: flex; align-items: center; gap: 14px; margin-bottom: 26px; }
.auth-logo .logo-icon {
  width: 48px; height: 48px; border-radius: 12px; background: var(--primary);
  color: #fff; font-size: 24px; font-weight: 700;
  display: flex; align-items: center; justify-content: center;
}
.auth-title { font-size: 20px; font-weight: 700; }
.auth-sub { font-size: 12px; color: var(--text-sub); margin-top: 2px; }
.auth-tabs { display: flex; gap: 8px; margin-bottom: 18px; background: var(--gray-bg); border-radius: 10px; padding: 4px; }
.auth-tab {
  flex: 1; border: 0; background: transparent; padding: 9px 0; font-size: 14px;
  border-radius: 8px; cursor: pointer; color: var(--text-sub); font-weight: 500;
}
.auth-tab.active { background: #fff; color: var(--primary); font-weight: 600; box-shadow: var(--shadow); }
.auth-form .form-item { margin-bottom: 14px; }
.auth-form label { display: block; font-size: 13px; color: var(--text-sub); margin-bottom: 6px; }
.auth-form .form-input { width: 100%; }
.auth-submit { width: 100%; padding: 11px 0; font-size: 15px; margin-top: 6px; }
.auth-hint { margin-top: 14px; font-size: 12.5px; color: var(--text-sub); text-align: center; min-height: 18px; }

/* ===== 顶栏视角切换 & 退出 ===== */
.view-tenant-select {
  padding: 6px 10px; border: 1px solid var(--border); border-radius: 8px;
  font-size: 13px; background: #fff; color: var(--text); outline: none;
}
.topbar-user { display: flex; align-items: center; gap: 10px; }
#btn-logout { white-space: nowrap; }
.hint-text { font-size: 12.5px; color: var(--text-sub); }

/* ===== 技术资料库 ===== */
.tab-bar { display: flex; gap: 8px; margin-bottom: 14px; background: var(--gray-bg); border-radius: 10px; padding: 4px; width: fit-content; }
.tab-btn {
  border: 0; background: transparent; padding: 8px 22px; font-size: 14px;
  border-radius: 8px; cursor: pointer; color: var(--text-sub); font-weight: 500;
}
.tab-btn.active { background: #fff; color: var(--primary); font-weight: 600; box-shadow: var(--shadow); }
.tech-cols { display: flex; gap: 14px; align-items: flex-start; flex-wrap: wrap; }
.card-title-row { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-bottom: 12px; flex-wrap: wrap; }
.sel-row { background: #eef4ff !important; }
.muted { color: var(--text-sub); font-size: 12.5px; }
.tech-legend { margin-top: 12px; display: flex; flex-wrap: wrap; gap: 6px 16px; justify-content: center; }
.lg-item { display: flex; align-items: center; gap: 6px; font-size: 12.5px; }
.lg-swatch { width: 14px; height: 14px; border-radius: 4px; border: 1px solid #00000022; flex: none; }
#dg-layers .form-input { padding: 4px 6px; font-size: 12.5px; }

/* ===== 技术资料·分类手册式（大类 → 型号卡片 → 规格表） ===== */
.man-cat { margin-bottom: 18px; }
.man-cat-head {
  display: flex; align-items: baseline; gap: 10px; padding: 9px 14px;
  background: linear-gradient(90deg, #1f4e8c, #2f6fc2); color: #fff;
  border-radius: 8px 8px 0 0; font-weight: 700; font-size: 14.5px;
}
.man-cat-head .muted { color: #cfe0f5; font-weight: 400; }
.man-models {
  display: grid; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); gap: 10px;
  padding: 12px; background: #f7f9fc; border: 1px solid var(--border); border-top: 0;
}
.man-model {
  cursor: pointer; border: 1px solid var(--border); border-radius: 8px; background: #fff;
  padding: 10px 12px; transition: box-shadow .15s, border-color .15s;
}
.man-model:hover { border-color: #2f6fc2; box-shadow: 0 2px 8px rgba(47, 111, 194, .14); }
.man-model.open { border-color: #2f6fc2; box-shadow: 0 2px 10px rgba(47, 111, 194, .25); }
.man-model-top { display: flex; align-items: center; justify-content: space-between; gap: 8px; }
.man-model-top b { font-size: 15px; color: #1f4e8c; }
.man-model-name { font-size: 12.5px; color: var(--text); margin: 3px 0 2px; }
.man-model-meta { font-size: 11.5px; color: var(--text-sub); }
.man-model .arrow { float: right; color: var(--text-sub); font-size: 12px; }
.man-model .actions { margin-top: 8px; }
.man-specs { border: 1px solid var(--border); border-top: 0; border-radius: 0 0 8px 8px; background: #fff; overflow: hidden; }
.man-specs .spec-head {
  display: flex; justify-content: space-between; align-items: center; gap: 10px;
  padding: 9px 14px; border-top: 1px dashed var(--border); background: #fbfdff; flex-wrap: wrap;
}
.man-specs .spec-tbl { overflow: auto; max-height: 440px; }
.spec-filters { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; padding: 8px 14px; border-top: 1px dashed var(--border); background: #fbfdff; }
.spec-f-item { display: inline-flex; align-items: center; gap: 5px; white-space: nowrap; }
.spec-f-name { font-size: 12px; font-weight: 600; color: var(--primary); background: var(--primary-light); border: 1px solid rgba(29, 78, 216, 0.22); border-radius: 4px; padding: 3px 8px; }
.spec-f-item select { font-size: 12.5px; }

/* ---------- 新建工单：规格选择列表与流程预览 ---------- */
.wo-spec-list { border: 1px solid var(--border); border-radius: 8px; background: #fff; overflow: auto; max-height: 300px; }
.wo-spec-row { display: flex; flex-direction: column; gap: 3px; padding: 9px 14px; border-bottom: 1px solid var(--border); cursor: pointer; transition: background .12s; }
.wo-spec-row:last-child { border-bottom: 0; }
.wo-spec-row:hover { background: var(--primary-light); }
.wo-spec-row.active { background: var(--primary-light); box-shadow: inset 3px 0 0 var(--primary); }
.wo-spec-main { display: flex; align-items: center; gap: 6px; flex-wrap: wrap; }
.wo-spec-idx { flex: 0 0 auto; min-width: 22px; height: 22px; line-height: 22px; text-align: center; background: var(--gray-bg); color: var(--text-sub); border-radius: 4px; font-size: 12px; font-weight: 600; }
.wo-spec-code { color: var(--primary); font-weight: 700; }
.wo-spec-sub { font-size: 12px; }
.wo-flow { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 8px; }
.wo-flow-chip { display: inline-flex; align-items: center; gap: 3px; font-size: 12.5px; background: #f0fdf4; color: #166534; border: 1px solid #bbf7d0; border-radius: 14px; padding: 3px 10px; }
.wo-flow-chip b { color: #15803d; }

/* ===== 报工工序流转图 ===== */
.rp-flow-legend { display: flex; gap: 18px; flex-wrap: wrap; font-size: 12.5px; color: var(--text-sub); margin-bottom: 10px; }
.rp-dot { display: inline-block; width: 10px; height: 10px; border-radius: 50%; margin-right: 5px; vertical-align: -1px; }
.rp-dot-done { background: #16a34a; }
.rp-dot-todo { background: #d1d5db; }
.rp-dot-cur { background: #fff; border: 2px solid #f59e0b; }
.rp-flow-track { display: flex; align-items: flex-start; overflow-x: auto; padding: 22px 4px 12px; }
.rp-flow-item { display: flex; align-items: flex-start; flex: 0 0 auto; }
.rp-flow-node-wrap { display: flex; flex-direction: column; align-items: center; width: 78px; position: relative; }
.rp-flow-node { width: 36px; height: 36px; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 14px; font-weight: 700; flex: 0 0 auto; transition: box-shadow .15s; }
.rp-flow-node.done { background: #16a34a; color: #fff; box-shadow: 0 2px 8px rgba(22, 163, 74, .35); }
.rp-flow-node.todo { background: #e5e7eb; color: #9ca3af; }
.rp-flow-node.cur { outline: 3px solid #fbbf24; outline-offset: 2px; }
.rp-flow-check { font-size: 16px; line-height: 1; }
.rp-flow-no { font-size: 13px; }
.rp-flow-name { font-size: 12px; color: var(--text-main); margin-top: 7px; text-align: center; line-height: 1.35; max-width: 90px; }
.rp-flow-insp { display: inline-block; font-size: 10px; background: #f97316; color: #fff; border-radius: 3px; padding: 0 3px; margin-left: 3px; vertical-align: 1px; }
.rp-flow-qty { font-size: 11px; color: #9ca3af; margin-top: 3px; }
.rp-flow-qty.qty-done { color: #16a34a; font-weight: 600; }
.rp-flow-curtag { position: absolute; top: -20px; left: 50%; transform: translateX(-50%); font-size: 10px; background: #f59e0b; color: #fff; border-radius: 8px; padding: 1px 7px; white-space: nowrap; }
.rp-flow-arrow { margin: 9px 3px 0; font-size: 16px; color: #d1d5db; font-weight: 700; }
.rp-flow-arrow.a-done { color: #16a34a; }

/* ===== 工单创建：模式切换 + 自定义工艺流程编辑器 ===== */
.wo-mode-tabs { display: flex; gap: 8px; margin-bottom: 16px; border-bottom: 1px solid var(--border); }
.wo-mode-tab { flex: 1; padding: 10px 8px; font-size: 14px; color: var(--text-sub); background: none; border: none; border-bottom: 2px solid transparent; cursor: pointer; }
.wo-mode-tab.active { color: var(--primary); font-weight: 600; border-bottom-color: var(--primary); }
.wo-route-chip { display: flex; align-items: center; gap: 10px; padding: 8px 12px; background: #f8fafc; border: 1px solid var(--border); border-radius: 8px; margin-bottom: 6px; }
.wo-route-no { flex: 0 0 22px; height: 22px; line-height: 22px; text-align: center; background: var(--primary); color: #fff; border-radius: 50%; font-size: 12px; }
.wo-route-name { flex: 1; font-size: 13.5px; }
.wo-route-insp { font-style: normal; font-size: 10px; background: #f97316; color: #fff; border-radius: 3px; padding: 1px 4px; margin-left: 6px; }
.wo-route-param { font-style: normal; font-size: 10px; background: #dcfce7; color: #15803d; border-radius: 3px; padding: 1px 5px; margin-left: 6px; }
.wo-route-param.dim { background: var(--gray-bg); color: var(--text-light); }
.wo-route-ops a { display: inline-block; width: 22px; height: 22px; line-height: 22px; text-align: center; color: var(--text-sub); cursor: pointer; font-size: 14px; border-radius: 4px; }
.wo-route-ops a:hover { background: var(--primary-light); color: var(--primary); }
.wo-route-ops a.dis { opacity: .25; pointer-events: none; }

/* 侧边栏保持固定显示（不响应式收起） */
.hamburger { display: none !important; }
.sidebar-mask { display: none !important; }



