/* CSS della home di marcolussi.com, 21 novembre 2026. */


  :root {
    color-scheme: light dark;
    --ink: #25231f;
    --ink-soft: #68635b;
    --rule: #dcd6cb;
    --bg: #faf8f4;
    --warm: #f0ebe1;
    --amber: #ffc000;
    --amber-ink: #745b09;
    --serif: Georgia, "Iowan Old Style", "Palatino Linotype", Palatino, serif;
    --sans: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  }
  @media (prefers-color-scheme: dark) {
    :root {
      --ink: #ece7de;
      --ink-soft: #b1aaa0;
      --rule: #49443b;
      --bg: #191814;
      --warm: #26231d;
      --amber-ink: #f3cb5c;
    }
  }
  * { box-sizing: border-box; }
  html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
  body {
    margin: 0;
    background: var(--bg);
    color: var(--ink);
    font-family: var(--sans);
    font-size: 1.125rem;
    line-height: 1.7;
    -webkit-font-smoothing: antialiased;
  }
  ::selection { background: var(--amber); color: #25231f; }
  a { color: inherit; text-underline-offset: 0.22em; text-decoration-thickness: 1px; }
  a:hover { text-decoration-color: var(--amber-ink); }
  a:focus-visible, summary:focus-visible {
    outline: 2px solid var(--amber-ink);
    outline-offset: 6px;
    border-radius: 1px;
  }
  p { margin: 0 0 1.25em; }
  [id] { scroll-margin-top: 3rem; }
  .page {
    max-width: 74rem;
    margin: 0 auto;
    padding: 0 3rem;
    display: grid;
    grid-template-columns: 14rem minmax(0, 1fr);
    gap: 6rem;
    align-items: start;
  }
  .aside {
    position: sticky;
    top: 0;
    min-height: 100svh;
    padding: 5.5rem 0 3rem;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
  }
  .masthead { margin-bottom: 3rem; }
  .portrait {
    display: block;
    width: 4.25rem;
    height: 4.25rem;
    object-fit: cover;
    border-radius: 50%;
    margin-bottom: 1.25rem;
    background: var(--warm);
  }
  .masthead .name {
    font: 600 1rem/1.4 var(--sans);
    letter-spacing: -0.015em;
    margin: 0 0 0.6rem;
  }
  .masthead .role {
    font: 400 0.8125rem/1.6 var(--sans);
    color: var(--ink-soft);
    margin: 0;
    max-width: 12rem;
  }
  .masthead .tagline {
    font: 400 0.8125rem/1.65 var(--sans);
    color: var(--ink-soft);
    margin: 1rem 0 0;
  }
  .masthead .tagline + .tagline { margin-top: 0.65rem; }
  .nav { display: grid; gap: 0.15rem; width: 100%; }
  .nav a {
    position: relative;
    font: 400 0.8125rem/1.5 var(--sans);
    text-decoration: none;
    color: var(--ink-soft);
    padding: 0.55rem 0 0.55rem 1.2rem;
  }
  .nav a::before {
    content: "";
    position: absolute;
    left: 0;
    top: calc(50% - 2px);
    width: 4px;
    height: 4px;
    border-radius: 50%;
    background: var(--rule);
    transition: background 150ms, transform 150ms;
  }
  .nav a:hover, .nav a[aria-current] { color: var(--ink); }
  .nav a[aria-current]::before { background: var(--amber); transform: scale(1.5); }
  .story {
    min-width: 0;
    max-width: 40rem;
    padding: 5.5rem 0 3rem;
  }
  .intro { padding-bottom: 1rem; }
  .intro::before {
    content: "";
    display: block;
    width: 2.75rem;
    height: 3px;
    background: var(--amber);
    margin-bottom: 1.65rem;
  }
  .lead {
    font-family: var(--serif);
    font-weight: 400;
    font-size: clamp(2.75rem, 4.1vw, 3.75rem);
    line-height: 1.09;
    letter-spacing: -0.045em;
    margin: 0 0 1.5rem;
    max-width: 18ch;
    text-wrap: balance;
  }
  .lead-2 {
    font-size: clamp(1.45rem, 2vw, 1.8rem);
    line-height: 1.4;
    letter-spacing: -0.02em;
    margin: 0 0 2rem;
    max-width: 26ch;
  }
  .intro > p:not(.lead-2) { color: var(--ink-soft); }
  h2 {
    font: 400 2.15rem/1.2 var(--serif);
    letter-spacing: -0.035em;
    margin: 4rem 0 1.75rem;
    text-wrap: balance;
  }
  .strengths { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 2rem; margin: 0 0 3rem; }
  .strength { border-top: 1px solid var(--rule); padding-top: 1rem; }
  .strength h3 { font: 600 1rem/1.45 var(--sans); margin: 0 0 0.65rem; }
  .strength p { font-size: 1rem; line-height: 1.65; color: var(--ink-soft); margin: 0; }
  .work-group { margin: 0 0 3rem; }
  .work-topic {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1.6fr);
    gap: 2rem;
    padding: 1.65rem 0;
    border-top: 2px solid var(--ink);
  }
  .work-topic h3 {
    margin: 0;
    font: 400 1.85rem/1.2 var(--serif);
    letter-spacing: -0.025em;
    text-wrap: balance;
  }
  .work-topic p { margin: 0; font-size: 1.0625rem; line-height: 1.65; color: var(--ink-soft); }
  .work-note { margin: 1.5rem 0 3rem; font-size: 1rem; color: var(--ink-soft); }
  .cases { margin: 0; padding-left: 1.25rem; border-left: 1px solid var(--rule); }
  .case + .case { border-top: 1px solid var(--rule); }
  .case h4 { margin: 0; font: 500 1rem/1.45 var(--sans); }
  .case-sector {
    display: block;
    font: 400 0.75rem/1.5 var(--sans);
    color: var(--ink-soft);
    margin-bottom: 0.2rem;
  }
  .case-title { display: block; }
  .case-deck { color: var(--ink-soft); }
  .case-details { margin: 0; }
  .case-details summary {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1rem;
    min-height: 2.75rem;
    padding: 0.85rem 0;
    cursor: pointer;
    list-style: none;
    font: 500 0.75rem/1.4 var(--sans);
    color: var(--ink);
  }
  .case-details summary::-webkit-details-marker { display: none; }
  .case-details summary::after {
    content: "+";
    display: grid;
    place-items: center;
    width: 1.4rem;
    height: 1.4rem;
    border: 1px solid var(--rule);
    border-radius: 50%;
    font: 400 1.1rem/1 var(--sans);
    transition: background 150ms, border-color 150ms;
    flex-shrink: 0;
  }
  .case-details summary:hover::after { background: var(--amber); border-color: var(--amber); color: #25231f; }
  .case-details[open] summary::after { content: "−"; }
  .case-details .label-open { display: none; }
  .case-details[open] .label-open { display: inline; }
  .case-details[open] .label-closed { display: none; }
  .case-body {
    padding: 1.25rem 0 0.25rem;
    margin-top: 0.5rem;
    border-top: 1px solid var(--rule);
    font-size: 1rem;
    line-height: 1.75;
  }
  .case-body p { margin: 0 0 1rem; }
  .case-body p:last-child { margin-bottom: 0; }
  .case blockquote {
    font-style: italic;
    margin: 1.5rem 0;
    padding-left: 1rem;
    border-left: 2px solid var(--amber);
  }
  .case .more { font: 500 0.75rem/1.5 var(--sans); }
  .highlight {
    background: var(--warm);
    border-left: 3px solid var(--amber);
    margin: 2.5rem 0 4rem;
    padding: 1.5rem 1.75rem;
  }
  .highlight h2 {
    font: 600 0.6875rem/1.5 var(--sans);
    letter-spacing: 0.08em;
    text-transform: uppercase;
    margin: 0 0 0.75rem;
  }
  .highlight p { margin: 0; font-size: 1.0625rem; }
  .highlight p + p { margin-top: 0.75rem; color: var(--ink-soft); font-size: 1rem; }
  .rule { border: 0; border-top: 1px solid var(--rule); margin: 0 0 3.5rem; }
  #chi-sono h2 { margin-top: 0; }
  .contact { background: var(--warm); padding: 2.25rem; margin: 3.5rem 0 0; }
  .contact h2 { font-size: 2rem; margin: 0 0 1.25rem; max-width: 20ch; }
  .contact p { font-size: 1rem; }
  .contact .channels {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem 1.35rem;
    align-items: center;
    margin: 1.75rem 0 0;
    font: 500 0.75rem/1.5 var(--sans);
  }
  .channels a { padding: 0.65rem 0; }
  .channels .contact-primary {
    display: inline-flex;
    align-items: center;
    gap: 1rem;
    background: var(--ink);
    color: var(--bg);
    padding: 0.8rem 1rem;
    text-decoration: none;
  }
  .contact-primary::after { content: "↗"; font-size: 1rem; }
  .channels .contact-primary:hover { background: var(--amber); color: #25231f; }
  .foot { font: 400 0.6875rem/1.7 var(--sans); color: var(--ink-soft); margin: 2rem 0 0; }
  .foot p { margin: 0; }
  @media (max-width: 67.999rem) {
    .page { display: block; max-width: 46rem; padding: 0 2.5rem; }
    .aside { position: static; min-height: 0; padding: 2.25rem 0 1.5rem; border-bottom: 1px solid var(--rule); }
    .masthead { display: flex; align-items: center; gap: 1rem; margin: 0 0 1.5rem; }
    .portrait { width: 3.5rem; height: 3.5rem; margin: 0; }
    .masthead .name { margin: 0 0 0.15rem; }
    .masthead .role { max-width: none; font-size: 0.75rem; }
    .masthead .tagline { display: none; }
    .nav { display: flex; flex-wrap: wrap; gap: 0.25rem 1.3rem; }
    .nav a { display: flex; align-items: center; min-height: 2.75rem; font-size: 0.75rem; padding: 0.5rem 0; }
    .nav a::before { display: none; }
    .nav a[aria-current] { text-decoration: underline; text-decoration-color: var(--amber-ink); text-underline-offset: 0.4em; }
    .story { padding-top: 3rem; max-width: none; }
    .lead { font-size: 3.4rem; }
    .lead-2 { font-size: 1.7rem; }
  }
  @media (max-width: 35rem) {
    body { font-size: 1.0625rem; }
    .page { padding: 0 1.4rem; }
    .aside { min-height: 100svh; display: flex; flex-direction: column; justify-content: center; padding: 2.5rem 0; }
    .masthead { flex-direction: column; align-items: flex-start; gap: 1rem; margin-bottom: 2.25rem; width: 100%; }
    .portrait { width: 4rem; height: 4rem; }
    .masthead .name { font-size: 1.125rem; }
    .masthead .role { font-size: 0.875rem; line-height: 1.6; max-width: 20rem; }
    .nav { flex-direction: column; align-items: flex-start; gap: 0.35rem; margin: 0; width: 100%; }
    .nav a { font-size: 1rem; line-height: 1.4; }
    .story { padding-top: 2.5rem; }
    .lead { font-size: clamp(2.5rem, 10.8vw, 3.4rem); }
    .lead-2 { font-size: 1.45rem; margin-bottom: 1.5rem; }
    h2 { font-size: 1.95rem; margin-top: 3rem; }
    .work-topic { grid-template-columns: minmax(0, 1fr); gap: 0.65rem; padding: 1.4rem 0; }
    .work-topic h3 { font-size: 1.65rem; }
    .work-topic p { font-size: 1rem; }
    .strengths { grid-template-columns: minmax(0, 1fr); gap: 1.4rem; }
    .cases { padding-left: 0.85rem; }
    .case-deck { font-size: 1rem; }
    .case-body { font-size: 1rem; }
    .highlight { padding: 1.25rem; margin-bottom: 3rem; }
    .contact { padding: 1.5rem; margin-top: 3rem; }
    .contact h2 { font-size: 1.8rem; }
    .contact .channels { gap: 0.5rem 1rem; }
  }
  @media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    *, *::before, *::after { transition: none !important; }
  }
  .sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }
  @media print {
    .page { display: block; padding: 0; }
    .aside { position: static; min-height: 0; padding: 0; }
    .nav, .case-details summary, .channels { display: none; }
    .masthead .tagline { display: none; }
    .story { padding-top: 1rem; }
    .case { break-inside: avoid; }
  }

  /* V3: il ragionamento e il lavoro dei casi restano visibili. */
  .lead { font-size: clamp(2.25rem, 3.2vw, 3rem); max-width: 23ch; margin-bottom: 1.1rem; }
  .lead-continuation { display: block; margin-top: .55em; }
  .lead-2 { font-size: clamp(1.5rem, 2vw, 1.65rem); max-width: none; }
  .case { padding: 1.25rem 0 1.5rem; }
  .case-title { font-weight: 600; }
  .case-facts { margin: 1rem 0 0; }
  .case-facts > div { margin-bottom: .8rem; }
  .case-facts dt { font: 600 .75rem/1.5 var(--sans); color: var(--ink); margin: 0 0 .15rem; }
  .case-facts dd { font-size: 1rem; line-height: 1.6; color: var(--ink-soft); margin: 0; }
  .case > p { font-size: .9rem; margin: 1rem 0 0; }

  .case { padding: .25rem 0; }
  .case-body h5 { font: 600 .8125rem/1.5 var(--sans); margin: 1.35rem 0 .5rem; }
  .case-body h5:first-child { margin-top: 0; }
  .case-results { padding-left: 1.2rem; margin: 0 0 1.25rem; }
  .case-results li { margin: 0 0 .6rem; }
  .case-results strong { font-weight: 600; }
  .role-audience { display: block; margin-top: 0.85rem; }

  /* Revisione grafica: ritmo editoriale e gerarchie. */
  .masthead .name { font-size: 1.125rem; }
  .masthead .role { font-size: .875rem; line-height: 1.65; }
  .nav a { font-size: .875rem; padding-left: 0; }
  .nav a::before { display: none; }
  .nav a[aria-current] { text-decoration: underline; text-decoration-color: var(--amber); text-underline-offset: .45em; }
  .intro { padding-bottom: 2.75rem; }
  .intro::before { width: 3rem; margin-bottom: 2rem; }
  .lead { line-height: 1.16; letter-spacing: -.035em; text-wrap: pretty; }
  .lead-continuation { margin-top: .65em; }
  .lead-2 { font: 400 1.125rem/1.7 var(--sans); color: var(--ink-soft); max-width: 36ch; margin-top: 1.75rem; margin-bottom: 0; }
  h2 { font-size: 2.25rem; margin-bottom: 1.5rem; }
  section[aria-labelledby="su-cosa"] > p { color: var(--ink-soft); }
  .work-group { margin-bottom: 2.5rem; }
  .work-topic { display: block; border-top: 1px solid var(--rule); padding: 1.75rem 0 1.25rem; }
  .work-topic h3 { font-size: 1.75rem; margin-bottom: .55rem; }
  .work-topic p { font: 400 1rem/1.6 var(--sans); }
  .cases { padding-left: 0; border-left: 0; }
  .case-details summary { padding: 1.1rem 0; gap: 1.5rem; }
  .case-sector { font-size: .8125rem; margin-bottom: .4rem; }
  .case-title { font-weight: 500; line-height: 1.55; }
  .case-details summary::after { width: 1.75rem; height: 1.75rem; }
  .case-body { padding: 1.5rem 1.5rem .5rem; margin: 0 0 1rem; background: var(--warm); border: 0; }
  .case-body h5 { font-size: .875rem; }
  .case-body p { color: var(--ink-soft); }
  .case-results { border-top: 1px solid var(--rule); padding-top: 1rem; }
  #chi-sono { padding-top: .5rem; }
  #chi-sono > p { font-size: 1.0625rem; }
  .contact { border-top: 3px solid var(--amber); padding: 2rem; }
  .contact .channels { font-size: .875rem; }
  .contact-primary::after { content: none; }
  @media (min-width: 68rem) {
    .page { max-width: 80rem; grid-template-columns: 16rem minmax(0, 1fr); gap: 6rem; }
    .story { max-width: 42rem; }
    .aside, .story { padding-top: 6rem; }
    .lead { font-size: 3.1rem; }
  }
  @media (max-width: 35rem) {
    .intro { padding-bottom: 1.75rem; }
    .lead { font-size: clamp(2rem, 8.3vw, 2.5rem); }
    .lead-2 { font-size: 1.0625rem; margin-top: 1.5rem; }
    h2 { font-size: 1.9rem; }
    .work-topic h3 { font-size: 1.6rem; }
    .case-body { padding: 1.25rem 1rem .25rem; }
    .contact { padding: 1.5rem; }
    .nav a { font-size: 1rem; }
  }
  /* I progetti approfondiscono gli ambiti di intervento. */
  .cases { margin-left: 1.25rem; padding-left: 1.25rem; border-left: 1px solid var(--rule); }
  .cases-label { margin: 0 0 .2rem; font: 500 .8125rem/1.5 var(--sans); color: var(--ink-soft); }
  .case-details summary { padding-top: .7rem; padding-bottom: .9rem; }
  .work-topic { padding-bottom: 1rem; }
  @media (max-width: 35rem) {
    .cases { margin-left: .35rem; padding-left: 1rem; }
  }
  /* Gerarchia senza cornici: ambiti e progetti hanno pesi distinti. */
  .work-group { margin-bottom: 3.5rem; }
  .work-topic { border: 0; padding: 0 0 .85rem; }
  .work-topic h3 { font-size: 1.9rem; }
  .cases { margin: 0; padding: 0; border: 0; }
  .case + .case { border: 0; }
  .case-details summary { padding: .85rem 0; }
  .case-sector { font-size: .8125rem; margin-bottom: .2rem; }
  .case-title { font-size: .9375rem; color: var(--ink-soft); font-weight: 400; }
  .case-details summary::after { border: 0; background: var(--warm); width: 1.75rem; height: 1.75rem; }
  .case-details summary:hover .case-title, .case-details[open] .case-title { color: var(--ink); }
  @media (max-width: 35rem) {
    .work-topic h3 { font-size: 1.75rem; }
    .work-group { margin-bottom: 3rem; }
  }
  /* Tre ambiti distinti; i casi sono approfondimenti riconoscibili. */
  .work-group { border-top: 1px solid var(--rule); padding-top: 1.6rem; margin-bottom: 2.5rem; }
  .work-topic { padding-bottom: 1.25rem; }
  .cases { background: var(--warm); padding: .3rem 1.25rem; border-radius: 4px; }
  .case-sector { color: var(--ink-soft); }
  .case-title { color: var(--ink); font-weight: 500; }
  .case-details summary::after { background: var(--bg); }
  .case-body { padding: 1rem 0 .5rem; }
  .case + .case { border-top: 1px solid var(--rule); }
  @media (max-width: 35rem) { .cases { padding: .25rem 1rem; } }
  /* V5: struttura V3, nuova apertura. */
  .intro .lead { max-width:none; }
  .intro .lead-2 { max-width:43ch; }
  .intro .lead-2 + .lead-2 { margin-top:1.5rem; }
  /* Titolo e sintesi visibili; il racconto completo resta espandibile. */
  .case { padding-top:.8rem; }
  .case > .case-deck { margin:.35rem 0 0; font-size:.875rem; line-height:1.5; }
  .case-details summary { justify-content:flex-start; gap:.5rem; padding:.4rem 0 .65rem; min-height:0; font-size:.75rem; }
  .case-details summary::after { width:1.25rem; height:1.25rem; font-size:1rem; }

