.tool-feedback-button {
  position: fixed;
  right: 22px;
  bottom: 22px;
  z-index: 800;
  display: inline-flex;
  align-items: center;
  gap: 9px;
  min-height: 48px;
  padding: 12px 18px;
  border: 0;
  border-radius: 999px;
  background: #2563eb;
  color: #fff;
  box-shadow: 0 12px 30px rgba(37, 99, 235, 0.28);
  font: inherit;
  cursor: pointer;
}
.tool-feedback-button:hover { transform: translateY(-2px); background: #1d4ed8; }
.tool-feedback-button span { font-size: 1.25rem; }
.tool-feedback-dialog {
  width: min(92vw, 570px);
  max-height: min(90dvh, 720px);
  padding: 0;
  border: 0;
  border-radius: 24px;
  color: #13202c;
  box-shadow: 0 28px 80px rgba(15, 35, 55, 0.3);
}
.tool-feedback-dialog::backdrop { background: rgba(15, 27, 39, 0.56); backdrop-filter: blur(5px); }
.tool-feedback-form { position: relative; display: grid; gap: 17px; padding: 30px; }
.tool-feedback-form h2, .tool-feedback-form p { margin: 0; }
.tool-feedback-eyebrow { color: #2563eb; font-size: 0.76rem; font-weight: 800; letter-spacing: 0.13em; text-transform: uppercase; }
.tool-feedback-context { color: #607083; }
.tool-feedback-form label { display: grid; gap: 7px; font-weight: 700; }
.tool-feedback-form textarea { min-height: 145px; resize: vertical; }
.tool-feedback-form input, .tool-feedback-form select, .tool-feedback-form textarea { box-sizing:border-box; width:100%; min-width:0; padding:10px 12px; border:1px solid #c9d6e5; border-radius:11px; background:#fff; color:#13202c; font:inherit; }
.tool-feedback-form { box-sizing:border-box; }
.tool-feedback-dialog { overflow:auto; }
@media print { .tool-feedback-button, .tool-feedback-dialog { display:none !important; } }
.tool-feedback-close { position: absolute; top: 14px; right: 14px; width: 40px; height: 40px; padding: 0; border-radius: 50%; background: #eef3f8; color: #24384b; font-size: 1.5rem; }
.tool-feedback-actions { display: grid; grid-template-columns: 1fr auto; gap: 10px; }
.tool-feedback-message { min-height: 1.25em; color: #b42318; }
.tool-feedback-message.success { color: #07865d; }

@media (max-width: 600px) {
  .tool-feedback-button { right: 14px; bottom: 14px; width: 50px; height: 50px; min-height: 50px; padding: 0; justify-content: center; }
  .tool-feedback-button b { display: none; }
  .tool-feedback-form { padding: 26px 18px 20px; }
  .tool-feedback-actions { grid-template-columns: 1fr; }
}
