#truetech-toolbar-notice {
  --tttn-ink: #2b2b2f;
  --tttn-brand-red: #ed2034;
  --tttn-action-red: #be182b;
  --tttn-heading: 'General Sans', system-ui, Arial, sans-serif;
  font-family: Manrope, Arial, Helvetica, sans-serif;
  isolation: isolate;
  display: block;
  width: 100%;
  clear: both;
  position: sticky;
  top: var(--tttn-top-inset, 0px);
  z-index: 0;
  clip-path: inset(0 0 calc(100% - var(--tttn-visible-height, 100%)) 0);
  max-height: max(0px, calc(100dvh - var(--tttn-top-inset, 0px) - var(--tttn-bottom-inset, 0px) - var(--tttn-nav-height, 0px) - min(160px, 25dvh)));
  overflow-y: auto;
}

/* Let navigation slide over the notice, then pin directly below the toolbars. */
header#site-header[data-tttn-stack] {
  position: sticky !important;
  top: var(--tttn-nav-top, 0px) !important;
  z-index: 2147483646;
  background-color: var(--tttn-nav-bg, Canvas);
}

/* Foxiz's inner smart-sticky sections stay within the coordinated header. */
header#site-header[data-tttn-stack] .e-section-sticky {
  position: relative !important;
  inset: auto !important;
  transform: none !important;
}

#truetech-toolbar-notice *, #truetech-toolbar-notice *::before, #truetech-toolbar-notice *::after { box-sizing: border-box; }
#truetech-toolbar-notice [hidden] { display: none !important; }
#truetech-toolbar-notice :is(h2, h3, p, dl, dd) { margin: 0; }

#truetech-toolbar-overlays {
  position: fixed;
  inset: 0;
  width: 100%;
  height: 100%;
  max-width: none;
  max-height: none;
  margin: 0;
  padding: 0;
  border: 0;
  border-radius: 0;
  overflow: visible;
  background: transparent;
  pointer-events: none;
  z-index: 2147483647;
  font-family: Manrope, Arial, Helvetica, sans-serif;
}

#truetech-toolbar-overlays::backdrop { background: transparent; pointer-events: none; }
#truetech-toolbar-overlays [hidden] { display: none !important; }
#truetech-toolbar-overlays .tttn-toolbar-label {
  position: absolute;
  box-sizing: border-box;
  display: flex;
  align-items: center;
  gap: 9px;
  padding: 0 10px;
  border: 1px solid #edc7d2;
  border-inline-start: 4px solid #ed2034;
  border-radius: 0;
  background: white;
  color: #2b2b2f;
  font-size: 16px;
  font-weight: 700;
  line-height: 1.25;
  pointer-events: none;
  box-shadow: 0 1px 3px #2b2b2f21;
  overflow: hidden;
}

#truetech-toolbar-overlays .tttn-wordmark {
  flex: 0 0 92px;
  aspect-ratio: 600 / 120;
  background: url('wordmark.png') right top / 133.5% 100% no-repeat;
}

#truetech-toolbar-overlays .tttn-overlay-copy { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
#truetech-toolbar-overlays .tttn-compact { font-size: 14px; gap: 6px; padding-inline: 6px; }
#truetech-toolbar-overlays .tttn-compact .tttn-wordmark { flex-basis: 60px; }
#truetech-toolbar-overlays .tttn-thin { font-size: 12px; }
#truetech-toolbar-overlays .tttn-vertical { flex-direction: column; justify-content: center; padding: 2px; gap: 3px; }
#truetech-toolbar-overlays .tttn-vertical .tttn-wordmark { flex: none; width: 44px; }

#truetech-toolbar-notice .tttn-notice {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr);
  gap: clamp(18px, 3.3vw, 36px);
  align-items: center;
  padding: clamp(19px, 4vw, 38px);
  color: white;
  background: radial-gradient(ellipse at top right, #bd1732 0%, transparent 55%),
    linear-gradient(115deg, #820b28 0%, #ad1931 62%, #8a1129 100%);
}

#truetech-toolbar-notice .tttn-kicker {
  display: flex;
  gap: 9px;
  align-items: center;
  margin-bottom: 14px;
  font-size: .8125rem;
  font-weight: 700;
}

#truetech-toolbar-notice .tttn-kicker span {
  display: inline-grid;
  place-items: center;
  width: 24px;
  height: 24px;
  color: #820b28;
  background: white;
}

#truetech-toolbar-notice h2 {
  max-width: 19ch;
  color: white;
  font: 700 clamp(1.75rem, 4.4vw, 3rem)/1 var(--tttn-heading);
  text-wrap: balance;
}

#truetech-toolbar-notice .tttn-description {
  max-width: 43ch;
  margin-top: 14px;
  color: #fff0f4;
  font-size: clamp(.9375rem, 1.8vw, 1.125rem);
  line-height: 1.7;
}

#truetech-toolbar-notice .tttn-figures {
  padding: clamp(14px, 2.2vw, 22px);
  border: 1px solid #f0dfe5;
  color: var(--tttn-ink);
  background: #fffbfc;
}

#truetech-toolbar-notice h3 {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px 10px;
  color: var(--tttn-ink);
  font: 700 1rem/1.4 var(--tttn-heading);
}

#truetech-toolbar-notice .tttn-source { display: inline-flex; align-items: center; gap: 5px; padding: 3px 6px; color: #00b9a3; background: #002e29; font: 700 .75rem/1.4 Manrope, Arial, sans-serif; }
#truetech-toolbar-notice .tttn-source svg { flex: none; width: 18px; height: 18px; }
#truetech-toolbar-notice .tttn-stats { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 10px; margin: 13px 0 15px; }
#truetech-toolbar-notice .tttn-stats > div { display: flex; flex-direction: column; gap: 3px; }
#truetech-toolbar-notice .tttn-stats > div + div { border-inline-start: 1px solid #e6dde1; padding-inline-start: 10px; }
#truetech-toolbar-notice .tttn-stats dt { order: 1; color: #655c63; font-size: .8125rem; }
#truetech-toolbar-notice .tttn-stats dd { font: 700 clamp(1.65rem, 4vw, 2.45rem)/1 var(--tttn-heading); }

#truetech-toolbar-notice .tttn-link {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 10px;
  min-height: 44px;
  padding: 10px 15px;
  border-radius: 0;
  background: var(--tttn-action-red);
  color: white;
  font-size: .9375rem;
  font-weight: 700;
  text-decoration: none;
  transition: background-color .2s ease;
}

#truetech-toolbar-notice .tttn-link span { transition: transform .2s ease; }
#truetech-toolbar-notice .tttn-link:is(:hover, :focus-visible) { background: var(--tttn-ink); }
#truetech-toolbar-notice .tttn-link:focus-visible { outline: 2px solid var(--tttn-ink); outline-offset: 3px; }
#truetech-toolbar-notice .tttn-link:is(:hover, :focus-visible) span { transform: translateX(5px); }

@media (max-width: 670px) {
  #truetech-toolbar-notice .tttn-notice { grid-template-columns: 1fr; }
  #truetech-toolbar-notice .tttn-toolbar-label { justify-content: flex-start; }
}

@media (prefers-reduced-motion: reduce) {
  #truetech-toolbar-notice .tttn-link, #truetech-toolbar-notice .tttn-link span { transition: none; }
  #truetech-toolbar-notice .tttn-link:is(:hover, :focus-visible) span { transform: none; }
}
