﻿.desktop-hint { font-size: 12px; color: var(--muted); padding: 4px 12px; background: var(--blue-soft, #edf4ff); border-radius: 8px; margin: 0 -4px 8px; line-height: 1.6; } .desktop-hint span { margin-right: 4px; }
.hero-row { display: grid; gap: 14px; margin-top: 12px; }

.carousel {
  position: relative;
  overflow: hidden;
  border-radius: 20px;
  height: 130px;
  background: #15396f;
  box-shadow: 0 14px 32px rgba(19, 60, 119, .18);
}
.carousel::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 4;
  pointer-events: none;
  background: linear-gradient(120deg, transparent 40%, rgba(255,255,255,.08) 48%, transparent 56%);
  background-size: 220% 100%;
  animation: softShimmer 5.5s ease-in-out infinite;
  mix-blend-mode: soft-light;
  opacity: .7;
}

.carousel-track {
  display: flex;
  height: 100%;
  transition: transform 0.55s var(--ease);
}

.slide {
  min-width: 100%;
  height: 100%;
  position: relative;
  overflow: hidden;
  color: #fff;
}
.slide::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(90deg, rgba(5, 20, 47, .74) 0%, rgba(5, 20, 47, .28) 60%, rgba(5, 20, 47, .08) 100%);
}

.slide img.cover {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.04);
  transition: transform 6s linear;
}
.slide.is-live img.cover { transform: scale(1.1); }

.slide-inner {
  position: relative;
  z-index: 2;
  height: 100%;
  padding: 14px 18px 22px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
}

.slide-kicker {
  display: inline-flex;
  width: max-content;
  padding: 3px 8px;
  border: 1px solid rgba(255,255,255,.28);
  border-radius: 99px;
  background: rgba(255,255,255,.11);
  backdrop-filter: blur(6px);
  font-size: 11px;
  letter-spacing: 0.06em;
  opacity: 0.9;
  font-weight: var(--fw-regular);
}

.slide h3 {
  font-size: 19px;
  font-weight: var(--fw-semibold);
  letter-spacing: 0;
  margin: 6px 0 3px;
}

.slide p { font-size: 14px; opacity: 0.9; font-weight: var(--fw-regular); }

.slide-art { position: absolute; inset: 0; }

