/* M02: project context, capture, recognition candidates, and applications. */
body[data-app-surface="mobile"] .mobile-content[data-page-code="M02"] {
  background: #f1f5f8;
}

body[data-app-surface="mobile"] .mobile-content[data-page-code="M02"] > :is(.mobile-project-card, .mobile-smart-capture, .mobile-recognition-section, .mobile-all-apps--fixed) {
  margin: 10px 12px 0;
}

body[data-app-surface="mobile"] .mobile-content[data-page-code="M02"] > .mobile-project-card {
  border: 0;
  border-radius: 12px;
  box-shadow: none;
}

body[data-app-surface="mobile"] .mobile-content[data-page-code="M02"] .mobile-project-summary {
  min-height: 96px;
  padding: 13px;
}

body[data-app-surface="mobile"] .mobile-content[data-page-code="M02"] .mobile-project-summary h2 {
  max-width: 255px;
  font-size: 17px;
  line-height: 23px;
}

body[data-app-surface="mobile"] .mobile-content[data-page-code="M02"] .mobile-project-summary p {
  margin-top: 5px;
  font-size: 11px;
}

body[data-app-surface="mobile"] .mobile-content[data-page-code="M02"] > :is(.mobile-smart-capture, .mobile-recognition-section, .mobile-all-apps--fixed) {
  padding: 10px 11px;
  border: 0;
  border-radius: 14px;
  background: #fff;
  box-shadow: 0 2px 10px rgb(22 52 80 / 4%);
}

body[data-app-surface="mobile"] .mobile-content[data-page-code="M02"] > :is(.mobile-smart-capture, .mobile-recognition-section, .mobile-all-apps--fixed) > header {
  display: flex;
  min-height: 25px;
  align-items: center;
  justify-content: flex-start;
  margin: 0 0 8px;
  gap: 8px;
}

body[data-app-surface="mobile"] .mobile-content[data-page-code="M02"] > :is(.mobile-smart-capture, .mobile-recognition-section, .mobile-all-apps--fixed) > header::before {
  display: block;
  width: 3px;
  height: 17px;
  flex: 0 0 3px;
  border-radius: 3px;
  background: #0693ad;
}

body[data-app-surface="mobile"] .mobile-content[data-page-code="M02"] > :is(.mobile-smart-capture, .mobile-recognition-section, .mobile-all-apps--fixed) > header h3 {
  display: flex;
  align-items: center;
  margin: 0;
  color: #123252;
  font-size: 15px;
  font-weight: 700;
  line-height: 22px;
  margin-right: auto;
}

body[data-app-surface="mobile"] .mobile-content[data-page-code="M02"] > :is(.mobile-smart-capture, .mobile-recognition-section, .mobile-all-apps--fixed) > header h3::before {
  content: none;
}

body[data-app-surface="mobile"] .mobile-content[data-page-code="M02"] .mobile-smart-capture__form {
  display: flex;
  height: 42px;
  align-items: center;
  padding: 3px 4px 3px 12px;
  border: 1px solid #d5e2ed;
  border-radius: 10px;
  background: #fbfdff;
}

body[data-app-surface="mobile"] .mobile-content[data-page-code="M02"] .mobile-smart-capture__form input {
  flex: 1;
  width: 0;
  min-width: 0;
  border: 0;
  outline: 0;
  color: #163a56;
  /* The group owns the border; exclude its input from generic field chrome. */
  width: 0 !important;
  min-height: 0 !important;
  height: 34px;
  padding: 0 !important;
  border: 0 !important;
  border-radius: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
  font-size: 13px;
}

body[data-app-surface="mobile"] .mobile-content[data-page-code="M02"] .mobile-smart-capture__form input::placeholder {
  color: #879db0;
}

body[data-app-surface="mobile"] .mobile-content[data-page-code="M02"] .mobile-smart-capture__form button {
  display: grid;
  width: auto;
  height: 34px;
  flex: 0 0 auto;
  padding: 0 10px;
  font-size: 12px;
  font-weight: 600;
  white-space: nowrap;
  place-items: center;
  border: 0;
  border-radius: 9px;
  color: #fff;
  background: #078da8;
}

body[data-app-surface="mobile"] .mobile-content[data-page-code="M02"] .mobile-smart-capture__form button .ui-icon {
  width: 18px;
  height: 18px;
}

body[data-app-surface="mobile"] .mobile-content[data-page-code="M02"] .mobile-smart-capture__actions {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin-top: 8px;
  gap: 8px;
}

body[data-app-surface="mobile"] .mobile-content[data-page-code="M02"] .mobile-smart-capture__actions button {
  display: grid;
  min-height: 62px;
  align-content: center;
  justify-items: center;
  padding: 8px 2px;
  gap: 7px;
  border: 0;
  border-radius: 10px;
  color: #143e58;
  background: #f2f8fa;
  font-size: 12px;
  font-weight: 600;
}

