/* ============================================================================
   握法网 v2.1 · 律师端服务中心（frontend/views/lawyer-center/*）
   ----------------------------------------------------------------------------
   来源：docs/design/23-lawyer-center.html / 24-lawyer-center-2.html /
        26-lawyer-vip.html 三卷页面专有样式同值转换（令牌走 tokens.css，
        按钮/标签等通用件走 components.css）。
   隔离策略（历史踩坑）：
     · 老 style.css 有元素级选择器（body/a/img/li/em/input/select），其中
       `img{display:block}`、`a{color:#666;text-decoration:none}` 会命中新页，
       故本文件对图片与链接显式重置 display / color；
     · 老 other.css 有 `.box{display:none}`、`.header span{height:15px}` 这类
       裸类名陷阱，故本文件类名一律 wf-lc- 前缀，不写元素选择器、不写裸类名。
   命名：wf-lc-（layout & components）。VIP 专属块用 wf-lv- 前缀另起一节。
   ========================================================================== */

/* ---------- 1. 独立顶栏（律师端专属，无公众端主导航） ---------- */
.wf-lc-top { background: linear-gradient(90deg, #0B2249, #12315F 58%, #1B4079); }
.wf-lc-top .wf-lc-in { max-width: 1200px; margin: 0 auto; padding: 0 16px; height: 60px; display: flex; align-items: center; gap: 14px; }
.wf-lc-top .wf-lc-logo img { height: 30px; width: auto; display: block; }
.wf-lc-top .wf-lc-flag { font-size: 12px; color: #EBD9B4; border: 1px solid rgba(195, 154, 84, .55); background: rgba(195, 154, 84, .14); border-radius: var(--wf-r-pill); padding: 3px 11px; letter-spacing: .5px; }
.wf-lc-top .wf-lc-r { margin-left: auto; display: flex; align-items: center; gap: 18px; }
.wf-lc-top .wf-lc-r a { font-size: 13px; color: rgba(255, 255, 255, .78); }
.wf-lc-top .wf-lc-r a:hover { color: #fff; }
.wf-lc-top .wf-lc-who { display: flex; align-items: center; gap: 8px; font-size: 13px; color: #fff; }
.wf-lc-top .wf-lc-who .av { width: 28px; height: 28px; border-radius: 50%; background: var(--wf-gold); color: #fff; display: flex; align-items: center; justify-content: center; font-size: 13px; font-weight: 600; }
.wf-lc-top .wf-lc-who em { font-style: normal; font-size: 11.5px; color: #EBD9B4; border: 1px solid rgba(195, 154, 84, .5); border-radius: 4px; padding: 0 5px; }

/* ---------- 2. 状态条（认证 / 到期 / 待办提醒） ---------- */
.wf-lc-bar { display: flex; align-items: center; gap: 13px; border-radius: var(--wf-r-m); padding: 13px 18px; margin: 16px 0 0; border: 1px solid; }
.wf-lc-bar .ic { width: 26px; height: 26px; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 14px; color: #fff; flex: 0 0 26px; }
.wf-lc-bar .tx { flex: 1; min-width: 0; font-size: 13.5px; line-height: 1.7; }
.wf-lc-bar .tx b { font-weight: 600; }
.wf-lc-bar .act { display: flex; gap: 8px; flex-shrink: 0; }
.wf-lc-bar.ok { background: #EAF7F1; border-color: #C7E8D8; color: #17674A; }
.wf-lc-bar.ok .ic { background: var(--wf-ok); }
.wf-lc-bar.gold { background: var(--wf-gold-bg); border-color: var(--wf-gold-soft); color: #7A5A1C; }
.wf-lc-bar.gold .ic { background: var(--wf-gold); }
.wf-lc-bar.warn { background: #FDF3E6; border-color: #F2DCB8; color: #8A6520; }
.wf-lc-bar.warn .ic { background: var(--wf-warn); }
.wf-lc-bar.cta { background: #FDEDE7; border-color: #F8D5C8; color: #A93A1B; }
.wf-lc-bar.cta .ic { background: var(--wf-cta); }

/* ---------- 3. 两栏骨架：深蓝侧栏 + 主列 ---------- */
.wf-lc-wrap { max-width: 1200px; margin: 0 auto; padding: 0 16px 48px; }
.wf-lc-wall { display: grid; grid-template-columns: 244px minmax(0, 1fr); gap: 20px; padding: 20px 0 0; align-items: start; }
.wf-lc-main { min-width: 0; }
/* 主列内的「内容 + 右栏」两栏（右栏放口径说明 / 摘要，不参与主体信息密度） */
.wf-lc-2col { display: grid; grid-template-columns: minmax(0, 1fr) 280px; gap: 16px; align-items: start; }

/* ---------- 4. 侧栏 ---------- */
.wf-lc-side { background: linear-gradient(180deg, #12315F, #0B2249); border-radius: var(--wf-r-m); padding: 18px 0 14px; position: sticky; top: 12px; }
.wf-lc-side .me { display: flex; gap: 11px; align-items: center; padding: 0 16px 14px; border-bottom: 1px solid rgba(255, 255, 255, .1); }
.wf-lc-side .me .av { width: 44px; height: 44px; border-radius: 50%; flex: 0 0 44px; background: var(--wf-gold); color: #fff; display: flex; align-items: center; justify-content: center; font-size: 16px; font-weight: 600; overflow: hidden; }
.wf-lc-side .me .av img { width: 100%; height: 100%; object-fit: cover; display: block; }
.wf-lc-side .me b { display: block; font-size: 14px; color: #fff; }
.wf-lc-side .me span { display: block; font-size: 11.5px; color: rgba(255, 255, 255, .6); line-height: 1.7; }
.wf-lc-side .me span.vf { color: #EBD9B4; }
.wf-lc-side .coop { margin: 12px 14px 0; font-size: 11.5px; color: rgba(255, 255, 255, .66); background: rgba(255, 255, 255, .07); border-radius: var(--wf-r-s); padding: 8px 11px; line-height: 1.7; }
.wf-lc-side .coop b { color: #EBD9B4; }
.wf-lc-nav { padding: 10px 10px 0; }
.wf-lc-nav .gt { font-size: 11px; color: rgba(255, 255, 255, .42); padding: 12px 10px 5px; letter-spacing: .6px; }
.wf-lc-nav a { display: flex; align-items: center; gap: 8px; padding: 9px 12px; border-radius: var(--wf-r-s); font-size: 13px; color: rgba(255, 255, 255, .82); border-left: 3px solid transparent; margin-bottom: 1px; }
.wf-lc-nav a:hover { background: rgba(255, 255, 255, .08); color: #fff; }
.wf-lc-nav a.on { background: rgba(255, 255, 255, .12); color: #fff; font-weight: 600; border-left-color: var(--wf-gold); }
.wf-lc-nav a s { margin-left: auto; text-decoration: none; font-size: 11px; background: var(--wf-cta); color: #fff; border-radius: var(--wf-r-pill); padding: 1px 6px; }
.wf-lc-nav a.on s { background: var(--wf-gold); }

/* ---------- 5. 主列页头 ---------- */
.wf-lc-hd { display: flex; align-items: flex-end; gap: 12px; margin: 0 0 15px; }
.wf-lc-hd h2 { margin: 0; font-size: 21px; font-weight: 600; color: var(--wf-brand-800); }
.wf-lc-hd .sub { font-size: 12.5px; color: var(--wf-ink3); padding-bottom: 3px; }
.wf-lc-hd .r { margin-left: auto; display: flex; gap: 9px; align-items: center; }

/* ---------- 6. KPI 卡 ---------- */
.wf-lc-kpi { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 13px; margin-bottom: 16px; }
.wf-lc-kpi .k { background: #fff; border: 1px solid var(--wf-line); border-radius: var(--wf-r-m); box-shadow: var(--wf-sh1); padding: 15px 17px; min-width: 0; }
.wf-lc-kpi .k label { display: block; font-size: 12.5px; color: var(--wf-ink3); margin-bottom: 7px; }
.wf-lc-kpi .k .v { font-size: 25px; font-weight: 600; color: var(--wf-brand-800); line-height: 1.15; font-family: Consolas, Monaco, monospace; }
.wf-lc-kpi .k .v em { font-style: normal; font-size: 12.5px; color: var(--wf-ink3); margin-left: 3px; font-family: var(--wf-font); }
.wf-lc-kpi .k .cmp { font-size: 12px; color: var(--wf-ink3); margin-top: 7px; }
.wf-lc-kpi .k .cmp i { font-style: normal; }
.wf-lc-kpi .k .cmp i.up { color: var(--wf-ok); }
.wf-lc-kpi .k .cmp i.down { color: var(--wf-danger, #D3452B); }
.wf-lc-kpi .k.gold .v { color: #8A6520; }

/* ---------- 7. 待办 / 列表行卡 ---------- */
.wf-lc-tasks { background: #fff; border: 1px solid var(--wf-line); border-radius: var(--wf-r-m); box-shadow: var(--wf-sh1); margin-bottom: 16px; overflow: hidden; }
.wf-lc-tasks .hd { display: flex; align-items: center; gap: 9px; padding: 14px 18px; border-bottom: 1px solid var(--wf-line); }
.wf-lc-tasks .hd h3 { margin: 0; font-size: 15px; color: var(--wf-brand-800); }
.wf-lc-tasks .hd .n { font-size: 11.5px; color: var(--wf-cta); background: #FDEDE7; border-radius: var(--wf-r-pill); padding: 1px 8px; }
.wf-lc-tasks .hd .r { margin-left: auto; font-size: 12.5px; }
.wf-lc-task { display: flex; align-items: center; gap: 12px; padding: 13px 18px 13px 15px; border-bottom: 1px solid var(--wf-line); border-left: 3px solid transparent; }
.wf-lc-task:last-child { border-bottom: 0; }
.wf-lc-task.urgent { border-left-color: var(--wf-cta); }
.wf-lc-task.today { border-left-color: var(--wf-gold); }
.wf-lc-task .ic { width: 34px; height: 34px; border-radius: 9px; background: var(--wf-brand-50); color: var(--wf-brand-600); display: flex; align-items: center; justify-content: center; font-size: 16px; flex: 0 0 34px; }
.wf-lc-task.urgent .ic { background: #FDEDE7; color: var(--wf-cta); }
.wf-lc-task.today .ic { background: var(--wf-gold-bg); color: #8A6520; }
.wf-lc-task .tx { flex: 1; min-width: 0; }
.wf-lc-task .tx b { display: block; font-size: 13.5px; color: var(--wf-ink1); font-weight: 600; line-height: 1.6; }
.wf-lc-task .tx span { font-size: 12px; color: var(--wf-ink3); }
.wf-lc-task .act { flex-shrink: 0; display: flex; gap: 8px; }

/* ---------- 8. 通用行卡（问答 / 需求 / 订单共用） ---------- */
.wf-lc-row { border-bottom: 1px solid var(--wf-line); padding: 15px 0; }
.wf-lc-row:last-child { border-bottom: 0; padding-bottom: 0; }
.wf-lc-row .rt { display: flex; align-items: center; gap: 8px; margin-bottom: 7px; flex-wrap: wrap; }
.wf-lc-row .rt h4 { margin: 0; font-size: 14.5px; font-weight: 600; color: var(--wf-ink1); }
.wf-lc-row .sum { font-size: 13px; color: var(--wf-ink2); line-height: 1.75; margin: 0 0 8px; }
.wf-lc-row .meta { font-size: 12.5px; color: var(--wf-ink3); display: flex; align-items: center; gap: 14px; flex-wrap: wrap; }
.wf-lc-row .meta .r { margin-left: auto; display: flex; gap: 8px; }
/* 内联展开的回复框（data-toggle 控制） */
.wf-lc-reply { display: none; margin-top: 11px; background: var(--wf-brand-50); border: 1px solid var(--wf-line); border-radius: var(--wf-r-s); padding: 13px 14px; }
.wf-lc-reply.on { display: block; }
.wf-lc-reply .wf-lc-textarea { min-height: 82px; }
.wf-lc-reply .cnt { font-size: 12px; color: var(--wf-ink3); margin-top: 6px; }
.wf-lc-reply .cnt.over { color: var(--wf-danger, #D3452B); }
.wf-lc-reply .act { margin-top: 10px; display: flex; gap: 8px; justify-content: flex-end; }

/* ---------- 9. 分段状态器（带计数） ---------- */
.wf-lc-seg { display: flex; gap: 4px; background: #fff; border: 1px solid var(--wf-line); border-radius: var(--wf-r-m); padding: 6px; margin-bottom: 14px; box-shadow: var(--wf-sh1); overflow: hidden; }
.wf-lc-seg a { padding: 8px 17px; border-radius: var(--wf-r-s); font-size: 13.5px; color: var(--wf-ink2); white-space: nowrap; }
.wf-lc-seg a:hover { background: var(--wf-brand-50); color: var(--wf-brand-700); }
.wf-lc-seg a.on { background: var(--wf-brand-800); color: #fff; font-weight: 600; }
.wf-lc-seg a s { text-decoration: none; font-size: 12px; color: var(--wf-ink3); margin-left: 5px; }
.wf-lc-seg a.on s { color: rgba(255, 255, 255, .78); }

/* ---------- 10. 面板 / 表格 ---------- */
.wf-lc-panel { background: #fff; border: 1px solid var(--wf-line); border-radius: var(--wf-r-m); box-shadow: var(--wf-sh1); padding: 18px 20px; margin-bottom: 16px; }
.wf-lc-panel > h3 { margin: 0 0 4px; font-size: 15.5px; color: var(--wf-brand-800); }
.wf-lc-panel > .desc { font-size: 12.5px; color: var(--wf-ink3); margin: 0 0 13px; line-height: 1.7; }
.wf-lc-tbl { width: 100%; border-collapse: collapse; font-size: 13px; }
.wf-lc-tbl th, .wf-lc-tbl td { border-bottom: 1px solid var(--wf-line); padding: 10px 12px; text-align: left; vertical-align: middle; }
.wf-lc-tbl th { background: var(--wf-brand-50); color: var(--wf-brand-800); font-weight: 600; font-size: 12.5px; white-space: nowrap; }
.wf-lc-tbl td.num { font-family: Consolas, Monaco, monospace; color: var(--wf-brand-800); }
.wf-lc-tbl tr:last-child td { border-bottom: 0; }

/* 收费设置：服务类型行 */
.wf-lc-rate { width: 100%; border-collapse: collapse; font-size: 13px; }
.wf-lc-rate th, .wf-lc-rate td { border-bottom: 1px solid var(--wf-line); padding: 11px 12px; text-align: left; vertical-align: middle; overflow-wrap: anywhere; }
.wf-lc-rate th { background: var(--wf-brand-50); color: var(--wf-brand-800); font-weight: 600; font-size: 12.5px; white-space: nowrap; }
.wf-lc-rate tr:last-child td { border-bottom: 0; }
.wf-lc-rate .nm b { display: block; font-size: 13.5px; color: var(--wf-ink1); }
.wf-lc-rate .nm span { font-size: 12px; color: var(--wf-ink3); }

/* ---------- 11. 开关 ---------- */
.wf-lc-switch { display: inline-flex; align-items: center; gap: 8px; font-size: 13px; color: var(--wf-ink2); cursor: pointer; position: relative; }
.wf-lc-switch i { width: 38px; height: 21px; border-radius: var(--wf-r-pill); background: var(--wf-line); position: relative; transition: .18s; flex: 0 0 38px; }
.wf-lc-switch i::after { content: ""; position: absolute; left: 2px; top: 2px; width: 17px; height: 17px; border-radius: 50%; background: #fff; box-shadow: 0 1px 2px rgba(0, 0, 0, .18); transition: .18s; }
.wf-lc-switch.on i { background: var(--wf-brand-600); }
.wf-lc-switch.on i::after { left: 19px; }
.wf-lc-switch.sm i { width: 32px; height: 18px; flex-basis: 32px; }
.wf-lc-switch.sm i::after { width: 14px; height: 14px; }
.wf-lc-switch.sm.on i::after { left: 16px; }
/* 真实 checkbox：视觉上藏起来但保留原生可点/可聚焦（不用 display:none，
   否则无 JS 时 label 的原生激活也一并失效）。放在 label 内、脱离文档流，不占位。 */
.wf-lc-switch .wf-lc-cb { position: absolute; width: 1px; height: 1px; margin: 0; padding: 0; border: 0; opacity: 0; clip-path: inset(50%); pointer-events: none; }
.wf-lc-switch:focus-within i { box-shadow: 0 0 0 2px var(--wf-brand-50); }
/* 兜底：视觉状态直接跟随真实 checked（无 JS / JS 未执行时也正确）。
   与 JS 手动加的 .on 一致，二者不冲突。 */
.wf-lc-switch:has(input[type=checkbox]:checked) i { background: var(--wf-brand-600); }
.wf-lc-switch:has(input[type=checkbox]:checked) i::after { left: 19px; }
.wf-lc-switch.sm:has(input[type=checkbox]:checked) i::after { left: 16px; }

/* ---------- 12. 时间线（需求流转 / 订单轨迹） ---------- */
.wf-lc-tl { list-style: none; margin: 0; padding: 0 0 0 18px; position: relative; }
.wf-lc-tl::before { content: ""; position: absolute; left: 4px; top: 6px; bottom: 6px; width: 2px; background: var(--wf-line); }
.wf-lc-tl li { position: relative; padding: 0 0 15px; }
.wf-lc-tl li:last-child { padding-bottom: 0; }
.wf-lc-tl li::before { content: ""; position: absolute; left: -18px; top: 5px; width: 9px; height: 9px; border-radius: 50%; background: #fff; border: 2px solid var(--wf-line); }
.wf-lc-tl li.done::before { border-color: var(--wf-brand-500); background: var(--wf-brand-500); }
.wf-lc-tl li.now::before { border-color: var(--wf-cta); background: var(--wf-cta); }
.wf-lc-tl b { display: block; font-size: 13.5px; color: var(--wf-ink1); margin-bottom: 2px; }
.wf-lc-tl span { font-size: 12px; color: var(--wf-ink3); }
.wf-lc-tl p { margin: 4px 0 0; font-size: 13px; color: var(--wf-ink2); line-height: 1.7; }

/* ---------- 13. 柱图 / 占比条 ---------- */
.wf-lc-bars { display: flex; align-items: flex-end; gap: 5px; height: 108px; margin: 6px 0 8px; }
.wf-lc-bars .b { flex: 1; min-width: 0; border-radius: 3px 3px 0 0; background: linear-gradient(180deg, #3A6FB5, #1B4079); position: relative; }
.wf-lc-bars .b.zero { background: var(--wf-line); }
.wf-lc-bars .b.hi { background: linear-gradient(180deg, #D9B372, #C39A54); }
.wf-lc-bars-x { display: flex; gap: 5px; font-size: 10px; color: var(--wf-ink3); }
.wf-lc-bars-x span { flex: 1; text-align: center; min-width: 0; overflow: hidden; white-space: nowrap; }
.wf-lc-share { display: flex; height: 9px; border-radius: var(--wf-r-pill); overflow: hidden; margin: 10px 0 8px; background: var(--wf-line); }
.wf-lc-share i { display: block; height: 100%; }
.wf-lc-lgd { display: flex; flex-wrap: wrap; gap: 8px 16px; font-size: 12.5px; color: var(--wf-ink2); }
.wf-lc-lgd span { display: inline-flex; align-items: center; gap: 6px; }
.wf-lc-lgd span i { width: 9px; height: 9px; border-radius: 2px; display: inline-block; }

/* ---------- 14. 右栏说明卡 ---------- */
.wf-lc-nb { background: var(--wf-brand-50); border: 1px solid var(--wf-line); border-radius: var(--wf-r-m); padding: 15px 17px; margin-bottom: 14px; }
.wf-lc-nb h4 { margin: 0 0 9px; font-size: 13.5px; color: var(--wf-brand-800); }
.wf-lc-nb p, .wf-lc-nb li { font-size: 12.5px; color: var(--wf-ink2); line-height: 1.8; }
.wf-lc-nb ul { margin: 0; padding: 0 0 0 15px; }
.wf-lc-nb li { position: relative; padding-left: 2px; list-style: none; }
.wf-lc-nb li::before { content: ""; position: absolute; left: -12px; top: 8px; width: 4px; height: 4px; border-radius: 50%; background: var(--wf-brand-500); }
.wf-lc-nb.gold { background: var(--wf-gold-bg); border-color: var(--wf-gold-soft); }
.wf-lc-nb.gold h4 { color: #7A5A1C; }
.wf-lc-nb.gold p, .wf-lc-nb.gold li { color: #8A6520; }
.wf-lc-nb.gold li::before { background: var(--wf-gold); }
.wf-lc-nb code { background: #fff; border: 1px solid var(--wf-line); border-radius: 4px; padding: 1px 5px; font-size: 12px; font-family: Consolas, Monaco, monospace; color: var(--wf-brand-700); overflow-wrap: anywhere; }

/* ---------- 15. 分页 / 空态 ---------- */
.wf-lc-pager { display: flex; gap: 6px; list-style: none; padding: 16px 0 0; margin: 0; justify-content: center; flex-wrap: wrap; }
.wf-lc-pager li > a, .wf-lc-pager li > span { display: inline-block; padding: 6px 12px; border: 1px solid var(--wf-line); border-radius: var(--wf-r-s); font-size: 13px; color: var(--wf-ink2); }
.wf-lc-pager li > a:hover { border-color: var(--wf-brand-500); color: var(--wf-brand-800); }
.wf-lc-pager li.active > a { background: var(--wf-brand-800); border-color: var(--wf-brand-800); color: #fff; }
.wf-lc-pager li.disabled > span { color: var(--wf-ink3); background: var(--wf-bg); }

.wf-lc-empty { text-align: center; padding: 50px 20px; }
.wf-lc-empty .ico { font-size: 32px; color: var(--wf-brand-100); margin-bottom: 10px; }
.wf-lc-empty h4 { margin: 0 0 6px; font-size: 15px; color: var(--wf-ink1); }
.wf-lc-empty p { margin: 0 0 14px; font-size: 13px; color: var(--wf-ink3); }

/* ---------- 16. 工具类 ---------- */
.wf-lc-money { font-family: Consolas, Monaco, monospace; color: var(--wf-brand-800); font-weight: 600; }
.wf-lc-money.gold { color: #8A6520; }
.wf-lc-money.cta { color: var(--wf-cta); }
.wf-lc-mask { color: var(--wf-ink3); letter-spacing: 1px; }
.wf-lc-tag { display: inline-block; padding: 2px 9px; border-radius: var(--wf-r-pill); font-size: 12px; line-height: 1.7; white-space: nowrap; }
.wf-lc-tag.plain { background: var(--wf-brand-50); color: var(--wf-brand-700); }
.wf-lc-tag.ok { background: #E7F6EC; color: #1F7A3D; }
.wf-lc-tag.warn { background: #FEF3E2; color: #B26B08; }
.wf-lc-tag.cta { background: #FDEDE7; color: #A93A1B; }
.wf-lc-tag.gold { background: var(--wf-gold-bg); color: #8A6420; }
.wf-lc-tag.gray { background: var(--wf-bg); color: var(--wf-ink3); }
.wf-lc-crumb { font-size: 12.5px; color: var(--wf-ink3); padding: 14px 0 0; }
.wf-lc-crumb a { color: var(--wf-ink3); }
.wf-lc-crumb a:hover { color: var(--wf-brand-700); }
.wf-lc-crumb .on { color: var(--wf-brand-700); }
.wf-lc-foot { text-align: center; font-size: 12px; color: var(--wf-ink3); padding: 20px 0 8px; }

/* ---------- 17. VIP 专属（wf-lv- 前缀） ---------- */
.wf-lv-hero { background: linear-gradient(120deg, #0B2249, #1B4079 62%, #26548F); border-radius: var(--wf-r-m); padding: 24px 26px; color: #fff; margin-bottom: 16px; display: flex; align-items: center; gap: 22px; flex-wrap: wrap; }
.wf-lv-hero .tx { flex: 1; min-width: 0; }
.wf-lv-hero h3 { margin: 0 0 7px; font-size: 20px; color: #fff; }
.wf-lv-hero p { margin: 0; font-size: 13px; color: rgba(255, 255, 255, .8); line-height: 1.8; }
.wf-lv-hero .r { flex-shrink: 0; display: flex; gap: 9px; align-items: center; }
.wf-lv-hero.live { background: linear-gradient(120deg, #6E4F14, #8A6520 58%, #C39A54); }
.wf-lv-packs { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 13px; margin-bottom: 16px; }
.wf-lv-pack { background: #fff; border: 1px solid var(--wf-line); border-radius: var(--wf-r-m); box-shadow: var(--wf-sh1); padding: 18px 17px; display: flex; flex-direction: column; min-width: 0; position: relative; }
.wf-lv-pack.rec { border-color: var(--wf-gold); box-shadow: 0 0 0 2px var(--wf-gold-soft), var(--wf-sh1); }
.wf-lv-pack .bdg { position: absolute; right: 12px; top: -9px; background: var(--wf-gold); color: #fff; font-size: 11px; border-radius: var(--wf-r-pill); padding: 2px 9px; }
.wf-lv-pack h4 { margin: 0 0 3px; font-size: 16px; color: var(--wf-brand-800); }
.wf-lv-pack .st { font-size: 12px; color: var(--wf-ink3); margin-bottom: 12px; min-height: 34px; line-height: 1.6; }
.wf-lv-pack .pr { font-size: 27px; font-weight: 600; color: var(--wf-cta); font-family: Consolas, Monaco, monospace; line-height: 1.1; }
.wf-lv-pack .pr em { font-style: normal; font-size: 13px; color: var(--wf-ink3); font-family: var(--wf-font); margin-left: 3px; }
.wf-lv-pack .og { font-size: 12px; color: var(--wf-ink3); text-decoration: line-through; margin-top: 2px; }
.wf-lv-pack ul { margin: 13px 0 15px; padding: 0; list-style: none; flex: 1; }
.wf-lv-pack li { font-size: 12.5px; color: var(--wf-ink2); line-height: 1.8; padding-left: 16px; position: relative; }
.wf-lv-pack li::before { content: "✓"; position: absolute; left: 0; top: 0; color: var(--wf-ok); font-size: 12px; }
.wf-lv-matrix { width: 100%; border-collapse: collapse; font-size: 13px; }
.wf-lv-matrix th, .wf-lv-matrix td { border-bottom: 1px solid var(--wf-line); padding: 10px 12px; text-align: center; }
.wf-lv-matrix th:first-child, .wf-lv-matrix td:first-child { text-align: left; color: var(--wf-ink2); }
.wf-lv-matrix th { background: var(--wf-brand-50); color: var(--wf-brand-800); font-weight: 600; font-size: 12.5px; }
.wf-lv-matrix tr:last-child td { border-bottom: 0; }
.wf-lv-tplgrid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; }
.wf-lv-tpl { background: #fff; border: 1px solid var(--wf-line); border-radius: var(--wf-r-m); overflow: hidden; box-shadow: var(--wf-sh1); display: flex; flex-direction: column; min-width: 0; }
.wf-lv-tpl.cur { border-color: var(--wf-gold); box-shadow: 0 0 0 2px var(--wf-gold-soft), var(--wf-sh1); }
.wf-lv-tpl .pv { height: 118px; background: linear-gradient(135deg, #EEF3FB, #DCE6F5); display: flex; align-items: center; justify-content: center; color: var(--wf-brand-500); font-size: 26px; }
.wf-lv-tpl .bd { padding: 12px 14px 14px; flex: 1; display: flex; flex-direction: column; }
.wf-lv-tpl .bd b { font-size: 14px; color: var(--wf-ink1); }
.wf-lv-tpl .bd .k { font-size: 11.5px; color: var(--wf-ink3); font-family: Consolas, Monaco, monospace; margin-top: 2px; }
.wf-lv-tpl .bd .act { margin-top: 10px; display: flex; gap: 7px; align-items: center; }
.wf-lv-addr { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
.wf-lv-addr .a { border: 1px solid var(--wf-line); border-radius: var(--wf-r-m); padding: 16px 18px; background: #fff; min-width: 0; }
.wf-lv-addr .a.on { border-color: var(--wf-gold); box-shadow: 0 0 0 2px var(--wf-gold-soft); }
.wf-lv-addr .a h4 { margin: 0 0 5px; font-size: 14.5px; color: var(--wf-brand-800); }
.wf-lv-addr .a p { margin: 0 0 10px; font-size: 12.5px; color: var(--wf-ink2); line-height: 1.75; }
.wf-lv-addr .a code { background: var(--wf-brand-50); border: 1px solid var(--wf-line); border-radius: 4px; padding: 2px 7px; font-size: 12.5px; font-family: Consolas, Monaco, monospace; color: var(--wf-brand-700); overflow-wrap: anywhere; }
.wf-lv-detect { display: flex; align-items: center; gap: 10px; padding: 10px 0; border-bottom: 1px dashed var(--wf-line); font-size: 13px; }
.wf-lv-detect:last-child { border-bottom: 0; }
.wf-lv-detect .nm { width: 92px; flex: 0 0 92px; color: var(--wf-ink3); font-size: 12.5px; }
.wf-lv-detect .vs { flex: 1; min-width: 0; color: var(--wf-ink1); overflow-wrap: anywhere; }
.wf-lv-detect .st { flex-shrink: 0; font-size: 12.5px; }
.wf-lv-detect .st.ok { color: var(--wf-ok); }
.wf-lv-detect .st.bad { color: var(--wf-danger, #D3452B); }
.wf-lv-detect .st.wait { color: var(--wf-warn); }

/* ---------- 18. 表单控件（wf-lc-input / wf-lc-select / wf-lc-textarea） ----------
   为什么自带一套而不借 lawyer-admin.css 的 .wf-la-input：
   律师端与「名片与数据」等旧板块是两套皮肤，借类会造成隐式耦合；
   一旦旧皮肤调整，本端表单会跟着变形。此处按同一令牌口径复刻，独立演进。
   ⚠ 老 style.css 有元素级 input/select/textarea 选择器，故此处显式重置
     font-family / font-size / color / background，不依赖继承。 ------------- */
.wf-lc-frow { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px 18px; }
.wf-lc-frow.one { grid-template-columns: minmax(0, 1fr); }
.wf-lc-fld { min-width: 0; }
.wf-lc-fld > label { display: block; font-size: 13px; color: var(--wf-ink2); margin-bottom: 6px; }
.wf-lc-fld > label em { font-style: normal; color: var(--wf-ink3); font-size: 12px; margin-left: 4px; }
.wf-lc-fld > label b { color: var(--wf-cta); font-weight: 400; margin-left: 2px; }
.wf-lc-fld .hint { font-size: 12px; color: var(--wf-ink3); line-height: 1.7; margin-top: 5px; }
.wf-lc-fld .err { font-size: 12px; color: var(--wf-danger, #D3452B); line-height: 1.7; margin-top: 5px; }

.wf-lc-input, .wf-lc-select, .wf-lc-textarea {
  display: block; width: 100%; box-sizing: border-box;
  padding: 9px 12px; border: 1px solid var(--wf-line); border-radius: var(--wf-r-s);
  font-family: var(--wf-font); font-size: 13.5px; line-height: 1.6;
  color: var(--wf-ink1); background: #fff;
}
.wf-lc-textarea { min-height: 76px; resize: vertical; }
.wf-lc-input:focus, .wf-lc-select:focus, .wf-lc-textarea:focus {
  outline: none; border-color: var(--wf-brand-500); box-shadow: 0 0 0 2px var(--wf-brand-50);
}
.wf-lc-input::placeholder, .wf-lc-textarea::placeholder { color: var(--wf-ink3); }
.wf-lc-input[disabled], .wf-lc-select[disabled], .wf-lc-textarea[disabled] { background: var(--wf-bg); color: var(--wf-ink3); cursor: not-allowed; }
.wf-lc-input.sm { padding: 7px 10px; font-size: 13px; }

/* 收费档位里的两格输入（金额 + 说明），随单元格收窄不溢出 */
.wf-lc-rateinput { display: block; width: 100%; max-width: 118px; box-sizing: border-box;
  padding: 7px 10px; border: 1px solid var(--wf-line); border-radius: var(--wf-r-s);
  font-family: Consolas, Monaco, monospace; font-size: 13px; color: var(--wf-brand-800); background: #fff; }
.wf-lc-rateinput + .wf-lc-rateinput { margin-top: 6px; }
.wf-lc-rateinput.wide { max-width: none; font-family: var(--wf-font); color: var(--wf-ink1); }
.wf-lc-rateinput:focus { outline: none; border-color: var(--wf-brand-500); box-shadow: 0 0 0 2px var(--wf-brand-50); }
.wf-lc-rateinput[disabled] { background: var(--wf-bg); color: var(--wf-ink3); }

/* 表单底部动作条 */
.wf-lc-fact { display: flex; align-items: center; gap: 10px; margin-top: 16px; padding-top: 15px; border-top: 1px solid var(--wf-line); }
.wf-lc-fact .r { margin-left: auto; font-size: 12.5px; color: var(--wf-ink3); }

/* 只读信息行（认证与资质、收益提现等会用到） */
.wf-lc-kv { display: flex; gap: 12px; padding: 9px 0; border-bottom: 1px dashed var(--wf-line); font-size: 13px; }
.wf-lc-kv:last-child { border-bottom: 0; }
.wf-lc-kv .k { width: 96px; flex: 0 0 96px; color: var(--wf-ink3); font-size: 12.5px; }
.wf-lc-kv .v { flex: 1; min-width: 0; color: var(--wf-ink1); overflow-wrap: anywhere; }

/* ---------- 19. 窄屏兜底（律师端为桌面私域，仅做不裂保护） ---------- */
@media (max-width: 1279px) {
  .wf-lc-wall { grid-template-columns: 210px minmax(0, 1fr); gap: 14px; }
  .wf-lc-kpi, .wf-lv-packs, .wf-lv-tplgrid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .wf-lc-frow { grid-template-columns: minmax(0, 1fr); }
}

/* ---------- 20. 律师端「未入驻 / 未登录」外壳（wf-lg- 前缀，原型 25 卷） ----------
 * 承载页面：lawyer-center/login.html · apply.html · apply-status.html
 * 与工作台（wf-lc-）的区别：申请人还不是律师，没有深色工作台顶栏，头部由各页自己输出
 *   —— 登录页是深蓝整屏 split，入驻/状态页是浅色顶栏（原型 apl-top）。
 *
 * ⚠ 老样式污染防护：style.css 有 img{display:block} / a{color:#666;text-decoration:none} /
 *   li / em / input / select 元素级规则，other.css 有 .box{display:none}、.header span{height:15px}，
 *   components.css 还有 body{min-width:1200px}。所以本节：
 *     1) 选择器一律带 .wf-lg- 前缀（表单控件也不复用裸 .inp / .field）；
 *     2) 关键处显式重置（.wf-lg-logo img 的 display、a 的颜色与下划线）；
 *     3) body.wf-lg-body 提特异性把 min-width 压回 0，并自带 viewport（见 layouts/lawyer-guest.php）。
 * ------------------------------------------------------------------------- */

/* 20.1 外壳 */
body.wf-lg-body { background: #F5F7FB; min-width: 0; min-height: 100vh; display: flex; flex-direction: column;
  color: var(--wf-ink1); font-family: var(--wf-font); }
body.wf-lg-body .wf-lg-auth { flex: 1 0 auto; }
.wf-lg-wrap { width: 100%; max-width: 1200px; margin: 0 auto; padding: 0 16px; box-sizing: border-box; }
.wf-lg-pad { padding-top: 26px; padding-bottom: 44px; }
.wf-lg-foot { flex: 0 0 auto; background: #0B2249; color: #8FA4C6; margin-top: 40px; padding: 22px 16px;
  text-align: center; font-size: 12.5px; line-height: 2; }
.wf-lg-foot b { color: #C39A54; font-weight: 500; }
.wf-lg-foot a { color: #C39A54; text-decoration: none; }

/* 20.2 顶部条：深色（登录页）/ 浅色（入驻与状态页） */
.wf-lg-top { display: flex; align-items: center; gap: 14px; min-height: 64px; }
.wf-lg-auth .wf-lg-top { border-bottom: 1px solid rgba(255, 255, 255, .12); }
.wf-lg-top-light { background: #fff; border-bottom: 1px solid var(--wf-line); box-shadow: var(--wf-sh1); }
.wf-lg-top-light .wf-lg-wrap { display: flex; align-items: center; gap: 14px; min-height: 64px; }
.wf-lg-logo { flex: 0 0 auto; display: inline-flex; align-items: center; }
.wf-lg-logo img { height: 30px; width: auto; display: inline-block; }
.wf-lg-flag { font-size: 14px; color: #fff; padding-left: 15px; border-left: 1px solid rgba(255, 255, 255, .25); line-height: 1.2; }
.wf-lg-tt { font-size: 15px; font-weight: 600; color: var(--wf-brand-800); padding-left: 15px; border-left: 1px solid var(--wf-line); line-height: 1.2; }
.wf-lg-topr { margin-left: auto; display: flex; gap: 17px; align-items: center; font-size: 13px; flex-wrap: wrap; }
.wf-lg-auth .wf-lg-topr { color: #9FB3D1; }
.wf-lg-auth .wf-lg-topr a { color: #E3EBF7; text-decoration: none; }
.wf-lg-auth .wf-lg-topr a:hover { color: #fff; }
.wf-lg-top-light .wf-lg-topr { color: var(--wf-ink3); }
.wf-lg-top-light .wf-lg-topr a { color: var(--wf-ink2); text-decoration: none; }
.wf-lg-top-light .wf-lg-topr a:hover { color: var(--wf-brand-700); }

/* 20.3 登录页：深蓝整屏 split */
.wf-lg-auth { background: linear-gradient(160deg, #0B2249, #1B4079 58%, #26548F); color: #fff; padding-bottom: 34px; }
.wf-lg-authbox { display: grid; grid-template-columns: minmax(0, 1fr) 452px; gap: 46px; padding: 40px 0 12px; align-items: start; }
.wf-lg-lf { padding-top: 12px; min-width: 0; }
.wf-lg-eyebrow { display: inline-block; font-size: 12.5px; color: #EFE0C2; letter-spacing: .4px; }
.wf-lg-lf h2 { font-size: 30px; font-weight: 600; line-height: 1.5; margin: 14px 0; color: #fff; }
.wf-lg-lf > p { font-size: 13.5px; color: #B9C9E4; line-height: 2; margin: 0; }
.wf-lg-pts { margin-top: 30px; display: flex; flex-direction: column; gap: 17px; }
.wf-lg-pt { display: flex; gap: 12px; align-items: flex-start; }
.wf-lg-pt i { width: 26px; height: 26px; flex: 0 0 26px; border-radius: 8px; background: rgba(255, 255, 255, .13);
  color: #EFE0C2; display: flex; align-items: center; justify-content: center; font-style: normal; font-size: 12.5px; }
.wf-lg-pt b { display: block; font-size: 13.5px; margin-bottom: 3px; color: #fff; }
.wf-lg-pt span { font-size: 12.5px; color: #9FB3D1; line-height: 1.75; }
.wf-lg-kpis { display: flex; gap: 34px; margin-top: 34px; padding-top: 22px; border-top: 1px solid rgba(255, 255, 255, .12); }
.wf-lg-kpis b { display: block; font-size: 19px; color: #fff; }
.wf-lg-kpis span { font-size: 12px; color: #8FA4C6; }
.wf-lg-rt { background: #fff; border-radius: var(--wf-r-l); padding: 30px 32px 26px; color: var(--wf-ink1);
  box-shadow: 0 18px 50px rgba(3, 16, 38, .35); }
.wf-lg-rt h3 { font-size: 19px; font-weight: 600; color: var(--wf-brand-800); margin: 0 0 6px; }
.wf-lg-rt .sub { font-size: 12.5px; color: var(--wf-ink3); line-height: 1.75; }
.wf-lg-only { display: flex; gap: 9px; margin: 15px 0 0; padding: 11px 13px; background: var(--wf-brand-50);
  border: 1px solid #DCE7F6; border-radius: var(--wf-r-s); font-size: 12.5px; color: var(--wf-brand-700); line-height: 1.75; }
.wf-lg-only b { color: var(--wf-brand-800); }
.wf-lg-tabs { display: flex; gap: 24px; border-bottom: 1px solid var(--wf-line); margin: 20px 0 18px; }
.wf-lg-tabs a { padding-bottom: 10px; font-size: 14px; color: var(--wf-ink2); border-bottom: 2px solid transparent; text-decoration: none; }
.wf-lg-tabs a.on { color: var(--wf-brand-700); font-weight: 600; border-bottom-color: var(--wf-brand-700); }

/* 20.4 表单控件（登录页与入驻页共用；全部带容器前缀，不复用裸 .inp / .field / .hint） */
.wf-lg-field { display: block; margin-bottom: 15px; }
.wf-lg-field > span { display: block; font-size: 13px; color: var(--wf-ink2); margin-bottom: 7px; }
.wf-lg-inp { width: 100%; height: 46px; border: 1px solid var(--wf-line); border-radius: var(--wf-r-s); padding: 0 14px;
  font-size: 14.5px; font-family: inherit; color: var(--wf-ink1); background: #fff; box-sizing: border-box; }
.wf-lg-inp:focus { outline: none; border-color: var(--wf-brand-500); box-shadow: 0 0 0 3px var(--wf-brand-50); }
.wf-lg-inp::placeholder { color: var(--wf-ink3); }
.wf-lg-inp[readonly] { background: #F7F9FC; color: var(--wf-ink2); }
.wf-lg-inp.mono { font-family: Consolas, Monaco, monospace; }
.wf-lg-inp.cen { width: 118px; text-align: center; }
.wf-lg-inpwrap { display: flex; gap: 10px; align-items: center; }
.wf-lg-inpwrap .wf-lg-inp { flex: 1 1 auto; min-width: 0; }
.wf-lg-inpwrap .wf-btn { height: 46px; padding: 0 16px; white-space: nowrap; font-size: 13.5px; flex: 0 0 auto; }
.wf-lg-inline { display: flex; gap: 9px; flex-wrap: wrap; align-items: center; }
.wf-lg-inline .unit { color: var(--wf-ink3); font-size: 13px; }
.wf-lg-textarea { height: 104px; padding: 12px 14px; line-height: 1.8; resize: vertical; }
.wf-lg-hint { font-size: 12px; color: var(--wf-ink3); line-height: 1.7; margin-top: 6px; }
.wf-lg-hint em { font-style: normal; }
.wf-lg-agree { display: flex; gap: 8px; align-items: flex-start; font-size: 12.5px; color: var(--wf-ink3); line-height: 1.7; margin: 6px 0 16px; }
.wf-lg-agree input { margin-top: 3px; flex: 0 0 auto; }
.wf-lg-agree a { color: var(--wf-brand-600); text-decoration: none; }

/* 20.5 登录页：第三方 / 入驻引导 / 底部互跳 */
.wf-lg-third { margin-top: 22px; padding-top: 18px; border-top: 1px solid var(--wf-line); text-align: center; }
.wf-lg-third .tt { font-size: 12.5px; color: var(--wf-ink3); margin-bottom: 13px; }
.wf-lg-wx { width: 100%; height: 42px; border: 1px solid var(--wf-line); border-radius: var(--wf-r-s); background: #fff;
  color: var(--wf-ink2); font-size: 13.5px; font-family: inherit; cursor: pointer; }
.wf-lg-wx:hover { border-color: var(--wf-ok); color: var(--wf-ok); }
.wf-lg-guest { margin-top: 18px; background: var(--wf-bg); border: 1px solid var(--wf-line); border-radius: var(--wf-r-s);
  padding: 14px 15px; font-size: 12.5px; color: var(--wf-ink2); line-height: 1.85; }
.wf-lg-guest b { color: var(--wf-brand-800); }
.wf-lg-guest .bt { margin-top: 10px; }
.wf-lg-alt { text-align: center; font-size: 12.5px; color: var(--wf-ink3); margin-top: 16px; }
.wf-lg-alt a { color: var(--wf-brand-600); text-decoration: none; }

/* 20.6 入驻页：向导骨架 */
.wf-lg-intro { font-size: 13.5px; color: var(--wf-ink2); line-height: 1.9; margin-bottom: 18px; }
.wf-lg-intro b { color: var(--wf-brand-800); }
.wf-lg-intro code, .wf-lg-nb code, .wf-lg-tbl code { font-family: Consolas, Monaco, monospace; background: var(--wf-brand-50);
  color: var(--wf-brand-700); padding: 1px 5px; border-radius: 4px; }
.wf-lg-card { background: #fff; border: 1px solid var(--wf-line); border-radius: var(--wf-r-m); box-shadow: var(--wf-sh1);
  padding: 24px 26px; margin-bottom: 18px; }
.wf-lg-card > h3 { font-size: 16px; font-weight: 600; color: var(--wf-brand-800); margin: 0 0 6px; }
.wf-lg-card > .sd { font-size: 12.5px; color: var(--wf-ink3); margin-bottom: 16px; line-height: 1.75; }
.wf-lg-card > .sd em { font-style: normal; color: var(--wf-cta); }
.wf-lg-grid { display: grid; grid-template-columns: minmax(0, 1fr) 320px; gap: 20px; align-items: start; }
.wf-lg-grid > div { min-width: 0; }
.wf-lg-warn { background: #FFF7F4; border: 1px solid #F6D9CE; border-left: 4px solid var(--wf-danger);
  border-radius: var(--wf-r-m); padding: 13px 16px; font-size: 12.5px; color: #A8412A; line-height: 1.85; margin-bottom: 18px; }
.wf-lg-warn.orange { background: #FFFBF3; border-color: #EBDCBE; border-left-color: var(--wf-gold); color: #8A6420; }
.wf-lg-warn .gray { color: var(--wf-ink3); }

/* 步骤面板：默认全部铺开（无 JS 也能用完整表单），JS 加上 .wf-lg-wizard 后只留当前步 */
.wf-lg-step-panel { display: block; }
.wf-lg-wizard .wf-lg-step-panel { display: none; }
.wf-lg-wizard .wf-lg-step-panel.on { display: block; }
.wf-lg-step-panel > h3 { font-size: 16px; font-weight: 600; color: var(--wf-brand-800); margin: 0 0 6px; }
.wf-lg-step-panel > .sd { font-size: 12.5px; color: var(--wf-ink3); line-height: 1.75; margin-bottom: 14px; }
.wf-lg-steps { display: flex; align-items: center; gap: 10px; margin-bottom: 22px; flex-wrap: wrap; }
.wf-lg-steps .st { display: flex; align-items: center; gap: 8px; font-size: 13px; color: var(--wf-ink3); }
.wf-lg-steps .st i { width: 24px; height: 24px; flex: 0 0 24px; border-radius: 50%; border: 1px solid var(--wf-line);
  background: #fff; display: flex; align-items: center; justify-content: center; font-style: normal; font-size: 12.5px; color: var(--wf-ink3); }
.wf-lg-steps .st.on { color: var(--wf-brand-800); font-weight: 600; }
.wf-lg-steps .st.on i { background: var(--wf-brand-700); border-color: var(--wf-brand-700); color: #fff; }
.wf-lg-steps .st.done { color: var(--wf-ink2); }
.wf-lg-steps .st.done i { background: var(--wf-ok); border-color: var(--wf-ok); color: #fff; }
.wf-lg-steps .ln { flex: 1 1 30px; min-width: 24px; height: 1px; background: var(--wf-line); }
.wf-lg-steps .ln.done { background: var(--wf-ok); }

/* 20.7 入驻页：表单行（左标签 + 右控件；办公地址/执业时间等在行内再分栏） */
.wf-lg-frow { display: grid; grid-template-columns: 116px minmax(0, 1fr); gap: 16px; padding: 14px 0;
  border-bottom: 1px dashed var(--wf-line); align-items: start; }
.wf-lg-frow:last-of-type { border-bottom: 0; }
.wf-lg-frow > label { font-size: 13px; color: var(--wf-ink2); padding-top: 12px; line-height: 1.6; }
.wf-lg-frow > label em { font-style: normal; color: var(--wf-cta); margin-right: 3px; }
.wf-lg-fld { min-width: 0; }
.wf-lg-acts { display: flex; align-items: center; gap: 10px; margin-top: 18px; padding-top: 16px;
  border-top: 1px solid var(--wf-line); flex-wrap: wrap; }
.wf-lg-acts .right { margin-left: auto; }
.wf-lg-acts .wf-btn { height: 42px; padding: 0 20px; }
.wf-lg-done { background: #F5FBF8; border: 1px solid #CFE9DC; border-radius: var(--wf-r-s); padding: 12px 15px;
  font-size: 13px; color: #1F7A57; display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.wf-lg-done a { margin-left: auto; color: var(--wf-brand-600); text-decoration: none; font-size: 12.5px; }
.wf-lg-tag-ok { flex: 0 0 auto; font-size: 12px; color: var(--wf-ok); background: #F5FBF8; border: 1px solid #CFE9DC;
  border-radius: var(--wf-r-pill); padding: 4px 11px; white-space: nowrap; }
.wf-lg-tipbox { margin-top: 16px; background: var(--wf-brand-50); border-left: 3px solid var(--wf-brand-500);
  border-radius: var(--wf-r-s); padding: 11px 14px; font-size: 12.5px; color: var(--wf-brand-700); line-height: 1.8; }

/* 20.8 擅长领域 chips（选中态由 :has(input:checked) 负责，无 JS 也能勾选） */
.wf-lg-chips { display: flex; flex-direction: column; gap: 10px; }
.wf-lg-chipgroup { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }
.wf-lg-chipgroup > .t { flex: 0 0 100%; font-size: 12px; color: var(--wf-ink3); }
.wf-lg-chip { position: relative; display: inline-flex; align-items: center; padding: 6px 13px; border: 1px solid var(--wf-line);
  border-radius: var(--wf-r-pill); font-size: 13px; color: var(--wf-ink2); background: #fff; cursor: pointer; user-select: none; }
.wf-lg-chip input { position: absolute; width: 1px; height: 1px; margin: 0; opacity: 0; pointer-events: none; }
.wf-lg-chip:hover { border-color: var(--wf-brand-500); color: var(--wf-brand-700); }
.wf-lg-chip:has(input:checked) { background: var(--wf-brand-50); border-color: var(--wf-brand-500);
  color: var(--wf-brand-700); font-weight: 500; }

/* 20.9 入驻页：资质上传 */
.wf-lg-upgrid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
.wf-lg-upcell { min-width: 0; }
.wf-lg-upload { border: 2px dashed #C7D4E8; border-radius: var(--wf-r-m); padding: 22px 16px; text-align: center;
  background: #FAFCFF; cursor: pointer; transition: .15s; }
.wf-lg-upload:hover { border-color: var(--wf-brand-500); background: #F4F8FD; }
.wf-lg-upload.has-file { border-style: solid; border-color: var(--wf-ok); background: #F5FBF8; }
.wf-lg-upload.busy { opacity: .6; pointer-events: none; }
.wf-lg-upload i { display: block; font-size: 24px; font-style: normal; line-height: 1; color: var(--wf-brand-500); margin-bottom: 8px; }
.wf-lg-upload b { display: block; font-size: 14px; color: var(--wf-brand-800); margin-bottom: 5px; }
.wf-lg-upload span.tip { font-size: 12px; color: var(--wf-ink3); }
.wf-lg-upload.has-file span.tip { color: var(--wf-ok); }
.wf-lg-files { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 10px; }
.wf-lg-file { position: relative; width: 62px; height: 62px; display: block; border-radius: var(--wf-r-s);
  overflow: hidden; border: 1px solid var(--wf-line); background: #fff; }
.wf-lg-file img { width: 100%; height: 100%; object-fit: cover; display: block; }
.wf-lg-file .x { position: absolute; right: 0; top: 0; width: 18px; height: 18px; line-height: 17px; text-align: center;
  background: rgba(11, 34, 73, .72); color: #fff; font-size: 13px; text-decoration: none; border-bottom-left-radius: 6px; }
.wf-lg-file .x:hover { background: var(--wf-danger); }
.wf-lg-upcell .cap { display: flex; justify-content: space-between; gap: 8px; font-size: 12.5px; color: var(--wf-ink2); margin-bottom: 8px; }
.wf-lg-upcell .cap em.miss { font-style: normal; color: var(--wf-danger); }

/* 20.10 入驻页：提交前核对表 */
.wf-lg-sum { border: 1px solid var(--wf-line); border-radius: var(--wf-r-m); overflow: hidden; }
.wf-lg-sum .kv { display: flex; gap: 12px; padding: 9px 14px; border-bottom: 1px solid var(--wf-line); font-size: 13px; }
.wf-lg-sum .kv:last-child { border-bottom: 0; }
.wf-lg-sum .kv span { width: 96px; flex: 0 0 96px; color: var(--wf-ink3); font-size: 12.5px; }
.wf-lg-sum .kv b { flex: 1 1 auto; min-width: 0; color: var(--wf-ink1); font-weight: 500; overflow-wrap: anywhere; }

/* 20.11 入驻页：右栏说明卡 */
.wf-lg-nb { background: #fff; border: 1px solid var(--wf-line); border-radius: var(--wf-r-m); padding: 18px 20px; margin-bottom: 14px; }
.wf-lg-nb.gold { background: #FFFBF3; border-color: #EBDCBE; }
.wf-lg-nb h4 { font-size: 14px; font-weight: 600; color: var(--wf-brand-800); margin: 0 0 10px; }
.wf-lg-nb ul { margin: 0; padding-left: 17px; }
.wf-lg-nb li { font-size: 12.5px; color: var(--wf-ink2); line-height: 1.95; }
.wf-lg-nb p { font-size: 12px; color: var(--wf-ink3); line-height: 1.85; margin: 9px 0 0; }
.wf-lg-nb .metric { display: flex; justify-content: space-between; gap: 10px; font-size: 12.5px; padding: 6px 0;
  border-bottom: 1px dashed var(--wf-line); }
.wf-lg-nb .metric:last-of-type { border-bottom: 0; }
.wf-lg-nb .metric span { color: var(--wf-ink3); }
.wf-lg-nb .metric b { color: var(--wf-brand-800); font-weight: 600; }

/* 20.12 审核状态：三态卡 + 规则表 */
.wf-lg-st3 { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; margin-bottom: 18px; }
.wf-lg-st3 .c { background: #fff; border: 1px solid var(--wf-line); border-left: 4px solid var(--wf-line);
  border-radius: var(--wf-r-m); padding: 20px 22px; box-shadow: var(--wf-sh1); }
.wf-lg-st3 .c.draft { border-left-color: var(--wf-brand-500); }
.wf-lg-st3 .c.wait { border-left-color: var(--wf-gold); }
.wf-lg-st3 .c.pass { border-left-color: var(--wf-ok); }
.wf-lg-st3 .c.fail { border-left-color: var(--wf-danger); }
.wf-lg-st3 .c.dim { opacity: .5; }
.wf-lg-st3 .c .bk { display: flex; align-items: center; gap: 9px; margin-bottom: 10px; }
.wf-lg-st3 .c .bk i { width: 28px; height: 28px; flex: 0 0 28px; border-radius: 50%; background: var(--wf-brand-600);
  color: #fff; display: flex; align-items: center; justify-content: center; font-style: normal; font-size: 14px; }
.wf-lg-st3 .c.wait .bk i { background: var(--wf-gold); }
.wf-lg-st3 .c.pass .bk i { background: var(--wf-ok); }
.wf-lg-st3 .c.fail .bk i { background: var(--wf-danger); }
.wf-lg-st3 .c .bk b { font-size: 16px; color: var(--wf-brand-800); }
.wf-lg-st3 .c p { font-size: 13px; color: var(--wf-ink2); line-height: 1.9; margin: 0 0 10px; }
.wf-lg-st3 .c .kv { font-size: 12.5px; color: var(--wf-ink3); line-height: 2; }
.wf-lg-st3 .c .acts { display: flex; gap: 9px; margin-top: 13px; flex-wrap: wrap; }
.wf-lg-st3 .c .tipbox { margin-top: 12px; background: #FFF7F4; border: 1px solid #F6D9CE; border-radius: var(--wf-r-s);
  padding: 9px 12px; font-size: 12px; color: #A8412A; line-height: 1.75; }
.wf-lg-tbl { width: 100%; border-collapse: collapse; }
.wf-lg-tbl th, .wf-lg-tbl td { text-align: left; font-size: 12.5px; padding: 9px 10px;
  border-bottom: 1px solid var(--wf-line); vertical-align: top; }
.wf-lg-tbl th { background: var(--wf-bg); color: var(--wf-ink2); font-weight: 600; }
.wf-lg-tbl td { color: var(--wf-ink2); line-height: 1.8; }

/* 20.13 窄屏兜底（登录页 / 入驻页都可能被手机打开） */
@media (max-width: 1279px) {
  .wf-lg-authbox { grid-template-columns: minmax(0, 1fr); gap: 26px; padding-top: 26px; }
  .wf-lg-grid { grid-template-columns: minmax(0, 1fr); }
  .wf-lg-upgrid, .wf-lg-st3 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .wf-lg-frow { grid-template-columns: minmax(0, 1fr); gap: 6px; }
  .wf-lg-frow > label { padding-top: 0; }
}
@media (max-width: 900px) {
  .wf-lg-upgrid, .wf-lg-st3 { grid-template-columns: minmax(0, 1fr); }
  .wf-lg-lf h2 { font-size: 23px; }
  .wf-lg-rt { padding: 24px 20px; }
  .wf-lg-kpis { gap: 20px; flex-wrap: wrap; }
  .wf-lg-acts .right { margin-left: 0; }
}

/* ============================================================================
 * 21. VIP 闭环补充（wf-lv- 前缀，第 4 步）——表单细节与文件上传位
 *    复用 17 节的 wf-lv-hero/pack/matrix/tpl/addr 与 wf-lc-panel/fld/input，
 *    这里只补视图实际用到但前两节没有的少量类，零元素选择器。
 * ========================================================================== */
.wf-lc-note { margin: 4px 0 0; font-size: 12px; color: var(--wf-ink3); line-height: 1.7; }
.wf-lc-main .mono { font-family: Consolas, Monaco, monospace; }
.wf-lv-inl { display: inline-block; width: 200px; }
.wf-lv-file { display: inline-flex; align-items: center; gap: 10px; min-height: 36px; }
.wf-lv-file img { display: block; border: 1px solid var(--wf-line); border-radius: 4px; background: #fff; }
.wf-lv-file-empty { font-size: 12.5px; color: var(--wf-ink3); }
@media (max-width: 1279px) {
  .wf-lv-inl { width: 150px; }
}

/* ============================================================================
 * 22. 消息中心（wf-lc-msg-*，原型 24 卷页面 10 / 10 · 路由 lawyer-center/message.html）
 *    复用第 9/10/14/15/16 节的 wf-lc-seg / wf-lc-panel / wf-lc-nb / wf-lc-empty /
 *    wf-lc-tag / wf-lc-pager，这里只补「图标 + 标题行 + 摘要 + 元信息 + 未读圆点」行卡。
 *    与会员端消息中心（views/user/message.php + wf-msgi）分开的原因：那边是公众端
 *    浅壳版式，律师端走深蓝侧栏工作台，二者不共用类名以免互相牵动。
 *    零元素选择器，全部挂在 wf-lc-msg 容器下。
 * ========================================================================== */
.wf-lc-msg { position: relative; display: flex; gap: 13px; padding: 15px 2px; border-bottom: 1px solid var(--wf-line); }
.wf-lc-msg:last-of-type { border-bottom: 0; }
.wf-lc-msg .ic { width: 36px; height: 36px; border-radius: 10px; flex: 0 0 36px; display: flex; align-items: center; justify-content: center; font-size: 16px; background: var(--wf-brand-50); color: var(--wf-brand-600); }
.wf-lc-msg .ic.cta { background: #FDEDE7; color: var(--wf-cta); }
.wf-lc-msg .ic.gold { background: var(--wf-gold-bg); color: #8A6520; }
.wf-lc-msg .ic.ok { background: #E7F6EC; color: #1F7A3D; }
.wf-lc-msg .ic.sys { background: var(--wf-bg); color: var(--wf-ink2); }
.wf-lc-msg .bd { flex: 1; min-width: 0; }
.wf-lc-msg .tt { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; margin-bottom: 5px; }
.wf-lc-msg .tt b { font-size: 14px; font-weight: 600; color: var(--wf-ink1); line-height: 1.6; overflow-wrap: anywhere; }
.wf-lc-msg .bd > p { margin: 0 0 7px; font-size: 13px; color: var(--wf-ink2); line-height: 1.75; overflow-wrap: anywhere; }
.wf-lc-msg .m { display: flex; align-items: center; gap: 12px; font-size: 12.5px; color: var(--wf-ink3); flex-wrap: wrap; }
.wf-lc-msg .m .r { margin-left: auto; display: flex; gap: 8px; flex-wrap: wrap; }
.wf-lc-msg .dot { position: absolute; right: 0; top: 21px; width: 8px; height: 8px; border-radius: 50%; background: var(--wf-cta); }
.wf-lc-msg-done { color: var(--wf-ink3); }
/* 未读：左侧品牌色细条 + 标题加深（不靠背景大色块，避免与 VIP 金色卡抢注意力） */
.wf-lc-msg.unread { border-left: 3px solid var(--wf-brand-500); padding-left: 12px; }
.wf-lc-msg.unread .tt b { color: var(--wf-brand-800); }
@media (max-width: 1279px) {
  .wf-lc-msg .m .r { margin-left: 0; }
}

/* ============================================================================
 * 23. 修改密码（wf-lc-pwd-*，2026-09-24 新增 · 账号安全 · 路由 lawyer-center/change-pwd.html）
 *    复用第 5 节的 wf-lc-panel / wf-lc-fld / wf-lc-input、第 15 节 wf-lc-nb、第 16 节 wf-lc-bar，
 *    这里只补「强度计 + 规则勾选 + 必填星号 + 按钮行」。
 *    零元素选择器（老 style.css / other.css 的元素选择器会污染新视图，见文件头说明）；
 *    色板不占用 --wf-cta（橙留给提问/咨询类 CTA），弱/中/强分别用红 / 品牌金 / 成功绿。
 * ========================================================================== */
.wf-lc-req { margin-left: 2px; color: #D64545; font-style: normal; }
.wf-lc-pwd-meter { display: flex; align-items: center; gap: 6px; margin: 10px 0 0; }
.wf-lc-pwd-seg { display: inline-block; width: 54px; height: 6px; border-radius: 3px; background: #E3E8F0; transition: background .18s; }
.wf-lc-pwd-meter.lv1 .wf-lc-pwd-seg:nth-child(1) { background: #D64545; }
.wf-lc-pwd-meter.lv2 .wf-lc-pwd-seg:nth-child(-n+2) { background: var(--wf-gold); }
.wf-lc-pwd-meter.lv3 .wf-lc-pwd-seg { background: var(--wf-ok); }
.wf-lc-pwd-text { margin-left: 6px; font-size: 12.5px; font-style: normal; color: var(--wf-ink3); }
.wf-lc-pwd-rules { display: flex; flex-wrap: wrap; gap: 4px 16px; margin: 9px 0 0; padding: 0; list-style: none; }
.wf-lc-pwd-rule { font-size: 12.5px; color: var(--wf-ink3); }
.wf-lc-pwd-rule::before { content: "○ "; }
.wf-lc-pwd-rule.on { color: var(--wf-ok); }
.wf-lc-pwd-rule.on::before { content: "✓ "; }
.wf-lc-pwd-act { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; margin-top: 6px; }
.wf-lc-pwd-tip { font-size: 12.5px; color: var(--wf-ink3); }
.wf-lc-pwd-match.ok { color: var(--wf-ok); }
.wf-lc-pwd-match.bad { color: #D64545; }

/* ============================================================================
 * 24. 收益与提现（wf-lc-inc-*，2026-10-29 新增 · 路由 lawyer-center/income.html）
 *     原型 24 卷页面 8。复用第 5 节 wf-lc-panel / 第 6 节 wf-lc-kpi / 第 10 节 wf-lc-tbl /
 *     第 15 节 wf-lc-nb / 第 16 节 wf-lc-bar；这里只补「余额卡 + 提现表单 + 构成条」。
 *     零元素选择器（老 other.css / style.css 的元素选择器会污染新视图）。
 * ========================================================================== */
.wf-lc-inc-top { display: grid; grid-template-columns: 300px minmax(0, 1fr); gap: 16px; align-items: start; margin-bottom: 16px; }

/* 余额卡：深蓝渐变，数字用等宽字体，避免千分位对不齐 */
.wf-lc-inc-bal { padding: 20px 22px; border-radius: var(--wf-r-m); color: #fff;
  background: linear-gradient(135deg, #1B4079 0%, #12315F 100%); box-shadow: var(--wf-sh1); }
.wf-lc-inc-bal .lb { font-size: 12.5px; color: #B7C8E0; margin-bottom: 8px; }
.wf-lc-inc-bal .num { font-family: Consolas, Monaco, monospace; font-size: 30px; font-weight: 700; line-height: 1.2; letter-spacing: -.4px; }
.wf-lc-inc-bal .num em { font-size: 13px; font-style: normal; font-weight: 400; color: #C9D6E8; margin-left: 6px; }
.wf-lc-inc-bal .tiny { margin-top: 12px; font-size: 12px; color: #A9BCD6; line-height: 1.9; }

/* 提现表单 */
.wf-lc-inc-form { background: #fff; border: 1px solid var(--wf-line); border-radius: var(--wf-r-m);
  box-shadow: var(--wf-sh1); padding: 18px 20px; }
.wf-lc-inc-form > h4 { margin: 0 0 14px; font-size: 15px; color: var(--wf-brand-800); }
.wf-lc-inc-pays { display: flex; gap: 10px; margin-bottom: 14px; }
.wf-lc-inc-pays .p { flex: 1; min-width: 0; position: relative; display: block; cursor: pointer;
  padding: 10px 12px; border: 1px solid var(--wf-line); border-radius: var(--wf-r-s); background: #fff; transition: border-color .15s, background .15s; }
.wf-lc-inc-pays .p:hover { border-color: var(--wf-brand-500); }
.wf-lc-inc-pays .p.on { border-color: var(--wf-brand-700); background: var(--wf-brand-50); box-shadow: inset 0 0 0 1px var(--wf-brand-700); }
.wf-lc-inc-pays .p b { display: block; font-size: 13.5px; color: var(--wf-ink1); }
.wf-lc-inc-pays .p span { display: block; margin-top: 3px; font-size: 12px; color: var(--wf-ink3); }
.wf-lc-inc-pays .p input { position: absolute; opacity: 0; width: 0; height: 0; }

.wf-lc-inc-fld { margin-bottom: 12px; }
.wf-lc-inc-fld > label { display: block; margin-bottom: 6px; font-size: 13px; color: var(--wf-ink2); }
.wf-lc-inc-fld .req { margin-left: 2px; color: #D64545; font-style: normal; }
.wf-lc-inc-fld .amt { display: flex; gap: 8px; align-items: center; }
.wf-lc-inc-fld .amt .wf-lc-input { flex: 1; min-width: 0; font-family: Consolas, Monaco, monospace; font-size: 15px; }
.wf-lc-inc-fld .calc { margin-top: 7px; font-size: 12px; color: var(--wf-ink3); line-height: 1.8; }
.wf-lc-inc-fld .calc b { color: var(--wf-ink1); }
.wf-lc-inc-form .tip { margin: 10px 0 0; font-size: 12px; color: var(--wf-ink3); line-height: 1.8; text-align: center; }

/* 三栏说明 */
.wf-lc-inc-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; align-items: start; margin-top: 16px; }
.wf-lc-inc-share { display: grid; grid-template-columns: 62px minmax(0, 1fr) 58px; align-items: center; gap: 8px;
  margin-top: 10px; font-size: 12.5px; color: var(--wf-ink2); }
.wf-lc-inc-share .bar { display: block; height: 8px; border-radius: var(--wf-r-pill); background: #EEF2F8; overflow: hidden; }
.wf-lc-inc-share .bar i { display: block; height: 100%; border-radius: var(--wf-r-pill); background: var(--wf-gold); }
.wf-lc-inc-share .bar i.b { background: var(--wf-brand-500); }
.wf-lc-inc-share .num { text-align: right; font-family: Consolas, Monaco, monospace; color: var(--wf-brand-800); }

@media (max-width: 1279px) {
  .wf-lc-inc-top { grid-template-columns: 1fr; }
  .wf-lc-inc-grid { grid-template-columns: 1fr; }
}

/* ============================================================================
 * 25. 认证与资质（wf-lc-cert-*，2026-10-29 新增 · 路由 lawyer-center/certify.html）
 *     原型 24 卷页面 9。复用 wf-lc-panel / wf-lc-tl / wf-lc-kv / wf-lc-tag；
 *     这里只补「左表单 + 右说明」两栏、执业信息行、证件网格、合作期行。
 * ========================================================================== */
.wf-lc-cert-grid { display: grid; grid-template-columns: minmax(0, 1fr) 320px; gap: 16px; align-items: start; }

.wf-lc-cert-frm { margin-top: 8px; }
.wf-lc-cert-row { display: grid; grid-template-columns: 92px minmax(0, 1fr); gap: 12px; padding: 9px 0; }
.wf-lc-cert-row > label { padding-top: 10px; text-align: right; font-size: 13px; color: var(--wf-ink2); }
.wf-lc-cert-row .req { margin-left: 2px; color: #D64545; font-style: normal; }
.wf-lc-cert-row .hint { margin-top: 5px; font-size: 12px; color: var(--wf-ink3); line-height: 1.75; }
.wf-lc-cert-row .mono { font-family: Consolas, Monaco, monospace; letter-spacing: .2px; }
.wf-lc-cert-frm textarea.wf-lc-input { min-height: 96px; resize: vertical; line-height: 1.8; }
.wf-lc-cert-row .wf-lc-input[readonly] { background: #F7F9FC; color: var(--wf-ink2); cursor: default; }

.wf-lc-cert-chips { display: flex; flex-wrap: wrap; gap: 8px; }
.wf-lc-cert-chips span { display: inline-block; padding: 4px 11px; border-radius: var(--wf-r-pill);
  background: var(--wf-brand-50); color: var(--wf-brand-700); font-size: 12.5px; }
.wf-lc-cert-chips span.gray { background: var(--wf-bg); color: var(--wf-ink3); }

.wf-lc-cert-acts { display: flex; align-items: center; gap: 12px; flex-wrap: wrap;
  margin-top: 14px; padding-top: 14px; border-top: 1px dashed var(--wf-line); }
.wf-lc-cert-acts .tip { font-size: 12px; color: var(--wf-ink3); }

.wf-lc-cert-docs { display: grid; grid-template-columns: repeat(auto-fill, minmax(148px, 1fr)); gap: 12px; margin-top: 10px; }
.wf-lc-cert-docs .d { display: block; overflow: hidden; background: #fff;
  border: 1px solid var(--wf-line); border-radius: var(--wf-r-s); }
.wf-lc-cert-docs .d img { display: block; width: 100%; height: 96px; object-fit: cover; background: var(--wf-bg); }
.wf-lc-cert-docs .d .nm { display: flex; align-items: center; justify-content: space-between; gap: 6px;
  padding: 7px 9px; font-size: 12.5px; color: var(--wf-ink2); }
.wf-lc-cert-docs .d.empty { border-style: dashed; }
.wf-lc-cert-docs .d.empty .ph { display: flex; align-items: center; justify-content: center;
  height: 96px; background: var(--wf-bg); color: var(--wf-ink3); font-size: 12.5px; }
.wf-lc-cert-docs .d.empty .nm { color: var(--wf-ink3); }

.wf-lc-cert-coop { display: flex; flex-wrap: wrap; gap: 28px; align-items: center; margin-top: 10px;
  font-size: 13px; color: var(--wf-ink2); }
.wf-lc-cert-coop > div > span { display: block; margin-bottom: 3px; font-size: 12px; color: var(--wf-ink3); }
.wf-lc-cert-coop > div > b { font-weight: 600; color: var(--wf-ink1); }
.wf-lc-cert-coop > div > b.warn { color: var(--wf-cta); }
.wf-lc-cert-coop > .wf-btn { margin-left: auto; }

@media (max-width: 1279px) {
  .wf-lc-cert-grid { grid-template-columns: 1fr; }
  .wf-lc-cert-row { grid-template-columns: 1fr; gap: 5px; }
  .wf-lc-cert-row > label { padding-top: 0; text-align: left; }
}
