.report-editor {
  display: grid;
  gap: 0;
}
.report-editor-section {
  display: grid;
  gap: 16px;
  min-width: 0;
  padding: 22px 0;
  border-top: 1px solid var(--border);
}
.report-section-heading {
  display: flex;
  align-items: start;
  gap: 10px;
}
.report-section-heading > span {
  display: grid;
  place-items: center;
  flex: none;
  width: 32px;
  height: 32px;
  border-radius: 9px;
  color: var(--navy);
  background: var(--primary-soft);
}
.report-section-heading .icon {
  width: 17px;
  height: 17px;
}
.report-section-heading h2 {
  font-size: 15px;
  font-weight: 600;
  line-height: 1.4;
  color: var(--navy);
}
.report-section-heading h2 small {
  font-size: 10px;
  font-weight: 400;
  color: var(--muted);
  margin-left: 5px;
}
.report-section-heading p {
  font-size: 12px;
  color: var(--muted);
  line-height: 1.6;
  margin-top: 3px;
}
.report-clock {
  min-width: 0;
  margin: 0;
  padding: 12px;
  border: 1px solid var(--border);
  border-radius: 10px;
  background: #f7f9fc;
}
.report-clock legend {
  padding-inline: 5px;
  color: var(--navy);
  font-size: 13px;
  font-weight: 600;
}
.report-clock legend > span {
  margin-left: 8px;
  font-size: 12px;
  color: var(--muted);
  font-weight: 400;
}
.report-clock-values {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr);
  gap: 12px;
}
.report-clock-values > div {
  display: flex;
  align-items: start;
  gap: 8px;
  min-width: 0;
}
.report-clock-values .icon {
  width: 16px;
  height: 16px;
  color: var(--navy);
  margin-top: 3px;
}
.report-clock-values > div > div {
  display: grid;
  gap: 3px;
  min-width: 0;
}
.report-clock-values span {
  font-size: 12px;
  color: var(--muted);
}
.report-clock-values time {
  font-size: 14px;
  line-height: 1.6;
  font-weight: 500;
  color: var(--navy);
  overflow-wrap: anywhere;
  font-variant-numeric: tabular-nums;
}
.report-clock > small {
  display: block;
  margin-top: 10px;
  padding-top: 8px;
  border-top: 1px solid var(--border);
  font-size: 12px;
  line-height: 1.6;
  color: var(--muted);
}
.report-location-fields {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
  align-items: start;
}
.report-location-fields .select-popup {
  position: absolute;
  margin-top: 0;
  padding: 6px;
  border-color: #a9c6e2;
  border-radius: 14px;
  box-shadow: 0 8px 22px #0b2e5918, inset 0 1px 0 #fff;
}
.report-location-fields .select-popup [role="listbox"] { max-height: 216px; }
.report-location-fields .select-option { min-height: 44px; padding: 10px 12px; border-radius: 9px; }
.report-location-fields .select-option[aria-selected="true"] { background: #dcecfb; color: var(--navy); }
.report-location-fields .select-count { display: none; }
.report-file-picker {
  position: relative;
  display: flex;
  align-items: center;
  gap: 12px;
  border: 1px dashed #b6c6d9;
  border-radius: 10px;
  padding: 16px;
  cursor: pointer;
  background: #f7f9fc;
}
.report-file-picker > .icon {
  width: 22px;
  height: 22px;
  color: var(--navy);
}
.report-file-picker > span {
  min-width: 0;
  display: grid;
  gap: 4px;
}
.report-file-picker strong {
  font-size: 13px;
  font-weight: 500;
  color: var(--navy);
}
.report-file-picker small {
  font-size: 11px;
  line-height: 1.6;
  color: var(--muted);
}
.report-file-picker input {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  cursor: pointer;
}
.report-file-picker:focus-within {
  outline: 2px solid var(--navy);
  outline-offset: 3px;
}
.report-file-picker:hover {
  border-color: var(--navy);
  background: var(--primary-soft);
}
.report-editor #report-preview:empty {
  display: none;
}
.report-editor .file-list figcaption {
  white-space: nowrap;
}
.report-editor-footer {
  display: grid;
  gap: 14px;
  border-top: 1px solid var(--border);
  padding-top: 18px;
}
.report-editor-footer > p:first-child {
  display: flex;
  align-items: start;
  gap: 7px;
  font-size: 11px;
  color: var(--muted);
  line-height: 1.7;
}
.report-editor-footer > p:first-child .icon {
  width: 15px;
  height: 15px;
  margin-top: 2px;
}
.report-editor-footer #report-error:empty {
  display: none;
}
.report-editor-footer .report-submit {
  justify-self: end;
  min-height: 44px;
  min-width: 150px;
}
@media (max-width: 650px) {
  .report-location-fields {
    grid-template-columns: minmax(0, 1fr);
  }
}
@media (max-width: 359px) {
  .report-clock-values {
    grid-template-columns: minmax(0, 1fr);
    gap: 10px;
  }
  .report-editor-footer .report-submit {
    width: 100%;
  }
}
