/* ==========================================================================
   Header 2026 — shipped 2026-09-25
   --------------------------------------------------------------------------
   The masthead row for every width, the square search field, and the phone /
   tablet header with its drawer and search sheet.

   Desktop (≥1120px) keeps the long-standing look: the values below reproduce
   the old row (88px, logo · search · favourites · notes | account) measured
   from the live header, and the section strip beneath it is still the old
   markup drawn by the old stylesheets. The only desktop change is the search
   field: square, hairline, a quiet arrow instead of the filled pill button.

   Links: the site forces `a { color: var(--pv-link) !important }`, so every
   link colour here is set through --pv-link.
   ========================================================================== */

body.pv-site.hd26-on {
  --hd26-paper: #fdfbf8;
  --hd26-field: #fffdfa;
  --hd26-plate: #f7efe7;
  --hd26-ink: #2b2320;
  --hd26-ink-old: #2c2420;   /* the live header's link ink */
  --hd26-body: #4a3f38;
  --hd26-muted: #6f6056;
  --hd26-rust: #9c4a1e;
  --hd26-rust-deep: #8a3f16;
  --hd26-action: #7d573f;    /* --pv-system-action */
  --hd26-bronze: #815535;
  --hd26-line: #eadccf;
  --hd26-line-strong: #d9c6b4;
  --hd26-rule-old: #e5e0db;  /* --pv-system-border */
  --hd26-ivory: #fffaf4;
  --hd26-serif: "Newsreader", Georgia, "Times New Roman", serif;
  --hd26-sans: "Plus Jakarta Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  /* Motion */
  --hd26-ease: cubic-bezier(0.22, 1, 0.36, 1);      /* ease-out-quint: things arriving */
  --hd26-ease-exit: cubic-bezier(0.5, 0, 0.75, 0);   /* ease-in-quart: things leaving */
  --hd26-dur-fast: 160ms;
  --hd26-dur: 240ms;
  --hd26-dur-slow: 380ms;
  --hd26-dur-exit: 180ms;
  /* Type scale (rem, so the header follows the reader's own text size) */
  --hd26-t-caps: 0.72rem;
  --hd26-t-caption: 0.8125rem;
  --hd26-t-ui: 0.875rem;
  --hd26-t-field: 0.9375rem;
  --hd26-t-voice-s: 1.125rem;
  --hd26-t-voice: 1.25rem;
  --hd26-t-voice-l: 1.375rem;
  /* Measure: the pages' own min(100% - 32px, 1320px) */
  --hd26-max: 1320px;
  --hd26-gutter: 16px;
  /* Spacing scale */
  --hd26-s1: 4px;
  --hd26-s2: 8px;
  --hd26-s3: 12px;
  --hd26-s4: 16px;
  --hd26-s5: 24px;
  --hd26-s6: 32px;
  --hd26-s7: 40px;
  /* Layers, against the shared suggestion list (10040) */
  --hd26-z-sheet: 10020;
  --hd26-z-drawer: 10050;
  /* Elevation */
  --hd26-shadow-2: 0 22px 34px rgb(32 17 8 / 12%);
  --hd26-shadow-3: -18px 0 40px rgb(31 22 16 / 14%);
  /* Rows */
  --hd26-top-h: 88px;
  --hd26-stick: 142px; /* the whole desktop stack stays on screen, as before */
}

/* Anchors and focused elements land below the sticky header, never under it. */
html:has(body.hd26-on) { scroll-padding-top: calc(var(--hd26-stick, 142px) + 16px); }

/* ─── Shell ──────────────────────────────────────────────────────────────── */

/* The stack (.pv-header-stack) is still what sticks, carries the ground, the
   bottom rule and the scrolled shadow; the row inside it is plain. */
body.pv-site .hd26 {
  position: static;
  display: block;
  margin: 0;
  padding: 0;
  color: var(--hd26-body);
  background: transparent;
  border: 0;
  font-family: var(--hd26-sans);
  font-kerning: normal;
  -webkit-font-smoothing: antialiased;
}
body.pv-site :is(.hd26, .hd26-find, .hd26-drawer) *,
body.pv-site :is(.hd26, .hd26-find, .hd26-drawer) *::before,
body.pv-site :is(.hd26, .hd26-find, .hd26-drawer) *::after { box-sizing: border-box; }

