.pe-energy {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 12rem), 1fr));
  gap: 1.25rem 1.75rem;
}
.pe-energy h3, .pe-activity h3 { margin: 0 0 .45rem; }
.pe-value, .pe-energy .note, .pe-activity .note { margin: 0; }
.pe-value, .pe-schedule td, .pe-schedule th, .pe-activity dd {
  overflow-wrap: anywhere;
  white-space: pre-wrap;
}
.pe-schedule { min-width: 0; container-type: inline-size; }
.pe-schedule table {
  width: 100%;
  border-collapse: collapse;
  table-layout: fixed;
  font-size: .87rem;
}
.pe-schedule th, .pe-schedule td {
  padding: .6rem .25rem;
  border-bottom: 1px solid var(--rule);
  text-align: left;
  vertical-align: top;
}
.pe-schedule th:first-child { width: 24%; }
.pe-schedule thead th { color: var(--muted); font-weight: 400; }
.pe-schedule abbr { text-decoration: none; }
.pe-compact { display: none; }
.pe-activity + .pe-activity {
  padding-top: 1rem;
  margin-top: 1rem;
  border-top: 1px solid var(--rule);
}
.pe-activity dl { margin: 0; }
.pe-activity dl > div {
  display: grid;
  grid-template-columns: minmax(0, 7rem) minmax(0, 1fr);
  gap: .75rem;
  align-items: baseline;
  padding: .2rem 0;
}
.pe-activity dt { color: var(--muted); }
.pe-activity dd { margin: 0; }
@container (max-width: 34rem) {
  .pe-schedule table { display: none; }
  .pe-compact { display: block; }
}
.pe-fields {
  min-width: 0;
  padding: 1rem 0 0;
  margin: 0;
  border: 0;
  border-top: 1px solid var(--rule);
  display: grid;
  gap: .75rem;
}
.pe-fields + .pe-fields { margin-top: 1.25rem; }
.pe-fields legend { padding: 0 .5rem 0 0; font-weight: 700; }
.pe-inputdays {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 12rem), 1fr));
  gap: .65rem .85rem;
}
.pe-fields .field, .pe-fields input, .pe-fields textarea { min-width: 0; width: 100%; }
.pe-fields button, #pe-add { justify-self: start; }
@media print {
  .pe-schedule table { display: table; }
  .pe-compact { display: none; }
}
