/* review.css — 条文智能审查（网页版） */
.lr-wrap { max-width: 960px; margin: 0 auto; font-family: -apple-system, "PingFang SC", "Microsoft YaHei", sans-serif; color: #222; }
.lr-hero { background: #f4f7fb; border: 1px solid #e2e8f2; border-radius: 14px; padding: 18px 22px; margin-bottom: 16px; }
.lr-hero h2 { margin: 0 0 6px; font-size: 20px; color: #1257a6; }
.lr-hero p { margin: 0; font-size: 13px; color: #5a6577; line-height: 1.7; }
.lr-name { width: 100%; box-sizing: border-box; padding: 9px 12px; border: 1px solid #d5dde8; border-radius: 8px; font-size: 14px; margin-bottom: 10px; }
.lr-ta { width: 100%; box-sizing: border-box; min-height: 220px; padding: 12px 14px; border: 1px solid #d5dde8; border-radius: 10px; font-size: 14px; line-height: 1.8; font-family: inherit; resize: vertical; }
.lr-ta:focus, .lr-name:focus { outline: none; border-color: #1257a6; }
.lr-bar { display: flex; gap: 10px; margin: 12px 0 6px; flex-wrap: wrap; }
.lr-btn { padding: 9px 18px; border-radius: 8px; border: 1px solid #c9d4e4; background: #fff; font-size: 14px; cursor: pointer; }
.lr-btn:hover { border-color: #1257a6; color: #1257a6; }
.lr-btn.pri { background: #1257a6; border-color: #1257a6; color: #fff; font-weight: 600; }
.lr-btn.pri:hover { background: #0e4686; color: #fff; }
.lr-btn:disabled { opacity: .6; cursor: default; }

.lr-toast { position: fixed; left: 50%; bottom: 40px; transform: translateX(-50%) translateY(20px); background: rgba(20,28,40,.92); color: #fff; padding: 10px 22px; border-radius: 22px; font-size: 14px; opacity: 0; pointer-events: none; transition: all .25s; z-index: 9999; }
.lr-toast.show { opacity: 1; transform: translateX(-50%) translateY(0); }

.lr-empty { background: #fff; border: 1px dashed #ccd6e4; border-radius: 12px; padding: 30px 24px; text-align: center; color: #6b7688; font-size: 14px; line-height: 2; }
.lr-stats { display: flex; flex-wrap: wrap; gap: 10px; margin: 16px 0; }
.lr-s { background: #fff; border: 1px solid #e2e8f2; border-radius: 10px; padding: 8px 14px; font-size: 13px; color: #5a6577; }
.lr-s b { font-size: 18px; color: #1c2432; margin-right: 4px; }
.lr-s.e b { color: #d63b3b; }
.lr-s.w b { color: #d68f2f; }
.lr-s.c b, .lr-s.u b { color: #1257a6; }
.lr-s.d b { color: #7a3bd6; }

.lr-sec { background: #fff; border: 1px solid #e7edf5; border-radius: 12px; padding: 16px 20px; margin-bottom: 14px; }
.lr-sec h3 { margin: 0 0 10px; font-size: 16px; color: #1c2432; border-left: 4px solid #1257a6; padding-left: 10px; }
.lr-cat { margin: 10px 0 14px; }
.lr-cat > b { font-size: 14px; color: #333e50; }
.lr-it { display: flex; flex-wrap: wrap; gap: 6px 10px; align-items: baseline; padding: 8px 0 8px 14px; border-bottom: 1px dashed #eef2f8; font-size: 14px; }
.lr-it:last-child { border-bottom: none; }
.lr-loc { color: #1257a6; font-size: 12px; background: #eef4fc; border-radius: 5px; padding: 1px 8px; white-space: nowrap; }
.lr-raw { color: #b33; text-decoration: line-through; text-decoration-color: rgba(187,51,51,.5); }
.lr-sug { color: #1a8f3c; font-weight: 600; }
.lr-msg { color: #67728a; font-size: 13px; flex-basis: 100%; }
.lr-more { padding: 8px 14px; font-size: 12px; color: #8a93a5; }

.lr-cite { border-bottom: 1px dashed #eef2f8; padding: 10px 0; }
.lr-cite:last-child { border-bottom: none; }
.lr-ch { display: flex; align-items: center; gap: 10px; font-size: 14px; }
.lr-ch b { font-weight: 600; color: #1c2432; }
.lr-ch i { font-style: normal; font-size: 12px; border-radius: 5px; padding: 1px 8px; }
.lr-ch i.ok { background: #e8f6ec; color: #1a8f3c; }
.lr-ch i.missing, .lr-ch i.bad { background: #fdeaea; color: #d63b3b; }
.lr-ch i.overrange, .lr-ch i.noart { background: #fdf3e4; color: #d68f2f; }
.lr-cb { margin-top: 6px; font-size: 13px; color: #5a6577; background: #f7f9fc; border-left: 3px solid #c9d9ef; padding: 6px 10px; line-height: 1.7; }
.lr-cd { margin-top: 4px; font-size: 12px; color: #98a2b3; }

.lr-dsum { font-size: 13px; color: #4a5464; margin-bottom: 8px; }
.lr-dt { border-left: 4px solid #e0a33a; padding: 8px 12px; margin: 8px 0; background: #fffdf6; border-radius: 0 8px 8px 0; }
.lr-dt.high { border-left-color: #d63b3b; background: #fff7f7; }
.lr-dh { display: flex; align-items: center; gap: 10px; font-size: 14px; }
.lr-dh b { font-weight: 600; }
.lr-dh i { font-style: normal; font-size: 12px; background: #eef2f8; border-radius: 5px; padding: 1px 8px; color: #5a6577; }
.lr-dt.high .lr-dh i { background: #fdeaea; color: #d63b3b; }
.lr-dh u { text-decoration: none; font-size: 12px; color: #1257a6; background: #eef4fc; border-radius: 5px; padding: 1px 8px; }
.lr-dm { margin-top: 5px; font-size: 13px; color: #4a5464; line-height: 1.7; }
.lr-dv { margin-top: 5px; font-size: 13px; color: #67728a; line-height: 1.7; }
.lr-dv b { color: #1257a6; font-size: 12px; margin-right: 6px; }

.lr-none { color: #6b7688; font-size: 14px; padding: 6px 0; }
.lr-foot { margin: 20px 0 40px; }
.lr-foot .lr-b { margin-right: 10px; margin-bottom: 10px; }
.lr-tip { font-size: 12px; color: #8a93a5; line-height: 1.8; }

/* ===== 页签 ===== */
.lr-tabs { display: flex; gap: 8px; margin: 18px 0 14px; }
.lr-tab { padding: 9px 20px; border-radius: 10px 10px 0 0; border: 1px solid #dbe3ee; border-bottom: none; background: #f4f7fb; color: #5a6577; font-size: 14px; cursor: pointer; }
.lr-tab.on { background: #1257a6; border-color: #1257a6; color: #fff; font-weight: 600; }
.lr-lb { display: inline-block; font-size: 12px; color: #1257a6; background: #eef4fc; border-radius: 5px; padding: 1px 8px; margin-right: 8px; vertical-align: top; }
.lr-lb.pen { color: #7c5a12; background: #fbf3e2; }
.lr-cite.badrow .lr-ch i { background: #fdeaea; color: #d63b3b; }
.lr-cite.badrow { border-left: 3px solid #d63b3b; padding-left: 10px; }
.lr-cmp-actions { margin-top: 14px; }

/* ===== 修订对照表 ===== */
.lr-cmp-hero { background: #f4f7fb; border: 1px solid #e2e8f2; border-radius: 14px; padding: 18px 22px; margin: 34px 0 14px; }
.lr-cmp-hero h2 { margin: 0 0 6px; font-size: 20px; color: #1257a6; }
.lr-cmp-hero p { margin: 0; font-size: 13px; color: #5a6577; line-height: 1.7; }
.lr-cmp-tip { font-size: 13px; color: #5a6577; margin-bottom: 10px; line-height: 1.7; }
.lr-cmp-slots { display: flex; gap: 10px; flex-wrap: wrap; }
.lr-cmp-slot { flex: 1; min-width: 220px; background: #fff; border: 1px dashed #c9d4e4; border-radius: 12px; padding: 14px 16px; cursor: pointer; }
.lr-cmp-slot.has { border-style: solid; border-color: #b9d3ef; background: #f6fafd; }
.lr-cmp-slot.sel { box-shadow: 0 0 0 2px rgba(18,87,166,.25); }
.lr-cmp-slot b { display: inline-block; font-size: 13px; color: #1257a6; background: #eef4fc; border-radius: 6px; padding: 2px 12px; }
.lr-cmp-slot span { display: block; margin-top: 8px; font-size: 14px; font-weight: 600; color: #1c2432; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.lr-cmp-slot u { display: block; margin-top: 4px; font-size: 12px; color: #8a93a5; text-decoration: none; }
.lr-cmp-bar { display: flex; align-items: center; justify-content: space-between; margin: 14px 0 10px; font-size: 13px; color: #5a6577; }
.lr-cmp-only { cursor: pointer; user-select: none; }
.lr-aimsg { background: #f2f7fd; color: #1257a6; border-radius: 8px; padding: 9px 14px; font-size: 13px; margin: 10px 0; line-height: 1.7; }
.lr-aimsg.dim { color: #7c8798; background: #f5f7fa; }
.lr-cmp-tbl { border: 1px solid #e2e8f2; border-radius: 10px; overflow: hidden; }
.lr-cmp-tr { display: flex; border-bottom: 1px solid #eef2f8; font-size: 13px; line-height: 1.8; background: #fff; }
.lr-cmp-tr:last-child { border-bottom: none; }
.lr-cmp-th { background: #1257a6; color: #fff; font-weight: 600; }
.lr-cmp-th div { text-align: center; padding: 9px 8px; }
.lr-cmp-tr > div { flex: 1.1; padding: 10px 12px 10px 6px; color: #333c4c; word-break: break-all; min-width: 0; }
.lr-cmp-tr > div.lr-crs { flex: 1.3; color: #4a5464; }
.lr-cmp-tr.s-del > div { color: #8a93a5; }
.lr-ctag { display: inline-block; font-size: 12px; color: #1257a6; background: #eef4fc; border-radius: 5px; padding: 1px 10px; }
.lr-cdel { background: #e7e7e7; border: 1px solid #9aa4b2; border-radius: 3px; padding: 0 3px; color: #333c4c; }
.lr-cf { font-weight: 700; color: #111; }
.lr-r2h { color: #1c2432; }
.lr-dim { color: #b3bac6; }

/* 与「征求意见汇总处理」页互跳 */
.lr-xlink { display: flex; gap: 10px; align-items: baseline; flex-wrap: wrap; margin: 0 0 14px; padding: 10px 14px; background: #eef4fb; border-left: 3px solid #1257a6; border-radius: 0 8px 8px 0; }
.lr-xlink a { color: #1257a6; font-size: 13.5px; font-weight: 600; text-decoration: none; }
.lr-xlink a:hover { text-decoration: underline; }
.lr-xlink span { font-size: 12px; color: #6b7688; }

/* 转引条文 / 上位法条文小标题：法名+条号单列一行 */
.lr-ref { display: block; font-weight: 600; color: #243a57; font-size: 12px; margin-bottom: 1px; }

/* 义务—罚则逐条清单：一条一行，点击展开 */
.lr-flt { display: flex; gap: 8px; margin: 8px 0 10px; flex-wrap: wrap; }
.lr-fl { font-size: 12.5px; padding: 4px 12px; border-radius: 14px; background: #eef3fa; color: #48607f; cursor: pointer; }
.lr-fl.on { background: #1257a6; color: #fff; }
.lr-dr { border-left: 3px solid #d5dde8; background: #fff; padding: 8px 12px 7px; margin-bottom: 7px; border-radius: 6px; cursor: pointer; }
.lr-dr.ok { border-left-color: #4a9c6d; }
.lr-dr.sim { border-left-color: #d9a13b; }
.lr-dr.none { border-left-color: #d63b3b; }
.lr-dr-h { display: flex; align-items: baseline; justify-content: space-between; gap: 10px; }
.lr-dr-h b { font-size: 13.5px; color: #1c2432; }
.lr-dr-h i { font-style: normal; font-size: 11.5px; color: #5a6577; }
.lr-dr.none .lr-dr-h i { color: #c0392b; }
.lr-dr.sim .lr-dr-h i { color: #a4711a; }
.lr-dr-t { font-size: 13px; line-height: 1.6; color: #2f3c4e; margin-top: 3px; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.lr-dr-p { font-size: 11.5px; color: #6b7c93; margin-top: 3px; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
