/* 弱电项目售后系统 - 样式表（后台 + 客户分享页共用） */
:root {
  --bg: #f4f6f9;
  --card: #ffffff;
  --primary: #2563eb;
  --primary-d: #1d4ed8;
  --text: #1f2937;
  --muted: #6b7280;
  --border: #e5e7eb;
  --ok: #16a34a;
  --off: #dc2626;
  --radius: 10px;
  --shadow: 0 1px 3px rgba(0,0,0,.08), 0 4px 12px rgba(0,0,0,.04);
}
* { box-sizing: border-box; }
body {
  margin: 0; background: var(--bg); color: var(--text);
  font-family: -apple-system, "Segoe UI", "PingFang SC", "Microsoft YaHei", sans-serif;
  font-size: 14px; line-height: 1.6;
}
a { color: var(--primary); text-decoration: none; }
a:hover { text-decoration: underline; }

/* 顶部栏 */
.topbar {
  display: flex; justify-content: space-between; align-items: center;
  background: #fff; border-bottom: 1px solid var(--border); padding: 0 20px; height: 56px;
}
.topbar .brand { font-weight: 700; font-size: 16px; }
.topbar nav { display: flex; align-items: center; gap: 16px; }
.topbar .user { color: var(--muted); }

.container { max-width: 980px; margin: 0 auto; padding: 24px 16px; }
.share.container { max-width: 720px; }

