/* R1035: scope all styling to the visual statement assistant */
.lbv-root{display:grid;gap:13px;max-height:min(78vh,850px);overflow:auto;color:var(--ink,#241c2e)}
.lbv-section{background:var(--surface,#fff);border:1px solid #e6e0eb;border-radius:14px;padding:14px;min-width:0}
.lbv-grid2,.lbv-grid4{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}
.lbv-grid4{grid-template-columns:repeat(4,minmax(0,1fr))}
.lbv-root label{display:grid;gap:5px;font-size:12px;font-weight:700;min-width:0}
.lbv-root label input,.lbv-root label select{min-width:0;width:100%;min-height:38px;padding:7px 9px;border:1px solid #d8d0e0;border-radius:9px;background:#fff;color:#24202c;font-size:13px}
.lbv-note{font-size:12px;line-height:1.5;color:#605768;margin:9px 0 0}
.lbv-empty{font-size:14px;color:#594e61;text-align:center;padding:28px 15px;background:#f9f7fb}
.lbv-mapbar{display:flex;align-items:end;gap:12px;flex-wrap:wrap;margin-top:14px}
.lbv-mapbar label:first-child{flex:2 1 220px}.lbv-mapbar label:nth-child(2){flex:1 1 150px}
.lbv-help{font-size:12px;color:#61566a;flex:2 1 220px;padding-bottom:8px}
.lbv-pills{display:flex;gap:7px;flex-wrap:wrap;margin:12px 0}
.lbv-pill{border-radius:999px;padding:6px 10px;background:#eee7f5;border:1px solid #d4c5e4;color:#493061;font-size:12px;cursor:pointer}
.lbv-sheet-scroll,.lbv-preview{max-width:100%;overflow:auto;border-radius:10px;border:1px solid #e0dae8}
.lbv-sheet{border-spacing:0;font-size:12px;width:max-content;min-width:100%;border-collapse:separate}
.lbv-sheet th{position:sticky;top:0;background:#f2edf8;z-index:1;color:#4b3660;padding:8px 10px;white-space:nowrap;border-bottom:1px solid #dad3e1}
.lbv-sheet th:first-child{position:sticky;left:0;z-index:2}
.lbv-sheet td{padding:0;border-right:1px solid #f0edf3;border-bottom:1px solid #f0edf3;max-width:220px}
.lbv-sheet td button{display:block;border:0;background:transparent;text-align:left;padding:9px 11px;white-space:nowrap;text-overflow:ellipsis;overflow:hidden;min-height:36px;max-width:220px;width:100%;color:#302738;font-size:12px;cursor:crosshair}
.lbv-sheet td button:hover,.lbv-sheet td button:focus-visible{background:#e0d5f0;outline:2px solid #8460b3;outline-offset:-2px}
.lbv-sheet tbody th{top:auto;color:#65566e;min-width:46px}
.lbv-sheet tbody th button{border:0;background:transparent;cursor:pointer;padding:6px}
.lbv-header-row td{background:#f6f0fe}.lbv-header-row th{background:#e5dbf5}
.lbv-profile{display:flex;justify-content:space-between;align-items:center;gap:10px;border-top:1px solid #e8e0ee;padding:10px 0}
.lbv-profile:first-child{border-top:0}.lbv-profile small{display:block;font-size:12px;margin-top:3px;color:#6e6376}
.lbv-errors{border:1px solid #efb0b0;background:#fff3f1;border-radius:10px;color:#8d2929;padding:8px 13px;font-size:13px}
.lbv-errors p{margin:3px}.lbv-preview table{width:100%;min-width:600px;border-collapse:collapse;font-size:12px}
.lbv-preview td,.lbv-preview th{padding:8px;text-align:left;border-bottom:1px solid #eee8f3}
@media(max-width:720px){.lbv-grid2,.lbv-grid4{grid-template-columns:1fr}.lbv-section{padding:11px}.lbv-root{max-height:72vh}.lbv-mapbar{display:grid}.lbv-help{padding:0}}
