/* Wave 4: dense Facebook-Ads-style control desk, isolated to Funnel OS */
.lmf-shell .lmf-classic-table,.lmf-shell .lmf-split-tables>section{background:#fff;border:1px solid #e1e9e4;border-radius:14px;overflow:hidden}
.lmf-shell .lmf-table-wrap{border:0;border-radius:0;overflow:auto;max-height:66vh;scrollbar-gutter:stable}
.lmf-shell .lmf-table{min-width:1320px;width:100%;border-collapse:collapse;table-layout:auto}
.lmf-shell .lmf-table th{position:sticky;top:0;z-index:4;background:#f3f6f4;white-space:nowrap;color:#596960;font-size:10px;letter-spacing:.05em;box-shadow:0 1px 0 #dae5de}
.lmf-shell .lmf-table th.lmf-resizable{resize:horizontal;overflow:auto;min-width:110px}
.lmf-shell .lmf-table td{min-width:100px;max-width:360px;font-size:12px;line-height:1.42}
.lmf-shell .lmf-table td.lmf-maincol{min-width:290px;width:370px}
.lmf-shell .lmf-table td.lmf-maincol>b{font-weight:800;font-size:12px;color:#18241b;overflow-wrap:anywhere}
.lmf-shell .lmf-table td small{margin:4px 0;color:#808e84;line-height:1.4}
.lmf-shell .lmf-table td b{font-weight:790;color:#24382b}
.lmf-shell .lmf-table tr:hover td{background:#f4faf6}
.lmf-shell .lmf-table tr:has(input:checked) td{background:#edf8f1}
.lmf-shell .lmf-table th.lmf-checkcol,.lmf-shell .lmf-table td.lmf-checkcol{width:38px;min-width:38px;max-width:38px;text-align:center}
.lmf-shell .lmf-table td.lmf-checkcol input{width:16px;height:16px;accent-color:#168f5f;cursor:pointer}
.lmf-shell .lmf-table td.lmf-actions{min-width:122px;white-space:normal}
.lmf-shell .lmf-table td.lmf-actions button{display:inline-flex;margin:2px 3px 2px 0;font-size:10px;padding:6px 9px}
.lmf-shell .lmf-table td details{margin:7px 0 0;font-weight:450}
.lmf-shell .lmf-table td summary{cursor:pointer;color:#16825c;font-size:10px;font-weight:710}
.lmf-shell .lmf-table td details p{margin:7px 0 0;max-height:190px;overflow:auto;white-space:pre-wrap;line-height:1.45;color:#495d50}
.lmf-shell .lmf-inline-tag{display:inline-block;background:#edf3ee;border-radius:6px;padding:3px 6px;font-size:10px;font-weight:730}
.lmf-shell .lmf-risk{color:#b36919!important;font-weight:790}
.lmf-shell .lmf-state{display:inline-flex;border:1px solid #dbe5de;border-radius:7px;padding:4px 6px;background:#f8faf8;font-size:10px;font-weight:760}
.lmf-shell .lmf-table-controls{padding:10px 12px;background:#fff;display:flex;align-items:center;flex-wrap:wrap;gap:8px;border-bottom:1px solid #e8eeea}
.lmf-shell .lmf-table-controls strong{color:#14271b}
.lmf-shell .lmf-table-controls span{font-size:11px;font-weight:790;color:#294032}
.lmf-shell .lmf-table-controls small{font-size:10px;color:#87968b;margin-left:auto}
.lmf-shell .lmf-table-controls select{width:auto;min-width:130px;height:33px}
.lmf-shell .lmf-table-pages{background:#f7faf8;padding:9px;gap:8px;display:flex;flex-wrap:wrap}
.lmf-shell .lmf-table-pages .lmf-table-controls{border:1px solid #e1eae4;border-radius:10px;flex:1 1 280px;justify-content:flex-start}
.lmf-shell .lmf-split-tables{display:flex;flex-wrap:nowrap;align-items:stretch;gap:13px;overflow-x:auto;scroll-snap-type:x proximity;padding-bottom:12px}
.lmf-shell .lmf-split-tables>section{flex:0 0 min(700px,86vw);min-width:500px;scroll-snap-align:start}
.lmf-shell .lmf-split-tables .lmf-table-wrap{max-height:65vh}
.lmf-shell .lmf-split-tables .lmf-table{min-width:1250px}
.lmf-shell .lmf-split-head{position:sticky;top:0;background:#fff;z-index:5}
.lmf-shell .lmf-lane-body{max-height:65vh;overflow-y:auto;overscroll-behavior-y:contain;scrollbar-width:thin}
.lmf-shell .lmf-card-title{display:flex;gap:8px;align-items:flex-start;justify-content:space-between}
.lmf-shell .lmf-card-title h4{margin:7px 0}
.lmf-shell .lmf-card-title>input{width:17px;height:17px;flex:0 0 17px;margin-top:9px;accent-color:#168f5f}
.lmf-shell .lmf-card-tags .lmf-risk{background:#fff2db}
.lmf-shell .lmf-card-text{padding:8px 0;border-top:1px solid #edf1ee}
.lmf-shell .lmf-card-text summary{color:#117b56;font-size:11px;font-weight:750;cursor:pointer}
.lmf-shell .lmf-card-text p{font-size:11px;line-height:1.55;white-space:pre-wrap;overflow-wrap:anywhere;max-height:215px;overflow:auto}
.lmf-shell .lmf-compact .lmf-card>p{display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}
.lmf-shell .lmf-compact .lmf-card-text{display:block}
.lmf-shell .lmf-controls button[data-lmf-action=queue-batch]{background:#138e62!important;color:#fff;border-color:#138e62}
.lmf-shell button:focus-visible,.lmf-shell input:focus-visible{outline:2px solid #278fd0;outline-offset:2px}
@media(max-width:900px){.lmf-shell .lmf-lanes{scroll-padding-left:4px}.lmf-shell .lmf-lane-body{max-height:66vh}.lmf-shell .lmf-split-tables>section{min-width:85vw;flex-basis:85vw}.lmf-shell .lmf-table-wrap{max-height:70vh}.lmf-shell .lmf-table th,.lmf-shell .lmf-table td{padding:10px 9px}}
@media(max-width:500px){.lmf-shell .lmf-table-pages .lmf-table-controls{flex-basis:100%}.lmf-shell .lmf-views{width:100%;flex-wrap:nowrap;overflow-x:auto}.lmf-shell .lmf-views button{flex:0 0 auto;font-size:11px}.lmf-shell .lmf-controls{gap:6px}.lmf-shell .lmf-controls button{flex:1 1 auto}}
