.inventory-adjustments,.user-monitor-v2{min-width:0;max-width:100%}
.ia-scroll{overflow:auto;max-width:100%;margin:16px 0;border:1px solid var(--border,#dce2e9);border-radius:8px}
.ia-table{border-collapse:collapse;width:100%;min-width:1000px;text-align:left}
.ia-table th,.ia-table td{padding:10px 12px;border-bottom:1px solid var(--border,#dce2e9);vertical-align:top}
.ia-table th{position:sticky;top:0;background:var(--panel,#f4f6f9);color:var(--text,#243443);z-index:1}
.ia-history-table thead{position:sticky;top:0;z-index:2}.ia-history-table th{position:static}
.ia-history-table .ia-filter-row th{padding:6px 8px;background:var(--panel,#f4f6f9)}
.ia-history-table .ia-column-filter{box-sizing:border-box;width:100%;min-width:120px;min-height:40px;font:inherit;padding:8px;border:1px solid var(--border,#cbd5e1);border-radius:6px;background:var(--bg,#fff);color:var(--text,#243443)}
.ia-history-table .ia-column-filter:focus-visible{outline:2px solid #2563eb;outline-offset:1px}
.ia-history-table th:nth-child(2){min-width:240px}.ia-history-table th:nth-child(8){min-width:200px}
@media(max-width:600px){.ia-history-table .ia-column-filter{min-height:44px;font-size:16px}}
.ia-table .ia-product{min-width:240px}.ia-table .ia-qty{width:130px}.ia-table .ia-date{min-width:150px}
.ia-table .ia-color{min-width:150px;min-height:44px;font:inherit}.ia-table .ia-color:focus-visible{outline:2px solid #2563eb;outline-offset:2px}
.ia-table .ia-note{min-width:230px;width:230px;min-height:64px;resize:vertical;font:inherit}.ia-note-text{min-width:200px;max-width:360px;white-space:pre-wrap;overflow-wrap:anywhere}
.inventory-adjustments .ia-table th:last-child,.inventory-adjustments .ia-table td:last-child{min-width:160px}.ia-table .ia-apply{white-space:nowrap}
.ia-table small{display:block;margin-top:6px;max-width:330px;white-space:normal}.ia-row-status{min-height:18px}
.inventory-adjustments .btn,.user-monitor-v2 .btn{min-height:44px;margin:2px;transition:transform .12s,background-color .12s}
.inventory-adjustments .btn:active,.user-monitor-v2 .btn:active{transform:translateY(1px)}
.ia-toolbar{display:flex;align-items:center;gap:8px;flex-wrap:wrap}.ia-error{color:#a82121}
.um-filters{display:grid;grid-template-columns:repeat(auto-fit,minmax(160px,1fr));gap:12px;margin:16px 0}
.um-filters label{display:flex;flex-direction:column;gap:6px}.um-entry{border-bottom:1px solid var(--border,#dce2e9);padding:14px 0;overflow-wrap:anywhere}
.um-detail{white-space:pre-wrap;overflow-wrap:anywhere;max-height:65vh;overflow:auto;font:13px/1.6 monospace;background:var(--panel,#f4f6f9);padding:12px}
.um-dialog{width:min(1000px,calc(100% - 32px));border:1px solid #cad1dc;border-radius:12px;padding:20px;max-height:90vh}.um-dialog::backdrop{background:#0006}
.um-summary{font-size:16px;font-weight:600;margin:8px 0}.um-dialog{box-sizing:border-box;color:var(--text,#243443);background:var(--panel,#fff);overflow:auto}.um-dialog .btn,.um-technical summary{min-height:44px}.um-technical summary{cursor:pointer;display:list-item;padding:10px 0}.um-technical{margin-top:12px}.um-changes{border:1px solid var(--border,#dce2e9);border-radius:8px;overflow:hidden}.um-change{display:grid;grid-template-columns:1fr 1.3fr 1.3fr;border-bottom:1px solid var(--border,#dce2e9)}.um-change:last-child{border:0}.um-change>*{padding:10px;min-width:0;overflow-wrap:anywhere;white-space:pre-wrap}.um-change small{display:none}.um-change-head{background:var(--panel,#f4f6f9)}.um-filters .select{max-width:100%}
@media(max-width:600px){.um-change{grid-template-columns:1fr}.um-change-head{display:none}.um-change small{display:inline;font-weight:600}.um-change>*{padding:6px 10px}.um-dialog{padding:14px}}
@media(max-width:600px){.ia-table th,.ia-table td{padding:8px}.um-filters{grid-template-columns:1fr}.ia-toolbar{gap:6px}}
@media(prefers-reduced-motion:reduce){.inventory-adjustments .btn,.user-monitor-v2 .btn{transition:none}}
