html[data-theme] #site_content .report-wizard-page > .pagehead {
  text-align: center;
}

html[data-theme] #site_content .report-wizard-page > .pagehead :is(h1, p) {
  margin-inline: auto;
}

.report-own-dog .dog-photo-placeholder-label {
  display: none;
}

.report-step-fields {
  display: grid;
  gap: 24px;
  min-width: 0;
  margin: 0;
  padding: 0;
  border: 0;
}

html[data-theme] #reportJourney :is(.journey-field, .formgrid > div):not(.pets-select) {
  display: grid;
  align-content: start;
  gap: 8px;
  min-width: 0;
}

html[data-theme] #reportJourney .formgrid {
  gap: 20px;
  margin-block: 0;
}

html[data-theme] #reportJourney :is(label, .journey-field input, textarea, .theme-heading, .theme-heading h3) {
  margin-block: 0;
}

html[data-theme] #reportJourney .report-description-field textarea {
  min-height: 128px;
  padding: 14px 16px;
  line-height: 1.6;
}

html[data-theme] #reportJourney :is(input:not([type="radio"]):not([type="checkbox"]):not([type="file"]), textarea):focus-visible {
  border-color: var(--blue);
  outline: none;
  box-shadow: 0 0 0 3px color-mix(in srgb, var(--blue) 12%, transparent);
}

.report-location-section {
  display: grid;
  gap: 24px;
  padding-top: 28px;
  border-top: 1px solid var(--line);
  min-width: 0;
}

html[data-theme] #reportJourney .report-location-heading p {
  margin: 8px 0 0;
  color: var(--muted);
  font-size: .875rem;
  line-height: 1.6;
}

.report-location-map {
  display: grid;
  gap: 14px;
  min-width: 0;
}

.report-location-map-heading {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
}

.report-location-map-heading > span {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: .875rem;
  font-weight: 600;
}

.report-location-map-heading .icon {
  width: 18px;
  height: 18px;
  color: var(--blue);
}

.report-location-map-heading small {
  color: var(--muted);
  font-size: .75rem;
}

html[data-theme] #reportJourney .report-location-hint {
  margin: -6px 0 0;
  color: var(--muted);
  font-size: .8rem;
  line-height: 1.6;
}

html[data-theme] #reportJourney #reportPicker {
  height: 280px;
  margin: 0;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 14px;
}

html[data-theme] #reportJourney #pickerFeedback {
  margin: 0;
  font-size: .8rem;
  line-height: 1.6;
}

#pickerFeedback:empty {
  display: none;
}

html[data-theme] #reportJourney .report-locate-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 44px;
  padding: 10px 16px;
  margin: 0;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: var(--surface);
  color: var(--blue);
  box-shadow: none;
  font: inherit;
  font-size: .875rem;
  font-weight: 600;
  text-transform: none;
  cursor: pointer;
}

.report-locate-button .icon {
  width: 18px;
  height: 18px;
}

html[data-theme] #reportJourney .report-locate-button:hover {
  border-color: var(--blue);
  background: var(--light);
}

.report-manual-location {
  border: 1px solid var(--line);
  border-radius: 12px;
  overflow: hidden;
}

html[data-theme] #reportJourney .report-manual-location > summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 14px 16px;
  margin: 0;
  color: var(--muted);
  font-size: .875rem;
  font-weight: 500;
  list-style: none;
  cursor: pointer;
}

.report-manual-location > summary::-webkit-details-marker {
  display: none;
}

.report-manual-location > summary .icon {
  width: 20px;
  height: 20px;
  flex: none;
}

.report-manual-location[open] > summary .icon {
  transform: rotate(180deg);
}

html[data-theme] #reportJourney .report-manual-location > .formgrid {
  padding: 0 16px 16px;
}

.report-locate-button:focus-visible, .report-manual-location > summary:focus-visible {
  outline: 2px solid var(--blue);
  outline-offset: 3px;
}

.report-step-fields[hidden] {
  display: none;
}

.report-own-dog > .dog-photo-placeholder {
  padding: 0;
  overflow: hidden;
}

.report-own-dog .dog-photo-brand-frame {
  width: 100%;
  height: 100%;
  border: 0;
  border-radius: inherit;
  box-shadow: none;
}

.report-own-dog .dog-photo-brand {
  width: 65%;
  height: 65%;
}

/* CMS column layout must not reveal fields hidden by the report type. */
html[data-theme] #site_content .report-wizard-page [data-report-reward][hidden] {
  display: none !important;
}