body.pv-site :is(.hd26, .hd26-find, .hd26-drawer) .hd26-wrap {
  width: min(100% - 2 * var(--hd26-gutter), var(--hd26-max));
  margin-inline: auto;
}
body.pv-site :is(.hd26, .hd26-find, .hd26-drawer) :is(button, a) { -webkit-tap-highlight-color: transparent; }
/* :where() keeps this reset at the weight of one class, below every rule that follows. */
body.pv-site :where(.hd26, .hd26-find, .hd26-drawer) button {
  appearance: none;
  margin: 0;
  padding: 0;
  font: inherit;
  color: inherit;
  letter-spacing: normal;
  text-transform: none;
  background: none;
  border: 0;
  border-radius: 0;
  box-shadow: none;
  cursor: pointer;
}
/* One focus language: a 2px rust ring (the site's global focus rules add
   radii and brown outlines with !important, hence the weight here). */
body.pv-site :is(.hd26, .hd26-find, .hd26-drawer) :is(a, button):focus-visible {
  outline: 2px solid var(--hd26-rust) !important;
  outline-offset: 2px !important;
  box-shadow: none !important;
}
body.pv-site :is(.hd26, .hd26-find, .hd26-drawer) .hd26-icon { flex: 0 0 auto; display: block; }

/* ─── Masthead row: desktop (the long-standing look) ─────────────────────── */

body.pv-site .hd26-top__inner {
  display: flex;
  flex-wrap: nowrap;
  align-items: center;
  justify-content: space-between;
  gap: clamp(1rem, 2vw, 2rem);
  min-height: var(--hd26-top-h);
}
body.pv-site .hd26-logo {
  display: inline-flex;
  flex: none;
  align-items: center;
  line-height: 0;
  text-decoration: none;
}
body.pv-site .hd26-logo img { display: block; width: auto; height: 40px; max-width: 100%; }

body.pv-site .hd26-search { flex: 1 1 260px; min-width: 0; max-width: 41.25rem; }

/* ─── The search field (desktop row, tablet row, phone sheet) ────────────── */

