/* Scoped, local styles. Geometry is independent of theme font metrics. */
#lfc-root {
  --lfc-vh: 100vh;
  --lfc-left: max(env(safe-area-inset-left, 0px), min(var(--lfc-contact-side), max(0px, calc(50% - 80px))));
  --lfc-right: max(env(safe-area-inset-right, 0px), min(var(--lfc-top-side), max(0px, calc(50% - 80px))));
  --lfc-cb: max(env(safe-area-inset-bottom, 0px), min(calc(var(--lfc-contact-bottom) + env(safe-area-inset-bottom, 0px)), max(0px, calc(var(--lfc-vh) - var(--lfc-group-height) - 120px - env(safe-area-inset-top, 0px)))));
  --lfc-tb: max(env(safe-area-inset-bottom, 0px), min(calc(var(--lfc-top-bottom) + env(safe-area-inset-bottom, 0px)), max(0px, calc(var(--lfc-vh) - var(--lfc-top-size) - 120px - env(safe-area-inset-top, 0px)))));
  position: fixed;
  inset: 0;
  pointer-events: none;
  direction: ltr;
  font: 14px/1.4 system-ui, sans-serif;
  color: #fff;
}
@supports (height: 100dvh) { #lfc-root { --lfc-vh: 100dvh; } }
#lfc-root, #lfc-root * { box-sizing: border-box; }
#lfc-root .lfc-contacts {
  position: absolute;
  left: var(--lfc-left);
  bottom: var(--lfc-cb);
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  align-content: flex-start;
  gap: var(--lfc-gap);
  width: max-content;
  max-width: calc(100% - var(--lfc-left) - var(--lfc-reserve));
  padding: 0;
  margin: 0;
}
#lfc-root .lfc-button {
  appearance: none;
  position: relative;
  display: inline-flex;
  flex: 0 0 auto;
  align-items: center;
  justify-content: center;
  width: var(--lfc-size);
  height: var(--lfc-size);
  min-width: 44px;
  min-height: 44px;
  max-width: none;
  max-height: none;
  padding: 0;
  margin: 0;
  border: 0;
  border-radius: var(--lfc-radius);
  background: var(--lfc-bg);
  color: var(--lfc-icon);
  box-shadow: 0 2px 8px #0003;
  font: inherit;
  text-decoration: none;
  text-indent: 0;
  cursor: pointer;
  pointer-events: auto;
  touch-action: manipulation;
  overflow: visible;
}
#lfc-root .lfc-button::before, #lfc-root .lfc-button::after { content: none; }
#lfc-root .lfc-button svg { display: block; width: 52%; height: 52%; fill: none; stroke: currentColor; pointer-events: none; }
#lfc-root #lfc-top { position: absolute; right: var(--lfc-right); bottom: var(--lfc-tb); }
#lfc-root .lfc-button[hidden] { display: none !important; }
#lfc-root .lfc-button:focus { outline: 3px solid #fff; outline-offset: 2px; box-shadow: 0 0 0 7px #111; }
#lfc-root .lfc-tooltip {
  --lfc-tooltip-anchor: calc(var(--lfc-cb) + var(--lfc-group-height) + 8px);
  --lfc-tooltip-bottom: min(var(--lfc-tooltip-anchor), max(8px, calc(var(--lfc-vh) - 240px)));
  position: fixed;
  left: var(--lfc-left);
  bottom: var(--lfc-tooltip-bottom);
  display: block;
  width: max-content;
  max-width: min(240px, calc(100% - var(--lfc-left) - 8px));
  max-height: calc(var(--lfc-vh) - var(--lfc-tooltip-bottom) - env(safe-area-inset-top, 0px) - 8px);
  overflow-y: auto;
  padding: 8px 10px;
  border-radius: 5px;
  background: #111827;
  color: #fff;
  font: 14px/1.4 system-ui, sans-serif;
  text-align: start;
  unicode-bidi: plaintext;
  overflow-wrap: anywhere;
  white-space: normal;
  visibility: hidden;
  opacity: 0;
  pointer-events: auto;
}
#lfc-root #lfc-top .lfc-tooltip { --lfc-tooltip-anchor: calc(var(--lfc-tb) + var(--lfc-top-size) + 8px); left: auto; right: var(--lfc-right); max-width: min(240px, calc(100% - var(--lfc-right) - 8px)); }
#lfc-root .lfc-button:is(:hover, :focus) .lfc-tooltip { visibility: visible; opacity: 1; }
@media (hover: hover) and (prefers-reduced-motion: no-preference) {
  #lfc-root.lfc-hover .lfc-button { transition: box-shadow .15s ease; }
  #lfc-root.lfc-hover .lfc-button:hover { box-shadow: 0 4px 14px #0006; }
}
@media (forced-colors: active) { #lfc-root .lfc-button { border: 2px solid ButtonText; } }
@media print { #lfc-root { display: none; } }
