:root {
  --navy: #002058;
  --red: #c70205;
  --ink: #171717;
  --muted: #737373;
  --line: #e6e8ec;
  --bg: #f4f6f9;
}
* { box-sizing: border-box; }
body {
  margin: 0;
  font-family: system-ui, -apple-system, Segoe UI, Roboto, sans-serif;
  color: var(--ink);
  background: var(--bg);
}
.hdr { background: var(--navy); color: #fff; }
.hdr__inner {
  max-width: 760px; margin: 0 auto; padding: 16px 20px;
  display: flex; align-items: baseline; gap: 12px; flex-wrap: wrap;
}
.hdr__logo { height: 34px; width: auto; display: block; }
.hdr__tag { color: #9fb2d4; font-size: 13px; }

.wrap { max-width: 760px; margin: 0 auto; padding: 28px 20px 80px; }
.title { font-size: 26px; font-weight: 800; letter-spacing: -0.02em; margin: 6px 0 6px; }
.lead { color: var(--muted); margin: 0 0 18px; line-height: 1.55; font-size: 15.5px; }

.steps {
  margin: 0 0 22px; padding: 16px 16px 16px 38px; background: #eaf0f9;
  border: 1px solid #d9e3f2; border-radius: 12px; color: var(--ink);
  font-size: 14.5px; line-height: 1.7;
}
.steps li { margin: 0; }
.steps li::marker { color: var(--navy); font-weight: 800; }

.help { font-size: 12.5px; color: var(--muted); line-height: 1.5; margin: 8px 0 0; }
.help--submit { text-align: center; margin: 10px 0 0; }

.card {
  background: #fff; border: 1px solid var(--line); border-radius: 14px;
  padding: 8px 22px 22px; box-shadow: 0 6px 24px rgba(0, 32, 88, 0.06);
}
.sec { padding: 18px 0; border-bottom: 1px solid var(--line); }
.sec:last-of-type { border-bottom: none; }
.sec__h {
  font-size: 12px; text-transform: uppercase; letter-spacing: 0.12em;
  color: var(--navy); font-weight: 800; margin: 0 0 14px;
}
.field { display: block; margin-bottom: 14px; }
.field:last-child { margin-bottom: 0; }
.field__label { display: block; font-size: 13.5px; font-weight: 600; margin-bottom: 6px; }
.field__label em { color: var(--muted); font-weight: 400; font-style: normal; }
.field__input {
  width: 100%; padding: 11px 13px; font-size: 15px; font-family: inherit;
  border: 1.5px solid var(--line); border-radius: 9px; background: #fff; color: var(--ink);
}
.field__input:focus { outline: none; border-color: var(--navy); }
textarea.field__input { resize: vertical; line-height: 1.45; }
.grid2 { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
@media (max-width: 560px) { .grid2 { grid-template-columns: 1fr; } }
.grid3 { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 14px; }
@media (max-width: 560px) { .grid3 { grid-template-columns: 1fr; } }

.note { font-size: 13px; color: var(--muted); line-height: 1.5; margin: 0 0 12px; }

/* Per-photo upload boxes — each required shot explains what to capture */
.shot { border: 1.5px solid var(--line); border-radius: 12px; padding: 14px; margin-bottom: 12px; background: #fafbfc; }
.shot:last-child { margin-bottom: 0; }
.shot__info { display: flex; gap: 12px; align-items: flex-start; }
.shot__text { flex: 1; min-width: 0; }
.shot__example { flex: none; width: 96px; margin: 0; text-align: center; }
.shot__example img, .shot__example svg { width: 96px; height: 72px; object-fit: cover; border-radius: 8px; border: 1.5px solid var(--line); display: block; background: #eef1f6; }
.shot__example figcaption { font-size: 10px; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase; color: var(--muted); margin-top: 4px; }
@media (max-width: 560px) {
  .shot__example { width: 78px; }
  .shot__example img, .shot__example svg { width: 78px; height: 60px; }
}
.shot__num {
  flex: none; width: 26px; height: 26px; border-radius: 50%; background: var(--navy); color: #fff;
  font-size: 14px; font-weight: 800; display: flex; align-items: center; justify-content: center;
}
.shot__title { font-size: 15px; font-weight: 700; color: var(--ink); display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.shot__desc { font-size: 13px; color: var(--muted); line-height: 1.5; margin: 5px 0 0; }
.req { font-size: 10.5px; font-weight: 800; letter-spacing: 0.06em; text-transform: uppercase; color: var(--red); background: #fdecec; padding: 2px 7px; border-radius: 999px; }
.opt { font-size: 10.5px; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase; color: var(--muted); background: #eef1f6; padding: 2px 7px; border-radius: 999px; }
.filebtn--sm { margin-top: 12px; font-size: 13.5px; padding: 9px 15px; }
.shot__preview { display: grid; grid-template-columns: repeat(auto-fill, minmax(130px, 1fr)); gap: 10px; margin-top: 12px; }
.shot__preview:empty { margin-top: 0; }

/* Out-for-delivery customer picker */
.picker { display: flex; flex-direction: column; gap: 8px; margin-top: 8px; }
.picker__item {
  text-align: left; background: #fff; border: 1.5px solid var(--line); border-radius: 10px;
  padding: 13px 15px; cursor: pointer; display: flex; flex-direction: column; gap: 2px;
  transition: border-color 0.15s ease, background 0.15s ease;
}
.picker__item:hover { border-color: var(--navy); }
.picker__item--active { border-color: var(--navy); background: #eef3fb; }
.picker__name { font-weight: 700; font-size: 15px; color: var(--ink); }
.picker__sub { font-size: 12.5px; color: var(--muted); }
.picker__msg { font-size: 13.5px; color: var(--muted); padding: 10px 2px; line-height: 1.5; }

.status { margin-top: 10px; font-size: 14px; padding: 9px 12px; border-radius: 8px; font-weight: 600; }
.status--ok { background: #e7f6ec; color: #137a3a; }
.status--err { background: #fdecec; color: #b3261e; }
.status--load { background: #eef1f6; color: var(--muted); }

.filebtn {
  display: inline-block; cursor: pointer; background: var(--navy); color: #fff;
  font-weight: 700; font-size: 14px; padding: 10px 18px; border-radius: 9px;
}
.filebtn:hover { background: #001845; }

.pv { border: 1.5px solid var(--line); border-radius: 10px; overflow: hidden; background: #fff; }
.pv__img { width: 100%; height: 110px; object-fit: cover; display: block; background: #001c4d; }
.pv--sm .pv__img { height: 96px; }
.pv__img--heic {
  display: flex; align-items: center; justify-content: center; text-align: center;
  color: #9fb2d4; font-size: 12px; padding: 0 8px; line-height: 1.4;
}
.pv__name { font-size: 11px; color: var(--muted); padding: 6px 8px; word-break: break-all; }

.submit {
  display: block; width: 100%; margin-top: 22px; padding: 15px; font-size: 16px; font-weight: 800;
  color: #fff; background: var(--red); border: none; border-radius: 10px; cursor: pointer;
  box-shadow: 0 6px 18px rgba(199, 2, 5, 0.28); transition: transform 0.15s ease, background 0.15s ease;
}
.submit:hover { background: #a80104; }
.submit:disabled { opacity: 0.55; cursor: progress; }

.result { margin-top: 18px; padding: 16px; border-radius: 10px; font-size: 14.5px; line-height: 1.55; }
.result--ok { background: #e7f6ec; color: #0f5f2e; }
.result--err { background: #fdecec; color: #b3261e; }
.result a { color: inherit; font-weight: 700; }
