.av-feedback { --av-bg: #fffdf8; --av-fg: #302b36; --av-border: #ccc3d4; --av-muted: #665e70; }
.av-feedback-backdrop { position: fixed; inset: 0; top: 0; right: 0; bottom: 0; left: 0; z-index: 100010; display: flex; align-items: center; justify-content: center; background: rgba(0,0,0,.65); padding: 16px; }
.av-feedback-panel { box-sizing: border-box; width: 460px; max-width: 100%; max-height: 90%; overflow-y: auto; background: var(--av-bg); color: var(--av-fg); border-radius: 14px; padding: 22px; text-align: left; }
.av-feedback-panel h3 { font-size: 19px; line-height: 1.4; color: inherit; margin: 0 0 10px; }
.av-feedback-panel p { font-size: 13px; line-height: 1.55; margin: 8px 0 14px; }
.av-feedback-help { color: var(--av-muted); }
.av-feedback-panel button, .av-feedback-panel select { border: 1px solid var(--av-border); border-radius: 7px; color: var(--av-fg); background: var(--av-bg); font-size: 14px; padding: 8px 10px; min-height: 40px; }
.av-feedback-panel button.active { background: #7553ad; border-color: #7553ad; color: #fff; }
.av-feedback-panel button:disabled { opacity: .5; }
.av-feedback-ratings, .av-feedback-actions { display: flex; flex-wrap: wrap; margin: -4px; }
.av-feedback-ratings button, .av-feedback-actions button { margin: 4px; }
.av-feedback-actions { justify-content: flex-end; margin-top: 16px; }
.av-feedback-panel summary { margin: 18px 0 10px; cursor: pointer; font-size: 14px; }
.av-feedback-detail { display: flex; align-items: center; justify-content: space-between; margin: 10px 0; font-size: 14px; }
.av-feedback-detail select { width: 56%; margin-left: 8px; }
.av-feedback-disable { display: block; margin-top: 18px; font-size: 14px; }
.av-feedback-disable input { margin-right: 6px; }
.av-feedback-error { color: #bf3333; }
.av-feedback button:focus { outline: none; box-shadow: none; }
.av-feedback button:focus-visible, .av-feedback-panel:focus-visible { outline: 2px solid #ab81ef; outline-offset: 2px; }

.ai-studio-wrapper .av-feedback { --av-bg: var(--ws-bg-panel, #272727); --av-fg: var(--ws-text-main, #eee); --av-border: var(--ws-input-border, #666); --av-muted: #c5bcd0; }
