/* A batch occupies one row until the reader opens it. Only the list scrolls. */
.action-batch { margin-top: 14px; min-width: 0; border: 1px solid var(--line); border-radius: 10px; background: var(--surface); }
.action-batch summary { display: flex; align-items: center; gap: 8px; min-height: 44px; padding: 8px 12px; cursor: pointer; list-style: none; color: var(--ink); }
.action-batch summary::-webkit-details-marker { display: none; }
.action-batch summary:hover { background: var(--hover); }
.action-batch summary:focus-visible { outline: 2px solid var(--olive); outline-offset: -3px; }
.action-batch > summary { border-radius: 9px; font-size: 14px; }
.action-batch > summary > strong { flex: 1; font-weight: 600; }
.action-batch summary > .icon { flex-shrink: 0; color: var(--muted); }
.action-batch-review, .action-batch-hide { color: var(--olive-ink); font-weight: 550; }
.action-batch:not([open]) .action-batch-hide, .action-batch[open] .action-batch-review { display: none; }
.action-batch[open] > summary > .icon:last-child, .action-batch-row[open] > summary > .icon { transform: rotate(180deg); }
.action-batch-list { max-height: min(44dvh, 24rem); overflow-y: auto; border-top: 1px solid var(--line); }
.action-batch-row + .action-batch-row { border-top: 1px solid var(--line); }
.action-batch-row > summary { flex-wrap: wrap; gap: 2px 8px; font-size: 14px; line-height: 1.4; }
.action-batch-what { flex: 1 1 10rem; min-width: 0; overflow-wrap: anywhere; }
.action-batch-row:not([open]) .action-batch-what { display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.action-batch-state { font-size: 12px; color: var(--muted); overflow-wrap: anywhere; }
.action-batch-state:empty { display: none; }
.action-batch-row .action-card { margin: 0 8px 8px; padding: 8px 10px; animation: none; }
.action-batch-row .action-card-what { display: none; }
