/* 李律师工作台 —— 暖色底、青绿主色，和卡片图一个配色体系 */
:root {
  --bg: #F6F2EB;
  --surface: #FFFFFF;
  --surface-2: #FBF9F5;
  --ink: #1D2227;
  --ink-2: #4B525B;
  --muted: #8B9099;
  --line: #EBE5DA;
  --line-2: #DCD5C8;
  --primary: #0F6E66;
  --primary-ink: #0A554F;
  --primary-soft: #E2F1EE;
  --amber: #C28516;
  --amber-ink: #835600;
  --amber-soft: #FBF0D8;
  --danger: #B4412F;
  --danger-soft: #F9E6E1;
  --indigo: #2F4A9E;
  --indigo-soft: #E5EAF8;
  --rose: #9C3F64;
  --rose-soft: #F6E3EB;
  --brown: #9A6412;
  --brown-soft: #F6EAD3;
  --green: #1E6B3A;
  --green-soft: #E4F3E8;
  --radius: 18px;
  --shadow: 0 1px 2px rgba(29, 34, 39, .04), 0 10px 28px rgba(29, 34, 39, .06);
  --shadow-lg: 0 20px 60px rgba(29, 34, 39, .14);
  --side-w: 244px;
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: -apple-system, BlinkMacSystemFont, "PingFang SC", "HarmonyOS Sans SC", "MiSans",
    "Noto Sans CJK SC", "Source Han Sans SC", "Microsoft YaHei", "Segoe UI", sans-serif;
  font-size: 16px;
  line-height: 1.6;
  color: var(--ink);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; text-decoration: none; }
h1, h2, h3, p { margin: 0; }
ul, ol { margin: 0; padding: 0; list-style: none; }
img { max-width: 100%; display: block; }
button, input, textarea, select { font: inherit; color: inherit; }
button { cursor: pointer; }
[hidden] { display: none !important; }
.ic { width: 22px; height: 22px; flex: none; }
.ic.sm { width: 17px; height: 17px; }
.muted { color: var(--muted); }
.small { font-size: 13.5px; }
.nowrap { white-space: nowrap; }
.grow { flex: 1; min-width: 0; }
.row { display: flex; align-items: center; gap: 10px; }
.row.wrap { flex-wrap: wrap; }
.row.between { justify-content: space-between; }
.stack > * + * { margin-top: 14px; }
.stack-lg > * + * { margin-top: 22px; }

