/* Shared record views remain available when Matrices Automations is stopped. */
.product-picker { min-width: 0; }
.product-picker .product-search { margin: 0; cursor: text; }
.product-options { margin-top: 4px; max-height: 230px; overflow-y: auto; border: 1px solid var(--border-strong); border-radius: 5px; background: var(--surface); }
.product-option, .product-empty { padding: 8px 10px; line-height: 1.4; white-space: normal; }
.product-option { cursor: pointer; }
.product-option[aria-selected=true] { background: var(--surface-hover); box-shadow: inset 3px 0 var(--focus); }
.product-empty { color: var(--muted); }
.operations-table td { height: 56px; padding-top: 0; padding-bottom: 0; vertical-align: middle; white-space: nowrap; }
.operations-table td button { margin-bottom: 0; }
.operations-table .operation-cell-text { display: inline-block; max-width: 20rem; overflow: hidden; text-overflow: ellipsis; vertical-align: middle; }
.operations-table .operation-cell-text.error, .operations-table .operation-cell-text.hint { margin-left: 8px; }
.matrix-status { display: inline-flex; align-items: center; gap: 6px; white-space: nowrap; padding: 4px 8px; border: 1px solid; border-radius: 4px; font-size: 12px; font-weight: 600; }
.matrix-status::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: currentColor; flex-shrink: 0; }
.matrix-status.matrix-failed, .matrix-status.matrix-deleted, .matrix-status.matrix-poster_missing { background: var(--danger-soft); color: var(--danger); border-color: var(--danger-border); }
.matrix-status.matrix-pending { background: var(--pending-soft); color: var(--pending); border-color: var(--pending-border); }
.matrix-status.matrix-posted { background: var(--posted-soft); color: var(--posted); border-color: var(--posted-border); }
#matrix-record-dialog { width: 560px; max-width: calc(100vw - 80px); border-radius: 6px; }
#matrix-record-dialog dl { display: grid; grid-template-columns: 125px minmax(0, 1fr); gap: 6px 14px; }
#matrix-record-dialog dt, #matrix-record-dialog dd { margin: 0; }
