/* ===== 工具箱统一操作层 v1 ===== */
.ux-help {
  display: block;
  margin: 14px 0 4px;
  background: #fff;
  border: 1px solid #e3e8f0;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 1px 2px rgba(16, 24, 40, .04);
}
.ux-help > summary {
  list-style: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 11px 16px;
  background: linear-gradient(180deg, #fbfcfe, #f6f8fc);
  font-size: 13px;
  color: #2b3a55;
  user-select: none;
}
.ux-help > summary::-webkit-details-marker { display: none; }
.ux-help > summary::before {
  content: "?";
  flex: 0 0 auto;
  width: 18px; height: 18px;
  display: inline-flex; align-items: center; justify-content: center;
  border-radius: 50%;
  background: #2e6bff; color: #fff;
  font-size: 11.5px; font-weight: 700;
}
.ux-help .ux-h-t { font-weight: 700; letter-spacing: .01em; }
.ux-help .ux-h-x { color: #8b97ab; font-size: 12px; }
.ux-help .ux-h-x::after { content: " · 点开看怎么用"; }
.ux-help[open] .ux-h-x::after { content: " · 点这里收起"; }
.ux-help .ux-h-body { padding: 4px 16px 14px; border-top: 1px solid #eef1f6; }
.ux-what { margin: 10px 0 12px; font-size: 13.5px; color: #1f2328; line-height: 1.7; }
.ux-what b { color: #12315f; }
.ux-h-cols { display: grid; grid-template-columns: 1fr 1fr; gap: 14px 22px; }
.ux-h-cols > div { min-width: 0; }
.ux-h-cols h4 {
  margin: 0 0 6px; font-size: 12.5px; font-weight: 700; color: #6b7a92;
  letter-spacing: .04em;
}
.ux-h-cols ol, .ux-h-cols ul { margin: 0; padding-left: 18px; }
.ux-h-cols li { font-size: 13px; line-height: 1.85; color: #374151; }
.ux-h-cols ol li::marker { color: #2e6bff; font-weight: 700; }
.ux-h-cols ul li::marker { color: #d97706; }
.ux-h-cols ul.warn li::marker { color: #d0342c; }
.ux-legend {
  margin-top: 12px; padding-top: 10px; border-top: 1px dashed #e6eaf1;
  display: flex; flex-wrap: wrap; gap: 6px 8px;
  font-size: 12.5px; color: #4b5563;
}
.ux-legend span { background: #f4f6fa; border: 1px solid #e6ebf3; border-radius: 6px; padding: 3px 9px; }
.ux-legend b { color: #12315f; }
@media (max-width: 720px) {
  .ux-h-cols { grid-template-columns: 1fr; }
}

/* ===== 固定操作条 ===== */
.ux-nav {
  position: fixed; left: 14px; bottom: 14px; z-index: 9000;
  display: flex; gap: 8px;
}
.ux-nav a, .ux-nav button {
  appearance: none; cursor: pointer;
  display: inline-flex; align-items: center; gap: 5px;
  padding: 8px 13px; border-radius: 10px;
  background: rgba(255, 255, 255, .96); border: 1px solid #dbe2ee;
  color: #24344f; font-size: 12.5px; font-weight: 600; text-decoration: none;
  box-shadow: 0 6px 18px -8px rgba(16, 24, 40, .35);
  backdrop-filter: blur(6px);
  transition: transform .14s ease, border-color .14s ease, color .14s ease;
  font-family: inherit;
}
.ux-nav a:hover, .ux-nav button:hover { transform: translateY(-2px); border-color: #b9cdf3; color: #1f4fd8; }
@media (max-width: 720px) {
  .ux-nav { left: 10px; right: 10px; bottom: 10px; justify-content: space-between; gap: 6px; }
  .ux-nav a, .ux-nav button { flex: 1 1 0; justify-content: center; padding: 9px 6px; font-size: 12px; }
  body { padding-bottom: 56px; }
}

/* 站内提示条 */
.ux-toast {
  position: fixed; left: 50%; bottom: 74px; transform: translateX(-50%) translateY(8px);
  background: rgba(22, 34, 54, .94); color: #fff; font-size: 13px;
  padding: 9px 16px; border-radius: 9px; opacity: 0; pointer-events: none;
  transition: opacity .2s ease, transform .2s ease; z-index: 9500;
}
.ux-toast.on { opacity: 1; transform: translateX(-50%) translateY(0); }
