/* bbPress Forum Styling – Site-wide */
#bbpress-forums { font-family: 'Work Sans', sans-serif; color: #3d4a5c; }
#bbpress-forums .bbp-breadcrumb { font-size: 13px; color: #5a7a7a; letter-spacing: 1px; }
#bbpress-forums #new-post,
#bbpress-forums .bbp-reply-form,
#bbpress-forums .bbp-topic-form { background: #faf7f0; border: 1.5px solid #c9ddd8; border-radius: 18px; padding: 32px 36px; margin-top: 24px; box-shadow: 0 4px 18px rgba(95,160,150,0.08); }
#bbpress-forums #new-post h2,
#bbpress-forums .bbp-reply-form h2,
#bbpress-forums .bbp-topic-form h2,
#bbpress-forums legend { font-family: 'Playfair Display', Georgia, serif; color: #4a8c84; font-size: 22px; font-weight: 600; margin-bottom: 20px; border-bottom: 1px solid #c9ddd8; padding-bottom: 12px; }
#bbpress-forums label { font-size: 13px; font-weight: 600; letter-spacing: 1.5px; text-transform: uppercase; color: #5a7a7a; margin-bottom: 6px; display: block; }
#bbpress-forums input[type="text"],
#bbpress-forums input[type="email"],
#bbpress-forums input[type="password"],
#bbpress-forums select { background: #ffffff; border: 1.5px solid #c9ddd8; border-radius: 10px; padding: 10px 14px; color: #3d4a5c; font-size: 15px; width: 100%; box-sizing: border-box; }
#bbpress-forums input[type="text"]:focus,
#bbpress-forums textarea:focus { border-color: #4a8c84;
 outline: none; box-shadow: 0 0 0 3px rgba(74,140,132,0.15); }
#bbpress-forums textarea { background: #ffffff; border: 1.5px solid #c9ddd8; border-radius: 0 0 10px 10px; padding: 14px; color: #3d4a5c; font-size: 15px; width: 100%; box-sizing: border-box; min-height: 160px; }
#bbpress-forums .quicktags-toolbar { background: #eef6f4; border: 1.5px solid #c9ddd8; border-bottom: none; border-radius: 10px 10px 0 0; padding: 8px 10px; }
#bbpress-forums .quicktags-toolbar input { font-size: 12px; background: #ffffff; border: 1px solid #c9ddd8; border-radius: 6px; color: #4a8c84; padding: 3px 8px; cursor: pointer; }
#bbpress-forums .quicktags-toolbar input:hover { background: #4a8c84; color: #ffffff; }
#bbpress-forums input[type="submit"],
#bbpress-forums .bbp-submit-wrapper button { font-size: 14px; font-weight: 600; letter-spacing: 1.5px; text-transform: uppercase; background: #4a8c84; color: #faf7f0; border: none; border-radius: 50px; padding: 13px 36px; cursor: pointer; margin-top: 18px; }
#bbpress-forums input[type="submit"]:hover,
#bbpress-forums .bbp-submit-wrapper button:hover { background: #3a7068; }
#bbpress-forums .bbp-template-notice { background: #faf7f0; border: 1px solid #c9ddd8; border-radius: 10px; color: #5a7a7a; font-size: 13px; padding: 10px 16px; margin-bottom: 18px; }
#bbpress-forums li.bbp-forum-info,
#bbpress-forums li.bbp-topic { border-bottom: 1px solid #e8eeec; padding: 16px 20px; background: #faf7f0; }
#bbpress-forums li.bbp-forum-info:last-child,

#bbpress-forums li.bbp-topic:last-child { border-bottom: none; }
#bbpress-forums .bbp-forum-title,
#bbpress-forums .bbp-topic-title a { font-family: 'Playfair Display', Georgia, serif; color: #4a8c84; font-size: 17px; font-weight: 600; text-decoration: none; }
#bbpress-forums .bbp-topic-title a:hover { color: #3a7068; text-decoration: underline; }
#bbpress-forums .bbp-topic-meta,
#bbpress-forums .bbp-forum-lastpost,
#bbpress-forums .bbp-topic-freshness { font-size: 12px; color: #7a9a99; }

/* Field Expeditions — compact mobile header spacing */
@media only screen and (max-width: 639px) {
  body.page-id-8300 #masthead.site-header {
    padding-bottom: 8px !important;
  }
  body.page-id-8300 #masthead.site-header > * {
    margin-top: 0 !important;
    margin-bottom: 0 !important;
  }
  body.page-id-8300 #masthead .main-navigation {
    margin-top: 0 !important;
    margin-bottom: 0 !important;
  }
}
@media only screen and (max-width: 639px) {
  body.page-id-8300 main.site-main { padding-top: 0 !important; }
  body.page-id-8300 .entry-content { margin-top: 0 !important; }
}


