/* ══════════════════════════════════════════════════════════
   Guardian Mesh — Internal Feedback Widget
   Shared across all gated portal pages.
   Visible only to @alertenterprise.com users.
   ══════════════════════════════════════════════════════════ */

/* ── Print: hide every feedback-widget element ──
   Nothing from the widget (FAB, modals, onboarding bubble, fullscreen
   annotation view, tooltips, id-bar link) should appear in any PDF export
   or print job across any gated portal page. */
@media print {
  .fb-fab,
  .fb-overlay,
  .fb-fullscreen,
  .fb-onboard,
  .fb-tooltip,
  #fb-idbar-link { display: none !important; }
}

/* ── Floating feedback card (the launcher) ── */
.fb-fab {
  position: fixed; bottom: 28px; right: 28px; z-index: 99990;
  background: #2C2C2C; color: #fff;
  padding: 16px 74px 16px 18px; border-radius: 16px;
  border: none; cursor: pointer;
  font-family: inherit; text-align: left;
  display: none; /* hidden by default; JS reveals for Alert users */
  align-items: center; gap: 14px;
  box-shadow: 0 10px 32px rgba(0,0,0,0.22);
  transition: box-shadow .15s, transform .08s;
  min-width: 270px;
  user-select: none;
}
.fb-fab.fb-visible { display: flex; }
.fb-fab:hover:not(.fb-dragging) {
  box-shadow: 0 14px 40px rgba(0,0,0,0.28);
  transform: translateY(-2px);
}
.fb-fab.fb-dragging {
  cursor: grabbing;
  box-shadow: 0 16px 48px rgba(0,0,0,0.35);
  transition: none;
}
.fb-fab-icon {
  width: 40px; height: 40px; border-radius: 10px;
  background: rgba(255,255,255,0.12);
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.fb-fab-icon svg { width: 20px; height: 20px; }
.fb-fab-text { display: flex; flex-direction: column; gap: 3px; pointer-events: none; }
.fb-fab-title { font-size: 15px; font-weight: 700; letter-spacing: 0.01em; }
.fb-fab-sub {
  font-size: 10px; font-weight: 600; letter-spacing: 0.08em;
  text-transform: uppercase; color: #FF8C42;
}
.fb-drag-handle {
  position: absolute; top: 8px; right: 10px;
  width: 14px; height: 14px; opacity: 0;
  transition: opacity .15s;
  color: rgba(255,255,255,0.5);
  pointer-events: none;
}
.fb-fab:hover .fb-drag-handle { opacity: 1; }

/* ── Floating feedback panel (no backdrop — users can interact with the page behind it) ── */
.fb-overlay {
  position: fixed; top: 80px; right: 32px;
  width: 460px; max-width: calc(100vw - 24px);
  max-height: calc(100vh - 100px);
  z-index: 99999;
  display: none;
  pointer-events: none; /* only the panel inside is clickable */
}
.fb-overlay.fb-open { display: block; }
.fb-modal {
  background: #fff;
  border-radius: 14px;
  width: 100%;
  max-height: calc(100vh - 100px);
  overflow-y: auto;
  padding: 0 26px 22px;
  box-shadow: 0 16px 48px rgba(0,0,0,0.24), 0 2px 8px rgba(0,0,0,0.12);
  font-family: inherit;
  pointer-events: auto; /* re-enable on the panel only */
  border: 1px solid #E0DDD8;
}
/* Draggable header — sticky at the top of the panel */
.fb-modal-header {
  position: sticky; top: 0;
  background: #fff;
  display: flex; align-items: flex-start; justify-content: space-between;
  padding: 22px 0 10px;
  margin: 0 0 6px;
  border-bottom: 1px solid #F5F4F2;
  cursor: move;
  user-select: none;
  z-index: 1;
}
.fb-modal-header:active { cursor: grabbing; }
.fb-modal.fb-dragging { box-shadow: 0 24px 60px rgba(0,0,0,0.32), 0 4px 12px rgba(0,0,0,0.16); }
.fb-modal.fb-dragging .fb-modal-header { background: #FAFAF9; }
.fb-modal-header .fb-title-wrap h2 {
  font-size: 18px; font-weight: 700; color: #0A0A0A;
  margin: 0 0 3px;
}
.fb-modal-header .fb-sub {
  font-size: 12px; color: #6B6B6B; margin: 0;
}
.fb-internal-pill {
  display: inline-block; background: #FFF3E0; color: #E65100;
  font-size: 9px; font-weight: 800; letter-spacing: 0.06em;
  padding: 3px 8px; border-radius: 4px;
  text-transform: uppercase; margin-top: 8px;
}
.fb-close {
  background: none; border: none; cursor: pointer;
  color: #6B6B6B; font-size: 24px; line-height: 1; padding: 0;
  width: 28px; height: 28px; display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
  cursor: pointer; /* override header's 'move' cursor */
}
.fb-close:hover { color: #0A0A0A; }

/* ── Context chip ── */
.fb-context {
  background: #F5F4F2; border: 1px solid #E0DDD8; border-radius: 10px;
  padding: 10px 12px; margin: 16px 0 18px;
  font-size: 11px; color: #6B6B6B;
  display: flex; flex-direction: column; gap: 3px;
}
.fb-ctx-row { display: flex; gap: 6px; }
.fb-ctx-key { font-weight: 600; color: #2C2C2C; min-width: 60px; }
.fb-ctx-val { flex: 1; word-break: break-all; font-family: 'DM Mono', 'Courier New', monospace; font-size: 10px; }

/* ── Severity selector ── */
.fb-field { margin-bottom: 16px; }
.fb-field label {
  display: block; font-size: 10px; font-weight: 700; text-transform: uppercase;
  letter-spacing: 0.08em; color: #6B6B6B; margin-bottom: 6px;
}
.fb-severity { display: flex; gap: 6px; flex-wrap: wrap; }
.fb-sev-btn {
  flex: 1 1 calc(50% - 3px); min-width: 0;
  padding: 8px 4px; border-radius: 8px;
  border: 1px solid #E0DDD8; background: #fff;
  cursor: pointer; font-family: inherit; font-size: 11px; font-weight: 600;
  color: #6B6B6B; transition: all .15s;
}
.fb-sev-btn:hover { border-color: #2C2C2C; color: #0A0A0A; }
.fb-sev-btn.selected { background: #2C2C2C; color: #fff; border-color: #2C2C2C; }
.fb-sev-dot {
  display: inline-block; width: 6px; height: 6px; border-radius: 50%;
  margin-right: 5px; vertical-align: middle;
}
.fb-sev-btn[data-sev="broken"] .fb-sev-dot { background: #E74C3C; }
.fb-sev-btn[data-sev="confusing"] .fb-sev-dot { background: #F39C12; }
.fb-sev-btn[data-sev="looks-off"] .fb-sev-dot { background: #3498DB; }
.fb-sev-btn[data-sev="idea"] .fb-sev-dot { background: #28A745; }

/* ── Textarea ── */
.fb-textarea {
  width: 100%; min-height: 100px; padding: 12px 14px;
  border: 1px solid #E0DDD8; border-radius: 10px;
  background: #F5F4F2; color: #0A0A0A;
  font-family: inherit; font-size: 13px; line-height: 1.5;
  resize: vertical; box-sizing: border-box;
}
.fb-textarea:focus { outline: none; border-color: #2C2C2C; background: #fff; }

/* ── Screenshot actions ── */
.fb-screenshot-actions { display: flex; gap: 8px; }
.fb-cap-btn {
  flex: 1; padding: 11px 14px;
  background: #2C2C2C; color: #fff; border: none; border-radius: 10px;
  cursor: pointer; font-family: inherit; font-size: 12px; font-weight: 700;
  display: flex; align-items: center; justify-content: center; gap: 7px;
  transition: opacity .15s;
}
.fb-cap-btn:hover { opacity: 0.88; }
.fb-cap-btn:disabled { opacity: 0.5; cursor: wait; }
.fb-cap-alt {
  padding: 11px 14px;
  background: #fff; color: #6B6B6B; border: 1px solid #E0DDD8; border-radius: 10px;
  cursor: pointer; font-family: inherit; font-size: 12px; font-weight: 600;
  transition: all .15s;
}
.fb-cap-alt:hover { border-color: #2C2C2C; color: #0A0A0A; }

/* ── Screenshot preview + annotation ── */
.fb-screenshot-wrap {
  position: relative; border: 1px solid #E0DDD8; border-radius: 10px;
  overflow: hidden; margin-top: 8px; display: none; background: #F5F4F2;
}
.fb-screenshot-wrap.fb-has-image { display: block; }
.fb-screenshot-canvas-wrap {
  position: relative; width: 100%; line-height: 0;
}
.fb-screenshot-img { width: 100%; display: block; }
.fb-annot-canvas {
  position: absolute; top: 0; left: 0; width: 100%; height: 100%;
  cursor: crosshair;
}
.fb-annot-bar {
  display: flex; align-items: center; gap: 6px;
  padding: 8px 10px; background: #fff; border-top: 1px solid #E0DDD8;
}
.fb-annot-tool {
  padding: 6px 10px; border: 1px solid #E0DDD8; border-radius: 6px;
  background: #fff; color: #6B6B6B; cursor: pointer;
  font-family: inherit; font-size: 11px; font-weight: 600;
  display: flex; align-items: center; gap: 5px;
  transition: all .12s;
}
.fb-annot-tool:hover { border-color: #2C2C2C; color: #0A0A0A; }
.fb-annot-tool.fb-active { background: #2C2C2C; color: #fff; border-color: #2C2C2C; }
.fb-annot-tool svg { width: 12px; height: 12px; }
.fb-annot-spacer { flex: 1; }
.fb-remove-img {
  width: 26px; height: 26px; border-radius: 50%;
  background: #F5F4F2; color: #6B6B6B; border: 1px solid #E0DDD8;
  cursor: pointer; font-size: 14px; line-height: 1;
  display: flex; align-items: center; justify-content: center;
}
.fb-remove-img:hover { background: #E74C3C; color: #fff; border-color: #E74C3C; }
.fb-hint {
  font-size: 10px; color: #9B9B9B; margin-top: 6px; line-height: 1.4;
}

/* ── Required field indicator ── */
.fb-required-star {
  color: #E74C3C;
  font-weight: 700;
  margin-left: 2px;
}

/* ── Shake animation for missing-screenshot feedback ── */
@keyframes fb-shake {
  0%, 100% { transform: translateX(0); }
  20% { transform: translateX(-4px); }
  40% { transform: translateX(4px); }
  60% { transform: translateX(-3px); }
  80% { transform: translateX(3px); }
}
.fb-shake {
  animation: fb-shake 0.5s ease-in-out;
  box-shadow: 0 0 0 2px #E74C3C66 !important;
}

/* ── Collapsible error / trail sections ── */
.fb-collapse {
  background: #F5F4F2; border: 1px solid #E0DDD8; border-radius: 10px;
  margin-top: 10px; overflow: hidden;
}
.fb-collapse-header {
  display: flex; align-items: center; gap: 8px;
  padding: 10px 12px; cursor: pointer; user-select: none;
  font-size: 11px; font-weight: 600; color: #2C2C2C;
}
.fb-collapse-header:hover { background: #EEECE7; }
.fb-collapse-header .fb-chev {
  width: 10px; height: 10px; color: #6B6B6B;
  transition: transform .15s;
}
.fb-collapse.fb-expanded .fb-chev { transform: rotate(90deg); }
.fb-collapse-count {
  margin-left: auto; font-size: 10px; color: #6B6B6B;
  background: #fff; padding: 2px 7px; border-radius: 10px;
  border: 1px solid #E0DDD8;
}
.fb-collapse-body {
  display: none; padding: 8px 12px 12px;
  font-size: 10px; color: #6B6B6B; line-height: 1.5;
  max-height: 160px; overflow-y: auto;
  font-family: 'DM Mono', 'Courier New', monospace;
  border-top: 1px solid #E0DDD8;
  background: #fff;
}
.fb-collapse.fb-expanded .fb-collapse-body { display: block; }
.fb-collapse-body .fb-log-entry {
  padding: 4px 0; border-bottom: 1px dashed #E0DDD8;
}
.fb-collapse-body .fb-log-entry:last-child { border-bottom: none; }
.fb-collapse-body .fb-log-type {
  display: inline-block; font-size: 9px; font-weight: 700; text-transform: uppercase;
  padding: 1px 5px; border-radius: 3px; margin-right: 6px; color: #fff;
}
.fb-collapse-body .fb-log-type.type-error { background: #E74C3C; }
.fb-collapse-body .fb-log-type.type-warn { background: #F39C12; }
.fb-collapse-body .fb-log-type.type-click { background: #3498DB; }
.fb-collapse-body .fb-log-type.type-input { background: #9B59B6; }
.fb-collapse-body .fb-log-type.type-scroll { background: #95A5A6; }
.fb-collapse-body .fb-log-type.type-nav { background: #28A745; }
.fb-empty { color: #9B9B9B; font-style: italic; }

/* ── Follow-up checkbox ── */
.fb-followup {
  display: flex; align-items: center; gap: 8px;
  padding: 10px 12px; background: #F5F4F2; border: 1px solid #E0DDD8;
  border-radius: 10px; margin-top: 14px;
  cursor: pointer; user-select: none;
}
.fb-followup input[type="checkbox"] {
  width: 15px; height: 15px; accent-color: #2C2C2C; cursor: pointer;
}
.fb-followup label {
  font-size: 12px; color: #2C2C2C; cursor: pointer; margin: 0;
  text-transform: none; letter-spacing: 0; font-weight: 500;
}

/* ── Similar feedback step ── */
.fb-similar-wrap { margin-top: 4px; }
.fb-similar-intro {
  font-size: 13px; color: #2C2C2C; margin-bottom: 12px;
}
.fb-similar-item {
  background: #F5F4F2; border: 1px solid #E0DDD8; border-radius: 10px;
  padding: 12px 14px; margin-bottom: 8px; cursor: pointer;
  transition: all .12s;
}
.fb-similar-item:hover { border-color: #2C2C2C; background: #fff; }
.fb-similar-item.selected { border-color: #2C2C2C; background: #fff; box-shadow: 0 0 0 2px rgba(44,44,44,0.1); }
.fb-similar-msg {
  font-size: 12px; color: #0A0A0A; font-weight: 600; margin-bottom: 4px;
}
.fb-similar-meta {
  font-size: 10px; color: #9B9B9B;
  display: flex; gap: 10px;
}

/* ── Submit row ── */
.fb-actions {
  display: flex; gap: 8px; justify-content: flex-end; margin-top: 20px;
  padding-top: 16px; border-top: 1px solid #E0DDD8;
}
.fb-btn-cancel {
  padding: 10px 18px; border: 1px solid #E0DDD8; border-radius: 10px;
  background: #fff; color: #6B6B6B; cursor: pointer;
  font-family: inherit; font-size: 13px; font-weight: 600;
}
.fb-btn-cancel:hover { color: #0A0A0A; border-color: #2C2C2C; }
.fb-btn-submit {
  padding: 10px 22px; border: none; border-radius: 10px;
  background: #2C2C2C; color: #fff; cursor: pointer;
  font-family: inherit; font-size: 13px; font-weight: 700;
  display: flex; align-items: center; gap: 6px;
}
.fb-btn-submit:hover { opacity: 0.88; }
.fb-btn-submit:disabled { opacity: 0.4; cursor: not-allowed; }

/* ── Success + error states ── */
.fb-success { text-align: center; padding: 40px 20px 30px; }
.fb-check {
  width: 52px; height: 52px; border-radius: 50%; background: #28A745;
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto 16px; color: #fff; font-size: 28px;
}
.fb-success h3 { font-size: 16px; font-weight: 700; color: #0A0A0A; margin: 0 0 4px; }
.fb-success p { font-size: 12px; color: #6B6B6B; margin: 0; }
.fb-error-banner {
  background: #FBEBE8; border: 1px solid #E74C3C; color: #C0392B;
  padding: 8px 12px; border-radius: 8px; margin-top: 10px;
  font-size: 12px; display: none;
}
.fb-error-banner.fb-show { display: block; }

/* ── Fullscreen annotation view (for hi-res screens / detailed markup) ── */
.fb-fullscreen {
  position: fixed; inset: 0; z-index: 100000;
  background: rgba(10, 10, 10, 0.96);
  display: none;
  flex-direction: column;
  align-items: stretch;
  padding: 0;
}
.fb-fullscreen.fb-fs-open { display: flex; }
.fb-fs-bar {
  display: flex; align-items: center; gap: 8px;
  padding: 12px 20px;
  background: rgba(20, 20, 20, 0.92);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  flex-shrink: 0;
  backdrop-filter: blur(10px);
}
.fb-fs-bar .fb-fs-title {
  font-size: 12px; font-weight: 700; color: #fff;
  letter-spacing: 0.02em; margin-right: 12px;
}
.fb-fs-bar .fb-fs-spacer { flex: 1; }
.fb-fs-tool {
  padding: 8px 12px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.08);
  color: #fff;
  cursor: pointer;
  font-family: inherit; font-size: 12px; font-weight: 600;
  display: flex; align-items: center; gap: 6px;
  transition: all .12s;
}
.fb-fs-tool:hover { background: rgba(255, 255, 255, 0.16); }
.fb-fs-tool.fb-active {
  background: #FF8C42;
  border-color: #FF8C42;
  color: #fff;
}
.fb-fs-tool svg { width: 14px; height: 14px; }
.fb-fs-done {
  padding: 8px 20px;
  background: #28A745;
  border: 1px solid #28A745;
  color: #fff;
  border-radius: 8px;
  cursor: pointer;
  font-family: inherit; font-size: 12px; font-weight: 700;
}
.fb-fs-done:hover { background: #22913b; }
.fb-fs-hint {
  font-size: 11px;
  color: rgba(255, 255, 255, 0.6);
  margin-right: 4px;
}

/* Canvas area fills remaining space and centers the screenshot */
.fb-fs-canvas-wrap {
  flex: 1;
  position: relative;
  display: flex; align-items: center; justify-content: center;
  overflow: hidden;
  padding: 24px;
}
.fb-fs-canvas-stage {
  position: relative;
  max-width: 100%;
  max-height: 100%;
  line-height: 0;
}
.fb-fs-img {
  display: block;
  max-width: 100%;
  max-height: calc(100vh - 120px);
  width: auto; height: auto;
  border-radius: 6px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
}
.fb-fs-annot-canvas {
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 100%;
  cursor: crosshair;
}

/* ── Keycap / shortcut chips ── */
.fb-kbd {
  display: inline-flex; align-items: center; gap: 1px;
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', system-ui, sans-serif;
  font-size: 10px; font-weight: 600;
  padding: 2px 6px; border-radius: 4px;
  background: rgba(255,255,255,0.14);
  color: rgba(255,255,255,0.85);
  border: 1px solid rgba(255,255,255,0.18);
  white-space: nowrap;
  letter-spacing: 0;
}
.fb-kbd.fb-kbd-light {
  background: rgba(0,0,0,0.06);
  color: #2C2C2C;
  border-color: rgba(0,0,0,0.12);
}

/* Keycap chip on the launcher card (positioned absolute at right) */
.fb-fab-kbd {
  position: absolute; right: 14px; top: 50%;
  transform: translateY(-50%);
  pointer-events: none;
}

/* ── Hover tooltips (dark, pointer below) ── */
.fb-tip {
  position: absolute;
  background: #111; color: #fff;
  font-size: 11px; font-weight: 500;
  padding: 7px 10px; border-radius: 6px;
  white-space: nowrap;
  pointer-events: none;
  opacity: 0; transform: translateY(4px);
  transition: opacity .15s, transform .15s;
  z-index: 99998;
  box-shadow: 0 4px 14px rgba(0,0,0,0.25);
}
.fb-tip.fb-tip-show { opacity: 1; transform: translateY(0); }
.fb-tip::after {
  content: ''; position: absolute;
  width: 0; height: 0;
  border-left: 5px solid transparent;
  border-right: 5px solid transparent;
}
.fb-tip.fb-tip-above::after {
  bottom: -5px; left: 50%; margin-left: -5px;
  border-top: 5px solid #111;
}
.fb-tip.fb-tip-below::after {
  top: -5px; left: 50%; margin-left: -5px;
  border-bottom: 5px solid #111;
}
.fb-tip .fb-tip-kbd {
  display: inline-flex; align-items: center;
  font-size: 10px; font-weight: 600;
  padding: 1px 5px; border-radius: 3px;
  background: rgba(255,255,255,0.15);
  margin-left: 6px;
  border: 1px solid rgba(255,255,255,0.2);
}

/* ── First-run onboarding bubble ── */
.fb-onboard {
  position: fixed; z-index: 99995;
  background: #2C2C2C; color: #fff;
  padding: 16px 18px 14px;
  border-radius: 14px;
  max-width: 280px;
  box-shadow: 0 16px 48px rgba(0,0,0,0.3);
  font-family: inherit;
  animation: fbOnboardIn .4s ease-out;
}
@keyframes fbOnboardIn {
  from { opacity: 0; transform: translateY(12px) scale(0.95); }
  to { opacity: 1; transform: translateY(0) scale(1); }
}
.fb-onboard-title {
  font-size: 13px; font-weight: 700;
  margin-bottom: 4px;
  display: flex; align-items: center; gap: 8px;
}
.fb-onboard-title .fb-onboard-dot {
  width: 8px; height: 8px; border-radius: 50%;
  background: #FF8C42;
  animation: fbPulse 2s infinite;
}
@keyframes fbPulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.4; }
}
.fb-onboard-body {
  font-size: 12px; line-height: 1.55;
  color: rgba(255,255,255,0.82);
  margin-bottom: 10px;
}
.fb-onboard-body .fb-kbd { margin: 0 2px; }
.fb-onboard-actions {
  display: flex; gap: 8px; justify-content: flex-end;
}
.fb-onboard-btn {
  padding: 6px 12px;
  background: rgba(255,255,255,0.12);
  color: #fff; border: 1px solid rgba(255,255,255,0.18);
  border-radius: 6px;
  cursor: pointer; font-family: inherit;
  font-size: 11px; font-weight: 600;
  transition: background .12s;
}
.fb-onboard-btn:hover { background: rgba(255,255,255,0.22); }
.fb-onboard-btn.fb-onboard-primary {
  background: #FF8C42; border-color: #FF8C42;
}
.fb-onboard-btn.fb-onboard-primary:hover { background: #ff7a28; }
.fb-onboard-arrow {
  position: absolute;
  bottom: -8px; right: 40px;
  width: 16px; height: 16px;
  background: #2C2C2C;
  transform: rotate(45deg);
}

/* ── Id-bar persistent link ── */
.fb-idbar-link {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 6px 12px;
  background: rgba(255,140,66,0.1);
  border: 1px solid rgba(255,140,66,0.3);
  border-radius: 999px;
  color: #E65100 !important;
  font-size: 11px;
  font-weight: 600;
  text-decoration: none !important;
  cursor: pointer;
  transition: all .12s;
  white-space: nowrap;
  position: relative;
}
.fb-idbar-link:hover {
  background: rgba(255,140,66,0.18);
  border-color: rgba(255,140,66,0.5);
}
.fb-idbar-link svg { width: 13px; height: 13px; flex-shrink: 0; }
.fb-idbar-link .fb-kbd {
  background: rgba(230,81,0,0.12);
  color: #E65100;
  border-color: rgba(230,81,0,0.2);
}

/* Dark mode tweaks (some pages have dark id-bar) */
[data-theme="dark"] .fb-idbar-link {
  background: rgba(255,140,66,0.15);
  color: #FFB380 !important;
}
[data-theme="dark"] .fb-idbar-link .fb-kbd {
  background: rgba(255,255,255,0.1);
  color: #FFB380;
  border-color: rgba(255,255,255,0.15);
}

/* ── Modal footer hint (shown after first use) ── */
.fb-modal-footer-hint {
  text-align: center;
  font-size: 10px; color: #9B9B9B;
  margin-top: 12px;
  padding-top: 10px;
  border-top: 1px dashed #E0DDD8;
}
.fb-modal-footer-hint .fb-kbd {
  margin: 0 2px;
}

/* ── Mobile ── */
@media (max-width: 520px) {
  .fb-fab { min-width: 0; padding: 12px; }
  .fb-fab-text, .fb-fab-kbd { display: none; }
  .fb-modal { padding: 22px 20px; }
  .fb-onboard { max-width: calc(100vw - 40px); }
  .fb-idbar-link .fb-kbd { display: none; }
}
