/* Hosted report layer only. Original HTML, assets and print layouts are retained. */
.report-ui-page {
  --report-ui-height: 56px;
  --report-ui-header-height: 76px;
  --report-ui-navy: #091a40;
  --report-ui-red: #fe0942;
  --report-ui-line: #dfe4ed;
  --report-ui-muted: #596781;
}
.report-ui-v1 { --report-ui-header-height: 126px; }
.report-ui-icon {
  width: 16px;
  height: 16px;
  flex: none;
  display: block;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.7;
  stroke-linecap: round;
  stroke-linejoin: round;
}

@media screen {
  html.report-ui-page {
    scroll-padding-top: calc(var(--report-ui-height) + var(--report-ui-header-height) + 12px);
  }
  .report-ui-topbar {
    position: sticky;
    top: 0;
    z-index: 190;
    background: #fff;
    border-bottom: 1px solid var(--report-ui-line);
    color: var(--report-ui-navy);
    font: 600 12px/1.4 Manrope, system-ui, sans-serif;
  }
  .report-ui-topbar-inner {
    min-height: 55px;
    padding: 7px clamp(12px, 2vw, 28px);
    display: grid;
    grid-template-columns: auto auto 1fr auto;
    align-items: center;
    gap: 8px 18px;
  }
  .report-ui-home, .report-ui-versions, .report-ui-actions {
    display: flex;
    align-items: center;
    gap: 6px;
    min-width: 0;
    flex-wrap: wrap;
  }
  .report-ui-home { gap: 16px; }
  .report-ui-actions { justify-content: flex-end; }
  .report-ui-topbar a { color: inherit; text-decoration: none; }
  .report-ui-topbar :is(a, summary):focus-visible {
    outline: 2px solid var(--report-ui-red);
    outline-offset: 2px;
  }
  .report-ui-brand { display: inline-flex; flex: none; }
  .report-ui-brand img { display: block; width: 92px; height: auto; }
  .report-ui-overview, .report-ui-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    min-height: 34px;
    padding: 6px 8px;
    border-radius: 6px;
  }
  .report-ui-overview { color: var(--report-ui-muted) !important; }
  .report-ui-topbar a:hover { background: #f4f6fa; }
  .report-ui-versions {
    border-left: 1px solid var(--report-ui-line);
    padding-left: 16px;
    flex-wrap: nowrap;
  }
  .report-ui-versions > .report-ui-icon { color: var(--report-ui-muted); margin-right: 2px; }
  .report-ui-version {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 32px;
    min-width: 32px;
    padding: 5px 7px;
    border: 1px solid transparent;
    border-radius: 6px;
    font-size: 11px;
    font-weight: 750;
  }
  .report-ui-version[aria-current="page"] {
    color: var(--report-ui-red);
    background: #fff1f5;
    border-color: #f4bdcb;
  }
  .report-ui-workspace { color: var(--report-ui-navy); }
  .report-ui-missing { position: relative; color: var(--report-ui-muted); font-size: 10px; }
  .report-ui-missing summary { cursor: pointer; padding: 8px 2px; white-space: nowrap; }
  .report-ui-missing p {
    position: absolute;
    right: 0;
    top: calc(100% + 8px);
    width: min(240px, calc(100vw - 24px));
    margin: 0;
    padding: 12px;
    border: 1px solid var(--report-ui-line);
    border-radius: 8px;
    background: #fff;
    color: var(--report-ui-muted);
    box-shadow: 0 8px 22px #091a4012;
    font-size: 12px;
    line-height: 1.6;
    white-space: normal;
  }

  /* Both report layouts keep their own navigation underneath the shared bar. */
  .report-ui-v1 .header, :is(.report-ui-v2, .report-ui-v3) .topbar { top: var(--report-ui-height); }
  .report-ui-v1 .progress { top: var(--report-ui-height); }
  :is(.report-ui-v2, .report-ui-v3) .sidebar {
    top: var(--report-ui-height);
    bottom: 0;
    height: auto;
    scroll-padding-block: 16px;
  }
  .report-ui-page :is(main, .section, .tour-highlight, [tabindex], a, button, input, select, summary, textarea) {
    scroll-margin-top: 12px;
  }
  :is(.report-ui-v2, .report-ui-v3) .topbar { flex-wrap: wrap; }
  :is(.report-ui-v2, .report-ui-v3) .top-actions { flex-wrap: wrap; }
  .report-ui-page main { min-width: 0; }
  .report-ui-page :is(.table-wrap, .table-scroll) { max-width: 100%; }
  .report-ui-v1 .nav { scroll-padding-inline: 8px; }
  .report-ui-v1 .nav a { font-size: 12px; gap: 7px; padding-inline: 11px; }
  .report-ui-chapter-icon { width: 16px; height: 16px; color: #596781; }
  .report-ui-v1 .nav a:is(:hover, [aria-current="page"]) .report-ui-chapter-icon { color: var(--report-ui-red); }
  .report-ui-v1-note {
    padding: 7px max(5%, 16px);
    background: #f6f7fa;
    border-bottom: 1px solid var(--report-ui-line);
    color: var(--report-ui-muted);
    font: 500 11px/1.6 Manrope, system-ui, sans-serif;
  }
  .report-ui-v1-note summary { cursor: pointer; width: fit-content; }
  .report-ui-v1-note > div { max-width: 76ch; padding: 8px 0 4px; }
  .report-ui-v1-note p + p { margin-top: 6px; }
  .report-ui-v1-note a { color: var(--report-ui-navy) !important; }

  /* Small reading adjustments, preserving the original content and structure. */
  .report-ui-v1 main > .section { padding-block: clamp(42px, 5vw, 68px); }
  .report-ui-v1 :is(.hero, .subhero) { padding-block: clamp(32px, 4vw, 56px); background: #fff; }
  .report-ui-v1 .section-head { gap: 28px; margin-bottom: 28px; }
  .report-ui-v1 .section-head h2 { font-size: clamp(28px, 3.2vw, 42px); line-height: 1.18; }
  .report-ui-page main :is(p, td, th) { overflow-wrap: break-word; }
  .report-ui-page main :is(.caption, .source) { font-size: 12px; line-height: 1.65; }
  .report-ui-page main table { font-variant-numeric: tabular-nums; }
  .report-ui-page main :is(th, td) { vertical-align: top; }
  .report-ui-page main th { font-size: 11px; line-height: 1.5; }
  .report-ui-page main td { font-size: 13px; line-height: 1.7; }
  :is(.report-ui-v2, .report-ui-v3) .nav a { line-height: 1.55; }
  :is(.report-ui-v2, .report-ui-v3) .nav .icon { flex: none; }
}

@media screen and (max-width: 760px) {
  .report-ui-page { --report-ui-height: 96px; }
  .report-ui-v1 { --report-ui-header-height: 120px; }
  .report-ui-topbar-inner { grid-template-columns: minmax(0, 1fr) auto; gap: 2px 10px; }
  .report-ui-home { gap: 8px; }
  .report-ui-brand img { width: 76px; }
  .report-ui-versions { padding-left: 0; border: 0; gap: 3px; justify-self: end; }
  .report-ui-actions { justify-content: flex-start; gap: 2px; }
  .report-ui-link, .report-ui-overview { padding: 5px 6px; font-size: 11px; }
  .report-ui-missing { justify-self: end; }
}
@media screen and (max-width: 480px) {
  .report-ui-actions .report-ui-link:first-child span { display: none; }
  .report-ui-v1 .header-main { height: auto; min-height: 70px; flex-wrap: wrap; padding-block: 10px; }
}
@media print {
  .report-ui-topbar, .report-ui-v1-note { display: none !important; }
  html.report-ui-page { scroll-padding-top: 0; }
}

/* Scope the shared controls against V1's global details/summary rules. */
@media screen {
  .report-ui-topbar .report-ui-missing { padding:0; margin:0; border:0; }
  .report-ui-topbar .report-ui-missing summary { font:inherit; min-height:0; padding:8px 2px; margin:0; border:0; }
  .report-ui-topbar .report-ui-missing summary::after { display:none; }
  .report-ui-v1-note summary { font:inherit; padding:0; min-height:0; }
  .report-ui-v1-note summary::after { position:static; margin-left:9px; font-size:14px; }
}

/* V3 archive omissions are readable notes, never fake previews or download controls. */
.report-ui-unavailable {
  display: inline-flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 5px 8px;
  padding: 8px 10px;
  max-width: 100%;
  border: 1px solid #dfe4ed;
  border-radius: 6px;
  background: #f6f7fa;
  color: #596781;
  font-size: 12px;
  line-height: 1.5;
  cursor: default;
}
.report-ui-unavailable-note { flex-basis: 100%; font-size: 10px; font-weight: 400; }
.top-actions .report-ui-unavailable { max-width: 210px; padding: 4px 8px; font-size: 11px; }
.report-ui-preview { display: block; }
.report-ui-image-placeholder {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 8px;
  min-height: 130px;
  padding: 22px;
  border: 1px dashed #cbd2df;
  border-radius: 8px;
  background: #f6f7fa;
  color: #596781;
  font: 400 13px/1.6 Manrope, system-ui, sans-serif;
  overflow-wrap: anywhere;
}
.report-ui-image-placeholder small { font-size: 11px; }

/* The global archive note remains available when the small report toolbar is full. */
@media(max-width:600px){.report-ui-v3 .topbar>.top-actions .report-ui-unavailable{display:none}}