body.pv-site :is(.hd26-search, .hd26-find__field) .pv-search {
  position: relative;
  display: flex;
  align-items: center;
  gap: 4px;
  width: 100%;
  height: 46px;
  margin: 0;
  padding: 0 4px 0 44px;
  background: var(--hd26-field);
  border: 1px solid var(--hd26-line-strong);
  border-radius: 0 !important;
  box-shadow: none;
  transition: border-color var(--hd26-dur-fast) ease, box-shadow var(--hd26-dur-fast) ease;
}
body.pv-site :is(.hd26-search, .hd26-find__field) .pv-search::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 15px;
  width: 18px;
  height: 18px;
  margin-top: -9px;
  pointer-events: none;
  background: var(--hd26-bronze);
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='1.6' stroke-linecap='round'%3E%3Ccircle cx='11' cy='11' r='6.5'/%3E%3Cpath d='m20 20-4.2-4.2'/%3E%3C/svg%3E") center / contain no-repeat;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='1.6' stroke-linecap='round'%3E%3Ccircle cx='11' cy='11' r='6.5'/%3E%3Cpath d='m20 20-4.2-4.2'/%3E%3C/svg%3E") center / contain no-repeat;
}
body.pv-site :is(.hd26-search, .hd26-find__field) .pv-search:hover { border-color: #c9b19b; }
body.pv-site :is(.hd26-search, .hd26-find__field) .pv-search:focus-within {
  outline: none !important;
  border-color: var(--hd26-rust) !important;
  box-shadow: 0 0 0 1px var(--hd26-rust), 0 0 0 5px rgb(156 74 30 / 12%) !important;
}
body.pv-site :is(.hd26-search, .hd26-find__field) .pv-search input[type="search"] {
  flex: 1 1 auto;
  min-width: 0;
  height: 100%;
  margin: 0;
  padding: 0;
  font: 400 var(--hd26-t-field)/1.2 var(--hd26-sans);
  color: var(--hd26-ink);
  background: none;
  border: 0;
  border-radius: 0 !important;
  outline: none;
  box-shadow: none;
  text-overflow: ellipsis;
}
body.pv-site :is(.hd26-search, .hd26-find__field) .pv-search input[type="search"]:focus { outline: none !important; box-shadow: none !important; }
body.pv-site :is(.hd26-search, .hd26-find__field) .pv-search input[type="search"]::placeholder { color: #7f6c5e; opacity: 1; }
body.pv-site :is(.hd26-search, .hd26-find__field) .pv-search input[type="search"]::-webkit-search-cancel-button {
  -webkit-appearance: none;
  appearance: none;
  width: 14px;
  height: 14px;
  margin: 0 8px 0 4px;
  cursor: pointer;
  background: var(--hd26-muted);
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round'%3E%3Cpath d='M6 6l12 12M18 6 6 18'/%3E%3C/svg%3E") center / contain no-repeat;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round'%3E%3Cpath d='M6 6l12 12M18 6 6 18'/%3E%3C/svg%3E") center / contain no-repeat;
}
body.pv-site :is(.hd26-search, .hd26-find__field) .pv-search input[type="search"]::-webkit-search-cancel-button:hover { background: var(--hd26-rust); }
/* The system paints every .search-submit brown with !important; here it is a
   quiet arrow behind a hairline. */
body.pv-site :is(.hd26-search, .hd26-find__field) .pv-search .search-submit {
  flex: 0 0 auto;
  display: grid;
  place-items: center;
  width: 40px;
  height: 38px;
  min-height: 0;
  margin: 0;
  padding: 0;
  color: var(--hd26-rust) !important;
  background: transparent !important;
  border: 0 !important;
  border-left: 1px solid var(--hd26-line) !important;
  border-radius: 0 !important;
  box-shadow: none !important;
  cursor: pointer;
  transition: color var(--hd26-dur-fast) ease, background-color var(--hd26-dur-fast) ease;
}
body.pv-site :is(.hd26-search, .hd26-find__field) .pv-search .search-submit:is(:hover, :focus-visible) { color: var(--hd26-ink) !important; background: var(--hd26-plate) !important; }
body.pv-site :is(.hd26-search, .hd26-find__field) .pv-search .search-submit svg { width: 16px; height: 16px; stroke-width: 1.8; transition: transform var(--hd26-dur) var(--hd26-ease); }
body.pv-site :is(.hd26-search, .hd26-find__field) .pv-search .search-submit:hover svg { transform: translateX(2px); }
body.pv-site :is(.hd26, .hd26-find) .pv-search .search-submit:focus-visible { outline-offset: -4px !important; }

/* ─── Tools: desktop links as they were ──────────────────────────────────── */

body.pv-site .hd26-tools {
  display: flex;
  flex: none;
  align-items: center;
  gap: .5rem;
}
body.pv-site .hd26-tool {
  --pv-link: var(--hd26-ink-old);
  display: inline-flex;
  align-items: center;
  gap: .5625rem;
  padding: .625rem .75rem;
  font: 500 var(--hd26-t-ui)/1 var(--hd26-sans);
  letter-spacing: 0;
  color: var(--hd26-ink-old);
  white-space: nowrap;
  text-decoration: none;
  border-radius: 999px;
  transition: color .15s ease, background-color .15s ease;
}
body.pv-site .hd26-tool:hover { --pv-link: var(--hd26-action); color: var(--hd26-action); background: rgb(125 87 63 / 6%); }
body.pv-site .hd26-tool[aria-current] { --pv-link: var(--hd26-ink); color: var(--hd26-ink); font-weight: 600; }
body.pv-site .hd26-tools__divider {
  display: block;
  flex: 0 0 auto;
  width: 1px;
  height: 1.625rem;
  margin-inline: .5rem;
  background: var(--hd26-rule-old);
}
body.pv-site .hd26-tool--search,
body.pv-site .hd26-tool--menu,
body.pv-site .hd26-tools .hd26-cta--top { display: none; }

/* The finder button used by the tablet row (900–1119px). */
body.pv-site .hd26-cta {
  --pv-link: var(--hd26-ivory);
  display: inline-flex;
  align-items: center;
  gap: 9px;
  height: 44px;
  padding: 0 15px 0 13px;
  font: 700 var(--hd26-t-caps)/1 var(--hd26-sans);
  letter-spacing: .1em;
  text-transform: uppercase;
  white-space: nowrap;
  color: var(--hd26-ivory);
  background: var(--hd26-rust-deep);
  text-decoration: none;
  transition: background-color var(--hd26-dur-fast) ease;
}
body.pv-site .hd26-cta:hover,
body.pv-site .hd26-cta[aria-current] { background: var(--hd26-ink); }
body.pv-site .hd26-cta .hd26-icon { transition: transform 420ms var(--hd26-ease); }
body.pv-site .hd26-cta:hover .hd26-icon { transform: rotate(45deg); }

/* ─── Layers: hidden until opened ────────────────────────────────────────────
   Separate rules on purpose: a browser that does not know :popover-open drops
   the whole rule it appears in, and must still hide the layers and honour the
   script's .hd26-open fallback. */
body.pv-site .hd26-find,
body.pv-site .hd26-drawer { display: none; }
body.pv-site .hd26-find.hd26-open,
body.pv-site .hd26-drawer.hd26-open { display: block; }
body.pv-site .hd26-find:popover-open { display: block; }
body.pv-site .hd26-drawer:popover-open { display: block; }

/* ─── Search sheet (phones) ──────────────────────────────────────────────── */

body.pv-site .hd26-find {
  position: fixed;
  z-index: var(--hd26-z-sheet);
  inset: var(--hd26-find-top, 60px) 0 auto 0;
  width: 100%;
  max-width: none;
  height: auto;
  max-height: none;
  margin: 0;
  padding: 14px 0 12px;
  overflow: visible;
  color: var(--hd26-body);
  background: var(--hd26-paper);
  border: 0;
  border-top: 1px solid var(--hd26-line);
  border-bottom: 1px solid var(--hd26-line);
  box-shadow: var(--hd26-shadow-2);
  font-family: var(--hd26-sans);
  opacity: 0;
  transform: translateY(-8px);
  transition: opacity var(--hd26-dur-exit) var(--hd26-ease-exit), transform var(--hd26-dur-exit) var(--hd26-ease-exit), overlay var(--hd26-dur-exit) allow-discrete, display var(--hd26-dur-exit) allow-discrete;
}
body.pv-site .hd26-find.hd26-open { opacity: 1; transform: none; }
body.pv-site .hd26-find:popover-open {
  opacity: 1;
  transform: none;
  transition: opacity var(--hd26-dur) var(--hd26-ease), transform var(--hd26-dur) var(--hd26-ease), overlay var(--hd26-dur) allow-discrete, display var(--hd26-dur) allow-discrete;
}
@starting-style {
  body.pv-site .hd26-find:popover-open { opacity: 0; transform: translateY(-8px); }
}
body.pv-site .hd26-find__inner { display: grid; grid-template-columns: minmax(0, 1fr); row-gap: 10px; }
body.pv-site .hd26-find__field .pv-search { height: 48px; }
/* 16px or iOS zooms the page when the field takes focus. */
body.pv-site .hd26-find__field .pv-search input[type="search"] { font-size: max(1rem, 16px); }
body.pv-site .hd26-find__finder {
  --pv-link: var(--hd26-body);
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: 12px;
  padding: 8px 4px;
  color: var(--hd26-body);
  text-decoration: none;
}
body.pv-site .hd26-find__finder > .hd26-icon { color: var(--hd26-rust); }
body.pv-site .hd26-find__finder > .hd26-icon:last-child { transition: transform var(--hd26-dur) var(--hd26-ease); }
body.pv-site .hd26-find__finder:hover > .hd26-icon:last-child { transform: translateX(3px); }
body.pv-site .hd26-find__copy { display: grid; gap: 2px; min-width: 0; }
body.pv-site .hd26-find__copy strong { font: 500 var(--hd26-t-voice-s)/1.15 var(--hd26-serif); color: var(--hd26-ink); }
body.pv-site .hd26-find__copy small { font: 400 var(--hd26-t-caption)/1.4 var(--hd26-sans); color: var(--hd26-muted); text-wrap: pretty; }
body.pv-site .hd26-find__finder:hover strong { text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 3px; }

/* ─── Drawer ─────────────────────────────────────────────────────────────── */

body.pv-site .hd26-drawer {
  position: fixed;
  z-index: var(--hd26-z-drawer);
  inset: 0;
  width: 100%;
  height: 100%;
  max-width: none;
  max-height: none;
  margin: 0;
  padding: 0;
  overflow: hidden;
  color: var(--hd26-body);
  background: transparent;
  border: 0;
  font-family: var(--hd26-sans);
  transition: overlay var(--hd26-dur) allow-discrete, display var(--hd26-dur) allow-discrete;
}
body.pv-site .hd26-drawer:popover-open { transition: overlay var(--hd26-dur-slow) allow-discrete, display var(--hd26-dur-slow) allow-discrete; }
body.pv-site .hd26-drawer__scrim {
  position: absolute;
  inset: 0;
  background: rgb(31 22 16 / 42%);
  opacity: 0;
  transition: opacity var(--hd26-dur-exit) ease;
}
body.pv-site .hd26-drawer__panel {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  display: flex;
  flex-direction: column;
  width: min(420px, 100%);
  background: var(--hd26-paper);
  box-shadow: var(--hd26-shadow-3);
  transform: translateX(100%);
  transition: transform var(--hd26-dur) var(--hd26-ease-exit);
}
body.pv-site .hd26-drawer:popover-open .hd26-drawer__panel { transform: none; transition: transform var(--hd26-dur-slow) var(--hd26-ease); }
body.pv-site .hd26-drawer:popover-open .hd26-drawer__scrim { opacity: 1; transition: opacity var(--hd26-dur-slow) ease; }
body.pv-site .hd26-drawer.hd26-open .hd26-drawer__panel { transform: none; }
body.pv-site .hd26-drawer.hd26-open .hd26-drawer__scrim { opacity: 1; }
@starting-style {
  body.pv-site .hd26-drawer:popover-open .hd26-drawer__panel { transform: translateX(100%); }
  body.pv-site .hd26-drawer:popover-open .hd26-drawer__scrim { opacity: 0; }
}
body.pv-site .hd26-drawer__head {
  display: flex;
  flex: 0 0 auto;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  height: 64px;
  padding: 0 12px 0 20px;
  border-bottom: 1px solid var(--hd26-line);
}
body.pv-site .hd26-drawer__title { margin: 0; line-height: 0; }
body.pv-site .hd26-drawer__title img { display: block; width: auto; height: 30px; }
body.pv-site .hd26-drawer__close {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  color: var(--hd26-ink);
  border: 1px solid var(--hd26-line-strong) !important;
  transition: border-color var(--hd26-dur-fast) ease, color var(--hd26-dur-fast) ease;
}
body.pv-site .hd26-drawer__close:hover { color: var(--hd26-rust); border-color: var(--hd26-rust) !important; }
body.pv-site .hd26-drawer__body {
  flex: 1 1 auto;
  min-height: 0;
  padding: var(--hd26-s4) 20px var(--hd26-s2);
  overflow-y: auto;
  overscroll-behavior: contain;
}
body.pv-site .hd26-drawer__finder {
  --pv-link: var(--hd26-body);
  display: grid;
  grid-template-columns: 24px minmax(0, 1fr) 18px;
  align-items: center;
  gap: var(--hd26-s3);
  padding: var(--hd26-s4) var(--hd26-s4) var(--hd26-s4) 14px;
  color: var(--hd26-body);
  text-decoration: none;
  background: var(--hd26-plate);
  border: 1px solid var(--hd26-line);
  transition: border-color var(--hd26-dur-fast) ease;
}
body.pv-site .hd26-drawer__finder:hover { border-color: var(--hd26-line-strong); }
body.pv-site .hd26-drawer__finder > .hd26-icon { color: var(--hd26-rust); }
body.pv-site .hd26-drawer__finder-copy { display: grid; gap: 3px; min-width: 0; }
body.pv-site .hd26-drawer__finder-copy strong { font: 500 var(--hd26-t-voice-l)/1.1 var(--hd26-serif); color: var(--hd26-ink); overflow-wrap: anywhere; }
body.pv-site .hd26-drawer__finder-copy small { font: 400 var(--hd26-t-caption)/1.45 var(--hd26-sans); color: var(--hd26-muted); text-wrap: pretty; }
body.pv-site .hd26-drawer__finder[aria-current] { border-color: var(--hd26-rust); }
body.pv-site .hd26-drawer__nav { margin-top: var(--hd26-s3); }
body.pv-site .hd26-drawer__list { margin: 0; padding: 0; list-style: none; }
body.pv-site .hd26-drawer__list > li { margin: 0; padding: 0; }
body.pv-site .hd26-drawer__list > li + li { border-top: 1px solid var(--hd26-line); }
body.pv-site .hd26-drawer__link,
body.pv-site .hd26-drawer__list > li > a {
  --pv-link: var(--hd26-body);
  display: grid;
  grid-template-columns: 22px minmax(0, 1fr) auto;
  align-items: baseline;
  column-gap: 12px;
  row-gap: 3px;
  padding: 14px 2px 15px;
  color: var(--hd26-body);
  text-decoration: none;
}
body.pv-site .hd26-drawer__link > .hd26-icon { align-self: center; color: var(--hd26-bronze); }
body.pv-site .hd26-drawer__label { font: 500 var(--hd26-t-voice)/1.15 var(--hd26-serif); color: var(--hd26-ink); overflow-wrap: anywhere; }
body.pv-site .hd26-drawer__count {
  font: 600 var(--hd26-t-caps)/1 var(--hd26-sans);
  letter-spacing: .04em;
  font-variant-numeric: tabular-nums;
  color: var(--hd26-bronze);
}
body.pv-site .hd26-drawer__lede {
  grid-column: 2 / -1;
  font: 400 var(--hd26-t-caption)/1.45 var(--hd26-sans);
  color: var(--hd26-muted);
  text-wrap: pretty;
}
body.pv-site .hd26-drawer__link:hover .hd26-drawer__label,
body.pv-site .hd26-drawer__link[aria-current] .hd26-drawer__label { color: var(--hd26-rust); }
body.pv-site .hd26-drawer__link[aria-current] > .hd26-icon { color: var(--hd26-rust); }
body.pv-site .hd26-drawer__foot {
  display: grid;
  flex: 0 0 auto;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
  padding: 14px 20px calc(14px + env(safe-area-inset-bottom, 0px));
  border-top: 1px solid var(--hd26-line);
}
body.pv-site .hd26-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 48px;
  padding: 8px 12px;
  font: 700 var(--hd26-t-caps)/1.25 var(--hd26-sans);
  letter-spacing: .09em;
  text-transform: uppercase;
  text-align: center;
  text-decoration: none;
  transition: background-color var(--hd26-dur-fast) ease, border-color var(--hd26-dur-fast) ease, color var(--hd26-dur-fast) ease;
}
body.pv-site .hd26-btn--solid { --pv-link: var(--hd26-ivory); color: var(--hd26-ivory); background: var(--hd26-rust-deep); }
body.pv-site .hd26-btn--solid:hover { background: var(--hd26-ink); }
body.pv-site .hd26-btn--line { --pv-link: var(--hd26-ink); color: var(--hd26-ink); border: 1px solid var(--hd26-line-strong); }
body.pv-site .hd26-btn--line:hover { --pv-link: var(--hd26-rust); color: var(--hd26-rust); border-color: var(--hd26-rust); }
body.pv-site .hd26-btn--line .hd26-icon { color: var(--hd26-rust); }

html.hd26-locked,
html.hd26-locked body { overflow: hidden; }

/* ─── Below 1120px: the phone and tablet header ──────────────────────────── */

@media (max-width: 1119px) {
  body.pv-site.hd26-on { --hd26-top-h: 64px; --hd26-stick: 64px; }
  body.pv-site .hd26-top__inner {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr) auto;
    column-gap: 20px;
    height: var(--hd26-top-h);
    min-height: 0;
  }
  body.pv-site .hd26-logo img { height: 32px; }
  body.pv-site .hd26-search { max-width: none; }
  body.pv-site .hd26-search .pv-search { height: 44px; }
  body.pv-site .hd26-tools { gap: 2px; }
  body.pv-site :is(.hd26-tool--notes, .hd26-tools__divider) { display: none; }
  body.pv-site :is(.hd26-tool--fav, .hd26-tool--account) .hd26-tool__label { display: none; }
  body.pv-site :is(.hd26-tool--fav, .hd26-tool--account) {
    justify-content: center;
    width: 44px;
    height: 44px;
    padding: 0;
    color: var(--hd26-body);
    border-radius: 0;
  }
  body.pv-site :is(.hd26-tool--fav, .hd26-tool--account) .hd26-icon { color: var(--hd26-bronze); }
  body.pv-site :is(.hd26-tool--fav, .hd26-tool--account):hover { background: none; }
  body.pv-site :is(.hd26-tool--fav, .hd26-tool--account):hover .hd26-icon { color: var(--hd26-rust); }
  body.pv-site .hd26-tool--menu {
    display: inline-flex;
    gap: 8px;
    min-height: 44px;
    margin-left: 8px;
    padding: 0 14px 0 12px;
    font-weight: 600;
    color: var(--hd26-ink);
    border: 1px solid var(--hd26-line-strong) !important;
    border-radius: 0;
  }
  body.pv-site .hd26-tool--menu:hover { background: none; border-color: var(--hd26-rust) !important; }
  body.pv-site .hd26-tool--menu[aria-expanded="true"] { border-color: var(--hd26-rust) !important; }
}
@media (min-width: 900px) and (max-width: 1119px) {
  body.pv-site .hd26-tools .hd26-cta--top { display: inline-flex; margin-right: var(--hd26-s2); }
}
/* Landscape phones: every pixel of height counts. */
@media (max-width: 1119px) and (max-height: 500px) {
  body.pv-site.hd26-on { --hd26-top-h: 56px; --hd26-stick: 56px; }
}

