/* Shared styles for the static-site forms (contact + APK access request). */
.lexr-hp { position: absolute !important; left: -10000px !important; width: 1px; height: 1px; overflow: hidden; }
.lexr-form-status { margin: 12px 0 0; min-height: 1.4em; font-weight: 600; }
.lexr-form-status.busy { color: #555; }
.lexr-form-status.ok { color: #1b7f3b; }
.lexr-form-status.err { color: #b3261e; }
.lexr-form-status a { color: inherit; text-decoration: underline; }

/* /app/ layout fix: the page's .boxes grid used fixed 60px rows (12 rows = 720px), so the
   taller left column (with the APK form) overflowed onto the sections below it.
   Let the two areas size to their content instead. */
.boxes {
  grid-auto-rows: auto !important;
  grid-template-rows: auto !important;
  grid-template-areas: "grey yellow" !important;
  align-items: start;
}
.boxes .box { min-width: 0; }
.boxes .b4 iframe { max-width: 100%; }
@media (max-width: 700px) {
  .boxes { grid-template-columns: 1fr !important; grid-template-areas: "grey" "yellow" !important; }
  .boxes .b4 { text-align: center; }
}

/* APK request form on /app/ (the page uses Materialize CSS). */
.lexr-apk-request { border: 2px solid #2995bc; border-radius: 8px; padding: 16px 20px; margin: 24px 0; background: #f6fbfd; }
.lexr-apk-request h3 { margin-top: 0; }
.lexr-apk-request p { text-indent: 0; white-space: normal; }
.lexr-apk-request .lexr-field { margin: 0 0 14px; }
.lexr-apk-request label { display: block; font-weight: 600; color: #333; font-size: 1rem; margin-bottom: 4px; }
.lexr-apk-request input[type=text],
.lexr-apk-request input[type=email],
.lexr-apk-request select,
.lexr-apk-request textarea {
  display: block; width: 100%; box-sizing: border-box; height: auto;
  padding: 8px 10px; border: 1px solid #b8c7cf; border-radius: 4px; background: #fff;
  font-size: 1rem; line-height: 1.4; margin: 0;
}
.lexr-apk-request textarea { min-height: 110px; resize: vertical; }
.lexr-apk-request button {
  background: #2995bc; color: #fff; border: 0; border-radius: 20px; padding: 10px 24px;
  font-size: 1rem; cursor: pointer;
}
.lexr-apk-request button[disabled] { opacity: .6; cursor: wait; }
.lexr-apk-request .lexr-note { font-size: .9rem; color: #555; }