.slide-1 .slide-art {
  background:
    radial-gradient(360px 190px at 88% 12%, rgba(66, 207, 255, .42), transparent 58%),
    repeating-linear-gradient(90deg, rgba(255,255,255,.045) 0 1px, transparent 1px 22px),
    linear-gradient(135deg, #122e63 0%, #1e65c9 58%, #31a6e7 100%);
}

.slide-2 .slide-art {
  background:
    radial-gradient(280px 180px at 82% 18%, rgba(89, 255, 215, .26), transparent 60%),
    linear-gradient(135deg, #0b3a68 0%, #0a8a6e 100%);
}

.slide-3 .slide-art {
  background:
    radial-gradient(300px 190px at 84% 12%, rgba(255, 208, 74, .32), transparent 60%),
    linear-gradient(135deg, #1a3a6e 0%, #2f6fd4 55%, #c99512 120%);
}

.slide-deco {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
}
.slide-deco i {
  position: absolute;
  right: 10%;
  border: 1px solid rgba(255,255,255,.24);
  transform: rotate(45deg);
  animation: decoFloat 5.5s var(--ease) infinite;
}
.slide-deco i:nth-child(1) { width: 82px; height: 82px; top: 28px; border-radius: 22px; }
.slide-deco i:nth-child(2) {
  width: 48px;
  height: 48px;
  top: 62px;
  right: 18%;
  border-radius: 14px;
  animation-delay: -.8s;
}
.slide-deco i:nth-child(3) {
  width: 118px;
  height: 118px;
  right: -30px;
  bottom: -52px;
  border-radius: 50%;
  background: rgba(255,255,255,.06);
  animation: none;
  transform: none;
}
.slide-deco::after {
  content: "";
  position: absolute;
  right: 14%;
  top: 22%;
  width: 54px;
  height: 64px;
  opacity: .28;
  background:
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 64 76' fill='none'%3E%3Cpath d='M32 4c12 6 24 8 30 8.5v28c0 16-10 28-30 36C12 40.5 2 28.5 2 40.5v-28C8 12 20 10 32 4Z' stroke='white' stroke-width='3'/%3E%3Cpath d='M20 40l8 8 16-18' stroke='white' stroke-width='3.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E")
    center / contain no-repeat;
  animation: decoFloat 6.5s var(--ease) infinite;
}

.carousel-dots {
  position: absolute;
  left: 50%;
  bottom: 12px;
  transform: translateX(-50%);
  z-index: 3;
  display: flex;
  gap: 5px;
}
.carousel-dots i {
  width: 6px;
  height: 6px;
  border-radius: 99px;
  background: rgba(255,255,255,.45);
}
.carousel-dots i.is-on {
  width: 14px;
  background: #fff;
}

.consult-banner {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  min-height: 56px;
  height: 56px;
  padding: 0 14px 0 16px;
  border-radius: 12px;
  color: #fff;
  text-align: left;
  background: linear-gradient(105deg, #256ef5 0%, #168eea 52%, #1aa87a 100%);
  background-size: 160% 100%;
  animation: softShimmer 7s ease-in-out infinite alternate;
  box-shadow: 0 8px 18px rgba(40, 126, 235, 0.16);
  overflow: hidden;
  position: relative;
  transition: transform .2s var(--ease), box-shadow .2s;
}
.consult-banner:hover {
  transform: translateY(-1px);
  box-shadow: 0 12px 24px rgba(40, 126, 235, 0.22);
}

.consult-banner > div,
.consult-arrow { position: relative; z-index: 2; }

.consult-banner > div {
  display: flex;
  align-items: baseline;
  flex-wrap: wrap;
  gap: 6px 12px;
  min-width: 0;
}

.consult-label {
  display: none;
}

.consult-banner strong {
  display: block;
  font-size: 16px;
  font-weight: var(--fw-medium);
  white-space: nowrap;
}

.consult-banner em {
  display: block;
  margin-top: 0;
  font-style: normal;
  font-size: 13px;
  opacity: 0.88;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.consult-arrow {
  flex: none;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: rgba(255,255,255,.22);
  display: grid;
  place-items: center;
  border: 1px solid rgba(255,255,255,.18);
  font-size: 19px;
  font-weight: var(--fw-medium);
}

.consult-orb {
  position: absolute;
  z-index: 1;
  border-radius: 50%;
  background: rgba(255,255,255,.09);
}
.consult-orb-a { width: 72px; height: 72px; right: 40px; top: -36px; }
.consult-orb-b { width: 40px; height: 40px; right: -8px; bottom: -18px; }

.wish-pool-wrap {
  display: flex;
  justify-content: center;
  margin-top: 14px;
  padding: 14px 8px 4px;
  border-top: 1px solid #eef1f5;
}
.wish-entry {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 4px;
  padding: 4px 14px;
  border-radius: 999px;
  border: 0;
  cursor: pointer;
  background: linear-gradient(135deg, #a78bfa 0%, #7c3aed 100%);
  color: #fff;
  box-shadow: 0 3px 10px rgba(124, 58, 237, .2);
  transition: opacity .2s, transform .15s, box-shadow .2s;
  -webkit-tap-highlight-color: transparent;
}
.wish-entry:hover {
  opacity: .92;
  box-shadow: 0 5px 14px rgba(124, 58, 237, .26);
}
.wish-entry:active {
  transform: scale(.97);
  box-shadow: 0 2px 8px rgba(124, 58, 237, .16);
}
.wish-entry-ico {
  flex: none;
  display: grid;
  place-items: center;
  width: 14px;
  height: 14px;
}
.wish-entry-ico svg {
  width: 14px;
  height: 14px;
  display: block;
  stroke: #fff;
}
.wish-entry-txt {
  font-size: 12px;
  font-weight: 500;
  color: #fff;
  letter-spacing: .02em;
}

.tools-panel {
  padding: 18px 10px 12px;
  border-radius: var(--radius);
  background: rgba(255, 255, 255, .86);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  box-shadow: var(--shadow);
  border: 1px solid rgba(230, 234, 240, .95);
}

.tools-overview {
  position: relative;
  overflow: hidden;
  min-height: 132px;
  margin-top: 16px;
  padding: 22px;
  border-radius: 20px;
  color: #fff;
  background:
    radial-gradient(220px 140px at 85% 20%, rgba(78, 220, 255, .3), transparent 65%),
    linear-gradient(120deg, #164ba6, #2587ee);
  box-shadow: 0 14px 30px rgba(28, 101, 196, .19);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}
.tools-overview span {
  color: rgba(255,255,255,.72);
  font-size: 12px;
  letter-spacing: .1em;
}
.tools-overview strong {
  display: block;
  margin-top: 5px;
  font-size: 21px;
}
.tools-overview p {
  margin-top: 7px;
  color: rgba(255,255,255,.82);
  font-size: 13px;
}
.tools-overview b {
  position: relative;
  flex: none;
  width: 72px;
  height: 72px;
  border: 1px solid rgba(255,255,255,.24);
  border-radius: 22px;
  background: rgba(255,255,255,.12);
  display: grid;
  place-content: center;
  text-align: center;
  font-size: 28px;
  line-height: 1;
}
.tools-overview b small {
  display: block;
  margin-top: 5px;
  font-size: 11px;
  font-weight: var(--fw-medium);
  opacity: .78;
}

@media (min-width: 900px) {
  .hero-row {
    grid-template-columns: 1fr;
    gap: 12px;
  }
  .carousel { height: 160px; }
  .slide-inner { padding: 30px 32px 40px; }
  .slide h3 { font-size: 31px; }
  .slide p { font-size: 15px; }
  .consult-banner {
    height: 52px;
    min-height: 52px;
    width: 100%;
    max-width: none;
    margin-inline: 0;
    padding: 0 16px 0 18px;
    border-radius: 11px;
  }
  .consult-banner strong { font-size: 16px; }
  .consult-banner em { font-size: 13.5px; }
  .consult-arrow { width: 28px; height: 28px; }
  .tools-panel { padding: 24px 20px 20px; }
  .tools-overview { min-height: 160px; padding: 30px 34px; }
  .tools-overview strong { font-size: 27px; }
  .wish-pool-wrap { margin-top: 18px; padding-top: 16px; }
}

/* ── 交底助手 ── */
.bf-form .field { margin-bottom: 14px; }
.bf-form .field-required { color: var(--red, #e5484d); }
.bf-hazard-wrap { display: flex; flex-direction: column; gap: 8px; }
.bf-hazard-group { display: flex; align-items: flex-start; gap: 6px; }
.bf-hazard-group-label { flex-shrink: 0; font-size: 12px; font-weight: 600; color: var(--muted); width: 36px; line-height: 30px; }
.bf-hazard-chips { display: flex; flex-wrap: wrap; gap: 6px; }
.bf-hazard-chips .chip {
  display: inline-flex;
  align-items: center;
  padding: 5px 12px;
  border-radius: 999px;
  font-size: 13px;
  border: 1px solid var(--border, #e6eaf0);
  background: var(--bg, #f8f9fb);
  color: var(--ink, #1a1f2e);
  cursor: pointer;
  transition: all .2s;
  line-height: 1.3;
}
.bf-hazard-chips .chip:hover { border-color: var(--blue, #2f7cf6); color: var(--blue, #2f7cf6); }
.bf-hazard-chips .chip.is-on { background: var(--blue, #2f7cf6); color: #fff; border-color: var(--blue, #2f7cf6); }
.bf-selected-hazards { margin-top: 6px; font-size: 12px; color: var(--muted); line-height: 1.5; }
.bf-selected-hazards b { color: var(--ink, #1a1f2e); }
.bf-loading { display: flex; align-items: center; gap: 8px; padding: 12px 0; color: var(--blue, #2f7cf6); font-size: 14px; }
.bf-loading i { width: 18px; height: 18px; border: 2px solid var(--blue, #2f7cf6); border-top-color: transparent; border-radius: 50%; animation: spin .6s linear infinite; display: inline-block; }
.bf-actions { margin-top: 8px; }
.bf-actions .btn { width: 100%; }
.bf-result { margin-top: 16px; padding: 16px; background: #fff; border-radius: 16px; border: 1px solid var(--border, #e6eaf0); }
.bf-result-title h3 { font-size: 16px; font-weight: 600; margin: 0 0 4px; }
.bf-result-hazards { font-size: 12px; color: var(--muted); margin: 0 0 10px; }
.bf-result-ops { display: flex; gap: 8px; flex-wrap: wrap; }
.bf-result-ops .btn { flex: 1; min-width: 100px; }
@keyframes spin { to { transform: rotate(360deg); } }

@media (max-width: 420px) {
  .consult-banner {
    height: auto;
    min-height: 52px;
    padding: 10px 12px 10px 14px;
  }
  .consult-banner > div { flex-direction: column; align-items: flex-start; gap: 2px; }
  .consult-banner em { white-space: normal; }
}

.inspect-page {
  max-width: 720px;
}

.inspect-hero {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 12px;
  padding: 14px 14px;
  border-radius: 16px;
  background:
    radial-gradient(180px 90px at 100% 0%, rgba(62, 200, 240, .18), transparent 70%),
    linear-gradient(110deg, #123a72 0%, #1f6fe0 58%, #2eb3d8 100%);
  color: #fff;
  box-shadow: 0 12px 28px rgba(24, 92, 191, .18);
}
.inspect-hero-ico {
  width: 44px;
  height: 44px;
  border-radius: 14px;
  display: grid;
  place-items: center;
  background: rgba(255,255,255,.16);
  flex: none;
}
.inspect-hero-ico svg { width: 22px; height: 22px; }
.inspect-hero h2 { font-size: 18px; font-weight: var(--fw-medium); }
.inspect-hero p { margin-top: 3px; font-size: 13px; opacity: .88; }

.quota-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  padding: 11px 14px;
  border-radius: 14px;
  background: #fff;
  border: 1px solid rgba(232, 235, 240, .95);
  box-shadow: 0 4px 14px rgba(31, 35, 41, .035);
  font-size: 13px;
  color: var(--muted);
  margin-bottom: 14px;
}
.quota-bar b { color: var(--blue); }
.quota-tag {
  padding: 3px 8px;
  border-radius: 99px;
  background: #edf5ff;
  color: var(--blue);
  font-size: 12px;
  font-weight: var(--fw-medium);
  letter-spacing: .04em;
}

.inspect-drop {
  position: relative;
  overflow: hidden;
  min-height: 280px;
  border-radius: 22px;
  border: 1.5px dashed #b7cef0;
  background: linear-gradient(180deg, #f7fbff 0%, #ffffff 62%);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 8px;
  text-align: center;
  padding: 28px 20px 26px;
  cursor: pointer;
  transition: border-color .2s, box-shadow .2s, transform .2s, background .2s;
}
.inspect-drop-bg {
  position: absolute;
  inset: 0;
  background-image:
    radial-gradient(circle at 20% 20%, rgba(47,134,255,.06) 0 1px, transparent 1.5px),
    radial-gradient(circle at 80% 70%, rgba(47,134,255,.05) 0 1px, transparent 1.5px);
  background-size: 18px 18px;
  pointer-events: none;
}
.inspect-drop.is-drag,
.inspect-drop:active {
  border-color: #2f86ff;
  background: #f2f8ff;
  box-shadow: 0 0 0 4px rgba(47,134,255,.08);
}
.inspect-drop-ring {
  position: relative;
  z-index: 1;
  width: 78px;
  height: 78px;
  border-radius: 24px;
  display: grid;
  place-items: center;
  margin-bottom: 6px;
  background:
    linear-gradient(#fff, #fff) padding-box,
    linear-gradient(145deg, #7eb6ff, #2f86ff 55%, #22bfd1) border-box;
  border: 1.5px solid transparent;
  box-shadow: 0 12px 24px rgba(47,134,255,.16);
}
.inspect-drop-ico {
  width: 52px;
  height: 52px;
  border-radius: 16px;
  display: grid;
  place-items: center;
  color: #fff;
  background: linear-gradient(145deg, #4aa3ff, #2f86ff);
}
.inspect-drop-ico svg { width: 26px; height: 26px; }
.inspect-drop strong {
  position: relative;
  z-index: 1;
  color: var(--ink);
  font-size: 19px;
  font-weight: var(--fw-medium);
}
.inspect-drop p {
  position: relative;
  z-index: 1;
  font-size: 14px;
  color: var(--muted);
  max-width: 240px;
  line-height: 1.5;
}
.inspect-drop-tags {
  position: relative;
  z-index: 1;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 6px;
  margin: 6px 0 10px;
  padding: 0;
  list-style: none;
}
.inspect-drop-tags li {
  padding: 4px 10px;
  border-radius: 99px;
  background: #edf5ff;
  color: #2f6fd6;
  font-size: 12px;
  font-weight: var(--fw-medium);
}
.inspect-pick-btn {
  position: relative;
  z-index: 1;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  min-height: 42px;
  padding: 0 18px;
  border-radius: 13px;
  color: #fff;
  font-size: 15px;
  font-weight: var(--fw-medium);
  background: linear-gradient(90deg, #2b7fff, #4aa3ff);
  box-shadow: 0 10px 20px rgba(47,134,255,.24);
  pointer-events: none;
}
.inspect-pick-btn svg { width: 16px; height: 16px; }

.inspect-stage {
  display: grid;
  gap: 12px;
}
.inspect-frame {
  position: relative;
  border-radius: 20px;
  overflow: hidden;
  background: #0b1628;
  box-shadow: 0 14px 32px rgba(11, 30, 64, .16);
  border: 1px solid rgba(15, 36, 72, .08);
}
.inspect-photo {
  display: block;
  width: 100%;
  min-height: 240px;
  position: relative;
}
.inspect-photo img {
  width: 100%;
  max-height: 380px;
  object-fit: contain;
  margin: 0 auto;
  background:
    linear-gradient(45deg, #121c2e 25%, transparent 25%) -8px 0 / 16px 16px,
    linear-gradient(-45deg, #121c2e 25%, transparent 25%) -8px 0 / 16px 16px,
    linear-gradient(45deg, transparent 75%, #121c2e 75%) -8px 0 / 16px 16px,
    linear-gradient(-45deg, transparent 75%, #121c2e 75%) -8px 0 / 16px 16px,
    #0b1628;
}
.inspect-zoom {
  position: absolute;
  left: 50%;
  bottom: 14px;
  transform: translateX(-50%);
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 12px;
  border-radius: 99px;
  background: rgba(8, 16, 32, .58);
  color: #fff;
  font-size: 13px;
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255,255,255,.14);
}
.inspect-zoom svg { width: 14px; height: 14px; }
.inspect-zoom i { font-style: normal; }

.inspect-float-ops {
  position: absolute;
  top: 12px;
  right: 12px;
  display: flex;
  gap: 8px;
  z-index: 3;
}
.inspect-chip {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  min-height: 34px;
  padding: 0 11px;
  border-radius: 99px;
  background: rgba(255,255,255,.92);
  color: #1f2a3d;
  font-size: 13px;
  font-weight: var(--fw-medium);
  box-shadow: 0 8px 18px rgba(0,0,0,.18);
  backdrop-filter: blur(8px);
}
.inspect-chip svg { width: 14px; height: 14px; }
.inspect-chip.is-danger { color: #cf1322; }
.inspect-chip:active { transform: scale(.96); }

.inspect-scan {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(8,28,64,.18), rgba(8,28,64,.55));
  display: flex;
  align-items: flex-end;
  justify-content: center;
  padding: 18px;
  color: #fff;
  font-size: 14px;
}
.inspect-scan p { position: relative; z-index: 1; }

.inspect-filebar {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 14px;
  border-radius: 16px;
  background: #fff;
  border: 1px solid rgba(232, 235, 240, .95);
  box-shadow: 0 4px 14px rgba(31, 35, 41, .035);
}
.inspect-file-ico {
  width: 40px;
  height: 40px;
  border-radius: 12px;
  display: grid;
  place-items: center;
  background: #edf5ff;
  color: var(--blue);
  flex: none;
}
.inspect-file-ico svg { width: 18px; height: 18px; }
.inspect-file-text strong {
  display: block;
  font-size: 15px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  max-width: 52vw;
}
.inspect-file-text p { margin-top: 3px; font-size: 13px; color: var(--muted); }

.inspect-run {
  width: 100%;
  display: flex;
  align-items: center;
  gap: 12px;
  min-height: 64px;
  padding: 12px 14px;
  border-radius: 18px;
  text-align: left;
  color: #fff;
  background: linear-gradient(105deg, #1f6fe0 0%, #2f86ff 48%, #22bfd1 100%);
  box-shadow: 0 14px 28px rgba(31, 111, 224, .24);
}
.inspect-run-ico {
  width: 40px;
  height: 40px;
  border-radius: 13px;
  display: grid;
  place-items: center;
  background: rgba(255,255,255,.18);
  flex: none;
}
.inspect-run-ico svg { width: 20px; height: 20px; }
.inspect-run-txt { flex: 1; min-width: 0; }
.inspect-run-txt b { display: block; font-size: 17px; }
.inspect-run-txt small { display: block; margin-top: 2px; font-size: 13px; opacity: .86; }
.inspect-run-arrow {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: rgba(255,255,255,.18);
  font-size: 19px;
  flex: none;
}
.inspect-run:active { transform: scale(.985); }

.inspect-loading-bar {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 14px 16px;
  border-radius: 16px;
  background: #edf5ff;
  color: #1d4ed8;
  font-size: 14px;
  font-weight: var(--fw-medium);
}
.inspect-loading-bar i {
  width: 14px;
  height: 14px;
  border-radius: 50%;
  border: 2px solid rgba(47,134,255,.25);
  border-top-color: #2f86ff;
  animation: spin 0.8s linear infinite;
}

.scan-line {
  position: absolute;
  left: 8%;
  right: 8%;
  height: 2px;
  background: linear-gradient(90deg, transparent, #7ec8ff, #fff);
  box-shadow: 0 0 16px rgba(94, 198, 255, .8);
  animation: scan 1.6s linear infinite;
  pointer-events: none;
}

.ai-note {
  margin: 12px 0;
  padding: 13px 14px;
  border-radius: 14px;
  background: linear-gradient(180deg, #f2f8ff, #eef5ff);
  border: 1px solid #dceaff;
  color: var(--ink-2);
  font-size: 14px;
  line-height: 1.65;
}

/* ===== 巡检研判（本点研判 + 隐患卡）===== */
.ai-note.is-verdict {
  border-color: #cfe3ff;
  background: linear-gradient(180deg, #f5faff, #eef6ff);
}
.verdict-top {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  margin-bottom: 8px;
}
.verdict-level {
  display: inline-flex;
  align-items: center;
  padding: 3px 10px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 700;
  color: #fff;
}
.verdict-risk {
  display: inline-flex;
  align-items: center;
  padding: 3px 10px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 600;
  color: #0b4a8f;
  background: #e3efff;
  border: 1px solid #c7ddfa;
}
.verdict-line { margin: 2px 0 6px; font-size: 14px; color: var(--ink-1); font-weight: 600; }
.verdict-say { margin: 0; color: var(--ink-2); }

.lv-red { background: #cb2634; }
.lv-orange { background: #d46b08; }
.lv-yellow { background: #b7791f; }
.lv-blue { background: #2f6fb2; }

.hz-cards { display: flex; flex-direction: column; gap: 12px; margin: 12px 0 4px; }
.hz-card {
  background: #fff;
  border: 1px solid #e3e8f0;
  border-left: 4px solid #2f6fb2;
  border-radius: 14px;
  padding: 13px 14px 11px;
  box-shadow: 0 1px 4px rgba(16, 42, 83, 0.05);
}
.hz-card.is-lv红 { border-left-color: #cb2634; }
.hz-card.is-lv橙 { border-left-color: #d46b08; }
.hz-card.is-lv黄 { border-left-color: #b7791f; }
.hz-card.is-lv蓝 { border-left-color: #2f6fb2; }
.hz-head { display: flex; align-items: center; flex-wrap: wrap; gap: 8px; }
.hz-head > b {
  width: 22px;
  height: 22px;
  border-radius: 7px;
  background: #eef4ff;
  color: #0b4a8f;
  font-size: 13px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: none;
}
.hz-head strong { font-size: 15.5px; color: var(--ink-1); }
.hz-major {
  font-size: 11px;
  font-weight: 700;
  padding: 2px 8px;
  border-radius: 999px;
  color: #2456a8;
  background: #e8f1ff;
  border: 1px solid #c9ddf9;
}
.hz-major.is-major { color: #a31221; background: #ffe9e9; border-color: #f6c1c1; }
.hz-level {
  font-size: 11px;
  font-weight: 700;
  padding: 2px 9px;
  border-radius: 999px;
  color: #fff;
}
.hz-type {
  margin-top: 7px;
  font-size: 12.5px;
  color: #7c4a03;
  background: #fff7e8;
  border: 1px dashed #ecd39c;
  border-radius: 8px;
  padding: 4px 10px;
  display: inline-block;
}
.hz-evidence {
  display: grid;
  grid-template-columns: 1fr;
  gap: 8px;
  margin-top: 10px;
}
@media (min-width: 700px) {
  .hz-evidence { grid-template-columns: 1fr 1fr; }
}
.hz-ev { border-radius: 10px; padding: 9px 11px; background: #f4f8fd; border: 1px solid #e2ebf5; }
.hz-ev.is-unc { background: #fdf6ef; border-color: #f0e2cf; }
.hz-ev h4 {
  margin: 0 0 4px;
  font-size: 12px;
  color: #24618f;
  display: flex;
  align-items: center;
  gap: 5px;
}
.hz-ev.is-unc h4 { color: #9a6a2f; }
.hz-ev p { margin: 0; font-size: 13.5px; line-height: 1.6; color: var(--ink-1); }
.hz-actions { margin-top: 10px; display: flex; flex-direction: column; gap: 6px; }
.hz-actions p { margin: 0; font-size: 13.5px; line-height: 1.62; color: var(--ink-2); }
.hz-actions p b {
  flex: none;
  font-size: 11.5px;
  color: #0b4a8f;
  background: #e8f1ff;
  border-radius: 6px;
  padding: 1.5px 7px;
  margin-right: 7px;
  font-weight: 700;
}
.hz-actions p { display: flex; align-items: flex-start; }
.hz-basis-row {
  margin-top: 10px;
  padding-top: 8px;
  border-top: 1px dashed #e6ebf3;
}
.hz-foot {
  margin-top: 2px;
  display: flex;
  justify-content: flex-end;
}
.hz-basis { font-size: 12px; color: #8a94a6; line-height: 1.5; min-width: 0; display: block; }
.hz-basis em {
  font-style: normal;
  color: #b7791f;
  background: #fff7e8;
  border: 1px solid #ecd39c;
  border-radius: 6px;
  padding: 1px 6px;
  margin-left: 6px;
  font-size: 11px;
  white-space: nowrap;
}
.hz-copy {
  flex: none;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: 12px;
  color: #5a6b85;
  background: #f2f6fb;
  border: 1px solid #dfe7f1;
  border-radius: 8px;
  padding: 4px 10px;
  cursor: pointer;
}
.hz-copy:active { background: #e7eef7; }
.result-ok {
  margin: 14px 0;
  padding: 18px 16px;
  border-radius: 14px;
  background: linear-gradient(180deg, #f0fbf4, #eaf8f0);
  border: 1px solid #c9ecd6;
  text-align: center;
}
.result-ok strong { display: block; font-size: 16px; color: #18794e; margin-bottom: 5px; }
.result-ok p { margin: 0; font-size: 13px; color: #4a7c62; line-height: 1.6; }
.ledger-lv {
  font-style: normal;
  font-size: 11px;
  font-weight: 700;
  color: #fff;
  border-radius: 6px;
  padding: 1px 6px;
  margin-right: 6px;
  vertical-align: 1px;
}
.ledger-lv.is-lv红 { background: #cb2634; }
.ledger-lv.is-lv橙 { background: #d46b08; }
.ledger-lv.is-lv黄 { background: #b7791f; }
.ledger-lv.is-lv蓝 { background: #2f6fb2; }

.result-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  margin: 18px 0 10px;
}
.result-head h2 { font-size: 18px; }
.result-head p { margin-top: 3px; font-size: 13px; color: var(--muted); }

.sev {
  font-size: 12px;
  font-weight: var(--fw-medium);
  padding: 3px 8px;
  border-radius: 99px;
  flex: none;
}
.sev-重大 { background: #ffe8e6; color: #cb2634; }
.sev-较大 { background: #fff4e5; color: #d46b08; }
.sev-一般 { background: #e8f3ff; color: #1d4ed8; }
.sev-低 { background: #e8ffea; color: #2a9a4a; }

.result-stack {
  display: grid;
  gap: 12px;
  margin-top: 4px;
}
.result-block {
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid rgba(232, 235, 240, .95);
  background: #fff;
  box-shadow: 0 6px 18px rgba(31, 35, 41, .04);
}
.result-block-h {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  padding: 11px 14px;
  font-size: 15px;
  font-weight: var(--fw-medium);
}
.result-block-h > span {
  display: inline-flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 6px;
}
.col-sub {
  font-size: 11px;
  font-weight: var(--fw-medium);
  color: #7b8da8;
  padding: 1px 6px;
  border-radius: 99px;
  background: rgba(123, 141, 168, .12);
}
.result-desc .result-block-h {
  color: #1d4ed8;
  background: #e8f1ff;
  border-bottom: 1px solid #d5e6ff;
}
.result-basis .result-block-h {
  color: #0f766e;
  background: #e7f7f4;
  border-bottom: 1px solid #cfece6;
}
.result-fix .result-block-h {
  color: #b45309;
  background: #fff4e5;
  border-bottom: 1px solid #ffe0b8;
}
.result-list {
  margin: 0;
  padding: 6px 14px 12px;
  list-style: none;
}
.result-list li {
  padding: 12px 0;
  border-top: 1px solid #eef1f5;
}
.result-list li:first-child { border-top: 0; }
.result-list li.result-row {
  display: flex;
  align-items: flex-start;
  gap: 8px;
}
.result-no {
  flex: none;
  min-width: 1.35em;
  color: #5b6b84;
  font-size: 15px;
  font-weight: var(--fw-medium);
  line-height: 1.7;
}
.result-item-top {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 6px;
  min-width: 0;
}
.result-item-top b {
  flex: none;
  color: #5b6b84;
  font-size: 15px;
  font-weight: var(--fw-medium);
}
.result-item-top strong {
  flex: 1;
  min-width: 0;
  font-size: 15px;
  font-weight: var(--fw-medium);
  color: var(--ink);
}
.result-list p {
  margin: 0;
  flex: 1;
  min-width: 0;
  font-size: 14px;
  color: var(--ink-2);
  white-space: pre-wrap;
  line-height: 1.7;
}
.result-list li:not(.result-row) p {
  padding-left: 1.15em;
}

@media (min-width: 840px) {
  .inspect-page { max-width: var(--content-max); }
  .inspect-photo img { max-height: 460px; }
}

@media (max-width: 420px) {
  .inspect-chip span { display: none; }
  .inspect-file-text strong { max-width: 48vw; }
}

.form-card {
  background: var(--bg-elevated);
  border-radius: var(--radius);
  padding: 22px 20px 20px;
  border: 1px solid rgba(230, 234, 240, .95);
  box-shadow: var(--shadow);
}
.form-head {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 18px;
}
.form-head h2 { font-size: 19px; }
.form-head p { margin-top: 4px; font-size: 13px; color: var(--muted); }

.circle-compose-page .field label {
  display: block;
  margin-bottom: 8px;
  font-size: 14px;
  font-weight: var(--fw-medium);
  color: var(--ink-2);
}
.circle-compose-page .field input,
.circle-compose-page .field textarea {
  width: 100%;
  border: 1px solid var(--line);
  background: #fbfcfe;
  border-radius: var(--radius-xs);
  padding: 12px 14px;
  outline: none;
  font-size: 16px;
  transition: border-color .2s, box-shadow .2s;
}
.circle-compose-page .field textarea { min-height: 160px; resize: vertical; }
.circle-compose-page .field input:focus,
.circle-compose-page .field textarea:focus {
  border-color: var(--blue);
  box-shadow: 0 0 0 3px rgba(47, 124, 246, .12);
  background: #fff;
}

/* ===== 我的 · 个人中心 ===== */
.mine-page { padding-bottom: 28px; }

.mine-hero {
  position: relative;
  overflow: hidden;
  border-radius: calc(var(--radius) + 2px);
  padding: 22px 18px 18px;
  color: #fff;
  background:
    radial-gradient(220px 140px at 100% -10%, rgba(125, 211, 252, .35), transparent 60%),
    radial-gradient(180px 120px at 0% 100%, rgba(56, 189, 248, .18), transparent 55%),
    linear-gradient(135deg, #0f3d8c 0%, #1a6fe0 48%, #0ea5a8 108%);
  box-shadow: 0 18px 40px rgba(15, 70, 160, .22);
}
.mine-hero-orbit {
  position: absolute;
  width: 140px;
  height: 140px;
  right: -36px;
  top: -40px;
  border: 1px solid rgba(255,255,255,.16);
  border-radius: 50%;
}
.mine-hero-orbit::after {
  content: "";
  position: absolute;
  inset: 18px;
  border: 1px solid rgba(255,255,255,.1);
  border-radius: 50%;
}
.mine-hero-grid {
  position: absolute;
  inset: 0;
  opacity: .18;
  background-image:
    linear-gradient(rgba(255,255,255,.08) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.08) 1px, transparent 1px);
  background-size: 28px 28px;
  mask-image: linear-gradient(180deg, #000 20%, transparent 90%);
  -webkit-mask-image: linear-gradient(180deg, #000 20%, transparent 90%);
  pointer-events: none;
}
.mine-hero-main {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  gap: 14px;
}
.mine-ava {
  position: relative;
  width: 72px;
  height: 72px;
  border-radius: 50%;
  flex: none;
  overflow: visible;
}
.mine-ava img {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  object-fit: cover;
  box-shadow: 0 0 0 3px rgba(255,255,255,.38), 0 10px 22px rgba(0,0,0,.2);
  background: rgba(255,255,255,.12);
}
.mine-ava-edit {
  position: absolute;
  right: -2px;
  bottom: -2px;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: #fff;
  color: #1d4ed8;
  box-shadow: 0 4px 10px rgba(15, 23, 42, .18);
}
.mine-ava-edit svg { width: 13px; height: 13px; }
.mine-id { min-width: 0; flex: 1; }
.mine-name-row {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}
.mine-name-row h2 {
  font-size: 23px;
  font-weight: var(--fw-semibold);
  letter-spacing: .01em;
}
.mine-hero .level-badge {
  background: rgba(255,255,255,.16);
  color: #fff;
  border-color: rgba(255,255,255,.2);
}
.mine-hero .level-badge em { background: rgba(0,0,0,.2); }
.mine-tags {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 8px;
}
.mine-hero .chip {
  background: rgba(255,255,255,.16);
  color: #fff;
  border: 1px solid rgba(255,255,255,.2);
}
.mine-hero .chip-vip {
  background: rgba(251, 191, 36, .22);
  color: #fff7ed;
}
.mine-career,
.mine-phone {
  margin-top: 6px;
  font-size: 13px;
  opacity: .88;
}
.mine-ehsid {
  margin-top: 4px;
  font-size: 12px;
  opacity: .7;
  font-family: Outfit,monospace;
  letter-spacing: .5px;
}
.mine-stats {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
  margin-top: 16px;
  padding: 10px;
  border-radius: 14px;
  background: rgba(255,255,255,.12);
  border: 1px solid rgba(255,255,255,.14);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}
.mine-stats > div {
  text-align: center;
  padding: 4px 2px;
}
.mine-stats b {
  display: block;
  font-size: 19px;
  font-weight: var(--fw-semibold);
  letter-spacing: .02em;
}
.mine-stats span {
  display: block;
  margin-top: 2px;
  font-size: 12px;
  opacity: .85;
}

.mine-shortcuts {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 8px;
  margin: 14px 0 4px;
}
.mine-sc {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  padding: 12px 4px 10px;
  border-radius: var(--radius-sm);
  background: var(--bg-elevated);
  border: 1px solid rgba(230, 234, 240, .95);
  box-shadow: var(--shadow-sm);
  transition: transform .18s var(--ease), box-shadow .18s;
}
.mine-sc:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow);
}
.mine-sc i {
  width: 40px;
  height: 40px;
  border-radius: 12px;
  display: grid;
  place-items: center;
}
.mine-sc i svg { width: 18px; height: 18px; }
.mine-sc span {
  position: relative;
  font-size: 13px;
  color: var(--ink-2);
}
.mine-sc em {
  position: absolute;
  top: -10px;
  right: -14px;
  min-width: 16px;
  height: 16px;
  padding: 0 4px;
  border-radius: 99px;
  background: var(--danger);
  color: #fff;
  font-style: normal;
  font-size: 11px;
  display: grid;
  place-items: center;
}

.mine-guest-cta {
  margin: 14px 0 4px;
  padding: 16px;
  border-radius: var(--radius);
  background:
    linear-gradient(120deg, rgba(47,124,246,.08), rgba(14,165,168,.06)),
    var(--bg-elevated);
  border: 1px solid rgba(47, 124, 246, .12);
  box-shadow: var(--shadow-sm);
}
.mine-guest-cta strong {
  display: block;
  font-size: 16px;
  font-weight: var(--fw-medium);
  color: var(--ink);
}
.mine-guest-cta p {
  margin-top: 4px;
  font-size: 13px;
  color: var(--muted);
  line-height: 1.55;
}
.mine-guest-btns {
  display: flex;
  gap: 8px;
  margin-top: 12px;
}

.mine-group { margin-top: 18px; }
.mine-group-h {
  margin: 0 4px 8px;
  font-size: 13px;
  font-weight: var(--fw-medium);
  color: var(--muted);
  letter-spacing: .06em;
}
.mine-panel {
  background: var(--bg-elevated);
  border-radius: var(--radius);
  border: 1px solid rgba(230, 234, 240, .95);
  box-shadow: var(--shadow-sm);
  overflow: hidden;
}
.mine-item {
  width: 100%;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 13px 14px;
  text-align: left;
  border-bottom: 1px solid #eef1f5;
  transition: background .18s;
}
.mine-item:last-child { border-bottom: 0; }
.mine-item:hover { background: #f7f9fc; }
.mine-item:active { background: #eef3fa; }
.mine-item-ico {
  width: 40px;
  height: 40px;
  border-radius: 12px;
  display: grid;
  place-items: center;
  flex: none;
}
.mine-item-ico svg { width: 18px; height: 18px; }
.mine-item-txt {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.mine-item-txt strong {
  font-size: 15px;
  font-weight: var(--fw-medium);
  color: var(--ink);
}
.mine-item-txt em {
  font-style: normal;
  font-size: 13px;
  color: var(--muted);
  line-height: 1.4;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.mine-item svg.chev {
  width: 16px;
  height: 16px;
  color: #c5cad3;
  flex: none;
}
.mine-pill {
  flex: none;
  font-style: normal;
  font-size: 12px;
  padding: 3px 8px;
  border-radius: 99px;
  background: #eef2f7;
  color: #64748b;
}
.mine-pill.is-vip {
  background: #fff7ed;
  color: #c2410c;
}
.mine-pill.is-dot {
  background: #fee2e2;
  color: #dc2626;
  min-width: 22px;
  text-align: center;
}

.mine-logout {
  width: 100%;
  margin-top: 18px;
  min-height: 46px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border-radius: var(--radius-sm);
  background: #fff;
  border: 1px solid rgba(230, 234, 240, .95);
  color: #64748b;
  font-size: 15px;
  font-weight: var(--fw-medium);
  box-shadow: var(--shadow-sm);
  transition: background .18s, color .18s;
}
.mine-logout svg { width: 16px; height: 16px; }
.mine-logout:hover { background: #fff5f5; color: #dc2626; }

.mine-foot {
  text-align: center;
  color: var(--muted);
  font-size: 12px;
  margin: 18px 0 6px;
  letter-spacing: .04em;
  font-family: var(--font-en);
}

@media (max-width: 420px) {
  .mine-shortcuts { grid-template-columns: repeat(4, 1fr); gap: 6px; }
  .mine-sc { padding: 10px 2px 8px; }
  .mine-sc span { font-size: 12px; }
  .mine-ava, .mine-ava img { width: 64px; height: 64px; }
  .mine-name-row h2 { font-size: 21px; }
}

.feed-card {
  background: #fff;
  border-radius: 16px;
  padding: 14px;
  margin-bottom: 10px;
  border: 1px solid rgba(232, 235, 240, .85);
  box-shadow: 0 6px 20px rgba(31, 35, 41, .035);
}
.feed-meta { display: flex; align-items: center; gap: 10px; margin-bottom: 8px; }
.feed-ava {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: linear-gradient(135deg, #2f86ff, #3ca9ff);
  color: #fff;
  display: grid;
  place-items: center;
  font-size: 13px;
  font-weight: var(--fw-medium);
}
.feed-card h3 { font-size: 16px; margin-bottom: 6px; }
.feed-card p { font-size: 14px; color: var(--ink-2); }

.planet-cta {
  width: 100%;
  text-align: left;
  border-radius: 16px;
  padding: 16px;
  color: #fff;
  background:
    radial-gradient(140px 100px at 88% 10%, rgba(91, 229, 255, .32), transparent 70%),
    linear-gradient(100deg, #1c63d4 0%, #2d9bea 100%);
  margin-bottom: 12px;
  box-shadow: 0 12px 24px rgba(40, 126, 235, .17);
}
.planet-cta h3 { font-size: 18px; margin: 4px 0 6px; }

/* ===== 圈子论坛 ===== */
.circle-page { padding-bottom: 72px; }
/* 与工具页 tools-overview 同尺寸、同级 Banner */
.circle-overview {
  position: relative;
  overflow: hidden;
  min-height: 132px;
  margin-top: 0;
  margin-bottom: 14px;
  padding: 22px;
  border-radius: 20px;
  color: #fff;
  background:
    radial-gradient(220px 140px at 85% 20%, rgba(78, 220, 255, .3), transparent 65%),
    linear-gradient(120deg, #164ba6, #2587ee);
  box-shadow: 0 14px 30px rgba(28, 101, 196, .19);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}
.circle-overview span {
  color: rgba(255,255,255,.72);
  font-size: 12px;
  letter-spacing: .1em;
}
.circle-overview strong {
  display: block;
  margin-top: 5px;
  font-size: 21px;
}
.circle-overview p {
  margin-top: 7px;
  color: rgba(255,255,255,.82);
  font-size: 13px;
}
.circle-overview-cta {
  position: relative;
  flex: none;
  width: 72px;
  height: 72px;
  border: 1px solid rgba(255,255,255,.24);
  border-radius: 22px;
  background: rgba(255,255,255,.12);
  color: #fff;
  display: grid;
  place-content: center;
  text-align: center;
  gap: 4px;
  transition: transform .18s var(--ease), background .18s;
}
.circle-overview-cta:hover {
  background: rgba(255,255,255,.2);
  transform: translateY(-2px);
}
.circle-overview-cta:active { transform: scale(.96); }
.circle-overview-cta svg { width: 22px; height: 22px; margin: 0 auto; }
.circle-overview-cta small {
  display: block;
  font-size: 11px;
  font-weight: var(--fw-medium);
  opacity: .9;
}
@media (min-width: 900px) {
  .circle-overview { min-height: 160px; padding: 30px 34px; }
  .circle-overview strong { font-size: 27px; }
  .circle-overview-cta { width: 84px; height: 84px; border-radius: 24px; }
}
.circle-hero {
  display: none;
}
.circle-fab-inline {
  display: none;
  align-items: center;
  gap: 6px;
  padding: 9px 14px;
  border-radius: var(--radius-pill);
  background: var(--blue-soft);
  color: var(--blue);
  font-size: 14px;
  font-weight: var(--fw-regular);
  border: 1px solid rgba(47, 124, 246, .12);
}
body.is-desktop .circle-fab-inline { display: inline-flex; }
.circle-fab-inline svg { width: 16px; height: 16px; }
.planet-strip {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 12px 14px;
  margin: 14px 0 0;
  border-radius: var(--radius-sm);
  background: linear-gradient(105deg, #1a5fd4 0%, #2f86ff 55%, #3db8e8 100%);
  color: #fff;
  font-size: 13px;
  font-weight: var(--fw-regular);
  box-shadow: 0 10px 22px rgba(32, 110, 230, .18);
}
.tools-page .planet-strip { margin-bottom: 0; }
.planet-strip em { font-style: normal; opacity: .92; }
/* 分类栅格：与首页 tool-grid 同排法；容器用 tools-panel */
.circle-cats {
  margin: 0;
  padding: 0;
  border: 0;
  background: transparent;
  box-shadow: none;
  border-radius: 0;
}
.circle-cat {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: flex-start;
  gap: 8px;
  min-width: 0;
  width: 100%;
  padding: 2px 0;
  border-radius: 15px;
  animation: riseSoft 0.42s var(--ease) both;
  animation-delay: calc(var(--i, 0) * 28ms);
  transition: transform .2s var(--ease);
}
.circle-cat:active { transform: scale(.94); }
.circle-cat span:last-child {
  font-size: 12px;
  color: var(--ink);
  font-weight: var(--fw-regular);
  text-align: center;
  width: 48px;
  max-width: 100%;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.circle-cat-ico {
  width: 48px;
  height: 48px;
  border-radius: 14px;
  display: grid;
  place-items: center;
  color: #fff;
  box-shadow: 0 8px 16px rgba(31, 35, 41, .12), inset 0 1px 0 rgba(255,255,255,.28);
  border: 2px solid transparent;
  transition: transform .22s var(--ease), box-shadow .22s, border-color .15s;
}
.circle-cat:hover .circle-cat-ico { transform: translateY(-2px); }
.circle-cat-ico svg { width: 22px; height: 22px; }
.circle-cat.is-on .circle-cat-ico {
  border-color: rgba(26, 31, 46, .55);
  transform: translateY(-2px);
  box-shadow: 0 10px 18px rgba(31, 35, 41, .16), inset 0 1px 0 rgba(255,255,255,.28);
}
.circle-cat.is-on span:last-child { color: var(--blue); font-weight: var(--fw-medium); }
.circle-page .tools-panel {
  margin-bottom: 14px;
}
.circle-filter {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 12px;
}
.chip-filter {
  padding: 5px 14px;
  border-radius: var(--radius-pill);
  background: #eef1f6;
  color: #5b6b84;
  font-size: 13px;
  font-weight: var(--fw-regular);
}
.chip-filter.is-on {
  background: var(--blue-soft);
  color: var(--blue);
}
.circle-filter-tip { font-size: 13px; color: var(--muted); }
.circle-card {
  width: 100%;
  text-align: left;
  background: var(--bg-elevated);
  border-radius: var(--radius);
  padding: 16px;
  margin-bottom: 10px;
  border: 1px solid rgba(230, 234, 240, .95);
  box-shadow: var(--shadow-sm);
  transition: box-shadow .18s var(--ease), transform .18s var(--ease);
  animation: riseSoft 0.4s var(--ease) both;
}
.circle-feed .circle-card:nth-child(1) { animation-delay: 40ms; }
.circle-feed .circle-card:nth-child(2) { animation-delay: 70ms; }
.circle-feed .circle-card:nth-child(3) { animation-delay: 100ms; }
.circle-feed .circle-card:nth-child(4) { animation-delay: 130ms; }
.circle-feed .circle-card:nth-child(5) { animation-delay: 160ms; }
.circle-card:hover {
  box-shadow: var(--shadow);
  transform: translateY(-1px);
}
.circle-card-top {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 8px;
}
.circle-card-top time { margin-left: auto; font-size: 12px; color: var(--muted); }
.circle-tag {
  font-size: 12px;
  font-weight: var(--fw-regular);
  padding: 2px 8px;
  border-radius: 99px;
}
.circle-pin {
  font-size: 12px;
  font-weight: var(--fw-regular);
  color: #d46b08;
  background: #fff4e5;
  padding: 2px 8px;
  border-radius: 99px;
}
.circle-card-main {
  display: block;
  width: 100%;
  text-align: left;
  color: inherit;
}
.circle-card-main:hover h3 { color: var(--blue); }
.circle-card h3 { font-size: 16px; font-weight: var(--fw-medium); margin-bottom: 6px; }
.circle-card p {
  font-size: 14px;
  color: var(--ink-2);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  line-height: 1.55;
}
.circle-card-foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-top: 12px;
  font-size: 13px;
  color: var(--muted);
}
.circle-reply-n { flex: none; white-space: nowrap; }

.level-badge {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 2px 8px 2px 4px;
  border-radius: 999px;
  background: #edf4ff;
  color: var(--lv, #2f7cf6);
  font-size: 12px;
  font-weight: var(--fw-regular);
  line-height: 1.2;
  flex: none;
  border: 1px solid rgba(47, 124, 246, .12);
}
.level-badge em {
  font-style: normal;
  padding: 2px 6px;
  border-radius: 999px;
  background: var(--lv, #2f7cf6);
  color: #fff;
  font-size: 11px;
  letter-spacing: .02em;
}
.level-badge b { font-weight: var(--fw-regular); }

.author-block {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-width: 0;
  max-width: 100%;
  text-align: left;
  border-radius: 12px;
  padding: 2px 4px 2px 2px;
  transition: background .18s;
}
.author-block:hover { background: rgba(47, 124, 246, .06); }
.author-ava {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  overflow: hidden;
  flex: none;
  box-shadow: 0 0 0 2px #fff, 0 4px 10px rgba(24, 39, 75, .12);
}
.author-ava img { width: 100%; height: 100%; object-fit: cover; }
.author-ava i {
  width: 100%;
  height: 100%;
  display: grid;
  place-items: center;
  background: linear-gradient(135deg, #2f86ff, #3ca9ff);
  color: #fff;
  font-style: normal;
  font-size: 14px;
  font-weight: var(--fw-medium);
}
.author-meta {
  display: flex;
  flex-direction: column;
  gap: 2px;
  min-width: 0;
}
.author-name-row {
  display: flex;
  align-items: center;
  gap: 6px;
  min-width: 0;
}
.author-name-row strong {
  font-size: 14px;
  font-weight: var(--fw-medium);
  color: var(--ink);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.author-sub {
  font-size: 12px;
  color: var(--muted);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.author-block.is-compact .author-ava { width: 28px; height: 28px; }
.author-block.is-compact .author-name-row strong { font-size: 13px; }
.reply-meta {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 6px;
  font-size: 13px;
  flex-wrap: wrap;
}
.reply-meta time { margin-left: auto; color: var(--muted); }
.compose-identity {
  margin: 0 0 16px;
  padding: 12px;
  border-radius: var(--radius-sm);
  background: linear-gradient(120deg, rgba(47,124,246,.06), rgba(26,168,122,.05));
  border: 1px solid rgba(47, 124, 246, .1);
}
.compose-identity > p {
  margin-top: 8px;
  font-size: 13px;
  color: var(--muted);
}

/* 圈子名片 */
.circle-user-page { padding-bottom: 28px; }
.u-hero {
  position: relative;
  overflow: hidden;
  border-radius: calc(var(--radius) + 4px);
  padding: 20px 18px 16px;
  color: #fff;
  background:
    radial-gradient(180px 120px at 92% 0%, rgba(255,255,255,.22), transparent 70%),
    linear-gradient(125deg, #163a7a 0%, #1f6fe0 52%, #1aa87a 120%);
  box-shadow: 0 16px 36px rgba(24, 70, 160, .22);
}
.u-hero-glow {
  position: absolute;
  width: 140px;
  height: 140px;
  right: -30px;
  bottom: -50px;
  border-radius: 50%;
  border: 1px solid rgba(255,255,255,.18);
}
.u-hero-top {
  position: relative;
  z-index: 1;
  display: flex;
  gap: 14px;
  align-items: center;
}
.u-ava {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  overflow: hidden;
  flex: none;
  box-shadow: 0 0 0 3px rgba(255,255,255,.35), 0 10px 20px rgba(0,0,0,.18);
  background: rgba(255,255,255,.16);
}
.u-ava img { width: 100%; height: 100%; object-fit: cover; }
.u-ava i {
  width: 100%;
  height: 100%;
  display: grid;
  place-items: center;
  font-style: normal;
  font-size: 29px;
  font-weight: var(--fw-medium);
}
.u-hero-text h2 { font-size: 23px; font-weight: var(--fw-semibold); letter-spacing: 0; }
.u-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 8px;
  align-items: center;
}
.u-hero .level-badge {
  background: rgba(255,255,255,.16);
  color: #fff;
}
.u-hero .level-badge em { background: rgba(0,0,0,.22); }
.u-sub {
  margin-top: 8px;
  font-size: 13px;
  opacity: .9;
}
.u-level-panel {
  position: relative;
  z-index: 1;
  margin-top: 16px;
  padding: 12px 12px 10px;
  border-radius: 12px;
  background: rgba(255,255,255,.12);
  border: 1px solid rgba(255,255,255,.16);
  backdrop-filter: blur(8px);
}
.u-level-head {
  display: flex;
  justify-content: space-between;
  font-size: 13px;
  font-weight: var(--fw-regular);
  margin-bottom: 8px;
}
.u-level-bar {
  height: 7px;
  border-radius: 99px;
  background: rgba(255,255,255,.2);
  overflow: hidden;
}
.u-level-bar i {
  display: block;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, #fff, #cfe3ff);
  transition: width .4s var(--ease);
}
.u-level-panel > p {
  margin-top: 8px;
  font-size: 12px;
  opacity: .88;
  line-height: 1.45;
}
.u-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  margin: 14px 0;
}
.u-stats > div {
  text-align: center;
  padding: 14px 8px;
  border-radius: var(--radius-sm);
  background: var(--bg-elevated);
  border: 1px solid rgba(230, 234, 240, .95);
  box-shadow: var(--shadow-sm);
}
.u-stats b {
  display: block;
  font-size: 21px;
  font-weight: var(--fw-semibold);
  color: var(--ink);
  letter-spacing: .02em;
}
.u-stats span {
  display: block;
  margin-top: 4px;
  font-size: 13px;
  color: var(--muted);
}
.u-info-card {
  background: var(--bg-elevated);
  border-radius: var(--radius);
  padding: 16px;
  border: 1px solid rgba(230, 234, 240, .95);
  box-shadow: var(--shadow-sm);
}
.u-info-card h3 { font-size: 16px; margin-bottom: 10px; }
.u-info-card ul { list-style: none; margin: 0; padding: 0; }
.u-info-card li {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding: 10px 0;
  border-bottom: 1px solid var(--line);
  font-size: 14px;
}
.u-info-card li:last-child { border-bottom: 0; padding-bottom: 0; }
.u-info-card em { font-style: normal; color: var(--muted); }
.u-info-card span { color: var(--ink); font-weight: var(--fw-regular); text-align: right; }
.u-post-item {
  width: 100%;
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 6px 10px;
  align-items: center;
  text-align: left;
  padding: 12px 14px;
  margin-bottom: 8px;
  border-radius: var(--radius-sm);
  background: var(--bg-elevated);
  border: 1px solid rgba(230, 234, 240, .95);
  box-shadow: var(--shadow-sm);
}
.u-post-item strong {
  grid-column: 2;
  font-size: 15px;
  color: var(--ink);
}
.u-post-item time {
  grid-column: 2;
  font-size: 12px;
  color: var(--muted);
}
.u-post-item:hover strong { color: var(--blue); }

.circle-fab {
  position: fixed;
  /* 与工具页同宽：贴主内容区右缘 */
  right: max(var(--gutter), calc(50% - var(--page-max) / 2 + var(--gutter)));
  bottom: calc(var(--tabbar-h) + var(--safe-b) + 18px);
  z-index: 25;
  width: 52px;
  height: 52px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  color: #fff;
  background: linear-gradient(145deg, #4aa3ff, #2f7cf6);
  box-shadow: 0 12px 28px rgba(47, 124, 246, .32);
  transition: transform .18s var(--ease), box-shadow .18s;
}
.circle-fab:hover {
  transform: translateY(-2px);
  box-shadow: 0 16px 32px rgba(47, 124, 246, .38);
}
body.is-desktop .circle-fab { display: none; }
.circle-fab svg { width: 22px; height: 22px; }

.circle-cats.is-pick {
  margin: 0;
  background: transparent;
  border: 0;
  box-shadow: none;
  padding: 0;
}
.circle-pick-panel {
  margin-top: 4px;
  background: #f7f9fc;
}

.circle-detail-page { padding-bottom: calc(108px + var(--safe-b)); }
.circle-detail {
  background: var(--bg-elevated);
  border-radius: var(--radius);
  padding: 18px 18px 20px;
  border: 1px solid rgba(230, 234, 240, .95);
  box-shadow: var(--shadow-sm);
}
.circle-detail h2 { font-size: 20px; font-weight: var(--fw-semibold); line-height: 1.45; margin: 10px 0 12px; }
.circle-detail-body {
  font-size: 16px;
  color: var(--ink-2);
  white-space: pre-wrap;
  line-height: 1.8;
}
.reply-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin: 20px 0 12px;
}
.reply-toolbar h3 { font-size: 16px; font-weight: var(--fw-medium); }
.reply-item {
  background: var(--bg-elevated);
  border-radius: var(--radius-sm);
  padding: 14px 16px;
  margin-bottom: 8px;
  border: 1px solid rgba(230, 234, 240, .95);
  box-shadow: var(--shadow-sm);
}
.op-tag {
  font-style: normal;
  font-size: 11px;
  font-weight: var(--fw-regular);
  color: var(--blue);
  background: #edf5ff;
  padding: 1px 6px;
  border-radius: 99px;
}
.reply-item > p, .reply-child > p {
  font-size: 14px;
  color: var(--ink-2);
  line-height: 1.65;
  white-space: pre-wrap;
}
.reply-link {
  margin-top: 8px;
  font-size: 13px;
  font-weight: var(--fw-regular);
  color: var(--blue);
}
.reply-children {
  margin-top: 10px;
  padding: 8px 10px;
  border-radius: 12px;
  background: #f5f7fa;
}
.reply-child + .reply-child {
  margin-top: 10px;
  padding-top: 10px;
  border-top: 1px solid #e8ecf2;
}
.empty.soft { padding: 36px 16px; }
.reply-bar {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 26;
  padding: 10px var(--gutter) calc(10px + var(--safe-b));
  background: rgba(255, 255, 255, .96);
  border-top: 1px solid rgba(230, 234, 240, .95);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
}
.reply-bar-inner {
  width: 100%;
  max-width: var(--content-max);
  margin: 0 auto;
}
.circle-detail-page .reply-bar {
  bottom: calc(var(--tabbar-h) + var(--safe-b));
}
body.is-desktop .circle-detail-page .reply-bar { bottom: 0; }
.reply-ctx {
  font-size: 13px;
  color: var(--muted);
  margin-bottom: 4px;
}
.msg-toolbar {
  display: flex;
  justify-content: flex-end;
  margin-bottom: 10px;
}
.field-label {
  display: block;
  font-size: 14px;
  font-weight: var(--fw-regular);
  color: var(--ink-2);
}
.reply-hint {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 13px;
  color: var(--muted);
  margin-bottom: 6px;
}
.reply-hint button { color: var(--blue); font-weight: var(--fw-regular); }
.reply-bar-row { display: flex; gap: 8px; align-items: center; }
.reply-bar-row input {
  flex: 1;
  min-width: 0;
  height: 42px;
  border-radius: var(--radius-xs);
  border: 1px solid var(--line);
  padding: 0 14px;
  background: #f7f9fc;
  transition: border-color .18s, box-shadow .18s;
}
.reply-bar-row input:focus {
  outline: none;
  border-color: #9fc2ff;
  box-shadow: 0 0 0 3px rgba(47, 124, 246, .12);
  background: #fff;
}
.reply-bar-row .btn { min-height: 42px; flex: none; }

/* ── 手机端帖子/回复优化 ── */
@media (max-width: 719px) {
  .circle-detail { padding: 14px 14px 16px; }
  .circle-detail h2 { font-size: 17px; margin: 8px 0 10px; }
  .circle-detail-body { font-size: 15px; line-height: 1.7; }
  .reply-item {
    padding: 10px 12px;
    margin-bottom: 6px;
    border-radius: 10px;
  }
  .reply-meta { gap: 6px; }
  .reply-meta time { font-size: 11px; }
  .reply-item > p, .reply-child > p { font-size: 13px; line-height: 1.6; }
  .reply-link { margin-top: 6px; font-size: 12px; }
  .reply-children {
    padding: 6px 8px;
    margin-top: 8px;
    border-radius: 8px;
  }
  .reply-child + .reply-child { margin-top: 6px; padding-top: 6px; }
  .reply-child .reply-meta { gap: 4px; }
  .reply-bar { padding: 8px var(--gutter) calc(8px + var(--safe-b)); }
  .reply-bar-row input { font-size: 14px; }
  .reply-bar-row .btn { min-height: 36px; font-size: 13px; }
  .reply-hint { font-size: 12px; padding: 4px 0; }
}

@media (min-width: 720px) {
  .circle-cat-ico { width: 52px; height: 52px; border-radius: 15px; }
  .circle-cat span:last-child { width: 52px; font-size: 13px; }
}

/* ── 知识星球认证 ── */
.planet-card {
  background: #fff;
  border-radius: 20px;
  overflow: hidden;
  border: 1px solid rgba(232, 235, 240, .85);
  box-shadow: 0 8px 26px rgba(31, 35, 41, .06);
}
.planet-hero {
  background: linear-gradient(145deg, #fef7ed, #fef0d8);
  padding: 32px 20px 24px;
  text-align: center;
  position: relative;
}
.planet-icon {
  width: 56px;
  height: 56px;
  margin: 0 auto 12px;
  background: linear-gradient(135deg, #f5b400, #f59e0b);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  box-shadow: 0 4px 14px rgba(245, 180, 0, .3);
}
.planet-icon svg { width: 26px; height: 26px; }
.planet-badge {
  display: inline-block;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .2em;
  color: #b45309;
  background: rgba(245, 180, 0, .15);
  padding: 3px 12px;
  border-radius: 999px;
  margin-bottom: 6px;
}
.planet-title {
  font-size: 22px;
  font-weight: 700;
  color: #7c2d12;
  margin: 0 0 4px;
}
.planet-hint {
  font-size: 13px;
  color: #9a3412;
  margin: 0;
  line-height: 1.5;
}
.planet-body {
  padding: 20px 22px 24px;
}
.planet-steps {
  margin-bottom: 20px;
}
.planet-step {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 0;
  border-bottom: 1px solid #f0f2f5;
  font-size: 14px;
  color: var(--ink-2);
  line-height: 1.5;
}
.planet-step:last-child { border-bottom: none; }
.step-num {
  flex-shrink: 0;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: var(--blue);
  color: #fff;
  font-size: 12px;
  font-weight: 600;
  display: flex;
  align-items: center;
  justify-content: center;
}
.planet-vip-note {
  background: #f0fdf4;
  border: 1px solid #bbf7d0;
  border-radius: 12px;
  padding: 14px 16px;
  font-size: 14px;
  color: #166534;
  text-align: center;
  line-height: 1.5;
}
.planet-body .btn-block {
  width: 100%;
  padding: 14px;
  font-size: 15px;
  font-weight: 600;
  border-radius: 12px;
}

.msg-item {
  background: #fff;
  border-radius: 14px;
  padding: 14px;
  margin-bottom: 10px;
  text-align: left;
  width: 100%;
  border: 1px solid rgba(232, 235, 240, .85);
  box-shadow: 0 4px 14px rgba(31, 35, 41, .035);
}
.msg-item.is-unread { box-shadow: inset 3px 0 0 var(--blue); }
.msg-item h3 { font-size: 15px; margin-bottom: 4px; }
.msg-item p { font-size: 14px; color: var(--ink-2); }
.msg-item time { display: block; margin-top: 8px; font-size: 12px; color: var(--muted); }

.legal {
  background: #fff;
  border-radius: 16px;
  padding: 18px;
  font-size: 15px;
  color: var(--ink-2);
  border: 1px solid rgba(232, 235, 240, .85);
  box-shadow: 0 6px 22px rgba(31, 35, 41, .04);
}
.legal h2 { color: var(--ink); font-size: 17px; margin: 16px 0 8px; }
.legal p { margin-bottom: 10px; }

.admin-thumbs {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
}
.admin-thumbs label {
  display: block;
  aspect-ratio: 16/10;
  border-radius: 12px;
  overflow: hidden;
  background: #f2f3f5;
  position: relative;
  cursor: pointer;
}
.admin-thumbs img,
.admin-thumbs .ph {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.admin-thumbs .ph {
  display: grid;
  place-items: center;
  color: var(--muted);
  font-size: 13px;
}

.success-panel { text-align: center; padding: 28px 16px; }
.success-panel .ok-mark {
  width: 64px;
  height: 64px;
  margin: 0 auto 12px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: #e8ffea;
  color: #2a9a4a;
  font-size: 29px;
}

.hidden-file {
  position: absolute;
  opacity: 0;
  width: 0;
  height: 0;
  pointer-events: none;
}

@media (min-width: 960px) {
  .mine-sc:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow);
  }
  .feed-card { padding: 18px; }
  .msg-item { padding: 16px 18px; }
}

/* ===== 微信登录 ===== */
.wx-login-card {
  max-width: 420px;
  margin: 0 auto;
  padding: 44px 28px 30px;
  text-align: center;
}
.wx-login-logo {
  width: 74px;
  height: 74px;
  margin: 0 auto 18px;
  display: grid;
  place-items: center;
  border-radius: 20px;
  background: linear-gradient(135deg, #07c160, #06ad56);
  box-shadow: 0 10px 24px rgba(7, 193, 96, .28);
}
.wx-login-logo svg { width: 40px; height: 40px; color: #fff; }
.wx-login-title {
  font-size: 19px;
  font-weight: var(--fw-semibold);
  color: var(--ink);
}
.wx-login-note {
  margin: 8px auto 28px;
  font-size: 13px;
  color: var(--muted);
  line-height: 1.6;
}
.wx-login-btn {
  width: 100%;
  height: 48px;
  border-radius: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background: #07c160;
  color: #fff;
  font-size: 16px;
  font-weight: var(--fw-medium);
  border: 0;
  cursor: pointer;
  transition: background .18s, transform .12s;
  box-shadow: 0 8px 20px rgba(7, 193, 96, .25);
}
.wx-login-btn:active { background: #06ad56; transform: scale(.98); }
.wx-login-btn:disabled { opacity: .6; cursor: not-allowed; transform: none; }
.wx-login-btn svg { width: 22px; height: 22px; }
.wx-agree {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  margin-top: 18px;
  font-size: 12px;
  color: var(--muted);
}
.wx-agree input { accent-color: #07c160; }
.wx-agree a { color: #2f7cf6; }

/* 微信授权弹窗 */
.wx-auth-modal {
  width: 320px;
  max-width: 88vw;
  border-radius: 16px;
  overflow: hidden;
  background: #fff;
}
.wx-auth-head {
  padding: 14px 16px;
  text-align: center;
  font-size: 15px;
  font-weight: var(--fw-medium);
  color: var(--ink);
  border-bottom: 1px solid #f0f2f5;
}
.wx-auth-body {
  padding: 26px 24px 22px;
  text-align: center;
}
.wx-auth-avatar {
  width: 58px;
  height: 58px;
  margin: 0 auto 14px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  overflow: hidden;
  background: linear-gradient(135deg, #e6f8ee, #d3f2e2);
  border: 1px solid #e2f5ea;
}
.wx-auth-avatar img { width: 100%; height: 100%; object-fit: cover; display: block; }
.wx-auth-avatar svg { width: 32px; height: 32px; color: #07c160; }
.wx-auth-badge {
  display: inline-block;
  padding: 2px 8px;
  border-radius: 6px;
  background: #07c160;
  color: #fff;
  font-size: 11px;
  font-weight: 600;
  vertical-align: 1px;
  margin-right: 6px;
}
.wx-auth-tip {
  margin: 12px 0 0;
  font-size: 12px;
  color: var(--muted);
  line-height: 1.7;
}
.wx-auth-btns {
  display: flex;
  gap: 12px;
  margin-top: 20px;
}
.wx-auth-btns .btn {
  flex: 1;
  height: 42px;
  border-radius: 21px;
  font-size: 15px;
}
.btn-wx-allow {
  background: #07c160;
  color: #fff;
  border: 0;
  cursor: pointer;
  transition: background .18s;
}
.btn-wx-allow:active { background: #06ad56; }
.btn-wx-allow:disabled { opacity: .6; cursor: not-allowed; }

/* ===== PC 微信扫码登录 ===== */
.wx-pc-card {
  max-width: 480px;
  margin: 0 auto;
  padding: 40px 36px;
  text-align: center;
}
.wx-pc-left {
  text-align: center;
  flex: 0 0 auto;
}
.wx-pc-header h2 {
  font-size: 20px;
  font-weight: var(--fw-semibold);
  color: var(--ink);
  margin: 0 0 4px;
}
.wx-pc-desc {
  font-size: 14px;
  color: var(--muted);
  margin: 0;
}
.wx-pc-qr-wrap {
  position: relative;
  margin: 20px auto 0;
  width: 240px;
  height: 240px;
  border-radius: 12px;
  border: 1px solid var(--line, #e6eaf0);
  overflow: hidden;
  box-shadow: 0 8px 24px rgba(24,39,75,.06);
}
.wx-pc-qr-wrap canvas {
  display: block;
  width: 100%;
  height: 100%;
}
.wx-qr-status {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background: rgba(255,255,255,.85);
  backdrop-filter: blur(6px);
  font-size: 14px;
  color: var(--ink-2, #4a5568);
  opacity: 0;
  transition: opacity .4s;
  pointer-events: none;
}
.wx-qr-status.show {
  opacity: 1;
}
.wx-qr-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #07c160;
  animation: qrPulse 1.4s ease-in-out infinite;
}
.wx-qr-status.scanned .wx-qr-dot {
  animation: none;
  background: #07c160;
  box-shadow: 0 0 0 4px rgba(7,193,96,.2);
}
.wx-qr-status.scanned .wx-qr-dot::after {
  content: '✓';
  display: block;
  line-height: 10px;
  font-size: 14px;
  color: #fff;
  text-align: center;
}
@keyframes qrPulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: .4; transform: scale(.8); }
}
.wx-pc-actions {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0;
  margin-top: 16px;
  font-size: 13px;
}
.wx-pc-refresh, .wx-pc-switch {
  background: none;
  border: 0;
  color: #2f7cf6;
  cursor: pointer;
  font-size: 13px;
  padding: 4px 8px;
  transition: opacity .18s;
}
.wx-pc-refresh:hover, .wx-pc-switch:hover { opacity: .7; }
.wx-pc-divider {
  color: var(--line, #e6eaf0);
  margin: 0 4px;
}



/* ===== 首页底部：公众号 / 知识星球 / 备案 ===== */
.axz-footer {
  margin: 28px auto 20px;
  padding: 0 16px 8px;
  text-align: center;
}
.axz-footer-qrs {
  display: flex;
  justify-content: center;
  gap: 40px;
  margin-bottom: 18px;
}
.axz-qr {
  margin: 0;
  width: max-content;
  max-width: 100%;
}
.axz-qr img {
  display: block;
  width: 128px;
  height: 128px;
  border-radius: 12px;
  border: 1px solid var(--line, #e6eaf0);
  background: #fff;
  padding: 6px;
  box-shadow: var(--shadow, 0 8px 24px rgba(24,39,75,.06));
}
.axz-qr figcaption {
  margin-top: 8px;
  font-size: 12px;
  line-height: 1.4;
  color: var(--muted, #8b95a5);
  white-space: nowrap;
}
.axz-footer-beian {
  margin: 0 0 6px;
  font-size: 12px;
  color: var(--muted, #8b95a5);
}
.axz-footer-beian a {
  color: var(--muted, #8b95a5);
  text-decoration: none;
}
.axz-footer-beian a:hover { color: var(--blue, #2f7cf6); }
.axz-footer-copy {
  margin: 0;
  font-size: 12px;
  color: var(--muted, #8b95a5);
}
@media (max-width: 480px) {
  .axz-footer-qrs { gap: 28px; }
  .axz-qr, .axz-qr img { width: 112px; }
  .axz-qr img { height: 112px; }
}

/* ===== 首页：圈子热贴 ===== */
.home-hot {
  margin-top: 6px;
}
.hot-panel {
  background: #fff;
  border-radius: 16px;
  border: 1px solid var(--line, #e6eaf0);
  padding: 4px 14px;
  box-shadow: var(--shadow, 0 8px 24px rgba(24,39,75,.06));
}
.hot-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 2px;
  border-bottom: 1px solid #f0f2f6;
  text-decoration: none;
  color: inherit;
}
.hot-item:last-child { border-bottom: 0; }
.hot-item-main {
  flex: 1;
  min-width: 0;
}
.hot-item-title {
  margin: 0;
  font-size: 15px;
  font-weight: 400;
  color: var(--ink, #1a1f2e);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.hot-item-meta, .hot-item-author {
  margin: 4px 0 0;
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 12px;
  color: var(--muted, #8b95a5);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.hot-item-author {
  gap: 4px;
}
.hot-item-avatar {
  width: 18px;
  height: 18px;
  border-radius: 50%;
  flex: none;
  object-fit: cover;
  border: 1px solid var(--line, #e6eaf0);
}
.hot-item-name {
  color: var(--ink-2, #4a5568);
}
.hot-item-dot {
  color: var(--line, #d0d5dd);
}
.hot-item-time {
  color: var(--muted, #8b95a5);
}
.hot-item-stat {
  flex: none;
  display: inline-flex;
  align-items: baseline;
  gap: 2px;
  font-size: 12px;
  color: var(--muted, #8b95a5);
  background: var(--blue-soft, #edf4ff);
  color: var(--blue, #2f7cf6);
  padding: 4px 10px;
  border-radius: 999px;
}
.hot-item-stat b {
  font-size: 14px;
  font-weight: 400;
}
.hot-empty {
  padding: 26px 16px;
  text-align: center;
  font-size: 13px;
  color: var(--muted, #8b95a5);
}

.link-more {
  display: inline-flex;
  align-items: center;
  gap: 2px;
  border: 0;
  background: none;
  padding: 6px 10px;
  border-radius: 999px;
  font-size: 13px;
  color: var(--blue, #2f7cf6);
  font-weight: 500;
  cursor: pointer;
}
.link-more:hover { background: var(--blue-soft, #edf4ff); }

/* ── 手机号 + 密码 + 图形验证码 登录/注册 ─────────────── */
.auth-card { max-width: 420px; margin: 0 auto; padding: 28px 26px 24px; }
.auth-brand { text-align: center; margin-bottom: 22px; }
.auth-logo {
  width: 56px; height: 56px; margin: 0 auto 12px; border-radius: 16px;
  object-fit: cover;
  box-shadow: 0 8px 20px rgba(47, 124, 246, .28);
}
.auth-brand h2 { font-size: 19px; font-weight: 600; color: var(--ink, #1a1f2e); }
.auth-brand p { margin-top: 6px; font-size: 13px; color: var(--muted, #8b95a5); }
.auth-card .field { margin-bottom: 16px; }
.auth-card .field label {
  display: block; margin-bottom: 8px; font-size: 14px;
  font-weight: 500; color: var(--ink-2, #4a5568);
}
.auth-card .field input {
  width: 100%; border: 1px solid var(--line, #e6eaf0);
  background: #fbfcfe; border-radius: 12px; padding: 12px 14px;
  font-size: 15px; color: var(--ink, #1a1f2e); outline: none;
  transition: border-color .15s, box-shadow .15s;
}
.auth-card .field input:focus { border-color: var(--blue, #2f7cf6); box-shadow: 0 0 0 3px rgba(47, 124, 246, .12); }
.auth-captcha-row { display: flex; gap: 10px; align-items: stretch; }
.auth-captcha-row input { flex: 1; min-width: 0; }
.auth-captcha-img {
  width: 116px; height: 46px; border: 1px solid var(--line, #e6eaf0);
  border-radius: 12px; background: #f7f9fc; cursor: pointer;
  display: block; object-fit: cover;
}
.auth-captcha-img:hover { border-color: var(--blue, #2f7cf6); }
.auth-submit {
  width: 100%; margin-top: 6px; padding: 13px 0; font-size: 16px;
  border-radius: 12px; background: linear-gradient(135deg, #2f7cf6, #1a5fd0);
  color: #fff; font-weight: 600; border: none; cursor: pointer;
  box-shadow: 0 8px 20px rgba(47, 124, 246, .22);
  transition: opacity .15s, transform .15s;
}
.auth-submit:active { transform: scale(.98); }
.auth-submit:disabled { opacity: .6; cursor: not-allowed; transform: none; }
.auth-switch { margin-top: 18px; text-align: center; font-size: 14px; color: var(--muted, #8b95a5); }
.auth-switch a { color: var(--blue, #2f7cf6); font-weight: 500; }
.auth-agree { margin-top: 16px; text-align: center; font-size: 12px; color: var(--muted, #a6b0c0); }
.auth-agree a { color: var(--blue, #2f7cf6); text-decoration: underline; font-weight: 500; }

/* 密码可见性切换（登录/注册/改密/找回等所有密码框通用） */
.pw-wrap { position: relative; display: block; }
.field .pw-wrap input,
.auth-card .field .pw-wrap input,
.admin-account-form .field .pw-wrap input {
  width: 100%; padding-right: 46px;
}
.pw-eye {
  position: absolute; top: 50%; right: 8px; transform: translateY(-50%);
  width: 30px; height: 30px; padding: 0; margin: 0;
  border: none; background: transparent; cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  color: var(--muted, #8b95a5); opacity: .6;
  transition: opacity .15s, color .15s;
}
.pw-eye:hover { opacity: 1; color: var(--blue, #2f7cf6); }
.pw-wrap input[type="text"] { letter-spacing: 1px; }
.auth-consent { display: inline-flex; align-items: center; justify-content: center; gap: 6px; cursor: pointer; padding: 4px 10px; border-radius: 8px; -webkit-tap-highlight-color: transparent; }
.auth-consent:active { background: rgba(47,124,246,.06); }
.auth-consent input[type=checkbox] { width: 16px; height: 16px; accent-color: var(--blue); cursor: pointer; flex-shrink: 0; pointer-events: none; }
.auth-consent span { line-height: 1.5; }
.auth-consent a { pointer-events: auto; }
.auth-remember { display: flex; align-items: center; gap: 6px; font-size: 13px; color: var(--gray-500, #8b95a5); margin: 10px 0 20px; }
.auth-remember input[type=checkbox] { width: 16px; height: 16px; accent-color: var(--blue); cursor: pointer; }
.auth-lock-tip {
  margin-top: 10px; padding: 10px 12px; border-radius: 10px;
  background: #fff5f5; border: 1px solid #ffd7d7; color: #e5484d;
  font-size: 13px; line-height: 1.5; display: none;
}
.auth-lock-tip.show { display: block; }

/* ── 密保找回 ── */
#recovery-question-area, #recovery-newpw-area { margin-top: 4px; }
#recovery-question-area label, #recovery-newpw-area label { margin-top: 12px; }
.auth-sec-q { width:100%; padding:10px 12px; border:1.5px solid #e6eaf0; border-radius:12px; font-size:15px; color:#1a1f2e; background:#fff; }

/* ── 隐患台账（工单式列表） ── */
.ledger-board {
  margin-top: 18px;
  background: #fff;
  border: 1px solid #e6eaf0;
  border-radius: 16px;
  overflow: hidden;
}
.ledger-board.is-empty { padding-bottom: 4px; }
.lg-head {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 14px 16px 10px;
}
.lg-head h3 {
  margin: 0;
  font-size: 15px;
  font-weight: 600;
  color: var(--ink, #1a1f2e);
}
.lg-badge {
  min-width: 20px;
  height: 20px;
  padding: 0 6px;
  border-radius: 999px;
  background: var(--blue, #2f7cf6);
  color: #fff;
  font-size: 12px;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
.lg-tip {
  flex: 1;
  text-align: right;
  font-size: 12px;
  color: var(--muted, #8b95a5);
}
.lg-head .btn-ghost {
  flex: none;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  background: none;
  border: 1px solid #e6eaf0;
  color: var(--ink, #1a1f2e);
}
.lg-head .btn-ghost + .btn-ghost { margin-left: 2px; }
.lg-emptyline {
  margin: 0;
  padding: 6px 16px 20px;
  font-size: 13px;
  color: var(--muted, #8b95a5);
  line-height: 1.6;
}
.lg-thead { display: none; }
.lg-card {
  padding: 12px 16px;
  border-top: 1px solid #f0f3f8;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px 10px;
}
.lg-card:first-child { border-top: none; }
.lg-c1 {
  flex: 1 1 100%;
  display: flex;
  align-items: flex-start;
  gap: 8px;
  min-width: 0;
}
.lg-dot {
  flex: none;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  margin-top: 6px;
  background: #c3cad6;
}
.lg-dot.is-lv红 { background: #e5484d; }
.lg-dot.is-lv橙 { background: #f5842b; }
.lg-dot.is-lv黄 { background: #f0c53c; }
.lg-dot.is-lv蓝 { background: #3b82f6; }
.lg-title {
  flex: 1;
  min-width: 0;
  font-size: 14px;
  font-weight: 600;
  color: var(--ink, #1a1f2e);
  line-height: 1.45;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.lg-card.is-open .lg-title { white-space: normal; }
.lg-major {
  flex: none;
  font-size: 11px;
  padding: 2px 8px;
  border-radius: 999px;
  background: #eef2f8;
  color: #5b6472;
  margin-top: 1px;
}
.lg-major.is-major { background: #fdecec; color: #d92d20; }
.lg-c2 { display: none; }
.ledger-lv {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 22px;
  height: 22px;
  border-radius: 8px;
  font-size: 12px;
  font-weight: 600;
}
.ledger-lv.is-lv红 { background: #fdecec; color: #d92d20; }
.ledger-lv.is-lv橙 { background: #fff1e3; color: #c76a11; }
.ledger-lv.is-lv黄 { background: #fdf7dc; color: #a16207; }
.ledger-lv.is-lv蓝 { background: #e8f1ff; color: #2f6fd6; }
.lg-c3, .lg-c4, .lg-c5 {
  font-size: 12px;
  color: var(--muted, #8b95a5);
  white-space: nowrap;
  max-width: 100%;
  overflow: hidden;
  text-overflow: ellipsis;
}
.lg-c5.is-overdue { color: #d92d20; font-weight: 600; }
.lg-status {
  display: inline-flex;
  align-items: center;
  font-size: 11px;
  padding: 2px 8px;
  border-radius: 999px;
  cursor: pointer;
  border: none;
}
.lg-status.st-open { background: #e8f1ff; color: #2f6fd6; }
.lg-status.st-doing { background: #fff1e3; color: #c76a11; }
.lg-status.st-done { background: #e8faf0; color: #12805c; }
.lg-c7 { display: flex; gap: 2px; margin-left: auto; }
.lg-op {
  background: none;
  border: none;
  padding: 5px 8px;
  font-size: 12px;
  color: var(--blue, #2f7cf6);
  cursor: pointer;
  border-radius: 8px;
  white-space: nowrap;
}
.lg-op:hover { background: #f2f6fd; }
.lg-op.is-danger { color: #d92d20; }
.lg-op.is-danger:hover { background: #fdf0ef; }
.lg-detail {
  display: none;
  flex: 1 1 100%;
  margin-top: 4px;
  padding: 12px;
  background: #f8fafc;
  border-radius: 12px;
}
.lg-card.is-open .lg-detail { display: block; }
.lg-photo-img {
  display: block;
  max-width: 100%;
  max-height: 300px;
  border-radius: 10px;
  border: 1px solid #e6eaf0;
  background: #fff;
}
.lg-photo-empty { font-size: 12px; color: var(--muted, #8b95a5); }
.lg-sec { margin-bottom: 10px; }
.lg-sec:last-child { margin-bottom: 0; }
.lg-sec h5 {
  margin: 0 0 3px;
  font-size: 12px;
  color: #5b6472;
  font-weight: 600;
}
.lg-sec p {
  margin: 0;
  font-size: 13px;
  line-height: 1.65;
  color: var(--ink, #1a1f2e);
}
.lg-sec .lg-basis { font-size: 12px; color: var(--muted, #8b95a5); }
.lg-more {
  border-top: 1px solid #f0f3f8;
  padding: 10px;
  text-align: center;
}
/* PC：表格形态 */
@media (min-width: 840px) {
  .lg-thead,
  .lg-card {
    display: grid;
    grid-template-columns: minmax(0, 2.4fr) 56px minmax(0, 1.3fr) minmax(0, 0.9fr) minmax(0, 0.9fr) 84px 176px;
    gap: 10px;
    align-items: center;
  }
  .lg-thead {
    padding: 10px 18px;
    background: #f8fafc;
    border-top: 1px solid #f0f3f8;
  }
  .lg-thead span { font-size: 12px; color: var(--muted, #8b95a5); }
  .lg-card { padding: 12px 18px; }
  .lg-c1 { align-items: center; }
  .lg-title { white-space: nowrap; }
  .lg-c2 { display: block; }
  .lg-c3, .lg-c4, .lg-c5, .lg-c6 { font-size: 13px; }
  .lg-c7 { margin-left: 0; justify-content: flex-end; }
  .lg-detail { grid-column: 1 / -1; }
}
/* 台账确认弹窗内：勾选条目 */
.lf-items { display: flex; flex-direction: column; gap: 8px; margin-bottom: 14px; }
.lf-item {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  padding: 10px 12px;
  border: 1.5px solid #e6eaf0;
  border-radius: 12px;
  cursor: pointer;
  transition: border-color 0.15s, background 0.15s;
}
.lf-item.is-on { border-color: var(--blue, #2f7cf6); background: #f6f9ff; }
.lf-item.is-off { opacity: 0.55; cursor: not-allowed; background: #fafbfc; }
.lf-item input { display: none; }
.lf-check {
  flex: none;
  width: 18px;
  height: 18px;
  margin-top: 2px;
  border-radius: 6px;
  border: 1.5px solid #c3cad6;
  position: relative;
  background: #fff;
}
.lf-item.is-on .lf-check { background: var(--blue, #2f7cf6); border-color: var(--blue, #2f7cf6); }
.lf-item.is-on .lf-check::after {
  content: '';
  position: absolute;
  left: 5px;
  top: 1.5px;
  width: 5px;
  height: 9px;
  border: solid #fff;
  border-width: 0 2px 2px 0;
  transform: rotate(45deg);
}
.lf-item-body { min-width: 0; display: flex; flex-direction: column; gap: 4px; }
.lf-item-body > b {
  font-size: 13px;
  color: var(--ink, #1a1f2e);
  line-height: 1.4;
}
.lf-tags { display: flex; gap: 6px; align-items: center; flex-wrap: wrap; }
.lf-major {
  font-size: 11px;
  padding: 1px 7px;
  border-radius: 999px;
  background: #eef2f8;
  color: #5b6472;
}
.lf-major.is-major { background: #fdecec; color: #d92d20; }
.lf-visible {
  font-size: 12px;
  color: var(--muted, #8b95a5);
  line-height: 1.5;
}
.lf-none {
  font-size: 13px;
  color: var(--muted, #8b95a5);
  text-align: center;
  padding: 10px 0 4px;
}
.lf-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}
.lf-note {
  margin: 12px 0 0;
  font-size: 12px;
  color: var(--muted, #8b95a5);
  line-height: 1.5;
}
.ledger-modal-sub {
  margin: 4px 0 0;
  font-size: 12px;
  color: var(--muted, #8b95a5);
}
.ledger-modal-actions {
  display: flex;
  gap: 10px;
  padding: 14px 18px 18px;
}
.ledger-modal-actions .btn { flex: 1; }
/* 台账卡详情（lg-detail 内为裸 p） */
.lg-nol { color: var(--muted, #8b95a5); }
.lg-detail p {
  margin: 0 0 10px;
  font-size: 13px;
  line-height: 1.65;
  color: var(--ink, #1a1f2e);
}
.lg-detail p:last-child { margin-bottom: 0; }
.lg-detail p b {
  display: block;
  font-size: 12px;
  font-weight: 600;
  color: #5b6472;
  margin-bottom: 2px;
}
.lg-meta-line {
  font-size: 12px;
  color: var(--muted, #8b95a5);
}
/* 研判卡上的记入台账 */
.hz-foot-btns { display: flex; align-items: center; gap: 8px; margin-top: 10px; justify-content: flex-end; }
.hz-toledger {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  background: var(--blue, #2f7cf6);
  color: #fff;
  border: none;
  border-radius: 999px;
  padding: 6px 12px;
  font-size: 12px;
  font-weight: 500;
  cursor: pointer;
}
.hz-toledger svg { width: 13px; height: 13px; }
.hz-toledger:hover { filter: brightness(1.05); }
.hz-saved {
  font-size: 12px;
  color: #12805c;
  background: #e8faf0;
  padding: 4px 10px;
  border-radius: 999px;
}

/* 台账弹窗 */
.ledger-overlay {
  position: fixed;
  inset: 0;
  z-index: 1000;
  background: rgba(0,0,0,0.45);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
}
.ledger-modal {
  background: #fff;
  border-radius: 16px;
  width: 100%;
  max-width: 480px;
  max-height: 90vh;
  overflow-y: auto;
  box-shadow: 0 20px 48px rgba(0,0,0,0.15);
}
.ledger-modal-h {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 18px 0;
}
.ledger-modal-h h3 {
  font-size: 17px;
  font-weight: var(--fw-medium, 500);
}
.ledger-modal-close {
  background: none;
  border: none;
  padding: 4px;
  cursor: pointer;
  color: var(--muted, #8b95a5);
}
.ledger-modal-close svg { width: 20px; height: 20px; }
.ledger-modal-body {
  padding: 16px 18px;
}
.ledger-modal-body .field { margin-bottom: 14px; }
.ledger-modal-body .field:last-child { margin-bottom: 0; }
.ledger-modal-body .field label {
  display: block;
  font-size: 13px;
  font-weight: var(--fw-medium, 500);
  margin-bottom: 5px;
  color: var(--ink, #1a1f2e);
}
.ledger-modal-body .field input,
.ledger-modal-body .field select {
  width: 100%;
  padding: 10px 12px;
  border: 1.5px solid #e6eaf0;
  border-radius: 12px;
  font-size: 15px;
  color: #1a1f2e;
  background: #fff;
  box-sizing: border-box;
}
.ledger-modal-body .field input:focus,
.ledger-modal-body .field select:focus {
  outline: none;
  border-color: var(--blue, #2f7cf6);
}
/* 协议阅读模态框 */
.auth-modal-overlay {
  display: none;
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  background: rgba(0,0,0,0.5);
  z-index: 9999;
  align-items: center;
  justify-content: center;
  padding: 16px;
}
.auth-modal-box {
  background: #fff;
  border-radius: 16px;
  width: 100%;
  max-width: 560px;
  max-height: 80vh;
  display: flex;
  flex-direction: column;
  box-shadow: 0 12px 40px rgba(0,0,0,0.15);
}
.auth-modal-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 20px 10px;
  border-bottom: 1px solid var(--border);
}
.auth-modal-head h3 {
  margin: 0;
  font-size: 16px;
  font-weight: 600;
  color: var(--ink);
}
.auth-modal-close {
  width: 28px;
  height: 28px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  font-size: 14px;
  color: var(--muted, #8b95a5);
  cursor: pointer;
  background: var(--bg, #f3f5f8);
  transition: background .2s;
}
.auth-modal-close:hover {
  background: #e6eaf0;
  color: var(--ink);
}
.auth-modal-scroll {
  flex: 1;
  overflow-y: auto;
  padding: 20px 24px;
  font-size: 14px;
  line-height: 1.7;
  color: var(--ink);
}
.auth-modal-scroll h1,
.auth-modal-scroll h2,
.auth-modal-scroll h3,
.auth-modal-scroll h4 {
  margin-top: 1.2em;
  margin-bottom: 0.5em;
  font-weight: 600;
}
.auth-modal-scroll h3 { font-size: 15px; }
.auth-modal-scroll h4 { font-size: 14px; color: var(--ink-2, #4a5568); }
.auth-modal-scroll p {
  margin: 0.6em 0;
}
.auth-modal-scroll section {
  margin-bottom: 1em;
}
.auth-modal-foot {
  display: flex;
  gap: 10px;
  padding: 12px 24px 16px;
  border-top: 1px solid var(--border);
  justify-content: flex-end;
}
.auth-modal-foot .btn {
  padding: 8px 24px;
  border-radius: 8px;
  font-size: 14px;
  cursor: pointer;
  border: none;
  font-weight: 500;
}
.auth-modal-foot .btn-primary {
  background: var(--blue);
  color: #fff;
}
.auth-modal-foot .btn-primary:hover {
  opacity: 0.9;
}
.auth-modal-foot .btn-ghost {
  background: #f3f5f8;
  color: var(--ink-2, #4a5568);
}
.auth-modal-foot .btn-ghost:hover {
  background: #e6eaf0;
}

/* 手机端：协议弹窗底部弹出、接近全屏、大按钮易触控 */
@media (max-width: 719px) {
  .auth-modal-overlay {
    padding: 0;
    align-items: flex-end;
  }
  .auth-modal-box {
    max-width: 100%;
    max-height: 92vh;
    border-radius: 18px 18px 0 0;
  }
  .auth-modal-head {
    padding: 16px 18px 12px;
  }
  .auth-modal-head h3 {
    font-size: 17px;
  }
  .auth-modal-scroll {
    padding: 16px 18px;
    font-size: 14px;
    line-height: 1.75;
    -webkit-overflow-scrolling: touch;
  }
  .auth-modal-scroll h2 {
    font-size: 17px;
    margin-top: 0;
  }
  .auth-modal-scroll h3 {
    font-size: 15px;
  }
  .auth-modal-scroll h4 {
    font-size: 14px;
  }
  .auth-modal-foot {
    padding: 12px 18px 20px;
    padding-bottom: calc(20px + env(safe-area-inset-bottom));
  }
  .auth-modal-foot .btn {
    flex: 1;
    padding: 13px 0;
    font-size: 15px;
    border-radius: 10px;
    min-height: 46px;
  }
}

/* ===== LEC 风险评估助手 ===== */
.lec-page .lec-card { margin-bottom: 16px; }
.lec-step-head { display: flex; align-items: center; gap: 10px; margin-bottom: 14px; }
.lec-step-badge {
  width: 26px; height: 26px; border-radius: 8px; flex: none;
  background: var(--blue, #2f7cf6); color: #fff; font-size: 13px; font-weight: 600;
  display: inline-flex; align-items: center; justify-content: center;
}
.lec-step-head h3 { font-size: var(--fs-17, 17px); margin: 0; }
.lec-step-head .btn { margin-left: auto; }
.lec-ai-tip { color: var(--muted, #8b95a5); font-size: 13px; line-height: 1.6; margin: 8px 0 0; }
.lec-confirm-row { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 16px; }
.lec-confirm-row .btn-block { width: 100%; }
.lec-u-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.lec-u-row { display: block; }
.lec-u-row span { display: block; font-size: 12px; color: var(--muted, #8b95a5); margin-bottom: 4px; }
.lec-u-row input {
  width: 100%; box-sizing: border-box; padding: 10px 12px; border: 1px solid var(--line, #e6eaf0);
  border-radius: 12px; font-size: 14px; background: var(--bg, #fff);
}
.lec-more { background: var(--blue-soft, #edf4ff); border: 1px dashed var(--blue, #2f7cf6); border-radius: 12px; padding: 12px; margin-top: 12px; }
.lec-more-title { font-weight: 600; color: var(--blue, #2f7cf6); display: flex; align-items: center; gap: 6px; }
.lec-more p { font-size: 13px; color: #4a5568; margin: 8px 0; }
.lec-more textarea { width: 100%; box-sizing: border-box; border: 1px solid var(--line, #e6eaf0); border-radius: 12px; padding: 10px 12px; font-size: 14px; background: #fff; }
.lec-hz-list { display: flex; flex-direction: column; gap: 12px; }
.lec-hz-card { border: 1px solid var(--line, #e6eaf0); border-radius: 12px; padding: 12px; }
.lec-hz-top { display: flex; align-items: center; gap: 8px; margin-bottom: 8px; }
.lec-hz-idx {
  width: 22px; height: 22px; border-radius: 6px; flex: none; font-size: 12px; font-weight: 600;
  background: var(--blue-soft, #edf4ff); color: var(--blue, #2f7cf6);
  display: inline-flex; align-items: center; justify-content: center;
}
.lec-hz-card .chip { margin-left: auto; }
.lec-rm { background: none; border: none; color: #c0392b; cursor: pointer; font-size: 16px; padding: 2px 4px; }
.lec-hz-name { width: 100%; box-sizing: border-box; border: 1px solid var(--line, #e6eaf0); border-radius: 10px; padding: 9px 12px; font-size: 14px; margin-bottom: 8px; }
.lec-hz-desc { width: 100%; box-sizing: border-box; border: 1px solid var(--line, #e6eaf0); border-radius: 10px; padding: 9px 12px; font-size: 13px; resize: vertical; }
.lec-hz-add { display: flex; gap: 8px; margin-top: 12px; }
.lec-hz-add input { flex: 1; border: 1px solid var(--line, #e6eaf0); border-radius: 10px; padding: 9px 12px; font-size: 14px; }
.lec-missed { border-left: 3px solid #f5b400; }
.lec-missed-title { font-weight: 600; color: #b7791f; display: flex; align-items: center; gap: 6px; margin-bottom: 10px; }
.lec-missed-row { display: flex; align-items: center; gap: 10px; padding: 8px 0; border-bottom: 1px dashed var(--line, #e6eaf0); }
.lec-missed-row:last-child { border-bottom: none; }
.lec-missed-row > div { flex: 1; }
.lec-missed-row b { font-size: 14px; }
.lec-missed-row p { font-size: 12px; color: var(--muted, #8b95a5); margin: 2px 0 0; }
.lec-q-item { display: flex; gap: 12px; padding: 12px 0; border-bottom: 1px solid var(--line, #e6eaf0); }
.lec-q-no { width: 28px; height: 28px; flex: none; border-radius: 50%; background: var(--blue, #2f7cf6); color: #fff; font-size: 12px; font-weight: 600; display: inline-flex; align-items: center; justify-content: center; }
.lec-q-body { flex: 1; }
.lec-q-body b { font-size: 14px; line-height: 1.5; }
.lec-q-reason { font-size: 12px; color: var(--muted, #8b95a5); margin: 4px 0; }
.lec-q-answer { width: 100%; box-sizing: border-box; border: 1px solid var(--line, #e6eaf0); border-radius: 10px; padding: 9px 12px; font-size: 14px; margin-top: 6px; }
.lec-vec-grid { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 12px; }
.lec-vec-card { border: 1px solid var(--line, #e6eaf0); border-radius: 12px; padding: 12px; display: flex; flex-direction: column; gap: 8px; }
.lec-vec-head b { font-size: 14px; }
.lec-vec-ai { font-size: 13px; color: var(--muted, #8b95a5); display: flex; align-items: center; gap: 6px; }
.lec-vec-ai-val { font-size: 22px; font-weight: 700; color: var(--blue, #2f7cf6); }
.lec-vec-reason { font-size: 12px; color: #4a5568; line-height: 1.5; background: var(--bg, #f3f5f8); border-radius: 8px; padding: 8px; }
.lec-vec-field { display: block; font-size: 12px; color: var(--muted, #8b95a5); }
.lec-vec-field select { width: 100%; margin-top: 4px; border: 1px solid var(--line, #e6eaf0); border-radius: 10px; padding: 9px 10px; font-size: 13px; background: #fff; }
.lec-level-legend { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; font-size: 12px; color: var(--muted, #8b95a5); margin-top: 12px; }
.lec-level-row { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 10px; }
.lec-level-row span { display: inline-flex; align-items: center; gap: 5px; font-size: 12px; color: #4a5568; }
.lec-level-row i { width: 10px; height: 10px; border-radius: 3px; display: inline-block; }
.lec-d-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 10px; margin-bottom: 12px; }
.lec-d-cell { background: var(--bg, #f3f5f8); border-radius: 12px; padding: 14px 8px; text-align: center; }
.lec-d-cell span { display: block; font-size: 12px; color: var(--muted, #8b95a5); }
.lec-d-cell b { font-size: 22px; font-weight: 700; color: #1a1f2e; }
.lec-d-cell.lec-d-d { background: var(--blue-soft, #edf4ff); }
.lec-d-cell.lec-d-d b { color: var(--blue, #2f7cf6); }
.lec-d-level b { color: var(--lc, var(--blue, #2f7cf6)); font-size: 18px; }
.lec-level-action { border: 1px solid; border-radius: 10px; padding: 10px 12px; font-size: 13px; margin-bottom: 12px; }
.lec-ctl-title { font-weight: 600; font-size: 14px; margin: 6px 0 10px; }
.lec-ctl-list { display: flex; flex-direction: column; gap: 8px; }
.lec-ctl-row { display: flex; gap: 8px; align-items: center; }
.lec-input-card textarea#lec-task, .lec-input-wrap textarea { display: block; width: 100%; box-sizing: border-box; resize: none; min-height: 140px; height: auto; line-height: 1.7; padding: 12px 14px; border: 1px solid #e6eaf0; border-radius: 14px; font-size: 14px; background: #fff; }
.lec-input-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 10px; }
.lec-input-title { font-size: 13px; font-weight: 600; color: #1a1f2e; }
.lec-input-wrap { position: relative; }
.lec-voice-row { display: flex; align-items: center; gap: 14px; margin-top: 14px; }
.lec-voice-btn { position: relative; display: inline-flex; align-items: center; justify-content: center; width: 58px; height: 58px; flex: 0 0 58px; border: none; border-radius: 50%; color: #fff; cursor: pointer; background: radial-gradient(circle at 30% 28%, #6aa3ff, #2f7cf6 62%, #2a6ef0); box-shadow: 0 10px 22px -8px rgba(47,124,246,.66), inset 0 1px 0 rgba(255,255,255,.4); transition: transform .18s, box-shadow .18s, background .18s; }
.lec-voice-btn:hover:not(:disabled) { transform: translateY(-2px) scale(1.04); box-shadow: 0 14px 26px -8px rgba(47,124,246,.78), inset 0 1px 0 rgba(255,255,255,.45); }
.lec-voice-btn:active:not(:disabled) { transform: scale(.94); }
.lec-voice-btn:disabled { opacity: .45; cursor: not-allowed; }
.lec-voice-btn .lec-voice-ic svg { width: 22px; height: 22px; display: block; }
.lec-voice-btn .lec-voice-waves { display: none; align-items: center; gap: 3px; height: 14px; }
.lec-voice-btn .lec-voice-waves i { display: block; width: 3px; border-radius: 2px; background: #fff; animation: lecWave .9s ease-in-out infinite; }
.lec-voice-btn .lec-voice-waves i:nth-child(1) { height: 7px; } .lec-voice-btn .lec-voice-waves i:nth-child(2) { height: 13px; animation-delay: .12s; } .lec-voice-btn .lec-voice-waves i:nth-child(3) { height: 10px; animation-delay: .24s; } .lec-voice-btn .lec-voice-waves i:nth-child(4) { height: 14px; animation-delay: .36s; } .lec-voice-btn .lec-voice-waves i:nth-child(5) { height: 8px; animation-delay: .48s; }
@keyframes lecWave { 0%,100% { transform: scaleY(.5); opacity: .6; } 50% { transform: scaleY(1.15); opacity: 1; } }
.lec-voice-btn.is-listening { background: radial-gradient(circle at 30% 28%, #ff8a7a, #e5484d 62%, #d63844); box-shadow: 0 0 0 6px rgba(229,72,77,.14), 0 10px 22px -8px rgba(229,72,77,.6); animation: lecPulse 1.15s infinite; }
.lec-voice-btn.is-listening .lec-voice-ic { display: none; }
.lec-voice-btn.is-listening .lec-voice-waves { display: flex; }
@keyframes lecPulse { 0% { box-shadow: 0 0 0 0 rgba(229,72,77,.32), 0 10px 22px -8px rgba(229,72,77,.6); } 70% { box-shadow: 0 0 0 12px rgba(229,72,77,0), 0 10px 22px -8px rgba(229,72,77,.6); } 100% { box-shadow: 0 0 0 0 rgba(229,72,77,0), 0 10px 22px -8px rgba(229,72,77,.6); } }
.lec-voice-meta { display: flex; flex-direction: column; gap: 4px; min-width: 0; }
.lec-voice-tip { font-size: 12px; color: #8b95a5; line-height: 1.5; }
.lec-voice-live { margin-top: 8px; color: #e5484d; font-size: 12px; display: flex; align-items: center; gap: 5px; word-break: break-all; }
.lec-voice-interim { color: #4a5568; font-style: italic; min-height: 16px; }
.lec-input-wrap textarea::placeholder { color: #9aa5b5; }
.lec-ctl-cat { flex: none; border: 1px solid var(--line, #e6eaf0); border-radius: 10px; padding: 8px 8px; font-size: 12px; background: #fff; }
.lec-ctl-text { flex: 1; border: 1px solid var(--line, #e6eaf0); border-radius: 10px; padding: 9px 10px; font-size: 13px; }
.lec-input-card .mx-photo-slot { width: 100%; height: 110px; }
.lec-input-card .mx-photo-slot img { object-fit: cover; }
.lec-input-photos-wrap { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-top: 12px; }
.lec-input-btns { display: flex; gap: 10px; margin-top: 14px; }
.lec-input-btns .btn-lg { flex: 1; padding: 13px 16px; border-radius: 14px; }
.lec-history { margin-top: 8px; }
.lec-hist-d { font-size: 12px; color: var(--blue, #2f7cf6); font-weight: 600; }
@media (max-width: 680px) {
  .lec-u-grid, .lec-vec-grid { grid-template-columns: 1fr; }
  .lec-d-grid { grid-template-columns: repeat(3, 1fr); }
  .lec-input-btns { flex-direction: column; }
}

/* ========== LEC 视觉升级（仅作用于 #/lec 页面，不影响其他工具） ========== */
.lec-page { max-width: 640px; }
.lec-page .btn { font-weight: 600; letter-spacing: .2px; transition: transform .16s ease, box-shadow .16s ease, background .16s ease, border-color .16s ease, color .16s ease; }

/* 主 CTA —— 渐变蓝 + 柔和投影 + 上浮反馈 */
.lec-page .btn-primary {
  background: linear-gradient(135deg, #2f7cf6 0%, #4d8dff 55%, #6aa3ff 100%);
  color: #fff; border: none; border-radius: 14px;
  box-shadow: 0 10px 24px -10px rgba(47,124,246,.55), inset 0 1px 0 rgba(255,255,255,.35);
}
.lec-page .btn-primary:hover:not(:disabled) { transform: translateY(-2px); box-shadow: 0 16px 30px -10px rgba(47,124,246,.62); filter: brightness(1.04); }
.lec-page .btn-primary:active:not(:disabled) { transform: translateY(0) scale(.985); box-shadow: 0 6px 16px -8px rgba(47,124,246,.55); }
.lec-page .btn-primary:disabled { opacity: .55; box-shadow: none; background: linear-gradient(135deg, #2f7cf6, #5b8fff); }

/* 主 CTA 大号 */
.lec-page .btn-lg { height: 52px; font-size: 16px; border-radius: 16px; }
.lec-page .btn-lg.btn-primary { box-shadow: 0 14px 30px -10px rgba(47,124,246,.55), inset 0 1px 0 rgba(255,255,255,.35); }
.lec-page .btn-block { width: 100%; justify-content: center; }

/* 次级按钮 —— 浅蓝描边 + 白底 */
.lec-page .btn-ghost { background: #fff; color: #2f7cf6; border: 1px solid #d6e4ff; border-radius: 14px; box-shadow: 0 2px 6px rgba(24,39,75,.04); }
.lec-page .btn-ghost:hover:not(:disabled) { border-color: #2f7cf6; background: #f0f6ff; transform: translateY(-1px); }
.lec-page .btn-ghost:active:not(:disabled) { transform: translateY(0); }

/* 小按钮 */
.lec-page .btn-sm { border-radius: 12px; padding: 6px 12px; font-size: 12.5px; }

/* 步骤头 + 徽标 */
.lec-page .lec-step-head { display: flex; align-items: center; gap: 10px; margin-bottom: 14px; }
.lec-page .lec-step-head h3 { font-size: 17px; font-weight: 700; color: #1a1f2e; margin: 0; flex: 1; }
.lec-page .lec-step-badge {
  width: 26px; height: 26px; border-radius: 50%; flex: none;
  display: inline-flex; align-items: center; justify-content: center;
  background: linear-gradient(135deg, #2f7cf6, #5b8fff); color: #fff;
  font-size: 13px; font-weight: 700;
  box-shadow: 0 5px 12px -4px rgba(47,124,246,.55);
}

/* 卡片 */
.lec-page .lec-card { border-radius: 18px; border: 1px solid #eef1f7; box-shadow: 0 12px 28px -18px rgba(24,39,75,.22); background: #fff; }
.lec-page .form-card { padding: 18px; }

/* 输入卡片 —— 顶部输入框 */
.lec-page .lec-input-card { padding: 18px; }
.lec-page .lec-input-title { font-size: 13px; font-weight: 600; color: #4a5568; display: flex; align-items: center; gap: 6px; }
.lec-page .lec-input-title::before { content: ''; width: 4px; height: 14px; border-radius: 3px; background: linear-gradient(180deg, #2f7cf6, #6aa3ff); }
.lec-page .lec-input-wrap textarea {
  width: 100%; min-height: 128px; resize: none; margin-top: 10px;
  border: 1px solid #dfe6f0; border-radius: 14px; padding: 13px 14px;
  font-size: 15px; line-height: 1.6; background: #fafcff; color: #1a1f2e;
  transition: border-color .16s, box-shadow .16s, background .16s;
}
.lec-page .lec-input-wrap textarea:focus { outline: none; border-color: #2f7cf6; background: #fff; box-shadow: 0 0 0 4px rgba(47,124,246,.12); }
.lec-page .lec-input-wrap textarea::placeholder { color: #9aa5b5; }

/* 语音按钮（圆形 + 聆听声波纹）统一定义于 .lec-voice-btn */

/* 首页入口按钮组 */
.lec-page .lec-input-btns { display: flex; gap: 10px; margin-top: 16px; }
@media (max-width: 480px) { .lec-page .lec-input-btns { flex-direction: column; } }

/* AI 理解编辑区 */
.lec-page .lec-u-grid { display: grid; gap: 10px; }
.lec-page .lec-u-row { display: flex; align-items: center; gap: 10px; background: #fff; border: 1px solid #eef1f7; border-radius: 12px; padding: 8px 12px; }
.lec-page .lec-u-row span { width: 72px; flex: none; font-size: 13px; font-weight: 600; color: #4a5568; }
.lec-page .lec-u-row input { flex: 1; border: none; background: transparent; font-size: 14px; padding: 6px 0; color: #1a1f2e; }
.lec-page .lec-u-row input:focus { outline: none; color: #2f7cf6; }
.lec-page .lec-more { background: #fff8ec; border: 1px solid #ffe7b8; border-radius: 14px; padding: 14px; margin-top: 12px; }
.lec-page .lec-more-title { color: #b57400; font-weight: 600; font-size: 13.5px; margin-bottom: 6px; }
.lec-page .lec-more textarea { width: 100%; border: 1px solid #ecd9a8; border-radius: 10px; padding: 10px; font-size: 14px; margin: 8px 0; resize: none; background: #fff; }
.lec-page .lec-ai-tip { font-size: 12.5px; color: #8b95a5; line-height: 1.6; margin-top: 10px; }
.lec-page .lec-confirm-row { display: flex; gap: 10px; align-items: center; margin-top: 16px; flex-wrap: wrap; }
.lec-page .lec-confirm-row .btn { flex: 1; min-width: 0; }

/* 危险因素卡片 */
.lec-page .lec-hz-list { display: grid; gap: 10px; }
.lec-page .lec-hz-card { position: relative; border: 1px solid #eef1f7; border-left: 3px solid #2f7cf6; border-radius: 14px; padding: 12px 14px; background: #fff; box-shadow: 0 6px 18px -12px rgba(24,39,75,.2); }
.lec-page .lec-hz-top { display: flex; align-items: center; gap: 8px; margin-bottom: 8px; }
.lec-page .lec-hz-idx { width: 22px; height: 22px; border-radius: 50%; background: #edf4ff; color: #2f7cf6; font-size: 12px; font-weight: 700; display: inline-flex; align-items: center; justify-content: center; }
.lec-page .lec-hz-name { width: 100%; border: none; background: transparent; font-size: 15px; font-weight: 600; color: #1a1f2e; padding: 2px 0; }
.lec-page .lec-hz-desc { width: 100%; border: none; background: transparent; resize: none; font-size: 13px; color: #4a5568; padding: 0; }
.lec-page .lec-hz-add { display: flex; gap: 8px; align-items: center; margin-top: 10px; }
.lec-page .lec-hz-add input { flex: 1; border: 1px dashed #cfd8e8; border-radius: 12px; padding: 9px 12px; font-size: 14px; background: #fafcff; }
.lec-page .lec-rm { width: 28px; height: 28px; border-radius: 50%; background: #fdecec; color: #e5484d; border: none; display: inline-flex; align-items: center; justify-content: center; cursor: pointer; transition: .15s; margin-left: auto; }
.lec-page .lec-rm:hover:not(:disabled) { background: #e5484d; color: #fff; }

/* 遗漏提醒 */
.lec-page .lec-missed { background: linear-gradient(180deg, #fff8ec, #fffdf6); border: 1px solid #ffe7b8; border-radius: 16px; margin-top: 12px; }
.lec-page .lec-missed-title { font-size: 13.5px; font-weight: 600; color: #b57400; }
.lec-page .lec-missed-row { display: flex; align-items: center; gap: 10px; justify-content: space-between; border-top: 1px dashed #ffe7b8; margin-top: 10px; padding-top: 10px; }
.lec-page .lec-missed-row b { color: #1a1f2e; }

/* 提问区 */
.lec-page .lec-q-item { display: flex; gap: 10px; border: 1px solid #eef1f7; border-radius: 14px; padding: 12px; margin-bottom: 10px; background: #fff; }
.lec-page .lec-q-no { flex: none; width: 30px; height: 30px; border-radius: 10px; background: linear-gradient(135deg, #2f7cf6, #5b8fff); color: #fff; font-weight: 700; font-size: 13px; display: inline-flex; align-items: center; justify-content: center; box-shadow: 0 5px 12px -4px rgba(47,124,246,.5); }
.lec-page .lec-q-reason { font-size: 12px; color: #8b95a5; margin: 4px 0; }
.lec-page .lec-q-answer { width: 100%; border: 1px solid #dfe6f0; border-radius: 10px; padding: 9px 11px; font-size: 14px; background: #fafcff; margin-top: 6px; }
.lec-page .lec-q-answer:focus { outline: none; border-color: #2f7cf6; box-shadow: 0 0 0 3px rgba(47,124,246,.1); }

/* L/E/C 辅助判断 */
.lec-page .lec-vec-grid { display: grid; gap: 12px; }
.lec-page .lec-vec-card { background: linear-gradient(180deg, #f6faff, #eef5ff); border: 1px solid #e0ecff; border-radius: 16px; padding: 14px; }
.lec-page .lec-vec-head b { color: #1a1f2e; font-size: 14px; }
.lec-page .lec-vec-ai { color: #2f7cf6; font-weight: 600; font-size: 13px; margin-top: 8px; display: flex; align-items: center; gap: 8px; }
.lec-page .lec-vec-ai-val { display: inline-flex; align-items: center; justify-content: center; min-width: 36px; height: 36px; padding: 0 10px; border-radius: 12px; background: linear-gradient(135deg, #2f7cf6, #5b8fff); color: #fff; font-size: 15px; font-weight: 800; box-shadow: 0 6px 14px -6px rgba(47,124,246,.6); }
.lec-page .lec-vec-reason { font-size: 12.5px; color: #5a6478; line-height: 1.55; margin: 8px 0 4px; }
.lec-page .lec-vec-field { display: flex; align-items: center; justify-content: space-between; gap: 8px; font-size: 12.5px; color: #4a5568; margin-top: 8px; }
.lec-page .lec-vec-field select { border: 1px solid #d6e4ff; border-radius: 10px; padding: 8px 10px; font-size: 13px; background: #fff; color: #1a1f2e; max-width: 68%; }
.lec-page .lec-level-legend { font-size: 12px; color: #8b95a5; margin-top: 12px; }
.lec-page .lec-level-row { display: flex; flex-wrap: wrap; gap: 8px; }
.lec-page .lec-level-row span { display: inline-flex; align-items: center; gap: 5px; color: #5a6478; font-size: 12px; }
.lec-page .lec-level-row i { width: 9px; height: 9px; border-radius: 3px; }

/* 结果区 */
.lec-page .lec-result .lec-step-head { margin-bottom: 18px; }
.lec-page .lec-d-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.lec-page .lec-d-cell { background: #fff; border: 1px solid #eef1f7; border-radius: 14px; padding: 14px 8px; text-align: center; }
.lec-page .lec-d-cell span { display: block; font-size: 12px; color: #8b95a5; margin-bottom: 6px; }
.lec-page .lec-d-cell b { font-size: 26px; color: #1a1f2e; }
.lec-page .lec-d-d { background: linear-gradient(135deg, #2f7cf6, #3f87ff) !important; border: none !important; }
.lec-page .lec-d-d span { color: rgba(255,255,255,.85) !important; }
.lec-page .lec-d-d b { color: #fff !important; }
.lec-page .lec-d-level b { color: var(--lc, #2f7cf6); }
.lec-page .lec-level-action { margin-top: 12px; border: 1px dashed; border-radius: 12px; padding: 10px 12px; font-size: 13px; font-weight: 600; background: #fff; }
.lec-page .lec-ctl-title { font-weight: 600; color: #1a1f2e; font-size: 14px; margin: 16px 0 8px; }
.lec-page .lec-ctl-list { display: grid; gap: 8px; }
.lec-page .lec-ctl-row { display: flex; gap: 8px; align-items: center; border: 1px solid #eef1f7; border-radius: 12px; padding: 8px; background: #fff; }
.lec-page .lec-ctl-cat { border: 1px solid #dfe6f0; border-radius: 10px; padding: 7px 8px; font-size: 12.5px; background: #fff; }
.lec-page .lec-ctl-text { flex: 1; border: none; background: transparent; font-size: 14px; padding: 6px; color: #1a1f2e; }
.lec-page .lec-ctl-text:focus { outline: none; }

/* 历史记录 */
.lec-page .lec-history .exam-card { border-radius: 16px; }
.lec-page .lec-hist-d { font-weight: 700; color: #2f7cf6; }
.lec-page .exam-mode-chip { border-radius: 999px; padding: 3px 10px; font-size: 12px; font-weight: 600; color: #fff; }

/* 步骤入场微动画 */
@keyframes lecCardIn { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: translateY(0); } }
@keyframes lecPulse { 0%, 100% { box-shadow: 0 0 0 5px rgba(229,72,77,.14); } 50% { box-shadow: 0 0 0 9px rgba(229,72,77,.05); } }
.lec-page .lec-card > * { animation: lecCardIn .28s ease both; }
.lec-page .lec-card > *:nth-child(2) { animation-delay: .05s; }
.lec-page .lec-card > *:nth-child(3) { animation-delay: .1s; }


/* ===== PPE 助手（贴合 1/2/3 工具统一风格）===== */
.tool-hero.is-ppe {
  --tool-hero: linear-gradient(118deg, #9a3412 0%, #ea580c 48%, #f59e0b 100%);
  --tool-shadow: rgba(196, 90, 14, .22);
}
.ppe-page .ppe-photos { grid-template-columns: 1fr 2fr; }
.ppe-page .ppe-form .field + .field { margin-top: 18px; }
.ppe-page .pp-field-tip { font-size: 12px; font-weight: 400; color: var(--muted, #8b95a5); margin-left: 4px; }
.ppe-page .pp-chips { display: flex; flex-wrap: wrap; gap: 9px; margin-top: 7px; }
.ppe-page .pp-chip { display: inline-flex; align-items: center; gap: 7px; padding: 8px 13px; border-radius: 999px; background: #f2f5f9; color: #3c4757; border: 1px solid #e6eaf0; font-size: 13px; cursor: pointer; transition: all .18s; font-weight: 500; }
.ppe-page .pp-chip:hover { border-color: #f6a6c0; background: #fff; }
.ppe-page .pp-chip .pp-ck { width: 17px; height: 17px; border-radius: 50%; border: 1.5px solid #c8d2e0; display: inline-flex; align-items: center; justify-content: center; font-size: 11px; color: transparent; transition: .18s; flex-shrink: 0; }
.ppe-page .pp-chip.on { background: linear-gradient(135deg, #f97316, #c2410c); border-color: transparent; color: #fff; font-weight: 600; box-shadow: 0 6px 14px -6px rgba(194, 65, 12, .5); }
.ppe-page .pp-chip.on .pp-ck { background: #fff; border-color: #fff; color: #c2410c; }
.ppe-page .pp-customs { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 12px; }
.ppe-page .pp-cchip { display: inline-flex; align-items: center; gap: 7px; padding: 7px 11px; border-radius: 10px; background: #fff7ed; color: #c2410c; border: 1px solid #fed7aa; font-size: 13px; }
.ppe-page .pp-cchip button { border: 0; background: transparent; color: #c2410c; font-size: 15px; line-height: 1; cursor: pointer; }
.ppe-page .pp-addrow { display: flex; gap: 8px; margin-top: 12px; align-items: center; }
.ppe-page .pp-addrow input { flex: 1; height: 42px; border-radius: 12px; border: 1px solid #e6eaf0; background: #fafbfd; padding: 0 12px; font-size: 14px; outline: none; min-width: 0; transition: .15s; }
.ppe-page .pp-addrow input:focus { border-color: #f97316; box-shadow: 0 0 0 4px rgba(249, 115, 22, .12); }
.ppe-page .ppe-result { margin-bottom: 14px; }
.ppe-page .ppe-result-head h3 { font-size: 16px; font-weight: var(--fw-semibold, 560); color: var(--ink, #1a1f2e); margin: 0 0 12px; }
.ppe-page .ppe-summary { font-size: 13px; color: #4a5568; line-height: 1.7; background: #fff7ed; border: 1px solid #fed7aa; border-radius: 12px; padding: 11px 13px; margin: 0 0 14px; }
.ppe-page .ppe-groups { display: grid; gap: 12px; }
.ppe-page .ppe-group-title { font-size: 13.5px; font-weight: 700; color: var(--ink, #1a1f2e); margin-bottom: 9px; display: flex; align-items: center; gap: 6px; }
.ppe-page .ppe-group-title::before { content: ''; width: 4px; height: 14px; border-radius: 2px; background: linear-gradient(135deg, #f97316, #c2410c); }
.ppe-page .ppe-row { border: 1px solid #eef1f7; border-radius: 13px; padding: 12px; margin-bottom: 9px; background: #fff; }
.ppe-page .ppe-row-top { display: flex; align-items: flex-start; justify-content: space-between; gap: 8px; }
.ppe-page .ppe-item { display: flex; align-items: center; flex-wrap: wrap; gap: 7px; min-width: 0; }
.ppe-page .ppe-item b { font-size: 14.5px; color: var(--ink, #1a1f2e); }
.ppe-page .ppe-std { font-size: 11px; color: #8b95a5; background: #f2f5f9; padding: 2px 8px; border-radius: 6px; font-weight: 500; }
.ppe-page .ppe-need { flex: none; display: inline-flex; align-items: center; gap: 4px; font-size: 11px; color: #1aa87a; background: #e7f8f1; border: 1px solid #bfe9d8; padding: 3px 8px; border-radius: 999px; font-weight: 600; }
.ppe-page .ppe-reason { font-size: 12.5px; color: #4a5568; margin: 9px 0 0; line-height: 1.7; }
.ppe-page .ppe-reg { margin-top: 10px; display: flex; gap: 8px; align-items: flex-start; font-size: 11.5px; color: #b45309; background: #fff8f0; border: 1px solid #fde3b8; border-radius: 9px; padding: 7px 9px; line-height: 1.6; }
.ppe-page .ppe-reg i { flex: none; font-style: normal; color: #fff; background: linear-gradient(135deg, #f97316, #c2410c); border-radius: 5px; padding: 1px 6px; font-weight: 600; font-size: 10px; margin-top: 1px; }
.ppe-page .ppe-note { font-size: 12px; color: #b45309; background: #fff8f0; border: 1px solid #fde3b8; border-radius: 10px; padding: 10px 12px; margin-top: 6px; line-height: 1.7; }
.ppe-page .ppe-histcard { margin-top: 14px; }
.ppe-page .ppe-hist-title { font-size: 14px; font-weight: var(--fw-semibold, 560); color: var(--ink, #1a1f2e); margin-bottom: 6px; display: flex; align-items: center; gap: 6px; }
.ppe-page .ppe-hist-title svg { width: 15px; height: 15px; color: #f97316; }
.ppe-page .ppe-hist { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 12px 2px; border-bottom: 1px solid #f0f2f5; }
.ppe-page .ppe-hist:last-child { border-bottom: 0; }
.ppe-page .ppe-hist-main { display: flex; flex-direction: column; gap: 3px; min-width: 0; }
.ppe-page .ppe-hist-main b { font-size: 13.5px; color: var(--ink, #1a1f2e); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.ppe-page .ppe-hist-main span { font-size: 11px; color: var(--muted, #8b95a5); }
.ppe-page .ppe-hist-ops { flex-shrink: 0; display: flex; gap: 7px; }
.ppe-page .ppe-hist .btn-xs { padding: 3px 10px; }
.ppe-page .ppe-hist .ppe-danger { color: #e5484d; border-color: #f5c2c3; }

/* ===== 薪酬评估（第11应用）===== */
.tool-hero.is-salary { --tool-hero: linear-gradient(118deg, #6d28d9 0%, #8b5cf6 52%, #a78bfa 100%); --tool-shadow: rgba(139, 92, 246, .24); }
.salary-home { display: flex; flex-direction: column; }
.sal-hero { position: relative; overflow: hidden; border-radius: 22px; background: linear-gradient(135deg, #4c1d95, #7c3aed 55%, #a855f7); color: #fff; padding: 26px 22px; box-shadow: 0 18px 40px -16px rgba(124, 58, 237, .6); margin: 6px 0 16px; }
.sal-hero::after { content: ''; position: absolute; right: -46px; top: -58px; width: 200px; height: 200px; border-radius: 50%; background: rgba(255,255,255,.14); }
.sal-hero-in { display: flex; gap: 14px; align-items: center; position: relative; z-index: 1; }
.sal-hero-badge { flex: none; width: 58px; height: 58px; border-radius: 18px; background: rgba(255,255,255,.2); backdrop-filter: blur(4px); display: inline-flex; align-items: center; justify-content: center; font-size: 30px; }
.sal-hero-badge svg { width: 30px; height: 30px; }
.sal-hero-kicker { font-size: 12px; letter-spacing: 2px; color: rgba(255,255,255,.85); margin-bottom: 6px; font-weight: 600; }
.sal-hero h1 { font-size: 26px; font-weight: 800; margin: 0 0 6px; }
.sal-hero-sub { margin: 0; font-size: 13px; color: rgba(255,255,255,.92); }
.sal-features { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; margin: 4px 0 16px; }
.sal-features span { display: inline-flex; align-items: center; gap: 5px; justify-content: center; font-size: 12px; color: #4c1d95; background: #f3ecff; border: 1px solid #e3d6fb; padding: 8px 4px; border-radius: 12px; font-weight: 600; }
.sal-features svg { width: 14px; height: 14px; color: #7c3aed; }
.sal-start { width: 100%; padding: 15px; border: none; border-radius: 16px; background: linear-gradient(135deg, #7c3aed, #a855f7); color: #fff; font-size: 16px; font-weight: 700; cursor: pointer; box-shadow: 0 12px 26px -10px rgba(124, 58, 237, .7); transition: .15s; font-family: var(--font, inherit); display: inline-flex; align-items: center; justify-content: center; gap: 8px; }
.sal-start:hover { transform: translateY(-2px); }
.sal-start svg { width: 18px; height: 18px; }
.sal-meta { display: flex; justify-content: center; align-items: center; gap: 8px; font-size: 12.5px; color: #7a8494; margin: 14px 0 6px; }
.sal-dot { color: #c4ccd8; }
.sal-meta b { color: #7c3aed; }
.sal-note { text-align: center; font-size: 11.5px; color: #a0aab8; margin: 0 0 8px; line-height: 1.6; }
.sal-progress { display: flex; gap: 2px; align-items: center; overflow-x: auto; padding: 4px 2px 12px; scrollbar-width: none; }
.sal-progress::-webkit-scrollbar { display: none; }
.sal-prog { flex: none; display: flex; flex-direction: column; align-items: center; gap: 4px; font-size: 10.5px; color: #9aa5b5; font-weight: 600; padding: 4px 6px 2px; min-width: 52px; cursor: default; }
.sal-prog[d] { cursor: pointer; }
.sal-prog i { font-style: normal; width: 22px; height: 22px; border-radius: 50%; background: #e6eaf0; color: #8b95a5; display: inline-flex; align-items: center; justify-content: center; font-size: 11px; font-weight: 700; transition: .2s; }
.sal-prog.on i { background: linear-gradient(135deg, #7c3aed, #a855f7); color: #fff; box-shadow: 0 4px 10px -3px rgba(124,58,237,.6); }
.sal-prog.on { color: #7c3aed; }
.sal-prog.done i { background: #1aa87a; color: #fff; }
.sal-prog.done { color: #1aa87a; }
.sal-pct { display: flex; align-items: center; gap: 10px; margin: 0 2px 12px; }
.sal-pct-bar { flex: 1; height: 7px; border-radius: 8px; background: #eef1f6; overflow: hidden; }
.sal-pct-bar i { display: block; height: 100%; border-radius: 8px; background: linear-gradient(90deg, #7c3aed, #a855f7); transition: width .4s; }
.sal-pct span { font-size: 12px; color: #7c3aed; font-weight: 600; white-space: nowrap; }
.sal-pct b { font-size: 14px; }
.sal-form .sal-step-title { font-size: 16px; font-weight: 700; color: var(--ink, #1a1f2e); margin-bottom: 14px; }
.sal-form .field + .field { margin-top: 16px; }
.sal-chips, .sal-prov { display: flex; flex-wrap: wrap; gap: 8px; }
.sal-chip { display: inline-flex; align-items: center; gap: 6px; padding: 8px 12px; border-radius: 999px; background: #f2f5f9; color: #3c4757; border: 1px solid #e6eaf0; font-size: 13px; cursor: pointer; transition: .15s; font-weight: 500; }
.sal-chip .sal-ck { width: 16px; height: 16px; border-radius: 50%; border: 1.5px solid #c8d2e0; display: inline-flex; align-items: center; justify-content: center; font-size: 10px; color: transparent; flex-shrink: 0; }
.sal-chip.on { background: linear-gradient(135deg, #7c3aed, #a855f7); border-color: transparent; color: #fff; font-weight: 600; box-shadow: 0 5px 12px -5px rgba(124,58,237,.6); }
.sal-chip.on .sal-ck { background: #fff; color: #7c3aed; border-color: #fff; }
.sal-city { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 10px; }
.sal-citychip { display: inline-flex; flex-direction: column; align-items: center; gap: 2px; padding: 7px 11px; border-radius: 11px; border: 1px solid #e6eaf0; background: #fafbfd; cursor: pointer; transition: .15s; }
.sal-citychip span { font-size: 13px; color: #3c4757; }
.sal-citychip em { font-style: normal; font-size: 10px; color: #8b95a5; }
.sal-citychip.on { border-color: #a78bfa; background: #f3ecff; }
.sal-citychip.on span { color: #6d28d9; font-weight: 600; }
.sal-citychip.on em { color: #7c3aed; }
.sal-selected { display: inline-flex; align-items: center; gap: 6px; font-size: 12px; color: #7c3aed; margin-top: 10px; background: #f3ecff; padding: 5px 10px; border-radius: 999px; }
.sal-selrow { display: flex; gap: 8px; }
.sal-select-input { flex: 1; height: 42px; border-radius: 12px; border: 1px solid #e6eaf0; padding: 0 12px; font-size: 14px; outline: none; background: #fafbfd; min-width: 0; }
.sal-select-input:focus { border-color: #a78bfa; box-shadow: 0 0 0 4px rgba(124,58,237,.1); }
.sal-input { width: 100%; height: 44px; border-radius: 12px; border: 1px solid #e6eaf0; background: #fafbfd; padding: 0 14px; font-size: 15px; outline: none; transition: .15s; }
.sal-input:focus { border-color: #a78bfa; box-shadow: 0 0 0 4px rgba(124,58,237,.1); }
.sal-note2 { font-size: 12px; color: #a0aab8; margin: -2px 0 8px; }
.sal-selrow .sal-select { flex: 1.4; height: 44px; border-radius: 12px; border: 1px solid #e6eaf0; padding: 0 12px; font-size: 14px; background: #fafbfd; outline: none; color: #1a1f2e; min-width: 0; }
.sal-selrow .sal-select:focus { border-color: #a78bfa; box-shadow: 0 0 0 4px rgba(124,58,237,.1); }
.sal-form-actions { display: flex; gap: 10px; margin-top: 20px; }
.sal-form-actions .btn { flex: 1; }
.sal-analyzing { display: flex; flex-direction: column; align-items: center; text-align: center; padding: 22px 8px 8px; }
.sal-brain { width: 74px; height: 74px; border-radius: 24px; background: linear-gradient(135deg, #7c3aed, #a855f7); color: #fff; display: inline-flex; align-items: center; justify-content: center; box-shadow: 0 16px 34px -12px rgba(124,58,237,.6); animation: salPulse 1.6s ease-in-out infinite; }
.sal-brain svg { width: 34px; height: 34px; }
@keyframes salPulse { 0%,100% { transform: scale(1); } 50% { transform: scale(1.06); } }
.sal-an-txt { margin: 18px 0 6px; font-size: 15px; font-weight: 600; color: #1a1f2e; }
.sal-an-dots { display: flex; gap: 6px; margin: 10px 0 18px; }
.sal-an-dots i { width: 7px; height: 7px; border-radius: 50%; background: #b6a4f5; animation: salDot 1s ease-in-out infinite; }
.sal-an-dots i:nth-child(2){ animation-delay: .15s; } .sal-an-dots i:nth-child(3){ animation-delay: .3s; }
@keyframes salDot { 0%,100%{opacity:.3;transform:translateY(0);}50%{opacity:1;transform:translateY(-3px);} }
.sal-an-steps { width: 100%; max-width: 340px; text-align: left; }
.sal-an-steps div { display: flex; align-items: center; gap: 8px; font-size: 12.5px; color: #a0aab8; padding: 7px 10px; border-radius: 10px; }
.sal-an-steps div.on { color: #1a1f2e; font-weight: 600; background: #f7f4ff; }
.sal-an-steps div span { flex: none; width: 18px; height: 18px; border-radius: 50%; border: 1.5px solid #c8d2e0; display: inline-flex; align-items: center; justify-content: center; font-size: 10px; color: #fff; }
.sal-an-steps div.on span { background: #7c3aed; border-color: #7c3aed; }
.sal-report { display: grid; gap: 12px; }
.sal-rmodule { background: #fff; border: 1px solid #eef1f7; border-radius: 16px; padding: 15px 14px; box-shadow: 0 6px 18px -16px rgba(24,39,75,.28); animation: lecCardIn .28s ease both; }
.sal-mtag { font-size: 12px; font-weight: 700; color: #7c3aed; letter-spacing: .5px; margin-bottom: 12px; }
.sal-mline { margin-bottom: 6px; }
.sal-mlabel { font-size: 12.5px; color: #8b95a5; display: block; margin-bottom: 4px; }
.sal-big { font-size: 30px; font-weight: 800; color: #1a1f2e; letter-spacing: .5px; }
.sal-mrow { display: flex; justify-content: space-between; align-items: center; font-size: 13.5px; color: #4a5568; padding: 7px 0; border-bottom: 1px dashed #eef1f7; }
.sal-mrow:last-child { border-bottom: 0; }
.sal-mrow b { color: #1a1f2e; font-weight: 700; }
.sal-mrow .sal-pos { color: #7c3aed; }
.sal-conf { margin-top: 10px; font-size: 12px; color: #6b7280; background: #f6f7f9; border-radius: 10px; padding: 8px 10px; }
.sal-conf b { color: #1aa87a; }
.sal-warn { margin-top: 10px; font-size: 12px; color: #b45309; background: #fff8f0; border: 1px solid #fde3b8; border-radius: 10px; padding: 8px 10px; line-height: 1.6; }
.sal-bar { margin-top: 4px; }
.sal-bar-track { position: relative; height: 12px; border-radius: 10px; background: linear-gradient(90deg,#eef1f6,#e6ecfb); }
.sal-bar-fill { position: absolute; left: 0; top: 0; bottom: 0; border-radius: 10px; background: linear-gradient(90deg,#7c3aed,#a855f7); opacity: .18; }
.sal-bar-med { position: absolute; top: -3px; bottom: -3px; width: 2px; background: #c4b5fd; }
.sal-bar-you { position: absolute; top: 50%; transform: translate(-50%,-50%); width: 18px; height: 18px; border-radius: 50%; background: #fff; border: 3px solid #7c3aed; box-shadow: 0 0 0 4px rgba(124,58,237,.18); }
.sal-bar-labels { position: relative; height: 18px; }
.sal-bar-labels span { position: absolute; transform: translateX(-50%); font-size: 10.5px; color: #9aa5b5; font-weight: 600; }
.sal-bar-legend { display: flex; gap: 14px; font-size: 11px; color: #8b95a5; margin-top: 6px; }
.sal-bar-legend span { display: inline-flex; align-items: center; gap: 4px; }
.sal-bar-legend .sal-bar-ml { color: #c4b5fd; }
.sal-peer-label { font-size: 13px; color: #3c7; font-weight: 600; margin-bottom: 10px; color: #6d28d9; background: #f3ecff; display: inline-block; padding: 5px 10px; border-radius: 999px; }
.sal-peer-cards { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 8px; }
.sal-peer-c { background: #f7f8fb; border-radius: 12px; padding: 10px; text-align: center; }
.sal-peer-c span { display: block; font-size: 11px; color: #8b95a5; margin-bottom: 4px; }
.sal-peer-c b { font-size: 15px; color: #1a1f2e; }
.sal-peer-c.down b { color: #e5484d; } .sal-peer-c.up b { color: #1aa87a; }
.sal-factors { display: grid; gap: 8px; }
.sal-factor { display: flex; gap: 10px; background: #f8f7fc; border-radius: 12px; padding: 11px; }
.sal-factor > b { flex: none; width: 24px; height: 24px; border-radius: 8px; background: linear-gradient(135deg,#7c3aed,#a855f7); color: #fff; display: inline-flex; align-items: center; justify-content: center; font-size: 12px; }
.sal-factor em { font-style: normal; font-weight: 700; font-size: 13.5px; color: #1a1f2e; display: block; margin-bottom: 3px; }
.sal-factor p { margin: 0; font-size: 12px; color: #4a5568; line-height: 1.65; }
.sal-vp { display: grid; gap: 8px; }
.sal-vp-row { display: flex; justify-content: space-between; align-items: center; font-size: 13.5px; color: #3c4757; padding: 8px 2px; border-bottom: 1px dashed #eef1f7; }
.sal-vp-row:last-child { border-bottom: 0; }
.sal-vp-row span { font-weight: 600; }
.sal-vp-row i { font-style: normal; color: #a855f7; letter-spacing: 2px; }
.sal-vp-row i i { color: #e3d6fb; }
.sal-fair { display: flex; align-items: center; gap: 14px; }
.sal-fair-score { font-size: 44px; font-weight: 800; color: #7c3aed; background: #f3ecff; border-radius: 16px; padding: 12px 18px; line-height: 1; position: relative; }
.sal-fair-score em { font-style: normal; font-size: 14px; color: #8b5cf6; }
.sal-fair-main b { font-size: 15px; color: #1a1f2e; }
.sal-fair-main p { margin: 4px 0 0; font-size: 12.5px; color: #4a5568; line-height: 1.6; }
.sal-fair-dims { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 12px; }
.sal-fair-dims span { display: inline-flex; gap: 6px; font-size: 12px; color: #1a1f2e; background: #f6f7f9; border: 1px solid #eef1f7; border-radius: 999px; padding: 6px 11px; }
.sal-fair-dims span em { font-style: normal; color: #8b95a5; }
.sal-fair-dims span.down { color: #e5484d; background: #fdeeef; border-color: #f5c2c3; }
.sal-jump { display: grid; grid-template-columns: 1fr 1.2fr 1fr; gap: 8px; }
.sal-jump-c { background: #f7f8fb; border-radius: 12px; padding: 12px 8px; text-align: center; }
.sal-jump-c span { display: block; font-size: 11px; color: #8b95a5; margin-bottom: 5px; }
.sal-jump-c b { font-size: 16px; color: #1a1f2e; }
.sal-jump-c.main { background: linear-gradient(135deg,#7c3aed,#a855f7); }
.sal-jump-c.main span { color: rgba(255,255,255,.85); }
.sal-jump-c.main b { color: #fff; }
.sal-script { margin-top: 12px; background: #f8f7fc; border-radius: 12px; padding: 11px; font-size: 12.5px; color: #4a5568; line-height: 1.65; }
.sal-script em { font-style: normal; font-weight: 700; color: #6d28d9; display: block; margin-bottom: 4px; }
.sal-growth-pot { font-size: 14px; color: #1a1f2e; font-weight: 600; margin-bottom: 10px; }
.sal-growth-pot b { color: #a855f7; letter-spacing: 2px; margin-left: 4px; }
.sal-growth-pts { display: grid; gap: 7px; }
.sal-growth-pts > i { display: flex; gap: 8px; align-items: flex-start; font-style: normal; font-size: 13px; color: #3c4757; }
.sal-growth-pts > i svg { color: #1aa87a; width: 15px; height: 15px; flex: none; margin-top: 1px; }
.sal-growth-path { margin-top: 12px; background: #f3ecff; border-radius: 12px; padding: 11px; }
.sal-growth-path em { font-style: normal; font-weight: 700; color: #6d28d9; font-size: 12.5px; }
.sal-growth-path p { margin: 5px 0 0; font-size: 12.5px; color: #4a5568; line-height: 1.6; }
.sal-anonrow { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; }
.sal-anon-toggle { padding: 11px 16px; border-radius: 12px; border: 1px solid #e6eaf0; background: #fafbfd; color: #7a8494; font-weight: 600; font-size: 13px; cursor: pointer; }
.sal-anon-toggle.on { border-color: #a78bfa; background: #f3ecff; color: #6d28d9; }
.sal-fbdone { font-size: 12px; color: #1aa87a; font-weight: 600; }
.sal-report-actions { display: flex; gap: 10px; align-items: center; }
.sal-report-actions .btn { flex: 1; }
.sal-top { flex: none; padding: 12px 8px; font-size: 12px; color: #7c3aed; background: none; border: none; font-weight: 600; }
.sal-loading { padding: 40px; text-align: center; color: #8b95a5; }

/* ── 薪酬报告 · 手机阅读体验优化 ───────────────── */
.sal-report { gap: 16px; }
.sal-rmodule { border-radius: 18px; padding: 18px 16px; box-shadow: 0 8px 22px -18px rgba(24,39,75,.35); }
.sal-mtag { display: inline-flex; align-items: center; gap: 7px; background: linear-gradient(135deg,#f3ecff,#faf6ff); color: #6d28d9; font-size: 12.5px; padding: 6px 11px; border-radius: 999px; margin-bottom: 14px; letter-spacing: .3px; }
.sal-mtag::before { content: ''; width: 6px; height: 6px; border-radius: 50%; background: linear-gradient(135deg,#7c3aed,#a855f7); }
.sal-mline { display: flex; flex-direction: column; gap: 4px; }
.sal-big { font-size: 27px; line-height: 1.25; word-break: keep-all; }
.sal-bar-labels { padding: 0 8px; }
.sal-bar-labels span:first-child { transform: translateX(0); }
.sal-bar-labels span:last-child { transform: translateX(-100%); }
.sal-peer-label { font-weight: 700; }
.sal-peer-cards { gap: 10px; }
.sal-peer-c { padding: 12px 6px; }
.sal-peer-c b { font-size: 14px; word-break: keep-all; }
.sal-factor { gap: 12px; padding: 12px; }
.sal-jump-c { padding: 14px 6px; }
.sal-fair { align-items: flex-start; }
.sal-fair-score { font-size: 40px; padding: 14px 16px; border-radius: 14px; }
.sal-fair-main b { font-size: 16px; line-height: 1.4; }
.sal-fair-main p { font-size: 13px; }
.sal-report-actions { flex-wrap: wrap; }
.sal-report-actions .btn { flex: 1 1 100%; }
.sal-top { padding: 12px 14px; }

/* ── 薪酬报告 · 持证情况模块 ───────────────── */
.sal-cert-chips { display: flex; flex-wrap: wrap; gap: 8px; }
.sal-cert-chips span { display: inline-flex; align-items: center; gap: 5px; font-size: 12.5px; font-weight: 500; color: #5b21b6; background: linear-gradient(135deg,#f5f0ff,#faf7ff); border: 1px solid #e9defc; border-radius: 999px; padding: 6px 12px; }
.sal-cert-chips span::before { content: '✓'; display: inline-flex; width: 15px; height: 15px; align-items: center; justify-content: center; font-size: 10px; color: #fff; background: linear-gradient(135deg,#7c3aed,#a855f7); border-radius: 50%; }
.sal-cert-val { margin-top: 12px; padding: 11px 12px; background: #faf8ff; border: 1px dashed #ddd0f8; border-radius: 12px; }
.sal-cert-impact { display: inline-flex; align-items: center; font-size: 12.5px; font-weight: 700; padding: 3px 9px; border-radius: 999px; margin-bottom: 6px; }
.sal-cert-impact.hi { color: #065f46; background: #ecfdf5; }
.sal-cert-impact.mid { color: #7c3aed; background: #f3e8ff; }
.sal-cert-impact.lo { color: #92400e; background: #fffbeb; }
.sal-cert-val p { font-size: 12.5px; line-height: 1.7; color: #4a5568; }

/* 尺寸小于 360px 的超窄屏：三列卡片降为竖排，避免挤压 */
@media (max-width: 359px) {
  .sal-peer-cards { grid-template-columns: 1fr 1fr; }
  .sal-peer-cards .sal-peer-c:last-child { grid-column: 1 / -1; }
  .sal-jump { grid-template-columns: 1fr; }
  .sal-jump-c.main { order: -1; }
  .sal-big { font-size: 24px; }
}

/* ===== 虚惊分析 (nmstat) ===== */
.tool-hero.is-nmstat { --tool-hero: linear-gradient(118deg, #9a3412 0%, #ea580c 48%, #f59e0b 100%); --tool-shadow: rgba(196, 90, 14, .22); }
.nmstat-tabs { display: flex; gap: 6px; margin: 14px 0; padding: 4px; background: #eef1f6; border-radius: 12px; }
.nmstat-tab { flex: 1; display: inline-flex; align-items: center; justify-content: center; gap: 6px; padding: 9px 8px; border: 0; background: transparent; border-radius: 9px; font-size: 14px; font-weight: 500; color: #4a5568; cursor: pointer; transition: all .18s; }
.nmstat-tab em { font-style: normal; font-size: 11px; min-width: 17px; height: 17px; padding: 0 4px; border-radius: 9px; background: rgba(124, 45, 18, .1); color: #9a3412; display: inline-flex; align-items: center; justify-content: center; }
.nmstat-tab.on { background: #fff; color: #9a3412; font-weight: 600; box-shadow: 0 2px 8px rgba(24, 39, 75, .08); }
.nmstat-tab.on em { background: linear-gradient(135deg, #ea580c, #c2410c); color: #fff; }
.nmstat-form .field { position: relative; }
.nmstat-form .field + .field { margin-top: 16px; }
.nmstat-form input[type="date"] { width: 100%; padding: 10px 12px; border: 1px solid #e6eaf0; border-radius: 12px; font-size: 14px; background: #fff; }
.nmstat-form .field input:not([type="date"]),
.nmstat-form .field textarea,
.nmstat-form .field select { font-size: 14px; padding: 11px 13px; }
.nmstat-form .field input::placeholder,
.nmstat-form .field textarea::placeholder { font-size: 14px; }
.nmstat-chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 8px; }
.nmstat-chips .chip { padding: 8px 13px; border-radius: 999px; background: #f2f5f9; color: #3c4757; border: 1px solid #e6eaf0; font-size: 13px; cursor: pointer; font-weight: 500; transition: all .18s; }
.nmstat-chips .chip:hover { border-color: #f6a6c0; background: #fff; }
.nmstat-chips .chip.is-on { background: linear-gradient(135deg, #ea580c, #c2410c); border-color: transparent; color: #fff; font-weight: 600; box-shadow: 0 6px 14px -6px rgba(194, 65, 12, .5); }
.nmstat-count { position: absolute; right: 2px; bottom: 4px; font-size: 11px; color: #b0b8c6; }
.nmstat-actions { display: flex; gap: 10px; margin-top: 20px; flex-wrap: wrap; }
.nmstat-actions .btn { flex: 1; min-width: 120px; }
.nmstat-save-tip { font-size: 12px; color: #8b95a5; margin-top: 10px; line-height: 1.6; text-align: center; }
.nmstat-edit-tip { font-size: 13px; color: #9a3412; background: #fff7ed; border: 1px solid #fed7aa; border-radius: 10px; padding: 8px 12px; margin-bottom: 14px; display: flex; align-items: center; justify-content: space-between; }
.link-btn { border: 0; background: transparent; color: #ea580c; cursor: pointer; font-size: 13px; text-decoration: underline; }
.nmstat-toolbar { display: flex; flex-direction: column; gap: 10px; margin-bottom: 14px; }
.nmstat-search { display: flex; align-items: center; gap: 8px; background: #f2f5f9; border: 1px solid #e6eaf0; border-radius: 12px; padding: 0 12px; }
.nmstat-search svg { width: 18px; height: 18px; color: #8b95a5; flex: none; }
.nmstat-search input { flex: 1; border: 0; background: transparent; padding: 10px 0; font-size: 14px; outline: none; }
.nmstat-filters, .nmstat-filters2 { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }
.nmstat-filters select, .nmstat-filters2 input[type="date"] { padding: 7px 10px; border: 1px solid #e6eaf0; border-radius: 9px; font-size: 13px; background: #fff; color: #3c4757; }
.nmstat-filters2 input[type="date"] { max-width: 140px; }
.nmstat-switch { display: inline-flex; align-items: center; gap: 5px; font-size: 13px; color: #4a5568; cursor: pointer; white-space: nowrap; }
.nmstat-switch input { accent-color: #ea580c; }
.nmstat-count-line { font-size: 13px; color: #8b95a5; margin-bottom: 12px; }
.nmstat-count-line b { color: #9a3412; font-size: 15px; }
.nmstat-rows { display: flex; flex-direction: column; gap: 10px; }
.nmstat-row { background: #fff; border: 1px solid #e6eaf0; border-radius: 14px; padding: 14px; box-shadow: 0 6px 18px -10px rgba(24, 39, 75, .08); }
.nmstat-row.is-new { border-color: #f6a6c0; box-shadow: 0 0 0 2px rgba(234, 88, 12, .12); }
.nmstat-row-head { display: flex; flex-wrap: wrap; gap: 6px; align-items: center; margin-bottom: 8px; }
.nmstat-date { font-size: 12px; color: #8b95a5; font-family: 'Outfit', monospace; }
.nmstat-type, .nmstat-status { font-size: 12px; padding: 2px 8px; border-radius: 999px; font-weight: 500; }
.nmstat-type { background: #edf4ff; color: #2f7cf6; }
.nmstat-status { background: #f2f5f9; color: #4a5568; }
.nmstat-status.已整改 { background: #e8f7f1; color: #1aa87a; }
.nmstat-status.已闭环 { background: #e8f7f1; color: #1aa87a; }
.nmstat-con { font-size: 12px; padding: 2px 8px; border-radius: 999px; font-weight: 600; }
.nmstat-con.sev-severe { background: #fdecec; color: #e5484d; }
.nmstat-con.sev-warn { background: #fff4e6; color: #ff8a1a; }
.nmstat-con.sev-mid { background: #edf4ff; color: #2f7cf6; }
.nmstat-con.sev-neu { background: #f2f5f9; color: #6b7482; }
.nmstat-pic { font-size: 12px; color: #b0b8c6; display: inline-flex; align-items: center; gap: 3px; }
.nmstat-pic.has { color: #ea580c; }
.nmstat-pic svg { width: 14px; height: 14px; }
.nmstat-row h4 { font-size: 15px; font-weight: 600; color: #1a1f2e; margin: 0 0 5px; }
.nmstat-desc { font-size: 13px; color: #4a5568; line-height: 1.55; margin: 0 0 8px; }
.nmstat-row-meta { display: flex; flex-wrap: wrap; gap: 8px 14px; font-size: 12px; color: #8b95a5; }
.nmstat-thumbs { display: flex; gap: 6px; margin-top: 10px; }
.nmstat-thumbs img { width: 64px; height: 48px; object-fit: cover; border-radius: 8px; border: 1px solid #e6eaf0; }
.nmstat-row-ops { display: flex; gap: 8px; margin-top: 12px; justify-content: flex-end; }
.nmstat-kpis { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin-bottom: 14px; }
.nmstat-kpi { background: #fff; border: 1px solid #e6eaf0; border-radius: 14px; padding: 14px 10px; text-align: center; }
.nmstat-kpi b { display: block; font-size: 24px; color: #9a3412; font-weight: 700; }
.nmstat-kpi span { font-size: 12px; color: #8b95a5; }
.nmstat-board-card { background: #fff; border: 1px solid #e6eaf0; border-radius: 14px; padding: 16px; margin-bottom: 12px; }
.nmstat-board-card h4 { font-size: 15px; font-weight: 600; color: #1a1f2e; margin: 0 0 12px; }
.nmstat-bars { display: flex; flex-direction: column; gap: 9px; }
.nmstat-bar-row { display: flex; align-items: center; gap: 10px; font-size: 13px; }
.nmstat-bar-label { flex: none; width: 74px; color: #4a5568; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.nmstat-bar { flex: 1; height: 10px; background: #eef1f6; border-radius: 6px; overflow: hidden; }
.nmstat-bar i { display: block; height: 100%; border-radius: 6px; background: linear-gradient(90deg, #f59e0b, #ea580c); transition: width .5s ease; }
.nmstat-bar i.sev-severe { background: linear-gradient(90deg, #ff8a1a, #e5484d); }
.nmstat-bar i.sev-warn { background: linear-gradient(90deg, #fbbf24, #ff8a1a); }
.nmstat-bar i.sev-mid { background: linear-gradient(90deg, #93c5fd, #2f7cf6); }
.nmstat-bar-val { flex: none; width: 24px; text-align: right; color: #6b7482; font-weight: 600; }
.nmstat-status-list { display: flex; flex-wrap: wrap; gap: 8px; }
.nmstat-board-ops { margin-top: 8px; }
.nmstat-board-ops .btn { width: 100%; }
.nmstat-analyzing { text-align: center; padding: 40px 16px; }
.nmstat-ai-brain { width: 56px; height: 56px; border-radius: 18px; margin: 0 auto 14px; background: linear-gradient(135deg, #f59e0b, #ea580c); display: flex; align-items: center; justify-content: center; color: #fff; animation: nmstatPulse 1.1s ease-in-out infinite; }
.nmstat-ai-brain svg { width: 26px; height: 26px; }
@keyframes nmstatPulse { 0%, 100% { transform: scale(1); opacity: 1; } 50% { transform: scale(1.08); opacity: .75; } }
.nmstat-analyzing h3 { font-size: 17px; color: #1a1f2e; margin: 0 0 6px; }
.nmstat-analyzing p { font-size: 13px; color: #8b95a5; margin: 0; }
.nmstat-fin-head { display: flex; align-items: center; justify-content: space-between; }
.nmstat-ai-tag { font-size: 11px; color: #ea580c; background: #fff7ed; border: 1px solid #fed7aa; padding: 2px 8px; border-radius: 999px; }
.nmstat-fin-body { font-size: 14px; color: #3c4757; line-height: 1.7; white-space: pre-wrap; }
.nmstat-disclaimer { font-size: 12px; color: #b0b8c6; margin-top: 10px; }
.nmstat-fin-metrics { display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px; margin-bottom: 12px; }
.nmstat-fin h5 { font-size: 13px; color: #4a5568; font-weight: 600; margin: 14px 0 8px; }
.nmstat-ai-list { display: flex; flex-direction: column; gap: 6px; }
.nmstat-ai-line { display: flex; align-items: center; justify-content: space-between; font-size: 13px; padding: 7px 10px; background: #f7f9fc; border-radius: 8px; }
.nmstat-ai-line b { color: #9a3412; font-weight: 600; }
.nmstat-sug { margin: 0; padding-left: 18px; display: flex; flex-direction: column; gap: 8px; }
.nmstat-sug b { font-size: 13px; color: #1a1f2e; }
.nmstat-sug p { font-size: 12px; color: #6b7482; margin: 2px 0 0; line-height: 1.5; }
.nmstat-rc-row { display: flex; align-items: center; gap: 8px; margin-bottom: 10px; flex-wrap: wrap; }
.nmstat-rc-lv { flex: none; font-size: 12px; font-weight: 600; padding: 3px 10px; border-radius: 999px; }
.nmstat-lv-hi { color: #fff; background: #e5484d; }
.nmstat-lv-md { color: #fff; background: #ff8a1a; }
.nmstat-lv-lo { color: #fff; background: #1aa87a; }
.nmstat-rc-txt { font-size: 12px; color: #8b95a5; line-height: 1.5; }
.nmstat-rc { margin: 0; padding-left: 18px; display: flex; flex-direction: column; gap: 8px; }
.nmstat-rc li { font-size: 13px; color: #1a1f2e; line-height: 1.6; }
.nmstat-rc em { display: inline-block; font-style: normal; font-size: 11px; font-weight: 600; color: #9a3412; background: #fff7ed; border: 1px solid #fed7aa; border-radius: 6px; padding: 0 6px; margin-right: 6px; vertical-align: 1px; }
/* 单条分析扩展区（时间线/分层因素/防线/行动/举一反三） */
.nmstat-tl { margin: 0; padding-left: 0; list-style: none; display: flex; flex-direction: column; gap: 6px; }
.nmstat-tl li { display: flex; gap: 8px; font-size: 13px; color: #1a1f2e; line-height: 1.55; position: relative; padding-left: 12px; }
.nmstat-tl li::before { content: ""; position: absolute; left: 0; top: 7px; width: 6px; height: 6px; border-radius: 50%; background: #1b6ca8; }
.nmstat-tl em { font-style: normal; flex: none; color: #6b7482; min-width: 52px; font-size: 12px; }
.nmstat-factors { display: flex; flex-direction: column; gap: 8px; }
.nmstat-factor { display: flex; gap: 8px; background: #f7f9fc; border-radius: 10px; padding: 8px 10px; }
.nmstat-factor-t { flex: none; width: 92px; font-size: 12px; font-weight: 600; color: #0f375d; padding-top: 2px; }
.nmstat-factor ul { margin: 0; padding-left: 16px; display: flex; flex-direction: column; gap: 4px; }
.nmstat-factor li { font-size: 13px; color: #3c4757; line-height: 1.5; }
.nmstat-barriers { display: flex; flex-direction: column; gap: 8px; }
.nmstat-barrier { display: flex; flex-direction: column; gap: 3px; background: #fff8f0; border: 1px solid #fee2c2; border-radius: 10px; padding: 8px 10px; }
.nmstat-barrier span { font-size: 13px; font-weight: 600; color: #7c2d12; }
.nmstat-barrier em { font-style: normal; font-size: 12px; color: #9a5b3a; line-height: 1.5; }
.nmstat-actions { display: flex; flex-direction: column; gap: 8px; }
.nmstat-action { background: #f4f8ff; border: 1px solid #d6e6ff; border-radius: 12px; padding: 10px 12px; }
.nmstat-action-h { display: flex; align-items: center; gap: 8px; margin-bottom: 6px; flex-wrap: wrap; }
.nmstat-action-type { flex: none; font-size: 11px; font-weight: 600; color: #0f375d; background: #dbeafe; border-radius: 999px; padding: 2px 9px; }
.nmstat-action-h em { font-style: normal; font-size: 12px; color: #374151; font-weight: 600; }
.nmstat-action-h b { font-size: 12px; color: #6b7482; margin-left: auto; }
.nmstat-action-body { font-size: 13px; color: #1a1f2e; line-height: 1.6; }
.nmstat-action-verify { font-size: 12px; color: #1aa87a; margin-top: 5px; }


/* ===== 英语听力模块 ===== */
.page-listen .form-card { margin-bottom: 16px; }
.ls-diff-group { display: flex; gap: 10px; margin-top: 2px; }
.ls-diff { display: inline-flex; align-items: center; gap: 8px; flex: 1; justify-content: center; padding: 10px 8px; border: 1px solid rgba(15,55,93,.16); border-radius: 12px; background: #f7fafc; color: #31415c; font-size: 14px; cursor: pointer; transition: .15s; }
.ls-diff.active { background: #eef4fb; border-color: #1b6ca8; color: #0f375d; font-weight: 600; }
.ls-diff-dot { width: 10px; height: 10px; border-radius: 50%; }
.ls-diff-low { background: #22a06b; }
.ls-diff-medium { background: #e8a23a; }
.ls-diff-high { background: #e5484d; }
.ls-topic-group { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-top: 2px; }
.ls-topic { display: flex; flex-direction: column; gap: 4px; padding: 14px 12px; border: 1px solid rgba(15,55,93,.16); border-radius: 14px; background: #f7fafc; color: #31415c; font-size: 14px; cursor: pointer; text-align: left; transition: .15s; }
.ls-topic.active { background: #eef4fb; border-color: #1b6ca8; color: #0f375d; }
.ls-topic-ico { font-size: 22px; }
.ls-topic i { font-style: normal; font-size: 12px; color: #94a3b8; }
.ls-topic.active i { color: #6b85a3; }
.ls-actions { display: flex; gap: 10px; margin-top: 14px; }
.ls-actions .btn { flex: 1; }
.ls-tip { font-size: 12px; color: #94a3b8; margin-top: 12px; line-height: 1.6; }
.ls-exercise .ls-player-card { background: linear-gradient(135deg,#0f375d,#1b6ca8); border-radius: 16px; padding: 16px; color: #fff; margin-bottom: 16px; }
.ls-player-head { display: flex; justify-content: space-between; align-items: flex-start; gap: 12px; margin-bottom: 12px; }
.ls-title { font-size: 17px; font-weight: 700; }
.ls-meta { display: flex; gap: 8px; margin-top: 6px; }
.ls-player-card .quota-tag { background: rgba(255,255,255,.16); color: #fff; }
.ls-turn { font-size: 12px; color: rgba(255,255,255,.8); white-space: nowrap; padding-top: 4px; }
.ls-player-container { background: rgba(255,255,255,.06); border-radius: 10px; padding: 6px; }
.ls-trans { margin-top: 10px; color: rgba(255,255,255,.85); font-size: 12px; }
.ls-trans summary { cursor: pointer; opacity: .85; }
.ls-trans p { margin: 8px 0 0; line-height: 1.7; }
.ls-questions-h { display: flex; justify-content: space-between; align-items: center; margin-bottom: 10px; }
.ls-questions-h h3 { margin: 0; font-size: 15px; color: #0f375d; }
.ls-questions-h span { font-size: 12px; color: #94a3b8; }
.ls-q { background: #fff; border: 1px solid rgba(15,55,93,.08); border-radius: 14px; padding: 14px; margin-bottom: 14px; box-shadow: 0 4px 14px rgba(15,55,93,.05); }
.ls-q-head { display: flex; gap: 10px; margin-bottom: 10px; }
.ls-q-no { flex: 0 0 24px; height: 24px; display: flex; align-items: center; justify-content: center; border-radius: 8px; background: #0f375d; color: #fff; font-size: 12px; font-weight: 700; }
.ls-q-text { font-size: 14px; font-weight: 600; color: #0f375d; line-height: 1.5; }
.ls-opts { display: flex; flex-direction: column; gap: 8px; }
.ls-opt { display: flex; align-items: center; gap: 10px; padding: 10px 12px; border: 1px solid rgba(15,55,93,.14); border-radius: 10px; background: #fbfcfe; font-size: 13px; color: #33425d; cursor: pointer; text-align: left; transition: .15s; width: 100%; }
.ls-opt:hover { border-color: #1b6ca8; }
.ls-opt-alpha { flex: 0 0 22px; height: 22px; display: flex; align-items: center; justify-content: center; border-radius: 50%; background: #eef3f8; color: #0f375d; font-size: 12px; font-weight: 700; }
.ls-opt-txt { flex: 1; line-height: 1.5; }
.ls-opt-mark { flex: 0 0 18px; text-align: center; }
.ls-opt.is-chosen { border-color: #1b6ca8; background: #eef6fe; }
.ls-opt.is-chosen .ls-opt-alpha { background: #1b6ca8; color: #fff; }
.ls-opt.is-right { border-color: #22a06b; background: #ecfaf2; }
.ls-opt.is-right .ls-opt-alpha { background: #22a06b; color: #fff; }
.ls-opt.is-wrong { border-color: #e5484d; background: #fdf0f0; }
.ls-opt.is-wrong .ls-opt-alpha { background: #e5484d; color: #fff; }
.ls-expl { margin: 8px 0 0; font-size: 12px; color: #22a06b; line-height: 1.6; }
.ls-result-card { display: flex; align-items: center; gap: 16px; background: #fff; border: 1px solid rgba(15,55,93,.08); border-radius: 16px; padding: 16px; margin-bottom: 16px; }
.ls-result-card.good { border-color: #b9e7cd; background: #f2fcf7; }
.ls-result-card.mid { border-color: #f3d9a8; background: #fffaf0; }
.ls-result-card.bad { border-color: #f3c2c4; background: #fff5f5; }
.ls-result-score b { font-size: 40px; font-weight: 800; color: #0f375d; }
.ls-result-score span { font-size: 14px; color: #94a3b8; }
.ls-result-label { font-size: 15px; font-weight: 700; color: #0f375d; }
.ls-result-meta { font-size: 13px; color: #33425d; margin: 4px 0; }
.ls-result-comment { margin: 0; font-size: 13px; color: #6b85a3; line-height: 1.6; }
.ls-stats { display: flex; gap: 12px; margin: 12px 0 6px; }
.ls-stat { flex: 1; background: #f7fafc; border: 1px solid rgba(15,55,93,.08); border-radius: 12px; padding: 10px 12px; text-align: center; }
.ls-stat b { display: block; font-size: 22px; color: #0f375d; }
.ls-stat span { font-size: 12px; color: #94a3b8; }
.ls-score-chip { padding: 2px 10px; border-radius: 999px; font-size: 12px; font-weight: 700; white-space: nowrap; }
.ls-score-chip.good { background: #ecfaf2; color: #1d8a5c; }
.ls-score-chip.mid { background: #fff7ed; color: #b97715; }
.ls-score-chip.bad { background: #fdf0f0; color: #c83a3f; }
.ls-score-sub { font-size: 12px; color: #94a3b8; }

/* ============ 首页滚动公告条（banner 上方，右→左跑马灯） ============ */
.home-marquee {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px 12px;
  margin-bottom: 10px;
  background: linear-gradient(90deg, #eef6ff, #f4faff);
  border: 1px solid #d5e6fb;
  border-radius: 12px;
  overflow: hidden;
}
.hm-ico { flex: none; display: flex; align-items: center; color: #2b7cc9; }
.hm-view { flex: 1; min-width: 0; overflow: hidden; -webkit-mask-image: linear-gradient(90deg, transparent, #000 4%, #000 96%, transparent); mask-image: linear-gradient(90deg, transparent, #000 4%, #000 96%, transparent); }
.hm-row { display: inline-flex; white-space: nowrap; animation: hm-scroll 18s linear infinite; will-change: transform; }
.hm-seg { display: inline-block; padding-right: 56px; font-size: 13px; color: #33629a; }
.hm-seg::after { content: ''; }
@keyframes hm-scroll {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}
@media (prefers-reduced-motion: reduce) {
  .hm-row { animation: none; }
}