/* Phones: logo · Search · Menu. Favourites and account are in the drawer. */
@media (max-width: 719px) {
  body.pv-site.hd26-on { --hd26-top-h: 60px; --hd26-stick: 60px; --hd26-find-top: 61px; }
  body.pv-site .hd26-top__inner { column-gap: 8px; }
  body.pv-site .hd26-logo img { height: 30px; }
  body.pv-site :is(.hd26-search, .hd26-tool--fav, .hd26-tool--account) { display: none; }
  body.pv-site .hd26-tool--search {
    display: inline-flex;
    gap: 8px;
    min-height: 44px;
    padding: 0 10px;
    font-weight: 600;
    color: var(--hd26-ink);
    border-radius: 0;
  }
  body.pv-site .hd26-tool--search:hover { background: none; color: var(--hd26-rust); }
  body.pv-site .hd26-tool--menu { margin-left: 4px; }
  body.pv-site .hd26-drawer__head { height: 60px; padding-left: 16px; }
  body.pv-site .hd26-drawer__body,
  body.pv-site .hd26-drawer__foot { padding-inline: 16px; }
}
@media (max-width: 359px) {
  body.pv-site :is(.hd26-tool--search, .hd26-tool--menu) .hd26-tool__label { display: none; }
  body.pv-site :is(.hd26-tool--search, .hd26-tool--menu) { justify-content: center; width: 44px; padding: 0; }
  body.pv-site .hd26-logo img { height: 26px; }
}

/* ─── Forced colours (Windows high contrast) ─────────────────────────────── */

@media (forced-colors: active) {
  body.pv-site :is(.hd26-cta, .hd26-btn, .hd26-tool--menu, .hd26-drawer__close) { border: 1px solid ButtonText !important; }
  body.pv-site :is(.hd26-search, .hd26-find__field) .pv-search::before { background: CanvasText; forced-color-adjust: none; }
  body.pv-site .hd26-drawer__panel { border-left: 1px solid CanvasText; }
}

/* ─── Motion ─────────────────────────────────────────────────────────────── */

/* 0s, not the usual .01ms: the shared suggestion list lives inside the sheet
   and declares `transition: all 0s`; a non-zero duration would make its first
   position land one frame late (a layout shift). */
@media (prefers-reduced-motion: reduce) {
  body.pv-site :is(.hd26, .hd26-find, .hd26-drawer) *,
  body.pv-site :is(.hd26-find, .hd26-drawer) {
    transition-duration: 0s !important;
    transition-delay: 0s !important;
    animation: none !important;
  }
}

/* ─── Print ──────────────────────────────────────────────────────────────── */

@media print {
  body.pv-site :is(.hd26-tools, .hd26-search) { display: none; }
}
