#dialog:has([data-observed-inventory]){width:min(1180px,96vw);max-width:96vw}
[data-observed-inventory] .table-wrap{overflow:auto;max-height:55vh;border:1px solid var(--line);border-radius:8px;margin:12px 0}
[data-observed-inventory] table{width:100%;border-collapse:collapse;min-width:760px}
[data-observed-inventory] th,[data-observed-inventory] td{text-align:left;padding:12px;border-bottom:1px solid var(--line);vertical-align:top;overflow-wrap:anywhere;max-width:360px}
[data-observed-inventory] th{position:sticky;top:0;background:white;z-index:1}
[data-observed-inventory] .tools{display:flex;gap:8px;flex-wrap:wrap;margin-top:12px}
[data-observed-inventory] .row-sub{display:block;margin:5px 0;color:var(--muted)}
[data-observed-inventory] td .button{margin:5px 5px 0 0}
