@media(any-pointer:coarse){
 html{-webkit-text-size-adjust:100%;text-size-adjust:100%}
 html body :is(textarea,input:not([type]),input:is([type=text],[type=search],[type=email],[type=tel],[type=url],[type=password],[type=number]),[contenteditable]:not([contenteditable=false])){
  font-size:max(16px,1em);
  scroll-margin-block:12px;
 }
 html[data-mobile-keyboard] body[data-workspace=true]{
  --workspace-viewport-height:calc(var(--visible-viewport-height,100dvh) - var(--workspace-top-offset));
 }
 html[data-mobile-keyboard] dialog[open]:focus-within{
  inset-block:calc(var(--visible-viewport-top,0px) + 8px) auto;
  margin-block:0;
  max-block-size:calc(var(--visible-viewport-height,100dvh) - 16px);
  overflow-y:auto;
 }
 html[data-mobile-keyboard] :is(.chat-space-host,.crm-chat-workspace){
  min-block-size:0;
 }
 html[data-mobile-keyboard] :is(.chat-space-host,#main:has([data-author-chat]),.account-view:has(>[data-author-chat])){
  height:calc(var(--visible-viewport-height,100dvh) - var(--learner-header-height,var(--workspace-header-height,52px)));
 }
 .mobile-composer-spacer{
  flex:none;
  grid-column:1 / -1;
 }
 html[data-mobile-keyboard] [data-mobile-composer][data-mobile-docked]{
  --mobile-composer-gutter:8px;
  position:fixed;
  z-index:12;
  inset:auto;
  top:var(--visible-viewport-bottom,100dvh);
  left:calc(var(--visible-viewport-left,0px) + var(--mobile-composer-gutter));
  width:calc(var(--visible-viewport-width,100%) - 2 * var(--mobile-composer-gutter));
  max-width:none;
  max-height:calc(var(--visible-viewport-height,100dvh) * .72);
  margin:0;
  translate:0 -100%;
  background:var(--surface,#fff);
  box-shadow:0 -4px 20px #00000014;
 }
 html[data-mobile-keyboard] :is(.learner-comment-composer,.lf-comment-form)[data-mobile-docked]{
  padding:8px;
  border-radius:12px 12px 0 0;
 }
}