[hidden] { display: none !important; }
.candidatura { display:inline-block; padding:.65rem 1rem; background:var(--amber); color:#25231f; font:600 1rem/1.5 var(--sans); text-decoration:none; border-radius:3px; }
.status, .landing-footer { font:400 .8125rem/1.6 var(--sans); color:var(--ink-soft); }
.status { margin-top:.7rem; }
.landing-footer { border-top:1px solid var(--rule); margin-top:2.5rem; padding-top:1rem; display:flex; flex-wrap:wrap; gap:1rem; }
.landing-footer button { font:inherit; color:inherit; border:0; padding:0; background:none; text-decoration:underline; cursor:pointer; }
.cookie-banner { position:fixed; inset:auto 1rem 1rem; max-width:42rem; margin:auto; padding:1.25rem; background:var(--bg); border:1px solid var(--rule); max-height:85vh; overflow:auto; }
.cookie-options { display:grid; gap:.4rem; }
.cookie-actions { margin-top:1rem; display:flex; flex-wrap:wrap; gap:.6rem; }
.cookie-actions button { padding:.5rem; }
body > main:not(.page) { max-width:44rem; margin:auto; padding:2rem; }
@media(max-width:55rem) {
  .aside { min-height:0; padding:1.4rem 0; }
  .masthead { flex-direction:row; align-items:center; margin:0; }
  .story { padding-top:2rem; }
}
.candidature { display:flex; flex-wrap:wrap; align-items:center; gap:.75rem 1.25rem; }

.report-open,
.report-close {
  min-height: 44px;
  padding: .55rem .9rem;
  border: 1px solid var(--rule);
  border-radius: .25rem;
  background: var(--warm);
  color: var(--ink);
  font: 600 .9rem/1.3 var(--sans);
  cursor: pointer;
}
.report-open span, .report-close span { margin-left: .4rem; }
.report-open:hover, .report-close:hover { border-color: var(--amber-ink); }
.report-open:focus-visible, .report-close:focus-visible {
  outline: 2px solid var(--amber-ink);
  outline-offset: 3px;
}
body:has(.report-example[open]) { overflow: hidden; }
.report-example {
  font-size: 1rem;
  inset: 0;
  width: 100%;
  height: 100%;
  height: 100dvh;
  max-width: none;
  max-height: none;
  margin: 0;
  padding: 0;
  border: 0;
  background: var(--bg);
  color: var(--ink);
  overflow: hidden;
}
.report-frame {
  display: flex;
  flex-direction: column;
  height: 100%;
}
.report-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: .5rem;
  padding: .25rem max(.75rem, env(safe-area-inset-right)) .25rem max(.75rem, env(safe-area-inset-left));
}
.report-bar h2 { margin: 0; font: 600 1rem/1.3 var(--sans); }
.report-close { white-space: nowrap; }
.report-slides {
  --report-inset: clamp(.65rem, 2vw, 1.25rem);
  --report-gap: .75rem;
  --report-peek: clamp(1.4rem, 7vw, 5rem);
  box-sizing: border-box;
  display: grid;
  grid-auto-flow: column;
  grid-template-columns: repeat(3, calc(100% - var(--report-gap) - var(--report-peek))) var(--report-peek);
  grid-template-rows: minmax(0, 1fr);
  gap: var(--report-gap);
  flex: 1;
  min-height: 0;
  width: min(100%, 41rem);
  width: min(100%, calc(max(16rem, (100dvh - 7.5rem) * .5) + 2 * var(--report-inset) + var(--report-gap) + var(--report-peek)));
  margin-inline: auto;
  padding: var(--report-inset);
  overflow: auto hidden;
  scroll-padding-inline: var(--report-inset);
  scroll-snap-type: x mandatory;
  overscroll-behavior-inline: contain;
}
.report-slides::after { content: ""; }
.report-frame { background: var(--warm); }
.report-slide {
  position: relative;
  min-width: 0;
  overflow: hidden;
  scroll-snap-align: start;
}
.report-image {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: top center;
  user-select: none;
  border-radius: .45rem;
}
.report-transcript {
  position: absolute;
  top: 0;
  left: 0;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip-path: inset(50%);
}
.report-nav {
  display: flex;
  align-items: center;
  justify-content: center;
  padding-bottom: env(safe-area-inset-bottom);
}
.report-nav button, .report-collapse {
  min-width: 44px;
  min-height: 44px;
  padding: 0;
  border: 0;
  border-radius: .25rem;
  background: var(--bg);
  color: var(--ink);
  font: 600 1.25rem/1 var(--sans);
  cursor: pointer;
}
.report-nav button[aria-disabled="true"] { opacity: .35; cursor: default; }
.report-nav button:not([aria-disabled="true"]):active, .report-collapse:active,
.report-open:active, .report-close:active {
  background: var(--amber);
  color: #25231f;
}
.report-position {
  margin: 0 .5rem;
  min-width: 8rem;
  text-align: center;
  font: 600 .875rem/1.4 var(--sans);
}
.report-enlarge {
  display: block;
  width: 100%;
  height: 100%;
  padding: 0;
  border: 0;
  background: transparent;
  cursor: zoom-in;
}
.report-nav button:focus-visible, .report-collapse:focus-visible,
.report-slides:focus-visible, .report-enlarge:focus-visible {
  outline: 2px solid var(--amber-ink);
  outline-offset: -2px;
}
.report-collapse {
  position: absolute;
  z-index: 1;
  top: max(.25rem, env(safe-area-inset-top));
  right: max(.25rem, env(safe-area-inset-right));
  border: 1px solid var(--rule);
}
.report-expanded .report-bar { display: none; }
.report-expanded .report-slides {
  width: 100%;
  padding: 0;
  gap: 0;
  grid-template-columns: repeat(3, 100%);
  scroll-padding-inline: 0;
}
.report-expanded .report-slides::after { content: none; }
.report-expanded .report-enlarge { cursor: default; }
.report-expanded .report-image {
  height: 100%;
  object-position: center;
  border-radius: 0;
}
