#hybrid-dialog{max-width:42rem;width:calc(100% - 2rem);max-height:90dvh;overflow:auto}
#hybrid-status{scroll-margin-top:8rem;padding:.7rem .8rem;border-radius:.7rem;background:#242119;line-height:1.45;outline:none}
#hybrid-dialog[data-outcome=error] #hybrid-status{background:#461f23;color:#ffd8dc;border-left:4px solid #f5a5ae}
#hybrid-dialog[data-outcome=success] #hybrid-status{background:#153829;color:#c4f6dc;border-left:4px solid #7cdbad}
#hybrid-edit-crop{margin:.4rem 0}
#hybrid-dialog .actions{flex-wrap:wrap}
#hybrid-comparison{padding-left:1.4rem;max-height:35dvh;overflow:auto}
#hybrid-comparison li{padding:.5rem 0;overflow-wrap:anywhere}
#hybrid-note{padding:.6rem .8rem;border-left:3px solid #71b7e8;background:#14232c;color:#d5eafa;border-radius:.4rem}
/* Review already labels every proposal/confirmation. Keep this reminder one
   compact line so it cannot take the complete board's reserved height. */
body[data-step=review] #hybrid-note{flex:none;min-height:0;max-width:100%;margin:2px 0;padding:2px 6px;font-size:.6875rem;line-height:1.3;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
#hybrid-preview{display:block;max-width:100%;max-height:32dvh;margin:1rem auto;object-fit:contain;background:#fff}
#hybrid-preview[hidden],.hybrid-loading[hidden]{display:none}
.hybrid-consent{display:flex;align-items:flex-start;gap:.7rem;padding:.8rem 0;line-height:1.5}
.hybrid-consent input{width:1.4rem;height:1.4rem;flex:none;accent-color:#e6c267}
.hybrid-loading{display:grid;justify-items:center;gap:1rem;padding:1.4rem;background:#292314;border-radius:1rem;text-align:center}
.hybrid-loading span{font-size:3rem;animation:hybrid-pulse 1.4s ease-in-out infinite}
.hybrid-apply-actions{position:sticky;bottom:0;background:#14120e;padding:.7rem 0;z-index:1}
.hybrid-apply-actions:not(:has(button:not([hidden]))){display:none}
#hybrid-dialog[data-pending="true"] .hybrid-live-settings{display:none}
#hybrid-dialog[data-active="true"] .hybrid-live-settings,#hybrid-dialog[data-active="true"] #hybrid-saved-options{display:none}
@keyframes hybrid-pulse{50%{opacity:.3;transform:scale(.9)}}
@media(prefers-reduced-motion:reduce){.hybrid-loading span{animation:none}}
