.reference-report {
  min-height: calc(100vh - 110px);
  padding: 10px 0 36px;
  color: #303647;
}

.preset-report-toolbar {
  display: flex;
  align-items: end;
  gap: 12px;
  max-width: 560px;
}

.preset-report-toolbar .field {
  width: 330px;
  margin: 0;
}

.preset-report-toolbar .select { height: 33px; min-height: 33px; }

.preset-report-toolbar .field span,
.preset-report-filters .field span {
  display: block;
  margin-bottom: 8px;
  font-size: 14px;
  font-weight: 600;
}

.preset-export {
  width: 34px;
  min-width: 34px;
  height: 34px;
  padding: 0;
  color: #9099a8;
}

.preset-description {
  margin: 18px 0 28px;
  color: #465064;
  font-size: 14px;
}

.preset-report-filters {
  display: grid;
  grid-template-columns: repeat(2, minmax(180px, 270px));
  gap: 14px 18px;
  margin-bottom: 20px;
}

.preset-report-filters .field b { color: #ec3c4c; }

.preset-report-empty {
  display: flex;
  min-height: 155px;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 10px;
  color: #4c566a;
  text-align: center;
}

.preset-report-empty p { margin: 0; }

#preset-result .management-table-wrap { margin-top: 26px; }

.reference-report--tissue-archive .preset-report-toolbar .select {
  padding-top: 0;
  padding-bottom: 0;
  line-height: normal;
}
.reference-report--tissue-archive .preset-description {
  position: relative;
  margin: 12px 0 22px;
}
.reference-report--tissue-archive .preset-description::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -12px;
  border-bottom: 1px solid #e7e9ee;
}
.reference-report--tissue-archive .preset-report-filters {
  grid-template-columns: repeat(2, minmax(180px, 380px));
  gap: 14px;
  margin-bottom: 14px;
}
.reference-report--tissue-archive .preset-report-filters .field span { margin-bottom: 4px; }
.reference-report--tissue-archive .management-table-wrap { background: #fff; }
.reference-report--tissue-archive .management-table th {
  background: #fff;
  color: #35415c;
  font-weight: 500;
  white-space: nowrap;
}
.reference-report--tissue-archive .management-table td { background: #fff; }
.reference-report--tissue-archive .archive-report-pager {
  justify-content: flex-end;
  gap: 8px;
  margin-top: 0;
  padding: 16px 0;
  background: #fff;
}
.reference-report--tissue-archive .archive-report-pager .btn,
.reference-report--tissue-archive .archive-current-page {
  display: inline-grid;
  place-items: center;
  width: 32px;
  height: 32px;
  padding: 0;
  border: 1px solid #dfe3eb;
  border-radius: 2px;
  background: #fff;
  color: #315bab;
  font-size: 16px;
}
.reference-report--tissue-archive .archive-report-pager .btn:disabled { color: #c6cbd4; }
.reference-report--tissue-archive .archive-report-pager .select {
  width: 104px;
  height: 32px;
  padding: 0 8px;
  margin-left: 8px;
}
.reference-report--tissue-archive .archive-result-count {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
}
.reference-report--tissue-archive .archive-local-note {
  margin-top: 12px;
  color: #6e788a;
  font-size: 12px;
}
.reference-report--tissue-archive .archive-local-note p { margin: 6px 0 0; }

.delayed-local-note {
  margin-top: 12px;
  color: #6e788a;
  font-size: 12px;
}
.delayed-local-note p { margin: 6px 0 0; }

.report-local-heading { display: flex; align-items: center; gap: 14px; }
.report-local-heading .page-title { margin: 0; }
.report-local-heading small { font-size: 14px; font-weight: 400; }

@media (max-width: 650px) {
  .preset-report-toolbar { flex-wrap: wrap; }
  .preset-report-toolbar .field { width: 100%; }
  .preset-report-filters { grid-template-columns: 1fr; }
  .reference-report--tissue-archive .preset-report-filters { grid-template-columns: 1fr; }
}

/* EGESOFT metrics dashboard for dynamic and custom report workspaces. */
.dynamic-report-dashboard{display:grid;gap:13px;min-width:0;min-height:0;padding:0 0 30px;color:#344d59}
.dynamic-report-dashboard .dynamic-report-heading{min-height:78px;display:flex;align-items:flex-end;justify-content:space-between;gap:18px;padding:3px 2px 1px}
.dynamic-report-dashboard .dynamic-report-kicker,.dynamic-report-dashboard .dynamic-report-section-kicker{display:flex;align-items:center;gap:7px;color:#789097;font-size:8px;font-weight:700;letter-spacing:.13em}
.dynamic-report-dashboard .dynamic-report-kicker i{width:6px;height:6px;flex:0 0 auto;border-radius:50%;background:#3caaa0;box-shadow:0 0 0 3px #e4f4f1}
.dynamic-report-dashboard .dynamic-report-kicker b{color:#c0cccf;font-size:8px}
.dynamic-report-dashboard .dynamic-report-heading h1{margin:7px 0 3px;color:#142f3f;font-size:25px;font-weight:650;letter-spacing:-.04em}
.dynamic-report-dashboard .dynamic-report-heading h1 small{color:#738891;font-size:12px;font-weight:550;letter-spacing:0}
.dynamic-report-dashboard .dynamic-report-heading p{margin:0;color:#778b93;font-size:11px;line-height:1.6}
.dynamic-report-dashboard .dynamic-report-back{min-height:33px;padding:0 12px;border:1px solid #dfe9ea;border-radius:8px;color:#506a73;background:#fff;font-size:9px;font-weight:650}
.dynamic-report-dashboard .dynamic-report-back:hover{border-color:#acd4d0;color:#176f70;background:#f5fbfa}
.dynamic-report-dashboard .dynamic-report-metrics{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:9px;min-width:0}
.dynamic-report-dashboard .dynamic-report-metric{--report-color:#c08a36;position:relative;min-width:0;min-height:89px;display:grid;grid-template-columns:minmax(0,1fr) auto;grid-template-rows:9px 1fr auto;grid-template-areas:"marker action" "label count" "hint count";align-items:center;gap:5px 8px;padding:10px 12px;overflow:hidden;border:1px solid #e5ecee;border-radius:11px;color:#193746;background:linear-gradient(155deg,#fff,#f9fbfb);box-shadow:0 2px 6px rgb(28 57 69 / 2%)}
.dynamic-report-dashboard .dynamic-report-metric-teal{--report-color:#168b84}.dynamic-report-dashboard .dynamic-report-metric-blue{--report-color:#527caa}.dynamic-report-dashboard .dynamic-report-metric-amber{--report-color:#c08a36}
.dynamic-report-dashboard .dynamic-report-metric::after{position:absolute;right:-34px;bottom:-54px;z-index:0;width:90px;height:90px;border:1px solid color-mix(in srgb,var(--report-color) 13%,white);border-radius:50%;box-shadow:0 0 0 13px color-mix(in srgb,var(--report-color) 4%,white);content:"";pointer-events:none}
.dynamic-report-dashboard .dynamic-report-metric>*{position:relative;z-index:1}
.dynamic-report-dashboard .dynamic-report-metric>i{grid-area:marker;width:7px;height:7px;border-radius:50%;background:var(--report-color);box-shadow:0 0 0 3px color-mix(in srgb,var(--report-color) 13%,white)}
.dynamic-report-dashboard .dynamic-report-metric>span{grid-area:label;min-width:0;overflow:hidden;color:#506772;font-size:9px;font-weight:650;line-height:1.35;text-overflow:ellipsis}
.dynamic-report-dashboard .dynamic-report-metric strong{grid-area:count;z-index:1;color:var(--report-color);font-size:24px;font-weight:700;font-variant-numeric:tabular-nums;line-height:1}
.dynamic-report-dashboard .dynamic-report-metric small{grid-area:hint;overflow:hidden;color:#94a4ab;font-size:8px;line-height:1.25;text-overflow:ellipsis;white-space:nowrap}
.dynamic-report-dashboard .dynamic-report-note{padding:10px 14px;border:1px solid #dce9e7;border-radius:9px;color:#5b7477;background:#f5faf9;font-size:10px;line-height:1.5}
.dynamic-report-dashboard .dynamic-report-note strong{margin-right:4px;color:#286f6d}
.dynamic-report-dashboard .dynamic-report-workspace{min-width:0;overflow:hidden;border:1px solid #e3eaec;border-radius:13px;background:#fff;box-shadow:0 6px 22px rgb(25 49 62 / 4%)}
.dynamic-report-dashboard .dynamic-report-workspace-heading{min-height:66px;display:flex;align-items:center;justify-content:space-between;gap:12px;padding:11px 17px;border-bottom:1px solid #e7edef}
.dynamic-report-dashboard .dynamic-report-workspace-heading h2{margin:3px 0 0;color:#1b3948;font-size:13px;font-weight:650}
.dynamic-report-dashboard .dynamic-report-workspace-heading p{margin:4px 0 0;color:#81939a;font-size:8px;line-height:1.5}
.dynamic-report-dashboard .dynamic-report-availability{display:inline-flex;align-items:center;justify-content:center;padding:6px 9px;border:1px solid #e4eded;border-radius:999px;color:#567078;background:#f7fbfa;font-size:9px;font-weight:650;white-space:nowrap}
.dynamic-report-dashboard .dynamic-report-availability.is-local{border-color:#d8ece4;color:#38745c;background:#f0f8f4}
.dynamic-report-dashboard .dynamic-report-availability.is-catalog-only{border-color:#f0e2c5;color:#92713b;background:#fff9ed}
.dynamic-report-dashboard .preset-report-toolbar{display:flex;align-items:flex-end;gap:8px;width:100%;max-width:none;padding:14px 17px 12px;border-bottom:1px solid #edf2f3;background:#fbfdfd}
.dynamic-report-dashboard .preset-report-toolbar .field{width:min(480px,100%);margin:0 auto 0 0}
.dynamic-report-dashboard .preset-report-toolbar .field span,.dynamic-report-dashboard .preset-report-filters .field span{display:block;margin-bottom:4px;color:#627880;font-size:9px;font-weight:650}
.dynamic-report-dashboard .preset-report-toolbar .select{min-height:35px;height:35px;border-color:#dce6e8;border-radius:7px;color:#405a64;font-size:10px}
.dynamic-report-dashboard .preset-report-toolbar .select:focus,.dynamic-report-dashboard .preset-report-filters .input:focus,.dynamic-report-dashboard .preset-report-filters .select:focus{border-color:#69bdb6;box-shadow:0 0 0 3px rgb(76 190 183 / 11%)}
.dynamic-report-dashboard .preset-export{width:34px;min-width:34px;height:34px;border:1px solid #e0e8e9;border-radius:7px;color:#58727b;background:#fff;font-size:13px}
.dynamic-report-dashboard .preset-export:not(:disabled):hover{border-color:#b8d8d4;color:#176f70;background:#f3f9f8}
.dynamic-report-dashboard .preset-export:disabled{color:#abb8bb;background:#f8fafa;opacity:.75}
.dynamic-report-dashboard .preset-description{margin:15px 17px 12px;color:#536c75;font-size:10px;line-height:1.6}
.dynamic-report-dashboard .preset-report-filters{grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;padding:0 17px;margin:0 0 13px}
.dynamic-report-dashboard .preset-report-filters .field b{color:#c35a58}
.dynamic-report-dashboard .preset-report-filters .input,.dynamic-report-dashboard .preset-report-filters .select{width:100%;min-width:0;min-height:34px;border-color:#dce6e8;border-radius:7px;font-size:10px}
.dynamic-report-dashboard .preset-report-filters+.muted,.dynamic-report-dashboard .dynamic-report-workspace>p.muted{margin:10px 17px;color:#82939a;font-size:9px;line-height:1.6}
.dynamic-report-dashboard .dynamic-report-workspace>#preset-search{min-height:32px;margin:0 17px 14px;padding:0 12px;border:1px solid #16837e;border-radius:7px;color:#fff;background:#168b84;font-size:9px}
.dynamic-report-dashboard .dynamic-report-workspace>#preset-search:hover{border-color:#116f6b;background:#117872}
.dynamic-report-dashboard #preset-error{margin:0 17px 12px;font-size:10px}
.dynamic-report-dashboard #preset-result{min-width:0;padding:0 17px 16px}
.dynamic-report-dashboard #preset-result .management-table-wrap{max-height:min(58vh,620px);overflow:auto;border:1px solid #e7edef;border-radius:8px;scrollbar-color:#b7cccf #f3f7f7;scrollbar-width:thin}
.dynamic-report-dashboard #preset-result .management-table{width:100%;min-width:720px;border-collapse:separate;border-spacing:0;color:#344d59;font-size:9px}
.dynamic-report-dashboard #preset-result .management-table th{position:sticky;top:0;z-index:1;height:38px;padding:0 10px;border-bottom:1px solid #e7edef;color:#72868e;background:#f7fafa;font-size:8px;font-weight:700;letter-spacing:.035em;text-align:left;white-space:nowrap}
.dynamic-report-dashboard #preset-result .management-table td{height:40px;padding:7px 10px;border-bottom:1px solid #eef2f3;color:#526772;font-size:9px;line-height:1.45;vertical-align:middle}
.dynamic-report-dashboard #preset-result .management-table tbody tr:nth-child(even){background:#fbfcfc}
.dynamic-report-dashboard #preset-result .management-table tbody tr:hover{background:#eff8f7}
.dynamic-report-dashboard #preset-result .empty-state,.dynamic-report-dashboard .preset-report-empty{min-height:118px;color:#82939a;font-size:10px}
.dynamic-report-dashboard .report-pager{display:flex;align-items:center;justify-content:flex-end;flex-wrap:wrap;gap:7px;margin:0;padding:11px 0 0;color:#819198;font-size:9px}
.dynamic-report-dashboard .report-pager .btn{min-height:28px;padding:0 9px;border:1px solid #e0e8e9;border-radius:7px;color:#60777e;background:#fff;font-size:8px}
.dynamic-report-dashboard .report-pager .btn:hover:not(:disabled){border-color:#b8d8d4;color:#176f70;background:#f3f9f8}
.dynamic-report-dashboard .archive-local-note,.dynamic-report-dashboard .delayed-local-note{margin:0 17px 14px;padding:10px 12px;border:1px solid #e6edef;border-radius:8px;color:#697f86;background:#fbfdfd;font-size:9px;line-height:1.6}
.dynamic-report-dashboard .archive-local-note summary,.dynamic-report-dashboard .delayed-local-note summary{color:#526e75;font-weight:650;cursor:pointer}
.dynamic-report-custom .dynamic-report-workspace{display:grid;gap:0}
.dynamic-report-custom .dynamic-report-form-card,.dynamic-report-custom .dynamic-report-results{margin:0;padding:14px 17px;border:0;border-radius:0;box-shadow:none}
.dynamic-report-custom .dynamic-report-form-card{border-bottom:1px solid #edf2f3}
.dynamic-report-custom .dynamic-filters{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px}
.dynamic-report-custom .dynamic-filters .field{min-width:0;margin:0}
.dynamic-report-custom .dynamic-filters .field>span{display:block;margin-bottom:4px;color:#627880;font-size:9px;font-weight:650}
.dynamic-report-custom .dynamic-filters .input,.dynamic-report-custom .dynamic-filters .select{min-width:0;min-height:34px;border-color:#dce6e8;border-radius:7px;font-size:10px}
.dynamic-report-custom .column-options{display:flex;flex-wrap:wrap;gap:7px;margin:13px 0}
.dynamic-report-custom .column-options label{padding:6px 9px;border:1px solid #e3eaec;border-radius:7px;color:#60777e;background:#fbfdfd;font-size:9px}
.dynamic-report-custom .column-options label:has(input:checked){border-color:#c9e6e0;color:#256f69;background:#f1f9f7}
.dynamic-report-custom .editor-footer{display:flex;justify-content:flex-end}
.dynamic-report-custom .editor-footer .btn{min-height:32px;padding:0 12px;border:1px solid #16837e;border-radius:7px;color:#fff;background:#168b84;font-size:9px}
.dynamic-report-custom .dynamic-report-results .panel-heading{min-height:36px;margin:0 0 10px}
.dynamic-report-custom .dynamic-report-results .panel-heading h2{color:#1b3948;font-size:12px}
.dynamic-report-custom .dynamic-report-results .management-table-wrap{max-height:min(50vh,520px);overflow:auto;border:1px solid #e7edef;border-radius:8px}
.dynamic-report-custom .dynamic-report-results .report-pager{justify-content:space-between}
@media(max-width:1100px){.dynamic-report-dashboard .dynamic-report-metrics{grid-template-columns:repeat(2,minmax(0,1fr))}.dynamic-report-dashboard .preset-report-filters,.dynamic-report-custom .dynamic-filters{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:760px){.dynamic-report-dashboard .dynamic-report-heading{align-items:flex-start;flex-direction:column;gap:12px}.dynamic-report-dashboard .dynamic-report-back{align-self:flex-end}.dynamic-report-dashboard .dynamic-report-workspace-heading{padding-inline:13px}.dynamic-report-dashboard .preset-report-toolbar{padding-inline:13px}.dynamic-report-dashboard .preset-description{margin-inline:13px}.dynamic-report-dashboard .preset-report-filters{padding-inline:13px}.dynamic-report-dashboard .dynamic-report-workspace>#preset-search{margin-left:13px}.dynamic-report-dashboard #preset-result{padding-inline:13px}.dynamic-report-dashboard #preset-error{margin-inline:13px}.dynamic-report-dashboard .archive-local-note,.dynamic-report-dashboard .delayed-local-note{margin-inline:13px}}
@media(max-width:540px){.dynamic-report-dashboard .dynamic-report-metrics,.dynamic-report-dashboard .preset-report-filters,.dynamic-report-custom .dynamic-filters{grid-template-columns:1fr}.dynamic-report-dashboard .dynamic-report-workspace-heading{align-items:flex-start}.dynamic-report-dashboard .dynamic-report-availability{align-self:flex-start}.dynamic-report-dashboard .preset-report-toolbar{flex-wrap:wrap}.dynamic-report-dashboard .preset-report-toolbar .field{flex:1 0 100%}.dynamic-report-dashboard .preset-export{flex:1}.dynamic-report-dashboard .report-pager{justify-content:flex-start}.dynamic-report-custom .dynamic-report-results .report-pager{align-items:flex-start;flex-direction:column}}
