* { box-sizing: border-box; }
html, body { margin: 0; height: 100%; }
body {
  font-family: -apple-system, BlinkMacSystemFont, 'PingFang SC', 'Microsoft YaHei', 'Helvetica Neue', sans-serif;
  background: #f5f7fa; color: #1f2937; font-size: 14px;
}
.hidden { display: none !important; }
button { font-family: inherit; }

/* ---------- 登录 ---------- */
.login-wrap {
  min-height: 100vh; display: flex; align-items: center; justify-content: center;
  background: #eef2f7; padding: 24px;
}
.login-card {
  width: 430px; background: #fff; border: 1px solid #e5e9f0; border-radius: 16px;
  padding: 30px 32px 24px;
}
.brand { font-size: 19px; font-weight: 600; display: flex; align-items: center; gap: 9px; }
.mark { width: 10px; height: 22px; border-radius: 3px; background: #2563eb; display: inline-block; }
.sub { color: #6b7280; font-size: 13px; margin: 8px 0 22px; }
.fld { display: block; margin-bottom: 13px; }
.fld > span { display: block; font-size: 12px; color: #6b7280; margin-bottom: 5px; }
.fld input, .fld select, .fld textarea {
  width: 100%; padding: 9px 11px; border: 1px solid #dbe3ee; border-radius: 9px;
  font-size: 14px; font-family: inherit; background: #fff; color: #1f2937; outline: none;
}
.fld input:focus, .fld select:focus, .fld textarea:focus { border-color: #93b4f5; }
.btn {
  border: 1px solid #dbe3ee; background: #fff; color: #374151; border-radius: 9px;
  padding: 8px 13px; font-size: 13px; cursor: pointer; white-space: nowrap;
}
.btn:hover { border-color: #c3d0e4; }
.btn.primary { background: #2563eb; border-color: #2563eb; color: #fff; }
.btn.primary:hover { background: #1d4ed8; }
.btn.ghost { background: transparent; }
.btn.sm { padding: 5px 10px; font-size: 12px; }
.btn.block { width: 100%; padding: 10px; font-size: 14px; margin-top: 4px; }
.err { color: #dc2626; font-size: 12px; min-height: 16px; margin: 8px 0 0; }
.accounts { margin: 18px 0 4px; }
.acc-h { font-size: 11px; color: #9ca3af; margin-bottom: 8px; }
.acc-h.on { font-size: 14px; font-weight: 600; color: #111827; margin-bottom: 5px; }
.acc-sub { font-size: 11.5px; color: #9ca3af; margin-bottom: 11px; line-height: 1.5; }
.acc-list { display: grid; grid-template-columns: 1fr 1fr; gap: 7px; }
.acc {
  position: relative;
  border: 1px solid #e5eaf2; background: #fafbfd; border-radius: 9px; padding: 9px 11px;
  text-align: left; cursor: pointer; display: flex; flex-direction: column; gap: 2px;
  transition: border-color .12s, background .12s;
}
.acc:hover, .acc:active { border-color: #2563eb; background: #eef4ff; }
.acc[disabled] { opacity: .55; cursor: default; }
.acc b { font-size: 13px; color: #1f2937; font-weight: 600; }
.acc span { font-size: 11px; color: #9ca3af; line-height: 1.35; }
.acc.last::after {
  content: "上次"; position: absolute; top: -7px; right: 7px;
  background: #2563eb; color: #fff; font-size: 9px; line-height: 1;
  padding: 3px 5px; border-radius: 4px;
}
.manual { margin-top: 16px; border-top: 1px dashed #e5e9f0; padding-top: 12px; }
.manual > summary {
  font-size: 12px; color: #6b7280; cursor: pointer; list-style: none;
  padding: 2px 0; user-select: none;
}
.manual > summary::-webkit-details-marker { display: none; }
.manual > summary::before { content: "▸ "; color: #9ca3af; }
.manual[open] > summary::before { content: "▾ "; }
.manual[open] > summary { margin-bottom: 10px; }
.manual form { margin-top: 4px; }
.qr-link {
  display: block; text-align: center; margin-top: 14px; padding-top: 12px;
  border-top: 1px dashed #e5e9f0; font-size: 12.5px; color: #2563eb; text-decoration: none;
}
.qr-link:hover { text-decoration: underline; }

/* ---------- 应用骨架 ---------- */
.app { display: flex; height: 100vh; overflow: hidden; }
.side {
  width: 222px; flex: 0 0 222px; background: #fff; border-right: 1px solid #e5e9f0;
  display: flex; flex-direction: column; padding: 18px 12px;
}
.logo { font-size: 19px; font-weight: 600; padding: 0 10px 18px; letter-spacing: .5px; }
.logo span { color: #2563eb; font-size: 11px; font-weight: 500; margin-left: 3px; }
nav { display: flex; flex-direction: column; gap: 3px; }
nav button {
  display: flex; align-items: center; gap: 10px; width: 100%; border: 0;
  background: transparent; padding: 10px 12px; border-radius: 9px;
  font-size: 13.5px; color: #4b5563; cursor: pointer; text-align: left;
}
nav button:hover { background: #f3f6fb; }
nav button.on { background: #eff6ff; color: #1d4ed8; font-weight: 500; }
.ico { width: 18px; text-align: center; opacity: .75; font-size: 15px; }
.side-foot { margin-top: auto; font-size: 11px; color: #9ca3af; padding: 12px 10px 0; }

.main { flex: 1; display: flex; flex-direction: column; min-width: 0; }
.top {
  height: 56px; flex: 0 0 56px; background: #fff; border-bottom: 1px solid #e5e9f0;
  display: flex; align-items: center; justify-content: space-between; padding: 0 22px;
}
.crumb { font-size: 15px; font-weight: 500; }
.top-right { display: flex; align-items: center; gap: 14px; font-size: 12px; color: #6b7280; }
.live { display: inline-flex; align-items: center; gap: 6px; color: #16a34a; }
.live i { width: 7px; height: 7px; border-radius: 50%; background: #16a34a; display: inline-block; }
.me { color: #374151; }
.view { flex: 1; overflow: auto; padding: 20px 22px 44px; }

/* ---------- 卡片 / KPI ---------- */
.kpis { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 12px; margin-bottom: 16px; }
.kpis.k4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.kpi { background: #fff; border: 1px solid #e5e9f0; border-radius: 12px; padding: 14px; }
.kpi-l { font-size: 12px; color: #6b7280; }
.kpi-v { font-size: 19px; font-weight: 600; margin-top: 6px; letter-spacing: -.2px; }
.kpi-s { font-size: 11px; color: #9ca3af; margin-top: 4px; }

.grid2 { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-bottom: 16px; }
.card { background: #fff; border: 1px solid #e5e9f0; border-radius: 14px; padding: 16px 18px; margin-bottom: 16px; }
.card-h { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 12px; }
.card-h h3 { font-size: 14px; font-weight: 600; margin: 0; }
.row { display: flex; gap: 8px; align-items: center; }

/* ---------- 表格 ---------- */
.t { width: 100%; border-collapse: collapse; font-size: 13px; }
.t th {
  text-align: left; font-weight: 500; color: #6b7280; background: #f8fafc;
  padding: 9px 10px; border-bottom: 1px solid #e5e9f0; white-space: nowrap;
}
.t td { padding: 10px; border-bottom: 1px solid #f1f4f9; vertical-align: top; }
.t tr:last-child td { border-bottom: 0; }
.t.small th, .t.small td { padding: 6px 8px; font-size: 12px; }
.t tr.low td { background: #fff7ed; }
.bad { color: #dc2626; font-weight: 500; }
.muted { color: #9ca3af; }
.sub2 { color: #9ca3af; font-size: 12px; }
.hint { color: #9ca3af; font-size: 12px; margin: 8px 0 0; }

.pill { display: inline-block; padding: 2px 8px; border-radius: 999px; font-size: 12px; white-space: nowrap; }
.pill.ok { background: #ecfdf5; color: #047857; }
.pill.run { background: #eff6ff; color: #1d4ed8; }
.pill.wait { background: #f3f4f6; color: #6b7280; }
.pill.bad { background: #fef2f2; color: #b91c1c; }

/* ---------- 任务工序 ---------- */
.task { border: 1px solid #eef1f6; border-radius: 12px; padding: 14px; margin-bottom: 12px; }
.task:last-child { margin-bottom: 0; }
.task-h { display: flex; justify-content: space-between; align-items: center; gap: 12px; }
.task-h b { font-size: 14px; }
.task-meta { color: #6b7280; font-size: 12px; margin-top: 4px; }
.pipe { display: flex; gap: 8px; margin-top: 12px; }
.step {
  flex: 1; border: 1px solid #e5e9f0; background: #fff; border-radius: 10px;
  padding: 8px 10px; text-align: left; cursor: pointer; display: flex; flex-direction: column; gap: 2px;
}
.step:hover { border-color: #bfdbfe; }
.step b { font-size: 13px; font-weight: 500; }
.step span { font-size: 12px; color: #6b7280; }
.step em { font-size: 11px; color: #9ca3af; font-style: normal; }
.step.done { background: #ecfdf5; border-color: #a7f3d0; }
.step.done span { color: #047857; }
.step.run { background: #eff6ff; border-color: #bfdbfe; }
.step.run span { color: #1d4ed8; }
/* 不适用：这道工序这单不走（例如纯带料不用缝纫），灰掉但可点回来 */
.step.na { background: #f8fafc; border-style: dashed; opacity: .55; }
.step.na span { color: #9ca3af; }

/* ---------- 产品 / BOM ---------- */
.prod { border: 1px solid #eef1f6; border-radius: 12px; padding: 14px; margin-bottom: 12px; }
.prod:last-child { margin-bottom: 0; }
.prod-h { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin-bottom: 12px; }
.prod-h b { font-size: 14px; }
.mini-h { font-size: 12px; color: #6b7280; margin-bottom: 6px; }
.cost-line { margin-top: 8px; font-size: 12px; color: #6b7280; }

/* ---------- 动态 ---------- */
.logs { list-style: none; padding: 0; margin: 0; }
.logs li { padding: 8px 0; border-bottom: 1px dashed #eef1f6; display: flex; justify-content: space-between; gap: 12px; font-size: 13px; }
.logs li:last-child { border-bottom: 0; }
.logs em { color: #9ca3af; font-style: normal; font-size: 12px; white-space: nowrap; }

/* ---------- 弹窗 ---------- */
.modal-wrap { position: fixed; inset: 0; z-index: 50; }
.modal-mask { position: absolute; inset: 0; background: rgba(15, 23, 42, .38); display: flex; align-items: center; justify-content: center; padding: 20px; }
.modal { position: relative; width: 480px; max-width: 100%; max-height: 88vh; overflow: auto; background: #fff; border-radius: 14px; padding: 20px 22px; }
.modal-h { display: flex; justify-content: space-between; align-items: center; margin-bottom: 14px; }
.modal-h h3 { font-size: 15px; font-weight: 600; margin: 0; }
.x { border: 0; background: transparent; font-size: 20px; color: #9ca3af; cursor: pointer; line-height: 1; }
.modal-body { max-height: 62vh; overflow: auto; padding-right: 2px; }
.modal-f { display: flex; justify-content: flex-end; gap: 8px; margin-top: 16px; padding-top: 14px; border-top: 1px solid #eef1f6; }

/* ---------- Toast ---------- */
.toast {
  position: fixed; left: 50%; bottom: 28px; transform: translateX(-50%);
  background: #111827; color: #fff; padding: 10px 16px; border-radius: 10px;
  font-size: 13px; opacity: 0; transition: opacity .18s; pointer-events: none; z-index: 80;
}
.toast.show { opacity: 1; }
.toast.bad { background: #b91c1c; }

@media (max-width: 1200px) {
  .kpis { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (max-width: 900px) {
  .grid2 { grid-template-columns: 1fr; }
  .pipe { flex-wrap: wrap; }
  .step { flex: 1 1 30%; }
}

/* ---------- 手机端（企业微信内置浏览器 / 手机浏览器） ---------- */
@media (max-width: 820px) {
  .app { flex-direction: column; height: 100vh; height: 100dvh; }

  /* 侧栏变顶部横向导航（换行铺开，不用左右滑，一眼看全所有菜单） */
  .side {
    width: 100%; flex: 0 0 auto; flex-direction: row; align-items: center;
    padding: 6px 8px; border-right: 0; border-bottom: 1px solid #e5e9f0;
  }
  .logo { display: none; }
  .side-foot { display: none; }
  nav { flex-direction: row; gap: 6px; flex-wrap: wrap; }
  nav button {
    width: auto; flex: 0 0 auto; white-space: nowrap;
    padding: 8px 11px; font-size: 14.5px; border-radius: 8px;
  }
  nav button .ico { display: none; }

  .top { height: auto; flex: 0 0 auto; flex-wrap: wrap; gap: 6px; padding: 8px 12px; }
  .crumb { font-size: 14px; }
  .top-right { gap: 10px; font-size: 12px; }

  .view { padding: 12px 12px 40px; }

  .kpis { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
  .kpis.k4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .kpi { padding: 12px; min-width: 0; }
  .kpi-l { font-size: 11.5px; }
  .kpi-v { font-size: 16px; line-height: 1.35; word-break: break-word; }
  .kpi-s { font-size: 10.5px; }

  .card { padding: 12px; border-radius: 12px; }
  .card-h { flex-wrap: wrap; gap: 8px; }

  /* 宽表格在卡片内横向滚动，不撑破页面 */
  .card { overflow-x: auto; -webkit-overflow-scrolling: touch; }
  .t { min-width: 100%; font-size: 12.5px; }
  .t th, .t td { padding: 8px 9px; white-space: nowrap; }
  .t td .sub2 { white-space: normal; }

  .task-h, .prod-h { flex-wrap: wrap; }
  .pipe { gap: 6px; }
  .step { flex: 1 1 calc(50% - 6px); padding: 11px 12px; }
  /* 车间手机屏幕小、光线差，工序字放大一档（2026-10-28 按王织带反馈调整） */
  .step b { font-size: 15px; font-weight: 600; }
  .step span { font-size: 13.5px; }
  .step em { font-size: 12px; }

  .logs li { flex-direction: column; gap: 3px; }

  /* iOS / 企业微信 聚焦输入框会自动放大页面，故统一 16px */
  .fld input, .fld select, .fld textarea { font-size: 16px; padding: 10px 12px; }
  .btn { padding: 9px 12px; }
  .btn.sm { padding: 7px 10px; font-size: 12.5px; }

  .login-wrap { padding: 14px; align-items: flex-start; padding-top: 34px; }
  .login-card { width: 100%; padding: 22px 18px 18px; border-radius: 14px; }
  /* 两列排开，9 个名字一屏看完，不用一直往下滑 */
  .acc-list { grid-template-columns: 1fr 1fr; gap: 8px; }

  .modal-mask { padding: 10px; }
  .modal { width: 100%; max-height: 90vh; padding: 16px; border-radius: 12px; }
  .modal-body { max-height: 66vh; }
  .toast { bottom: 20px; max-width: calc(100% - 32px); text-align: center; }

  /* ===== 手机端字号整体放大一档（全员用手机登录，2026-10-28） ===== */
  body { font-size: 15.5px; -webkit-text-size-adjust: 100%; }
  nav button { font-size: 15px; padding: 10px 13px; }
  nav button .ico { font-size: 16px; }
  .crumb { font-size: 17px; }
  .top-right { font-size: 13.5px; }
  .btn { font-size: 14.5px; padding: 10px 14px; }
  .btn.sm { font-size: 14px; padding: 8px 11px; }
  .btn.block { font-size: 16px; padding: 12px; }
  .fld > span { font-size: 13.5px; }
  .modal-h h3 { font-size: 17.5px; }
  .err { font-size: 13.5px; }

  .kpi-l { font-size: 13px; }
  .kpi-v { font-size: 20px; }
  .kpi-s { font-size: 12px; }
  .card-h h3 { font-size: 16.5px; }
  .card-h .muted { font-size: 13px; }
  .sub2 { font-size: 13px; }
  .hint { font-size: 13px; }
  .pill { font-size: 13px; padding: 3px 9px; }

  .t { font-size: 14.5px; }
  .t th { font-size: 13.5px; }
  .t.small th, .t.small td { font-size: 13.5px; }
  .t th, .t td { padding: 10px; }
  /* 手机上列太多会横着跑，把次要列收起来，让「物料 + 数量 + 按钮」一屏看全 */
  .t th.cm, .t td.cm { display: none; }
  .t td.qty b { font-size: 17px; }
  /* 方向列收起后，靠数量颜色区分进出：绿=入，橙=出 */
  .t td.in b { color: #047857; }
  .t td.out b { color: #b45309; }
  /* 「缺什么」这类长文字允许换行，别把右边的按钮挤出去 */
  .t td.sub2 { white-space: normal; min-width: 84px; }
  /* 但「余 73」这种附注不要断成两行 */
  .t td .sub2 { white-space: nowrap; }

  .task-h b { font-size: 16px; }
  .task-meta { font-size: 13.5px; }
  .step b { font-size: 16.5px; }
  .step span { font-size: 15px; }
  .step em { font-size: 13px; }
  .prod-h b { font-size: 16px; }
  .mini-h { font-size: 13.5px; }
  .cost-line { font-size: 13.5px; }
  .logs li { font-size: 15px; }
  .logs em { font-size: 13px; }

  /* 登录页：一个个名字更好认、更好点 */
  .brand { font-size: 21px; }
  .sub { font-size: 14.5px; }
  .acc-h { font-size: 12.5px; }
  .acc-h.on { font-size: 16.5px; }
  .acc-sub { font-size: 13px; }
  .acc { padding: 12px 13px; }
  .acc b { font-size: 16px; }
  .acc span { font-size: 12.5px; }
  .manual summary { font-size: 13.5px; }

  /* 仓库收发 */
  .qbtn { padding: 14px 12px; }
  .qbtn b { font-size: 16px; }
  .qbtn span { font-size: 12.5px; }
  .arr { font-size: 14.5px; }
  .arr b { font-size: 15.5px; }
  .arr em { font-size: 13px; }
  .tag { font-size: 12.5px; padding: 2px 7px; }
  .tile-h b { font-size: 14.5px; }
  .tile-h span { font-size: 12px; }
  .tile-i { font-size: 13.5px; flex-wrap: wrap; }
  .tile-i b { font-size: 15.5px; }
  .tile-i em { font-size: 12.5px; }
  .tile-more, .tile-muted { font-size: 12.5px; }
  .strip-n b { font-size: 22px; }
  .strip-n span { font-size: 13px; }
  .strip-l { font-size: 13.5px; }
  .strip-i b { font-size: 14.5px; }
  .strip-i span { font-size: 12.5px; }
  .rdy { font-size: 12px; padding: 2px 6px; }
  u.io { font-size: 12.5px; }
}

/* ---------- 仓库收发 / 物料流转 ---------- */
.quick { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 10px; }
.qbtn {
  border: 1px solid #dbe3ee; background: #fafbfd; border-radius: 11px; padding: 13px 14px;
  text-align: left; cursor: pointer; display: flex; flex-direction: column; gap: 3px;
}
.qbtn:hover { border-color: #2563eb; background: #eef4ff; }
.qbtn b { font-size: 14px; font-weight: 600; color: #1f2937; }
.qbtn span { font-size: 11.5px; color: #9ca3af; }

.arr-box { margin-top: 14px; border-top: 1px dashed #eef1f6; padding-top: 12px; }
.arr { font-size: 13px; padding: 7px 0; border-bottom: 1px dashed #f1f4f9; display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.arr:last-child { border-bottom: 0; }
.arr b { font-size: 13px; }
.arr em { color: #9ca3af; font-style: normal; font-size: 12px; margin-left: auto; }

.tag { font-style: normal; font-size: 11px; padding: 1px 6px; border-radius: 4px; }
.tag.in { background: #ecfdf5; color: #047857; }
.tag.out { background: #fff7ed; color: #b45309; }

/* 流水线看板 */
.line { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 8px; }
@media (min-width: 1180px) { .line { grid-template-columns: repeat(8, minmax(0, 1fr)); } }
.tile {
  border: 1px solid #e5e9f0; border-radius: 11px;
  background: #fafbfd; padding: 10px 11px; display: flex; flex-direction: column; gap: 6px; min-width: 0;
}
.tile.wip { background: #f5f9ff; border-color: #dbe7fb; }
.tile-h { display: flex; flex-direction: column; gap: 1px; }
.tile-h b { font-size: 12.5px; font-weight: 600; }
.tile-h span { font-size: 10.5px; color: #9ca3af; }
.tile-i { display: flex; align-items: baseline; gap: 4px; font-size: 11.5px; color: #4b5563; }
.tile-i span { flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.tile-i b { font-size: 13px; color: #1f2937; }
.tile-i em { font-style: normal; font-size: 10.5px; color: #9ca3af; }
.tile-i.low b { color: #b45309; }
.tile-more { font-size: 10.5px; color: #9ca3af; }
.tile-muted { font-size: 11.5px; color: #c0c6d0; }
.arrow { display: flex; align-items: center; color: #cbd5e1; font-size: 13px; flex: 0 0 auto; }

/* 概览页今日仓库小条 */
.strip { display: flex; align-items: center; gap: 18px; padding: 12px 16px; flex-wrap: wrap; }
.strip-n { display: flex; align-items: baseline; gap: 5px; }
.strip-n b { font-size: 19px; font-weight: 600; }
.strip-n span { font-size: 11.5px; color: #6b7280; }
.strip-l { flex: 1; min-width: 220px; display: flex; gap: 16px; flex-wrap: wrap; font-size: 12px; color: #4b5563; }
.strip-i { display: flex; align-items: baseline; gap: 4px; padding-left: 12px; border-left: 1px solid #eef1f6; }
.strip-i:first-child { border-left: 0; padding-left: 0; }
.strip-i b { font-size: 12px; }
.strip-i span { color: #9ca3af; font-size: 11px; }

/* 工序上的「料齐/等料」角标 + 领入痕迹 */
.step b { display: flex; align-items: center; gap: 6px; }
.rdy { font-style: normal; font-size: 10px; padding: 1px 5px; border-radius: 4px; font-weight: 400; }
.rdy.ok { background: #ecfdf5; color: #047857; }
.rdy.bad { background: #fef2f2; color: #b91c1c; }
u.io { text-decoration: none; font-size: 10.5px; color: #2563eb; margin-top: 2px; }

@media (max-width: 820px) {
  /* 结构性调整；字号统一在上面「手机端字号整体放大」块里定义，这里不要重复写 font-size */
  .quick { grid-template-columns: 1fr 1fr; gap: 9px; }
  .line { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 7px; }
  .tile { padding: 10px 11px; }
  .strip { gap: 12px; padding: 11px 12px; }
  .strip-l { display: none; }
}

/* ---------- 问题反馈 ---------- */
.fb-item {
  border: 1px solid #e5e9f0; border-radius: 10px;
  padding: 12px 14px; margin-bottom: 10px; background: #fff;
}
.fb-item.is-done { background: #f8fafc; border-color: #e8edf4; }
.fb-item.is-done .fb-text { color: #94a3b8; }
.fb-head { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; margin-bottom: 7px; font-size: 12px; }
.fb-head b { font-size: 13px; font-weight: 600; }
.fb-text { font-size: 13px; line-height: 1.75; color: #334155; white-space: pre-wrap; }
.fb-reply { margin-top: 8px; font-size: 12px; color: #15803d; background: #f0fdf4; border: 1px solid #dcfce7; border-radius: 8px; padding: 7px 10px; }

/* ---------- 合同明细 / 任务单明细 / 校验结果 ---------- */
.modal.wide { width: 920px; }
.t.tight th, .t.tight td { padding: 7px 8px; font-size: 12.5px; }
.t .r, .t th.r { text-align: right; white-space: nowrap; }
.kv { display: grid; grid-template-columns: 88px 1fr 88px 1fr; gap: 6px 10px; align-items: baseline; margin-bottom: 10px; font-size: 12.5px; }
.kv span { color: #94a3b8; }
.kv b { font-weight: 600; color: #0f172a; }
.chk { border-radius: 8px; padding: 8px 11px; font-size: 13px; font-weight: 600; margin: 12px 0 6px; }
.chk.ok { background: #f0fdf4; color: #15803d; border: 1px solid #dcfce7; }
.chk.bad { background: #fef2f2; color: #b91c1c; border: 1px solid #fee2e2; }
.chk-list { margin: 6px 0 0; padding-left: 18px; font-size: 12.5px; line-height: 1.75; }
.chk-list.bad li { color: #b91c1c; }
.chk-list.warn li { color: #b45309; }
.wb-box { margin-top: 10px; border: 1px solid #e5e9f0; border-radius: 8px; padding: 9px 11px; font-size: 12.5px; }
.wb-row { display: grid; grid-template-columns: 1fr 92px 92px; gap: 8px; padding: 3px 0; color: #334155; }
.wb-row span:not(:first-child) { text-align: right; font-variant-numeric: tabular-nums; }
.wb-line { margin-top: 8px; display: flex; align-items: center; gap: 6px; flex-wrap: wrap; }
.wb-t { font-size: 12px; color: #94a3b8; }
.wchip { font-style: normal; font-size: 11.5px; background: #eff6ff; color: #1d4ed8; border-radius: 999px; padding: 2px 9px; }
details.lines { margin-top: 8px; }
details.lines summary { cursor: pointer; font-size: 12.5px; color: #2563eb; outline: none; padding: 3px 0; }
details.lines[open] summary { margin-bottom: 6px; }
