:root {
  font-family: Arial, sans-serif;
  color: #202830;
  background: #f4f2ef;
  line-height: 1.5;
}
* {
  box-sizing: border-box;
}
body {
  margin: 0;
}
header {
  background: #191b1c;
  color: white;
  padding: 18px 5%;
  display: flex;
  gap: 24px;
  align-items: center;
  flex-wrap: wrap;
}
header a {
  color: #ff7900;
  font-size: 26px;
  font-weight: 900;
  text-decoration: none;
}
header span {
  color: white;
}
header button {
  margin-left: auto;
}
main {
  max-width: 960px;
  margin: auto;
  padding: 24px 16px 70px;
}
h1 {
  font-size: clamp(28px, 6vw, 44px);
  line-height: 1.1;
}
h2 {
  font-size: 26px;
}
.eyebrow {
  color: #bd4d00;
  font-size: 12px;
  font-weight: bold;
  letter-spacing: 2px;
}
section,
article {
  margin-bottom: 20px;
}
article:not(:empty),
#login,
.card {
  background: white;
  border: 1px solid #ddd7d0;
  border-radius: 16px;
  padding: 24px;
  margin: 18px 0;
}
label {
  display: block;
  font-weight: bold;
  margin: 14px 0;
}
input:not([type='checkbox']),
select,
textarea {
  display: block;
  width: 100%;
  min-height: 48px;
  padding: 12px;
  border: 1px solid #8d959e;
  border-radius: 8px;
  font: inherit;
  margin-top: 6px;
  background: #fff;
  color: #202830;
}
textarea {
  min-height: 90px;
}
input[type='checkbox'] {
  width: 23px;
  height: 23px;
  vertical-align: middle;
  margin-right: 12px;
}
button,
.button {
  display: inline-block;
  padding: 14px 20px;
  min-height: 48px;
  border: 0;
  border-radius: 8px;
  background: #ff7900;
  color: #111;
  font: inherit;
  font-weight: bold;
  cursor: pointer;
  text-decoration: none;
  margin: 6px 8px 6px 0;
}
button:disabled {
  opacity: 0.55;
  cursor: wait;
}
button.secondary {
  background: #e8e9ea;
}
nav {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}
a {
  color: #8e3b00;
}
#message {
  white-space: pre-wrap;
  padding: 12px;
  border-left: 4px solid #ff7900;
  background: #fff4e9;
}
#message:empty {
  display: none;
}
.grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}
.signature {
  width: 100%;
  height: auto;
  aspect-ratio: 700 / 260;
  display: block;
  touch-action: none;
  border: 2px solid #536171;
  border-radius: 8px;
  background: #fff;
}
.photos {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}
.photos img {
  width: 140px;
  height: 110px;
  object-fit: cover;
  border-radius: 8px;
}
.review {
  white-space: pre-wrap;
  overflow-wrap: anywhere;
  background: #f5f6f7;
  padding: 18px;
  border-radius: 10px;
}
.hint {
  font-size: 14px;
  color: #4d5965;
}
.job {
  display: block;
  width: 100%;
  text-align: left;
  background: #fff;
  border: 1px solid #d5d5d5;
}
.wizard-pane { min-height: 260px; }
.wizard-status { font-size:14px; padding:10px 12px; border-radius:8px; background:#eef4ee; color:#26502c; }
#detail > progress { width:100%; height:10px; accent-color:#ff7900; }
.wizard-nav { position:sticky; bottom:0; padding:10px 0; background:#fff; display:flex; gap:8px; flex-wrap:wrap; border-top:1px solid #ddd; }
.wizard-nav button { flex:1; margin:0; }
.wizard-pane .walk-preview { max-height:240px; }
.wizard-pane details { margin-top:16px; }
.wizard-pane summary { cursor:pointer; }
.field-error:not(:empty) { color:#9b1c1c; background:#fff0f0; border-left:4px solid #b42318; padding:12px; font-weight:600; }
textarea[aria-invalid="true"] { border:2px solid #b42318; }
#detail h2 { scroll-margin-top:12px; }
button:focus-visible,
a:focus-visible,
input:focus-visible {
  outline: 3px solid #1667a7;
  outline-offset: 3px;
}
[hidden] {
  display: none !important;
}
@media (max-width: 600px) {
  .grid {
    grid-template-columns: 1fr;
  }
  header {
    gap: 10px;
    padding: 14px;
  }
  header strong {
    font-size: 14px;
  }
  article:not(:empty),
  #login {
    padding: 16px;
  }
  button {
    width: 100%;
  }
  nav a {
    padding: 12px;
  }
}
.photo-walk { border: 1px solid #e3d6c7; border-top: 4px solid #ff7900; border-radius: 14px; padding: 22px; margin: 20px 0; background: #fffaf4; }
.photo-walk progress { width: 100%; accent-color: #ff7900; height: 10px; margin-bottom: 18px; }
.walk-progress { font-size: 12px; letter-spacing: .08em; font-weight: 800; color: #9a4900; }
.walk-preview { display: block; width: 100%; max-height: 340px; object-fit: contain; background: #eae7e2; border-radius: 10px; }
.walk-navigation { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 20px; }
.photo-walk details { border-top: 1px solid #ddd; padding-top: 16px; margin-top: 20px; }
.photo-walk summary { cursor: pointer; font-weight: 600; }
@media(max-width:600px) { .photo-walk { padding: 16px; } }
