/* 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: var(--report-ui-anchor-offset, 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, .report-ui-v4) .topbar { top: var(--report-ui-height); }
  .report-ui-v1 .progress { top: var(--report-ui-height); }
  :is(.report-ui-v2, .report-ui-v3, .report-ui-v4) .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: var(--report-ui-anchor-offset, calc(var(--report-ui-height) + var(--report-ui-header-height) + 12px));
  }
  :is(.report-ui-v2, .report-ui-v3, .report-ui-v4) .topbar { flex-wrap: wrap; }
  :is(.report-ui-v2, .report-ui-v3, .report-ui-v4) .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; display:flex; flex-wrap:wrap; overflow:visible; white-space:normal; }
  .report-ui-v1 .nav a { white-space:normal; }
  .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, .report-ui-v4) .nav a { line-height: 1.55; }
  :is(.report-ui-v2, .report-ui-v3, .report-ui-v4) .nav .icon { flex: none; }
  /* V4 has its own aside.sidebar / header.topbar / main.main shell. Keep
     these repairs scoped so the source stylesheet remains authoritative. */
  .report-ui-v4 .main { min-width: 0; }
  .report-ui-v4 .main :is(.grid, .card, .table-wrap, .source) { min-width: 0; }
  .report-ui-v4 .main :is(p, td, th) { overflow-wrap: break-word; }
}

@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; }
  .report-ui-v4 .sidebar { display: none !important; }
  .report-ui-v4 .main { margin: 0 !important; padding: 0 !important; }
}

/* 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; }

/* One shared chapter reader: one selected frame at a time, with all approved
   routes available through the native select. */
