/* Feedback has its own styles and state, independent of active downloads. */
main{padding-bottom:calc(108px + env(safe-area-inset-bottom,0px))}
.search-selection{bottom:calc(80px + env(safe-area-inset-bottom,0px))}
.feedback-launcher{position:fixed;right:max(20px,env(safe-area-inset-right,0px));bottom:calc(20px + env(safe-area-inset-bottom,0px));z-index:20;display:flex;align-items:center;gap:8px;min-height:46px;padding:10px 18px;border-radius:24px;border:1px solid #17243d;background:#17243d;color:white;box-shadow:0 4px 18px #17243d24;font-size:14px;font-weight:600}
.feedback-launcher:hover{background:#293b5d}
.feedback-launcher svg{width:19px;height:19px;flex-shrink:0}
.feedback-launcher:focus-visible,#feedback-dialog button:focus-visible{outline:3px solid #91adff;outline-offset:3px}
#feedback-dialog{width:min(600px,calc(100% - 32px));max-height:calc(100dvh - 32px - env(safe-area-inset-top,0px) - env(safe-area-inset-bottom,0px));padding:0;overflow:auto;overscroll-behavior:contain;box-shadow:0 16px 70px #17243d33}
#feedback-dialog::backdrop{background:#17243d88}
.feedback-header{display:flex;justify-content:space-between;align-items:flex-start;gap:16px;padding:24px 24px 12px;background:white;border-radius:16px 16px 0 0}
.feedback-header h2{font-size:22px;line-height:1.4;margin:0}
#feedback-close{flex-shrink:0;min-width:36px;min-height:36px;padding:2px 8px;font-size:24px;line-height:1}
.feedback-intro{font-size:14px;color:#68758d;margin:6px 0 0}
#feedback-form,.feedback-success{padding:8px 24px 24px}
#feedback-form label{font-size:14px;font-weight:600;margin-bottom:6px}
.feedback-field{margin-bottom:16px;min-width:0}
#feedback-form input,#feedback-form select,#feedback-form textarea{display:block;width:100%;min-width:0;padding:10px 12px;border:1px solid #d3dbe7;border-radius:8px;background:white;color:#17243d;font:inherit;line-height:1.5}
#feedback-form select{min-height:46px}
#feedback-form textarea{resize:vertical;min-height:120px;max-height:340px}
#feedback-form input:focus,#feedback-form select:focus,#feedback-form textarea:focus{outline:3px solid #dce5ff;border-color:#365bdc}
#feedback-form input:disabled,#feedback-form select:disabled,#feedback-form textarea:disabled{background:#f5f7fc;color:#68758d;opacity:1}
.feedback-help{font-size:12px;line-height:1.6;color:#68758d;margin:6px 0 0}
.feedback-counter{text-align:right;font-variant-numeric:tabular-nums}
.feedback-privacy{padding:10px 12px;background:#f5f7fc;border-radius:8px;margin:16px 0;font-size:12px;line-height:1.6;color:#526078}
.feedback-actions{display:flex;align-items:center;justify-content:flex-end;gap:10px;flex-wrap:wrap;margin-top:16px}
.feedback-actions button{min-height:44px}
#feedback-error{font-size:14px;color:#b52d47;margin:12px 0;overflow-wrap:anywhere}
#feedback-error:empty{display:none}
#feedback-status{font-size:13px;color:#68758d;margin:10px 0 0;min-height:20px}
.feedback-success{text-align:center}
.feedback-success-mark{display:grid;place-items:center;width:52px;height:52px;margin:10px auto 16px;border-radius:50%;background:#eaf5ef;color:#21764b;font-size:28px}
.feedback-success h3{font-size:20px;margin:0 0 10px}
.feedback-success p{font-size:14px;color:#68758d;margin:8px 0}
#feedback-reference{display:block;color:#17243d;font-size:15px;font-variant-numeric:tabular-nums;overflow-wrap:anywhere;margin-top:4px;user-select:all}
.feedback-success .feedback-actions{justify-content:center;margin-top:24px}
@media(max-width:650px){main{padding-bottom:calc(100px + env(safe-area-inset-bottom,0px))}.feedback-launcher{right:max(16px,env(safe-area-inset-right,0px));bottom:calc(16px + env(safe-area-inset-bottom,0px));padding:10px 14px}.feedback-header{padding:20px 20px 12px}#feedback-form,.feedback-success{padding:8px 20px 20px}.feedback-actions button{flex:1}.feedback-header h2{font-size:20px}}
