/* V237: shared mobile/tablet viewport and form focus layout. */
html, body { -webkit-text-size-adjust:100%; text-size-adjust:100%; }
@media (any-pointer:coarse), (hover:none) {
  input:not([type]), input[type=text], input[type=search], input[type=email], input[type=password], input[type=tel], input[type=url], input[type=number], input[type=date], input[type=time], textarea, select, [contenteditable=true] { font-size:16px !important; }
  .search-composer .direct-chat-input, .direct-chat-composer .direct-chat-input { font-size:18px !important; line-height:23px; min-width:0; }
  .search-field, .search-submit { touch-action:manipulation; }
}
/* Desktop widths stay unchanged. Touch tablets use the same 960px cap as V236. */
@media (min-width:768px) and (any-pointer:coarse), (min-width:768px) and (hover:none) {
  .search-composer, #journal, .direct-chat-composer, .message-shell,
  .account-shell, .account-save-bar, .inbox-header-content, .apk-main,
  .autotram-audio-frame, .google-revocation-link-placeholder { max-width:960px !important; width:100%; }
  .registration, .registration.micka-main { max-width:480px; }
  body.readim-terms-page > main { max-width:960px; }
}
/* Retain the V236 Android browser fallback, even with a mouse attached. */
@media (min-width:768px) {
  html.readim-android-browser .search-composer, html.readim-android-browser #journal { max-width:960px; }
}
