/* UTIL-021 Làm sạch danh sách — ô có số dòng (vẽ ảo theo vùng đang thấy), bước thao tác đánh số, tab kết quả. */
.lc-head{display:flex;flex-wrap:wrap;align-items:baseline;justify-content:space-between;gap:4px 10px;margin-bottom:6px}
.sou-page .lc-head>label{margin:0}
.lc-count{color:var(--sou-muted);font-size:14px;font-variant-numeric:tabular-nums}
.lc-editor{display:grid;grid-template-columns:auto minmax(0,1fr);border:1px solid #cfdcf2;border-radius:10px;background:#fff;overflow:hidden}
.lc-editor:focus-within{outline:2px solid #3869ed;outline-offset:2px}
.lc-gutter{position:relative;overflow:hidden;min-width:3.5ch;background:var(--sou-soft);border-right:1px solid var(--sou-line)}
.lc-gutter-in{position:absolute;top:0;right:0;left:0;padding:0 8px 0 6px;white-space:pre;text-align:right;color:var(--sou-muted);font-size:14px;line-height:24px;font-variant-numeric:tabular-nums;will-change:transform}
.sou-page .lc-editor textarea{display:block;width:100%;min-height:300px;height:300px;margin:0;padding:10px 12px;border:0;border-radius:0;line-height:24px;font-size:16px;white-space:pre;overflow:auto;resize:vertical}
.sou-page .lc-editor textarea:focus{outline:none}
.lc-mini{display:flex;flex-wrap:wrap;gap:2px 10px;margin-top:4px}
.sou-page .lc-ops{margin:0;padding:12px 16px 8px;border:1px solid var(--sou-line);border-radius:16px;background:#fbfcff;min-width:0}
.sou-page .lc-ops>legend{width:auto;margin:0;padding:0 6px;border:0;font-size:16px;font-weight:700;color:var(--sou-ink)}
.sou-page .lc-steps{margin:0 0 6px;padding-left:24px;list-style:decimal}
.sou-page .lc-steps>li{display:list-item;margin:0 0 4px}
.sou-page .lc-steps .sou-field{margin:6px 0 8px}
.lc-sub{margin:0 0 6px 30px;padding-left:10px;border-left:3px solid var(--sou-line)}
.lc-sub.is-off{opacity:.55}
.lc-sub .sou-check{min-height:44px;padding:6px 0}
.sou-page .lc-keep{margin:4px 0 0;padding:0;border:0;min-width:0}
.sou-page .lc-keep legend{width:auto;margin:0;padding:0;border:0;font-size:15px;font-weight:700;color:var(--sou-ink)}
.lc-actions{margin:16px 0 4px}
.lc-notes{margin:0 0 10px;padding:0;list-style:none;display:grid;gap:6px}
.lc-notes li{padding:8px 12px;border-radius:10px;background:var(--sou-warn-bg);color:var(--sou-warn);font-weight:700;font-size:15px}
.lc-result{margin-top:8px}
.lc-result.is-stale .lc-stats,.lc-result.is-stale .lc-editor,.lc-result.is-stale .lc-removed{opacity:.55}
.sou-page .lc-title{font-size:20px;margin:0 0 12px}
.lc-stats{grid-template-columns:repeat(auto-fit,minmax(110px,1fr));margin-bottom:14px}
.lc-tabs{display:flex;flex-wrap:wrap;gap:6px;border-bottom:1px solid var(--sou-line);margin-bottom:10px}
.lc-tabs [role=tab]{min-height:44px;padding:8px 14px;border:1px solid transparent;border-bottom:0;border-radius:10px 10px 0 0;background:transparent;color:var(--sou-muted);font:700 15px Arial,"Helvetica Neue",Helvetica,sans-serif;cursor:pointer;margin-bottom:-1px}
.lc-tabs [role=tab][aria-selected=true]{background:#fff;border-color:var(--sou-line);color:var(--sou-ink)}
.lc-removed{max-height:420px;overflow:auto}
.lc-removed td.lc-value{white-space:pre-wrap;overflow-wrap:anywhere}
.lc-removed td.lc-empty{color:var(--sou-muted);font-style:italic}
.lc-csv-opt{margin-top:8px}
.lc-result .sou-toolbar .sou-button{min-height:44px}
@media(max-width:600px){.lc-tabs{flex-wrap:nowrap}.lc-tabs [role=tab]{padding:8px 10px}.sou-page .lc-editor textarea{min-height:220px;height:220px}.lc-sub{margin-left:0}.lc-stats strong{font-size:20px}}
@media print{.lc-ops,.lc-mini,.lc-actions,.lc-tabs,.lc-csv-opt{display:none!important}}
