body.kbfs-active { padding-bottom: calc(var(--kbfs-height, 90px) + 12px) !important; }
html { scroll-padding-bottom: calc(var(--kbfs-height, 90px) + 20px); }
#kbfs-dock { box-sizing: border-box; position: fixed; bottom: 0; left: 0; right: 0; z-index: 900; padding: 9px 12px calc(9px + env(safe-area-inset-bottom, 0px)); background: #fff; border-top: 1px solid #dce5f0; box-shadow: 0 -3px 16px #18355b12; }
#kbfs-link { box-sizing: border-box; display: flex; align-items: center; justify-content: center; gap: 12px; max-width: 580px; min-height: 48px; margin: 0 auto; padding: 11px 18px; border: 1px solid #0862d1; border-radius: 14px; background: linear-gradient(135deg,#0866df,#064eb4); color: #fff !important; text-decoration: none !important; font: 600 15px/1.4 system-ui,sans-serif; text-align: left; box-shadow: 0 3px 9px #0866df25; overflow-wrap: anywhere; }
#kbfs-link svg { flex: 0 0 28px; }
#kbfs-link:hover { background: #064ba8; }
#kbfs-link:focus-visible { outline: 3px solid #e99b14; outline-offset: 3px; }
@media (min-width: 1200px) {
 body.kbfs-active { padding-right: 208px !important; padding-bottom: 0 !important; }
 #kbfs-dock { left: auto; top: 48%; bottom: auto; width: 196px; border: 0; background: transparent; padding: 8px; box-shadow: none; }
 #kbfs-link { flex-direction: column; text-align: center; padding: 18px 12px; border-radius: 18px; }
}
@media print { #kbfs-dock { display: none !important; } body.kbfs-active { padding: 0 !important; } }
