/* The hub can also be served inside the existing WindowTint.org site shell. */
body:has(> .wt-header) {
  margin: 0;
  background: #fafcfc;
}
.wt-tools, .wt-header, .wt-footer, .wt-skip {
  --wt-ink: #152e3d;
  --wt-muted: #415965;
  --wt-link: #075975;
  --wt-teal: #125b57;
  --wt-line: #cbd9d9;
  --wt-width: 76rem;
  --wt-gutter: clamp(1rem, 4vw, 3.25rem);
  box-sizing: border-box;
  color: var(--wt-ink);
  font: 1rem/1.55 Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif;
  text-align: start;
}
.wt-tools *, .wt-tools *::before, .wt-tools *::after,
.wt-header *, .wt-footer * { box-sizing: border-box; }
.wt-tools [hidden] { display: none !important; }
.wt-tools {
  background: #fafcfc;
  overflow-wrap: break-word;
}
.wt-tools a, .wt-header a, .wt-footer a, .wt-skip {
  color: var(--wt-link);
  text-decoration: underline;
  text-decoration-thickness: .085em;
  text-underline-offset: .19em;
}
.wt-tools a:hover, .wt-footer a:hover { color: var(--wt-teal); text-decoration-thickness: .15em; }
.wt-tools :focus-visible, .wt-header :focus-visible, .wt-footer :focus-visible, .wt-skip:focus {
  outline: 3px solid #097796;
  outline-offset: 3px;
}
.wt-skip {
  position: absolute;
  z-index: 10;
  inset: .5rem auto auto .5rem;
  transform: translateY(-180%);
  padding: .65rem 1.1rem;
  border-radius: .35rem;
  background: white;
}
.wt-skip:focus { transform: none; }
.wt-header, .wt-footer { background: #fff; }
.wt-header { border-bottom: 1px solid var(--wt-line); }
.wt-header > div, .wt-footer > div, .wt-inner {
  width: 100%;
  max-width: var(--wt-width);
  margin-inline: auto;
  padding-inline: var(--wt-gutter);
}
.wt-header > div, .wt-footer > div {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: .3rem 1.75rem;
  padding-block: .75rem;
}
.wt-header .wt-brand {
  font-size: 1.42rem;
  font-weight: 780;
  letter-spacing: -.055em;
  text-decoration: none;
  color: var(--wt-ink);
}
.wt-header nav { display: flex; flex-wrap: wrap; gap: .3rem 1.25rem; }
.wt-header nav a, .wt-section-nav a {
  display: inline-flex;
  align-items: center;
  min-height: 2.5rem;
  font-size: .94rem;
  font-weight: 650;
}
.wt-header nav a { color: var(--wt-muted); text-decoration: none; }
.wt-header nav a:hover { text-decoration: underline; }
.wt-inner { padding-block: 1.1rem clamp(2.8rem, 6vw, 5rem); }
.wt-tools .wt-crumb { margin: 0 0 .9rem; font-size: .86rem; }
.wt-crumb ol { display: flex; flex-wrap: wrap; align-items: baseline; gap: .25em .6em; }
.wt-crumb ol, .wt-cards, .wt-small-list, .wt-official, .wt-result-list {
  list-style: none;
  margin: 0;
  padding: 0;
}
.wt-crumb li, .wt-tools .wt-cards > li, .wt-small-list li, .wt-official li, .wt-result-list li {
  margin: 0;
}
.wt-crumb li { color: var(--wt-muted); }
.wt-crumb li + li::before {
  display: inline-block;
  height: .8em;
  margin-right: .6em;
  border-left: 1px solid #849a9c;
  transform: skew(-20deg);
  content: "";
}
.wt-tools .wt-intro {
  padding: clamp(1.4rem, 4.7vw, 3.75rem);
  border-radius: .7rem;
  background: #142e40;
  color: #fff;
}
.wt-intro h1, .wt-section h2, .wt-section h3 {
  margin: 0;
  color: inherit;
  font-family: inherit;
  line-height: 1.12;
}
.wt-intro h1 {
  max-width: 29ch;
  font-size: clamp(2.15rem, 4.5vw, 3.95rem);
  font-weight: 740;
  letter-spacing: -.048em;
  text-wrap: balance;
}
.wt-tools .wt-intro p {
  max-width: 71ch;
  margin: .9rem 0 0;
  color: #e0eced;
  font-size: clamp(1.02rem, 1.65vw, 1.2rem);
  line-height: 1.55;
}
.wt-address {
  margin-top: 1.2rem;
  border-left: 3px solid #8cd4c3;
  padding-left: .9rem;
  font-style: normal;
  color: #fff;
}
.wt-intro .wt-address a, .wt-intro .wt-address a:hover { color: #fff; }
.wt-tools .wt-section-nav {
  display: flex;
  gap: 0 clamp(.9rem, 3vw, 2.4rem);
  flex-wrap: wrap;
  margin: 0;
  border-bottom: 1px solid var(--wt-line);
  padding-block: .45rem;
}
.wt-section-nav a { color: var(--wt-teal); }
.wt-tools .wt-section { margin: clamp(1.85rem, 4vw, 3.1rem) 0 0; padding: 0; }
.wt-section h2 {
  margin-bottom: .8rem;
  color: var(--wt-ink);
  font-size: clamp(1.4rem, 2.65vw, 2.05rem);
  font-weight: 720;
  letter-spacing: -.032em;
}
.wt-section h3 { font-size: 1.08rem; }
.wt-section > p { max-width: 76ch; margin: .6rem 0; }
.wt-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 20rem), 1fr));
  align-items: stretch;
  gap: .8rem;
}
.wt-tools .wt-cards > li {
  min-width: 0;
  border: 1px solid var(--wt-line);
  border-radius: .55rem;
  background: #fff;
  padding: 1.05rem 1.15rem;
}
.wt-cards > li > a:first-child, .wt-result-list li > a { font-size: 1.06rem; font-weight: 690; }
.wt-cards > li p, .wt-result-list p {
  margin: .45rem 0 0;
  line-height: 1.53;
  font-size: .96rem;
  color: var(--wt-muted);
}
.wt-cards > li:target { outline: 3px solid var(--wt-teal); outline-offset: 2px; scroll-margin-top: 1rem; }
.wt-tools .wt-small-list, .wt-tools .wt-official {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: .4rem .7rem;
}
.wt-small-list a, .wt-official a {
  display: inline-block;
  padding: .5rem .75rem;
  border: 1px solid var(--wt-line);
  border-radius: .35rem;
  background: #fff;
  font-weight: 600;
}
.wt-official a { border-color: #a8c8c1; background: #edf6f2; color: #125651; }
.wt-small-list a:hover, .wt-official a:hover { border-color: var(--wt-teal); }
.wt-cards .wt-official { margin-top: .75rem; }
.wt-tools .wt-filter {
  margin-top: 1.4rem;
  border: 1px solid #b5c9c8;
  border-top: 3px solid var(--wt-teal);
  border-radius: .55rem;
  background: #fff;
  padding: clamp(1rem, 2.8vw, 1.7rem);
}
.wt-filter label { color: var(--wt-ink); font-weight: 680; }
.wt-search-fields > label { display: block; font-size: 1.12rem; }
.wt-controls {
  display: flex;
  flex-wrap: wrap;
  align-items: end;
  gap: .55rem .75rem;
  margin-top: .5rem;
}
.wt-controls input, .wt-controls select, .wt-filter button {
  margin: 0;
  border: 1px solid #8aa2a4;
  border-radius: .35rem;
  background: #fff;
  color: var(--wt-ink);
  font: inherit;
  letter-spacing: normal;
  text-transform: none;
}
.wt-controls input, .wt-controls select, .wt-controls button {
  min-height: 2.8rem;
  min-width: 0;
  padding: .55rem .75rem;
}
.wt-controls input { flex: 1 1 18rem; width: auto; }
.wt-controls label { display: flex; flex-direction: column; gap: .2rem; font-size: .85rem; }
.wt-controls select { width: 100%; font-size: 1rem; }
.wt-controls button, .wt-filter .wt-more { font-weight: 650; }
.wt-filter button { cursor: pointer; }
.wt-filter button:hover:enabled { border-color: var(--wt-teal); background: #edf6f2; }
.wt-filter button:disabled { opacity: .6; cursor: default; }
.wt-examples { display: flex; flex-wrap: wrap; align-items: center; gap: .25rem .8rem; margin-top: .65rem; }
.wt-examples span { color: var(--wt-muted); font-size: .9rem; }
.wt-examples button {
  border-color: transparent;
  padding: .2rem .15rem;
  font-size: .92rem;
  color: var(--wt-link);
  font-weight: 620;
  text-decoration: underline;
  text-underline-offset: .2em;
}
.wt-filter [data-wt-status] { margin: .8rem 0 0; color: var(--wt-muted); font-size: .92rem; }
.wt-filter [data-wt-status]:empty { margin: 0; }
.wt-result-list { border-top: 1px solid var(--wt-line); margin-top: .7rem; }
.wt-result-list li { padding: .85rem .15rem; border-bottom: 1px solid var(--wt-line); }
.wt-result-list p { max-width: 84ch; margin-top: .18rem; }
.wt-result-meta { display: block; margin-bottom: .12rem; color: var(--wt-teal); font-weight: 650; font-size: .8rem; }
.wt-filter .wt-more { margin-top: .9rem; padding: .55rem .9rem; }
.wt-footer { border-top: 1px solid var(--wt-line); font-size: .9rem; color: var(--wt-muted); }
.wt-footer > div { padding-block: 1.25rem; }
@media (max-width: 42rem) {
  .wt-controls input { flex-basis: 100%; }
  .wt-controls label { flex: 1 1 9rem; }
  .wt-cards { grid-template-columns: 1fr; }
  .wt-header > div { padding-block: .45rem; }
  .wt-inner { padding-top: .75rem; }
  .wt-tools .wt-section-nav { column-gap: 1.1rem; }
}
@media (max-width: 26rem) {
  .wt-header > div { gap: 0 .6rem; }
  .wt-header nav { gap: .55rem; }
  .wt-header nav a { font-size: .86rem; }
  .wt-header .wt-brand { font-size: 1.2rem; }
  .wt-tools .wt-intro { padding: 1.2rem; }
}
@media print {
  .wt-header, .wt-skip, .wt-tools .wt-section-nav, .wt-filter, .wt-footer { display: none; }
  .wt-tools, .wt-tools .wt-intro { background: #fff; color: #111; }
  .wt-inner, .wt-tools .wt-intro { padding: 0; }
  .wt-tools .wt-intro p, .wt-tools .wt-address, .wt-tools .wt-address a { color: #222; }
  .wt-tools .wt-section[hidden] { display: block !important; }
  .wt-cards { display: block; }
  .wt-tools .wt-cards > li { break-inside: avoid; margin-bottom: .4rem; }
}

/* Preserve WindowTint.org navigation, spacing and the compact native phone heading. */
.wt-tools { --wt-ink: var(--ink); --wt-muted: var(--muted); --wt-link: var(--teal-dark); --wt-teal: var(--teal); --wt-line: var(--line); background: transparent; font: 1rem/1.55 var(--font); }
.wt-tools .wt-inner { max-width: none; padding-inline: 0; }
.wt-native-hub .wt-inner { padding: 0; }
.wt-native-hub .wt-filter { margin-top: 0; background: var(--soft); border: 1px solid var(--line); }
.wt-native-hub .wt-controls :is(input,select,button) { min-height: 46px; }
.wt-native-hub .wt-controls select { appearance: none; padding-right: 1.7rem; background-image: linear-gradient(45deg, transparent 50%, #415965 50%), linear-gradient(135deg, #415965 50%, transparent 50%); background-position: calc(100% - 15px) 52%, calc(100% - 11px) 52%; background-size: 4px 4px; background-repeat: no-repeat; }
@media (max-width: 600px) {
  .wt-native-hub .wt-filter { padding: .7rem; }
  .wt-native-hub .wt-search-fields > label { font-size: .9375rem; }
  .wt-native-hub .wt-controls { display: grid; grid-template-columns: minmax(0,1fr) auto; gap: .45rem .5rem; margin-top: .25rem; }
  .wt-native-hub .wt-controls input { width: 100%; grid-column: 1 / -1; }
  .wt-native-hub .wt-controls label { min-width: 0; }
}
