/* Send feedback (stage/feedback.js). Matches the Help panel. */
.feedback-dialog{position:fixed;inset:0;margin:auto;height:fit-content;width:min(440px,calc(100vw - 24px));max-height:calc(100dvh - 24px);padding:18px 20px;border:1px solid #e1e5eb;border-radius:22px;background:#fff;color:#20201e;box-shadow:0 20px 70px #11182726;box-sizing:border-box;z-index:250}
.feedback-dialog::backdrop{background:#0005}
.feedback-dialog h2{font-size:19px;letter-spacing:-.3px;margin:0 0 6px}
.feedback-intro{color:#626b78;font-size:13px;line-height:1.5;margin:0 0 12px}
.feedback-dialog form{display:grid;gap:8px}
.feedback-dialog label{font-size:14px;font-weight:600}
.feedback-dialog textarea{width:100%;box-sizing:border-box;border:1px solid #d9dfe8;border-radius:10px;padding:10px;font:inherit;font-size:16px;line-height:1.45;resize:vertical;min-height:110px}
.feedback-status{font-size:13px;line-height:1.45;margin:0;min-height:1em}
.feedback-status:empty{display:none}
.feedback-actions{display:flex;gap:8px;flex-wrap:wrap}
.feedback-actions button,.feedback-nudge button{min-height:44px;border:1px solid #d9d3cb;border-radius:12px;padding:10px 16px;background:#fff;color:inherit;font:inherit;font-size:14px;cursor:pointer}
.feedback-send{background:#2255df!important;border-color:#2255df!important;color:#fff!important;font-weight:600}
.feedback-send:disabled{opacity:.6;cursor:default}
.feedback-nudge{position:fixed;left:12px;right:12px;bottom:calc(16px + env(safe-area-inset-bottom,0px));z-index:240;display:flex;flex-wrap:wrap;align-items:center;gap:8px;max-width:520px;margin:0 auto;padding:12px 14px;border:1px solid #e1e5eb;border-radius:16px;background:#fff;box-shadow:0 10px 40px #11182722;font-size:14px;line-height:1.4}
.feedback-nudge[hidden]{display:none}
.feedback-nudge p{flex:1 1 220px;margin:0}
.feedback-nudge-open{font-weight:600}
/* Above the bottom tab bar, in the app and in the phone layout on the web (stage/native-shell.js). */
.native-app .feedback-nudge,body[data-native-page] .feedback-nudge{bottom:calc(84px + env(safe-area-inset-bottom,0px))}
.feedback-dialog button:focus-visible,.feedback-dialog textarea:focus-visible,.feedback-nudge button:focus-visible{outline:3px solid #2255df;outline-offset:2px}
/* Report this image: four reasons as large tap rows, then an optional note. */
.report-reasons{display:grid;gap:6px;min-width:0;margin:0;padding:0;border:0}
.report-reasons legend{padding:0;margin:0 0 4px;font-size:14px;font-weight:600}
.feedback-dialog .report-reason{display:flex;align-items:center;gap:10px;min-height:44px;padding:4px 12px;border:1px solid #d9dfe8;border-radius:10px;font-weight:400;line-height:1.35;cursor:pointer}
.report-reason input{flex:none;width:18px;height:18px;margin:0;accent-color:#2255df}
.feedback-dialog .report-reason:focus-within{outline:3px solid #2255df;outline-offset:2px}
.report-dialog textarea{min-height:72px}
.account-menu a[data-app-review]{display:block;border-radius:8px;padding:12px;color:var(--ink,#222);text-decoration:none}
.account-menu a[data-app-review]:hover,.account-menu a[data-app-review]:focus-visible{background:#f0f3ff}
.account-menu a[data-app-review][hidden],.settings-links [data-app-review][hidden]{display:none!important}
/* button-labels.css centres every button's text, so this one is only as wide as its words. */
.settings-page .settings-links button[data-feedback-open]{display:block;width:fit-content;max-width:100%;min-height:0;border:0;border-radius:0;background:none;padding:13px 0;color:#2450ce;font:inherit;text-decoration:underline;cursor:pointer;box-shadow:none}
/* Our own five stars before Apple's review pop-up (stage/app-review.js), iPhone app only, behind its switch. */
.review-stars{position:fixed;left:12px;right:12px;bottom:calc(16px + env(safe-area-inset-bottom,0px));z-index:240;max-width:420px;margin:0 auto;padding:16px 16px 10px;border:1px solid #e1e5ea;border-radius:18px;background:#fff;box-shadow:0 18px 40px -18px rgba(20,20,20,.45);text-align:center;font-family:Inter,system-ui,sans-serif;color:#161c25}
.review-stars-title{margin:0;font-weight:700;font-size:16px}
.review-stars-hint{margin:4px 0 8px;font-size:13px;color:#667085}
.review-stars-row{display:flex;justify-content:center;gap:4px}
.review-stars-row button{width:48px;height:48px;border:0;background:none;font-size:34px;line-height:1;color:#d0d5dd;cursor:pointer}
.review-stars-row:hover button,.review-stars-row button:focus-visible{color:#f5b301}
.review-stars-row button:hover~button{color:#d0d5dd}
.review-stars-later{min-height:40px;border:0;background:none;color:#667085;font:600 13px Inter,system-ui,sans-serif;cursor:pointer}
