/* Central de Feedback contextual — Bella Vida */
:root {
  --fb-bg: #ffffff;
  --fb-bg-soft: #f7f6f1;
  --fb-bg-muted: #efeee8;
  --fb-text: #172019;
  --fb-text-soft: #536057;
  --fb-text-muted: #7d877f;
  --fb-line: #dedfd8;
  --fb-line-strong: #c7cbc3;
  --fb-brand: #1c3d22;
  --fb-brand-hover: #102b18;
  --fb-brand-soft: #e8efe8;
  --fb-accent: #d2b46a;
  --fb-accent-soft: #f7f0dc;
  --fb-danger: #a23a36;
  --fb-danger-soft: #fff0ef;
  --fb-success: #216e3a;
  --fb-success-soft: #e9f6ed;
  --fb-warning: #916817;
  --fb-warning-soft: #fff7df;
  --fb-shadow: 0 18px 54px rgba(15, 31, 18, .2);
  --fb-radius: 12px;
  --fb-font: "Poppins", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

.bv-feedback-trigger {
  position: fixed;
  right: 22px;
  bottom: 22px;
  z-index: 260;
  display: inline-flex;
  min-height: 48px;
  align-items: center;
  gap: 9px;
  padding: 0 16px;
  border: 1px solid rgba(255, 255, 255, .28);
  border-radius: 999px;
  background: var(--fb-brand);
  color: #fff;
  box-shadow: 0 12px 30px rgba(11, 31, 16, .28);
  cursor: pointer;
  font: 600 13px/1 var(--fb-font);
  transition: background 180ms ease, box-shadow 180ms ease, transform 180ms ease;
}

body.publica .bv-feedback-trigger { right: 84px; color: #fff; }
.bv-feedback-trigger:hover { background: var(--fb-brand-hover); box-shadow: 0 16px 34px rgba(11, 31, 16, .36); transform: translateY(-2px); }
.bv-feedback-trigger:focus-visible { outline: 3px solid rgba(210, 180, 106, .45); outline-offset: 3px; }
.bv-feedback-trigger svg { width: 19px; height: 19px; flex: 0 0 auto; }
.bv-feedback-count {
  display: none;
  min-width: 22px;
  height: 22px;
  align-items: center;
  justify-content: center;
  padding: 0 6px;
  border: 2px solid var(--fb-brand);
  border-radius: 999px;
  background: var(--fb-accent);
  color: #18311d;
  font-size: 10px;
  font-weight: 800;
}
.bv-feedback-count.is-visible { display: inline-flex; }

.bv-feedback-pin {
  position: fixed;
  z-index: 240;
  display: inline-flex;
  width: 34px;
  height: 34px;
  align-items: center;
  justify-content: center;
  padding: 0;
  border: 2px solid #fff;
  border-radius: 50% 50% 50% 8px;
  background: var(--fb-accent);
  color: #17341d;
  box-shadow: 0 8px 22px rgba(10, 25, 13, .32);
  cursor: pointer;
  font: 800 11px/1 var(--fb-font);
  transform: translate(-50%, -90%) rotate(-45deg);
  transition: box-shadow 180ms ease, filter 180ms ease, transform 180ms ease;
}
.bv-feedback-pin > span { transform: rotate(45deg); }
.bv-feedback-pin:hover,
.bv-feedback-pin:focus-visible { filter: brightness(1.04); transform: translate(-50%, -90%) rotate(-45deg) scale(1.08); }
.bv-feedback-pin:focus-visible { outline: 3px solid rgba(210, 180, 106, .35); outline-offset: 3px; }
.bv-feedback-pin.is-clamped { box-shadow: 0 0 0 4px rgba(255, 255, 255, .76), 0 8px 22px rgba(10, 25, 13, .34); }
.bv-feedback-pin.is-highlighted { animation: bv-feedback-highlight 700ms ease 3; }
@keyframes bv-feedback-highlight {
  50% { box-shadow: 0 0 0 13px rgba(210, 180, 106, .26), 0 8px 22px rgba(10, 25, 13, .34); }
}

.bv-feedback-scrim {
  position: fixed;
  inset: 0;
  z-index: 279;
  visibility: hidden;
  background: rgba(8, 18, 11, .42);
  opacity: 0;
  transition: opacity 180ms ease, visibility 180ms step-end;
}

.bv-feedback-drawer {
  position: fixed;
  inset: 0 0 0 auto;
  z-index: 280;
  display: flex;
  width: min(448px, 100%);
  flex-direction: column;
  border-left: 1px solid var(--fb-line);
  background: var(--fb-bg);
  color: var(--fb-text);
  box-shadow: -16px 0 48px rgba(13, 27, 16, .18);
  font-family: var(--fb-font);
  transform: translateX(104%);
  transition: transform 240ms cubic-bezier(.22, .61, .36, 1);
}
.bv-feedback-drawer.is-open { transform: none; }
.bv-feedback-drawer-header {
  padding: 22px 22px 16px;
  border-bottom: 1px solid var(--fb-line);
  background: var(--fb-bg);
}
.bv-feedback-title-row { display: flex; justify-content: space-between; gap: 18px; align-items: flex-start; }
.bv-feedback-kicker { margin: 0 0 5px; color: var(--fb-success); font-size: 10px; font-weight: 750; letter-spacing: .12em; text-transform: uppercase; }
.bv-feedback-drawer h2 { margin: 0; color: var(--fb-text); font: 600 23px/1.2 var(--fb-font); letter-spacing: -.025em; }
.bv-feedback-icon-button {
  display: inline-flex;
  width: 40px;
  height: 40px;
  flex: 0 0 auto;
  align-items: center;
  justify-content: center;
  padding: 0;
  border: 1px solid var(--fb-line);
  border-radius: 10px;
  background: var(--fb-bg);
  color: var(--fb-text-soft);
  cursor: pointer;
  font: 500 20px/1 var(--fb-font);
}
.bv-feedback-icon-button:hover { border-color: var(--fb-line-strong); background: var(--fb-bg-soft); color: var(--fb-text); }
.bv-feedback-identity-row { display: flex; justify-content: space-between; gap: 12px; align-items: center; margin-top: 16px; }
.bv-feedback-identity { min-width: 0; }
.bv-feedback-identity > span { display: block; color: var(--fb-text-muted); font-size: 10px; }
.bv-feedback-identity > strong { display: block; margin-top: 2px; overflow: hidden; color: var(--fb-text-soft); font-size: 12px; font-weight: 600; text-overflow: ellipsis; white-space: nowrap; }
.bv-feedback-change-identity { padding: 5px 0; border: 0; background: transparent; color: var(--fb-success); cursor: pointer; font: 600 11px/1.2 var(--fb-font); }
.bv-feedback-sync {
  display: inline-flex;
  flex: 0 0 auto;
  align-items: center;
  gap: 6px;
  padding: 6px 9px;
  border-radius: 999px;
  background: var(--fb-bg-soft);
  color: var(--fb-text-muted);
  font-size: 10px;
  font-weight: 600;
  white-space: nowrap;
}
.bv-feedback-sync::before { width: 7px; height: 7px; border-radius: 50%; background: currentColor; content: ""; }
.bv-feedback-sync[data-state="synced"] { background: var(--fb-success-soft); color: var(--fb-success); }
.bv-feedback-sync[data-state="syncing"] { background: var(--fb-accent-soft); color: var(--fb-warning); }
.bv-feedback-sync[data-state="offline"],
.bv-feedback-sync[data-state="local"] { background: var(--fb-warning-soft); color: var(--fb-warning); }
.bv-feedback-sync[data-state="error"] { background: var(--fb-danger-soft); color: var(--fb-danger); }
.bv-feedback-sync[data-state="syncing"]::before { animation: bv-feedback-blink 900ms ease infinite; }
@keyframes bv-feedback-blink { 50% { opacity: .25; } }

.bv-feedback-toolbar {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto auto;
  gap: 8px;
  padding: 14px 18px;
  border-bottom: 1px solid var(--fb-line);
  background: var(--fb-bg-soft);
}
.bv-feedback-button {
  display: inline-flex;
  min-height: 40px;
  align-items: center;
  justify-content: center;
  gap: 7px;
  padding: 0 12px;
  border: 1px solid var(--fb-line-strong);
  border-radius: 9px;
  background: var(--fb-bg);
  color: var(--fb-text-soft);
  cursor: pointer;
  font: 600 11px/1.2 var(--fb-font);
}
.bv-feedback-button:hover { border-color: var(--fb-brand); color: var(--fb-brand); }
.bv-feedback-button.is-primary { border-color: var(--fb-brand); background: var(--fb-brand); color: #fff; }
.bv-feedback-button.is-primary:hover { background: var(--fb-brand-hover); color: #fff; }
.bv-feedback-button.is-danger { color: var(--fb-danger); }
.bv-feedback-button svg { width: 15px; height: 15px; }
.bv-feedback-icon-button:focus-visible,
.bv-feedback-button:focus-visible,
.bv-feedback-tab:focus-visible,
.bv-feedback-card-action:focus-visible,
.bv-feedback-attachment button:focus-visible,
.bv-feedback-selected-file button:focus-visible {
  outline: 3px solid rgba(210, 180, 106, .38);
  outline-offset: 2px;
}

.bv-feedback-tabs {
  display: flex;
  gap: 3px;
  padding: 9px 16px 0;
  border-bottom: 1px solid var(--fb-line);
  background: var(--fb-bg);
}
.bv-feedback-tab {
  position: relative;
  min-height: 42px;
  padding: 0 10px;
  border: 0;
  background: transparent;
  color: var(--fb-text-muted);
  cursor: pointer;
  font: 600 11px/1 var(--fb-font);
}
.bv-feedback-tab[aria-selected="true"] { color: var(--fb-brand); }
.bv-feedback-tab[aria-selected="true"]::after { position: absolute; right: 8px; bottom: -1px; left: 8px; height: 2px; border-radius: 2px 2px 0 0; background: var(--fb-brand); content: ""; }
.bv-feedback-tab-count { display: inline-flex; min-width: 18px; height: 18px; align-items: center; justify-content: center; margin-left: 4px; padding: 0 5px; border-radius: 999px; background: var(--fb-bg-muted); color: inherit; font-size: 9px; }

.bv-feedback-content { position: relative; flex: 1; min-height: 0; overflow: hidden; }
.bv-feedback-list { height: 100%; margin: 0; padding: 15px 16px 84px; overflow-y: auto; list-style: none; }
.bv-feedback-empty { display: grid; justify-items: center; padding: 48px 24px; color: var(--fb-text-muted); text-align: center; }
.bv-feedback-empty-icon { display: inline-flex; width: 48px; height: 48px; align-items: center; justify-content: center; border-radius: 14px; background: var(--fb-brand-soft); color: var(--fb-brand); }
.bv-feedback-empty-icon svg { width: 23px; height: 23px; }
.bv-feedback-empty strong { margin-top: 16px; color: var(--fb-text); font-size: 15px; font-weight: 650; }
.bv-feedback-empty p { max-width: 280px; margin: 7px 0 0; font-size: 12px; line-height: 1.55; }

.bv-feedback-card {
  position: relative;
  margin-bottom: 11px;
  padding: 15px;
  border: 1px solid var(--fb-line);
  border-radius: var(--fb-radius);
  background: var(--fb-bg);
  box-shadow: 0 5px 16px rgba(20, 34, 22, .045);
  transition: border-color 180ms ease, box-shadow 180ms ease, transform 180ms ease;
}
.bv-feedback-card:hover { border-color: var(--fb-line-strong); box-shadow: 0 8px 22px rgba(20, 34, 22, .075); }
.bv-feedback-card.is-highlighted { border-color: var(--fb-accent); box-shadow: 0 0 0 3px rgba(210, 180, 106, .18); }
.bv-feedback-card.is-resolved { background: var(--fb-bg-soft); }
.bv-feedback-card-top { display: flex; justify-content: space-between; gap: 10px; align-items: flex-start; }
.bv-feedback-card-id { display: flex; min-width: 0; gap: 9px; align-items: center; }
.bv-feedback-number { display: inline-flex; min-width: 29px; height: 29px; flex: 0 0 auto; align-items: center; justify-content: center; padding: 0 6px; border-radius: 9px; background: var(--fb-accent-soft); color: var(--fb-text); font-size: 10px; font-weight: 800; }
.bv-feedback-card-title { min-width: 0; }
.bv-feedback-card-title strong { display: block; overflow: hidden; color: var(--fb-text); font-size: 12px; font-weight: 650; text-overflow: ellipsis; white-space: nowrap; }
.bv-feedback-card-title span { display: block; margin-top: 2px; overflow: hidden; color: var(--fb-text-muted); font-size: 10.5px; text-overflow: ellipsis; white-space: nowrap; }
.bv-feedback-status { display: inline-flex; flex: 0 0 auto; align-items: center; padding: 5px 8px; border-radius: 999px; font-size: 9.5px; font-weight: 750; text-transform: uppercase; }
.bv-feedback-status.is-open { background: var(--fb-warning-soft); color: var(--fb-warning); }
.bv-feedback-status.is-resolved { background: var(--fb-success-soft); color: var(--fb-success); }
.bv-feedback-card-text { margin: 13px 0 0; color: var(--fb-text-soft); font-size: 12.5px; line-height: 1.58; white-space: pre-wrap; }
.bv-feedback-card-meta { display: flex; flex-wrap: wrap; gap: 5px 9px; margin-top: 12px; color: var(--fb-text-muted); font-size: 10.5px; line-height: 1.4; }
.bv-feedback-card-meta span { display: inline-flex; align-items: center; gap: 4px; }
.bv-feedback-card-sync { color: var(--fb-warning); }
.bv-feedback-card-sync.is-synced { color: var(--fb-success); }
.bv-feedback-attachments { display: grid; gap: 6px; margin: 12px 0 0; padding: 0; list-style: none; }
.bv-feedback-attachment {
  display: flex;
  min-height: 38px;
  justify-content: space-between;
  gap: 10px;
  align-items: center;
  padding: 7px 9px;
  border: 1px solid var(--fb-line);
  border-radius: 8px;
  background: var(--fb-bg-soft);
}
.bv-feedback-attachment-main { min-width: 0; }
.bv-feedback-attachment-main strong { display: block; overflow: hidden; color: var(--fb-text-soft); font-size: 10.5px; font-weight: 600; text-overflow: ellipsis; white-space: nowrap; }
.bv-feedback-attachment-main span { display: block; margin-top: 2px; color: var(--fb-text-muted); font-size: 9.5px; }
.bv-feedback-attachment button { flex: 0 0 auto; padding: 5px 6px; border: 0; background: transparent; color: var(--fb-brand); cursor: pointer; font: 600 10px/1 var(--fb-font); }
.bv-feedback-card-actions { display: flex; flex-wrap: wrap; gap: 5px; margin-top: 13px; padding-top: 11px; border-top: 1px solid var(--fb-line); }
.bv-feedback-card-action { min-height: 34px; padding: 0 8px; border: 0; border-radius: 7px; background: transparent; color: var(--fb-text-soft); cursor: pointer; font: 600 10.5px/1 var(--fb-font); }
.bv-feedback-card-action:hover { background: var(--fb-bg-soft); color: var(--fb-brand); }
.bv-feedback-card-action.is-danger:hover { background: var(--fb-danger-soft); color: var(--fb-danger); }

.bv-feedback-edit { margin-top: 13px; }
.bv-feedback-edit textarea {
  width: 100%;
  min-height: 104px;
  padding: 10px 11px;
  border: 1px solid var(--fb-line-strong);
  border-radius: 9px;
  background: var(--fb-bg);
  color: var(--fb-text);
  font: 12.5px/1.55 var(--fb-font);
  resize: vertical;
}
.bv-feedback-edit-footer { display: flex; justify-content: space-between; gap: 10px; align-items: center; margin-top: 7px; }
.bv-feedback-edit-count { color: var(--fb-text-muted); font-size: 10px; }
.bv-feedback-edit-actions { display: flex; gap: 5px; }

.bv-feedback-document-upload { margin-bottom: 13px; padding: 14px; border: 1px dashed var(--fb-line-strong); border-radius: var(--fb-radius); background: var(--fb-bg-soft); }
.bv-feedback-document-upload strong { display: block; color: var(--fb-text); font-size: 12px; }
.bv-feedback-document-upload p { margin: 5px 0 10px; color: var(--fb-text-muted); font-size: 10.5px; line-height: 1.5; }
.bv-feedback-document-card { display: flex; gap: 11px; align-items: flex-start; }
.bv-feedback-document-icon { display: inline-flex; width: 36px; height: 36px; flex: 0 0 auto; align-items: center; justify-content: center; border-radius: 9px; background: var(--fb-brand-soft); color: var(--fb-brand); }
.bv-feedback-document-icon svg { width: 18px; height: 18px; }
.bv-feedback-document-body { min-width: 0; flex: 1; }

.bv-feedback-shortcut { padding: 9px 16px; border-top: 1px solid var(--fb-line); background: var(--fb-bg-soft); color: var(--fb-text-muted); font-size: 10px; text-align: center; }
.bv-feedback-shortcut kbd { padding: 2px 5px; border: 1px solid var(--fb-line-strong); border-bottom-width: 2px; border-radius: 4px; background: var(--fb-bg); color: var(--fb-text-soft); font: 600 9px/1 var(--fb-font); }

.bv-feedback-dialog {
  max-width: none;
  padding: 0;
  border: 1px solid var(--fb-line);
  border-radius: 14px;
  background: var(--fb-bg);
  color: var(--fb-text);
  box-shadow: var(--fb-shadow);
  font-family: var(--fb-font);
}
.bv-feedback-dialog::backdrop { background: rgba(9, 20, 12, .3); backdrop-filter: blur(1.5px); }
.bv-feedback-composer { position: fixed; width: min(390px, calc(100vw - 24px)); margin: 0; }
.bv-feedback-dialog-card { width: min(430px, calc(100vw - 24px)); }
.bv-feedback-dialog-header { display: flex; justify-content: space-between; gap: 15px; align-items: flex-start; padding: 17px 18px 14px; border-bottom: 1px solid var(--fb-line); }
.bv-feedback-dialog-header h2 { margin: 0; color: var(--fb-text); font: 650 17px/1.3 var(--fb-font); letter-spacing: -.015em; }
.bv-feedback-dialog-header p { margin: 4px 0 0; color: var(--fb-text-muted); font-size: 10.5px; line-height: 1.45; }
.bv-feedback-dialog-body { padding: 16px 18px 18px; }
.bv-feedback-target { margin: 0 0 13px; padding: 9px 10px; border-left: 3px solid var(--fb-accent); border-radius: 0 7px 7px 0; background: var(--fb-accent-soft); color: var(--fb-text-soft); font-size: 10.5px; line-height: 1.45; }
.bv-feedback-field { display: grid; gap: 6px; margin-bottom: 13px; }
.bv-feedback-field-row { display: flex; justify-content: space-between; gap: 10px; align-items: center; }
.bv-feedback-field label,
.bv-feedback-field-label { color: var(--fb-text-soft); font-size: 10.5px; font-weight: 650; }
.bv-feedback-char-count { color: var(--fb-text-muted); font-size: 10px; font-weight: 500; }
.bv-feedback-field input,
.bv-feedback-field textarea {
  width: 100%;
  border: 1px solid var(--fb-line-strong);
  border-radius: 9px;
  background: var(--fb-bg);
  color: var(--fb-text);
  font: 12.5px/1.55 var(--fb-font);
}
.bv-feedback-field input { height: 42px; padding: 0 10px; }
.bv-feedback-field textarea { min-height: 112px; padding: 9px 10px; resize: vertical; }
.bv-feedback-field input:focus,
.bv-feedback-field textarea:focus { border-color: var(--fb-brand); outline: 3px solid rgba(46, 98, 49, .12); }
.bv-feedback-dropzone {
  display: grid;
  min-height: 74px;
  place-items: center;
  padding: 12px;
  border: 1px dashed var(--fb-line-strong);
  border-radius: 9px;
  background: var(--fb-bg-soft);
  color: var(--fb-text-soft);
  cursor: pointer;
  text-align: center;
}
.bv-feedback-dropzone:hover { border-color: var(--fb-brand); background: var(--fb-brand-soft); }
.bv-feedback-dropzone strong { display: block; color: var(--fb-brand); font-size: 11px; }
.bv-feedback-dropzone span { display: block; margin-top: 3px; color: var(--fb-text-muted); font-size: 10px; line-height: 1.4; }
.bv-feedback-dropzone input { position: absolute; width: 1px; height: 1px; overflow: hidden; opacity: 0; }
.bv-feedback-selected-files { display: grid; gap: 5px; margin: 8px 0 0; padding: 0; list-style: none; }
.bv-feedback-selected-file { display: flex; justify-content: space-between; gap: 8px; align-items: center; padding: 7px 8px; border-radius: 7px; background: var(--fb-bg-soft); color: var(--fb-text-soft); font-size: 10px; }
.bv-feedback-selected-file > span { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.bv-feedback-selected-file button { border: 0; background: transparent; color: var(--fb-danger); cursor: pointer; font: 700 14px/1 var(--fb-font); }
.bv-feedback-help { margin: 7px 0 0; color: var(--fb-text-muted); font-size: 9.5px; line-height: 1.45; }
.bv-feedback-error { margin: 12px 0 0; padding: 9px 10px; border: 1px solid #e8b9b6; border-radius: 8px; background: var(--fb-danger-soft); color: var(--fb-danger); font-size: 10.5px; line-height: 1.45; }
.bv-feedback-dialog-actions { display: flex; justify-content: flex-end; gap: 7px; margin-top: 16px; }
.bv-feedback-dialog-actions .bv-feedback-button { min-width: 92px; }
.bv-feedback-confirm-text { margin: 0; color: var(--fb-text-soft); font-size: 12px; line-height: 1.6; }
.bv-feedback-confirm-preview { max-height: 120px; margin: 12px 0 0; padding: 10px; overflow-y: auto; border-radius: 8px; background: var(--fb-bg-soft); color: var(--fb-text); font-size: 11px; line-height: 1.55; white-space: pre-wrap; }

.bv-feedback-toast-region { position: fixed; right: 22px; bottom: 84px; z-index: 360; display: grid; width: min(360px, calc(100vw - 32px)); gap: 8px; pointer-events: none; }
.bv-feedback-toast { padding: 11px 13px; border: 1px solid rgba(255, 255, 255, .14); border-radius: 10px; background: #17271b; color: #fff; box-shadow: 0 12px 30px rgba(8, 20, 11, .24); font: 500 11px/1.5 var(--fb-font); opacity: 0; transform: translateY(8px); animation: bv-feedback-toast-in 230ms ease forwards; }
.bv-feedback-toast.is-error { background: #722d2a; }
@keyframes bv-feedback-toast-in { to { opacity: 1; transform: none; } }

body.bv-feedback-marking,
body.bv-feedback-marking * { cursor: crosshair !important; }
body.bv-feedback-marking::after {
  position: fixed;
  inset: 12px;
  z-index: 230;
  border: 2px dashed rgba(210, 180, 106, .8);
  border-radius: 12px;
  content: "";
  pointer-events: none;
}

@media (prefers-color-scheme: dark) {
  :root {
    --fb-bg: #152019;
    --fb-bg-soft: #1b2920;
    --fb-bg-muted: #26342a;
    --fb-text: #f4f1e8;
    --fb-text-soft: #c8d0c9;
    --fb-text-muted: #929f96;
    --fb-line: #344339;
    --fb-line-strong: #4a5b4f;
    --fb-brand: #3f8a49;
    --fb-brand-hover: #4d9d57;
    --fb-brand-soft: #243d2a;
    --fb-accent-soft: #403820;
    --fb-danger-soft: #3c2422;
    --fb-success-soft: #203a27;
    --fb-warning-soft: #3a311c;
  }
}

[data-theme="dark"],
.theme-dark,
.modo-escuro {
  --fb-bg: #152019;
  --fb-bg-soft: #1b2920;
  --fb-bg-muted: #26342a;
  --fb-text: #f4f1e8;
  --fb-text-soft: #c8d0c9;
  --fb-text-muted: #929f96;
  --fb-line: #344339;
  --fb-line-strong: #4a5b4f;
  --fb-brand: #3f8a49;
  --fb-brand-hover: #4d9d57;
  --fb-brand-soft: #243d2a;
  --fb-accent-soft: #403820;
  --fb-danger-soft: #3c2422;
  --fb-success-soft: #203a27;
  --fb-warning-soft: #3a311c;
}

@media (max-width: 720px) {
  .bv-feedback-trigger { right: 18px; bottom: 16px; width: 50px; height: 50px; min-height: 50px; justify-content: center; padding: 0; }
  body.publica .bv-feedback-trigger { right: 72px; }
  .bv-feedback-trigger-label { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
  .bv-feedback-count { position: absolute; top: -7px; right: -5px; }
  .bv-feedback-scrim.is-open { visibility: visible; opacity: 1; transition: opacity 180ms ease, visibility 0ms step-start; }
  .bv-feedback-drawer { width: 100%; border-left: 0; }
  .bv-feedback-toolbar { grid-template-columns: 1fr auto; }
  .bv-feedback-toolbar [data-action="export"] { grid-column: 1 / -1; }
  .bv-feedback-dialog::backdrop { background: rgba(8, 18, 11, .58); }
  .bv-feedback-composer { top: auto !important; right: 10px !important; bottom: 10px !important; left: 10px !important; width: auto; max-height: calc(100vh - 20px); overflow-y: auto; }
  .bv-feedback-dialog-card { width: calc(100vw - 20px); }
  .bv-feedback-dialog-actions { flex-direction: column-reverse; }
  .bv-feedback-dialog-actions .bv-feedback-button { width: 100%; }
  .bv-feedback-toast-region { right: 16px; bottom: 76px; left: 16px; width: auto; }
}

@media (prefers-reduced-motion: reduce) {
  .bv-feedback-trigger,
  .bv-feedback-drawer,
  .bv-feedback-scrim,
  .bv-feedback-card { transition: none; }
  .bv-feedback-pin.is-highlighted,
  .bv-feedback-sync[data-state="syncing"]::before { animation: none; }
}

@media print {
  .bv-feedback-trigger,
  .bv-feedback-pin,
  .bv-feedback-drawer,
  .bv-feedback-scrim,
  .bv-feedback-dialog,
  .bv-feedback-toast-region { display: none !important; }
}

/* ===== validação do cliente + ocultar comentários (21/07/2026) ===== */
.bv-feedback-status.is-done { background: #E8F0FE; color: #1D5FD6; }
.bv-feedback-status.is-rejected { background: #FCE8E6; color: #B3261E; }
.bv-feedback-card.is-done { border-color: rgba(29, 95, 214, .35); }
.bv-feedback-card.is-rejected { border-color: rgba(179, 38, 30, .4); }
.bv-feedback-review-note { margin: 2px 0 0; padding: 9px 11px; border-left: 3px solid #1D5FD6; border-radius: 0 8px 8px 0; background: rgba(29, 95, 214, .08); font-size: 12px; line-height: 1.5; }
.bv-feedback-review-note strong { display: block; margin-bottom: 2px; font-size: 9.5px; letter-spacing: .07em; text-transform: uppercase; color: #1D5FD6; }
.bv-feedback-review-note span { opacity: .88; }
.bv-feedback-card-action.is-approve { color: #157A47; font-weight: 700; }
.bv-feedback-card-action.is-approve:hover { background: rgba(21, 122, 71, .1); }
.bv-feedback-card-action.is-reject { color: #B3261E; font-weight: 700; }
.bv-feedback-card-action.is-reject:hover { background: rgba(179, 38, 30, .09); }
.bv-feedback-toggle-pins[aria-pressed="true"] { box-shadow: inset 0 0 0 1px currentColor; }
