.renumber-dialog { width: min(850px,calc(100vw - 32px)); max-height: 85vh; padding: 24px; border: 1px solid var(--line); border-radius: 12px; background: var(--surface); color: var(--text); }
.renumber-dialog::backdrop { background: #0008; }
.renumber-dialog p { margin: 14px 0; }
.renumber-table { max-height: 38vh; overflow: auto; }
.renumber-table table { width: 100%; table-layout: fixed; border-collapse: collapse; }
.renumber-table th,.renumber-table td { text-align: left; padding: 8px; border-bottom: 1px solid var(--line); font-size: .8125rem; overflow-wrap: anywhere; white-space: normal; }
.renumber-table th:first-child,.renumber-table th:nth-child(2) { width: 24%; }
.renumber-table th { position: sticky; top: 0; background: var(--surface); }
.renumber-table td:first-child,.renumber-table td:nth-child(2) { white-space: nowrap; font-variant-numeric: tabular-nums; }
.renumber-confirm { display: flex; align-items: start; gap: 10px; margin: 18px 0; font-size: .875rem; }
.renumber-confirm input { flex: 0 0 18px; width: 18px; min-height: 18px; margin-top: 2px; }
.renumber-actions { display: flex; flex-wrap: wrap; gap: 10px; padding: 8px 0; background: var(--surface); }
.renumber-dialog summary { cursor: pointer; font-size: .875rem; }
@media(max-width:600px) { .studio-ui .renumber-dialog { padding: 16px; } .renumber-table { max-height: 30vh; } .renumber-table th,.renumber-table td { padding: 8px 4px; } .renumber-table th:first-child,.renumber-table th:nth-child(2) { width: 27%; } }
