.mobile-start {
  margin: 0;
  min-height: 100dvh;
  background: #f4f8f4;
  color: #25352d;
  font: 1rem/1.5 system-ui, sans-serif;
}
.mobile-start main {
  box-sizing: border-box;
  width: min(100% - 2rem, 29rem);
  margin: auto;
  padding: max(2rem, env(safe-area-inset-top)) 0 max(2rem, env(safe-area-inset-bottom));
  overflow-wrap: anywhere;
}
.mobile-start h1 { margin: .35rem 0 1.25rem; }
.mobile-start h2 { font-size: 1.2rem; }
.mobile-start form, .mobile-start section {
  border: 1px solid #dfe6dd;
  background: white;
  border-radius: .9rem;
  padding: 1rem;
  margin-bottom: 1rem;
}
.mobile-start label { display: grid; gap: .35rem; margin-bottom: .85rem; }
.mobile-start input {
  box-sizing: border-box;
  width: 100%;
  min-height: 44px;
  font: inherit;
  border: 1px solid #829387;
  border-radius: .45rem;
  padding: .5rem;
}
.mobile-start button, .mobile-start a {
  box-sizing: border-box;
  border: 0;
  border-radius: .5rem;
  font: inherit;
  color: white;
  background: #246b4b;
  padding: .6rem .85rem;
  min-height: 44px;
  cursor: pointer;
  max-width: 100%;
  text-decoration: none;
}
.mobile-start a { display: inline-flex; align-items: center; }
.mobile-start #forget { display: block; color: #194d37; background: #e8f1e9; margin-top: .75rem; }
.mobile-start [hidden] { display: none !important; }
.mobile-start output { display: block; font-size: 2rem; font-weight: 700; letter-spacing: .15em; margin-bottom: .65rem; }
.mobile-start :focus-visible { outline: 2px solid #194d37; outline-offset: 3px; }
.camera-file { display: none; }
@media (max-width: 720px), (pointer: coarse) {
  .camera-file { display: block; }
}
@media (max-width: 720px) {
  body > header.shell, .crm-shell {
    box-sizing: border-box;
    max-width: 100%;
    padding-left: max(1rem, env(safe-area-inset-left));
    padding-right: max(1rem, env(safe-area-inset-right));
  }
  body > header.shell { flex-wrap: wrap; row-gap: .55rem; }
  .crm-shell :is(.editor, .crm-row, .crm-detail, .admin-toolbar, .listing-actions, .crm-photo-gallery, .crm-content-grid) {
    min-width: 0;
    max-width: 100%;
    overflow-wrap: anywhere;
  }
  .crm-shell .editor { grid-template-columns: minmax(0, 1fr); }
  .crm-shell .crm-row { flex-wrap: wrap; }
  .crm-shell :is(button, .button, .tab, .text-button, select, textarea, input:not([type="checkbox"], [type="radio"])) {
    box-sizing: border-box;
    min-height: 44px;
    max-width: 100%;
    white-space: normal;
  }
  .crm-shell :is(input, select, textarea), #crm-dialog :is(input, select, textarea) { font-size: 16px; }
  #crm-dialog { box-sizing: border-box; max-width: calc(100vw - 1rem); max-height: 90dvh; }
  #crm-dialog .editor { grid-template-columns: minmax(0, 1fr); }
  #crm-content :is(p, label, strong, small) { overflow-wrap: anywhere; }
  .crm-shell img { max-width: 100%; }
}