.report-ui-demo-reader {
  margin: clamp(24px, 4vw, 48px) auto;
  padding: clamp(18px, 3vw, 28px);
  max-width: 1180px;
  border: 1px solid var(--report-ui-line);
  border-radius: 12px;
  background: #fff;
  color: var(--report-ui-navy);
  box-shadow: 0 8px 24px #091a400d;
}
.report-ui-demo-reader-head { display:flex; gap:20px; align-items:flex-end; justify-content:space-between; }
.report-ui-demo-reader-head h2 { margin:4px 0 6px; font-size:clamp(20px,2.4vw,28px); }
.report-ui-demo-kicker { margin:0; color:var(--report-ui-red); font-size:11px; font-weight:800; letter-spacing:.08em; text-transform:uppercase; }
.report-ui-demo-reader-note { margin:0; color:var(--report-ui-muted); font-size:13px; }
.report-ui-demo-select-label { display:grid; gap:6px; min-width:min(100%,320px); color:var(--report-ui-muted); font-size:12px; font-weight:700; }
.report-ui-demo-select-label select { min-height:38px; padding:7px 10px; border:1px solid var(--report-ui-line); border-radius:6px; background:#fff; color:var(--report-ui-navy); font:inherit; }
.report-ui-demo-reader-actions { display:flex; align-items:center; gap:14px; margin:16px 0 12px; font-size:12px; }
.report-ui-demo-reader-actions a { padding:8px 12px; border-radius:6px; background:var(--report-ui-navy); color:#fff; text-decoration:none; }
.report-ui-demo-reader-actions span { color:var(--report-ui-muted); }
.report-ui-demo-reader-frame { display:block; width:100%; height:min(72vh,720px); min-height:360px; border:1px solid var(--report-ui-line); border-radius:8px; background:#f6f7fa; }
@media screen and (max-width:700px) {
  .report-ui-demo-reader-head { display:block; }
  .report-ui-demo-select-label { margin-top:16px; }
  .report-ui-demo-reader-frame { height:600px; min-height:300px; }
}
@media print {
  .report-ui-demo-reader { break-inside:avoid; box-shadow:none; }
  .report-ui-demo-reader-frame { height:420px; }
}

/* 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}}

/* LUNIS_CANONICAL_UI_20260922 */
:root{--lunis-red:#fe0942;--lunis-navy:#091a40;--lunis-line:#dfe4ed;--lunis-control-radius:10px}
:is(.btn,.button,.iconbutton,.search-trigger,.visual-btn,.reader-btn,.report-option,.filters button,.view-toggle button){
  background-repeat:no-repeat;
  background-image:linear-gradient(var(--lunis-red),var(--lunis-red));
  background-size:calc(100% - 20px) 2px;
  background-position:center calc(100% - 4px);
}
:is(.button.primary,.btn.accent,.button.red){background-image:linear-gradient(#b80734,#b80734)}
:is(.nav-link.active,.nav-link[aria-current="page"],.nav a[aria-current="page"]){box-shadow:inset 3px 0 0 var(--lunis-red)}
:is(.btn,.button,.iconbutton,.search-trigger,.visual-btn,.reader-btn,.report-option,.filters button,.view-toggle button):focus-visible{outline:3px solid #fe094266;outline-offset:3px}
@media print{:is(.btn,.button,.iconbutton,.search-trigger,.visual-btn,.reader-btn,.report-option,.filters button,.view-toggle button){background-image:none!important}}
/* Readability repairs for the hosted layer. The release HTML and its own CSS stay untouched. */
@media screen {
  /* A button inside a dark card must carry its own foreground color; otherwise it
     inherits the card's white text color and disappears on its white surface. */
  .report-ui-v1 :is(.section.dark, .card.dark, .card.navy, .decision-box, .roi-result) .btn:not(.primary),
  .report-ui-v2 :is(.card.dark, .dark-card, .section.dark, .card.navy) .btn:not(.primary),
  .report-ui-v3 :is(.dark-card, .card.dark, .section.dark, .card.navy) .btn:not(.primary),
  .report-ui-page .btn.white {
    background: #fff;
    border-color: #fff;
    color: var(--report-ui-navy) !important;
    text-shadow: none;
  }
  .report-ui-v1 :is(.section.dark, .card.dark, .card.navy, .decision-box, .roi-result) .btn:not(.primary):hover,
  .report-ui-v2 :is(.card.dark, .dark-card, .section.dark, .card.navy) .btn:not(.primary):hover,
  .report-ui-v3 :is(.dark-card, .card.dark, .section.dark, .card.navy) .btn:not(.primary):hover,
  .report-ui-page .btn.white:hover {
    background: #f4f6fa;
    border-color: #f4f6fa;
    color: var(--report-ui-navy) !important;
  }

  /* Brand phrase cards contain a disclaimer followed by a copy action. Make the
     disclaimer and action separate readable blocks at every report version. */
  :is(.report-ui-v1, .report-ui-v2, .report-ui-v3) .phrase > small {
    display: block;
    line-height: 1.55;
  }
  :is(.report-ui-v1, .report-ui-v2, .report-ui-v3) .phrase .btn {
    display: flex;
    width: fit-content;
    max-width: 100%;
    margin-top: 16px;
    align-self: flex-start;
  }
  :is(.report-ui-v1, .report-ui-v2, .report-ui-v3) .brand-phrases {
    align-items: start;
  }

  /* Keep selected tabs and section links legible when their active state is dark. */
  :is(.report-ui-v1, .report-ui-v2, .report-ui-v3) :is(.demo-tabs, .tabs, .section-index nav) :is(.active, [aria-selected="true"]) {
    background: var(--report-ui-navy) !important;
    border-color: var(--report-ui-navy) !important;
    color: #fff !important;
  }
  :is(.report-ui-v1, .report-ui-v2, .report-ui-v3) :is(.demo-tabs, .tabs, .section-index nav) :is(.active, [aria-selected="true"]) .icon {
    color: #fff;
  }

  /* The original V1 header sits below the hosted topbar. Hash navigation and
     tour targets need the combined height so headings remain visible. */
  .report-ui-v1 :is(main, .section, [id]) {
    scroll-margin-top: var(--report-ui-anchor-offset, calc(var(--report-ui-height) + var(--report-ui-header-height) + 12px));
  }
}

@media screen and (max-width: 650px) {
  :is(.report-ui-v1, .report-ui-v2, .report-ui-v3) .phrase .btn {
    width: auto;
  }
  :is(.report-ui-v1, .report-ui-v2, .report-ui-v3) :is(.button-row, .demo-tabs, .section-index nav) {
    row-gap: 9px;
  }
  .report-ui-v3 .brand-phrases {
    grid-template-columns: 1fr;
    gap: 14px;
  }
  .report-ui-v3 .phrase {
    padding: 18px;
  }
  :is(.report-ui-v1, .report-ui-v2, .report-ui-v3) :is(.callout, .dark-card, .card.dark) .btn {
    margin-top: 16px;
  }
}

/* Browser-confirmed: phrase cards also inherit white text, independently of .card.dark. */
@media screen {
  .report-ui-page .phrase .btn {
    color:var(--report-ui-navy)!important;
    background:#fff;
    border-color:#dce2eb;
  }
  .report-ui-page .phrase .btn :is(span,svg) { color:inherit; }
}

/* Shared current figures keep the same reading path across historical versions. */
.report-current-facts{max-width:1100px;margin:24px auto 40px;padding:clamp(22px,4vw,48px);border:1px solid #dce2eb;border-radius:16px;background:#fff;color:#091a40}.report-current-facts h1{font:600 clamp(32px,5vw,58px)/1.08 Manrope,system-ui,sans-serif;letter-spacing:-.055em;max-width:20ch}.report-current-facts p{color:#53617b;line-height:1.75;max-width:85ch}.report-current-kicker{font-size:11px!important;text-transform:uppercase;letter-spacing:.1em;color:#aa123b!important;font-weight:700}.report-current-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px;margin:28px 0}.report-current-grid>div{display:grid;gap:8px;background:#f4f6fa;border:1px solid #dce2eb;border-radius:10px;padding:20px}.report-current-grid strong{font-size:30px}.report-current-grid span{font-size:12px;line-height:1.5;color:#53617b}.report-current-total{font-size:20px!important}.report-current-facts a{color:#a80a34;text-decoration:underline}.report-current-history{max-width:1100px;margin:24px auto;border-top:1px solid #dce2eb;padding-top:20px}.report-current-history>summary{font-weight:700;color:#68748b;cursor:pointer;line-height:1.7}@media(max-width:600px){.report-current-grid{grid-template-columns:1fr}.report-current-grid>div{padding:16px}.report-current-grid strong{font-size:27px}.report-current-history>summary{padding:12px 20px}}