/* 按钮 */
.btn-primary, .btn-ghost, .btn-mini, .btn-exit {
  display: inline-flex; align-items: center; justify-content: center; gap: 6px;
  border-radius: 8px; padding: 8px 14px; font-size: 14px; cursor: pointer; border: 1px solid transparent;
}
.btn-primary { background: var(--primary); color: #fff; }
.btn-primary:hover { background: var(--primary-d); text-decoration: none; }
.btn-ghost { background: #fff; border-color: var(--border); color: var(--text); }
.btn-ghost:hover { background: #f3f4f6; text-decoration: none; }
.btn-mini { padding: 4px 10px; font-size: 13px; background: var(--primary); color: #fff; border-radius: 6px; }
.btn-mini:hover { background: var(--primary-d); text-decoration: none; }
.btn-exit { color: var(--off); background: transparent; }
.page-head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 16px; }
.page-head h1 { font-size: 20px; margin: 0; }

/* 卡片 */
.card { background: var(--card); border: 1px solid var(--border); border-radius: var(--radius);
  box-shadow: var(--shadow); padding: 20px; margin-bottom: 18px; }
.card h2 { margin: 0 0 14px; font-size: 16px; }
.muted { color: var(--muted); font-size: 13px; }
.desc { color: var(--text); white-space: pre-wrap; }

/* 表格 */
.grid { width: 100%; border-collapse: collapse; background: #fff; border-radius: var(--radius); overflow: hidden;
  box-shadow: var(--shadow); }
.grid th, .grid td { padding: 10px 12px; text-align: left; border-bottom: 1px solid var(--border); }
.grid th { background: #f9fafb; font-weight: 600; color: var(--muted); font-size: 13px; }
.grid td.ops a { margin-right: 10px; }
.grid .empty { text-align: center; color: var(--muted); padding: 24px; }
.mono { font-family: ui-monospace, "SFMono-Regular", Consolas, monospace; }

/* 表单 */
.form-card, .login-box { background: #fff; border: 1px solid var(--border); border-radius: var(--radius);
  box-shadow: var(--shadow); padding: 24px; max-width: 640px; }
.field { margin-bottom: 14px; }
.field > label { display: block; font-weight: 600; margin-bottom: 6px; color: #374151; }
.field input[type=text], .field input[type=date], .field input[type=datetime-local],
.field textarea, .form-card input, .form-card select, .share input, .pw-form input,
.upload-form input, .secret-form input, .secret-form select {
  width: 100%; padding: 9px 11px; border: 1px solid var(--border); border-radius: 8px; font-size: 14px;
}
.field textarea { resize: vertical; }
.chk { font-weight: 400 !important; display: flex; align-items: center; gap: 8px; }
.chk input { width: auto !important; }
.form-actions { margin-top: 8px; display: flex; gap: 10px; }

/* 登录（分栏式重设计） */
/* 100dvh 用于规避移动端浏览器地址栏收起/展开导致的高度跳动，不支持时回退 100vh */
.login-page { display: flex; min-height: 100vh; min-height: 100dvh; }
.login-aside {
  flex: 1 1 46%; max-width: 520px;
  background: linear-gradient(150deg, #1e3a8a 0%, #2563eb 55%, #3b82f6 100%);
  color: #fff; padding: 48px 44px; display: flex; flex-direction: column;
  position: relative; overflow: hidden;
}
.login-aside::after {
  content: ''; position: absolute; right: -120px; bottom: -120px; width: 320px; height: 320px;
  background: radial-gradient(circle at 30% 30%, rgba(255,255,255,.18), transparent 60%);
  border-radius: 50%;
}
.aside-top { display: flex; align-items: center; gap: 14px; }
.brand-badge { width: 56px; height: 56px; border-radius: 14px; background: rgba(255,255,255,.16);
  display: flex; align-items: center; justify-content: center; backdrop-filter: blur(2px); }
.aside-brand { font-size: 15px; font-weight: 600; opacity: .95; }
.aside-mid { margin-top: auto; }
.aside-title { font-size: 30px; font-weight: 700; margin: 0 0 10px; letter-spacing: .5px; }
.aside-sub { font-size: 15px; opacity: .9; margin: 0 0 22px; }
.aside-feats { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 12px; }
.aside-feats li { position: relative; padding-left: 26px; font-size: 14px; opacity: .92; }
.aside-feats li::before {
  content: ''; position: absolute; left: 0; top: 7px; width: 14px; height: 14px; border-radius: 50%;
  background: rgba(255,255,255,.9);
  box-shadow: 0 0 0 4px rgba(255,255,255,.18);
}
.aside-foot { margin-top: 28px; font-size: 12px; opacity: .8; }
.login-main { flex: 1 1 54%; display: flex; flex-direction: column; align-items: center; justify-content: center;
  padding: 40px 24px; background: var(--bg); }
.login-card { width: 100%; max-width: 380px; background: #fff; border: 1px solid var(--border);
  border-radius: 16px; box-shadow: var(--shadow); padding: 32px 30px; }
.login-card h2 { margin: 0 0 6px; font-size: 22px; }
.login-hint { color: var(--muted); font-size: 13px; margin: 0 0 22px; }
.login-form .field { margin-bottom: 16px; }
.login-form .field > label { display: block; font-weight: 600; margin-bottom: 6px; color: #374151; }
.login-form .field input { width: 100%; padding: 11px 13px; border: 1px solid var(--border); border-radius: 9px; font-size: 15px; }
.login-form .field input:focus { outline: none; border-color: var(--primary); box-shadow: 0 0 0 3px rgba(37,99,235,.15); }
.login-submit { width: 100%; padding: 12px; font-size: 16px; letter-spacing: 4px; margin-top: 4px; }
.login-page-footer { margin-top: 22px; font-size: 13px; color: var(--muted); text-align: center; }

@media (max-width: 760px) {
  .login-page { flex-direction: column; min-height: 100dvh; }
  /* 手机上品牌区收窄为顶部条幅，把首屏留给登录表单 */
  .login-aside { max-width: none; padding: 24px 20px 20px; min-height: auto; }
  .aside-mid { margin-top: 16px; }
  .aside-title { font-size: 22px; margin-bottom: 6px; }
  .aside-sub { font-size: 13px; margin-bottom: 0; }
  .aside-feats { display: none; }
  .aside-foot { margin-top: 14px; }
  .login-main { padding: 26px 18px; justify-content: flex-start; }
  .login-card { padding: 24px 20px; border-radius: 14px; }
  .login-card h2 { font-size: 20px; }
  .login-hint { margin-bottom: 18px; }
  .login-submit { padding: 13px; }
  .login-page-footer { margin-top: 18px; font-size: 12px; }
}

/* 基础/安全设置 */
.sec-h { font-size: 15px; margin: 22px 0 10px; padding-top: 14px; border-top: 1px solid var(--border); }
.sec-h:first-of-type { border-top: none; padding-top: 0; margin-top: 0; }
.switch-row { display: flex; align-items: center; gap: 10px; margin: 10px 0 4px; font-size: 14px; color: #374151; cursor: pointer; }
.switch-row input { width: auto; }

/* 提示消息 */
.flash { padding: 11px 14px; border-radius: 8px; margin-bottom: 16px; font-size: 14px; }
.flash-ok { background: #ecfdf5; color: #065f46; border: 1px solid #a7f3d0; }
.flash-error { background: #fef2f2; color: #991b1b; border: 1px solid #fecaca; }

/* 项目信息条 */
.info-bar { display: flex; flex-wrap: wrap; gap: 18px; margin: 12px 0; }
.info-bar > div { font-size: 13px; color: var(--muted); }
.info-bar > div span { display: block; font-size: 12px; color: #9ca3af; margin-bottom: 2px; }

/* 分享链接区 */
.share-link { display: flex; gap: 8px; margin-bottom: 12px; }
.share-link input { flex: 1; font-family: monospace; }
.share-actions { display: flex; gap: 10px; flex-wrap: wrap; margin-bottom: 14px; }
.pw-form { display: flex; gap: 8px; flex-wrap: wrap; align-items: center; }
.pw-form input { flex: 1; min-width: 160px; }

/* 上传/敏感信息表单 */
.upload-form, .secret-form { display: flex; gap: 8px; flex-wrap: wrap; align-items: center; margin-bottom: 14px; }
.upload-form input, .secret-form input, .secret-form select { flex: 1; min-width: 140px; }

/* 文件列表（分享页） */
.file-list { list-style: none; padding: 0; margin: 0; }
.file-list li { display: flex; align-items: center; gap: 10px; padding: 10px 0; border-bottom: 1px solid var(--border); }
.file-list li:last-child { border-bottom: none; }
.file-list .m-name, .file-list .s-label { flex: 1; }
.file-list .m-meta, .file-list .s-value { color: var(--muted); font-size: 13px; }
.file-list .empty { color: var(--muted); justify-content: center; }
.footer-note { text-align: center; color: #9ca3af; font-size: 12px; margin-top: 20px; }

/* 徽标 */
.badge { display: inline-block; padding: 2px 8px; border-radius: 999px; font-size: 12px; }
.badge-on { background: #dcfce7; color: #166534; }
.badge-off { background: #fee2e2; color: #991b1b; }

/* 移动端适配统一放在文件末尾「移动端增强」区块 */

/* 设备台账表单 */
.dev-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 8px; margin-bottom: 12px; }
.device-form input, .device-form select,
.batch-form input, .batch-form select { width: 100%; padding: 9px 11px; border: 1px solid var(--border); border-radius: 8px; font-size: 14px; }
.device-form #device-cancel { margin-left: auto; }

/* 按 IP 批量添加（折叠面板） */
.batch-panel { margin: 16px 0 14px; border: 1px dashed var(--border); border-radius: 10px; background: #f8fafc; }
.batch-panel > summary { cursor: pointer; padding: 12px 14px; font-size: 14px; list-style: none; outline: none; }
.batch-panel > summary::-webkit-details-marker { display: none; }
.batch-panel > summary::before { content: '\25B8\A0'; color: var(--primary); }
.batch-panel[open] > summary::before { content: '\25BE\A0'; color: var(--primary); }
.batch-panel > summary .muted { font-weight: 400; }
.batch-form { padding: 0 14px 14px; }
.batch-form textarea { width: 100%; font-size: 13px; line-height: 1.7; padding: 9px 11px;
  border: 1px solid var(--border); border-radius: 8px; resize: vertical; }
.batch-form .field > p { margin: 6px 0 0; }
.batch-form .dev-grid { margin-bottom: 8px; }

/* 网络拓扑图 */
.topo-wrap { border: 1px solid var(--border); border-radius: 10px; background: #fafbfc; overflow: hidden; }
.topo-wrap svg { width: 100%; height: 560px; display: block; touch-action: none; background:
  radial-gradient(#e5e7eb 1px, transparent 1px) 0 0 / 22px 22px; }
.topo-toolbar { display: flex; gap: 8px; flex-wrap: wrap; align-items: center; margin-bottom: 12px; }
.topo-toolbar select { padding: 7px 9px; border: 1px solid var(--border); border-radius: 8px; font-size: 14px; }
.topo-toolbar .btn-mini, .topo-toolbar .btn-ghost, .topo-toolbar .btn-primary { cursor: pointer; }
.topo-toolbar .active { background: var(--primary); color: #fff; border-color: var(--primary); }
.topo-toolbar #topo-status { margin-left: 6px; }
.topo-node { cursor: move; }
.topo-node rect { transition: stroke .12s, stroke-width .12s; }
.topo-node.topo-selected rect { stroke: #2563eb; stroke-width: 3; }
.topo-node.topo-connect rect { stroke: #16a34a; stroke-width: 3; stroke-dasharray: 5 3; }
.topo-node-text rect { transition: stroke .12s, stroke-width .12s; }
.topo-node-text.topo-selected rect { stroke: #2563eb; stroke-width: 3; }
.topo-node-text { cursor: move; }
.topo-edge { cursor: pointer; }
.topo-edge.topo-selected line { stroke: #2563eb; stroke-width: 3; }

/* 页内重命名输入框（替代 window.prompt，避免原生对话框被禁用时失效） */
.topo-rename-input {
  position: fixed; z-index: 9999;
  padding: 4px 8px; font-size: 13px; font-family: inherit;
  border: 2px solid #2563eb; border-radius: 6px; outline: none;
  box-shadow: 0 4px 12px rgba(0,0,0,.18); background: #fff; color: #111827;
}

/* 表单操作区 */
.form-actions { display: flex; gap: 10px; align-items: center; margin-top: 14px; flex-wrap: wrap; }

/* 设备批量导入区 */
.import-bar { display: flex; gap: 12px; align-items: center; margin-top: 14px; flex-wrap: wrap; padding: 12px; background: #f8fafc; border: 1px solid var(--border); border-radius: 10px; }
.import-bar form.inline { display: flex; gap: 8px; align-items: center; }
.import-bar input[type="file"] { font-size: 13px; max-width: 220px; }

/* 品牌设置：Logo 预览 */
.logo-preview { margin: 6px 0 10px; }
.logo-preview img { max-height: 64px; max-width: 220px; border: 1px solid var(--border); border-radius: 8px; background: #fff; padding: 6px; }

/* 分享页品牌头（Logo + 公司名） */
.share-brand { display: flex; gap: 16px; align-items: center; }
.share-brand .brand-logo { max-height: 64px; max-width: 200px; border-radius: 8px; object-fit: contain; }
.share-brand .brand-company { font-size: 14px; color: var(--muted); margin-bottom: 4px; }
.share-brand h1 { margin: 0; }
.share-brand .brand-qr { display: flex; flex-direction: column; align-items: center; gap: 6px; margin-left: auto; text-align: center; }

/* 徽标补充（即将到期 / 中性） */
.badge-warn { background: #fef3c7; color: #92400e; }
.badge-neutral { background: #f3f4f6; color: #4b5563; }

/* 折叠块通用 */
details > summary { cursor: pointer; color: var(--primary); font-weight: 600; margin: 8px 0; }
details[open] > summary { margin-bottom: 10px; }

/* 质保提醒横幅（仪表盘） */
.warranty-banner { background: #fffbeb; border: 1px solid #fde68a; color: #92400e; padding: 12px 16px; border-radius: 10px; margin-bottom: 16px; font-size: 14px; }
.warranty-banner a { color: #b45309; font-weight: 600; }

/* 工单统计条 */
.stat-bar { display: flex; gap: 8px; align-items: center; }

/* 二维码框 */
.qr-box { display: inline-flex; padding: 8px; background: #fff; border: 1px solid var(--border); border-radius: 8px; }
.qr-box svg { display: block; }
.qr-details { margin: 10px 0; }

/* 行内表单（联系人/记工/费用/巡检等） */
.inline { display: inline-flex; gap: 8px; align-items: center; flex-wrap: wrap; }
.contact-form, .wl-form, .exp-form, .insp-form, .repair-form {
  display: flex; gap: 8px; flex-wrap: wrap; align-items: center; margin-bottom: 14px;
}
.contact-form input, .contact-form select, .contact-form textarea,
.wl-form input, .wl-form select,
.exp-form input, .exp-form select,
.repair-form input, .repair-form select, .repair-form textarea,
.insp-form input, .insp-form select, .insp-form textarea {
  flex: 1; min-width: 120px; padding: 9px 11px; border: 1px solid var(--border); border-radius: 8px; font-size: 14px;
}
.contact-form textarea, .wl-form textarea, .exp-form textarea, .repair-form textarea { flex-basis: 100%; }
.repair-row { display: flex; gap: 8px; width: 100%; }
.repair-row input { flex: 1; min-width: 0; }

/* 巡检计划卡片 */
.insp-item { border: 1px solid var(--border); border-radius: 10px; padding: 14px; margin-bottom: 12px; background: #fafbfc; }
.insp-head { display: flex; gap: 10px; align-items: center; flex-wrap: wrap; }
.insp-head .m-meta { font-size: 12px; }
.insp-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 8px; margin-bottom: 10px; }
.insp-grid input, .insp-grid select { width: 100%; padding: 9px 11.5px; border: 1px solid var(--border); border-radius: 8px; font-size: 14px; }
.insp-form textarea { width: 100%; padding: 9px 11px; border: 1px solid var(--border); border-radius: 8px; font-size: 14px; margin: 8px 0; resize: vertical; }

/* 工单详情 */
.wo-head { display: flex; gap: 10px; margin-bottom: 12px; }
.timeline { list-style: none; padding: 0; margin: 0 0 16px; }
.timeline li { position: relative; padding: 0 0 16px 20px; border-left: 2px solid var(--border); margin-left: 6px; }
.timeline li:last-child { border-left-color: transparent; padding-bottom: 0; }
.timeline li::before { content: ''; position: absolute; left: -6px; top: 4px; width: 10px; height: 10px; border-radius: 50%; background: var(--primary); }
.timeline .log-meta { display: flex; gap: 8px; align-items: baseline; flex-wrap: wrap; }
.timeline .log-action { font-weight: 600; color: var(--text); }
.timeline .log-note { margin-top: 4px; white-space: pre-wrap; }
.timeline .log-photo { margin-top: 6px; max-width: 220px; max-height: 220px; border: 1px solid var(--border); border-radius: 8px; display: block; }
.log-form textarea { width: 100%; padding: 9px 11px; border: 1px solid var(--border); border-radius: 8px; font-size: 14px; resize: vertical; }
.log-form .form-actions input[type=file] { flex: 1; min-width: 160px; }
.log-form .form-actions select { padding: 9px 11px; border: 1px solid var(--border); border-radius: 8px; }

/* ============================================================
   移动端增强（手机优先适配）
   目标：
   1) 顶部导航横向滚动，不再挤压/溢出（后台共 9 个入口）
   2) 表格改为横向滑动查看，不再隐藏列（原 nth-child(n+4) 会丢数据）
   3) 输入框字号 >=16px，避免 iOS 聚焦时页面自动放大
   4) 触控目标高度 >=40px，表内操作链接加大点击区
   5) 表单纵向铺满、卡片与间距收紧
   ============================================================ */

/* 表格横向滚动容器：由 app.js 自动为 table.grid 包裹 */
.table-wrap {
  width: 100%;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}
.table-wrap > .grid { margin-bottom: 0; box-shadow: none; border-radius: 0; }

@media (max-width: 760px) {
  /* ---- 顶部栏：品牌独占一行，导航横向滚动并吸顶 ---- */
  .topbar {
    height: auto; padding: 10px 12px; gap: 8px;
    flex-direction: column; align-items: stretch;
    position: sticky; top: 0; z-index: 100;
  }
  .topbar .brand { font-size: 15px; }
  .topbar nav {
    justify-content: flex-start; gap: 16px;
    overflow-x: auto; -webkit-overflow-scrolling: touch;
    scrollbar-width: none; padding-bottom: 2px;
  }
  .topbar nav::-webkit-scrollbar { display: none; }
  .topbar nav a, .topbar nav .user, .topbar nav .btn-exit {
    white-space: nowrap; padding: 6px 0;
  }
  .topbar .user { font-size: 13px; }

  /* ---- 容器 / 卡片 / 标题 ---- */
  .container { padding: 16px 12px; }
  .page-head { flex-direction: column; align-items: flex-start; gap: 10px; }
  .page-head h1 { font-size: 18px; }
  .card { padding: 16px 14px; }
  .form-card, .login-box { padding: 18px 16px; }

  /* ---- 触控目标放大 ---- */
  .btn-primary, .btn-ghost, .btn-exit { padding: 10px 16px; min-height: 40px; }
  .btn-mini {
    display: inline-flex; align-items: center;
    padding: 8px 12px; min-height: 36px; font-size: 13px;
  }
  .grid td.ops a { display: inline-block; margin: 2px 12px 2px 0; padding: 4px 0; }

  /* ---- 表单：输入项纵向铺满，避免并排挤压 ---- */
  .contact-form input, .contact-form select, .contact-form textarea,
  .wl-form input, .wl-form select,
  .exp-form input, .exp-form select,
  .repair-form input, .repair-form select, .repair-form textarea,
  .insp-form input, .insp-form select, .insp-form textarea,
  .upload-form input, .secret-form input, .secret-form select,
  .pw-form input, .share-link input,
  .log-form .form-actions input[type=file] {
    flex: 1 1 100%; min-width: 0;
  }
  .contact-form .btn-primary, .wl-form .btn-primary, .exp-form .btn-primary,
  .repair-form .btn-primary, .insp-form .btn-primary,
  .upload-form .btn-primary, .secret-form .btn-primary, .pw-form .btn-primary,
  .log-form .form-actions .btn-primary {
    width: 100%;
  }
  .form-actions { gap: 8px; }
  .form-actions .btn-primary, .form-actions .btn-ghost { flex: 1 1 auto; min-height: 44px; }
  .dev-grid, .insp-grid { grid-template-columns: 1fr; }
  /* 取消编辑按钮不再被 margin-left:auto 顶到屏幕边缘 */
  .device-form #device-cancel { margin-left: 0; }
  .share-link { flex-wrap: wrap; }
  .import-bar { padding: 10px; }
  .import-bar form.inline { flex-wrap: wrap; }
  .import-bar input[type="file"] { max-width: 100%; }

  /* ---- 分享页：品牌头与二维码纵向排列 ---- */
  .share-brand { flex-direction: column; align-items: flex-start; gap: 12px; }
  .share-brand .brand-qr { margin-left: 0; align-self: flex-start; }
  .share-brand .brand-logo { max-width: 160px; }

  /* ---- 拓扑图：降低高度，留出页面滚动空间 ---- */
  .topo-wrap svg { height: 420px; }

  /* ---- 详情信息条 / 统计条 换行 ---- */
  .info-bar { gap: 12px; }
  .wo-head { flex-wrap: wrap; }
  .stat-bar { flex-wrap: wrap; }
  .insp-head { gap: 8px; }
}

/* ---- 小屏（<=480px）进一步压缩 ---- */
@media (max-width: 480px) {
  .container { padding: 14px 10px; }
  .card { padding: 14px 12px; }
  .page-head h1 { font-size: 17px; }
  .grid th, .grid td { padding: 9px 10px; }
  .topo-wrap svg { height: 360px; }
  .login-main { padding: 22px 14px; }
  .login-card { padding: 20px 16px; }
  .footer-note { font-size: 11px; }
  .info-bar { gap: 10px; }
}

/* ---- 防止 iOS 聚焦输入框时页面自动放大（字号需 >= 16px） ---- */
@media (max-width: 760px) {
  input[type=text], input[type=password], input[type=number], input[type=date],
  input[type=datetime-local], input[type=file], select, textarea {
    font-size: 16px !important;
  }
  .login-form .field input { font-size: 16px; }
  /* 拓扑图重命名输入框为浮层小控件，保持原有紧凑字号 */
  .topo-rename-input { font-size: 13px !important; }
}

/* ---- 长文本 / 长 URL 强制换行，避免撑破布局 ---- */
.desc, .timeline .log-note, .muted, .file-list .m-name, .file-list .s-label {
  overflow-wrap: anywhere;
  word-break: break-word;
}
.share-link input { text-overflow: ellipsis; }
/* 注意：不要给 body 设置 overflow-x:hidden —— 会把 body 变成滚动容器，
   导致移动端顶部栏的 position:sticky 失效。横向溢出已由表格滚动容器与长文本换行解决。 */

/* ---- 尊重「减少动效」系统偏好 ---- */
@media (prefers-reduced-motion: reduce) {
  * {
    animation-duration: .01ms !important;
    transition-duration: .01ms !important;
    scroll-behavior: auto !important;
  }
}

