
:root{
  --primary:#1B4B8F; --primary-dark:#12356B; --primary-light:#EEF4FC;
  --ink:#1f2937; --muted:#6b7280; --line:#e5e7eb; --bg:#f9fafb;
  --ok:#15803d; --ok-bg:#f0fdf4; --warn:#b45309; --warn-bg:#fffbeb;
  --law:#1d4ed8; --law-bg:#eff6ff; --case:#12356B; --case-bg:#EEF4FC;
}
/* 管理后台 · 远程配置中心 */
.cfg-group{font-size:14px;font-weight:700;margin:18px 0 8px;padding-bottom:6px;border-bottom:2px solid var(--line);color:var(--primary)}
.cfg-row{display:block;font-size:14px;margin:8px 0;cursor:pointer}
.cfg-label{display:block;font-size:13px;color:var(--muted);margin:10px 0 4px}
.cfg-input{width:100%;max-width:520px;padding:8px 10px;border:1px solid var(--line);border-radius:8px;font-size:14px;box-sizing:border-box}
textarea.cfg-input{font-family:inherit;line-height:1.6;resize:vertical}
.cfg-help{font-size:12px;color:#9ca3af;margin:2px 0 0}
*{margin:0;padding:0;box-sizing:border-box}
body{font-family:-apple-system,BlinkMacSystemFont,"Segoe UI","PingFang SC","Hiragino Sans GB","Microsoft YaHei",sans-serif;color:var(--ink);background:var(--bg);line-height:1.75}
a{color:var(--primary);text-decoration:none}
a:hover{text-decoration:underline}
.wrap{max-width:1080px;margin:0 auto;padding:0 16px}
/* header：站名居中，无导航 */
.site-header{background:#fff;border-bottom:3px solid var(--primary);position:sticky;top:0;z-index:50}
.site-header .wrap{display:block;text-align:center;height:auto;padding:14px 16px 10px}
.logo{font-size:24px;font-weight:800;color:var(--primary);letter-spacing:2px;display:inline-block}
.logo:hover{text-decoration:none}
.logo-sub{display:block;font-size:12.5px;color:var(--muted);font-weight:400;margin-top:2px;letter-spacing:1px}
/* 首页首屏：只放一个搜索框（★2026-10-05 去掉了红色 hero 与案由宫格） */
.home-top{padding:34px 0 6px;text-align:center}
.home-top h1{font-size:27px;line-height:1.5;margin-bottom:10px}
.home-sub{color:var(--muted);font-size:14.5px;max-width:660px;margin:0 auto;line-height:1.8}
.home-search{display:flex;gap:10px;max-width:640px;margin:24px auto 0;align-items:center;
  background:#fff;border:2px solid var(--primary);border-radius:999px;padding:7px 7px 7px 20px;
  box-shadow:0 6px 20px rgba(27,75,143,.10)}
.home-search .hs-ic{flex:none;width:30px;height:30px;border-radius:8px;background:#EEF4FC;color:var(--primary);
  font-size:15px;font-weight:700;display:flex;align-items:center;justify-content:center;cursor:pointer}
.home-search input{flex:1;min-width:0;border:none;outline:none;font-size:16px;padding:10px 4px;background:transparent}
  /* ★min-width:0：弹性子项默认 min-width:auto，
     输入框有约 20 字符的固有最小宽，360px 屏装不下「搜+输入框+查一下」⇒
     占位符文字顶到按钮底下、戳破胶囊边框。必须允许收缩到 0。 */
.home-search button{flex:none;background:var(--primary);color:#fff;border:none;border-radius:999px;
  padding:12px 26px;font-size:15.5px;font-weight:600;cursor:pointer}
.home-search button:hover{background:#143A73}
.ask-chips{margin:16px auto 0;max-width:720px;display:flex;flex-wrap:wrap;gap:8px;justify-content:center;align-items:center}
.ask-lead{color:var(--muted);font-size:13.5px}
.ask-chips a{background:#fff;border:1px solid var(--line);color:#374151;padding:5px 14px;
  border-radius:99px;font-size:13.5px}
.ask-chips a:hover{border-color:var(--primary);color:var(--primary);text-decoration:none}
/* list */
.grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(320px,1fr));gap:16px;margin:24px 0 40px}
.card{background:#fff;border:1px solid var(--line);border-radius:12px;padding:20px;transition:box-shadow .15s}
.card:hover{box-shadow:0 4px 16px rgba(0,0,0,.07)}
.card h2,.card h3{font-size:17px;line-height:1.5;margin-bottom:8px}
.card h2 a,.card h3 a{color:var(--ink)}
.card h2 a:hover,.card h3 a:hover{color:var(--primary)}
.card p{color:var(--muted);font-size:14px;display:-webkit-box;-webkit-line-clamp:3;-webkit-box-orient:vertical;overflow:hidden}
.card .meta{margin-top:12px;font-size:12.5px;color:var(--muted);display:flex;gap:10px;flex-wrap:wrap}
.card .meta .cat{color:var(--primary);background:var(--primary-light);padding:1px 8px;border-radius:99px}
/* article */
.article-wrap{background:#fff;border:1px solid var(--line);border-radius:12px;padding:32px;margin:24px auto;max-width:860px}
.article-wrap h1{font-size:26px;line-height:1.45;margin-bottom:12px}
.article-meta{color:var(--muted);font-size:13.5px;padding-bottom:16px;border-bottom:1px solid var(--line);margin-bottom:8px;display:flex;gap:14px;flex-wrap:wrap}
/* 最后更新徽标：法律内容时效性强，更新日是可核验的信任信号，用金黄区分「可引用标记」 */
.article-meta .upd{color:#8a5a00;background:#FFF7E0;border:1px solid #F5D98A;border-radius:999px;padding:1px 9px;font-weight:600}
.article-body{font-size:16.5px}
.article-body h2{font-size:20px;margin:30px 0 12px;padding-left:12px;border-left:4px solid var(--primary)}
.article-body h3{font-size:17px;margin:22px 0 8px}
.article-body h4{font-size:16px;margin:18px 0 6px}
.article-body p{margin:12px 0}
.article-body ul,.article-body ol{margin:12px 0 12px 24px}
.article-body li{margin:6px 0}
.article-body blockquote{border-left:4px solid var(--line);background:var(--bg);padding:10px 16px;border-radius:0 8px 8px 0;color:var(--muted);margin:14px 0}
/* ★图片自适应（2026-10-07）：正文图片不得超过正文栏宽度，避免撑破容器与上下文不协调 */
.article-body img{display:block;max-width:100%;height:auto;margin:16px auto;
  border:1px solid var(--line);border-radius:10px;background:#fff}
.article-body img+em,.article-body p>em:only-child{display:block;text-align:center;color:var(--muted);font-size:13px;margin:6px 0 18px}
/* ★正文信息图（2026-10-17）：流程/费用/对比类数据图，图下单行图注。
   版心 1200×800 缩到正文栏宽，去掉上下的段落间距，与正文呼吸感一致。 */
.article-body figure.art-fig{margin:22px 0 26px}
.article-body figure.art-fig img{margin:0 auto}
.article-body figure.art-fig figcaption{text-align:center;color:var(--muted);
  font-size:12.5px;line-height:1.7;margin-top:8px}
.inline-code{background:var(--bg);padding:1px 6px;border-radius:4px;font-size:.9em}
/* ★围栏代码块（2026-10-16 配 md.py 新增 fenced 分支）：块级、保留换行、可横向滚动、不撑破正文栏 */
.article-body pre{margin:16px 0;background:var(--bg);border:1px solid var(--line);
  border-radius:10px;padding:12px 14px;overflow-x:auto;line-height:1.7}
.article-body pre code{display:block;background:none;padding:0;border:0;
  font-size:14px;white-space:pre;color:var(--ink);font-family:inherit}
.table-wrap{overflow-x:auto;margin:16px 0}
table{border-collapse:collapse;width:100%;font-size:15px;background:#fff}
th{background:var(--primary-dark);color:#fff;padding:9px 12px;text-align:left;font-weight:600}
td{border:1px solid var(--line);padding:8px 12px}
tr:nth-child(even) td{background:#fafafa}
/* 组件卡 */
.comp{border-radius:12px;padding:18px 20px;margin:18px 0;border:1px solid}
.comp-tag{display:inline-block;font-size:12.5px;font-weight:700;padding:2px 10px;border-radius:99px;margin-bottom:10px;color:#fff}
.comp-summary{background:var(--ok-bg);border-color:#bbf7d0}
.comp-summary .comp-tag{background:var(--ok)}
.comp-body p{margin:6px 0}
.comp-steps{background:#fff;border-color:var(--line)}
.comp-steps .comp-tag{background:var(--primary)}
.steps-wrap{position:relative;padding-left:4px}
.step{display:flex;gap:14px;padding:10px 0;position:relative}
.step:not(:last-child)::before{content:"";position:absolute;left:15px;top:44px;bottom:-10px;width:2px;background:var(--line)}
.step-num{flex:0 0 32px;height:32px;border-radius:50%;background:var(--primary);color:#fff;display:flex;align-items:center;justify-content:center;font-weight:700;font-size:15px}
.step-body h4{margin:4px 0 4px;font-size:16.5px}
.step-body p{color:var(--muted);font-size:15px;margin:0}
.comp-checklist{background:#fff;border-color:var(--line)}
.comp-checklist .comp-tag{background:#0369a1}
.check-list{list-style:none;margin:0}
.check-list li{display:flex;gap:10px;padding:7px 0;border-bottom:1px dashed var(--line);align-items:baseline}
.check-list li:last-child{border-bottom:none}
.check-box{color:var(--ok);font-weight:800}
.comp-case{background:var(--case-bg);border-color:#ddd6fe}
.comp-tag-case{background:var(--case)}
.case-meta{font-size:13px;color:var(--muted);margin-bottom:8px}
.case-sec{margin:8px 0;font-size:15.5px}
.case-label{display:inline-block;background:var(--case);color:#fff;font-size:12.5px;padding:1px 8px;border-radius:6px;margin-right:8px}
.comp-law{background:var(--law-bg);border-color:#bfdbfe}
.comp-law .comp-tag{background:var(--law)}
.law-list{list-style:none}
.law-list li{padding:8px 0;border-bottom:1px dashed #bfdbfe;font-size:15.5px}
.law-list li:last-child{border-bottom:none}
.law-name{display:block;color:var(--law);font-weight:700}
.law-text{color:#334155}
.law-ref{color:inherit;text-decoration:none;border-bottom:1px solid rgba(29,78,216,.45)}
.law-ref:hover{background:#dbeafe;border-bottom-color:transparent}
.comp-warn{background:var(--warn-bg);border-color:#fde68a}
.comp-tag-warn{background:var(--warn)}
/* 新旧法差异对比卡（税务文章）：旧=红（废止口径）、新=绿（现行口径） */
.comp-diff{background:#f8fafc;border-color:#c7d2fe}
.comp-tag-diff{background:#4f46e5}
.diff-item{padding:10px 0;border-bottom:1px dashed #dbe3ef}
.diff-item:last-child{border-bottom:none;padding-bottom:2px}
.diff-item:first-of-type{padding-top:2px}
.diff-title{font-weight:700;font-size:15.5px;margin-bottom:5px;color:var(--ink)}
.diff-old,.diff-new{font-size:14.5px;line-height:1.75;margin:4px 0}
.diff-badge{display:inline-block;font-size:11.5px;font-weight:700;padding:1px 8px;border-radius:99px;margin-right:8px}
.diff-badge-old{background:#fee2e2;color:#b91c1c}
.diff-badge-new{background:#dcfce7;color:#15803d}
.diff-old{color:#7f1d1d}
.diff-new{color:#14532d}
.comp-faq{background:#fff;border:1px solid var(--line);border-radius:10px;padding:14px 18px;margin:10px 0}
.comp-faq summary{font-weight:600;cursor:pointer;font-size:16px}
.faq-a{margin-top:10px;color:#374151;font-size:15.5px}
/* ── 流程图（:::flow）：HTML＋flex，文字可换行、自适应宽度（2026-10-22 修复重叠缺陷） ── */
.comp-flow{list-style:none;display:flex;flex-wrap:wrap;gap:10px;margin:16px 0;padding:14px;background:#f8fbff;border:1px solid var(--line);border-radius:12px}
.comp-flow .flow-step{display:flex;align-items:flex-start;gap:8px;flex:1 1 190px;min-width:0;background:#eff6ff;border:1.5px solid #2563eb;border-radius:10px;padding:10px 12px;font-size:14px;line-height:1.55;color:#1e3a8a;font-weight:600}
.comp-flow .flow-num{flex:0 0 22px;width:22px;height:22px;border-radius:50%;background:#2563eb;color:#fff;font-size:12px;font-weight:600;display:flex;align-items:center;justify-content:center;margin-top:1px}
.comp-flow .flow-txt{flex:1 1 auto;min-width:0;overflow-wrap:anywhere;word-break:break-word}
@media(max-width:720px){
  .comp-flow{padding:12px;gap:8px}
  .comp-flow .flow-step{flex:1 1 100%;padding:9px 11px;font-size:14.5px}
}
/* 旧版 SVG 流程图样式（保留兜底：早期静态页仍可能带 .flow-svg） */
.flow-svg{width:100%;height:auto;margin:16px 0;background:#fff;border:1px solid var(--line);border-radius:12px;padding:8px}
/* 免责声明 */
.disclaimer{margin-top:28px;padding:14px 18px;background:var(--bg);border:1px dashed var(--line);border-radius:10px;color:var(--muted);font-size:13.5px}
/* 相关文章 */
.relate{margin:0 auto 40px;max-width:860px}
.relate h2{font-size:18px;margin:10px 0}
.relate a{display:block;background:#fff;border:1px solid var(--line);border-radius:10px;padding:12px 16px;margin-bottom:8px;color:var(--ink);font-size:15px}
.relate a:hover{border-color:var(--primary);text-decoration:none}
/* 跨栏目「相关专题」（2026-10-22 内链战略） */
.xcat{margin:8px auto 26px;max-width:860px}
.xcat h2{font-size:18px;margin:10px 0 4px}
.xcat-sub{margin:0 0 12px;color:var(--muted);font-size:13.5px}
.xcat-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(300px,1fr));gap:12px}
.xcat-card{background:#fff;border:1px solid var(--line);border-radius:12px;padding:14px 16px}
.xcat-h{display:flex;flex-wrap:wrap;align-items:baseline;gap:8px;margin-bottom:8px}
.xcat-h a{font-size:15.5px;font-weight:700;color:var(--primary)}
.xcat-h i{font-style:normal;font-size:12.5px;color:var(--muted);line-height:1.5}
.xcat-card ul{list-style:none;margin:0;padding:0}
.xcat-card li{padding:7px 0;border-top:1px dashed var(--line);font-size:14.5px;line-height:1.65}
.xcat-card li:first-child{border-top:0}
.xcat-card li a{color:var(--ink)}
.xcat-card li a:hover{color:var(--primary)}
/* 栏目页「相关栏目」入口卡 */
.catnav{margin:26px 0 8px}
.catnav h2{font-size:18px;margin:0 0 12px}
.catnav-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(240px,1fr));gap:12px}
.catnav-card{display:block;background:#fff;border:1px solid var(--line);border-radius:12px;padding:14px 16px;color:var(--ink)}
.catnav-card:hover{border-color:var(--primary);text-decoration:none}
.catnav-card b{display:block;font-size:15.5px;margin-bottom:4px;color:var(--primary)}
.catnav-card span{font-size:13px;color:var(--muted);line-height:1.6}
.catnav-card em{font-style:normal;display:inline-block;margin-top:8px;font-size:12.5px;color:var(--muted)}
/* category chips */
.chips{display:flex;flex-wrap:wrap;gap:8px;margin:16px 0}
.chips a{background:#fff;border:1px solid var(--line);padding:5px 14px;border-radius:99px;font-size:14px;color:var(--ink)}
.chips a.on,.chips a:hover{border-color:var(--primary);color:var(--primary);text-decoration:none}
/* 归档分页器 */
.pager{display:flex;flex-wrap:wrap;gap:6px;justify-content:center;margin:26px 0 10px}
.pager .pg{min-width:36px;height:36px;padding:0 12px;display:inline-flex;align-items:center;justify-content:center;background:#fff;border:1px solid var(--line);border-radius:9px;font-size:14px;color:var(--ink)}
.pager .pg:hover{border-color:var(--primary);color:var(--primary);text-decoration:none}
.pager .pg.on{background:var(--primary);border-color:var(--primary);color:#fff;font-weight:700}
.pager .pg.on:hover{color:#fff}
.pager .pg.gap{border:0;background:transparent;color:var(--muted)}
/* 署名行与面包屑（E-E-A-T） */
.byline{display:flex;align-items:center;gap:10px;background:var(--primary-light);border:1px solid #C7DBF5;border-radius:10px;padding:10px 14px;margin:14px 0 4px;font-size:14px}
.byline .avatar{width:34px;height:34px;border-radius:50%;background:var(--primary);color:#fff;display:flex;align-items:center;justify-content:center;font-weight:800;flex:0 0 34px;overflow:hidden}
.byline .avatar img{width:100%;height:100%;border-radius:50%;object-fit:cover;display:block}
.byline .who b{color:var(--primary-dark)}
.byline .who small{display:block;color:var(--muted);font-size:12.5px}
/* 2026-10-07 美工修复：面包屑与正文列统一 860px 居中，
   消除「左贴边 + 右侧一条空白」的失衡（宽度不与侧栏混用） */
.breadcrumb{font-size:13px;color:var(--muted);margin:16px auto 0;max-width:860px}
.breadcrumb a{color:var(--muted)}
.breadcrumb a:hover{color:var(--primary)}
.pre-note{font-size:13px;color:var(--muted);background:var(--bg);border-radius:8px;padding:8px 12px;margin:12px 0 0}
/* 案由宫格（分类页仍在用 .chips；此样式保留给「案由总览」类页面） */
.cat-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(150px,1fr));gap:10px;margin:18px 0 30px}
.cat-grid a{background:#fff;border:1px solid var(--line);border-radius:10px;padding:14px 12px;text-align:center;color:var(--ink);font-size:14.5px;font-weight:600}
.cat-grid a:hover{border-color:var(--primary);color:var(--primary);text-decoration:none}
.cat-grid a small{display:block;color:var(--muted);font-weight:400;font-size:12px;margin-top:3px}
/* qa 总览 */
.qa-board{background:#fff;border:1px solid var(--line);border-radius:12px;padding:18px 20px;margin:14px 0}
.qa-nums{display:flex;flex-wrap:wrap;gap:10px 26px;font-size:14.5px;color:#374151;align-items:baseline}
.qa-nums b{font-size:20px;color:var(--primary);margin-right:2px}
.qa-nums .ok b{color:#15803d}
.qa-nums .rate{color:var(--muted);font-size:13.5px}
.qa-nums .rate b{font-size:15px;color:var(--ink)}
.qa-note{color:var(--muted);font-size:13.5px;line-height:1.75;margin:0}
.qa-group{background:#fff;border:1px solid var(--line);border-radius:12px;padding:18px 20px;margin:14px 0;scroll-margin-top:16px}
.qa-group h2,.qa-group h3{font-size:17px;margin-bottom:10px}
.qa-group h2 small,.qa-group h3 small{color:var(--muted);font-size:13px;font-weight:400;margin-left:6px}
.qa-group ul{list-style:none;margin:0;columns:2;column-gap:24px}
.qa-group li{margin:5px 0;break-inside:avoid;font-size:14.5px}
/* 2026-10-05 起线上只展示已发布指南 */
@media(max-width:720px){.qa-group ul{columns:1}}
/* search box */
.search-box{display:flex;gap:8px;max-width:520px;margin:18px 0}
.search-box input{flex:1;border:1px solid var(--line);border-radius:10px;padding:10px 14px;font-size:15px;outline:none}
.search-box input:focus{border-color:var(--primary)}
.search-box button{background:var(--primary);color:#fff;border:none;border-radius:10px;padding:0 22px;font-size:15px;cursor:pointer}
/* 搜索结果里的「为什么推荐」标签 */
.why-tag{background:var(--primary-light);color:var(--primary);border-radius:6px;
  padding:2px 10px;font-size:12px;font-weight:600}
/* ★2026-10-25：文章页底部「法律百科 · 相关词条」（模板级内链，见 theme.article_page）
   胶囊式排列，与「延伸阅读」的整行卡片区分开，读者一眼能分清两处性质不同 */
.gwiki{margin:0 auto 26px;max-width:860px}
.gwiki h2{font-size:18px;margin:10px 0 4px}
.gwiki .gw-sub{font-size:13px;color:var(--muted);margin:0 0 12px;line-height:1.7}
.gwiki .gw-list{display:flex;flex-wrap:wrap;gap:8px}
.gwiki .gw-list a{display:inline-block;background:#F7FBFF;border:1px solid #cfe1f7;
  border-radius:999px;padding:8px 15px;color:var(--primary);font-size:14px;line-height:1.4}
.gwiki .gw-list a:hover{border-color:var(--primary);text-decoration:none;background:#EEF4FC}
.gwiki .gw-all{margin:12px 0 0;font-size:13.5px;line-height:1.7}
.gwiki .gw-all a{color:var(--muted)}
/* ★2026-10-26：文章/流程/证据/文书/问答 页底部「相关办事指南」——
   与「相关词条」同为胶囊，但换一套底色（暖绿），读者一眼分得清是两处不同栏目 */
.gguide{margin:0 auto 26px;max-width:860px}
.gguide h2{font-size:18px;margin:10px 0 4px}
.gguide .gg-sub{font-size:13px;color:var(--muted);margin:0 0 12px;line-height:1.7}
.gguide .gg-list{display:flex;flex-wrap:wrap;gap:8px}
.gguide .gg-list a{display:inline-block;background:#F4FBF6;border:1px solid #c8e8d2;
  border-radius:999px;padding:8px 15px;color:#166534;font-size:14px;line-height:1.4}
.gguide .gg-list a:hover{border-color:#16a34a;text-decoration:none;background:#EAF7EF}
.gguide .gg-all{margin:12px 0 0;font-size:13.5px;line-height:1.7}
.gguide .gg-all a{color:var(--muted)}
/* ★2026-10-25：搜索结果里的「法律百科」类型标签（词条与文章混排时区分）
   ——窄屏卡片标题是块级，靠 margin-right 与标题文字拉开，不用 flex 免得破行 */
.kind-tag{display:inline-block;background:#FFF4E5;color:#B45309;border:1px solid #FCD9A8;
  border-radius:6px;padding:1px 7px;margin-right:7px;font-size:11.5px;font-weight:600;
  vertical-align:2px;white-space:nowrap}
/* ★2026-10-25：法律百科总览目录页（/glossary，theme.glossary_index）。
   词条只有标题没有摘要，所以用胶囊平铺、不用文章卡：一屏能扫几十个概念。
   栏目锚点、组标题右边的「该栏目文章 ›」都是给读者的第二条出路。 */
.gidx-h1{font-size:24px;margin:18px 0 8px;line-height:1.4}
.gidx-h1 small{color:var(--muted);font-size:13.5px;font-weight:400;margin-left:10px}
.gidx-lead{font-size:14.5px;line-height:1.85;color:var(--muted);
  margin:0 0 4px;max-width:860px}
.gidx-nav{display:flex;flex-wrap:wrap;gap:8px;margin:14px 0 4px}
.gidx-nav a{display:inline-block;background:#EEF4FC;border:1px solid #cfe1f7;
  border-radius:999px;padding:7px 14px;font-size:13.5px;color:var(--primary);line-height:1.5}
.gidx-nav a:hover{border-color:var(--primary);text-decoration:none}
.gidx-nav a i{font-style:normal;margin-left:7px;font-size:12px;color:var(--muted)}
.gidx-sec{margin:24px 0 2px}
.gidx-sec h2{font-size:17px;margin:0 0 11px;display:flex;align-items:center;
  gap:9px;flex-wrap:wrap;border-bottom:1px solid var(--line);padding-bottom:9px}
.gidx-sec h2 small{font-size:12.5px;color:var(--muted);font-weight:400}
.gidx-more{margin-left:auto;font-size:12.5px;font-weight:400;color:var(--muted)}
.gidx-list{display:flex;flex-wrap:wrap;gap:8px}
.gidx-list a{display:inline-block;background:#fff;border:1px solid var(--line);
  border-radius:8px;padding:9px 14px;font-size:14px;color:var(--ink);line-height:1.5}
.gidx-list a:hover{border-color:var(--primary);color:var(--primary);text-decoration:none}
.gidx-foot{margin:28px 0 8px;padding:13px 15px;background:#F7FBFF;
  border-left:3px solid var(--primary);border-radius:0 8px 8px 0;
  font-size:13px;color:var(--muted);line-height:1.85}
@media(max-width:720px){
  .gidx-h1{font-size:21px}
  .gidx-h1 small{display:block;margin:6px 0 0}
  .gidx-list a{padding:10px 14px}
  .gidx-sec{margin:20px 0 2px}
}
/* footer */
.site-footer{background:#111827;color:#9ca3af;margin-top:40px;padding:26px 0;font-size:13.5px}
/* 2026-10-07 美工修复②：页脚内容列与正文列（860 居中）左边缘对齐——
   此前页脚贴 .wrap 左缘（16px），正文却居中，两列左缘差约 94px；
   头像改为 foot-top 行内右端（flex），不再绝对定位、不再需要留位补丁 */
.site-footer .wrap{display:block;position:relative}
.site-footer .wrap>*{max-width:860px;margin-left:auto;margin-right:auto}
.foot-top{display:flex;align-items:center;justify-content:space-between;gap:16px}
.foot-avatar{width:64px;height:64px;border-radius:50%;border:2px solid #374151;object-fit:cover;display:block;flex:none}
.site-footer a{color:#d1d5db}
.foot-links{font-size:13.5px}
/* 页脚栏目导航（2026-10-10 新增）：主行放内容栏目，副行放站点信息——
   此前所有栏目入口只在 sitemap，读者与内链都摸不到。 */
.foot-links-sub{margin-top:7px;font-size:12.5px;color:#6b7280}
.foot-line{margin-top:10px;font-size:12.5px;line-height:1.8}
.foot-cr{margin-top:10px;font-size:12.5px;line-height:1.8;color:#9ca3af}
/* 引用与授权声明：每个页面页脚都有一份，AI 抓任一页都能读到许可条款 */
.foot-license{margin-top:10px;padding:10px 12px;background:#1f2937;border-left:3px solid #4b5563;
  border-radius:0 8px 8px 0;font-size:12.5px;line-height:1.8;color:#d1d5db}
.foot-license b{color:#f3f4f6}
.foot-license a{color:#93c5fd}
.site-footer>div>.wrap>div:last-child{margin-top:8px;font-size:12.5px}
/* 结论先行答案框：正文前先给一段可直接摘取的结论 */
.answer-box{background:var(--law-bg);border:1px solid #bfdbfe;border-left:4px solid var(--law);
  border-radius:0 10px 10px 0;padding:14px 18px;margin:16px 0 22px}
.answer-box .ab-tag{display:inline-block;background:var(--law);color:#fff;font-size:12px;font-weight:700;
  letter-spacing:1px;border-radius:5px;padding:2px 9px;margin-bottom:8px}
.answer-box p{font-size:15.5px;line-height:1.85;color:#1e3a8a}
.answer-box p+p{margin-top:8px}
/* 法条 / 案号引用块 */
.cite-block{margin:26px auto 8px;max-width:860px;border:1px solid var(--line);border-radius:12px;background:#fff;overflow:hidden}
.cite-block h2{font-size:15.5px;margin:0;padding:12px 16px;background:#f3f4f6;border-bottom:1px solid var(--line)}
.cite-block .cb-body{padding:12px 16px}
.cb-row{display:flex;gap:10px;align-items:flex-start;flex-wrap:wrap;margin:8px 0}
.cb-label{flex:none;font-size:12.5px;color:var(--muted);padding-top:2px;width:74px}
.cb-items{flex:1;display:flex;gap:8px;flex-wrap:wrap}
.law-chip{display:inline-block;background:var(--law-bg);color:var(--law);border:1px solid #bfdbfe;
  border-radius:7px;padding:3px 10px;font-size:13px}
.law-chip:hover{border-color:var(--law);text-decoration:none}
.law-chip.off{background:#f3f4f6;color:#6b7280;border-color:var(--line)}
/* ★2026-10-28（赵律师批「官方外链应加尽加」）：法条官方原文直达小链接。
   刻意做得比 .law-chip 轻——它是「核验入口」，不该抢正文的视觉重心。 */
.law-official{display:inline-block;margin-left:8px;font-size:12px;color:#0b6bcb;
  border-bottom:1px dashed rgba(11,107,203,.45);white-space:nowrap;text-decoration:none}
.law-official:hover{color:#084f96;border-bottom-style:solid;text-decoration:none}
/* 法条块底部的官方库入口行：一个块只挂一条，右对齐、与条文用虚线分隔 */
.law-official-row{margin-top:10px;padding-top:9px;border-top:1px dashed #dbeafe;
  text-align:right;font-size:12px;line-height:1.6}
.law-official-row .law-official{margin-left:0}
.case-official{display:inline-block;margin-top:6px;font-size:12.5px;color:#0b6bcb;
  border-bottom:1px dashed rgba(11,107,203,.45);text-decoration:none}
.case-official:hover{color:#084f96;border-bottom-style:solid;text-decoration:none}
.case-chip{display:inline-block;background:var(--case-bg);color:var(--case);border:1px solid #c7dbf5;
  border-radius:7px;padding:3px 10px;font-size:13px;font-family:ui-monospace,Consolas,monospace}
.case-chip:hover{border-color:var(--case);text-decoration:none}
.cb-note{font-size:12.5px;color:var(--muted);margin-top:10px;padding-top:9px;border-top:1px dashed var(--line)}
/* 法条 / 案号汇总页（/law /case） */
.cite-hero{padding:28px 0 6px}
.cite-hero h1{font-size:25px;margin-bottom:10px}
.cite-hero p{color:var(--muted);font-size:14.5px;line-height:1.85;max-width:760px}
.law-group{background:#fff;border:1px solid var(--line);border-radius:12px;padding:16px 18px;margin:16px 0}
.law-group h2,.law-group h3{font-size:16px;margin:0 0 10px;padding-bottom:8px;border-bottom:1px solid var(--line)}
.law-group h2 small,.law-group h3 small{font-weight:400;color:var(--muted);font-size:13px}
.law-items{display:flex;flex-wrap:wrap;gap:8px}
.law-items a{background:var(--law-bg);color:var(--law);border:1px solid #bfdbfe;border-radius:7px;
  padding:4px 11px;font-size:13.5px}
.law-items a:hover{border-color:var(--law);text-decoration:none}
.law-items a small{color:var(--muted);margin-left:5px}
.art-list{margin:14px 0 0;padding:0;list-style:none}
.art-list li{padding:11px 0;border-bottom:1px solid var(--line)}
.art-list li:last-child{border-bottom:none}
.art-list a{font-size:15.5px;font-weight:600}
.art-list .am{display:block;font-size:12.5px;color:var(--muted);margin-top:3px}
/* admin */
.admin-table{width:100%;border-collapse:collapse;background:#fff;margin:16px 0}
.admin-table th{background:#f3f4f6;color:var(--ink);border:1px solid var(--line)}
.admin-table td{border:1px solid var(--line);padding:8px 12px;font-size:14px}
.badge{padding:2px 10px;border-radius:99px;font-size:12.5px}
.badge.ok{background:var(--ok-bg);color:var(--ok)}
.badge.draft{background:var(--warn-bg);color:var(--warn)}
.btn{display:inline-block;border:1px solid var(--line);background:#fff;border-radius:8px;padding:6px 14px;font-size:14px;cursor:pointer;color:var(--ink)}
.btn.primary{background:var(--primary);color:#fff;border-color:var(--primary)}
/* 法律工具页（/tools） */
.tools-hero{padding:30px 0 6px;text-align:center}
.tools-hero h1{font-size:26px;margin-bottom:10px}
.tools-hero p{color:var(--muted);font-size:14.5px;line-height:1.85}
.tool-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(300px,1fr));gap:16px;margin:26px 0 18px}
.tool-card{display:block;background:#fff;border:1px solid var(--line);border-radius:12px;padding:20px;transition:box-shadow .15s,border-color .15s}
.tool-card:hover{border-color:var(--primary);box-shadow:0 6px 20px rgba(27,75,143,.10);text-decoration:none}
.tool-ic{width:40px;height:40px;border-radius:10px;background:var(--primary-light);color:var(--primary);font-size:19px;font-weight:700;display:flex;align-items:center;justify-content:center;margin-bottom:12px}
.tool-card h2,.tool-card h3{font-size:17px;color:var(--ink);margin-bottom:8px}
.tool-card p{color:var(--muted);font-size:13.5px;line-height:1.7;margin-bottom:10px}
.tool-keys{display:flex;gap:6px;flex-wrap:wrap}
.tool-keys span{background:var(--bg);border:1px solid var(--line);color:var(--muted);font-size:12px;padding:1px 8px;border-radius:99px}
.tools-note{color:var(--muted);font-size:13px;line-height:1.9;border-top:1px dashed var(--line);padding-top:14px;margin-bottom:32px}
/* /tools 分页（30 个一页） */
/* ★2026-11-01：这个计数原先只设了字号颜色、没设不换行。手机 390px 下
   「法律实用工具（第 1 / 2 页，共 58 个工具）」整行放不下，浏览器从行尾折，
   把「具）」两个字单独甩到第二行，很难看。两处一起治：
   ① 计数本身永不折行；② 窄屏下整块掉到标题下方另起一行，当副标题用。 */
.pg-count{font-size:14px;color:var(--muted);font-weight:400;margin-left:8px;white-space:nowrap}
@media(max-width:720px){
  .tools-hero h1{font-size:22px}
  .tools-hero .pg-count{display:block;margin:5px 0 0;font-size:12.5px;letter-spacing:.2px}
}
.pg-nav{display:flex;justify-content:center;gap:10px;margin:6px 0 22px;flex-wrap:wrap}
.pg-item{display:inline-block;padding:8px 18px;border:1px solid var(--line);border-radius:99px;font-size:14px;color:var(--ink);background:#fff}
a.pg-item:hover{border-color:var(--primary);color:var(--primary);text-decoration:none}
.pg-cur{color:var(--muted);background:var(--bg)}
.tool-wrap{background:#fff;border:1px solid var(--line);border-radius:12px;padding:30px;margin:20px auto 40px;max-width:820px}
.tool-wrap h1{font-size:25px;margin-bottom:10px}
.tool-lead{color:var(--muted);font-size:15px;line-height:1.85;margin-bottom:20px}
.tool-form{background:var(--bg);border:1px solid var(--line);border-radius:10px;padding:18px 18px 20px;margin-bottom:20px}
.tf-row{margin-bottom:14px}
.tf-row label{display:block;font-size:13.5px;color:#374151;font-weight:600;margin-bottom:6px}
.tf-row input,.tf-row select{width:100%;padding:10px 12px;border:1px solid var(--line);border-radius:8px;font-size:15px;background:#fff;box-sizing:border-box;font-family:inherit}
.tf-row input:focus,.tf-row select:focus{outline:none;border-color:var(--primary);box-shadow:0 0 0 3px rgba(27,75,143,.10)}
.tf-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(180px,1fr));gap:14px}
.tf-inline{margin-bottom:14px}
.tf-check{font-weight:400!important;font-size:13.5px;color:#374151;display:flex!important;align-items:center;gap:8px;cursor:pointer}
.tf-check input{width:auto!important}
.tool-btn{background:var(--primary);color:#fff;border:none;border-radius:8px;padding:12px 30px;font-size:15.5px;font-weight:600;cursor:pointer;font-family:inherit}
.tool-btn:hover{background:var(--primary-dark)}
.tool-out{background:var(--primary-light);border:1px solid #d6e4f7;border-radius:10px;padding:18px;min-height:76px;margin-bottom:20px;font-size:14.5px;line-height:1.85;color:#374151}
.out-main{display:flex;align-items:baseline;gap:12px;flex-wrap:wrap;padding-bottom:10px;border-bottom:1px dashed #c9dcf3;margin-bottom:12px}
.out-num{font-size:30px;font-weight:800;color:var(--primary);letter-spacing:.5px}
.out-cap{font-size:13.5px;color:var(--muted)}
.out-note{font-size:13.5px;color:#4b5563;margin:8px 0}
.out-list{display:grid;grid-template-columns:auto 1fr;gap:6px 16px;margin:10px 0}
.out-list dt{font-size:13.5px;color:var(--muted);white-space:nowrap}
.out-list dd{font-size:14px;color:var(--ink);margin:0}
/* 2026-10-17 新增工具用的小标题与依据行（与 .out-list 配套） */
.out-h{font-size:15px;font-weight:600;color:var(--ink);margin:16px 0 6px}
.out-src{font-size:12.5px;color:var(--muted)}
.tf-actions{margin-top:16px}
.tool-tips,.tool-relate{border-left:4px solid var(--primary);padding:4px 0 4px 16px;margin:22px 0}
.tool-tips h4,.tool-relate h4{font-size:15px;margin-bottom:8px;color:var(--ink)}
.tool-tips ul{margin:0 0 0 18px;font-size:14px;color:#4b5563;line-height:1.9}
.tool-relate .rel-list{display:flex;flex-direction:column;gap:6px;font-size:14px}
.tool-warn{background:var(--warn-bg);color:var(--warn);font-size:13px;line-height:1.8;border-radius:8px;padding:12px 14px;margin-top:22px}
/* 工具页常见问题（可见内容，与 FAQPage 结构化数据一一对应——只有可见的问答才允许标注） */
.tool-faq{border-left:4px solid #C7DBF5;padding:4px 0 4px 16px;margin:22px 0}
.tool-faq h4{font-size:15px;margin-bottom:8px;color:var(--ink)}
.tool-faq details{border-bottom:1px solid var(--line);padding:8px 0}
.tool-faq summary{cursor:pointer;font-weight:600;font-size:14.5px;color:var(--primary-dark)}
.tool-faq p{margin:8px 0 0;font-size:14px;color:#4b5563;line-height:1.85}
/* 工具页说明条：只陈述用户收益（计算在浏览器内跑、不收集数据、可复核）＋ 权利保留句；
   两块共用 .moat-* 前缀，配色沿用站内 --primary 系，不引入新色。 */
.moat-bar{display:flex;align-items:flex-start;gap:10px;background:#F0F7FF;border:1px solid #cfe1f7;
  border-radius:10px;padding:12px 14px;margin:0 0 18px;font-size:13.5px;line-height:1.8;color:#1e3a5f}
.moat-bar .moat-ic{flex:0 0 auto;width:26px;height:26px;border-radius:7px;background:#1B4B8F;color:#fff;
  font-size:14px;font-weight:600;display:flex;align-items:center;justify-content:center;margin-top:1px}
.moat-bar b{color:#12325c}
.moat-cta{border:1px solid #cfe1f7;border-left:4px solid #1B4B8F;background:#F7FBFF;border-radius:0 10px 10px 0;
  padding:14px 16px;margin:22px 0}
.moat-cta .mc-t{font-size:14.5px;font-weight:600;color:#12325c;margin:0 0 6px}
.moat-cta .mc-d{font-size:13.5px;color:#4b5563;line-height:1.85;margin:0 0 12px}
.moat-cta .mc-links{display:flex;flex-wrap:wrap;gap:8px}
.moat-cta .mc-links a{display:inline-block;font-size:13.5px;color:#1B4B8F;background:#fff;border:1px solid #cfe1f7;
  border-radius:999px;padding:6px 14px;text-decoration:none}
.moat-cta .mc-links a:hover{background:#1B4B8F;color:#fff;border-color:#1B4B8F}
/* 正文尾可见署名 */
.byline-tail{font-size:13.5px;color:#4b5563;line-height:1.9;background:#FAFAF8;border:1px dashed #d8d6cd;
  border-radius:10px;padding:12px 15px;margin:20px 0}
.byline-tail b{color:#12325c}
.byline-tail .bt-line{display:block}
/* ===== 移动端适配=====
   针对真机截图暴露的问题逐条处理：
   ① 页脚头像绝对定位在右侧，窄屏下压住「运营主体」文字 → 右侧留出头像宽度；
   ② 首页首屏 h1/副文案/搜索框在窄屏下偏大 → 缩小字号、收紧内边距；
   ③ 卡片栅格 minmax(320px) 在 ≤360px 屏幕溢出 → 单列；
   ④ 文章页表格、案例卡、法条卡内边距收紧，避免文字挤成一条；
   ⑤ 工具页表单栅格塌成单列。 */
@media(max-width:720px){
  /* 头部 */
  .site-header .wrap{padding:10px 12px 8px}
  .logo{font-size:20px;letter-spacing:1px}
  .logo-sub{font-size:11.5px}
  /* 首页首屏 */
  .home-top{padding:22px 0 4px}
  .home-top h1{font-size:22px;line-height:1.55}
  .home-sub{font-size:14px;padding:0 2px}
  .home-search{margin-top:18px;padding:5px 5px 5px 14px;gap:8px}
  .home-search input{font-size:16px;padding:9px 2px} /* 保持16px：低于该值 iOS 聚焦会自动放大页面 */
  .home-search button{padding:10px 18px;font-size:14.5px}
  .ask-chips{margin-top:14px}
  .ask-chips a{font-size:13px;padding:4px 12px}
  /* 列表卡片：窄屏强制单列（minmax(320px) 在 360px 屏会溢出） */
  .grid{grid-template-columns:1fr;gap:12px;margin:16px 0 30px}
  .card{padding:16px}
  /* 文章页 */
  .article-wrap{padding:20px 16px;margin:16px 0}
  .article-wrap h1{font-size:21px;line-height:1.5}
  .article-meta{font-size:12.5px;gap:10px}
  .article-body{font-size:16px}
  .article-body h2{font-size:18px;margin:24px 0 10px}
  .article-body h3{font-size:16px}
  .article-body h4{font-size:15px}
  .article-body ul,.article-body ol{margin-left:20px}
  table{font-size:13.5px}
  th,td{padding:7px 9px}
  /* 组件卡 */
  .comp{padding:14px 14px;margin:14px 0}
  .case-sec{font-size:15px}
  .law-list li{font-size:15px}
  .faq-a{font-size:15px}
  /* 署名行与面包屑 */
  .byline{font-size:13px;padding:9px 12px;gap:8px}
  .byline .who small{font-size:11.5px}
  .breadcrumb{font-size:12.5px}
  /* 工具页 */
  .tool-grid{grid-template-columns:1fr}
  .tool-wrap{padding:20px 16px;margin:16px 0 30px}
  .tool-wrap h1{font-size:21px}
  .tf-grid{grid-template-columns:1fr}
  .out-num{font-size:25px}
  .out-list{grid-template-columns:auto 1fr;gap:5px 10px}
  /* 总览页 */
  .qa-group{padding:14px 14px}
  .qa-nums{gap:8px 18px;font-size:13.5px}
  /* 页脚：头像已是 foot-top 行内右端（flex），无需再留位 */
  .site-footer{padding:20px 0;font-size:13px}
  .foot-avatar{width:52px;height:52px}
  .foot-line,.foot-cr{font-size:12px}
}
/* ===== 咨询表单（2026-10-11 新增）=====
   ★默认收起、点击展开；配色与圆角复用站内既有组件语言
   （左侧 4px 主色边、圆角 12px、胶囊标签、虚线说明框），与「要准备的材料」
   同源，观感零违和。
   ★手机端要点：输入框 font-size 保持 16px —— iOS Safari 对 <16px 的输入框
   会自动放大整页，用户填完无法回退。 */
.consult-sec{margin:26px 0 4px}
.consult-bar{display:flex;align-items:center;gap:12px;background:#fff;border:1px solid var(--line);
  border-left:4px solid var(--primary);border-radius:12px;padding:14px 18px;cursor:pointer;
  transition:box-shadow .15s,border-color .15s}
.consult-bar:hover{box-shadow:0 2px 12px rgba(27,75,143,.10);border-color:var(--primary)}
.consult-bar:focus-visible{outline:3px solid rgba(27,75,143,.25);outline-offset:2px}
/* ★2026-10-12：整个卡片改成 <a> 跳 /consult（在线咨询），去掉链接默认样式 */
a.consult-bar{text-decoration:none;color:inherit;-webkit-tap-highlight-color:transparent}
a.consult-bar .cb-ar{flex:0 0 auto;font-size:13.5px;font-weight:700;color:var(--primary)}
.consult-bar .cb-ic{flex:0 0 auto;width:38px;height:38px;border-radius:10px;background:var(--primary-light);
  display:flex;align-items:center;justify-content:center;font-size:19px}
.consult-bar .cb-tx{flex:1;min-width:0}
.consult-bar .cb-t{font-weight:700;font-size:15.5px;color:var(--primary-dark)}
.consult-bar .cb-s{font-size:13px;color:var(--muted);margin-top:2px}
.consult-bar .cb-ar{flex:0 0 auto;color:var(--primary);font-size:13px;font-weight:700;
  border:1px solid var(--primary);border-radius:99px;padding:4px 13px;background:#fff;white-space:nowrap}
/* ★勘误表单（2026-10-15）：挂在 .article-wrap 内、正文之后，宽度天然与正文一致。
   这里只留上间距做视觉分隔，不再设任何宽度 —— 宽度交给父容器，避免两处口径打架。 */
#corrigendum-form{margin-top:28px}
.consult-form{margin-top:14px;background:#fff;border:1px solid var(--line);border-radius:12px;padding:20px}
.cf-tag{display:inline-block;font-size:12.5px;font-weight:700;padding:2px 10px;border-radius:99px;
  margin-bottom:12px;color:#fff;background:var(--primary)}
.cf-row{margin:12px 0}
.cf-label{display:block;font-size:13.5px;font-weight:700;margin-bottom:6px}
.cf-label i{color:#dc2626;font-style:normal;margin-left:3px}
.cf-opt{color:var(--muted);font-weight:400;font-size:12.5px}
.cf-input{width:100%;padding:11px 13px;border:1px solid var(--line);border-radius:8px;
  font-size:16px;font-family:inherit;box-sizing:border-box;background:#fff;color:var(--ink)}
.cf-input:focus{outline:none;border-color:var(--primary);box-shadow:0 0 0 3px rgba(27,75,143,.10)}
textarea.cf-input{resize:vertical;min-height:82px;line-height:1.65;font-size:15.5px}
.cf-count{text-align:right;font-size:12px;color:var(--muted);margin-top:3px}
.cf-hp{position:absolute!important;left:-9999px!important;width:1px!important;height:1px!important;
  overflow:hidden!important}
.cf-btn{width:100%;padding:13px;border:none;border-radius:9px;background:var(--primary);color:#fff;
  font-size:16px;font-weight:700;cursor:pointer;font-family:inherit;transition:background .15s}
.cf-btn:hover{background:var(--primary-dark)}
.cf-btn:disabled{opacity:.65;cursor:default}
.cf-msg{font-size:13.5px;margin-top:10px}
.cf-msg.err{color:#dc2626;font-weight:700}
.cf-note{font-size:12.5px;color:var(--muted);margin-top:11px;line-height:1.65;
  background:var(--bg);border:1px dashed var(--line);border-radius:8px;padding:9px 12px}
.cf-ok{text-align:center;padding:22px 10px}
.cf-ok .ico{font-size:34px;line-height:1}
.cf-ok h4{font-size:17px;margin:8px 0 4px;color:var(--ok)}
.cf-sub{font-size:13px;color:var(--muted)}
@media(max-width:560px){
  .consult-bar{padding:12px 14px;gap:10px}
  .consult-bar .cb-ic{width:34px;height:34px;font-size:17px}
  .consult-bar .cb-t{font-size:14.5px}
  .consult-bar .cb-ar{padding:3px 10px;font-size:12px}
  .consult-form{padding:16px}
}

/* ============================================================
   wjorg.com 移动版改版 · v9（基于 v8 单文件）
   本轮采纳：
   ① 正文 16px/1.7（收回 v8 的 15px）        —— §七
   ② 内容距屏 12–14px                        —— v8 已是 14px，保持
   ③ 列表条目式＋淡分隔线                    —— v8 已满足，保持
   ⑥ 触控 ≥44px、输入框 16px 防 iOS 缩放     —— §九＋§三
   ⑦ 表格横向滚动＋滚影提示（Lea Verou 法）  —— §七补
   ⑪ 字重收敛为 400/500/600/700 四档         —— §七 h2 800→700
   ⑫ 辅助灰字 #9ca3af→#6b7280（对比度达标）  —— §七/§十
   ⑬ 两层颜色令牌（:root 语义层）            —— 文件头
   
   
   ============================================================ */

/* ════ 设计令牌（两层：此处语义层；将来暗色模式只改这里） ════ */
:root{
  --c-accent:#1B4B8F;        /* 主色（品牌蓝） */
  --c-accent-deep:#12356B;   /* 主色深（渐变尾） */
  --c-bg:#f5f6f8;            /* 页面底 */
  --c-surface:#fff;          /* 卡面 */
  --c-text:#1f2937;          /* 正文 */
  --c-strong:#111827;        /* 强调/标题 */
  --c-text-2:#4b5563;        /* 次要文字 */
  --c-text-3:#6b7280;        /* 辅助文字（≥4.5:1 达标灰） */
  --c-border:#e5e7eb;        /* 描边 */
  --c-divider:#f0f1f4;       /* 列表淡分隔线 */
  --c-chip:#EEF4FC;          /* 浅蓝徽章底 */
}

@media(max-width:720px){

  /* ═══════════ 一、基调 ═══════════ */
  body{ background:var(--c-bg)!important; color:var(--c-text)!important; }
  a{ color:var(--c-accent)!important; }
  /* 2026-10-19 修复：上面这条会把 .pager .pg.on 的白字也染成品牌蓝，蓝底蓝字 ⇒ 当前页码不可见 */
  .pager .pg{ color:var(--c-text)!important; }
  .pager .pg.on{ color:#fff!important; }
  .pager .pg.gap{ color:var(--c-text-3)!important; }
  b,strong{ color:var(--c-strong)!important; }
  img{ max-width:100%; height:auto; }

  /* 全站容器：左右 14px（hero/页头条等通栏元素自行负边距抵消） */
  .wrap{ padding:0 14px!important; }
  /* 文章/栏目外壳内部的 wrap 现网本就零 padding，保持之 */
  .col-shell .wrap{ padding:0!important; }

  /* ═══════════ 二、页头（小程序 .nav 同款） ═══════════ */
  .site-header{
    background:var(--c-accent)!important; border-bottom:none!important;
    box-shadow:0 1px 0 var(--c-accent),0 2px 0 var(--c-accent)!important;
    position:sticky!important; top:0!important; z-index:50!important;
  }
  .site-header .wrap{ padding:11px 14px 10px!important; }
  .logo{ color:#fff!important; font-size:19px!important; font-weight:600!important; letter-spacing:1px!important; }
  .logo-sub{ color:rgba(255,255,255,.78)!important; font-size:11.5px!important; letter-spacing:1px!important; margin-top:2px!important; }

  /* ═══════════ 三、首页 hero（小程序 .hero 同款） ═══════════ */
  .home-top{
    background:linear-gradient(160deg,var(--c-accent) 0%,var(--c-accent-deep) 100%)!important;
    margin:0 -14px!important; padding:26px 18px 56px!important; text-align:left!important;
  }
  .home-top h1{ color:#fff!important; font-size:23px!important; font-weight:700!important; line-height:1.5!important; letter-spacing:1px!important; }
  .home-top h1::after{ content:none!important; }
  /* home-sub 两处场景：
     内容板里的副标题灰字（白字白底隐形占位是本条 bug 根因）；hero 内的由 .home-top 特化为白字 */
  .home-sub{ color:var(--c-text-3)!important; font-size:13px!important; line-height:1.7!important; max-width:none!important; }
  .home-top .home-sub{ color:rgba(255,255,255,.82)!important; margin:10px 0 0!important; }
  /* hero 内加粗数字/强调一律白（黑粗在深蓝底不可读） */
  .home-top b,.home-top strong{ color:#fff!important; }
  .home-search{
    background:rgba(255,255,255,.96)!important; border:none!important; border-radius:999px!important;
    box-shadow:none!important; padding:5px 5px 5px 16px!important; margin-top:22px!important;
  }
  .home-search .hs-ic{ background:var(--c-chip)!important; color:var(--c-accent)!important; }
  .home-search button{ background:var(--c-accent)!important; color:#fff!important; border-radius:999px!important; font-weight:500!important; box-shadow:none!important; min-height:46px!important; }
  .ask-chips{ margin-top:16px!important; }
  .ask-lead{ color:rgba(255,255,255,.65)!important; }
  .ask-chips a{ background:rgba(255,255,255,.12)!important; border:1px solid rgba(255,255,255,.38)!important; color:#fff!important; border-radius:999px!important; padding:8px 14px!important; display:inline-block!important; }

  /* ═══════════ 四、首页内容板：从 hero 浮起（小程序浮起语言） ═══════════ */
  main{ margin-top:0!important; padding-top:0!important; }
  main > div:nth-of-type(2):not(.article-wrap):not(.col-shell):not(.tool-wrap){
    margin-top:-44px!important; margin-left:-14px!important; margin-right:-14px!important;
    background:var(--c-surface)!important; border-radius:0!important;
    box-shadow:0 -8px 26px rgba(8,28,58,.25)!important; padding:0 14px!important;
  }
  /* 其后内容块与浮起板连成一体 */
  main > div:nth-of-type(2):not(.article-wrap):not(.col-shell):not(.tool-wrap) ~ div:not(.article-wrap):not(.m-ab):not(.m-foot):not(.m-toast){
    margin-left:-14px!important; margin-right:-14px!important;
    background:var(--c-surface)!important; padding:0 14px!important;
  }
  /* 区块标题（小程序 .sec-title：左圆角竖条） */
  main > div > h2{
    display:flex!important; align-items:center!important;
    margin:0!important; padding:16px 2px 6px!important;
    font-size:17px!important; font-weight:600!important; color:var(--c-strong)!important;
  }
  main > div > h2::before{
    content:''; width:4px; height:15px; border-radius:2px; background:var(--c-accent); margin-right:9px;
  }

  /* ═══════════ 五、列表条目式（无胶囊卡） ═══════════ */
  .grid{ display:block!important; margin:0!important; }
  .card{
    background:none!important; border:none!important; border-radius:0!important;
    box-shadow:none!important; border-bottom:1px solid var(--c-divider)!important;
    padding:14px 2px!important; margin:0!important;
  }
  .grid .card:last-child{ border-bottom:none!important; }
  .card h2,.card h3{ font-size:16.5px!important; }
  .card .meta .cat{ background:var(--c-chip)!important; color:var(--c-accent)!important; border-radius:999px!important; }
  .tool-grid{ display:block!important; margin:0!important; }
  .tool-card{
    background:none!important; border:none!important; border-radius:0!important;
    box-shadow:none!important; border-bottom:1px solid var(--c-divider)!important;
    padding:14px 2px!important; margin:0!important;
  }
  .tool-grid .tool-card:last-child{ border-bottom:none!important; }

  /* ═══════════ 六、长文外壳：通栏贴边（文字距屏 14px，与全站版心一致 · 2026-10-19 修 4px 差） ═══════════ */
  .article-wrap,.tool-wrap,.col-shell{
    margin-left:-14px!important; margin-right:-14px!important;
    background:var(--c-surface)!important; border:none!important; border-radius:0!important;
    box-shadow:none!important; padding:12px 14px 18px!important;
  }

  /* 页头条（面包屑→深蓝渐变条，精确贴屏）
     ★详情页 .breadcrumb 的父层是 .wrap（padding 14px）→ 抵 14px 才铺满；
       col-shell 内的 .sf-crumb 父层 padding 10px → 单独保持 -10px */
  .breadcrumb,.sf-crumb{
    background:linear-gradient(160deg,var(--c-accent),var(--c-accent-deep))!important;
    margin:0 -14px!important; padding:13px 16px!important; max-width:none!important;
    color:rgba(255,255,255,.88)!important; font-size:12.5px!important;
  }
  .col-shell .sf-crumb,.col-shell .breadcrumb{ margin-left:-10px!important; margin-right:-10px!important; } /* 2026-10-19 修 X1：面包屑同款豁免（col-shell 父层 pad 10px，-14px 曾溢出 4px） */
  .breadcrumb a,.sf-crumb a{ color:#fff!important; }

  /* ═══════════ 七、文章页＝逐条对齐 pages/detail/detail.wxss ═══════════ */
  .article-wrap h1,.col-shell h1{
    font-size:24px!important; font-weight:700!important; line-height:1.42!important;
    color:var(--c-strong)!important; letter-spacing:.5px;
    border-left:none!important; padding-left:0!important; margin:8px 0 0!important;
  }
  /* ⑫ meta 灰字升到达标灰 */
  .article-meta{ font-size:11.5px!important; color:var(--c-text-3)!important; line-height:1.6!important; margin-top:10px!important; }
  /* ① 正文 16px/1.7（业界硬共识 ≥16px；收回 v8 的 15px/1.8） */
  .article-body{ font-size:16px!important; line-height:1.7!important; }
  /* 小节标题：粗蓝竖条＋黑粗（⑪ 字重 800→700，全站收敛四档） */
  .article-body h2,.col-shell h2{
    font-size:19px!important; font-weight:700!important; line-height:1.5!important;
    margin:26px 0 10px!important; padding-left:10px!important;
    border-left:5px solid var(--c-accent)!important; border-image:none!important;
  }
  /* 作者卡 .author：白底＋灰描边＋无阴影、圆角 8px、padding 12/14px */
  .byline{
    background:var(--c-surface)!important; border:1px solid var(--c-border)!important; border-radius:8px!important;
    box-shadow:none!important; padding:12px 14px!important;
  }
  .byline .avatar{
    width:42px!important; height:42px!important; flex-basis:42px!important;
    background:linear-gradient(160deg,var(--c-accent),var(--c-accent-deep))!important; color:#fff!important;
  }
  .byline .who b{ font-size:15px!important; font-weight:600!important; }
  .byline .who small{ font-size:11px!important; color:var(--c-text-3)!important; }
  /* 「一句话说清」.tldr：浅蓝底＋描边、圆角 8px、标签白底蓝字 */
  .answer-box{
    background:var(--c-chip)!important; border:1px solid #C7DBF5!important; border-radius:8px!important;
    box-shadow:none!important; padding:12px 14px!important;
  }
  .answer-box .ab-tag{
    background:var(--c-surface)!important; color:var(--c-accent)!important; border-radius:4px!important;
    font-size:11px!important; font-weight:600!important; padding:1px 7px!important;
  }
  .answer-box p{ color:var(--c-accent-deep)!important; font-size:14.5px!important; line-height:1.8!important; }
  /* 组件卡（结论绿/法条蓝/案例白） */
  .comp{
    border:1px solid var(--c-border)!important; border-radius:8px!important;
    box-shadow:none!important; background:var(--c-surface)!important;
    padding:13px 14px!important; margin:14px 0!important;
  }
  .comp-tag{ font-size:12px!important; padding:2px 10px!important; border-radius:4px!important; letter-spacing:.5px!important; }
  .comp-summary{ background:#f0fdf4!important; border-color:#bbf7d0!important; }
  .comp-summary .comp-tag{ background:#16a34a!important; }
  .comp-law{ background:#eff6ff!important; border-color:#bfdbfe!important; }
  .comp-case,.comp-steps,.comp-checklist{ background:var(--c-surface)!important; }
  .check-box{ color:#16a34a!important; }
  .step-num{ background:var(--c-accent)!important; color:#fff!important; }
  /* 案号芯片：黄底棕字 */
  .case-chip{ background:#fdf6e7!important; color:#7c5a12!important; border:1px solid #ecd9a8!important; }

  /* ⑦ 表格：横向滚动容器＋双侧滚影提示（本地阴影随滚动隐现） */
  .table-wrap{
    overflow-x:auto!important; -webkit-overflow-scrolling:touch!important;
    background-image:
      linear-gradient(to right,#fff 30%,rgba(255,255,255,0)),
      linear-gradient(to left,#fff 30%,rgba(255,255,255,0)),
      radial-gradient(farthest-side at 0 50%,rgba(8,28,58,.16),transparent),
      radial-gradient(farthest-side at 100% 50%,rgba(8,28,58,.16),transparent);
    background-position:left center,right center,left center,right center;
    background-size:40px 100%,40px 100%,14px 100%,14px 100%;
    background-repeat:no-repeat;
    background-attachment:local,local,scroll,scroll;
  }
  .table-wrap table{ min-width:520px!important; }
  .table-wrap td,.table-wrap th{ word-break:keep-all!important; white-space:nowrap!important; }

  /* ═══════════ 八、司法资源页 ═══════════ */
  .sf-lead{
    background:var(--c-chip)!important; border-left:4px solid var(--c-accent)!important;
    border-radius:0 10px 10px 0!important; box-shadow:none!important;
    color:var(--c-text)!important; padding:13px 14px!important; font-size:14.5px!important;
  }
  .sf-lead b{ color:var(--c-accent)!important; }
  .sf-sec{
    background:var(--c-surface)!important; border:none!important; border-radius:0!important;
    box-shadow:none!important; margin:0 -10px!important; padding:8px 14px 14px!important;
  }
  .sf-sec > h2{
    border-left:none!important; border-image:none!important; padding-left:0!important;
    display:flex!important; align-items:center!important; font-size:16px!important;
  }
  .sf-sec > h2::before{ content:''; width:4px; height:14px; border-radius:2px; background:var(--c-accent); margin-right:9px; }
  .sf-grid{ gap:10px!important; margin:10px 0 2px!important; }
  .sf-card{
    background:var(--c-surface)!important; border:none!important; border-radius:10px!important;
    box-shadow:0 1px 5px rgba(17,24,39,.06)!important; padding:12px 13px!important;
  }
  .sf-card h3{ font-size:15.5px!important; }
  .sf-card .sf-n{ background:var(--c-chip)!important; color:var(--c-accent)!important; font-weight:600!important; }
  .sf-notice{ background:#fffbeb!important; border:1px solid #fde68a!important; border-radius:10px!important; color:#92400e!important; }
  .sf-item{ border-bottom:1px solid #f4f5f7!important; }
  .sf-src a{ color:var(--c-accent)!important; }
  .sf-sub,.sf-note{ color:var(--c-text-3)!important; }

  /* ═══════════ 九、工具页（⑥ 触控 ≥44px＋输入 16px 防 iOS 缩放） ═══════════ */
  .tool-form{ background:var(--c-bg)!important; border:none!important; border-radius:12px!important; padding:14px 12px!important; }
  .tf-row input,.tf-row select,.search-box input,.cf-input{
    border:1px solid var(--c-border)!important; border-radius:10px!important; background:var(--c-surface)!important;
    box-shadow:none!important; min-height:44px!important; font-size:16px!important;
  }
  .tf-row input:focus,.tf-row select:focus,.search-box input:focus,.cf-input:focus{
    border-color:var(--c-accent)!important; box-shadow:0 0 0 3px rgba(27,75,143,.10)!important; outline:none!important;
  }
  .tool-btn,.cf-btn,.search-box button{
    background:var(--c-accent)!important; color:#fff!important; border-radius:999px!important;
    font-weight:500!important; box-shadow:none!important; min-height:44px!important;
  }
  .tool-out{
    background:var(--c-chip)!important; border:none!important; border-left:4px solid var(--c-accent)!important;
    border-radius:0 12px 12px 0!important; box-shadow:none!important;
  }
  .out-num{ color:var(--c-accent)!important; }
  .moat-bar{
    background:#F0F7FF!important; border:1px solid #cfe1f7!important; border-left:4px solid var(--c-accent)!important;
    border-radius:0 10px 10px 0!important; box-shadow:none!important;
    font-size:12.5px!important; padding:9px 11px!important;
  }
  .moat-bar .moat-ic{ background:var(--c-accent)!important; color:#fff!important; }
  .moat-cta{ border:none!important; border-left:4px solid var(--c-accent)!important; background:#F7FBFF!important; border-radius:0 10px 10px 0!important; }
  .moat-cta .mc-links a{ border-color:#cfe1f7!important; }

  /* ═══════════ 十、总览页与页脚（⑫ 页脚灰字升到达标灰） ═══════════ */
  .qa-board,.qa-group{
    background:var(--c-surface)!important; border:none!important; border-radius:12px!important;
    box-shadow:0 1px 6px rgba(17,24,39,.05)!important;
  }
  .cite-block{ border-radius:0!important; border-left:none!important; border-right:none!important; }
  .site-footer{ background:var(--c-bg)!important; border-top:none!important; box-shadow:none!important; }
  .site-footer a{ color:var(--c-accent)!important; }
  .foot-license{ background:#f3f4f6!important; border-left:3px solid #d1d5db!important; color:var(--c-text-3)!important; box-shadow:none!important; }
  .foot-license b{ color:var(--c-text-2)!important; }
  .foot-line,.foot-cr{ color:var(--c-text-3)!important; }
}
/* ═══════════ 补：列表页页头条贴住页头 ═══════════ */
.col-shell .sf-crumb{ margin-top:-12px!important; }

/* ═══════════ 补2═══════════
   详情页/内页顶部恢复蓝色品牌条「律师教你怎么做 · 遇到纠纷怎么办」——与首页同款站头，
   全站统一显示（小程序 nav 同款深蓝底白字，见 §二）。 */

/* ═══════════════════════════════════════════════════════════════════
   移动端 v10 · 文章页阅读版式（对标百度 App 阅读页）
   2026-10-31 赵律师定：A 案「只换文章页」＋ 收掉深蓝面包屑 ＋ 不做朗读
   作用域：body.is-article —— PC 与首页/栏目页零影响
   ═══════════════════════════════════════════════════════════════════ */

/* 手机专用的顶条与底条，桌面浏览器一律不显示 */
.m-ab,.m-foot,.m-toast{display:none}
/* 署名区的「依据核对至」是移动端短标签，桌面端走完整表述，此处先隐掉 */
.bl-ck-m{display:none}

@media(max-width:720px){

  /* ① 文章页：深蓝站头与深蓝面包屑让位（DOM 保留，供爬虫读面包屑） */
  body.is-article .site-header,
  body.is-article > .wrap > .breadcrumb{display:none!important}
  body.is-article{background:#fff!important;padding-bottom:64px!important}
  body.is-article .article-wrap{
    margin:0 -14px!important;background:#fff!important;
    padding:0 17px 26px!important;
  }

  /* ② 白底吸顶条 */
  .m-ab{
    display:flex;align-items:center;gap:8px;position:sticky;top:0;z-index:60;
    margin:0 -14px;padding:7px 12px;background:rgba(255,255,255,.97);
    border-bottom:1px solid #f2f3f5;transition:box-shadow .2s;
  }
  .m-ab.on{box-shadow:0 4px 14px rgba(17,24,39,.09);border-bottom-color:transparent}
  .m-ab-back{flex:0 0 auto;width:26px;height:34px;border:0;background:none;padding:0;
    color:#111827;font-size:24px;line-height:1;cursor:pointer}
  .m-ab-av{width:30px;height:30px;border-radius:50%;object-fit:cover;flex:0 0 auto;
    background:#eef1f5;display:block}
  .m-ab-name{flex:1 1 auto;min-width:0;font-size:16px;font-weight:600;color:#111827;
    white-space:nowrap;overflow:hidden;text-overflow:ellipsis;line-height:1.25}
  /* 头像＋站名＝回首页入口（2026-10-31 赵律师）。
     全局 a{color:品牌蓝!important} 会把名字染蓝，此处必须显式压回近黑。 */
  .m-ab-home{flex:1 1 auto;min-width:0;display:flex;align-items:center;gap:8px;
    text-decoration:none!important;color:#111827!important;
    -webkit-tap-highlight-color:transparent}
  .m-ab-home .m-ab-name{color:#111827!important}
  .m-ab-av{box-shadow:0 0 0 1px rgba(17,24,39,.06)}
  .m-ab-home:active{opacity:.55}
  .m-fav{flex:0 0 auto;display:inline-flex;align-items:center;gap:4px;border:0;
    background:#1B4B8F;color:#fff;font-size:12.5px;font-weight:500;padding:6px 13px;
    border-radius:999px;cursor:pointer;line-height:1.2}
  .m-fav svg{width:12px;height:12px;flex:0 0 auto}
  .m-fav.on{background:#EEF4FC;color:#1B4B8F}
  .m-ab-sch{flex:0 0 auto;width:30px;height:34px;display:flex;align-items:center;
    justify-content:center;text-decoration:none}
  .m-ab-sch svg{width:19px;height:19px;stroke:#374151;fill:none;stroke-width:1.9;
    stroke-linecap:round}

  /* ③ 正文版式（照百度度量：标题 23px、正文 18px/32px、段距 16px） */
  body.is-article .article-wrap h1{
    font-size:23px!important;line-height:1.4!important;font-weight:700!important;
    color:#000311!important;letter-spacing:0!important;margin:16px 0 0!important;
    padding:0!important;border:0!important;
  }
  /* ③-1 署名区：三级信息，竖线全部收掉
     姓名 15px/600 近黑 → 机构·证号 11.5px 中灰（同一行，用「·」轻连）
     → 日期·核对 11.5px 淡灰。「详细介绍」右上角悬浮，不占正文行宽。 */
  body.is-article .byline{
    display:block!important;position:relative!important;margin:14px 0 0!important;
    padding:0!important;border:0!important;background:none!important;border-radius:0!important;
  }
  body.is-article .byline .avatar{display:none!important}
  body.is-article .byline .who{display:block!important;line-height:1.4!important}
  body.is-article .byline .bl-sp{display:none!important}
  body.is-article .byline .who b{
    display:block!important;font-size:15px!important;font-weight:600!important;
    color:#111827!important;letter-spacing:.2px!important;line-height:1.35!important;
    margin:0 0 2px!important;padding-right:72px!important;
  }
  body.is-article .byline .who b a{color:#1B4B8F!important}
  body.is-article .byline .bl-off,
  body.is-article .byline .bl-lic{
    display:inline!important;font-size:11.5px!important;font-weight:400!important;
    color:#a3a8b1!important;line-height:1.7!important;letter-spacing:0!important;
  }
  body.is-article .byline .bl-off:not(:empty)::after{content:'\00b7';margin:0 5px;color:#c6c9cf}
  body.is-article .byline .bl-sp2{display:none!important}
  body.is-article .byline .bl-date::after{content:'\00b7';margin:0 5px;color:#c6c9cf}
  body.is-article .byline .bl-ck-t{display:none!important}
  body.is-article .byline .bl-ck-m{display:inline!important;margin-right:3px}
  /* 整段不可内部断行：放不下就整段挪到下一行，绝不让「2026-10」被拆开 */
  body.is-article .byline .bl-ck{display:inline-block!important;white-space:nowrap}
  body.is-article .byline .bl-sp3{display:none!important}
  body.is-article .byline .bl-more{
    position:absolute!important;right:0!important;top:2px!important;
    font-size:11.5px!important;font-weight:500!important;color:#1B4B8F!important;
    text-decoration:none!important;line-height:1.5!important;
  }
  body.is-article .byline .bl-more::after{content:' ›'}
  body.is-article .byline .who small{
    display:block!important;font-size:11.5px!important;font-weight:400!important;
    color:#b0b4bc!important;line-height:1.7!important;margin-top:1px!important;
  }
  body.is-article .byline .who small time{color:#b0b4bc!important}
  body.is-article .byline .bl-case{
    display:block!important;font-size:11px!important;color:#b0b4bc!important;
    line-height:1.7!important;
  }
  /* font-size:0 消掉 span 之间的源空白，否则「·」两侧一宽一窄（2026-10-31 实测） */
  body.is-article .article-meta{font-size:0!important;color:#b0b4bc!important;
    margin-top:5px!important;line-height:1.7!important}
  body.is-article .article-meta span{font-size:11.5px!important}
  body.is-article .article-meta a{color:#9aa0a8!important;font-size:11.5px!important}
  body.is-article .article-meta span:not(:last-child)::after{content:'\00b7';margin:0 5px;color:#c6c9cf}
  body.is-article .pre-note{font-size:12px!important;color:#9aa0a8!important;
    margin:12px 0 0!important;line-height:1.75!important}
  body.is-article .answer-box{margin:16px 0 14px!important}
  body.is-article .article-body{font-size:18px!important;line-height:1.78!important;
    letter-spacing:.2px!important;color:#1f2937!important;padding-top:6px!important}
  body.is-article .article-body p{margin:0 0 16px!important}
  body.is-article .article-body h2{font-size:19px!important;line-height:1.5!important;
    margin:26px 0 12px!important}

  /* ④ 底部固定条（提问入口＋收藏＋顶部） */
  .m-foot{
    display:flex;position:fixed;left:0;right:0;bottom:0;z-index:61;align-items:center;
    gap:10px;padding:9px 12px calc(9px + env(safe-area-inset-bottom));
    background:rgba(255,255,255,.98);border-top:1px solid #f2f3f5;
    box-shadow:0 -2px 12px rgba(17,24,39,.06);
  }
  .m-f-ask{flex:1 1 auto;min-width:0;display:flex;align-items:center;height:36px;
    border-radius:12px;background:rgba(184,186,193,.2);color:#848691;font-size:13.5px;
    padding:0 14px;text-decoration:none;white-space:nowrap;overflow:hidden;
    text-overflow:ellipsis}
  .m-f-btn{flex:0 0 auto;border:0;background:none;padding:0 2px;cursor:pointer;
    display:flex;flex-direction:column;align-items:center;gap:2px;color:#374151}
  .m-f-btn svg{width:19px;height:19px;stroke:#374151;fill:none;stroke-width:1.8;
    stroke-linecap:round;stroke-linejoin:round}
  .m-f-btn span{font-size:10.5px;line-height:1.2;color:#374151}
  .m-f-btn.on svg{stroke:#1B4B8F;fill:#EEF4FC}
  .m-f-btn.on span{color:#1B4B8F;font-weight:600}
  /* 复制成功的一次性回执态（仅变色，不填色——与「已收藏」区分开） */
  .m-f-btn.ok svg{stroke:#1B4B8F}
  .m-f-btn.ok span{color:#1B4B8F}
  /* ★2026-11-01 赵律师令「收藏、复制、顶部、咨询窗口可以全站适用」：
     底条由文章页提为全站组件（layout 统一输出），这里给页面底部留出它的高度，
     否则每页最后一行内容会压在底条下面。只在挂了底条的页面上生效（body.has-mfoot）。 */
  body.has-mfoot{padding-bottom:calc(64px + env(safe-area-inset-bottom))!important}
  /* 收藏页 / 提问页这类工具页不挂收藏按钮时，用 nofav 省掉那一格宽度 */
  .m-foot.nofav [data-fav-toggle]{display:none}

  /* ⑤ 收藏提示
     ★2026-11-01 赵律师「多余」：带链接的提示里，末尾箭头被挤到第二行。
       根因是 fixed+left:50% 的包含块只剩右半屏（可用宽度约半屏），
       shrink-to-fit 按半屏算宽度 ⇒ 文案折行。
       修法：显式 width:max-content（按内容整行取宽），max-width 用 100vw 兜底。
     同时去掉末尾的「›」——收藏二字已是链接，箭头纯属多余。 */
  .m-toast{
    display:block;position:fixed;left:50%;bottom:76px;z-index:70;
    transform:translateX(-50%) translateY(8px);background:rgba(17,24,39,.93);
    color:#fff;font-size:13px;padding:8px 16px;border-radius:999px;opacity:0;
    pointer-events:none;transition:.22s;white-space:nowrap;
    width:max-content;max-width:calc(100vw - 32px);
  }
  .m-toast.on{opacity:1;transform:translateX(-50%) translateY(0)}
  /* 可点态：放开 pointer-events（默认 none，否则点不到） */
  .m-toast.tap{pointer-events:auto!important;cursor:pointer;
    padding:10px 18px;white-space:normal;
    width:max-content;max-width:calc(100vw - 32px);
    text-align:center;line-height:1.5}
  .m-toast.tap a{color:#fff!important;font-weight:600;text-decoration:underline;
    text-underline-offset:2px;white-space:nowrap}
  .m-toast.tap:active{background:rgba(17,24,39,.95)}
}

/* ⑥ 我的收藏页（/shoucang/）—— PC 与手机通用 */
.fav-head{padding:26px 0 4px}
.fav-head h1{font-size:21px;font-weight:700;color:#111827;margin:0}
.fav-head p{font-size:12.5px;color:#9aa0a8;margin:8px 0 0;line-height:1.75}
.fav-list{list-style:none;padding:0;margin:10px 0 0}
.fav-item{border-bottom:1px solid #f0f1f4;padding:14px 0}
.fav-item:last-child{border-bottom:none}
.fav-item a{display:block;font-size:16px;font-weight:600;color:#111827;
  line-height:1.55;text-decoration:none}
.fav-item a:hover{color:#1B4B8F}
.fav-item .fi-d{font-size:11.5px;color:#9aa0a8;margin-top:6px;display:flex;
  align-items:center;gap:12px}
.fav-item .fi-x{border:0;background:none;color:#9aa0a8;font-size:11.5px;
  cursor:pointer;padding:0;text-decoration:underline}
/* ★2026-10-31 赵律师：每条右侧加「复制链接」（红圈位置）。
   min-width 是防抖动——文字由「复制链接」切到「已复制」时行宽不能跳。 */
.fav-item .fi-c{border:0;background:none;color:#1B4B8F;font-size:11.5px;
  cursor:pointer;padding:0;min-width:4.6em;text-align:left;
  -webkit-tap-highlight-color:transparent}
.fav-item .fi-c.done{color:#16a34a}
.fav-empty{padding:64px 0;text-align:center}
.fav-empty b{display:block;font-size:17px;color:#374151;font-weight:600}
.fav-empty span{display:block;font-size:13px;color:#9aa0a8;margin-top:10px;
  line-height:1.85}
.fav-note{margin:28px 0 0;font-size:11.5px;color:#a9abb4;line-height:1.8}
/* 收藏页顶部引导条：浅蓝底＋左竖条，与站内 .moat-bar/.sf-lead 同一语言 */
.fav-tip{display:flex;gap:11px;margin:16px 0 0;padding:13px 14px;
  background:#F0F7FF;border:1px solid #cfe1f7;border-left:4px solid #1B4B8F;
  border-radius:0 10px 10px 0}
.fav-tip .ft-ic{flex:0 0 auto;width:20px;height:20px;margin-top:1px;color:#1B4B8F}
.fav-tip .ft-ic svg{width:20px;height:20px;fill:none;stroke:currentColor;
  stroke-width:1.7;stroke-linejoin:round}
.fav-tip .ft-tx{min-width:0}
.fav-tip b{display:block;font-size:13.5px;font-weight:600;color:#12356B;line-height:1.5}
.fav-tip span{display:block;font-size:12.5px;color:#4b5563;line-height:1.85;margin-top:5px}
.fav-tip .ft-why{color:#6b7280;margin-top:6px}
/* 两条操作说明：窄屏各占一行，宽屏并排（否则 PC 上提示框右侧空出半屏） */
.fav-tip .ft-way{display:block;margin-top:0}
@media(min-width:721px){
  .fav-tip .ft-way{display:inline-block}
  .fav-tip .ft-way+.ft-way{margin-left:30px}
}
/* 列表标题在手机端被 @media 里的 a{color:品牌蓝!important} 染蓝了，PC 却是近黑。
   统一成近黑：条目是标题，不是一串链接；按住时才变蓝。 */
@media(max-width:720px){
  .fav-item a{color:#111827!important}
  .fav-item a:active{color:#1B4B8F!important}
  .fav-tip{padding:12px 13px;gap:9px}
}
