.photo-card {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 16px;
  align-items: center;
  border-color: #cbdcfb;
  background: linear-gradient(135deg, #fff, #f5f9ff);
}

.photo-copy {
  display: flex;
  align-items: center;
  gap: 14px;
}

.photo-copy h2 {
  font-size: 18px;
  margin: 0 0 5px;
}

.photo-copy p:not(.kicker) {
  margin: 0;
  color: var(--muted);
  font-size: 12px;
}

.camera-icon {
  width: 48px;
  height: 48px;
  border-radius: 14px;
  display: grid;
  place-items: center;
  background: #e9f1ff;
  color: var(--blue);
  font-size: 23px;
  font-weight: 900;
}

.photo-button {
  border: 0;
  border-radius: 11px;
  padding: 12px 16px;
  background: var(--navy);
  color: white;
  font-weight: 800;
  cursor: pointer;
}

.photo-button.disabled { opacity: .6; pointer-events: none; }

.file-input {
  position: absolute;
  width: 1px;
  height: 1px;
  opacity: 0;
  overflow: hidden;
  pointer-events: none;
}

.photo-panel {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: 110px 1fr;
  gap: 15px;
  align-items: center;
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 12px;
  background: white;
}

.photo-panel img {
  width: 110px;
  height: 82px;
  object-fit: cover;
  border-radius: 8px;
  background: #eef2f7;
}

.photo-panel img:not([src]) { display: none; }

.photo-result strong {
  display: block;
  margin-bottom: 5px;
  font-size: 14px;
}

.photo-result p {
  margin: 0 0 8px;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.45;
}

.photo-panel.reading { border-color: #9bb9f4; }
.photo-panel.success { border-color: #91d8bd; background: #f7fffb; }
.photo-panel.success .photo-result strong { color: #087653; }
.photo-panel.failed { border-color: #efb3ba; background: #fff9f9; }
.photo-panel.failed .photo-result strong { color: var(--red); }

.privacy-note {
  grid-column: 1 / -1;
  color: #7e899d;
  font-size: 11px;
}

@media (max-width: 720px) {
  .photo-card { grid-template-columns: 1fr; }
  .photo-button { width: 100%; }
  .photo-panel { grid-column: 1; grid-template-columns: 82px 1fr; }
  .photo-panel img { width: 82px; height: 82px; }
  .privacy-note { grid-column: 1; }
}
