.photo-page {
  width: 800px;
  margin: 5vh auto;
}
.photo-page__image-section {
  margin-bottom: 1rem;
}

.photo-page-editor-area {
  display: grid;
  grid-template-columns: 40% auto;
  grid-template-rows: auto 2rem;
  grid-template-areas: "image image" "search status";
  gap: 0.5em;
}
.photo-overlay-editor {
  display: contents;
}
.photo-page-editor-area .photo-overlay-editor__svg {
  grid-area: image;
  display: block;
  width: 100%;
  height: auto;
}
.photo-page-editor-area .photo-overlay-editor__status-bar {
  height: 2rem;
  grid-area: status;
  display: flex;
  align-items: center;
  gap: 0.5em;
  justify-content: right;
}
.photo-page-editor-area .photo-overlay-editor__status-bar-actions {
  display: contents;
}
.photo-page-editor-area input {
  grid-area: search;
}

.photo-capture-location {
  height: 50vh;
  display: flex;
  flex-flow: column nowrap;
}
.photo-capture-location__map {
  flex-grow: 1;
  height: calc(100% - 2em);
  box-sizing: border-box;
}
.photo-capture-location__controls {
  line-height: 2em;
  display: flex;
  justify-content: space-between;
}
.photo-capture-location__add-point,
.photo-capture-location__remove-point {
  line-height: 2em;
  border-radius: 0;
  padding: 0 1em;
}
.photo-capture-location__radius-input {
  padding-left: 0.5em;
}
.photo-capture-location__faint-text {
  opacity: 0.5;
}
.photo-capture-location__meters {
  border: none;
  width: 5ch;
}
.photo-capture-location__controls {
  height: 2em;
}


.photo-fields {
  display: flex;
  flex-flow: column nowrap;
  gap: var(--similar-input-gap);
}
.photo-field { display: flex; flex-flow: row; }
.photo-field__field { width: 15ch; }
.photo-field__value { width: auto; flex-grow: 1; flex-shrink: 1; }

.photo-page-file-data {
  display: grid;
  grid-template-rows: auto auto;
  grid-template-columns: auto auto;
  grid-template-areas: "location location" "- datetime";
  gap: 0.5em;
}
.photo-page-file-data .photo-capture-time     { grid-area: datetime; align-self: start; }
.photo-page-file-data .photo-capture-location { grid-area: location; }

.photo-capture-time {
  max-width: 40ch;
  display: grid;
  grid-template-columns: auto auto auto auto;
  grid-template-rows: auto auto;
  grid-template-areas: "prompt date time clear"
                       "suggestion suggestion suggestion suggestion";
}
.photo-realdatetimeoriginal__prompt  {
  opacity: 0.6;
  grid-area: prompt;
  justify-self: left;
  font-size: 0.6rem;
  padding: 0 0.4em;
  display: flex;
  flex-flow: column nowrap;
  justify-content: center;
  text-align: right;
}
.photo-realdatetimeoriginal__date  { grid-area: date;  justify-self: left; }
.photo-realdatetimeoriginal__time  { grid-area: time;  justify-self: left; }
.photo-realdatetimeoriginal__clear { grid-area: clear; justify-self: right; }
.photo-realdatetimeoriginal__suggestion {
  text-align: right;
  font-size: 0.8rem;
  line-height: 2em;
  grid-area: suggestion;
}
