.cr-results-card .cr-result-item { padding:0; overflow:hidden; }
.cr-results-card .cr-result-header { padding:18px 18px 0; }
.cr-results-card .cr-result-content { padding:0 18px 18px; }
.cr-results-card .cr-version-history:not(:empty) { padding:0 18px 18px; }
.cr-result-actions { display:flex; align-items:center; gap:8px; flex-wrap:wrap; justify-content:flex-end; }
.cr-result-actions button { display:inline-flex; align-items:center; justify-content:center; min-height:36px; border:1px solid var(--cr-border); border-radius:6px; background:#fff; color:var(--cr-dark); padding:6px 11px; font-size:13px; font-weight:700; line-height:1.2; cursor:pointer; }
.cr-result-actions .cr-regenerate { width:130px!important; min-width:130px!important; max-width:130px!important; white-space:nowrap; }
.cr-result-actions .cr-regenerate.is-loading .cr-loading-label { font-size:12px; }
.cr-result-actions button:hover,.cr-result-actions button:focus { border-color:var(--cr-purple); color:var(--cr-purple); }
.cr-result-setting { display:flex; align-items:center; gap:6px; min-height:36px; margin:0; color:var(--cr-dark); font-size:13px; font-weight:700; line-height:1.2; }
.cr-result-setting span { white-space:nowrap; }
.cr-result-setting select { height:36px; border:1px solid var(--cr-border); border-radius:6px; background:#fff; color:var(--cr-dark); padding:5px 25px 5px 8px; font-size:13px; font-weight:700; line-height:1.2; }
.cr-result-setting select:hover,.cr-result-setting select:focus { border-color:var(--cr-purple); outline:none; }
.cr-version { display:block; color:#766f7e; font-size:14px; margin-top:5px; }
.cr-version-history details { border-top:1px solid var(--cr-border); margin-top:16px; padding-top:12px; }
.cr-version-history summary { cursor:pointer; font-weight:700; }
.cr-version-history details div { padding-top:12px; font-size:16px; line-height:1.65; }
.cr-prompt-overlay { position:fixed; inset:0; z-index:999999; background:rgba(20,15,28,.62); display:grid; place-items:center; padding:20px; }
.cr-prompt-dialog { width:min(760px,100%); max-height:90vh; overflow:auto; background:#fff; border-radius:12px; padding:24px; }
.cr-prompt-dialog textarea { width:100%; padding:12px; border:1px solid var(--cr-border); border-radius:8px; font:inherit; }
.cr-prompt-view { line-height:1.6; background:#f7f5fa; padding:16px; border-radius:8px; }
.cr-dialog-actions { display:flex; justify-content:flex-end; gap:10px; margin-top:18px; }
.cr-dialog-close { cursor:pointer; }
@media (max-width:700px) { .cr-result-header { flex-direction:column; } .cr-result-actions { justify-content:flex-start; } .cr-version-history details div { font-size:15px; } }