#bbpress-forums .bbp-pagination a { color: #4a8c84; }

/* ── Hide theme-generated page title site-wide ── */
.entry-title,
h1.entry-title,
.page-title,
h1.page-title,
.entry-header,
.entry-header h1,
.entry-header h2,
.page-header,
.page-header h1,
.wp-block-post-title,
header.entry-header,
.site-main .entry-header,
.hentry .entry-title,
.type-page .entry-title,
.type-post .entry-title,
.singular-page .entry-title,
.page .entry-header,
.page h1.entry-title {
  display: none !important;
}

.page-title {
  display: none !important;
}

/* Hide featured image on single posts — thumbnail still shows in listings */
.single.single-post .wp-block-post-featured-image,
.single.single-post .post-thumbnail,
.single.single-post .entry-thumbnail,
.single.single-post figure.wp-post-image {
    display: none;
}
/* BRR — bbPress archive contrast correction */

/* Forum/topic names sitting on cream cards */
body:not(.page-id-260) #bbpress-forums .bbp-forum-info a.bbp-forum-title,
body:not(.page-id-260) #bbpress-forums a.bbp-forum-title,
body:not(.page-id-260) #bbpress-forums .bbp-forum-title,
body:not(.page-id-260) #bbpress-forums .bbp-topic-title a {
    color: #17343a !important;
    -webkit-text-fill-color: #17343a !important;
    text-shadow: none !important;
    opacity: 1 !important;
}

/* Breadcrumbs such as HOME › FORUMS */
body:not(.page-id-260) #bbpress-forums .bbp-breadcrumb,
body:not(.page-id-260) #bbpress-forums .bbp-breadcrumb a,
body:not(.page-id-260) #bbpress-forums .bbp-breadcrumb span {
    color: #f3ead8 !important;
    -webkit-text-fill-color: #f3ead8 !important;
    opacity: 1 !important;
}

/* Breadcrumb separator gets the warmer BRR accent */
body:not(.page-id-260) #bbpress-forums .bbp-breadcrumb-sep {
    color: #d8ad67 !important;
    -webkit-text-fill-color: #d8ad67 !important;
}

/* BRR BBPRESS RESPONSIVE REPAIR V2 */
#bbpress-forums,
#bbpress-forums * {
  box-sizing: border-box;
}
#bbpress-forums .bbp-topic-form,
#bbpress-forums .bbp-reply-form,
#bbpress-forums #new-post {
  display: block !important;
  width: 100% !important;
  max-width: none !important;
  min-width: 0 !important;
}
#bbpress-forums input[type="text"],
#bbpress-forums input[type="email"],
#bbpress-forums input[type="password"],
#bbpress-forums input[type="search"],
#bbpress-forums select,
#bbpress-forums textarea {
  max-width: 100% !important;
  min-width: 0 !important;
}
@media (max-width: 1024px) {
  #bbpress-forums .bbp-topic-form,
  #bbpress-forums .bbp-reply-form {
    padding: 20px !important;
  }
  #bbpress-forums #new-post {
    padding: 0 !important;
  }
  #bbpress-forums fieldset.bbp-form {
    width: 100% !important;
    max-width: none !important;
    min-width: 0 !important;
    padding: 28px 20px !important;
  }
}
@media (max-width: 600px) {
  body.bbpress {
    overflow-x: clip;
  }
  #bbpress-forums {
    width: calc(100% - 24px) !important;
    max-width: none !important;
    min-width: 0 !important;
    margin-left: 12px !important;
    margin-right: 12px !important;
  }
  #bbpress-forums .bbp-topic-form,
  #bbpress-forums .bbp-reply-form,
  #bbpress-forums #new-post {
    width: 100% !important;
    max-width: none !important;
    min-width: 0 !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
    padding: 0 !important;
    border: 0 !important;
    border-radius: 0 !important;
    background: transparent !important;
    box-shadow: none !important;
  }
  #bbpress-forums fieldset.bbp-form {
    display: block !important;
    width: 100% !important;
    max-width: none !important;
    min-width: 0 !important;
    margin: 28px 0 0 !important;
    padding: 24px 14px !important;
  }
  #bbpress-forums fieldset.bbp-form legend {
    display: block !important;
    width: auto !important;
    max-width: calc(100% - 18px) !important;
    padding: 8px 10px !important;
    white-space: normal !important;
    overflow-wrap: break-word !important;
    word-break: normal !important;
  }
  #bbpress-forums p,
  #bbpress-forums label,
  #bbpress-forums .bbp-template-notice {
    float: none !important;
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
    white-space: normal !important;
    overflow-wrap: break-word !important;
    word-break: normal !important;
  }
  #bbpress-forums input[type="text"],
  #bbpress-forums input[type="email"],
  #bbpress-forums input[type="password"],
  #bbpress-forums input[type="search"],
  #bbpress-forums select,
  #bbpress-forums textarea {
    display: block !important;
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;
  }
  #bbpress-forums .quicktags-toolbar {
    display: flex !important;
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;
    flex-wrap: wrap !important;
    gap: 4px;
    overflow: hidden;
  }
  #bbpress-forums .quicktags-toolbar input.button {
    flex: 0 1 auto !important;
    width: auto !important;
    min-width: 32px !important;
    margin: 0 !important;
    padding: 6px !important;
    font-size: 11px !important;
  }
  #bbpress-forums .bbp-submit-wrapper {
    float: none !important;
    width: 100% !important;
    margin: 20px 0 0 !important;
  }
  #bbpress-forums .bbp-submit-wrapper button,
  #bbpress-forums input[type="submit"] {
    width: 100% !important;
  }
  #bbpress-forums .bbp-breadcrumb,
  #bbpress-forums .bbp-subscription {
    float: none !important;
    width: 100% !important;
    max-width: 100% !important;
    white-space: normal !important;
    overflow-wrap: anywhere !important;
  }
}

