/* Feedback button and sheet (partials/feedback.html, js/feedback.js).
   Plain CSS with the tokens, so nothing depends on the Tailwind content scan. */
.fbk {
  position: fixed;
  left: 16px;
  bottom: 16px;
  z-index: 40;
  width: 42px;
  height: 42px;
  padding: 0;
  border: 0;
  border-radius: 10px;
  background: var(--brand-navy);
  color: var(--text-on-dark);
  font-size: 20px;
  line-height: 1;
  cursor: pointer;
  box-shadow: 0 8px 22px rgba(0, 0, 0, 0.25);
  opacity: 0.85;
}
.fbk:hover,
.fbk:focus-visible { opacity: 1; background: var(--brand-navy-hover); }

.fbk-sheet {
  width: min(480px, 92vw);
  max-height: 92vh;
  background: var(--surface-bright);
  color: var(--text-primary);
  border: 1px solid var(--border-hairline);
  border-radius: 12px;
  padding: 18px 20px;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.35);
  font-family: var(--font-sans);
}
.fbk-sheet::backdrop { background: rgba(10, 20, 40, 0.45); }
.fbk-sheet form { display: flex; flex-direction: column; gap: 6px; }
.fbk-head { display: flex; justify-content: space-between; align-items: center; }
.fbk-head h2 { margin: 0; font-size: 18px; font-weight: 500; color: var(--brand-navy); }
.fbk-close { background: none; border: 0; font-size: 18px; cursor: pointer; color: var(--text-secondary); }
.fbk-quiet { margin: 2px 0 4px; font-size: 13px; color: var(--text-secondary); }
.fbk-label { margin-top: 8px; font-size: 13px; color: var(--text-secondary); }
.fbk-stars { display: flex; gap: 2px; }
.fbk-stars button {
  background: none; border: 0; padding: 0 3px; cursor: pointer;
  font-size: 24px; color: var(--brand-orange);
}
.fbk-chips { display: flex; flex-wrap: wrap; gap: 6px; }
.fbk-chips button {
  background: none; cursor: pointer;
  border: 1px solid var(--border-hairline); border-radius: 999px;
  padding: 4px 12px; font-size: 14px; color: var(--text-secondary);
}
.fbk-chips button[aria-pressed="true"] {
  background: var(--brand-navy); border-color: var(--brand-navy); color: var(--text-on-dark);
}
.fbk-sheet textarea {
  width: 100%; padding: 10px 12px; resize: vertical; font: inherit;
  border: 1px solid var(--border-hairline); border-radius: 8px;
  background: var(--surface-card); color: var(--text-primary);
}
.fbk-pick { color: var(--brand-navy); text-decoration: underline; cursor: pointer; }
.fbk-shot-full { display: flex; flex-direction: column; align-items: flex-start; gap: 6px; }
.fbk-shot-full[hidden], .fbk-shot [hidden] { display: none; }
.fbk-shot-full img {
  max-width: 100%; max-height: 180px;
  border: 1px solid var(--border-hairline); border-radius: 6px;
}
.fbk-shot-remove {
  background: none; border: 0; padding: 0; cursor: pointer;
  font-size: 13px; color: var(--status-error); text-decoration: underline;
}
.fbk-send { margin-top: 6px; align-self: flex-start; padding: 8px 20px; font-size: 14px; }
.fbk-send:disabled { opacity: 0.6; cursor: wait; }
.fbk-status { margin: 4px 0 0; min-height: 1.2em; font-size: 14px; color: var(--status-success); }
.fbk-status.fbk-error { color: var(--status-error); }
@media print { .fbk, .fbk-sheet { display: none; } }
