  * { margin: 0; padding: 0; box-sizing: border-box; }
  /* Noto Sans Devanagari ships with Android and is the system Devanagari face
     on most of these phones; the stack falls back to whatever the device has
     rather than pulling a webfont over a driver's mobile connection. */
  body { font-family: -apple-system, "Segoe UI", Roboto, "Noto Sans Devanagari", sans-serif; background: #FAF7F2; color: #1a1a1a; min-height: 100vh; }
  .wrap { max-width: 480px; margin: 0 auto; padding: 20px 16px 60px; }
  header { padding: 18px 0 6px; }
  .brand { color: #FF5B2E; font-weight: 800; font-size: 14px; letter-spacing: 1.5px; text-transform: uppercase; }
  /* Devanagari sits taller than Latin — matras above and below the line need
     more room, so headings and list items run looser than the English page. */
  h1 { font-size: 24px; font-weight: 800; margin-top: 6px; line-height: 1.45; }
  .sub { color: #666; font-size: 14px; margin-top: 6px; line-height: 1.6; }
  .card { background: #fff; border: 1px solid #eee; border-radius: 14px; padding: 18px; margin-top: 16px; box-shadow: 0 1px 4px rgba(0,0,0,0.04); }
  .card h2 { font-size: 15px; font-weight: 700; margin-bottom: 10px; line-height: 1.5; }
  ol.instructions { padding-left: 20px; font-size: 14px; color: #444; }
  ol.instructions li { margin-bottom: 10px; line-height: 1.65; }
  label { display: block; font-size: 13px; font-weight: 600; color: #444; margin: 14px 0 5px; line-height: 1.6; }
  input[type=text], input[type=tel] { width: 100%; padding: 12px; font-size: 16px; border: 1.5px solid #ddd; border-radius: 10px; text-transform: uppercase; }
  input[type=tel] { text-transform: none; }
  input:focus { outline: none; border-color: #FF5B2E; }
  .photo-btn { display: flex; align-items: center; gap: 12px; width: 100%; padding: 14px; border: 1.5px dashed #ccc; border-radius: 10px; background: #FFF9F6; font-size: 14px; color: #555; cursor: pointer; line-height: 1.5; }
  .photo-btn.done { border-style: solid; border-color: #2e9e5b; background: #f2fbf5; color: #1c6e3d; }
  .photo-btn .icon { font-size: 22px; }
  .thumb { width: 54px; height: 54px; object-fit: cover; border-radius: 8px; display: none; }
  .thumb.show { display: block; }
  .gps { font-size: 13px; margin-top: 14px; padding: 10px 12px; border-radius: 10px; background: #f4f4f4; color: #555; line-height: 1.6; }
  .gps.ok { background: #f2fbf5; color: #1c6e3d; }
  .gps.err { background: #fdf1ef; color: #b3402a; }
  button.submit { width: 100%; margin-top: 20px; padding: 15px; font-size: 16px; font-weight: 700; color: #fff; background: #FF5B2E; border: none; border-radius: 12px; cursor: pointer; line-height: 1.5; }
  button.submit:disabled { background: #f0a48f; }
  .result { margin-top: 16px; padding: 14px; border-radius: 12px; font-size: 14px; display: none; line-height: 1.6; }
  .result.err { display: block; background: #fdf1ef; color: #b3402a; }
  input[type=file] { display: none; }
  .progress { display: none; margin-top: 12px; height: 8px; border-radius: 4px; background: #f0e6e1; overflow: hidden; }
  .progress .bar { height: 100%; width: 100%; background: #FF5B2E; transform: scaleX(0); transform-origin: left; transition: transform 0.3s; }

  /* The confirmation replaces the form outright rather than appearing under a
     dead submit button. A greyed-out button with a message below it read as a
     failure to drivers, who asked support why submitting was broken when the
     upload had in fact succeeded. */
  .done-card { display: none; background: #fff; border: 1px solid #cdebd8; border-radius: 16px; padding: 28px 22px; margin-top: 28px; text-align: center; box-shadow: 0 1px 4px rgba(0,0,0,0.04); }
  .done-card .tick { width: 62px; height: 62px; margin: 0 auto 16px; border-radius: 50%; background: #f2fbf5; color: #1c6e3d; font-size: 32px; line-height: 62px; }
  .done-card h1 { font-size: 22px; color: #1c6e3d; margin: 0 0 14px; }
  .done-card p { font-size: 15px; color: #333; line-height: 1.8; margin-bottom: 12px; }
  .done-card .thanks { font-weight: 700; color: #1c6e3d; margin-top: 18px; margin-bottom: 0; }
  .done-card .ref { margin-top: 20px; padding-top: 16px; border-top: 1px solid #eee; font-size: 13px; color: #777; }