body[data-app-surface="mobile"] .mobile-content[data-page-code="M02"] .mobile-smart-capture__actions .ui-icon {
  width: 23px;
  height: 23px;
  color: #0087a1;
}

body[data-app-surface="mobile"] .mobile-content[data-page-code="M02"] .mobile-recognition-section > header span {
  color: #668096;
  font-size: 11px;
}

body[data-app-surface="mobile"] .mobile-content[data-page-code="M02"] .mobile-recognition-row {
  display: flex;
  min-height: 54px;
  align-items: center;
  padding: 6px;
  gap: 9px;
  border-bottom: 1px solid #edf2f5;
  color: #15314d;
  text-decoration: none;
}

body[data-app-surface="mobile"] .mobile-content[data-page-code="M02"] .mobile-recognition-row:last-child {
  border-bottom: 0;
}

body[data-app-surface="mobile"] .mobile-content[data-page-code="M02"] .mobile-recognition-row__icon {
  display: grid;
  width: 34px;
  height: 34px;
  flex: 0 0 34px;
  place-items: center;
  border-radius: 8px;
  color: #078ca4;
  background: #eaf7f7;
}

body[data-app-surface="mobile"] .mobile-content[data-page-code="M02"] .mobile-recognition-row__icon .ui-icon {
  width: 18px;
  height: 18px;
}

body[data-app-surface="mobile"] .mobile-content[data-page-code="M02"] .mobile-recognition-row__copy {
  display: grid;
  min-width: 0;
  flex: 1;
  gap: 3px;
}

body[data-app-surface="mobile"] .mobile-content[data-page-code="M02"] .mobile-recognition-row__copy b,
body[data-app-surface="mobile"] .mobile-content[data-page-code="M02"] .mobile-recognition-row__copy small {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

body[data-app-surface="mobile"] .mobile-content[data-page-code="M02"] .mobile-recognition-row__copy b {
  font-size: 13px;
  font-weight: 650;
}

body[data-app-surface="mobile"] .mobile-content[data-page-code="M02"] .mobile-recognition-row__copy small {
  color: #6a8194;
  font-size: 11px;
}

body[data-app-surface="mobile"] .mobile-content[data-page-code="M02"] .mobile-recognition-row > em {
  display: flex;
  flex: 0 0 auto;
  align-items: center;
  gap: 1px;
  color: #0789a2;
  font-size: 11px;
  font-style: normal;
  font-weight: 600;
}

body[data-app-surface="mobile"] .mobile-content[data-page-code="M02"] .mobile-recognition-row > em .ui-icon {
  width: 13px;
  height: 13px;
}

body[data-app-surface="mobile"] .mobile-content[data-page-code="M02"] .mobile-recognition-more {
  border-top: 1px solid #edf2f5;
}

body[data-app-surface="mobile"] .mobile-content[data-page-code="M02"] .mobile-recognition-more summary {
  display: flex;
  min-height: 35px;
  align-items: center;
  justify-content: center;
  color: #0789a2;
  font-size: 12px;
  list-style: none;
}

body[data-app-surface="mobile"] .mobile-content[data-page-code="M02"] .mobile-recognition-more summary .ui-icon {
  width: 14px;
  height: 14px;
}

body[data-app-surface="mobile"] .mobile-content[data-page-code="M02"] :is(.mobile-smart-capture, .mobile-all-apps--fixed) .mobile-domain-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  padding: 0;
  gap: 8px;
  border: 0;
}

body[data-app-surface="mobile"] .mobile-content[data-page-code="M02"] :is(.mobile-smart-capture, .mobile-all-apps--fixed) .mobile-domain-entry {
  min-height: 65px;
  padding: 8px 2px;
  border-radius: 10px;
  background: #f5f8fc;
}

body[data-app-surface="mobile"] .mobile-content[data-page-code="M02"] :is(.mobile-smart-capture, .mobile-all-apps--fixed) .mobile-domain-entry > span {
  width: 29px;
  height: 29px;
  border-radius: 8px;
}

body[data-app-surface="mobile"] .mobile-content[data-page-code="M02"] :is(.mobile-smart-capture .t-grid-item__title, .mobile-all-apps--fixed .mobile-domain-entry b) {
  max-width: 100%;
  overflow: hidden;
  color: var(--mobile-ink);
  font-size: 11px;
  font-weight: 500;
  line-height: 1.25;
  text-overflow: ellipsis;
  white-space: nowrap;
}

