@font-face {
  font-family: Manrope;
  src: url(/fonts/manrope-700.woff);
  font-weight: 700;
  font-display: swap;
}
@font-face {
  font-family: DM;
  src: url(/fonts/dm-sans-400.woff);
  font-display: swap;
}
:root {
  --ink: #17243c;
  --muted: #53617a;
  --blue: #385cd6;
  --line: #dfe5f1;
  --error: #a02b39;
}
* { box-sizing: border-box; }
[hidden] { display: none !important; }
body { margin: 0; background: #f8f9fc; color: var(--ink); font: 16px/1.55 DM, Arial, sans-serif; }
header, main { width: min(710px, calc(100% - 32px)); margin: auto; }
header { padding: 24px 0; }
main { padding: 24px 0 56px; }
.logo { color: var(--ink); font: 700 25px Manrope, Arial, sans-serif; letter-spacing: -1.3px; text-decoration: none; }
.logo span, h1 span { color: var(--blue); }
h1, h2, button { font-family: Manrope, Arial, sans-serif; font-weight: 700; }
h1 { font-size: clamp(34px, 6vw, 55px); line-height: 1.1; letter-spacing: -.045em; margin: 0; }
h2 { font-size: clamp(23px, 4vw, 30px); line-height: 1.25; letter-spacing: -.03em; margin: 0; }
p { margin: 0; }
.intro { margin: 14px 0 26px; color: var(--muted); }
.card {
  padding: clamp(20px, 5vw, 40px);
  background: white;
  border: 1px solid var(--line);
  border-radius: 23px;
  box-shadow: 0 18px 45px #2438670b;
}
fieldset { min-width: 0; margin: 0; padding: 0; border: 0; }
#jobs, .job { display: grid; gap: 16px; }
.job-header, .photo-actions, .photo-list li { display: flex; align-items: center; gap: 8px; }
.job-header, .photo-list li { justify-content: space-between; }
.photo-actions { flex-wrap: wrap; margin-top: 8px; }
.photo-list { list-style: none; margin: 8px 0 0; padding: 0; }
.photo-list li { border-top: 1px solid var(--line); font-size: 14px; overflow-wrap: anywhere; }
label, .field-label { display: block; font-size: 15px; font-weight: 700; }
small, .hint { color: var(--muted); font-weight: 400; }
small { margin-left: 4px; }
.hint { font-size: 14px; }
input:not([type=checkbox], [type=file]), textarea, select {
  display: block;
  width: 100%;
  min-height: 46px;
  margin-top: 5px;
  padding: 11px 12px;
  border: 1px solid #bfcbe0;
  border-radius: 9px;
  background: white;
  color: var(--ink);
  font: 16px/1.45 DM, Arial, sans-serif;
}
textarea { resize: vertical; }
.consent { display: flex; align-items: center; gap: 10px; min-height: 44px; font-weight: 400; }
input[type=checkbox] { accent-color: var(--blue); width: 18px; height: 18px; margin: 0; }
button { min-height: 44px; padding: 10px 14px; border: 0; border-radius: 9px; font-size: 14px; cursor: pointer; }
button:disabled { cursor: default; opacity: .65; }
.primary { background: var(--blue); color: white; }
.primary:hover:not(:disabled) { background: #2949b6; }
.secondary { background: #edf1fa; color: var(--ink); }
.secondary:hover:not(:disabled) { background: #e1e9fa; }
.text-button { background: transparent; color: var(--blue); text-decoration: underline; padding-inline: 6px; }
:focus-visible { outline: 3px solid #9bb0ff; outline-offset: 2px; }
#add-job, .business-notes, .actions { margin-top: 16px; }
.actions .primary { width: 100%; }
#progress, #error { margin-bottom: 12px; }
#error, .photo-error { color: var(--error); }
.photo-error { margin-top: 8px; }
#done { text-align: center; }
#done p { margin: 8px 0 18px; color: var(--muted); }
.success-mark {
  display: grid;
  place-items: center;
  width: 56px;
  height: 56px;
  margin: 0 auto 12px;
  border-radius: 50%;
  background: #e9efff;
  color: var(--blue);
  font-size: 28px;
}
