:root {
  --tjbapp-green: #009b3a;
  --tjbapp-green-dark: #007a2e;
  --tjbapp-green-ink: #06351d;
  --tjbapp-yellow: #fed100;
  --tjbapp-black: #111111;
  --tjbapp-white: #ffffff;
  --tjbapp-soft: #f3fbf5;
  --tjbapp-line: #d8e7dc;
  --tjbapp-muted: #617168;
  --tjbapp-top-height: 64px;
  --tjbapp-bottom-height: 72px;
  --tjbapp-shadow: 0 16px 42px rgba(0, 74, 28, 0.18);
}

.tjbapp-root {
  display: none;
  position: fixed !important;
  z-index: 99980 !important;
  inset: 0 !important;
  width: 100% !important;
  max-width: 100% !important;
  /*
   * Do not size this wrapper with vh/dvh. In a normal mobile browser the
   * address/navigation chrome changes the dynamic viewport while scrolling.
   * The shell children are independently viewport-fixed, so the wrapper only
   * needs to cover the page without becoming their containing block.
   */
  height: auto !important;
  min-height: 0 !important;
  margin: 0 !important;
  padding: 0 !important;
  overflow: visible !important;
  pointer-events: none !important;
  isolation: isolate;
  contain: none !important;
  font-family: Arial, Helvetica, sans-serif;
  color: var(--tjbapp-black);
}

/*
 * Keep the app shell attached to the visual viewport, not to any unusually
 * wide landing-page wrapper. This also prevents the off-screen account
 * drawer from increasing the page's horizontal scrollable area.
 */
.tjbapp-root .tjbapp-topbar,
.tjbapp-root .tjbapp-bottom-nav,
.tjbapp-root .tjbapp-overlay,
.tjbapp-root .tjbapp-drawer,
.tjbapp-root .tjbapp-modal,
.tjbapp-root .tjbapp-toast {
  pointer-events: auto;
}

body.tjbapp-mode-everywhere .tjbapp-root,
body.tjbapp-is-standalone.tjbapp-mode-mobile_standalone .tjbapp-root,
body.tjbapp-is-standalone.tjbapp-mode-standalone_only .tjbapp-root {
  display: block;
}

body.tjbapp-mode-everywhere,
body.tjbapp-is-standalone.tjbapp-mode-mobile_standalone,
body.tjbapp-is-standalone.tjbapp-mode-standalone_only {
  padding-top: calc(var(--tjbapp-top-height) + env(safe-area-inset-top, 0px)) !important;
  padding-bottom: calc(var(--tjbapp-bottom-height) + env(safe-area-inset-bottom, 0px)) !important;
}

@media (max-width: 900px) {
  body.tjbapp-mode-mobile_standalone .tjbapp-root {
    display: block;
  }

  /*
   * v1.1.11 mobile alignment restoration:
   * Restore the earlier fixed-shell clearance so every page starts below
   * the JAMBus top banner instead of allowing page content to sit under it.
   */
  body.tjbapp-mode-everywhere,
  body.tjbapp-mode-mobile_standalone,
  body.tjbapp-is-standalone.tjbapp-mode-mobile_standalone,
  body.tjbapp-is-standalone.tjbapp-mode-standalone_only {
    padding-top: calc(var(--tjbapp-top-height) + env(safe-area-inset-top, 0px)) !important;
    padding-bottom: calc(var(--tjbapp-bottom-height) + env(safe-area-inset-bottom, 0px)) !important;
  }
}

/*
 * JAMBus mobile shell owns the visible header. Astra can still leave its
 * mobile header wrappers or content-area top spacing in the document even
 * when the header/menu has been disabled through the Customizer or CSS.
 * Collapse only those top-level Astra shells while the JAMBus shell is
 * actually visible on mobile. This does not touch page-builder spacing inside
 * the page content itself.
 */
