/* Stawi field app — native mobile UI */

:root {
  --m-radius: 16px;
  --m-radius-sm: 12px;
  --m-touch: 48px;
  --m-shadow: 0 4px 24px rgba(12, 36, 28, 0.08);
  --m-nav-h: 60px;
}

/* ═══════════════════════════════════════
   LOGIN — full-screen branded experience
   ═══════════════════════════════════════ */
body.auth-body {
  background: #0f2d22;
  overflow: hidden;
}

.m-auth-screen {
  position: relative;
  min-height: 100dvh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px 20px;
  padding-top: max(24px, env(safe-area-inset-top));
  padding-bottom: max(24px, env(safe-area-inset-bottom));
}

.m-auth-bg {
  position: fixed;
  inset: 0;
  background:
    radial-gradient(ellipse 120% 80% at 50% -20%, rgba(214, 239, 85, 0.18), transparent 55%),
    radial-gradient(circle at 85% 90%, rgba(31, 107, 71, 0.35), transparent 45%),
    linear-gradient(165deg, #0f2d22 0%, #163b2d 45%, #1a4535 100%);
  z-index: 0;
}

.m-auth-bg::after {
  content: '';
  position: absolute;
  inset: 0;
  opacity: 0.04;
  background-image: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='1'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}

.m-auth-inner {
  position: relative;
  z-index: 1;
  width: min(400px, 100%);
}

.m-auth-brand {
  display: flex;
  justify-content: center;
  margin-bottom: 20px;
}

.m-auth-brand .m-auth-logo {
  display: block;
  width: min(140px, 48vw);
  height: auto;
  margin: 0;
  filter: none;
}

.m-auth-brand .m-auth-logo-fallback {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 56px;
  height: 56px;
  border-radius: 16px;
  background: var(--forest);
  color: var(--lime);
  font: 800 24px 'Plus Jakarta Sans', sans-serif;
  box-shadow: none;
}

.m-auth-sheet {
  width: 100%;
  padding: 28px 24px 32px;
  border-radius: 24px;
  background: #fff;
  box-shadow:
    0 24px 64px rgba(0, 0, 0, 0.28),
    0 0 0 1px rgba(255, 255, 255, 0.06);
}

.m-auth-sheet h1 {
  margin: 0 0 6px;
  font-size: 24px;
  font-weight: 800;
  letter-spacing: -0.03em;
  color: var(--forest);
  text-align: center;
}

.m-auth-lead {
  margin: 0 0 24px;
  font-size: 14px;
  color: var(--muted);
  text-align: center;
  line-height: 1.45;
}

.m-auth-form {
  display: grid;
  gap: 16px;
}

.m-field label {
  display: block;
  margin-bottom: 6px;
  font-size: 12px;
  font-weight: 700;
  color: #455049;
  letter-spacing: 0.02em;
}

.m-input-wrap {
  display: flex;
  align-items: center;
  gap: 10px;
  min-height: var(--m-touch);
  padding: 0 14px;
  border-radius: var(--m-radius-sm);
  background: #f6f8f5;
  border: 1.5px solid #e3e9e0;
  transition: border-color 0.15s, box-shadow 0.15s, background 0.15s;
}

.m-input-wrap:focus-within {
  background: #fff;
  border-color: var(--green);
  box-shadow: 0 0 0 4px rgba(31, 107, 71, 0.1);
}

.m-input-icon {
  display: grid;
  place-items: center;
  flex-shrink: 0;
  color: var(--muted);
}

.m-input-icon svg {
  width: 18px;
  height: 18px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.m-input-wrap:focus-within .m-input-icon {
  color: var(--green);
}

.m-input-wrap input {
  flex: 1;
  min-width: 0;
  border: 0;
  outline: 0;
  background: transparent;
  font-size: 16px;
  color: var(--ink);
  padding: 12px 0;
}

.m-auth-row {
  display: flex;
  justify-content: flex-end;
  margin-top: -4px;
}

.m-auth-row a {
  font-size: 13px;
  font-weight: 600;
}

.m-btn-primary {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: var(--m-touch);
  margin-top: 4px;
  border: 0;
  border-radius: var(--m-radius-sm);
  background: linear-gradient(135deg, #1f6b47, #185a3b);
  color: #fff;
  font-size: 15px;
  font-weight: 700;
  cursor: pointer;
  box-shadow: 0 6px 20px rgba(31, 107, 71, 0.35);
  transition: transform 0.12s, box-shadow 0.12s;
}

.m-btn-primary:active {
  transform: scale(0.98);
  box-shadow: 0 3px 12px rgba(31, 107, 71, 0.3);
}

/* Legacy auth pages (forgot password etc.) */
.m-auth {
  min-height: 100dvh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px 20px;
  background: linear-gradient(165deg, #0f2d22, #163b2d);
}

.m-auth .m-auth-card {
  width: min(400px, 100%);
  padding: 28px 24px;
  border-radius: 24px;
  background: #fff;
  box-shadow: var(--m-shadow);
  text-align: center;
}

.m-auth .m-auth-logo {
  width: min(140px, 50vw);
  margin-bottom: 20px;
}

.m-auth .m-auth-card h1 {
  font-size: 22px;
  color: var(--forest);
}

.m-auth .stack {
  text-align: left;
  margin-top: 20px;
}

.m-auth-footer {
  margin-top: 20px;
  font-size: 14px;
  text-align: center;
}

/* ═══════════════════════════════════════
   APP SHELL — dark top bar + user menu
   ═══════════════════════════════════════ */
body.field-app .field-topbar {
  position: sticky;
  top: 0;
  z-index: 140;
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  min-height: 52px;
  padding: 8px 16px;
  padding-top: max(8px, env(safe-area-inset-top));
  background: linear-gradient(180deg, #0f2d22 0%, #163b2d 100%);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: 0 4px 20px rgba(12, 36, 28, 0.2);
}

body.field-app .topbar-brand {
  display: flex;
  align-items: center;
  text-decoration: none;
  min-width: 0;
  flex-shrink: 1;
}

body.field-app .topbar-brand-logo {
  display: block;
  height: 30px;
  width: auto;
  max-width: 120px;
  object-fit: contain;
}

body.field-app .topbar-brand-mark {
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border-radius: 10px;
  background: var(--lime);
  color: var(--forest);
  font: 800 14px 'Plus Jakarta Sans', sans-serif;
}

body.field-app .topbar-user {
  position: relative;
  flex-shrink: 0;
}

body.field-app .topbar-user-btn {
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  padding: 0;
  border: 2px solid rgba(255, 255, 255, 0.2);
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.1);
  cursor: pointer;
  transition: background 0.15s, border-color 0.15s;
}

body.field-app .topbar-user-btn[aria-expanded="true"] {
  background: rgba(255, 255, 255, 0.2);
  border-color: rgba(214, 239, 85, 0.5);
}

body.field-app .topbar-avatar {
  font: 700 14px 'Plus Jakarta Sans', sans-serif;
  color: #fff;
  line-height: 1;
}

body.field-app .topbar-user-menu {
  position: absolute;
  top: calc(100% + 8px);
  right: 0;
  z-index: 200;
  min-width: 220px;
  padding: 8px;
  border-radius: 14px;
  background: #fff;
  border: 1px solid var(--line);
  box-shadow: 0 16px 48px rgba(12, 36, 28, 0.18);
}

body.field-app .topbar-user-menu[hidden] {
  display: none;
}

body.field-app .topbar-user-head {
  padding: 10px 12px 12px;
  border-bottom: 1px solid #eef2eb;
  margin-bottom: 4px;
}

body.field-app .topbar-user-head strong {
  display: block;
  font-size: 14px;
  color: var(--ink);
}

body.field-app .topbar-user-head small {
  display: block;
  margin-top: 2px;
  font-size: 12px;
  color: var(--muted);
  word-break: break-word;
}

body.field-app .topbar-user-item {
  display: block;
  width: 100%;
  padding: 11px 12px;
  border: 0;
  border-radius: 10px;
  background: transparent;
  color: var(--ink);
  font-size: 14px;
  font-weight: 600;
  text-align: left;
  cursor: pointer;
}

body.field-app .topbar-user-item:hover,
body.field-app .topbar-user-item:focus-visible {
  background: #f4f8f4;
}

body.field-app .topbar-user-item--danger {
  color: var(--danger);
}

body.field-app .topbar-user-logout {
  margin: 0;
  padding: 0;
}

/* Page title lives in content, not header */
.m-page-title {
  margin: 0 0 14px;
  font-size: 22px;
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.15;
}

/* ═══════════════════════════════════════
   HOME — hero + module cards
   ═══════════════════════════════════════ */
.m-home {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.m-home-hero {
  position: relative;
  padding: 20px 18px 18px;
  border-radius: 20px;
  overflow: hidden;
  background: linear-gradient(145deg, #163b2d 0%, #1f6b47 55%, #2a8058 100%);
  box-shadow: 0 12px 40px rgba(22, 59, 45, 0.35);
  color: #fff;
}

.m-home-hero::before {
  content: '';
  position: absolute;
  top: -40px;
  right: -30px;
  width: 140px;
  height: 140px;
  border-radius: 50%;
  background: rgba(214, 239, 85, 0.15);
}

.m-home-hero::after {
  content: '';
  position: absolute;
  bottom: -50px;
  left: -20px;
  width: 120px;
  height: 120px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.06);
}

.m-home-hero__logo {
  display: none;
}

.m-home-hero__greet {
  position: relative;
  z-index: 1;
  margin: 0 0 4px;
  font-size: 22px;
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.15;
}

.m-home-hero__sub {
  position: relative;
  z-index: 1;
  margin: 0 0 16px;
  font-size: 13px;
  color: rgba(255, 255, 255, 0.75);
}

.m-home-hero__stats {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
}

.m-hero-stat {
  padding: 10px 8px;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(8px);
  text-align: center;
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.m-hero-stat strong {
  display: block;
  font: 800 20px/1.1 'Plus Jakarta Sans', sans-serif;
  color: #fff;
}

.m-hero-stat span {
  display: block;
  margin-top: 2px;
  font-size: 10px;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.7);
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.m-section-label {
  margin: 0;
  font-size: 12px;
  font-weight: 700;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.m-module-grid {
  display: grid;
  gap: 10px;
  padding-bottom: 8px;
}

.m-module {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 14px 16px;
  border-radius: 16px;
  background: var(--field-surface);
  border: 1px solid var(--line);
  box-shadow: var(--m-shadow);
  color: inherit;
  text-decoration: none;
}

.m-module:active {
  transform: scale(0.99);
  background: #fafcfa;
}

.m-module__icon {
  flex-shrink: 0;
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  border-radius: 14px;
}

.m-module__icon svg {
  width: 22px;
  height: 22px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.m-module__copy {
  flex: 1;
  min-width: 0;
}

.m-module__copy strong {
  display: block;
  font-size: 15px;
  font-weight: 700;
}

.m-module__copy small {
  display: block;
  margin-top: 2px;
  font-size: 12px;
  color: var(--muted);
}

.m-module__arrow {
  flex-shrink: 0;
  font-size: 20px;
  font-weight: 300;
  color: #c5cdc7;
}

.m-module.tone-green .m-module__icon { background: #e8f5ec; color: #1f6b47; }
.m-module.tone-teal .m-module__icon { background: #e6f4f1; color: #1a7a6d; }
.m-module.tone-blue .m-module__icon { background: #e8f0fa; color: #2b6cb0; }
.m-module.tone-gold .m-module__icon { background: #faf3e3; color: #b7791f; }
.m-module.tone-violet .m-module__icon { background: #f0ebfa; color: #6b46c1; }
.m-module.tone-rose .m-module__icon { background: #fce8ef; color: #c53062; }
.m-module.tone-slate .m-module__icon { background: #eef0f3; color: #4a5568; }
.m-module.tone-lime .m-module__icon { background: #f0f6e0; color: #5a7a1a; }

.m-page-head {
  margin-bottom: 14px;
}

.m-page-head h1 {
  margin: 0;
  font-size: 24px;
  font-weight: 800;
  letter-spacing: -0.03em;
}

.m-page-head p {
  margin: 4px 0 0;
  font-size: 13px;
  color: var(--muted);
}

.m-card-list {
  display: grid;
  gap: 10px;
}

.m-card {
  display: block;
  padding: 16px;
  border-radius: 16px;
  background: var(--field-surface);
  border: 1px solid var(--line);
  box-shadow: var(--m-shadow);
  color: inherit;
  text-decoration: none;
}

.m-card:active {
  background: #fafcfa;
}

.m-card__top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 8px;
}

.m-card__top strong {
  font-size: 16px;
  font-weight: 700;
  line-height: 1.25;
}

.m-card__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 12px;
  font-size: 12px;
  color: var(--muted);
}

.m-card__meta span {
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

.m-card__foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 10px;
  padding-top: 10px;
  border-top: 1px solid #eef2eb;
  font-size: 12px;
  color: var(--green);
  font-weight: 700;
}

/* ═══════════════════════════════════════
   FAB
   ═══════════════════════════════════════ */
.m-fab-wrap {
  position: fixed;
  right: 16px;
  bottom: calc(var(--m-nav-h) + 12px + env(safe-area-inset-bottom, 0px));
  z-index: 125;
}

.m-fab {
  display: grid;
  place-items: center;
  width: 56px;
  height: 56px;
  border-radius: 18px;
  background: linear-gradient(135deg, #1f6b47, #185a3b);
  color: #fff;
  text-decoration: none;
  box-shadow: 0 8px 28px rgba(31, 107, 71, 0.4);
  transition: transform 0.12s;
}

.m-fab:active {
  transform: scale(0.94);
}

.m-fab svg {
  width: 24px;
  height: 24px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2.2;
  stroke-linecap: round;
}

/* ═══════════════════════════════════════
   SEARCH & LISTS
   ═══════════════════════════════════════ */
.m-search {
  display: flex;
  align-items: center;
  gap: 10px;
  min-height: 44px;
  margin-bottom: 12px;
  padding: 0 14px;
  border-radius: var(--m-radius-sm);
  background: var(--field-surface);
  border: 1px solid var(--line);
}

.m-search svg {
  flex-shrink: 0;
  width: 18px;
  height: 18px;
  stroke: var(--muted);
  fill: none;
  stroke-width: 2;
}

.m-search input {
  flex: 1;
  min-width: 0;
  border: 0;
  outline: 0;
  background: transparent;
  font-size: 16px;
  padding: 10px 0;
}

.m-search:focus-within {
  border-color: var(--green);
  box-shadow: 0 0 0 3px rgba(31, 107, 71, 0.1);
}

.m-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 8px;
}

.m-list-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 14px;
  border-radius: 14px;
  background: var(--field-surface);
  border: 1px solid var(--line);
  box-shadow: var(--m-shadow);
  color: inherit;
  text-decoration: none;
}

.m-list-item:active {
  background: #f8fbf8;
}

.m-list-avatar {
  flex-shrink: 0;
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border-radius: 13px;
  background: var(--forest);
  color: var(--lime);
  font: 700 15px 'Plus Jakarta Sans', sans-serif;
}

.m-list-avatar--violet {
  background: #ede9fe;
  color: #5b21b6;
}

.m-list-avatar--slate {
  background: #e2e8f0;
  color: #334155;
}

.m-list-avatar--rose {
  background: #ffe4e6;
  color: #be123c;
}

.m-list-body {
  flex: 1;
  min-width: 0;
}

.m-list-body strong {
  display: block;
  font-size: 15px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.m-list-body span {
  display: block;
  margin-top: 2px;
  font-size: 12px;
  color: var(--muted);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.m-list-meta .tag {
  font-size: 10px;
  padding: 3px 7px;
}

.m-list-chevron {
  color: #c5cdc7;
  font-size: 18px;
  font-weight: 300;
}

.m-empty {
  text-align: center;
  padding: 36px 16px;
}

.m-empty-icon {
  display: grid;
  place-items: center;
  width: 52px;
  height: 52px;
  margin: 0 auto 12px;
  border-radius: 14px;
  background: var(--field-icon-wash);
  color: var(--green);
  font-size: 22px;
}

.m-empty h3 {
  margin: 0 0 4px;
  font-size: 16px;
}

.m-empty p {
  margin: 0;
  color: var(--muted);
  font-size: 13px;
}

/* ═══════════════════════════════════════
   BOTTOM NAV — 4 equal tabs
   ═══════════════════════════════════════ */
.field-drawer-backdrop {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 190;
  background: rgba(12, 36, 28, 0.55);
  border: 0;
  cursor: pointer;
  backdrop-filter: blur(2px);
}

body.field-app.drawer-open .field-drawer-backdrop {
  display: block;
}

body.field-app.drawer-open {
  overflow: hidden;
}

@media (max-width: 850px) {
  body.field-app .main {
    height: 100dvh;
    overflow: hidden;
  }

  body.field-app .field-page-body {
    flex: 1;
    overflow-y: auto;
    overflow-x: hidden;
    -webkit-overflow-scrolling: touch;
    padding: 12px 16px 16px;
    padding-bottom: calc(var(--m-nav-h) + 16px + env(safe-area-inset-bottom, 0px));
  }

  body.field-app.has-bottom-nav .field-bottom-nav {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 130;
    min-height: var(--m-nav-h);
    padding: 4px 6px calc(4px + env(safe-area-inset-bottom, 0px));
    background: rgba(255, 255, 255, 0.96);
    backdrop-filter: blur(12px);
    border-top: 1px solid var(--line);
    box-shadow: 0 -2px 16px rgba(20, 53, 42, 0.06);
  }

  body.field-app .field-bottom-nav a,
  body.field-app .field-bottom-nav button {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 2px;
    min-height: 48px;
    border: 0;
    border-radius: 12px;
    background: transparent;
    color: var(--muted);
    font-size: 10px;
    font-weight: 700;
    text-decoration: none;
    cursor: pointer;
    padding: 4px 2px;
  }

  body.field-app .field-bottom-nav a.active,
  body.field-app .field-bottom-nav button.active {
    color: var(--green);
    background: var(--field-icon-wash);
  }

  body.field-app .field-bottom-nav svg {
    width: 22px;
    height: 22px;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.8;
    stroke-linecap: round;
    stroke-linejoin: round;
  }

  body.field-app .page-desktop-only {
    display: none !important;
  }

  body.field-app .toast {
    top: auto;
    left: 16px;
    right: 16px;
    bottom: calc(var(--m-nav-h) + 12px + env(safe-area-inset-bottom, 0px));
  }
}

@media (min-width: 851px) {
  .page-mobile-only {
    display: none !important;
  }

  .m-fab-wrap {
    display: none;
  }
}

.page-desktop-only .quick-icon svg {
  width: 22px;
  height: 22px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
}

.not-found {
  text-align: center;
  padding: 48px 20px;
}

.not-found span {
  display: inline-grid;
  place-items: center;
  width: 72px;
  height: 72px;
  border-radius: 20px;
  background: #eef4ee;
  color: var(--green);
  font: 800 22px 'Plus Jakarta Sans', sans-serif;
}

.not-found .btn {
  display: none;
}

/* ═══════════════════════════════════════
   CREATE / EDIT FORMS
   ═══════════════════════════════════════ */
body.field-app .m-form-intro {
  margin-bottom: 4px;
}

body.field-app .m-form-back {
  display: inline-flex;
  align-items: center;
  margin-bottom: 10px;
  color: var(--green);
  font-size: 13px;
  font-weight: 700;
  text-decoration: none;
}

body.field-app .m-page-head--compact {
  margin-bottom: 14px;
}

body.field-app .m-page-head--compact h1 {
  font-size: 24px;
}

body.field-app .m-page-head--compact p {
  margin-top: 4px;
}

body.field-app label:not(.consent):not(.check-card):not(.certificate-upload) {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

body.field-app label em {
  display: inline;
  color: var(--danger);
  font-style: normal;
  font-weight: 700;
}

body.field-app label input,
body.field-app label select,
body.field-app label textarea {
  background: #fff;
}

body.field-app label input:-webkit-autofill,
body.field-app label select:-webkit-autofill,
body.field-app label textarea:-webkit-autofill {
  -webkit-text-fill-color: var(--ink);
  box-shadow: 0 0 0 1000px #fff inset;
  transition: background-color 99999s ease-out;
}

body.field-app .validation-summary {
  margin: 0 0 16px;
  border-radius: 12px;
}

@media (max-width: 850px) {
  body.field-app .registration-form,
  body.field-app .m-form-panel.panel {
    max-width: none;
    margin: 0;
    border: 0;
    border-radius: 16px;
    box-shadow: none;
    background: var(--field-surface);
  }

  body.field-app .registration-form .validation-summary {
    margin: 16px 16px 0;
  }

  body.field-app .registration-form .steps {
    margin: 0;
    border-radius: 16px 16px 0 0;
  }

  body.field-app .form-section {
    padding: 16px;
  }

  body.field-app .form-grid {
    gap: 14px;
  }

  body.field-app .m-form-panel {
    padding: 0 0 8px;
    background: transparent;
  }

  body.field-app .m-form-panel .stack {
    margin-top: 0;
    gap: 16px;
    padding: 0 2px;
  }

  body.field-app label input,
  body.field-app label select,
  body.field-app label textarea {
    min-height: 48px;
    padding: 14px;
    border-radius: 12px;
    font-size: 16px;
  }

  body.field-app .certificate-upload {
    flex-direction: column;
    align-items: stretch;
    gap: 12px;
    min-height: auto;
    padding: 16px;
    border-radius: 14px;
  }

  body.field-app .certificate-upload.has-file {
    flex-direction: row;
    align-items: center;
  }

  body.field-app .certificate-upload-icon {
    flex: 0 0 44px;
    width: 44px;
    height: 44px;
    font-size: 22px;
  }

  body.field-app .certificate-upload-file {
    width: 100%;
  }

  body.field-app .form-actions {
    margin: 0;
    border-radius: 0 0 16px 16px;
  }

  body.field-app .form-actions .btn.primary {
    width: 100%;
    justify-content: center;
  }

  body.field-app .m-form-panel .btn.primary {
    width: 100%;
    min-height: 48px;
    justify-content: center;
    margin-top: 4px;
  }
}

@media (min-width: 851px) {
  body.field-app .m-form-intro {
    display: none;
  }
}