#bbpress-forums li.bbp-topic { border-bottom: 1px solid #e8eeec; padding: 16px 20px; background: #faf7f0; }
#bbpress-forums li.bbp-forum-info:last-child,
#bbpress-forums li.bbp-topic:last-child { border-bottom: none; }
#bbpress-forums .bbp-forum-title,
#bbpress-forums .bbp-topic-title a { font-family: 'Playfair Display', Georgia, serif; color: #4a8c84; font-size: 17px; font-weight: 600; text-decoration: none; }
#bbpress-forums .bbp-topic-title a:hover { color: #3a7068; text-decoration: underline; }
#bbpress-forums .bbp-topic-meta,
#bbpress-forums .bbp-forum-lastpost,
#bbpress-forums .bbp-topic-freshness { font-size: 12px; color: #7a9a99; }
#bbpress-forums .bbp-pagination a { color: #4a8c84; }

/* ── Hide theme-generated page title site-wide ── */
.entry-title,
h1.entry-title,
.page-title,
h1.page-title,
.entry-header,
.entry-header h1,
.entry-header h2,
.page-header,
.page-header h1,
.wp-block-post-title,
header.entry-header,
.site-main .entry-header,
.hentry .entry-title,
.type-page .entry-title,
.type-post .entry-title,
.singular-page .entry-title,
.page .entry-header,
.page h1.entry-title {
  display: none !important;
}

.page-title {
  display: none !important;
}

/* Hide featured image on single posts — thumbnail still shows in listings */
.single.single-post .wp-block-post-featured-image,
.single.single-post .post-thumbnail,
.single.single-post .entry-thumbnail,
.single.single-post figure.wp-post-image {
    display: none;
}
/* BRR — bbPress archive contrast correction */

/* Forum/topic names sitting on cream cards */
body:not(.page-id-260) #bbpress-forums .bbp-forum-info a.bbp-forum-title,
body:not(.page-id-260) #bbpress-forums a.bbp-forum-title,
body:not(.page-id-260) #bbpress-forums .bbp-forum-title,
body:not(.page-id-260) #bbpress-forums .bbp-topic-title a {
    color: #17343a !important;
    -webkit-text-fill-color: #17343a !important;
    text-shadow: none !important;
    opacity: 1 !important;
}

/* Breadcrumbs such as HOME › FORUMS */
body:not(.page-id-260) #bbpress-forums .bbp-breadcrumb,
body:not(.page-id-260) #bbpress-forums .bbp-breadcrumb a,
body:not(.page-id-260) #bbpress-forums .bbp-breadcrumb span {
    color: #f3ead8 !important;
    -webkit-text-fill-color: #f3ead8 !important;
    opacity: 1 !important;
}

