/* Feedback button and dialog (feedback.js). The button sits top right, left of the
   zoom and locate controls, so it stays clear of the attribution and links at the bottom. */
#feedback-button { position: absolute; right: 50px; top: 10px; z-index: 2; padding: 8px 14px; border: 0; border-radius: 18px;
  background: #1d2329; color: #fff; font: 600 14px system-ui, sans-serif; box-shadow: 0 1px 4px rgba(0, 0, 0, .35); cursor: pointer; }
#feedback-dialog { width: min(920px, calc(100vw - 24px)); max-height: calc(100dvh - 24px); box-sizing: border-box; padding: 14px 16px;
  border: 0; border-radius: 8px; box-shadow: 0 6px 30px rgba(0, 0, 0, .4); font: 14px/1.4 system-ui, sans-serif; color: #1d2329; }
#feedback-dialog::backdrop { background: rgba(20, 25, 30, .55); }
#feedback-dialog h2 { margin: 0 0 2px; font-size: 17px; }
#feedback-dialog .fb-hint { margin: 0 0 8px; color: #4b5560; }
#feedback-dialog .fb-stage { position: relative; width: min(100%, calc(55dvh * var(--ar, 1.5))); aspect-ratio: var(--ar, 1.5); margin: 0 auto; }
#feedback-dialog .fb-shot, #feedback-dialog .fb-shot canvas, #feedback-dialog .fb-pad { display: block; width: 100%; height: 100%; }
#feedback-dialog .fb-pad { position: absolute; inset: 0; cursor: crosshair; touch-action: none; }
#feedback-dialog .fb-tools { margin: 6px 0; }
#feedback-dialog textarea, #feedback-dialog input { display: block; width: 100%; box-sizing: border-box; margin: 6px 0; padding: 7px 8px;
  border: 1px solid #b8c0c8; border-radius: 4px; font: inherit; }
#feedback-dialog .fb-trap { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
#feedback-dialog .fb-status { min-height: 1.4em; margin: 4px 0; color: #4b5560; }
#feedback-dialog .fb-actions { display: flex; justify-content: flex-end; gap: 8px; }
#feedback-dialog button { padding: 7px 14px; border: 1px solid #b8c0c8; border-radius: 4px; background: #fff; font: inherit; cursor: pointer; }
#feedback-dialog button:disabled { opacity: .5; cursor: default; }
#feedback-dialog .fb-send { background: #1d2329; border-color: #1d2329; color: #fff; }