@media (max-width: 900px) {
  body.tjbapp-mode-everywhere #masthead,
  body.tjbapp-mode-everywhere .site-header,
  body.tjbapp-mode-everywhere .ast-mobile-header-wrap,
  body.tjbapp-mode-everywhere .ast-mobile-header-content,
  body.tjbapp-mode-everywhere .ast-above-header-wrap,
  body.tjbapp-mode-everywhere .ast-primary-header-bar,
  body.tjbapp-mode-everywhere .ast-below-header-wrap,
  body.tjbapp-mode-everywhere .main-header-bar-wrap,
  body.tjbapp-mode-mobile_standalone #masthead,
  body.tjbapp-mode-mobile_standalone .site-header,
  body.tjbapp-mode-mobile_standalone .ast-mobile-header-wrap,
  body.tjbapp-mode-mobile_standalone .ast-mobile-header-content,
  body.tjbapp-mode-mobile_standalone .ast-above-header-wrap,
  body.tjbapp-mode-mobile_standalone .ast-primary-header-bar,
  body.tjbapp-mode-mobile_standalone .ast-below-header-wrap,
  body.tjbapp-mode-mobile_standalone .main-header-bar-wrap,
  body.tjbapp-is-standalone.tjbapp-mode-standalone_only #masthead,
  body.tjbapp-is-standalone.tjbapp-mode-standalone_only .site-header,
  body.tjbapp-is-standalone.tjbapp-mode-standalone_only .ast-mobile-header-wrap,
  body.tjbapp-is-standalone.tjbapp-mode-standalone_only .ast-mobile-header-content,
  body.tjbapp-is-standalone.tjbapp-mode-standalone_only .ast-above-header-wrap,
  body.tjbapp-is-standalone.tjbapp-mode-standalone_only .ast-primary-header-bar,
  body.tjbapp-is-standalone.tjbapp-mode-standalone_only .ast-below-header-wrap,
  body.tjbapp-is-standalone.tjbapp-mode-standalone_only .main-header-bar-wrap {
    display: none !important;
    height: 0 !important;
    min-height: 0 !important;
    max-height: 0 !important;
    margin: 0 !important;
    padding: 0 !important;
    border: 0 !important;
    overflow: hidden !important;
  }

  body.tjbapp-mode-everywhere #content,
  body.tjbapp-mode-everywhere .site-content,
  body.tjbapp-mode-mobile_standalone #content,
  body.tjbapp-mode-mobile_standalone .site-content,
  body.tjbapp-is-standalone.tjbapp-mode-standalone_only #content,
  body.tjbapp-is-standalone.tjbapp-mode-standalone_only .site-content {
    margin-top: 0 !important;
    padding-top: 0 !important;
  }

  body.tjbapp-mode-everywhere #content > .ast-container,
  body.tjbapp-mode-everywhere .site-content > .ast-container,
  body.tjbapp-mode-mobile_standalone #content > .ast-container,
  body.tjbapp-mode-mobile_standalone .site-content > .ast-container,
  body.tjbapp-is-standalone.tjbapp-mode-standalone_only #content > .ast-container,
  body.tjbapp-is-standalone.tjbapp-mode-standalone_only .site-content > .ast-container {
    margin-top: 0 !important;
    padding-top: 0 !important;
  }

  body.tjbapp-mode-everywhere #primary,
  body.tjbapp-mode-everywhere .content-area,
  body.tjbapp-mode-mobile_standalone #primary,
  body.tjbapp-mode-mobile_standalone .content-area,
  body.tjbapp-is-standalone.tjbapp-mode-standalone_only #primary,
  body.tjbapp-is-standalone.tjbapp-mode-standalone_only .content-area {
    margin-top: 0 !important;
    padding-top: 0 !important;
  }
}

.tjbapp-root *,
.tjbapp-root *::before,
.tjbapp-root *::after {
  box-sizing: border-box;
}

.tjbapp-root button,
.tjbapp-root a {
  -webkit-tap-highlight-color: transparent;
}