/* ---------- 外壳 ---------- */
.side {
  position: fixed; inset: 0 auto 0 0; width: var(--side-w);
  display: none; flex-direction: column;
  padding: 22px 16px 18px;
  background: rgba(255, 255, 255, .72);
  border-right: 1px solid var(--line);
  backdrop-filter: blur(10px);
}
.brand { display: flex; align-items: center; gap: 12px; padding: 4px 8px 18px; }
.brand img { width: 46px; height: 46px; border-radius: 50%; box-shadow: 0 0 0 3px #fff, 0 4px 12px rgba(29, 34, 39, .14); }
.brand b { display: block; font-size: 16.5px; font-weight: 800; letter-spacing: .2px; line-height: 1.25; }
.brand span { font-size: 12px; color: var(--muted); }
.nav { display: flex; flex-direction: column; gap: 4px; margin-top: 6px; }
.nav a {
  display: flex; align-items: center; gap: 12px;
  padding: 10px 12px; border-radius: 12px;
  font-weight: 600; color: var(--ink-2);
  transition: background .15s, color .15s;
}
.nav a:hover { background: #F2EEE6; }
.nav a.on { background: var(--primary); color: #fff; box-shadow: 0 6px 16px rgba(15, 110, 102, .28); }
.nav .count, .tabbar .count {
  margin-left: auto; min-width: 20px; height: 20px; padding: 0 6px;
  border-radius: 999px; background: var(--danger); color: #fff;
  font-size: 12px; font-weight: 700; line-height: 20px; text-align: center;
}
.nav a.on .count { background: #fff; color: var(--primary); }
.side-foot { margin-top: auto; padding: 12px 8px 0; border-top: 1px solid var(--line); }
.who { display: flex; align-items: center; gap: 10px; }
.who .dot {
  width: 36px; height: 36px; border-radius: 50%; display: grid; place-items: center;
  background: var(--primary-soft); color: var(--primary-ink); font-weight: 800;
}
.who .dot.lawyer { background: var(--amber-soft); color: var(--amber-ink); }
.who b { display: block; font-size: 14.5px; line-height: 1.2; }
.who span { font-size: 12px; color: var(--muted); }
.linkbtn { background: none; border: 0; padding: 0; color: var(--muted); font-size: 13px; }
.linkbtn:hover { color: var(--ink); text-decoration: underline; }

.topbar {
  position: sticky; top: 0; z-index: 40;
  display: flex; align-items: center; gap: 10px;
  padding: 10px 16px; padding-top: calc(10px + env(safe-area-inset-top));
  background: rgba(246, 242, 235, .9); backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line);
}
.topbar img { width: 32px; height: 32px; border-radius: 50%; box-shadow: 0 0 0 2px #fff; }
.topbar b { font-size: 16px; font-weight: 800; }

.main { max-width: 1120px; margin: 0 auto; padding: 18px 16px 104px; }

.tabbar {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 50;
  display: flex;
  padding: 6px 6px calc(6px + env(safe-area-inset-bottom));
  background: rgba(255, 255, 255, .94); backdrop-filter: blur(14px);
  border-top: 1px solid var(--line);
}
.tabbar a {
  position: relative; flex: 1;
  display: flex; flex-direction: column; align-items: center; gap: 1px;
  padding: 5px 0 3px; border-radius: 12px;
  font-size: 11px; font-weight: 600; color: var(--muted);
}
.tabbar a.on { color: var(--primary); }
.tabbar .count { position: absolute; top: 0; left: 50%; margin-left: 6px; min-width: 17px; height: 17px; line-height: 17px; font-size: 11px; padding: 0 5px; }

@media (min-width: 900px) {
  .side { display: flex; }
  .topbar, .tabbar { display: none; }
  .shell { margin-left: var(--side-w); }
  .main { padding: 34px 40px 60px; }
}

/* ---------- 通用组件 ---------- */
.page-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 14px; flex-wrap: wrap; margin-bottom: 18px; }
.page-head h1 { font-size: 26px; font-weight: 800; letter-spacing: .3px; line-height: 1.25; }
.page-head p { color: var(--muted); font-size: 14px; margin-top: 2px; }
.back { display: inline-flex; align-items: center; gap: 4px; color: var(--muted); font-size: 14px; font-weight: 600; margin-bottom: 10px; }
.back:hover { color: var(--ink); }

.card {
  background: var(--surface); border: 1px solid var(--line);
  border-radius: var(--radius); box-shadow: var(--shadow); padding: 18px;
}
.card.flat { box-shadow: none; }
.card.tint { background: var(--surface-2); }
.card-head { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-bottom: 12px; }
.card-head h2 { font-size: 17px; font-weight: 800; }
.card-head a { font-size: 13.5px; color: var(--primary); font-weight: 600; }
.sec-title { font-size: 17px; font-weight: 800; margin: 26px 0 12px; display: flex; align-items: center; gap: 8px; }
.sec-title .n { font-size: 13px; font-weight: 700; color: var(--muted); }

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  height: 46px; padding: 0 20px; border-radius: 13px; border: 1px solid transparent;
  background: var(--primary); color: #fff; font-size: 15.5px; font-weight: 700;
  box-shadow: 0 6px 16px rgba(15, 110, 102, .24);
  transition: transform .06s, background .15s, box-shadow .15s;
}
.btn:hover { background: var(--primary-ink); }
.btn:active { transform: translateY(1px); }
.btn.ghost { background: #fff; color: var(--ink); border-color: var(--line-2); box-shadow: none; }
.btn.ghost:hover { background: var(--surface-2); }
.btn.soft { background: var(--primary-soft); color: var(--primary-ink); box-shadow: none; }
.btn.soft:hover { background: #D4E9E5; }
.btn.warn { background: #fff; color: var(--danger); border-color: #EBC8C0; box-shadow: none; }
.btn.warn:hover { background: var(--danger-soft); }
.btn.sm { height: 34px; padding: 0 12px; font-size: 13.5px; border-radius: 10px; font-weight: 650; }
.btn.block { width: 100%; }
.btn.done { background: var(--green-soft); color: var(--green); box-shadow: none; border-color: transparent; }

.field { display: block; }
.field > span { display: block; font-size: 13.5px; font-weight: 650; color: var(--ink-2); margin-bottom: 6px; }
.input, .textarea, .select {
  width: 100%; border: 1px solid var(--line-2); border-radius: 12px;
  padding: 11px 13px; background: #fff; outline: none;
  transition: border-color .15s, box-shadow .15s;
}
.textarea { min-height: 92px; resize: vertical; line-height: 1.6; }
.input:focus, .textarea:focus, .select:focus { border-color: var(--primary); box-shadow: 0 0 0 4px rgba(15, 110, 102, .13); }

.flash { padding: 11px 14px; border-radius: 12px; font-weight: 600; font-size: 14.5px; margin-bottom: 14px; }
.flash.ok { background: var(--green-soft); color: var(--green); }
.flash.err { background: var(--danger-soft); color: var(--danger); }
.notice { padding: 11px 14px; border-radius: 12px; font-size: 14px; background: var(--amber-soft); color: var(--amber-ink); display: flex; gap: 10px; align-items: flex-start; }
.notice.good { background: var(--green-soft); color: var(--green); }
.notice.info { background: var(--indigo-soft); color: var(--indigo); }
.notice a { text-decoration: underline; font-weight: 700; }

.st {
  display: inline-flex; align-items: center; gap: 6px; white-space: nowrap;
  padding: 2px 10px; border-radius: 999px; font-size: 12.5px; font-weight: 700;
  background: #EFECE6; color: #5B616A;
}
.st::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: currentColor; }
.st-review { background: var(--amber-soft); color: var(--amber-ink); }
.st-approved { background: var(--primary-soft); color: var(--primary-ink); }
.st-scheduled { background: var(--indigo-soft); color: var(--indigo); }
.st-published { background: var(--green-soft); color: var(--green); }
.st-idea { background: var(--rose-soft); color: var(--rose); }

.series { display: inline-block; padding: 1px 8px; border-radius: 6px; font-size: 12px; font-weight: 700; background: #EFECE6; color: var(--ink-2); white-space: nowrap; }
.s-loan { background: #DDEFEC; color: #0F6E66; }
.s-work { background: #E1E7F7; color: #2F4A9E; }
.s-exec { background: #F6E2DD; color: #A23B2A; }
.s-family { background: #F5E1E9; color: #9C3F64; }
.s-local { background: #F6EAD3; color: #9A6412; }

.chips { display: flex; gap: 8px; overflow-x: auto; padding: 2px 2px 8px; margin: 0 -2px; scrollbar-width: none; }
.chips::-webkit-scrollbar { display: none; }
.chip {
  flex: none; display: inline-flex; align-items: center; gap: 6px;
  padding: 7px 14px; border-radius: 999px; border: 1px solid var(--line-2);
  background: #fff; font-size: 14px; font-weight: 650; color: var(--ink-2);
}
.chip .n { font-size: 12px; color: var(--muted); font-weight: 700; }
.chip.on { background: var(--ink); border-color: var(--ink); color: #fff; }
.chip.on .n { color: rgba(255, 255, 255, .7); }

.empty { text-align: center; padding: 38px 16px; color: var(--muted); }
.empty img { width: 84px; height: 84px; border-radius: 50%; margin: 0 auto 12px; opacity: .92; }
.empty b { display: block; color: var(--ink-2); font-size: 16px; margin-bottom: 2px; }

/* ---------- 今日 ---------- */
.hero {
  position: relative; overflow: hidden;
  display: flex; align-items: center; justify-content: space-between; gap: 14px;
  padding: 22px 22px; border-radius: 22px; color: #fff;
  background: linear-gradient(135deg, #0C5F58 0%, #0F6E66 45%, #1F8C7F 100%);
  box-shadow: 0 16px 36px rgba(15, 110, 102, .28);
}
.hero::before, .hero::after { content: ""; position: absolute; border-radius: 50%; background: rgba(255, 255, 255, .07); }
.hero::before { width: 260px; height: 260px; right: -70px; top: -120px; }
.hero::after { width: 180px; height: 180px; right: 90px; bottom: -120px; }
.hero h1 { font-size: 24px; font-weight: 800; line-height: 1.3; position: relative; }
.hero p { opacity: .86; font-size: 14.5px; margin-top: 4px; position: relative; }
.hero img { position: relative; width: 76px; height: 76px; border-radius: 50%; box-shadow: 0 0 0 4px rgba(255, 255, 255, .28); flex: none; }

.todos { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; margin-top: 16px; }
.todo {
  display: flex; flex-direction: column; gap: 6px; padding: 16px;
  border-radius: 16px; background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow);
  transition: transform .12s;
}
.todo:hover { transform: translateY(-2px); }
.todo .n { font-size: 36px; font-weight: 800; line-height: 1; letter-spacing: -1px; }
.todo .t { font-size: 14.5px; font-weight: 650; color: var(--ink-2); }
.todo.primary .n { color: var(--primary); }
.todo.amber .n { color: var(--amber); }
.todo.danger .n { color: var(--danger); }
.todo.muted .n { color: var(--muted); }
.calm { display: flex; align-items: center; gap: 12px; margin-top: 16px; padding: 16px 18px; border-radius: 16px; background: #fff; border: 1px dashed var(--line-2); color: var(--ink-2); font-weight: 600; }

.cols { display: grid; gap: 18px; margin-top: 22px; }
@media (min-width: 900px) {
  .todos { grid-template-columns: repeat(4, 1fr); }
  .cols { grid-template-columns: 1.25fr 1fr; align-items: start; }
  .hero { padding: 28px 30px; }
  .hero h1 { font-size: 28px; }
}

.tonight { display: flex; gap: 14px; align-items: center; }
.tonight img { width: 66px; aspect-ratio: 3/4; object-fit: cover; border-radius: 10px; border: 1px solid var(--line); flex: none; }
.tonight b { display: block; font-size: 15.5px; line-height: 1.4; }

.flow { display: flex; gap: 6px; }
.flow a { flex: 1; text-align: center; padding: 12px 4px 10px; border-radius: 12px; background: var(--surface-2); border: 1px solid var(--line); }
.flow a b { display: block; font-size: 22px; font-weight: 800; line-height: 1.1; }
.flow a span { font-size: 12px; color: var(--muted); font-weight: 600; }
.flow a.hot { background: var(--amber-soft); border-color: transparent; }
.flow a.hot b { color: var(--amber-ink); }

.timeline li { position: relative; padding: 0 0 12px 18px; font-size: 14px; color: var(--ink-2); }
.timeline li::before { content: ""; position: absolute; left: 3px; top: 9px; width: 7px; height: 7px; border-radius: 50%; background: var(--line-2); }
.timeline li::after { content: ""; position: absolute; left: 6px; top: 20px; bottom: 0; width: 1px; background: var(--line); }
.timeline li:last-child::after { display: none; }
.timeline time { color: var(--muted); font-size: 12.5px; margin-left: 6px; white-space: nowrap; }
.timeline a { font-weight: 650; color: var(--ink); }

/* ---------- 热点 ---------- */
.hot-item { display: flex; gap: 12px; align-items: flex-start; padding: 13px 0; border-top: 1px solid var(--line); }
.hot-item:first-child { border-top: 0; padding-top: 2px; }
.hot-item .ttl { font-size: 15.5px; font-weight: 650; line-height: 1.45; }
.hot-item a.ttl:hover { color: var(--primary); }
.hot-item .meta { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 6px; align-items: center; }
.src { font-size: 12px; font-weight: 650; background: #F2EEE7; color: var(--ink-2); border-radius: 6px; padding: 1px 7px; white-space: nowrap; }
.src b { color: var(--danger); font-weight: 800; }
.src.off { color: var(--muted); background: transparent; border: 1px dashed var(--line-2); }
.grp { display: inline-flex; align-items: center; padding: 3px 11px; border-radius: 8px; background: var(--primary-soft); color: var(--primary-ink); font-weight: 800; font-size: 14px; }
.hot-group + .hot-group { margin-top: 14px; }
.rank-list li { display: flex; gap: 12px; align-items: baseline; padding: 10px 0; border-top: 1px solid var(--line); }
.rank-list li:first-child { border-top: 0; }
.rk { width: 24px; flex: none; text-align: center; font-weight: 800; color: var(--muted); font-size: 14.5px; }
.rank-list li:nth-child(-n+3) .rk { color: var(--danger); }
.rank-list .ttl { font-size: 15px; line-height: 1.45; }
.rank-list a.ttl:hover { color: var(--primary); }
.mini { background: none; border: 1px solid var(--line-2); border-radius: 8px; padding: 2px 8px; font-size: 12.5px; font-weight: 650; color: var(--ink-2); white-space: nowrap; }
.mini:hover { border-color: var(--primary); color: var(--primary); }
.mini.in { border-color: transparent; background: var(--rose-soft); color: var(--rose); }

/* ---------- 稿件库 ---------- */
.grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px; }
@media (min-width: 680px) { .grid { grid-template-columns: repeat(3, 1fr); } }
@media (min-width: 1100px) { .grid { grid-template-columns: repeat(4, 1fr); gap: 18px; } }
.pc { display: flex; flex-direction: column; background: #fff; border: 1px solid var(--line); border-radius: 16px; overflow: hidden; box-shadow: var(--shadow); transition: transform .12s, box-shadow .12s; }
.pc:hover { transform: translateY(-3px); box-shadow: 0 16px 34px rgba(29, 34, 39, .12); }
.pc .cover { position: relative; aspect-ratio: 3 / 4; background: #EFEBE3; }
.pc .cover img { width: 100%; height: 100%; object-fit: cover; }
.pc .cover .st { position: absolute; left: 8px; top: 8px; box-shadow: 0 2px 8px rgba(29, 34, 39, .12); }
.pc .body { padding: 10px 12px 12px; display: flex; flex-direction: column; gap: 6px; flex: 1; }
.pc h3 { font-size: 14.5px; font-weight: 750; line-height: 1.4; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.pc .foot { margin-top: auto; display: flex; flex-wrap: wrap; gap: 6px; align-items: center; font-size: 12px; color: var(--muted); }
.warn-dot { color: var(--amber-ink); font-weight: 700; }

.idea { display: block; padding: 14px 16px; border-radius: 14px; background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow); }
.idea + .idea { margin-top: 10px; }
.idea b { display: block; font-size: 15.5px; line-height: 1.45; }
.idea p { font-size: 13.5px; color: var(--muted); margin-top: 4px; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }

/* ---------- 稿件详情 ---------- */
.piece-title { font-size: 23px; font-weight: 800; line-height: 1.35; margin-top: 8px; }
.steps { display: flex; margin: 18px 0 4px; }
.step { flex: 1; position: relative; text-align: center; font-size: 12px; font-weight: 650; color: var(--muted); padding-top: 20px; }
.step::before { content: ""; position: absolute; top: 4px; left: 50%; width: 10px; height: 10px; margin-left: -5px; border-radius: 50%; background: var(--line-2); z-index: 1; }
.step::after { content: ""; position: absolute; top: 8px; left: -50%; width: 100%; height: 2px; background: var(--line-2); }
.step:first-child::after { display: none; }
.step.done { color: var(--primary-ink); }
.step.done::before, .step.done::after { background: var(--primary); }
.step.cur { color: var(--ink); font-weight: 800; }
.step.cur::before { background: #fff; box-shadow: 0 0 0 3px var(--primary); }
.step.cur::after { background: var(--primary); }

.act { display: flex; flex-direction: column; gap: 10px; }
.act .btns { display: flex; gap: 10px; flex-wrap: wrap; }
.act .btns .btn { flex: 1; min-width: 132px; }
.act p { font-size: 14.5px; color: var(--ink-2); }
.inline-form { display: flex; gap: 10px; flex-wrap: wrap; align-items: center; }
.checkline { display: inline-flex; align-items: center; gap: 7px; padding: 9px 14px; border: 1px solid var(--line-2); border-radius: 12px; background: #fff; font-weight: 650; }
.checkline input { width: 18px; height: 18px; accent-color: var(--primary); }

.gallery { display: flex; gap: 12px; overflow-x: auto; padding: 4px 2px 14px; margin: 0 -2px; scroll-snap-type: x proximity; -webkit-overflow-scrolling: touch; }
.gallery button { flex: 0 0 58%; max-width: 250px; padding: 0; border: 1px solid var(--line); background: #EFEBE3; border-radius: 14px; overflow: hidden; scroll-snap-align: start; box-shadow: var(--shadow); position: relative; }
.gallery img { width: 100%; aspect-ratio: 3 / 4; object-fit: cover; }
.gallery .no { position: absolute; right: 8px; bottom: 8px; background: rgba(29, 34, 39, .72); color: #fff; font-size: 12px; font-weight: 700; border-radius: 999px; padding: 1px 8px; }
@media (min-width: 900px) { .gallery button { flex-basis: 210px; } }

.save-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px; }
@media (min-width: 680px) { .save-grid { grid-template-columns: repeat(4, 1fr); } }
.save-grid figure { margin: 0; position: relative; border-radius: 12px; overflow: hidden; border: 1px solid var(--line); background: #EFEBE3; }
.save-grid img { width: 100%; aspect-ratio: 3 / 4; object-fit: cover; -webkit-touch-callout: default; }
.save-grid figcaption { position: absolute; left: 8px; top: 8px; background: var(--primary); color: #fff; font-size: 12px; font-weight: 800; border-radius: 999px; padding: 1px 9px; }

.copy { border: 1px solid var(--line); border-radius: 14px; background: var(--surface-2); overflow: hidden; }
.copy + .copy { margin-top: 10px; }
.copy .head { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 8px 10px 8px 14px; border-bottom: 1px solid var(--line); background: #fff; }
.copy .head b { font-size: 13.5px; color: var(--ink-2); }
.copy .text { padding: 12px 14px; white-space: pre-wrap; word-break: break-word; font-size: 15px; line-height: 1.7; }
.steps-ol { counter-reset: s; }
.steps-ol > li { counter-increment: s; position: relative; padding-left: 34px; }
.steps-ol > li + li { margin-top: 18px; }
.steps-ol > li::before { content: counter(s); position: absolute; left: 0; top: 0; width: 24px; height: 24px; border-radius: 50%; background: var(--ink); color: #fff; font-size: 13px; font-weight: 800; display: grid; place-items: center; }
.steps-ol h3 { font-size: 15.5px; font-weight: 800; margin-bottom: 8px; }

.check { padding: 14px 16px; border: 1px solid var(--line); border-radius: 14px; background: #fff; scroll-margin-top: 80px; }
.check + .check { margin-top: 10px; }
.check .ctx { font-size: 15px; line-height: 1.65; }
.check .ask { margin-top: 10px; padding: 8px 12px; border-left: 3px solid var(--amber); background: var(--amber-soft); border-radius: 0 10px 10px 0; font-size: 14px; color: var(--amber-ink); }
.check .ask.ok { border-color: var(--green); background: var(--green-soft); color: var(--green); }
.check .ask.wait { border-color: var(--line-2); background: var(--surface-2); color: var(--muted); }
.check .reply { margin-top: 10px; padding: 9px 12px; border-radius: 10px; font-size: 14.5px; background: var(--green-soft); color: var(--green); font-weight: 600; }
.check .reply.change { background: var(--danger-soft); color: var(--danger); }
.check .reply small { display: block; font-weight: 500; opacity: .8; margin-top: 2px; }
.check .ops { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 12px; }
.check-group + .check-group { margin-top: 26px; }
.check-group > a { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; margin-bottom: 10px; font-weight: 800; font-size: 16px; }
.check-group > a:hover { color: var(--primary); }

.note { display: flex; gap: 10px; }
.note + .note { margin-top: 12px; }
.note .dot { width: 34px; height: 34px; border-radius: 50%; display: grid; place-items: center; font-weight: 800; flex: none; background: var(--primary-soft); color: var(--primary-ink); font-size: 14px; }
.note .dot.lawyer { background: var(--amber-soft); color: var(--amber-ink); }
.note .bubble { background: var(--surface-2); border: 1px solid var(--line); border-radius: 4px 14px 14px 14px; padding: 9px 13px; max-width: 640px; }
.note .bubble p { white-space: pre-wrap; word-break: break-word; font-size: 15px; }
.note .bubble small { color: var(--muted); font-size: 12px; }
.kv { display: grid; grid-template-columns: auto 1fr; gap: 6px 14px; font-size: 14.5px; }
.kv dt { color: var(--muted); }
.kv dd { margin: 0; font-weight: 600; }

/* ---------- 大图 ---------- */
.lb { position: fixed; inset: 0; z-index: 100; display: none; align-items: center; justify-content: center; background: rgba(16, 20, 24, .93); }
.lb.open { display: flex; }
.lb img { max-width: 94vw; max-height: 86vh; border-radius: 10px; box-shadow: 0 20px 60px rgba(0, 0, 0, .5); -webkit-touch-callout: default; }
.lb button { position: absolute; border: 0; background: rgba(255, 255, 255, .14); color: #fff; width: 46px; height: 46px; border-radius: 50%; display: grid; place-items: center; }
.lb button:hover { background: rgba(255, 255, 255, .26); }
.lb .x { top: calc(14px + env(safe-area-inset-top)); right: 14px; }
.lb .prev { left: 10px; top: 50%; margin-top: -23px; }
.lb .next { right: 10px; top: 50%; margin-top: -23px; }
.lb .cnt { position: absolute; bottom: calc(16px + env(safe-area-inset-bottom)); left: 0; right: 0; text-align: center; color: rgba(255, 255, 255, .82); font-size: 13.5px; font-weight: 600; }

/* ---------- 登录 ---------- */
.login-wrap {
  min-height: 100vh; min-height: 100dvh; display: grid; place-items: center; padding: 24px;
  background:
    radial-gradient(900px 520px at 12% -8%, #D6ECE8 0, transparent 62%),
    radial-gradient(760px 480px at 108% 108%, #F7E7CB 0, transparent 58%),
    var(--bg);
}
.login-card { width: 100%; max-width: 384px; background: #fff; border-radius: 26px; padding: 34px 28px 28px; box-shadow: var(--shadow-lg); text-align: center; }
.login-card img { width: 92px; height: 92px; border-radius: 50%; margin: 0 auto 14px; box-shadow: 0 0 0 5px #fff, 0 10px 28px rgba(29, 34, 39, .18); }
.login-card h1 { font-size: 23px; font-weight: 800; }
.login-card > p { color: var(--muted); font-size: 14px; margin: 4px 0 22px; }
.login-card form { text-align: left; }
.login-foot { margin-top: 18px; font-size: 12.5px; color: var(--muted); text-align: center; }
.err-code { font-size: 64px; font-weight: 800; color: var(--line-2); line-height: 1; }
