/* Field PWA — mobile-first layout. */
.field-app { max-width: 520px; margin: 0 auto; min-height: 100vh; display: flex; flex-direction: column; }
.field-header {
  position: sticky; top: 0; z-index: 10;
  background: var(--sidebar-bg); color: #fff;
  padding: 14px 18px; display: flex; align-items: center; gap: 12px;
}
.field-header .logo-tile { width: 38px; height: 38px; border-radius: 10px; font-size: 20px; margin: 0; }
.field-header .titles { flex: 1; }
.field-header .titles .t { font-weight: 800; font-size: 16px; }
.field-header .titles .s { font-size: 12px; color: var(--sidebar-muted); }
.field-header .back { background: rgba(255,255,255,.12); border: none; color: #fff; width: 38px; height: 38px; border-radius: 10px; font-size: 20px; cursor: pointer; }
.field-body { flex: 1; padding: 18px; padding-bottom: 96px; }
.field-nav {
  position: fixed; bottom: 0; left: 0; right: 0; max-width: 520px; margin: 0 auto;
  background: #fff; border-top: 1px solid var(--border);
  display: flex; justify-content: space-around; padding: 8px 4px 12px;
}
.field-nav button { background: none; border: none; color: var(--text-muted); font-size: 11px; font-weight: 600; display: flex; flex-direction: column; align-items: center; gap: 3px; cursor: pointer; padding: 4px 10px; }
.field-nav button.active { color: var(--accent-green); }
.field-nav .ic { font-size: 20px; }

.veh-card { background: #fff; border-radius: 20px; box-shadow: var(--shadow); padding: 18px; margin-bottom: 14px; display: flex; align-items: center; gap: 14px; }
.veh-card .icon { width: 48px; height: 48px; border-radius: 14px; display: grid; place-items: center; font-size: 24px; background: #EEF3F1; }
.veh-card .meta { flex: 1; }
.veh-card .reg { font-weight: 800; font-size: 17px; }
.veh-card .typ { font-size: 12px; color: var(--text-muted); text-transform: capitalize; }

.form-field { margin-bottom: 16px; }
.form-field label { display: block; font-weight: 600; font-size: 14px; margin-bottom: 6px; }
.form-field input, .form-field select, .form-field textarea {
  width: 100%; padding: 14px; border: 1.5px solid var(--border); border-radius: var(--radius-btn); outline: none;
}
.form-field input:focus, .form-field select:focus, .form-field textarea:focus { border-color: var(--accent-green); }
.crew-row { display: flex; align-items: center; justify-content: space-between; padding: 12px 0; border-bottom: 1px solid var(--border); }
.crew-row .nm { font-weight: 600; }
.crew-row .rl { font-size: 12px; color: var(--text-muted); }
.toggle { width: 52px; height: 30px; border-radius: 999px; background: #D6DCE4; position: relative; cursor: pointer; transition: background .15s; border: none; }
.toggle.on { background: var(--accent-green); }
.toggle .knob { position: absolute; top: 3px; left: 3px; width: 24px; height: 24px; border-radius: 50%; background: #fff; transition: left .15s; }
.toggle.on .knob { left: 25px; }

.photo-btn {
  width: 100%; padding: 18px; border: 2px dashed var(--border); border-radius: var(--radius-btn);
  background: #fafbfc; color: var(--text-muted); font-weight: 600; text-align: center; cursor: pointer;
}
.photo-preview { width: 100%; border-radius: var(--radius-btn); margin-top: 10px; display: block; }
.banner { padding: 12px 14px; border-radius: 12px; font-size: 14px; font-weight: 600; margin-bottom: 16px; }
.banner.warn { background: #FEEFE1; color: #b4531a; }
.banner.ok { background: #E7F7EF; color: #067a48; }
.banner.danger { background: #FDE7E7; color: #b11c1c; }
.sticky-actions { position: fixed; bottom: 68px; left: 0; right: 0; max-width: 520px; margin: 0 auto; padding: 12px 18px; background: linear-gradient(180deg, rgba(241,243,246,0), var(--main-bg) 30%); }
.gap-big { font-size: 34px; font-weight: 800; }
.merged-share img { width: 100%; border-radius: 16px; }
.fuel-toggle-hd { display:flex; justify-content:space-between; align-items:center; }