.tjbapp-root svg {
  width: 24px;
  height: 24px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.9;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.tjbapp-topbar {
  position: fixed !important;
  z-index: 100005 !important;
  top: 0 !important;
  right: auto !important;
  bottom: auto !important;
  left: 0 !important;
  width: 100% !important;
  min-width: 0 !important;
  max-width: 100% !important;
  min-height: calc(var(--tjbapp-top-height) + env(safe-area-inset-top, 0px));
  margin: 0 !important;
  padding: env(safe-area-inset-top, 0px) 12px 0;
  display: grid !important;
  grid-template-columns: 44px 44px minmax(0, 1fr) 44px 44px !important;
  align-items: center;
  box-sizing: border-box !important;
  transform: none !important;
  -webkit-transform: none !important;
  backface-visibility: visible;
  -webkit-backface-visibility: visible;
  contain: none !important;
  will-change: auto !important;
  background: #ffffff;
  border-bottom: 1px solid var(--tjbapp-line);
  box-shadow: 0 6px 20px rgba(3, 64, 34, 0.08);
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
}


/* WordPress adds a top margin to <html> for the admin toolbar. If another
 * mobile rule hides #wpadminbar but leaves body.admin-bar in place, that
 * margin becomes an empty strip. JS marks that exact state for removal. */
html.tjbapp-adminbar-hidden {
  margin-top: 0 !important;
}

body.tjbapp-adminbar-visible .tjbapp-topbar {
  top: 32px !important;
}

@media (max-width: 782px) {
  body.tjbapp-adminbar-visible .tjbapp-topbar {
    top: 46px !important;
  }
}

.tjbapp-top-action,
.tjbapp-close,
.tjbapp-bottom-button,
.tjbapp-tool-button,
.tjbapp-modal-primary,
.tjbapp-toast button {
  border: 0;
  font: inherit;
}

.tjbapp-top-action,
.tjbapp-close {
  display: inline-grid;
  place-items: center;
  width: 42px;
  height: 42px;
  padding: 0;
  border-radius: 13px;
  color: var(--tjbapp-green-ink);
  background: transparent;
  cursor: pointer;
}

.tjbapp-top-action:hover,
.tjbapp-top-action:focus-visible,
.tjbapp-top-action.is-active,
.tjbapp-top-action[aria-expanded="true"],
.tjbapp-close:hover,
.tjbapp-close:focus-visible {
  background: var(--tjbapp-soft);
}

.tjbapp-back {
  grid-column: 1;
}

.tjbapp-search-trigger {
  grid-column: 2;
  justify-self: start;
  position: relative;
  z-index: 3;
}

.tjbapp-search-trigger[aria-expanded="true"] {
  background: var(--tjbapp-soft);
  color: var(--tjbapp-green-ink) !important;
}

.tjbapp-brand {
  grid-column: 3;
}

.tjbapp-commission-trigger {
  grid-column: 4;
  justify-self: end;
  position: relative !important;
  z-index: 3 !important;
}

.tjbapp-commission-trigger.is-active,
.tjbapp-commission-trigger[aria-expanded="true"] {
  background: rgba(254, 209, 0, 0.28);
  color: var(--tjbapp-green-ink) !important;
}

.tjbapp-root .tjbapp-commission-trigger,
.tjbapp-root .tjbapp-commission-trigger:hover,
.tjbapp-root .tjbapp-commission-trigger:focus,
.tjbapp-root .tjbapp-commission-trigger:focus-visible,
.tjbapp-root .tjbapp-commission-trigger:active {
  opacity: 1 !important;
  visibility: visible !important;
  color: var(--tjbapp-green-ink) !important;
  -webkit-text-fill-color: var(--tjbapp-green-ink) !important;
  filter: none !important;
  -webkit-filter: none !important;
}

.tjbapp-top-menu {
  grid-column: 5;
  justify-self: end;
  position: relative !important;
  z-index: 3 !important;
  opacity: 1 !important;
  visibility: visible !important;
  filter: none !important;
  -webkit-filter: none !important;
  mix-blend-mode: normal !important;
  transform: translate3d(0, 0, 0) !important;
  -webkit-transform: translate3d(0, 0, 0) !important;
  backface-visibility: hidden !important;
  -webkit-backface-visibility: hidden !important;
  will-change: transform;
}

/*
 * Some JAMBus pages and mobile browsers leave the restored menu button in
 * a sticky :focus/:active compositing state after a drawer closes. Keep the
 * hamburger lines fully rendered without changing the existing colour scheme.
 */
.tjbapp-root .tjbapp-top-menu,
.tjbapp-root .tjbapp-top-menu:hover,
.tjbapp-root .tjbapp-top-menu:focus,
.tjbapp-root .tjbapp-top-menu:focus-visible,
.tjbapp-root .tjbapp-top-menu:active,
.tjbapp-root .tjbapp-top-menu[aria-expanded="false"] {
  opacity: 1 !important;
  visibility: visible !important;
  color: var(--tjbapp-green-ink) !important;
  -webkit-text-fill-color: var(--tjbapp-green-ink) !important;
  filter: none !important;
  -webkit-filter: none !important;
}

.tjbapp-root .tjbapp-top-menu svg,
.tjbapp-root .tjbapp-top-menu svg *,
.tjbapp-root .tjbapp-top-menu::before,
.tjbapp-root .tjbapp-top-menu::after {
  opacity: 1 !important;
  visibility: visible !important;
  filter: none !important;
  -webkit-filter: none !important;
}

.tjbapp-root .tjbapp-top-menu svg * {
  stroke: currentColor !important;
}

.tjbapp-top-menu.tjbapp-menu-repaint {
  transform: translate3d(0, 0, 0.01px) !important;
  -webkit-transform: translate3d(0, 0, 0.01px) !important;
}

.tjbapp-back.is-hidden {
  visibility: hidden;
  pointer-events: none;
}

.tjbapp-brand {
  min-width: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  color: var(--tjbapp-black) !important;
  text-decoration: none !important;
  font-size: 21px;
  font-weight: 900;
  letter-spacing: -0.4px;
}

.tjbapp-brand img {
  display: block;
  width: 36px;
  height: 36px;
  border-radius: 10px;
}

@media (max-width: 360px) {
  .tjbapp-topbar {
    grid-template-columns: 40px 36px minmax(0, 1fr) 36px 40px !important;
    padding-left: 8px;
    padding-right: 8px;
  }

  .tjbapp-top-action,
  .tjbapp-close {
    width: 38px;
    height: 38px;
  }

  .tjbapp-brand {
    gap: 6px;
    font-size: 18px;
  }

  .tjbapp-brand img {
    width: 32px;
    height: 32px;
  }
}

.tjbapp-meta-dot {
  display: inline-block;
  width: 9px;
  height: 9px;
  flex: 0 0 9px;
  border-radius: 999px;
  background: var(--tjbapp-green);
  box-shadow: 0 0 0 4px rgba(0, 155, 58, 0.14);
}

body.tjbapp-offline .tjbapp-meta-dot {
  background: #8a8a8a;
  box-shadow: 0 0 0 4px rgba(90, 90, 90, 0.12);
}

/* General site search launched from the app shell.
 * The form intentionally submits only ?s=... so the active JAMBus
 * general-search router keeps its existing broad Astra/WordPress scope. */
.tjbapp-search-panel {
  position: fixed !important;
  z-index: 100004 !important;
  top: calc(var(--tjbapp-top-height) + env(safe-area-inset-top, 0px)) !important;
  left: 0 !important;
  right: 0 !important;
  width: 100% !important;
  margin: 0 !important;
  padding: 10px 12px 12px;
  background: #ffffff;
  border-bottom: 1px solid var(--tjbapp-line);
  box-shadow: 0 10px 24px rgba(3, 64, 34, 0.12);
  opacity: 0;
  visibility: hidden;
  transform: translateY(-6px);
  transition: opacity .14s ease, transform .14s ease, visibility .14s ease;
  pointer-events: auto !important;
}

body.tjbapp-adminbar-visible .tjbapp-search-panel {
  top: calc(32px + var(--tjbapp-top-height) + env(safe-area-inset-top, 0px)) !important;
}

@media (max-width: 782px) {
  body.tjbapp-adminbar-visible .tjbapp-search-panel {
    top: calc(46px + var(--tjbapp-top-height) + env(safe-area-inset-top, 0px)) !important;
  }
}

.tjbapp-search-panel.is-open {
  opacity: 1;
  visibility: visible;
  transform: none;
}

.tjbapp-general-search-form {
  width: 100%;
  max-width: 780px;
  margin: 0 auto;
}

.tjbapp-general-search-wrap {
  position: relative;
  display: grid;
  grid-template-columns: 34px minmax(0, 1fr) auto 42px;
  align-items: center;
  min-height: 48px;
  border: 1px solid var(--tjbapp-line);
  border-radius: 14px;
  background: #ffffff;
  overflow: visible;
}

.tjbapp-general-search-icon {
  display: grid;
  place-items: center;
  color: var(--tjbapp-green-ink);
}

.tjbapp-general-search-icon svg {
  width: 20px;
  height: 20px;
}

.tjbapp-general-search-field {
  width: 100% !important;
  min-width: 0 !important;
  height: 46px !important;
  margin: 0 !important;
  padding: 0 8px !important;
  border: 0 !important;
  outline: 0 !important;
  box-shadow: none !important;
  background: transparent !important;
  color: var(--tjbapp-black) !important;
  font: inherit !important;
  font-size: 16px !important;
}

.tjbapp-general-search-submit {
  min-height: 36px;
  margin: 0 4px;
  padding: 0 13px;
  border: 0;
  border-radius: 10px;
  background: var(--tjbapp-green);
  color: #041b12;
  font-weight: 900;
  cursor: pointer;
}

.tjbapp-general-search-close {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  margin: 0;
  padding: 0;
  border: 0;
  border-radius: 11px;
  background: transparent;
  color: var(--tjbapp-green-ink);
  cursor: pointer;
}

.tjbapp-screen-reader-text {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  padding: 0 !important;
  margin: -1px !important;
  overflow: hidden !important;
  clip: rect(0, 0, 0, 0) !important;
  white-space: nowrap !important;
  border: 0 !important;
}

@media (max-width: 480px) {
  .tjbapp-general-search-wrap {
    grid-template-columns: 30px minmax(0, 1fr) 42px;
  }

  .tjbapp-general-search-submit {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip: rect(0 0 0 0);
    white-space: nowrap;
  }
}

.tjbapp-bottom-nav {
  position: fixed !important;
  z-index: 99990 !important;
  top: auto !important;
  right: auto !important;
  bottom: 0 !important;
  left: 0 !important;
  width: 100% !important;
  min-width: 0 !important;
  max-width: 100% !important;
  min-height: calc(var(--tjbapp-bottom-height) + env(safe-area-inset-bottom, 0px));
  margin: 0 !important;
  padding: 8px 8px env(safe-area-inset-bottom, 0px);
  display: grid !important;
  grid-template-columns: repeat(5, minmax(0, 1fr)) !important;
  grid-auto-flow: column !important;
  gap: 6px;
  overflow: hidden !important;
  box-sizing: border-box !important;
  transform: none !important;
  -webkit-transform: none !important;
  backface-visibility: visible;
  -webkit-backface-visibility: visible;
  contain: none !important;
  will-change: auto !important;
  visibility: visible !important;
  opacity: 1 !important;
  float: none !important;
  background: #ffffff;
  border-top: 1px solid var(--tjbapp-line);
  box-shadow: 0 -8px 24px rgba(3, 64, 34, 0.11);
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
}

.tjbapp-bottom-button {
  width: 100% !important;
  min-width: 0 !important;
  max-width: 100% !important;
  min-height: 54px;
  margin: 0 !important;
  box-sizing: border-box !important;
  padding: 5px 4px;
  border-radius: 15px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 3px;
  color: #34463d;
  background: transparent;
  font-size: 11px;
  font-weight: 850;
  cursor: pointer;
  text-decoration: none !important;
}

.tjbapp-bottom-button svg {
  width: 23px;
  height: 23px;
}

.tjbapp-bottom-button:hover,
.tjbapp-bottom-button:focus-visible,
.tjbapp-bottom-button.is-active,
.tjbapp-bottom-button[aria-expanded="true"] {
  color: #041b12;
  background: rgba(0, 155, 58, 0.14);
}

.tjbapp-bottom-button:nth-child(5).is-active,
.tjbapp-bottom-button:nth-child(5)[aria-expanded="true"] {
  background: rgba(254, 209, 0, 0.28);
}


@media (max-width: 430px) {
  .tjbapp-bottom-nav {
    gap: 3px;
    padding-left: 4px;
    padding-right: 4px;
  }

  .tjbapp-bottom-button {
    padding-left: 2px;
    padding-right: 2px;
    font-size: 9.5px;
    letter-spacing: -0.1px;
  }

  .tjbapp-bottom-button svg {
    width: 21px;
    height: 21px;
  }
}

.tjbapp-overlay {
  position: fixed;
  z-index: 100000;
  inset: 0;
  background: rgba(0, 25, 14, 0.52);
  opacity: 0;
  visibility: hidden;
  pointer-events: none !important;
  transition: opacity 180ms ease, visibility 0s linear 180ms;
}

.tjbapp-overlay.is-visible {
  opacity: 1;
  visibility: visible;
  pointer-events: auto !important;
  transition-delay: 0s;
}

.tjbapp-overlay[hidden] {
  display: none !important;
  opacity: 0 !important;
  visibility: hidden !important;
  pointer-events: none !important;
}

.tjbapp-drawer {
  position: fixed;
  z-index: 100010;
  top: 0;
  bottom: 0;
  width: min(390px, 92vw);
  overflow: auto;
  overscroll-behavior: contain;
  padding: calc(18px + env(safe-area-inset-top, 0px)) 16px calc(28px + env(safe-area-inset-bottom, 0px));
  background: var(--tjbapp-white);
  box-shadow: var(--tjbapp-shadow);
  transition: transform 220ms cubic-bezier(0.22, 0.61, 0.36, 1);
  -webkit-overflow-scrolling: touch;
}

.tjbapp-drawer-left {
  left: 0;
  transform: translateX(-104%);
}

.tjbapp-drawer-right {
  right: 0;
  transform: translateX(104%);
}

.tjbapp-drawer.is-open {
  transform: translateX(0);
}

body.tjbapp-drawer-open {
  overflow: hidden !important;
  touch-action: none;
}

body.tjbapp-drawer-open .tjbapp-topbar {
  pointer-events: none !important;
}

.tjbapp-drawer-head {
  position: sticky;
  top: calc(-18px - env(safe-area-inset-top, 0px));
  z-index: 2;
  min-height: 76px;
  margin: calc(-18px - env(safe-area-inset-top, 0px)) -16px 12px;
  padding: calc(18px + env(safe-area-inset-top, 0px)) 14px 12px 18px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  background: rgba(255, 255, 255, 0.97);
  border-bottom: 1px solid var(--tjbapp-line);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}

.tjbapp-eyebrow {
  display: block;
  color: var(--tjbapp-green-dark);
  font-size: 10px;
  font-weight: 900;
  letter-spacing: 1.4px;
  text-transform: uppercase;
}

.tjbapp-drawer-head h2 {
  margin: 2px 0 0 !important;
  color: var(--tjbapp-black) !important;
  font-size: 27px !important;
  line-height: 1.1 !important;
  font-weight: 900 !important;
  letter-spacing: -0.6px;
}

.tjbapp-panel[hidden] {
  display: none !important;
}

.tjbapp-user-card,
.tjbapp-callout {
  margin: 12px 0 18px;
  padding: 16px;
  border-radius: 18px;
  background: var(--tjbapp-soft);
  border: 1px solid #ccebdc;
}

.tjbapp-user-card {
  display: flex;
  align-items: center;
  gap: 12px;
}


.tjbapp-avatar {
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  flex: 0 0 48px;
  border-radius: 16px;
  background: var(--tjbapp-green);
  color: #072619;
  font-weight: 900;
}


.tjbapp-user-card strong,
.tjbapp-user-card span {
  display: block;
}

.tjbapp-user-card strong {
  font-size: 15px;
}

.tjbapp-user-card span {
  margin-top: 3px;
  color: var(--tjbapp-muted);
  font-size: 12px;
  line-height: 1.4;
}

.tjbapp-callout h3,
.tjbapp-tools h3,
.tjbapp-nav-group h3 {
  margin: 0;
}

.tjbapp-callout h3 {
  font-size: 17px;
  font-weight: 900;
}

.tjbapp-callout p {
  margin: 7px 0 14px;
  color: var(--tjbapp-muted);
  font-size: 13px;
  line-height: 1.55;
}

.tjbapp-callout-yellow {
  background: #fff9d9;
  border-color: #f2dc70;
}

.tjbapp-callout-actions {
  display: grid;
  grid-template-columns: 1fr;
  gap: 10px;
}

.tjbapp-callout-actions .tjbapp-primary-link {
  width: 100%;
}

.tjbapp-primary-link {
  display: inline-flex;
  min-height: 44px;
  padding: 0 16px;
  align-items: center;
  justify-content: center;
  border-radius: 13px;
  color: #062517 !important;
  background: var(--tjbapp-green);
  text-decoration: none !important;
  font-weight: 900;
}

.tjbapp-nav-group {
  margin: 22px 0 0;
}

.tjbapp-nav-group > h3,
.tjbapp-tools > h3 {
  padding: 0 4px 8px;
  color: #516159;
  font-size: 11px;
  font-weight: 900;
  letter-spacing: 1.15px;
  text-transform: uppercase;
}

.tjbapp-nav-group nav {
  overflow: hidden;
  border: 1px solid var(--tjbapp-line);
  border-radius: 18px;
  background: #fff;
}

.tjbapp-nav-link,
.tjbapp-tool-button {
  width: 100%;
  min-height: 63px;
  padding: 10px 12px;
  display: grid;
  grid-template-columns: 42px minmax(0, 1fr) 20px;
  align-items: center;
  gap: 10px;
  color: var(--tjbapp-black) !important;
  background: #fff;
  text-align: left;
  text-decoration: none !important;
}

.tjbapp-nav-link + .tjbapp-nav-link,
.tjbapp-tool-button + .tjbapp-tool-button {
  border-top: 1px solid #e9f2ed;
}

.tjbapp-nav-link:hover,
.tjbapp-nav-link:focus-visible,
.tjbapp-nav-link.is-current,
.tjbapp-tool-button:hover,
.tjbapp-tool-button:focus-visible {
  background: var(--tjbapp-soft);
}

.tjbapp-nav-link.is-current {
  box-shadow: inset 4px 0 0 var(--tjbapp-green);
}

.tjbapp-nav-icon {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border-radius: 13px;
  color: var(--tjbapp-green-ink);
  background: rgba(0, 191, 99, 0.13);
}

.tjbapp-nav-link strong,
.tjbapp-nav-link small,
.tjbapp-tool-button strong,
.tjbapp-tool-button small {
  display: block;
}

.tjbapp-nav-link strong,
.tjbapp-tool-button strong {
  font-size: 14px;
  line-height: 1.25;
  font-weight: 900;
}

.tjbapp-nav-link small,
.tjbapp-tool-button small {
  margin-top: 3px;
  color: var(--tjbapp-muted);
  font-size: 11px;
  line-height: 1.35;
}

.tjbapp-chevron {
  color: #829087;
  font-size: 25px;
  line-height: 1;
}

.tjbapp-tools {
  margin: 22px 0 0;
}

.tjbapp-contact {
  margin: 22px 0 0;
}

.tjbapp-contact > h3 {
  margin: 0;
  padding: 0 4px 8px;
  color: #516159;
  font-size: 11px;
  font-weight: 900;
  letter-spacing: 1.15px;
  text-transform: uppercase;
}

.tjbapp-contact-link {
  width: 100%;
  min-height: 63px;
  padding: 10px 12px;
  display: grid;
  grid-template-columns: 42px minmax(0, 1fr) 20px;
  align-items: center;
  gap: 10px;
  border: 1px solid var(--tjbapp-line);
  border-radius: 18px;
  color: var(--tjbapp-black) !important;
  background: #fff;
  text-align: left;
  text-decoration: none !important;
}

.tjbapp-contact-link:hover,
.tjbapp-contact-link:focus-visible {
  background: var(--tjbapp-soft);
}

.tjbapp-contact-link strong,
.tjbapp-contact-link small {
  display: block;
}

.tjbapp-contact-link strong {
  font-size: 14px;
  line-height: 1.25;
  font-weight: 900;
}

.tjbapp-contact-link small {
  margin-top: 3px;
  color: var(--tjbapp-muted);
  font-size: 11px;
  line-height: 1.35;
}

.tjbapp-tool-button {
  grid-template-columns: 42px minmax(0, 1fr);
  cursor: pointer;
  border: 1px solid var(--tjbapp-line);
}

.tjbapp-tool-button:first-of-type {
  border-radius: 18px 18px 0 0;
}

.tjbapp-tool-button:last-of-type {
  border-radius: 0 0 18px 18px;
}

.tjbapp-tool-button:only-of-type {
  border-radius: 18px;
}

.tjbapp-app-meta {
  margin: 12px 3px 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  color: var(--tjbapp-muted);
  font-size: 11px;
  font-weight: 800;
}

.tjbapp-app-meta > span:first-child {
  display: inline-flex;
  align-items: center;
  gap: 7px;
}

.tjbapp-meta-dot {
  width: 7px;
  height: 7px;
  flex-basis: 7px;
  box-shadow: none;
}

.tjbapp-modal {
  position: fixed;
  z-index: 100030;
  inset: 0;
  padding: 24px;
  display: grid;
  place-items: center;
  background: rgba(0, 25, 14, 0.58);
}

.tjbapp-modal[hidden] {
  display: none !important;
}

.tjbapp-modal-card {
  position: relative;
  width: min(440px, 100%);
  padding: 30px 24px 24px;
  border-radius: 24px;
  background: #fff;
  box-shadow: 0 24px 70px rgba(0, 36, 20, 0.28);
  text-align: center;
}

.tjbapp-modal-card > img {
  width: 84px;
  height: 84px;
  border-radius: 20px;
}

.tjbapp-modal-close {
  position: absolute;
  top: 10px;
  right: 10px;
}

.tjbapp-modal-card h2 {
  margin: 16px 0 8px !important;
  color: var(--tjbapp-black) !important;
  font-size: 25px !important;
  font-weight: 900 !important;
}

.tjbapp-modal-card p,
.tjbapp-ios-steps {
  color: var(--tjbapp-muted);
  font-size: 14px;
  line-height: 1.6;
}

.tjbapp-ios-steps {
  padding-left: 22px;
  text-align: left;
}

.tjbapp-modal-primary {
  min-height: 48px;
  width: 100%;
  margin-top: 8px;
  border-radius: 14px;
  color: #051f14;
  background: var(--tjbapp-green);
  font-weight: 900;
  cursor: pointer;
}

.tjbapp-toast {
  position: fixed;
  z-index: 100040;
  right: 14px;
  bottom: calc(var(--tjbapp-bottom-height) + env(safe-area-inset-bottom, 0px) + 14px);
  left: 14px;
  max-width: 620px;
  margin: 0 auto;
  min-height: 54px;
  padding: 10px 42px 10px 14px;
  display: flex;
  align-items: center;
  gap: 10px;
  border-radius: 16px;
  color: #fff;
  background: #102f22;
  box-shadow: 0 14px 40px rgba(0, 31, 17, 0.3);
  font-size: 13px;
  font-weight: 800;
}

.tjbapp-toast[hidden] {
  display: none !important;
}

.tjbapp-toast [data-tjbapp-toast-action] {
  min-height: 34px;
  padding: 0 12px;
  border-radius: 10px;
  color: #041b12;
  background: var(--tjbapp-yellow);
  font-weight: 900;
  cursor: pointer;
}

.tjbapp-toast-close {
  position: absolute;
  right: 8px;
  width: 32px;
  height: 32px;
  border-radius: 10px;
  color: #fff;
  background: transparent;
  font-size: 23px;
  cursor: pointer;
}

.tjbapp-root :focus-visible {
  outline: 3px solid var(--tjbapp-yellow);
  outline-offset: 2px;
}

@media (min-width: 901px) {
  body.tjbapp-is-standalone .tjbapp-topbar,
  body.tjbapp-mode-everywhere .tjbapp-topbar {
    grid-template-columns: 54px 54px minmax(0, 1fr) 54px 54px !important;
  }
}

/* ==========================================================
 * JAMBus v1.1.12 — landing-page top alignment
 *
 * The landing shortcode independently adds 72px of standalone top
 * padding. The app shell now owns the fixed-header clearance globally,
 * exactly as it does on Customer My Bookings. Override only that duplicate
 * landing padding and retain an 18px content gap beneath the shell header.
 * ========================================================== */
@media (max-width: 900px) {
  body.np-modern-landing.tjbapp-mode-everywhere .np-home-fullbleed .np-home-wrap,
  body.np-modern-landing.tjbapp-mode-mobile_standalone .np-home-fullbleed .np-home-wrap,
  body.np-modern-landing.tjbapp-is-standalone.tjbapp-mode-standalone_only .np-home-fullbleed .np-home-wrap {
    padding-top: 18px !important;
  }
}

@media (max-width: 900px) {
  html {
    width: 100% !important;
    max-width: 100% !important;
    overflow-x: hidden !important;
    overflow-x: clip !important;
  }

  body.tjbapp-enabled {
    width: 100% !important;
    max-width: 100% !important;
    overflow-x: hidden !important;
    overflow-x: clip !important;
    overscroll-behavior-x: none;
  }

  /* Extra protection for the JAMBus landing page, whose full-width hero
     can otherwise expose off-canvas shell elements during a horizontal swipe. */
  body.home.tjbapp-enabled,
  body.front-page.tjbapp-enabled {
    overflow-x: hidden !important;
    overflow-x: clip !important;
  }
}

@media (prefers-reduced-motion: reduce) {
  .tjbapp-drawer,
  .tjbapp-overlay {
    transition: none;
  }
}


/* ==========================================================
 * JAMBus v1.1.4 — in-app notification ON/OFF switch
 * Uses the existing JAMBus green/black/white palette only.
 * ========================================================== */
.tjbapp-notification-toggle {
  grid-template-columns: 42px minmax(0, 1fr) auto;
}

.tjbapp-notification-toggle[aria-busy="true"] {
  cursor: wait;
}

.tjbapp-notification-toggle[aria-busy="true"] .tjbapp-notification-switch-ui {
  opacity: .65;
}

.tjbapp-notification-switch-ui {
  min-width: 64px;
  display: inline-grid;
  justify-items: center;
  gap: 4px;
}

.tjbapp-notification-switch-track {
  position: relative;
  display: block;
  width: 48px;
  height: 28px;
  border: 2px solid #7b8780;
  border-radius: 999px;
  background: #eef3f0;
  box-sizing: border-box;
  transition: background-color .18s ease, border-color .18s ease;
}

.tjbapp-notification-switch-knob {
  position: absolute;
  top: 3px;
  left: 3px;
  width: 18px;
  height: 18px;
  border-radius: 999px;
  background: #fff;
  box-shadow: 0 1px 4px rgba(0,0,0,.22);
  transition: transform .18s ease;
}

.tjbapp-notification-switch-text {
  color: #59655f;
  font-size: 10px;
  line-height: 1;
  font-weight: 1000;
  letter-spacing: .7px;
}

.tjbapp-notification-toggle[data-notification-state="on"] .tjbapp-notification-switch-track {
  border-color: var(--tjbapp-green);
  background: var(--tjbapp-green);
}

.tjbapp-notification-toggle[data-notification-state="on"] .tjbapp-notification-switch-knob {
  transform: translateX(20px);
}

.tjbapp-notification-toggle[data-notification-state="on"] .tjbapp-notification-switch-text {
  color: var(--tjbapp-green-ink);
}

.tjbapp-notification-toggle[data-notification-state="blocked"] .tjbapp-notification-switch-track,
.tjbapp-notification-toggle[data-notification-state="unsupported"] .tjbapp-notification-switch-track {
  opacity: .58;
}

.tjbapp-notification-toggle[aria-disabled="true"] {
  cursor: not-allowed;
}

@media (prefers-reduced-motion: reduce) {
  .tjbapp-notification-switch-track,
  .tjbapp-notification-switch-knob {
    transition: none;
  }
}

@media (max-width: 360px) {
  .tjbapp-notification-toggle {
    grid-template-columns: 38px minmax(0, 1fr) auto;
    gap: 7px;
  }

  .tjbapp-notification-switch-ui {
    min-width: 56px;
  }

  .tjbapp-notification-switch-track {
    width: 44px;
    height: 26px;
  }

  .tjbapp-notification-switch-knob {
    width: 16px;
    height: 16px;
  }

  .tjbapp-notification-toggle[data-notification-state="on"] .tjbapp-notification-switch-knob {
    transform: translateX(18px);
  }
}


.tjbapp-bottom-pings.is-active {
  color: #041b12;
  background: rgba(0, 155, 58, 0.14);
}


/* ==========================================================
 * JAMBus v1.1.15 — iPhone/iOS close-control visibility fix
 * Keep the existing close control visually identical across
 * WebKit/iOS and Android without altering drawer architecture.
 * ========================================================== */
.tjbapp-root .tjbapp-close,
.tjbapp-root .tjbapp-close:hover,
.tjbapp-root .tjbapp-close:focus,
.tjbapp-root .tjbapp-close:focus-visible,
.tjbapp-root .tjbapp-close:active {
  -webkit-appearance: none !important;
  appearance: none !important;
  background: #111111 !important;
  color: #ffffff !important;
  -webkit-text-fill-color: #ffffff !important;
  opacity: 1 !important;
  visibility: visible !important;
  filter: none !important;
  -webkit-filter: none !important;
  mix-blend-mode: normal !important;
}

.tjbapp-root .tjbapp-close svg,
.tjbapp-root .tjbapp-close svg * {
  opacity: 1 !important;
  visibility: visible !important;
  stroke: #ffffff !important;
  color: #ffffff !important;
  fill: none !important;
  filter: none !important;
  -webkit-filter: none !important;
}


/* ==========================================================
 * JAMBus v1.1.16 — iPhone/WebKit close-X hardening only
 * The visible X is drawn independently of the SVG/currentColor
 * pipeline so iOS cannot wash it out against white drawer cards.
 * ========================================================== */
.tjbapp-root .tjbapp-close,
.tjbapp-root .tjbapp-close:hover,
.tjbapp-root .tjbapp-close:focus,
.tjbapp-root .tjbapp-close:focus-visible,
.tjbapp-root .tjbapp-close:active {
  position: relative !important;
  -webkit-appearance: none !important;
  appearance: none !important;
  background-color: #2d2d2d !important;
  background-image: none !important;
  border: 0 !important;
  color: #ffffff !important;
  -webkit-text-fill-color: #ffffff !important;
  opacity: 1 !important;
  visibility: visible !important;
  filter: none !important;
  -webkit-filter: none !important;
  mix-blend-mode: normal !important;
}

.tjbapp-root .tjbapp-close > svg {
  visibility: hidden !important;
  opacity: 0 !important;
}

.tjbapp-root .tjbapp-close::before,
.tjbapp-root .tjbapp-close::after {
  content: "" !important;
  position: absolute !important;
  left: 50% !important;
  top: 50% !important;
  width: 22px !important;
  height: 3px !important;
  margin: 0 !important;
  padding: 0 !important;
  border: 0 !important;
  border-radius: 999px !important;
  background: #ffffff !important;
  opacity: 1 !important;
  visibility: visible !important;
  z-index: 2 !important;
  pointer-events: none !important;
  transform-origin: center !important;
  -webkit-transform-origin: center !important;
  box-shadow: none !important;
  filter: none !important;
  -webkit-filter: none !important;
}

.tjbapp-root .tjbapp-close::before {
  transform: translate(-50%, -50%) rotate(45deg) !important;
  -webkit-transform: translate(-50%, -50%) rotate(45deg) !important;
}

.tjbapp-root .tjbapp-close::after {
  transform: translate(-50%, -50%) rotate(-45deg) !important;
  -webkit-transform: translate(-50%, -50%) rotate(-45deg) !important;
}


/* ==========================================================
 * JAMBus v1.1.17 — iOS/iPadOS standalone pull-to-refresh
 * Indicator is created only by the iOS Home Screen PWA logic.
 * ========================================================== */
.tjbapp-ios-pull-refresh {
  --tjbapp-pull-progress: 0;
  position: fixed;
  z-index: 100004;
  top: calc(var(--tjbapp-top-height) + env(safe-area-inset-top, 0px) + 8px);
  left: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  min-height: 36px;
  max-width: calc(100vw - 32px);
  padding: 7px 12px;
  border: 1px solid var(--tjbapp-line);
  border-radius: 999px;
  background: #ffffff;
  color: var(--tjbapp-green-ink);
  box-shadow: 0 7px 20px rgba(3, 64, 34, 0.14);
  font: 800 12px/1.2 system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  white-space: nowrap;
  pointer-events: none;
  opacity: 0;
  visibility: hidden;
  transform: translate3d(-50%, -12px, 0);
  transition: opacity .14s ease, transform .14s ease, visibility .14s ease;
  -webkit-user-select: none;
  user-select: none;
}

.tjbapp-ios-pull-refresh.is-visible {
  opacity: 1;
  visibility: visible;
}

.tjbapp-ios-pull-refresh.is-ready {
  border-color: var(--tjbapp-green);
  background: var(--tjbapp-soft);
}

.tjbapp-ios-pull-refresh-icon {
  display: inline-grid;
  place-items: center;
  width: 20px;
  height: 20px;
  color: var(--tjbapp-green-ink);
  font-size: 19px;
  font-weight: 1000;
  line-height: 1;
  transform-origin: 50% 50%;
}

.tjbapp-ios-pull-refresh.is-refreshing .tjbapp-ios-pull-refresh-icon {
  animation: tjbappIOSPullRefreshSpin .72s linear infinite;
}

@keyframes tjbappIOSPullRefreshSpin {
  to { transform: rotate(360deg); }
}

body.tjbapp-adminbar-visible .tjbapp-ios-pull-refresh {
  top: calc(32px + var(--tjbapp-top-height) + env(safe-area-inset-top, 0px) + 8px);
}

@media (max-width: 782px) {
  body.tjbapp-adminbar-visible .tjbapp-ios-pull-refresh {
    top: calc(46px + var(--tjbapp-top-height) + env(safe-area-inset-top, 0px) + 8px);
  }
}

@media (prefers-reduced-motion: reduce) {
  .tjbapp-ios-pull-refresh {
    transition: none;
  }

  .tjbapp-ios-pull-refresh.is-refreshing .tjbapp-ios-pull-refresh-icon {
    animation: none;
  }
}


/* JAMBus native operator/driver pages print their own compact top bar. When
 * the PWA shell is visible on mobile, the PWA header is the single app header. */
@media (max-width: 900px) {
  body.tjbapp-mode-everywhere .tjb-topbar,
  body.tjbapp-mode-mobile_standalone .tjb-topbar,
  body.tjbapp-is-standalone.tjbapp-mode-standalone_only .tjb-topbar {
    display: none !important;
  }
}

/* Full-height, independently scrollable drawers on short phones and devices
 * with browser/home-indicator safe areas. */
.tjbapp-drawer {
  height: 100vh;
  height: 100dvh;
  max-height: 100vh;
  max-height: 100dvh;
  overflow-y: auto !important;
  overflow-x: hidden !important;
  touch-action: pan-y;
  scrollbar-gutter: stable;
}

@supports (-webkit-touch-callout: none) {
  .tjbapp-drawer {
    min-height: -webkit-fill-available;
  }
}
