#desk-results { min-width: 0; }
#desk-scopes { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }
#desk-scopes [aria-pressed=true] { color: var(--op-green); border-color: var(--op-green); }
.directory-state { display: inline-flex; align-items: center; gap: 6px; }
.directory-state::before { content: ""; width: 7px; height: 7px; flex: none; border-radius: 50%; background: var(--op-control); }
.directory-state.done::before { background: var(--op-green); }
.directory-state.review::before { background: var(--op-error); }
.directory-state.wait::before { background: #ad730c; }
#desk-selection:not(:empty) { padding-block: 6px; border-block: 1px solid var(--op-line); }
#desk-selection .op-option { white-space: nowrap; }
.batch-coin-filter { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.batch-coin-filter .op-option { grid-column: 1 / -1; }
.batch-coin-filter input { min-width: 0; }
#desk-export-options { display: grid; justify-items: start; gap: 16px; margin: 16px 0; }
dialog:has(.batch-flow) { width: min(740px, calc(100% - 24px)); max-width: none; max-height: 94svh; overflow: hidden; padding: 22px; }
.batch-flow { min-width: 0; display: flex; flex-direction: column; max-height: calc(94svh - 44px); }
.batch-flow > :not(.batch-body) { flex-shrink: 0; }
.batch-body { min-height: 0; overflow-y: auto; overscroll-behavior: contain; }
.batch-flow h2:focus { outline: none; }
.batch-flow .batch-reason { padding: 0; margin: 0; border: 0; }
.batch-flow .batch-reason summary { color: var(--op-green); font-size: inherit; font-weight: 400; cursor: pointer; }
.batch-flow h2 { margin: 8px 0 16px; }
.batch-flow .batch-steps { color: var(--op-muted); font-size: 13px; }
.batch-steps span { padding-inline: 6px; color: var(--op-control); }
.batch-steps strong { color: var(--op-green); }
.batch-flow fieldset { margin: 12px 0; padding: 12px; border: 1px solid var(--op-line); border-radius: 6px; }
.batch-flow .check-label { min-height: 36px; }
.batch-flow .dialog-actions { flex-wrap: wrap; margin-top: 12px; padding-top: 12px; border-top: 1px solid var(--op-line); }
.batch-flow textarea { width: 100%; padding: 10px; resize: vertical; }
.batch-flow #batch-file { max-width: 100%; min-height: 66px; padding: 16px; background: var(--op-wash); border: 1px dashed var(--op-control); }
.batch-modes, .batch-filter-list, .batch-pager { display: flex; align-items: center; flex-wrap: wrap; gap: 6px; }
.batch-modes { margin-bottom: 16px; }
.batch-filter-list { margin-block: 12px 8px; }
.batch-filter-list button, .batch-modes button { color: var(--op-muted); background: white; }
.batch-filter-list [aria-pressed=true], .batch-modes [aria-pressed=true] {
  color: var(--op-green); border-color: var(--op-green); background: var(--op-wash); font-weight: 600;
}
.batch-summary { padding: 12px 14px; background: var(--op-wash); border-radius: 6px; }
.batch-summary strong { font-size: 20px; font-variant-numeric: tabular-nums; }
.batch-flow .batch-table { width: 100%; min-width: 0; border-collapse: collapse; table-layout: fixed; font-size: 14px; }
.batch-table th, .batch-table td { padding: 7px 8px; text-align: left; overflow-wrap: anywhere; border-bottom: 1px solid var(--op-line); }
.batch-table th { color: var(--op-muted); font-size: 13px; }
.batch-table th:last-child { width: 35%; }
.batch-table th:first-child:nth-last-child(4) { width: 12%; }
.batch-table small { display: block; color: var(--op-muted); font-size: 12px; font-variant-numeric: tabular-nums; }
.batch-pager { justify-content: flex-end; margin-block: 8px; font-size: 13px; }
.batch-pager label { display: inline-flex; align-items: center; gap: 6px; }
.batch-pager input { width: 5em; margin: 0; }
#batch-error { color: var(--op-error); margin: 12px 0 0; }
#batch-error:empty { display: none; }
@media (max-width: 600px) {
  .batch-flow button { min-height: 44px; }
  .batch-flow .batch-table { font-size: 13px; }
  .batch-table th, .batch-table td { padding: 7px 3px; }
  .batch-flow .form-grid { grid-template-columns: 1fr; }
  .batch-flow input, .batch-flow select { min-width: 0; }
}
