/* Idle and analysis states are status messages, not primary content panels. */
.result-panel { min-height: 0; }

.empty-state,
.loading-state {
  height: 340px;
  margin-top: 0;
  padding: 22px;
  background: #f5f1e9;
  border: 1px dashed var(--line);
}

.empty-state h3,
.loading-state h3 {
  margin: 14px 0 5px;
  font-size: 22px;
}

.empty-state p,
.loading-state p {
  margin: 0;
  font-size: 10px;
  line-height: 1.65;
}

.scan-face {
  width: 72px;
  height: 72px;
}

.scan-face span {
  font-size: 30px;
  line-height: 68px;
}

.loader {
  width: 44px;
  height: 44px;
}

@media (max-width: 800px) {
  .result-panel { min-height: 0; }
  .empty-state,
  .loading-state { height: 220px; }
}

.editor-stage {
  width: min(100%, 480px);
  aspect-ratio: 2 / 3;
}

.compare-before img {
  transform: scale(var(--original-scale));
  transform-origin: center center;
}

.alignment-control {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 12px;
  margin: 16px auto 0;
  font-size: 11px;
}

.alignment-control label {
  display: flex;
  align-items: center;
  gap: 10px;
}

.alignment-control input { width: 180px; }
.alignment-control button {
  border: 1px solid #ffffff66;
  background: transparent;
  color: #fff;
  padding: 7px 10px;
  cursor: pointer;
}

.site-footer {
  min-height: 190px;
  height: auto;
  display: grid;
  grid-template-columns: 220px 1fr auto;
  gap: 40px;
  align-items: center;
  padding-top: 35px;
  padding-bottom: 35px;
}

.upload-actions {
  display: flex;
  justify-content: center;
  gap: 8px;
}

.upload-actions #cameraButton {
  background: var(--ink);
  color: #fff;
}

.face-analysis {
  margin-bottom: 0;
  padding: 16px;
  border-left: 3px solid var(--orange);
  background: #eee8dc;
}

.face-analysis strong { font: 20px 'DM Serif Display', serif; }
.face-analysis p { margin: 7px 0 10px; color: #656a62; font-size: 10px; line-height: 1.65; }
.face-analysis div { display: flex; flex-wrap: wrap; gap: 6px; }
.face-analysis span { padding: 5px 8px; background: #fff; font-size: 9px; }

@media (max-width: 480px) {
  .upload-actions { flex-direction: column; }
  .upload-actions button { width: 180px; margin-top: 6px; }
}

.footer-brand p,
.copyright {
  margin: 9px 0 0;
  color: #74786f;
}

.business-info {
  display: flex;
  flex-wrap: wrap;
  gap: 6px 18px;
  max-width: 650px;
  color: #62675f;
  font-style: normal;
  font-size: 10px;
  line-height: 1.7;
}

.business-info strong {
  width: 100%;
  color: var(--ink);
  font-size: 12px;
}

@media (max-width: 800px) {
  .site-footer {
    grid-template-columns: 1fr;
    gap: 22px;
    align-items: start;
  }
  .business-info { display: grid; gap: 3px; }
  .copyright { margin: 0; }
}
