/* Layout shared by the three design pilot pages. */
body.thermal-design {
  --design-ink: #20242c;
  --design-muted: #475467;
  --design-accent: #a81524;
  --design-accent-hover: #86101d;
  --design-border: #d0d5dd;
  --design-panel: #f6f7f9;
  font-size: 1rem;
  line-height: 1.6;
}
.thermal-design main h1 {
  font-size: clamp(1.875rem, 1.25rem + 2.6vw, 3.125rem);
  line-height: 1.12;
  letter-spacing: -.035em;
  overflow-wrap: anywhere;
  margin-block: .35em .55em;
}
.thermal-design main h2 { line-height: 1.25; overflow-wrap: anywhere; }
.thermal-design main :is(input:not([type]), input[type="text"], input[type="search"], select, textarea) { font-size: 1rem; }
.thermal-design :is(a, button, input, select, textarea, summary):focus-visible {
  outline: 3px solid #174b8f;
  outline-offset: 3px;
  box-shadow: 0 0 0 2px #fff;
}
.thermal-design .site-header > .wrap > nav { flex-wrap: wrap; gap: .25rem .55rem; }
.thermal-design .site-header > .wrap > nav a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  line-height: 1.3;
}
.thermal-design .site-header [aria-current="page"] {
  color: var(--design-accent);
  text-decoration: underline;
  text-underline-offset: .3em;
}
.thermal-design .header-widget { min-width: 0; }
.thermal-design .header-widget-arrow { display: none; }
.thermal-design .header-widget strong { font-size: .9375rem; }
.thermal-design .header-widget small { font-size: .8125rem; line-height: 1.45; }
.thermal-design :is(.home-intro-actions, .journey-nav, .product-download-shortcuts) {
  gap: .5rem;
  margin-block: 1rem;
}
.thermal-design :is(.home-intro-actions a, .home-intro-categories a, .journey-nav a, .product-download-shortcuts a, .product-navigation a, .design-buy) {
  min-height: 44px;
  max-width: 100%;
  box-sizing: border-box;
  line-height: 1.35;
  overflow-wrap: anywhere;
}
.thermal-design :is(.home-intro-actions a, .journey-nav a, .product-download-shortcuts a, .design-buy) {
  border: 1px solid var(--design-border);
  border-radius: .625rem;
  background: #fff;
  color: var(--design-ink);
  font-size: .9375rem;
  font-weight: 700;
  text-decoration: none;
}
.thermal-design :is(.home-intro-actions a, .journey-nav a, .product-download-shortcuts a, .design-buy):hover {
  background: var(--design-panel);
  text-decoration: underline;
  text-underline-offset: .2em;
}
.thermal-design :is(.home-intro-actions a:first-child, .journey-nav a:first-child, .design-buy) {
  border-color: var(--design-accent);
  background: var(--design-accent);
  color: #fff;
}
.thermal-design :is(.home-intro-actions a:first-child, .journey-nav a:first-child, .design-buy):hover {
  background: var(--design-accent-hover);
  color: #fff;
}
.thermal-design .home-intro .home-intro-description {
  max-width: 58ch;
  font-size: 1.0625rem;
  line-height: 1.55;
}
.thermal-design .home-intro .direct-entry { margin-block: 1.15rem .75rem; }
.thermal-design .home-intro .direct-entry p { margin-block: 0 .35rem; }
.thermal-design .home-intro-categories a { display: inline-flex; align-items: center; }
.thermal-design #site-main #device-resources {
  background: var(--design-panel);
  border-color: var(--design-border) !important; /* Replaces the legacy inline currentColor. */
}
.thermal-design #site-main #device-resources p { margin-block: .35rem; }
.thermal-design #directory-tools { scroll-margin-top: 1rem; }
.thermal-design .directory-controls :is(input, select, button), .thermal-design .directory-actions button { min-height: 44px; }
.thermal-design #product .breadcrumb {
  color: var(--design-muted);
  font-size: .875rem;
  margin-block: 1rem;
  overflow-wrap: anywhere;
}
.thermal-design #product .breadcrumb a { text-underline-offset: .2em; }
.thermal-design #product .design-direct {
  border: 1px solid var(--design-border);
  border-radius: .75rem;
  padding: clamp(1rem, 3vw, 1.5rem);
  background: var(--design-panel);
  color: var(--design-ink);
  margin-block: 1rem;
}
.thermal-design #product .design-direct h2 { margin: 0 0 .6rem; }
.thermal-design #product .design-direct p { margin-block: .45rem; }
.thermal-design #product .design-direct p:last-child { margin-block: .8rem 0; }
.thermal-design .design-buy { display: inline-flex; align-items: center; padding: .65rem .95rem; }
.thermal-design .product-navigation a { display: inline-flex; align-items: center; }
@media (max-width: 540px) {
  .thermal-design .site-header > .wrap > nav { gap: .125rem .45rem; }
  .thermal-design .header-widget strong { font-size: .875rem; }
  .thermal-design .header-widget small { display: none; }
  .thermal-design .site-header .header-widgets .header-widget {
    min-height: 60px; align-items: center; padding-block: .5rem;
  }
  .thermal-design .home-intro-actions { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .thermal-design .home-intro-actions a { justify-content: center; text-align: center; padding-inline: .55rem; }
  .thermal-design .product-download-shortcuts { display: grid; grid-template-columns: minmax(0, 1fr); }
}
@media (forced-colors: active) {
  .thermal-design :is(a, button, input, select, textarea, summary):focus-visible { outline-color: Highlight; }
}

/* Keep the mobile chat entry in the page flow, above the fixed contact bar. */
@media (max-width: 760px) {
  .thermal-design > :is(.tawk-launch, .tawk-fallback):not([hidden]) {
    position: static;
    display: flex;
    align-items: center;
    justify-content: center;
    box-sizing: border-box;
    min-height: 44px;
    max-width: calc(100% - 2rem);
    margin: .75rem auto;
    font-size: .875rem;
    line-height: 1.35;
    text-align: center;
  }
  .thermal-design > .tawk-launch:not([hidden]):has(+ .tawk-fallback[hidden]),
  .thermal-design > .tawk-fallback:not([hidden]) {
    margin-bottom: calc(5rem + env(safe-area-inset-bottom));
  }
}

/* Search, product overview and contact on the three pilot pages. */
.thermal-design .home-intro .direct-entry,
.thermal-design .journey-catalog-support {
  margin-block: 1.5rem;
}
.thermal-design .journey-model-search {
  max-width: 36rem;
  margin-block: 1.1rem;
}
.thermal-design .journey-model-search label {
  display: block;
  margin-bottom: .35rem;
  font-size: .9375rem;
  font-weight: 700;
}
.thermal-design .journey-model-search > div {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: .5rem;
}
.thermal-design .journey-model-search :is(input, button) {
  box-sizing: border-box;
  min-width: 0;
  min-height: 44px;
  padding: .55rem .75rem;
  border: 1px solid #8993a2;
  border-radius: .5rem;
  color: var(--design-ink);
  background: #fff;
  font: inherit;
}
.thermal-design .journey-model-search button {
  font-size: .875rem;
  font-weight: 700;
  cursor: pointer;
}
.thermal-design .journey-model-search button:hover {
  background: var(--design-panel);
}
.thermal-design .task-entry-card {
  border-color: var(--design-border);
  border-radius: .875rem;
}
.thermal-design .task-entry-card h3 {
  line-height: 1.25;
}
.thermal-design .task-entry-card .task-entry-tag {
  font-size: .8125rem;
  line-height: 1.4;
  letter-spacing: .055em;
}
.thermal-design .task-entry-help {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  text-underline-offset: .2em;
}
.thermal-design .catalog-overview-card {
  border-color: var(--design-border);
  border-radius: .75rem;
}
.thermal-design #directory-tools {
  margin-block: 1.25rem;
  padding: clamp(1rem, 3vw, 1.5rem);
  border: 1px solid var(--design-border);
  border-radius: .875rem;
  background: var(--design-panel);
}
.thermal-design .directory-controls {
  align-items: end;
  gap: .75rem;
}
.thermal-design .directory-controls label {
  min-width: 0;
  color: var(--design-ink);
  font-weight: 650;
}
.thermal-design .directory-controls :is(select, input) {
  width: 100%;
  min-width: 0;
  border: 1px solid #8993a2;
  border-radius: .5rem;
  background-color: #fff;
}
.thermal-design .directory-actions [aria-pressed="true"] {
  border-color: var(--design-ink);
  background: var(--design-ink);
  color: #fff;
}
.thermal-design #directory-count {
  margin-block: .75rem 0;
  font-weight: 700;
}
.thermal-design .journey-catalog-support {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: .75rem 1rem;
}
.thermal-design #site-main .journey-catalog-support > * {
  min-width: 0;
  margin: 0;
}
.thermal-design .journey-catalog-support .catalog-material-links {
  grid-column: 1 / -1;
}
.thermal-design .journey-catalog-support [data-national-order] {
  grid-column: 1 / -1;
}
.thermal-design .journey-catalog-support #device-resources a {
  text-decoration: underline;
  text-underline-offset: .18em;
}
.thermal-design .journey-specs {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: .5rem;
  margin-block: 0 1rem;
}
.thermal-design .journey-specs > div {
  padding: .65rem clamp(.35rem, 1.5vw, .875rem);
  border: 1px solid var(--design-border);
  border-radius: .625rem;
  background: var(--design-panel);
  text-align: center;
}
.thermal-design .journey-specs dt {
  color: var(--design-muted);
  font-size: .8125rem;
  line-height: 1.35;
  overflow-wrap: anywhere;
}
.thermal-design .journey-specs dd {
  margin: .25rem 0 0;
  font-size: clamp(.9375rem, 2vw, 1.2rem);
  font-weight: 750;
}
.thermal-design .product-layout figure {
  min-width: 0;
}
.thermal-design .product-navigation {
  padding-block: .75rem;
  border-block: 1px solid var(--design-border);
}
.thermal-design .journey-preview:not([hidden]) {
  margin-top: 1rem;
  padding: clamp(.875rem, 3vw, 1.25rem);
  border: 1px solid var(--design-border);
  border-radius: .75rem;
  background: var(--design-panel);
  color: var(--design-ink);
}
.thermal-design .journey-preview textarea {
  box-sizing: border-box;
  max-width: 100%;
  min-height: 8rem;
}
.thermal-design .site-utility-footer {
  line-height: 1.6;
  overflow-wrap: anywhere;
}
@media (max-width: 760px) {
  .thermal-design .journey-catalog-support { grid-template-columns: minmax(0, 1fr); }
  .thermal-design #directory-tools .directory-controls {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .thermal-design #directory-tools .directory-controls label:first-child {
    grid-column: 1 / -1;
  }
  .thermal-design .site-utility-footer {
    padding-inline: 1rem;
  }
}
