/* REQ-FBENTRY-001..004: one native outline icon, with the existing report doors.
   The field app supplies its already-measured nav/action/drive clearance. */
body.feedback-screen { --feedback-bottom: calc(32px + env(safe-area-inset-bottom, 0px)); }
body.feedback-office { --feedback-bottom: calc(76px + env(safe-area-inset-bottom, 0px)); }
body.tech-app.feedback-screen {
  --feedback-bottom: calc(var(--t-assistant-bottom, 88px) + env(safe-area-inset-bottom, 0px));
}
body.tech-app.feedback-screen.has-assistant-bar {
  --feedback-bottom: calc(var(--t-assistant-bottom, 88px) + 72px + env(safe-area-inset-bottom, 0px));
}
body.feedback-portal { --feedback-bottom: calc(88px + env(safe-area-inset-bottom, 0px)); }
body .feedback-trigger,
body.tech-app .feedback-trigger {
  position: fixed;
  left: auto;
  right: max(16px, env(safe-area-inset-right, 0px));
  top: auto;
  bottom: var(--feedback-bottom);
  width: 48px;
  height: 48px;
  min-width: 48px;
  min-height: 48px;
  box-sizing: border-box;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  margin: 0;
  border: 1px solid var(--border, #c7c7c7);
  border-radius: var(--r-lg, 8px);
  background: var(--panel, #fff);
  color: var(--text, #222);
  cursor: pointer;
  text-decoration: none;
  z-index: 90;
}
body.tech-app .feedback-trigger {
  z-index: 48;
  background: var(--md-surface-c-high);
  color: var(--md-on-surface);
  border: 1px solid var(--md-outline);
}
body .feedback-trigger::before {
  content: "";
  width: 20px;
  height: 20px;
  background: currentColor;
  -webkit-mask-image: url("/static/feedback_bug.svg?v=9a294c5f4fe0");
  mask-image: url("/static/feedback_bug.svg?v=9a294c5f4fe0");
  -webkit-mask-size: contain;
  mask-size: contain;
  -webkit-mask-repeat: no-repeat;
  mask-repeat: no-repeat;
  -webkit-mask-position: center;
  mask-position: center;
}
body .feedback-trigger:focus-visible {
  outline: 3px solid var(--brand, #695500);
  outline-offset: 3px;
}
body .feedback-trigger[hidden] { display: none; }
body.feedback-linked-screen { padding-bottom: calc(96px + env(safe-area-inset-bottom, 0px)); }
body.feedback-portal { padding-bottom: calc(152px + env(safe-area-inset-bottom, 0px)); }
body.feedback-messages #msg-app {
  padding-bottom: calc(96px + env(safe-area-inset-bottom, 0px));
  box-sizing: border-box;
}
body.tech-app.feedback-screen .t-main,
body.tech-app.feedback-screen.has-assistant-bar .t-main {
  padding-bottom: calc(var(--feedback-bottom) + 64px);
}
/* Booking's footer grows with its content; reserve the icon's column instead
   of guessing a footer height. */
body.feedback-book .feedback-trigger { bottom: max(16px, env(safe-area-inset-bottom, 0px)); }
body.feedback-book .bk-bottom { padding-right: calc(80px + env(safe-area-inset-right, 0px)); }
