/* Keyboard detection is shared across routes; focus alone never hides navigation. */
body[data-keyboard-open="true"] #aiNavigation {
  display: none;
}

body[data-view="consult"][data-keyboard-open="true"] {
  --advisor-tabs-height: 0px;
}

body[data-view="consult"][data-keyboard-open="true"] .advisor {
  top: var(--keyboard-viewport-top, var(--advisor-viewport-top, 0px));
  height: var(--keyboard-viewport-height, var(--advisor-viewport-height, 100dvh));
}

body[data-view="customer-solutions"][data-keyboard-open="true"] .customer-solutions {
  top: var(--keyboard-viewport-top, var(--cs-viewport-top, 0px));
  height: var(--keyboard-viewport-height, var(--cs-viewport-height, 100dvh));
}

/* The keyboard replaces the system bottom safe area; keep the same small input gap. */
body[data-view="customer-solutions"][data-keyboard-open="true"] .cs-composer {
  padding-bottom: 8px;
}
