/* Review changes (review-changes.js): bottom-bar button and the list window. */
.editor-publish-actions .review-changes-open{min-width:170px;display:inline-flex;align-items:center;justify-content:center;gap:8px}
.review-changes-count{display:inline-grid;place-items:center;min-width:22px;height:22px;padding:0 6px;border-radius:11px;background:#10203f;color:#fff;font-size:12px;font-weight:800;box-sizing:border-box}
.review-changes{width:min(680px,calc(100vw - 32px));max-height:min(86vh,900px);box-sizing:border-box;padding:0;border:1px solid var(--studio-line,#dce3ef);border-radius:18px;background:var(--studio-panel,#fff);color:var(--studio-ink,#14233f);box-shadow:0 24px 80px #0f172a45;overflow:hidden}
.review-changes[open]{display:flex;flex-direction:column}
.review-changes::backdrop{background:rgba(15,23,42,.5)}
.review-changes-head{display:flex;justify-content:space-between;align-items:center;gap:12px;padding:18px 20px 0}
.review-changes-head h2{margin:0;font-size:20px}
.review-changes-help{margin:8px 20px 0;font-size:13px;line-height:1.55;color:var(--studio-muted,#5b6b82)}
.review-unsaved{display:flex;align-items:center;justify-content:space-between;gap:10px;flex-wrap:wrap;margin:12px 20px 0;padding:10px 12px;border-radius:10px;background:#fff5df;color:#8a4b0f;font-size:13px}
.review-unsaved[hidden]{display:none}
.review-status{margin:10px 20px 0;min-height:1em;font-size:13px;font-weight:700;color:var(--studio-accent,#1d4ed8)}
.review-list{flex:1;overflow:auto;padding:4px 20px 12px}
.review-empty{padding:24px 0;text-align:center;color:var(--studio-muted,#5b6b82)}
.review-group h3{margin:16px 0 8px;font-size:12px;letter-spacing:.08em;text-transform:uppercase;color:var(--studio-muted,#5b6b82)}
.review-item{display:grid;grid-template-columns:auto 1fr auto;gap:12px;align-items:start;padding:12px;border:1px solid var(--studio-line,#dce3ef);border-radius:12px;margin-bottom:8px;background:var(--studio-soft,#f6f8fc)}
.review-item input[type=checkbox]{width:20px;height:20px;margin:2px 0 0}
.review-item-main{display:grid;gap:4px;min-width:0;cursor:pointer}
.review-item-main strong{font-size:14px;overflow-wrap:anywhere}
.review-changes-list{font-size:12px;color:var(--studio-muted,#5b6b82);overflow-wrap:anywhere;line-height:1.55}
.review-warning{font-size:12px;color:#b45309}
.review-note{font-size:12px;color:var(--studio-muted,#5b6b82)}
.review-ok{font-size:12px;font-weight:700;color:#15803d}
.review-error{font-size:12px;font-weight:700;color:#b42318}
.review-go{margin:0;min-height:36px}
.review-actions{display:flex;justify-content:space-between;align-items:center;gap:10px;flex-wrap:wrap;padding:14px 20px;border-top:1px solid var(--studio-line,#dce3ef)}
.review-select{display:flex;gap:8px}
.review-actions button{margin:0;min-height:44px}
.review-publish{min-width:190px}
@media(max-width:560px){.review-item{grid-template-columns:auto 1fr}.review-go{grid-column:2;justify-self:start}.review-actions{flex-direction:column;align-items:stretch}.review-publish{width:100%}}
.review-legend{margin:8px 20px 0}
/* Before → after pictures for image changes (whole picture shown, so any card shape fits). */
.review-images{display:flex;flex-wrap:wrap;gap:10px 18px;margin-top:4px}
.review-image-pair{display:grid;gap:4px}
.review-image-label{font-size:12px;font-weight:700;color:var(--studio-muted,#5b6b82);overflow-wrap:anywhere}
.review-image-row{display:flex;align-items:center;gap:8px}
.review-image-arrow{font-size:16px;color:var(--studio-muted,#5b6b82)}
.review-thumb{margin:0;display:grid;gap:2px;justify-items:center}
.review-thumb-box{display:grid;place-items:center;width:96px;height:96px;border-radius:8px;border:1px solid var(--studio-line,#dce3ef);background:#fff;overflow:hidden}
.review-thumb-box img{display:block;max-width:100%;max-height:100%;object-fit:contain}
.review-thumb-empty{padding:6px;font-size:11px;line-height:1.3;text-align:center;color:var(--studio-muted,#5b6b82)}
.review-thumb figcaption{font-size:11px;color:var(--studio-muted,#5b6b82)}
@media(max-width:560px){.review-thumb-box{width:80px;height:80px}}
