/* C120R4 – narrowly scoped mobile header parity, report builder, legibility.
   Light/dark navigation and actual report paper untouched. Print excluded. */
@media screen {
  /* Four standalone Regulator modules: use the same toolbar proportions as the
     main Regulator/Persoonlijk pages, in BOTH display modes. No event code. */
  html[data-rs-standalone] body > .reguspace-v287-app > .regu-c44-sticky-frame {
    box-sizing:border-box!important;width:100%!important;
  }
  html[data-rs-standalone] body .reguspace-v287-app .regu-c44-sticky-frame > .reguspace-v287-toolbar {
    box-sizing:border-box!important;display:flex!important;align-items:center!important;
    justify-content:flex-start!important;flex-wrap:nowrap!important;
    gap:8px!important;max-width:1440px!important;margin:0 auto!important;
    padding:0!important;letter-spacing:normal!important;
    font-family:Inter,system-ui,'Segoe UI',Arial,sans-serif!important;
  }
  html[data-rs-standalone] body .reguspace-v287-toolbar > .regu-r1-menu-button {
    flex:0 0 37px!important;width:37px!important;min-width:37px!important;height:37px!important;
    padding:0!important;display:inline-flex!important;align-items:center!important;
    justify-content:center!important;border-radius:10px!important;
  }
  html[data-rs-standalone] body .reguspace-v287-toolbar > .app-brand {
    box-sizing:border-box!important;display:flex!important;flex-direction:column!important;
    align-items:flex-start!important;justify-content:center!important;gap:0!important;
    flex:0 0 154px!important;min-width:154px!important;width:154px!important;
    margin:0 auto 0 0!important;padding:0!important;line-height:1.05!important;
    letter-spacing:normal!important;text-decoration:none!important;
  }
  html[data-rs-standalone] body .reguspace-v287-toolbar > .app-brand strong {
    font:700 19px/1.05 Georgia,'Times New Roman',serif!important;
    letter-spacing:0!important;opacity:1!important;
  }
  html[data-rs-standalone] body .reguspace-v287-toolbar > .app-brand span {
    font:750 9px/1.05 Inter,system-ui,'Segoe UI',Arial,sans-serif!important;
    letter-spacing:0!important;opacity:1!important;
  }
  html[data-rs-standalone] body .reguspace-v287-toolbar > .btn {
    box-sizing:border-box!important;display:inline-flex!important;align-items:center!important;
    justify-content:center!important;min-height:40px!important;flex:0 0 auto!important;
    white-space:nowrap!important;letter-spacing:normal!important;
    font-family:Arial,'Segoe UI',sans-serif!important;font-size:14px!important;
    font-weight:700!important;line-height:normal!important;
  }
  html[data-rs-standalone] body .reguspace-v287-toolbar > #showQuickCheck {
    font-weight:850!important;font-size:12px!important;letter-spacing:.035em!important;
  }
  @media(max-width:1279px){
    html[data-rs-standalone] body .reguspace-v287-toolbar > .app-brand{
      flex-basis:112px!important;min-width:112px!important;width:112px!important;
    }
    html[data-rs-standalone] body .reguspace-v287-toolbar > .btn {
      font-size:12px!important;padding:8px 9px!important;
    }
  }
  @media(max-width:800px){
    html[data-rs-standalone] body .reguspace-v287-app .regu-c44-sticky-frame > .reguspace-v287-toolbar {
      gap:4px!important;overflow-x:hidden!important;overflow-y:hidden!important;
      padding:0!important;white-space:nowrap!important;
    }
    html[data-rs-standalone] body .reguspace-v287-toolbar > .app-brand {
      flex:0 0 100px!important;min-width:100px!important;width:100px!important;
      left:auto!important;position:relative!important;align-self:center!important;
      box-shadow:none!important;overflow:visible!important;
    }
    html[data-rs-standalone] body .reguspace-v287-toolbar > .app-brand::before,
    html[data-rs-standalone] body .reguspace-v287-toolbar > .app-brand::after {
      content:none!important;display:none!important;
    }
    html[data-rs-standalone] body .reguspace-v287-toolbar > .app-brand strong {
      font-size:16px!important;
    }
    html[data-rs-standalone] body .reguspace-v287-toolbar > .app-brand span {
      font-size:8px!important;
    }
    html[data-rs-standalone] body .reguspace-v287-toolbar > .btn {
      font-size:11.5px!important;
    }
  }
  /* The report builder sections must be read as UI, not white report paper. */
  html[data-reguspace-theme='dark'] body #analysisReportScreen .analysis-report-page > .section {
    background:#405462!important;border:1px solid #718696!important;color:#edf4f8!important;
  }
  html[data-reguspace-theme='dark'] body #analysisReportScreen .analysis-report-page > .section > h2,
  html[data-reguspace-theme='dark'] body #analysisReportScreen .analysis-report-page > .section > label,
  html[data-reguspace-theme='dark'] body #analysisReportScreen .analysis-report-page > .section > p {
    color:#edf4f8!important;opacity:1!important;
  }
  html[data-reguspace-theme='dark'] body #analysisReportScreen .analysis-report-page > .section .analysis-report-person-grid :is(label,strong),
  html[data-reguspace-theme='dark'] body #analysisReportScreen .analysis-report-page > .section .analysis-period-row :is(label,strong) {
    color:#edf4f8!important;opacity:1!important;
  }
  /* Quick is purposely lighter than Complete; never white text on the pale Quick panel. */
  @media(max-width:800px){
    html[data-reguspace-theme='dark'] body #quickMobileApp #qmRecommendations > h2 {
      color:#203d52!important;opacity:1!important;text-shadow:none!important;
    }
  }
}
@media print { /* No C120R4 presentation overrides apply in print. */ }
