/* External link to the existing Sibein assistant. No chat client on this site. */
.md-assistant-link {
  position: fixed;
  right: 24px;
  bottom: 24px;
  right: max(24px, env(safe-area-inset-right, 0px));
  bottom: max(24px, env(safe-area-inset-bottom, 0px));
  z-index: 40;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 50px;
  max-width: calc(100vw - 48px);
  box-sizing: border-box;
  padding: 12px 18px;
  border: 1px solid #dce2df;
  border-radius: 999px;
  background: #fff;
  color: #142b3d;
  box-shadow: 0 4px 18px #142b3d1f;
  font: 600 14px/1.4 Inter, Arial, sans-serif;
  text-align: center;
  text-decoration: none;
  overflow-wrap: anywhere;
}
.md-assistant-link svg {
  flex: 0 0 22px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.6;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.md-assistant-link:hover { background: #f7f7f2; color: #142b3d; border-color: #9aa9af; }
.md-assistant-link:focus-visible { outline: 3px solid #285c4d; outline-offset: 4px; }
/* Keep the final footer links reachable above the floating link. */
.footer { padding-bottom: 96px; }
@media (max-width: 600px) {
  .md-assistant-link {
    right: max(16px, env(safe-area-inset-right, 0px));
    bottom: max(16px, env(safe-area-inset-bottom, 0px));
    max-width: calc(100vw - 32px);
    min-height: 48px;
    padding: 12px 16px;
  }
}
@media print { .md-assistant-link { display: none; } }