/* Breadcrumb separator gets the warmer BRR accent */
body:not(.page-id-260) #bbpress-forums .bbp-breadcrumb-sep {
    color: #d8ad67 !important;
    -webkit-text-fill-color: #d8ad67 !important;
}

/* Our Kitchen — close the theme gap above the opening cover */
body.page-id-139 main.site-main {
  padding-top: 0 !important;
}
body.page-id-139 .entry-content {
  margin-top: 0 !important;
}

/* BRR primary logo — responsive size and reliable contrast */
.site-header {
  background-color: #f6f1e8;
}
.site-header img.custom-logo {
  width: min(480px, calc(100vw - 128px)) !important;
  max-width: min(480px, calc(100vw - 128px)) !important;
  height: auto !important;
}

/* BRR lab mobile dock: sit above the visible browser edge. */
@media (max-width: 720px) {
  html.brr-lab-responsive-runtime body .lab-motion-control,
  html.brr-lab-responsive-runtime body #brr-lab-day-shell .bld-launcher,
  html.brr-lab-responsive-runtime body #brr-lab-day-shell.bld-beside-motion .bld-launcher {
    bottom: calc(max(10px, env(safe-area-inset-bottom)) + var(--bld-browser-bottom, 0px)) !important;
  }
}
@media (max-width: 340px) {
  html.brr-lab-responsive-runtime body #brr-lab-day-shell.bld-beside-motion .bld-launcher {
    bottom: calc(max(74px, env(safe-area-inset-bottom) + 64px) + var(--bld-browser-bottom, 0px)) !important;
  }
}
/* END BRR LAB MOBILE DOCK POSITION V1 */


