/* Shared across patient and clinic: one reachable action above the keyboard. */
.abis-keyboard-bar {
  position:fixed;
  z-index:100;
  top:var(--abis-keyboard-edge, 100dvh);
  left:0;
  right:0;
  transform:translateY(-100%);
  display:flex;
  justify-content:flex-end;
  padding:4px max(16px, env(safe-area-inset-right)) 4px max(16px, env(safe-area-inset-left));
  border-top:1px solid #e4dfe9;
  background:#faf8fc;
  box-shadow:0 -4px 16px #5a2e8f10;
}
.abis-keyboard-bar[hidden] {display:none;}
#abis-keyboard-done {
  min-width:80px;
  min-height:44px;
  padding:8px 12px;
  border:0;
  border-radius:10px;
  color:var(--purple, #5a2e8f);
  background:transparent;
  font:600 16px/1.5 system-ui, sans-serif;
  cursor:pointer;
  touch-action:manipulation;
}
#abis-keyboard-done:focus-visible {outline:2px solid var(--purple, #5a2e8f);outline-offset:-2px;}
body.abis-input-active .bottom-nav {display:none;}
body.abis-input-active input, body.abis-input-active textarea {scroll-margin-bottom:72px;}
@media (any-pointer:coarse) {
  /* Avoid focus zoom on touch devices, including wide tablets and number pads. */
  :root body :is(input, textarea, select) {font-size:max(16px, 1em);}
}
