/* Photo checker — mobile-first. Parents will use this on a phone, one-handed,
   with a baby in the other arm. Big targets, short lines, no clever layout. */

.standfirst {
  font-size: 20px;
  line-height: 1.55;
  color: var(--text-dark);
  margin-bottom: var(--sp-6);
}

/* The guarantee is the product, so it gets the strongest block on the page. */
.guarantee {
  background: var(--green-deep);
  color: var(--cream);
  border-radius: var(--radius);
  padding: var(--sp-5);
  margin-bottom: var(--sp-7);
}
.guarantee h2 {
  color: var(--cream);
  margin: 0 0 var(--sp-4);
  border: 0;
  padding: 0;
  font-size: clamp(22px, 4vw, 28px);
}
.guarantee p { color: rgba(255,255,255,0.93); }
.guarantee p:last-child { margin-bottom: 0; }
.guarantee strong { color: var(--white); }

.field { display: block; margin-bottom: var(--sp-4); }
.field > span { display: block; font-weight: 600; color: var(--text-dark); margin-bottom: var(--sp-2); }
select {
  font: inherit;
  width: 100%;
  max-width: var(--measure);
  padding: var(--sp-3) var(--sp-4);
  border: 2px solid var(--rule-strong);
  border-radius: var(--radius-sm);
  background: var(--white);
  color: var(--text-body);
}

.drop {
  border: 2px dashed var(--rule-strong);
  border-radius: var(--radius);
  background: var(--cream-warm);
  padding: var(--sp-6) var(--sp-5);
  text-align: center;
  margin-bottom: var(--sp-6);
}
.drop--over { border-color: var(--green-mid); background: var(--green-ghost); }
.drop .note { max-width: none; margin: var(--sp-4) 0 0; }
label.btn { cursor: pointer; }

.preview-wrap { margin-bottom: var(--sp-6); }
#preview {
  border: 1px solid var(--rule-strong);
  border-radius: var(--radius-sm);
  background: repeating-conic-gradient(#eee 0% 25%, #fff 0% 50%) 50% / 16px 16px;
  max-width: 100%;
}
.check { display: flex; align-items: center; gap: var(--sp-3); margin-top: var(--sp-3); font-size: 16px; }
.check input { width: 20px; height: 20px; }

.verdict { border-radius: var(--radius); padding: var(--sp-5); margin-bottom: var(--sp-5); border: 2px solid; }
.verdict h3 { margin: 0 0 var(--sp-3); border: 0; padding: 0; }
.verdict p:last-child { margin-bottom: 0; }
.verdict--pass    { border-color: var(--green-mid);  background: var(--green-ghost); }
.verdict--warn    { border-color: var(--gold);       background: var(--gold-light); }
.verdict--fail    { border-color: #a12b2b;           background: #fdf2f2; }
.verdict--pending { border-color: var(--rule-strong); background: var(--cream-warm); }

.result {
  border-left: 4px solid var(--rule-strong);
  background: var(--white);
  border-radius: var(--radius-sm);
  padding: var(--sp-4);
  margin-bottom: var(--sp-4);
  box-shadow: var(--shadow-sm);
}
.result__head { display: flex; flex-wrap: wrap; align-items: baseline; gap: var(--sp-3); margin-bottom: var(--sp-2); }
.result__head strong { color: var(--text-dark); font-size: 18px; }
.result__tag {
  font-size: 13px; font-weight: 700; letter-spacing: 0.04em; text-transform: uppercase;
  padding: 2px var(--sp-3); border-radius: 999px; white-space: nowrap;
}
.result p { margin: 0 0 var(--sp-2); max-width: var(--measure); }
.result p:last-child { margin-bottom: 0; }
.result__fix { color: var(--text-muted); font-size: 16px; }

.result.pass    { border-left-color: var(--green-mid); }
.result.pass    .result__tag { background: var(--green-pale); color: var(--green-deep); }
.result.warn    { border-left-color: var(--gold); }
.result.warn    .result__tag { background: var(--gold-light); color: #7a5300; }
.result.fail    { border-left-color: #a12b2b; }
.result.fail    .result__tag { background: #fdf2f2; color: #8a1f1f; }
.result.pending { border-left-color: var(--rule-strong); }
.result.pending .result__tag { background: var(--cream-warm); color: var(--text-muted); }
.result.info    { border-left-color: var(--green-deep); }
.result.info    .result__tag { background: var(--green-deep); color: var(--cream); }

.cta {
  background: var(--green-ghost);
  border: 1px solid var(--green-pale);
  border-radius: var(--radius);
  padding: var(--sp-5);
  margin: var(--sp-6) 0;
}
.cta h3 { margin: 0 0 var(--sp-3); border: 0; padding: 0; }

.share code {
  font-family: var(--font-mono); font-size: 15px;
  background: var(--cream-warm); padding: var(--sp-2) var(--sp-3);
  border-radius: var(--radius-xs); word-break: break-all;
  display: inline-block;
}

.warn { color: #7a5300; background: var(--gold-light); padding: var(--sp-4); border-radius: var(--radius-sm); }

h3 { border: 0; }
code {
  font-family: var(--font-mono); font-size: 0.92em;
  background: var(--green-ghost); padding: 1px 5px; border-radius: var(--radius-xs);
}