/* BRR HEADER LOGO AND MAIN SECTIONS — 2026-09-30 */
body[class] #masthead#masthead .site-branding {
  box-sizing: border-box !important;
  width: clamp(154px,18vw,220px) !important;
  max-width: calc(100vw - 148px) !important;
  flex: 0 0 auto !important;
  padding: 0 !important;
  height: auto !important;
  min-height: 0 !important;
  overflow: visible !important;
}
body[class] #masthead#masthead .site-logo,
body[class] #masthead#masthead .custom-logo-link {
  display: block !important;
  width: 100% !important;
  max-width: 100% !important;
  height: auto !important;
  min-height: 0 !important;
  margin: 0 !important;
  overflow: visible !important;
  line-height: 0 !important;
}
body[class] #masthead#masthead img.custom-logo {
  display: block !important;
  box-sizing: border-box !important;
  width: clamp(154px, 18vw, 220px) !important;
  max-width: 100% !important;
  height: auto !important;
  max-height: none !important;
  margin: 0 !important;
  padding: 8px 10px !important;
  object-fit: contain !important;
  object-position: center !important;
  clip: auto !important;
  clip-path: none !important;
  border: 1px solid rgba(238,230,213,.58) !important;
  border-radius: 2px 18px 2px 18px !important;
  background: rgba(246,241,232,.88) !important;
  box-shadow: 0 12px 34px rgba(10,25,26,.18) !important;
}
body[class].page-id-139 .entry-content > .wp-block-cover:first-child {
  margin-top: 0 !important;
}
body[class] #masthead#masthead #site-navigation#site-navigation {
  position: absolute !important;
  z-index: 94 !important;
  top: clamp(12px,2vw,24px) !important;
  right: clamp(12px,2vw,24px) !important;
  left: auto !important;
  width: auto !important;
  height: auto !important;
  margin: 0 !important;
  padding: 0 !important;
  pointer-events: auto !important;
}
body[class] #masthead#masthead #site-navigation#site-navigation #toggle-menu {
  position: relative !important;
  z-index: 1001 !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 10px !important;
  box-sizing: border-box !important;
  min-width: 112px !important;
  height: 44px !important;
  margin: 0 !important;
  padding: 0 16px !important;
  color: #f6f1e8 !important;
  background: #234339 !important;
  border: 1px solid #cfa657 !important;
  border-radius: 2px 22px 2px 22px !important;
  box-shadow: 0 12px 34px rgba(10,25,26,.24) !important;
  font-size: 0 !important;
  text-decoration: none !important;
  cursor: pointer !important;
}
body[class] #masthead#masthead #site-navigation#site-navigation #toggle-menu::before {
  content: "EXPLORE" !important;
  color: #f6f1e8 !important;
  font: 700 11px/1 system-ui,-apple-system,sans-serif !important;
  letter-spacing: .15em !important;
}
body[class] #masthead#masthead #site-navigation#site-navigation #toggle-menu .dropdown-icon {
  color: #d3aa59 !important;
  font: 400 22px/1 Georgia,serif !important;
}
body[class] #masthead#masthead #site-navigation#site-navigation #toggle-menu .open { display: inline !important; }
body[class] #masthead#masthead #site-navigation#site-navigation #toggle-menu .close { display: none !important; }
body[class] #masthead#masthead #site-navigation#site-navigation #toggle:checked ~ #toggle-menu .open { display: none !important; }
body[class] #masthead#masthead #site-navigation#site-navigation #toggle:checked ~ #toggle-menu .close { display: inline !important; }
body[class] #masthead#masthead #site-navigation#site-navigation #toggle:focus-visible + #toggle-menu {
  outline: 3px solid #d3aa59 !important;
  outline-offset: 4px !important;
}
body[class] { --brr-menu-admin-offset: 0px; }
body[class].admin-bar { --brr-menu-admin-offset: 32px; }
body[class] #masthead#masthead #site-navigation#site-navigation > .menu-directory-container {
  position: fixed !important;
  z-index: 1000 !important;
  display: none !important;
  visibility: hidden !important;
  opacity: 0 !important;
  inset: calc(var(--brr-menu-admin-offset) + 10px) 10px 10px !important;
  box-sizing: border-box !important;
  width: auto !important;
  height: auto !important;
  max-height: none !important;
  margin: 0 !important;
  padding: 116px clamp(18px,5vw,72px) max(24px,env(safe-area-inset-bottom)) !important;
  overflow-y: auto !important;
  overflow-x: hidden !important;
  overscroll-behavior: contain !important;
  color: #f6f1e8 !important;
  background: #102b2e !important;
  border: 1px solid rgba(211,170,89,.52) !important;
  border-radius: 3px 28px 3px 28px !important;
  box-shadow: 0 28px 90px rgba(0,0,0,.42) !important;
  transform: none !important;
  pointer-events: none !important;
}
body[class] #masthead#masthead #site-navigation#site-navigation #toggle:checked ~ .menu-directory-container {
  display: block !important;
  visibility: visible !important;
  opacity: 1 !important;
  pointer-events: auto !important;
}
body[class] #masthead#masthead #site-navigation#site-navigation > .menu-directory-container::before {
  content: "THE FIELD INDEX" !important;
  display: block !important;
  margin: 0 auto 20px !important;
  max-width: 900px !important;
  color: #d3aa59 !important;
  font: italic 500 32px/1.1 Georgia,serif !important;
  letter-spacing: 0 !important;
}
body[class] #masthead#masthead #site-navigation#site-navigation > .menu-directory-container > ul {
  display: grid !important;
  grid-template-columns: repeat(2,minmax(0,1fr)) !important;
  gap: 12px !important;
  width: min(900px,100%) !important;
  max-width: 100% !important;
  margin: 0 auto !important;
  padding: 0 !important;
  list-style: none !important;
}
body[class] #masthead#masthead #site-navigation#site-navigation > .menu-directory-container > ul > li {
  display: block !important;
  width: 100% !important;
  min-width: 0 !important;
  margin: 0 !important;
  padding: 0 !important;
  list-style: none !important;
}
body[class] #masthead#masthead #site-navigation#site-navigation > .menu-directory-container > ul > li > a {
  display: flex !important;
  align-items: center !important;
  box-sizing: border-box !important;
  width: 100% !important;
  min-height: 64px !important;
  margin: 0 !important;
  padding: 16px 19px !important;
  color: #f6f1e8 !important;
  background: rgba(246,241,232,.065) !important;
  border: 1px solid rgba(246,241,232,.17) !important;
  border-radius: 2px 20px 2px 20px !important;
  font: 500 23px/1.2 Georgia,serif !important;
  text-transform: none !important;
  letter-spacing: 0 !important;
  white-space: normal !important;
  overflow-wrap: break-word !important;
  text-decoration: none !important;
}
body[class] #masthead#masthead #site-navigation#site-navigation .main-menu li::before,
body[class] #masthead#masthead #site-navigation#site-navigation .main-menu a::before,
body[class] #masthead#masthead #site-navigation#site-navigation .main-menu a::after { content: none !important; }
body[class] #masthead#masthead #site-navigation#site-navigation .main-menu a:hover,
body[class] #masthead#masthead #site-navigation#site-navigation .main-menu a:focus-visible {
  color: #102b2e !important;
  background: #d3aa59 !important;
  outline: 2px solid #d3aa59 !important;
  outline-offset: 2px !important;
}
@media (max-width: 782px) {
  body[class].admin-bar { --brr-menu-admin-offset: 46px; }
}
@media (max-width: 620px) {
  body[class] #masthead#masthead img.custom-logo { width: 154px !important; padding: 6px 8px !important; }
  body[class] #masthead#masthead #site-navigation#site-navigation #toggle-menu { min-width: 104px !important; height: 42px !important; padding: 0 12px !important; }
  body[class] #masthead#masthead #site-navigation#site-navigation > .menu-directory-container { inset: calc(var(--brr-menu-admin-offset) + 6px) 6px 6px !important; padding: 84px 12px max(20px,env(safe-area-inset-bottom)) !important; }
  body[class] #masthead#masthead #site-navigation#site-navigation > .menu-directory-container::before { margin-bottom: 14px !important; font-size: 27px !important; }
  body[class] #masthead#masthead #site-navigation#site-navigation > .menu-directory-container > ul { grid-template-columns: minmax(0,1fr) !important; gap: 7px !important; }
  body[class] #masthead#masthead #site-navigation#site-navigation > .menu-directory-container > ul > li > a { min-height: 52px !important; padding: 12px 14px !important; font-size: 18px !important; }
}
/* END BRR HEADER LOGO AND MAIN SECTIONS */