body[data-app-surface="mobile"] .mobile-content[data-page-code="M02"] .mobile-capture-grid.t-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
  padding: 0 !important;
  background: transparent;
}

body[data-app-surface="mobile"] .mobile-content[data-page-code="M02"] .mobile-capture-grid__item.t-grid-item {
  display: flex;
  min-width: 0;
  min-height: 65px;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  padding: 8px 2px;
  border-radius: 10px;
  background: #f5f8fc;
  cursor: pointer;
}

body[data-app-surface="mobile"] .mobile-content[data-page-code="M02"] .mobile-capture-grid__item .t-grid-item__image {
  width: 29px;
  height: 29px;
  margin: 0 auto;
}

body[data-app-surface="mobile"] .mobile-content[data-page-code="M02"] .mobile-capture-grid__item .t-grid-item__content {
  max-width: 100%;
  margin-top: 6px;
}

body[data-app-surface="mobile"] .mobile-content[data-page-code="M02"] .mobile-app-icon {
  display: grid;
  width: 29px;
  height: 29px;
  place-items: center;
  border-radius: 8px;
  color: #fff;
  background: linear-gradient(145deg, #24a2ff, #076de1);
  box-shadow: inset 0 1px 0 rgb(255 255 255 / 26%), 0 7px 14px rgb(7 111 225 / 22%);
}

body[data-app-surface="mobile"] .mobile-content[data-page-code="M02"] .mobile-domain-entry--safety .mobile-app-icon {
  background: linear-gradient(145deg, #27d69a, #079864);
  box-shadow: inset 0 1px 0 rgb(255 255 255 / 28%), 0 7px 14px rgb(8 155 102 / 20%);
}

body[data-app-surface="mobile"] .mobile-content[data-page-code="M02"] .mobile-domain-entry--material .mobile-app-icon {
  background: linear-gradient(145deg, #8d7cff, #654be7);
  box-shadow: inset 0 1px 0 rgb(255 255 255 / 28%), 0 7px 14px rgb(101 75 231 / 20%);
}

body[data-app-surface="mobile"] .mobile-content[data-page-code="M02"] .mobile-app-icon .ui-icon {
  width: 20px;
  height: 20px;
  color: #fff;
}

body[data-app-surface="mobile"] .mobile-content[data-page-code="M02"] .mobile-capture-grid__item .t-grid-item__description {
  display: none;
}

body[data-app-surface="mobile"] .mobile-content[data-page-code="M02"] .mobile-capture-grid__item:focus-visible {
  outline: 2px solid #0789a2;
  outline-offset: 2px;
}

body[data-app-surface="mobile"] .mobile-content[data-page-code="M02"] .mobile-smart-capture__empty {
  margin: 4px 0 2px;
  padding: 15px 8px;
  color: #668096;
  font-size: 12px;
  text-align: center;
}

body[data-app-surface="mobile"] .mobile-capture-choice {
  display: grid;
  gap: 8px;
}

body[data-app-surface="mobile"] .mobile-capture-choice > button {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 18px;
  min-height: 59px;
  align-content: center;
  padding: 9px 12px;
  border: 1px solid #dde8ef;
  border-radius: 9px;
  color: #153650;
  background: #fff;
  text-align: left;
}

body[data-app-surface="mobile"] .mobile-capture-choice > button b {
  font-size: 13px;
}

body[data-app-surface="mobile"] .mobile-capture-choice > button small {
  grid-column: 1;
  margin-top: 3px;
  color: #6b8090;
  font-size: 11px;
}

body[data-app-surface="mobile"] .mobile-capture-choice > button .ui-icon {
  grid-column: 2;
  grid-row: 1 / span 2;
  align-self: center;
  width: 15px;
  height: 15px;
  color: #0789a2;
}

body[data-app-surface="mobile"] .mobile-capture-choice-source,
body[data-app-surface="mobile"] .mobile-capture-source-note {
  padding: 10px 12px;
  border: 1px solid #cfe5e9;
  border-radius: 9px;
  background: #f3fafb;
}

body[data-app-surface="mobile"] .mobile-capture-choice-source b,
body[data-app-surface="mobile"] .mobile-capture-source-note b {
  color: #126277;
  font-size: 12px;
}

body[data-app-surface="mobile"] .mobile-capture-choice-source p,
body[data-app-surface="mobile"] .mobile-capture-source-note p {
  margin: 4px 0 0;
  color: #315164;
  font-size: 12px;
  line-height: 18px;
  overflow-wrap: anywhere;
}

body[data-app-surface="mobile"] .mobile-capture-source-note {
  margin: 10px 12px;
}

body[data-app-surface="mobile"] .mobile-capture-role-notice {
  margin: 0;
  color: #345466;
  font-size: 13px;
  line-height: 20px;
}
