/* Supporting report context only. No form, calculation or print selectors. */
@media screen {
  .chaptered-screen > .report-context-box { margin:12px 0 16px; }
  .chaptered-screen > .report-context-box > summary {
    display:flex; align-items:center; justify-content:space-between; gap:16px;
    list-style:none; min-height:48px; padding:12px 0; border-radius:6px;
  }
  .chaptered-screen > .report-context-box > summary::marker,
  .chaptered-screen .report-context-grid > details > summary::marker { content:''; }
  .chaptered-screen > .report-context-box > summary::-webkit-details-marker,
  .chaptered-screen .report-context-grid > details > summary::-webkit-details-marker { display:none; }
  .chaptered-screen > .report-context-box > summary::after {
    content:''; flex:0 0 7px; width:7px; height:7px; margin-right:3px;
    border-right:1.5px solid currentColor; border-bottom:1.5px solid currentColor;
    transform:rotate(45deg); transform-origin:center;
  }
  .chaptered-screen > .report-context-box[open] > summary::after { transform:rotate(225deg); }
  .chaptered-screen .report-context-grid > details > summary {
    display:flex; align-items:center; justify-content:space-between; gap:12px;
    list-style:none; border-radius:4px;
  }
  .chaptered-screen .report-context-grid > details > summary::after {
    content:'+'; flex:0 0 18px; text-align:center; font:400 20px/1 Arial,sans-serif;
    color:var(--chapter-muted,#60665d);
  }
  .chaptered-screen .report-context-grid > details[open] > summary::after { content:'−'; }
  .chaptered-screen .report-context-box summary:focus-visible {
    outline:2px solid var(--chapter-accent,#a54130); outline-offset:3px;
  }
  .chaptered-screen .report-context-box summary:focus:not(:focus-visible) { outline:none; }
  .chaptered-screen .report-context-guides {
    grid-column:1 / -1; border-top:1px solid var(--chapter-rule,#ded8ce);
    margin:0; padding:14px 0 0; min-width:0;
  }
  .chaptered-screen .report-context-guides h3 { font:600 14px/1.4 Arial,sans-serif; margin:0 0 2px; }
  .report-context-guide-links { display:flex; flex-wrap:wrap; gap:0 24px; }
  .chaptered-screen .report-context-guide-links a {
    display:inline-flex; align-items:center; min-height:44px; max-width:100%;
    padding:8px 0; color:var(--chapter-accent,#a54130); font:400 15px/1.5 Arial,sans-serif;
    text-decoration:underline; text-underline-offset:3px; overflow-wrap:break-word;
    border:0; border-radius:0; background:transparent;
  }
  .chaptered-screen .report-context-guide-links a:focus-visible {
    outline:2px solid var(--chapter-accent,#a54130); outline-offset:3px; border-radius:3px;
  }
  .chaptered-screen .report-context-guide-note { font:400 13px/1.5 Arial,sans-serif; color:var(--chapter-muted,#60665d); margin:2px 0 8px; }
  .chaptered-screen > .chapter-overview { padding:0!important; margin:0!important; }
  .chaptered-screen > .chapter-overview:not(:has(.chapter-estimate)):not(:has(.chapter-small)) { display:none; }
  .chaptered-screen > .chapter-overview > .chapter-estimate { margin:0 0 16px; }
}
@media screen and (max-width:767px) {
  .report-context-guide-links { display:grid; grid-template-columns:minmax(0,1fr); gap:0; }
  .chaptered-screen > .report-context-box { margin:10px 0 16px; }
}
