.futurReportDownloads{box-sizing:border-box;width:min(64rem,calc(100vw - 2rem));max-height:calc(100dvh - 2rem);padding:0;border:1px solid #9fcfd4;border-radius:.45rem;color:#29464a;background:#fff;font:1rem/1.45 ui-monospace,SFMono-Regular,monospace;overflow:hidden}
.futurReportDownloads::backdrop{background:#163b4a66}
.futurReportDownloads>header{display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:1rem;padding:1rem;border-bottom:1px solid #d8e6ec;background:#edf4fa}
.futurReportDownloadsBody{box-sizing:border-box;max-height:calc(100dvh - 7rem);padding:1rem;overflow:auto}
.futurReportDownloads button{padding:.5rem .7rem;border:1px solid #9fcfd4;border-radius:.3rem;background:#f1f8fb;color:#12607a;font:inherit;cursor:pointer}
.futurReportDownloads button:hover,.futurReportDownloads button:focus-visible{background:#e0f2f7;outline:2px solid #3099b3;outline-offset:1px}
.futurReportDownloads button:disabled{opacity:.55;cursor:default}
.futurReportDownloadsTools{display:flex;flex-wrap:wrap;align-items:end;gap:.6rem;margin:.6rem 0}
.futurReportDownloads label{display:grid;gap:.3rem}
.futurReportDownloads input,.futurReportDownloads select{box-sizing:border-box;max-width:100%;padding:.5rem;border:1px solid #9fcfd4;border-radius:.3rem;background:#fff;color:inherit;font:inherit}
.futurReportDownloads input[type=search]{width:100%}
.futurReportDownloadEntry{display:grid;gap:.5rem;margin:1rem 0;padding:1rem;border:1px solid #d3e2eb;border-radius:.35rem}
.futurReportDownloadEntry p{margin:0}
.futurReportDownloadEntry small{display:block}
.futurReportDownloadEntry progress{width:100%}
.futurReportDownloadItems>div{display:flex;align-items:center;justify-content:space-between;gap:.7rem;padding:.5rem 0;border-bottom:1px solid #edf1f4}
.futurReportDownloadItems span{overflow-wrap:anywhere}
.futurReportDownloadItems button{flex-shrink:0}
.futurReportBatchCandidates{display:grid;gap:.5rem;max-height:20rem;overflow:auto;margin:.7rem 0;padding:.7rem;border:1px solid #d3e2eb}
.futurReportBatchCandidates label{display:flex;align-items:center;gap:.6rem;cursor:pointer}
.futurReportBatchChosen{display:flex;flex-wrap:wrap;gap:.5rem;margin:.7rem 0}
@media(max-width:40rem){.futurReportDownloadItems>div{align-items:start;flex-direction:column}.futurReportDownloads{font-size:14px}}

.futurReportDownloads form>button[type=submit]{position:sticky;bottom:0;display:block;width:100%;z-index:1;box-shadow:0 -.4rem .8rem #fff;background:#12607a;color:#fff}
.futurReportBatchCandidates{max-height:min(20rem,30dvh)}
.futurReportDownloads>header>strong{overflow-wrap:anywhere;min-width:0}

.futurReportBatchCustomer{display:grid;gap:.7rem;margin:1rem 0;padding:1rem;background:#edf7f8;border:1px solid #9fcfd4;border-radius:.4rem}
.futurReportBatchCustomer[hidden]{display:none}
.futurReportBatchChosen>span{padding:.35rem .55rem;background:#edf4fa;border-radius:.25rem;overflow-wrap:anywhere}

.futurReportDownloads{text-align:start}
.futurReportDownloads form>button[type=submit]{opacity:1}
.futurReportDownloads form>button[type=submit]:disabled{background:#dce9ed;color:#546d74}

/* Preserve the native PCF actions at small widths and high resolution. */
#flumenCO2HeaderSummary.flumenCO2Header--pcf #flumenCO2HeaderControls:has(> .flumenCO2PCFBatchStart) {
  flex-wrap: wrap;
  gap: .6rem;
}
#flumenCO2HeaderControls > .flumenCO2PCFBatchStart {
  display: inline-flex;
  flex: 0 1 auto;
  align-items: center;
  align-self: flex-start;
  justify-content: center;
  max-width: 100%;
  min-height: 2.25rem;
  margin: 1rem 0 0;
  padding: .6rem 1rem;
  border: 1px solid var(--flumen-co2-green, #2fa656);
  border-radius: 1.2rem;
  background: #fff;
  color: #237c40;
  font-size: .85rem;
  line-height: 1.25;
  white-space: normal;
}

.futurReportDownloadGroup>h2{margin:1rem 0 .5rem;font:inherit;font-weight:700;color:#12607a}
.futurReportDownloadGroup+.futurReportDownloadGroup{margin-top:1.5rem;padding-top:.5rem;border-top:1px solid #d8e6ec}
