.r1-workspace.r1-workspace[data-shell=editor] .r1-regen-trigger{display:inline-flex;align-items:center;justify-content:center;gap:8px;width:100%}.r1-workspace.r1-workspace[data-shell=editor] .r1-regen{display:grid;gap:10px;padding:14px;border:1px solid color-mix(in srgb,var(--ed-primary) 34%,var(--ed-line));border-radius:calc(var(--ed-r) + 4px);background:linear-gradient(180deg,color-mix(in srgb,var(--ed-primary) 9%,transparent),transparent 70%),var(--ed-surface);color:var(--ed-text);animation:r1-regen-in .2s cubic-bezier(.2,.9,.3,1.1) both}@keyframes r1-regen-in{0%{opacity:0;translate:0 6px}}.r1-workspace.r1-workspace[data-shell=editor] .r1-regen-title{display:flex;align-items:center;gap:6px;margin:0;font-size:13px;font-weight:600;color:var(--ed-text)}.r1-workspace.r1-workspace[data-shell=editor] .r1-regen-title svg{color:var(--ed-primary)}.r1-workspace.r1-workspace[data-shell=editor] .r1-regen-options{display:grid;gap:6px}.r1-workspace.r1-workspace[data-shell=editor] .r1-regen-option{position:relative;display:grid;grid-template-columns:30px minmax(0,1fr);align-items:center;gap:10px;padding:9px 10px;border:1px solid var(--ed-line);border-radius:var(--ed-r);background:var(--ed-card);cursor:pointer;transition:border-color .15s ease,background-color .15s ease}.r1-workspace.r1-workspace[data-shell=editor] .r1-regen-option:hover{border-color:var(--ed-line-strong)}.r1-workspace.r1-workspace[data-shell=editor] .r1-regen-option[data-checked]{border-color:var(--ed-primary);background:color-mix(in srgb,var(--ed-primary) 12%,var(--ed-card))}.r1-workspace.r1-workspace[data-shell=editor] .r1-regen-option input{position:absolute;inset:0;margin:0;opacity:0;cursor:pointer}.r1-workspace.r1-workspace[data-shell=editor] .r1-regen-option:has(input:focus-visible){outline:2px solid var(--ed-focus);outline-offset:2px}.r1-workspace.r1-workspace[data-shell=editor] .r1-regen-icon{display:grid;place-items:center;width:30px;height:30px;border-radius:9px;background:color-mix(in srgb,var(--ed-primary) 16%,transparent);color:var(--ed-primary)}.r1-workspace.r1-workspace[data-shell=editor] .r1-regen-option[data-checked] .r1-regen-icon{background:var(--ed-primary);color:var(--ed-primary-ink)}.r1-workspace.r1-workspace[data-shell=editor] .r1-regen-text{display:grid;gap:2px;min-width:0}.r1-workspace.r1-workspace[data-shell=editor] .r1-regen-text strong{font-size:13px;font-weight:600;color:var(--ed-text)}.r1-workspace.r1-workspace[data-shell=editor] .r1-regen-text small{font-size:12px;line-height:1.4;color:var(--ed-mute)}.r1-workspace.r1-workspace[data-shell=editor] .r1-regen-note{margin:0;font-size:12px;color:var(--ed-mute)}.r1-workspace.r1-workspace[data-shell=editor] .r1-regen-actions{display:grid;grid-template-columns:auto minmax(0,1fr);gap:8px}.r1-workspace.r1-workspace[data-shell=editor] .r1-regen-actions .r1-secondary{padding:0 14px}.r1-workspace.r1-workspace[data-shell=editor] .r1-regen-actions .r1-primary{display:inline-flex;align-items:center;justify-content:center;gap:6px}.r1-workspace.r1-workspace[data-shell=editor] .r1-regen-note-bar{display:grid;grid-template-columns:30px minmax(0,1fr);align-items:center;gap:4px 10px;padding:10px 12px;border:1px solid color-mix(in srgb,var(--ed-primary) 40%,var(--ed-line));border-radius:calc(var(--ed-r) + 2px);background:color-mix(in srgb,var(--ed-primary) 10%,var(--ed-surface));color:var(--ed-text);animation:r1-regen-in .2s cubic-bezier(.2,.9,.3,1.1) both}.r1-workspace.r1-workspace[data-shell=editor] .r1-regen-note-bar p{display:grid;gap:2px;min-width:0;margin:0}.r1-workspace.r1-workspace[data-shell=editor] .r1-regen-note-bar strong{font-size:13px;font-weight:600}.r1-workspace.r1-workspace[data-shell=editor] .r1-regen-note-bar small{font-size:12px;line-height:1.4;color:var(--ed-mute)}.r1-workspace.r1-workspace[data-shell=editor] .r1-regen-back{grid-column:2;justify-self:start;display:inline-flex;align-items:center;gap:4px;min-height:32px;padding:0 10px 0 6px;border:1px solid var(--ed-line-strong);border-radius:999px;background:var(--ed-card);color:var(--ed-text);font-size:12px;font-weight:600;cursor:pointer}.r1-workspace.r1-workspace[data-shell=editor] .r1-regen-back:hover{border-color:var(--ed-primary)}.r1-workspace.r1-workspace[data-shell=editor] .r1-regen-back:focus-visible{outline:2px solid var(--ed-focus);outline-offset:2px}@media (prefers-reduced-motion:reduce){.r1-workspace.r1-workspace[data-shell=editor] .r1-regen,.r1-workspace.r1-workspace[data-shell=editor] .r1-regen-note-bar{animation:none}.r1-workspace.r1-workspace[data-shell=editor] .r1-regen-option{transition:none}}