/* Shared static content grouping. Metric colours, controls and guided promotion
   highlights retain their original semantic styles. */
body.page-section-theme {
  --section-border: #D4D9D1;
  --section-heading: #F0F2EC;
  --section-number: #E2E7DF;
}
html body.page-section-theme :is(main, #main, .app-shell) .page-section-group {
  padding: 22px;
  margin-bottom: 22px;
}
html body.page-section-theme :is(main, #main, .app-shell) .page-section[data-page-section][data-page-section-number] {
  box-sizing: border-box;
  min-width: 0;
  max-width: 100%;
  border: 2px solid var(--section-border) !important;
  border-radius: 14px !important;
  background: #fff !important;
  box-shadow: none !important;
}
html body.page-section-theme :is(main, #main, .app-shell) .page-section > .page-section-header,
html body.page-section-theme :is(main, #main, .app-shell) .page-section > summary.page-section-header {
  box-sizing: border-box;
  grid-column: 1 / -1;
  align-self: stretch;
  margin: calc(0px - var(--page-section-y, 0px)) calc(0px - var(--page-section-x, 0px)) 18px !important;
  padding: 16px 22px !important;
  border: 0 !important;
  border-bottom: 1px solid var(--section-border) !important;
  border-radius: 12px 12px 0 0 !important;
  background: var(--section-heading) !important;
  box-shadow: none !important;
}
html body.page-section-theme :is(main, #main, .app-shell) .page-section .page-section-title:not(.page-section-header) {
  margin: 0 !important;
}
html body.page-section-theme :is(main, #main, .app-shell) .page-section .page-section-title {
  font-weight: 700 !important;
  line-height: 1.5;
  overflow-wrap: anywhere;
}
/* These analyses share data/events, but each has its own complete content frame. */
html body.page-section-theme :is(main, #main, .app-shell) .records-trend > [data-correlation] > .records-correlation[data-page-section] {
  margin-top: 0;
}
html body.page-section-theme :is(main, #main, .app-shell) .records-trend-section > .help {
  margin-bottom: 0;
  font-size: 13px;
}
html body.page-section-theme :is(main, #main, .app-shell) .page-section-title[data-page-section-number]:not([data-page-section-existing-number]):not([data-page-section-single])::before {
  content: attr(data-page-section-number);
  display: inline-grid;
  place-items: center;
  width: 32px;
  height: 32px;
  min-width: 32px;
  margin-right: 12px;
  vertical-align: middle;
  border: 1px solid var(--section-border);
  border-radius: 50%;
  background: var(--section-number);
  color: #000;
  font-size: 17px;
  font-weight: 700;
  line-height: 1;
}
html body.page-section-theme :is(main, #main, .app-shell) details.page-section:not([open]) {
  padding-bottom: 0 !important;
}
html body.page-section-theme :is(main, #main, .app-shell) details.page-section:not([open]) > .page-section-header {
  margin-bottom: 0 !important;
  border-bottom: 0 !important;
  border-radius: 12px !important;
}
html body.page-section-theme :is(main, #main, .app-shell) details.page-section > summary.page-section-header {
  cursor: pointer;
}
html body.page-section-theme :is(main, #main, .app-shell) details.page-section > summary.page-section-header:focus-visible {
  outline: 3px solid #c4d7c7 !important;
  outline-offset: 2px;
}
/* A sole whole-section disclosure shares the numbered header's control. */
html body.page-section-theme :is(main, #main, .app-shell) .page-section-unified-disclosure > .page-section-header {
  display:flex;align-items:center;justify-content:flex-start!important;gap:10px 12px;flex-wrap:wrap;cursor:pointer;
}
html body.page-section-theme :is(main, #main, .app-shell) .page-section-unified-disclosure > .page-section-header > :last-child:not(.page-section-title):not(.page-section-disclosure-meta):not(.page-section-disclosure-toggle) {margin-left:auto;}
html body.page-section-theme :is(main, #main, .app-shell) .page-section-unified-disclosure > .page-section-header .page-section-title {flex:0 1 auto;min-width:0;}
html body.page-section-theme :is(main, #main, .app-shell) .page-section-unified-disclosure .page-section-disclosure-toggle {
  display:inline-flex;align-items:center;justify-content:center;flex:0 0 18px;min-width:18px;width:18px;min-height:32px;
  margin:0;padding:0;border:0!important;border-radius:0;background:transparent!important;box-shadow:none!important;
  color:#000!important;font:inherit;font-size:16px;line-height:1;cursor:pointer;
}
html body.page-section-theme :is(main, #main, .app-shell) .page-section-unified-disclosure .page-section-disclosure-toggle:focus-visible {outline:3px solid #c4d7c7!important;outline-offset:3px;}
html body.page-section-theme :is(main, #main, .app-shell) .page-section-unified-disclosure .page-section-disclosure-meta {font-size:14px;font-weight:400;color:#000;overflow-wrap:anywhere;}
html body.page-section-theme :is(main, #main, .app-shell) .page-section-unified-disclosure:not(.page-section-disclosure-open) {padding-bottom:0!important;}
html body.page-section-theme :is(main, #main, .app-shell) .page-section-unified-disclosure:not(.page-section-disclosure-open) > :not(.page-section-header) {display:none!important;}
html body.page-section-theme :is(main, #main, .app-shell) .page-section-unified-disclosure:not(.page-section-disclosure-open) > .page-section-header {margin-bottom:0!important;border-bottom:0!important;border-radius:12px!important;}
@media (max-width: 700px) {
  html body.page-section-theme :is(main, #main, .app-shell) .page-section-group { padding: 16px; margin-bottom: 16px; }
  html body.page-section-theme :is(main, #main, .app-shell) .page-section > .page-section-header,
  html body.page-section-theme :is(main, #main, .app-shell) .page-section > summary.page-section-header {
    padding: 14px 16px !important;
    gap: 10px;
  }
  html body.page-section-theme :is(main, #main, .app-shell) .page-section-title[data-page-section-number]:not([data-page-section-existing-number]):not([data-page-section-single])::before {
    width: 28px; height: 28px; min-width: 28px; margin-right: 9px; font-size: 16px;
  }
}
