.feedback-backdrop,.profile-feedback{--fb-surface:#fff;--fb-ink:#29213d;--fb-muted:#756d85;--fb-border:#e8e2f1;--fb-soft:#f8f6fc;--fb-accent:#6b43d6}
html[data-theme="dark"] .feedback-backdrop,html[data-theme="dark"] .profile-feedback{--fb-surface:#1c172b;--fb-ink:#f4efff;--fb-muted:#b5abc9;--fb-border:#3b3151;--fb-soft:#251e36;--fb-accent:#c0a5ff}
.feedback-backdrop[hidden],.feedback-backdrop [hidden],.profile-feedback [hidden]{display:none!important}
.feedback-backdrop{position:fixed;inset:0;z-index:10080;display:grid;place-items:center;overflow-y:auto;padding:20px;background:#090414a8;backdrop-filter:blur(12px);overscroll-behavior:contain}
.feedback-dialog{width:min(100%,510px);max-height:calc(100dvh - 40px);overflow-y:auto;padding:27px;border:1px solid var(--fb-border);border-radius:26px;background:var(--fb-surface);color:var(--fb-ink);box-shadow:0 32px 100px #08031455;animation:feedback-enter .25s ease-out;box-sizing:border-box}
.feedback-heading{display:flex;align-items:center;gap:12px;margin-bottom:16px}
.feedback-mark{display:grid;place-items:center;flex:none;width:40px;height:40px;border:1px solid #9670e84a;border-radius:14px;color:var(--fb-accent);background:var(--fb-soft);font-size:24px}
.feedback-eyebrow{color:var(--fb-accent);font-size:9px;font-weight:800;letter-spacing:.15em}
.feedback-dialog h2{margin:0;font-size:26px;font-weight:800;line-height:1.18;letter-spacing:-.045em;color:var(--fb-ink)}
.feedback-dialog p{color:var(--fb-muted);line-height:1.6;font-size:12px;margin:10px 0 17px}
.feedback-ratings{display:grid;gap:15px;margin:20px 0}
.feedback-category{padding:0;border:0;margin:0;min-width:0}
.feedback-category legend{padding:0;margin-bottom:9px;font-size:12px;font-weight:800;color:var(--fb-ink);float:none;width:auto}
.feedback-category legend .ti{margin-right:5px;color:var(--fb-accent);font-size:15px}
.feedback-options{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:8px}
.feedback-choice{position:relative;display:flex;flex-direction:column;align-items:center;gap:5px;border:1px solid var(--fb-border);border-radius:13px;padding:9px 2px;background:var(--fb-soft);color:var(--fb-muted);font-size:10px;font-weight:700;cursor:pointer;transition:border-color .15s,background .15s,transform .15s}
.feedback-choice input{position:absolute;width:1px;height:1px;opacity:0}
.feedback-choice-face{font:26px/1.2 'Apple Color Emoji','Segoe UI Emoji',sans-serif;filter:saturate(.85)}
.feedback-choice:hover{border-color:#9e81de;transform:translateY(-1px)}
.feedback-choice:has(input:checked){border-color:var(--fb-accent);background:#784ade19;color:var(--fb-accent);box-shadow:inset 0 0 0 1px var(--fb-accent)}
.feedback-choice:has(input:focus-visible){outline:3px solid #a98be9;outline-offset:3px}
.feedback-label{display:flex;justify-content:space-between;gap:8px;margin:0 0 8px;color:var(--fb-ink);font-size:12px;font-weight:800}
.feedback-label span{color:var(--fb-muted);font-weight:500;font-size:10px}
.feedback-textarea{display:block;width:100%;box-sizing:border-box;resize:vertical;min-height:76px;padding:12px 14px;border:1px solid var(--fb-border);border-radius:13px;background:var(--fb-soft);color:var(--fb-ink);font:inherit;font-size:13px;line-height:1.5}
.feedback-textarea::placeholder{color:var(--fb-muted);opacity:.9}
.feedback-textarea:focus{outline:2px solid var(--fb-accent);outline-offset:2px}
.feedback-dialog .feedback-note,.profile-feedback .feedback-note{font-size:10px;margin:8px 0 16px;color:var(--fb-muted);line-height:1.6}
.feedback-share{display:flex;align-items:center;gap:8px;margin:0 0 14px;color:var(--fb-ink);font-size:12px;line-height:1.5;cursor:pointer}
.feedback-share input{flex:none;width:16px;height:16px;margin:0;accent-color:var(--fb-accent)}
.feedback-actions{display:flex;flex-direction:column;gap:8px}
.feedback-primary{display:inline-flex;align-items:center;justify-content:center;gap:10px;min-height:45px;padding:12px 20px;border:1px solid #9465f6;border-radius:13px;background:linear-gradient(115deg,#7040d3,#5631ba);color:#fff;font:inherit;font-size:12px;font-weight:800;cursor:pointer;box-shadow:0 6px 16px #6333b91a}
.feedback-later{min-height:35px;border:0;background:transparent;color:var(--fb-muted);font:inherit;font-size:11px;cursor:pointer}
.feedback-primary:disabled,.feedback-later:disabled{opacity:.55;cursor:wait}
.feedback-result{padding:10px 12px;border-radius:10px;background:#d24a6012;color:#b72f4d!important;font-size:12px;line-height:1.6}
html[data-theme="dark"] .feedback-result{color:#ffb7c4!important}
.feedback-result.is-success{color:#238262!important;background:#36b78713}
html[data-theme="dark"] .feedback-result.is-success{color:#91e8c6!important}
.feedback-thanks{text-align:center;padding:25px 8px}
.feedback-thanks-icon{display:grid;place-items:center;width:72px;height:72px;margin:0 auto 23px;border:1px solid #9f7edb55;border-radius:25px;background:var(--fb-soft);color:var(--fb-accent);font-size:35px}
.feedback-thanks .feedback-eyebrow{display:block;margin-bottom:12px}
.feedback-thanks .feedback-primary{width:100%;margin-top:12px}
.profile-feedback{grid-column:1/-1}
.profile-feedback .feedback-textarea{min-height:110px}
.profile-feedback .feedback-form-foot{display:flex;justify-content:space-between;align-items:center;gap:18px;margin-top:14px}
.profile-feedback .feedback-note{margin:0!important;max-width:330px}
.profile-feedback fieldset{border:0;padding:0;margin:0;min-width:0}
.profile-feedback fieldset:disabled{opacity:.6}
.profile-feedback .feedback-form-foot .feedback-primary{flex:none}
@media(max-width:480px){.feedback-backdrop{padding:12px}.feedback-dialog{padding:21px 19px;max-height:calc(100dvh - 24px);border-radius:22px}.feedback-dialog h2{font-size:24px}.feedback-options{gap:6px}.feedback-choice{font-size:9px}.feedback-ratings{gap:13px;margin:17px 0}.profile-feedback .feedback-form-foot{align-items:stretch;flex-direction:column;gap:12px}}
@media(prefers-reduced-motion:reduce){.feedback-dialog{animation:none}.feedback-choice{transition:none}}
@keyframes feedback-enter{from{opacity:0;transform:translateY(12px)}to{opacity:1;transform:translateY(0)}}
