.form-wrap { max-width: 640px; margin: 0 auto; padding: 40px 24px 100px; }
.back-link { font-size: 13px; color: var(--muted); text-decoration: none; }
.form-title { font-size: 22px; font-weight: 800; margin: 14px 0 26px; }
.hint { font-size: 14px; color: var(--muted); margin-top: 30px; }
.hint-inline { font-weight: 400; color: var(--muted-2); font-size: 12px; }

#entryForm label { display: block; font-size: 13.5px; font-weight: 700; margin-bottom: 18px; }
#entryForm input, #entryForm select, #entryForm textarea {
  display: block;
  width: 100%;
  margin-top: 7px;
  padding: 10px 12px;
  border: 1px solid var(--border);
  border-radius: 8px;
  font-size: 14px;
  font-family: inherit;
  font-weight: 400;
  color: var(--ink);
}
#entryForm input:read-only { background: var(--bg-soft); color: var(--muted); }
#entryForm textarea { resize: vertical; }

.form-error { display: none; color: #d63e3e; font-size: 13px; margin-bottom: 14px; white-space: pre-wrap; }

#submitBtn {
  padding: 12px 22px;
  border: none;
  border-radius: 8px;
  background: var(--ink);
  color: #fff;
  font-size: 14px;
  font-weight: 700;
  cursor: pointer;
}
#submitBtn:disabled { opacity: 0.6; cursor: default; }

/* 이미지 업로드 칸은 <label>로 감싸지 않는다 — <label>이 type=file 인풋을
   감싸면 클릭 시 네이티브 파일선택창이 JS 핸들러와 별개로 한 번 더 열린다 */
.field-block { margin-bottom: 18px; }
.field-label { display: block; font-size: 13.5px; font-weight: 700; margin-bottom: 7px; }

.image-drop {
  position: relative;
  margin-top: 7px;
  height: 150px;
  border: 2px dashed var(--border);
  border-radius: 10px;
  background: var(--bg-soft);
  cursor: pointer;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}
.image-drop.dragover { border-color: var(--accent); background: var(--accent-soft); }
.image-drop-empty { font-size: 13px; color: var(--muted); text-align: center; padding: 0 16px; font-weight: 400; }
.image-drop-preview { width: 100%; height: 100%; object-fit: cover; display: none; }
.image-drop-remove {
  position: absolute;
  top: 8px;
  right: 8px;
  padding: 5px 10px;
  border: none;
  border-radius: 6px;
  background: rgba(22, 24, 29, 0.75);
  color: #fff;
  font-size: 12px;
  font-weight: 700;
  cursor: pointer;
}
