/* Home Window Tint navigation and guide reading layout. */
.hwt-head, .hwt-primary, .hwt-outline, .hwt-find {
  --hwt-ink: #172c27;
  --hwt-accent: #154e43;
  --hwt-line: #c5cfc6;
  --hwt-pale: #edf2ec;
  --hwt-focus: #08725d;
  font-family: Arial, Helvetica, sans-serif;
}
.hwt-head, .hwt-head *, .hwt-outline, .hwt-outline *, .hwt-find, .hwt-find * { box-sizing: border-box; }
.hwt-head { position: relative; z-index: 5; background: #faf9f5; color: var(--hwt-ink); border-block: .25rem solid var(--hwt-ink); border-block-end: 1px solid var(--hwt-line); }
.hwt-mast { width: min(77rem, calc(100% - 3rem)); margin-inline: auto; min-height: 4.7rem; display: flex; align-items: center; justify-content: space-between; gap: 1.25rem; }
.hwt-head .brand { display: inline-flex; align-items: center; gap: .55rem; font-size: clamp(1.35rem, 2.2vw, 1.75rem); line-height: 1.1; font-weight: 700; white-space: nowrap; color: inherit; text-decoration: none; letter-spacing: -.045em; }
.hwt-primary { display: flex; align-items: center; gap: .15rem; font-size: 1rem; line-height: 1.3; }
.hwt-primary a, .hwt-primary summary { color: var(--hwt-ink); text-decoration: none; }
.hwt-primary > a, .hwt-primary > details > summary, .hwt-menu-toggle {
  display: inline-flex; align-items: center; justify-content: center; gap: .55rem;
  min-height: 2.8rem; padding: .6rem .78rem; border: 0; border-radius: .28rem;
  font: inherit; font-weight: 600; white-space: nowrap; cursor: pointer;
}
/* Decorative category icons: labels and chevrons retain their existing layout. */
.hwt-nav-section-label { display: inline-flex; align-items: center; gap: .45rem; }
.hwt-nav-section-icon { width: 1.125rem; height: 1.125rem; flex: none; color: var(--hwt-accent); }
.hwt-group > summary, .hwt-outline > summary { list-style: none; }
.hwt-group > summary::-webkit-details-marker, .hwt-outline > summary::-webkit-details-marker { display: none; }
.hwt-group > summary::after, .hwt-outline > summary::after { content: ""; display: inline-block; width: .42rem; height: .42rem; border: solid currentColor; border-width: 0 1.6px 1.6px 0; transform: translateY(-.1rem) rotate(45deg); flex: none; }
.hwt-group[open] > summary::after, .hwt-outline[open] > summary::after { transform: translateY(.1rem) rotate(225deg); }
.hwt-primary > a:hover, .hwt-primary > details > summary:hover, .hwt-group[open] > summary, .hwt-menu-toggle:hover { background: var(--hwt-pale); }
.hwt-primary .hwt-ask { color: white; background: var(--hwt-accent); margin-inline-start: .4rem; padding-inline: 1rem; }
.hwt-primary .hwt-ask:hover { color: white; background: #0c3c32; }
.hwt-primary a[aria-current="page"], .hwt-primary .hwt-section-active { text-decoration: underline; text-underline-offset: .29em; text-decoration-thickness: .1em; }
.hwt-head :is(a, button, summary):focus-visible, .hwt-outline :is(a, summary):focus-visible, .hwt-find :is(a, input, button):focus-visible { outline: 3px solid var(--hwt-focus); outline-offset: 2px; }
.hwt-menu-toggle { display: none; background: transparent; color: inherit; }
.hwt-menu-icon { width: 1rem; height: .72rem; border-block: 1.6px solid currentColor; position: relative; }
.hwt-menu-icon::after { content: ""; position: absolute; top: calc(50% - .8px); left: 0; right: 0; border-top: 1.6px solid currentColor; }
.hwt-lens { position: relative; border: 1.6px solid currentColor; border-radius: 50%; width: .8rem; height: .8rem; margin-inline-end: .12rem; }
.hwt-lens::after { content: ""; position: absolute; right: -.3rem; bottom: -.16rem; width: .4rem; border-top: 1.6px solid currentColor; transform: rotate(45deg); }
.hwt-group { position: static; margin: 0; }
.hwt-panel { position: absolute; inset-block-start: calc(100% - 1px); inset-inline-end: max(1.5rem, calc((100% - 77rem)/2)); width: min(36rem, calc(100% - 3rem)); padding: 1.1rem 1.1rem 0; background: #fffefa; border: 1px solid var(--hwt-line); border-block-start: 3px solid var(--hwt-accent); border-radius: 0 0 .45rem .45rem; box-shadow: 0 .6rem 1.4rem rgb(23 44 39 / 12%); max-height: calc(100vh - 6rem); max-height: calc(100dvh - 6rem); overflow: auto; overscroll-behavior: contain; }
.hwt-columns { display: grid; grid-template-columns: 1fr 1fr; gap: .85rem; }
.hwt-set + .hwt-set { border-inline-start: 1px solid var(--hwt-line); padding-inline-start: .85rem; }
.hwt-set h2 { font-size: .94rem; font-weight: 700; color: #4b6159; line-height: 1.35; letter-spacing: 0; margin: 0 .55rem .35rem; }
.hwt-set a, .hwt-panel-foot a { display: flex; align-items: center; min-height: 2.75rem; border-radius: .2rem; line-height: 1.33; padding: .38rem .55rem; }
.hwt-set a:hover, .hwt-panel-foot a:hover, .hwt-outline a:hover { background: var(--hwt-pale); text-decoration: underline; text-underline-offset: .18em; }
.hwt-panel-foot { margin-block-start: .8rem; padding-block: .32rem; border-block-start: 1px solid var(--hwt-line); display: flex; gap: .7rem; flex-wrap: wrap; }
.hwt-panel-foot a { color: var(--hwt-accent); font-weight: 700; }
@media (min-width: 64rem) {
  .hwt-mast { position: relative; width: min(74rem, calc(100% - 5rem)); }
  .hwt-panel { inset-inline-end: 0; inset-inline-start: var(--hwt-panel-left, auto); }
  .hwt-group:first-child .hwt-panel { inset-inline-end: min(12rem, 13vw); }
}
@media (max-width: 63.999rem) {
  .hwt-mast { width: min(100% - 2rem, 54rem); flex-wrap: wrap; gap: 0 .5rem; min-height: 3.8rem; }
  .hwt-head .brand { padding-block: .7rem; }
  .hwt-head[data-enhanced] .hwt-menu-toggle { display: inline-flex; min-width: 4.5rem; font-size: 1rem; font-weight: 700; }
  .hwt-primary { flex: 1 0 100%; display: flex; flex-direction: column; align-items: stretch; padding: .35rem 0 .8rem; border-block-start: 1px solid var(--hwt-line); }
  .hwt-head[data-enhanced] .hwt-primary:not([data-open]) { display: none; }
  .hwt-primary > a, .hwt-primary > details > summary { width: 100%; min-height: 2.9rem; justify-content: flex-start; padding-inline: .6rem; }
  .hwt-primary > details > summary { justify-content: space-between; }
  .hwt-primary .hwt-ask { margin: .35rem 0 0; justify-content: center; }
  .hwt-panel { position: static; width: 100%; max-height: none; overflow: visible; padding: .6rem .65rem .15rem; background: #f0f3ed; border: 0; border-radius: .28rem; box-shadow: none; }
  .hwt-panel-foot { gap: 0 .7rem; }
}
@media (max-width: 34rem) {
  .hwt-mast { width: calc(100% - 2rem); }
  .hwt-columns { grid-template-columns: minmax(0,1fr); gap: .5rem; }
  .hwt-set + .hwt-set { border-inline-start: 0; border-block-start: 1px solid var(--hwt-line); padding: .7rem 0 0; }
  .hwt-set h2 { margin-block-end: .15rem; }
}
/* One column on smaller screens, with a single copy of the contents links. */
.hwt-story.guide-reading, .lg-article.hwt-story {
  box-sizing: border-box; width: min(74rem, calc(100% - 2.5rem)); max-width: none; margin-inline: auto; padding-inline: 0;
}
.hwt-story > :is(.bread, .lg-crumb) { margin: 0 auto 1.05rem; width: min(100%,49rem); max-width: none; }
.hwt-story .hwt-story-grid { width: min(100%,49rem); margin-inline: auto; display: grid; grid-template-columns: minmax(0,1fr); grid-template-areas: "title" "outline" "body"; align-items: start; gap: .95rem 0; }
.hwt-story .hwt-story-grid .hwt-title { grid-area: title; width: 100%; max-width: none; padding: 0; margin: 0; }
.hwt-story .hwt-title h1 { max-width: none; font-size: clamp(2.05rem, 3.7vw, 3.55rem); line-height: 1.085; margin: 0 0 .65rem; letter-spacing: -.042em; overflow-wrap: break-word; }
.hwt-story .hwt-title :is(.intro, p:last-child) { margin: 0; max-width: 68ch; line-height: 1.5; }
.hwt-story .hwt-body { grid-area: body; min-width: 0; width: 100%; max-width: none; margin: 0; padding: 0; border: 0; display: block; }
.hwt-story .hwt-body .prose, .hwt-story .hwt-body .lg-copy,
.hwt-story .hwt-body .prose > *, .hwt-story .hwt-body > figure, .hwt-story .hwt-body .article-photo,
.hwt-story .hwt-body .lg-source { box-sizing: border-box; width: 100%; max-width: none; margin-inline: 0; }
.guide-reading.hwt-story .read-shell.hwt-body > .prose > :not(.article-photo) { max-width: none; margin-inline: 0; }
.hwt-story .hwt-body :is(.article-photo, figure) { margin-block: 0 1.45rem; }
.hwt-story .hwt-body figure img { width: 100%; height: auto; max-width: 100%; display: block; }
.hwt-story .hwt-body figure figcaption { box-sizing: border-box; margin: 0; padding: .48rem 0 0; width: 100%; max-width: none; font-size: .925rem; line-height: 1.45; color: #4c5e55; text-align: start; }
.guide-reading.hwt-story .hwt-body .prose > .article-photo figcaption { max-width: none; margin-inline: 0; }
.hwt-story .hwt-body :is(.lg-copy, .prose) p { max-width: 69ch; margin-block: .55rem 1.1rem; }
.hwt-story .hwt-body :is(h2, section[id], details[id]), .hwt-find { scroll-margin-top: 1.1rem; }
.hwt-story .hwt-body .prose section, .hwt-story .hwt-body .lg-copy h2 { margin-block-start: 1.75rem; }
.hwt-story .hwt-body .lg-copy h2:first-child, .hwt-story .hwt-body figure + section { margin-block-start: 0; }
.hwt-story .hwt-body .lg-source { margin-block: 1.6rem; }
.hwt-outline { grid-area: outline; box-sizing: border-box; width: 100%; max-width: none; margin: 0; padding: 0; color: var(--hwt-ink); font-size: .98rem; background: #f0f3ed; border: 1px solid var(--hwt-line); border-radius: .32rem; }
.hwt-outline > summary { display: flex; align-items: center; justify-content: space-between; gap: .65rem; min-height: 2.8rem; padding: .6rem .85rem; font-weight: 700; cursor: pointer; }
.hwt-outline > nav { display: grid; gap: 0; padding: 0 .5rem .4rem; }
.hwt-outline a { display: flex; align-items: center; min-height: 2.75rem; padding: .38rem .4rem; border-block-start: 1px solid var(--hwt-line); color: var(--hwt-accent); line-height: 1.37; text-decoration: none; }
.hwt-outline a[aria-current="location"] { font-weight: 700; text-decoration: underline; text-underline-offset: .18em; }
.hwt-story > :is(.related,.lg-next) { width: min(100%,49rem); max-width: none; margin-inline: auto; }
@media (min-width: 64rem) {
  .hwt-story.guide-reading, .lg-article.hwt-story { width: min(74rem, calc(100% - 5rem)); }
  .hwt-story > :is(.bread,.lg-crumb), .hwt-story > :is(.related,.lg-next) { width: 100%; }
  .hwt-story .hwt-story-grid { width: 100%; grid-template-columns: minmax(0,3fr) minmax(14rem,1fr); grid-template-areas: "title outline" "body outline"; gap: 1.35rem clamp(2rem,4.4vw,4rem); }
  .hwt-outline { position: sticky; top: 1rem; max-height: calc(100vh - 2rem); max-height: calc(100dvh - 2rem); overflow: auto; overscroll-behavior: contain; background: transparent; border: 0; border-inline-start: 2px solid var(--hwt-line); border-radius: 0; padding-inline-start: .9rem; }
  .hwt-outline > summary { padding: .2rem .4rem .5rem; }
  .hwt-outline > nav { padding: 0; }
  .hwt-outline a { border: 0; }
}
@media (max-width: 34rem) {
  .hwt-story.guide-reading, .lg-article.hwt-story { width: calc(100% - 2rem); }
  .hwt-story .hwt-story-grid { gap: .85rem; }
}
/* Compact guides use the illustration alongside the introduction when space allows. */
.hwt-short .hwt-story-grid { grid-template-areas: "intro" "body"; grid-template-columns: minmax(0,1fr); }
.hwt-short .hwt-story-grid.hwt-with-photo { grid-template-areas: "intro" "photo" "body"; }
.hwt-intro-stack { grid-area: intro; min-width: 0; }
.hwt-short .hwt-outline { position: static; width: min(100%,29rem); max-height: none; overflow: visible; margin: .9rem 0 0; padding: 0; border: 1px solid var(--hwt-line); border-radius: .3rem; background: #f0f3ed; }
.hwt-short .hwt-outline:not([open]) { width: fit-content; min-width: 10rem; }
.hwt-short .hwt-outline > summary { padding: .5rem .75rem; gap: 1rem; }
.hwt-short .hwt-outline > nav { padding: 0 .45rem .35rem; }
.hwt-short .hwt-outline a { border-top: 1px solid var(--hwt-line); }
.hwt-story .hwt-story-grid > figure.hwt-lead-photo { grid-area: photo; align-self: start; width: 100%; max-width: none; margin: 0; }
/* Do not reset the HTML width/height aspect-ratio hint while the image loads. */
.hwt-story .hwt-lead-photo img { width: 100%; max-width: 100%; height: auto; object-fit: contain; display: block; }
@media (max-width: 63.999rem) {
  @supports (aspect-ratio: attr(width type(<number>)) / attr(height type(<number>))) {
    /* Keep the declared box even after choosing a rounded srcset variant. */
    .hwt-story .hwt-lead-photo img[width][height] {
      aspect-ratio: attr(width type(<number>)) / attr(height type(<number>));
    }
  }
}
.hwt-story .hwt-lead-photo figcaption { margin: 0; padding: .45rem 0 0; width: 100%; max-width: none; font: inherit; font-size: .925rem; color: #4c5e55; line-height: 1.45; }
.hwt-short .hwt-body .prose > section:first-child, .hwt-short .hwt-body .lg-copy h2:first-child { margin-top: 0; }
@media (min-width: 64rem) {
  .hwt-short .hwt-story-grid { width: min(100%,49rem); }
  .hwt-short .hwt-story-grid.hwt-with-photo { width: 100%; grid-template-columns: minmax(0, .98fr) minmax(0,1.02fr); grid-template-areas: "intro photo" "body body"; gap: clamp(1.5rem,2.6vw,2.35rem) clamp(2rem,3.7vw,3.5rem); }
  .hwt-short .hwt-title h1 { font-size: clamp(2.25rem,3.6vw,3.25rem); }
  .hwt-short .hwt-story-grid.hwt-with-photo > .hwt-body { justify-self: center; width: min(100%,72ch); }
  .hwt-short .hwt-body :is(.prose,.lg-copy) p { max-width: none; }
  .hwt-story.hwt-short > :is(.bread,.lg-crumb,.related,.lg-next) { width: min(100%,49rem); }
  .hwt-story.hwt-short:has(.hwt-with-photo) > :is(.bread,.lg-crumb) { width: 100%; }
}
.hwt-find { box-sizing: border-box; max-width: 56rem; margin: 1rem 0 1.6rem; padding: clamp(.9rem,2vw,1.4rem); background: #f0f3ed; border: 1px solid var(--hwt-line); border-radius: .35rem; color: var(--hwt-ink); }
.hwt-find h2 { margin: 0 0 .65rem; font-size: 1.4rem; line-height: 1.2; }
.hwt-find label { display: block; font-weight: 600; margin-bottom: .3rem; font-size: .98rem; }
.hwt-input-row { display: flex; gap: .45rem; }
.hwt-input-row input { min-width: 0; flex: 1; min-height: 2.9rem; padding: .6rem .75rem; border: 1px solid #74877c; background: white; color: var(--hwt-ink); border-radius: .25rem; font: inherit; font-size: 1rem; }
.hwt-find button { min-height: 2.8rem; padding: .55rem .9rem; border: 0; border-radius: .25rem; background: var(--hwt-accent); color: white; font: inherit; font-size: 1rem; font-weight: 700; cursor: pointer; }
.hwt-count, .hwt-search-help { margin: .7rem 0 0; font-size: .96rem; }
.hwt-count:empty { margin: 0; }
.hwt-results { list-style: none; padding: 0; margin: .45rem 0; }
.hwt-results:empty { margin: 0; }
.hwt-results li { padding: 0; border-top: 1px solid var(--hwt-line); }
.hwt-results a { color: var(--hwt-accent); display: block; padding: .65rem .2rem; font-weight: 600; line-height: 1.4; }
.hwt-results small { display: block; font-weight: 400; font-size: .9rem; color: #4b6159; text-decoration: none; }
.hwt-find [hidden] { display: none !important; }
@media print {
  .hwt-head, .hwt-outline, .hwt-find { display: none !important; }
  .hwt-story.guide-reading, .lg-article.hwt-story, .hwt-story .hwt-story-grid { display: block; width: 100%; max-width: none; }
  .hwt-story .hwt-title { margin-bottom: 1rem; }
}

/* Keep the single desktop row within the available width at its breakpoint. */
@media (min-width:64rem) and (max-width:73rem) {
  .hwt-mast {width:calc(100% - 3rem);gap:.65rem}
  .hwt-primary {font-size:.94rem}
  .hwt-primary > a, .hwt-primary > details > summary {padding-inline:.48rem;gap:.42rem}
  .hwt-primary .hwt-ask {margin-inline-start:.2rem;padding-inline:.72rem}
}

.hwt-story .hwt-title .lg-lede + .lg-lede {margin-top:.6rem}

/* Keep the wordmark and Menu on a single row on narrow phones. */
@media (max-width:384px) {
  .hwt-mast {width:calc(100% - 24px);column-gap:6px}
  .hwt-head .brand {font-size:1.18rem;gap:6px}
  .hwt-head .brand .mark {width:1.05em;height:1.05em;flex:none}
  .hwt-head[data-enhanced] .hwt-menu-toggle {
    min-width:70px;min-height:44px;padding-inline:.38rem;gap:.32rem
  }
  .hwt-story > :is(.bread,.lg-crumb), .bread, .lg-crumb {font-size:.9rem;gap:6px}
}