body[class] #masthead#masthead #site-navigation#site-navigation #toggle:checked ~ #toggle-menu::before { content: "CLOSE" !important; }

body[class]:has(#masthead #toggle:checked) #masthead#masthead { z-index: 2147483101 !important; }

/* BRR header placement — logo at upper left on every viewport */
body[class] #masthead#masthead { justify-content: flex-start !important; }
body[class] #masthead#masthead::before,
body[class] #masthead#masthead::after { display: none !important; }
body[class] #masthead#masthead .site-branding { margin: 0 !important; }


/* BRR CONTROL CLEARANCE V1 — keep actions separate from content. */
.jetpack-subscribe-floating-button.jetpack-subscribe-floating-button {
  box-sizing: border-box !important;
  position: relative !important;
  inset: auto !important;
  transform: none !important;
  float: none !important;
  z-index: auto !important;
  width: fit-content !important;
  max-width: calc(100% - 32px) !important;
  margin: 24px auto calc(max(var(--brr-lab-flow-clearance, 24px), env(safe-area-inset-bottom, 0px)) + 24px) !important;
}
html.brr-lab-responsive-runtime #brr-clinical-lab .department-menu {
  box-sizing: border-box !important;
  top: calc(var(--brr-lab-vv-top, 0px) + 8px) !important;
  left: calc(var(--brr-lab-vv-left, 0px) + var(--brr-lab-vv-width, 100vw) / 2) !important;
  width: min(920px, calc(var(--brr-lab-vv-width, 100vw) - 16px)) !important;
  max-width: calc(var(--brr-lab-vv-width, 100vw) - 16px) !important;
  max-height: max(1px, calc(var(--brr-lab-panel-height, 100svh) - 16px)) !important;
  overflow-y: auto !important;
  overscroll-behavior: contain !important;
  scroll-padding-block-end: max(24px, env(safe-area-inset-bottom, 0px)) !important;
}
html.brr-lab-responsive-runtime body .entry-content,
html.brr-lab-responsive-runtime body .wp-block-post-content,
html.brr-lab-responsive-runtime body .site-main {
  scroll-margin-block-end: max(24px, var(--brr-lab-flow-clearance, 24px)) !important;
}
@media (max-width: 720px) {
  html.brr-lab-responsive-runtime body .lab-motion-control,
  html.brr-lab-responsive-runtime body #brr-department-world .dept-motion,
  html.brr-lab-responsive-runtime body #brr-pro-lab .pro-motion-toggle {
    max-width: calc(100vw - 32px) !important;
    white-space: normal !important;
  }
  html.brr-lab-responsive-runtime body #brr-lab-day-shell .bld-launcher,
  html.brr-lab-responsive-runtime body #brr-lab-day-shell.bld-beside-motion .bld-launcher {
    left: auto !important;
    right: max(8px, env(safe-area-inset-right, 0px)) !important;
    max-width: calc(100vw - 16px) !important;
    bottom: calc(max(10px, env(safe-area-inset-bottom, 0px)) + max(var(--bld-browser-bottom, 0px), 64px)) !important;
  }
}
/* END BRR CONTROL CLEARANCE V1 */

